🩹(react) export Popover component and its props

Include missing Popover component exports to the React package.
Re-order package exports to be alphabetically sorted.
This commit is contained in:
Lebaud Antoine
2023-10-02 21:35:18 +02:00
committed by aleb_the_flash
parent c370970ec4
commit 0c757957a7
3 changed files with 9 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
---
"@openfun/cunningham-react": patch
---
Inlcude Popover component to package exports

View File

@@ -8,7 +8,7 @@ import React, {
import classNames from "classnames";
import { useHandleClickOutside } from ":/hooks/useHandleClickOutside";
type PopoverProps = PropsWithChildren & {
export type PopoverProps = PropsWithChildren & {
parentRef: RefObject<HTMLDivElement>;
onClickOutside: () => void;
borderless?: boolean;

View File

@@ -4,18 +4,19 @@ import { tokens } from "./cunningham-tokens";
export * from "./components/Button";
export * from "./components/DataGrid";
export * from "./components/DataGrid/DataList";
export * from "./components/DataGrid/SimpleDataGrid";
export * from "./components/Forms/Checkbox";
export * from "./components/DataGrid/DataList";
export * from "./components/Forms/DatePicker";
export * from "./components/Forms/Field";
export * from "./components/Forms/FileUploader";
export * from "./components/Forms/Input";
export * from "./components/Forms/Radio";
export * from "./components/Forms/Select";
export * from "./components/Forms/Switch";
export * from "./components/Forms/DatePicker";
export * from "./components/Loader";
export * from "./components/Pagination";
export * from "./components/Popover";
export * from "./components/Provider";
export type DefaultTokens = PartialNested<typeof tokens>;