burne-ui 1.6.7 → 1.6.9

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 (47) hide show
  1. package/dist/components/composite/AlertDialog/alertDialogTypes.d.ts +1 -1
  2. package/dist/components/composite/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  3. package/dist/components/composite/ToggleButtonGroup/index.d.ts +1 -1
  4. package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupTypes.d.ts +2 -1
  5. package/dist/components/core/Alert/alertStyles.d.ts +3 -1
  6. package/dist/components/core/Button/buttonStyles.d.ts +1 -0
  7. package/dist/components/core/Checkbox/checkboxStyles.d.ts +3 -2
  8. package/dist/components/core/ComboBox/comboBoxStyles.d.ts +2 -2
  9. package/dist/components/core/Dialog/dialogTypes.d.ts +1 -1
  10. package/dist/components/core/Disclosure/disclosureStyles.d.ts +3 -3
  11. package/dist/components/core/Drawer/drawerTypes.d.ts +1 -1
  12. package/dist/components/core/Expandable/expandableStyles.d.ts +3 -7
  13. package/dist/components/core/Input/inputStyles.d.ts +3 -11
  14. package/dist/components/core/Popover/popoverContext.d.ts +7 -0
  15. package/dist/components/core/Popover/popoverStyles.d.ts +8 -7
  16. package/dist/components/core/Radio/radioStyles.d.ts +3 -2
  17. package/dist/components/core/Select/selectStyles.d.ts +2 -2
  18. package/dist/components/core/Slider/sliderStyles.d.ts +6 -2
  19. package/dist/components/core/Slider/sliderThumbParts.d.ts +1 -1
  20. package/dist/components/core/Slider/sliderTypes.d.ts +1 -1
  21. package/dist/components/core/Switch/switchStyles.d.ts +2 -2
  22. package/dist/components/core/Text/textStyles.d.ts +7 -1
  23. package/dist/components/core/TextArea/textAreaStyles.d.ts +2 -4
  24. package/dist/components/core/TimeField/timeFieldStyles.d.ts +3 -6
  25. package/dist/components/core/Toast/toastStyles.d.ts +4 -3
  26. package/dist/components/core/ToggleButton/toggleButtonAnimations.d.ts +3 -1
  27. package/dist/components/core/ToggleButton/useToggleButtonFillAnimation.d.ts +4 -0
  28. package/dist/components/core/ToggleButton/useToggleButtonRootState.d.ts +0 -1
  29. package/dist/components/core/Tooltip/tooltipStyles.d.ts +10 -7
  30. package/dist/components/core/utils/fieldShellVariant.d.ts +7 -3
  31. package/dist/components/core/utils/hoverVariant.d.ts +1 -1
  32. package/dist/components/core/utils/sizeLayout/collapsible.d.ts +25 -0
  33. package/dist/components/core/utils/sizeLayout/index.d.ts +2 -0
  34. package/dist/components/core/utils/sizeLayout/panel.d.ts +8 -6
  35. package/dist/components/core/utils/useFieldShellHoverLift.d.ts +20 -6
  36. package/dist/index.cjs +1 -1
  37. package/dist/index.js +7670 -7654
  38. package/dist/internal.cjs +1 -1
  39. package/dist/internal.js +1 -1
  40. package/dist/theme/themeDefaults.d.ts +1 -1
  41. package/dist/{themeRuntimeContext-CE8HsqSx.js → themeRuntimeContext-DPX6IpU8.js} +1965 -1942
  42. package/dist/themeRuntimeContext-DuLxYkX1.cjs +50 -0
  43. package/dist/tokens/config.d.ts +4 -0
  44. package/dist/tokens/index.d.ts +1 -1
  45. package/dist/ui.css +349 -92
  46. package/package.json +1 -1
  47. package/dist/themeRuntimeContext-zhfbKb8L.cjs +0 -50
@@ -23,7 +23,7 @@ export type AlertDialogClassNames = {
23
23
  close?: string;
24
24
  };
25
25
  /** Size tokens from shared `PANEL_SIZE_LAYOUT` (AlertDialog slice). */
26
- export type AlertDialogSizePreset = Pick<PanelSizeLayout, "rounded" | "panelMax" | "maxHeight" | "headerPadding" | "bodyPadding" | "footerPadding" | "titleVariant" | "descVariant" | "descClassName" | "bodyVariant" | "iconClass" | "footerButtonSize" | "closeButtonSize"> & {
26
+ export type AlertDialogSizePreset = Pick<PanelSizeLayout, "rounded" | "panelMax" | "maxHeight" | "headerPadding" | "bodyPadding" | "footerPadding" | "titleVariant" | "titleClassName" | "descVariant" | "descClassName" | "bodyVariant" | "iconClass" | "footerButtonSize" | "closeButtonSize"> & {
27
27
  /** Alert header grid gap (`alertHeaderGap` in panel layout). */
28
28
  headerGap: string;
29
29
  };
@@ -3,7 +3,7 @@ export declare const ToggleButtonGroupRoot: import('react').ForwardRefExoticComp
3
3
  children?: import('react').ReactNode;
4
4
  type?: import('./toggleButtonGroupTypes').ToggleButtonGroupType;
5
5
  orientation?: import('./toggleButtonGroupTypes').ToggleButtonGroupOrientation;
6
- separated?: boolean;
6
+ segmented?: boolean;
7
7
  disabled?: boolean;
8
8
  size?: import('../../..').ToggleButtonSize;
9
9
  variant?: import('../../..').ToggleButtonVariant;
@@ -2,7 +2,7 @@ export declare const ToggleButtonGroup: import('react').ForwardRefExoticComponen
2
2
  children?: import('react').ReactNode;
3
3
  type?: import('./toggleButtonGroupTypes').ToggleButtonGroupType;
4
4
  orientation?: import('./toggleButtonGroupTypes').ToggleButtonGroupOrientation;
5
- separated?: boolean;
5
+ segmented?: boolean;
6
6
  disabled?: boolean;
7
7
  size?: import('../../..').ToggleButtonSize;
8
8
  variant?: import('../../..').ToggleButtonVariant;
@@ -12,7 +12,8 @@ export type ToggleButtonGroupProps = Omit<HTMLAttributes<HTMLDivElement>, "defau
12
12
  /** `multiple` — independent toggle; `single` — only one selected (radio). By default `multiple`. */
13
13
  type?: ToggleButtonGroupType;
14
14
  orientation?: ToggleButtonGroupOrientation;
15
- separated?: boolean;
15
+ /** `true` — gap between buttons (like `ButtonGroup` `segmented`), no glue. */
16
+ segmented?: boolean;
16
17
  disabled?: boolean;
17
18
  size?: ToggleButtonSize;
18
19
  variant?: ToggleButtonVariant;
@@ -1,10 +1,12 @@
1
1
  import { AlertStatus, AlertVariant } from './alertTypes';
2
2
  export declare const ALERT_VARIANT_SURFACE: Record<Exclude<AlertVariant, "gloss">, string>;
3
- export declare function alertSurfaceClass(variant: AlertVariant, status: AlertStatus): string;
3
+ /** Panel surface follows variant only; status colors the indicator (and AlertDialog mirrors this). */
4
+ export declare function alertSurfaceClass(variant: AlertVariant, _status?: AlertStatus): string;
4
5
  export declare function alertIndicatorWrapperTextClass(status: AlertStatus): string;
5
6
  export declare const ALERT_INDICATOR_BASE_CLASS = "inline-flex shrink-0 items-center justify-center";
6
7
  export declare function alertIndicatorClass(status: AlertStatus, iconSvgClass: string): string;
7
8
  /** Compound slots (`Alert.Content`, `Alert.Message`) — pass-through grid children. */
8
9
  export declare const ALERT_COMPOUND_CONTENTS_CLASS = "contents";
9
10
  export declare const ALERT_TITLE_CLASS = "font-w-mid";
11
+ export declare function alertTitleClass(status: AlertStatus): string;
10
12
  export declare const ALERT_DESCRIPTION_CLASS = "text-muted";
@@ -10,6 +10,7 @@ import { ButtonSize, ButtonStatus, ButtonVariant } from './buttonTypes';
10
10
  export declare const INTERACTIVE_VARIANT_ROOT: Record<ButtonVariant, string>;
11
11
  export declare const BUTTON_VARIANT_HAS_HOVER_SHADOW: Set<ButtonVariant>;
12
12
  export declare const BUTTON_GLOSS_STATUS: Record<ButtonStatus, string>;
13
+ /** Retarget `--color-focus-ring` for `focus-ring` (status soft tokens). */
13
14
  export declare const BUTTON_STATUS_FOCUS_OUTLINE: Record<ButtonStatus, string>;
14
15
  export declare const BUTTON_STATUS_RIPPLE: Record<ButtonStatus, string>;
15
16
  export declare const BUTTON_PRIMARY_STATUS_RIPPLE: Record<SemanticSurfaceStatus, string>;
@@ -1,8 +1,10 @@
1
+ import { CheckboxSize } from './checkboxTypes';
1
2
  export declare const CHECKBOX_SIZE_LAYOUT: Record<import('../utils/sizeLayout').ComponentSize, import('../utils/sizeLayout').OptionControlSizeLayout>;
2
3
  export declare const CHECKBOX_INPUT_VISUALLY_HIDDEN_CLASS = "absolute m-[-1px] h-px w-px overflow-hidden border-0 p-0 opacity-0 [clip:rect(0,0,0,0)]";
3
4
  export declare const CHECKBOX_INPUT_TRACK_OVERLAY_CLASS = "absolute inset-0 z-[2] m-0 h-full w-full cursor-pointer opacity-0";
4
5
  export declare const CHECKBOX_CONTROL_CLASS = "relative inline-flex shrink-0 items-center justify-center";
5
- export declare const CHECKBOX_CONTROL_TRACK_CLASS = "relative inline-flex items-center justify-center";
6
+ export declare const CHECKBOX_CONTROL_TRACK_CLASS = "relative inline-flex items-center justify-center has-focus-ring";
7
+ export declare function checkboxControlTrackClass(size: CheckboxSize): string;
6
8
  export declare const CHECKBOX_CONTENT_COMPOUND_CLASS = "min-w-0";
7
9
  export declare const CHECKBOX_CONTENT_POINTER_CLASS = "cursor-pointer";
8
10
  export declare const CHECKBOX_LABEL_CLASS = "inline-flex flex-wrap items-center gap-x-xsmall gap-y-0 font-w-mid";
@@ -17,7 +19,6 @@ export declare const CHECKBOX_SIMPLE_LABEL_WRAP_CLASS = "origin-center will-chan
17
19
  export declare const CHECKBOX_SIMPLE_LABEL_TEXT_CLASS = "min-w-0 font-w-mid";
18
20
  export declare const CHECKBOX_ROOT_BASE_CLASS = "relative cursor-pointer select-none rounded-small text-left";
19
21
  export declare const CHECKBOX_ROOT_DISABLED_CLASS = "cursor-not-allowed";
20
- export declare const CHECKBOX_ROOT_FOCUS_CLASS = "has-[:focus-visible]:outline has-[:focus-visible]:outline-2 has-[:focus-visible]:outline-offset-2 has-[:focus-visible]:outline-primary";
21
22
  export declare const CHECKBOX_COMPOUND_FIELDSET_CLASS = "m-0 min-w-0 border-0 p-0";
22
23
  export declare const CHECKBOX_CONTENT_PASS_THROUGH_CLASS = "contents";
23
24
  export declare function checkboxControlCellClass(): string;
@@ -12,9 +12,9 @@ export declare const COMBOBOX_POPOVER_BODY_CLASS = "gap-0 p-base";
12
12
  export declare const COMBOBOX_LISTBOX_CLASS = "overflow-y-auto overflow-x-hidden";
13
13
  export declare const COMBOBOX_INPUT_GROUP_DISABLED_CLASS = "cursor-not-allowed opacity-55 shadow-token-base";
14
14
  export declare const COMBOBOX_INPUT_GROUP_ENABLED_CLASS = "cursor-pointer";
15
- export declare function comboBoxShellSurface({ variant, status, }: {
15
+ export declare function comboBoxShellSurface({ variant, }: {
16
16
  variant: InputVariant;
17
- status: InputStatus;
17
+ status?: InputStatus;
18
18
  }): string;
19
19
  export declare function comboBoxGroupShellClass(groupSegment?: ButtonGroupSegment): string;
20
20
  export declare function comboBoxInputGroupClass({ variant, status, disabled, groupSegment, shellHoverMotionClass, className, slotClass, }: {
@@ -5,7 +5,7 @@ import { PanelSize, PanelSizeLayout } from '../utils/sizeLayout';
5
5
  export type DialogVariant = "default" | "gloss";
6
6
  export type DialogSize = PanelSize;
7
7
  /** Size tokens from shared `PANEL_SIZE_LAYOUT` (Dialog slice). */
8
- export type DialogSizePreset = Pick<PanelSizeLayout, "rounded" | "panelMax" | "maxHeight" | "headerGap" | "headerPadding" | "bodyPadding" | "footerPadding" | "headingGap" | "titleVariant" | "descVariant" | "descClassName" | "bodyVariant" | "footerButtonSize" | "closeButtonSize">;
8
+ export type DialogSizePreset = Pick<PanelSizeLayout, "rounded" | "panelMax" | "maxHeight" | "headerGap" | "headerPadding" | "bodyPadding" | "footerPadding" | "headingGap" | "titleVariant" | "titleClassName" | "descVariant" | "descClassName" | "bodyVariant" | "footerButtonSize" | "closeButtonSize">;
9
9
  export type DialogClassNames = {
10
10
  trigger?: string;
11
11
  dialog?: string;
@@ -1,7 +1,6 @@
1
1
  import { TEXT_COLOR_TRANSITION } from '../utils/hoverVariant';
2
2
  import { DisclosureGroupContextValue, DisclosureSize, DisclosureVariant } from './disclosureTypes';
3
- export declare const DISCLOSURE_CONTENT_PAD: Record<DisclosureSize, string>;
4
- export declare const DISCLOSURE_TRIGGER_BASE_CLASS = "flex w-full select-none items-center gap-small text-left outline-none focus-ring py-base";
3
+ export declare const DISCLOSURE_TRIGGER_BASE_CLASS = "flex w-full select-none items-center gap-small text-left outline-none focus-ring";
5
4
  export declare const DISCLOSURE_TRIGGER_DISABLED_CLASS = "cursor-not-allowed opacity-48";
6
5
  export declare const DISCLOSURE_TRIGGER_ENABLED_CLASS = "cursor-pointer";
7
6
  export declare const DISCLOSURE_TRIGGER_TITLE_LIFT_CLASS = "min-w-0 flex-1 origin-center will-change-transform";
@@ -16,8 +15,9 @@ export declare const DISCLOSURE_HANDLE_GRIP_CLASS = "h-1 w-10 rounded-full bg-te
16
15
  export declare const DISCLOSURE_GLOSS_PANEL_CLASS = "gloss-panel gloss-deep rounded-mid text-foreground";
17
16
  export declare const DISCLOSURE_GLOSS_CONTENT_CLASS = "gloss-content text-muted";
18
17
  export declare function disclosureTriggerShell(size: DisclosureSize): {
19
- padX: string;
18
+ pad: string;
20
19
  text: import('../Text').TextVariant;
20
+ titleClassName: string;
21
21
  chevron: string;
22
22
  };
23
23
  export declare function disclosureRootClass({ variant, groupedCardShell, className, slotClass, }: {
@@ -8,7 +8,7 @@ export type DrawerExtent = "default" | "mid" | "full";
8
8
  export type DrawerVariant = "default" | "gloss";
9
9
  export type DrawerSize = PanelSize;
10
10
  /** Chrome tokens from shared `PANEL_SIZE_LAYOUT` (Drawer slice). */
11
- export type DrawerSizePreset = Pick<PanelSizeLayout, "rounded" | "headerGap" | "headerPadding" | "bodyPadding" | "footerPadding" | "headingGap" | "titleVariant" | "descVariant" | "descClassName" | "bodyVariant" | "footerButtonSize" | "closeButtonSize">;
11
+ export type DrawerSizePreset = Pick<PanelSizeLayout, "rounded" | "headerGap" | "headerPadding" | "bodyPadding" | "footerPadding" | "headingGap" | "titleVariant" | "titleClassName" | "descVariant" | "descClassName" | "bodyVariant" | "footerButtonSize" | "closeButtonSize">;
12
12
  export type DrawerClassNames = {
13
13
  trigger?: string;
14
14
  dialog?: string;
@@ -1,16 +1,10 @@
1
1
  import { MessageBannerGridSlots } from '../utils/messageBannerGridLayout';
2
2
  import { ExpandableSize, ExpandableVariant } from './expandableTypes';
3
- export declare const EXPANDABLE_DESCRIPTION_VARIANT: {
4
- readonly small: "small";
5
- readonly base: "small";
6
- readonly mid: "base";
7
- readonly large: "base";
8
- };
9
3
  export declare const EXPANDABLE_ROOT_BASE_CLASS = "rounded-mid text-left text-foreground";
10
4
  export declare const EXPANDABLE_ROOT_SURFACE_CLASS = "border-token bg-surface shadow-token-base";
11
5
  export declare const EXPANDABLE_ROOT_GLOSS_CLASS = "gloss-panel gloss-deep border-0";
12
6
  export declare const EXPANDABLE_GLOSS_CONTENT_CLASS = "gloss-content flex min-w-0 flex-col";
13
- export declare const EXPANDABLE_TRIGGER_BASE_CLASS = "relative w-full overflow-hidden py-base text-left outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-primary focus-visible:outline-offset-2";
7
+ export declare const EXPANDABLE_TRIGGER_BASE_CLASS = "relative w-full overflow-hidden rounded-[inherit] text-left outline-none focus-ring";
14
8
  export declare const EXPANDABLE_TRIGGER_DISABLED_CLASS = "cursor-not-allowed opacity-50";
15
9
  export declare const EXPANDABLE_TRIGGER_ENABLED_CLASS = "cursor-pointer";
16
10
  export declare const EXPANDABLE_TRIGGER_LIFT_BASE_CLASS = "relative z-[1] w-full min-w-0 origin-center will-change-transform";
@@ -53,3 +47,5 @@ export declare function expandablePanelClass({ size, className, slotClass, }: {
53
47
  export declare function expandableChevronIconClass(size: ExpandableSize): string;
54
48
  export declare function expandableTriggerChevronIconClass(size: ExpandableSize): string;
55
49
  export declare function expandableTitleVariant(size: ExpandableSize): import('../Text').TextVariant;
50
+ export declare function expandableTitleClassName(size: ExpandableSize): string;
51
+ export declare function expandableDescriptionVariant(size: ExpandableSize): import('../Text').TextVariant;
@@ -1,7 +1,5 @@
1
1
  import { ButtonGroupSegment } from '../../composite/ButtonGroup/buttonGroupTypes';
2
2
  import { InputSize, InputStatus, InputVariant } from './inputTypes';
3
- export declare const INPUT_STATUS_TINT_SHELL_CLASS: Record<Exclude<InputStatus, "default">, string>;
4
- export declare const INPUT_STATUS_TINT_AFFIX_CLASS: Record<Exclude<InputStatus, "default">, string>;
5
3
  export declare const INPUT_AFFIX_SURFACE_CLASS = "bg-primary-tint";
6
4
  export declare const INPUT_SHELL_BASE_CLASS = "flex items-stretch overflow-hidden";
7
5
  export declare const INPUT_SHELL_GLOSS_CLASS = "relative";
@@ -27,22 +25,16 @@ export declare const INPUT_PASSWORD_TOGGLE_CONTROL: Record<InputSize, {
27
25
  icon: string;
28
26
  pad: string;
29
27
  }>;
30
- export declare function inputAffixSurfaceClass(status: InputStatus): string;
28
+ export declare function inputAffixSurfaceClass(_status?: InputStatus): string;
31
29
  export declare function inputAffixSlotClass({ side, status, size, slotClass, }: {
32
30
  side: "prefix" | "suffix";
33
31
  status: InputStatus;
34
32
  size: InputSize;
35
33
  slotClass?: string;
36
34
  }): string;
37
- export declare function inputShellSurfaceClass({ variant, status, statusTinted, }: {
35
+ export declare function inputShellSurfaceClass({ variant, }: {
38
36
  variant: InputVariant;
39
- status: InputStatus;
40
- statusTinted: boolean;
41
- }): string;
42
- export declare function inputFileEmptyShellSurfaceClass({ variant, status, statusTinted, }: {
43
- variant: InputVariant;
44
- status: InputStatus;
45
- statusTinted: boolean;
37
+ status?: InputStatus;
46
38
  }): string;
47
39
  export declare function inputShellRoundingClass(groupSegment: ButtonGroupSegment | null | undefined): string;
48
40
  export declare function inputShellClass({ variant, status, blocked, groupSegment, fileListEmpty, shellSurface, shellFileEmptySurface, shellHoverMotionClass, className, slotClass, }: {
@@ -12,3 +12,10 @@ export declare function PopoverResolvedSideProvider({ value, children, }: {
12
12
  children: ReactNode;
13
13
  }): import("react/jsx-runtime").JSX.Element;
14
14
  export declare function usePopoverResolvedSide(): PopoverSide;
15
+ export declare function PopoverContentChromeProvider({ unstyled, children, }: {
16
+ unstyled: boolean;
17
+ children: ReactNode;
18
+ }): import("react/jsx-runtime").JSX.Element;
19
+ export declare function usePopoverContentChrome(): {
20
+ unstyled: boolean;
21
+ };
@@ -34,8 +34,7 @@ export declare function popoverGlossPanelClass({ size, unstyled, slotClass, }: {
34
34
  unstyled: boolean;
35
35
  slotClass?: string;
36
36
  }): string;
37
- export declare function popoverGlossContentClass({ size, unstyled, contentGap, gapPropSet, slotClass, }: {
38
- size: PopoverSize;
37
+ export declare function popoverGlossContentClass({ unstyled, contentGap, gapPropSet, slotClass, }: {
39
38
  unstyled: boolean;
40
39
  contentGap: PopoverContentGap;
41
40
  gapPropSet: boolean;
@@ -55,20 +54,22 @@ export declare function popoverArrowClass({ isGloss, arrowSideClass, slotClass,
55
54
  slotClass?: string;
56
55
  className?: string;
57
56
  }): string;
58
- export declare function popoverHeaderClass({ size, slotClass, className, }: {
57
+ export declare function popoverHeaderClass({ size, unstyled, slotClass, className, }: {
59
58
  size: PopoverSize;
59
+ unstyled?: boolean;
60
60
  slotClass?: string;
61
61
  className?: string;
62
62
  }): string;
63
- export declare function popoverTitleClass({ slotClass, className, }: {
63
+ export declare function popoverTitleClass({ size, slotClass, className, }: {
64
+ size: PopoverSize;
64
65
  slotClass?: string;
65
66
  className?: string;
66
67
  }): string;
67
- export declare function popoverBodyClass({ slotClass, className, }: {
68
+ export declare function popoverBodyClass({ size, unstyled, slotClass, className, }: {
69
+ size: PopoverSize;
70
+ unstyled?: boolean;
68
71
  slotClass?: string;
69
72
  className?: string;
70
73
  }): string;
71
74
  export declare function popoverTitleVariant(size: PopoverSize): TextVariant;
72
75
  export declare function popoverDescriptionVariant(size: PopoverSize): TextVariant;
73
- /** Default content gap matches panel size step (`small`→`large`). */
74
- export declare function popoverDefaultContentGap(size: PopoverSize): PopoverContentGap;
@@ -1,6 +1,8 @@
1
+ import { RadioSize } from './radioTypes';
1
2
  export declare const RADIO_SIZE_LAYOUT: Record<import('../utils/sizeLayout').ComponentSize, import('../utils/sizeLayout').OptionControlSizeLayout>;
2
3
  export declare const RADIO_INPUT_VISUALLY_HIDDEN_CLASS = "absolute m-[-1px] h-px w-px overflow-hidden border-0 p-0 opacity-0 [clip:rect(0,0,0,0)]";
3
- export declare const RADIO_CONTROL_CLASS = "relative inline-flex shrink-0 items-center justify-center";
4
+ export declare const RADIO_CONTROL_CLASS = "relative inline-flex shrink-0 items-center justify-center has-focus-ring";
5
+ export declare function radioControlClass(size: RadioSize): string;
4
6
  export declare const RADIO_CONTROL_TRACK_CLASS = "relative inline-flex items-center justify-center";
5
7
  export declare const RADIO_CONTENT_COMPOUND_CLASS = "min-w-0";
6
8
  export declare const RADIO_LABEL_CLASS = "inline-flex flex-wrap items-center gap-x-xsmall gap-y-0";
@@ -15,7 +17,6 @@ export declare const RADIO_SIMPLE_LABEL_WRAP_CLASS = "origin-center will-change-
15
17
  export declare const RADIO_SIMPLE_LABEL_TEXT_CLASS = "min-w-0";
16
18
  export declare const RADIO_ROOT_BASE_CLASS = "relative cursor-pointer select-none rounded-small text-left";
17
19
  export declare const RADIO_ROOT_DISABLED_CLASS = "cursor-not-allowed";
18
- export declare const RADIO_ROOT_FOCUS_CLASS = "has-[:focus-visible]:outline has-[:focus-visible]:outline-2 has-[:focus-visible]:outline-offset-2 has-[:focus-visible]:outline-primary";
19
20
  export declare const RADIO_CONTENT_PASS_THROUGH_CLASS = "contents";
20
21
  export declare function radioControlCellClass(): string;
21
22
  export declare function radioGridClass(secondaryLines: number, gridGap: string, className?: string): string;
@@ -13,9 +13,9 @@ export declare const SELECT_POPOVER_BODY_CLASS = "gap-0 p-base";
13
13
  export declare const SELECT_LISTBOX_CLASS = "overflow-y-auto overflow-x-hidden";
14
14
  export declare const SELECT_TRIGGER_GROUP_DISABLED_CLASS = "cursor-not-allowed opacity-55 shadow-token-base";
15
15
  export declare const SELECT_TRIGGER_GROUP_ENABLED_CLASS = "cursor-pointer";
16
- export declare function selectShellSurface({ variant, status, }: {
16
+ export declare function selectShellSurface({ variant, }: {
17
17
  variant: InputVariant;
18
- status: InputStatus;
18
+ status?: InputStatus;
19
19
  }): string;
20
20
  export declare function selectGroupShellClass(groupSegment?: ButtonGroupSegment): string;
21
21
  export declare function selectTriggerGroupClass({ variant, status, disabled, groupSegment, shellHoverMotionClass, className, slotClass, }: {
@@ -22,11 +22,13 @@ export declare const SLIDER_TRACK_HIT_BASE_CLASS = "relative touch-none select-n
22
22
  export declare const SLIDER_TRACK_HIT_HORIZONTAL_CLASS = "w-full";
23
23
  export declare const SLIDER_TRACK_HIT_VERTICAL_CLASS = "h-48";
24
24
  export declare const SLIDER_MARK_CLASS = "pointer-events-none absolute z-[1] size-1 rounded-[var(--selection-indicator-radius-xsmall)] bg-primary/30";
25
- export declare const SLIDER_THUMB_BUTTON_BASE_CLASS = "absolute z-[2] box-border flex shrink-0 origin-center items-center justify-center m-0 appearance-none border-0 bg-transparent p-0 focus-ring";
25
+ export declare const SLIDER_THUMB_BUTTON_BASE_CLASS = "absolute box-border flex shrink-0 origin-center items-center justify-center m-0 appearance-none border-0 bg-transparent p-0 focus-ring";
26
26
  export declare const SLIDER_THUMB_BUTTON_HORIZONTAL_CLASS = "top-0 h-full w-auto -translate-x-1/2 aspect-square";
27
27
  export declare const SLIDER_THUMB_BUTTON_VERTICAL_CLASS = "left-0 w-full h-auto -translate-y-1/2 aspect-square";
28
28
  export declare const SLIDER_THUMB_BUTTON_DISABLED_CLASS = "cursor-not-allowed";
29
29
  export declare const SLIDER_THUMB_BUTTON_ENABLED_CLASS = "cursor-grab active:cursor-grabbing";
30
+ export declare const SLIDER_THUMB_BUTTON_Z_CLASS = "z-[2]";
31
+ export declare const SLIDER_THUMB_BUTTON_Z_ACTIVE_CLASS = "z-[3]";
30
32
  export declare function sliderRootClass({ orientation, slotClass, className, }: {
31
33
  orientation: SliderOrientation;
32
34
  slotClass?: string;
@@ -53,9 +55,11 @@ export declare function sliderTrackHitAreaClass({ isHorizontal, size, thickness,
53
55
  slotClass?: string;
54
56
  className?: string;
55
57
  }): string;
56
- export declare function sliderThumbButtonClass({ orientation, disabled, slotClass, className, }: {
58
+ export declare function sliderThumbButtonClass({ size, orientation, disabled, active, slotClass, className, }: {
59
+ size: SliderSize;
57
60
  orientation: SliderOrientation;
58
61
  disabled?: boolean;
62
+ active?: boolean;
59
63
  slotClass?: string;
60
64
  className?: string;
61
65
  }): string;
@@ -18,4 +18,4 @@ export declare const SliderThumbButton: import('react').ForwardRefExoticComponen
18
18
  ariaDescribedBy?: string;
19
19
  onPointerDown: (e: import('react').PointerEvent<HTMLButtonElement>) => void;
20
20
  onKeyDown: (e: import('react').KeyboardEvent<HTMLButtonElement>) => void;
21
- } & Omit<import('react').HTMLAttributes<HTMLButtonElement>, "type" | "style" | "className" | "role" | "children" | "onKeyDown" | "onPointerDown" | "disabled"> & import('react').RefAttributes<HTMLButtonElement>>;
21
+ } & Omit<import('react').HTMLAttributes<HTMLButtonElement>, "type" | "style" | "className" | "role" | "children" | "onKeyDown" | "onPointerDown" | "disabled" | "active"> & import('react').RefAttributes<HTMLButtonElement>>;
@@ -161,7 +161,7 @@ export type SliderThumbButtonProps = {
161
161
  ariaDescribedBy?: string;
162
162
  onPointerDown: (e: PointerEvent<HTMLButtonElement>) => void;
163
163
  onKeyDown: (e: KeyboardEvent<HTMLButtonElement>) => void;
164
- } & Omit<HTMLAttributes<HTMLButtonElement>, "children" | "className" | "style" | "disabled" | "onPointerDown" | "onKeyDown" | "role" | "type">;
164
+ } & Omit<HTMLAttributes<HTMLButtonElement>, "children" | "className" | "style" | "disabled" | "onPointerDown" | "onKeyDown" | "role" | "type" | "active">;
165
165
  export type UseSliderRootStateProps = Omit<SliderProps, "className" | "classNames">;
166
166
  export type FillSpan = {
167
167
  start: number;
@@ -3,7 +3,8 @@ import { SWITCH_LAYOUT, SwitchSize } from './switchGeometry';
3
3
  import { SwitchLabelPosition } from './switchTypes';
4
4
  export { SWITCH_LAYOUT };
5
5
  export declare const SWITCH_INPUT_VISUALLY_HIDDEN_CLASS = "absolute m-[-1px] h-px w-px overflow-hidden border-0 p-0 opacity-0 [clip:rect(0,0,0,0)]";
6
- export declare const SWITCH_CONTROL_BASE_CLASS = "relative inline-flex shrink-0 items-center justify-center";
6
+ export declare const SWITCH_CONTROL_BASE_CLASS = "relative inline-flex shrink-0 items-center justify-center has-focus-ring";
7
+ export declare function switchControlClass(size: SwitchSize): string;
7
8
  export declare const SWITCH_CONTENT_COMPOUND_CLASS = "min-w-0";
8
9
  export declare const SWITCH_CONTENT_PASS_THROUGH_CLASS = "contents";
9
10
  export declare const SWITCH_LABEL_CLASS = "inline-flex flex-wrap items-center gap-x-xsmall gap-y-0";
@@ -17,7 +18,6 @@ export declare const SWITCH_SIMPLE_LABEL_WRAP_CLASS = "origin-center will-change
17
18
  export declare const SWITCH_SIMPLE_LABEL_TEXT_CLASS = "min-w-0 font-w-mid";
18
19
  export declare const SWITCH_ROOT_BASE_CLASS = "relative cursor-pointer select-none rounded-small text-left";
19
20
  export declare const SWITCH_ROOT_DISABLED_CLASS = "cursor-not-allowed";
20
- export declare const SWITCH_ROOT_FOCUS_CLASS = "has-[:focus-visible]:outline has-[:focus-visible]:outline-2 has-[:focus-visible]:outline-offset-2 has-[:focus-visible]:outline-primary";
21
21
  export declare const SWITCH_ROOT_CONTROL_ONLY_CLASS = "inline-grid grid-cols-[auto] grid-rows-[auto]";
22
22
  export declare const SWITCH_TRACK_BASE_CLASS = "relative box-border inline-flex shrink-0";
23
23
  export declare const SWITCH_TRACK_GLOSS_CLASS = "gloss-indicator border-0";
@@ -1,6 +1,12 @@
1
1
  import { ElementType } from 'react';
2
2
  import { TextVariant } from './textTypes';
3
- export declare const TEXT_VARIANT_CLASS: Record<TextVariant, string>;
3
+ /**
4
+ * Size + weight only. Line-height is a separate `leading-*` class so callers
5
+ * (and panel titles) can override via `cn` / twMerge without `!important`.
6
+ */
7
+ export declare const TEXT_VARIANT_FACE_CLASS: Record<TextVariant, string>;
8
+ /** Default role line-height — swapped out when `className` has another `leading-*`. */
9
+ export declare const TEXT_VARIANT_LEADING_CLASS: Record<TextVariant, string>;
4
10
  export declare const TEXT_VARIANT_DEFAULT_AS: Record<TextVariant, ElementType>;
5
11
  export declare const TEXT_FOREGROUND_CLASS = "text-foreground";
6
12
  export declare function textRootClass(variant: TextVariant, inheritColor: boolean | undefined, className?: string): string;
@@ -1,5 +1,4 @@
1
1
  import { TextAreaSize, TextAreaStatus, TextAreaVariant } from './textAreaTypes';
2
- export declare const TEXTAREA_STATUS_TINT_SHELL_CLASS: Record<Exclude<TextAreaStatus, "default">, string>;
3
2
  export declare const TEXTAREA_MIN_H: Record<TextAreaSize, string>;
4
3
  export declare const TEXTAREA_SHELL_LAYOUT_CLASS = "flex flex-col items-stretch";
5
4
  export declare const TEXTAREA_CONTROL_BASE_CLASS = "box-border block min-h-0 w-full flex-1 resize-none overflow-auto bg-transparent font-inherit text-foreground outline-none placeholder:text-muted appearance-none [field-sizing:content] field-control-mobile-no-zoom";
@@ -11,10 +10,9 @@ export declare const TEXTAREA_RESIZE_HANDLE_BASE_CLASS = "absolute bottom-0 righ
11
10
  export declare const TEXTAREA_RESIZE_HANDLE_DISABLED_CLASS = "cursor-not-allowed opacity-45";
12
11
  export declare const TEXTAREA_RESIZE_HANDLE_ENABLED_CLASS = "cursor-ns-resize";
13
12
  export declare function textareaControlClass(size: TextAreaSize): string;
14
- export declare function textareaShellSurfaceClass({ variant, status, statusTinted, }: {
13
+ export declare function textareaShellSurfaceClass({ variant, }: {
15
14
  variant: TextAreaVariant;
16
- status: TextAreaStatus;
17
- statusTinted: boolean;
15
+ status?: TextAreaStatus;
18
16
  }): string;
19
17
  export declare function textareaShellClass({ variant, status, blocked, size, shellSurface, glossShellHoverMotionClass, standardShellHoverMotionClass, slotClass, className, }: {
20
18
  variant: TextAreaVariant;
@@ -1,6 +1,4 @@
1
1
  import { TimeFieldSize, TimeFieldStatus, TimeFieldVariant } from './timeFieldTypes';
2
- export declare const TIME_FIELD_STATUS_TINT_SHELL_CLASS: Record<Exclude<TimeFieldStatus, "default">, string>;
3
- export declare const TIME_FIELD_STATUS_TINT_AFFIX_CLASS: Record<Exclude<TimeFieldStatus, "default">, string>;
4
2
  export declare const TIME_FIELD_AFFIX_SURFACE_CLASS = "bg-primary-tint";
5
3
  export declare const TIME_FIELD_AFFIX_PREFIX_EDGE_CLASS = "border-r-token";
6
4
  export declare const TIME_FIELD_AFFIX_SUFFIX_EDGE_CLASS = "border-l-token";
@@ -19,17 +17,16 @@ export declare const TIME_FIELD_SEGMENTS_BASE_CLASS = "relative flex min-w-0 fle
19
17
  /** Flex row inside `<fieldset>` — flex on fieldset itself breaks height on resize. */
20
18
  export declare const TIME_FIELD_SHELL_INNER_CLASS = "flex min-w-0 w-full items-stretch";
21
19
  export declare const TIME_FIELD_SEGMENTS_SEGMENTED_CLASS = "gap-xsmall";
22
- export declare function timeFieldAffixSurfaceClass(status: TimeFieldStatus): string;
20
+ export declare function timeFieldAffixSurfaceClass(_status?: TimeFieldStatus): string;
23
21
  export declare function timeFieldAffixSlotClass({ side, status, size, slotClass, }: {
24
22
  side: "prefix" | "suffix";
25
23
  status: TimeFieldStatus;
26
24
  size: TimeFieldSize;
27
25
  slotClass?: string;
28
26
  }): string;
29
- export declare function timeFieldShellSurfaceClass({ variant, status, statusTinted, }: {
27
+ export declare function timeFieldShellSurfaceClass({ variant, }: {
30
28
  variant: TimeFieldVariant;
31
- status: TimeFieldStatus;
32
- statusTinted: boolean;
29
+ status?: TimeFieldStatus;
33
30
  }): string;
34
31
  export declare function timeFieldShellClass({ variant, status, disabled, compact, shellSurface, glossShellHoverMotionClass, standardShellHoverMotionClass, slotClass, className, }: {
35
32
  variant: TimeFieldVariant;
@@ -1,10 +1,12 @@
1
1
  import { MessageBannerGridSlots } from '../utils/messageBannerGridLayout';
2
2
  import { LoadingColor } from '../Loading';
3
3
  import { ToastPlacement, ToastSize, ToastStatus, ToastVariant } from './toastTypes';
4
- export declare const TOAST_SURFACE_CLASS: Record<ToastStatus, string>;
4
+ /** Neutral shell for every status — accents live on the indicator icon. */
5
+ export declare const TOAST_SURFACE_CLASS = "bg-surface border-token text-foreground";
5
6
  export declare const TOAST_ICON_CLASS: Record<ToastStatus, string>;
6
7
  export declare const TOAST_COMPOUND_CONTENTS_CLASS = "contents";
7
8
  export declare const TOAST_TITLE_CLASS = "font-w-mid";
9
+ export declare function toastTitleClass(status: ToastStatus): string;
8
10
  export declare const TOAST_DESCRIPTION_CLASS = "text-muted";
9
11
  export declare const TOAST_CLOSE_BUTTON_OFFSET_CLASS = "-mx-xsmall";
10
12
  export declare const TOAST_INDICATOR_BASE_CLASS = "inline-flex shrink-0 items-center justify-center";
@@ -15,9 +17,8 @@ export declare const TOAST_STACK_ITEM_CLASS = "will-change-transform";
15
17
  export declare const TOAST_SCRIM_BASE_CLASS = "pointer-events-none absolute";
16
18
  export declare function toastPlacementClass(placement: ToastPlacement): string;
17
19
  export declare function toastLoadingColor(status: ToastStatus): LoadingColor;
18
- export declare function toastRootClass({ variant, status, size, gridSlots, slotClass, className, }: {
20
+ export declare function toastRootClass({ variant, size, gridSlots, slotClass, className, }: {
19
21
  variant: ToastVariant;
20
- status: ToastStatus;
21
22
  size?: ToastSize;
22
23
  gridSlots: MessageBannerGridSlots;
23
24
  slotClass?: string;
@@ -1,7 +1,8 @@
1
1
  import { PointerEvent } from 'react';
2
2
  import { UseToggleButtonAnimationsProps } from './toggleButtonTypes';
3
3
  /**
4
- * Interactive motion + fill: fill starts at the beginning of the squeeze release phase.
4
+ * Interactive motion + fill: fill starts at the beginning of the squeeze release phase,
5
+ * after click has confirmed the next pressed value (on and off share this timing).
5
6
  */
6
7
  export declare function useToggleButtonAnimations({ animated, disabled, variant, groupSegment, forwardedRef, pressed, onFillStart, onPointerEnter, onPointerLeave, onPointerDown, }: UseToggleButtonAnimationsProps): {
7
8
  setRefs: (node: HTMLButtonElement | null) => void;
@@ -11,4 +12,5 @@ export declare function useToggleButtonAnimations({ animated, disabled, variant,
11
12
  handlePointerDown: (e: PointerEvent<HTMLButtonElement>) => void;
12
13
  bindFillRef: (node: HTMLElement | null) => void;
13
14
  queueFillOnClick: (next: boolean) => void;
15
+ displayPressed: boolean;
14
16
  };
@@ -7,6 +7,9 @@ export declare const SELECTION_FILL_READY_ATTR = "data-selection-fill-ready";
7
7
  * Fill for ToggleButton / CalendarInteractiveCell.
8
8
  * Do not set `style={{ transform, opacity }}` on fill — React will overwrite GSAP on parent re-render.
9
9
  * SSR: CSS hides via `[data-selection-fill]:not([data-selection-fill-ready])[data-pressed="false"]`.
10
+ *
11
+ * On and off use the same `selectionFillEase` so appear/disappear feel equally paced
12
+ * (mirroring out→in makes appear snappy and unfill sluggish).
10
13
  */
11
14
  export declare function applyToggleButtonFillInstant(fill: HTMLElement, pressed: boolean): void;
12
15
  export declare function createToggleButtonFillRefCallback(ref: RefObject<HTMLElement | null>, initialPressed: boolean): (node: HTMLElement | null) => void;
@@ -18,4 +21,5 @@ export declare function useToggleButtonFillAnimation(pressed: boolean, fillRef:
18
21
  }): {
19
22
  animateTo: (next: boolean) => void;
20
23
  bindFillRef: (node: HTMLElement | null) => void;
24
+ displayPressed: boolean;
21
25
  };
@@ -17,7 +17,6 @@ export declare function useToggleButtonRootState({ value: itemValue, groupSegmen
17
17
  animated: boolean;
18
18
  classNames: import('./toggleButtonTypes').ToggleButtonClassNames | undefined;
19
19
  roundingClass: string;
20
- buttonClass: string;
21
20
  role: "radio" | undefined;
22
21
  ariaPressed: boolean | undefined;
23
22
  ariaChecked: boolean | undefined;
@@ -5,21 +5,24 @@ import { TOOLTIP_ARROW_CLASS, TOOLTIP_ARROW_SHELL_PAD } from './tooltipPosition'
5
5
  import { TooltipSize, TooltipVariant } from './tooltipTypes';
6
6
  export { TOOLTIP_ARROW_CLASS, TOOLTIP_ARROW_SHELL_PAD };
7
7
  export declare const TOOLTIP_DEFAULT_OFFSET = 8;
8
- export declare const TOOLTIP_SURFACE_CLASS: Record<SemanticStatus, string>;
8
+ /** Neutral shell by variant — status accents live on indicator + title (Alert / Toast). */
9
9
  export declare const TOOLTIP_VARIANT_SURFACE_CLASS: Record<TooltipVariant, string>;
10
10
  export declare const TOOLTIP_TEXT_LAYOUT: Record<TooltipSize, string>;
11
11
  export declare const TOOLTIP_CONTENT_VARIANT: Record<TooltipSize, TextVariant>;
12
12
  export declare const TOOLTIP_DESC_VARIANT: Record<TooltipSize, TextVariant>;
13
13
  export declare const TOOLTIP_ICON_SIZE: Record<TooltipSize, string>;
14
14
  export declare const TOOLTIP_ICON_SLOT_SVG: Record<TooltipSize, string>;
15
- export declare const TOOLTIP_ICON_TEXT_CLASS: Record<TooltipVariant, string>;
16
- export declare const TOOLTIP_STATUS_ICON_CLASS: Record<SemanticStatus, string>;
15
+ /** Status accent for indicator (and semantic SVG). Default → primary like Alert/Toast. */
16
+ export declare const TOOLTIP_STATUS_ACCENT_CLASS: Record<SemanticStatus, string>;
17
17
  export declare const TOOLTIP_GRID_GAP: Record<TooltipSize, string>;
18
18
  export declare const TOOLTIP_TRIGGER_BASE_CLASS = "inline-flex shrink-0 outline-none focus-ring";
19
19
  export declare const TOOLTIP_INDICATOR_BASE_CLASS = "inline-flex shrink-0 [&_svg]:shrink-0";
20
+ export declare const TOOLTIP_TITLE_CLASS = "font-w-mid";
20
21
  export declare const TOOLTIP_DESCRIPTION_MUTED_CLASS = "text-muted";
21
22
  export declare const TOOLTIP_ARROW_BASE_CLASS = "pointer-events-none absolute z-0 size-2 rotate-45";
22
23
  export declare const TOOLTIP_ARROW_GLOSS_CLASS = "border-0 bg-[var(--color-surface)]";
24
+ /** Arrow fill mirrors panel surface (no status tint). */
25
+ export declare const TOOLTIP_ARROW_FILL_CLASS: Record<Exclude<TooltipVariant, "gloss">, string>;
23
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";
24
27
  export declare const TOOLTIP_CONTENT_INNER_CLASS = "relative overflow-visible";
25
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";
@@ -27,6 +30,8 @@ export declare const TOOLTIP_GLOSS_CONTENT_CLASS = "gloss-content";
27
30
  /** Compound slots (`Tooltip.Message`) — pass-through grid children. */
28
31
  export declare const TOOLTIP_COMPOUND_CONTENTS_CLASS = "contents";
29
32
  export declare const TOOLTIP_PANEL_BASE_CLASS = "relative z-[1] w-max min-w-0 rounded-mid text-left animate-shadow";
33
+ export declare function tooltipTitleClass(status: SemanticStatus): string;
34
+ export declare function tooltipIndicatorClass(status: SemanticStatus, slotClass?: string, className?: string): string;
30
35
  export declare function tooltipGlossShellClass({ size, slotClass, className, }: {
31
36
  size: TooltipSize;
32
37
  slotClass?: string;
@@ -37,17 +42,15 @@ export declare function tooltipGlossContentClass({ gridSlots, size, slotClass, }
37
42
  size: TooltipSize;
38
43
  slotClass?: string;
39
44
  }): string;
40
- export declare function tooltipPanelClass({ variant, status, size, gridSlots, slotClass, className, }: {
45
+ export declare function tooltipPanelClass({ variant, size, gridSlots, slotClass, className, }: {
41
46
  variant: TooltipVariant;
42
- status: SemanticStatus;
43
47
  size: TooltipSize;
44
48
  gridSlots: Parameters<typeof messageBannerGridClass>[0];
45
49
  slotClass?: string;
46
50
  className?: string;
47
51
  }): string;
48
- export declare function tooltipArrowClass({ variant, status, resolvedSide, slotClass, className, }: {
52
+ export declare function tooltipArrowClass({ variant, resolvedSide, slotClass, className, }: {
49
53
  variant: TooltipVariant;
50
- status: SemanticStatus;
51
54
  resolvedSide: keyof typeof TOOLTIP_ARROW_CLASS;
52
55
  slotClass?: string;
53
56
  className?: string;
@@ -1,12 +1,16 @@
1
1
  import { ButtonVariant } from '../Button/buttonTypes';
2
+ import { SemanticSurfaceStatus } from './semanticStatusSurface';
2
3
  /** Shared visual variants for field shells (Input, TextArea, Select, ComboBox, TimeField, SearchInput). */
3
4
  export type FieldShellVariant = "default" | "outline" | "secondary" | "gloss";
4
5
  export type FieldShellFilledVariant = Exclude<FieldShellVariant, "gloss">;
6
+ export type FieldShellStatus = "default" | SemanticSurfaceStatus;
5
7
  export declare const FIELD_SHELL_VARIANT_BG_CLASS: Record<FieldShellFilledVariant, string>;
6
8
  export declare function fieldShellHoverVariantForShell(variant: FieldShellFilledVariant): "default" | "secondary";
7
9
  export declare function fieldShellVariantFromButtonGroup(groupVariant?: ButtonVariant): FieldShellFilledVariant | "gloss";
8
- export declare function resolveFieldShellSurfaceClass({ variant, statusTinted, statusTintClass, }: {
10
+ /**
11
+ * Neutral variant surface + `border-token`.
12
+ * Status accents live on the permanent status ring (`fieldShellFocusRingClass`), not the border.
13
+ */
14
+ export declare function resolveFieldShellSurfaceClass({ variant, }: {
9
15
  variant: FieldShellVariant;
10
- statusTinted: boolean;
11
- statusTintClass: string;
12
16
  }): string;
@@ -4,7 +4,7 @@ export declare const TEXT_COLOR_TRANSITION = "text-color-transition motion-reduc
4
4
  * Hover background for interactive surfaces.
5
5
  * - `default` / `primary` / `secondary` — neutral and brand fills.
6
6
  * - `danger` … `warning` — tint on transparent/neutral background (Dropdown, ListBox).
7
- * - `danger-tint-hover` … — hover over `bg-surface-tint-*` (fields with status).
7
+ * - `danger-tint-hover` … — stronger hover over an existing `bg-surface-tint-*` surface.
8
8
  * - `danger-fill` … `warning-fill` — hover over filled status surface (Button danger, etc.).
9
9
  */
10
10
  export type HoverVariant = "default" | "primary" | "secondary" | "danger" | "warning" | "info" | "success" | "danger-tint-hover" | "success-tint-hover" | "info-tint-hover" | "warning-tint-hover" | "danger-fill" | "warning-fill" | "info-fill" | "success-fill";
@@ -0,0 +1,25 @@
1
+ import { TextVariant } from '../../Text';
2
+ import { ComponentSize } from './componentSize';
3
+ export type CollapsibleSize = ComponentSize;
4
+ /**
5
+ * Shared size grid for collapsible surfaces:
6
+ * Disclosure, Expandable (Accordion via Expandable).
7
+ *
8
+ * Paddings mirror panel header/body rhythm, but live here — not `PANEL_SIZE_LAYOUT`.
9
+ */
10
+ export type CollapsibleSizeLayout = {
11
+ /** Trigger / header row (≈ panel `headerPadding`) */
12
+ triggerPadding: string;
13
+ /** Expanded body / panel (≈ panel `bodyPadding`) */
14
+ contentPadding: string;
15
+ titleVariant: TextVariant;
16
+ /**
17
+ * Title line-box — `leading-none` so glyphs sit tight vs chevron.
18
+ * Overridable via Title / trigger title `className` (`leading-*`).
19
+ */
20
+ titleClassName: string;
21
+ descVariant: TextVariant;
22
+ };
23
+ export declare const COLLAPSIBLE_SIZE_LAYOUT: Record<CollapsibleSize, CollapsibleSizeLayout>;
24
+ export declare function resolveCollapsibleSize(size?: CollapsibleSize): CollapsibleSize;
25
+ export declare function collapsibleSizeLayout(size?: CollapsibleSize): CollapsibleSizeLayout;