@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 { colors, spacing, stateLayerOpacity, typography } from "../tokens/design.tokens.stylex.js";
2
- //#region src/field/styles.ts
2
+ // src/field/styles.ts
3
3
  `${colors.onSurface}${stateLayerOpacity.disabledContent}${colors.surface}`;
4
4
  `${colors.onSurface}${stateLayerOpacity.hover}${colors.surfaceContainerHighest}`;
5
5
  `${spacing.sm}${typography.bodySmallLineHeight}${typography.bodyLargeLineHeight}`;
@@ -528,7 +528,6 @@ const groupStyles = {
528
528
  $$css: true
529
529
  }
530
530
  };
531
- //#endregion
532
531
  export { fieldChromeStyles, groupStyles };
533
532
 
534
533
  //# sourceMappingURL=styles.js.map
@@ -4,7 +4,7 @@ import { arrowBackPath, arrowDownwardPath, arrowDropDownPath, arrowUpwardPath, c
4
4
  import { glyphStyles } from "./styles.js";
5
5
  import { c } from "react/compiler-runtime";
6
6
  import { jsx } from "react/jsx-runtime";
7
- //#region src/glyphs/index.tsx
7
+ // src/glyphs/index.tsx
8
8
  function ArrowBackGlyph(props) {
9
9
  const $ = c(3);
10
10
  let t0;
@@ -368,7 +368,6 @@ function SearchGlyph(props) {
368
368
  } else t1 = $[2];
369
369
  return t1;
370
370
  }
371
- //#endregion
372
371
  export { ArrowBackGlyph, ArrowDownwardGlyph, ArrowDropDownGlyph, ArrowUpwardGlyph, CalendarGlyph, CheckCircleGlyph, CheckGlyph, ChevronDownGlyph, ChevronEndGlyph, ClockGlyph, CloseGlyph, ErrorGlyph, IndeterminateGlyph, KeyboardGlyph, MinusGlyph, PersonGlyph, PlusGlyph, SearchGlyph };
373
372
 
374
373
  //# sourceMappingURL=index.js.map
@@ -1,9 +1,8 @@
1
- //#region src/glyphs/styles.ts
1
+ // src/glyphs/styles.ts
2
2
  const glyphStyles = { glyph: {
3
3
  kB7OPa: "x9f619",
4
4
  $$css: true
5
5
  } };
6
- //#endregion
7
6
  export { glyphStyles };
8
7
 
9
8
  //# sourceMappingURL=styles.js.map
@@ -1,5 +1,4 @@
1
1
  import { RefObject, UIEvent } from "react";
2
- //#region src/hooks/useAppBarScroll.d.ts
3
2
  type AppBarScroll = {
4
3
  /** For the bar's `collapsed`. */
5
4
  collapsed: boolean;
@@ -47,6 +46,5 @@ type AppBarScrollOptions = {
47
46
  * give it `overflow-anchor: none`, as the `collapsed` prop explains.
48
47
  */
49
48
  declare function useAppBarScroll({ collapseAfter }?: AppBarScrollOptions): AppBarScroll;
50
- //#endregion
51
49
  export { type AppBarScroll, type AppBarScrollOptions, useAppBarScroll };
52
50
  //# sourceMappingURL=useAppBarScroll.d.ts.map
@@ -69,7 +69,6 @@ function useAppBarScroll(t0) {
69
69
  } else t4 = $[8];
70
70
  return t4;
71
71
  }
72
- //#endregion
73
72
  export { useAppBarScroll };
74
73
 
75
74
  //# sourceMappingURL=useAppBarScroll.js.map
@@ -1,6 +1,6 @@
1
1
  import { c } from "react/compiler-runtime";
2
2
  import { useLayoutEffect, useSyncExternalStore } from "react";
3
- //#region src/hooks/useBottomEdge.ts
3
+ // src/hooks/useBottomEdge.ts
4
4
  const holders = /* @__PURE__ */ new Map();
5
5
  const listeners = /* @__PURE__ */ new Set();
6
6
  let clearance = 0;
@@ -80,7 +80,6 @@ function useHoldBottomEdge(ref, isHolding) {
80
80
  }
81
81
  useLayoutEffect(t0, t1);
82
82
  }
83
- //#endregion
84
83
  export { useBottomEdgeClearance, useHoldBottomEdge };
85
84
 
86
85
  //# sourceMappingURL=useBottomEdge.js.map
@@ -1,7 +1,7 @@
1
1
  import { textOf } from "../collection/text.js";
2
2
  import { c } from "react/compiler-runtime";
3
3
  import { useState } from "react";
4
- //#region src/hooks/useClippedTitle.ts
4
+ // src/hooks/useClippedTitle.ts
5
5
  /**
6
6
  * The `title` and `onPointerEnter` for a label span that clips to one line,
7
7
  * through `overflow: hidden` or `clip`: spread both on that span.
@@ -38,7 +38,6 @@ function useClippedTitle(label) {
38
38
  } else t2 = $[6];
39
39
  return t2;
40
40
  }
41
- //#endregion
42
41
  export { useClippedTitle };
43
42
 
44
43
  //# sourceMappingURL=useClippedTitle.js.map
@@ -1,6 +1,6 @@
1
1
  import { c } from "react/compiler-runtime";
2
2
  import { useState } from "react";
3
- //#region src/hooks/useImageLoadingStatus.ts
3
+ // src/hooks/useImageLoadingStatus.ts
4
4
  /**
5
5
  * Whether the picture at `src` can be shown yet, from what the component's
6
6
  * own `<img>` reports. The image is rendered from the start and hidden until
@@ -65,7 +65,6 @@ function useImageLoadingStatus(src) {
65
65
  } else t3 = $[4];
66
66
  return t3;
67
67
  }
68
- //#endregion
69
68
  export { useImageLoadingStatus };
70
69
 
71
70
  //# sourceMappingURL=useImageLoadingStatus.js.map
@@ -4,7 +4,7 @@ import { rippleStyles as styles } from "../styles/ripple.js";
4
4
  import { c } from "react/compiler-runtime";
5
5
  import { useEffect, useRef, useState } from "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
- //#region src/hooks/useRipple.tsx
7
+ // src/hooks/useRipple.tsx
8
8
  /** How far the ripple grows past the host's corners. `spacing.sm`. */
9
9
  const PADDING = spacingPx.sm;
10
10
  const INITIAL_ORIGIN_SCALE = .2;
@@ -455,7 +455,6 @@ function useRipple(t0, t1, t2, t3) {
455
455
  function _temp(resolve_0) {
456
456
  setTimeout(resolve_0, motionDurationMs.short2);
457
457
  }
458
- //#endregion
459
458
  export { useRipple };
460
459
 
461
460
  //# sourceMappingURL=useRipple.js.map
@@ -1,6 +1,6 @@
1
1
  import { c } from "react/compiler-runtime";
2
2
  import { useLayoutEffect, useState } from "react";
3
- //#region src/hooks/useScrollStop.ts
3
+ // src/hooks/useScrollStop.ts
4
4
  const TABBABLE = [
5
5
  "a[href]",
6
6
  "area[href]",
@@ -127,7 +127,6 @@ function useScrollStop(ref, t0) {
127
127
  function _temp(candidate) {
128
128
  return candidate.tabIndex >= 0 && candidate.closest("[inert]") === null && candidate.getClientRects().length > 0;
129
129
  }
130
- //#endregion
131
130
  export { useScrollStop };
132
131
 
133
132
  //# sourceMappingURL=useScrollStop.js.map
@@ -1,6 +1,6 @@
1
1
  import { useContext } from "react";
2
2
  import { ToggleGroupStateContext } from "react-aria-components";
3
- //#region src/hooks/useToggleGroupDisabled.ts
3
+ // src/hooks/useToggleGroupDisabled.ts
4
4
  /**
5
5
  * Whether the React Aria `ToggleButtonGroup` around a toggle disables it.
6
6
  *
@@ -18,7 +18,6 @@ function useToggleGroupDisabled(id) {
18
18
  const group = useContext(ToggleGroupStateContext);
19
19
  return group !== null && id !== void 0 && group.isDisabled;
20
20
  }
21
- //#endregion
22
21
  export { useToggleGroupDisabled };
23
22
 
24
23
  //# sourceMappingURL=useToggleGroupDisabled.js.map
@@ -2,7 +2,7 @@ import { MESSAGES } from "./messages.js";
2
2
  import { c } from "react/compiler-runtime";
3
3
  import { useLocale } from "react-aria-components";
4
4
  import { LocalizedStringDictionary, LocalizedStringFormatter } from "@internationalized/string";
5
- //#region src/i18n/index.ts
5
+ // src/i18n/index.ts
6
6
  const dictionary = new LocalizedStringDictionary(MESSAGES);
7
7
  const cache = /* @__PURE__ */ new Map();
8
8
  function messagesFor(locale) {
@@ -53,7 +53,6 @@ function useMessages() {
53
53
  } else t1 = $[1];
54
54
  return t1;
55
55
  }
56
- //#endregion
57
56
  export { messagesFor, useMessages };
58
57
 
59
58
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- //#region src/i18n/messages.ts
1
+ // src/i18n/messages.ts
2
2
  /**
3
3
  * A message that takes the count's form from the plural rule it falls under.
4
4
  * The caller hands over the count already written in the locale's digits and
@@ -823,7 +823,6 @@ const MESSAGES = {
823
823
  slideLabel: (args) => `第 ${args?.index} 項,共 ${args?.count} 項`
824
824
  }
825
825
  };
826
- //#endregion
827
826
  export { MESSAGES };
828
827
 
829
828
  //# sourceMappingURL=messages.js.map
@@ -4,7 +4,7 @@ import { indicatorStyles } from "./styles.js";
4
4
  import { c } from "react/compiler-runtime";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Label } from "react-aria-components";
7
- //#region src/indicator/index.tsx
7
+ // src/indicator/index.tsx
8
8
  const ACTIVE_TONES = {
9
9
  inherit: indicatorStyles.inheritActive,
10
10
  negative: indicatorStyles.negativeActive,
@@ -136,7 +136,6 @@ function IndicatorLine(t0) {
136
136
  } else t8 = $[20];
137
137
  return t8;
138
138
  }
139
- //#endregion
140
139
  export { IndicatorLabels, IndicatorLine };
141
140
 
142
141
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,2 @@
1
- //#region src/indicator/styles.d.ts
2
1
  export type IndicatorTone = 'inherit' | 'negative' | 'positive' | 'primary';
3
- //#endregion
4
2
  //# sourceMappingURL=styles.d.ts.map
@@ -115,7 +115,6 @@ const indicatorStyles = {
115
115
  $$css: true
116
116
  }
117
117
  };
118
- //#endregion
119
118
  export { indicatorStyles };
120
119
 
121
120
  //# sourceMappingURL=styles.js.map
@@ -1,4 +1,3 @@
1
- //#region node_modules/@kanso-labs/kanso-ui-core/dist/defaults-DMH0HWCw.d.ts
2
1
  /**
3
2
  * A theme: any of the `--kui-*` custom properties `tokens.css` lists, each set
4
3
  * to a value in CSS syntax. Hand one to `ThemeScope`'s `theme` prop, and every
@@ -390,6 +389,5 @@ type KuiTheme = {
390
389
  /** Defaults to `400`. */
391
390
  readonly '--kui-typography-weight-regular'?: string;
392
391
  };
393
- //#endregion
394
392
  export { KuiTheme as t };
395
393
  //# sourceMappingURL=defaults-DMH0HWCw.d.ts.map
@@ -1,4 +1,4 @@
1
- //#region node_modules/@kanso-labs/kanso-ui-core/dist/glyphs.js
1
+ // node_modules/@kanso-labs/kanso-ui-core/dist/glyphs.js
2
2
  /** An arrow pointing back, at the page a view returns to. */
3
3
  const arrowBackPath = "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z";
4
4
  /** An arrow pointing down, for a column sorted in descending order. */
@@ -42,7 +42,6 @@ const personPath = "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm
42
42
  const plusPath = "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z";
43
43
  /** A magnifier, as a search field shows. */
44
44
  const searchPath = "M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z";
45
- //#endregion
46
45
  export { arrowBackPath, arrowDownwardPath, arrowDropDownPath, arrowUpwardPath, calendarPath, checkCirclePath, checkPath, chevronDownPath, chevronEndPath, clockPath, closePath, errorPath, keyboardPath, minusPath, personPath, plusPath, searchPath };
47
46
 
48
47
  //# sourceMappingURL=glyphs.js.map
@@ -1,7 +1,6 @@
1
1
  import { createContext } from "react";
2
- //#region src/keycap/context.ts
2
+ // src/keycap/context.ts
3
3
  const KeycapToneContext = createContext("neutral");
4
- //#endregion
5
4
  export { KeycapToneContext };
6
5
 
7
6
  //# sourceMappingURL=context.js.map
package/dist/layout.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- //#region src/layout.d.ts
2
1
  /**
3
2
  * The heights the collections draw, in pixels, for a virtualized one's
4
3
  * layout options.
@@ -38,6 +37,5 @@ declare const collectionSizes: {
38
37
  /** A `Table` body row. */
39
38
  readonly tableRow: 52;
40
39
  };
41
- //#endregion
42
40
  export { collectionSizes };
43
41
  //# sourceMappingURL=layout.d.ts.map
package/dist/layout.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/layout.ts
1
+ // src/layout.ts
2
2
  /**
3
3
  * The heights the collections draw, in pixels, for a virtualized one's
4
4
  * layout options.
@@ -38,7 +38,6 @@ const collectionSizes = {
38
38
  /** A `Table` body row. */
39
39
  tableRow: 52
40
40
  };
41
- //#endregion
42
41
  export { collectionSizes };
43
42
 
44
43
  //# sourceMappingURL=layout.js.map
@@ -8,7 +8,7 @@ import { markStyles } from "./styles.js";
8
8
  import { c } from "react/compiler-runtime";
9
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
10
  import { useLocale } from "react-aria-components";
11
- //#region src/mark/index.tsx
11
+ // src/mark/index.tsx
12
12
  const KINDS = {
13
13
  person: {
14
14
  fit: markStyles.cover,
@@ -171,7 +171,6 @@ function Mark(t0) {
171
171
  } else t13 = $[40];
172
172
  return useRender(t13);
173
173
  }
174
- //#endregion
175
174
  export { Mark as default };
176
175
 
177
176
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- //#region src/mark/initials.ts
1
+ // src/mark/initials.ts
2
2
  const INITIAL = /^[\p{L}\p{N}\p{Extended_Pictographic}\p{Regional_Indicator}]/u;
3
3
  const JOINING = /^[\p{Script=Arabic}\p{Script=Syriac}\p{Script=Mongolian}\p{Script=Nko}\p{Script=Adlam}\p{Script=Mandaic}\p{Script=Manichaean}\p{Script=Psalter_Pahlavi}\p{Script=Hanifi_Rohingya}\p{Script=Sogdian}\p{Script=Old_Uyghur}]/u;
4
4
  const ZERO_WIDTH_NON_JOINER = "‌";
@@ -51,7 +51,6 @@ function initialsOfPerson(name, locale) {
51
51
  const last = initialOf(words.at(-1) ?? "", locale);
52
52
  return `${first}${JOINING.test(first) && JOINING.test(last) ? ZERO_WIDTH_NON_JOINER : ""}${last}`;
53
53
  }
54
- //#endregion
55
54
  export { initialOfThing, initialsOfPerson };
56
55
 
57
56
  //# sourceMappingURL=initials.js.map
@@ -1,4 +1,4 @@
1
- //#region src/mark/styles.ts
1
+ // src/mark/styles.ts
2
2
  const markStyles = {
3
3
  base: {
4
4
  kGNEyG: "x6s0dn4",
@@ -108,7 +108,6 @@ const markStyles = {
108
108
  $$css: true
109
109
  }
110
110
  };
111
- //#endregion
112
111
  export { markStyles };
113
112
 
114
113
  //# sourceMappingURL=styles.js.map
@@ -1,7 +1,6 @@
1
1
  import { createContext } from "react";
2
- //#region src/navigation/context.ts
2
+ // src/navigation/context.ts
3
3
  const NavigationContext = createContext({ form: "bar" });
4
- //#endregion
5
4
  export { NavigationContext };
6
5
 
7
6
  //# sourceMappingURL=context.js.map
@@ -1,6 +1,5 @@
1
1
  import { ReactNode, RefAttributes } from "react";
2
2
  import { LinkProps } from "react-aria-components";
3
- //#region src/navigation/index.d.ts
4
3
  type NavigationItemProps = {
5
4
  /**
6
5
  * A badge on the icon: `true` for the badges page's small dot, a number
@@ -37,6 +36,5 @@ type NavigationItemProps = {
37
36
  /** A function may compute the style from the destination's render state. */
38
37
  style?: LinkProps['style'];
39
38
  } & Omit<LinkProps, 'children' | 'className' | 'href' | 'style'>;
40
- //#endregion
41
39
  export type { NavigationItemProps };
42
40
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@ import { c } from "react/compiler-runtime";
11
11
  import { useContext, useId } from "react";
12
12
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
13
13
  import { Link } from "react-aria-components";
14
- //#region src/navigation/index.tsx
14
+ // src/navigation/index.tsx
15
15
  const FORMS = {
16
16
  bar: barItemStyles,
17
17
  barCramped: {
@@ -203,7 +203,6 @@ function NavigationList(t0) {
203
203
  } else t2 = $[5];
204
204
  return t2;
205
205
  }
206
- //#endregion
207
206
  export { NavigationItem, NavigationList };
208
207
 
209
208
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { colors, stateLayerOpacity } from "../tokens/design.tokens.stylex.js";
2
- //#region src/navigation/styles.ts
2
+ // src/navigation/styles.ts
3
3
  `${colors.onSecondaryContainer}${stateLayerOpacity.hover}`;
4
4
  `${colors.onSecondaryContainer}${stateLayerOpacity.focus}`;
5
5
  `${colors.onSecondaryContainer}${stateLayerOpacity.pressed}`;
@@ -403,7 +403,6 @@ const crampedBarItemStyles = {
403
403
  $$css: true
404
404
  }
405
405
  };
406
- //#endregion
407
406
  export { barItemStyles, collapsedItemStyles, crampedBarItemStyles, expandedItemStyles, navigationItemStyles, navigationListStyles };
408
407
 
409
408
  //# sourceMappingURL=styles.js.map
@@ -1,4 +1,4 @@
1
- //#region node_modules/@stylexjs/stylex/lib/es/stylex.mjs
1
+ // node_modules/@stylexjs/stylex/lib/es/stylex.mjs
2
2
  var styleq = {};
3
3
  var hasRequiredStyleq;
4
4
  function requireStyleq() {
@@ -115,7 +115,6 @@ function props(...styles) {
115
115
  return result;
116
116
  }
117
117
  Object.freeze({});
118
- //#endregion
119
118
  export { props };
120
119
 
121
120
  //# sourceMappingURL=stylex.js.map
@@ -1,7 +1,7 @@
1
1
  import { c } from "react/compiler-runtime";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { SeparatorContext } from "react-aria-components";
4
- //#region src/overlay/index.tsx
4
+ // src/overlay/index.tsx
5
5
  const NO_SEPARATOR = {};
6
6
  /** Clears, for an overlay's content, the contexts that reach it from outside. */
7
7
  function OverlayScope(t0) {
@@ -18,7 +18,6 @@ function OverlayScope(t0) {
18
18
  } else t1 = $[1];
19
19
  return t1;
20
20
  }
21
- //#endregion
22
21
  export { OverlayScope };
23
22
 
24
23
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { createElement } from "react";
2
- //#region src/render/aria.tsx
2
+ // src/render/aria.tsx
3
3
  const LABELLING = /* @__PURE__ */ new Set([
4
4
  "aria-describedby",
5
5
  "aria-details",
@@ -79,7 +79,6 @@ function withElementProps(domProps, element) {
79
79
  onKeyUp: chain(dom.onKeyUp, element.onKeyUp)
80
80
  };
81
81
  }
82
- //#endregion
83
82
  export { ariaAttributesOf, buttonRenderer, linkRenderer, toggleButtonRenderer };
84
83
 
85
84
  //# sourceMappingURL=aria.js.map
@@ -1,4 +1,4 @@
1
- //#region src/render/content.ts
1
+ // src/render/content.ts
2
2
  /**
3
3
  * Whether a slot was handed anything to draw. React draws nothing for
4
4
  * `null`, `false`, `true` or an empty string, and a call site passes them
@@ -10,7 +10,6 @@
10
10
  function hasContent(node) {
11
11
  return node !== void 0 && node !== null && node !== false && node !== true && node !== "";
12
12
  }
13
- //#endregion
14
13
  export { hasContent };
15
14
 
16
15
  //# sourceMappingURL=content.js.map
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from "react";
2
- //#region src/render/name.d.ts
3
2
  /**
4
3
  * A name from the control's own content — the label beside a switch — or,
5
4
  * where a row labels it some other way, from an attribute.
@@ -17,6 +16,5 @@ type LabelledByAttribute = {
17
16
  'aria-label'?: string;
18
17
  'aria-labelledby': string;
19
18
  };
20
- //#endregion
21
19
  export type { AccessibleName, LabelledByAttribute };
22
20
  //# sourceMappingURL=name.d.ts.map
@@ -1,4 +1,4 @@
1
- //#region src/render/ref.ts
1
+ // src/render/ref.ts
2
2
  function attach(ref, node) {
3
3
  if (typeof ref === "function") {
4
4
  const cleanup = ref(node);
@@ -51,7 +51,6 @@ function refCallback(ref) {
51
51
  ref.current = element;
52
52
  };
53
53
  }
54
- //#endregion
55
54
  export { mergeRefs, refCallback };
56
55
 
57
56
  //# sourceMappingURL=ref.js.map
@@ -1,5 +1,4 @@
1
1
  import { ComponentPropsWithRef, HTMLAttributes, JSX, ReactElement, Ref } from "react";
2
- //#region src/render/useRender.d.ts
3
2
  type IntrinsicTag = keyof JSX.IntrinsicElements;
4
3
  /**
5
4
  * The props of a component rendered through {@link useRender}: everything the
@@ -23,6 +22,5 @@ type RenderFunctionProps = HTMLAttributes<any> & {
23
22
  ref?: Ref<any> | undefined;
24
23
  };
25
24
  type RenderProp = ((props: RenderFunctionProps) => ReactElement) | ReactElement;
26
- //#endregion
27
25
  export type { RenderComponentProps, RenderFunctionProps };
28
26
  //# sourceMappingURL=useRender.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { mergeRefs } from "./ref.js";
2
2
  import { c } from "react/compiler-runtime";
3
3
  import { cloneElement, createElement, isValidElement } from "react";
4
- //#region src/render/useRender.tsx
4
+ // src/render/useRender.tsx
5
5
  function isHandler(value) {
6
6
  return typeof value === "function";
7
7
  }
@@ -141,7 +141,6 @@ function useRender(t0) {
141
141
  } else t5 = $[16];
142
142
  return t5;
143
143
  }
144
- //#endregion
145
144
  export { useRender };
146
145
 
147
146
  //# sourceMappingURL=useRender.js.map
package/dist/row/index.js CHANGED
@@ -3,7 +3,7 @@ import { hasContent } from "../render/content.js";
3
3
  import { rowStyles, supportingTone } from "./styles.js";
4
4
  import { c } from "react/compiler-runtime";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
- //#region src/row/index.tsx
6
+ // src/row/index.tsx
7
7
  /**
8
8
  * The inside of a row: the leading slot, the headline with its supporting
9
9
  * line, and the trailing slot, each rendered only when given. The element
@@ -157,7 +157,6 @@ function RowContent(t0) {
157
157
  } else t12 = $[43];
158
158
  return t12;
159
159
  }
160
- //#endregion
161
160
  export { RowContent };
162
161
 
163
162
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- //#region src/row/styles.ts
1
+ // src/row/styles.ts
2
2
  const rowStyles = {
3
3
  base: {
4
4
  kGNEyG: "x6s0dn4",
@@ -212,7 +212,6 @@ function supportingTone(variant, { isDisabled, isSelected }) {
212
212
  if (variant === "menu") return rowStyles.supportingSelectedMenu;
213
213
  return rowStyles.supportingSelectedList;
214
214
  }
215
- //#endregion
216
215
  export { rowStyles, supportingTone };
217
216
 
218
217
  //# sourceMappingURL=styles.js.map
@@ -2,7 +2,7 @@ import { props } from "../node_modules/@stylexjs/stylex/lib/es/stylex.js";
2
2
  import { segmentStyles } from "./styles.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { DateSegment } from "react-aria-components";
5
- //#region src/segments/index.tsx
5
+ // src/segments/index.tsx
6
6
  function renderSegment(segment) {
7
7
  if (segment.type === "literal") return /* @__PURE__ */ jsx(DateSegment, {
8
8
  ...props(segmentStyles.segment, segmentStyles.segmentLiteral),
@@ -16,7 +16,6 @@ function renderSegment(segment) {
16
16
  function segmentClassName(state) {
17
17
  return props(segmentStyles.segment, state.isPlaceholder && segmentStyles.segmentPlaceholder, state.isFocused && segmentStyles.segmentFocused, state.isDisabled && segmentStyles.segmentDisabled).className ?? "";
18
18
  }
19
- //#endregion
20
19
  export { renderSegment };
21
20
 
22
21
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- //#region src/segments/styles.ts
1
+ // src/segments/styles.ts
2
2
  const segmentStyles = {
3
3
  input: {
4
4
  kGNEyG: "x6s0dn4",
@@ -39,7 +39,6 @@ const segmentStyles = {
39
39
  $$css: true
40
40
  }
41
41
  };
42
- //#endregion
43
42
  export { segmentStyles };
44
43
 
45
44
  //# sourceMappingURL=styles.js.map
@@ -1,5 +1,5 @@
1
1
  import { colors } from "../tokens/design.tokens.stylex.js";
2
- //#region src/styles/chequer.ts
2
+ // src/styles/chequer.ts
3
3
  `${colors.surfaceContainerHighest}${colors.surfaceContainerHighest}${colors.surfaceContainerHighest}${colors.surfaceContainerHighest}`;
4
4
  const chequer = { ground: {
5
5
  kWkggS: "x14q8lhr",
@@ -8,7 +8,6 @@ const chequer = { ground: {
8
8
  kgSjnq: "x1ht9rhz",
9
9
  $$css: true
10
10
  } };
11
- //#endregion
12
11
  export { chequer };
13
12
 
14
13
  //# sourceMappingURL=chequer.js.map
@@ -1,4 +1,4 @@
1
- //#region src/styles/color.ts
1
+ // src/styles/color.ts
2
2
  function thumbClasses(state, vertical) {
3
3
  return {
4
4
  0: { className: "x12w9bfk x1qx5ct2 x1ylmb6m x16fbrrb xx61lck x13rsnn2 xlzcsym x9f619 x1jm3nie xw4jnvo xwa60dl xrgy624 x1x84bn5 x2wh2y9 x1t137rt x1de99jn x1qno0dh xkdsq27 xpc4ca7" },
@@ -25,7 +25,6 @@ function thumbClassName(state) {
25
25
  function verticalThumbClassName(state) {
26
26
  return thumbClasses(state, true);
27
27
  }
28
- //#endregion
29
28
  export { thumbClassName, verticalThumbClassName };
30
29
 
31
30
  //# sourceMappingURL=color.js.map
@@ -1,4 +1,4 @@
1
- //#region src/styles/focus.ts
1
+ // src/styles/focus.ts
2
2
  const focus = {
3
3
  ring: {
4
4
  kjBf7l: "xrgy624",
@@ -15,7 +15,6 @@ const focus = {
15
15
  $$css: true
16
16
  }
17
17
  };
18
- //#endregion
19
18
  export { focus };
20
19
 
21
20
  //# sourceMappingURL=focus.js.map
@@ -1,4 +1,4 @@
1
- //#region src/styles/icon-button.ts
1
+ // src/styles/icon-button.ts
2
2
  const iconButton = {
3
3
  chrome: {
4
4
  kGNEyG: "x6s0dn4",
@@ -31,7 +31,6 @@ const iconButton = {
31
31
  $$css: true
32
32
  }
33
33
  };
34
- //#endregion
35
34
  export { iconButton };
36
35
 
37
36
  //# sourceMappingURL=icon-button.js.map