@tinybigui/react 0.11.2 → 0.13.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 +10 -10
- package/dist/index.cjs +991 -892
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +632 -112
- package/dist/index.d.ts +632 -112
- package/dist/index.js +950 -884
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -6,7 +6,7 @@ import React__default, { LabelHTMLAttributes, InputHTMLAttributes, HTMLAttribute
|
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
8
8
|
import { AriaButtonProps, AriaTextFieldProps, AriaCheckboxProps, AriaSwitchProps, AriaRadioProps, AriaRadioGroupProps, AriaTabProps, AriaTabPanelProps, Key as Key$1, AriaDialogProps, AriaLinkOptions, AriaProgressBarProps, PressEvent, AriaMenuTriggerProps, AriaMenuProps } from 'react-aria';
|
|
9
|
-
import { Key, SelectionMode, Selection } from 'react-stately';
|
|
9
|
+
import { Key, SelectionMode, Selection, CalendarState, RangeCalendarState } from 'react-stately';
|
|
10
10
|
import { MenuItemProps as MenuItemProps$1, SeparatorProps } from 'react-aria-components';
|
|
11
11
|
import { DateValue, CalendarDate } from '@internationalized/date';
|
|
12
12
|
|
|
@@ -4317,31 +4317,49 @@ declare const ProgressHeadless: React__default.ForwardRefExoticComponent<Progres
|
|
|
4317
4317
|
*/
|
|
4318
4318
|
type DividerOrientation = "horizontal" | "vertical";
|
|
4319
4319
|
/**
|
|
4320
|
-
* Divider inset — controls which end(s) of the rule are
|
|
4321
|
-
*
|
|
4320
|
+
* Divider inset — controls which end(s) of the rule are offset by 16dp.
|
|
4321
|
+
*
|
|
4322
|
+
* Uses logical inline properties (inline-start / inline-end) so insets adapt
|
|
4323
|
+
* correctly to RTL writing modes.
|
|
4324
|
+
*
|
|
4322
4325
|
* @default 'none'
|
|
4323
4326
|
*/
|
|
4324
4327
|
type DividerInset = "none" | "start" | "end" | "both";
|
|
4328
|
+
/**
|
|
4329
|
+
* CSS custom properties supported by the Divider component.
|
|
4330
|
+
* Extends `React.CSSProperties` to allow the `--md-divider-thickness` variable.
|
|
4331
|
+
*/
|
|
4332
|
+
interface DividerCSSProperties extends React__default.CSSProperties {
|
|
4333
|
+
/** Thickness of the divider rule. MD3 default: 1dp (1px). */
|
|
4334
|
+
"--md-divider-thickness"?: string;
|
|
4335
|
+
}
|
|
4325
4336
|
/**
|
|
4326
4337
|
* Material Design 3 Divider Component Props
|
|
4327
4338
|
*
|
|
4328
4339
|
* A thin line that groups content in lists and containers.
|
|
4329
|
-
* Supports horizontal/vertical orientations
|
|
4330
|
-
*
|
|
4340
|
+
* Supports horizontal/vertical orientations and four inset variants.
|
|
4341
|
+
*
|
|
4342
|
+
* Thickness is controlled via the `--md-divider-thickness` CSS custom property
|
|
4343
|
+
* (default `1px`, matching the MD3 1dp specification). Override it with a style
|
|
4344
|
+
* prop or an arbitrary Tailwind property:
|
|
4345
|
+
*
|
|
4346
|
+
* ```tsx
|
|
4347
|
+
* <Divider style={{ "--md-divider-thickness": "2px" }} />
|
|
4348
|
+
* ```
|
|
4331
4349
|
*
|
|
4332
4350
|
* @example
|
|
4333
4351
|
* ```tsx
|
|
4334
4352
|
* // Full-bleed horizontal divider (default)
|
|
4335
4353
|
* <Divider />
|
|
4336
4354
|
*
|
|
4337
|
-
* // Inset divider
|
|
4355
|
+
* // Inset divider — logical 16dp from inline-start (RTL-aware)
|
|
4338
4356
|
* <Divider inset="start" />
|
|
4339
4357
|
*
|
|
4340
|
-
* // Vertical divider
|
|
4358
|
+
* // Vertical divider inside a flex row
|
|
4341
4359
|
* <Divider orientation="vertical" />
|
|
4342
4360
|
*
|
|
4343
|
-
* //
|
|
4344
|
-
* <Divider
|
|
4361
|
+
* // Custom thickness
|
|
4362
|
+
* <Divider style={{ "--md-divider-thickness": "2px" }} />
|
|
4345
4363
|
* ```
|
|
4346
4364
|
*/
|
|
4347
4365
|
interface DividerProps {
|
|
@@ -4351,19 +4369,19 @@ interface DividerProps {
|
|
|
4351
4369
|
*/
|
|
4352
4370
|
orientation?: DividerOrientation;
|
|
4353
4371
|
/**
|
|
4354
|
-
* Inset — shifts the start and/or end of the rule by 16dp.
|
|
4372
|
+
* Inset — shifts the start and/or end of the rule by 16dp (logical, RTL-aware).
|
|
4355
4373
|
* @default 'none'
|
|
4356
4374
|
*/
|
|
4357
4375
|
inset?: DividerInset;
|
|
4358
|
-
/**
|
|
4359
|
-
* When provided, renders a subheader (labeled) divider with the text
|
|
4360
|
-
* centered between two rule lines.
|
|
4361
|
-
*/
|
|
4362
|
-
label?: string;
|
|
4363
4376
|
/**
|
|
4364
4377
|
* Additional Tailwind CSS classes.
|
|
4365
4378
|
*/
|
|
4366
4379
|
className?: string;
|
|
4380
|
+
/**
|
|
4381
|
+
* Inline styles. Supports the `--md-divider-thickness` CSS custom property
|
|
4382
|
+
* to override the default 1dp thickness.
|
|
4383
|
+
*/
|
|
4384
|
+
style?: DividerCSSProperties;
|
|
4367
4385
|
}
|
|
4368
4386
|
/**
|
|
4369
4387
|
* Props for the headless Divider primitive.
|
|
@@ -4375,7 +4393,7 @@ interface DividerProps {
|
|
|
4375
4393
|
* ```tsx
|
|
4376
4394
|
* <DividerHeadless
|
|
4377
4395
|
* orientation="horizontal"
|
|
4378
|
-
* className="
|
|
4396
|
+
* className="w-full h-px bg-outline-variant"
|
|
4379
4397
|
* />
|
|
4380
4398
|
* ```
|
|
4381
4399
|
*/
|
|
@@ -4390,40 +4408,40 @@ interface DividerHeadlessProps {
|
|
|
4390
4408
|
*/
|
|
4391
4409
|
className?: string;
|
|
4392
4410
|
/**
|
|
4393
|
-
*
|
|
4394
|
-
* rendering is handled by the styled `Divider` layer.
|
|
4411
|
+
* Inline styles forwarded to the underlying element.
|
|
4395
4412
|
*/
|
|
4396
|
-
|
|
4397
|
-
/**
|
|
4398
|
-
* Child content. Declared for interface extensibility;
|
|
4399
|
-
* the headless primitive itself is a void/leaf element.
|
|
4400
|
-
*/
|
|
4401
|
-
children?: React__default.ReactNode;
|
|
4413
|
+
style?: DividerCSSProperties;
|
|
4402
4414
|
}
|
|
4403
4415
|
|
|
4404
4416
|
/**
|
|
4405
4417
|
* Divider — MD3 Styled Component (Layer 3)
|
|
4406
4418
|
*
|
|
4407
4419
|
* A thin rule that separates content in lists and containers.
|
|
4408
|
-
* Supports horizontal/vertical orientations
|
|
4409
|
-
* optional subheader label that renders the text centered between two rules.
|
|
4420
|
+
* Supports horizontal/vertical orientations and four inset variants.
|
|
4410
4421
|
*
|
|
4411
4422
|
* Built on `DividerHeadless` (React Aria `useSeparator`) for accessible
|
|
4412
4423
|
* ARIA semantics. Uses CVA variants mapped to MD3 design tokens.
|
|
4413
4424
|
*
|
|
4425
|
+
* Thickness is controlled via the `--md-divider-thickness` CSS custom property
|
|
4426
|
+
* (default `1px`, matching the MD3 1dp spec). Override with a `style` prop:
|
|
4427
|
+
*
|
|
4428
|
+
* ```tsx
|
|
4429
|
+
* <Divider style={{ "--md-divider-thickness": "2px" }} />
|
|
4430
|
+
* ```
|
|
4431
|
+
*
|
|
4414
4432
|
* @example
|
|
4415
4433
|
* ```tsx
|
|
4416
4434
|
* // Full-bleed horizontal divider
|
|
4417
4435
|
* <Divider />
|
|
4418
4436
|
*
|
|
4419
|
-
* // Inset from
|
|
4437
|
+
* // Inset from inline-start (RTL-aware, 16dp)
|
|
4420
4438
|
* <Divider inset="start" />
|
|
4421
4439
|
*
|
|
4422
4440
|
* // Vertical divider inside a flex row
|
|
4423
4441
|
* <Divider orientation="vertical" />
|
|
4424
4442
|
*
|
|
4425
|
-
* //
|
|
4426
|
-
* <Divider
|
|
4443
|
+
* // Custom thickness
|
|
4444
|
+
* <Divider style={{ "--md-divider-thickness": "2px" }} />
|
|
4427
4445
|
* ```
|
|
4428
4446
|
*/
|
|
4429
4447
|
declare const Divider: React$1.ForwardRefExoticComponent<DividerProps & React$1.RefAttributes<HTMLElement>>;
|
|
@@ -4437,14 +4455,13 @@ declare const Divider: React$1.ForwardRefExoticComponent<DividerProps & React$1.
|
|
|
4437
4455
|
* - Horizontal → renders `<hr>` (implicit ARIA separator role)
|
|
4438
4456
|
* - Vertical → renders `<div>` with explicit `role="separator"`
|
|
4439
4457
|
*
|
|
4440
|
-
* Bring your own styles via the `className`
|
|
4458
|
+
* Bring your own styles via the `className` or `style` props.
|
|
4441
4459
|
*
|
|
4442
4460
|
* @example
|
|
4443
4461
|
* ```tsx
|
|
4444
|
-
* // Used inside the styled Divider, or directly for custom styling:
|
|
4445
4462
|
* <DividerHeadless
|
|
4446
4463
|
* orientation="horizontal"
|
|
4447
|
-
* className="
|
|
4464
|
+
* className="w-full h-px bg-outline-variant"
|
|
4448
4465
|
* />
|
|
4449
4466
|
* ```
|
|
4450
4467
|
*/
|
|
@@ -4453,17 +4470,33 @@ declare const DividerHeadless: React$1.ForwardRefExoticComponent<DividerHeadless
|
|
|
4453
4470
|
/**
|
|
4454
4471
|
* Material Design 3 Divider Variants (CVA)
|
|
4455
4472
|
*
|
|
4456
|
-
*
|
|
4457
|
-
*
|
|
4473
|
+
* Architecture: Variants only — the Divider is a static, non-interactive element
|
|
4474
|
+
* (no hover/focus/pressed states) so there is no state-layer machinery.
|
|
4475
|
+
*
|
|
4476
|
+
* Implementation strategy:
|
|
4477
|
+
* The border-* approach used previously required separate horizontal/vertical
|
|
4478
|
+
* logic and could not share a single thickness control. We now use a background
|
|
4479
|
+
* fill on a zero-border element, driven by a CSS custom property, which is the
|
|
4480
|
+
* same technique used by the official @material/web md-divider implementation.
|
|
4481
|
+
*
|
|
4482
|
+
* CSS variable:
|
|
4483
|
+
* --md-divider-thickness (default: 1px, MD3 spec: 1dp)
|
|
4484
|
+
* Override via style or a Tailwind arbitrary property:
|
|
4485
|
+
* <Divider style={{ "--md-divider-thickness": "2px" }} />
|
|
4458
4486
|
*
|
|
4459
4487
|
* Orientation:
|
|
4460
|
-
* horizontal —
|
|
4461
|
-
* vertical —
|
|
4488
|
+
* horizontal — full-width strip, height driven by --md-divider-thickness
|
|
4489
|
+
* vertical — self-stretches to container height, width driven by var
|
|
4490
|
+
*
|
|
4491
|
+
* Inset (MD3 spec: 16dp logical offset, RTL-aware):
|
|
4492
|
+
* start — ms-4 (inline-start, adapts to writing direction)
|
|
4493
|
+
* end — me-4 (inline-end)
|
|
4494
|
+
* both — ms-4 me-4
|
|
4462
4495
|
*
|
|
4463
|
-
*
|
|
4464
|
-
*
|
|
4465
|
-
*
|
|
4466
|
-
*
|
|
4496
|
+
* MD3 Spec references:
|
|
4497
|
+
* Color: outline-variant (--md-sys-color-outline-variant)
|
|
4498
|
+
* Thickness: 1dp (no MD3 component token — exposed as a CSS var for parity with md-web)
|
|
4499
|
+
* Inset: 16dp (--md-comp-divider-leading-space / --md-comp-divider-trailing-space)
|
|
4467
4500
|
*/
|
|
4468
4501
|
declare const dividerVariants: (props?: ({
|
|
4469
4502
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
@@ -10187,9 +10220,10 @@ type DateSelectionMode = "single" | "range";
|
|
|
10187
10220
|
*/
|
|
10188
10221
|
type CalendarView = "day" | "month" | "year";
|
|
10189
10222
|
/**
|
|
10190
|
-
*
|
|
10191
|
-
*
|
|
10192
|
-
*
|
|
10223
|
+
* Semantic state of a calendar date cell.
|
|
10224
|
+
* Used to describe which visual treatment applies; the actual styling is driven
|
|
10225
|
+
* by presence-based `data-*` attributes on the cell element, not by this type
|
|
10226
|
+
* as a CVA variant key.
|
|
10193
10227
|
*/
|
|
10194
10228
|
type CalendarCellType = "default" | "today" | "selected" | "selected-range-middle" | "outside-month" | "disabled";
|
|
10195
10229
|
/**
|
|
@@ -10331,7 +10365,7 @@ interface DatePickerHeadlessProps {
|
|
|
10331
10365
|
/**
|
|
10332
10366
|
* Children rendered inside the picker (render prop pattern for styled layer).
|
|
10333
10367
|
*/
|
|
10334
|
-
children?:
|
|
10368
|
+
children?: React__default.ReactNode;
|
|
10335
10369
|
}
|
|
10336
10370
|
/**
|
|
10337
10371
|
* Props for the MD3 Styled DatePicker component (Layer 3).
|
|
@@ -10432,10 +10466,6 @@ interface CalendarCellProps {
|
|
|
10432
10466
|
* The date this cell represents.
|
|
10433
10467
|
*/
|
|
10434
10468
|
date: DateValue;
|
|
10435
|
-
/**
|
|
10436
|
-
* Visual type of the cell.
|
|
10437
|
-
*/
|
|
10438
|
-
cellType?: CalendarCellType;
|
|
10439
10469
|
/**
|
|
10440
10470
|
* Whether this cell is outside the currently displayed month.
|
|
10441
10471
|
*/
|
|
@@ -10490,6 +10520,18 @@ interface DateFieldProps {
|
|
|
10490
10520
|
/** Additional CSS classes */
|
|
10491
10521
|
className?: string;
|
|
10492
10522
|
}
|
|
10523
|
+
type AnyComponent = React__default.ComponentType<any>;
|
|
10524
|
+
/**
|
|
10525
|
+
* Slots for injecting styled sub-components into CalendarCore.
|
|
10526
|
+
* Mirrors CalendarSlots from CalendarCore — duplicated here to avoid circular imports.
|
|
10527
|
+
*/
|
|
10528
|
+
interface DatePickerCalendarSlots {
|
|
10529
|
+
CellComponent?: AnyComponent;
|
|
10530
|
+
NavButtonComponent?: AnyComponent;
|
|
10531
|
+
TitleComponent?: AnyComponent;
|
|
10532
|
+
YearItemComponent?: AnyComponent;
|
|
10533
|
+
WeekdayComponent?: AnyComponent;
|
|
10534
|
+
}
|
|
10493
10535
|
/**
|
|
10494
10536
|
* Props for the DatePickerDocked headless component (Layer 2).
|
|
10495
10537
|
*
|
|
@@ -10547,8 +10589,23 @@ interface DatePickerDockedProps {
|
|
|
10547
10589
|
onCancel?: () => void;
|
|
10548
10590
|
/** Called when the confirm button is pressed */
|
|
10549
10591
|
onConfirm?: (value: DateValue | null) => void;
|
|
10550
|
-
/** Additional CSS classes */
|
|
10592
|
+
/** Additional CSS classes on the root wrapper */
|
|
10551
10593
|
className?: string;
|
|
10594
|
+
/**
|
|
10595
|
+
* CSS classes applied to the portaled calendar popover panel.
|
|
10596
|
+
* Used by the styled layer to inject popover surface + calendar layout styles.
|
|
10597
|
+
*/
|
|
10598
|
+
popoverClassName?: string;
|
|
10599
|
+
/**
|
|
10600
|
+
* Calendar slot component overrides (cells, nav buttons, year items, etc.).
|
|
10601
|
+
* Used by the styled layer to inject CVA + state-layer components.
|
|
10602
|
+
*/
|
|
10603
|
+
slots?: DatePickerCalendarSlots;
|
|
10604
|
+
/**
|
|
10605
|
+
* Slot component for action buttons (Cancel / OK).
|
|
10606
|
+
* Used by the styled layer to inject CVA + state-layer styled buttons.
|
|
10607
|
+
*/
|
|
10608
|
+
ActionButtonComponent?: AnyComponent;
|
|
10552
10609
|
}
|
|
10553
10610
|
/**
|
|
10554
10611
|
* Props for the DatePickerModal headless component (Layer 2).
|
|
@@ -10633,6 +10690,15 @@ interface DatePickerModalProps {
|
|
|
10633
10690
|
onClear?: () => void;
|
|
10634
10691
|
/** Additional CSS classes */
|
|
10635
10692
|
className?: string;
|
|
10693
|
+
/**
|
|
10694
|
+
* CSS classes applied directly to the `[data-scrim]` overlay element.
|
|
10695
|
+
* Used by the styled layer to inject scrim surface styles.
|
|
10696
|
+
*/
|
|
10697
|
+
scrimClassName?: string;
|
|
10698
|
+
/** Calendar slot component overrides. */
|
|
10699
|
+
slots?: DatePickerCalendarSlots;
|
|
10700
|
+
/** Slot component for action buttons. */
|
|
10701
|
+
ActionButtonComponent?: AnyComponent;
|
|
10636
10702
|
}
|
|
10637
10703
|
/**
|
|
10638
10704
|
* Props for the DatePickerModalHeader sub-component.
|
|
@@ -10874,6 +10940,13 @@ interface DatePickerModalInputProps {
|
|
|
10874
10940
|
onModeToggle?: () => void;
|
|
10875
10941
|
/** Additional CSS classes */
|
|
10876
10942
|
className?: string;
|
|
10943
|
+
/**
|
|
10944
|
+
* CSS classes applied directly to the `[data-scrim]` overlay element.
|
|
10945
|
+
* Used by the styled layer to inject scrim surface styles.
|
|
10946
|
+
*/
|
|
10947
|
+
scrimClassName?: string;
|
|
10948
|
+
/** Slot component for action buttons. */
|
|
10949
|
+
ActionButtonComponent?: AnyComponent;
|
|
10877
10950
|
}
|
|
10878
10951
|
|
|
10879
10952
|
/**
|
|
@@ -10924,12 +10997,15 @@ declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & Re
|
|
|
10924
10997
|
* Provides the complete docked date picker behavior:
|
|
10925
10998
|
* - Segmented date field trigger (MM/DD/YYYY)
|
|
10926
10999
|
* - Calendar icon button to toggle the calendar popover
|
|
10927
|
-
* - Inline popover containing the CalendarCore
|
|
11000
|
+
* - Inline popover containing the CalendarCore
|
|
10928
11001
|
* - Action buttons (Cancel, OK) at the bottom
|
|
10929
11002
|
* - Open/close state management via React Aria overlays
|
|
10930
11003
|
*
|
|
11004
|
+
* Accepts `slots` and `ActionButtonComponent` to allow Layer-3 styled wrappers
|
|
11005
|
+
* to inject CVA-styled sub-components without modifying this headless layer.
|
|
11006
|
+
*
|
|
10931
11007
|
* This is a headless component — it provides behavior, ARIA semantics, and
|
|
10932
|
-
* data attributes only. No styling classes are applied.
|
|
11008
|
+
* data attributes only. No styling classes are applied to internal elements.
|
|
10933
11009
|
*
|
|
10934
11010
|
* @example
|
|
10935
11011
|
* ```tsx
|
|
@@ -10939,7 +11015,7 @@ declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & Re
|
|
|
10939
11015
|
* />
|
|
10940
11016
|
* ```
|
|
10941
11017
|
*/
|
|
10942
|
-
declare const DatePickerDocked:
|
|
11018
|
+
declare const DatePickerDocked: React__default.ForwardRefExoticComponent<DatePickerDockedProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
10943
11019
|
|
|
10944
11020
|
/**
|
|
10945
11021
|
* Headless DatePickerModal (Layer 2)
|
|
@@ -11017,6 +11093,87 @@ declare const DatePickerModal: React$1.ForwardRefExoticComponent<DatePickerModal
|
|
|
11017
11093
|
*/
|
|
11018
11094
|
declare const DatePickerModalInput: React$1.ForwardRefExoticComponent<DatePickerModalInputProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
11019
11095
|
|
|
11096
|
+
/**
|
|
11097
|
+
* Slot component type for rendering an individual calendar date cell.
|
|
11098
|
+
* Defaults to the headless `CalendarCell`.
|
|
11099
|
+
*/
|
|
11100
|
+
interface CalendarCellComponentProps {
|
|
11101
|
+
date: CalendarDate;
|
|
11102
|
+
state: CalendarState | RangeCalendarState;
|
|
11103
|
+
}
|
|
11104
|
+
|
|
11105
|
+
/**
|
|
11106
|
+
* Internal props for a calendar navigation button.
|
|
11107
|
+
* Matches the subset of AriaButtonProps returned by useCalendar.
|
|
11108
|
+
* @internal
|
|
11109
|
+
*/
|
|
11110
|
+
interface CalendarNavigationButtonProps {
|
|
11111
|
+
/** Accessible label for the button */
|
|
11112
|
+
"aria-label"?: string | undefined;
|
|
11113
|
+
/** Handler called when the button is pressed */
|
|
11114
|
+
onPress?: ((e: PressEvent) => void) | undefined;
|
|
11115
|
+
/** Whether the button is disabled */
|
|
11116
|
+
isDisabled?: boolean | undefined;
|
|
11117
|
+
}
|
|
11118
|
+
/**
|
|
11119
|
+
* Props for a slot navigation button component.
|
|
11120
|
+
* Receives all CalendarNavigationButtonProps plus children (the icon).
|
|
11121
|
+
*/
|
|
11122
|
+
interface NavButtonComponentProps extends CalendarNavigationButtonProps {
|
|
11123
|
+
children?: React__default.ReactNode;
|
|
11124
|
+
}
|
|
11125
|
+
/**
|
|
11126
|
+
* Props for a slot title component.
|
|
11127
|
+
*/
|
|
11128
|
+
interface TitleComponentProps {
|
|
11129
|
+
/** The formatted title string (e.g., "August 2025") */
|
|
11130
|
+
title: string;
|
|
11131
|
+
/** Handler when the title is clicked to toggle year view */
|
|
11132
|
+
onClick?: (() => void) | undefined;
|
|
11133
|
+
/** Whether to show the dropdown indicator */
|
|
11134
|
+
showDropdownIndicator?: boolean | undefined;
|
|
11135
|
+
}
|
|
11136
|
+
|
|
11137
|
+
/**
|
|
11138
|
+
* Slot component overrides for the calendar.
|
|
11139
|
+
* Pass styled components from Layer 3 to inject CVA + state layers without
|
|
11140
|
+
* modifying the headless behavior.
|
|
11141
|
+
*/
|
|
11142
|
+
interface CalendarSlots {
|
|
11143
|
+
/**
|
|
11144
|
+
* Component for rendering each date cell.
|
|
11145
|
+
* Defaults to the headless `CalendarCell`.
|
|
11146
|
+
*/
|
|
11147
|
+
CellComponent?: React__default.ComponentType<CalendarCellComponentProps>;
|
|
11148
|
+
/**
|
|
11149
|
+
* Component for rendering navigation buttons (prev/next month).
|
|
11150
|
+
* Defaults to the built-in unstyled button.
|
|
11151
|
+
*/
|
|
11152
|
+
NavButtonComponent?: React__default.ComponentType<NavButtonComponentProps>;
|
|
11153
|
+
/**
|
|
11154
|
+
* Component for rendering the month/year title pill.
|
|
11155
|
+
* Defaults to the built-in unstyled div/button.
|
|
11156
|
+
*/
|
|
11157
|
+
TitleComponent?: React__default.ComponentType<TitleComponentProps>;
|
|
11158
|
+
/**
|
|
11159
|
+
* Component for rendering each year item in the year-selection grid.
|
|
11160
|
+
*/
|
|
11161
|
+
YearItemComponent?: React__default.ComponentType<YearItemComponentProps>;
|
|
11162
|
+
/**
|
|
11163
|
+
* Component for rendering weekday column headers.
|
|
11164
|
+
*/
|
|
11165
|
+
WeekdayComponent?: React__default.ComponentType<{
|
|
11166
|
+
label: string;
|
|
11167
|
+
}>;
|
|
11168
|
+
}
|
|
11169
|
+
/**
|
|
11170
|
+
* Props for a year item slot component.
|
|
11171
|
+
*/
|
|
11172
|
+
interface YearItemComponentProps {
|
|
11173
|
+
year: number;
|
|
11174
|
+
isSelected: boolean;
|
|
11175
|
+
onSelect: (year: number) => void;
|
|
11176
|
+
}
|
|
11020
11177
|
/**
|
|
11021
11178
|
* Props for the CalendarCore headless component (Layer 2).
|
|
11022
11179
|
*
|
|
@@ -11082,6 +11239,11 @@ interface CalendarCoreProps {
|
|
|
11082
11239
|
"aria-label"?: string;
|
|
11083
11240
|
/** ID of labelling element */
|
|
11084
11241
|
"aria-labelledby"?: string;
|
|
11242
|
+
/**
|
|
11243
|
+
* Slot component overrides — pass styled components from Layer 3 to inject
|
|
11244
|
+
* CVA classes and state layers into the calendar internals.
|
|
11245
|
+
*/
|
|
11246
|
+
slots?: CalendarSlots;
|
|
11085
11247
|
}
|
|
11086
11248
|
/**
|
|
11087
11249
|
* Headless CalendarCore (Layer 2)
|
|
@@ -11093,8 +11255,9 @@ interface CalendarCoreProps {
|
|
|
11093
11255
|
* Supports day view (calendar grid) and year view (3-column year selection grid)
|
|
11094
11256
|
* toggled by clicking the month/year title in the header.
|
|
11095
11257
|
*
|
|
11096
|
-
*
|
|
11097
|
-
*
|
|
11258
|
+
* The `slots` prop allows Layer-3 styled components to inject styled sub-components
|
|
11259
|
+
* (cells, nav buttons, title, year items, weekday labels) without modifying this
|
|
11260
|
+
* headless layer.
|
|
11098
11261
|
*
|
|
11099
11262
|
* @example
|
|
11100
11263
|
* ```tsx
|
|
@@ -11122,94 +11285,451 @@ declare const CalendarCore: React__default.ForwardRefExoticComponent<CalendarCor
|
|
|
11122
11285
|
declare const DateField: React$1.ForwardRefExoticComponent<DateFieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
11123
11286
|
|
|
11124
11287
|
/**
|
|
11125
|
-
*
|
|
11126
|
-
*
|
|
11288
|
+
* StyledCalendarCell (Layer 3 slot)
|
|
11289
|
+
*
|
|
11290
|
+
* Wraps the headless `CalendarCell` with MD3 styling via CVA slot variants.
|
|
11291
|
+
* Injects the CVA class string as `className`, and renders the state-layer and
|
|
11292
|
+
* focus-ring overlays as children inside the cell (alongside the date text,
|
|
11293
|
+
* which the headless layer always renders).
|
|
11294
|
+
*
|
|
11295
|
+
* Architecture:
|
|
11296
|
+
* - `calendarCellVariants` — 48dp circle, body-large, data-* state tokens
|
|
11297
|
+
* Carries `group/calendar-cell`.
|
|
11298
|
+
* - `calendarCellStateLayerVariants` — absolute opacity overlay; responds to
|
|
11299
|
+
* `group-data-[hovered|focus-visible|pressed]/calendar-cell`
|
|
11300
|
+
* - `calendarCellFocusRingVariants` — absolute outline ring; keyboard-only
|
|
11301
|
+
*
|
|
11302
|
+
* @internal — passed to CalendarCore via `slots.CellComponent`
|
|
11303
|
+
*/
|
|
11304
|
+
declare function StyledCalendarCell({ date, state }: CalendarCellComponentProps): JSX.Element;
|
|
11305
|
+
declare namespace StyledCalendarCell {
|
|
11306
|
+
var displayName: string;
|
|
11307
|
+
}
|
|
11308
|
+
|
|
11309
|
+
/**
|
|
11310
|
+
* StyledNavButton (Layer 3 slot)
|
|
11311
|
+
*
|
|
11312
|
+
* MD3-styled navigation button for previous/next month.
|
|
11313
|
+
* 40dp circle, on-surface-variant icon, with state layer + focus ring.
|
|
11314
|
+
*
|
|
11315
|
+
* Architecture:
|
|
11316
|
+
* - `navButtonVariants` — 40dp circle, on-surface-variant, group/nav-button
|
|
11317
|
+
* - `navButtonStateLayerVariants` — absolute opacity overlay
|
|
11318
|
+
* - `navButtonFocusRingVariants` — keyboard-only outline ring
|
|
11319
|
+
*
|
|
11320
|
+
* @internal — passed to CalendarHeader via the NavButtonComponent slot
|
|
11321
|
+
*/
|
|
11322
|
+
declare function StyledNavButton({ children, isDisabled, onPress, "aria-label": ariaLabel, }: NavButtonComponentProps): JSX.Element;
|
|
11323
|
+
declare namespace StyledNavButton {
|
|
11324
|
+
var displayName: string;
|
|
11325
|
+
}
|
|
11326
|
+
/**
|
|
11327
|
+
* StyledCalendarTitle (Layer 3 slot)
|
|
11328
|
+
*
|
|
11329
|
+
* MD3-styled month/year title toggle pill.
|
|
11330
|
+
* Pill shape, label-large, on-surface-variant, with state layer.
|
|
11331
|
+
*
|
|
11332
|
+
* Architecture:
|
|
11333
|
+
* - `calendarTitleVariants` — pill, group/calendar-title
|
|
11334
|
+
* - `calendarTitleStateLayerVariants` — absolute opacity overlay
|
|
11335
|
+
*
|
|
11336
|
+
* @internal — passed to CalendarHeader via the TitleComponent slot
|
|
11337
|
+
*/
|
|
11338
|
+
declare function StyledCalendarTitle({ title, onClick, showDropdownIndicator, }: TitleComponentProps): JSX.Element;
|
|
11339
|
+
declare namespace StyledCalendarTitle {
|
|
11340
|
+
var displayName: string;
|
|
11341
|
+
}
|
|
11342
|
+
|
|
11343
|
+
/**
|
|
11344
|
+
* StyledYearItem (Layer 3 slot)
|
|
11345
|
+
*
|
|
11346
|
+
* MD3-styled year selection item.
|
|
11347
|
+
* 88×52dp pill, body-large, on-surface-variant/on-primary for selected,
|
|
11348
|
+
* with state layer + focus ring.
|
|
11349
|
+
*
|
|
11350
|
+
* Architecture:
|
|
11351
|
+
* - `yearItemVariants` — pill shape, body-large, data-[selected] bg-primary,
|
|
11352
|
+
* carries `group/year-item`
|
|
11353
|
+
* - `yearItemStateLayerVariants` — absolute opacity overlay; switches color on selected
|
|
11354
|
+
* - `yearItemFocusRingVariants` — keyboard-only outline ring
|
|
11355
|
+
*
|
|
11356
|
+
* @internal — passed to CalendarCore via `slots.YearItemComponent`
|
|
11357
|
+
*/
|
|
11358
|
+
declare function StyledYearItem({ year, isSelected, onSelect, }: YearItemComponentProps): JSX.Element;
|
|
11359
|
+
declare namespace StyledYearItem {
|
|
11360
|
+
var displayName: string;
|
|
11361
|
+
}
|
|
11362
|
+
|
|
11363
|
+
/**
|
|
11364
|
+
* StyledWeekday (Layer 3 slot)
|
|
11365
|
+
*
|
|
11366
|
+
* MD3-styled weekday column header cell.
|
|
11367
|
+
* body-small, on-surface-variant, 48dp width and height, centered.
|
|
11368
|
+
*
|
|
11369
|
+
* @internal — passed to CalendarCore via `slots.WeekdayComponent`
|
|
11370
|
+
*/
|
|
11371
|
+
declare function StyledWeekday({ label }: {
|
|
11372
|
+
label: string;
|
|
11373
|
+
}): JSX.Element;
|
|
11374
|
+
declare namespace StyledWeekday {
|
|
11375
|
+
var displayName: string;
|
|
11376
|
+
}
|
|
11377
|
+
|
|
11378
|
+
/**
|
|
11379
|
+
* Props for an injectable action button slot component.
|
|
11380
|
+
*/
|
|
11381
|
+
interface ActionButtonSlotProps {
|
|
11382
|
+
/** Visible label text */
|
|
11383
|
+
label: string;
|
|
11384
|
+
/** Accessible label */
|
|
11385
|
+
"aria-label"?: string | undefined;
|
|
11386
|
+
/** Called when the button is pressed */
|
|
11387
|
+
onPress?: (() => void) | undefined;
|
|
11388
|
+
/** Whether the button is disabled */
|
|
11389
|
+
isDisabled?: boolean | undefined;
|
|
11390
|
+
/** data-action attribute value ("clear" | "cancel" | "confirm") */
|
|
11391
|
+
"data-action": string;
|
|
11392
|
+
}
|
|
11393
|
+
|
|
11394
|
+
/**
|
|
11395
|
+
* StyledActionButton (Layer 3 slot)
|
|
11396
|
+
*
|
|
11397
|
+
* MD3-styled Cancel / OK / Clear text button.
|
|
11398
|
+
* label-large, primary color, pill shape, with state layer + focus ring.
|
|
11399
|
+
*
|
|
11400
|
+
* Architecture:
|
|
11401
|
+
* - `actionButtonVariants` — pill, label-large, text-primary, group/action-button
|
|
11402
|
+
* - `actionButtonStateLayerVariants` — absolute opacity overlay; bg-primary
|
|
11403
|
+
* - `actionButtonFocusRingVariants` — keyboard-only outline ring
|
|
11404
|
+
*
|
|
11405
|
+
* @internal — passed to DatePickerActions via `ButtonComponent` slot
|
|
11406
|
+
*/
|
|
11407
|
+
declare function StyledActionButton({ label, "aria-label": ariaLabel, onPress, isDisabled, "data-action": dataAction, }: ActionButtonSlotProps): JSX.Element;
|
|
11408
|
+
declare namespace StyledActionButton {
|
|
11409
|
+
var displayName: string;
|
|
11410
|
+
}
|
|
11411
|
+
|
|
11412
|
+
/**
|
|
11413
|
+
* Material Design 3 DatePicker Variants
|
|
11414
|
+
*
|
|
11415
|
+
* Architecture: Variants vs States
|
|
11416
|
+
* - CVA holds design-time structure only. No interaction state variants
|
|
11417
|
+
* (hovered/focused/pressed/disabled) live in CVA.
|
|
11418
|
+
* - All interaction/selection states are driven by data-* attributes emitted
|
|
11419
|
+
* via `getInteractionDataAttributes` and consumed by `group-data-[x]/<name>`
|
|
11420
|
+
* Tailwind selectors in each slot's base classes.
|
|
11421
|
+
* - Content flags (data-selected, data-today, data-range-middle, data-disabled,
|
|
11422
|
+
* data-outside-month, data-range-start, data-range-end, data-focus-visible,
|
|
11423
|
+
* data-hovered, data-pressed) are set by the headless cell/nav/year layers.
|
|
11424
|
+
*
|
|
11425
|
+
* Slot responsibilities:
|
|
11426
|
+
* datePickerContainerVariants — root container; shape, surface, width by variant
|
|
11427
|
+
* calendarCellVariants — 48dp date cell root; carries `group/calendar-cell`
|
|
11428
|
+
* calendarCellStateLayerVariants — hover/focus/pressed state-layer overlay
|
|
11429
|
+
* calendarCellFocusRingVariants — keyboard focus ring for cells
|
|
11430
|
+
* navButtonVariants — 40dp icon nav button; carries `group/nav-button`
|
|
11431
|
+
* navButtonStateLayerVariants — state layer for nav button
|
|
11432
|
+
* calendarTitleVariants — month/year toggle pill; carries `group/calendar-title`
|
|
11433
|
+
* calendarTitleStateLayerVariants — state layer for title button
|
|
11434
|
+
* calendarHeaderVariants — header row layout
|
|
11435
|
+
* yearItemVariants — 88×52 pill year item; carries `group/year-item`
|
|
11436
|
+
* yearItemStateLayerVariants — state layer for year item
|
|
11437
|
+
* yearGridVariants — scrollable year grid container
|
|
11438
|
+
* weekdayVariants — "S M T W T F S" label cells
|
|
11439
|
+
* dividerVariants — 1dp outline-variant separator
|
|
11440
|
+
* actionButtonVariants — Cancel/OK/Clear text button; carries `group/action-button`
|
|
11441
|
+
* actionButtonStateLayerVariants — state layer for action buttons
|
|
11442
|
+
* actionRowVariants — action button row layout
|
|
11443
|
+
* modalDialogVariants — centered fixed modal dialog panel
|
|
11444
|
+
* modalHeaderVariants — modal header layout
|
|
11445
|
+
* headlineVariants — label-large supporting headline text
|
|
11446
|
+
* supportingTextVariants — headline-large selected-date display
|
|
11447
|
+
* modeToggleVariants — calendar/keyboard mode toggle button; carries `group/mode-toggle`
|
|
11448
|
+
* modeToggleStateLayerVariants — state layer for mode toggle
|
|
11449
|
+
* scrimVariants — full-viewport dark overlay
|
|
11450
|
+
* dateInputFieldVariants — outlined date input field wrapper
|
|
11451
|
+
* dateInputFieldGroupVariants — inner outlined container + focus/invalid borders
|
|
11452
|
+
* dockedFieldGroupVariants — docked trigger: outlined field + icon
|
|
11453
|
+
* dockedTriggerVariants — calendar icon button; carries `group/docked-trigger`
|
|
11454
|
+
* dockedTriggerStateLayerVariants — state layer for docked trigger
|
|
11455
|
+
* popoverVariants — docked calendar popover panel
|
|
11456
|
+
*
|
|
11457
|
+
* MD3 Spec (https://m3.material.io/components/date-pickers/specs):
|
|
11458
|
+
* Container: surface-container-high, 28dp corner (extra-large)
|
|
11459
|
+
* Date cell: 48dp circle
|
|
11460
|
+
* Nav button: 40dp, rounded-full
|
|
11461
|
+
* Year item: 88×52dp, pill
|
|
11462
|
+
* State-layer opacities: hover 8% | focus 10% | pressed 10% | disabled 38%
|
|
11463
|
+
* Motion tier: Spring standard FAST (< 48dp interactive elements)
|
|
11464
|
+
* Modal enter: animate-md-scale-in | Exit: animate-md-scale-out
|
|
11465
|
+
* Popover enter: standard-decelerate / short3
|
|
11466
|
+
*/
|
|
11467
|
+
/**
|
|
11468
|
+
* Container variants — width and surface styling by structural variant.
|
|
11469
|
+
*
|
|
11470
|
+
* - **docked**: Root wrapper is layout-only (width). Calendar surface styling
|
|
11471
|
+
* (`bg-surface-container-high`, `rounded-3xl`) is applied to `[data-popover]`
|
|
11472
|
+
* via `DOCKED_POPOVER_STRUCTURAL` in `datePickerStructuralStyles.ts`.
|
|
11473
|
+
* - **modal** / **modal-input**: Full container styling on `[data-modal-dialog]`.
|
|
11474
|
+
*
|
|
11475
|
+
* MD3 spec: surface-container-high, 28dp corner radius (extra-large = rounded-3xl).
|
|
11127
11476
|
*/
|
|
11128
11477
|
declare const datePickerContainerVariants: (props?: ({
|
|
11129
11478
|
variant?: "modal" | "docked" | "modal-input" | null | undefined;
|
|
11130
11479
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11131
11480
|
type DatePickerContainerVariants = VariantProps<typeof datePickerContainerVariants>;
|
|
11132
11481
|
/**
|
|
11133
|
-
*
|
|
11134
|
-
*
|
|
11482
|
+
* Date cell root — carries `group/calendar-cell`.
|
|
11483
|
+
*
|
|
11484
|
+
* Structure + visual states are driven by presence-based data-* attributes on
|
|
11485
|
+
* the root via self-targeting `data-[x]:` and `group-data-[x]/calendar-cell:`
|
|
11486
|
+
* selectors — NOT via CVA variants.
|
|
11487
|
+
*
|
|
11488
|
+
* Cell state progression:
|
|
11489
|
+
* default: text-on-surface
|
|
11490
|
+
* today (unselected): text-primary + border border-primary
|
|
11491
|
+
* selected: bg-primary + text-on-primary (full circle)
|
|
11492
|
+
* range-start/end: bg-primary + text-on-primary + half-pill rounding
|
|
11493
|
+
* range-middle: bg-secondary-container + text-on-secondary-container + no rounding
|
|
11494
|
+
* outside-month: text-on-surface-variant
|
|
11495
|
+
* disabled: text-on-surface/38, cursor-not-allowed
|
|
11496
|
+
* unavailable: text-on-surface/38, line-through
|
|
11497
|
+
*
|
|
11498
|
+
* Interaction states via state layer (see calendarCellStateLayerVariants):
|
|
11499
|
+
* hover 8% | focus-visible 10% | pressed 10%
|
|
11135
11500
|
*/
|
|
11136
|
-
declare const calendarCellVariants: (props?:
|
|
11137
|
-
cellType?: "disabled" | "default" | "selected" | "today" | "selected-range-middle" | "outside-month" | null | undefined;
|
|
11138
|
-
state?: "focused" | "enabled" | "hovered" | "pressed" | null | undefined;
|
|
11139
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11501
|
+
declare const calendarCellVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11140
11502
|
type CalendarCellVariants = VariantProps<typeof calendarCellVariants>;
|
|
11141
11503
|
/**
|
|
11142
|
-
*
|
|
11504
|
+
* Calendar cell state layer — absolute overlay inside the cell.
|
|
11505
|
+
*
|
|
11506
|
+
* Color: on-surface (unselected) → on-primary (selected) → on-secondary-container (range-middle).
|
|
11507
|
+
* Opacity: 0 rest → 8% hover → 10% focus-visible → 10% pressed → hidden disabled.
|
|
11508
|
+
* Effects spring (fast tier — small < 48dp control).
|
|
11143
11509
|
*/
|
|
11144
|
-
declare const
|
|
11145
|
-
|
|
11146
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11147
|
-
type DatePickerHeaderVariants = VariantProps<typeof datePickerHeaderVariants>;
|
|
11510
|
+
declare const calendarCellStateLayerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11511
|
+
type CalendarCellStateLayerVariants = VariantProps<typeof calendarCellStateLayerVariants>;
|
|
11148
11512
|
/**
|
|
11149
|
-
*
|
|
11513
|
+
* Calendar cell focus ring — keyboard-only visible ring.
|
|
11514
|
+
* Rendered as an absolute inset so overflow-hidden never clips it.
|
|
11150
11515
|
*/
|
|
11151
|
-
declare const
|
|
11152
|
-
|
|
11153
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11154
|
-
type DatePickerNavVariants = VariantProps<typeof datePickerNavVariants>;
|
|
11516
|
+
declare const calendarCellFocusRingVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11517
|
+
type CalendarCellFocusRingVariants = VariantProps<typeof calendarCellFocusRingVariants>;
|
|
11155
11518
|
/**
|
|
11156
|
-
*
|
|
11157
|
-
* MD3 spec: 88dp × 52dp, pill shape when selected.
|
|
11519
|
+
* Calendar header row — flex layout, padding per MD3 spec.
|
|
11158
11520
|
*/
|
|
11159
|
-
declare const
|
|
11160
|
-
|
|
11161
|
-
|
|
11162
|
-
|
|
11521
|
+
declare const calendarHeaderVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11522
|
+
type CalendarHeaderVariants = VariantProps<typeof calendarHeaderVariants>;
|
|
11523
|
+
/**
|
|
11524
|
+
* Navigation button (previous/next month) — 40dp circle, carries `group/nav-button`.
|
|
11525
|
+
*
|
|
11526
|
+
* MD3 spec: 40dp icon button, on-surface-variant color, transparent bg.
|
|
11527
|
+
* State layer: hover 8%, focus 10%, pressed 10%.
|
|
11528
|
+
*/
|
|
11529
|
+
declare const navButtonVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11530
|
+
type NavButtonVariants = VariantProps<typeof navButtonVariants>;
|
|
11531
|
+
/**
|
|
11532
|
+
* Nav button state layer.
|
|
11533
|
+
*/
|
|
11534
|
+
declare const navButtonStateLayerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11535
|
+
type NavButtonStateLayerVariants = VariantProps<typeof navButtonStateLayerVariants>;
|
|
11536
|
+
/**
|
|
11537
|
+
* Nav button focus ring.
|
|
11538
|
+
*/
|
|
11539
|
+
declare const navButtonFocusRingVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11540
|
+
type NavButtonFocusRingVariants = VariantProps<typeof navButtonFocusRingVariants>;
|
|
11541
|
+
/**
|
|
11542
|
+
* Month/year title toggle pill — carries `group/calendar-title`.
|
|
11543
|
+
*
|
|
11544
|
+
* MD3 spec: label-large text, on-surface-variant, pill shape, transparent bg.
|
|
11545
|
+
*/
|
|
11546
|
+
declare const calendarTitleVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11547
|
+
type CalendarTitleVariants = VariantProps<typeof calendarTitleVariants>;
|
|
11548
|
+
/**
|
|
11549
|
+
* Calendar title text inside the title button.
|
|
11550
|
+
* label-large, on-surface-variant per MD3.
|
|
11551
|
+
*/
|
|
11552
|
+
declare const calendarTitleTextVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11553
|
+
type CalendarTitleTextVariants = VariantProps<typeof calendarTitleTextVariants>;
|
|
11554
|
+
/**
|
|
11555
|
+
* Calendar title dropdown icon color.
|
|
11556
|
+
*/
|
|
11557
|
+
declare const calendarTitleIconVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11558
|
+
type CalendarTitleIconVariants = VariantProps<typeof calendarTitleIconVariants>;
|
|
11559
|
+
/**
|
|
11560
|
+
* Calendar title state layer.
|
|
11561
|
+
*/
|
|
11562
|
+
declare const calendarTitleStateLayerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11563
|
+
type CalendarTitleStateLayerVariants = VariantProps<typeof calendarTitleStateLayerVariants>;
|
|
11564
|
+
/**
|
|
11565
|
+
* Scrollable year grid container.
|
|
11566
|
+
* MD3 spec: 3-column grid, scrollable, max height.
|
|
11567
|
+
*/
|
|
11568
|
+
declare const yearGridVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11569
|
+
type YearGridVariants = VariantProps<typeof yearGridVariants>;
|
|
11570
|
+
/**
|
|
11571
|
+
* Year item pill — carries `group/year-item`.
|
|
11572
|
+
*
|
|
11573
|
+
* MD3 spec: 88×52dp, pill, body-large text.
|
|
11574
|
+
* Selected: bg-primary text-on-primary.
|
|
11575
|
+
* Unselected: text-on-surface-variant.
|
|
11576
|
+
* All interaction states via state layer.
|
|
11577
|
+
*/
|
|
11578
|
+
declare const yearItemVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11163
11579
|
type YearItemVariants = VariantProps<typeof yearItemVariants>;
|
|
11164
11580
|
/**
|
|
11165
|
-
*
|
|
11166
|
-
*
|
|
11581
|
+
* Year item state layer.
|
|
11582
|
+
*
|
|
11583
|
+
* Color: on-surface-variant (unselected) → on-primary (selected).
|
|
11167
11584
|
*/
|
|
11168
|
-
declare const
|
|
11169
|
-
type
|
|
11585
|
+
declare const yearItemStateLayerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11586
|
+
type YearItemStateLayerVariants = VariantProps<typeof yearItemStateLayerVariants>;
|
|
11170
11587
|
/**
|
|
11171
|
-
*
|
|
11172
|
-
* MD3 spec: right-aligned, 48dp height, 12dp horizontal padding.
|
|
11588
|
+
* Year item focus ring.
|
|
11173
11589
|
*/
|
|
11174
|
-
declare const
|
|
11175
|
-
type
|
|
11590
|
+
declare const yearItemFocusRingVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11591
|
+
type YearItemFocusRingVariants = VariantProps<typeof yearItemFocusRingVariants>;
|
|
11176
11592
|
/**
|
|
11177
|
-
*
|
|
11178
|
-
* MD3 spec:
|
|
11593
|
+
* Weekday column headers (S M T W T F S).
|
|
11594
|
+
* MD3 spec: body-small, on-surface-variant, 48dp width, 48dp height, centered.
|
|
11179
11595
|
*/
|
|
11180
|
-
declare const
|
|
11181
|
-
type
|
|
11596
|
+
declare const weekdayVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11597
|
+
type WeekdayVariants = VariantProps<typeof weekdayVariants>;
|
|
11182
11598
|
/**
|
|
11183
|
-
*
|
|
11184
|
-
* MD3 spec:
|
|
11599
|
+
* 1dp separator between header and calendar body.
|
|
11600
|
+
* MD3 spec: outline-variant color.
|
|
11185
11601
|
*/
|
|
11186
|
-
declare const
|
|
11187
|
-
type
|
|
11602
|
+
declare const calendarDividerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11603
|
+
type CalendarDividerVariants = VariantProps<typeof calendarDividerVariants>;
|
|
11188
11604
|
/**
|
|
11189
|
-
*
|
|
11190
|
-
* MD3 spec:
|
|
11605
|
+
* Action button row — right-aligned flex, 48dp height.
|
|
11606
|
+
* MD3 spec: 12dp horizontal padding, 48dp row height.
|
|
11191
11607
|
*/
|
|
11192
|
-
declare const
|
|
11193
|
-
type
|
|
11608
|
+
declare const actionRowVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11609
|
+
type ActionRowVariants = VariantProps<typeof actionRowVariants>;
|
|
11194
11610
|
/**
|
|
11195
|
-
*
|
|
11196
|
-
*
|
|
11611
|
+
* Individual action button (Cancel / OK / Clear) — carries `group/action-button`.
|
|
11612
|
+
*
|
|
11613
|
+
* MD3 spec: label-large, primary color, pill shape, transparent bg.
|
|
11197
11614
|
*/
|
|
11198
|
-
declare const
|
|
11199
|
-
|
|
11615
|
+
declare const actionButtonVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11616
|
+
type ActionButtonVariants = VariantProps<typeof actionButtonVariants>;
|
|
11617
|
+
/**
|
|
11618
|
+
* Action button state layer.
|
|
11619
|
+
*/
|
|
11620
|
+
declare const actionButtonStateLayerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11621
|
+
type ActionButtonStateLayerVariants = VariantProps<typeof actionButtonStateLayerVariants>;
|
|
11622
|
+
/**
|
|
11623
|
+
* Action button focus ring.
|
|
11624
|
+
*/
|
|
11625
|
+
declare const actionButtonFocusRingVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11626
|
+
type ActionButtonFocusRingVariants = VariantProps<typeof actionButtonFocusRingVariants>;
|
|
11627
|
+
/**
|
|
11628
|
+
* Centered modal dialog panel.
|
|
11629
|
+
* MD3 spec: surface-container-high, 28dp corner, elevation-3.
|
|
11630
|
+
* Sizes: 360dp (modal) | 328dp (modal-input).
|
|
11631
|
+
*/
|
|
11632
|
+
declare const modalDialogVariants: (props?: ({
|
|
11633
|
+
variant?: "modal" | "modal-input" | null | undefined;
|
|
11200
11634
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11201
|
-
type
|
|
11635
|
+
type ModalDialogVariants = VariantProps<typeof modalDialogVariants>;
|
|
11636
|
+
/**
|
|
11637
|
+
* Modal header layout wrapper.
|
|
11638
|
+
* MD3 spec: 24dp horizontal padding, 16dp top, 12dp bottom, items-start.
|
|
11639
|
+
*/
|
|
11640
|
+
declare const modalHeaderVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11641
|
+
type ModalHeaderVariants = VariantProps<typeof modalHeaderVariants>;
|
|
11642
|
+
/**
|
|
11643
|
+
* Headline text — label-large, on-surface-variant.
|
|
11644
|
+
* Shows "Select date" / "Select dates" above the large date display.
|
|
11645
|
+
*/
|
|
11646
|
+
declare const headlineVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11647
|
+
type HeadlineVariants = VariantProps<typeof headlineVariants>;
|
|
11648
|
+
/**
|
|
11649
|
+
* Supporting text — the large formatted selected date display.
|
|
11650
|
+
* MD3 spec: headline-large, on-surface.
|
|
11651
|
+
*/
|
|
11652
|
+
declare const supportingTextVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11653
|
+
type SupportingTextVariants = VariantProps<typeof supportingTextVariants>;
|
|
11654
|
+
/**
|
|
11655
|
+
* Mode toggle button (calendar ↔ keyboard) — carries `group/mode-toggle`.
|
|
11656
|
+
* MD3 spec: 48dp circle, on-surface-variant.
|
|
11657
|
+
*/
|
|
11658
|
+
declare const modeToggleVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11659
|
+
type ModeToggleVariants = VariantProps<typeof modeToggleVariants>;
|
|
11660
|
+
/**
|
|
11661
|
+
* Mode toggle state layer.
|
|
11662
|
+
*/
|
|
11663
|
+
declare const modeToggleStateLayerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11664
|
+
type ModeToggleStateLayerVariants = VariantProps<typeof modeToggleStateLayerVariants>;
|
|
11665
|
+
/**
|
|
11666
|
+
* Full-viewport dark overlay behind modal dialogs.
|
|
11667
|
+
* MD3 spec: bg-scrim at 32% opacity.
|
|
11668
|
+
*/
|
|
11669
|
+
declare const scrimVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11670
|
+
type ScrimVariants = VariantProps<typeof scrimVariants>;
|
|
11671
|
+
/**
|
|
11672
|
+
* Outer wrapper for a labeled date input field (modal-input variant).
|
|
11673
|
+
* MD3 spec: 24dp horizontal padding, 8dp vertical.
|
|
11674
|
+
*/
|
|
11675
|
+
declare const dateInputFieldVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11676
|
+
type DateInputFieldVariants = VariantProps<typeof dateInputFieldVariants>;
|
|
11677
|
+
/**
|
|
11678
|
+
* Inner outlined container of the date input field.
|
|
11679
|
+
* Focus state adds 2dp primary border; invalid adds error border.
|
|
11680
|
+
* MD3 spec: outlined text field, body-large text, rounded-sm shape.
|
|
11681
|
+
*/
|
|
11682
|
+
declare const dateInputFieldGroupVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11683
|
+
type DateInputFieldGroupVariants = VariantProps<typeof dateInputFieldGroupVariants>;
|
|
11684
|
+
/**
|
|
11685
|
+
* Date input field label — body-small, on-surface-variant.
|
|
11686
|
+
*/
|
|
11687
|
+
declare const dateInputLabelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11688
|
+
type DateInputLabelVariants = VariantProps<typeof dateInputLabelVariants>;
|
|
11689
|
+
/**
|
|
11690
|
+
* Date input field error message — body-small, error color.
|
|
11691
|
+
*/
|
|
11692
|
+
declare const dateInputErrorVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11693
|
+
type DateInputErrorVariants = VariantProps<typeof dateInputErrorVariants>;
|
|
11694
|
+
/**
|
|
11695
|
+
* Docked trigger field group — outlined container for the date segments + icon.
|
|
11696
|
+
* MD3 spec: outlined text field, h-14, border-outline, flex, gap-2.
|
|
11697
|
+
*/
|
|
11698
|
+
declare const dockedFieldGroupVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11699
|
+
type DockedFieldGroupVariants = VariantProps<typeof dockedFieldGroupVariants>;
|
|
11700
|
+
/**
|
|
11701
|
+
* Docked calendar icon trigger button — carries `group/docked-trigger`.
|
|
11702
|
+
* MD3 spec: 40dp circle icon button.
|
|
11703
|
+
*/
|
|
11704
|
+
declare const dockedTriggerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11705
|
+
type DockedTriggerVariants = VariantProps<typeof dockedTriggerVariants>;
|
|
11706
|
+
/**
|
|
11707
|
+
* Docked trigger state layer.
|
|
11708
|
+
*/
|
|
11709
|
+
declare const dockedTriggerStateLayerVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11710
|
+
type DockedTriggerStateLayerVariants = VariantProps<typeof dockedTriggerStateLayerVariants>;
|
|
11711
|
+
/**
|
|
11712
|
+
* Popover panel for the docked calendar.
|
|
11713
|
+
* MD3 spec: surface-container-high, 28dp corner, elevation-2, z-50.
|
|
11714
|
+
*/
|
|
11715
|
+
declare const popoverVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11716
|
+
type PopoverVariants = VariantProps<typeof popoverVariants>;
|
|
11717
|
+
/**
|
|
11718
|
+
* Label text above the docked text field.
|
|
11719
|
+
* MD3 spec: body-small, on-surface-variant.
|
|
11720
|
+
*/
|
|
11721
|
+
declare const dockedLabelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11722
|
+
type DockedLabelVariants = VariantProps<typeof dockedLabelVariants>;
|
|
11202
11723
|
/**
|
|
11203
|
-
*
|
|
11204
|
-
*
|
|
11724
|
+
* Date field segments container (inline segmented date input).
|
|
11725
|
+
* flex, items-center, flex-1, body-large text.
|
|
11205
11726
|
*/
|
|
11206
|
-
declare const
|
|
11207
|
-
type
|
|
11727
|
+
declare const dateFieldVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11728
|
+
type DateFieldVariants = VariantProps<typeof dateFieldVariants>;
|
|
11208
11729
|
/**
|
|
11209
|
-
*
|
|
11210
|
-
* Matches Dialog scrim pattern.
|
|
11730
|
+
* Date field placeholder segment text color.
|
|
11211
11731
|
*/
|
|
11212
|
-
declare const
|
|
11213
|
-
type
|
|
11732
|
+
declare const dateSegmentPlaceholderVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
11733
|
+
type DateSegmentPlaceholderVariants = VariantProps<typeof dateSegmentPlaceholderVariants>;
|
|
11214
11734
|
|
|
11215
|
-
export { 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 CalendarCellProps, type CalendarCellType, type CalendarCellVariants, CalendarCore, type CalendarGridProps, 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 DateInputFieldProps, DatePicker, type DatePickerActionButtonVariants, type DatePickerActionVariants, type DatePickerActionsProps, type DatePickerContainerVariants, type DatePickerDividerVariants, DatePickerDocked, type DatePickerDockedProps, type DatePickerHeaderVariants, type DatePickerHeadlessProps, type DatePickerHeadlineVariants, DatePickerModal, type DatePickerModalHeaderProps, DatePickerModalInput, type DatePickerModalInputProps, type DatePickerModalProps, type DatePickerNavVariants, type DatePickerProps, type DatePickerRangeIndicatorVariants, type DatePickerRenderState, type DatePickerScrimVariants, type DatePickerSupportingTextVariants, type DatePickerVariant, type DatePickerWeekdayVariants, 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, 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, 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, NavigationBar, type NavigationBarBadge, NavigationBarItem, type NavigationBarItemConfig, type NavigationBarItemProps, type NavigationBarItemRenderProps, type NavigationBarProps, type PeriodSelectorContainerVariants, type PeriodSelectorItemVariants, type PeriodSelectorProps, 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, 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, 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 TextFieldSize, 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, 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 YearItemVariants, applyStateLayer, badgeVariants, bottomSheetAnimationVariants, bottomSheetHandlePillVariants, bottomSheetHandleWrapperVariants, bottomSheetScrimVariants, bottomSheetVariants, buttonGroupFocusRingVariants, buttonGroupRootVariants, buttonGroupVariants, calendarCellVariants, cardVariants, chipVariants, clockDialContainerVariants, clockDialNumberVariants, clockHandCenterVariants, clockHandHandleVariants, clockHandTrackVariants, cn, datePickerActionButtonVariants, datePickerActionVariants, datePickerContainerVariants, datePickerDividerVariants, datePickerHeaderVariants, datePickerHeadlineVariants, datePickerNavVariants, datePickerRangeIndicatorVariants, datePickerScrimVariants, datePickerSupportingTextVariants, datePickerWeekdayVariants, dividerVariants, fabMenuItemFocusRingVariants, fabMenuItemIconVariants, fabMenuItemLabelVariants, fabMenuItemStateLayerVariants, fabMenuItemVariants, fabMenuListVariants, fabMenuVariants, generateMD3Theme, getColorValue, getConnectedRadiusClasses, getFontFamily, getMD3Color, getResponsiveTypography, getTypographyClassName, getTypographyForElement, getTypographyStyle, getTypographyToken, hexToRgb, listItemVariants, listVariants, periodSelectorContainerVariants, periodSelectorItemVariants, pxToRem, remToPx, rgbToHex, richTooltipVariants, searchBarVariants, searchViewHeaderVariants, searchViewVariants, sliderActiveTrackVariants, sliderContainerVariants, sliderHandleStateLayerVariants, sliderHandleVariants, sliderInactiveTrackVariants, sliderTrackLayoutVariants, splitButtonContainerVariants, splitButtonDropdownVariants, splitButtonPrimaryVariants, splitButtonVariants, timeInputFieldVariants, timePickerActionButtonVariants, timePickerActionRowVariants, timePickerContainerVariants, timePickerHeadlineVariants, timePickerModeToggleVariants, timeSelectorContainerVariants, timeSeparatorVariants, tooltipVariants, truncateText, useBottomSheetContext, useBottomSheetDrag, useButtonGroup, useDialogContext, useFABMenuContext, useMenuContext, useOptionalButtonGroup, useSnackbar, withOpacity, yearItemVariants };
|
|
11735
|
+
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 TextFieldSize, 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 };
|