@frontify/fondue-components 15.0.0 → 16.0.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.
@@ -1,24 +1,24 @@
1
- const t = "_table_lj8j6_4", o = "_headerCell_lj8j6_18", l = "_rowCell_lj8j6_19", e = "_caption_lj8j6_46", _ = "_cellContent_lj8j6_71", n = "_sortIndicator_lj8j6_96", c = "_body_lj8j6_100", j = "_row_lj8j6_19", r = "_buttonText_lj8j6_164", s = {
1
+ const t = "_table_1outv_4", o = "_headerCell_1outv_18", e = "_rowCell_1outv_19", _ = "_caption_1outv_46", n = "_cellContent_1outv_71", l = "_sortIndicator_1outv_96", c = "_body_1outv_100", r = "_row_1outv_19", s = "_buttonText_1outv_164", a = {
2
2
  table: t,
3
3
  headerCell: o,
4
- rowCell: l,
5
- caption: e,
6
- cellContent: _,
7
- sortIndicator: n,
4
+ rowCell: e,
5
+ caption: _,
6
+ cellContent: n,
7
+ sortIndicator: l,
8
8
  body: c,
9
- row: j,
10
- buttonText: r
9
+ row: r,
10
+ buttonText: s
11
11
  };
12
12
  export {
13
13
  c as body,
14
- r as buttonText,
15
- e as caption,
16
- _ as cellContent,
17
- s as default,
14
+ s as buttonText,
15
+ _ as caption,
16
+ n as cellContent,
17
+ a as default,
18
18
  o as headerCell,
19
- j as row,
20
- l as rowCell,
21
- n as sortIndicator,
19
+ r as row,
20
+ e as rowCell,
21
+ l as sortIndicator,
22
22
  t as table
23
23
  };
24
24
  //# sourceMappingURL=fondue-components68.js.map
@@ -1,10 +1,10 @@
1
- const t = "_dark_efdh9_1", d = "_light_efdh9_250", s = {
1
+ const t = "_dark_1mr83_1", r = "_light_1mr83_250", s = {
2
2
  dark: t,
3
- light: d
3
+ light: r
4
4
  };
5
5
  export {
6
6
  t as dark,
7
7
  s as default,
8
- d as light
8
+ r as light
9
9
  };
10
10
  //# sourceMappingURL=fondue-components74.js.map
package/dist/index.d.ts CHANGED
@@ -620,6 +620,11 @@ declare type DropdownContentProps = {
620
620
  * Prevents the focus from being set on the trigger when the dropdown is closed.
621
621
  */
622
622
  preventTriggerFocusOnClose?: boolean;
623
+ /**
624
+ * Define the minimum distance between the dropdown and the viewport edge
625
+ * @default 'compact'
626
+ */
627
+ viewportCollisionPadding?: DropdownViewportCollisionPadding;
623
628
  };
624
629
 
625
630
  declare type DropdownGroupProps = {
@@ -706,6 +711,8 @@ declare type DropdownTriggerProps = {
706
711
  'data-test-id'?: string;
707
712
  };
708
713
 
714
+ declare type DropdownViewportCollisionPadding = 'compact' | 'spacious';
715
+
709
716
  export declare const Flex: ForwardRefExoticComponent<LayoutComponentProps & {
710
717
  /**
711
718
  * The element to render the Flex component as.
@@ -813,6 +820,11 @@ declare type FlyoutContentProps = {
813
820
  * @default "360px"
814
821
  */
815
822
  maxWidth?: string;
823
+ /**
824
+ * Define the minimum distance between the flyout and the viewport edge
825
+ * @default 'compact'
826
+ */
827
+ viewportCollisionPadding?: FlyoutViewportCollisionPadding;
816
828
  children?: ReactNode;
817
829
  'data-test-id'?: string;
818
830
  };
@@ -862,6 +874,8 @@ declare type FlyoutTriggerProps = {
862
874
  'data-test-id'?: string;
863
875
  };
864
876
 
877
+ declare type FlyoutViewportCollisionPadding = 'compact' | 'spacious';
878
+
865
879
  declare const ForwardedRefCombobox: ForwardRefExoticComponent< {
866
880
  /**
867
881
  * Children of the Combobox component. This can contain the `Select.Slot` components for the label, decorators, clear action and menu.
@@ -909,6 +923,11 @@ id?: string;
909
923
  * The data test id of the combobox component.
910
924
  */
911
925
  'data-test-id'?: string;
926
+ /**
927
+ * Define the minimum distance between the select menu and the viewport edge
928
+ * @default 'compact'
929
+ */
930
+ viewportCollisionPadding?: SelectMenuViewportCollisionPadding;
912
931
  } & CommonAriaProps & RefAttributes<HTMLDivElement>>;
913
932
 
914
933
  declare const ForwardedRefSelectItem: ForwardRefExoticComponent<SelectItemProps & RefAttributes<HTMLLIElement>>;
@@ -1380,10 +1399,15 @@ declare type SelectComponentProps = {
1380
1399
  * @default true
1381
1400
  */
1382
1401
  showStringValue?: boolean;
1402
+ /**
1403
+ * Define the minimum distance between the select menu and the viewport edge
1404
+ * @default 'compact'
1405
+ */
1406
+ viewportCollisionPadding?: SelectMenuViewportCollisionPadding;
1383
1407
  } & CommonAriaProps;
1384
1408
 
1385
1409
  declare const SelectInput: {
1386
- ({ children, onSelect, value, defaultValue, placeholder, status, disabled, alignMenu, side, id, showStringValue, "data-test-id": dataTestId, ...props }: SelectComponentProps, forwardedRef: ForwardedRef<HTMLDivElement>): JSX_2.Element;
1410
+ ({ children, onSelect, value, defaultValue, placeholder, status, disabled, alignMenu, side, id, showStringValue, "data-test-id": dataTestId, viewportCollisionPadding, ...props }: SelectComponentProps, forwardedRef: ForwardedRef<HTMLDivElement>): JSX_2.Element;
1387
1411
  displayName: string;
1388
1412
  };
1389
1413
 
@@ -1425,6 +1449,8 @@ declare type SelectItemProps = {
1425
1449
  children: string;
1426
1450
  });
1427
1451
 
1452
+ declare type SelectMenuViewportCollisionPadding = 'compact' | 'spacious';
1453
+
1428
1454
  declare type SelectSlotProps = {
1429
1455
  /**
1430
1456
  * The children of the select slot. This can be a custom component.