burne-ui 1.6.9 → 1.7.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 (104) hide show
  1. package/README.md +5 -2
  2. package/cli/init.js +2 -2
  3. package/dist/components/composite/AlertDialog/alertDialogAPI.d.ts +1 -1
  4. package/dist/components/composite/AlertDialog/alertDialogAnimations.d.ts +1 -0
  5. package/dist/components/composite/AlertDialog/alertDialogParts.d.ts +0 -1
  6. package/dist/components/composite/AlertDialog/index.d.ts +0 -1
  7. package/dist/components/core/Button/Button.d.ts +0 -1
  8. package/dist/components/core/Button/buttonAnimations.d.ts +3 -4
  9. package/dist/components/core/Button/buttonParts.d.ts +2 -2
  10. package/dist/components/core/Button/buttonStyles.d.ts +1 -1
  11. package/dist/components/core/Button/buttonTypes.d.ts +4 -5
  12. package/dist/components/core/Button/index.d.ts +0 -1
  13. package/dist/components/core/Button/useButtonRootState.d.ts +1 -2
  14. package/dist/components/core/Calendar/calendarAnimations.d.ts +10 -11
  15. package/dist/components/core/Calendar/calendarStyles.d.ts +1 -1
  16. package/dist/components/core/Card/Card.d.ts +0 -1
  17. package/dist/components/core/Card/cardAnimations.d.ts +1 -1
  18. package/dist/components/core/Card/cardTypes.d.ts +0 -7
  19. package/dist/components/core/Card/index.d.ts +0 -1
  20. package/dist/components/core/Checkbox/checkboxStyles.d.ts +2 -2
  21. package/dist/components/core/CloseButton/CloseButton.d.ts +0 -1
  22. package/dist/components/core/CloseButton/closeButtonAnimations.d.ts +1 -1
  23. package/dist/components/core/CloseButton/closeButtonTypes.d.ts +0 -2
  24. package/dist/components/core/CloseButton/useCloseButtonRootState.d.ts +1 -2
  25. package/dist/components/core/ComboBox/comboBoxTypes.d.ts +0 -9
  26. package/dist/components/core/Dialog/dialogAnimations.d.ts +2 -2
  27. package/dist/components/core/Dialog/dialogParts.d.ts +0 -1
  28. package/dist/components/core/Dialog/index.d.ts +0 -1
  29. package/dist/components/core/Disclosure/disclosureStyles.d.ts +1 -1
  30. package/dist/components/core/Drawer/drawerAnimations.d.ts +1 -2
  31. package/dist/components/core/Drawer/drawerParts.d.ts +0 -1
  32. package/dist/components/core/Drawer/index.d.ts +0 -1
  33. package/dist/components/core/Dropdown/dropdownItemParts.d.ts +1 -1
  34. package/dist/components/core/Dropdown/dropdownStyles.d.ts +1 -1
  35. package/dist/components/core/Dropdown/index.d.ts +1 -1
  36. package/dist/components/core/Dropdown/useDropdownItemState.d.ts +6 -1
  37. package/dist/components/core/Expandable/expandableStyles.d.ts +1 -1
  38. package/dist/components/core/ListBox/ListBox.d.ts +1 -1
  39. package/dist/components/core/ListBox/index.d.ts +3 -3
  40. package/dist/components/core/ListBox/listBoxAnimations.d.ts +11 -1
  41. package/dist/components/core/ListBox/listBoxContext.d.ts +6 -0
  42. package/dist/components/core/ListBox/listBoxParts.d.ts +1 -1
  43. package/dist/components/core/ListBox/listBoxStyles.d.ts +2 -3
  44. package/dist/components/core/ListBox/listBoxTypes.d.ts +0 -1
  45. package/dist/components/core/ListBox/useListBoxItemState.d.ts +0 -1
  46. package/dist/components/core/ListBox/useListBoxRootState.d.ts +1 -0
  47. package/dist/components/core/Pagination/paginationAnimations.d.ts +16 -4
  48. package/dist/components/core/Pagination/paginationStyles.d.ts +1 -1
  49. package/dist/components/core/Popover/popoverStyles.d.ts +1 -1
  50. package/dist/components/core/ProgressBar/progressBarAPI.d.ts +0 -2
  51. package/dist/components/core/ProgressBar/progressBarAnimations.d.ts +1 -1
  52. package/dist/components/core/ProgressBar/progressBarStyles.d.ts +1 -5
  53. package/dist/components/core/ProgressBar/progressBarTypes.d.ts +3 -2
  54. package/dist/components/core/ProgressBar/useProgressBarTrackState.d.ts +1 -1
  55. package/dist/components/core/Radio/radioStyles.d.ts +2 -2
  56. package/dist/components/core/Ripple/Ripple.d.ts +4 -0
  57. package/dist/components/core/Select/selectTypes.d.ts +0 -8
  58. package/dist/components/core/Switch/switchStyles.d.ts +3 -3
  59. package/dist/components/core/Table/index.d.ts +2 -2
  60. package/dist/components/core/Table/tableAPI.d.ts +1 -0
  61. package/dist/components/core/Table/tableContext.d.ts +4 -0
  62. package/dist/components/core/Table/tableParts.d.ts +2 -2
  63. package/dist/components/core/Table/tableTypes.d.ts +13 -4
  64. package/dist/components/core/Toast/toastAPI.d.ts +5 -0
  65. package/dist/components/core/Toast/toastStyles.d.ts +0 -1
  66. package/dist/components/core/ToggleButton/ToggleButton.d.ts +0 -1
  67. package/dist/components/core/ToggleButton/index.d.ts +0 -1
  68. package/dist/components/core/ToggleButton/toggleButtonAnimations.d.ts +1 -1
  69. package/dist/components/core/ToggleButton/toggleButtonStyles.d.ts +1 -1
  70. package/dist/components/core/ToggleButton/toggleButtonTypes.d.ts +1 -3
  71. package/dist/components/core/ToggleButton/useToggleButtonRootState.d.ts +1 -2
  72. package/dist/components/core/Tooltip/tooltipStyles.d.ts +1 -1
  73. package/dist/components/core/utils/glossInteractiveMotion.d.ts +1 -1
  74. package/dist/components/core/utils/gsapMotion.d.ts +17 -3
  75. package/dist/components/core/utils/hoverInteractiveLift.d.ts +2 -3
  76. package/dist/components/core/utils/modalSurfaceMotion.d.ts +1 -0
  77. package/dist/components/core/utils/motionConfig.d.ts +70 -2
  78. package/dist/components/core/utils/optionListItemStyles.d.ts +1 -1
  79. package/dist/components/core/utils/pressRipple.d.ts +2 -2
  80. package/dist/components/core/utils/reducedMotion.d.ts +11 -0
  81. package/dist/components/core/utils/runOpenAfterSqueeze.d.ts +19 -5
  82. package/dist/components/core/utils/useCollapsibleHeight.d.ts +1 -1
  83. package/dist/components/core/utils/useContainerPointerHoverHandlers.d.ts +20 -0
  84. package/dist/components/core/utils/useFirstLevelInteractiveMotion.d.ts +1 -5
  85. package/dist/components/core/utils/useModalMotion.d.ts +45 -0
  86. package/dist/components/core/utils/usePressableElementTextMotion.d.ts +15 -7
  87. package/dist/components/core/utils/useShadowMotion.d.ts +1 -1
  88. package/dist/index.cjs +1 -1
  89. package/dist/index.d.ts +2 -2
  90. package/dist/index.js +11604 -11376
  91. package/dist/internal.cjs +1 -1
  92. package/dist/internal.d.ts +4 -2
  93. package/dist/internal.js +55 -52
  94. package/dist/theme/themeConfig.d.ts +1 -1
  95. package/dist/theme/themeDefaults.d.ts +24 -0
  96. package/dist/theme/themeScript.d.ts +2 -1
  97. package/dist/themeRuntimeContext-BGPGJ9Al.cjs +14 -0
  98. package/dist/themeRuntimeContext-D_BFeuKg.js +5691 -0
  99. package/dist/ui.css +8 -8
  100. package/package.json +4 -4
  101. package/dist/components/core/ComboBox/comboBoxAnimations.d.ts +0 -5
  102. package/dist/components/core/Select/selectAnimations.d.ts +0 -5
  103. package/dist/themeRuntimeContext-DPX6IpU8.js +0 -7765
  104. package/dist/themeRuntimeContext-DuLxYkX1.cjs +0 -50
@@ -10,7 +10,6 @@ export declare function useListBoxItemState({ children, label, hint, icon, value
10
10
  size: import('./listBoxTypes').ListBoxSize;
11
11
  disabled: boolean;
12
12
  isSelected: boolean;
13
- isActive: boolean;
14
13
  optionId: string;
15
14
  indicatorMode: "radio" | "multi";
16
15
  selectItem: (value: string) => void;
@@ -2,4 +2,5 @@ import { ListBoxContextValue, UseListBoxRootStateProps } from './listBoxTypes';
2
2
  export declare function useListBoxRootState({ size, multiple, value: valueProp, defaultValue, onValueChange, selectionIndicator, disabled, activeValue: activeValueProp, onActiveValueChange, listId: listIdProp, }: UseListBoxRootStateProps): {
3
3
  listId: string;
4
4
  contextValue: ListBoxContextValue;
5
+ activeValue: string | null;
5
6
  };
@@ -1,6 +1,18 @@
1
- import { ForwardedRef } from 'react';
2
- export declare function usePaginationFlip(olRef: React.RefObject<HTMLOListElement | null>): void;
3
- export declare function usePaginationContentRef(forwardedRef: ForwardedRef<HTMLOListElement>): {
4
- olRef: import('react').RefObject<HTMLOListElement | null>;
1
+ import { ForwardedRef, ReactNode, RefObject } from 'react';
2
+ export type PaginationFlipIdentity = {
3
+ /** Current page — primary trigger for FLIP when using `Pagination.Pages`. */
4
+ page?: number;
5
+ totalPages?: number;
6
+ siblingCount?: number;
7
+ /** Custom Content children — covers compound ranges without `Pagination.Pages`. */
8
+ children?: ReactNode;
9
+ };
10
+ /**
11
+ * FLIP page-list items when the visible range changes.
12
+ * Runs only when `page` / list identity changes — not on every Content re-render.
13
+ */
14
+ export declare function usePaginationFlip(olRef: RefObject<HTMLOListElement | null>, { page, totalPages, siblingCount, children }: PaginationFlipIdentity): void;
15
+ export declare function usePaginationContentRef(forwardedRef: ForwardedRef<HTMLOListElement>, flipIdentity: PaginationFlipIdentity): {
16
+ olRef: RefObject<HTMLOListElement | null>;
5
17
  setRefs: (node: HTMLOListElement | null) => void;
6
18
  };
@@ -1,7 +1,7 @@
1
1
  export declare const PAGINATION_ROOT_CLASS = "flex w-full min-w-0 flex-wrap items-center justify-between gap-xsmall gap-y-xsmall text-left";
2
2
  export declare const PAGINATION_SUMMARY_CLASS = "flex min-w-0 flex-1 basis-component-xsmall";
3
3
  export declare const PAGINATION_SUMMARY_TEXT_CLASS = "min-w-0 truncate text-muted";
4
- export declare const PAGINATION_CONTENT_CLASS = "m-0 ms-auto flex max-w-full min-w-0 list-none flex-wrap items-center justify-start gap-xsmall p-0";
4
+ export declare const PAGINATION_CONTENT_CLASS = "m-0 ms-auto flex max-w-full min-w-0 list-none flex-nowrap items-center justify-start gap-xsmall overflow-x-auto overscroll-x-contain p-0";
5
5
  export declare const PAGINATION_ITEM_CLASS = "flex shrink-0 items-center";
6
6
  export declare const PAGINATION_INTERACTIVE_BUTTON_CLASS = "inline-flex min-w-0 origin-center cursor-pointer items-center justify-center gap-xsmall rounded-mid border-0 bg-transparent px-xsmall py-xsmall font-[inherit] text-muted no-underline outline-none hover:text-foreground focus-ring disabled:cursor-not-allowed disabled:opacity-48 disabled:hover:text-muted disabled:hover:bg-transparent motion-reduce:animate-none";
7
7
  /** Page digit column — `--size-scale-2xlarge` (≈1.75rem), not panel max-width. */
@@ -7,7 +7,7 @@ export declare const POPOVER_TITLE_VARIANT: Record<PopoverSize, TextVariant>;
7
7
  export declare const POPOVER_DESCRIPTION_VARIANT: Record<PopoverSize, TextVariant>;
8
8
  export declare const POPOVER_GAP_CLASS: Record<PopoverContentGap, string>;
9
9
  export declare const POPOVER_TRIGGER_CLASS = "inline-flex shrink-0 border-0 bg-transparent p-0 outline-none focus-ring";
10
- export declare const POPOVER_CONTENT_CLASS = "pointer-events-auto z-popover w-max min-w-0 overflow-visible text-left outline-none will-change-transform";
10
+ export declare const POPOVER_CONTENT_CLASS = "pointer-events-auto z-popover w-max min-w-0 overflow-visible text-left outline-none";
11
11
  export declare const POPOVER_PANEL_RELATIVE_CLASS = "relative overflow-visible";
12
12
  export declare const POPOVER_GLOSS_PANEL_CLASS = "gloss-panel gloss-deep relative z-[1] flex min-w-0 origin-center flex-col overflow-hidden text-foreground";
13
13
  export declare const POPOVER_GLOSS_CONTENT_CLASS = "gloss-content flex min-w-0 flex-col";
@@ -1,6 +1,4 @@
1
1
  import { ProgressBarDisplayState } from './progressBarTypes';
2
- export declare const PROGRESS_INDETERMINATE_MS = 1500;
3
- export declare const PROGRESS_INDETERMINATE_EASE: "expo.inOut";
4
2
  export declare function progressBarValueToPercent(value: number, min: number, max: number): number;
5
3
  export declare function defaultProgressBarFormatValue(value: number): string;
6
4
  export declare function progressBarDisplayEqual(a: ProgressBarDisplayState | null, b: ProgressBarDisplayState | null): boolean;
@@ -1,5 +1,5 @@
1
1
  import { UseProgressBarFillAnimationProps } from './progressBarTypes';
2
- export declare function useProgressBarFillAnimation({ indeterminate, fillTargetStyle, isHorizontal, }: UseProgressBarFillAnimationProps): {
2
+ export declare function useProgressBarFillAnimation({ indeterminate, percent, isHorizontal, }: UseProgressBarFillAnimationProps): {
3
3
  fillRef: import('react').RefObject<HTMLSpanElement | null>;
4
4
  reduceMotion: boolean;
5
5
  };
@@ -9,7 +9,7 @@ export declare const PROGRESS_BAR_FILL_BASE_CLASS = "absolute rounded-full";
9
9
  export declare const PROGRESS_BAR_FILL_HORIZONTAL_CLASS = "inset-y-0 left-0";
10
10
  export declare const PROGRESS_BAR_FILL_VERTICAL_CLASS = "inset-x-0 bottom-0";
11
11
  export declare const PROGRESS_BAR_FILL_DEFAULT_COLOR_CLASS = "bg-primary";
12
- export declare const PROGRESS_BAR_INDETERMINATE_FILL_BASE_CLASS = "absolute rounded-full will-change-transform";
12
+ export declare const PROGRESS_BAR_INDETERMINATE_FILL_BASE_CLASS = "absolute rounded-full";
13
13
  export declare const PROGRESS_BAR_INDETERMINATE_FILL_HORIZONTAL_CLASS = "inset-y-0 left-0 w-1/4";
14
14
  export declare const PROGRESS_BAR_INDETERMINATE_FILL_VERTICAL_CLASS = "inset-x-0 bottom-0 h-1/4";
15
15
  export declare const PROGRESS_BAR_INDETERMINATE_FILL_REDUCED_HORIZONTAL_CLASS = "left-1/4 w-1/2";
@@ -55,10 +55,6 @@ export declare function progressBarTrackCrossStyle({ isHorizontal, thickness, }:
55
55
  thickness?: number | string;
56
56
  }): CSSProperties | undefined;
57
57
  export declare function progressBarFillColorStyle(color?: string): CSSProperties | undefined;
58
- export declare function progressBarFillTargetStyle({ isHorizontal, percent, }: {
59
- isHorizontal: boolean;
60
- percent: number;
61
- }): CSSProperties;
62
58
  export declare function progressBarDeterminateFillStyle({ isHorizontal, fillColorStyle, }: {
63
59
  isHorizontal: boolean;
64
60
  fillColorStyle?: CSSProperties;
@@ -1,4 +1,4 @@
1
- import { CSSProperties, HTMLAttributes, ReactNode } from 'react';
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
2
  export type ProgressBarSize = "small" | "base" | "mid" | "large";
3
3
  export type ProgressBarOrientation = "horizontal" | "vertical";
4
4
  export type ProgressBarClassNames = {
@@ -83,7 +83,8 @@ export type ProgressBarTrackAriaProps = {
83
83
  };
84
84
  export type UseProgressBarFillAnimationProps = {
85
85
  indeterminate: boolean;
86
- fillTargetStyle: CSSProperties;
86
+ /** 0–100 progress for determinate fill scale. */
87
+ percent: number;
87
88
  isHorizontal: boolean;
88
89
  };
89
90
  export type ProgressBarSimpleBodyProps = {
@@ -5,6 +5,7 @@ export declare function useProgressBarTrackState({ value, indeterminate, min, ma
5
5
  color: string | undefined;
6
6
  indeterminate: boolean;
7
7
  isHorizontal: boolean;
8
+ percent: number;
8
9
  aria: {
9
10
  "aria-valuenow"?: number;
10
11
  "aria-valuemin"?: number;
@@ -17,5 +18,4 @@ export declare function useProgressBarTrackState({ value, indeterminate, min, ma
17
18
  };
18
19
  trackCrossStyle: import('react').CSSProperties | undefined;
19
20
  fillColorStyle: import('react').CSSProperties | undefined;
20
- fillTargetStyle: import('react').CSSProperties;
21
21
  };
@@ -7,13 +7,13 @@ export declare const RADIO_CONTROL_TRACK_CLASS = "relative inline-flex items-cen
7
7
  export declare const RADIO_CONTENT_COMPOUND_CLASS = "min-w-0";
8
8
  export declare const RADIO_LABEL_CLASS = "inline-flex flex-wrap items-center gap-x-xsmall gap-y-0";
9
9
  export declare const RADIO_LABEL_COMPOUND_SECONDARY_CLASS = "min-w-0";
10
- export declare const RADIO_LABEL_MOTION_CLASS = "origin-center will-change-transform";
10
+ export declare const RADIO_LABEL_MOTION_CLASS = "origin-center";
11
11
  export declare const RADIO_LABEL_TEXT_DISABLED_CLASS = "text-muted";
12
12
  export declare const RADIO_LABEL_TEXT_DANGER_CLASS = "text-danger";
13
13
  export declare const RADIO_REQUIRED_MARK_CLASS = "text-danger";
14
14
  export declare const RADIO_HINT_DISABLED_CLASS = "text-muted";
15
15
  export declare const RADIO_ERROR_DISABLED_CLASS = "text-muted";
16
- export declare const RADIO_SIMPLE_LABEL_WRAP_CLASS = "origin-center will-change-transform";
16
+ export declare const RADIO_SIMPLE_LABEL_WRAP_CLASS = "origin-center";
17
17
  export declare const RADIO_SIMPLE_LABEL_TEXT_CLASS = "min-w-0";
18
18
  export declare const RADIO_ROOT_BASE_CLASS = "relative cursor-pointer select-none rounded-small text-left";
19
19
  export declare const RADIO_ROOT_DISABLED_CLASS = "cursor-not-allowed";
@@ -1,3 +1,7 @@
1
1
  import { RippleProps } from './rippleTypes';
2
2
  export type { RippleProps, RippleDirection } from './rippleTypes';
3
+ /**
4
+ * Event host without ripple state — parent re-renders do not replay dots;
5
+ * paint/dismiss stays inside memoized `ConvergeRipplePaint`.
6
+ */
3
7
  export declare function Ripple({ color, disabled, duration, direction, className, }: RippleProps): import("react/jsx-runtime").JSX.Element;
@@ -118,11 +118,3 @@ export type SelectErrorProps = HTMLAttributes<HTMLParagraphElement> & {
118
118
  children?: ReactNode;
119
119
  };
120
120
  export type UseSelectRootStateProps = SelectProps;
121
- export type RunSelectOpenAfterSqueezeOptions = {
122
- anchorRef: React.RefObject<HTMLDivElement | null>;
123
- disabled: boolean;
124
- isGloss: boolean;
125
- groupSegment?: ButtonGroupSegment;
126
- setOpen: (open: boolean) => void;
127
- onOpened?: () => void;
128
- };
@@ -9,12 +9,12 @@ export declare const SWITCH_CONTENT_COMPOUND_CLASS = "min-w-0";
9
9
  export declare const SWITCH_CONTENT_PASS_THROUGH_CLASS = "contents";
10
10
  export declare const SWITCH_LABEL_CLASS = "inline-flex flex-wrap items-center gap-x-xsmall gap-y-0";
11
11
  export declare const SWITCH_LABEL_COMPOUND_SECONDARY_CLASS = "min-w-0";
12
- export declare const SWITCH_LABEL_MOTION_CLASS = "origin-center will-change-transform";
12
+ export declare const SWITCH_LABEL_MOTION_CLASS = "origin-center";
13
13
  export declare const SWITCH_LABEL_TEXT_CLASS = "font-w-mid";
14
14
  export declare const SWITCH_LABEL_TEXT_DISABLED_CLASS = "text-muted";
15
15
  export declare const SWITCH_HINT_DISABLED_CLASS = "text-muted";
16
16
  export declare const SWITCH_ERROR_DISABLED_CLASS = "text-muted";
17
- export declare const SWITCH_SIMPLE_LABEL_WRAP_CLASS = "origin-center will-change-transform";
17
+ export declare const SWITCH_SIMPLE_LABEL_WRAP_CLASS = "origin-center";
18
18
  export declare const SWITCH_SIMPLE_LABEL_TEXT_CLASS = "min-w-0 font-w-mid";
19
19
  export declare const SWITCH_ROOT_BASE_CLASS = "relative cursor-pointer select-none rounded-small text-left";
20
20
  export declare const SWITCH_ROOT_DISABLED_CLASS = "cursor-not-allowed";
@@ -27,7 +27,7 @@ export declare const SWITCH_FILL_BASE_CLASS = "pointer-events-none absolute inse
27
27
  export declare const SWITCH_FILL_GLOSS_CLASS = "z-[1]";
28
28
  export declare const SWITCH_FILL_COLOR_CLASS = "bg-primary";
29
29
  export declare const SWITCH_FILL_GLOSS_TINT_CLASS = "bg-primary-tint";
30
- export declare const SWITCH_THUMB_BASE_CLASS = "absolute inset-y-0 left-0 aspect-square h-full w-auto will-change-transform flex";
30
+ export declare const SWITCH_THUMB_BASE_CLASS = "absolute inset-y-0 left-0 aspect-square h-full w-auto flex";
31
31
  export declare const SWITCH_THUMB_GLOSS_CLASS = "z-[2]";
32
32
  export declare const SWITCH_ICON_BASE_CLASS = "absolute inset-0 flex items-center justify-center";
33
33
  export declare function switchLabelSide(labelPosition: SwitchLabelPosition): "left" | "right";
@@ -31,11 +31,11 @@ export declare const Table: import('react').ForwardRefExoticComponent<import('re
31
31
  children?: import('react').ReactNode | ((item: any) => import('react').ReactNode);
32
32
  renderEmptyState?: () => import('react').ReactNode;
33
33
  } & import('react').RefAttributes<HTMLTableSectionElement>>;
34
- Row: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLTableRowElement>, "id"> & {
34
+ Row: import('react').NamedExoticComponent<Omit<import('react').HTMLAttributes<HTMLTableRowElement>, "id"> & {
35
35
  id?: string | number;
36
36
  tone?: import('./tableStyles').TableRowTone;
37
37
  } & import('react').RefAttributes<HTMLTableRowElement>>;
38
- Cell: import('react').ForwardRefExoticComponent<import('./tableTypes').TableCellProps & import('react').RefAttributes<HTMLTableCellElement>>;
38
+ Cell: import('react').NamedExoticComponent<import('./tableTypes').TableCellProps & import('react').RefAttributes<HTMLTableCellElement>>;
39
39
  Footer: import('react').ForwardRefExoticComponent<import('./tableTypes').TableFooterProps & import('react').RefAttributes<HTMLDivElement>>;
40
40
  };
41
41
  export { TABLE_ROW_TONE_SURFACE } from './tableStyles';
@@ -5,6 +5,7 @@ export declare const TONED_ROW_DEFAULT_TONE: "secondary";
5
5
  export declare const TABLE_LABEL_DISPLAY_NAME = "Table.Label";
6
6
  export declare function hasTableLabel(children: ReactNode): boolean;
7
7
  export declare function isRowInSelection(selectedKeys: Selection, key: string | number): boolean;
8
+ export declare function selectionEquals(a: Selection, b: Selection): boolean;
8
9
  export declare function toggleSelectionKey({ selectionMode, selectedKeys, key, }: {
9
10
  selectionMode: SelectionMode;
10
11
  selectedKeys: Selection;
@@ -19,4 +19,8 @@ export declare function useTableVariant(): TableVariant;
19
19
  export declare function useTableClassNames(): TableClassNames;
20
20
  export declare function useTableContent(): TableContentContextValue;
21
21
  export declare function useTableRow(): TableRowContextValue | null;
22
+ /** Per-row selected boolean — re-renders only when *this* row's selection flips. */
23
+ export declare function useTableRowIsSelected(id: string | number | undefined): boolean;
24
+ /** Per-row roving tab-stop — re-renders only when *this* row's focus target flips. */
25
+ export declare function useTableRowIsFocusTarget(id: string | number | undefined): boolean;
22
26
  export { TableVariantContext, TableContentContext, TableRowContext };
@@ -29,9 +29,9 @@ export declare const TableBody: import('react').ForwardRefExoticComponent<Omit<i
29
29
  children?: ReactNode | ((item: any) => ReactNode);
30
30
  renderEmptyState?: () => ReactNode;
31
31
  } & import('react').RefAttributes<HTMLTableSectionElement>>;
32
- export declare const TableRow: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLTableRowElement>, "id"> & {
32
+ export declare const TableRow: import('react').NamedExoticComponent<Omit<import('react').HTMLAttributes<HTMLTableRowElement>, "id"> & {
33
33
  id?: string | number;
34
34
  tone?: import('./tableStyles').TableRowTone;
35
35
  } & import('react').RefAttributes<HTMLTableRowElement>>;
36
- export declare const TableCell: import('react').ForwardRefExoticComponent<TableCellProps & import('react').RefAttributes<HTMLTableCellElement>>;
36
+ export declare const TableCell: import('react').NamedExoticComponent<TableCellProps & import('react').RefAttributes<HTMLTableCellElement>>;
37
37
  export declare const TableFooter: import('react').ForwardRefExoticComponent<TableFooterProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -78,16 +78,25 @@ export type TableCellProps = TdHTMLAttributes<HTMLTableCellElement>;
78
78
  export type TableFooterProps = HTMLAttributes<HTMLDivElement>;
79
79
  export type TableContentContextValue = {
80
80
  selectionMode: SelectionMode;
81
- selectedKeys: Selection;
82
81
  onRowSelect: (key: string | number) => void;
83
- isRowSelected: (key: string | number) => boolean;
84
82
  sortDescriptor: SortDescriptor | undefined;
85
83
  onSortChange: ((d: SortDescriptor) => void) | undefined;
86
- /** Roving focus key for selectable grid rows. */
87
- focusedRowKey: string | number | null;
88
84
  setFocusedRowKey: (key: string | number) => void;
89
85
  /** First selectable row claims initial tab stop. */
90
86
  claimFocusedRowKey: (key: string | number) => void;
87
+ /** External store for per-row selection / roving focus (avoids N-row context churn). */
88
+ rowStore: TableRowSelectionStore;
89
+ };
90
+ export type TableRowSelectionStore = {
91
+ subscribeSelection: (onStoreChange: () => void) => () => void;
92
+ subscribeFocus: (onStoreChange: () => void) => () => void;
93
+ getSelectedKeys: () => Selection;
94
+ isSelected: (key: string | number) => boolean;
95
+ getFocusedRowKey: () => string | number | null;
96
+ isFocusTarget: (key: string | number) => boolean;
97
+ setSelectedKeys: (next: Selection) => void;
98
+ setFocusedRowKey: (key: string | number) => void;
99
+ claimFocusedRowKey: (key: string | number) => void;
91
100
  };
92
101
  export type TableRowContextValue = {
93
102
  tone: TableRowTone;
@@ -1,11 +1,16 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { MessageBannerGridSlots } from '../utils/messageBannerGridLayout';
3
3
  import { ToastStatus } from './toastTypes';
4
+ /** Toast stack peek above the next card — intentional layout constant. */
4
5
  export declare const TOAST_STACK_PEEK_PX = 8;
6
+ /** Per-depth scale step in the toast stack — intentional layout constant. */
5
7
  export declare const TOAST_STACK_SCALE_STEP = 0.04;
6
8
  export declare const TOAST_MAX_VISIBLE = 3;
7
9
  export declare const TOAST_DEFAULT_TIMEOUT_MS = 4000;
10
+ /** Enter slide offset — intentional motion constant (not in `configureMotion`). */
8
11
  export declare const TOAST_ENTRY_OFFSET_PX = 24;
12
+ /** Stack container height: front card + peek for visible depth (capped). */
13
+ export declare function resolveToastStackContainerHeight(frontHeight: number, stackCount: number): number;
9
14
  export declare function createToastId(): string;
10
15
  export declare function toastHasTitle(children: ReactNode): boolean;
11
16
  export declare function toastHasDescription(children: ReactNode): boolean;
@@ -13,7 +13,6 @@ export declare const TOAST_INDICATOR_BASE_CLASS = "inline-flex shrink-0 items-ce
13
13
  export declare function toastIndicatorClass(status: ToastStatus, iconSvgClass: string, slotClass?: string): string;
14
14
  export declare const TOAST_VIEWPORT_BASE_CLASS = "fixed z-toast pointer-events-none";
15
15
  export declare const TOAST_STACK_CONTAINER_CLASS = "relative grid";
16
- export declare const TOAST_STACK_ITEM_CLASS = "will-change-transform";
17
16
  export declare const TOAST_SCRIM_BASE_CLASS = "pointer-events-none absolute";
18
17
  export declare function toastPlacementClass(placement: ToastPlacement): string;
19
18
  export declare function toastLoadingColor(status: ToastStatus): LoadingColor;
@@ -12,6 +12,5 @@ export declare const ToggleButtonRoot: import('react').ForwardRefExoticComponent
12
12
  size?: import('./toggleButtonTypes').ToggleButtonSize;
13
13
  icon?: import('react').ReactNode;
14
14
  iconPosition?: import('../utils/iconPosition').IconPosition;
15
- animated?: boolean;
16
15
  classNames?: import('./toggleButtonTypes').ToggleButtonClassNames;
17
16
  } & import('react').RefAttributes<HTMLButtonElement>>;
@@ -12,7 +12,6 @@ export declare const ToggleButton: import('react').ForwardRefExoticComponent<Omi
12
12
  size?: import('./toggleButtonTypes').ToggleButtonSize;
13
13
  icon?: import('react').ReactNode;
14
14
  iconPosition?: import('../utils/iconPosition').IconPosition;
15
- animated?: boolean;
16
15
  classNames?: import('./toggleButtonTypes').ToggleButtonClassNames;
17
16
  } & import('react').RefAttributes<HTMLButtonElement>> & {
18
17
  Content: import('react').ForwardRefExoticComponent<import('./toggleButtonTypes').ToggleButtonContentProps & import('react').RefAttributes<HTMLSpanElement>>;
@@ -4,7 +4,7 @@ import { UseToggleButtonAnimationsProps } from './toggleButtonTypes';
4
4
  * Interactive motion + fill: fill starts at the beginning of the squeeze release phase,
5
5
  * after click has confirmed the next pressed value (on and off share this timing).
6
6
  */
7
- export declare function useToggleButtonAnimations({ animated, disabled, variant, groupSegment, forwardedRef, pressed, onFillStart, onPointerEnter, onPointerLeave, onPointerDown, }: UseToggleButtonAnimationsProps): {
7
+ export declare function useToggleButtonAnimations({ disabled, variant, groupSegment, forwardedRef, pressed, onFillStart, onPointerEnter, onPointerLeave, onPointerDown, }: UseToggleButtonAnimationsProps): {
8
8
  setRefs: (node: HTMLButtonElement | null) => void;
9
9
  contentMotionRef: import('react').RefObject<HTMLSpanElement | null>;
10
10
  handlePointerEnter: (e: PointerEvent<HTMLButtonElement>) => void;
@@ -8,7 +8,7 @@ export declare const TOGGLE_BUTTON_DISABLED_CLASS = "cursor-not-allowed opacity-
8
8
  export declare const TOGGLE_BUTTON_ENABLED_CLASS = "cursor-pointer";
9
9
  export declare const TOGGLE_BUTTON_FILL_BASE_CLASS = "pointer-events-none absolute -inset-px z-0 origin-center motion-reduce:transition-none";
10
10
  export declare const TOGGLE_BUTTON_CONTENT_BASE_CLASS = "relative z-[1] inline-flex w-full min-w-0 items-center justify-center gap-xsmall";
11
- export declare const TOGGLE_BUTTON_CONTENT_GROUP_MOTION_CLASS = "origin-center will-change-transform";
11
+ export declare const TOGGLE_BUTTON_CONTENT_GROUP_MOTION_CLASS = "origin-center";
12
12
  export declare const TOGGLE_BUTTON_ICON_SLOT_CLASS = "inline-flex shrink-0 items-center justify-center [&_svg]:size-full";
13
13
  export declare const TOGGLE_BUTTON_LABEL_LAYER_CLASS = "inline-flex w-full min-w-0 items-center gap-xsmall";
14
14
  export declare const TOGGLE_BUTTON_TEXT_CLASS = "min-w-0 shrink";
@@ -36,7 +36,6 @@ export type ToggleButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "a
36
36
  icon?: ReactNode;
37
37
  /** @default "start" */
38
38
  iconPosition?: IconPosition;
39
- animated?: boolean;
40
39
  classNames?: ToggleButtonClassNames;
41
40
  };
42
41
  export type ToggleButtonFillProps = HTMLAttributes<HTMLSpanElement>;
@@ -65,9 +64,8 @@ export type ToggleButtonGroupContextValue = {
65
64
  select: (value: string) => void;
66
65
  tabIndexFor: (value: string) => 0 | -1 | undefined;
67
66
  };
68
- export type UseToggleButtonRootStateProps = Pick<ToggleButtonProps, "value" | "groupSegment" | "pressed" | "defaultPressed" | "onPressedChange" | "onFillStart" | "variant" | "fillColor" | "size" | "animated" | "disabled" | "className" | "classNames" | "children" | "onClick">;
67
+ export type UseToggleButtonRootStateProps = Pick<ToggleButtonProps, "value" | "groupSegment" | "pressed" | "defaultPressed" | "onPressedChange" | "onFillStart" | "variant" | "fillColor" | "size" | "disabled" | "className" | "classNames" | "children" | "onClick">;
69
68
  export type UseToggleButtonAnimationsProps = {
70
- animated: boolean;
71
69
  disabled: boolean;
72
70
  variant: ToggleButtonVariant;
73
71
  groupSegment: ButtonGroupSegment | undefined;
@@ -1,5 +1,5 @@
1
1
  import { UseToggleButtonRootStateProps } from './toggleButtonTypes';
2
- export declare function useToggleButtonRootState({ value: itemValue, groupSegment: groupSegmentProp, pressed: pressedProp, defaultPressed, onPressedChange, onFillStart, variant: variantProp, fillColor, size: sizeProp, animated, disabled: disabledProp, className, classNames, children, onClick, }: UseToggleButtonRootStateProps): {
2
+ export declare function useToggleButtonRootState({ value: itemValue, groupSegment: groupSegmentProp, pressed: pressedProp, defaultPressed, onPressedChange, onFillStart, variant: variantProp, fillColor, size: sizeProp, disabled: disabledProp, className, classNames, children, onClick, }: UseToggleButtonRootStateProps): {
3
3
  itemValue: string | undefined;
4
4
  groupCtx: import('./toggleButtonTypes').ToggleButtonGroupContextValue | null;
5
5
  groupSegment: Readonly<{
@@ -14,7 +14,6 @@ export declare function useToggleButtonRootState({ value: itemValue, groupSegmen
14
14
  pressed: boolean;
15
15
  onFillStart: ((pressed: boolean) => void) | undefined;
16
16
  fillColor: string;
17
- animated: boolean;
18
17
  classNames: import('./toggleButtonTypes').ToggleButtonClassNames | undefined;
19
18
  roundingClass: string;
20
19
  role: "radio" | undefined;
@@ -23,7 +23,7 @@ export declare const TOOLTIP_ARROW_BASE_CLASS = "pointer-events-none absolute z-
23
23
  export declare const TOOLTIP_ARROW_GLOSS_CLASS = "border-0 bg-[var(--color-surface)]";
24
24
  /** Arrow fill mirrors panel surface (no status tint). */
25
25
  export declare const TOOLTIP_ARROW_FILL_CLASS: Record<Exclude<TooltipVariant, "gloss">, string>;
26
- export declare const TOOLTIP_CONTENT_BASE_CLASS = "pointer-events-none z-tooltip w-max min-w-0 overflow-visible text-left outline-none will-change-transform";
26
+ export declare const TOOLTIP_CONTENT_BASE_CLASS = "pointer-events-none z-tooltip w-max min-w-0 overflow-visible text-left outline-none";
27
27
  export declare const TOOLTIP_CONTENT_INNER_CLASS = "relative overflow-visible";
28
28
  export declare const TOOLTIP_GLOSS_PANEL_BASE_CLASS = "gloss-panel gloss-deep relative z-[1] w-max min-w-0 origin-center overflow-hidden rounded-mid text-left text-foreground";
29
29
  export declare const TOOLTIP_GLOSS_CONTENT_CLASS = "gloss-content";
@@ -1,6 +1,6 @@
1
1
  import { RefObject, Ref, PointerEvent as ReactPointerEvent } from 'react';
2
2
  /** Motion classes without `animate-shadow` — gloss shadows are animated by GSAP, not `--el-shadow`. */
3
- export declare const GLOSS_INTERACTIVE_MOTION_CLASS = "will-change-transform origin-center";
3
+ export declare const GLOSS_INTERACTIVE_MOTION_CLASS = "origin-center";
4
4
  export type GlossDecorState = "rest" | "hover" | "press";
5
5
  /**
6
6
  * Multi-layer gloss box-shadow (rest / hover / press).
@@ -1,7 +1,21 @@
1
1
  import { default as gsap } from 'gsap';
2
- import { useGSAP } from '@gsap/react';
3
2
  /** Ensures CustomEase for ripple is registered from current motion config. */
4
3
  export declare function ensureRippleEase(): string;
5
- /** Stops active tweens on target(s) and clears inline styles GSAP may have set. */
4
+ /**
5
+ * Stops active tweens/timelines on target(s) via `killTweensOf`.
6
+ * Clears inline `will-change` on HTMLElement targets (dynamic hint left mid-tween).
7
+ * Does not clear other inline styles — callers that need a clean slate must reset
8
+ * (`style.transform = ""`, `gsap.set(..., { clearProps })`, etc.) themselves.
9
+ */
6
10
  export declare function killMotion(...targets: gsap.TweenTarget[]): void;
7
- export { gsap, useGSAP };
11
+ /**
12
+ * Dynamic compositor hint for transform tweens.
13
+ * Prefer over permanent Tailwind `will-change-transform` (avoids idle layer promotion).
14
+ */
15
+ export declare function setWillChangeTransform(el: HTMLElement, active: boolean): void;
16
+ /**
17
+ * Wraps a GSAP `onComplete` so `will-change` is cleared when the tween/timeline ends.
18
+ * Call `setWillChangeTransform(el, true)` before starting the animation.
19
+ */
20
+ export declare function clearWillChangeOnComplete(el: HTMLElement, onComplete?: gsap.Callback): gsap.Callback;
21
+ export { gsap };
@@ -1,4 +1,4 @@
1
- import { MutableRefObject, RefObject, PointerEvent as ReactPointerEvent } from 'react';
1
+ import { RefObject, PointerEvent as ReactPointerEvent } from 'react';
2
2
  import { ShadowSize } from '../../../tokens/shadows';
3
3
  /**
4
4
  * `box-shadow` values for hover / persistent `--el-shadow`.
@@ -35,7 +35,6 @@ export declare function readShadowSize(size: ShadowSize, from?: Element | null):
35
35
  * For hover-only shadow, `animate-shadow` class is enough (idle = `--shadow-none`).
36
36
  */
37
37
  export declare function initElementShadow(element: HTMLElement | null, shadow: string): void;
38
- export declare function prefersReducedInteractiveHoverLift(): boolean;
39
38
  /** Hover lift and shadow change: off for reduced-motion, touch and viewport ≤ tablet. */
40
39
  export declare function shouldSkipInteractiveHoverLift(): boolean;
41
40
  /** Adaptive scale for hover-lift (for gloss-combined motion). */
@@ -64,7 +63,7 @@ export type AnimateInteractivePressSqueezeOptions = {
64
63
  onReleaseStart?: () => void;
65
64
  };
66
65
  export declare function animateInteractivePressSqueeze(element: HTMLElement, options?: AnimateInteractivePressSqueezeOptions): Promise<void>;
67
- export declare function useInteractiveHoverLiftContainerHandlers<Element extends HTMLElement = HTMLElement>(liftedRef: RefObject<HTMLElement | null>, enabled: boolean, pointerInsideRef?: MutableRefObject<boolean>,
66
+ export declare function useInteractiveHoverLiftContainerHandlers<Element extends HTMLElement = HTMLElement>(liftedRef: RefObject<HTMLElement | null>, enabled: boolean, pointerInsideRef?: RefObject<boolean>,
68
67
  /** Explicit lift scale; `undefined` (default) — adaptive by element size. */
69
68
  liftScale?: number, shadow?: HoverShadowConfig): {
70
69
  onPointerOver: (e: ReactPointerEvent<Element>) => void;
@@ -1,4 +1,5 @@
1
1
  import { gsap as gsapInstance } from './gsapMotion';
2
+ /** Panel enter scale — intentional visual constant (not in `configureMotion`). */
2
3
  export declare const MODAL_PANEL_SCALE_FROM = 0.97;
3
4
  export type GsapMotionVars = NonNullable<Parameters<typeof gsapInstance.to>[1]>;
4
5
  export declare function isReducedModalMotion(): boolean;
@@ -8,22 +8,28 @@
8
8
  *
9
9
  * configureMotion({
10
10
  * interactiveDuration: 350,
11
+ * pressSqueezeDurationFactor: 1.15,
12
+ * modalDuration: 280,
11
13
  * surfaceTransitionDuration: 450,
12
14
  * toastDismissDuration: 220,
15
+ * progressIndeterminateDuration: 1500,
13
16
  * selectionFillDuration: 400,
14
17
  * selectionFillEase: "back.out(1.25)",
15
18
  * switchThumbEase: "back.out(1.6)",
19
+ * enableAnimations: false, // global kill-switch
16
20
  * });
17
21
  */
18
22
  /** CSS custom properties written by `applyMotionCssTokens` / theme apply. */
19
23
  export declare const MOTION_CSS_VAR: {
20
24
  readonly surfaceDuration: "--motion-surface-duration";
21
25
  };
26
+ /** Per-feature enable flags (AND with `enableAnimations`). */
27
+ export type MotionFeatureFlag = "enableHoverLift" | "enablePressSqueeze" | "enableToggleButtonFill" | "enableRipple" | "enableExpandable" | "enableToastStack" | "enableAsyncButtonCrossfade" | "enableContentFade" | "enableFeedbackExpand" | "enableProgressFill" | "enableLoadingDots" | "enableModalMotion" | "enableSwitchThumb" | "enableTabsIndicator" | "enablePaginationFlip" | "enableSelectionFill";
22
28
  export interface MotionConfig {
23
29
  /**
24
30
  * Duration (ms) for most interactive UI animations:
25
- * hover-lift, press-squeeze, dialogs, drawer slide,
26
- * checkbox, radio, accordion, tab indicator, etc.
31
+ * hover-lift, press-squeeze, checkbox, radio, accordion, tab indicator, etc.
32
+ * Modals use `modalDuration`.
27
33
  * @default 280
28
34
  */
29
35
  interactiveDuration: number;
@@ -43,6 +49,11 @@ export interface MotionConfig {
43
49
  * @default 200
44
50
  */
45
51
  tooltipDuration: number;
52
+ /**
53
+ * Duration (ms) for Dialog / AlertDialog / Drawer open/close.
54
+ * @default 280
55
+ */
56
+ modalDuration: number;
46
57
  /** Switch thumb — how long the travel animation takes (ms). @default 340 */
47
58
  switchThumbDuration: number;
48
59
  /**
@@ -70,6 +81,14 @@ export interface MotionConfig {
70
81
  * @default [1, 0.98, 1]
71
82
  */
72
83
  pressSqueezeScale: readonly [number, number, number];
84
+ /**
85
+ * Multiplier on `interactiveDuration` for the full press-squeeze timeline.
86
+ * Also sets the open delay in `runOpenAfterSqueeze` (Popover / Dropdown / Dialog /
87
+ * Drawer / Select / ComboBox / AlertDialog) because open waits for squeeze to finish
88
+ * (~322 ms at defaults: 280 × 1.15).
89
+ * @default 1.15
90
+ */
91
+ pressSqueezeDurationFactor: number;
73
92
  /** Duration (ms) of converge-ripple expansion. @default 700 */
74
93
  rippleDefaultDuration: number;
75
94
  /** Starting opacity of converge-ripple. @default 0.42 */
@@ -113,6 +132,12 @@ export interface MotionConfig {
113
132
  * @default "power2.in"
114
133
  */
115
134
  toastDismissEase: string;
135
+ /**
136
+ * Master kill-switch for all GSAP feature flags.
137
+ * When `false`, every `enable*` feature is treated as off (flags keep their values).
138
+ * @default true
139
+ */
140
+ enableAnimations: boolean;
116
141
  /** Whether to enable hover-lift animations globally. @default true */
117
142
  enableHoverLift: boolean;
118
143
  /** Whether to enable press-squeeze animations globally. @default true */
@@ -140,6 +165,16 @@ export interface MotionConfig {
140
165
  progressFillEase: string;
141
166
  /** Animate ProgressBar fill on value change. @default true */
142
167
  enableProgressFill: boolean;
168
+ /**
169
+ * Duration (ms) of one ProgressBar indeterminate loop (translate across track).
170
+ * @default 1500
171
+ */
172
+ progressIndeterminateDuration: number;
173
+ /**
174
+ * GSAP easing for ProgressBar indeterminate loop.
175
+ * @default "expo.inOut"
176
+ */
177
+ progressIndeterminateEase: string;
143
178
  /**
144
179
  * Duration (ms) of one full Loading dots bounce (up + down).
145
180
  * Delay between dots = duration / 3 (wave 1 → 2 → 3).
@@ -152,6 +187,16 @@ export interface MotionConfig {
152
187
  loadingDotsEaseDown: string;
153
188
  /** Bouncing Loading dots animation (`variant="dots"`). @default true */
154
189
  enableLoadingDots: boolean;
190
+ /** Dialog / AlertDialog / Drawer enter/leave. @default true */
191
+ enableModalMotion: boolean;
192
+ /** Switch thumb travel (+ related track fill / icon crossfade). @default true */
193
+ enableSwitchThumb: boolean;
194
+ /** Tabs sliding indicator. @default true */
195
+ enableTabsIndicator: boolean;
196
+ /** Pagination FLIP layout transitions. @default true */
197
+ enablePaginationFlip: boolean;
198
+ /** SelectionIndicator fill / mark (Checkbox, Radio, ListBox, …). @default true */
199
+ enableSelectionFill: boolean;
155
200
  }
156
201
  /** Canonical motion defaults — imported by theme `MOTION_DEFAULTS` (single source). */
157
202
  export declare const MOTION_CONFIG_DEFAULTS: MotionConfig;
@@ -172,16 +217,34 @@ export declare function applyMotionCssTokens(root: HTMLElement | null | undefine
172
217
  export declare function configureMotion(overrides: Partial<MotionConfig>): void;
173
218
  /** Returns the current (possibly customised) motion config. */
174
219
  export declare function getMotionConfig(): Readonly<MotionConfig>;
220
+ /** Master kill-switch — `false` disables all GSAP feature flags. */
221
+ export declare function isMotionEnabled(): boolean;
222
+ /**
223
+ * Whether a feature flag is on under the current master kill-switch.
224
+ * Equivalent to `enableAnimations && config[flag]`.
225
+ */
226
+ export declare function isMotionFeatureEnabled(flag: MotionFeatureFlag): boolean;
175
227
  /** Returns `{ duration, ease }` for standard interactive GSAP tweens (duration in seconds). */
176
228
  export declare function motionInteractive(): {
177
229
  readonly duration: number;
178
230
  readonly ease: string;
179
231
  };
232
+ /** Dialog / AlertDialog / Drawer enter/leave. */
233
+ export declare function motionModal(): {
234
+ readonly duration: number;
235
+ readonly ease: string;
236
+ };
180
237
  /** Returns `{ duration, ease }` for hover-lift GSAP tweens (duration in seconds). */
181
238
  export declare function motionHoverLift(): {
182
239
  readonly duration: number;
183
240
  readonly ease: string;
184
241
  };
242
+ /**
243
+ * Full press-squeeze timeline duration in seconds
244
+ * (`interactiveDuration × pressSqueezeDurationFactor`).
245
+ * Used by squeeze animations and as the open-after-squeeze delay.
246
+ */
247
+ export declare function motionPressSqueezeTotal(): number;
185
248
  /** Selection fill (ToggleButton, Calendar, Checkbox/Radio indicator fill). */
186
249
  export declare function motionSelectionFill(): {
187
250
  readonly duration: number;
@@ -216,6 +279,11 @@ export declare function motionProgressFill(): {
216
279
  readonly duration: number;
217
280
  readonly ease: string;
218
281
  };
282
+ /** ProgressBar indeterminate translate loop. */
283
+ export declare function motionProgressIndeterminate(): {
284
+ readonly duration: number;
285
+ readonly ease: string;
286
+ };
219
287
  /** Toast dismiss slide + last-scrim fade-out. */
220
288
  export declare function motionToastDismiss(): {
221
289
  readonly duration: number;
@@ -1,6 +1,6 @@
1
1
  export declare const OPTION_LIST_ITEM_LABEL_WRAP_CLASS = "inline-flex min-w-0 items-center";
2
2
  export declare const OPTION_LIST_ITEM_LABEL_MIN_WIDTH_CLASS = "min-w-0";
3
- export declare const OPTION_LIST_ITEM_LABEL_MOTION_CLASS = "origin-center will-change-transform";
3
+ export declare const OPTION_LIST_ITEM_LABEL_MOTION_CLASS = "origin-center";
4
4
  export declare const OPTION_LIST_ITEM_LABEL_TEXT_CLASS = "font-w-mid";
5
5
  export declare const OPTION_LIST_ITEM_LABEL_TEXT_DISABLED_CLASS = "text-muted";
6
6
  export declare const OPTION_LIST_ITEM_HINT_MUTED_CLASS = "text-muted";