@gouvfr-lasuite/ui-kit 0.12.0 → 0.14.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/assets/fonts/Marianne/Marianne-Bold.woff +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Bold.woff2 +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Bold_Italic.woff +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Bold_Italic.woff2 +0 -0
- package/dist/assets/fonts/Marianne/Marianne-ExtraBold.woff +0 -0
- package/dist/assets/fonts/Marianne/Marianne-ExtraBold.woff2 +0 -0
- package/dist/assets/fonts/Marianne/Marianne-ExtraBold_Italic.woff +0 -0
- package/dist/assets/fonts/Marianne/Marianne-ExtraBold_Italic.woff2 +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Light.woff +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Light.woff2 +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Light_Italic.woff +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Light_Italic.woff2 +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Medium.woff +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Medium.woff2 +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Medium_Italic.woff +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Medium_Italic.woff2 +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Regular.woff +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Regular.woff2 +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Regular_Italic.woff +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Regular_Italic.woff2 +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Thin.woff +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Thin.woff2 +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Thin_Italic.woff +0 -0
- package/dist/assets/fonts/Marianne/Marianne-Thin_Italic.woff2 +0 -0
- package/dist/assets/fonts/Marianne/Marianne-font.css +89 -0
- package/dist/index.cjs +28 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +13 -4
- package/dist/index.js +2660 -2652
- package/dist/index.js.map +1 -1
- package/dist/sass/fonts.scss +3 -0
- package/dist/style.css +1 -1
- package/package.json +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,13 @@ import { SelectProps } from 'react-aria-components';
|
|
|
15
15
|
import { SetStateAction } from 'react';
|
|
16
16
|
import { TreeApi } from 'react-arborist';
|
|
17
17
|
|
|
18
|
+
declare type AbstractSeparatorProps = {
|
|
19
|
+
withPadding?: boolean;
|
|
20
|
+
direction: "horizontal" | "vertical";
|
|
21
|
+
width?: "thin" | "double";
|
|
22
|
+
size?: string;
|
|
23
|
+
};
|
|
24
|
+
|
|
18
25
|
export declare type AccessData<UserType, T> = T & {
|
|
19
26
|
id: string;
|
|
20
27
|
role: string;
|
|
@@ -490,7 +497,7 @@ export declare const HomeGutter: ({ children }: {
|
|
|
490
497
|
children: React.ReactNode;
|
|
491
498
|
}) => JSX.Element;
|
|
492
499
|
|
|
493
|
-
export declare const HorizontalSeparator: (
|
|
500
|
+
export declare const HorizontalSeparator: (props: Props_3) => JSX.Element;
|
|
494
501
|
|
|
495
502
|
export declare const Icon: default_2.FC<IconProps>;
|
|
496
503
|
|
|
@@ -614,9 +621,9 @@ declare type Props_2 = {
|
|
|
614
621
|
withSeparator?: boolean;
|
|
615
622
|
};
|
|
616
623
|
|
|
617
|
-
declare type Props_3 =
|
|
618
|
-
|
|
619
|
-
|
|
624
|
+
declare type Props_3 = Omit<AbstractSeparatorProps, "direction">;
|
|
625
|
+
|
|
626
|
+
declare type Props_4 = Omit<AbstractSeparatorProps, "direction">;
|
|
620
627
|
|
|
621
628
|
export declare const QuickSearch: ({ onFilter, inputContent, inputValue, loading, showInput, label, placeholder, children, }: QuickSearchProps) => JSX.Element;
|
|
622
629
|
|
|
@@ -924,6 +931,8 @@ export declare const useTree: <T>(initialItems: TreeViewDataType<T>[], refreshCa
|
|
|
924
931
|
|
|
925
932
|
export declare const useTreeContext: <T>() => TreeContextType<T> | null;
|
|
926
933
|
|
|
934
|
+
export declare const VerticalSeparator: (props: Props_4) => JSX.Element;
|
|
935
|
+
|
|
927
936
|
export declare const WithLabel: ({ label, text, labelSide, children, }: PropsWithChildren<WithLabelProps>) => JSX.Element;
|
|
928
937
|
|
|
929
938
|
export declare type WithLabelProps = {
|