jenosize-ui 0.2.0 → 0.2.1
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.
- package/README.md +2 -2
- package/dist/{PaymentInput-CKPIPNWH.d.ts → PaymentInput-Dn5WVQVy.d.ts} +4 -0
- package/dist/{Select-CVbEQ2Ep.d.ts → Select-Dt5ARIH8.d.ts} +4 -0
- package/dist/{TagInput-CTJYOB4J.d.ts → TagInput-BaBeve6L.d.ts} +4 -0
- package/dist/area-chart.d.ts +3 -2
- package/dist/area-chart.js +6 -5
- package/dist/avatar.d.ts +5 -0
- package/dist/avatar.js +9 -8
- package/dist/badge.d.ts +4 -0
- package/dist/badge.js +5 -4
- package/dist/bar-chart.d.ts +3 -2
- package/dist/bar-chart.js +6 -5
- package/dist/breadcrumb.d.ts +4 -0
- package/dist/breadcrumb.js +4 -2
- package/dist/button.d.ts +6 -1
- package/dist/button.js +9 -8
- package/dist/calendar.d.ts +5 -0
- package/dist/calendar.js +15 -13
- package/dist/callout.d.ts +6 -6
- package/dist/callout.js +11 -9
- package/dist/card-D56VxyAe.d.ts +123 -0
- package/dist/card.d.ts +3 -51
- package/dist/card.js +5 -5
- package/dist/checkbox.js +8 -7
- package/dist/{chunk-75M43ELV.js → chunk-22M75A3N.js} +75 -45
- package/dist/{chunk-A46ED5JQ.js → chunk-33TOK7ES.js} +7 -5
- package/dist/{chunk-RNXRZGXN.js → chunk-3H444OJA.js} +5 -3
- package/dist/{chunk-DJYWPJZ3.js → chunk-3QXLIZIX.js} +3 -12
- package/dist/chunk-3ZEEGXYF.js +8 -0
- package/dist/chunk-45Y2ZGNK.js +34 -0
- package/dist/{chunk-ILICYNK7.js → chunk-4RBIWI2Q.js} +3 -3
- package/dist/{chunk-FIGBJGH2.js → chunk-4VGEJG4M.js} +115 -79
- package/dist/{chunk-EX374YWB.js → chunk-54SIZR63.js} +15 -7
- package/dist/chunk-5AZKP4KZ.js +49 -0
- package/dist/{chunk-NA35YZRD.js → chunk-5DP7W5HX.js} +13 -11
- package/dist/{chunk-QKDEQFOQ.js → chunk-5KSD4WKN.js} +13 -4
- package/dist/{chunk-RIXEUAPY.js → chunk-5XPMY2LF.js} +5 -5
- package/dist/{chunk-6UBYHSBX.js → chunk-5ZEUTSCV.js} +5 -5
- package/dist/{chunk-DCGTB7P7.js → chunk-667ZHY3T.js} +111 -39
- package/dist/{chunk-MYQ3FD4Y.js → chunk-6B6BWTXC.js} +8 -5
- package/dist/{chunk-6HJA7NPL.js → chunk-6H4LNWQ7.js} +3 -3
- package/dist/{chunk-JAVNGTOE.js → chunk-6MMBQVRO.js} +58 -43
- package/dist/{chunk-JMWYCT63.js → chunk-7GUPNTAH.js} +14 -6
- package/dist/{chunk-TBN644IN.js → chunk-7ZM7SNCZ.js} +3 -3
- package/dist/{chunk-BD5YKFRA.js → chunk-A323V6AI.js} +5 -3
- package/dist/{chunk-AC6ZWKRN.js → chunk-AFYXSZGW.js} +2 -2
- package/dist/chunk-AIARANKE.js +33 -0
- package/dist/{chunk-54S5CUY6.js → chunk-AIGYMTCU.js} +5 -4
- package/dist/{chunk-C6OTOTKI.js → chunk-AZ7DKRBY.js} +5 -5
- package/dist/{chunk-QBHQOX23.js → chunk-BBKE4W3B.js} +18 -10
- package/dist/{chunk-4BRMM3I5.js → chunk-BFVJHH7S.js} +7 -6
- package/dist/{chunk-FFTRB2UU.js → chunk-CFFWYXDW.js} +18 -6
- package/dist/{chunk-42FCPC77.js → chunk-CGHYXWTT.js} +10 -4
- package/dist/{chunk-VEOYCAJP.js → chunk-CKMWBVRR.js} +27 -7
- package/dist/{chunk-GTHJWR3Q.js → chunk-D7EE5GWU.js} +21 -22
- package/dist/{chunk-NMERLWT7.js → chunk-E2YZ7IMT.js} +23 -7
- package/dist/{chunk-GAFGIT4Q.js → chunk-FFMTYQXE.js} +30 -10
- package/dist/{chunk-L53Y7KUV.js → chunk-FH7Z7SGQ.js} +61 -28
- package/dist/{chunk-5JRM3OES.js → chunk-FNQJJO63.js} +3 -3
- package/dist/{chunk-MD4AR43X.js → chunk-FWRHBMWT.js} +3 -3
- package/dist/{chunk-4K6V6NNK.js → chunk-GLKFFA7N.js} +10 -8
- package/dist/{chunk-EDOUI2BG.js → chunk-GQRSABRN.js} +4 -4
- package/dist/{chunk-BNIWT6CW.js → chunk-GZMDZF2V.js} +7 -6
- package/dist/{chunk-HSVBTIP2.js → chunk-HHYEAFCL.js} +70 -27
- package/dist/{chunk-P7DH62UY.js → chunk-I6WMNXC7.js} +5 -5
- package/dist/{chunk-34J5AANZ.js → chunk-IQNVSQRK.js} +3 -3
- package/dist/{chunk-MCUASLZH.js → chunk-KHGW72BM.js} +3 -3
- package/dist/{chunk-4R7WDDCW.js → chunk-KZP6B6B3.js} +4 -4
- package/dist/{chunk-7HV6EIGZ.js → chunk-LLPWQDF7.js} +3 -3
- package/dist/{chunk-FZBZGA3P.js → chunk-LO22VQL5.js} +4 -4
- package/dist/{chunk-JXHZHUB3.js → chunk-LQURV7HQ.js} +9 -7
- package/dist/{chunk-EDT5J5WK.js → chunk-LYXPJERB.js} +14 -4
- package/dist/{chunk-6IUTVDNI.js → chunk-MCQG4H6T.js} +35 -3
- package/dist/{chunk-JYBGO6GY.js → chunk-MVG5MABV.js} +11 -8
- package/dist/{chunk-PXEJ5RKO.js → chunk-N3RVMBPX.js} +6 -9
- package/dist/{chunk-VWGAMOSE.js → chunk-NKG4N6HA.js} +3 -3
- package/dist/{chunk-A5WQLN4B.js → chunk-OACWA4TC.js} +14 -52
- package/dist/{chunk-LBYCCLVI.js → chunk-OLLD2BZN.js} +9 -9
- package/dist/{chunk-T2WAD4QP.js → chunk-POQTE7JI.js} +55 -16
- package/dist/{chunk-74HPBSVY.js → chunk-QDKETK7D.js} +4 -4
- package/dist/{chunk-VH35QHD4.js → chunk-QHH6AUR3.js} +16 -8
- package/dist/chunk-RJTVCA62.js +42 -0
- package/dist/{chunk-DTMYD63D.js → chunk-S5TEWPWW.js} +46 -26
- package/dist/{chunk-3GT43XPK.js → chunk-SB3DG572.js} +15 -8
- package/dist/{chunk-NKDW6C7K.js → chunk-SKRR3ZMP.js} +3 -3
- package/dist/{chunk-CTENRS34.js → chunk-T4ZFZTY6.js} +8 -6
- package/dist/{chunk-YLEHYDXC.js → chunk-T5574MXM.js} +33 -45
- package/dist/{chunk-USL3TDZM.js → chunk-U4WSJAYK.js} +321 -105
- package/dist/{chunk-4W6AYGLR.js → chunk-UGKELBNC.js} +55 -39
- package/dist/{chunk-M5TVCASC.js → chunk-ULGCGKOE.js} +8 -6
- package/dist/{chunk-JUWDRRD6.js → chunk-X2VMIBK5.js} +4 -4
- package/dist/{chunk-763VS2FY.js → chunk-YHBI52P2.js} +3 -3
- package/dist/chunk-YIHKQ63K.js +13 -0
- package/dist/{chunk-3Z3SDKIA.js → chunk-YQYVGWIC.js} +5 -5
- package/dist/{chunk-4HKDD3PR.js → chunk-ZHAT2XZ4.js} +91 -57
- package/dist/{chunk-CWMFEF6R.js → chunk-ZMFY7WAY.js} +60 -24
- package/dist/{chunk-WKWAUU64.js → chunk-ZZSNTCCL.js} +6 -5
- package/dist/combobox.d.ts +5 -0
- package/dist/combobox.js +12 -11
- package/dist/date-input.d.ts +4 -0
- package/dist/date-input.js +11 -9
- package/dist/date-picker.d.ts +6 -0
- package/dist/date-picker.js +23 -21
- package/dist/dialog.d.ts +21 -1
- package/dist/dialog.js +10 -8
- package/dist/drawer.d.ts +11 -1
- package/dist/drawer.js +9 -7
- package/dist/dropdown-menu.d.ts +12 -0
- package/dist/dropdown-menu.js +6 -5
- package/dist/dropzone.d.ts +3 -2
- package/dist/dropzone.js +13 -12
- package/dist/form.d.ts +5 -4
- package/dist/form.js +60 -44
- package/dist/header-navigation.d.ts +5 -1
- package/dist/header-navigation.js +21 -19
- package/dist/helper.d.ts +36 -0
- package/dist/helper.js +3 -0
- package/dist/index.d.ts +13 -11
- package/dist/index.js +81 -76
- package/dist/indicator.js +4 -4
- package/dist/input.d.ts +4 -0
- package/dist/input.js +9 -8
- package/dist/kanban-board.d.ts +21 -81
- package/dist/kanban-board.js +14 -12
- package/dist/labels-DPrh0se9.d.ts +627 -0
- package/dist/line-chart.d.ts +3 -2
- package/dist/line-chart.js +6 -5
- package/dist/{nav-DcCyt00p.d.ts → nav-CKKqjBs6.d.ts} +10 -0
- package/dist/number-input.d.ts +4 -0
- package/dist/number-input.js +9 -8
- package/dist/pagination.d.ts +7 -1
- package/dist/pagination.js +11 -10
- package/dist/payment-input.d.ts +3 -2
- package/dist/payment-input.js +9 -8
- package/dist/pie-chart.d.ts +7 -3
- package/dist/pie-chart.js +6 -5
- package/dist/popover.js +9 -7
- package/dist/progress-steps.js +2 -2
- package/dist/progress.d.ts +21 -1
- package/dist/progress.js +3 -2
- package/dist/provider.d.ts +212 -0
- package/dist/provider.js +7 -0
- package/dist/radar-chart.d.ts +7 -3
- package/dist/radar-chart.js +6 -5
- package/dist/radial-chart.d.ts +7 -3
- package/dist/radial-chart.js +6 -5
- package/dist/radio.js +8 -7
- package/dist/select.d.ts +2 -1
- package/dist/select.js +14 -13
- package/dist/shared-CxAedkiy.d.ts +68 -0
- package/dist/sidebar-navigation.d.ts +28 -7
- package/dist/sidebar-navigation.js +15 -13
- package/dist/skeleton.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/switch.js +4 -4
- package/dist/table.d.ts +56 -6
- package/dist/table.js +36 -34
- package/dist/tabs.d.ts +22 -0
- package/dist/tabs.js +3 -3
- package/dist/tag-input.d.ts +3 -2
- package/dist/tag-input.js +12 -11
- package/dist/tag.d.ts +4 -0
- package/dist/tag.js +3 -2
- package/dist/textarea.js +6 -5
- package/dist/theme.css +69 -6
- package/dist/theme.js +10 -9
- package/dist/toast.d.ts +11 -2
- package/dist/toast.js +11 -9
- package/dist/{tooltip-surface-Dmvb8v5K.d.ts → tooltip-surface-C2I9o2QM.d.ts} +1 -1
- package/dist/tooltip.d.ts +2 -2
- package/dist/tooltip.js +3 -3
- package/dist/tree.d.ts +5 -0
- package/dist/tree.js +5 -4
- package/dist/{types-6kvYwtRH.d.ts → types-DR9rAEy1.d.ts} +45 -13
- package/dist/{use-uploads-ButS4dGe.d.ts → use-uploads-KaPqDklo.d.ts} +9 -0
- package/dist/verification-code-input.js +8 -7
- package/package.json +12 -1
- package/dist/chunk-MFJP5FA7.js +0 -20
- package/dist/shared-BNXAdgh2.d.ts +0 -9
- package/dist/surface-DFyDnrTJ.d.ts +0 -34
package/dist/select.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
"use client";export { Select } from './chunk-
|
|
1
|
+
"use client";export { Select } from './chunk-FFMTYQXE.js';
|
|
2
2
|
import './chunk-7S2TBALK.js';
|
|
3
|
-
export { NativeSelect } from './chunk-
|
|
4
|
-
import './chunk-EDT5J5WK.js';
|
|
5
|
-
import './chunk-S7NNXWIN.js';
|
|
3
|
+
export { NativeSelect } from './chunk-I6WMNXC7.js';
|
|
6
4
|
import './chunk-PO2TYK3C.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
5
|
+
import './chunk-LYXPJERB.js';
|
|
6
|
+
import './chunk-S7NNXWIN.js';
|
|
7
|
+
import './chunk-4RBIWI2Q.js';
|
|
8
|
+
import './chunk-6H4LNWQ7.js';
|
|
9
9
|
import './chunk-4P2NBLBW.js';
|
|
10
10
|
import './chunk-FKVPAEJ6.js';
|
|
11
11
|
import './chunk-7JBNLEJ7.js';
|
|
12
12
|
import './chunk-DWKILXHE.js';
|
|
13
|
-
import './chunk-
|
|
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-
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
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-
|
|
3
|
-
export { N as NavActionReveal, a as NavGroup, d as NavMatch, e as NavRowAction, f as NavSeparator } from './nav-
|
|
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,34 @@ 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
|
-
/**
|
|
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
|
|
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
|
-
/**
|
|
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
|
+
/** Collapse automatically below this viewport width. Omit to never auto-collapse. Client-only
|
|
54
|
+
* for the same reason as `storageKey` — the server cannot measure a viewport — and applied the
|
|
55
|
+
* same way, before paint. It wins over the stored choice. */
|
|
38
56
|
collapseBelow?: SidebarBreakpoint;
|
|
39
57
|
children?: React.ReactNode;
|
|
40
58
|
}
|
|
@@ -160,6 +178,9 @@ interface SidebarNavigationProps {
|
|
|
160
178
|
loading?: boolean;
|
|
161
179
|
/** Accessible name for the `<nav>` landmark. @default "Main" */
|
|
162
180
|
"aria-label"?: string;
|
|
181
|
+
/** Override the component's own copy — the collapse handle's two names. Merges under
|
|
182
|
+
* `<JenosizeUIProvider labels={{ sidebarNavigation }}>`; see `docs/i18n-policy.md`. */
|
|
183
|
+
labels?: SidebarNavigationLabels;
|
|
163
184
|
/** Layout/spacing overrides for the `<nav>` only (merged via `cn()`). Cannot restyle rows. */
|
|
164
185
|
className?: string;
|
|
165
186
|
}
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
"use client";export { SidebarNavigation, SidebarProvider, SidebarTrigger, useSidebar } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-MFJP5FA7.js';
|
|
6
|
-
import './chunk-7VLYQR4D.js';
|
|
7
|
-
import './chunk-LCG34A5T.js';
|
|
8
|
-
import './chunk-C6OTOTKI.js';
|
|
9
|
-
import './chunk-6IUTVDNI.js';
|
|
1
|
+
"use client";export { SidebarNavigation, SidebarProvider, SidebarTrigger, useSidebar } from './chunk-ZMFY7WAY.js';
|
|
2
|
+
import './chunk-6B6BWTXC.js';
|
|
3
|
+
import './chunk-LLPWQDF7.js';
|
|
4
|
+
import './chunk-LO22VQL5.js';
|
|
10
5
|
import './chunk-PO2TYK3C.js';
|
|
11
6
|
import './chunk-FKVPAEJ6.js';
|
|
12
|
-
import './chunk-
|
|
7
|
+
import './chunk-45Y2ZGNK.js';
|
|
8
|
+
import './chunk-7VLYQR4D.js';
|
|
9
|
+
import './chunk-LCG34A5T.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-
|
|
16
|
-
import './chunk-
|
|
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-
|
|
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
|