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
package/dist/select.js CHANGED
@@ -1,26 +1,27 @@
1
- "use client";export { Select } from './chunk-GAFGIT4Q.js';
1
+ "use client";export { Select } from './chunk-D6XO4JVM.js';
2
2
  import './chunk-7S2TBALK.js';
3
- export { NativeSelect } from './chunk-P7DH62UY.js';
4
- import './chunk-EDT5J5WK.js';
3
+ export { NativeSelect } from './chunk-I6WMNXC7.js';
4
+ import './chunk-GWYDOZGQ.js';
5
+ import './chunk-LYXPJERB.js';
5
6
  import './chunk-S7NNXWIN.js';
6
- import './chunk-PO2TYK3C.js';
7
- import './chunk-ILICYNK7.js';
8
- import './chunk-6HJA7NPL.js';
7
+ import './chunk-4RBIWI2Q.js';
8
+ import './chunk-IEAWNA3V.js';
9
9
  import './chunk-4P2NBLBW.js';
10
- import './chunk-FKVPAEJ6.js';
10
+ import './chunk-SKJC2KYD.js';
11
11
  import './chunk-7JBNLEJ7.js';
12
12
  import './chunk-DWKILXHE.js';
13
- import './chunk-JUWDRRD6.js';
14
- import './chunk-TBN644IN.js';
15
- import './chunk-52IFGFTL.js';
13
+ import './chunk-X2VMIBK5.js';
16
14
  import './chunk-O2LG3PNI.js';
17
15
  import './chunk-EDSK6FEH.js';
18
- import './chunk-QKDEQFOQ.js';
19
- import './chunk-4R7WDDCW.js';
20
- import './chunk-AC6ZWKRN.js';
16
+ import './chunk-5KSD4WKN.js';
17
+ import './chunk-7ZM7SNCZ.js';
18
+ import './chunk-52IFGFTL.js';
19
+ import './chunk-KZP6B6B3.js';
20
+ import './chunk-AFYXSZGW.js';
21
21
  import './chunk-O4GRKO3I.js';
22
22
  import './chunk-BLIZ3CL3.js';
23
- import './chunk-QDYE5LVT.js';
24
23
  import './chunk-ZSNJ6UA3.js';
24
+ import './chunk-RJTVCA62.js';
25
+ import './chunk-QDYE5LVT.js';
25
26
  //# sourceMappingURL=select.js.map
26
27
  //# sourceMappingURL=select.js.map
@@ -0,0 +1,68 @@
1
+ import * as React from 'react';
2
+
3
+ /**
4
+ * The scrim behind a modal overlay — ONE table, shared by Dialog, AlertDialog and Drawer.
5
+ *
6
+ * The two members are **alternatives, not a switch layered on a shared wash** — each states its own
7
+ * complete paint, and they differ on BOTH axes:
8
+ *
9
+ * | member | paints | reads as |
10
+ * | --------- | --------------------------------------- | ----------------------------------------------- |
11
+ * | `scrim` | `bg-overlay` — gray-950 @ 50% | dimmed; the page is plainly out of play |
12
+ * | `blur` | `bg-overlay-soft` (@ 20%) + a 6px blur | frosted; the page is present but unreadable |
13
+ *
14
+ * **A union, not a `blur?: boolean`** (AGENTS §4): the two answer the same question and only one can
15
+ * win, so the off state gets a real name instead of being an unspellable `{false}`, and a third
16
+ * treatment could join without a breaking change.
17
+ *
18
+ * **`scrim` is the default** — it is what shipped, so upgrading changes nothing. `blur` is offered as
19
+ * an opt-in rather than imposed on every existing dialog in every consuming app.
20
+ *
21
+ * ## Why 20% + 6px, where the design system says ~70% + 16px
22
+ *
23
+ * Both numbers are ours, and both were settled by rendering them on a real page rather than by reading
24
+ * the reference. That is not a liberty taken lightly — it is forced, because the Figma Modal frame has
25
+ * **nothing behind it**: an empty white artboard cannot show what a blur does, so its radius was never
26
+ * validated against content at all. Its wash we could at least measure: the render samples
27
+ * `rgb(84,84,84)` over white and `bg-overlay` is `#0a0a0a`, so `255 − 245α = 84` ⇒ α ≈ 0.70.
28
+ *
29
+ * Seven combinations were rendered over this library's own playground page and compared:
30
+ *
31
+ * | wash + radius | verdict |
32
+ * | ------------- | ------------------------------------------------------------------------------ |
33
+ * | 50% + 16px | mush — bright enough to still resolve as shapes, so the backdrop out-shouts the dialog it frames |
34
+ * | 50% + 6px | calm but heavy; reads as the old curtain with a softening |
35
+ * | 0% + 2px | barely present — no dimming, not enough blur to say the page is inert |
36
+ * | 0% + 4px | clean glass, text still legible as text |
37
+ * | 0% + 6px | clean glass, content fully illegible — but see the boundary cost below |
38
+ * | 20% + 6px | **chosen** — layout crisp, content illegible, dialog is the brightest thing |
39
+ * | 20% + 7–8px | 8px merges the sidebar rows into one column; 7px is indistinguishable from 6px |
40
+ *
41
+ * **The 20% is there to buy back a boundary, and that is a measured thing, not a taste.** With no wash
42
+ * at all, light-theme dialog-vs-backdrop contrast falls from **3.74:1** (`#FFF` on `rgb(132)`) to
43
+ * **1.00:1** — white on white wherever the page behind the panel is empty, leaving its edge to the 1px
44
+ * `ring-secondary_alt` hairline and a `shadow-xl` alone. 20% restores a visible step while staying far
45
+ * from the curtain. (In **dark** the wash buys nothing either way: the popup's `bg-primary` is
46
+ * neutral-950 and any neutral-950 wash over a neutral-950 page composites back to neutral-950, so dark
47
+ * has always separated by hairline alone — the same reason a black shadow cannot render there, see
48
+ * `src/lib/surface.ts`.)
49
+ *
50
+ * **More blur is not the lever; the wash is.** Past 6px the radius stops hiding content — which is
51
+ * already fully hidden — and starts dissolving LAYOUT, which is the one thing a backdrop should leave
52
+ * legible so the reader knows where they are.
53
+ *
54
+ * One caveat before adding a third member: `backdrop-filter` is defeated by any ancestor that creates
55
+ * a backdrop root (a `filter`, `opacity`, `transform` or `will-change` on the way up). It works here
56
+ * because the Backdrop is a direct child of the portal and carries its own opacity transition rather
57
+ * than inheriting one.
58
+ */
59
+ type OverlayBackdrop = "scrim" | "blur";
60
+ declare const OVERLAY_BACKDROPS: readonly OverlayBackdrop[];
61
+
62
+ type DialogSize = "sm" | "md" | "lg";
63
+ /** A footer is a plain node, or a render-fn given a `close()` helper — the latter
64
+ * lets footer buttons dismiss the dialog in BOTH controlled and uncontrolled
65
+ * (`trigger`) modes without a `Dialog.Close` part. */
66
+ type DialogFooter = React.ReactNode | ((close: () => void) => React.ReactNode);
67
+
68
+ export { type DialogFooter as D, OVERLAY_BACKDROPS as O, type DialogSize as a, type OverlayBackdrop as b };
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
- import { b as NavItem, c as NavLink } from './nav-DcCyt00p.js';
3
- export { N as NavActionReveal, a as NavGroup, d as NavMatch, e as NavRowAction, f as NavSeparator } from './nav-DcCyt00p.js';
2
+ import { b as NavItem, c as NavLink } from './nav-CKKqjBs6.js';
3
+ export { N as NavActionReveal, a as NavGroup, d as NavMatch, e as NavRowAction, f as NavSeparator } from './nav-CKKqjBs6.js';
4
+ import { k as SidebarNavigationLabels } from './labels-DPrh0se9.js';
4
5
  import './rule-BqzaIwJy.js';
5
6
  import './dropdown-menu.js';
6
7
  import './panel-El4oI68p.js';
@@ -24,17 +25,42 @@ declare function useSidebar(): SidebarContextValue;
24
25
  /** Viewport width under which the sidebar collapses itself. Tailwind's own steps. */
25
26
  type SidebarBreakpoint = "sm" | "md" | "lg" | "xl";
26
27
  interface SidebarProviderProps {
27
- /** Controlled collapse state. Omit to let the provider own it. */
28
+ /**
29
+ * Controlled collapse state. Omit to let the provider own it.
30
+ *
31
+ * **The only prop that gives an SSR app a correct first byte.** `localStorage` is invisible to
32
+ * the server, so under SSR persist the choice in a cookie, read it in the server component, and
33
+ * pass it here — with `storageKey` left off.
34
+ */
28
35
  collapsed?: boolean;
29
- /** Uncontrolled initial state, used when nothing is stored. @default false */
36
+ /** Uncontrolled initial state. Also what the server renders, and what the client's first render
37
+ * matches — the stored value is applied a step later, before paint. @default false */
30
38
  defaultCollapsed?: boolean;
31
- /** Fires on every change, including the responsive and keyboard ones. */
39
+ /** Fires on every change, including the responsive and keyboard ones. Not fired for the initial
40
+ * restore from `storageKey`, which is the first value arriving rather than a change. */
32
41
  onCollapsedChange?: (collapsed: boolean) => void;
33
- /** `localStorage` key to remember the user's choice across reloads. Omit for no persistence. */
42
+ /**
43
+ * `localStorage` key to remember the user's choice across reloads. Omit for no persistence.
44
+ *
45
+ * **Client-only, by nature.** The server cannot read it, so it is applied in a layout effect
46
+ * (before paint, after hydration) rather than during the first render — which keeps hydration
47
+ * clean at the cost of the server's HTML always showing `defaultCollapsed`. For a correct first
48
+ * byte, use {@link SidebarProviderProps.collapsed} with a cookie instead.
49
+ */
34
50
  storageKey?: string;
35
51
  /** Bind ⌘B (⌃B off macOS) to the toggle. @default true */
36
52
  shortcut?: boolean;
37
- /** Collapse automatically below this viewport width. Omit to never auto-collapse. */
53
+ /**
54
+ * Collapse automatically below this viewport width. Omit to never auto-collapse. Client-only for
55
+ * the same reason as `storageKey` — the server cannot measure a viewport — and applied the same
56
+ * way, before paint.
57
+ *
58
+ * **Composes with `storageKey`.** While the viewport is narrower than the breakpoint this wins:
59
+ * there is no room for a full rail, whatever was chosen on a desktop. Above it the rule has no
60
+ * opinion at all, so the stored choice stands — and crossing back UP hands back exactly what the
61
+ * narrow viewport took (the rail it collapsed), never more: a rail the user chose themself is left
62
+ * collapsed, because that is their preference rather than a leftover.
63
+ */
38
64
  collapseBelow?: SidebarBreakpoint;
39
65
  children?: React.ReactNode;
40
66
  }
@@ -160,6 +186,9 @@ interface SidebarNavigationProps {
160
186
  loading?: boolean;
161
187
  /** Accessible name for the `<nav>` landmark. @default "Main" */
162
188
  "aria-label"?: string;
189
+ /** Override the component's own copy — the collapse handle's two names. Merges under
190
+ * `<JenosizeUIProvider labels={{ sidebarNavigation }}>`; see `docs/i18n-policy.md`. */
191
+ labels?: SidebarNavigationLabels;
163
192
  /** Layout/spacing overrides for the `<nav>` only (merged via `cn()`). Cannot restyle rows. */
164
193
  className?: string;
165
194
  }
@@ -1,22 +1,24 @@
1
- "use client";export { SidebarNavigation, SidebarProvider, SidebarTrigger, useSidebar } from './chunk-CWMFEF6R.js';
2
- import './chunk-MYQ3FD4Y.js';
3
- import './chunk-7HV6EIGZ.js';
4
- import './chunk-FZBZGA3P.js';
5
- import './chunk-MFJP5FA7.js';
1
+ "use client";export { SidebarNavigation, SidebarProvider, SidebarTrigger, useSidebar } from './chunk-UGBNYSBN.js';
2
+ import './chunk-ZD3MOLIB.js';
3
+ import './chunk-LLPWQDF7.js';
4
+ import './chunk-CGZXQ7PA.js';
5
+ import './chunk-GWYDOZGQ.js';
6
+ import './chunk-SKJC2KYD.js';
7
+ import './chunk-45Y2ZGNK.js';
6
8
  import './chunk-7VLYQR4D.js';
7
9
  import './chunk-LCG34A5T.js';
8
- import './chunk-C6OTOTKI.js';
9
- import './chunk-6IUTVDNI.js';
10
- import './chunk-PO2TYK3C.js';
11
- import './chunk-FKVPAEJ6.js';
12
- import './chunk-52IFGFTL.js';
10
+ import './chunk-5AZKP4KZ.js';
11
+ import './chunk-AZ7DKRBY.js';
12
+ import './chunk-MCQG4H6T.js';
13
13
  import './chunk-O2LG3PNI.js';
14
14
  import './chunk-EDSK6FEH.js';
15
- import './chunk-4R7WDDCW.js';
16
- import './chunk-AC6ZWKRN.js';
15
+ import './chunk-52IFGFTL.js';
16
+ import './chunk-KZP6B6B3.js';
17
+ import './chunk-AFYXSZGW.js';
17
18
  import './chunk-O4GRKO3I.js';
18
19
  import './chunk-BLIZ3CL3.js';
19
- import './chunk-QDYE5LVT.js';
20
20
  import './chunk-ZSNJ6UA3.js';
21
+ import './chunk-RJTVCA62.js';
22
+ import './chunk-QDYE5LVT.js';
21
23
  //# sourceMappingURL=sidebar-navigation.js.map
22
24
  //# sourceMappingURL=sidebar-navigation.js.map
package/dist/skeleton.js CHANGED
@@ -1,5 +1,5 @@
1
- "use client";export { Skeleton, SkeletonText } from './chunk-7HV6EIGZ.js';
2
- import './chunk-QDYE5LVT.js';
1
+ "use client";export { Skeleton, SkeletonText } from './chunk-LLPWQDF7.js';
3
2
  import './chunk-ZSNJ6UA3.js';
3
+ import './chunk-QDYE5LVT.js';
4
4
  //# sourceMappingURL=skeleton.js.map
5
5
  //# sourceMappingURL=skeleton.js.map