@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.
Files changed (34) hide show
  1. package/dist/assets/fonts/Marianne/Marianne-Bold.woff +0 -0
  2. package/dist/assets/fonts/Marianne/Marianne-Bold.woff2 +0 -0
  3. package/dist/assets/fonts/Marianne/Marianne-Bold_Italic.woff +0 -0
  4. package/dist/assets/fonts/Marianne/Marianne-Bold_Italic.woff2 +0 -0
  5. package/dist/assets/fonts/Marianne/Marianne-ExtraBold.woff +0 -0
  6. package/dist/assets/fonts/Marianne/Marianne-ExtraBold.woff2 +0 -0
  7. package/dist/assets/fonts/Marianne/Marianne-ExtraBold_Italic.woff +0 -0
  8. package/dist/assets/fonts/Marianne/Marianne-ExtraBold_Italic.woff2 +0 -0
  9. package/dist/assets/fonts/Marianne/Marianne-Light.woff +0 -0
  10. package/dist/assets/fonts/Marianne/Marianne-Light.woff2 +0 -0
  11. package/dist/assets/fonts/Marianne/Marianne-Light_Italic.woff +0 -0
  12. package/dist/assets/fonts/Marianne/Marianne-Light_Italic.woff2 +0 -0
  13. package/dist/assets/fonts/Marianne/Marianne-Medium.woff +0 -0
  14. package/dist/assets/fonts/Marianne/Marianne-Medium.woff2 +0 -0
  15. package/dist/assets/fonts/Marianne/Marianne-Medium_Italic.woff +0 -0
  16. package/dist/assets/fonts/Marianne/Marianne-Medium_Italic.woff2 +0 -0
  17. package/dist/assets/fonts/Marianne/Marianne-Regular.woff +0 -0
  18. package/dist/assets/fonts/Marianne/Marianne-Regular.woff2 +0 -0
  19. package/dist/assets/fonts/Marianne/Marianne-Regular_Italic.woff +0 -0
  20. package/dist/assets/fonts/Marianne/Marianne-Regular_Italic.woff2 +0 -0
  21. package/dist/assets/fonts/Marianne/Marianne-Thin.woff +0 -0
  22. package/dist/assets/fonts/Marianne/Marianne-Thin.woff2 +0 -0
  23. package/dist/assets/fonts/Marianne/Marianne-Thin_Italic.woff +0 -0
  24. package/dist/assets/fonts/Marianne/Marianne-Thin_Italic.woff2 +0 -0
  25. package/dist/assets/fonts/Marianne/Marianne-font.css +89 -0
  26. package/dist/cunningham.ts +1 -0
  27. package/dist/index.cjs +22 -22
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.ts +14 -4
  30. package/dist/index.js +2596 -2591
  31. package/dist/index.js.map +1 -1
  32. package/dist/sass/fonts.scss +3 -0
  33. package/dist/style.css +1 -1
  34. 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: ({ withPadding }: Props_3) => JSX.Element;
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
- withPadding?: boolean;
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 = {