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/README.md
CHANGED
|
@@ -27,8 +27,8 @@ resolves nothing.
|
|
|
27
27
|
`Switch` · `Table` · `Tabs` · `Tag` · `TagInput` · `Textarea` · `Toast` · `Tooltip` · `Tree` ·
|
|
28
28
|
`VerificationCodeInput`
|
|
29
29
|
|
|
30
|
-
Plus a **~
|
|
31
|
-
`/integration` `/flag`
|
|
30
|
+
Plus a **~2,600-icon catalogue** on its own subpaths (`jenosize-ui/icons` + `/payment` `/app`
|
|
31
|
+
`/integration` `/flag`) and a **form layer** on `jenosize-ui/form`. One spec per component in
|
|
32
32
|
[`docs/components/`](./docs/components/); `pnpm index:check` keeps this list honest.
|
|
33
33
|
|
|
34
34
|
## Quick start
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { j as PaymentInputLabels } from './labels-DPrh0se9.js';
|
|
2
3
|
|
|
3
4
|
type CardType = "visa" | "mastercard" | "amex" | "unionpay" | "jcb" | "unknown";
|
|
4
5
|
/** Default digit cap — mirrors UUI's public, overridable `maxLength = 19` default.
|
|
@@ -103,6 +104,9 @@ interface PaymentInputProps<A extends readonly CardType[] = readonly CardType[]>
|
|
|
103
104
|
* Luhn). A parent `error` and an `acceptedBrands` rejection both take precedence.
|
|
104
105
|
* @default "Check the card number — a digit looks wrong." */
|
|
105
106
|
luhnError?: string;
|
|
107
|
+
/** Override the component's own copy — what `brandError` / `luhnError` default to. Merges under
|
|
108
|
+
* `<JenosizeUIProvider labels={{ paymentInput }}>`; see `docs/i18n-policy.md`. */
|
|
109
|
+
labels?: PaymentInputLabels;
|
|
106
110
|
/** Maximum number of digits accepted/formatted. @default 19 — UUI's overridable
|
|
107
111
|
* `maxLength` parity; the default covers 17–19-digit UnionPay PANs. */
|
|
108
112
|
maxDigits?: number;
|
|
@@ -2,6 +2,7 @@ import { Select as Select$1 } from '@base-ui/react/select';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { M as MultiDisplay } from './multi-value-CJb_tnvi.js';
|
|
4
4
|
import { O as OptionList, L as ListboxOption, a as ListboxAction } from './options-CPEIgjtd.js';
|
|
5
|
+
import { S as SelectLabels } from './labels-DPrh0se9.js';
|
|
5
6
|
|
|
6
7
|
type SelectSize = "sm" | "md" | "lg";
|
|
7
8
|
/** How the trigger renders the selected value(s) when `multiple` — the shared list-family
|
|
@@ -74,6 +75,9 @@ interface SelectProps<Value extends string = string, Multiple extends boolean |
|
|
|
74
75
|
options: OptionList<SelectOption<Value>>;
|
|
75
76
|
/** Text shown (in `--color-text-quaternary`) when nothing is selected. @default "Select…" */
|
|
76
77
|
placeholder?: string;
|
|
78
|
+
/** Override this component's own copy — the i18n seam. Merges under `<JenosizeUIProvider labels>`;
|
|
79
|
+
* a per-instance key wins. See `docs/i18n-policy.md`. */
|
|
80
|
+
labels?: SelectLabels;
|
|
77
81
|
/** Multi-select trigger layout — the same contract as `Combobox`: `"tags"` renders one
|
|
78
82
|
* (view-only) pill per selected value, `"count"` a compact `"N selected"` summary.
|
|
79
83
|
* @default "tags" */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { o as TagInputLabels } from './labels-DPrh0se9.js';
|
|
2
3
|
|
|
3
4
|
type TagInputSize = "sm" | "md" | "lg";
|
|
4
5
|
/** Which keystroke commits the draft into a tag. A NAMED set, not raw `string[]`: the old shape
|
|
@@ -11,6 +12,9 @@ type TagInputSeparator = "enter" | "comma" | "semicolon" | "space" | "tab";
|
|
|
11
12
|
interface TagInputBaseProps {
|
|
12
13
|
/** Control height/padding/text size. @default "md" */
|
|
13
14
|
size?: TagInputSize;
|
|
15
|
+
/** Override this component's own copy — the i18n seam. Merges under `<JenosizeUIProvider labels>`;
|
|
16
|
+
* a per-instance key wins. See `docs/i18n-policy.md`. */
|
|
17
|
+
labels?: TagInputLabels;
|
|
14
18
|
/** Controlled tags. */
|
|
15
19
|
value?: string[];
|
|
16
20
|
/** Uncontrolled initial tags. */
|
package/dist/area-chart.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { a as AreaFill, A as AreaBand } from './Cartesian-ZIKPEYWP.js';
|
|
3
|
-
import { C as CartesianChartBaseProps, b as ChartCurve } from './types-
|
|
4
|
-
import './
|
|
3
|
+
import { C as CartesianChartBaseProps, b as ChartCurve } from './types-DR9rAEy1.js';
|
|
4
|
+
import './labels-DPrh0se9.js';
|
|
5
|
+
import './tooltip-surface-C2I9o2QM.js';
|
|
5
6
|
|
|
6
7
|
interface AreaChartProps<T extends object> extends CartesianChartBaseProps<T> {
|
|
7
8
|
/**
|
package/dist/area-chart.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
"use client";export { AreaChart } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-QDYE5LVT.js';
|
|
1
|
+
"use client";export { AreaChart } from './chunk-KHGW72BM.js';
|
|
2
|
+
import './chunk-5DP7W5HX.js';
|
|
3
|
+
import './chunk-22M75A3N.js';
|
|
4
|
+
import './chunk-AFYXSZGW.js';
|
|
6
5
|
import './chunk-ZSNJ6UA3.js';
|
|
6
|
+
import './chunk-RJTVCA62.js';
|
|
7
|
+
import './chunk-QDYE5LVT.js';
|
|
7
8
|
//# sourceMappingURL=area-chart.js.map
|
|
8
9
|
//# sourceMappingURL=area-chart.js.map
|
package/dist/avatar.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { A as AvatarLabels } from './labels-DPrh0se9.js';
|
|
2
3
|
|
|
3
4
|
type AvatarSize = "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
4
5
|
type AvatarShape = "circle" | "square";
|
|
@@ -85,6 +86,10 @@ interface AvatarGroupProps {
|
|
|
85
86
|
onReveal?: () => void;
|
|
86
87
|
/** Show a loading state inside the reveal popover — e.g. keep it `true` while `onReveal` fetches. */
|
|
87
88
|
revealing?: boolean;
|
|
89
|
+
/** Override the Avatar family's own copy — the overflow tile, its trigger, the reveal list's
|
|
90
|
+
* empty line and the nameless-avatar fallback. Merges under
|
|
91
|
+
* `<JenosizeUIProvider labels={{ avatar }}>`; see `docs/i18n-policy.md`. */
|
|
92
|
+
labels?: AvatarLabels;
|
|
88
93
|
/** Pass `<Avatar>` elements; their `size`/`shape` are injected by the group. */
|
|
89
94
|
children?: React.ReactNode;
|
|
90
95
|
/** **Layout/spacing only** (margins, alignment), merged via `cn()`. Never restyles internals. */
|
package/dist/avatar.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
"use client";export { Avatar, AvatarAddButton, AvatarGroup, AvatarLabelGroup, AvatarProfilePhoto } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-6IUTVDNI.js';
|
|
1
|
+
"use client";export { Avatar, AvatarAddButton, AvatarGroup, AvatarLabelGroup, AvatarProfilePhoto } from './chunk-ZHAT2XZ4.js';
|
|
2
|
+
import './chunk-N3RVMBPX.js';
|
|
3
|
+
import './chunk-LLPWQDF7.js';
|
|
5
4
|
import './chunk-FKVPAEJ6.js';
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-MCQG4H6T.js';
|
|
7
6
|
import './chunk-O2LG3PNI.js';
|
|
8
7
|
import './chunk-EDSK6FEH.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
8
|
+
import './chunk-7ZM7SNCZ.js';
|
|
9
|
+
import './chunk-KZP6B6B3.js';
|
|
10
|
+
import './chunk-AFYXSZGW.js';
|
|
11
11
|
import './chunk-O4GRKO3I.js';
|
|
12
12
|
import './chunk-BLIZ3CL3.js';
|
|
13
|
-
import './chunk-QDYE5LVT.js';
|
|
14
13
|
import './chunk-ZSNJ6UA3.js';
|
|
14
|
+
import './chunk-RJTVCA62.js';
|
|
15
|
+
import './chunk-QDYE5LVT.js';
|
|
15
16
|
//# sourceMappingURL=avatar.js.map
|
|
16
17
|
//# sourceMappingURL=avatar.js.map
|
package/dist/badge.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SemanticColor } from './color-CtSxc1Rh.js';
|
|
3
3
|
import { O as OverflowMode } from './overflow-Df0h42Oi.js';
|
|
4
|
+
import { B as BadgeLabels } from './labels-DPrh0se9.js';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* BadgeGroup — Untitled UI's "badge group" announcement pill: a badge-in-badge
|
|
@@ -99,6 +100,9 @@ interface BadgeProps extends Omit<React.ComponentPropsWithoutRef<"span">, "color
|
|
|
99
100
|
onDismiss?: () => void;
|
|
100
101
|
/** Accessible label for the dismiss button. Only used when `onDismiss` is set. @default "Dismiss" */
|
|
101
102
|
dismissLabel?: string;
|
|
103
|
+
/** Override the component's own copy — the dismiss button's default name. Merges under
|
|
104
|
+
* `<JenosizeUIProvider labels={{ badge }}>`; see `docs/i18n-policy.md`. */
|
|
105
|
+
labels?: BadgeLabels;
|
|
102
106
|
/** The label. Keep it short (1–3 words). Omit it with `leading` for an icon-only badge. */
|
|
103
107
|
children?: React.ReactNode;
|
|
104
108
|
/** **Layout/spacing only** (margin, alignment, order), merged via `cn()`. Never restyles internals. */
|
package/dist/badge.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
"use client";export { Badge, BadgeGroup } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
"use client";export { Badge, BadgeGroup } from './chunk-54SIZR63.js';
|
|
2
|
+
import './chunk-MCQG4H6T.js';
|
|
3
3
|
import './chunk-DWKILXHE.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-7ZM7SNCZ.js';
|
|
5
5
|
import './chunk-52IFGFTL.js';
|
|
6
6
|
import './chunk-BLIZ3CL3.js';
|
|
7
|
-
import './chunk-QDYE5LVT.js';
|
|
8
7
|
import './chunk-ZSNJ6UA3.js';
|
|
8
|
+
import './chunk-RJTVCA62.js';
|
|
9
|
+
import './chunk-QDYE5LVT.js';
|
|
9
10
|
//# sourceMappingURL=badge.js.map
|
|
10
11
|
//# sourceMappingURL=badge.js.map
|
package/dist/bar-chart.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { B as BarLayout } from './Cartesian-ZIKPEYWP.js';
|
|
3
|
-
import { C as CartesianChartBaseProps } from './types-
|
|
4
|
-
import './
|
|
3
|
+
import { C as CartesianChartBaseProps } from './types-DR9rAEy1.js';
|
|
4
|
+
import './labels-DPrh0se9.js';
|
|
5
|
+
import './tooltip-surface-C2I9o2QM.js';
|
|
5
6
|
|
|
6
7
|
interface BarChartProps<T extends object> extends CartesianChartBaseProps<T> {
|
|
7
8
|
/** Stack the series instead of grouping them side by side. @default false */
|
package/dist/bar-chart.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
"use client";export { BarChart } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-QDYE5LVT.js';
|
|
1
|
+
"use client";export { BarChart } from './chunk-SKRR3ZMP.js';
|
|
2
|
+
import './chunk-5DP7W5HX.js';
|
|
3
|
+
import './chunk-22M75A3N.js';
|
|
4
|
+
import './chunk-AFYXSZGW.js';
|
|
6
5
|
import './chunk-ZSNJ6UA3.js';
|
|
6
|
+
import './chunk-RJTVCA62.js';
|
|
7
|
+
import './chunk-QDYE5LVT.js';
|
|
7
8
|
//# sourceMappingURL=bar-chart.js.map
|
|
8
9
|
//# sourceMappingURL=bar-chart.js.map
|
package/dist/breadcrumb.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { a as BreadcrumbLabels } from './labels-DPrh0se9.js';
|
|
2
3
|
|
|
3
4
|
/** Emphasis: `text` is the bare trail (current crumb in brand); `button` gives every
|
|
4
5
|
* crumb a hover chip and paints the current one as a filled chip. */
|
|
@@ -46,6 +47,9 @@ interface BreadcrumbProps {
|
|
|
46
47
|
maxItems?: number;
|
|
47
48
|
/** Accessible name for the `<nav>` landmark. @default "Breadcrumb" */
|
|
48
49
|
"aria-label"?: string;
|
|
50
|
+
/** Override the component's own copy — the "…" trigger's name. Merges under
|
|
51
|
+
* `<JenosizeUIProvider labels={{ breadcrumb }}>`; see `docs/i18n-policy.md`. */
|
|
52
|
+
labels?: BreadcrumbLabels;
|
|
49
53
|
/** Layout/spacing overrides for the root `<nav>` (margin, width), merged via `cn()` — the ONE
|
|
50
54
|
* class hook, like every other flat control. Per-crumb layout is the item's own `className`. */
|
|
51
55
|
className?: string;
|
package/dist/breadcrumb.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
"use client";export { Breadcrumb } from './chunk-
|
|
1
|
+
"use client";export { Breadcrumb } from './chunk-CFFWYXDW.js';
|
|
2
|
+
import './chunk-5AZKP4KZ.js';
|
|
2
3
|
import './chunk-52IFGFTL.js';
|
|
3
4
|
import './chunk-BLIZ3CL3.js';
|
|
4
|
-
import './chunk-QDYE5LVT.js';
|
|
5
5
|
import './chunk-ZSNJ6UA3.js';
|
|
6
|
+
import './chunk-RJTVCA62.js';
|
|
7
|
+
import './chunk-QDYE5LVT.js';
|
|
6
8
|
//# sourceMappingURL=breadcrumb.js.map
|
|
7
9
|
//# sourceMappingURL=breadcrumb.js.map
|
package/dist/button.d.ts
CHANGED
|
@@ -3,9 +3,10 @@ import { useRender } from '@base-ui/react/use-render';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { S as SemanticColor } from './color-CtSxc1Rh.js';
|
|
5
5
|
import { TooltipSide } from './tooltip.js';
|
|
6
|
+
import { c as CloseButtonLabels } from './labels-DPrh0se9.js';
|
|
6
7
|
import './overflow-Df0h42Oi.js';
|
|
7
8
|
import '@base-ui/react/tooltip';
|
|
8
|
-
import './tooltip-surface-
|
|
9
|
+
import './tooltip-surface-C2I9o2QM.js';
|
|
9
10
|
|
|
10
11
|
type ButtonUtilityVariant = "secondary" | "tertiary";
|
|
11
12
|
type ButtonUtilitySize = "xs" | "sm";
|
|
@@ -54,6 +55,10 @@ interface CloseButtonProps extends useRender.ComponentProps<"button"> {
|
|
|
54
55
|
theme?: CloseButtonTheme;
|
|
55
56
|
/** Accessible name. @default "Close" */
|
|
56
57
|
label?: string;
|
|
58
|
+
/** Override the component's own copy — what `label` defaults to. This is what Dialog,
|
|
59
|
+
* AlertDialog, Drawer and Popover render, so one override names every overlay's close. Merges
|
|
60
|
+
* under `<JenosizeUIProvider labels={{ closeButton }}>`; see `docs/i18n-policy.md`. */
|
|
61
|
+
labels?: CloseButtonLabels;
|
|
57
62
|
}
|
|
58
63
|
/**
|
|
59
64
|
* Square icon-only dismiss button (UUI CloseButton) — the standard close
|
package/dist/button.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
"use client";export { Button } from './chunk-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use client";export { Button } from './chunk-OACWA4TC.js';
|
|
2
|
+
export { ButtonUtility } from './chunk-AZ7DKRBY.js';
|
|
3
|
+
import './chunk-MCQG4H6T.js';
|
|
4
|
+
export { CloseButton } from './chunk-CGHYXWTT.js';
|
|
5
5
|
import './chunk-DWKILXHE.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-7ZM7SNCZ.js';
|
|
7
7
|
import './chunk-52IFGFTL.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
8
|
+
import './chunk-KZP6B6B3.js';
|
|
9
|
+
import './chunk-AFYXSZGW.js';
|
|
10
10
|
import './chunk-O4GRKO3I.js';
|
|
11
11
|
import './chunk-BLIZ3CL3.js';
|
|
12
|
-
import './chunk-QDYE5LVT.js';
|
|
13
12
|
import './chunk-ZSNJ6UA3.js';
|
|
13
|
+
import './chunk-RJTVCA62.js';
|
|
14
|
+
import './chunk-QDYE5LVT.js';
|
|
14
15
|
//# sourceMappingURL=button.js.map
|
|
15
16
|
//# sourceMappingURL=button.js.map
|
package/dist/calendar.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { b as CalendarLabels } from './labels-DPrh0se9.js';
|
|
2
3
|
import { S as SemanticColor } from './color-CtSxc1Rh.js';
|
|
3
4
|
import { W as WeekStart } from './date-vMJBKAFK.js';
|
|
4
5
|
import { Locale } from 'date-fns';
|
|
@@ -326,6 +327,10 @@ interface CalendarProps<E extends CalendarEvent> {
|
|
|
326
327
|
size?: CalendarSize;
|
|
327
328
|
/** Draw the current-time rule in week and day view. @default true */
|
|
328
329
|
showNowLine?: boolean;
|
|
330
|
+
/** Override the component's own copy — the landmark name, the agenda empty line, the
|
|
331
|
+
* "(unavailable)" suffix, the week readout and every sentence the keyboard grab announces.
|
|
332
|
+
* Merges under `<JenosizeUIProvider labels={{ calendar }}>`; see `docs/i18n-policy.md`. */
|
|
333
|
+
labels?: CalendarLabels;
|
|
329
334
|
/** Layout/spacing only, merged via `cn()`. Cannot restyle a chip or a grid line. */
|
|
330
335
|
className?: string;
|
|
331
336
|
/** Accessible name for the grid. */
|
package/dist/calendar.js
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
"use client";export { Calendar, isWireDate, parseEvent, serializeEvent, useCalendar } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
"use client";export { Calendar, isWireDate, parseEvent, serializeEvent, useCalendar } from './chunk-FH7Z7SGQ.js';
|
|
2
|
+
import './chunk-FWRHBMWT.js';
|
|
3
|
+
import './chunk-GZMDZF2V.js';
|
|
3
4
|
import './chunk-P6CON2R2.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-MFJP5FA7.js';
|
|
9
|
-
import './chunk-LCG34A5T.js';
|
|
10
|
-
import './chunk-DJYWPJZ3.js';
|
|
11
|
-
import './chunk-42FCPC77.js';
|
|
12
|
-
import './chunk-6IUTVDNI.js';
|
|
5
|
+
import './chunk-YQYVGWIC.js';
|
|
6
|
+
import './chunk-CKMWBVRR.js';
|
|
7
|
+
import './chunk-LO22VQL5.js';
|
|
8
|
+
import './chunk-3QXLIZIX.js';
|
|
13
9
|
import './chunk-S7NNXWIN.js';
|
|
14
10
|
import './chunk-FKVPAEJ6.js';
|
|
15
|
-
import './chunk-
|
|
11
|
+
import './chunk-45Y2ZGNK.js';
|
|
12
|
+
import './chunk-LCG34A5T.js';
|
|
13
|
+
import './chunk-YIHKQ63K.js';
|
|
14
|
+
import './chunk-MCQG4H6T.js';
|
|
15
|
+
import './chunk-CGHYXWTT.js';
|
|
16
16
|
import './chunk-O2LG3PNI.js';
|
|
17
17
|
import './chunk-EDSK6FEH.js';
|
|
18
|
+
import './chunk-52IFGFTL.js';
|
|
18
19
|
import './chunk-O4GRKO3I.js';
|
|
19
20
|
import './chunk-BLIZ3CL3.js';
|
|
20
|
-
import './chunk-QDYE5LVT.js';
|
|
21
21
|
import './chunk-ZSNJ6UA3.js';
|
|
22
|
+
import './chunk-RJTVCA62.js';
|
|
23
|
+
import './chunk-QDYE5LVT.js';
|
|
22
24
|
//# sourceMappingURL=calendar.js.map
|
|
23
25
|
//# sourceMappingURL=calendar.js.map
|
package/dist/callout.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { IllustrationType } from './illustration.js';
|
|
|
7
7
|
*
|
|
8
8
|
* It covers four situations that look identical and read differently — nothing matched a search,
|
|
9
9
|
* there is no data yet, a request failed, you are offline — so the component is one shape with a
|
|
10
|
-
* `
|
|
10
|
+
* `color` and a caller-supplied `icon`/copy rather than four components.
|
|
11
11
|
*
|
|
12
12
|
* **Naming.** `Callout` here is the FULL-PANEL block. An inline banner/alert (a form-level notice,
|
|
13
13
|
* a docs admonition) is a different component and must take a different name — `Banner` or
|
|
@@ -48,21 +48,21 @@ interface CalloutBaseProps {
|
|
|
48
48
|
type CalloutVisual = {
|
|
49
49
|
/** A glyph, shown in a raised rounded-square container. Sized and tinted by the component. */
|
|
50
50
|
icon?: React.ReactNode;
|
|
51
|
-
/** Tints the icon container's GLYPH. The container itself is one treatment for every
|
|
51
|
+
/** Tints the icon container's GLYPH. The container itself is one treatment for every colour.
|
|
52
52
|
* @default "neutral" */
|
|
53
|
-
|
|
53
|
+
color?: SemanticColor;
|
|
54
54
|
illustration?: never;
|
|
55
55
|
} | {
|
|
56
56
|
/**
|
|
57
57
|
* A full line-art drawing instead of a glyph — the page-scale visual. Sized from the
|
|
58
|
-
* Callout's own `size`, and always the reference gray, so there is no `
|
|
58
|
+
* Callout's own `size`, and always the reference gray, so there is no `color` on this branch.
|
|
59
59
|
*/
|
|
60
60
|
illustration: IllustrationType;
|
|
61
61
|
icon?: never;
|
|
62
|
-
|
|
62
|
+
color?: never;
|
|
63
63
|
};
|
|
64
64
|
type CalloutProps = CalloutBaseProps & CalloutVisual;
|
|
65
|
-
declare function Callout({ title, description, icon, illustration,
|
|
65
|
+
declare function Callout({ title, description, icon, illustration, color, size, actions, className }: CalloutProps): React.JSX.Element;
|
|
66
66
|
declare namespace Callout {
|
|
67
67
|
var displayName: string;
|
|
68
68
|
}
|
package/dist/callout.js
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
"use client";export { Callout } from './chunk-
|
|
1
|
+
"use client";export { Callout } from './chunk-LQURV7HQ.js';
|
|
2
2
|
import './chunk-OHUFNYGN.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
3
|
+
import './chunk-5AZKP4KZ.js';
|
|
4
|
+
import './chunk-OACWA4TC.js';
|
|
5
|
+
import './chunk-AZ7DKRBY.js';
|
|
6
|
+
import './chunk-MCQG4H6T.js';
|
|
7
|
+
import './chunk-CGHYXWTT.js';
|
|
7
8
|
import './chunk-DWKILXHE.js';
|
|
8
|
-
import './chunk-
|
|
9
|
+
import './chunk-7ZM7SNCZ.js';
|
|
9
10
|
import './chunk-52IFGFTL.js';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-KZP6B6B3.js';
|
|
12
|
+
import './chunk-AFYXSZGW.js';
|
|
12
13
|
import './chunk-O4GRKO3I.js';
|
|
13
14
|
import './chunk-BLIZ3CL3.js';
|
|
14
|
-
import './chunk-QDYE5LVT.js';
|
|
15
15
|
import './chunk-ZSNJ6UA3.js';
|
|
16
|
+
import './chunk-RJTVCA62.js';
|
|
17
|
+
import './chunk-QDYE5LVT.js';
|
|
16
18
|
//# sourceMappingURL=callout.js.map
|
|
17
19
|
//# sourceMappingURL=callout.js.map
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { P as PanelDividers } from './panel-El4oI68p.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The **in-flow card surface** — one recipe for every bordered/rounded panel that sits in the
|
|
6
|
+
* document flow, so the library stops shipping three spellings of the same box.
|
|
7
|
+
*
|
|
8
|
+
* Before this table there were three, and they disagreed on the edge technique alone:
|
|
9
|
+
* `table/shared.ts` used `ring-1 ring-secondary` + `shadow-xs`, `field/option-row.tsx` used
|
|
10
|
+
* `border border-secondary` + no shadow, and the playground had ~88 distinct strings approximating
|
|
11
|
+
* both. The axis below is derived from what already shipped rather than invented.
|
|
12
|
+
*
|
|
13
|
+
* **One entry point: `surfaceBox(variant, shadow)`.** Card, `<Table>`'s shell, the `bordered` option
|
|
14
|
+
* row and KanbanBoard's column/card all call it, so the box is composed in ONE place and a caller
|
|
15
|
+
* cannot pick a fill without its matching edge. The tables it reads (`SURFACE_FILL`, `SURFACE_EDGE`,
|
|
16
|
+
* `SURFACE_SHADOW`) stay exported for the few sites that need one layer alone.
|
|
17
|
+
*
|
|
18
|
+
* **Ring, never border.** `lib/color.ts`'s `OUTLINE` table already commits to `ring-1 ring-inset`
|
|
19
|
+
* for exactly this reason: a `border` adds to the box, so a bordered card renders 2px larger than a
|
|
20
|
+
* ringed sibling in the same row — the defect that got `Badge`'s `modern` variant deleted. Measured
|
|
21
|
+
* on the `bordered` option row: the old `border` recipe boxed 200×50, the inset-ring one 200×48.
|
|
22
|
+
* An inset ring paints *inside* the border-box, so a surface never changes size when its edge
|
|
23
|
+
* changes weight — and a heavier selected edge cannot bleed onto whatever sits next to it.
|
|
24
|
+
*
|
|
25
|
+
* **Not the overlay family.** Dialog / Drawer / Toast / the four listbox popups are a separate,
|
|
26
|
+
* already-consistent recipe — `ring-1 ring-secondary_alt ring-inset` + `shadow-lg`/`xl`, where the
|
|
27
|
+
* alpha `border-alt` hairline reads correctly over whatever the popup floats above. Floating
|
|
28
|
+
* elevation is a different concern from an in-flow card; do not merge them into this table.
|
|
29
|
+
*
|
|
30
|
+
* This module lives in `src/lib/` (not `src/components/`) so it is invisible to the dependency-graph
|
|
31
|
+
* gate — `field/` is FOUNDATION and may import only foundation, so it could not reach a
|
|
32
|
+
* `components/card/` module at all. Same reason `cn`, `slot` and `seamless` live here.
|
|
33
|
+
*/
|
|
34
|
+
/** The inner gutter. `none` means the caller owns all spacing (full-bleed content, e.g. a table). */
|
|
35
|
+
type SurfacePadding = "none" | "sm" | "md" | "lg";
|
|
36
|
+
declare const SURFACE_PADDINGS: readonly SurfacePadding[];
|
|
37
|
+
/**
|
|
38
|
+
* Which edge + fill a surface wears — **fill only; the lift is a separate axis** (`SurfaceShadow`).
|
|
39
|
+
*
|
|
40
|
+
* - `outlined` — flat, same fill as the page. The default, and the base a `shadow` lifts.
|
|
41
|
+
* Was `option-row.tsx`'s `bordered` card, and it is what `<Table>`'s shell wears.
|
|
42
|
+
* - `subtle` — recedes instead of lifting; for a well/inset region (a control panel, a nested
|
|
43
|
+
* detail block) where the surface is a background, not an object.
|
|
44
|
+
*
|
|
45
|
+
* _There used to be a third, fused member — `elevated` (`bg-primary_alt shadow-sm`) — and a
|
|
46
|
+
* `SURFACE_VARIANT` map keyed by all three. It is deleted, in two steps. First Card split it, because
|
|
47
|
+
* a fused axis can only ever offer ONE step of a seven-step shadow scale and it made that step the
|
|
48
|
+
* default. Then KanbanBoard, its last consumer, gave up its `surface`/`cardSurface` props for a fixed
|
|
49
|
+
* recipe + `bordered`, which left `elevated` with no caller at all. The measurement that shaped it
|
|
50
|
+
* survives in `SURFACE_FILL` below — it is the reason a lifted card steps its fill._
|
|
51
|
+
*/
|
|
52
|
+
type CardSurfaceVariant = "outlined" | "subtle";
|
|
53
|
+
declare const CARD_SURFACE_VARIANTS: readonly CardSurfaceVariant[];
|
|
54
|
+
/**
|
|
55
|
+
* How far the surface lifts. The values are `theme.css`'s `--shadow-*`, which ARE the design
|
|
56
|
+
* system's published scale 1:1 — `xs`(`0 1px 2px 0 /.05`) · `sm` · `md` · `lg` · `xl` ·
|
|
57
|
+
* `2xl`(`0 24px 48px -12px /.18`) — so this table imports no new value, it only opens the scale to a
|
|
58
|
+
* caller. `none` is a real member, not an unspellable default: it names the flat state, which is
|
|
59
|
+
* what a card nested in an already-lifted surface or repeated down a dense list wants.
|
|
60
|
+
*
|
|
61
|
+
* (The published scale has a seventh step, `3xl`. `--shadow-3xl` is deliberately not declared here —
|
|
62
|
+
* it had zero call sites and was deleted; a `2xl` at 48px of blur is already the heaviest thing the
|
|
63
|
+
* library draws in flow.)
|
|
64
|
+
*/
|
|
65
|
+
type SurfaceShadow = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
66
|
+
declare const SURFACE_SHADOWS: readonly SurfaceShadow[];
|
|
67
|
+
|
|
68
|
+
type CardVariant = CardSurfaceVariant;
|
|
69
|
+
type CardPadding = SurfacePadding;
|
|
70
|
+
type CardShadow = SurfaceShadow;
|
|
71
|
+
/** `title` is a `ReactNode` here, which collides with the DOM's `title?: string` tooltip attribute. */
|
|
72
|
+
interface CardProps extends Omit<React.ComponentPropsWithoutRef<"div">, "title"> {
|
|
73
|
+
/**
|
|
74
|
+
* Edge + fill — **not** the lift, which is `shadow`. `outlined` sits flush with the page ·
|
|
75
|
+
* `subtle` is a sunken well that reads as background rather than as an object. The two differ by
|
|
76
|
+
* FILL, in both themes and at every `shadow` step, so no two combinations paint the same box.
|
|
77
|
+
* @default "outlined"
|
|
78
|
+
*/
|
|
79
|
+
variant?: CardVariant;
|
|
80
|
+
/**
|
|
81
|
+
* How far the card lifts, over the design system's published scale — `none` (flat) · `xs` · `sm` ·
|
|
82
|
+
* `md` · `lg` · `xl` · `2xl`. Any step other than `none` draws `theme.css`'s `--shadow-*` **and**
|
|
83
|
+
* raises `outlined`'s fill one stop to `bg-primary_alt`, because a black shadow at 3–18% opacity
|
|
84
|
+
* composites to a 1/255 step on dark: in light the shadow carries the lift, in dark the fill does.
|
|
85
|
+
* `subtle` is a well, so it takes the shadow but never the lifted fill. @default "none"
|
|
86
|
+
*/
|
|
87
|
+
shadow?: CardShadow;
|
|
88
|
+
/**
|
|
89
|
+
* Inner gutter. `none` hands ALL spacing to the caller — use it for full-bleed content that must
|
|
90
|
+
* reach the radius (a table, a media header). @default "md"
|
|
91
|
+
*/
|
|
92
|
+
padding?: CardPadding;
|
|
93
|
+
/**
|
|
94
|
+
* Full-bleed rule between the header and body, and the body and footer — in the library-wide
|
|
95
|
+
* texture vocabulary (`line` · `dot` · `dashed`), with `"none"` naming the off state. All three
|
|
96
|
+
* draw the same token; the texture changes the ink, never the colour. See `docs/rule-policy.md`.
|
|
97
|
+
* @default "none"
|
|
98
|
+
*/
|
|
99
|
+
dividers?: PanelDividers;
|
|
100
|
+
/**
|
|
101
|
+
* The card's headline. A `ReactNode`, so pass a heading element (`<h3>`) when the card should sit
|
|
102
|
+
* in the document outline — the wrapper is a `<div>` precisely so that stays valid HTML.
|
|
103
|
+
*/
|
|
104
|
+
title?: React.ReactNode;
|
|
105
|
+
/** One supporting line under the title. */
|
|
106
|
+
description?: React.ReactNode;
|
|
107
|
+
/** Leading header node — an `<Avatar>`, an icon. The node keeps its own a11y semantics. */
|
|
108
|
+
leading?: React.ReactNode;
|
|
109
|
+
/** Trailing header node — a `<Badge>`, a `<DropdownMenu>` trigger, an action `<Button>`. */
|
|
110
|
+
trailing?: React.ReactNode;
|
|
111
|
+
/** Footer row, below the body. */
|
|
112
|
+
footer?: React.ReactNode;
|
|
113
|
+
/** **Layout/spacing only** (width, margin, grid/flex), merged via `cn()`. Never restyles the surface. */
|
|
114
|
+
className?: string;
|
|
115
|
+
/** The body. */
|
|
116
|
+
children?: React.ReactNode;
|
|
117
|
+
}
|
|
118
|
+
declare function Card({ variant, shadow, padding, dividers, title, description, leading, trailing, footer, className, children, ...rest }: CardProps): React.JSX.Element;
|
|
119
|
+
declare namespace Card {
|
|
120
|
+
var displayName: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export { CARD_SURFACE_VARIANTS as C, SURFACE_PADDINGS as S, Card as a, type CardPadding as b, type CardProps as c, type CardShadow as d, type CardSurfaceVariant as e, type CardVariant as f, SURFACE_SHADOWS as g, type SurfacePadding as h, type SurfaceShadow as i };
|
package/dist/card.d.ts
CHANGED
|
@@ -1,52 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
export { a as Card, b as CardPadding, c as CardProps, d as CardShadow, f as CardVariant } from './card-D56VxyAe.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import './panel-El4oI68p.js';
|
|
4
4
|
import './rule-BqzaIwJy.js';
|
|
5
|
-
|
|
6
|
-
type CardVariant = SurfaceVariant;
|
|
7
|
-
type CardPadding = SurfacePadding;
|
|
8
|
-
/** `title` is a `ReactNode` here, which collides with the DOM's `title?: string` tooltip attribute. */
|
|
9
|
-
interface CardProps extends Omit<React.ComponentPropsWithoutRef<"div">, "title"> {
|
|
10
|
-
/**
|
|
11
|
-
* Edge + fill. Every member differs from its neighbours by FILL — `elevated` is a raised surface
|
|
12
|
-
* (+ `shadow-sm` in light, where a shadow can be seen) · `outlined` sits flush with the page,
|
|
13
|
-
* for a card nested in an already-elevated surface or repeated in a dense list · `subtle` is a
|
|
14
|
-
* sunken well that reads as background rather than as an object. @default "elevated"
|
|
15
|
-
*/
|
|
16
|
-
variant?: CardVariant;
|
|
17
|
-
/**
|
|
18
|
-
* Inner gutter. `none` hands ALL spacing to the caller — use it for full-bleed content that must
|
|
19
|
-
* reach the radius (a table, a media header). @default "md"
|
|
20
|
-
*/
|
|
21
|
-
padding?: CardPadding;
|
|
22
|
-
/**
|
|
23
|
-
* Full-bleed rule between the header and body, and the body and footer — in the library-wide
|
|
24
|
-
* texture vocabulary (`line` · `dot` · `dashed`), with `"none"` naming the off state. All three
|
|
25
|
-
* draw the same token; the texture changes the ink, never the colour. See `docs/rule-policy.md`.
|
|
26
|
-
* @default "none"
|
|
27
|
-
*/
|
|
28
|
-
dividers?: PanelDividers;
|
|
29
|
-
/**
|
|
30
|
-
* The card's headline. A `ReactNode`, so pass a heading element (`<h3>`) when the card should sit
|
|
31
|
-
* in the document outline — the wrapper is a `<div>` precisely so that stays valid HTML.
|
|
32
|
-
*/
|
|
33
|
-
title?: React.ReactNode;
|
|
34
|
-
/** One supporting line under the title. */
|
|
35
|
-
description?: React.ReactNode;
|
|
36
|
-
/** Leading header node — an `<Avatar>`, an icon. The node keeps its own a11y semantics. */
|
|
37
|
-
leading?: React.ReactNode;
|
|
38
|
-
/** Trailing header node — a `<Badge>`, a `<DropdownMenu>` trigger, an action `<Button>`. */
|
|
39
|
-
trailing?: React.ReactNode;
|
|
40
|
-
/** Footer row, below the body. */
|
|
41
|
-
footer?: React.ReactNode;
|
|
42
|
-
/** **Layout/spacing only** (width, margin, grid/flex), merged via `cn()`. Never restyles the surface. */
|
|
43
|
-
className?: string;
|
|
44
|
-
/** The body. */
|
|
45
|
-
children?: React.ReactNode;
|
|
46
|
-
}
|
|
47
|
-
declare function Card({ variant, padding, dividers, title, description, leading, trailing, footer, className, children, ...rest }: CardProps): React.JSX.Element;
|
|
48
|
-
declare namespace Card {
|
|
49
|
-
var displayName: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export { Card, type CardPadding, type CardProps, type CardVariant };
|
package/dist/card.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use client";export { Card } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-MFJP5FA7.js';
|
|
4
|
-
import './chunk-LCG34A5T.js';
|
|
1
|
+
"use client";export { Card } from './chunk-GZMDZF2V.js';
|
|
2
|
+
import './chunk-LO22VQL5.js';
|
|
5
3
|
import './chunk-FKVPAEJ6.js';
|
|
6
|
-
import './chunk-
|
|
4
|
+
import './chunk-45Y2ZGNK.js';
|
|
5
|
+
import './chunk-LCG34A5T.js';
|
|
7
6
|
import './chunk-O2LG3PNI.js';
|
|
8
7
|
import './chunk-EDSK6FEH.js';
|
|
8
|
+
import './chunk-52IFGFTL.js';
|
|
9
9
|
import './chunk-ZSNJ6UA3.js';
|
|
10
10
|
//# sourceMappingURL=card.js.map
|
|
11
11
|
//# sourceMappingURL=card.js.map
|
package/dist/checkbox.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
"use client";export { Checkbox, CheckboxGroup } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
1
|
+
"use client";export { Checkbox, CheckboxGroup } from './chunk-5XPMY2LF.js';
|
|
2
|
+
import './chunk-D7EE5GWU.js';
|
|
3
|
+
import './chunk-45Y2ZGNK.js';
|
|
4
|
+
import './chunk-5KSD4WKN.js';
|
|
5
|
+
import './chunk-KZP6B6B3.js';
|
|
6
|
+
import './chunk-AFYXSZGW.js';
|
|
7
7
|
import './chunk-O4GRKO3I.js';
|
|
8
8
|
import './chunk-BLIZ3CL3.js';
|
|
9
|
-
import './chunk-QDYE5LVT.js';
|
|
10
9
|
import './chunk-ZSNJ6UA3.js';
|
|
10
|
+
import './chunk-RJTVCA62.js';
|
|
11
|
+
import './chunk-QDYE5LVT.js';
|
|
11
12
|
//# sourceMappingURL=checkbox.js.map
|
|
12
13
|
//# sourceMappingURL=checkbox.js.map
|