jenosize-ui 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/README.md +10 -7
  2. package/dist/Cartesian-ZIKPEYWP.d.ts +26 -0
  3. package/dist/area-chart.d.ts +53 -0
  4. package/dist/area-chart.js +8 -0
  5. package/dist/avatar.d.ts +19 -0
  6. package/dist/avatar.js +12 -7
  7. package/dist/badge.js +5 -5
  8. package/dist/bar-chart.d.ts +31 -0
  9. package/dist/bar-chart.js +8 -0
  10. package/dist/breadcrumb.js +3 -3
  11. package/dist/button.d.ts +11 -1
  12. package/dist/button.js +9 -8
  13. package/dist/calendar.js +14 -12
  14. package/dist/callout.js +10 -9
  15. package/dist/card.d.ts +52 -2
  16. package/dist/card.js +6 -2
  17. package/dist/checkbox.js +6 -5
  18. package/dist/chunk-34J5AANZ.js +605 -0
  19. package/dist/{chunk-D6TPWNRK.js → chunk-3GT43XPK.js} +5 -5
  20. package/dist/{chunk-3Y5X7B5C.js → chunk-3Z3SDKIA.js} +6 -11
  21. package/dist/{chunk-MQGD2OUF.js → chunk-42FCPC77.js} +3 -3
  22. package/dist/{chunk-Z3ETJN5G.js → chunk-4BRMM3I5.js} +6 -11
  23. package/dist/{chunk-WZQFC7ZN.js → chunk-4HKDD3PR.js} +55 -16
  24. package/dist/chunk-4K6V6NNK.js +169 -0
  25. package/dist/{chunk-ZZA2LUTL.js → chunk-4R7WDDCW.js} +41 -16
  26. package/dist/{chunk-BJUZVYQC.js → chunk-4W6AYGLR.js} +12 -12
  27. package/dist/{chunk-4OLULPQG.js → chunk-54S5CUY6.js} +8 -5
  28. package/dist/{chunk-GRLSUQQE.js → chunk-5JRM3OES.js} +4 -4
  29. package/dist/chunk-5ZPUAGOP.js +19 -0
  30. package/dist/{chunk-W5GGOUUI.js → chunk-6HJA7NPL.js} +3 -3
  31. package/dist/{chunk-CME4DIML.js → chunk-6IUTVDNI.js} +22 -3
  32. package/dist/chunk-6UBYHSBX.js +147 -0
  33. package/dist/{chunk-HMUZE6EK.js → chunk-74HPBSVY.js} +3 -3
  34. package/dist/chunk-75M43ELV.js +366 -0
  35. package/dist/chunk-763VS2FY.js +10 -0
  36. package/dist/chunk-7HV6EIGZ.js +26 -0
  37. package/dist/chunk-7VLYQR4D.js +44 -0
  38. package/dist/{chunk-D5BTFSL7.js → chunk-A46ED5JQ.js} +3 -3
  39. package/dist/{chunk-W46K56XU.js → chunk-A5WQLN4B.js} +8 -24
  40. package/dist/chunk-AC6ZWKRN.js +23 -0
  41. package/dist/{chunk-E7ZSWBAK.js → chunk-BD5YKFRA.js} +4 -4
  42. package/dist/chunk-BLIZ3CL3.js +49 -0
  43. package/dist/{chunk-DRZCJCBO.js → chunk-BNIWT6CW.js} +4 -4
  44. package/dist/{chunk-JVJRHBTD.js → chunk-C6OTOTKI.js} +21 -8
  45. package/dist/chunk-CTENRS34.js +60 -0
  46. package/dist/{chunk-7IU5TMFL.js → chunk-CWMFEF6R.js} +75 -27
  47. package/dist/{chunk-JTNFJLIY.js → chunk-DCGTB7P7.js} +13 -13
  48. package/dist/{chunk-GFOAJVW5.js → chunk-DJYWPJZ3.js} +3 -3
  49. package/dist/{chunk-MUFHLP4S.js → chunk-DTMYD63D.js} +11 -22
  50. package/dist/{chunk-KDLPXXD2.js → chunk-EDOUI2BG.js} +4 -4
  51. package/dist/{chunk-R6RGJF4L.js → chunk-EDT5J5WK.js} +4 -4
  52. package/dist/{chunk-PWKWNDBS.js → chunk-EX374YWB.js} +6 -6
  53. package/dist/{chunk-F2K7VJUV.js → chunk-FFTRB2UU.js} +4 -4
  54. package/dist/chunk-FIGBJGH2.js +1474 -0
  55. package/dist/chunk-FKVPAEJ6.js +57 -0
  56. package/dist/{chunk-J7ZQQFPT.js → chunk-FZBZGA3P.js} +17 -17
  57. package/dist/{chunk-T7FCG7XV.js → chunk-GAFGIT4Q.js} +10 -10
  58. package/dist/chunk-HSVBTIP2.js +482 -0
  59. package/dist/{chunk-FHHAPGCR.js → chunk-ILICYNK7.js} +3 -3
  60. package/dist/{chunk-WFY7DKQD.js → chunk-JAVNGTOE.js} +9 -14
  61. package/dist/{chunk-7HOIZ3UO.js → chunk-JMWYCT63.js} +6 -6
  62. package/dist/{chunk-QA74ITR4.js → chunk-JUWDRRD6.js} +45 -17
  63. package/dist/{chunk-BVJWBYIG.js → chunk-JXHZHUB3.js} +4 -4
  64. package/dist/{chunk-VWC72TR3.js → chunk-JYBGO6GY.js} +7 -7
  65. package/dist/{chunk-J36M3KRX.js → chunk-L53Y7KUV.js} +13 -11
  66. package/dist/chunk-LBYCCLVI.js +33 -0
  67. package/dist/chunk-LCG34A5T.js +98 -0
  68. package/dist/chunk-M5TVCASC.js +75 -0
  69. package/dist/chunk-MCUASLZH.js +10 -0
  70. package/dist/{chunk-5RAPA22E.js → chunk-MD4AR43X.js} +4 -4
  71. package/dist/{chunk-JP26LPCY.js → chunk-MYQ3FD4Y.js} +25 -11
  72. package/dist/chunk-NA35YZRD.js +252 -0
  73. package/dist/chunk-NKDW6C7K.js +10 -0
  74. package/dist/{chunk-5NOBSXJN.js → chunk-NMERLWT7.js} +6 -6
  75. package/dist/{chunk-KMSYEE23.js → chunk-P6CON2R2.js} +25 -11
  76. package/dist/{chunk-LME57Z6J.js → chunk-P7DH62UY.js} +6 -6
  77. package/dist/chunk-PO2TYK3C.js +17 -0
  78. package/dist/{chunk-5FATN5YD.js → chunk-PXEJ5RKO.js} +4 -4
  79. package/dist/{chunk-JYGR44ZC.js → chunk-QBHQOX23.js} +6 -6
  80. package/dist/{chunk-GCVA3OIV.js → chunk-QDYE5LVT.js} +13 -3
  81. package/dist/{chunk-J2BCKBHC.js → chunk-QKDEQFOQ.js} +4 -4
  82. package/dist/{chunk-ZOOX3TUB.js → chunk-RIXEUAPY.js} +5 -5
  83. package/dist/{chunk-THC2ISYP.js → chunk-RNXRZGXN.js} +4 -4
  84. package/dist/{chunk-7EWQKTNQ.js → chunk-T2WAD4QP.js} +15 -13
  85. package/dist/{chunk-KNYKWUYX.js → chunk-TBN644IN.js} +3 -3
  86. package/dist/{chunk-MKC5HNA7.js → chunk-USL3TDZM.js} +101 -90
  87. package/dist/{chunk-CYPPEUX5.js → chunk-VEOYCAJP.js} +4 -9
  88. package/dist/{chunk-WEUJYDCV.js → chunk-VH35QHD4.js} +6 -6
  89. package/dist/chunk-VWGAMOSE.js +188 -0
  90. package/dist/{chunk-SV56BSUQ.js → chunk-WKWAUU64.js} +4 -4
  91. package/dist/chunk-X2X7Q7NW.js +17 -0
  92. package/dist/{chunk-I7WU4GTY.js → chunk-YLEHYDXC.js} +5 -5
  93. package/dist/combobox.js +12 -10
  94. package/dist/control-size-CaxQhkKh.d.ts +3 -0
  95. package/dist/date-input.js +9 -8
  96. package/dist/date-picker.js +20 -17
  97. package/dist/dialog.d.ts +16 -4
  98. package/dist/dialog.js +8 -6
  99. package/dist/drawer.d.ts +9 -2
  100. package/dist/drawer.js +7 -5
  101. package/dist/dropdown-menu.d.ts +14 -2
  102. package/dist/dropdown-menu.js +7 -3
  103. package/dist/dropzone.d.ts +34 -0
  104. package/dist/dropzone.js +22 -0
  105. package/dist/form.d.ts +78 -0
  106. package/dist/form.js +176 -32
  107. package/dist/header-navigation.d.ts +15 -4
  108. package/dist/header-navigation.js +19 -14
  109. package/dist/index.d.ts +26 -4
  110. package/dist/index.js +76 -56
  111. package/dist/indicator.js +4 -4
  112. package/dist/input.js +8 -7
  113. package/dist/kanban-board.d.ts +549 -0
  114. package/dist/kanban-board.js +23 -0
  115. package/dist/line-chart.d.ts +35 -0
  116. package/dist/line-chart.js +8 -0
  117. package/dist/{nav-Bla0o_-1.d.ts → nav-DcCyt00p.d.ts} +8 -11
  118. package/dist/number-input.js +8 -7
  119. package/dist/pagination.js +12 -9
  120. package/dist/panel-El4oI68p.d.ts +9 -0
  121. package/dist/payment-input.js +8 -7
  122. package/dist/pie-chart.d.ts +60 -0
  123. package/dist/pie-chart.js +8 -0
  124. package/dist/popover.d.ts +9 -3
  125. package/dist/popover.js +7 -5
  126. package/dist/progress-steps.d.ts +275 -0
  127. package/dist/progress-steps.js +8 -0
  128. package/dist/progress.js +2 -2
  129. package/dist/radar-chart.d.ts +73 -0
  130. package/dist/radar-chart.js +8 -0
  131. package/dist/radial-chart.d.ts +69 -0
  132. package/dist/radial-chart.js +8 -0
  133. package/dist/radio.js +6 -5
  134. package/dist/rule-BqzaIwJy.d.ts +80 -0
  135. package/dist/scroll-area.d.ts +62 -0
  136. package/dist/scroll-area.js +7 -0
  137. package/dist/select.d.ts +1 -2
  138. package/dist/select.js +15 -13
  139. package/dist/separator.d.ts +114 -0
  140. package/dist/separator.js +5 -0
  141. package/dist/sidebar-navigation.d.ts +54 -7
  142. package/dist/sidebar-navigation.js +15 -8
  143. package/dist/skeleton.d.ts +61 -0
  144. package/dist/skeleton.js +5 -0
  145. package/dist/styles.css +1 -1
  146. package/dist/surface-DFyDnrTJ.d.ts +34 -0
  147. package/dist/switch.js +2 -2
  148. package/dist/table.d.ts +94 -38
  149. package/dist/table.js +32 -28
  150. package/dist/tabs.js +2 -2
  151. package/dist/tag-input.js +11 -10
  152. package/dist/tag.js +3 -3
  153. package/dist/textarea.js +6 -5
  154. package/dist/theme.css +82 -0
  155. package/dist/theme.js +10 -9
  156. package/dist/toast.js +10 -9
  157. package/dist/tooltip-surface-Dmvb8v5K.d.ts +35 -0
  158. package/dist/tooltip.d.ts +15 -1
  159. package/dist/tooltip.js +3 -2
  160. package/dist/tree.js +6 -5
  161. package/dist/types-6kvYwtRH.d.ts +156 -0
  162. package/dist/use-uploads-ButS4dGe.d.ts +473 -0
  163. package/dist/verification-code-input.d.ts +84 -0
  164. package/dist/verification-code-input.js +13 -0
  165. package/package.json +59 -9
  166. package/dist/card-nWicloNi.d.ts +0 -80
  167. package/dist/chunk-24TO7E32.js +0 -42
  168. package/dist/chunk-FXIBGTS5.js +0 -14
  169. package/dist/chunk-ZZT2E5VT.js +0 -24
@@ -1,9 +1,9 @@
1
- import { SOLID, SOLID_HOVER } from './chunk-CME4DIML.js';
1
+ import { BOXED_BOX, BOX_RING, SOLID, SOLID_HOVER, SOLID_BOX, SOLID_GLOSS } from './chunk-6IUTVDNI.js';
2
2
  import { overflowClasses } from './chunk-DWKILXHE.js';
3
- import { useSeamlessSlot, SEAMLESS_CONTROL, SEAMLESS_INHERIT_FG, SEAMLESS_FILL_COUPLED_FG } from './chunk-KNYKWUYX.js';
3
+ import { useSeamlessSlot, SEAMLESS_CONTROL, SEAMLESS_INHERIT_FG, SEAMLESS_FILL_COUPLED_FG } from './chunk-TBN644IN.js';
4
4
  import { Slot } from './chunk-52IFGFTL.js';
5
- import { LoaderCircleIcon } from './chunk-24TO7E32.js';
6
- import { warnNeedsName } from './chunk-GCVA3OIV.js';
5
+ import { LoaderCircleIcon } from './chunk-BLIZ3CL3.js';
6
+ import { warnNeedsName } from './chunk-QDYE5LVT.js';
7
7
  import { cn } from './chunk-ZSNJ6UA3.js';
8
8
  import { mergeProps } from '@base-ui/react/merge-props';
9
9
  import { useRender } from '@base-ui/react/use-render';
@@ -13,7 +13,6 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
13
13
  var BASE_CORE = "relative inline-flex items-center justify-center font-semibold cursor-pointer transition duration-100 ease-linear [&_svg]:shrink-0 [&_svg]:transition-colors [&_svg]:duration-100 [&_svg]:ease-linear";
14
14
  var FOCUS_OUTSET = "outline-focus-ring focus-visible:outline-2 focus-visible:outline-offset-2";
15
15
  var FOCUS_INSET = "outline-focus-ring focus-visible:outline-2 focus-visible:-outline-offset-2";
16
- var GLOSS = "before:pointer-events-none before:absolute before:inset-px before:rounded-[7px] before:border before:border-white/12 before:[mask-image:linear-gradient(to_bottom,black,transparent)]";
17
16
  var ICON_SOLID = "[&_svg]:text-fg-white/60 hover:[&_svg]:text-fg-white/70";
18
17
  var BOX_ICON = {
19
18
  neutral: "[&_svg]:text-fg-quaternary hover:[&_svg]:text-fg-quaternary_hover",
@@ -23,14 +22,6 @@ var BOX_ICON = {
23
22
  error: "[&_svg]:text-fg-error-secondary hover:[&_svg]:text-error-primary",
24
23
  info: "[&_svg]:text-utility-blue-500 hover:[&_svg]:text-utility-blue-700"
25
24
  };
26
- var BOX_RING = {
27
- neutral: "ring-primary",
28
- brand: "ring-brand",
29
- success: "ring-success",
30
- warning: "ring-warning",
31
- error: "ring-error_subtle",
32
- info: "ring-utility-blue-200"
33
- };
34
25
  var FOCUS_TONE = { error: "outline-focus-ring-error" };
35
26
  var SECONDARY_TEXT = {
36
27
  neutral: "text-secondary hover:text-secondary_hover",
@@ -66,17 +57,10 @@ var DEFAULT_COLOR = {
66
57
  function variantClasses(variant, color) {
67
58
  switch (variant) {
68
59
  case "primary": {
69
- return cn(SOLID[color], SOLID_HOVER[color], "shadow-skeuomorphic ring-1 ring-transparent ring-inset", FOCUS_TONE[color], ICON_SOLID, GLOSS);
60
+ return cn(SOLID[color], SOLID_HOVER[color], SOLID_BOX, FOCUS_TONE[color], ICON_SOLID, SOLID_GLOSS);
70
61
  }
71
62
  case "secondary": {
72
- return cn(
73
- "bg-primary shadow-skeuomorphic ring-1 ring-inset",
74
- BOX_RING[color],
75
- SECONDARY_TEXT[color],
76
- SOFT_WASH[color],
77
- FOCUS_TONE[color],
78
- BOX_ICON[color]
79
- );
63
+ return cn(BOXED_BOX, BOX_RING[color], SECONDARY_TEXT[color], SOFT_WASH[color], FOCUS_TONE[color], BOX_ICON[color]);
80
64
  }
81
65
  case "tertiary": {
82
66
  return cn(GHOST_TEXT[color], SOFT_WASH[color], FOCUS_TONE[color], BOX_ICON[color]);
@@ -212,5 +196,5 @@ function Button(props) {
212
196
  }
213
197
 
214
198
  export { Button };
215
- //# sourceMappingURL=chunk-W46K56XU.js.map
216
- //# sourceMappingURL=chunk-W46K56XU.js.map
199
+ //# sourceMappingURL=chunk-A5WQLN4B.js.map
200
+ //# sourceMappingURL=chunk-A5WQLN4B.js.map
@@ -0,0 +1,23 @@
1
+ // src/lib/tooltip-surface.ts
2
+ var TOOLTIP_SWATCH = "block size-1.5 shrink-0 rounded-full bg-current";
3
+ var TOOLTIP_BOX = "rounded-lg shadow-lg";
4
+ var TOOLTIP_TONE = {
5
+ surface: {
6
+ surface: `${TOOLTIP_BOX} bg-primary_alt ring-1 ring-inset ring-secondary_alt`,
7
+ title: "text-xs font-semibold text-primary",
8
+ supporting: "text-xs font-medium text-tertiary",
9
+ arrowFill: "var(--color-bg-primary_alt)",
10
+ arrowStroke: "var(--color-border-secondary_alt)"
11
+ },
12
+ inverse: {
13
+ surface: `${TOOLTIP_BOX} bg-primary-solid`,
14
+ title: "text-xs font-semibold text-fg-white",
15
+ supporting: "text-xs font-medium text-tooltip-supporting-text",
16
+ arrowFill: "var(--color-bg-primary-solid)",
17
+ arrowStroke: null
18
+ }
19
+ };
20
+
21
+ export { TOOLTIP_SWATCH, TOOLTIP_TONE };
22
+ //# sourceMappingURL=chunk-AC6ZWKRN.js.map
23
+ //# sourceMappingURL=chunk-AC6ZWKRN.js.map
@@ -1,4 +1,4 @@
1
- import { useControllableOpen, DialogSurface } from './chunk-CYPPEUX5.js';
1
+ import { useControllableOpen, DialogSurface } from './chunk-VEOYCAJP.js';
2
2
  import { EXPLICIT_CLOSE } from './chunk-S7NNXWIN.js';
3
3
  import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
4
4
  import * as React from 'react';
@@ -12,7 +12,7 @@ function Dialog(props) {
12
12
  onOpenChange,
13
13
  size = "md",
14
14
  showClose = true,
15
- dividers = true,
15
+ dividers = "line",
16
16
  keepMounted = false,
17
17
  dismissible = true,
18
18
  title,
@@ -66,5 +66,5 @@ function Dialog(props) {
66
66
  Dialog.displayName = "Dialog";
67
67
 
68
68
  export { Dialog };
69
- //# sourceMappingURL=chunk-E7ZSWBAK.js.map
70
- //# sourceMappingURL=chunk-E7ZSWBAK.js.map
69
+ //# sourceMappingURL=chunk-BD5YKFRA.js.map
70
+ //# sourceMappingURL=chunk-BD5YKFRA.js.map
@@ -0,0 +1,49 @@
1
+ import { ArrowDown, ArrowRight, Asterisk, Bell, Calendar, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, ChevronsLeft, ChevronsRight, ChevronsUpDown, CircleAlert, CircleCheck, CircleHelp, Circle, CircleX, Columns3, Ellipsis, EllipsisVertical, Eye, EyeOff, File, GripVertical, Inbox, Info, LoaderCircle, Menu, Minus, Moon, PanelLeft, Plus, RotateCw, Search, Slash, Sun, Trash2, TriangleAlert, UploadCloud, User, X } from 'lucide-react';
2
+
3
+ // src/components/icons/core/index.ts
4
+ var ArrowDownIcon = ArrowDown;
5
+ var ArrowRightIcon = ArrowRight;
6
+ var AsteriskIcon = Asterisk;
7
+ var BellIcon = Bell;
8
+ var CalendarIcon = Calendar;
9
+ var CheckIcon = Check;
10
+ var ChevronDownIcon = ChevronDown;
11
+ var ChevronLeftIcon = ChevronLeft;
12
+ var ChevronRightIcon = ChevronRight;
13
+ var ChevronsLeftIcon = ChevronsLeft;
14
+ var ChevronsRightIcon = ChevronsRight;
15
+ var ChevronsUpDownIcon = ChevronsUpDown;
16
+ var ChevronUpIcon = ChevronUp;
17
+ var CircleIcon = Circle;
18
+ var CircleAlertIcon = CircleAlert;
19
+ var CircleCheckIcon = CircleCheck;
20
+ var CircleHelpIcon = CircleHelp;
21
+ var CircleXIcon = CircleX;
22
+ var Columns3Icon = Columns3;
23
+ var EllipsisIcon = Ellipsis;
24
+ var EllipsisVerticalIcon = EllipsisVertical;
25
+ var EyeIcon = Eye;
26
+ var EyeOffIcon = EyeOff;
27
+ var FileIcon = File;
28
+ var GripVerticalIcon = GripVertical;
29
+ var InboxIcon = Inbox;
30
+ var InfoIcon = Info;
31
+ var LoaderCircleIcon = LoaderCircle;
32
+ var MenuIcon = Menu;
33
+ var MinusIcon = Minus;
34
+ var MoonIcon = Moon;
35
+ var PanelLeftIcon = PanelLeft;
36
+ var PlusIcon = Plus;
37
+ var RotateCwIcon = RotateCw;
38
+ var SearchIcon = Search;
39
+ var SlashIcon = Slash;
40
+ var SunIcon = Sun;
41
+ var Trash2Icon = Trash2;
42
+ var TriangleAlertIcon = TriangleAlert;
43
+ var UploadCloudIcon = UploadCloud;
44
+ var UserIcon = User;
45
+ var XIcon = X;
46
+
47
+ export { ArrowDownIcon, ArrowRightIcon, AsteriskIcon, BellIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckIcon, CircleHelpIcon, CircleIcon, CircleXIcon, Columns3Icon, EllipsisIcon, EllipsisVerticalIcon, EyeIcon, EyeOffIcon, FileIcon, GripVerticalIcon, InboxIcon, InfoIcon, LoaderCircleIcon, MenuIcon, MinusIcon, MoonIcon, PanelLeftIcon, PlusIcon, RotateCwIcon, SearchIcon, SlashIcon, SunIcon, Trash2Icon, TriangleAlertIcon, UploadCloudIcon, UserIcon, XIcon };
48
+ //# sourceMappingURL=chunk-BLIZ3CL3.js.map
49
+ //# sourceMappingURL=chunk-BLIZ3CL3.js.map
@@ -1,4 +1,4 @@
1
- import { PanelChrome } from './chunk-J7ZQQFPT.js';
1
+ import { PanelChrome } from './chunk-FZBZGA3P.js';
2
2
  import { SURFACE_BASE, SURFACE_VARIANT, SURFACE_EDGE_OVERLAY, SURFACE_PADDING } from './chunk-MFJP5FA7.js';
3
3
  import { cn } from './chunk-ZSNJ6UA3.js';
4
4
  import 'react';
@@ -7,7 +7,7 @@ import { jsx } from 'react/jsx-runtime';
7
7
  function Card({
8
8
  variant = "elevated",
9
9
  padding = "md",
10
- dividers = false,
10
+ dividers = "none",
11
11
  title,
12
12
  description,
13
13
  leading,
@@ -42,5 +42,5 @@ function Card({
42
42
  Card.displayName = "Card";
43
43
 
44
44
  export { Card };
45
- //# sourceMappingURL=chunk-DRZCJCBO.js.map
46
- //# sourceMappingURL=chunk-DRZCJCBO.js.map
45
+ //# sourceMappingURL=chunk-BNIWT6CW.js.map
46
+ //# sourceMappingURL=chunk-BNIWT6CW.js.map
@@ -1,5 +1,6 @@
1
- import { TooltipExport } from './chunk-ZZA2LUTL.js';
2
- import { warnNeedsName } from './chunk-GCVA3OIV.js';
1
+ import { GLYPH } from './chunk-6IUTVDNI.js';
2
+ import { TooltipExport } from './chunk-4R7WDDCW.js';
3
+ import { warnNeedsName } from './chunk-QDYE5LVT.js';
3
4
  import { cn } from './chunk-ZSNJ6UA3.js';
4
5
  import { mergeProps } from '@base-ui/react/merge-props';
5
6
  import { useRender } from '@base-ui/react/use-render';
@@ -8,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
8
9
 
9
10
  var BASE = "group relative inline-flex h-max cursor-pointer items-center justify-center rounded-md p-1.5 outline-focus-ring transition duration-100 ease-linear focus-visible:outline-2 focus-visible:outline-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:transition-colors [&_svg]:duration-100 [&_svg]:ease-linear";
10
11
  var VARIANT = {
11
- secondary: "bg-primary text-fg-quaternary shadow-skeuomorphic ring-1 ring-inset ring-primary hover:bg-secondary hover:text-fg-quaternary_hover disabled:shadow-xs",
12
+ secondary: "bg-primary shadow-skeuomorphic ring-1 ring-inset ring-primary hover:bg-secondary disabled:shadow-xs",
12
13
  // A TRANSLUCENT wash, not a ramp stop — the one role in the token layer that has to be, because
13
14
  // a ghost rests with no fill and its hover must read as one step above whatever it sits ON.
14
15
  // Chasing that with fixed stops does not converge: `bg-subtle` (gray-50) matched the hover fill
@@ -18,14 +19,26 @@ var VARIANT = {
18
19
  // again. `bg-ghost-hover` composites instead of replacing, so it steps relative to all of them,
19
20
  // and on a selected row it deepens the brand wash instead of painting gray over it. Over a
20
21
  // resting surface it lands on gray-100, i.e. exactly where this used to be.
21
- tertiary: "text-fg-quaternary hover:bg-ghost-hover hover:text-fg-quaternary_hover"
22
+ tertiary: "hover:bg-ghost-hover"
22
23
  };
23
24
  var SIZE = {
24
25
  xs: "[&_svg]:size-4",
25
26
  sm: "[&_svg]:size-5"
26
27
  };
27
28
  function ButtonUtility(props) {
28
- const { render, variant = "secondary", size = "sm", icon, tooltip, tooltipSide = "top", disabled = false, type = "button", className, ...rest } = props;
29
+ const {
30
+ render,
31
+ variant = "secondary",
32
+ color = "neutral",
33
+ size = "sm",
34
+ icon,
35
+ tooltip,
36
+ tooltipSide = "top",
37
+ disabled = false,
38
+ type = "button",
39
+ className,
40
+ ...rest
41
+ } = props;
29
42
  warnNeedsName("ButtonUtility", Boolean(tooltip) || "aria-label" in rest || "aria-labelledby" in rest, "a `tooltip`, `aria-label`, or `aria-labelledby`");
30
43
  const element = useRender({
31
44
  defaultTagName: "button",
@@ -33,7 +46,7 @@ function ButtonUtility(props) {
33
46
  props: mergeProps(
34
47
  {
35
48
  type,
36
- className: cn(BASE, VARIANT[variant], SIZE[size], className),
49
+ className: cn(BASE, VARIANT[variant], GLYPH[color], SIZE[size], className),
37
50
  children: icon,
38
51
  disabled,
39
52
  "aria-label": tooltip
@@ -46,5 +59,5 @@ function ButtonUtility(props) {
46
59
  }
47
60
 
48
61
  export { ButtonUtility };
49
- //# sourceMappingURL=chunk-JVJRHBTD.js.map
50
- //# sourceMappingURL=chunk-JVJRHBTD.js.map
62
+ //# sourceMappingURL=chunk-C6OTOTKI.js.map
63
+ //# sourceMappingURL=chunk-C6OTOTKI.js.map
@@ -0,0 +1,60 @@
1
+ import { usePolarData } from './chunk-LBYCCLVI.js';
2
+ import { PIE_SIZE, PIE_DONUT, ChartDataTable, formatNumber, ChartFrame, PieChart, MARGIN, Tooltip, NO_ANIMATION, ChartTooltipContent, Pie, POLAR_ROOT, POLAR_HOVER, ChartLegendContent } from './chunk-75M43ELV.js';
3
+ import { cn } from './chunk-ZSNJ6UA3.js';
4
+ import { jsx, jsxs } from 'react/jsx-runtime';
5
+
6
+ function PieChart2({
7
+ data,
8
+ donut = "regular",
9
+ size = "md",
10
+ palette = "brand",
11
+ legend = "bottom",
12
+ formatValue = formatNumber,
13
+ tooltip = true,
14
+ tooltipTone = "surface",
15
+ emptyMessage = "No data to display",
16
+ className,
17
+ "aria-label": ariaLabel
18
+ }) {
19
+ const { rows, legendItems, colorMap, labelMap } = usePolarData("PieChart", data, palette);
20
+ const geometry = PIE_SIZE[size];
21
+ const innerRadius = donut === false ? 0 : Math.round(geometry.outer * PIE_DONUT[donut]);
22
+ const table = /* @__PURE__ */ jsx(ChartDataTable, { caption: ariaLabel, rowHeader: "Category", columns: ["Value"], rows: rows.map((row) => [row.name, formatValue(row.value)]) });
23
+ return /* @__PURE__ */ jsx(
24
+ ChartFrame,
25
+ {
26
+ component: "PieChart",
27
+ ariaLabel,
28
+ height: geometry.height,
29
+ isEmpty: data.length === 0,
30
+ emptyMessage,
31
+ className,
32
+ table,
33
+ legendPlacement: legend === "none" ? void 0 : legend,
34
+ legend: legend === "none" ? void 0 : /* @__PURE__ */ jsx(ChartLegendContent, { items: legendItems, placement: legend }),
35
+ children: () => /* @__PURE__ */ jsxs(PieChart, { className: cn(POLAR_ROOT, POLAR_HOVER), margin: MARGIN.polar, children: [
36
+ tooltip ? /* @__PURE__ */ jsx(Tooltip, { ...NO_ANIMATION, content: /* @__PURE__ */ jsx(ChartTooltipContent, { colors: colorMap, labels: labelMap, formatValue, tone: tooltipTone }) }) : null,
37
+ /* @__PURE__ */ jsx(
38
+ Pie,
39
+ {
40
+ ...NO_ANIMATION,
41
+ rootTabIndex: -1,
42
+ data: rows,
43
+ dataKey: "value",
44
+ nameKey: "name",
45
+ startAngle: -270,
46
+ endAngle: -630,
47
+ stroke: "none",
48
+ fill: "currentColor",
49
+ innerRadius,
50
+ outerRadius: geometry.outer
51
+ }
52
+ )
53
+ ] })
54
+ }
55
+ );
56
+ }
57
+
58
+ export { PieChart2 as PieChart };
59
+ //# sourceMappingURL=chunk-CTENRS34.js.map
60
+ //# sourceMappingURL=chunk-CTENRS34.js.map
@@ -1,10 +1,12 @@
1
- import { SKELETON_WIDTHS, SkeletonBar } from './chunk-FXIBGTS5.js';
2
- import { DropdownMenu } from './chunk-JP26LPCY.js';
3
- import { ButtonUtility } from './chunk-JVJRHBTD.js';
1
+ import { DropdownMenu } from './chunk-MYQ3FD4Y.js';
2
+ import { SKELETON_WIDTHS, Skeleton } from './chunk-7HV6EIGZ.js';
3
+ import { Separator } from './chunk-7VLYQR4D.js';
4
+ import { ButtonUtility } from './chunk-C6OTOTKI.js';
5
+ import { ScrollView } from './chunk-FKVPAEJ6.js';
4
6
  import { Slot } from './chunk-52IFGFTL.js';
5
- import { PanelLeftIcon, ChevronRightIcon, ChevronDownIcon } from './chunk-24TO7E32.js';
6
- import { TooltipExport } from './chunk-ZZA2LUTL.js';
7
- import { devWarn } from './chunk-GCVA3OIV.js';
7
+ import { TooltipExport } from './chunk-4R7WDDCW.js';
8
+ import { PanelLeftIcon, ChevronRightIcon, ChevronDownIcon } from './chunk-BLIZ3CL3.js';
9
+ import { devWarn } from './chunk-QDYE5LVT.js';
8
10
  import { cn } from './chunk-ZSNJ6UA3.js';
9
11
  import * as React from 'react';
10
12
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -178,10 +180,6 @@ var NEST = {
178
180
  };
179
181
  var GUIDE_DOT = "absolute top-1/2 left-4 size-1 -translate-y-1/2 rounded-full bg-current";
180
182
  var GUIDE_DOT_ROW = "-ml-7 pl-9";
181
- var SEPARATOR_VARIANT = {
182
- line: "h-px bg-border-secondary",
183
- dot: "h-0.5 bg-[image:radial-gradient(circle,var(--color-border-secondary)_1px,transparent_1px)] bg-[length:5px_2px] bg-repeat-x"
184
- };
185
183
  var ACTION_BUTTON = "absolute top-1/2 right-1 z-10 grid size-6 -translate-y-1/2 cursor-pointer place-items-center rounded-md outline-focus-ring transition-[opacity,color,background-color] duration-100 ease-linear hover:bg-ghost-hover hover:text-secondary focus-visible:outline-2 focus-visible:outline-offset-1";
186
184
  var ACTION_REVEAL = {
187
185
  hover: "opacity-0 group-hover/row:opacity-100 focus-visible:opacity-100 aria-expanded:opacity-100",
@@ -360,14 +358,47 @@ function RailNode({ link, ctx }) {
360
358
  function RailRows({ links, ctx }) {
361
359
  return /* @__PURE__ */ jsx("ul", { className: "flex flex-col items-center gap-0.5", children: links.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(RailNode, { link, ctx }) }, link.label)) });
362
360
  }
363
- function Skeleton({ collapsed }) {
364
- return /* @__PURE__ */ jsx("div", { "aria-hidden": "true", className: cn("flex flex-col py-2", collapsed ? "items-center gap-2" : "gap-2 px-2"), children: SKELETON_WIDTHS.map((width) => /* @__PURE__ */ jsx(SkeletonBar, { className: cn("h-6", collapsed ? "w-6" : width) }, width)) });
361
+ function NavSkeleton({ collapsed }) {
362
+ return /* @__PURE__ */ jsx("div", { "aria-hidden": "true", className: cn("flex flex-col py-2", collapsed ? "items-center gap-2" : "gap-2 px-2"), children: SKELETON_WIDTHS.map((width) => /* @__PURE__ */ jsx(Skeleton, { className: cn("h-6", collapsed ? "w-6" : width) }, width)) });
363
+ }
364
+ var BRAND_ROW = "flex items-center gap-2 rounded-lg outline-focus-ring focus-visible:outline-2 focus-visible:outline-offset-2";
365
+ function Brand({ brand, collapsed }) {
366
+ const { logo, name, href, onClick } = brand;
367
+ const interactive = href != null || onClick != null;
368
+ const content = /* @__PURE__ */ jsxs(Fragment, { children: [
369
+ /* @__PURE__ */ jsx(Slot, { className: "[&>svg]:size-8", children: logo }),
370
+ !collapsed && name != null ? /* @__PURE__ */ jsx("span", { className: "truncate text-md font-semibold text-primary", children: name }) : null
371
+ ] });
372
+ if (!interactive) {
373
+ return /* @__PURE__ */ jsx("div", { className: cn(BRAND_ROW, collapsed && "justify-center"), children: content });
374
+ }
375
+ const shared = {
376
+ onClick,
377
+ "aria-label": collapsed ? name : void 0,
378
+ className: cn(BRAND_ROW, "cursor-pointer", collapsed && "justify-center")
379
+ };
380
+ return href != null ? /* @__PURE__ */ jsx("a", { href, ...shared, children: content }) : /* @__PURE__ */ jsx("button", { type: "button", ...shared, children: content });
365
381
  }
366
382
  function SidebarNavigation(props) {
367
- const { items, activeHref, onNavigate, accent = "brand", guide = "line", header, footerItems, footer, toggle = false, loading = false, className } = props;
383
+ const {
384
+ items,
385
+ activeHref,
386
+ onNavigate,
387
+ accent = "brand",
388
+ guide = "line",
389
+ brand,
390
+ header,
391
+ footerItems,
392
+ footer,
393
+ toggle = false,
394
+ loading = false,
395
+ className
396
+ } = props;
368
397
  const ariaLabel = props["aria-label"] ?? "Main";
369
398
  const sidebar = useSidebarContext();
370
399
  const collapsed = props.collapsed ?? sidebar?.collapsed ?? false;
400
+ const pad = collapsed ? "px-3" : "px-4";
401
+ const slot = (value) => typeof value === "function" ? value({ collapsed }) : value;
371
402
  if (toggle && !sidebar) devWarn("<SidebarNavigation toggle> renders nothing outside a <SidebarProvider> \u2014 there is no state for it to flip.");
372
403
  const { current, trail } = React.useMemo(
373
404
  () => resolveActive(footerItems && footerItems.length > 0 ? [...items, ...footerItems] : items, activeHref),
@@ -375,7 +406,12 @@ function SidebarNavigation(props) {
375
406
  );
376
407
  const ctx = React.useMemo(() => ({ current, trail, accent, guide, onNavigate }), [current, trail, accent, guide, onNavigate]);
377
408
  const renderGroup = (group, key) => /* @__PURE__ */ jsxs("li", { children: [
378
- collapsed ? /* @__PURE__ */ jsx("hr", { className: "mx-auto my-2 h-px w-6 border-none bg-border-secondary" }) : /* @__PURE__ */ jsx("div", { className: "px-2 pb-1", children: /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold text-fg-quaternary uppercase", children: group.group }) }),
409
+ collapsed ? (
410
+ // `render={<hr />}` because a thematic break in a document flow IS an `<hr>` — and a `<div>`
411
+ // would be the wrong element for it. `w-6` beats the component's `w-full` through
412
+ // tailwind-merge, since `className` lands last.
413
+ /* @__PURE__ */ jsx(Separator, { render: /* @__PURE__ */ jsx("hr", {}), className: "mx-auto my-2 w-6" })
414
+ ) : /* @__PURE__ */ jsx("div", { className: "px-2 pb-1", children: /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold text-fg-quaternary uppercase", children: group.group }) }),
379
415
  collapsed ? /* @__PURE__ */ jsx(RailRows, { links: group.items, ctx }) : /* @__PURE__ */ jsx(NavRows, { links: group.items, ctx, className: "pb-5" })
380
416
  ] }, key);
381
417
  return /* @__PURE__ */ jsxs(
@@ -398,18 +434,30 @@ function SidebarNavigation(props) {
398
434
  // moment (a rail row is a tooltip'd icon, not a squeezed row), so the width
399
435
  // carries the motion and the content lands where it settles.
400
436
  "transition-[width] duration-200 ease-out",
401
- collapsed ? "w-16 items-center px-3" : "w-70 px-4",
437
+ // The seam against the page. Its sibling `HeaderNavigation` has always drawn one
438
+ // (`DIVIDER`, there); this column drew none, so on a white page the nav and the content
439
+ // were one undivided sheet. A `border-<side>` rather than a ring because this is ONE
440
+ // structural edge between regions, not a box perimeter (`Drawer`'s `SIDE_EDGE` is the same
441
+ // call). To drop it — a nav nested in a `<Drawer>`, which draws its own — pass
442
+ // `className="border-r-0"`: tailwind-merge resolves both in the `border-w-r` group.
443
+ "border-r border-secondary",
444
+ collapsed ? "w-16 items-center" : "w-70",
402
445
  className
403
446
  ),
404
447
  children: [
405
- header != null ? /* @__PURE__ */ jsx("div", { className: cn("shrink-0 pt-5 pb-2", collapsed && "flex w-full justify-center overflow-hidden"), children: header }) : null,
406
- loading ? /* @__PURE__ */ jsx("div", { className: "min-h-0 flex-1", children: /* @__PURE__ */ jsx(Skeleton, { collapsed }) }) : /* @__PURE__ */ jsx("ul", { className: cn("flex min-h-0 flex-1 flex-col overflow-y-auto py-2", collapsed && "w-full items-center gap-0.5"), children: items.map((item, index) => {
407
- if (isNavSeparator(item)) {
408
- return /* @__PURE__ */ jsx("li", { className: cn("w-full", collapsed ? "py-2" : "px-0.5 py-2"), children: /* @__PURE__ */ jsx("hr", { className: cn("border-none", SEPARATOR_VARIANT[item.variant ?? "line"], collapsed ? "mx-auto w-6" : "w-full") }) }, `separator-${index}`);
409
- }
410
- if (isNavGroup(item)) return renderGroup(item, `group-${index}`);
411
- return /* @__PURE__ */ jsx("li", { className: collapsed ? void 0 : "py-px", children: collapsed ? /* @__PURE__ */ jsx(RailNode, { link: item, ctx }) : /* @__PURE__ */ jsx(NavRows, { links: [item], ctx }) }, item.label);
412
- }) }),
448
+ brand != null ? /* @__PURE__ */ jsx("div", { className: cn("shrink-0 overflow-hidden pt-5", header != null ? "pb-4" : "pb-2", pad, collapsed && "flex w-full justify-center"), children: /* @__PURE__ */ jsx(Brand, { brand, collapsed }) }) : null,
449
+ header != null ? /* @__PURE__ */ jsx("div", { className: cn("shrink-0 pb-2", brand == null && "pt-5", pad, collapsed && "flex w-full justify-center overflow-hidden"), children: slot(header) }) : null,
450
+ loading ? /* @__PURE__ */ jsx("div", { className: cn("min-h-0 flex-1", pad), children: /* @__PURE__ */ jsx(NavSkeleton, { collapsed }) }) : (
451
+ // The gutter is the VIEWPORT's, not this box's — that is what puts the bar on the panel's
452
+ // edge instead of 16px inside it.
453
+ /* @__PURE__ */ jsx(ScrollView, { className: "min-h-0 flex-1", viewportClassName: cn("py-2", pad), children: /* @__PURE__ */ jsx("ul", { className: cn("flex flex-col", collapsed && "w-full items-center gap-0.5"), children: items.map((item, index) => {
454
+ if (isNavSeparator(item)) {
455
+ return /* @__PURE__ */ jsx("li", { className: cn("w-full", collapsed ? "py-2" : "px-0.5 py-2"), children: /* @__PURE__ */ jsx(Separator, { render: /* @__PURE__ */ jsx("hr", {}), texture: item.texture ?? "line", className: collapsed ? "mx-auto w-6" : "w-full" }) }, `separator-${index}`);
456
+ }
457
+ if (isNavGroup(item)) return renderGroup(item, `group-${index}`);
458
+ return /* @__PURE__ */ jsx("li", { className: collapsed ? void 0 : "py-px", children: collapsed ? /* @__PURE__ */ jsx(RailNode, { link: item, ctx }) : /* @__PURE__ */ jsx(NavRows, { links: [item], ctx }) }, item.label);
459
+ }) }) })
460
+ ),
413
461
  footerItems != null && footerItems.length > 0 && !loading ? (
414
462
  // `max-h-[40%]` + its own scroll, because the two lists resolve their heights
415
463
  // BACKWARDS otherwise. `footerItems` is a bounded cluster (Support, Settings) and
@@ -421,9 +469,9 @@ function SidebarNavigation(props) {
421
469
  // The cap makes it degrade the honest way round: the cluster keeps at most a
422
470
  // minority share and scrolls inside it, and the menu — the reason the column
423
471
  // exists — always keeps the rest. `min-h-0` so the cap can actually bite.
424
- /* @__PURE__ */ jsx("div", { className: cn("max-h-[40%] min-h-0 shrink-0 overflow-y-auto pt-2", collapsed && "flex w-full justify-center"), children: collapsed ? /* @__PURE__ */ jsx(RailRows, { links: footerItems, ctx }) : /* @__PURE__ */ jsx(NavRows, { links: footerItems, ctx }) })
472
+ /* @__PURE__ */ jsx(ScrollView, { className: "max-h-[40%] min-h-0 shrink-0", viewportClassName: cn("pt-2", pad, collapsed && "flex w-full justify-center"), children: collapsed ? /* @__PURE__ */ jsx(RailRows, { links: footerItems, ctx }) : /* @__PURE__ */ jsx(NavRows, { links: footerItems, ctx }) })
425
473
  ) : null,
426
- footer != null ? /* @__PURE__ */ jsx("div", { className: cn("mt-auto shrink-0 py-4", collapsed && "flex w-full justify-center overflow-hidden"), children: footer }) : null,
474
+ footer != null ? /* @__PURE__ */ jsx("div", { className: cn("mt-auto shrink-0 py-4", pad, collapsed && "flex w-full justify-center overflow-hidden"), children: slot(footer) }) : null,
427
475
  toggle && sidebar ? /* @__PURE__ */ jsx(
428
476
  "button",
429
477
  {
@@ -448,5 +496,5 @@ function SidebarNavigation(props) {
448
496
  SidebarNavigation.displayName = "SidebarNavigation";
449
497
 
450
498
  export { SidebarNavigation, SidebarProvider, SidebarTrigger, linkMatches, resolveActive, useSidebar };
451
- //# sourceMappingURL=chunk-7IU5TMFL.js.map
452
- //# sourceMappingURL=chunk-7IU5TMFL.js.map
499
+ //# sourceMappingURL=chunk-CWMFEF6R.js.map
500
+ //# sourceMappingURL=chunk-CWMFEF6R.js.map
@@ -1,13 +1,13 @@
1
- import { DEFAULT_WEEK_START, useControllable, DEFAULT_WEEK_START_INDEX, weekStartIndex, toWireDate } from './chunk-5RAPA22E.js';
2
- import { Popover } from './chunk-3Y5X7B5C.js';
3
- import { DateInput } from './chunk-5NOBSXJN.js';
4
- import { DEFAULT_FORMAT, parseFormat, fromISO, BE_OFFSET } from './chunk-GFOAJVW5.js';
5
- import { Button } from './chunk-W46K56XU.js';
1
+ import { DEFAULT_WEEK_START, useControllable, DEFAULT_WEEK_START_INDEX, weekStartIndex, toWireDate } from './chunk-MD4AR43X.js';
2
+ import { Popover } from './chunk-3Z3SDKIA.js';
3
+ import { DateInput } from './chunk-NMERLWT7.js';
4
+ import { DEFAULT_FORMAT, parseFormat, fromISO, BE_OFFSET } from './chunk-DJYWPJZ3.js';
5
+ import { Button } from './chunk-A5WQLN4B.js';
6
6
  import { INTRINSIC_CELL, INTRINSIC_STACK, IntrinsicWidth } from './chunk-7S2TBALK.js';
7
- import { FieldShell } from './chunk-QA74ITR4.js';
8
- import { useFieldValidity, FieldFrame, CONTROL_ICON } from './chunk-J2BCKBHC.js';
9
- import { CalendarIcon, ChevronLeftIcon, ChevronRightIcon, ChevronDownIcon } from './chunk-24TO7E32.js';
10
- import { warnPositiveInt, devWarn } from './chunk-GCVA3OIV.js';
7
+ import { FieldShell } from './chunk-JUWDRRD6.js';
8
+ import { useFieldValidity, FieldFrame, CONTROL_ICON } from './chunk-QKDEQFOQ.js';
9
+ import { CalendarIcon, ChevronLeftIcon, ChevronRightIcon, ChevronDownIcon } from './chunk-BLIZ3CL3.js';
10
+ import { warnPositiveInt, devWarn } from './chunk-QDYE5LVT.js';
11
11
  import { cn } from './chunk-ZSNJ6UA3.js';
12
12
  import { enUS } from 'date-fns/locale';
13
13
  import * as React5 from 'react';
@@ -786,7 +786,7 @@ function DatePicker(props) {
786
786
  align,
787
787
  size: "lg",
788
788
  className: "max-h-[var(--available-height)] max-w-none",
789
- dividers: commit === "confirm",
789
+ dividers: commit === "confirm" ? "line" : "none",
790
790
  "aria-label": label ?? "Choose a date",
791
791
  footer: commit === "confirm" ? () => /* @__PURE__ */ jsx(ApplyRow, { onCancel: picker.close, onApply: picker.apply }) : void 0,
792
792
  children: /* @__PURE__ */ jsxs("div", { className: BODY, children: [
@@ -969,7 +969,7 @@ function DateRangePicker(props) {
969
969
  align,
970
970
  size: "lg",
971
971
  className: "max-h-[var(--available-height)] max-w-none",
972
- dividers: commit === "confirm",
972
+ dividers: commit === "confirm" ? "line" : "none",
973
973
  "aria-label": label ?? "Choose a date range",
974
974
  footer: commit === "confirm" ? () => /* @__PURE__ */ jsx(ApplyRow, { onCancel: picker.close, onApply: picker.apply }) : void 0,
975
975
  children: /* @__PURE__ */ jsxs("div", { className: BODY, children: [
@@ -1042,5 +1042,5 @@ function DateRangePicker(props) {
1042
1042
  DateRangePicker.displayName = "DateRangePicker";
1043
1043
 
1044
1044
  export { DATE_PRESETS, DateCalendar, DatePicker, DateRangeCalendar, DateRangePicker, resolvePreset };
1045
- //# sourceMappingURL=chunk-JTNFJLIY.js.map
1046
- //# sourceMappingURL=chunk-JTNFJLIY.js.map
1045
+ //# sourceMappingURL=chunk-DCGTB7P7.js.map
1046
+ //# sourceMappingURL=chunk-DCGTB7P7.js.map
@@ -1,4 +1,4 @@
1
- import { devWarn } from './chunk-GCVA3OIV.js';
1
+ import { devWarn } from './chunk-QDYE5LVT.js';
2
2
 
3
3
  // src/components/date-input/date-utils.ts
4
4
  var BE_OFFSET = 543;
@@ -332,5 +332,5 @@ function segValueText(seg, p, cfg) {
332
332
  }
333
333
 
334
334
  export { BE_OFFSET, DEFAULT_FORMAT, SEG_LABEL, applyPastedDate, clamp, dispBounds, displaySeg, fromISO, getDisp, pad, parseFormat, parsePastedDate, segValueText, setDisp, toISO, wrap };
335
- //# sourceMappingURL=chunk-GFOAJVW5.js.map
336
- //# sourceMappingURL=chunk-GFOAJVW5.js.map
335
+ //# sourceMappingURL=chunk-DJYWPJZ3.js.map
336
+ //# sourceMappingURL=chunk-DJYWPJZ3.js.map
@@ -1,16 +1,16 @@
1
1
  import { useDebouncedCallback } from './chunk-F6NLE6XJ.js';
2
2
  import { useControlScrollFade } from './chunk-7EUAMHMU.js';
3
- import { ListboxFooter, MultiValueCount } from './chunk-FHHAPGCR.js';
4
- import { mapOptions, isOptionGroup, buildOptionMap } from './chunk-7JBNLEJ7.js';
5
- import { useTagRow } from './chunk-W5GGOUUI.js';
3
+ import { ListboxFooter, MultiValueCount } from './chunk-ILICYNK7.js';
4
+ import { useTagRow } from './chunk-6HJA7NPL.js';
6
5
  import { tagSlotClass, tagContentClass, tagCloseClass, tagRootClass } from './chunk-4P2NBLBW.js';
7
- import { FieldShell } from './chunk-QA74ITR4.js';
6
+ import { ScrollView } from './chunk-FKVPAEJ6.js';
7
+ import { mapOptions, isOptionGroup, buildOptionMap } from './chunk-7JBNLEJ7.js';
8
+ import { FieldShell } from './chunk-JUWDRRD6.js';
8
9
  import { Slot } from './chunk-52IFGFTL.js';
9
- import { useScrollFade } from './chunk-O2LG3PNI.js';
10
- import { useFieldValidity, FieldFrame, LISTBOX_PX_SM, CONTROL_ICON, SLOT_ICON } from './chunk-J2BCKBHC.js';
11
- import { PlusIcon, XIcon, ChevronDownIcon, LoaderCircleIcon, CheckIcon } from './chunk-24TO7E32.js';
10
+ import { useFieldValidity, FieldFrame, LISTBOX_PX_SM, CONTROL_ICON, SLOT_ICON } from './chunk-QKDEQFOQ.js';
12
11
  import { POPUP_MOTION } from './chunk-O4GRKO3I.js';
13
- import { warnNonNegativeInt } from './chunk-GCVA3OIV.js';
12
+ import { PlusIcon, XIcon, ChevronDownIcon, LoaderCircleIcon, CheckIcon } from './chunk-BLIZ3CL3.js';
13
+ import { warnNonNegativeInt } from './chunk-QDYE5LVT.js';
14
14
  import { cn } from './chunk-ZSNJ6UA3.js';
15
15
  import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
16
16
  import * as React from 'react';
@@ -283,7 +283,6 @@ function ComboboxClear({ className }) {
283
283
  return /* @__PURE__ */ jsx(Combobox$1.Clear, { "aria-label": "Clear", className: cn(TRAILING_BTN, CONTROL_ICON[size], className), children: /* @__PURE__ */ jsx(XIcon, {}) });
284
284
  }
285
285
  var POPUP = cn("w-full rounded-lg bg-primary p-1 text-primary shadow-lg ring-1 ring-secondary_alt outline-none ring-inset", POPUP_MOTION);
286
- var LIST_BASE = "overflow-y-auto overscroll-contain outline-none";
287
286
  var LIST_MAX_H = {
288
287
  sm: "max-h-[min(var(--available-height),14rem)]",
289
288
  md: "max-h-[min(var(--available-height),16rem)]",
@@ -291,8 +290,6 @@ var LIST_MAX_H = {
291
290
  };
292
291
  function ComboboxContent({ children, footer, className }) {
293
292
  const { size, anchorRef } = useComboboxContext();
294
- const listRef = React.useRef(null);
295
- const { maskImage } = useScrollFade(listRef, { axis: "vertical" });
296
293
  return /* @__PURE__ */ jsx(Combobox$1.Portal, { children: /* @__PURE__ */ jsx(
297
294
  Combobox$1.Positioner,
298
295
  {
@@ -302,15 +299,7 @@ function ComboboxContent({ children, footer, className }) {
302
299
  sideOffset: 4,
303
300
  className: "z-50 w-fit max-w-[var(--available-width)] min-w-[var(--anchor-width)] outline-none",
304
301
  children: /* @__PURE__ */ jsxs(Combobox$1.Popup, { className: cn(POPUP, className), children: [
305
- /* @__PURE__ */ jsx(
306
- Combobox$1.List,
307
- {
308
- ref: listRef,
309
- className: cn(LIST_BASE, LIST_MAX_H[size]),
310
- style: maskImage ? { maskImage, WebkitMaskImage: maskImage } : void 0,
311
- children
312
- }
313
- ),
302
+ /* @__PURE__ */ jsx(ScrollView, { composite: true, viewportClassName: LIST_MAX_H[size], children: /* @__PURE__ */ jsx(Combobox$1.List, { className: "outline-none", children }) }),
314
303
  footer
315
304
  ] })
316
305
  }
@@ -562,5 +551,5 @@ ComboboxLoading.displayName = "ComboboxLoading";
562
551
  var Combobox = ComboboxFlat;
563
552
 
564
553
  export { Combobox };
565
- //# sourceMappingURL=chunk-MUFHLP4S.js.map
566
- //# sourceMappingURL=chunk-MUFHLP4S.js.map
554
+ //# sourceMappingURL=chunk-DTMYD63D.js.map
555
+ //# sourceMappingURL=chunk-DTMYD63D.js.map
@@ -1,7 +1,7 @@
1
1
  import { useControlScrollFade } from './chunk-7EUAMHMU.js';
2
2
  import { useIsomorphicLayoutEffect } from './chunk-EDSK6FEH.js';
3
- import { CONTROL_TEXT, CONTROL_RADIUS, useFieldValidity, FieldFrame } from './chunk-J2BCKBHC.js';
4
- import { warnNeedsName, warnPositiveInt, devWarn } from './chunk-GCVA3OIV.js';
3
+ import { CONTROL_TEXT, CONTROL_RADIUS, useFieldValidity, FieldFrame } from './chunk-QKDEQFOQ.js';
4
+ import { warnNeedsName, warnPositiveInt, devWarn } from './chunk-QDYE5LVT.js';
5
5
  import { cn } from './chunk-ZSNJ6UA3.js';
6
6
  import { Field } from '@base-ui/react/field';
7
7
  import * as React from 'react';
@@ -169,5 +169,5 @@ function Textarea(props) {
169
169
  }
170
170
 
171
171
  export { Textarea };
172
- //# sourceMappingURL=chunk-KDLPXXD2.js.map
173
- //# sourceMappingURL=chunk-KDLPXXD2.js.map
172
+ //# sourceMappingURL=chunk-EDOUI2BG.js.map
173
+ //# sourceMappingURL=chunk-EDOUI2BG.js.map
@@ -1,8 +1,8 @@
1
1
  import { tagSlotClass, tagLabelClass, tagContentClass, tagCloseClass, tagRootClass, TAG_SELECTED, tagCheckboxGlyphClass, tagCheckboxBoxClass } from './chunk-4P2NBLBW.js';
2
2
  import { overflowBounded } from './chunk-DWKILXHE.js';
3
3
  import { Slot } from './chunk-52IFGFTL.js';
4
- import { XIcon, CheckIcon } from './chunk-24TO7E32.js';
5
- import { warnNeedsName } from './chunk-GCVA3OIV.js';
4
+ import { XIcon, CheckIcon } from './chunk-BLIZ3CL3.js';
5
+ import { warnNeedsName } from './chunk-QDYE5LVT.js';
6
6
  import { cn } from './chunk-ZSNJ6UA3.js';
7
7
  import { Toggle } from '@base-ui/react/toggle';
8
8
  import { ToggleGroup } from '@base-ui/react/toggle-group';
@@ -166,5 +166,5 @@ TagGroupItem.displayName = "TagGroupItem";
166
166
  var TagGroup = TagGroupRoot;
167
167
 
168
168
  export { Tag, TagGroup };
169
- //# sourceMappingURL=chunk-R6RGJF4L.js.map
170
- //# sourceMappingURL=chunk-R6RGJF4L.js.map
169
+ //# sourceMappingURL=chunk-EDT5J5WK.js.map
170
+ //# sourceMappingURL=chunk-EDT5J5WK.js.map