jenosize-ui 0.2.0 → 0.2.2

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 (184) hide show
  1. package/README.md +2 -2
  2. package/dist/{PaymentInput-CKPIPNWH.d.ts → PaymentInput-Dn5WVQVy.d.ts} +4 -0
  3. package/dist/{Select-CVbEQ2Ep.d.ts → Select-Dt5ARIH8.d.ts} +4 -0
  4. package/dist/{TagInput-CTJYOB4J.d.ts → TagInput-BaBeve6L.d.ts} +4 -0
  5. package/dist/area-chart.d.ts +3 -2
  6. package/dist/area-chart.js +6 -5
  7. package/dist/avatar.d.ts +5 -0
  8. package/dist/avatar.js +10 -9
  9. package/dist/badge.d.ts +4 -0
  10. package/dist/badge.js +5 -4
  11. package/dist/bar-chart.d.ts +3 -2
  12. package/dist/bar-chart.js +6 -5
  13. package/dist/breadcrumb.d.ts +4 -0
  14. package/dist/breadcrumb.js +4 -2
  15. package/dist/button.d.ts +6 -1
  16. package/dist/button.js +9 -8
  17. package/dist/calendar.d.ts +5 -0
  18. package/dist/calendar.js +16 -14
  19. package/dist/callout.d.ts +6 -6
  20. package/dist/callout.js +11 -9
  21. package/dist/card-D56VxyAe.d.ts +123 -0
  22. package/dist/card.d.ts +3 -51
  23. package/dist/card.js +5 -5
  24. package/dist/checkbox.js +8 -7
  25. package/dist/{chunk-75M43ELV.js → chunk-22M75A3N.js} +75 -45
  26. package/dist/{chunk-X2X7Q7NW.js → chunk-2R3QWWOT.js} +3 -3
  27. package/dist/{chunk-A46ED5JQ.js → chunk-33TOK7ES.js} +7 -5
  28. package/dist/{chunk-BNIWT6CW.js → chunk-3HOHLQVP.js} +7 -6
  29. package/dist/{chunk-DJYWPJZ3.js → chunk-3QXLIZIX.js} +3 -12
  30. package/dist/chunk-3ZEEGXYF.js +8 -0
  31. package/dist/chunk-45Y2ZGNK.js +34 -0
  32. package/dist/{chunk-ILICYNK7.js → chunk-4RBIWI2Q.js} +3 -3
  33. package/dist/{chunk-EX374YWB.js → chunk-54SIZR63.js} +15 -7
  34. package/dist/chunk-5AZKP4KZ.js +49 -0
  35. package/dist/{chunk-NA35YZRD.js → chunk-5DP7W5HX.js} +13 -11
  36. package/dist/{chunk-QKDEQFOQ.js → chunk-5KSD4WKN.js} +13 -4
  37. package/dist/{chunk-RIXEUAPY.js → chunk-5XPMY2LF.js} +5 -5
  38. package/dist/{chunk-L53Y7KUV.js → chunk-5YWH2ANQ.js} +62 -29
  39. package/dist/{chunk-6UBYHSBX.js → chunk-5ZEUTSCV.js} +5 -5
  40. package/dist/{chunk-JAVNGTOE.js → chunk-6MMBQVRO.js} +58 -43
  41. package/dist/{chunk-RNXRZGXN.js → chunk-74AIU53R.js} +5 -3
  42. package/dist/{chunk-JMWYCT63.js → chunk-7GUPNTAH.js} +14 -6
  43. package/dist/{chunk-DCGTB7P7.js → chunk-7QXOGAN6.js} +111 -39
  44. package/dist/{chunk-TBN644IN.js → chunk-7ZM7SNCZ.js} +3 -3
  45. package/dist/{chunk-AC6ZWKRN.js → chunk-AFYXSZGW.js} +2 -2
  46. package/dist/chunk-AIARANKE.js +33 -0
  47. package/dist/{chunk-54S5CUY6.js → chunk-AIGYMTCU.js} +5 -4
  48. package/dist/{chunk-C6OTOTKI.js → chunk-AZ7DKRBY.js} +5 -5
  49. package/dist/{chunk-QBHQOX23.js → chunk-BBKE4W3B.js} +18 -10
  50. package/dist/{chunk-FFTRB2UU.js → chunk-CFFWYXDW.js} +18 -6
  51. package/dist/{chunk-42FCPC77.js → chunk-CGHYXWTT.js} +10 -4
  52. package/dist/{chunk-FZBZGA3P.js → chunk-CGZXQ7PA.js} +4 -4
  53. package/dist/{chunk-GAFGIT4Q.js → chunk-D6XO4JVM.js} +30 -10
  54. package/dist/{chunk-GTHJWR3Q.js → chunk-D7EE5GWU.js} +21 -22
  55. package/dist/{chunk-USL3TDZM.js → chunk-DD5KJVFV.js} +321 -105
  56. package/dist/{chunk-NMERLWT7.js → chunk-E2YZ7IMT.js} +23 -7
  57. package/dist/{chunk-5JRM3OES.js → chunk-FNQJJO63.js} +3 -3
  58. package/dist/{chunk-MD4AR43X.js → chunk-FWRHBMWT.js} +3 -3
  59. package/dist/{chunk-4K6V6NNK.js → chunk-GLKFFA7N.js} +10 -8
  60. package/dist/{chunk-EDOUI2BG.js → chunk-GQRSABRN.js} +4 -4
  61. package/dist/{chunk-PO2TYK3C.js → chunk-GWYDOZGQ.js} +3 -3
  62. package/dist/{chunk-HSVBTIP2.js → chunk-HHYEAFCL.js} +70 -27
  63. package/dist/{chunk-DTMYD63D.js → chunk-HV2W6HUR.js} +47 -27
  64. package/dist/{chunk-P7DH62UY.js → chunk-I6WMNXC7.js} +5 -5
  65. package/dist/{chunk-6HJA7NPL.js → chunk-IEAWNA3V.js} +9 -4
  66. package/dist/{chunk-34J5AANZ.js → chunk-IQNVSQRK.js} +3 -3
  67. package/dist/{chunk-MCUASLZH.js → chunk-KHGW72BM.js} +3 -3
  68. package/dist/{chunk-FIGBJGH2.js → chunk-KJ5JUS53.js} +115 -79
  69. package/dist/{chunk-4R7WDDCW.js → chunk-KZP6B6B3.js} +4 -4
  70. package/dist/{chunk-4W6AYGLR.js → chunk-LE44X5GS.js} +55 -39
  71. package/dist/{chunk-7HV6EIGZ.js → chunk-LLPWQDF7.js} +3 -3
  72. package/dist/{chunk-JXHZHUB3.js → chunk-LQURV7HQ.js} +9 -7
  73. package/dist/{chunk-EDT5J5WK.js → chunk-LYXPJERB.js} +14 -4
  74. package/dist/{chunk-6IUTVDNI.js → chunk-MCQG4H6T.js} +35 -3
  75. package/dist/{chunk-4BRMM3I5.js → chunk-MFFA5MXY.js} +7 -6
  76. package/dist/{chunk-PXEJ5RKO.js → chunk-N3RVMBPX.js} +6 -9
  77. package/dist/{chunk-VH35QHD4.js → chunk-NC63TYNW.js} +16 -8
  78. package/dist/{chunk-VWGAMOSE.js → chunk-NKG4N6HA.js} +3 -3
  79. package/dist/{chunk-A5WQLN4B.js → chunk-OACWA4TC.js} +14 -52
  80. package/dist/{chunk-LBYCCLVI.js → chunk-OLLD2BZN.js} +9 -9
  81. package/dist/{chunk-T2WAD4QP.js → chunk-POQTE7JI.js} +55 -16
  82. package/dist/{chunk-74HPBSVY.js → chunk-QDKETK7D.js} +4 -4
  83. package/dist/{chunk-VEOYCAJP.js → chunk-QNIKRB62.js} +27 -7
  84. package/dist/{chunk-JYBGO6GY.js → chunk-R4Z7BINC.js} +11 -8
  85. package/dist/chunk-RJTVCA62.js +42 -0
  86. package/dist/{chunk-3GT43XPK.js → chunk-SB3DG572.js} +15 -8
  87. package/dist/{chunk-FKVPAEJ6.js → chunk-SKJC2KYD.js} +4 -3
  88. package/dist/{chunk-NKDW6C7K.js → chunk-SKRR3ZMP.js} +3 -3
  89. package/dist/{chunk-CTENRS34.js → chunk-T4ZFZTY6.js} +8 -6
  90. package/dist/{chunk-YLEHYDXC.js → chunk-T5574MXM.js} +33 -45
  91. package/dist/{chunk-4HKDD3PR.js → chunk-TX57TNJS.js} +92 -58
  92. package/dist/{chunk-CWMFEF6R.js → chunk-UGBNYSBN.js} +81 -29
  93. package/dist/{chunk-M5TVCASC.js → chunk-ULGCGKOE.js} +8 -6
  94. package/dist/{chunk-JUWDRRD6.js → chunk-X2VMIBK5.js} +4 -4
  95. package/dist/{chunk-763VS2FY.js → chunk-YHBI52P2.js} +3 -3
  96. package/dist/chunk-YIHKQ63K.js +13 -0
  97. package/dist/{chunk-3Z3SDKIA.js → chunk-YPNL2NBD.js} +5 -5
  98. package/dist/{chunk-MYQ3FD4Y.js → chunk-ZD3MOLIB.js} +8 -5
  99. package/dist/{chunk-BD5YKFRA.js → chunk-ZR6HNKSN.js} +5 -3
  100. package/dist/{chunk-WKWAUU64.js → chunk-ZZSNTCCL.js} +6 -5
  101. package/dist/combobox.d.ts +5 -0
  102. package/dist/combobox.js +13 -12
  103. package/dist/date-input.d.ts +4 -0
  104. package/dist/date-input.js +11 -9
  105. package/dist/date-picker.d.ts +6 -0
  106. package/dist/date-picker.js +24 -22
  107. package/dist/dialog.d.ts +21 -1
  108. package/dist/dialog.js +11 -9
  109. package/dist/drawer.d.ts +11 -1
  110. package/dist/drawer.js +10 -8
  111. package/dist/dropdown-menu.d.ts +12 -0
  112. package/dist/dropdown-menu.js +7 -6
  113. package/dist/dropzone.d.ts +3 -2
  114. package/dist/dropzone.js +13 -12
  115. package/dist/form.d.ts +5 -4
  116. package/dist/form.js +61 -45
  117. package/dist/header-navigation.d.ts +5 -1
  118. package/dist/header-navigation.js +21 -19
  119. package/dist/helper.d.ts +36 -0
  120. package/dist/helper.js +3 -0
  121. package/dist/index.d.ts +13 -11
  122. package/dist/index.js +83 -78
  123. package/dist/indicator.js +4 -4
  124. package/dist/input.d.ts +4 -0
  125. package/dist/input.js +9 -8
  126. package/dist/kanban-board.d.ts +21 -81
  127. package/dist/kanban-board.js +15 -13
  128. package/dist/labels-DPrh0se9.d.ts +627 -0
  129. package/dist/line-chart.d.ts +3 -2
  130. package/dist/line-chart.js +6 -5
  131. package/dist/{nav-DcCyt00p.d.ts → nav-CKKqjBs6.d.ts} +10 -0
  132. package/dist/number-input.d.ts +4 -0
  133. package/dist/number-input.js +9 -8
  134. package/dist/pagination.d.ts +7 -1
  135. package/dist/pagination.js +11 -10
  136. package/dist/payment-input.d.ts +3 -2
  137. package/dist/payment-input.js +9 -8
  138. package/dist/pie-chart.d.ts +7 -3
  139. package/dist/pie-chart.js +6 -5
  140. package/dist/popover.js +10 -8
  141. package/dist/progress-steps.js +2 -2
  142. package/dist/progress.d.ts +21 -1
  143. package/dist/progress.js +3 -2
  144. package/dist/provider.d.ts +212 -0
  145. package/dist/provider.js +7 -0
  146. package/dist/radar-chart.d.ts +7 -3
  147. package/dist/radar-chart.js +6 -5
  148. package/dist/radial-chart.d.ts +7 -3
  149. package/dist/radial-chart.js +6 -5
  150. package/dist/radio.js +8 -7
  151. package/dist/scroll-area.js +2 -2
  152. package/dist/select.d.ts +2 -1
  153. package/dist/select.js +15 -14
  154. package/dist/shared-CxAedkiy.d.ts +68 -0
  155. package/dist/sidebar-navigation.d.ts +36 -7
  156. package/dist/sidebar-navigation.js +15 -13
  157. package/dist/skeleton.js +2 -2
  158. package/dist/styles.css +1 -1
  159. package/dist/switch.js +4 -4
  160. package/dist/table.d.ts +56 -6
  161. package/dist/table.js +37 -35
  162. package/dist/tabs.d.ts +22 -0
  163. package/dist/tabs.js +3 -3
  164. package/dist/tag-input.d.ts +3 -2
  165. package/dist/tag-input.js +12 -11
  166. package/dist/tag.d.ts +4 -0
  167. package/dist/tag.js +3 -2
  168. package/dist/textarea.js +6 -5
  169. package/dist/theme.css +69 -6
  170. package/dist/theme.js +10 -9
  171. package/dist/toast.d.ts +11 -2
  172. package/dist/toast.js +11 -9
  173. package/dist/{tooltip-surface-Dmvb8v5K.d.ts → tooltip-surface-C2I9o2QM.d.ts} +1 -1
  174. package/dist/tooltip.d.ts +2 -2
  175. package/dist/tooltip.js +3 -3
  176. package/dist/tree.d.ts +5 -0
  177. package/dist/tree.js +5 -4
  178. package/dist/{types-6kvYwtRH.d.ts → types-DR9rAEy1.d.ts} +45 -13
  179. package/dist/{use-uploads-ButS4dGe.d.ts → use-uploads-KaPqDklo.d.ts} +9 -0
  180. package/dist/verification-code-input.js +8 -7
  181. package/package.json +12 -1
  182. package/dist/chunk-MFJP5FA7.js +0 -20
  183. package/dist/shared-BNXAdgh2.d.ts +0 -9
  184. package/dist/surface-DFyDnrTJ.d.ts +0 -34
@@ -1,11 +1,12 @@
1
- import { Indicator } from './chunk-PXEJ5RKO.js';
2
- import { Skeleton } from './chunk-7HV6EIGZ.js';
3
- import { ScrollView } from './chunk-FKVPAEJ6.js';
4
- import { TooltipExport } from './chunk-4R7WDDCW.js';
1
+ import { Indicator } from './chunk-N3RVMBPX.js';
2
+ import { Skeleton } from './chunk-LLPWQDF7.js';
3
+ import { ScrollView } from './chunk-SKJC2KYD.js';
4
+ import { TooltipExport } from './chunk-KZP6B6B3.js';
5
5
  import { POPUP_MOTION } from './chunk-O4GRKO3I.js';
6
6
  import { PlusIcon, UserIcon, CheckIcon } from './chunk-BLIZ3CL3.js';
7
- import { warnExclusive, devWarn } from './chunk-QDYE5LVT.js';
8
7
  import { cn } from './chunk-ZSNJ6UA3.js';
8
+ import { useLabels } from './chunk-RJTVCA62.js';
9
+ import { warnExclusive, devWarn } from './chunk-QDYE5LVT.js';
9
10
  import * as React4 from 'react';
10
11
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
11
12
  import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
@@ -40,6 +41,72 @@ function AvatarAddButton(props) {
40
41
  ) });
41
42
  }
42
43
 
44
+ // src/components/avatar/labels.ts
45
+ var AVATAR_LABELS = {
46
+ /** The verified indicator's accessible name — the one Avatar marker that carries meaning. */
47
+ verified: "Verified",
48
+ /** The `+N` tile's trigger, when the group's overflow opens a list. */
49
+ showMore: (ctx) => `Show ${ctx.count} more`,
50
+ /** The `+N` tile itself, which is a `role="img"` and needs a name of its own. */
51
+ overflowCount: (ctx) => `${ctx.count} more`,
52
+ /** The overflow list with nothing in it. */
53
+ empty: "No one to show",
54
+ /** A revealed avatar that carries no `name`. */
55
+ unknownName: "Unknown",
56
+ /** The presence dot's two states — the marker is a dot, so its name is all it says. */
57
+ online: "Online",
58
+ offline: "Offline"
59
+ };
60
+ var GLOSS_MASK = "linear-gradient(to bottom, black 0%, transparent 25%, transparent 75%, black 100%)";
61
+ function ContrastBorder({
62
+ radius,
63
+ gloss = false,
64
+ hairline = "0.5",
65
+ glossWidth = "1"
66
+ }) {
67
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
68
+ /* @__PURE__ */ jsx(
69
+ "span",
70
+ {
71
+ "aria-hidden": "true",
72
+ className: cn(
73
+ "pointer-events-none absolute inset-0 outline outline-black/16",
74
+ hairline === "0.75" ? "outline-[0.75px] -outline-offset-[0.75px]" : "outline-[0.5px] -outline-offset-[0.5px]",
75
+ radius
76
+ )
77
+ }
78
+ ),
79
+ gloss ? /* @__PURE__ */ jsx(
80
+ "span",
81
+ {
82
+ "aria-hidden": "true",
83
+ style: { maskImage: GLOSS_MASK, WebkitMaskImage: GLOSS_MASK },
84
+ className: cn("pointer-events-none absolute inset-0 border-white/32", glossWidth === "1.5" ? "border-[1.5px]" : "border", radius)
85
+ }
86
+ ) : null
87
+ ] });
88
+ }
89
+ function AvatarIndicator({ badge, verified, status, count, boxClass, dotClass, positionClass = "right-0 bottom-0" }) {
90
+ const pos = cn("absolute", positionClass);
91
+ const t = useLabels("avatar", AVATAR_LABELS, void 0);
92
+ if (badge != null) return /* @__PURE__ */ jsx(Indicator, { icon: badge, color: "brand", bordered: true, className: cn(pos, boxClass) });
93
+ if (verified) return /* @__PURE__ */ jsx(Indicator, { shape: "scalloped", color: "info", icon: /* @__PURE__ */ jsx(CheckIcon, {}), label: t.verified, className: cn(pos, boxClass) });
94
+ if (status != null) {
95
+ return /* @__PURE__ */ jsx(
96
+ Indicator,
97
+ {
98
+ raised: true,
99
+ bordered: true,
100
+ color: status === "online" ? "success" : "neutral",
101
+ label: status === "online" ? t.online : t.offline,
102
+ className: cn(pos, dotClass)
103
+ }
104
+ );
105
+ }
106
+ if (count != null) return /* @__PURE__ */ jsx(Indicator, { count, bordered: true, className: cn(pos, boxClass) });
107
+ return null;
108
+ }
109
+
43
110
  // src/components/avatar/shared.ts
44
111
  var AVATAR_SIZE = {
45
112
  xxs: { box: "size-4", text: "text-xs", icon: "size-2.5", dot: "size-1" },
@@ -64,13 +131,6 @@ var BORDER_PAD = {
64
131
  xl: "p-0.5",
65
132
  "2xl": "p-0.5"
66
133
  };
67
- var STATUS = {
68
- // Untitled UI online dot = success-500 (the dedicated --color-fg-success-secondary role,
69
- // one step brighter than the success-600 solid fill).
70
- online: { dot: "bg-fg-success-secondary", label: "Online" },
71
- // Light neutral dot (≈ gray-300) — a touch lighter than `fg-subtle`/gray-500.
72
- offline: { dot: "bg-border-primary", label: "Offline" }
73
- };
74
134
  var INDICATOR_BOX = {
75
135
  xxs: "size-2",
76
136
  xs: "size-2.5",
@@ -86,45 +146,6 @@ function getInitials(name) {
86
146
  if (parts.length === 1) return parts[0].charAt(0).toUpperCase();
87
147
  return (parts[0].charAt(0) + parts.at(-1).charAt(0)).toUpperCase();
88
148
  }
89
- var GLOSS_MASK = "linear-gradient(to bottom, black 0%, transparent 25%, transparent 75%, black 100%)";
90
- function ContrastBorder({
91
- radius,
92
- gloss = false,
93
- hairline = "0.5",
94
- glossWidth = "1"
95
- }) {
96
- return /* @__PURE__ */ jsxs(Fragment, { children: [
97
- /* @__PURE__ */ jsx(
98
- "span",
99
- {
100
- "aria-hidden": "true",
101
- className: cn(
102
- "pointer-events-none absolute inset-0 outline outline-black/16",
103
- hairline === "0.75" ? "outline-[0.75px] -outline-offset-[0.75px]" : "outline-[0.5px] -outline-offset-[0.5px]",
104
- radius
105
- )
106
- }
107
- ),
108
- gloss ? /* @__PURE__ */ jsx(
109
- "span",
110
- {
111
- "aria-hidden": "true",
112
- style: { maskImage: GLOSS_MASK, WebkitMaskImage: GLOSS_MASK },
113
- className: cn("pointer-events-none absolute inset-0 border-white/32", glossWidth === "1.5" ? "border-[1.5px]" : "border", radius)
114
- }
115
- ) : null
116
- ] });
117
- }
118
- function AvatarIndicator({ badge, verified, status, count, boxClass, dotClass, positionClass = "right-0 bottom-0" }) {
119
- const pos = cn("absolute", positionClass);
120
- if (badge != null) return /* @__PURE__ */ jsx(Indicator, { icon: badge, color: "brand", bordered: true, className: cn(pos, boxClass) });
121
- if (verified) return /* @__PURE__ */ jsx(Indicator, { shape: "scalloped", color: "info", icon: /* @__PURE__ */ jsx(CheckIcon, {}), label: "Verified", className: cn(pos, boxClass) });
122
- if (status != null) {
123
- return /* @__PURE__ */ jsx(Indicator, { raised: true, bordered: true, color: status === "online" ? "success" : "neutral", label: STATUS[status].label, className: cn(pos, dotClass) });
124
- }
125
- if (count != null) return /* @__PURE__ */ jsx(Indicator, { count, bordered: true, className: cn(pos, boxClass) });
126
- return null;
127
- }
128
149
  var FALLBACK_DELAY = 600;
129
150
  function Avatar(props) {
130
151
  const {
@@ -222,7 +243,20 @@ var OVERLAP = {
222
243
  "2xl": { normal: "-ml-4", tight: "-ml-7" }
223
244
  };
224
245
  function AvatarGroup(props) {
225
- const { max, total, size = "md", shape = "circle", spacing = "normal", "aria-label": ariaLabel, onReveal, revealing = false, children, className } = props;
246
+ const {
247
+ max,
248
+ total,
249
+ size = "md",
250
+ shape = "circle",
251
+ spacing = "normal",
252
+ "aria-label": ariaLabel,
253
+ onReveal,
254
+ revealing = false,
255
+ labels,
256
+ children,
257
+ className
258
+ } = props;
259
+ const t = useLabels("avatar", AVATAR_LABELS, labels);
226
260
  if (!ariaLabel) devWarn("<AvatarGroup> should have an `aria-label` to name the list of avatars.");
227
261
  const items = React4.Children.toArray(children).filter(React4.isValidElement);
228
262
  const limit = max != null ? Math.max(0, max) : items.length;
@@ -259,7 +293,7 @@ function AvatarGroup(props) {
259
293
  /* @__PURE__ */ jsxs(
260
294
  Popover.Trigger,
261
295
  {
262
- "aria-label": `Show ${overflow} more`,
296
+ "aria-label": t.showMore({ count: overflow }),
263
297
  className: cn(
264
298
  tile,
265
299
  "cursor-pointer transition-colors duration-100 ease-linear outline-none hover:bg-quaternary focus-visible:ring-2 focus-visible:ring-focus-ring"
@@ -279,11 +313,11 @@ function AvatarGroup(props) {
279
313
  /* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-24" })
280
314
  ] }, i)) : hidden.length > 0 ? hidden.map((child, i) => /* @__PURE__ */ jsxs("li", { className: "flex items-center gap-2 rounded-md px-2 py-1.5", children: [
281
315
  React4.cloneElement(child, { size: "sm", shape }),
282
- /* @__PURE__ */ jsx("span", { className: "truncate text-secondary", children: child.props.name ?? "Unknown" })
283
- ] }, i)) : /* @__PURE__ */ jsx("li", { className: "px-2 py-1.5 text-tertiary", children: "No one to show" }) }) })
316
+ /* @__PURE__ */ jsx("span", { className: "truncate text-secondary", children: child.props.name ?? t.unknownName })
317
+ ] }, i)) : /* @__PURE__ */ jsx("li", { className: "px-2 py-1.5 text-tertiary", children: t.empty }) }) })
284
318
  }
285
319
  ) }) })
286
- ] }) : /* @__PURE__ */ jsxs("span", { role: "img", "aria-label": `${overflow} more`, className: tile, children: [
320
+ ] }) : /* @__PURE__ */ jsxs("span", { role: "img", "aria-label": t.overflowCount({ count: overflow }), className: tile, children: [
287
321
  "+",
288
322
  overflow
289
323
  ] }) }) : null
@@ -483,5 +517,5 @@ function AvatarProfilePhoto(props) {
483
517
  }
484
518
 
485
519
  export { Avatar, AvatarAddButton, AvatarGroup, AvatarLabelGroup, AvatarProfilePhoto };
486
- //# sourceMappingURL=chunk-4HKDD3PR.js.map
487
- //# sourceMappingURL=chunk-4HKDD3PR.js.map
520
+ //# sourceMappingURL=chunk-TX57TNJS.js.map
521
+ //# sourceMappingURL=chunk-TX57TNJS.js.map
@@ -1,13 +1,16 @@
1
- import { DropdownMenu } from './chunk-MYQ3FD4Y.js';
2
- import { SKELETON_WIDTHS, Skeleton } from './chunk-7HV6EIGZ.js';
1
+ import { DropdownMenu } from './chunk-ZD3MOLIB.js';
2
+ import { SKELETON_WIDTHS, Skeleton } from './chunk-LLPWQDF7.js';
3
+ import { ScrollView } from './chunk-SKJC2KYD.js';
3
4
  import { Separator } from './chunk-7VLYQR4D.js';
4
- import { ButtonUtility } from './chunk-C6OTOTKI.js';
5
- import { ScrollView } from './chunk-FKVPAEJ6.js';
5
+ import { useLinkElement, LinkOrButton } from './chunk-5AZKP4KZ.js';
6
+ import { ButtonUtility } from './chunk-AZ7DKRBY.js';
7
+ import { useIsomorphicLayoutEffect } from './chunk-EDSK6FEH.js';
6
8
  import { Slot } from './chunk-52IFGFTL.js';
7
- import { TooltipExport } from './chunk-4R7WDDCW.js';
9
+ import { TooltipExport } from './chunk-KZP6B6B3.js';
8
10
  import { PanelLeftIcon, ChevronRightIcon, ChevronDownIcon } from './chunk-BLIZ3CL3.js';
9
- import { devWarn } from './chunk-QDYE5LVT.js';
10
11
  import { cn } from './chunk-ZSNJ6UA3.js';
12
+ import { useLabels } from './chunk-RJTVCA62.js';
13
+ import { devWarn } from './chunk-QDYE5LVT.js';
11
14
  import * as React from 'react';
12
15
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
13
16
 
@@ -38,14 +41,16 @@ function readStored(storageKey, fallback) {
38
41
  }
39
42
  function SidebarProvider(props) {
40
43
  const { collapsed: controlled, defaultCollapsed = false, onCollapsedChange, storageKey, shortcut = true, collapseBelow, children } = props;
41
- const [uncontrolled, setUncontrolled] = React.useState(() => readStored(storageKey, defaultCollapsed));
44
+ const [uncontrolled, setUncontrolled] = React.useState(defaultCollapsed);
42
45
  const collapsed = controlled ?? uncontrolled;
43
46
  const collapsedRef = React.useRef(collapsed);
44
47
  collapsedRef.current = collapsed;
45
48
  const onChangeRef = React.useRef(onCollapsedChange);
46
49
  onChangeRef.current = onCollapsedChange;
50
+ const imposedRef = React.useRef(false);
47
51
  const commit = React.useCallback(
48
52
  (next, remember) => {
53
+ if (remember) imposedRef.current = false;
49
54
  if (controlled === void 0) setUncontrolled(next);
50
55
  if (remember && storageKey) {
51
56
  try {
@@ -59,6 +64,12 @@ function SidebarProvider(props) {
59
64
  );
60
65
  const setCollapsed = React.useCallback((next) => commit(next, true), [commit]);
61
66
  const toggle = React.useCallback(() => commit(!collapsedRef.current, true), [commit]);
67
+ useIsomorphicLayoutEffect(() => {
68
+ if (controlled !== void 0 || !storageKey) return;
69
+ const stored = readStored(storageKey, defaultCollapsed);
70
+ setUncontrolled((current) => current === stored ? current : stored);
71
+ collapsedRef.current = stored;
72
+ }, [controlled, storageKey]);
62
73
  React.useEffect(() => {
63
74
  if (!shortcut) return;
64
75
  const onKeyDown = (event) => {
@@ -69,14 +80,27 @@ function SidebarProvider(props) {
69
80
  document.addEventListener("keydown", onKeyDown);
70
81
  return () => document.removeEventListener("keydown", onKeyDown);
71
82
  }, [shortcut, commit]);
72
- React.useEffect(() => {
83
+ const applyViewport = React.useCallback(
84
+ (matches) => {
85
+ if (matches) {
86
+ if (collapsedRef.current) return;
87
+ imposedRef.current = true;
88
+ commit(true, false);
89
+ } else if (imposedRef.current) {
90
+ imposedRef.current = false;
91
+ commit(false, false);
92
+ }
93
+ },
94
+ [commit]
95
+ );
96
+ useIsomorphicLayoutEffect(() => {
73
97
  if (!collapseBelow || typeof window === "undefined" || !globalThis.matchMedia) return;
74
98
  const query = globalThis.matchMedia(BREAKPOINT_QUERY[collapseBelow]);
75
- const apply = () => commit(query.matches, false);
76
- apply();
77
- query.addEventListener("change", apply);
78
- return () => query.removeEventListener("change", apply);
79
- }, [collapseBelow, commit]);
99
+ applyViewport(query.matches);
100
+ const onChange = (event) => applyViewport(event.matches);
101
+ query.addEventListener("change", onChange);
102
+ return () => query.removeEventListener("change", onChange);
103
+ }, [collapseBelow, applyViewport]);
80
104
  const value = React.useMemo(() => ({ collapsed, setCollapsed, toggle }), [collapsed, setCollapsed, toggle]);
81
105
  return /* @__PURE__ */ jsx(SidebarContext.Provider, { value, children });
82
106
  }
@@ -148,6 +172,12 @@ function resolveActive(items, activeHref) {
148
172
  }
149
173
  return { current: best, trail: new Set(bestTrail) };
150
174
  }
175
+
176
+ // src/components/sidebar-navigation/labels.ts
177
+ var SIDEBAR_NAVIGATION_LABELS = {
178
+ expand: "Expand sidebar",
179
+ collapse: "Collapse sidebar"
180
+ };
151
181
  var ROW_WRAP = "group/row relative flex items-center";
152
182
  var ROW_BASE = "relative flex min-w-0 flex-1 cursor-pointer items-center rounded-lg p-2 text-left outline-focus-ring transition-colors duration-100 ease-linear select-none focus-visible:z-10 focus-visible:outline-2 focus-visible:outline-offset-2";
153
183
  var ROW_IDLE = "group-hover/row:bg-secondary";
@@ -215,6 +245,7 @@ function RowAction({ action, icon }) {
215
245
  }
216
246
  function NavRow({ link, ctx, reserve, dot }) {
217
247
  const isCurrent = link === ctx.current;
248
+ const navLink = useLinkElement(link.href);
218
249
  const className = cn(
219
250
  ROW_BASE,
220
251
  dot && GUIDE_DOT_ROW,
@@ -229,14 +260,7 @@ function NavRow({ link, ctx, reserve, dot }) {
229
260
  ctx.onNavigate?.(link, event);
230
261
  link.onClick?.(event);
231
262
  };
232
- let row;
233
- if (link.disabled) {
234
- row = /* @__PURE__ */ jsx("span", { "aria-disabled": "true", className, children: content });
235
- } else if (link.href) {
236
- row = /* @__PURE__ */ jsx("a", { href: link.href, "aria-current": isCurrent ? "page" : void 0, onClick: handleClick, className, children: content });
237
- } else {
238
- row = /* @__PURE__ */ jsx("button", { type: "button", "aria-current": isCurrent ? "page" : void 0, onClick: handleClick, className, children: content });
239
- }
263
+ const row = link.disabled ? /* @__PURE__ */ jsx("span", { "aria-disabled": "true", className, children: content }) : /* @__PURE__ */ jsx(LinkOrButton, { render: link.render ?? navLink, className, ariaCurrent: isCurrent, onClick: handleClick, children: content });
240
264
  return /* @__PURE__ */ jsxs("div", { className: ROW_WRAP, children: [
241
265
  row,
242
266
  link.action && !link.disabled ? /* @__PURE__ */ jsx(RowAction, { action: link.action, icon }) : null
@@ -313,13 +337,24 @@ function railTrigger(link, current, accent) {
313
337
  }
314
338
  function RailRow({ link, ctx }) {
315
339
  const current = link === ctx.current;
340
+ const railLink = useLinkElement(link.href);
316
341
  const className = railClass(link, current, ctx.accent);
317
342
  const icon = /* @__PURE__ */ jsx(RailIcon, { link, current, accent: ctx.accent });
318
343
  const handleClick = (event) => {
319
344
  ctx.onNavigate?.(link, event);
320
345
  link.onClick?.(event);
321
346
  };
322
- const element = link.href ? /* @__PURE__ */ jsx("a", { href: link.href, "aria-label": link.label, "aria-current": current ? "page" : void 0, onClick: handleClick, className, children: icon }) : /* @__PURE__ */ jsx("button", { type: "button", "aria-label": link.label, "aria-current": current ? "page" : void 0, onClick: handleClick, className, children: icon });
347
+ const element = link.disabled ? (
348
+ /* Shaped to match `NavRow`'s expanded branch exactly — same element, same one attribute — because
349
+ * these two ARE one row at two widths and the defect was them disagreeing. The label rides an
350
+ * `sr-only` span rather than `aria-label`: this row is icon-only, and a name set on a span with
351
+ * no role is dropped by every screen reader, so the rail would go from wrongly-usable to
352
+ * correctly-inert but nameless. (`link.label` is caller data, not authored copy.) */
353
+ /* @__PURE__ */ jsxs("span", { "aria-disabled": "true", className, children: [
354
+ icon,
355
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: link.label })
356
+ ] })
357
+ ) : /* @__PURE__ */ jsx(LinkOrButton, { render: link.render ?? railLink, className, ariaCurrent: current, ariaLabel: link.label, onClick: handleClick, children: icon });
323
358
  return /* @__PURE__ */ jsx(TooltipExport, { content: link.label, side: "right", children: element });
324
359
  }
325
360
  function toMenuItems(links, ctx) {
@@ -336,6 +371,10 @@ function toMenuItems(links, ctx) {
336
371
  return {
337
372
  label: child.label,
338
373
  href: child.href,
374
+ // The per-item element, forwarded — this row is the SAME `NavLink` the expanded column renders
375
+ // through `link.render ?? navLink`, so collapsing the rail must not downgrade it to the
376
+ // provider's link. `DropdownMenuActionItem.render` exists for exactly this hand-off.
377
+ render: child.render,
339
378
  leading: child.leading,
340
379
  trailing: child.trailing,
341
380
  active: child === ctx.current,
@@ -365,6 +404,7 @@ var BRAND_ROW = "flex items-center gap-2 rounded-lg outline-focus-ring focus-vis
365
404
  function Brand({ brand, collapsed }) {
366
405
  const { logo, name, href, onClick } = brand;
367
406
  const interactive = href != null || onClick != null;
407
+ const brandLink = useLinkElement(href);
368
408
  const content = /* @__PURE__ */ jsxs(Fragment, { children: [
369
409
  /* @__PURE__ */ jsx(Slot, { className: "[&>svg]:size-8", children: logo }),
370
410
  !collapsed && name != null ? /* @__PURE__ */ jsx("span", { className: "truncate text-md font-semibold text-primary", children: name }) : null
@@ -373,11 +413,10 @@ function Brand({ brand, collapsed }) {
373
413
  return /* @__PURE__ */ jsx("div", { className: cn(BRAND_ROW, collapsed && "justify-center"), children: content });
374
414
  }
375
415
  const shared = {
376
- onClick,
377
416
  "aria-label": collapsed ? name : void 0,
378
417
  className: cn(BRAND_ROW, "cursor-pointer", collapsed && "justify-center")
379
418
  };
380
- return href != null ? /* @__PURE__ */ jsx("a", { href, ...shared, children: content }) : /* @__PURE__ */ jsx("button", { type: "button", ...shared, children: content });
419
+ return /* @__PURE__ */ jsx(LinkOrButton, { render: brandLink, className: shared.className, ariaLabel: shared["aria-label"], onClick, children: content });
381
420
  }
382
421
  function SidebarNavigation(props) {
383
422
  const {
@@ -392,9 +431,11 @@ function SidebarNavigation(props) {
392
431
  footer,
393
432
  toggle = false,
394
433
  loading = false,
434
+ labels,
395
435
  className
396
436
  } = props;
397
437
  const ariaLabel = props["aria-label"] ?? "Main";
438
+ const t = useLabels("sidebarNavigation", SIDEBAR_NAVIGATION_LABELS, labels);
398
439
  const sidebar = useSidebarContext();
399
440
  const collapsed = props.collapsed ?? sidebar?.collapsed ?? false;
400
441
  const pad = collapsed ? "px-3" : "px-4";
@@ -441,8 +482,19 @@ function SidebarNavigation(props) {
441
482
  // call). To drop it — a nav nested in a `<Drawer>`, which draws its own — pass
442
483
  // `className="border-r-0"`: tailwind-merge resolves both in the `border-w-r` group.
443
484
  "border-r border-secondary",
444
- collapsed ? "w-16 items-center" : "w-70",
445
- className
485
+ // The EXPANDED width is the caller's to set — it is a function of THEIR labels, and
486
+ // `className="w-60"` is the documented way to say so (layout only, merged via `cn()`).
487
+ !collapsed && "w-70",
488
+ className,
489
+ // The COLLAPSED width is NOT, and that is why it is emitted AFTER `className` — the one
490
+ // deliberate ordering asymmetry in this component. A rail is 36px of row plus the column's
491
+ // own `px-3`; it is derived geometry, not a design number, and no reading of "make my
492
+ // sidebar 240px wide" means "make the icon rail 240px wide". Emitted BEFORE `className` it
493
+ // was silently clobbered: tailwind-merge resolves `w-16` and a caller's `w-60` in one group,
494
+ // so an app that only ever talked about the EXPANDED column got a 240px rail with its icons
495
+ // stranded in the middle of it — and `items-center` (still ours, still applied) is what made
496
+ // that read as a layout bug rather than as the caller's own width coming back.
497
+ collapsed && "w-16 items-center"
446
498
  ),
447
499
  children: [
448
500
  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,
@@ -476,7 +528,7 @@ function SidebarNavigation(props) {
476
528
  "button",
477
529
  {
478
530
  type: "button",
479
- "aria-label": collapsed ? "Expand sidebar" : "Collapse sidebar",
531
+ "aria-label": collapsed ? t.expand : t.collapse,
480
532
  "aria-expanded": !collapsed,
481
533
  onClick: sidebar.toggle,
482
534
  className: "group/handle absolute inset-y-0 right-0 z-20 flex w-3 cursor-pointer items-center justify-center outline-focus-ring focus-visible:outline-2 focus-visible:-outline-offset-2",
@@ -496,5 +548,5 @@ function SidebarNavigation(props) {
496
548
  SidebarNavigation.displayName = "SidebarNavigation";
497
549
 
498
550
  export { SidebarNavigation, SidebarProvider, SidebarTrigger, linkMatches, resolveActive, useSidebar };
499
- //# sourceMappingURL=chunk-CWMFEF6R.js.map
500
- //# sourceMappingURL=chunk-CWMFEF6R.js.map
551
+ //# sourceMappingURL=chunk-UGBNYSBN.js.map
552
+ //# sourceMappingURL=chunk-UGBNYSBN.js.map
@@ -1,12 +1,12 @@
1
- import { usePolarData, resolveMax } from './chunk-LBYCCLVI.js';
2
- import { RADIAL_SIZE, ChartDataTable, formatNumber, ChartFrame, RadialBarChart, MARGIN, PolarAngleAxis, Tooltip, NO_ANIMATION, ChartTooltipContent, RadialBar, RADIAL_TRACK, POLAR_ROOT, POLAR_HOVER, ChartLegendContent } from './chunk-75M43ELV.js';
1
+ import { usePolarData, resolveMax } from './chunk-OLLD2BZN.js';
2
+ import { DEFAULT_PALETTE, RADIAL_SIZE, ChartDataTable, formatNumber, ChartFrame, RadialBarChart, MARGIN, PolarAngleAxis, Tooltip, NO_ANIMATION, ChartTooltipContent, RadialBar, RADIAL_TRACK, POLAR_ROOT, POLAR_HOVER, ChartLegendContent } from './chunk-22M75A3N.js';
3
3
  import { cn } from './chunk-ZSNJ6UA3.js';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
5
5
 
6
6
  function RadialChart({
7
7
  data,
8
8
  size = "md",
9
- palette = "brand",
9
+ palette = DEFAULT_PALETTE,
10
10
  label,
11
11
  description,
12
12
  max = "auto",
@@ -15,7 +15,8 @@ function RadialChart({
15
15
  formatValue = formatNumber,
16
16
  tooltip = true,
17
17
  tooltipTone = "surface",
18
- emptyMessage = "No data to display",
18
+ emptyMessage,
19
+ labels,
19
20
  className,
20
21
  "aria-label": ariaLabel
21
22
  }) {
@@ -34,6 +35,7 @@ function RadialChart({
34
35
  height: geometry.height,
35
36
  isEmpty: data.length === 0,
36
37
  emptyMessage,
38
+ labels,
37
39
  className,
38
40
  table,
39
41
  legendPlacement: legend === "none" ? void 0 : legend,
@@ -71,5 +73,5 @@ function RadialChart({
71
73
  }
72
74
 
73
75
  export { RadialChart };
74
- //# sourceMappingURL=chunk-M5TVCASC.js.map
75
- //# sourceMappingURL=chunk-M5TVCASC.js.map
76
+ //# sourceMappingURL=chunk-ULGCGKOE.js.map
77
+ //# sourceMappingURL=chunk-ULGCGKOE.js.map
@@ -1,6 +1,6 @@
1
- import { SeamlessProvider, addonSlotClasses } from './chunk-TBN644IN.js';
1
+ import { CONTROL_RADIUS, CONTROL_TEXT, SHELL_SIZE, BAR_SIZE, SLOT_ICON } from './chunk-5KSD4WKN.js';
2
+ import { SeamlessProvider, addonSlotClasses } from './chunk-7ZM7SNCZ.js';
2
3
  import { Slot } from './chunk-52IFGFTL.js';
3
- import { CONTROL_RADIUS, CONTROL_TEXT, SHELL_SIZE, BAR_SIZE, SLOT_ICON } from './chunk-QKDEQFOQ.js';
4
4
  import { cn } from './chunk-ZSNJ6UA3.js';
5
5
  import { mergeProps } from '@base-ui/react/merge-props';
6
6
  import { useRender } from '@base-ui/react/use-render';
@@ -127,5 +127,5 @@ function FieldShell(props) {
127
127
  }
128
128
 
129
129
  export { FieldShell, controlBoxClasses };
130
- //# sourceMappingURL=chunk-JUWDRRD6.js.map
131
- //# sourceMappingURL=chunk-JUWDRRD6.js.map
130
+ //# sourceMappingURL=chunk-X2VMIBK5.js.map
131
+ //# sourceMappingURL=chunk-X2VMIBK5.js.map
@@ -1,4 +1,4 @@
1
- import { Cartesian } from './chunk-NA35YZRD.js';
1
+ import { Cartesian } from './chunk-5DP7W5HX.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
 
4
4
  function LineChart({ curve = "monotone", dashed = false, dots = false, ...rest }) {
@@ -6,5 +6,5 @@ function LineChart({ curve = "monotone", dashed = false, dots = false, ...rest }
6
6
  }
7
7
 
8
8
  export { LineChart };
9
- //# sourceMappingURL=chunk-763VS2FY.js.map
10
- //# sourceMappingURL=chunk-763VS2FY.js.map
9
+ //# sourceMappingURL=chunk-YHBI52P2.js.map
10
+ //# sourceMappingURL=chunk-YHBI52P2.js.map
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+
3
+ // src/lib/locale.ts
4
+ var LocaleContext = React.createContext(void 0);
5
+ if (process.env.NODE_ENV !== "production") LocaleContext.displayName = "JenosizeUILocaleContext";
6
+ function useLocaleConfig() {
7
+ return React.useContext(LocaleContext) ?? EMPTY;
8
+ }
9
+ var EMPTY = Object.freeze({});
10
+
11
+ export { LocaleContext, useLocaleConfig };
12
+ //# sourceMappingURL=chunk-YIHKQ63K.js.map
13
+ //# sourceMappingURL=chunk-YIHKQ63K.js.map
@@ -1,7 +1,7 @@
1
- import { useControllableOpen } from './chunk-VEOYCAJP.js';
2
- import { PanelChrome } from './chunk-FZBZGA3P.js';
3
- import { CloseButton } from './chunk-42FCPC77.js';
1
+ import { useControllableOpen } from './chunk-QNIKRB62.js';
2
+ import { PanelChrome } from './chunk-CGZXQ7PA.js';
4
3
  import { EXPLICIT_CLOSE, NO_RETURN_FOCUS } from './chunk-S7NNXWIN.js';
4
+ import { CloseButton } from './chunk-CGHYXWTT.js';
5
5
  import { POPUP_MOTION } from './chunk-O4GRKO3I.js';
6
6
  import { cn } from './chunk-ZSNJ6UA3.js';
7
7
  import { Popover as Popover$1 } from '@base-ui/react/popover';
@@ -137,5 +137,5 @@ function Popover(props) {
137
137
  Popover.displayName = "Popover";
138
138
 
139
139
  export { Popover };
140
- //# sourceMappingURL=chunk-3Z3SDKIA.js.map
141
- //# sourceMappingURL=chunk-3Z3SDKIA.js.map
140
+ //# sourceMappingURL=chunk-YPNL2NBD.js.map
141
+ //# sourceMappingURL=chunk-YPNL2NBD.js.map
@@ -1,5 +1,6 @@
1
+ import { PopupScrollViewport } from './chunk-GWYDOZGQ.js';
1
2
  import { ruleEdge, RULE_WEIGHT, rulePaint } from './chunk-LCG34A5T.js';
2
- import { PopupScrollViewport } from './chunk-PO2TYK3C.js';
3
+ import { useLinkElement } from './chunk-5AZKP4KZ.js';
3
4
  import { Slot } from './chunk-52IFGFTL.js';
4
5
  import { POPUP_MOTION, POPUP_MOTION_HOST } from './chunk-O4GRKO3I.js';
5
6
  import { ChevronRightIcon, CheckIcon } from './chunk-BLIZ3CL3.js';
@@ -73,8 +74,10 @@ function CheckboxBoxIndicator({ trailing = false }) {
73
74
  );
74
75
  }
75
76
  function ActionRow({ item, size }) {
76
- const { label, leading, trailing, shortcut, variant = "default", active, disabled, onClick, href, closeOnClick, className } = item;
77
+ const { label, leading, trailing, shortcut, variant = "default", active, disabled, onClick, href, render, closeOnClick, className } = item;
77
78
  const tone = variant === "destructive" ? "destructive" : active ? "active" : "default";
79
+ const link = useLinkElement(disabled ? void 0 : href);
80
+ const element = disabled ? void 0 : render ?? link;
78
81
  return /* @__PURE__ */ jsxs(
79
82
  Menu.Item,
80
83
  {
@@ -83,7 +86,7 @@ function ActionRow({ item, size }) {
83
86
  disabled,
84
87
  closeOnClick,
85
88
  onClick,
86
- render: href ? /* @__PURE__ */ jsx("a", { href }) : void 0,
89
+ render: element,
87
90
  children: [
88
91
  leading ? /* @__PURE__ */ jsx(LeadingIcon, { size, tone, children: leading }) : null,
89
92
  /* @__PURE__ */ jsx("span", { className: LABEL_SLOT, children: label }),
@@ -244,5 +247,5 @@ function DropdownMenu(props) {
244
247
  DropdownMenu.displayName = "DropdownMenu";
245
248
 
246
249
  export { DropdownMenu };
247
- //# sourceMappingURL=chunk-MYQ3FD4Y.js.map
248
- //# sourceMappingURL=chunk-MYQ3FD4Y.js.map
250
+ //# sourceMappingURL=chunk-ZD3MOLIB.js.map
251
+ //# sourceMappingURL=chunk-ZD3MOLIB.js.map
@@ -1,4 +1,4 @@
1
- import { useControllableOpen, DialogSurface } from './chunk-VEOYCAJP.js';
1
+ import { useControllableOpen, DialogSurface } from './chunk-QNIKRB62.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';
@@ -11,6 +11,7 @@ function Dialog(props) {
11
11
  defaultOpen = false,
12
12
  onOpenChange,
13
13
  size = "md",
14
+ backdrop = "scrim",
14
15
  showClose = true,
15
16
  dividers = "line",
16
17
  keepMounted = false,
@@ -45,6 +46,7 @@ function Dialog(props) {
45
46
  DialogSurface,
46
47
  {
47
48
  size,
49
+ backdrop,
48
50
  showClose,
49
51
  dividers,
50
52
  keepMounted,
@@ -66,5 +68,5 @@ function Dialog(props) {
66
68
  Dialog.displayName = "Dialog";
67
69
 
68
70
  export { Dialog };
69
- //# sourceMappingURL=chunk-BD5YKFRA.js.map
70
- //# sourceMappingURL=chunk-BD5YKFRA.js.map
71
+ //# sourceMappingURL=chunk-ZR6HNKSN.js.map
72
+ //# sourceMappingURL=chunk-ZR6HNKSN.js.map
@@ -1,8 +1,8 @@
1
- import { OptionRow } from './chunk-GTHJWR3Q.js';
2
1
  import { mapOptions } from './chunk-7JBNLEJ7.js';
3
- import { useFieldValidity, FieldGroupFrame } from './chunk-QKDEQFOQ.js';
4
- import { warnNeedsName } from './chunk-QDYE5LVT.js';
2
+ import { OptionRow } from './chunk-D7EE5GWU.js';
3
+ import { useFieldValidity, FieldGroupFrame } from './chunk-5KSD4WKN.js';
5
4
  import { cn } from './chunk-ZSNJ6UA3.js';
5
+ import { warnNeedsName } from './chunk-QDYE5LVT.js';
6
6
  import { Radio } from '@base-ui/react/radio';
7
7
  import { RadioGroup as RadioGroup$1 } from '@base-ui/react/radio-group';
8
8
  import * as React from 'react';
@@ -48,6 +48,7 @@ function RadioGroupItem(props) {
48
48
  return /* @__PURE__ */ jsx(
49
49
  OptionRow,
50
50
  {
51
+ scoped: true,
51
52
  size: ctx.size,
52
53
  bordered: ctx.bordered,
53
54
  disabled: isDisabled,
@@ -158,5 +159,5 @@ RadioGroupRoot.displayName = "RadioGroup";
158
159
  var RadioGroup = RadioGroupRoot;
159
160
 
160
161
  export { RadioGroup };
161
- //# sourceMappingURL=chunk-WKWAUU64.js.map
162
- //# sourceMappingURL=chunk-WKWAUU64.js.map
162
+ //# sourceMappingURL=chunk-ZZSNTCCL.js.map
163
+ //# sourceMappingURL=chunk-ZZSNTCCL.js.map
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { M as MultiDisplay } from './multi-value-CJb_tnvi.js';
3
3
  import { O as OptionList, L as ListboxOption, a as ListboxAction } from './options-CPEIgjtd.js';
4
+ import { d as ComboboxLabels } from './labels-DPrh0se9.js';
4
5
  import { ComboboxRootProps as ComboboxRootProps$1 } from '@base-ui/react/combobox';
5
6
 
6
7
  type ComboboxSize = "sm" | "md" | "lg";
@@ -169,6 +170,10 @@ interface ComboboxProps<Value extends string = string, Multiple extends boolean
169
170
  * `Enter` cannot coin it either) — e.g. `(q) => /^\S+@\S+\.\S+$/.test(q)` for a
170
171
  * recipient field. @default always creatable */
171
172
  validateCreate?: (query: string) => boolean;
173
+ /** Override the component's own copy — the trigger, the clear button, a chip's remove name, the
174
+ * `creatable` row, and what `placeholder` / `emptyMessage` / the loading line default to. Merges
175
+ * under `<JenosizeUIProvider labels={{ combobox }}>`; see `docs/i18n-policy.md`. */
176
+ labels?: ComboboxLabels;
172
177
  }
173
178
  declare function ComboboxFlat<Value extends string = string, Multiple extends boolean | undefined = false, Creatable extends boolean | undefined = undefined>(props: ComboboxProps<Value, Multiple, Creatable>): React.JSX.Element;
174
179
  declare namespace ComboboxFlat {