@kanso-labs/kanso-ui 0.48.0 → 0.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/dist/button/hooks.js +3 -3
  2. package/dist/button/index.js +2 -2
  3. package/dist/calendar/index.js +5 -5
  4. package/dist/chip/label.js +1 -1
  5. package/dist/collection/index.js +2 -2
  6. package/dist/components/app-bar/index.d.ts +1 -1
  7. package/dist/components/app-bar/index.js +2 -2
  8. package/dist/components/autocomplete/index.js +2 -2
  9. package/dist/components/avatar/index.d.ts +1 -1
  10. package/dist/components/avatar/index.js +1 -1
  11. package/dist/components/badge/index.js +3 -3
  12. package/dist/components/breadcrumbs/index.js +2 -2
  13. package/dist/components/button/index.d.ts +1 -1
  14. package/dist/components/button/index.js +3 -3
  15. package/dist/components/button-group/index.d.ts +1 -1
  16. package/dist/components/button-group/index.js +3 -3
  17. package/dist/components/calendar/index.js +4 -4
  18. package/dist/components/card/index.js +2 -2
  19. package/dist/components/carousel/index.d.ts +1 -1
  20. package/dist/components/carousel/index.js +2 -2
  21. package/dist/components/checkbox/index.js +3 -3
  22. package/dist/components/checkbox-group/index.js +2 -2
  23. package/dist/components/chip/index.js +2 -2
  24. package/dist/components/chip-group/index.js +3 -3
  25. package/dist/components/code/index.js +1 -1
  26. package/dist/components/color-area/index.js +2 -2
  27. package/dist/components/color-field/index.d.ts +1 -1
  28. package/dist/components/color-field/index.js +2 -2
  29. package/dist/components/color-picker/index.js +2 -2
  30. package/dist/components/color-slider/index.js +3 -3
  31. package/dist/components/color-swatch/index.js +3 -3
  32. package/dist/components/color-swatch-picker/index.js +2 -2
  33. package/dist/components/color-wheel/index.js +2 -2
  34. package/dist/components/combo-box/index.d.ts +1 -1
  35. package/dist/components/combo-box/index.js +3 -3
  36. package/dist/components/container/index.js +1 -1
  37. package/dist/components/copy-field/index.js +2 -2
  38. package/dist/components/currency/index.js +3 -3
  39. package/dist/components/date-field/index.d.ts +1 -1
  40. package/dist/components/date-field/index.js +2 -2
  41. package/dist/components/date-picker/index.d.ts +2 -2
  42. package/dist/components/date-picker/index.js +5 -5
  43. package/dist/components/date-range-picker/index.d.ts +2 -2
  44. package/dist/components/date-range-picker/index.js +3 -3
  45. package/dist/components/dialog/index.js +4 -4
  46. package/dist/components/disclosure/index.js +3 -3
  47. package/dist/components/disclosure-group/index.js +3 -3
  48. package/dist/components/drop-zone/index.js +2 -2
  49. package/dist/components/fab/index.d.ts +1 -1
  50. package/dist/components/fab/index.js +1 -1
  51. package/dist/components/fab-menu/index.d.ts +2 -2
  52. package/dist/components/fab-menu/index.js +3 -3
  53. package/dist/components/feed/index.js +1 -1
  54. package/dist/components/form/index.js +2 -2
  55. package/dist/components/icon-button/index.d.ts +1 -1
  56. package/dist/components/icon-button/index.js +3 -3
  57. package/dist/components/keycap/index.js +2 -2
  58. package/dist/components/link/index.js +2 -2
  59. package/dist/components/list/index.js +3 -3
  60. package/dist/components/list-box/index.js +3 -3
  61. package/dist/components/list-detail/index.d.ts +1 -1
  62. package/dist/components/list-detail/index.js +1 -1
  63. package/dist/components/list-item/index.js +1 -1
  64. package/dist/components/loading-indicator/index.js +2 -2
  65. package/dist/components/menu/index.d.ts +2 -2
  66. package/dist/components/menu/index.js +3 -3
  67. package/dist/components/meter/index.d.ts +1 -1
  68. package/dist/components/meter/index.js +2 -2
  69. package/dist/components/navigation-bar/index.d.ts +1 -1
  70. package/dist/components/navigation-bar/index.js +2 -2
  71. package/dist/components/navigation-rail/index.d.ts +1 -1
  72. package/dist/components/navigation-rail/index.js +2 -2
  73. package/dist/components/navigation-tree/index.js +2 -2
  74. package/dist/components/number-field/index.d.ts +1 -1
  75. package/dist/components/number-field/index.js +2 -2
  76. package/dist/components/popover/index.d.ts +1 -1
  77. package/dist/components/popover/index.js +4 -4
  78. package/dist/components/product-icon/index.d.ts +1 -1
  79. package/dist/components/product-icon/index.js +1 -1
  80. package/dist/components/progress-indicator/index.d.ts +1 -1
  81. package/dist/components/progress-indicator/index.js +2 -2
  82. package/dist/components/radio-group/index.js +2 -2
  83. package/dist/components/range-calendar/index.js +3 -3
  84. package/dist/components/search-field/index.js +2 -2
  85. package/dist/components/search-view/index.d.ts +1 -1
  86. package/dist/components/search-view/index.js +2 -2
  87. package/dist/components/segmented-button/index.d.ts +1 -1
  88. package/dist/components/segmented-button/index.js +3 -3
  89. package/dist/components/select/index.d.ts +1 -1
  90. package/dist/components/select/index.js +3 -3
  91. package/dist/components/separator/index.js +3 -3
  92. package/dist/components/sheet/index.js +3 -3
  93. package/dist/components/slider/index.js +2 -2
  94. package/dist/components/snackbar/index.js +3 -3
  95. package/dist/components/split-button/index.d.ts +1 -1
  96. package/dist/components/split-button/index.js +3 -3
  97. package/dist/components/stack/index.js +2 -2
  98. package/dist/components/supporting-pane/index.d.ts +1 -1
  99. package/dist/components/supporting-pane/index.js +1 -1
  100. package/dist/components/switch/index.d.ts +1 -1
  101. package/dist/components/switch/index.js +3 -3
  102. package/dist/components/table/index.js +3 -3
  103. package/dist/components/tabs/index.js +3 -3
  104. package/dist/components/tag/index.js +1 -1
  105. package/dist/components/text/index.js +1 -1
  106. package/dist/components/text-area/index.d.ts +1 -1
  107. package/dist/components/text-area/index.js +2 -2
  108. package/dist/components/text-field/index.d.ts +1 -1
  109. package/dist/components/text-field/index.js +2 -2
  110. package/dist/components/time-field/index.d.ts +1 -1
  111. package/dist/components/time-field/index.js +2 -2
  112. package/dist/components/time-picker/index.d.ts +1 -1
  113. package/dist/components/time-picker/index.js +4 -4
  114. package/dist/components/token-field/index.d.ts +1 -1
  115. package/dist/components/token-field/index.js +3 -3
  116. package/dist/components/toolbar/index.js +3 -3
  117. package/dist/components/tooltip/index.d.ts +1 -1
  118. package/dist/components/tooltip/index.js +2 -2
  119. package/dist/components/tree/index.js +3 -3
  120. package/dist/control/index.js +2 -2
  121. package/dist/drag/hooks.js +2 -2
  122. package/dist/drag/index.js +2 -2
  123. package/dist/field/index.js +3 -3
  124. package/dist/glyphs/index.js +1 -1
  125. package/dist/hooks/useClippedTitle.js +1 -1
  126. package/dist/hooks/useEnlargedText.js +1 -1
  127. package/dist/hooks/useRipple.js +2 -2
  128. package/dist/i18n/index.js +2 -2
  129. package/dist/index.js +1 -1
  130. package/dist/indicator/index.js +2 -2
  131. package/dist/mark/index.js +2 -2
  132. package/dist/navigation/index.js +3 -3
  133. package/dist/overlay/index.js +1 -1
  134. package/dist/render/useRender.js +1 -1
  135. package/dist/row/index.js +2 -2
  136. package/dist/segments/index.js +1 -1
  137. package/dist/segments/literal.js +3 -3
  138. package/dist/theme-scope.js +4 -4
  139. package/package.json +3 -3
@@ -1,9 +1,9 @@
1
- import { useRipple } from "../hooks/useRipple.js";
2
- import { ariaAttributesOf } from "../render/aria.js";
3
- import { refCallback } from "../render/ref.js";
4
1
  import { c } from "react/compiler-runtime";
5
2
  import { useState } from "react";
6
3
  import { ButtonContext, useSlottedContext } from "react-aria-components";
4
+ import { useRipple } from "../hooks/useRipple.js";
5
+ import { ariaAttributesOf } from "../render/aria.js";
6
+ import { refCallback } from "../render/ref.js";
7
7
  // src/button/hooks.ts
8
8
  /**
9
9
  * What a button does past React Aria, whichever of its elements it renders:
@@ -1,4 +1,6 @@
1
+ import { c } from "react/compiler-runtime";
1
2
  import { props } from "../node_modules/@stylexjs/stylex/lib/es/stylex.js";
3
+ import { Button, Link, ToggleButton } from "react-aria-components";
2
4
  import ProgressIndicator from "../components/progress-indicator/index.js";
3
5
  import { useToggleGroupDisabled } from "../hooks/useToggleGroupDisabled.js";
4
6
  import { useMessages } from "../i18n/index.js";
@@ -7,9 +9,7 @@ import { mergeStatefulStyles } from "../styles/merge.js";
7
9
  import { useRadioItem } from "../toggle-group/index.js";
8
10
  import { useButtonBase, useOwnPress } from "./hooks.js";
9
11
  import { buttonBaseStyles } from "./styles.js";
10
- import { c } from "react/compiler-runtime";
11
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
- import { Button, Link, ToggleButton } from "react-aria-components";
13
13
  // src/button/index.tsx
14
14
  function busyElement(element, isPending) {
15
15
  return isPending ? {
@@ -1,15 +1,15 @@
1
+ import { c } from "react/compiler-runtime";
2
+ import { endOfMonth, startOfMonth } from "@internationalized/date";
1
3
  import { props } from "../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { useContext, useId, useRef, useState } from "react";
5
+ import { useDateFormatter } from "react-aria";
6
+ import { Button, ButtonContext, CalendarGrid, CalendarGridBody, CalendarGridHeader as CalendarGridHeader$1, CalendarHeaderCell, CalendarMonthPicker, CalendarStateContext, CalendarYearPicker, Heading, ListBox, ListBoxItem, RangeCalendarStateContext } from "react-aria-components";
2
7
  import { ArrowDropDownGlyph, CheckGlyph, ChevronEndGlyph } from "../glyphs/index.js";
3
8
  import { focus } from "../styles/focus.js";
4
9
  import { iconButton } from "../styles/icon-button.js";
5
10
  import { monthOffsets } from "./months.js";
6
11
  import { calendarStyles, dateLayers, menuLayers } from "./styles.js";
7
- import { c } from "react/compiler-runtime";
8
- import { useContext, useId, useRef, useState } from "react";
9
12
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
- import { Button, ButtonContext, CalendarGrid, CalendarGridBody, CalendarGridHeader as CalendarGridHeader$1, CalendarHeaderCell, CalendarMonthPicker, CalendarStateContext, CalendarYearPicker, Heading, ListBox, ListBoxItem, RangeCalendarStateContext } from "react-aria-components";
11
- import { endOfMonth, startOfMonth } from "@internationalized/date";
12
- import { useDateFormatter } from "react-aria";
13
13
  // src/calendar/index.tsx
14
14
  const LISTED_YEARS = 201;
15
15
  /**
@@ -1,7 +1,7 @@
1
+ import { c } from "react/compiler-runtime";
1
2
  import { props } from "../node_modules/@stylexjs/stylex/lib/es/stylex.js";
2
3
  import { useClippedTitle } from "../hooks/useClippedTitle.js";
3
4
  import { chipStyles } from "./styles.js";
4
- import { c } from "react/compiler-runtime";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  // src/chip/label.tsx
7
7
  function ChipLabel(t0) {
@@ -1,11 +1,11 @@
1
+ import { c } from "react/compiler-runtime";
1
2
  import { props } from "../node_modules/@stylexjs/stylex/lib/es/stylex.js";
3
+ import { useContext, useEffect, useState } from "react";
2
4
  import ProgressIndicator from "../components/progress-indicator/index.js";
3
5
  import { useMessages } from "../i18n/index.js";
4
6
  import { rowStyles } from "../row/styles.js";
5
7
  import { EmptyStatusContext } from "./empty.js";
6
8
  import { collectionStyles } from "./styles.js";
7
- import { c } from "react/compiler-runtime";
8
- import { useContext, useEffect, useState } from "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  // src/collection/index.tsx
11
11
  /**
@@ -1,5 +1,5 @@
1
- import { RenderComponentProps } from "../../render/useRender.js";
2
1
  import { ReactNode } from "react";
2
+ import { RenderComponentProps } from "../../render/useRender.js";
3
3
  type AppBarProps = Omit<RenderComponentProps<'header'>, 'children'> & {
4
4
  /**
5
5
  * Which of Material Design's alignments the text takes. `center` is the
@@ -1,5 +1,7 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { createElement, useEffect, useLayoutEffect, useRef } from "react";
3
5
  import "../../hooks/useAppBarScroll.js";
4
6
  import { hasContent } from "../../render/content.js";
5
7
  import { useRender } from "../../render/useRender.js";
@@ -7,8 +9,6 @@ import { mergeStyles } from "../../styles/merge.js";
7
9
  import { spacing } from "../../tokens/design.tokens.stylex.js";
8
10
  import { motionDurationMs, motionEasing } from "../../tokens/values.js";
9
11
  import Text from "../text/index.js";
10
- import { c } from "react/compiler-runtime";
11
- import { createElement, useEffect, useLayoutEffect, useRef } from "react";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
13
  // src/components/app-bar/index.tsx
14
14
  const ICON_BUTTON_TARGET = "48px";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { CollectionStatus } from "../../collection/index.js";
3
2
  import { c } from "react/compiler-runtime";
4
- import { jsx } from "react/jsx-runtime";
5
3
  import { Autocomplete as Autocomplete$1, useFilter } from "react-aria-components";
4
+ import { CollectionStatus } from "../../collection/index.js";
5
+ import { jsx } from "react/jsx-runtime";
6
6
  // src/components/autocomplete/index.tsx
7
7
  /**
8
8
  * A search input that filters the collection under it. Its value is React
@@ -1,5 +1,5 @@
1
- import { RenderComponentProps } from "../../render/useRender.js";
2
1
  import { ImgHTMLAttributes } from "react";
2
+ import { RenderComponentProps } from "../../render/useRender.js";
3
3
  type AvatarProps = {
4
4
  /**
5
5
  * Hides the avatar from assistive technology, for one beside the person's
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import Mark from "../../mark/index.js";
3
2
  import { c } from "react/compiler-runtime";
3
+ import Mark from "../../mark/index.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  // src/components/avatar/index.tsx
6
6
  /**
@@ -1,12 +1,12 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { useContext } from "react";
5
+ import { useLocale } from "react-aria-components";
3
6
  import { BadgeMarkContext } from "../../badge/index.js";
4
7
  import { useRender } from "../../render/useRender.js";
5
8
  import { mergeStyles } from "../../styles/merge.js";
6
- import { c } from "react/compiler-runtime";
7
- import { useContext } from "react";
8
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
9
- import { useLocale } from "react-aria-components";
10
10
  // src/components/badge/index.tsx
11
11
  const styles = {
12
12
  count: {
@@ -1,10 +1,10 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
3
+ import { Breadcrumb, Breadcrumbs as Breadcrumbs$1 } from "react-aria-components";
2
4
  import { ChevronEndGlyph } from "../../glyphs/index.js";
3
5
  import { mergeStatefulStyles, mergeStyles } from "../../styles/merge.js";
4
6
  import Link$1 from "../link/index.js";
5
- import { c } from "react/compiler-runtime";
6
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
- import { Breadcrumb, Breadcrumbs as Breadcrumbs$1 } from "react-aria-components";
8
8
  // src/components/breadcrumbs/index.tsx
9
9
  /**
10
10
  * A trail of links back up a hierarchy, ending at the page you are on.
@@ -1,6 +1,6 @@
1
- import { ButtonDOMProps, ButtonLinkForm, ButtonPressForm, ButtonState, ButtonToggleForm } from "../../button/index.js";
2
1
  import { ReactNode, RefAttributes } from "react";
3
2
  import { ClassNameOrFunction, StyleOrFunction } from "react-aria-components";
3
+ import { ButtonDOMProps, ButtonLinkForm, ButtonPressForm, ButtonState, ButtonToggleForm } from "../../button/index.js";
4
4
  type ButtonProps = ButtonDOMProps & (ButtonLinkForm | ButtonPressForm | (ButtonToggleForm & {
5
5
  /**
6
6
  * A toggle takes any variant but `text`, which the page gives no
@@ -1,5 +1,8 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { useContext, useState } from "react";
5
+ import { ToggleGroupStateContext } from "react-aria-components";
3
6
  import { ButtonBase, ToggleButtonBase } from "../../button/index.js";
4
7
  import { ButtonGroupItemContext } from "../../button/context.js";
5
8
  import { groupPressHandlers } from "../../button/group.js";
@@ -7,10 +10,7 @@ import { useSelection } from "../../button/hooks.js";
7
10
  import { pressThen } from "../../button/toggle.js";
8
11
  import { focus } from "../../styles/focus.js";
9
12
  import { spacing } from "../../tokens/design.tokens.stylex.js";
10
- import { c } from "react/compiler-runtime";
11
- import { useContext, useState } from "react";
12
13
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
13
- import { ToggleGroupStateContext } from "react-aria-components";
14
14
  // src/components/button/index.tsx
15
15
  const styles = {
16
16
  base: {
@@ -1,6 +1,6 @@
1
- import { ButtonShape, ButtonSize } from "../button/index.js";
2
1
  import { CSSProperties, ReactNode, RefAttributes } from "react";
3
2
  import { ToggleButtonGroupProps } from "react-aria-components";
3
+ import { ButtonShape, ButtonSize } from "../button/index.js";
4
4
  type ButtonGroupProps = Omit<ToggleButtonGroupProps, 'children' | 'className' | 'disallowEmptySelection' | 'selectionMode' | 'style'> & RefAttributes<HTMLDivElement> & {
5
5
  /** The buttons: Buttons and IconButtons, each with an `id` in a group that selects. */
6
6
  children?: ReactNode;
@@ -1,13 +1,13 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { Children, isValidElement, useState } from "react";
5
+ import { ButtonContext, Group, ToggleButtonGroup } from "react-aria-components";
3
6
  import { ButtonGroupItemContext } from "../../button/context.js";
4
7
  import { mergeStyles } from "../../styles/merge.js";
5
8
  import { toggleGroupRenderer } from "../../toggle-group/index.js";
6
9
  import { radii, sizing } from "../../tokens/design.tokens.stylex.js";
7
- import { c } from "react/compiler-runtime";
8
- import { Children, isValidElement, useState } from "react";
9
10
  import { jsx } from "react/jsx-runtime";
10
- import { ButtonContext, Group, ToggleButtonGroup } from "react-aria-components";
11
11
  // src/components/button-group/index.tsx
12
12
  const EXPANDED_RATIO = .15;
13
13
  const DISABLED = { isDisabled: true };
@@ -1,16 +1,16 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
3
+ import { isSameDay } from "@internationalized/date";
2
4
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
5
+ import { useContext } from "react";
6
+ import { Calendar as Calendar$1, CalendarCell, CalendarStateContext, Text } from "react-aria-components";
3
7
  import { CalendarFrame, CalendarMonths } from "../../calendar/index.js";
4
8
  import { calendarStyles, dateLayers } from "../../calendar/styles.js";
5
9
  import { invalidFrom } from "../../field/root.js";
6
10
  import { fieldChromeStyles } from "../../field/styles.js";
7
11
  import { focus } from "../../styles/focus.js";
8
12
  import { mergeStatefulStyles } from "../../styles/merge.js";
9
- import { c } from "react/compiler-runtime";
10
- import { useContext } from "react";
11
13
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
12
- import { Calendar as Calendar$1, CalendarCell, CalendarStateContext, Text } from "react-aria-components";
13
- import { isSameDay } from "@internationalized/date";
14
14
  // src/components/calendar/index.tsx
15
15
  /**
16
16
  * A month calendar for picking a date. The value is React Aria's: pass
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { cloneElement, isValidElement } from "react";
3
5
  import { useRipple } from "../../hooks/useRipple.js";
4
6
  import { useRender } from "../../render/useRender.js";
5
7
  import { focus } from "../../styles/focus.js";
6
8
  import { mergeStyles } from "../../styles/merge.js";
7
- import { c } from "react/compiler-runtime";
8
- import { cloneElement, isValidElement } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
10
  // src/components/card/index.tsx
11
11
  const styles = {
@@ -1,5 +1,5 @@
1
- import { CarouselLayout } from "../../carousel/arrangement.js";
2
1
  import { HTMLAttributes, ReactNode, RefAttributes } from "react";
2
+ import { CarouselLayout } from "../../carousel/arrangement.js";
3
3
  type CarouselItemProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
4
4
  /**
5
5
  * What the item shows: usually an image, which the item masks. A function
@@ -1,5 +1,7 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { Children, createContext, isValidElement, useContext, useEffect, useLayoutEffect, useRef, useState } from "react";
3
5
  import { arrange, placements } from "../../carousel/arrangement.js";
4
6
  import { ChevronEndGlyph } from "../../glyphs/index.js";
5
7
  import { useMessages } from "../../i18n/index.js";
@@ -7,8 +9,6 @@ import { focus } from "../../styles/focus.js";
7
9
  import { mergeStyles } from "../../styles/merge.js";
8
10
  import { radii } from "../../tokens/design.tokens.stylex.js";
9
11
  import IconButton from "../icon-button/index.js";
10
- import { c } from "react/compiler-runtime";
11
- import { Children, createContext, isValidElement, useContext, useEffect, useLayoutEffect, useRef, useState } from "react";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
13
  // src/components/carousel/index.tsx
14
14
  /** The page's 16dp at a carousel's ends. */
@@ -1,5 +1,8 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { useContext } from "react";
5
+ import { CheckboxButton, CheckboxField, CheckboxGroupStateContext } from "react-aria-components";
3
6
  import { ControlLabel } from "../../control/index.js";
4
7
  import { controlStyles } from "../../control/styles.js";
5
8
  import { FieldMessage } from "../../field/index.js";
@@ -8,10 +11,7 @@ import { CheckGlyph, IndeterminateGlyph } from "../../glyphs/index.js";
8
11
  import { useRipple } from "../../hooks/useRipple.js";
9
12
  import { focus } from "../../styles/focus.js";
10
13
  import { mergeStatefulStyles } from "../../styles/merge.js";
11
- import { c } from "react/compiler-runtime";
12
- import { useContext } from "react";
13
14
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
14
- import { CheckboxButton, CheckboxField, CheckboxGroupStateContext } from "react-aria-components";
15
15
  // src/components/checkbox/index.tsx
16
16
  const styles = {
17
17
  box: {
@@ -1,13 +1,13 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { CheckboxGroup as CheckboxGroup$1 } from "react-aria-components";
3
5
  import { controlStyles } from "../../control/styles.js";
4
6
  import { FieldLabel, FieldMessage } from "../../field/index.js";
5
7
  import { invalidFrom, useFieldValidationBehavior } from "../../field/root.js";
6
8
  import { groupStyles } from "../../field/styles.js";
7
9
  import { mergeStatefulStyles } from "../../styles/merge.js";
8
- import { c } from "react/compiler-runtime";
9
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
- import { CheckboxGroup as CheckboxGroup$1 } from "react-aria-components";
11
11
  // src/components/checkbox-group/index.tsx
12
12
  /**
13
13
  * A labelled set of checkboxes with one value between them. The value is
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
3
+ import { Button, ToggleButton } from "react-aria-components";
2
4
  import { chipGlyph, chipLabel, chipPropsFor, chipTrailingIcon } from "../../chip/index.js";
3
5
  import { useRipple } from "../../hooks/useRipple.js";
4
6
  import { ariaAttributesOf, buttonRenderer, toggleButtonRenderer } from "../../render/aria.js";
5
7
  import { mergeStatefulStyles } from "../../styles/merge.js";
6
- import { c } from "react/compiler-runtime";
7
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
- import { Button, ToggleButton } from "react-aria-components";
9
9
  // src/components/chip/index.tsx
10
10
  function ActionChip(t0) {
11
11
  const $ = c(18);
@@ -1,5 +1,8 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { createContext, useContext } from "react";
5
+ import { Button, Tag, TagGroup, TagList } from "react-aria-components";
3
6
  import { chipGlyph, chipLabel, chipPropsFor, chipRemoveClassName } from "../../chip/index.js";
4
7
  import { chipStyles } from "../../chip/styles.js";
5
8
  import { textOf } from "../../collection/text.js";
@@ -10,10 +13,7 @@ import { CloseGlyph } from "../../glyphs/index.js";
10
13
  import { useRipple } from "../../hooks/useRipple.js";
11
14
  import { focus } from "../../styles/focus.js";
12
15
  import { mergeStatefulStyles, mergeStyles } from "../../styles/merge.js";
13
- import { c } from "react/compiler-runtime";
14
- import { createContext, useContext } from "react";
15
16
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
16
- import { Button, Tag, TagGroup, TagList } from "react-aria-components";
17
17
  // src/components/chip-group/index.tsx
18
18
  const styles = { list: {
19
19
  kGNEyG: "x6s0dn4",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { useRender } from "../../render/useRender.js";
3
4
  import { mergeStyles } from "../../styles/merge.js";
4
- import { c } from "react/compiler-runtime";
5
5
  // src/components/code/index.tsx
6
6
  /**
7
7
  * A fragment of code, a path, or an identifier set in the mono face. It
@@ -1,9 +1,9 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
3
+ import { ColorArea as ColorArea$1, ColorThumb } from "react-aria-components";
2
4
  import { thumbClassName } from "../../styles/color.js";
3
5
  import { mergeStyles } from "../../styles/merge.js";
4
- import { c } from "react/compiler-runtime";
5
6
  import { jsx } from "react/jsx-runtime";
6
- import { ColorArea as ColorArea$1, ColorThumb } from "react-aria-components";
7
7
  // src/components/color-area/index.tsx
8
8
  /**
9
9
  * Two channels of a colour as a plane, with a handle where they meet. The
@@ -1,6 +1,6 @@
1
- import { FieldVariant } from "../../field/index.js";
2
1
  import { ReactNode, Ref, RefAttributes } from "react";
3
2
  import { ColorFieldProps as ColorFieldProps$1 } from "react-aria-components";
3
+ import { FieldVariant } from "../../field/index.js";
4
4
  type ColorFieldProps = {
5
5
  /** A function may compute the class from the field's render state. */
6
6
  className?: ColorFieldProps$1['className'];
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { ColorField as ColorField$1 } from "react-aria-components";
3
5
  import { FieldBox, FieldInput, FieldMessage } from "../../field/index.js";
4
6
  import { fieldStyles, invalidFrom, useFieldValidationBehavior } from "../../field/root.js";
5
7
  import { mergeStatefulStyles } from "../../styles/merge.js";
6
- import { c } from "react/compiler-runtime";
7
8
  import { jsx, jsxs } from "react/jsx-runtime";
8
- import { ColorField as ColorField$1 } from "react-aria-components";
9
9
  // src/components/color-field/index.tsx
10
10
  /**
11
11
  * A colour typed into a field. The value is React Aria's — pass `value` with
@@ -1,5 +1,7 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { Button, ColorPicker as ColorPicker$1, Dialog, DialogTrigger, Popover, parseColor, useLocale } from "react-aria-components";
3
5
  import { focus } from "../../styles/focus.js";
4
6
  import { mergeStatefulStyles } from "../../styles/merge.js";
5
7
  import { overlay } from "../../styles/overlay.js";
@@ -9,9 +11,7 @@ import ColorArea$1 from "../color-area/index.js";
9
11
  import ColorField$1 from "../color-field/index.js";
10
12
  import ColorSlider$1 from "../color-slider/index.js";
11
13
  import ColorSwatch$1 from "../color-swatch/index.js";
12
- import { c } from "react/compiler-runtime";
13
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
14
- import { Button, ColorPicker as ColorPicker$1, Dialog, DialogTrigger, Popover, parseColor, useLocale } from "react-aria-components";
15
15
  // src/components/color-picker/index.tsx
16
16
  const styles = {
17
17
  triggerSwatch: {
@@ -1,14 +1,14 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { useContext } from "react";
5
+ import { ColorSlider as ColorSlider$1, ColorSliderStateContext, ColorThumb, SliderOutput, SliderTrack, useLocale } from "react-aria-components";
3
6
  import { FieldLabel } from "../../field/index.js";
4
7
  import { groupStyles } from "../../field/styles.js";
5
8
  import { chequer } from "../../styles/chequer.js";
6
9
  import { thumbClassName, verticalThumbClassName } from "../../styles/color.js";
7
10
  import { mergeStatefulStyles } from "../../styles/merge.js";
8
- import { c } from "react/compiler-runtime";
9
- import { useContext } from "react";
10
11
  import { jsx, jsxs } from "react/jsx-runtime";
11
- import { ColorSlider as ColorSlider$1, ColorSliderStateContext, ColorThumb, SliderOutput, SliderTrack, useLocale } from "react-aria-components";
12
12
  // src/components/color-slider/index.tsx
13
13
  const styles = {
14
14
  root: {
@@ -1,12 +1,12 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { useContext } from "react";
5
+ import { ColorSwatch as ColorSwatch$1 } from "react-aria-components";
3
6
  import { chequer } from "../../styles/chequer.js";
4
7
  import { mergeStyles } from "../../styles/merge.js";
5
8
  import { SwatchSquareContext } from "../../swatch/index.js";
6
- import { c } from "react/compiler-runtime";
7
- import { useContext } from "react";
8
9
  import { jsx } from "react/jsx-runtime";
9
- import { ColorSwatch as ColorSwatch$1 } from "react-aria-components";
10
10
  // src/components/color-swatch/index.tsx
11
11
  const styles = { ground: {
12
12
  kZKoxP: "x1vqgdyp",
@@ -1,12 +1,12 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { ColorSwatchPicker as ColorSwatchPicker$1, ColorSwatchPickerItem as ColorSwatchPickerItem$1 } from "react-aria-components";
3
5
  import { focus } from "../../styles/focus.js";
4
6
  import { mergeStatefulStyles } from "../../styles/merge.js";
5
7
  import { colors } from "../../tokens/design.tokens.stylex.js";
6
8
  import ColorSwatch$1 from "../color-swatch/index.js";
7
- import { c } from "react/compiler-runtime";
8
9
  import { jsx } from "react/jsx-runtime";
9
- import { ColorSwatchPicker as ColorSwatchPicker$1, ColorSwatchPickerItem as ColorSwatchPickerItem$1 } from "react-aria-components";
10
10
  // src/components/color-swatch-picker/index.tsx
11
11
  `${colors.surface}${colors.onSurface}${colors.surface}`;
12
12
  const styles = {
@@ -1,10 +1,10 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { ColorThumb, ColorWheel as ColorWheel$1, ColorWheelTrack } from "react-aria-components";
3
5
  import { thumbClassName } from "../../styles/color.js";
4
6
  import { mergeStatefulStyles } from "../../styles/merge.js";
5
- import { c } from "react/compiler-runtime";
6
7
  import { jsx, jsxs } from "react/jsx-runtime";
7
- import { ColorThumb, ColorWheel as ColorWheel$1, ColorWheelTrack } from "react-aria-components";
8
8
  // src/components/color-wheel/index.tsx
9
9
  const DEFAULT_OUTER_RADIUS = 100;
10
10
  const DEFAULT_THICKNESS = 16;
@@ -1,6 +1,6 @@
1
- import { FieldVariant } from "../../field/index.js";
2
1
  import { ReactElement, ReactNode, Ref, RefAttributes } from "react";
3
2
  import { ComboBoxProps as ComboBoxProps$1 } from "react-aria-components";
3
+ import { FieldVariant } from "../../field/index.js";
4
4
  type ComboBoxProps<T extends object = object, M extends ComboBoxSelectionMode = 'single'> = {
5
5
  /**
6
6
  * Whether the list stays open when a search leaves nothing in it, showing
@@ -1,5 +1,8 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { useContext, useRef } from "react";
5
+ import { Button, ComboBox as ComboBox$1, ComboBoxStateContext, ComboBoxValue, Popover } from "react-aria-components";
3
6
  import { OptionRowContext } from "../../collection/context.js";
4
7
  import { FieldBox, FieldInput, FieldMessage, FieldValue } from "../../field/index.js";
5
8
  import { fieldStyles, invalidFrom, useFieldValidationBehavior } from "../../field/root.js";
@@ -8,10 +11,7 @@ import { focus } from "../../styles/focus.js";
8
11
  import { mergeStatefulStyles } from "../../styles/merge.js";
9
12
  import { overlay, popupOrigin } from "../../styles/overlay.js";
10
13
  import ListBox$1 from "../list-box/index.js";
11
- import { c } from "react/compiler-runtime";
12
- import { useContext, useRef } from "react";
13
14
  import { jsx, jsxs } from "react/jsx-runtime";
14
- import { Button, ComboBox as ComboBox$1, ComboBoxStateContext, ComboBoxValue, Popover } from "react-aria-components";
15
15
  // src/components/combo-box/index.tsx
16
16
  const TOGGLE = /* @__PURE__ */ jsx(ComboToggle, {});
17
17
  const styles = {
@@ -1,8 +1,8 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
3
4
  import { useRender } from "../../render/useRender.js";
4
5
  import { mergeStyles } from "../../styles/merge.js";
5
- import { c } from "react/compiler-runtime";
6
6
  // src/components/container/index.tsx
7
7
  const DEFAULT_MAX_INLINE_SIZE = "960px";
8
8
  const _temp = {
@@ -1,9 +1,9 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
3
+ import { useEffect, useId, useRef, useState } from "react";
2
4
  import { useMessages } from "../../i18n/index.js";
3
5
  import { mergeStyles } from "../../styles/merge.js";
4
6
  import Button from "../button/index.js";
5
- import { c } from "react/compiler-runtime";
6
- import { useEffect, useId, useRef, useState } from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  // src/components/copy-field/index.tsx
9
9
  const COPIED_RESET_MS = 2e3;
@@ -1,10 +1,10 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { isRTL } from "react-aria";
5
+ import { useLocale } from "react-aria-components";
3
6
  import { useRender } from "../../render/useRender.js";
4
7
  import { mergeStyles } from "../../styles/merge.js";
5
- import { c } from "react/compiler-runtime";
6
- import { useLocale } from "react-aria-components";
7
- import { isRTL } from "react-aria";
8
8
  // src/components/currency/index.tsx
9
9
  const styles = { base: {
10
10
  kB7OPa: "x9f619",
@@ -1,6 +1,6 @@
1
- import { FieldVariant } from "../../field/index.js";
2
1
  import { ReactNode, RefAttributes } from "react";
3
2
  import { DateFieldProps as DateFieldProps$1, DateValue } from "react-aria-components";
3
+ import { FieldVariant } from "../../field/index.js";
4
4
  type DateFieldProps<T extends DateValue = DateValue> = Omit<DateFieldProps$1<T>, 'children' | 'className' | 'style'> & {
5
5
  /** A function may compute the class from the field's render state. */
6
6
  className?: DateFieldProps$1<T>['className'];
@@ -1,13 +1,13 @@
1
1
  "use client";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { props } from "../../node_modules/@stylexjs/stylex/lib/es/stylex.js";
4
+ import { DateField as DateField$1, DateInput } from "react-aria-components";
3
5
  import { FieldBox, FieldMessage, FieldSegments } from "../../field/index.js";
4
6
  import { fieldStyles, invalidFrom, useFieldValidationBehavior } from "../../field/root.js";
5
7
  import { renderSegment } from "../../segments/index.js";
6
8
  import { segmentStyles } from "../../segments/styles.js";
7
9
  import { mergeStatefulStyles } from "../../styles/merge.js";
8
- import { c } from "react/compiler-runtime";
9
10
  import { jsx, jsxs } from "react/jsx-runtime";
10
- import { DateField as DateField$1, DateInput } from "react-aria-components";
11
11
  // src/components/date-field/index.tsx
12
12
  /**
13
13
  * A date typed rather than picked: one segment per part, each its own focus
@@ -1,7 +1,7 @@
1
- import { FieldVariant } from "../../field/index.js";
1
+ import { DateDuration } from "@internationalized/date";
2
2
  import { ReactNode, RefAttributes } from "react";
3
3
  import { DatePickerProps as DatePickerProps$1, DateValue } from "react-aria-components";
4
- import { DateDuration } from "@internationalized/date";
4
+ import { FieldVariant } from "../../field/index.js";
5
5
  type DatePickerProps<T extends DateValue = DateValue> = Omit<DatePickerProps$1<T>, 'children' | 'className' | 'style'> & {
6
6
  /**
7
7
  * What the modal's dismissing action says. Left out, it is the word for