@gouvfr-lasuite/ui-kit 0.11.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/cunningham.ts +1 -0
- package/dist/index.cjs +22 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +14 -4
- package/dist/index.js +2596 -2591
- package/dist/index.js.map +1 -1
- package/dist/sass/fonts.scss +3 -0
- package/dist/style.css +1 -1
- package/package.json +7 -6
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;
|
|
@@ -283,6 +290,7 @@ export declare const cunninghamConfig: {
|
|
|
283
290
|
"background--color-hover": string;
|
|
284
291
|
"color-hover": string;
|
|
285
292
|
color: string;
|
|
293
|
+
disabled: string;
|
|
286
294
|
};
|
|
287
295
|
danger: {
|
|
288
296
|
"color-hover": string;
|
|
@@ -489,7 +497,7 @@ export declare const HomeGutter: ({ children }: {
|
|
|
489
497
|
children: React.ReactNode;
|
|
490
498
|
}) => JSX.Element;
|
|
491
499
|
|
|
492
|
-
export declare const HorizontalSeparator: (
|
|
500
|
+
export declare const HorizontalSeparator: (props: Props_3) => JSX.Element;
|
|
493
501
|
|
|
494
502
|
export declare const Icon: default_2.FC<IconProps>;
|
|
495
503
|
|
|
@@ -613,9 +621,9 @@ declare type Props_2 = {
|
|
|
613
621
|
withSeparator?: boolean;
|
|
614
622
|
};
|
|
615
623
|
|
|
616
|
-
declare type Props_3 =
|
|
617
|
-
|
|
618
|
-
|
|
624
|
+
declare type Props_3 = Omit<AbstractSeparatorProps, "direction">;
|
|
625
|
+
|
|
626
|
+
declare type Props_4 = Omit<AbstractSeparatorProps, "direction">;
|
|
619
627
|
|
|
620
628
|
export declare const QuickSearch: ({ onFilter, inputContent, inputValue, loading, showInput, label, placeholder, children, }: QuickSearchProps) => JSX.Element;
|
|
621
629
|
|
|
@@ -923,6 +931,8 @@ export declare const useTree: <T>(initialItems: TreeViewDataType<T>[], refreshCa
|
|
|
923
931
|
|
|
924
932
|
export declare const useTreeContext: <T>() => TreeContextType<T> | null;
|
|
925
933
|
|
|
934
|
+
export declare const VerticalSeparator: (props: Props_4) => JSX.Element;
|
|
935
|
+
|
|
926
936
|
export declare const WithLabel: ({ label, text, labelSide, children, }: PropsWithChildren<WithLabelProps>) => JSX.Element;
|
|
927
937
|
|
|
928
938
|
export declare type WithLabelProps = {
|