@tinybigui/react 0.17.0 → 0.19.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.
- package/README.md +16 -16
- package/dist/index.cjs +746 -766
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +356 -108
- package/dist/index.d.ts +356 -108
- package/dist/index.js +732 -766
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -7660,46 +7660,68 @@ interface SearchProps extends Omit<SearchBarProps, "onFocus"> {
|
|
|
7660
7660
|
interface SearchBarHeadlessProps extends SearchBarProps {
|
|
7661
7661
|
/** Ref forwarded to the form element */
|
|
7662
7662
|
ref?: React__default.Ref<HTMLFormElement>;
|
|
7663
|
+
/**
|
|
7664
|
+
* Slot class names applied directly to the bar's inner elements.
|
|
7665
|
+
* Passed from SearchBar so per-slot CVA classes apply without descendant selectors.
|
|
7666
|
+
*/
|
|
7667
|
+
inputClassName?: string | undefined;
|
|
7668
|
+
trailingActionsClassName?: string | undefined;
|
|
7663
7669
|
}
|
|
7664
7670
|
/** Props for SearchViewHeadless — the headless primitive for the view */
|
|
7665
7671
|
interface SearchViewHeadlessProps extends SearchViewProps {
|
|
7666
7672
|
/** Ref forwarded to the view container div */
|
|
7667
7673
|
ref?: React__default.Ref<HTMLDivElement>;
|
|
7674
|
+
/**
|
|
7675
|
+
* Slot class names applied directly to inner headless elements.
|
|
7676
|
+
* Passed by SearchView so per-slot CVA classes can be applied
|
|
7677
|
+
* without descendant-selector blobs.
|
|
7678
|
+
*/
|
|
7679
|
+
headerClassName?: string;
|
|
7680
|
+
backButtonClassName?: string;
|
|
7681
|
+
clearButtonClassName?: string;
|
|
7682
|
+
inputClassName?: string;
|
|
7683
|
+
trailingActionsClassName?: string | undefined;
|
|
7684
|
+
dividerClassName?: string;
|
|
7685
|
+
contentClassName?: string;
|
|
7668
7686
|
}
|
|
7669
7687
|
|
|
7670
7688
|
/**
|
|
7671
7689
|
* Material Design 3 Search Bar Component (Layer 3: Styled)
|
|
7672
7690
|
*
|
|
7673
|
-
* The collapsed/maximized
|
|
7674
|
-
*
|
|
7691
|
+
* The collapsed/maximized search affordance that transitions to Focused State
|
|
7692
|
+
* (SearchView) on click/focus.
|
|
7693
|
+
*
|
|
7694
|
+
* Implements the Variants-vs-States architecture: all interaction states are
|
|
7695
|
+
* expressed as data-* attributes on the root via `getInteractionDataAttributes`
|
|
7696
|
+
* and consumed by each slot via `group-data-[x]/search` Tailwind selectors.
|
|
7675
7697
|
*
|
|
7676
7698
|
* Anatomy:
|
|
7677
|
-
* [
|
|
7699
|
+
* [Leading icon] [Input / placeholder] [Trailing actions] [Avatar]
|
|
7678
7700
|
*
|
|
7679
7701
|
* Features:
|
|
7680
|
-
* - MD3 state layer
|
|
7681
|
-
* - Ripple effect on press (Material Design state
|
|
7682
|
-
* - Focus
|
|
7683
|
-
* - M3 Expressive pane margin
|
|
7684
|
-
* -
|
|
7702
|
+
* - MD3 state layer: hover 8% / pressed 10% opacity (Standard fast effects spring)
|
|
7703
|
+
* - Ripple effect on press (Material Design press state)
|
|
7704
|
+
* - Focus ring: Secondary color, 3dp, rendered outside overflow-hidden (sibling pattern)
|
|
7705
|
+
* - M3 Expressive pane margin: 24dp → 12dp on focus (Expressive fast spatial spring)
|
|
7706
|
+
* - Content flag `data-with-actions` switches container spacing: 16dp → 4dp
|
|
7685
7707
|
*
|
|
7686
7708
|
* @example
|
|
7687
7709
|
* ```tsx
|
|
7688
7710
|
* <SearchBar
|
|
7689
7711
|
* placeholder="Search messages"
|
|
7690
7712
|
* leadingIcon={<SearchIcon />}
|
|
7691
|
-
* trailingActions={[<IconButton key="mic"
|
|
7713
|
+
* trailingActions={[<IconButton key="mic" aria-label="Voice search"><MicIcon /></IconButton>]}
|
|
7692
7714
|
* onFocus={() => setOpen(true)}
|
|
7693
7715
|
* />
|
|
7694
7716
|
* ```
|
|
7695
7717
|
*/
|
|
7696
|
-
declare const SearchBar:
|
|
7718
|
+
declare const SearchBar: React__default.ForwardRefExoticComponent<SearchBarProps & React__default.RefAttributes<HTMLFormElement>>;
|
|
7697
7719
|
|
|
7698
7720
|
/**
|
|
7699
7721
|
* Material Design 3 Search View Component (Layer 3: Styled)
|
|
7700
7722
|
*
|
|
7701
|
-
* The expanded/focused search experience
|
|
7702
|
-
*
|
|
7723
|
+
* The expanded/focused search experience rendered in a portal over page content.
|
|
7724
|
+
* Uses per-slot CVAs for all styling — no descendant-selector blobs.
|
|
7703
7725
|
*
|
|
7704
7726
|
* Anatomy:
|
|
7705
7727
|
* Header: [Back arrow] [Input] [Clear button] [Optional trailing actions]
|
|
@@ -7708,9 +7730,10 @@ declare const SearchBar: React$1.ForwardRefExoticComponent<SearchBarProps & Reac
|
|
|
7708
7730
|
*
|
|
7709
7731
|
* Features:
|
|
7710
7732
|
* - Portal rendering with focus trap and scroll lock (via headless)
|
|
7711
|
-
* - Compound variants for 4 style
|
|
7712
|
-
* -
|
|
7713
|
-
* -
|
|
7733
|
+
* - Compound variants for all 4 style × layout combinations
|
|
7734
|
+
* - Docked layout: animate-md-scale-in on mount
|
|
7735
|
+
* - Fullscreen layout: animate-md-fade-in on mount
|
|
7736
|
+
* - Clear button visible only when input has value (controlled by headless)
|
|
7714
7737
|
* - aria-live region for autosuggest announcements
|
|
7715
7738
|
*
|
|
7716
7739
|
* @example
|
|
@@ -7770,6 +7793,7 @@ declare const Search: React$1.ForwardRefExoticComponent<SearchProps & React$1.Re
|
|
|
7770
7793
|
* - Keyboard: Enter → onSubmit, Escape (with value) → onClear
|
|
7771
7794
|
* - Leading icon, trailing actions, and avatar slots
|
|
7772
7795
|
* - aria-label falls back to placeholder per MD3 labeling spec
|
|
7796
|
+
* - `inputClassName` and `trailingActionsClassName` applied directly to inner elements
|
|
7773
7797
|
*
|
|
7774
7798
|
* @example
|
|
7775
7799
|
* ```tsx
|
|
@@ -7780,21 +7804,22 @@ declare const Search: React$1.ForwardRefExoticComponent<SearchProps & React$1.Re
|
|
|
7780
7804
|
* />
|
|
7781
7805
|
* ```
|
|
7782
7806
|
*/
|
|
7783
|
-
declare const SearchBarHeadless:
|
|
7807
|
+
declare const SearchBarHeadless: React__default.ForwardRefExoticComponent<Omit<SearchBarHeadlessProps, "ref"> & React__default.RefAttributes<HTMLFormElement>>;
|
|
7784
7808
|
/**
|
|
7785
7809
|
* SearchViewHeadless — Layer 2 headless primitive for the MD3 Search view.
|
|
7786
7810
|
*
|
|
7787
|
-
*
|
|
7788
|
-
*
|
|
7789
|
-
*
|
|
7811
|
+
* Rendering strategy by layout:
|
|
7812
|
+
* - `fullscreen`: renders in a portal (`createPortal`) with `usePreventScroll` and
|
|
7813
|
+
* `FocusScope contain` — the view covers the full viewport.
|
|
7814
|
+
* - `docked`: renders inline (no portal) with `FocusScope restoreFocus autoFocus` only —
|
|
7815
|
+
* the card sits in normal document flow so it can be centered by its wrapper.
|
|
7816
|
+
*
|
|
7817
|
+
* Both layouts use `useOverlay` so Escape key and click-outside dismiss correctly.
|
|
7790
7818
|
*
|
|
7791
7819
|
* Features:
|
|
7792
|
-
* -
|
|
7793
|
-
* - Escape key → onClose
|
|
7794
|
-
* - Body scroll lock when open
|
|
7795
|
-
* - Focus trap with auto-focus and restore on close
|
|
7820
|
+
* - Back arrow (MD3 ArrowBack SVG) + input + MD3 Close SVG clear button in header
|
|
7796
7821
|
* - aria-live region for autosuggest announcements
|
|
7797
|
-
* -
|
|
7822
|
+
* - Slot class names from the styled SearchView layer applied directly on elements
|
|
7798
7823
|
*
|
|
7799
7824
|
* @example
|
|
7800
7825
|
* ```tsx
|
|
@@ -7807,36 +7832,131 @@ declare const SearchBarHeadless: React$1.ForwardRefExoticComponent<Omit<SearchBa
|
|
|
7807
7832
|
* </SearchViewHeadless>
|
|
7808
7833
|
* ```
|
|
7809
7834
|
*/
|
|
7810
|
-
declare const SearchViewHeadless:
|
|
7835
|
+
declare const SearchViewHeadless: React__default.ForwardRefExoticComponent<Omit<SearchViewHeadlessProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
7811
7836
|
|
|
7812
7837
|
/**
|
|
7813
|
-
* Material Design 3 Search
|
|
7814
|
-
*
|
|
7815
|
-
* Base: 56dp height, full rounded pill, surface-container-high background,
|
|
7816
|
-
* level-3 elevation, body-large typography.
|
|
7838
|
+
* Material Design 3 Search Variants
|
|
7817
7839
|
*
|
|
7818
|
-
*
|
|
7819
|
-
* -
|
|
7820
|
-
* -
|
|
7821
|
-
*
|
|
7840
|
+
* Architecture: Variants vs States
|
|
7841
|
+
* - CVA holds design-time structure only (no focused/disabled/noActions state variants).
|
|
7842
|
+
* - All interaction states are driven by data-* attributes on the root via
|
|
7843
|
+
* group-data-[x]/search Tailwind selectors in each slot's base classes.
|
|
7844
|
+
* - Content flags (data-with-actions) are set explicitly by the component.
|
|
7845
|
+
*
|
|
7846
|
+
* Search Bar slot responsibilities:
|
|
7847
|
+
* searchBarRootVariants — container pill; shape, color, elevation, spacing by style
|
|
7848
|
+
* searchBarStateLayerVariants — hover/pressed opacity overlay (inside overflow-hidden)
|
|
7849
|
+
* searchBarFocusRingVariants — keyboard focus outline (outside overflow-hidden)
|
|
7850
|
+
* searchBarLeadingIconVariants — 48dp tap target wrapping 24dp icon, on-surface
|
|
7851
|
+
* searchBarTrailingActionVariants — 48dp tap target for each trailing icon, on-surface-variant
|
|
7852
|
+
* searchBarTrailingActionsVariants — flex row wrapper for all trailing actions
|
|
7853
|
+
* searchBarAvatarVariants — 48dp tap target wrapping 30dp rounded-full avatar
|
|
7854
|
+
* searchBarInputVariants — flex-1 text input inside the bar
|
|
7855
|
+
*
|
|
7856
|
+
* Search View slot responsibilities:
|
|
7857
|
+
* searchViewVariants — container; style × layout compound variants
|
|
7858
|
+
* searchViewHeaderVariants — header row; style × layout heights/padding
|
|
7859
|
+
* searchViewBackButtonVariants — 48dp back-arrow tap target, on-surface
|
|
7860
|
+
* searchViewClearButtonVariants — 48dp clear tap target, on-surface-variant
|
|
7861
|
+
* searchViewTrailingActionVariants — 48dp trailing action in view header
|
|
7862
|
+
* searchViewTrailingActionsVariants — flex row wrapper for all view trailing actions
|
|
7863
|
+
* searchViewInputVariants — flex-1 text input inside the view header
|
|
7864
|
+
* searchViewDividerVariants — horizontal rule (divided style only)
|
|
7865
|
+
* searchViewContentVariants — scrollable results/suggestions area
|
|
7866
|
+
*
|
|
7867
|
+
* MD3 Token References:
|
|
7868
|
+
* Container color: SurfaceContainerHigh
|
|
7869
|
+
* Contained bg (fullscreen view): SurfaceContainerLow
|
|
7870
|
+
* Container elevation: Level 3 (6dp)
|
|
7871
|
+
* Leading icon: OnSurface
|
|
7872
|
+
* Trailing icon: OnSurfaceVariant
|
|
7873
|
+
* Placeholder: OnSurfaceVariant
|
|
7874
|
+
* Input text: OnSurface
|
|
7875
|
+
* Focus indicator: Secondary, 3dp
|
|
7876
|
+
* Hover opacity: 8% (MD3 state.hover.state-layer-opacity)
|
|
7877
|
+
* Pressed opacity: 10% (MD3 state.pressed.state-layer-opacity)
|
|
7878
|
+
* Disabled: opacity-38 on container
|
|
7822
7879
|
*
|
|
7823
7880
|
* @see docs/md3-components/search/tokens/layout-text.md
|
|
7881
|
+
* @see docs/md3-components/search/tokens/color-tokens-light.md
|
|
7882
|
+
*/
|
|
7883
|
+
/**
|
|
7884
|
+
* Search bar container pill.
|
|
7885
|
+
*
|
|
7886
|
+
* Spacing follows MD3 Search Bar spec:
|
|
7887
|
+
* Contained + with actions: px-1 gap-1 (4dp leading/trailing per spec)
|
|
7888
|
+
* Contained + no actions: px-4 (16dp leading/trailing)
|
|
7889
|
+
* Divided: px-4 gap-4 (16dp leading/trailing, 16dp icon-label gap)
|
|
7890
|
+
*
|
|
7891
|
+
* The `contained` variant uses `data-[with-actions]` on the root (a content flag set by the
|
|
7892
|
+
* component) to switch from 16dp → 4dp spacing — no CVA variant needed for this.
|
|
7893
|
+
*
|
|
7894
|
+
* Disabled is self-targeting (data-[disabled]:) because the root carries the data attr.
|
|
7895
|
+
* overflow-hidden intentionally NOT here — the focus ring span sits outside via a sibling
|
|
7896
|
+
* wrapper, so we preserve full ring visibility (same pattern as Button).
|
|
7824
7897
|
*/
|
|
7825
|
-
declare const
|
|
7898
|
+
declare const searchBarRootVariants: (props?: ({
|
|
7826
7899
|
style?: "contained" | "divided" | null | undefined;
|
|
7827
|
-
noActions?: boolean | null | undefined;
|
|
7828
|
-
focused?: boolean | null | undefined;
|
|
7829
|
-
disabled?: boolean | null | undefined;
|
|
7830
7900
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
7831
7901
|
/**
|
|
7832
|
-
*
|
|
7902
|
+
* State layer — absolute inset overlay inside the bar container.
|
|
7903
|
+
*
|
|
7904
|
+
* Must be inside overflow-hidden (placed on the same pill via the root's inner wrapper).
|
|
7905
|
+
* Color: on-surface (MD3 search bar state layer color).
|
|
7906
|
+
* Opacities: hover 8%, pressed 10% (doubled selector wins over hover).
|
|
7907
|
+
* Hidden when disabled (no state affordance on non-interactive element).
|
|
7908
|
+
*/
|
|
7909
|
+
declare const searchBarStateLayerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7910
|
+
/**
|
|
7911
|
+
* Focus ring overlay.
|
|
7912
|
+
*
|
|
7913
|
+
* Rendered outside the overflow-hidden container (as a sibling, in a relative wrapper)
|
|
7914
|
+
* so it can extend 3px beyond the pill boundary and remain fully visible.
|
|
7915
|
+
* Color: Secondary (MD3 focus indicator color).
|
|
7916
|
+
* Thickness: 3dp (MD3 state.focus-indicator.thickness).
|
|
7917
|
+
*/
|
|
7918
|
+
declare const searchBarFocusRingVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7919
|
+
/**
|
|
7920
|
+
* Leading icon wrapper — 48dp tap target with centered 24dp icon.
|
|
7921
|
+
* Color: on-surface (MD3 leading icon color).
|
|
7922
|
+
*/
|
|
7923
|
+
declare const searchBarLeadingIconVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7924
|
+
/**
|
|
7925
|
+
* Trailing action wrapper — 48dp tap target for each trailing icon button.
|
|
7926
|
+
* Color: on-surface-variant (MD3 trailing icon color).
|
|
7927
|
+
*/
|
|
7928
|
+
declare const searchBarTrailingActionVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7929
|
+
/**
|
|
7930
|
+
* Avatar wrapper — 48dp tap target containing a 30dp rounded-full image/element.
|
|
7931
|
+
* Shape: CornerFull (MD3 avatar shape).
|
|
7932
|
+
* Size: 30dp (MD3 avatar size).
|
|
7933
|
+
*/
|
|
7934
|
+
declare const searchBarAvatarVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7935
|
+
/**
|
|
7936
|
+
* Trailing actions group wrapper — lays out multiple trailing icon slots in a row.
|
|
7937
|
+
* gap = 0 per MD3 spec (contained trailing-actions gap token = 0dp).
|
|
7938
|
+
*/
|
|
7939
|
+
declare const searchBarTrailingActionsVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7940
|
+
/**
|
|
7941
|
+
* Text input inside the search bar.
|
|
7942
|
+
* Typography: body-large (MD3 supporting text / input text font).
|
|
7943
|
+
* Colors: on-surface for input, on-surface-variant for placeholder.
|
|
7944
|
+
*
|
|
7945
|
+
* `min-w-0` is required so `flex-1` can shrink when trailing actions are present.
|
|
7946
|
+
* The native browser search cancel button and decoration are hidden so only our
|
|
7947
|
+
* MD3 clear button (in SearchView) controls clearing.
|
|
7948
|
+
*/
|
|
7949
|
+
declare const searchBarInputVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7950
|
+
/**
|
|
7951
|
+
* Search view container — the expanded/focused search surface.
|
|
7833
7952
|
*
|
|
7834
|
-
*
|
|
7835
|
-
*
|
|
7836
|
-
*
|
|
7837
|
-
*
|
|
7838
|
-
*
|
|
7953
|
+
* All 4 style × layout combinations via compound variants:
|
|
7954
|
+
* contained + fullscreen: surface-container-low, no rounding
|
|
7955
|
+
* contained + docked: surface-container-high, rounded-xl (12dp), 2dp gap
|
|
7956
|
+
* divided + fullscreen: surface-container-high, no rounding
|
|
7957
|
+
* divided + docked: surface-container-high, rounded-[28px] (extra-large)
|
|
7839
7958
|
*
|
|
7959
|
+
* @see docs/md3-components/search/tokens/layout-text.md
|
|
7840
7960
|
* @see docs/md3-components/search/tokens/color-tokens-light.md
|
|
7841
7961
|
*/
|
|
7842
7962
|
declare const searchViewVariants: (props?: ({
|
|
@@ -7844,12 +7964,12 @@ declare const searchViewVariants: (props?: ({
|
|
|
7844
7964
|
layout?: "fullscreen" | "docked" | null | undefined;
|
|
7845
7965
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
7846
7966
|
/**
|
|
7847
|
-
*
|
|
7967
|
+
* Search view header row.
|
|
7848
7968
|
*
|
|
7849
|
-
* Heights per
|
|
7850
|
-
*
|
|
7851
|
-
*
|
|
7852
|
-
*
|
|
7969
|
+
* Heights per MD3 spec:
|
|
7970
|
+
* Contained (both layouts): 56dp (h-14), 12dp side padding (px-3)
|
|
7971
|
+
* Divided + fullscreen: 72dp (h-[72px]), 16dp side padding (px-4)
|
|
7972
|
+
* Divided + docked: 56dp (h-14), overridden by docked layout variant
|
|
7853
7973
|
*
|
|
7854
7974
|
* @see docs/md3-components/search/tokens/layout-text.md
|
|
7855
7975
|
*/
|
|
@@ -7857,6 +7977,48 @@ declare const searchViewHeaderVariants: (props?: ({
|
|
|
7857
7977
|
style?: "contained" | "divided" | null | undefined;
|
|
7858
7978
|
layout?: "fullscreen" | "docked" | null | undefined;
|
|
7859
7979
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
7980
|
+
/**
|
|
7981
|
+
* Back arrow button wrapper — 48dp tap target.
|
|
7982
|
+
* Color: on-surface (MD3 header leading icon color).
|
|
7983
|
+
* Includes visual state layer for hover/focus feedback (button handles its own states).
|
|
7984
|
+
*/
|
|
7985
|
+
declare const searchViewBackButtonVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7986
|
+
/**
|
|
7987
|
+
* Clear (✕) button wrapper — 48dp tap target.
|
|
7988
|
+
* Color: on-surface-variant (MD3 trailing icon color).
|
|
7989
|
+
* Transitions opacity when shown/hidden (Standard fast effects).
|
|
7990
|
+
*/
|
|
7991
|
+
declare const searchViewClearButtonVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7992
|
+
/**
|
|
7993
|
+
* Trailing action wrapper in the view header — 48dp tap target.
|
|
7994
|
+
* Color: on-surface-variant (MD3 trailing icon color).
|
|
7995
|
+
*/
|
|
7996
|
+
declare const searchViewTrailingActionVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7997
|
+
/**
|
|
7998
|
+
* Trailing actions group wrapper in the view header — lays out multiple action
|
|
7999
|
+
* slots in a row. gap = 0 per MD3 spec.
|
|
8000
|
+
*/
|
|
8001
|
+
declare const searchViewTrailingActionsVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
8002
|
+
/**
|
|
8003
|
+
* Text input inside the view header.
|
|
8004
|
+
* Typography: body-large.
|
|
8005
|
+
* Colors: on-surface for input text, on-surface-variant for placeholder.
|
|
8006
|
+
*
|
|
8007
|
+
* `min-w-0` lets `flex-1` shrink when clear/trailing buttons are present.
|
|
8008
|
+
* Native search affordances hidden — MD3 clear button controls clearing.
|
|
8009
|
+
*/
|
|
8010
|
+
declare const searchViewInputVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
8011
|
+
/**
|
|
8012
|
+
* Horizontal divider between the view header and results area.
|
|
8013
|
+
* Color: outline (MD3 divider color).
|
|
8014
|
+
* Only rendered when searchStyle="divided".
|
|
8015
|
+
*/
|
|
8016
|
+
declare const searchViewDividerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
8017
|
+
/**
|
|
8018
|
+
* Results / suggestions content area.
|
|
8019
|
+
* flex-1 to fill remaining height; overflow-y-auto for independent scroll.
|
|
8020
|
+
*/
|
|
8021
|
+
declare const searchViewContentVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
7860
8022
|
|
|
7861
8023
|
/**
|
|
7862
8024
|
* Props for the BadgeContent indicator element.
|
|
@@ -8683,6 +8845,26 @@ type SliderOrientation = "horizontal" | "vertical";
|
|
|
8683
8845
|
* @example ['Min price', 'Max price']
|
|
8684
8846
|
*/
|
|
8685
8847
|
type SliderRangeThumbLabels = [string, string];
|
|
8848
|
+
/**
|
|
8849
|
+
* Render state provided to `renderThumbContent` for each thumb slot.
|
|
8850
|
+
*
|
|
8851
|
+
* The styled layer (`Slider`) uses this to render the visual handle,
|
|
8852
|
+
* state layer, and value indicator inside the React Aria thumb element.
|
|
8853
|
+
*/
|
|
8854
|
+
interface SliderThumbRenderState {
|
|
8855
|
+
/** Zero-based index of this thumb (0 for single-thumb, 0 or 1 for range). */
|
|
8856
|
+
index: number;
|
|
8857
|
+
/** Current numeric value of this thumb (from React Stately state). */
|
|
8858
|
+
value: number;
|
|
8859
|
+
/** Whether this thumb is currently being dragged (pointer down). */
|
|
8860
|
+
isDragging: boolean;
|
|
8861
|
+
/** Whether keyboard focus ring is visible on this thumb. */
|
|
8862
|
+
isFocusVisible: boolean;
|
|
8863
|
+
/** Whether pointer is hovering over this thumb. */
|
|
8864
|
+
isHovered: boolean;
|
|
8865
|
+
/** Whether the slider is disabled. */
|
|
8866
|
+
isDisabled: boolean;
|
|
8867
|
+
}
|
|
8686
8868
|
/**
|
|
8687
8869
|
* Props for the headless `SliderHeadless` primitive (Layer 2).
|
|
8688
8870
|
*
|
|
@@ -8787,10 +8969,33 @@ interface SliderHeadlessProps {
|
|
|
8787
8969
|
*/
|
|
8788
8970
|
isDisabled?: boolean;
|
|
8789
8971
|
/**
|
|
8790
|
-
* Content (children) rendered inside the slider
|
|
8791
|
-
* Used by the styled layer to inject track
|
|
8972
|
+
* Content (children) rendered inside the slider track element.
|
|
8973
|
+
* Used by the styled layer to inject track layout.
|
|
8792
8974
|
*/
|
|
8793
8975
|
children?: React__default.ReactNode;
|
|
8976
|
+
/**
|
|
8977
|
+
* CSS classes applied to the `data-track` region element.
|
|
8978
|
+
* The styled layer uses this to carry the size-based height/width and
|
|
8979
|
+
* `touch-none` on the element React Aria measures for pointer math.
|
|
8980
|
+
* When omitted, the track region defaults to `relative w-full`.
|
|
8981
|
+
*/
|
|
8982
|
+
trackClassName?: string;
|
|
8983
|
+
/**
|
|
8984
|
+
* Render prop called for each thumb to produce visual thumb content
|
|
8985
|
+
* (handle, state layer, value indicator). Receives the thumb's current
|
|
8986
|
+
* render state. When provided, visual content is rendered inside the
|
|
8987
|
+
* React Aria thumb element (which is absolutely positioned at the value %).
|
|
8988
|
+
*
|
|
8989
|
+
* Used by the styled `Slider` layer; advanced users of `SliderHeadless`
|
|
8990
|
+
* may supply custom thumb visuals.
|
|
8991
|
+
*/
|
|
8992
|
+
renderThumbContent?: (state: SliderThumbRenderState) => React__default.ReactNode;
|
|
8993
|
+
/**
|
|
8994
|
+
* Called when any thumb's dragging state changes.
|
|
8995
|
+
* Receives the thumb index and a boolean indicating whether it is dragging.
|
|
8996
|
+
* Used by the styled layer to suppress track animation during pointer drag.
|
|
8997
|
+
*/
|
|
8998
|
+
onThumbDraggingChange?: (index: number, isDragging: boolean) => void;
|
|
8794
8999
|
/**
|
|
8795
9000
|
* Additional CSS classes applied to the slider root element.
|
|
8796
9001
|
*/
|
|
@@ -8884,7 +9089,7 @@ interface SliderThumbProps {
|
|
|
8884
9089
|
* />
|
|
8885
9090
|
* ```
|
|
8886
9091
|
*/
|
|
8887
|
-
interface SliderProps extends Omit<SliderHeadlessProps, "children"> {
|
|
9092
|
+
interface SliderProps extends Omit<SliderHeadlessProps, "children" | "renderThumbContent" | "onThumbDraggingChange"> {
|
|
8888
9093
|
/**
|
|
8889
9094
|
* MD3 Expressive size preset.
|
|
8890
9095
|
* Controls track height, handle height, corner radius, and icon size.
|
|
@@ -8915,7 +9120,11 @@ interface SliderProps extends Omit<SliderHeadlessProps, "children"> {
|
|
|
8915
9120
|
}
|
|
8916
9121
|
/**
|
|
8917
9122
|
* Interactive state of a slider thumb.
|
|
8918
|
-
*
|
|
9123
|
+
*
|
|
9124
|
+
* @deprecated The styled Slider now drives interaction states via React Aria
|
|
9125
|
+
* hooks + `data-*` attributes (group-data-[x]/slider-thumb selectors) instead
|
|
9126
|
+
* of a manual state machine. This type is retained only for backwards
|
|
9127
|
+
* compatibility with existing usages of `SliderHeadlessProps`.
|
|
8919
9128
|
*
|
|
8920
9129
|
* @internal
|
|
8921
9130
|
*/
|
|
@@ -8923,6 +9132,10 @@ type SliderThumbState = "enabled" | "hovered" | "pressed" | "disabled";
|
|
|
8923
9132
|
/**
|
|
8924
9133
|
* Render state passed to internal sub-components for conditional styling.
|
|
8925
9134
|
*
|
|
9135
|
+
* @deprecated The styled Slider now uses `SliderThumbRenderState` (per-thumb
|
|
9136
|
+
* render state) provided by the `renderThumbContent` render prop. This type
|
|
9137
|
+
* is retained only for backwards compatibility.
|
|
9138
|
+
*
|
|
8926
9139
|
* @internal
|
|
8927
9140
|
*/
|
|
8928
9141
|
interface SliderRenderState {
|
|
@@ -8941,15 +9154,31 @@ interface SliderRenderState {
|
|
|
8941
9154
|
/**
|
|
8942
9155
|
* Material Design 3 Slider Component (Layer 3: Styled)
|
|
8943
9156
|
*
|
|
8944
|
-
* Wraps SliderHeadless with CVA styling for all five MD3 Expressive sizes.
|
|
8945
|
-
* Renders the visual track layout (active
|
|
8946
|
-
*
|
|
8947
|
-
*
|
|
9157
|
+
* Wraps `SliderHeadless` with CVA styling for all five MD3 Expressive sizes.
|
|
9158
|
+
* Renders the visual track layout (active/inactive tracks) as children inside
|
|
9159
|
+
* the headless track element. The visual handle, state layer, and value indicator
|
|
9160
|
+
* are rendered as children of the React Aria thumb element via `renderThumbContent`,
|
|
9161
|
+
* which positions them exactly at the value percentage.
|
|
9162
|
+
*
|
|
9163
|
+
* **Architecture (Variants-vs-States)**
|
|
9164
|
+
* - Interaction states (hover, pressed/dragging, disabled, focus) are driven by
|
|
9165
|
+
* React Aria hooks → `getInteractionDataAttributes` → `data-*` on the RA thumb
|
|
9166
|
+
* (`group/slider-thumb`) → `group-data-[x]/slider-thumb:*` CSS selectors.
|
|
9167
|
+
* - No manual pointer state machine — React Aria's `isDragging`, `isHovered`,
|
|
9168
|
+
* and `isFocusVisible` are the single source of truth.
|
|
9169
|
+
* - Disabled track/stop colors use `group-data-[disabled]/slider:*` selectors
|
|
9170
|
+
* from the root `group/slider` scope.
|
|
9171
|
+
*
|
|
9172
|
+
* **Geometry (documented inline-style exception)**
|
|
8948
9173
|
* Track widths are driven by runtime values and use inline `flexBasis` styles —
|
|
8949
9174
|
* a documented exception for geometry that cannot be expressed as design tokens.
|
|
8950
9175
|
*
|
|
8951
|
-
* Motion
|
|
8952
|
-
*
|
|
9176
|
+
* **Motion**
|
|
9177
|
+
* - Track fill: spring-standard-fast-spatial (suppressed during drag + reduced motion)
|
|
9178
|
+
* - Handle width: spring-standard-fast-spatial (suppressed for reduced motion)
|
|
9179
|
+
* - State layer opacity: spring-standard-fast-effects (always present; CSS media
|
|
9180
|
+
* query handles `prefers-reduced-motion` for CSS-driven changes)
|
|
9181
|
+
* - Value indicator: spring-standard-fast-spatial (suppressed for reduced motion)
|
|
8953
9182
|
*
|
|
8954
9183
|
* @example
|
|
8955
9184
|
* ```tsx
|
|
@@ -8981,6 +9210,8 @@ declare const Slider: React__default.ForwardRefExoticComponent<SliderProps & Rea
|
|
|
8981
9210
|
* - Discrete stepping support
|
|
8982
9211
|
* - Live value announcements via <output>
|
|
8983
9212
|
* - data-* attributes for styled layer targeting
|
|
9213
|
+
* - `group/slider-thumb` scope on each thumb for group-data CSS selectors
|
|
9214
|
+
* - `renderThumbContent` render prop for injecting visual content inside RA thumb
|
|
8984
9215
|
*
|
|
8985
9216
|
* @example
|
|
8986
9217
|
* ```tsx
|
|
@@ -8999,81 +9230,98 @@ declare const Slider: React__default.ForwardRefExoticComponent<SliderProps & Rea
|
|
|
8999
9230
|
declare const SliderHeadless: React__default.ForwardRefExoticComponent<SliderHeadlessProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
9000
9231
|
|
|
9001
9232
|
/**
|
|
9002
|
-
*
|
|
9233
|
+
* Slider root container variants.
|
|
9234
|
+
*
|
|
9235
|
+
* The root element carries:
|
|
9236
|
+
* - `group/slider` — scope for track/stop disabled-state selectors
|
|
9237
|
+
* (`group-data-[disabled]/slider:*`)
|
|
9238
|
+
*
|
|
9239
|
+
* Horizontal layout: CSS grid with label (col 1) + output (col 2) in the first
|
|
9240
|
+
* row, and the full-width track region spanning both columns in the second row.
|
|
9241
|
+
* This matches the canonical React Aria / MD3 layout and prevents the track
|
|
9242
|
+
* from collapsing when label + output are inline siblings.
|
|
9003
9243
|
*
|
|
9004
|
-
*
|
|
9005
|
-
*
|
|
9006
|
-
*
|
|
9244
|
+
* Vertical layout: flex-col so label is above the track.
|
|
9245
|
+
* The size-based HEIGHT lives on the track region, not here (the container is
|
|
9246
|
+
* auto-height in horizontal so it wraps the grid rows naturally).
|
|
9007
9247
|
*/
|
|
9008
9248
|
declare const sliderContainerVariants: (props?: ({
|
|
9009
|
-
size?: "small" | "large" | "medium" | "xsmall" | "xlarge" | null | undefined;
|
|
9010
9249
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9011
|
-
|
|
9250
|
+
size?: "small" | "large" | "medium" | "xsmall" | "xlarge" | null | undefined;
|
|
9012
9251
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9013
9252
|
/**
|
|
9014
|
-
*
|
|
9253
|
+
* Absolute-fill container that holds the active and inactive track segments.
|
|
9254
|
+
*
|
|
9255
|
+
* Segments are `position: absolute` children sharing the same percentage
|
|
9256
|
+
* coordinate space as the React Aria thumbs, so fills always align with
|
|
9257
|
+
* handle positions regardless of value or orientation.
|
|
9258
|
+
*
|
|
9259
|
+
* The MD3 6dp thumb-track gap (`thumbTrackGapSize`) is applied as a symmetric
|
|
9260
|
+
* 3px offset on each side of the thumb in the parent's inline position styles.
|
|
9261
|
+
*
|
|
9262
|
+
* `pointer-events-none` lets React Aria's track click-to-seek events
|
|
9263
|
+
* reach the `data-track` region without interference.
|
|
9264
|
+
*/
|
|
9265
|
+
declare const sliderTrackLayoutVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
9266
|
+
/**
|
|
9267
|
+
* The filled (active) portion of the slider track.
|
|
9268
|
+
*
|
|
9269
|
+
* **Color**: `bg-primary`
|
|
9270
|
+
* **Disabled**: driven by `group-data-[disabled]/slider:*` — no CVA disabled variant.
|
|
9271
|
+
* **Transition**: `flex-basis` spring (spatial) when not dragging/reduced-motion.
|
|
9015
9272
|
*
|
|
9016
|
-
* MD3
|
|
9017
|
-
*
|
|
9018
|
-
* MD3 spec §10.9: In vertical orientation, track thickness becomes width (not height).
|
|
9019
|
-
* Transition: flex-basis spatial spring (md3-motion spring-standard-fast-spatial).
|
|
9273
|
+
* MD3 §6, §10.2: outer corner = size corner token, inner corner (near handle) = 2dp.
|
|
9274
|
+
* NOTE: measurement-derived corner values from MD3 spec §6; permitted exception.
|
|
9020
9275
|
*/
|
|
9021
9276
|
declare const sliderActiveTrackVariants: (props?: ({
|
|
9022
9277
|
size?: "small" | "large" | "medium" | "xsmall" | "xlarge" | null | undefined;
|
|
9023
9278
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9024
|
-
disabled?: boolean | null | undefined;
|
|
9025
9279
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9026
9280
|
/**
|
|
9027
|
-
*
|
|
9281
|
+
* The unfilled (inactive) portion of the slider track.
|
|
9028
9282
|
*
|
|
9029
|
-
*
|
|
9030
|
-
*
|
|
9031
|
-
*
|
|
9283
|
+
* **Color**: `bg-secondary-container`
|
|
9284
|
+
* **Disabled**: driven by `group-data-[disabled]/slider:*` — no CVA disabled variant.
|
|
9285
|
+
*
|
|
9286
|
+
* MD3 §6, §10.2: inner corner (near handle) = 2dp, outer corner = size corner token.
|
|
9287
|
+
* NOTE: measurement-derived corner values from MD3 spec §6; permitted exception.
|
|
9032
9288
|
*/
|
|
9033
9289
|
declare const sliderInactiveTrackVariants: (props?: ({
|
|
9034
9290
|
size?: "small" | "large" | "medium" | "xsmall" | "xlarge" | null | undefined;
|
|
9035
9291
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9036
|
-
disabled?: boolean | null | undefined;
|
|
9037
9292
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9038
9293
|
/**
|
|
9039
|
-
*
|
|
9294
|
+
* Visual handle (thumb indicator) element inside the React Aria thumb container.
|
|
9295
|
+
*
|
|
9296
|
+
* **Architecture**: This element lives inside the `group/slider-thumb` scope (the
|
|
9297
|
+
* RA-positioned thumb div). All interaction states are driven by
|
|
9298
|
+
* `group-data-[x]/slider-thumb:*` selectors — no CVA interaction-state variants.
|
|
9040
9299
|
*
|
|
9041
|
-
*
|
|
9042
|
-
*
|
|
9043
|
-
*
|
|
9044
|
-
* Width narrows to 2dp on press (md3 spec §9.3).
|
|
9045
|
-
* Motion: transition-[width] with duration-short2 + ease-standard applied conditionally
|
|
9046
|
-
* in Slider.tsx based on useReducedMotion() guard (MD3 Appendix E).
|
|
9300
|
+
* **Pressed width**: `group-data-[pressed]/slider-thumb:w-[2px]` (4dp → 2dp, MD3 spec)
|
|
9301
|
+
* **Motion**: `transition-[width]` with spring-standard-fast-spatial tokens.
|
|
9302
|
+
* Applied conditionally in `Slider.tsx` (suppressed for `useReducedMotion()`).
|
|
9047
9303
|
*/
|
|
9048
9304
|
declare const sliderHandleVariants: (props?: ({
|
|
9049
9305
|
size?: "small" | "large" | "medium" | "xsmall" | "xlarge" | null | undefined;
|
|
9050
9306
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9051
|
-
pressed?: boolean | null | undefined;
|
|
9052
|
-
disabled?: boolean | null | undefined;
|
|
9053
9307
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9054
9308
|
/**
|
|
9055
|
-
*
|
|
9309
|
+
* State layer overlay on the handle (hover ripple).
|
|
9056
9310
|
*
|
|
9057
|
-
*
|
|
9058
|
-
* -
|
|
9059
|
-
*
|
|
9060
|
-
*
|
|
9061
|
-
*
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9066
|
-
/**
|
|
9067
|
-
* CVA for the track layout container (holds active track + handle + inactive track).
|
|
9311
|
+
* **Architecture**: Lives inside `group/slider-thumb`; opacity driven entirely
|
|
9312
|
+
* by `group-data-[x]/slider-thumb:opacity-*` selectors — no CVA state variant.
|
|
9313
|
+
*
|
|
9314
|
+
* State-layer opacities per MD3 spec:
|
|
9315
|
+
* - hover: 8% (`opacity-8`)
|
|
9316
|
+
* - focused: 10% (`opacity-10`)
|
|
9317
|
+
* - pressed: 10% (`opacity-10`)
|
|
9318
|
+
* - dragged: 16% (`opacity-16`) — note: drag = pressed in RA isDragging → data-pressed
|
|
9068
9319
|
*
|
|
9069
|
-
*
|
|
9070
|
-
*
|
|
9071
|
-
*
|
|
9072
|
-
* `relative` is required so the absolute stops overlay is positioned within.
|
|
9320
|
+
* **Motion**: `transition-opacity` with spring-standard-fast-effects tokens.
|
|
9321
|
+
* Always present; `@media prefers-reduced-motion` suppresses the transition at
|
|
9322
|
+
* the CSS level.
|
|
9073
9323
|
*/
|
|
9074
|
-
declare const
|
|
9075
|
-
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9076
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9324
|
+
declare const sliderHandleStateLayerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
9077
9325
|
|
|
9078
9326
|
/**
|
|
9079
9327
|
* Structural variant of the MD3 Bottom Sheet.
|
|
@@ -10199,7 +10447,7 @@ type ClockDialContainerVariants = VariantProps<typeof clockDialContainerVariants
|
|
|
10199
10447
|
declare const clockDialNumberVariants: (props?: ({
|
|
10200
10448
|
selected?: boolean | null | undefined;
|
|
10201
10449
|
ring?: "outer" | "inner" | null | undefined;
|
|
10202
|
-
state?: "enabled" | "
|
|
10450
|
+
state?: "enabled" | "hovered" | "focused" | null | undefined;
|
|
10203
10451
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10204
10452
|
type ClockDialNumberVariants = VariantProps<typeof clockDialNumberVariants>;
|
|
10205
10453
|
/**
|
|
@@ -10226,7 +10474,7 @@ type ClockHandHandleVariants = VariantProps<typeof clockHandHandleVariants>;
|
|
|
10226
10474
|
*/
|
|
10227
10475
|
declare const timeSelectorContainerVariants: (props?: ({
|
|
10228
10476
|
selected?: boolean | null | undefined;
|
|
10229
|
-
state?: "enabled" | "
|
|
10477
|
+
state?: "enabled" | "hovered" | "focused" | null | undefined;
|
|
10230
10478
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10231
10479
|
type TimeSelectorContainerVariants = VariantProps<typeof timeSelectorContainerVariants>;
|
|
10232
10480
|
/**
|
|
@@ -10243,7 +10491,7 @@ type PeriodSelectorContainerVariants = VariantProps<typeof periodSelectorContain
|
|
|
10243
10491
|
*/
|
|
10244
10492
|
declare const periodSelectorItemVariants: (props?: ({
|
|
10245
10493
|
selected?: boolean | null | undefined;
|
|
10246
|
-
state?: "enabled" | "
|
|
10494
|
+
state?: "enabled" | "hovered" | "focused" | null | undefined;
|
|
10247
10495
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10248
10496
|
type PeriodSelectorItemVariants = VariantProps<typeof periodSelectorItemVariants>;
|
|
10249
10497
|
/**
|
|
@@ -10252,7 +10500,7 @@ type PeriodSelectorItemVariants = VariantProps<typeof periodSelectorItemVariants
|
|
|
10252
10500
|
*/
|
|
10253
10501
|
declare const timeInputFieldVariants: (props?: ({
|
|
10254
10502
|
selected?: boolean | null | undefined;
|
|
10255
|
-
state?: "enabled" | "
|
|
10503
|
+
state?: "enabled" | "hovered" | "focused" | null | undefined;
|
|
10256
10504
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10257
10505
|
type TimeInputFieldVariants = VariantProps<typeof timeInputFieldVariants>;
|
|
10258
10506
|
/**
|
|
@@ -11829,4 +12077,4 @@ type DateFieldVariants = VariantProps<typeof dateFieldVariants>;
|
|
|
11829
12077
|
declare const dateSegmentPlaceholderVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11830
12078
|
type DateSegmentPlaceholderVariants = VariantProps<typeof dateSegmentPlaceholderVariants>;
|
|
11831
12079
|
|
|
11832
|
-
export { type ActionButtonFocusRingVariants, type ActionButtonSlotProps, type ActionButtonStateLayerVariants, type ActionButtonVariants, type ActionRowVariants, AppBar, AppBarHeadless, type AppBarHeadlessProps, type AppBarProps, type AppBarVariant, Badge, BadgeContent, type BadgeContentProps, BadgeHeadless, type BadgeHeadlessProps, type BadgeProps, type BadgeVariants, BottomSheet, type BottomSheetAnimationState, type BottomSheetAnimationVariants, BottomSheetContext, type BottomSheetContextValue, BottomSheetHandle, type BottomSheetHandleProps, type BottomSheetHandleVariants, BottomSheetHeadless, type BottomSheetHeadlessProps, type BottomSheetProps, type BottomSheetScrimVariants, type BottomSheetVariant, type BottomSheetVariants, Button, ButtonGroup, ButtonGroupContext, type ButtonGroupContextValue, type ButtonGroupFocusRingVariants, ButtonGroupHeadless, type ButtonGroupProps, type ButtonGroupRootVariants, type ButtonGroupSelectionMode, type ButtonGroupShape, type ButtonGroupSize, type ButtonGroupVariant, type ButtonProps, type ButtonSize, type ButtonVariant, type CalendarCellComponentProps, type CalendarCellFocusRingVariants, type CalendarCellProps, type CalendarCellStateLayerVariants, type CalendarCellType, type CalendarCellVariants, CalendarCore, type CalendarCoreProps, type CalendarDividerVariants, type CalendarGridProps, type CalendarHeaderVariants, type CalendarSlots, type CalendarTitleIconVariants, type CalendarTitleStateLayerVariants, type CalendarTitleTextVariants, type CalendarTitleVariants, type CalendarView, Card, CardActions, type CardActionsProps, CardContent, type CardContentProps, CardHeader, type CardHeaderProps, CardHeadless, type CardHeadlessProps, CardMedia, type CardMediaProps, type CardProps, type CardVariant, type CardVariants, Checkbox, type CheckboxProps, Chip, ChipHeadless, type ChipHeadlessProps, type ChipProps, ChipSet, type ChipSetProps, type ChipSurface, type ChipType, type ChipVariants, type ClockDialContainerVariants, type ClockDialNumberVariants, type ClockDialProps, type ClockHandCenterVariants, type ClockHandHandleVariants, type ClockHandProps, type ClockHandTrackVariants, type ClockSelectionMode, DateField, type DateFieldProps, type DateFieldVariants, type DateInputErrorVariants, type DateInputFieldGroupVariants, type DateInputFieldProps, type DateInputFieldVariants, type DateInputLabelVariants, DatePicker, type DatePickerActionsProps, type DatePickerCalendarSlots, type DatePickerContainerVariants, DatePickerDocked, type DatePickerDockedProps, type DatePickerHeadlessProps, DatePickerModal, type DatePickerModalHeaderProps, DatePickerModalInput, type DatePickerModalInputProps, type DatePickerModalProps, type DatePickerProps, type DatePickerRenderState, type DatePickerVariant, type DateSegmentPlaceholderVariants, type DateSelectionMode, Dialog, DialogActions, type DialogActionsProps, type DialogAnimationState, DialogContent, type DialogContentProps, DialogContext, type DialogContextValue, DialogHeadless, type DialogHeadlessProps, DialogHeadline, type DialogHeadlineProps, type DialogProps, type DialogVariant, Divider, DividerHeadless, type DividerHeadlessProps, type DividerInset, type DividerOrientation, type DividerProps, type DividerVariants, type DockedFieldGroupVariants, type DockedLabelVariants, type DockedTriggerStateLayerVariants, type DockedTriggerVariants, Drawer, type DrawerContextValue, DrawerIconOnlyContext, DrawerItem, type DrawerItemBadgeConfig, type DrawerItemProps, type DrawerProps, DrawerSection, type DrawerSectionProps, type DrawerVariant, FAB, type FABColor, FABHeadless, type FABHeadlessProps, FABMenu, FABMenuContext, type FABMenuContextValue, type FABMenuDirection, FABMenuHeadless, type FABMenuHeadlessProps, FABMenuItem, type FABMenuItemColor, type FABMenuItemFocusRingVariants, type FABMenuItemIconVariants, type FABMenuItemLabelVariants, type FABMenuItemProps, type FABMenuItemStateLayerVariants, type FABMenuItemVariants, type FABMenuListVariants, type FABMenuProps, type FABMenuVariants, type FABProps, type FABSize, HeadlessDrawer, HeadlessDrawerItem, type HeadlessDrawerItemProps, type HeadlessDrawerProps, HeadlessMenu, HeadlessMenuDivider, HeadlessMenuItem, type HeadlessMenuItemProps, type HeadlessMenuProps, HeadlessMenuSection, type HeadlessMenuSectionProps, HeadlessMenuTrigger, type HeadlessMenuTriggerProps, HeadlessNavigationBar, HeadlessNavigationBarItem, type HeadlessNavigationBarItemProps, type HeadlessNavigationBarProps, HeadlessTab, HeadlessTabList, HeadlessTabPanel, type HeadlessTabPanelProps, type HeadlessTabProps, type HeadlineVariants, IconButton, type IconButtonColor, IconButtonHeadless, type IconButtonHeadlessProps, type IconButtonProps, type IconButtonSize, type IconButtonVariant, List, type ListDensity, ListHeadless, type ListHeadlessProps, ListItem, ListItemHeadless, ListItemLeading, type ListItemLeadingProps, type ListItemProps, ListItemText, type ListItemTextProps, ListItemTrailing, type ListItemTrailingProps, type ListItemVariants, type ListLeadingType, type ListProps, type ListTrailingType, type ListVariants, type MD3ColorRole, type MD3TypographyScale, type MD3TypographySize, type MD3TypographyStyle, Menu, type MenuContainerVariants, MenuContext, type MenuContextValue, MenuDivider, type MenuDividerProps, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, MenuTrigger, type MenuTriggerProps, type ModalDialogVariants, type ModalHeaderVariants, type ModeToggleStateLayerVariants, type ModeToggleVariants, type NavButtonComponentProps, type NavButtonFocusRingVariants, type NavButtonStateLayerVariants, type NavButtonVariants, NavigationBar, type NavigationBarBadge, NavigationBarItem, type NavigationBarItemConfig, type NavigationBarItemProps, type NavigationBarItemRenderProps, type NavigationBarProps, type PeriodSelectorContainerVariants, type PeriodSelectorItemVariants, type PeriodSelectorProps, type PopoverVariants, Progress, ProgressHeadless, type ProgressHeadlessProps, type ProgressProps, Radio, RadioGroup, RadioGroupHeadless, type RadioGroupHeadlessProps, type RadioGroupProps, RadioHeadless, type RadioHeadlessProps, type RadioProps, type RangeCalendarProps, RichTooltip, type RichTooltipProps, type RichTooltipVariants, STATE_LAYER_OPACITY, type ScrimVariants, Search, SearchBar, SearchBarHeadless, type SearchBarHeadlessProps, type SearchBarProps, type SearchLayout, type SearchProps, type SearchStyle, SearchView, SearchViewHeadless, type SearchViewHeadlessProps, type SearchViewProps, Slider, SliderHeadless, type SliderHeadlessProps, type SliderOrientation, type SliderProps, type SliderRangeThumbLabels, type SliderRenderState, type SliderSize, type SliderThumbProps, type SliderThumbState, type SliderVariant, Snackbar, type SnackbarAction, SnackbarContext, type SnackbarContextValue, SnackbarHeadless, type SnackbarHeadlessProps, type SnackbarItem, type SnackbarProps, SnackbarProvider, type SnackbarProviderProps, type SnackbarSeverity, SplitButton, type SplitButtonContainerVariants, type SplitButtonDropdownVariants, SplitButtonHeadless, type SplitButtonHeadlessProps, type SplitButtonMenuItem, type SplitButtonPrimaryVariants, type SplitButtonProps, type SplitButtonSize, type SplitButtonVariant, StyledActionButton, StyledCalendarCell, StyledCalendarTitle, StyledNavButton, StyledWeekday, StyledYearItem, type SupportingTextVariants, Switch, type SwitchProps, TYPOGRAPHY_ELEMENT_MAP, TYPOGRAPHY_USAGE, Tab, type TabItem, type TabLayout, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, type TabVariant, Tabs, type TabsProps, TextField, type TextFieldProps, type TextFieldVariant, type TimeFormat, type TimeInputFieldProps, type TimeInputFieldVariants, type TimePeriod, TimePicker, type TimePickerActionButtonVariants, type TimePickerActionRowVariants, type TimePickerContainerVariants, TimePickerDial, type TimePickerDialProps, type TimePickerHeadlessProps, type TimePickerHeadlineVariants, TimePickerInput, type TimePickerInputProps, type TimePickerModeToggleVariants, type TimePickerOrientation, type TimePickerProps, type TimePickerRenderState, type TimePickerVariant, type TimeSelectorContainerVariants, type TimeSelectorProps, type TimeSeparatorVariants, type TimeValue, type TitleComponentProps, Tooltip, type TooltipHeadlessProps, TooltipOverlayHeadless, type TooltipPlacement, type TooltipProps, TooltipTrigger, TooltipTriggerHeadless, type TooltipTriggerProps, type TooltipTriggerStyledProps, type TooltipVariant, type TooltipVariants, type TypographyProperty, type TypographyStyleObject, type UseBottomSheetDragOptions, type UseBottomSheetDragReturn, type WeekdayVariants, type YearGridVariants, type YearItemComponentProps, type YearItemFocusRingVariants, type YearItemStateLayerVariants, type YearItemVariants, actionButtonFocusRingVariants, actionButtonStateLayerVariants, actionButtonVariants, actionRowVariants, applyStateLayer, badgeVariants, bottomSheetAnimationVariants, bottomSheetHandlePillVariants, bottomSheetHandleWrapperVariants, bottomSheetScrimVariants, bottomSheetVariants, buttonGroupFocusRingVariants, buttonGroupRootVariants, buttonGroupVariants, calendarCellFocusRingVariants, calendarCellStateLayerVariants, calendarCellVariants, calendarDividerVariants, calendarHeaderVariants, calendarTitleIconVariants, calendarTitleStateLayerVariants, calendarTitleTextVariants, calendarTitleVariants, cardVariants, chipVariants, clockDialContainerVariants, clockDialNumberVariants, clockHandCenterVariants, clockHandHandleVariants, clockHandTrackVariants, cn, dateFieldVariants, dateInputErrorVariants, dateInputFieldGroupVariants, dateInputFieldVariants, dateInputLabelVariants, datePickerContainerVariants, dateSegmentPlaceholderVariants, dividerVariants, dockedFieldGroupVariants, dockedLabelVariants, dockedTriggerStateLayerVariants, dockedTriggerVariants, fabMenuItemFocusRingVariants, fabMenuItemIconVariants, fabMenuItemLabelVariants, fabMenuItemStateLayerVariants, fabMenuItemVariants, fabMenuListVariants, fabMenuVariants, generateMD3Theme, getColorValue, getConnectedRadiusClasses, getFontFamily, getMD3Color, getResponsiveTypography, getTypographyClassName, getTypographyForElement, getTypographyStyle, getTypographyToken, headlineVariants, hexToRgb, listItemVariants, listVariants, modalDialogVariants, modalHeaderVariants, modeToggleStateLayerVariants, modeToggleVariants, navButtonFocusRingVariants, navButtonStateLayerVariants, navButtonVariants, periodSelectorContainerVariants, periodSelectorItemVariants, popoverVariants, pxToRem, remToPx, rgbToHex, richTooltipVariants, scrimVariants, searchBarVariants, searchViewHeaderVariants, searchViewVariants, sliderActiveTrackVariants, sliderContainerVariants, sliderHandleStateLayerVariants, sliderHandleVariants, sliderInactiveTrackVariants, sliderTrackLayoutVariants, splitButtonContainerVariants, splitButtonDropdownVariants, splitButtonPrimaryVariants, splitButtonVariants, supportingTextVariants, timeInputFieldVariants, timePickerActionButtonVariants, timePickerActionRowVariants, timePickerContainerVariants, timePickerHeadlineVariants, timePickerModeToggleVariants, timeSelectorContainerVariants, timeSeparatorVariants, tooltipVariants, truncateText, useBottomSheetContext, useBottomSheetDrag, useButtonGroup, useDialogContext, useFABMenuContext, useMenuContext, useOptionalButtonGroup, useSnackbar, weekdayVariants, withOpacity, yearGridVariants, yearItemFocusRingVariants, yearItemStateLayerVariants, yearItemVariants };
|
|
12080
|
+
export { type ActionButtonFocusRingVariants, type ActionButtonSlotProps, type ActionButtonStateLayerVariants, type ActionButtonVariants, type ActionRowVariants, AppBar, AppBarHeadless, type AppBarHeadlessProps, type AppBarProps, type AppBarVariant, Badge, BadgeContent, type BadgeContentProps, BadgeHeadless, type BadgeHeadlessProps, type BadgeProps, type BadgeVariants, BottomSheet, type BottomSheetAnimationState, type BottomSheetAnimationVariants, BottomSheetContext, type BottomSheetContextValue, BottomSheetHandle, type BottomSheetHandleProps, type BottomSheetHandleVariants, BottomSheetHeadless, type BottomSheetHeadlessProps, type BottomSheetProps, type BottomSheetScrimVariants, type BottomSheetVariant, type BottomSheetVariants, Button, ButtonGroup, ButtonGroupContext, type ButtonGroupContextValue, type ButtonGroupFocusRingVariants, ButtonGroupHeadless, type ButtonGroupProps, type ButtonGroupRootVariants, type ButtonGroupSelectionMode, type ButtonGroupShape, type ButtonGroupSize, type ButtonGroupVariant, type ButtonProps, type ButtonSize, type ButtonVariant, type CalendarCellComponentProps, type CalendarCellFocusRingVariants, type CalendarCellProps, type CalendarCellStateLayerVariants, type CalendarCellType, type CalendarCellVariants, CalendarCore, type CalendarCoreProps, type CalendarDividerVariants, type CalendarGridProps, type CalendarHeaderVariants, type CalendarSlots, type CalendarTitleIconVariants, type CalendarTitleStateLayerVariants, type CalendarTitleTextVariants, type CalendarTitleVariants, type CalendarView, Card, CardActions, type CardActionsProps, CardContent, type CardContentProps, CardHeader, type CardHeaderProps, CardHeadless, type CardHeadlessProps, CardMedia, type CardMediaProps, type CardProps, type CardVariant, type CardVariants, Checkbox, type CheckboxProps, Chip, ChipHeadless, type ChipHeadlessProps, type ChipProps, ChipSet, type ChipSetProps, type ChipSurface, type ChipType, type ChipVariants, type ClockDialContainerVariants, type ClockDialNumberVariants, type ClockDialProps, type ClockHandCenterVariants, type ClockHandHandleVariants, type ClockHandProps, type ClockHandTrackVariants, type ClockSelectionMode, DateField, type DateFieldProps, type DateFieldVariants, type DateInputErrorVariants, type DateInputFieldGroupVariants, type DateInputFieldProps, type DateInputFieldVariants, type DateInputLabelVariants, DatePicker, type DatePickerActionsProps, type DatePickerCalendarSlots, type DatePickerContainerVariants, DatePickerDocked, type DatePickerDockedProps, type DatePickerHeadlessProps, DatePickerModal, type DatePickerModalHeaderProps, DatePickerModalInput, type DatePickerModalInputProps, type DatePickerModalProps, type DatePickerProps, type DatePickerRenderState, type DatePickerVariant, type DateSegmentPlaceholderVariants, type DateSelectionMode, Dialog, DialogActions, type DialogActionsProps, type DialogAnimationState, DialogContent, type DialogContentProps, DialogContext, type DialogContextValue, DialogHeadless, type DialogHeadlessProps, DialogHeadline, type DialogHeadlineProps, type DialogProps, type DialogVariant, Divider, DividerHeadless, type DividerHeadlessProps, type DividerInset, type DividerOrientation, type DividerProps, type DividerVariants, type DockedFieldGroupVariants, type DockedLabelVariants, type DockedTriggerStateLayerVariants, type DockedTriggerVariants, Drawer, type DrawerContextValue, DrawerIconOnlyContext, DrawerItem, type DrawerItemBadgeConfig, type DrawerItemProps, type DrawerProps, DrawerSection, type DrawerSectionProps, type DrawerVariant, FAB, type FABColor, FABHeadless, type FABHeadlessProps, FABMenu, FABMenuContext, type FABMenuContextValue, type FABMenuDirection, FABMenuHeadless, type FABMenuHeadlessProps, FABMenuItem, type FABMenuItemColor, type FABMenuItemFocusRingVariants, type FABMenuItemIconVariants, type FABMenuItemLabelVariants, type FABMenuItemProps, type FABMenuItemStateLayerVariants, type FABMenuItemVariants, type FABMenuListVariants, type FABMenuProps, type FABMenuVariants, type FABProps, type FABSize, HeadlessDrawer, HeadlessDrawerItem, type HeadlessDrawerItemProps, type HeadlessDrawerProps, HeadlessMenu, HeadlessMenuDivider, HeadlessMenuItem, type HeadlessMenuItemProps, type HeadlessMenuProps, HeadlessMenuSection, type HeadlessMenuSectionProps, HeadlessMenuTrigger, type HeadlessMenuTriggerProps, HeadlessNavigationBar, HeadlessNavigationBarItem, type HeadlessNavigationBarItemProps, type HeadlessNavigationBarProps, HeadlessTab, HeadlessTabList, HeadlessTabPanel, type HeadlessTabPanelProps, type HeadlessTabProps, type HeadlineVariants, IconButton, type IconButtonColor, IconButtonHeadless, type IconButtonHeadlessProps, type IconButtonProps, type IconButtonSize, type IconButtonVariant, List, type ListDensity, ListHeadless, type ListHeadlessProps, ListItem, ListItemHeadless, ListItemLeading, type ListItemLeadingProps, type ListItemProps, ListItemText, type ListItemTextProps, ListItemTrailing, type ListItemTrailingProps, type ListItemVariants, type ListLeadingType, type ListProps, type ListTrailingType, type ListVariants, type MD3ColorRole, type MD3TypographyScale, type MD3TypographySize, type MD3TypographyStyle, Menu, type MenuContainerVariants, MenuContext, type MenuContextValue, MenuDivider, type MenuDividerProps, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, MenuTrigger, type MenuTriggerProps, type ModalDialogVariants, type ModalHeaderVariants, type ModeToggleStateLayerVariants, type ModeToggleVariants, type NavButtonComponentProps, type NavButtonFocusRingVariants, type NavButtonStateLayerVariants, type NavButtonVariants, NavigationBar, type NavigationBarBadge, NavigationBarItem, type NavigationBarItemConfig, type NavigationBarItemProps, type NavigationBarItemRenderProps, type NavigationBarProps, type PeriodSelectorContainerVariants, type PeriodSelectorItemVariants, type PeriodSelectorProps, type PopoverVariants, Progress, ProgressHeadless, type ProgressHeadlessProps, type ProgressProps, Radio, RadioGroup, RadioGroupHeadless, type RadioGroupHeadlessProps, type RadioGroupProps, RadioHeadless, type RadioHeadlessProps, type RadioProps, type RangeCalendarProps, RichTooltip, type RichTooltipProps, type RichTooltipVariants, STATE_LAYER_OPACITY, type ScrimVariants, Search, SearchBar, SearchBarHeadless, type SearchBarHeadlessProps, type SearchBarProps, type SearchLayout, type SearchProps, type SearchStyle, SearchView, SearchViewHeadless, type SearchViewHeadlessProps, type SearchViewProps, Slider, SliderHeadless, type SliderHeadlessProps, type SliderOrientation, type SliderProps, type SliderRangeThumbLabels, type SliderRenderState, type SliderSize, type SliderThumbProps, type SliderThumbState, type SliderVariant, Snackbar, type SnackbarAction, SnackbarContext, type SnackbarContextValue, SnackbarHeadless, type SnackbarHeadlessProps, type SnackbarItem, type SnackbarProps, SnackbarProvider, type SnackbarProviderProps, type SnackbarSeverity, SplitButton, type SplitButtonContainerVariants, type SplitButtonDropdownVariants, SplitButtonHeadless, type SplitButtonHeadlessProps, type SplitButtonMenuItem, type SplitButtonPrimaryVariants, type SplitButtonProps, type SplitButtonSize, type SplitButtonVariant, StyledActionButton, StyledCalendarCell, StyledCalendarTitle, StyledNavButton, StyledWeekday, StyledYearItem, type SupportingTextVariants, Switch, type SwitchProps, TYPOGRAPHY_ELEMENT_MAP, TYPOGRAPHY_USAGE, Tab, type TabItem, type TabLayout, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, type TabVariant, Tabs, type TabsProps, TextField, type TextFieldProps, type TextFieldVariant, type TimeFormat, type TimeInputFieldProps, type TimeInputFieldVariants, type TimePeriod, TimePicker, type TimePickerActionButtonVariants, type TimePickerActionRowVariants, type TimePickerContainerVariants, TimePickerDial, type TimePickerDialProps, type TimePickerHeadlessProps, type TimePickerHeadlineVariants, TimePickerInput, type TimePickerInputProps, type TimePickerModeToggleVariants, type TimePickerOrientation, type TimePickerProps, type TimePickerRenderState, type TimePickerVariant, type TimeSelectorContainerVariants, type TimeSelectorProps, type TimeSeparatorVariants, type TimeValue, type TitleComponentProps, Tooltip, type TooltipHeadlessProps, TooltipOverlayHeadless, type TooltipPlacement, type TooltipProps, TooltipTrigger, TooltipTriggerHeadless, type TooltipTriggerProps, type TooltipTriggerStyledProps, type TooltipVariant, type TooltipVariants, type TypographyProperty, type TypographyStyleObject, type UseBottomSheetDragOptions, type UseBottomSheetDragReturn, type WeekdayVariants, type YearGridVariants, type YearItemComponentProps, type YearItemFocusRingVariants, type YearItemStateLayerVariants, type YearItemVariants, actionButtonFocusRingVariants, actionButtonStateLayerVariants, actionButtonVariants, actionRowVariants, applyStateLayer, badgeVariants, bottomSheetAnimationVariants, bottomSheetHandlePillVariants, bottomSheetHandleWrapperVariants, bottomSheetScrimVariants, bottomSheetVariants, buttonGroupFocusRingVariants, buttonGroupRootVariants, buttonGroupVariants, calendarCellFocusRingVariants, calendarCellStateLayerVariants, calendarCellVariants, calendarDividerVariants, calendarHeaderVariants, calendarTitleIconVariants, calendarTitleStateLayerVariants, calendarTitleTextVariants, calendarTitleVariants, cardVariants, chipVariants, clockDialContainerVariants, clockDialNumberVariants, clockHandCenterVariants, clockHandHandleVariants, clockHandTrackVariants, cn, dateFieldVariants, dateInputErrorVariants, dateInputFieldGroupVariants, dateInputFieldVariants, dateInputLabelVariants, datePickerContainerVariants, dateSegmentPlaceholderVariants, dividerVariants, dockedFieldGroupVariants, dockedLabelVariants, dockedTriggerStateLayerVariants, dockedTriggerVariants, fabMenuItemFocusRingVariants, fabMenuItemIconVariants, fabMenuItemLabelVariants, fabMenuItemStateLayerVariants, fabMenuItemVariants, fabMenuListVariants, fabMenuVariants, generateMD3Theme, getColorValue, getConnectedRadiusClasses, getFontFamily, getMD3Color, getResponsiveTypography, getTypographyClassName, getTypographyForElement, getTypographyStyle, getTypographyToken, headlineVariants, hexToRgb, listItemVariants, listVariants, modalDialogVariants, modalHeaderVariants, modeToggleStateLayerVariants, modeToggleVariants, navButtonFocusRingVariants, navButtonStateLayerVariants, navButtonVariants, periodSelectorContainerVariants, periodSelectorItemVariants, popoverVariants, pxToRem, remToPx, rgbToHex, richTooltipVariants, scrimVariants, searchBarAvatarVariants, searchBarFocusRingVariants, searchBarInputVariants, searchBarLeadingIconVariants, searchBarRootVariants, searchBarStateLayerVariants, searchBarTrailingActionVariants, searchBarTrailingActionsVariants, searchViewBackButtonVariants, searchViewClearButtonVariants, searchViewContentVariants, searchViewDividerVariants, searchViewHeaderVariants, searchViewInputVariants, searchViewTrailingActionVariants, searchViewTrailingActionsVariants, searchViewVariants, sliderActiveTrackVariants, sliderContainerVariants, sliderHandleStateLayerVariants, sliderHandleVariants, sliderInactiveTrackVariants, sliderTrackLayoutVariants, splitButtonContainerVariants, splitButtonDropdownVariants, splitButtonPrimaryVariants, splitButtonVariants, supportingTextVariants, timeInputFieldVariants, timePickerActionButtonVariants, timePickerActionRowVariants, timePickerContainerVariants, timePickerHeadlineVariants, timePickerModeToggleVariants, timeSelectorContainerVariants, timeSeparatorVariants, tooltipVariants, truncateText, useBottomSheetContext, useBottomSheetDrag, useButtonGroup, useDialogContext, useFABMenuContext, useMenuContext, useOptionalButtonGroup, useSnackbar, weekdayVariants, withOpacity, yearGridVariants, yearItemFocusRingVariants, yearItemStateLayerVariants, yearItemVariants };
|