@baseline-ui/core 0.54.2 → 0.56.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/dist/index.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { AriaAttributes, DOMAttributes as DOMAttributes$1, AriaRole, CSSProperties, HTMLAttributeAnchorTarget, HTMLAttributeReferrerPolicy, ClipboardEventHandler, CompositionEventHandler, ReactEventHandler, FormEventHandler, MouseEventHandler, TouchEventHandler, PointerEventHandler, UIEventHandler, WheelEventHandler, AnimationEventHandler, TransitionEventHandler, ReactNode, ReactElement, MouseEvent, FocusEvent, SyntheticEvent, KeyboardEvent as KeyboardEvent$2, JSX, HTMLAttributes, RefObject as RefObject$1, LabelHTMLAttributes, ElementType, JSXElementConstructor, ButtonHTMLAttributes, AnchorHTMLAttributes, InputHTMLAttributes, Ref, MutableRefObject, SVGProps, Key as Key$1, Dispatch, SetStateAction } from 'react';
3
- import { CalendarDate, CalendarDateTime, ZonedDateTime, Time, CalendarIdentifier, Calendar, DateFormatter } from '@internationalized/date';
4
- import { NumberFormatOptions } from '@internationalized/number';
5
- import { LocalizedStrings } from '@internationalized/message';
3
+ import { CalendarDate, CalendarDateTime, ZonedDateTime, Time, CalendarIdentifier, Calendar as Calendar$1, DateFormatter, DateDuration } from '@internationalized/date';
6
4
  import { Theme, Sprinkles } from '@baseline-ui/tokens';
7
5
  import { PanelImperativeHandle, PanelProps as PanelProps$1, SeparatorProps as SeparatorProps$2 } from 'react-resizable-panels';
8
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -401,6 +399,13 @@ interface TextInputBase {
401
399
  placeholder?: string
402
400
  }
403
401
 
402
+ interface RangeValue<T> {
403
+ /** The start value of the range. */
404
+ start: T,
405
+ /** The end value of the range. */
406
+ end: T
407
+ }
408
+
404
409
  interface RangeInputBase<T> {
405
410
  /** The smallest value allowed for the input. */
406
411
  minValue?: T,
@@ -1019,6 +1024,15 @@ interface LongPressEvent extends Omit<PressEvent, 'type' | 'continuePropagation'
1019
1024
  type: 'longpressstart' | 'longpressend' | 'longpress'
1020
1025
  }
1021
1026
 
1027
+ interface HoverEvent {
1028
+ /** The type of hover event being fired. */
1029
+ type: 'hoverstart' | 'hoverend',
1030
+ /** The pointer type that triggered the hover event. */
1031
+ pointerType: 'mouse' | 'pen',
1032
+ /** The target element of the hover event. */
1033
+ target: HTMLElement
1034
+ }
1035
+
1022
1036
  interface KeyboardEvents {
1023
1037
  /** Handler that is called when a key is pressed. */
1024
1038
  onKeyDown?: (e: KeyboardEvent$1) => void,
@@ -1035,6 +1049,15 @@ interface FocusEvents<Target = Element> {
1035
1049
  onFocusChange?: (isFocused: boolean) => void
1036
1050
  }
1037
1051
 
1052
+ interface HoverEvents {
1053
+ /** Handler that is called when a hover interaction starts. */
1054
+ onHoverStart?: (e: HoverEvent) => void,
1055
+ /** Handler that is called when a hover interaction ends. */
1056
+ onHoverEnd?: (e: HoverEvent) => void,
1057
+ /** Handler that is called when the hover state changes. */
1058
+ onHoverChange?: (isHovering: boolean) => void
1059
+ }
1060
+
1038
1061
  interface PressEvents {
1039
1062
  /** Handler that is called when the press is released over the target. */
1040
1063
  onPress?: (e: PressEvent) => void,
@@ -1435,7 +1458,7 @@ interface AriaToggleProps extends ToggleProps, FocusableDOMProps, AriaLabelingPr
1435
1458
  'aria-controls'?: string
1436
1459
  }
1437
1460
 
1438
- interface CheckboxProps$1 extends ToggleProps {
1461
+ interface CheckboxProps$2 extends ToggleProps {
1439
1462
  /**
1440
1463
  * Indeterminism is presentational only.
1441
1464
  * The indeterminate visual representation remains regardless of user interaction.
@@ -1443,7 +1466,7 @@ interface CheckboxProps$1 extends ToggleProps {
1443
1466
  isIndeterminate?: boolean
1444
1467
  }
1445
1468
 
1446
- interface AriaCheckboxProps extends CheckboxProps$1, InputDOMProps, AriaToggleProps {}
1469
+ interface AriaCheckboxProps extends CheckboxProps$2, InputDOMProps, AriaToggleProps {}
1447
1470
 
1448
1471
  /*
1449
1472
  * Copyright 2020 Adobe. All rights reserved.
@@ -1459,8 +1482,189 @@ interface AriaCheckboxProps extends CheckboxProps$1, InputDOMProps, AriaTogglePr
1459
1482
 
1460
1483
 
1461
1484
 
1485
+ type DateValue$1 = CalendarDate | CalendarDateTime | ZonedDateTime;
1486
+ type MappedDateValue$1<T> =
1487
+ T extends ZonedDateTime ? ZonedDateTime :
1488
+ T extends CalendarDateTime ? CalendarDateTime :
1489
+ T extends CalendarDate ? CalendarDate :
1490
+ never;
1491
+
1492
+ interface CalendarPropsBase {
1493
+ /** The minimum allowed date that a user may select. */
1494
+ minValue?: DateValue$1 | null,
1495
+ /** The maximum allowed date that a user may select. */
1496
+ maxValue?: DateValue$1 | null,
1497
+ /** Callback that is called for each date of the calendar. If it returns true, then the date is unavailable. */
1498
+ isDateUnavailable?: (date: DateValue$1) => boolean,
1499
+ /**
1500
+ * Whether the calendar is disabled.
1501
+ * @default false
1502
+ */
1503
+ isDisabled?: boolean,
1504
+ /**
1505
+ * Whether the calendar value is immutable.
1506
+ * @default false
1507
+ */
1508
+ isReadOnly?: boolean,
1509
+ /**
1510
+ * Whether to automatically focus the calendar when it mounts.
1511
+ * @default false
1512
+ */
1513
+ autoFocus?: boolean,
1514
+ /** Controls the currently focused date within the calendar. */
1515
+ focusedValue?: DateValue$1 | null,
1516
+ /** The date that is focused when the calendar first mounts (uncontrolled). */
1517
+ defaultFocusedValue?: DateValue$1 | null,
1518
+ /** Handler that is called when the focused date changes. */
1519
+ onFocusChange?: (date: CalendarDate) => void,
1520
+ /**
1521
+ * Whether the current selection is valid or invalid according to application logic.
1522
+ * @deprecated Use `isInvalid` instead.
1523
+ */
1524
+ validationState?: ValidationState,
1525
+ /** Whether the current selection is invalid according to application logic. */
1526
+ isInvalid?: boolean,
1527
+ /** An error message to display when the selected value is invalid. */
1528
+ errorMessage?: ReactNode,
1529
+ /**
1530
+ * Controls the behavior of paging. Pagination either works by advancing the visible page by visibleDuration (default) or one unit of visibleDuration.
1531
+ * @default visible
1532
+ */
1533
+ pageBehavior?: PageBehavior,
1534
+ /**
1535
+ * The day that starts the week.
1536
+ */
1537
+ firstDayOfWeek?: 'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat',
1538
+ /**
1539
+ * Determines the alignment of the visible months on initial render based on the current selection or current date if there is no selection.
1540
+ * @default 'center'
1541
+ */
1542
+ selectionAlignment?: 'start' | 'center' | 'end'
1543
+ }
1544
+ interface CalendarProps$2<T extends DateValue$1> extends CalendarPropsBase, ValueBase<T | null, MappedDateValue$1<T>> {}
1545
+ interface RangeCalendarProps$2<T extends DateValue$1> extends CalendarPropsBase, ValueBase<RangeValue<T> | null, RangeValue<MappedDateValue$1<T>>> {
1546
+ /**
1547
+ * When combined with `isDateUnavailable`, determines whether non-contiguous ranges,
1548
+ * i.e. ranges containing unavailable dates, may be selected.
1549
+ */
1550
+ allowsNonContiguousRanges?: boolean
1551
+ }
1552
+
1553
+ interface AriaCalendarProps<T extends DateValue$1> extends CalendarProps$2<T>, DOMProps, AriaLabelingProps {}
1554
+
1555
+ interface AriaRangeCalendarProps<T extends DateValue$1> extends RangeCalendarProps$2<T>, DOMProps, AriaLabelingProps {}
1556
+
1462
1557
  type PageBehavior = 'single' | 'visible';
1463
1558
 
1559
+ interface CalendarStateBase {
1560
+ /** Whether the calendar is disabled. */
1561
+ readonly isDisabled: boolean;
1562
+ /** Whether the calendar is in a read only state. */
1563
+ readonly isReadOnly: boolean;
1564
+ /** The date range that is currently visible in the calendar. */
1565
+ readonly visibleRange: RangeValue<CalendarDate>;
1566
+ /** The minimum allowed date that a user may select. */
1567
+ readonly minValue?: DateValue$1 | null;
1568
+ /** The maximum allowed date that a user may select. */
1569
+ readonly maxValue?: DateValue$1 | null;
1570
+ /** The time zone of the dates currently being displayed. */
1571
+ readonly timeZone: string;
1572
+ /**
1573
+ * The current validation state of the selected value.
1574
+ * @deprecated Use `isValueInvalid` instead.
1575
+ */
1576
+ readonly validationState: ValidationState | null;
1577
+ /** Whether the calendar is invalid. */
1578
+ readonly isValueInvalid: boolean;
1579
+ /** The currently focused date. */
1580
+ readonly focusedDate: CalendarDate;
1581
+ /** Sets the focused date. */
1582
+ setFocusedDate(value: CalendarDate): void;
1583
+ /** Moves focus to the next calendar date. */
1584
+ focusNextDay(): void;
1585
+ /** Moves focus to the previous calendar date. */
1586
+ focusPreviousDay(): void;
1587
+ /** Moves focus to the next row of dates, e.g. the next week. */
1588
+ focusNextRow(): void;
1589
+ /** Moves focus to the previous row of dates, e.g. the previous work. */
1590
+ focusPreviousRow(): void;
1591
+ /** Moves focus to the next page of dates, e.g. the next month if one month is visible. */
1592
+ focusNextPage(): void;
1593
+ /** Moves focus to the previous page of dates, e.g. the previous month if one month is visible. */
1594
+ focusPreviousPage(): void;
1595
+ /** Moves focus to the start of the current section of dates, e.g. the start of the current month. */
1596
+ focusSectionStart(): void;
1597
+ /** Moves focus to the end of the current section of dates, e.g. the end of the current month month. */
1598
+ focusSectionEnd(): void;
1599
+ /**
1600
+ * Moves focus to the next section of dates based on what is currently displayed.
1601
+ * By default, focus is moved by one of the currently displayed unit. For example, if
1602
+ * one or more months are displayed, then focus is moved forward by one month.
1603
+ * If the `larger` option is `true`, the focus is moved by the next larger unit than
1604
+ * the one displayed. For example, if months are displayed, then focus moves to the next year.
1605
+ */
1606
+ focusNextSection(larger?: boolean): void;
1607
+ /**
1608
+ * Moves focus to the previous section of dates based on what is currently displayed.
1609
+ * By default, focus is moved by one of the currently displayed unit. For example, if
1610
+ * one or more months are displayed, then focus is moved backward by one month.
1611
+ * If the `larger` option is `true`, the focus is moved by the next larger unit than
1612
+ * the one displayed. For example, if months are displayed, then focus moves to the previous year.
1613
+ */
1614
+ focusPreviousSection(larger?: boolean): void;
1615
+ /** Selects the currently focused date. */
1616
+ selectFocusedDate(): void;
1617
+ /** Selects the given date. */
1618
+ selectDate(date: CalendarDate): void;
1619
+ /** Whether focus is currently within the calendar. */
1620
+ readonly isFocused: boolean;
1621
+ /** Sets whether focus is currently within the calendar. */
1622
+ setFocused(value: boolean): void;
1623
+ /** Returns whether the given date is invalid according to the `minValue` and `maxValue` props. */
1624
+ isInvalid(date: CalendarDate): boolean;
1625
+ /** Returns whether the given date is currently selected. */
1626
+ isSelected(date: CalendarDate): boolean;
1627
+ /** Returns whether the given date is currently focused. */
1628
+ isCellFocused(date: CalendarDate): boolean;
1629
+ /** Returns whether the given date is disabled according to the `minValue, `maxValue`, and `isDisabled` props. */
1630
+ isCellDisabled(date: CalendarDate): boolean;
1631
+ /** Returns whether the given date is unavailable according to the `isDateUnavailable` prop. */
1632
+ isCellUnavailable(date: CalendarDate): boolean;
1633
+ /** Returns whether the previous visible date range is allowed to be selected according to the `minValue` prop. */
1634
+ isPreviousVisibleRangeInvalid(): boolean;
1635
+ /** Returns whether the next visible date range is allowed to be selected according to the `maxValue` prop. */
1636
+ isNextVisibleRangeInvalid(): boolean;
1637
+ /**
1638
+ * Returns an array of dates in the week index counted from the provided start date, or the first visible date if not given.
1639
+ * The returned array always has 7 elements, but may include null if the date does not exist according to the calendar system.
1640
+ */
1641
+ getDatesInWeek(weekIndex: number, startDate?: CalendarDate): Array<CalendarDate | null>;
1642
+ }
1643
+ interface CalendarState extends CalendarStateBase {
1644
+ /** The currently selected date. */
1645
+ readonly value: CalendarDate | null;
1646
+ /** Sets the currently selected date. */
1647
+ setValue(value: CalendarDate | null): void;
1648
+ }
1649
+ interface RangeCalendarState<T extends DateValue$1 = DateValue$1> extends CalendarStateBase {
1650
+ /** The currently selected date range. */
1651
+ readonly value: RangeValue<T> | null;
1652
+ /** Sets the currently selected date range. */
1653
+ setValue(value: RangeValue<T> | null): void;
1654
+ /** Highlights the given date during selection, e.g. by hovering or dragging. */
1655
+ highlightDate(date: CalendarDate): void;
1656
+ /** The current anchor date that the user clicked on to begin range selection. */
1657
+ readonly anchorDate: CalendarDate | null;
1658
+ /** Sets the anchor date that the user clicked on to begin range selection. */
1659
+ setAnchorDate(date: CalendarDate | null): void;
1660
+ /** The currently highlighted date range. */
1661
+ readonly highlightedRange: RangeValue<CalendarDate> | null;
1662
+ /** Whether the user is currently dragging over the calendar. */
1663
+ readonly isDragging: boolean;
1664
+ /** Sets whether the user is dragging over the calendar. */
1665
+ setDragging(isDragging: boolean): void;
1666
+ }
1667
+
1464
1668
  interface SliderProps$1<T = number | number[]> extends RangeInputBase<number>, ValueBase<T>, LabelableProps {
1465
1669
  /**
1466
1670
  * The orientation of the Slider.
@@ -2333,7 +2537,7 @@ interface DateFieldStateOptions<T extends DateValue = DateValue> extends DatePic
2333
2537
  * `@internationalized/date` package, or manually implemented to include support for
2334
2538
  * only certain calendars.
2335
2539
  */
2336
- createCalendar: (name: CalendarIdentifier) => Calendar;
2540
+ createCalendar: (name: CalendarIdentifier) => Calendar$1;
2337
2541
  }
2338
2542
 
2339
2543
  interface TimeFieldStateOptions<T extends TimeValue = TimeValue> extends TimePickerProps<T> {
@@ -2856,6 +3060,12 @@ interface I18nProviderProps$1 {
2856
3060
  */
2857
3061
  declare function useLocale(): Locale;
2858
3062
 
3063
+ type LocalizedStrings = {
3064
+ [lang: string]: {
3065
+ [key: string]: string;
3066
+ };
3067
+ };
3068
+
2859
3069
  interface DateFormatterOptions extends Intl.DateTimeFormatOptions {
2860
3070
  calendar?: string;
2861
3071
  }
@@ -2866,6 +3076,11 @@ interface DateFormatterOptions extends Intl.DateTimeFormatOptions {
2866
3076
  */
2867
3077
  declare function useDateFormatter(options?: DateFormatterOptions): DateFormatter;
2868
3078
 
3079
+ interface NumberFormatOptions extends Intl.NumberFormatOptions {
3080
+ /** Overrides default numbering system for the current locale. */
3081
+ numberingSystem?: string;
3082
+ }
3083
+
2869
3084
  /**
2870
3085
  * Provides localized number formatting for the current locale. Automatically updates when the locale changes,
2871
3086
  * and handles caching of the number formatter for performance.
@@ -4001,6 +4216,13 @@ interface StyleRenderProps<T, E extends keyof React__default.JSX.IntrinsicElemen
4001
4216
  /** The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the element. A function may be provided to compute the style based on component state. */
4002
4217
  style?: StyleOrFunction<T>;
4003
4218
  }
4219
+ type ChildrenOrFunction<T> = ReactNode | ((values: T & {
4220
+ defaultChildren: ReactNode | undefined;
4221
+ }) => ReactNode);
4222
+ interface RenderProps<T, E extends keyof React__default.JSX.IntrinsicElements = 'div'> extends StyleRenderProps<T, E> {
4223
+ /** The children of the component. A function may be provided to alter the children based on component state. */
4224
+ children?: ChildrenOrFunction<T>;
4225
+ }
4004
4226
  interface SlotProps {
4005
4227
  /**
4006
4228
  * A slot name for the component. Slots allow the component to receive props from a parent component.
@@ -4008,6 +4230,15 @@ interface SlotProps {
4008
4230
  */
4009
4231
  slot?: string | null;
4010
4232
  }
4233
+ interface RACValidation {
4234
+ /**
4235
+ * Whether to use native HTML form validation to prevent form submission
4236
+ * when the value is missing or invalid, or mark the field as required
4237
+ * or invalid via ARIA.
4238
+ * @default 'native'
4239
+ */
4240
+ validationBehavior?: 'native' | 'aria';
4241
+ }
4011
4242
  type DOMRenderFunction<E extends keyof React__default.JSX.IntrinsicElements, T> = (props: React__default.JSX.IntrinsicElements[E], renderProps: T) => ReactElement;
4012
4243
  interface DOMRenderProps<E extends keyof React__default.JSX.IntrinsicElements, T> {
4013
4244
  /**
@@ -4024,6 +4255,70 @@ interface DOMRenderProps<E extends keyof React__default.JSX.IntrinsicElements, T
4024
4255
  render?: DOMRenderFunction<E, T>;
4025
4256
  }
4026
4257
 
4258
+ interface CheckboxProps$1 extends Omit<AriaCheckboxProps, 'children' | 'validationState' | 'validationBehavior'>, HoverEvents, RACValidation, RenderProps<CheckboxRenderProps, 'label'>, SlotProps, Omit<GlobalDOMAttributes<HTMLLabelElement>, 'onClick'> {
4259
+ /**
4260
+ * The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.
4261
+ * @default 'react-aria-Checkbox'
4262
+ */
4263
+ className?: ClassNameOrFunction<CheckboxRenderProps>;
4264
+ /**
4265
+ * A ref for the HTML input element.
4266
+ */
4267
+ inputRef?: RefObject<HTMLInputElement | null>;
4268
+ }
4269
+ interface CheckboxRenderProps {
4270
+ /**
4271
+ * Whether the checkbox is selected.
4272
+ * @selector [data-selected]
4273
+ */
4274
+ isSelected: boolean;
4275
+ /**
4276
+ * Whether the checkbox is indeterminate.
4277
+ * @selector [data-indeterminate]
4278
+ */
4279
+ isIndeterminate: boolean;
4280
+ /**
4281
+ * Whether the checkbox is currently hovered with a mouse.
4282
+ * @selector [data-hovered]
4283
+ */
4284
+ isHovered: boolean;
4285
+ /**
4286
+ * Whether the checkbox is currently in a pressed state.
4287
+ * @selector [data-pressed]
4288
+ */
4289
+ isPressed: boolean;
4290
+ /**
4291
+ * Whether the checkbox is focused, either via a mouse or keyboard.
4292
+ * @selector [data-focused]
4293
+ */
4294
+ isFocused: boolean;
4295
+ /**
4296
+ * Whether the checkbox is keyboard focused.
4297
+ * @selector [data-focus-visible]
4298
+ */
4299
+ isFocusVisible: boolean;
4300
+ /**
4301
+ * Whether the checkbox is disabled.
4302
+ * @selector [data-disabled]
4303
+ */
4304
+ isDisabled: boolean;
4305
+ /**
4306
+ * Whether the checkbox is read only.
4307
+ * @selector [data-readonly]
4308
+ */
4309
+ isReadOnly: boolean;
4310
+ /**
4311
+ * Whether the checkbox invalid.
4312
+ * @selector [data-invalid]
4313
+ */
4314
+ isInvalid: boolean;
4315
+ /**
4316
+ * Whether the checkbox is required.
4317
+ * @selector [data-required]
4318
+ */
4319
+ isRequired: boolean;
4320
+ }
4321
+
4027
4322
  interface AutocompleteProps$1 {
4028
4323
  /** The value of the autocomplete input (controlled). */
4029
4324
  inputValue?: string;
@@ -4130,6 +4425,65 @@ interface ItemRenderProps {
4130
4425
  allowsSelection?: boolean;
4131
4426
  }
4132
4427
 
4428
+ interface CalendarRenderProps {
4429
+ /**
4430
+ * Whether the calendar is disabled.
4431
+ * @selector [data-disabled]
4432
+ */
4433
+ isDisabled: boolean;
4434
+ /**
4435
+ * State of the calendar.
4436
+ */
4437
+ state: CalendarState;
4438
+ /**
4439
+ * Whether the calendar is invalid.
4440
+ * @selector [data-invalid]
4441
+ */
4442
+ isInvalid: boolean;
4443
+ }
4444
+ interface RangeCalendarRenderProps extends Omit<CalendarRenderProps, 'state'> {
4445
+ /**
4446
+ * State of the range calendar.
4447
+ */
4448
+ state: RangeCalendarState;
4449
+ }
4450
+ interface CalendarProps$1<T extends DateValue> extends Omit<AriaCalendarProps<T>, 'errorMessage' | 'validationState'>, RenderProps<CalendarRenderProps, 'div'>, SlotProps, GlobalDOMAttributes<HTMLDivElement> {
4451
+ /**
4452
+ * The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.
4453
+ * @default 'react-aria-Calendar'
4454
+ */
4455
+ className?: ClassNameOrFunction<CalendarRenderProps>;
4456
+ /**
4457
+ * The amount of days that will be displayed at once. This affects how pagination works.
4458
+ * @default {months: 1}
4459
+ */
4460
+ visibleDuration?: DateDuration;
4461
+ /**
4462
+ * A function to create a new [Calendar](https://react-spectrum.adobe.com/internationalized/date/Calendar.html)
4463
+ * object for a given calendar identifier. If not provided, the `createCalendar` function
4464
+ * from `@internationalized/date` will be used.
4465
+ */
4466
+ createCalendar?: (identifier: CalendarIdentifier) => Calendar$1;
4467
+ }
4468
+ interface RangeCalendarProps$1<T extends DateValue> extends Omit<AriaRangeCalendarProps<T>, 'errorMessage' | 'validationState'>, RenderProps<RangeCalendarRenderProps, 'div'>, SlotProps, GlobalDOMAttributes<HTMLDivElement> {
4469
+ /**
4470
+ * The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.
4471
+ * @default 'react-aria-RangeCalendar'
4472
+ */
4473
+ className?: ClassNameOrFunction<RangeCalendarRenderProps>;
4474
+ /**
4475
+ * The amount of days that will be displayed at once. This affects how pagination works.
4476
+ * @default {months: 1}
4477
+ */
4478
+ visibleDuration?: DateDuration;
4479
+ /**
4480
+ * A function to create a new [Calendar](https://react-spectrum.adobe.com/internationalized/date/Calendar.html)
4481
+ * object for a given calendar identifier. If not provided, the `createCalendar` function
4482
+ * from `@internationalized/date` will be used.
4483
+ */
4484
+ createCalendar?: (identifier: CalendarIdentifier) => Calendar$1;
4485
+ }
4486
+
4133
4487
  interface DraggableCollectionStateOpts<T = object> extends Omit<DraggableCollectionStateOptions<T>, 'getItems'> {
4134
4488
  }
4135
4489
  interface DragHooks<T = object> {
@@ -4974,28 +5328,6 @@ interface ListSection<T = Record<string, any>> {
4974
5328
  }
4975
5329
  type ListItem = ListOption | ListSection;
4976
5330
 
4977
- type DragAndDropProps = Omit<DraggableCollectionStateOptions & DroppableCollectionOptions & DroppableCollectionStateOptions, "keyboardDelegate" | "dropTargetDelegate" | "shouldAcceptItemDrop" | "onDropEnter" | "onDropActivate" | "onDropExit" | "getDropOperation" | "collection" | "selectionManager" | "onRootDrop" | "onInsert" | "getAllowedDropOperations" | "getItems" | "onItemDrop"> & Partial<Pick<DraggableCollectionStateOptions, "getItems">> & {
4978
- /**
4979
- * Indicates whether reordering is enabled.
4980
- *
4981
- * @default false
4982
- */
4983
- enableReorder: boolean;
4984
- /**
4985
- * Whether the items are arranged in a stack or grid.
4986
- *
4987
- * @default stack
4988
- */
4989
- layout: "grid" | "stack";
4990
- /**
4991
- * The primary orientation of the items. Usually this is the direction that
4992
- * the collection scrolls.
4993
- *
4994
- * @default vertical
4995
- */
4996
- orientation: Orientation;
4997
- };
4998
-
4999
5331
  interface BlockProps {
5000
5332
  /**
5001
5333
  * The unique identifier for the block. This is used to identify the block in
@@ -5320,6 +5652,28 @@ declare function isInIframe(el: Node): boolean;
5320
5652
  */
5321
5653
  declare function isInShadowDOM(element: Node | null | undefined): boolean;
5322
5654
 
5655
+ type DragAndDropProps = Omit<DraggableCollectionStateOptions & DroppableCollectionOptions & DroppableCollectionStateOptions, "keyboardDelegate" | "dropTargetDelegate" | "shouldAcceptItemDrop" | "onDropEnter" | "onDropActivate" | "onDropExit" | "getDropOperation" | "collection" | "selectionManager" | "onRootDrop" | "onInsert" | "getAllowedDropOperations" | "getItems" | "onItemDrop"> & Partial<Pick<DraggableCollectionStateOptions, "getItems">> & {
5656
+ /**
5657
+ * Indicates whether reordering is enabled.
5658
+ *
5659
+ * @default false
5660
+ */
5661
+ enableReorder: boolean;
5662
+ /**
5663
+ * Whether the items are arranged in a stack or grid.
5664
+ *
5665
+ * @default stack
5666
+ */
5667
+ layout: "grid" | "stack";
5668
+ /**
5669
+ * The primary orientation of the items. Usually this is the direction that
5670
+ * the collection scrolls.
5671
+ *
5672
+ * @default vertical
5673
+ */
5674
+ orientation: Orientation;
5675
+ };
5676
+
5323
5677
  interface ListHandle$1 {
5324
5678
  /** Scrolls the listbox to the specified item. */
5325
5679
  scrollIntoView: (id: string, options?: ScrollIntoViewOptions) => void;
@@ -6072,6 +6426,33 @@ interface ColorInputButtonProps extends Omit<ActionButtonProps, "label" | "class
6072
6426
 
6073
6427
  declare const IconColorInput: React__default.ForwardRefExoticComponent<IconColorInputProps & React__default.RefAttributes<HTMLDivElement>>;
6074
6428
 
6429
+ interface NumberInputProps extends StylingProps, Omit<AriaNumberFieldProps, "validationState" | "isRequired" | "validate" | "validationBehavior"> {
6430
+ /**
6431
+ * The position of the label relative to the input.
6432
+ *
6433
+ * @default top
6434
+ */
6435
+ labelPosition?: "top" | "start";
6436
+ /**
6437
+ * The variant of the number input.
6438
+ *
6439
+ * @default primary
6440
+ */
6441
+ variant?: "primary" | "ghost";
6442
+ /**
6443
+ * Whether to show the stepper buttons.
6444
+ *
6445
+ * @default true
6446
+ */
6447
+ showStepper?: boolean;
6448
+ /** The description to display below the input. */
6449
+ description?: string;
6450
+ /** The error message to display when the input is in an error state. */
6451
+ errorMessage?: string;
6452
+ }
6453
+
6454
+ declare const NumberInput: React__default.ForwardRefExoticComponent<NumberInputProps & React__default.RefAttributes<HTMLDivElement>>;
6455
+
6075
6456
  interface SliderProps extends Omit<AriaSliderProps<number> & SliderStateOptions<number>, "orientation" | "numberFormatter">, StylingProps {
6076
6457
  /**
6077
6458
  * Whether the slider is read only.
@@ -6091,8 +6472,12 @@ interface SliderProps extends Omit<AriaSliderProps<number> & SliderStateOptions<
6091
6472
  * @default false
6092
6473
  */
6093
6474
  includeNumberInput?: boolean;
6475
+ /** Additional class name passed to the embedded number input. */
6476
+ numberInputClassName?: NumberInputProps["className"];
6477
+ /** Additional inline styles merged into the embedded number input. */
6478
+ numberInputStyle?: NumberInputProps["style"];
6094
6479
  }
6095
- interface IconSliderProps extends Pick<SliderProps, "value" | "minValue" | "maxValue" | "onChange" | "defaultValue" | "includeNumberInput" | "step" | "numberFormatOptions" | "isDisabled">, StylingProps, IconComponentProps, Pick<ColorInputProps, "onTriggerPress"> {
6480
+ interface IconSliderProps extends Pick<SliderProps, "value" | "minValue" | "maxValue" | "onChange" | "defaultValue" | "includeNumberInput" | "step" | "numberFormatOptions" | "isDisabled" | "isReadOnly">, StylingProps, IconComponentProps, Pick<ColorInputProps, "onTriggerPress"> {
6096
6481
  /**
6097
6482
  * A function to format the value of the slider.
6098
6483
  *
@@ -6419,7 +6804,30 @@ interface ToggleButtonProps extends Omit<StylingProps, "style" | "className">, O
6419
6804
 
6420
6805
  declare const ToggleButton: React__default.ForwardRefExoticComponent<ToggleButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
6421
6806
 
6422
- interface CheckboxProps extends Omit<AriaCheckboxProps, "children" | "validationBehavior" | "validationState" | "validate">, StylingProps {
6807
+ type CalendarSize = "xs" | "sm";
6808
+ type CalendarHeaderVariant = "title" | "selectMonth" | "selectMonthAndYear";
6809
+ interface CalendarBaseProps {
6810
+ /** The size of the calendar. */
6811
+ size?: CalendarSize;
6812
+ /** Optional title displayed above the calendar (e.g. "Date"). Shows a calendar icon and separator. */
6813
+ title?: string;
6814
+ /**
6815
+ * Controls how the calendar header is displayed.
6816
+ * - `"title"`: Month and year as plain text between navigation arrows (default).
6817
+ * - `"selectMonth"`: Month and year as a dropdown selector with grouped navigation arrows.
6818
+ * - `"selectMonthAndYear"`: Separate month and year sections, each with their own navigation arrows.
6819
+ * @default "title"
6820
+ */
6821
+ headerVariant?: CalendarHeaderVariant;
6822
+ }
6823
+ type CalendarProps<T extends DateValue = DateValue> = StylingProps & Omit<CalendarProps$1<T>, "visibleDuration"> & CalendarBaseProps;
6824
+ type RangeCalendarProps<T extends DateValue = DateValue> = StylingProps & Omit<RangeCalendarProps$1<T>, "visibleDuration"> & CalendarBaseProps;
6825
+
6826
+ declare const Calendar: <T extends DateValue>(props: CalendarProps<T> & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement;
6827
+
6828
+ declare const RangeCalendar: <T extends DateValue>(props: RangeCalendarProps<T> & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement;
6829
+
6830
+ interface CheckboxProps extends Omit<CheckboxProps$1, "children" | "className" | "style">, StylingProps {
6423
6831
  /** The checkbox's label. */
6424
6832
  label?: string;
6425
6833
  /**
@@ -6488,6 +6896,49 @@ type DateFormatProps = Parameters<typeof useDateFormatter>[0] & {
6488
6896
 
6489
6897
  declare const DateFormat: React__default.FC<DateFormatProps>;
6490
6898
 
6899
+ type TagVariant = "neutral" | "red" | "green" | "blue" | "high-contrast";
6900
+ interface TagProps extends StylingProps {
6901
+ /**
6902
+ * The content to display inside the tag.
6903
+ */
6904
+ children: React__default.ReactNode;
6905
+ /**
6906
+ * The visual variant of the tag.
6907
+ *
6908
+ * @default "neutral"
6909
+ */
6910
+ variant?: TagVariant;
6911
+ /**
6912
+ * The size of the tag.
6913
+ *
6914
+ * @default "md"
6915
+ */
6916
+ size?: "sm" | "md";
6917
+ /**
6918
+ * An optional icon to display before the tag content.
6919
+ */
6920
+ icon?: React__default.FC<IconProps>;
6921
+ /**
6922
+ * Whether the tag is disabled.
6923
+ *
6924
+ * @default false
6925
+ */
6926
+ isDisabled?: boolean;
6927
+ /**
6928
+ * Whether the tag is selected.
6929
+ *
6930
+ * @default false
6931
+ */
6932
+ isSelected?: boolean;
6933
+ /**
6934
+ * Callback when the remove button is pressed. When provided, a remove button
6935
+ * is rendered.
6936
+ */
6937
+ onRemove?: () => void;
6938
+ }
6939
+
6940
+ declare const Tag: React__default.ForwardRefExoticComponent<TagProps & React__default.RefAttributes<HTMLDivElement>>;
6941
+
6491
6942
  interface Item$1 {
6492
6943
  id: string;
6493
6944
  label: string;
@@ -6669,7 +7120,7 @@ interface UNSAFE_ListBoxProps extends StylingProps, Omit<AriaListBoxProps<ListIt
6669
7120
  }
6670
7121
 
6671
7122
  type SelectionMode = "single" | "multiple";
6672
- interface SelectProps<M extends SelectionMode = SelectionMode> extends Omit<AriaSelectOptions<ListItem, M> & SelectStateOptions<ListItem, M> & PopoverContentProps, "validationState" | "items" | "children" | "isRequired" | "className" | "style" | "triggerRef" | "validate" | "validationBehavior" | "keyboardDelegate" | "state" | "overlayProps">, Pick<UNSAFE_ListBoxProps, "items" | "optionStyle" | "optionClassName">, Pick<ColorInputProps, "onTriggerPress">, StylingProps {
7123
+ interface SelectProps<M extends SelectionMode = SelectionMode> extends Omit<AriaSelectOptions<ListItem, M> & SelectStateOptions<ListItem, M> & PopoverContentProps, "validationState" | "items" | "children" | "isRequired" | "className" | "style" | "triggerRef" | "validate" | "validationBehavior" | "keyboardDelegate" | "state" | "overlayProps">, Pick<UNSAFE_ListBoxProps, "items" | "optionStyle" | "optionClassName" | "showSectionHeader">, Pick<ColorInputProps, "onTriggerPress">, StylingProps {
6673
7124
  /**
6674
7125
  * The position of the label.
6675
7126
  *
@@ -6873,33 +7324,6 @@ interface InlineAlertProps extends StylingProps {
6873
7324
 
6874
7325
  declare const InlineAlert: React__default.ForwardRefExoticComponent<InlineAlertProps & React__default.RefAttributes<HTMLDivElement>>;
6875
7326
 
6876
- interface NumberInputProps extends StylingProps, Omit<AriaNumberFieldProps, "validationState" | "isRequired" | "validate" | "validationBehavior"> {
6877
- /**
6878
- * The position of the label relative to the input.
6879
- *
6880
- * @default top
6881
- */
6882
- labelPosition?: "top" | "start";
6883
- /**
6884
- * The variant of the number input.
6885
- *
6886
- * @default primary
6887
- */
6888
- variant?: "primary" | "ghost";
6889
- /**
6890
- * Whether to show the stepper buttons.
6891
- *
6892
- * @default true
6893
- */
6894
- showStepper?: boolean;
6895
- /** The description to display below the input. */
6896
- description?: string;
6897
- /** The error message to display when the input is in an error state. */
6898
- errorMessage?: string;
6899
- }
6900
-
6901
- declare const NumberInput: React__default.ForwardRefExoticComponent<NumberInputProps & React__default.RefAttributes<HTMLDivElement>>;
6902
-
6903
7327
  interface DrawerProps extends StylingProps, AriaDialogProps {
6904
7328
  /** The children to render. */
6905
7329
  children: React__default.ReactNode;
@@ -8738,6 +9162,15 @@ interface KbdProps extends Omit<StylingProps, "data-block-id" | "data-block-clas
8738
9162
 
8739
9163
  declare const Kbd: React__default.ForwardRefExoticComponent<KbdProps & React__default.RefAttributes<HTMLSpanElement>>;
8740
9164
 
9165
+ interface SkeletonProps {
9166
+ /** The className applied to the root element of the component. */
9167
+ className?: string;
9168
+ /** The style applied to the root element of the component. */
9169
+ style?: React__default.CSSProperties;
9170
+ }
9171
+
9172
+ declare const Skeleton: React__default.ForwardRefExoticComponent<SkeletonProps & React__default.RefAttributes<HTMLDivElement>>;
9173
+
8741
9174
  /**
8742
9175
  * A hook that creates an IntersectionObserver and observes a target element.
8743
9176
  *
@@ -9148,4 +9581,4 @@ declare namespace reactStately {
9148
9581
  export { type reactStately_Color as Color, type reactStately_ListData as ListData, type reactStately_TreeData as TreeData, reactStately_useListData as useListData, reactStately_useTreeData as useTreeData };
9149
9582
  }
9150
9583
 
9151
- export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionButton, type ActionButtonProps, ActionGroup, ActionGroupItem, type ActionGroupProps, ActionIconButton, type ActionIconButtonProps, Actionable, type ActionableProps, AlertDialog, type AlertDialogProps, AudioPlayer, type AudioPlayerProps, Autocomplete, type AutocompleteProps, Avatar, type AvatarProps, type BlockProps, type BoundaryAxis, Box, type BoxProps, ButtonSelect, type ButtonSelectProps, Checkbox, type CheckboxProps, Code, type CodeProps, ColorInput, type ColorInputProps, type ColorPreset, ColorSwatch, ColorSwatchPicker, type ColorSwatchPickerProps, type ColorSwatchProps, ComboBox, type ComboBoxProps, DateField, type DateFieldProps, DateFormat, type DateFormatProps, DefaultListOption, type Device, DeviceProvider, DeviceProviderContext, type DeviceProviderProps, Dialog, type DialogProps, DialogTitle, type DialogTitleProps, Disclosure, type DisclosureProps, DomNodeRenderer, type DomNodeRendererProps, Drawer, type DrawerProps, Editor, type EditorHandle, type EditorProps, FileUpload, type FileUploadProps, FocusScope, Focusable, type FocusableProps, FrameProvider, type FrameProviderProps, FreehandCanvas, type FreehandCanvasProps, GlobalToastRegion, GridLayout, GridList, type GridListProps, Group, type GroupProps, type HorizontalBoundaryBehavior, I18nProvider, type I18nProviderProps, type I18nResult, Icon, IconColorInput, IconColorInputButton, type IconColorInputProps, type IconComponentProps$1 as IconComponentProps, type IconProps, IconSelect, type IconSelectProps, IconSlider, type IconSliderProps, ImageDropZone, type ImageDropZoneProps, ImageGallery, type ImageGalleryProps, type ImperativePanelGroupHandle, type ImperativePanelHandle, InlineAlert, type InlineAlertProps, Kbd, type KbdProps, type Key, Link, type LinkProps, ListBox, type ListBoxProps, type ListHandle$1 as ListHandle, ListLayout, type ListOption, LocaleAwareGridLayout, Markdown, type MarkdownProps, Menu, type MenuItem, type MenuProps, type MessageDescriptor, MessageFormat, type MessageFormatProps, type MessageFormatter, Modal, ModalClose, ModalContent, type ModalContentProps, type ModalProps, ModalTrigger, NumberFormat, type NumberFormatProps, NumberInput, type NumberInputProps, Pagination, type PaginationProps, Panel, PanelGroup, type PanelGroupProps, type PanelProps, PanelResizeHandle, type PanelResizeHandleProps, PointPicker, PointPickerContent, type PointPickerContentProps, PointPickerDisplay, type PointPickerDisplayProps, type PointPickerProps, Popover, PopoverContent, type PopoverContentHandle, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, PortalContainerProvider, type PortalProps, type PressEvent, Pressable, Preview, type PreviewProps, ProgressBar, type ProgressBarProps, ProgressSpinner, type ProgressSpinnerProps, RadioGroup, type RadioGroupProps, Reaction, type ReactionProps, type Rect, type SVGRProps, ScrollControlButton, type ScrollControlButtonProps, SearchInput, type SearchInputProps, Select, type SelectProps, Separator, type SeparatorProps, Size, Slider, type SliderProps, StatusCard, type StatusCardProps, type StylingProps, Switch, type SwitchProps, TabItem, type TabItemProps, TableLayout, Tabs, type TabsProps, TagGroup, type TagGroupProps, TaggedPagination, type TaggedPaginationProps, Text, TextInput, type TextInputProps, type TextProps, ThemeProvider, type ThemeProviderProps, TimeField, type TimeFieldProps, type ToastProps, ToastQueue, ToggleButton, type ToggleButtonProps, ToggleIconButton, type ToggleIconButtonProps, Toolbar, type ToolbarProps, Tooltip, type TooltipProps, type TreeListItem, TreeView, type TreeViewProps, UNSAFE_ListBox, type UNSAFE_ListBoxProps, reactAria as UNSAFE_aria, reactStately as UNSAFE_stately, VIRTUALIZER_LAYOUT_DEFAULT_OPTIONS, Virtualizer, type VirtualizerProps, VisuallyHidden, WaterfallLayout, announce, booleanOrObjectToConfig, calculateFontSizeToFitWidth, classNames, cleanKeyFromGlobImport, clearAnnouncer, defineMessages, destroyAnnouncer, directionVar, disableAnimations, enableAnimations, filterDOMProps, filterTruthyValues, findFocusableElements, getAbsoluteBounds, getAbsolutePosition, getActiveElement, getHTMLElement, getOsSpecificKeyboardShortcutLabel, getOwnerDocument, getPlainText, getSvgPathFromStroke, getTextDimensions, iconMap, invariant, isFocusableElement, isInIframe, isInShadowDOM, isInputThatOpensKeyboard, isInsideOverlayContent, isRect, isUrl, lightenColor, mergeProps, mergeRefs, parseColor, useCollator, useDateFormatter, useDevice, useDragAndDrop, useFilter, useFocusRing, useFocusVisible, useFrameDimensions, useI18n, useId, useImage, useInteractionModality, useIntersectionObserver, useIsFirstRender, useKeyboard, useListData, useLiveInteractionModality, useLocalStorage, useLocale, useMutationObserver, useNumberFormatter, useObjectRef, usePointProximity, usePortalContainer, usePreventFocus, useResizeObserver, useTextSelection, useUndoRedo, useUserPreferences };
9584
+ export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionButton, type ActionButtonProps, ActionGroup, ActionGroupItem, type ActionGroupProps, ActionIconButton, type ActionIconButtonProps, Actionable, type ActionableProps, AlertDialog, type AlertDialogProps, AudioPlayer, type AudioPlayerProps, Autocomplete, type AutocompleteProps, Avatar, type AvatarProps, type BlockProps, type BoundaryAxis, Box, type BoxProps, ButtonSelect, type ButtonSelectProps, Calendar, type CalendarHeaderVariant, type CalendarProps, type CalendarSize, Checkbox, type CheckboxProps, Code, type CodeProps, ColorInput, type ColorInputProps, type ColorPreset, ColorSwatch, ColorSwatchPicker, type ColorSwatchPickerProps, type ColorSwatchProps, ComboBox, type ComboBoxProps, DateField, type DateFieldProps, DateFormat, type DateFormatProps, DefaultListOption, type Device, DeviceProvider, DeviceProviderContext, type DeviceProviderProps, Dialog, type DialogProps, DialogTitle, type DialogTitleProps, Disclosure, type DisclosureProps, DomNodeRenderer, type DomNodeRendererProps, Drawer, type DrawerProps, Editor, type EditorHandle, type EditorProps, FileUpload, type FileUploadProps, FocusScope, Focusable, type FocusableProps, FrameProvider, type FrameProviderProps, FreehandCanvas, type FreehandCanvasProps, GlobalToastRegion, GridLayout, GridList, type GridListProps, Group, type GroupProps, type HorizontalBoundaryBehavior, I18nProvider, type I18nProviderProps, type I18nResult, Icon, IconColorInput, IconColorInputButton, type IconColorInputProps, type IconComponentProps$1 as IconComponentProps, type IconProps, IconSelect, type IconSelectProps, IconSlider, type IconSliderProps, ImageDropZone, type ImageDropZoneProps, ImageGallery, type ImageGalleryProps, type ImperativePanelGroupHandle, type ImperativePanelHandle, InlineAlert, type InlineAlertProps, Kbd, type KbdProps, type Key, Link, type LinkProps, ListBox, type ListBoxProps, type ListHandle$1 as ListHandle, ListLayout, type ListOption, LocaleAwareGridLayout, Markdown, type MarkdownProps, Menu, type MenuItem, type MenuProps, type MessageDescriptor, MessageFormat, type MessageFormatProps, type MessageFormatter, Modal, ModalClose, ModalContent, type ModalContentProps, type ModalProps, ModalTrigger, NumberFormat, type NumberFormatProps, NumberInput, type NumberInputProps, Pagination, type PaginationProps, Panel, PanelGroup, type PanelGroupProps, type PanelProps, PanelResizeHandle, type PanelResizeHandleProps, PointPicker, PointPickerContent, type PointPickerContentProps, PointPickerDisplay, type PointPickerDisplayProps, type PointPickerProps, Popover, PopoverContent, type PopoverContentHandle, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, PortalContainerProvider, type PortalProps, type PressEvent, Pressable, Preview, type PreviewProps, ProgressBar, type ProgressBarProps, ProgressSpinner, type ProgressSpinnerProps, RadioGroup, type RadioGroupProps, RangeCalendar, type RangeCalendarProps, Reaction, type ReactionProps, type Rect, type SVGRProps, ScrollControlButton, type ScrollControlButtonProps, SearchInput, type SearchInputProps, Select, type SelectProps, Separator, type SeparatorProps, Size, Skeleton, type SkeletonProps, Slider, type SliderProps, StatusCard, type StatusCardProps, type StylingProps, Switch, type SwitchProps, TabItem, type TabItemProps, TableLayout, Tabs, type TabsProps, Tag, TagGroup, type TagGroupProps, type TagProps, type TagVariant, TaggedPagination, type TaggedPaginationProps, Text, TextInput, type TextInputProps, type TextProps, ThemeProvider, type ThemeProviderProps, TimeField, type TimeFieldProps, type ToastProps, ToastQueue, ToggleButton, type ToggleButtonProps, ToggleIconButton, type ToggleIconButtonProps, Toolbar, type ToolbarProps, Tooltip, type TooltipProps, type TreeListItem, TreeView, type TreeViewProps, UNSAFE_ListBox, type UNSAFE_ListBoxProps, reactAria as UNSAFE_aria, reactStately as UNSAFE_stately, VIRTUALIZER_LAYOUT_DEFAULT_OPTIONS, Virtualizer, type VirtualizerProps, VisuallyHidden, WaterfallLayout, announce, booleanOrObjectToConfig, calculateFontSizeToFitWidth, classNames, cleanKeyFromGlobImport, clearAnnouncer, defineMessages, destroyAnnouncer, directionVar, disableAnimations, enableAnimations, filterDOMProps, filterTruthyValues, findFocusableElements, getAbsoluteBounds, getAbsolutePosition, getActiveElement, getHTMLElement, getOsSpecificKeyboardShortcutLabel, getOwnerDocument, getPlainText, getSvgPathFromStroke, getTextDimensions, iconMap, invariant, isFocusableElement, isInIframe, isInShadowDOM, isInputThatOpensKeyboard, isInsideOverlayContent, isRect, isUrl, lightenColor, mergeProps, mergeRefs, parseColor, useCollator, useDateFormatter, useDevice, useDragAndDrop, useFilter, useFocusRing, useFocusVisible, useFrameDimensions, useI18n, useId, useImage, useInteractionModality, useIntersectionObserver, useIsFirstRender, useKeyboard, useListData, useLiveInteractionModality, useLocalStorage, useLocale, useMutationObserver, useNumberFormatter, useObjectRef, usePointProximity, usePortalContainer, usePreventFocus, useResizeObserver, useTextSelection, useUndoRedo, useUserPreferences };