@kanso-labs/kanso-ui 0.45.5 → 0.45.7

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 (249) hide show
  1. package/dist/badge/index.js +1 -2
  2. package/dist/button/context.js +1 -2
  3. package/dist/button/group.js +1 -2
  4. package/dist/button/hooks.js +1 -2
  5. package/dist/button/index.d.ts +0 -2
  6. package/dist/button/index.js +1 -2
  7. package/dist/button/styles.js +1 -2
  8. package/dist/button/toggle.js +1 -2
  9. package/dist/calendar/index.js +1 -2
  10. package/dist/calendar/months.js +1 -2
  11. package/dist/calendar/styles.js +1 -2
  12. package/dist/carousel/arrangement.d.ts +0 -2
  13. package/dist/carousel/arrangement.js +0 -1
  14. package/dist/chip/index.js +1 -2
  15. package/dist/chip/label.js +1 -2
  16. package/dist/chip/styles.js +1 -2
  17. package/dist/collection/empty.js +1 -2
  18. package/dist/collection/index.js +1 -2
  19. package/dist/collection/styles.js +1 -2
  20. package/dist/collection/text.js +1 -2
  21. package/dist/color-scheme.d.ts +0 -2
  22. package/dist/color-scheme.js +1 -2
  23. package/dist/components/app-bar/index.d.ts +0 -2
  24. package/dist/components/app-bar/index.js +1 -2
  25. package/dist/components/autocomplete/index.d.ts +0 -2
  26. package/dist/components/autocomplete/index.js +1 -2
  27. package/dist/components/avatar/index.d.ts +0 -2
  28. package/dist/components/avatar/index.js +1 -2
  29. package/dist/components/badge/index.d.ts +0 -2
  30. package/dist/components/badge/index.js +1 -2
  31. package/dist/components/breadcrumbs/index.d.ts +0 -2
  32. package/dist/components/breadcrumbs/index.js +1 -2
  33. package/dist/components/button/index.d.ts +0 -2
  34. package/dist/components/button/index.js +1 -2
  35. package/dist/components/button-group/index.d.ts +0 -2
  36. package/dist/components/button-group/index.js +1 -2
  37. package/dist/components/calendar/index.d.ts +0 -2
  38. package/dist/components/calendar/index.js +1 -2
  39. package/dist/components/card/index.d.ts +0 -2
  40. package/dist/components/card/index.js +1 -2
  41. package/dist/components/carousel/index.d.ts +0 -2
  42. package/dist/components/carousel/index.js +1 -2
  43. package/dist/components/checkbox/index.d.ts +0 -2
  44. package/dist/components/checkbox/index.js +1 -2
  45. package/dist/components/checkbox-group/index.d.ts +0 -2
  46. package/dist/components/checkbox-group/index.js +1 -2
  47. package/dist/components/chip/index.d.ts +0 -2
  48. package/dist/components/chip/index.js +1 -2
  49. package/dist/components/chip-group/index.d.ts +0 -2
  50. package/dist/components/chip-group/index.js +1 -2
  51. package/dist/components/code/index.d.ts +0 -2
  52. package/dist/components/code/index.js +1 -2
  53. package/dist/components/color-area/index.d.ts +0 -2
  54. package/dist/components/color-area/index.js +1 -2
  55. package/dist/components/color-field/index.d.ts +0 -2
  56. package/dist/components/color-field/index.js +1 -2
  57. package/dist/components/color-picker/index.d.ts +0 -2
  58. package/dist/components/color-picker/index.js +1 -2
  59. package/dist/components/color-slider/index.d.ts +0 -2
  60. package/dist/components/color-slider/index.js +1 -2
  61. package/dist/components/color-swatch/index.d.ts +0 -2
  62. package/dist/components/color-swatch/index.js +1 -2
  63. package/dist/components/color-swatch-picker/index.d.ts +0 -2
  64. package/dist/components/color-swatch-picker/index.js +1 -2
  65. package/dist/components/color-wheel/index.d.ts +0 -2
  66. package/dist/components/color-wheel/index.js +1 -2
  67. package/dist/components/combo-box/index.d.ts +0 -2
  68. package/dist/components/combo-box/index.js +1 -2
  69. package/dist/components/container/index.d.ts +0 -2
  70. package/dist/components/container/index.js +1 -2
  71. package/dist/components/copy-field/index.d.ts +0 -2
  72. package/dist/components/copy-field/index.js +1 -2
  73. package/dist/components/currency/index.d.ts +0 -2
  74. package/dist/components/currency/index.js +1 -2
  75. package/dist/components/date-field/index.d.ts +0 -2
  76. package/dist/components/date-field/index.js +1 -2
  77. package/dist/components/date-picker/index.d.ts +0 -2
  78. package/dist/components/date-picker/index.js +1 -2
  79. package/dist/components/date-range-picker/index.d.ts +0 -2
  80. package/dist/components/date-range-picker/index.js +1 -2
  81. package/dist/components/dialog/index.d.ts +0 -2
  82. package/dist/components/dialog/index.js +1 -2
  83. package/dist/components/disclosure/index.d.ts +0 -2
  84. package/dist/components/disclosure/index.js +1 -2
  85. package/dist/components/disclosure-group/index.d.ts +0 -2
  86. package/dist/components/disclosure-group/index.js +1 -2
  87. package/dist/components/drop-zone/index.d.ts +0 -2
  88. package/dist/components/drop-zone/index.js +1 -2
  89. package/dist/components/drop-zone/styles.js +1 -2
  90. package/dist/components/fab/index.d.ts +0 -2
  91. package/dist/components/fab/index.js +1 -2
  92. package/dist/components/fab-menu/index.d.ts +0 -2
  93. package/dist/components/fab-menu/index.js +1 -2
  94. package/dist/components/feed/index.d.ts +0 -2
  95. package/dist/components/feed/index.js +1 -2
  96. package/dist/components/form/index.d.ts +0 -2
  97. package/dist/components/form/index.js +1 -2
  98. package/dist/components/icon-button/index.d.ts +0 -2
  99. package/dist/components/icon-button/index.js +1 -2
  100. package/dist/components/keycap/index.d.ts +0 -2
  101. package/dist/components/keycap/index.js +1 -2
  102. package/dist/components/link/index.d.ts +0 -2
  103. package/dist/components/link/index.js +1 -2
  104. package/dist/components/list/index.d.ts +0 -2
  105. package/dist/components/list/index.js +1 -2
  106. package/dist/components/list-box/index.d.ts +0 -2
  107. package/dist/components/list-box/index.js +1 -2
  108. package/dist/components/list-detail/index.d.ts +0 -2
  109. package/dist/components/list-detail/index.js +1 -2
  110. package/dist/components/list-item/index.d.ts +0 -2
  111. package/dist/components/list-item/index.js +1 -2
  112. package/dist/components/loading-indicator/index.d.ts +0 -2
  113. package/dist/components/loading-indicator/index.js +1 -2
  114. package/dist/components/menu/index.d.ts +0 -2
  115. package/dist/components/menu/index.js +1 -2
  116. package/dist/components/meter/index.d.ts +0 -2
  117. package/dist/components/meter/index.js +1 -2
  118. package/dist/components/navigation-bar/index.d.ts +0 -2
  119. package/dist/components/navigation-bar/index.js +1 -2
  120. package/dist/components/navigation-rail/index.d.ts +0 -2
  121. package/dist/components/navigation-rail/index.js +1 -2
  122. package/dist/components/navigation-tree/index.d.ts +0 -2
  123. package/dist/components/navigation-tree/index.js +1 -2
  124. package/dist/components/number-field/index.d.ts +0 -2
  125. package/dist/components/number-field/index.js +1 -2
  126. package/dist/components/popover/index.d.ts +0 -2
  127. package/dist/components/popover/index.js +1 -2
  128. package/dist/components/product-icon/index.d.ts +0 -2
  129. package/dist/components/product-icon/index.js +1 -2
  130. package/dist/components/progress-indicator/index.d.ts +0 -2
  131. package/dist/components/progress-indicator/index.js +1 -2
  132. package/dist/components/radio-group/index.d.ts +0 -2
  133. package/dist/components/radio-group/index.js +1 -2
  134. package/dist/components/range-calendar/index.d.ts +0 -2
  135. package/dist/components/range-calendar/index.js +1 -2
  136. package/dist/components/search-field/index.d.ts +0 -2
  137. package/dist/components/search-field/index.js +1 -2
  138. package/dist/components/search-view/index.d.ts +0 -2
  139. package/dist/components/search-view/index.js +1 -2
  140. package/dist/components/segmented-button/index.d.ts +0 -2
  141. package/dist/components/segmented-button/index.js +1 -2
  142. package/dist/components/select/index.d.ts +0 -2
  143. package/dist/components/select/index.js +1 -2
  144. package/dist/components/separator/index.d.ts +0 -2
  145. package/dist/components/separator/index.js +1 -2
  146. package/dist/components/sheet/index.d.ts +0 -2
  147. package/dist/components/sheet/index.js +1 -2
  148. package/dist/components/slider/index.d.ts +0 -2
  149. package/dist/components/slider/index.js +1 -2
  150. package/dist/components/snackbar/index.d.ts +0 -2
  151. package/dist/components/snackbar/index.js +1 -2
  152. package/dist/components/split-button/index.d.ts +0 -2
  153. package/dist/components/split-button/index.js +1 -2
  154. package/dist/components/stack/index.d.ts +0 -2
  155. package/dist/components/stack/index.js +1 -2
  156. package/dist/components/supporting-pane/index.d.ts +0 -2
  157. package/dist/components/supporting-pane/index.js +1 -2
  158. package/dist/components/switch/index.d.ts +0 -2
  159. package/dist/components/switch/index.js +1 -2
  160. package/dist/components/table/index.d.ts +0 -2
  161. package/dist/components/table/index.js +1 -2
  162. package/dist/components/tabs/index.d.ts +0 -2
  163. package/dist/components/tabs/index.js +1 -2
  164. package/dist/components/tag/index.d.ts +0 -2
  165. package/dist/components/tag/index.js +1 -2
  166. package/dist/components/text/index.d.ts +0 -2
  167. package/dist/components/text/index.js +1 -2
  168. package/dist/components/text-area/index.d.ts +0 -2
  169. package/dist/components/text-area/index.js +1 -2
  170. package/dist/components/text-field/index.d.ts +0 -2
  171. package/dist/components/text-field/index.js +1 -2
  172. package/dist/components/time-field/index.d.ts +0 -2
  173. package/dist/components/time-field/index.js +1 -2
  174. package/dist/components/time-picker/index.d.ts +0 -2
  175. package/dist/components/time-picker/index.js +1 -2
  176. package/dist/components/token-field/index.d.ts +0 -2
  177. package/dist/components/token-field/index.js +1 -2
  178. package/dist/components/toolbar/index.d.ts +0 -2
  179. package/dist/components/toolbar/index.js +1 -2
  180. package/dist/components/tooltip/index.d.ts +0 -2
  181. package/dist/components/tooltip/index.js +1 -2
  182. package/dist/components/tree/index.d.ts +0 -2
  183. package/dist/components/tree/index.js +1 -2
  184. package/dist/control/index.js +1 -2
  185. package/dist/control/styles.js +1 -2
  186. package/dist/drag/hooks.d.ts +0 -2
  187. package/dist/drag/hooks.js +1 -2
  188. package/dist/drag/index.js +1 -2
  189. package/dist/drag/styles.js +1 -2
  190. package/dist/fab/styles.js +1 -2
  191. package/dist/field/index.d.ts +0 -2
  192. package/dist/field/index.js +1 -2
  193. package/dist/field/press.js +1 -2
  194. package/dist/field/root.js +1 -2
  195. package/dist/field/styles.js +1 -2
  196. package/dist/glyphs/index.js +1 -2
  197. package/dist/glyphs/styles.js +1 -2
  198. package/dist/hooks/useAppBarScroll.d.ts +0 -2
  199. package/dist/hooks/useAppBarScroll.js +0 -1
  200. package/dist/hooks/useBottomEdge.js +1 -2
  201. package/dist/hooks/useClippedTitle.js +1 -2
  202. package/dist/hooks/useImageLoadingStatus.js +1 -2
  203. package/dist/hooks/useRipple.js +1 -2
  204. package/dist/hooks/useScrollStop.js +1 -2
  205. package/dist/hooks/useToggleGroupDisabled.js +1 -2
  206. package/dist/i18n/index.js +1 -2
  207. package/dist/i18n/messages.js +1 -2
  208. package/dist/indicator/index.js +1 -2
  209. package/dist/indicator/styles.d.ts +0 -2
  210. package/dist/indicator/styles.js +0 -1
  211. package/dist/kanso-ui-core/defaults-DMH0HWCw.d.ts +0 -2
  212. package/dist/kanso-ui-core/glyphs.js +1 -2
  213. package/dist/keycap/context.js +1 -2
  214. package/dist/layout.d.ts +0 -2
  215. package/dist/layout.js +1 -2
  216. package/dist/mark/index.js +1 -2
  217. package/dist/mark/initials.js +1 -2
  218. package/dist/mark/styles.js +1 -2
  219. package/dist/navigation/context.js +1 -2
  220. package/dist/navigation/index.d.ts +0 -2
  221. package/dist/navigation/index.js +1 -2
  222. package/dist/navigation/styles.js +1 -2
  223. package/dist/node_modules/@stylexjs/stylex/lib/es/stylex.js +1 -2
  224. package/dist/overlay/index.js +1 -2
  225. package/dist/render/aria.js +1 -2
  226. package/dist/render/content.js +1 -2
  227. package/dist/render/name.d.ts +0 -2
  228. package/dist/render/ref.js +1 -2
  229. package/dist/render/useRender.d.ts +0 -2
  230. package/dist/render/useRender.js +1 -2
  231. package/dist/row/index.js +1 -2
  232. package/dist/row/styles.js +1 -2
  233. package/dist/segments/index.js +1 -2
  234. package/dist/segments/styles.js +1 -2
  235. package/dist/styles/chequer.js +1 -2
  236. package/dist/styles/color.js +1 -2
  237. package/dist/styles/focus.js +1 -2
  238. package/dist/styles/icon-button.js +1 -2
  239. package/dist/styles/merge.js +1 -2
  240. package/dist/styles/overlay.d.ts +0 -2
  241. package/dist/styles/overlay.js +1 -2
  242. package/dist/styles/picker.js +1 -2
  243. package/dist/styles/ripple.js +1 -2
  244. package/dist/styles/scheme.js +1 -2
  245. package/dist/theme-scope.d.ts +0 -2
  246. package/dist/theme-scope.js +1 -2
  247. package/dist/tokens/design.tokens.stylex.js +1 -2
  248. package/dist/tokens/values.js +1 -2
  249. package/package.json +16 -16
@@ -1,5 +1,5 @@
1
1
  import { createContext } from "react";
2
- //#region src/badge/index.ts
2
+ // src/badge/index.ts
3
3
  /**
4
4
  * A style laid over a large badge's mark by what the badge is drawn in,
5
5
  * after the mark's own, so it can move the mark out of its corner. A
@@ -9,7 +9,6 @@ import { createContext } from "react";
9
9
  * rather than under it. See src/navigation/styles.ts.
10
10
  */
11
11
  const BadgeMarkContext = createContext(null);
12
- //#endregion
13
12
  export { BadgeMarkContext };
14
13
 
15
14
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,6 @@
1
1
  import { createContext } from "react";
2
- //#region src/button/context.ts
2
+ // src/button/context.ts
3
3
  const ButtonGroupItemContext = createContext(null);
4
- //#endregion
5
4
  export { ButtonGroupItemContext };
6
5
 
7
6
  //# sourceMappingURL=context.js.map
@@ -1,4 +1,4 @@
1
- //#region src/button/group.ts
1
+ // src/button/group.ts
2
2
  /**
3
3
  * The press handlers a button inside a group that tracks presses takes: its
4
4
  * own, with the group told first. Empty anywhere else, which leaves the
@@ -19,7 +19,6 @@ function groupPressHandlers(group, onPressStart, onPressEnd) {
19
19
  }
20
20
  };
21
21
  }
22
- //#endregion
23
22
  export { groupPressHandlers };
24
23
 
25
24
  //# sourceMappingURL=group.js.map
@@ -4,7 +4,7 @@ import { useRipple } from "../hooks/useRipple.js";
4
4
  import { c } from "react/compiler-runtime";
5
5
  import { useState } from "react";
6
6
  import { ButtonContext, useSlottedContext } from "react-aria-components";
7
- //#region src/button/hooks.ts
7
+ // src/button/hooks.ts
8
8
  /**
9
9
  * What a button does past React Aria, whichever of its elements it renders:
10
10
  * the disabled state a parent's context sets, the ripple, and the `aria-*`
@@ -111,7 +111,6 @@ function useSelection(t0) {
111
111
  } else t2 = $[5];
112
112
  return t2;
113
113
  }
114
- //#endregion
115
114
  export { useButtonBase, useSelection };
116
115
 
117
116
  //# sourceMappingURL=hooks.js.map
@@ -1,6 +1,5 @@
1
1
  import { DOMAttributes, ReactNode, RefAttributes } from "react";
2
2
  import { ButtonProps, ButtonRenderProps, ClassNameOrFunction, StyleOrFunction } from "react-aria-components";
3
- //#region src/button/index.d.ts
4
3
  type ButtonDOMProps = Omit<ButtonProps, 'children' | 'className' | 'style' | GlobalEventKey> & Pick<DOMAttributes<HTMLElement>, GlobalEventKey>;
5
4
  /**
6
5
  * The three forms a button takes, of which a call site writes exactly one:
@@ -62,6 +61,5 @@ type ButtonToggleForm = {
62
61
  target?: never;
63
62
  };
64
63
  type GlobalEventKey = Exclude<keyof DOMAttributes<HTMLElement> & keyof ButtonProps, 'onBlur' | 'onClick' | 'onFocus'>;
65
- //#endregion
66
64
  export type { ButtonDOMProps, ButtonForm, ButtonLinkForm, ButtonPressForm, ButtonState, ButtonToggleForm };
67
65
  //# sourceMappingURL=index.d.ts.map
@@ -9,7 +9,7 @@ import { buttonBaseStyles } from "./styles.js";
9
9
  import { c } from "react/compiler-runtime";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  import { Button, Link, ToggleButton } from "react-aria-components";
12
- //#region src/button/index.tsx
12
+ // src/button/index.tsx
13
13
  function busyElement(element, isPending) {
14
14
  return isPending ? {
15
15
  ...element,
@@ -333,7 +333,6 @@ function toggleRender(render) {
333
333
  isPending: false
334
334
  });
335
335
  }
336
- //#endregion
337
336
  export { ButtonBase, ToggleButtonBase };
338
337
 
339
338
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- //#region src/button/styles.ts
1
+ // src/button/styles.ts
2
2
  const buttonBaseStyles = {
3
3
  label: {
4
4
  k1xSpc: "xjp7ctv",
@@ -17,7 +17,6 @@ const buttonBaseStyles = {
17
17
  $$css: true
18
18
  }
19
19
  };
20
- //#endregion
21
20
  export { buttonBaseStyles };
22
21
 
23
22
  //# sourceMappingURL=styles.js.map
@@ -1,4 +1,4 @@
1
- //#region src/button/toggle.ts
1
+ // src/button/toggle.ts
2
2
  /**
3
3
  * A toggle's press: the call site's own `onPress` first, then the change of
4
4
  * state, which is the order React Aria's own toggle reports them in. Built by
@@ -11,7 +11,6 @@ function pressThen(onPress, then) {
11
11
  then();
12
12
  };
13
13
  }
14
- //#endregion
15
14
  export { pressThen };
16
15
 
17
16
  //# sourceMappingURL=toggle.js.map
@@ -8,7 +8,7 @@ import { useContext, useId, useRef, useState } from "react";
8
8
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
9
9
  import { Button, ButtonContext, CalendarGridHeader, CalendarHeaderCell, CalendarMonthPicker, CalendarStateContext, CalendarYearPicker, Heading, ListBox, ListBoxItem, RangeCalendarStateContext } from "react-aria-components";
10
10
  import { endOfMonth, startOfMonth } from "@internationalized/date";
11
- //#region src/calendar/index.tsx
11
+ // src/calendar/index.tsx
12
12
  const LISTED_YEARS = 201;
13
13
  /**
14
14
  * What a calendar draws above its months, and the months themselves. With
@@ -577,7 +577,6 @@ function MenuList(t0) {
577
577
  } else t6 = $[12];
578
578
  return t6;
579
579
  }
580
- //#endregion
581
580
  export { CalendarFrame, CalendarGridHeader$1 as CalendarGridHeader };
582
581
 
583
582
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- //#region src/calendar/months.ts
1
+ // src/calendar/months.ts
2
2
  /**
3
3
  * One offset per visible month, so `visibleDuration` of more than one draws
4
4
  * the months side by side rather than one grid that scrolls between them.
@@ -8,7 +8,6 @@
8
8
  function monthOffsets(months) {
9
9
  return Array.from({ length: Math.max(1, months) }, (_unused, index) => ({ months: index }));
10
10
  }
11
- //#endregion
12
11
  export { monthOffsets };
13
12
 
14
13
  //# sourceMappingURL=months.js.map
@@ -1,4 +1,4 @@
1
- //#region src/calendar/styles.ts
1
+ // src/calendar/styles.ts
2
2
  const calendarStyles = {
3
3
  cell: {
4
4
  kgeoSG: "x1cpjm7i",
@@ -321,7 +321,6 @@ const menuLayers = {
321
321
  $$css: true
322
322
  }
323
323
  };
324
- //#endregion
325
324
  export { calendarStyles, dateLayers, menuLayers };
326
325
 
327
326
  //# sourceMappingURL=styles.js.map
@@ -1,5 +1,3 @@
1
- //#region src/carousel/arrangement.d.ts
2
1
  type CarouselLayout = 'hero' | 'multi-browse' | 'uncontained';
3
- //#endregion
4
2
  export type { CarouselLayout };
5
3
  //# sourceMappingURL=arrangement.d.ts.map
@@ -117,7 +117,6 @@ function withSteps(sizes, count) {
117
117
  steps: count - filled + turning
118
118
  };
119
119
  }
120
- //#endregion
121
120
  export { arrange, placements };
122
121
 
123
122
  //# sourceMappingURL=arrangement.js.map
@@ -4,7 +4,7 @@ import { focus } from "../styles/focus.js";
4
4
  import { chipLayers, chipStyles } from "./styles.js";
5
5
  import { ChipLabel } from "./label.js";
6
6
  import { jsx } from "react/jsx-runtime";
7
- //#region src/chip/index.tsx
7
+ // src/chip/index.tsx
8
8
  /**
9
9
  * What a chip draws before its label: the check while it is selected, its own
10
10
  * icon while it is not, and for an unselected chip with no icon, a slot folded
@@ -127,7 +127,6 @@ function containerOf(isSelected, elevated) {
127
127
  if (isSelected) return "selected";
128
128
  return elevated ? "elevated" : "unselected";
129
129
  }
130
- //#endregion
131
130
  export { chipGlyph, chipLabel, chipPropsFor, chipRemoveClassName, chipTrailingIcon };
132
131
 
133
132
  //# sourceMappingURL=index.js.map
@@ -3,7 +3,7 @@ import { useClippedTitle } from "../hooks/useClippedTitle.js";
3
3
  import { chipStyles } from "./styles.js";
4
4
  import { c } from "react/compiler-runtime";
5
5
  import { jsx } from "react/jsx-runtime";
6
- //#region src/chip/label.tsx
6
+ // src/chip/label.tsx
7
7
  function ChipLabel(t0) {
8
8
  const $ = c(4);
9
9
  const { children } = t0;
@@ -26,7 +26,6 @@ function ChipLabel(t0) {
26
26
  } else t2 = $[3];
27
27
  return t2;
28
28
  }
29
- //#endregion
30
29
  export { ChipLabel };
31
30
 
32
31
  //# sourceMappingURL=label.js.map
@@ -1,4 +1,4 @@
1
- //#region src/chip/styles.ts
1
+ // src/chip/styles.ts
2
2
  const chipStyles = {
3
3
  assist: {
4
4
  kMwMTN: "x139gbkf",
@@ -225,7 +225,6 @@ const chipLayers = {
225
225
  $$css: true
226
226
  }
227
227
  };
228
- //#endregion
229
228
  export { chipLayers, chipStyles };
230
229
 
231
230
  //# sourceMappingURL=styles.js.map
@@ -1,7 +1,6 @@
1
1
  import { createContext } from "react";
2
- //#region src/collection/empty.ts
2
+ // src/collection/empty.ts
3
3
  const EmptyStatusContext = createContext(null);
4
- //#endregion
5
4
  export { EmptyStatusContext };
6
5
 
7
6
  //# sourceMappingURL=empty.js.map
@@ -7,7 +7,7 @@ import { collectionStyles } from "./styles.js";
7
7
  import { c } from "react/compiler-runtime";
8
8
  import { useContext, useEffect, useState } from "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
- //#region src/collection/index.tsx
10
+ // src/collection/index.tsx
11
11
  /**
12
12
  * The row a collection shows when nothing is in it, which is what a search
13
13
  * that matches nothing leaves. `ListBox` and `Menu.Content` draw it as their
@@ -151,7 +151,6 @@ function CollectionStatus(t0) {
151
151
  } else t4 = $[5];
152
152
  return t4;
153
153
  }
154
- //#endregion
155
154
  export { CollectionEmpty, CollectionLoadMore, CollectionStatus };
156
155
 
157
156
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  import { props } from "../node_modules/@stylexjs/stylex/lib/es/stylex.js";
2
2
  import { hasContent } from "../render/content.js";
3
3
  import { rowStyles } from "../row/styles.js";
4
- //#region src/collection/styles.ts
4
+ // src/collection/styles.ts
5
5
  const collectionStyles = {
6
6
  container: {
7
7
  kB7OPa: "x9f619",
@@ -95,7 +95,6 @@ function rowItemStyles(supporting, overline, extra) {
95
95
  const lines = (hasContent(overline) ? 1 : 0) + (hasContent(supporting) ? 1 : 0);
96
96
  return (state) => props(rowStyles.base, rowStyles.list, extra, lines === 1 && rowStyles.twoLine, lines === 2 && rowStyles.threeLine, state.isDragging === true && rowStyles.dragging, state.isSelected && rowStyles.selectedList, state.isHovered && rowStyles.hovered, state.isFocusVisible && rowStyles.focusVisible, state.isPressed && rowStyles.pressed, state.isDropTarget === true && rowStyles.dropTarget, state.isDisabled && rowStyles.disabled);
97
97
  }
98
- //#endregion
99
98
  export { collectionStyles, containerClasses, rowItemStyles };
100
99
 
101
100
  //# sourceMappingURL=styles.js.map
@@ -1,4 +1,4 @@
1
- //#region src/collection/text.ts
1
+ // src/collection/text.ts
2
2
  function flatText(node) {
3
3
  if (typeof node === "string") return node;
4
4
  if (typeof node === "number" || typeof node === "bigint") return String(node);
@@ -32,7 +32,6 @@ function textOf(children) {
32
32
  const text = flatText(children);
33
33
  return text === "" ? void 0 : text;
34
34
  }
35
- //#endregion
36
35
  export { textOf };
37
36
 
38
37
  //# sourceMappingURL=text.js.map
@@ -1,4 +1,3 @@
1
- //#region src/color-scheme.d.ts
2
1
  /**
3
2
  * The class that lets an element theme what is inside it. A `--kui-*`
4
3
  * override declared on that element, or on one around it, reaches every
@@ -37,6 +36,5 @@ declare const colorScheme: {
37
36
  dark: string;
38
37
  light: string;
39
38
  };
40
- //#endregion
41
39
  export { colorScheme, themeScope };
42
40
  //# sourceMappingURL=color-scheme.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { props } from "./node_modules/@stylexjs/stylex/lib/es/stylex.js";
2
2
  import { colorDefaultsDarkTheme, colorDefaultsLightTheme, tokenScope } from "./tokens/design.tokens.stylex.js";
3
3
  import { pinnedScheme } from "./styles/scheme.js";
4
- //#region src/color-scheme.ts
4
+ // src/color-scheme.ts
5
5
  /**
6
6
  * The class that lets an element theme what is inside it. A `--kui-*`
7
7
  * override declared on that element, or on one around it, reaches every
@@ -40,7 +40,6 @@ const colorScheme = {
40
40
  dark: props(tokenScope, colorDefaultsDarkTheme, pinnedScheme.dark).className ?? "",
41
41
  light: props(tokenScope, colorDefaultsLightTheme, pinnedScheme.light).className ?? ""
42
42
  };
43
- //#endregion
44
43
  export { colorScheme, themeScope };
45
44
 
46
45
  //# sourceMappingURL=color-scheme.js.map
@@ -1,6 +1,5 @@
1
1
  import { RenderComponentProps } from "../../render/useRender.js";
2
2
  import { ReactNode } from "react";
3
- //#region src/components/app-bar/index.d.ts
4
3
  type AppBarProps = Omit<RenderComponentProps<'header'>, 'children'> & {
5
4
  /**
6
5
  * Which of Material Design's alignments the text takes. `center` is the
@@ -139,6 +138,5 @@ type AppBarProps = Omit<RenderComponentProps<'header'>, 'children'> & {
139
138
  * element scrolls, so both are set from its own scroll handler.
140
139
  */
141
140
  declare function AppBar({ align, collapsed, contentInset, contentMaxInlineSize, headingLevel, headline, leading, pinned, render, scrolled, size, subtitle, trailing, ...props }: AppBarProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
142
- //#endregion
143
141
  export { type AppBarProps, AppBar as default };
144
142
  //# sourceMappingURL=index.d.ts.map
@@ -9,7 +9,7 @@ import Text from "../text/index.js";
9
9
  import { c } from "react/compiler-runtime";
10
10
  import { createElement, useLayoutEffect, useRef } from "react";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
- //#region src/components/app-bar/index.tsx
12
+ // src/components/app-bar/index.tsx
13
13
  const ICON_BUTTON_TARGET = "48px";
14
14
  const GLYPH_INSET = `(${ICON_BUTTON_TARGET} - 24px) / 2`;
15
15
  const HEIGHTS = {
@@ -534,7 +534,6 @@ function _temp4(animation) {
534
534
  function withUnit(contentInset) {
535
535
  return contentInset.trim() === "0" ? "0px" : contentInset;
536
536
  }
537
- //#endregion
538
537
  export { AppBar as default };
539
538
 
540
539
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from "react";
2
2
  import { AutocompleteProps } from "react-aria-components";
3
- //#region src/components/autocomplete/index.d.ts
4
3
  type AutocompleteFilter<T extends object = object> = NonNullable<AutocompleteProps<T>['filter']>;
5
4
  type AutocompleteProps$1<T extends object = object> = {
6
5
  /**
@@ -86,6 +85,5 @@ type AutocompleteProps$1<T extends object = object> = {
86
85
  * turns that off and makes the collection tabbable instead.
87
86
  */
88
87
  declare function Autocomplete$1<T extends object = object>({ children, filter, ...props }: AutocompleteProps$1<T>): import("react").JSX.Element;
89
- //#endregion
90
88
  export { type AutocompleteFilter, type AutocompleteProps$1 as AutocompleteProps, Autocomplete$1 as default };
91
89
  //# sourceMappingURL=index.d.ts.map
@@ -3,7 +3,7 @@ import { CollectionStatus } from "../../collection/index.js";
3
3
  import { c } from "react/compiler-runtime";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import { Autocomplete, useFilter } from "react-aria-components";
6
- //#region src/components/autocomplete/index.tsx
6
+ // src/components/autocomplete/index.tsx
7
7
  /**
8
8
  * A search input that filters the collection under it. Its value is React
9
9
  * Aria's: pass `inputValue` with `onInputChange` to control what has been
@@ -125,7 +125,6 @@ function Autocomplete$1(t0) {
125
125
  function containsFilter(contains) {
126
126
  return (textValue, inputValue) => contains(textValue, inputValue);
127
127
  }
128
- //#endregion
129
128
  export { Autocomplete$1 as default };
130
129
 
131
130
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,5 @@
1
1
  import { RenderComponentProps } from "../../render/useRender.js";
2
2
  import { ImgHTMLAttributes } from "react";
3
- //#region src/components/avatar/index.d.ts
4
3
  type AvatarProps = {
5
4
  /**
6
5
  * Hides the avatar from assistive technology, for one beside the person's
@@ -71,6 +70,5 @@ type AvatarProps = {
71
70
  * The call site's `className` and `style` land on the circle.
72
71
  */
73
72
  declare function Avatar({ size, tone, ...props }: AvatarProps): import("react").JSX.Element;
74
- //#endregion
75
73
  export { type AvatarProps, Avatar as default };
76
74
  //# sourceMappingURL=index.d.ts.map
@@ -2,7 +2,7 @@
2
2
  import Mark from "../../mark/index.js";
3
3
  import { c } from "react/compiler-runtime";
4
4
  import { jsx } from "react/jsx-runtime";
5
- //#region src/components/avatar/index.tsx
5
+ // src/components/avatar/index.tsx
6
6
  /**
7
7
  * A person, as a circle holding their photo or, until it loads or when there
8
8
  * is none, their initials. `name` is both where the initials come from and
@@ -53,7 +53,6 @@ function Avatar(t0) {
53
53
  } else t3 = $[7];
54
54
  return t3;
55
55
  }
56
- //#endregion
57
56
  export { Avatar as default };
58
57
 
59
58
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,4 @@
1
1
  import { RenderComponentProps } from "../../render/useRender.js";
2
- //#region src/components/badge/index.d.ts
3
2
  type BadgeProps = RenderComponentProps<'span'> & {
4
3
  /**
5
4
  * The number to show, which draws the page's large badge. Left out, the
@@ -35,6 +34,5 @@ type BadgeProps = RenderComponentProps<'span'> & {
35
34
  * the badge is drawn on.
36
35
  */
37
36
  declare function Badge({ children, count, max, render, ...props }: BadgeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
38
- //#endregion
39
37
  export { type BadgeProps, Badge as default };
40
38
  //# sourceMappingURL=index.d.ts.map
@@ -7,7 +7,7 @@ import { c } from "react/compiler-runtime";
7
7
  import { useContext } from "react";
8
8
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
9
9
  import { useLocale } from "react-aria-components";
10
- //#region src/components/badge/index.tsx
10
+ // src/components/badge/index.tsx
11
11
  const styles = {
12
12
  count: {
13
13
  kgeoSG: "xvss7es",
@@ -144,7 +144,6 @@ function Badge(t0) {
144
144
  } else t9 = $[20];
145
145
  return useRender(t9);
146
146
  }
147
- //#endregion
148
147
  export { Badge as default };
149
148
 
150
149
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,5 @@
1
1
  import { ReactNode, RefAttributes } from "react";
2
2
  import { BreadcrumbProps, BreadcrumbsProps } from "react-aria-components";
3
- //#region src/components/breadcrumbs/index.d.ts
4
3
  type BreadcrumbsItemProps = Omit<BreadcrumbProps, 'children' | 'className' | 'style'> & {
5
4
  /** The item's label. */
6
5
  children?: ReactNode;
@@ -52,6 +51,5 @@ declare namespace Breadcrumbs$1 {
52
51
  * is drawn as text rather than a link, whatever it is given.
53
52
  */
54
53
  declare function BreadcrumbsItem({ children, href, rel, target, ...props }: BreadcrumbsItemProps & RefAttributes<HTMLLIElement>): import("react").JSX.Element;
55
- //#endregion
56
54
  export { BreadcrumbsItem, type BreadcrumbsItemProps, type BreadcrumbsProps$1 as BreadcrumbsProps, Breadcrumbs$1 as default };
57
55
  //# sourceMappingURL=index.d.ts.map
@@ -5,7 +5,7 @@ import Link$1 from "../link/index.js";
5
5
  import { c } from "react/compiler-runtime";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { Breadcrumb, Breadcrumbs } from "react-aria-components";
8
- //#region src/components/breadcrumbs/index.tsx
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.
11
11
  * React Aria makes the last item the current one and marks it
@@ -128,7 +128,6 @@ function itemContent(children, href, rel, target) {
128
128
  };
129
129
  }
130
130
  Breadcrumbs$1.Item = BreadcrumbsItem;
131
- //#endregion
132
131
  export { BreadcrumbsItem, Breadcrumbs$1 as default };
133
132
 
134
133
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,6 @@
1
1
  import { ButtonDOMProps, ButtonLinkForm, ButtonPressForm, ButtonState, ButtonToggleForm } from "../../button/index.js";
2
2
  import { ReactNode, RefAttributes } from "react";
3
3
  import { ClassNameOrFunction, StyleOrFunction } from "react-aria-components";
4
- //#region src/components/button/index.d.ts
5
4
  type ButtonProps$1 = ButtonDOMProps & (ButtonLinkForm | ButtonPressForm | (ButtonToggleForm & {
6
5
  /**
7
6
  * A toggle takes any variant but `text`, which the page gives no
@@ -83,6 +82,5 @@ type ButtonVariant = 'elevated' | 'filled' | 'outlined' | 'text' | 'tonal';
83
82
  * ```
84
83
  */
85
84
  declare function Button$1({ children, defaultSelected, href, icon, isPending, isSelected, onChange, pendingLabel, rel, shape, size: ownSize, target, variant, ...props }: ButtonProps$1 & RefAttributes<HTMLAnchorElement | HTMLButtonElement>): import("react").JSX.Element;
86
- //#endregion
87
85
  export { type ButtonDOMProps, type ButtonProps$1 as ButtonProps, type ButtonShape, type ButtonSize, type ButtonState, type ButtonVariant, Button$1 as default };
88
86
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@ import { c } from "react/compiler-runtime";
11
11
  import { useContext, useState } from "react";
12
12
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
13
13
  import { ToggleGroupStateContext } from "react-aria-components";
14
- //#region src/components/button/index.tsx
14
+ // src/components/button/index.tsx
15
15
  const styles = {
16
16
  base: {
17
17
  kGNEyG: "x6s0dn4",
@@ -616,7 +616,6 @@ function toggleClasses(shape, size, variant, group, ripples) {
616
616
  return props(styles.base, focus.ring, styles[variant], styles[container], styles[size], shape === "square" ? squareShapes[size] : roundShapes[size], isSelected && (shape === "square" ? roundShapes[size] : squareShapes[size]), variant === "outlined" && outlinedSizes[size], state.isHovered && !state.isPressed && hovered[variant], state.isHovered && !state.isPressed && hovered[container], state.isFocusVisible && focused[variant], state.isFocusVisible && focused[container], state.isPressed && !ripples && pressed[variant], state.isPressed && !ripples && pressed[container], state.isPressed && pressedShapes[size], groupStyles(group, size, variant, state), state.isPending === true && styles.pending, state.isDisabled && styles.disabled, state.isDisabled && disabledStyles[variant]);
617
617
  };
618
618
  }
619
- //#endregion
620
619
  export { Button$1 as default };
621
620
 
622
621
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,6 @@
1
1
  import { ButtonShape, ButtonSize } from "../button/index.js";
2
2
  import { CSSProperties, ReactNode, RefAttributes } from "react";
3
3
  import { ToggleButtonGroupProps } from "react-aria-components";
4
- //#region src/components/button-group/index.d.ts
5
4
  type ButtonGroupProps = Omit<ToggleButtonGroupProps, 'children' | 'className' | 'selectionMode' | 'style'> & RefAttributes<HTMLDivElement> & {
6
5
  /** The buttons: Buttons and IconButtons, each with an `id` in a group that selects. */
7
6
  children?: ReactNode;
@@ -49,6 +48,5 @@ type ButtonGroupVariant = 'connected' | 'standard';
49
48
  * ```
50
49
  */
51
50
  declare function ButtonGroup({ children, className, ref, selectionMode, shape, size, style, variant, ...props }: ButtonGroupProps): import("react").JSX.Element;
52
- //#endregion
53
51
  export { type ButtonGroupProps, type ButtonGroupVariant, ButtonGroup as default };
54
52
  //# sourceMappingURL=index.d.ts.map
@@ -7,7 +7,7 @@ import { c } from "react/compiler-runtime";
7
7
  import { Children, isValidElement, useState } from "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  import { ButtonContext, Group, ToggleButtonGroup } from "react-aria-components";
10
- //#region src/components/button-group/index.tsx
10
+ // src/components/button-group/index.tsx
11
11
  const EXPANDED_RATIO = .15;
12
12
  const DISABLED = { isDisabled: true };
13
13
  const styles = {
@@ -266,7 +266,6 @@ function shiftFor(index, count, press) {
266
266
  if (Math.abs(index - press.index) !== 1) return 0;
267
267
  return -(press.index === 0 || press.index === count - 1 ? press.delta : press.delta / 2);
268
268
  }
269
- //#endregion
270
269
  export { ButtonGroup as default };
271
270
 
272
271
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,5 @@
1
1
  import { RefAttributes } from "react";
2
2
  import { CalendarProps, DateValue } from "react-aria-components";
3
- //#region src/components/calendar/index.d.ts
4
3
  type CalendarProps$1<T extends DateValue = DateValue> = {
5
4
  /** A function may compute the class from the calendar's render state. */
6
5
  className?: CalendarProps<T>['className'];
@@ -50,6 +49,5 @@ type CalendarProps$1<T extends DateValue = DateValue> = {
50
49
  * element a layout positions.
51
50
  */
52
51
  declare function Calendar$1<T extends DateValue>({ error, showMonthYearMenus, ...props }: CalendarProps$1<T> & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
53
- //#endregion
54
52
  export { type CalendarProps$1 as CalendarProps, Calendar$1 as default };
55
53
  //# sourceMappingURL=index.d.ts.map
@@ -12,7 +12,7 @@ import { useContext } from "react";
12
12
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
13
13
  import { Calendar, CalendarCell, CalendarGrid, CalendarGridBody, CalendarStateContext, Text } from "react-aria-components";
14
14
  import { isSameDay } from "@internationalized/date";
15
- //#region src/components/calendar/index.tsx
15
+ // src/components/calendar/index.tsx
16
16
  /**
17
17
  * A month calendar for picking a date. The value is React Aria's: pass
18
18
  * `value` with `onChange` to control it, or `defaultValue` to let it keep its
@@ -186,7 +186,6 @@ function pressedLayer(state) {
186
186
  if (!state.isSelected) return dateLayers.plainPressed;
187
187
  return state.isInvalid ? dateLayers.invalidPressed : dateLayers.selectedPressed;
188
188
  }
189
- //#endregion
190
189
  export { Calendar$1 as default };
191
190
 
192
191
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,4 @@
1
1
  import { RenderComponentProps } from "../../render/useRender.js";
2
- //#region src/components/card/index.d.ts
3
2
  type CardProps = {
4
3
  /**
5
4
  * Makes the card the thing you press: it ripples, lifts on hover, and takes
@@ -55,6 +54,5 @@ type CardVariant = 'elevated' | 'filled' | 'outlined';
55
54
  * navigates.
56
55
  */
57
56
  declare function Card({ children, interactive, isDisabled, onClick, onContextMenu, onPointerCancel, onPointerDown, onPointerLeave, onPointerUp, padding, render, variant, ...props }: CardProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
58
- //#endregion
59
57
  export { type CardProps, type CardVariant, Card as default };
60
58
  //# sourceMappingURL=index.d.ts.map
@@ -7,7 +7,7 @@ import { useRipple } from "../../hooks/useRipple.js";
7
7
  import { c } from "react/compiler-runtime";
8
8
  import { cloneElement, isValidElement } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
- //#region src/components/card/index.tsx
10
+ // src/components/card/index.tsx
11
11
  const styles = {
12
12
  base: {
13
13
  kaIpWk: "x62ce2h",
@@ -269,7 +269,6 @@ function withoutActivation(render) {
269
269
  tabIndex: void 0
270
270
  });
271
271
  }
272
- //#endregion
273
272
  export { Card as default };
274
273
 
275
274
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,5 @@
1
1
  import { CarouselLayout } from "../../carousel/arrangement.js";
2
2
  import { HTMLAttributes, ReactNode, RefAttributes } from "react";
3
- //#region src/components/carousel/index.d.ts
4
3
  type CarouselItemProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
5
4
  /** What the item shows: usually an image, which the item masks. */
6
5
  children?: ReactNode;
@@ -63,6 +62,5 @@ declare namespace Carousel {
63
62
  * The call site's `className` and `style` land on the item.
64
63
  */
65
64
  declare function CarouselItem({ children, ref, ...props }: CarouselItemProps & RefAttributes<HTMLDivElement>): import("react").JSX.Element;
66
- //#endregion
67
65
  export { CarouselItem, type CarouselItemProps, type CarouselLayout, type CarouselProps, Carousel as default };
68
66
  //# sourceMappingURL=index.d.ts.map