@gouvfr-lasuite/ui-kit 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +35 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9181 -5824
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,8 +7,10 @@ import { Key } from 'react-stately';
|
|
|
7
7
|
import { LabelHTMLAttributes } from 'react';
|
|
8
8
|
import { NodeApi } from 'react-arborist';
|
|
9
9
|
import { NodeRendererProps } from 'react-arborist';
|
|
10
|
+
import { Option as Option_2 } from '@openfun/cunningham-react';
|
|
10
11
|
import { PropsWithChildren } from 'react';
|
|
11
12
|
import { ReactNode } from 'react';
|
|
13
|
+
import { SelectProps } from 'react-aria-components';
|
|
12
14
|
import { SetStateAction } from 'react';
|
|
13
15
|
import { TreeApi } from 'react-arborist';
|
|
14
16
|
|
|
@@ -397,6 +399,13 @@ export declare type DropdownMenuProps = {
|
|
|
397
399
|
shouldCloseOnInteractOutside?: (element: Element) => boolean;
|
|
398
400
|
};
|
|
399
401
|
|
|
402
|
+
export declare const Filter: (props: FilterProps) => JSX.Element;
|
|
403
|
+
|
|
404
|
+
export declare type FilterProps = {
|
|
405
|
+
label: string;
|
|
406
|
+
options: Option_2[];
|
|
407
|
+
} & SelectProps;
|
|
408
|
+
|
|
400
409
|
export declare const Footer: () => JSX.Element;
|
|
401
410
|
|
|
402
411
|
export declare function getLocales(): {
|