@frontify/fondue-components 7.0.0 → 7.0.1

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 (87) hide show
  1. package/dist/fondue-components10.js +31 -27
  2. package/dist/fondue-components10.js.map +1 -1
  3. package/dist/fondue-components11.js +75 -72
  4. package/dist/fondue-components11.js.map +1 -1
  5. package/dist/fondue-components12.js +29 -26
  6. package/dist/fondue-components12.js.map +1 -1
  7. package/dist/fondue-components14.js +1 -1
  8. package/dist/fondue-components15.js +1 -1
  9. package/dist/fondue-components16.js +32 -29
  10. package/dist/fondue-components16.js.map +1 -1
  11. package/dist/fondue-components17.js +2 -2
  12. package/dist/fondue-components18.js +6 -6
  13. package/dist/fondue-components19.js +1 -1
  14. package/dist/fondue-components20.js +1 -1
  15. package/dist/fondue-components21.js +4 -4
  16. package/dist/fondue-components22.js +3 -3
  17. package/dist/fondue-components23.js +1 -1
  18. package/dist/fondue-components24.js +1 -1
  19. package/dist/fondue-components28.js +1 -1
  20. package/dist/fondue-components3.js +28 -25
  21. package/dist/fondue-components3.js.map +1 -1
  22. package/dist/fondue-components31.js +1 -1
  23. package/dist/fondue-components33.js +1 -1
  24. package/dist/fondue-components41.js +18 -19
  25. package/dist/fondue-components41.js.map +1 -1
  26. package/dist/fondue-components42.js +16 -4
  27. package/dist/fondue-components42.js.map +1 -1
  28. package/dist/fondue-components43.js +3 -11
  29. package/dist/fondue-components43.js.map +1 -1
  30. package/dist/fondue-components44.js +13 -3
  31. package/dist/fondue-components44.js.map +1 -1
  32. package/dist/fondue-components45.js +5 -35
  33. package/dist/fondue-components45.js.map +1 -1
  34. package/dist/fondue-components46.js +35 -13
  35. package/dist/fondue-components46.js.map +1 -1
  36. package/dist/fondue-components47.js +12 -4
  37. package/dist/fondue-components47.js.map +1 -1
  38. package/dist/fondue-components48.js +4 -24
  39. package/dist/fondue-components48.js.map +1 -1
  40. package/dist/fondue-components49.js +24 -16
  41. package/dist/fondue-components49.js.map +1 -1
  42. package/dist/fondue-components50.js +16 -139
  43. package/dist/fondue-components50.js.map +1 -1
  44. package/dist/fondue-components51.js +140 -16
  45. package/dist/fondue-components51.js.map +1 -1
  46. package/dist/fondue-components52.js +16 -72
  47. package/dist/fondue-components52.js.map +1 -1
  48. package/dist/fondue-components53.js +72 -8
  49. package/dist/fondue-components53.js.map +1 -1
  50. package/dist/fondue-components54.js +8 -33
  51. package/dist/fondue-components54.js.map +1 -1
  52. package/dist/fondue-components55.js +32 -48
  53. package/dist/fondue-components55.js.map +1 -1
  54. package/dist/fondue-components56.js +48 -10
  55. package/dist/fondue-components56.js.map +1 -1
  56. package/dist/fondue-components57.js +8 -10
  57. package/dist/fondue-components57.js.map +1 -1
  58. package/dist/fondue-components58.js +12 -7
  59. package/dist/fondue-components58.js.map +1 -1
  60. package/dist/fondue-components59.js +7 -12
  61. package/dist/fondue-components59.js.map +1 -1
  62. package/dist/fondue-components60.js +12 -18
  63. package/dist/fondue-components60.js.map +1 -1
  64. package/dist/fondue-components61.js +19 -15
  65. package/dist/fondue-components61.js.map +1 -1
  66. package/dist/fondue-components62.js +14 -52
  67. package/dist/fondue-components62.js.map +1 -1
  68. package/dist/fondue-components63.js +52 -14
  69. package/dist/fondue-components63.js.map +1 -1
  70. package/dist/fondue-components64.js +12 -15
  71. package/dist/fondue-components64.js.map +1 -1
  72. package/dist/fondue-components65.js +17 -6
  73. package/dist/fondue-components65.js.map +1 -1
  74. package/dist/fondue-components66.js +7 -2
  75. package/dist/fondue-components66.js.map +1 -1
  76. package/dist/fondue-components67.js +2 -15
  77. package/dist/fondue-components67.js.map +1 -1
  78. package/dist/fondue-components68.js +1 -1
  79. package/dist/fondue-components69.js +18 -0
  80. package/dist/fondue-components69.js.map +1 -0
  81. package/dist/fondue-components8.js +28 -28
  82. package/dist/fondue-components8.js.map +1 -1
  83. package/dist/fondue-components9.js +102 -92
  84. package/dist/fondue-components9.js.map +1 -1
  85. package/dist/index.d.ts +116 -132
  86. package/dist/style.css +1 -1
  87. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -43,25 +43,20 @@ declare type BaseTableRowProps = {
43
43
  'data-test-id'?: string;
44
44
  };
45
45
 
46
- export declare const Box: {
47
- ({ as: Component, "data-test-id": dataTestId, children, role, "aria-label": ariaLabel, "aria-hidden": ariaHidden, "aria-describedby": ariaDescribedBy, "aria-labelledby": ariaLabelledBy, "aria-expanded": ariaExpanded, "aria-haspopup": ariaHasPopup, ...props }: BoxProps): JSX_2.Element;
48
- displayName: string;
49
- };
50
-
51
- declare type BoxProps = LayoutComponentProps & {
52
- /**
53
- * The element to render the Box component as.
54
- * @default 'div'
55
- */
56
- as?: 'div' | 'span';
57
- /**
58
- * The display property.
59
- * @default 'block'
60
- */
61
- display?: Responsive<'none' | 'block' | 'inline-block' | 'inline'>;
62
- children?: ReactNode;
63
- 'data-test-id'?: string;
64
- } & CommonAriaProps;
46
+ export declare const Box: ForwardRefExoticComponent<LayoutComponentProps & {
47
+ /**
48
+ * The element to render the Box component as.
49
+ * @default 'div'
50
+ */
51
+ as?: "div" | "span";
52
+ /**
53
+ * The display property.
54
+ * @default 'block'
55
+ */
56
+ display?: Responsive<"none" | "block" | "inline-block" | "inline">;
57
+ children?: ReactNode;
58
+ 'data-test-id'?: string;
59
+ } & CommonAriaProps & RefAttributes<HTMLDivElement>>;
65
60
 
66
61
  declare type Breakpoint = keyof typeof screens;
67
62
 
@@ -532,6 +527,10 @@ declare type DropdownContentProps = {
532
527
  * @default "bottom"
533
528
  */
534
529
  side?: 'top' | 'right' | 'bottom' | 'left';
530
+ /**
531
+ * Prevents the focus from being set on the trigger when the dropdown is closed.
532
+ */
533
+ preventTriggerFocusOnClose?: boolean;
535
534
  };
536
535
 
537
536
  declare type DropdownGroupProps = {
@@ -610,54 +609,49 @@ declare type DropdownTriggerProps = {
610
609
  'data-test-id'?: string;
611
610
  };
612
611
 
613
- export declare const Flex: {
614
- ({ as: Component, "data-test-id": dataTestId, children, role, "aria-label": ariaLabel, "aria-hidden": ariaHidden, "aria-describedby": ariaDescribedBy, "aria-labelledby": ariaLabelledBy, "aria-expanded": ariaExpanded, "aria-haspopup": ariaHasPopup, ...props }: FlexProps): JSX_2.Element;
615
- displayName: string;
616
- };
617
-
618
- declare type FlexProps = LayoutComponentProps & {
619
- /**
620
- * The element to render the Flex component as.
621
- * @default 'div'
622
- */
623
- as?: 'div' | 'span';
624
- /**
625
- * The display property.
626
- * @default 'flex'
627
- */
628
- display?: Responsive<'none' | 'flex' | 'inline-flex'>;
629
- /**
630
- * The direction of the children.
631
- * @default 'row'
632
- */
633
- direction?: Responsive<'row' | 'row-reverse' | 'column' | 'column-reverse'>;
634
- /**
635
- * The alignment of the children.
636
- */
637
- align?: Responsive<'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline'>;
638
- /**
639
- * The justification of the children.
640
- */
641
- justify?: Responsive<'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly'>;
642
- /**
643
- * The wrap property.
644
- */
645
- wrap?: Responsive<'nowrap' | 'wrap' | 'wrap-reverse'>;
646
- /**
647
- * The gap between the children.
648
- */
649
- gap?: Responsive<SizeValue>;
650
- /**
651
- * The horizontal gap between the children.
652
- */
653
- gapX?: Responsive<SizeValue>;
654
- /**
655
- * The vertical gap between the children.
656
- */
657
- gapY?: Responsive<SizeValue>;
658
- children?: ReactNode;
659
- 'data-test-id'?: string;
660
- } & CommonAriaProps;
612
+ export declare const Flex: ForwardRefExoticComponent<LayoutComponentProps & {
613
+ /**
614
+ * The element to render the Flex component as.
615
+ * @default 'div'
616
+ */
617
+ as?: "div" | "span";
618
+ /**
619
+ * The display property.
620
+ * @default 'flex'
621
+ */
622
+ display?: Responsive<"none" | "flex" | "inline-flex">;
623
+ /**
624
+ * The direction of the children.
625
+ * @default 'row'
626
+ */
627
+ direction?: Responsive<"row" | "row-reverse" | "column" | "column-reverse">;
628
+ /**
629
+ * The alignment of the children.
630
+ */
631
+ align?: Responsive<"flex-start" | "center" | "flex-end" | "stretch" | "baseline">;
632
+ /**
633
+ * The justification of the children.
634
+ */
635
+ justify?: Responsive<"flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly">;
636
+ /**
637
+ * The wrap property.
638
+ */
639
+ wrap?: Responsive<"nowrap" | "wrap" | "wrap-reverse">;
640
+ /**
641
+ * The gap between the children.
642
+ */
643
+ gap?: Responsive<SizeValue>;
644
+ /**
645
+ * The horizontal gap between the children.
646
+ */
647
+ gapX?: Responsive<SizeValue>;
648
+ /**
649
+ * The vertical gap between the children.
650
+ */
651
+ gapY?: Responsive<SizeValue>;
652
+ children?: ReactNode;
653
+ 'data-test-id'?: string;
654
+ } & CommonAriaProps & RefAttributes<HTMLDivElement>>;
661
655
 
662
656
  export declare const Flyout: {
663
657
  Root: {
@@ -771,57 +765,52 @@ declare const ForwardedRefTextFieldRoot: ForwardRefExoticComponent<TextInputProp
771
765
 
772
766
  declare const ForwardedRefTextFieldSlot: ForwardRefExoticComponent<TextFieldSlotProps & RefAttributes<HTMLDivElement>>;
773
767
 
774
- export declare const Grid: {
775
- ({ as: Component, "data-test-id": dataTestId, children, role, "aria-label": ariaLabel, "aria-hidden": ariaHidden, "aria-describedby": ariaDescribedBy, "aria-labelledby": ariaLabelledBy, "aria-expanded": ariaExpanded, "aria-haspopup": ariaHasPopup, ...props }: GridProps): JSX_2.Element;
776
- displayName: string;
777
- };
778
-
779
- declare type GridProps = LayoutComponentProps & {
780
- /**
781
- * The element to render the Grid component as.
782
- * @default 'div'
783
- */
784
- as?: 'div' | 'span';
785
- /**
786
- * The display property.
787
- * @default 'grid'
788
- */
789
- display?: 'none' | 'grid' | 'inline-grid';
790
- /**
791
- * The columns property.
792
- */
793
- columns?: Responsive<string | number>;
794
- /**
795
- * The rows property.
796
- */
797
- rows?: Responsive<string | number>;
798
- /**
799
- * The flow property.
800
- */
801
- flow?: Responsive<'row' | 'column' | 'dense' | 'row-dense' | 'column-dense'>;
802
- /**
803
- * The alignment of the children.
804
- */
805
- align?: Responsive<'start' | 'center' | 'end' | 'baseline' | 'stretch'>;
806
- /**
807
- * The justification of the children.
808
- */
809
- justify?: Responsive<'start' | 'center' | 'end' | 'between'>;
810
- /**
811
- * The gap between the children.
812
- */
813
- gap?: Responsive<SizeValue>;
814
- /**
815
- * The horizontal gap between the children.
816
- */
817
- gapX?: Responsive<SizeValue>;
818
- /**
819
- * The vertical gap between the children.
820
- */
821
- gapY?: Responsive<SizeValue>;
822
- children?: ReactNode;
823
- 'data-test-id'?: string;
824
- } & CommonAriaProps;
768
+ export declare const Grid: ForwardRefExoticComponent<LayoutComponentProps & {
769
+ /**
770
+ * The element to render the Grid component as.
771
+ * @default 'div'
772
+ */
773
+ as?: "div" | "span";
774
+ /**
775
+ * The display property.
776
+ * @default 'grid'
777
+ */
778
+ display?: "none" | "grid" | "inline-grid";
779
+ /**
780
+ * The columns property.
781
+ */
782
+ columns?: Responsive<string | number>;
783
+ /**
784
+ * The rows property.
785
+ */
786
+ rows?: Responsive<string | number>;
787
+ /**
788
+ * The flow property.
789
+ */
790
+ flow?: Responsive<"row" | "column" | "dense" | "row-dense" | "column-dense">;
791
+ /**
792
+ * The alignment of the children.
793
+ */
794
+ align?: Responsive<"start" | "center" | "end" | "baseline" | "stretch">;
795
+ /**
796
+ * The justification of the children.
797
+ */
798
+ justify?: Responsive<"start" | "center" | "end" | "between">;
799
+ /**
800
+ * The gap between the children.
801
+ */
802
+ gap?: Responsive<SizeValue>;
803
+ /**
804
+ * The horizontal gap between the children.
805
+ */
806
+ gapX?: Responsive<SizeValue>;
807
+ /**
808
+ * The vertical gap between the children.
809
+ */
810
+ gapY?: Responsive<SizeValue>;
811
+ children?: ReactNode;
812
+ 'data-test-id'?: string;
813
+ } & CommonAriaProps & RefAttributes<HTMLDivElement>>;
825
814
 
826
815
  declare type HorizontalAlignment = 'left' | 'center' | 'right';
827
816
 
@@ -1076,20 +1065,15 @@ declare type ScrollAreaProps = {
1076
1065
  children: ReactNode;
1077
1066
  };
1078
1067
 
1079
- export declare const Section: {
1080
- ({ "data-test-id": dataTestId, children, role, "aria-label": ariaLabel, "aria-hidden": ariaHidden, "aria-describedby": ariaDescribedBy, "aria-labelledby": ariaLabelledBy, "aria-expanded": ariaExpanded, "aria-haspopup": ariaHasPopup, ...props }: SectionProps): JSX_2.Element;
1081
- displayName: string;
1082
- };
1083
-
1084
- declare type SectionProps = LayoutComponentProps & {
1085
- /**
1086
- * The display property.
1087
- * @default 'block'
1088
- */
1089
- display?: Responsive<'none' | 'block' | 'inline-block' | 'inline'>;
1090
- children?: ReactNode;
1091
- 'data-test-id'?: string;
1092
- } & CommonAriaProps;
1068
+ export declare const Section: ForwardRefExoticComponent<LayoutComponentProps & {
1069
+ /**
1070
+ * The display property.
1071
+ * @default 'block'
1072
+ */
1073
+ display?: Responsive<"none" | "block" | "inline-block" | "inline">;
1074
+ children?: ReactNode;
1075
+ 'data-test-id'?: string;
1076
+ } & CommonAriaProps & RefAttributes<HTMLDivElement>>;
1093
1077
 
1094
1078
  export declare const SegmentedControl: {
1095
1079
  Root: ForwardRefExoticComponent<SegmentedControlRootProps & RefAttributes<HTMLDivElement>>;