jenosize-ui 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -7
- package/dist/Cartesian-ZIKPEYWP.d.ts +26 -0
- package/dist/area-chart.d.ts +53 -0
- package/dist/area-chart.js +8 -0
- package/dist/avatar.d.ts +19 -0
- package/dist/avatar.js +12 -7
- package/dist/badge.js +5 -5
- package/dist/bar-chart.d.ts +31 -0
- package/dist/bar-chart.js +8 -0
- package/dist/breadcrumb.js +3 -3
- package/dist/button.d.ts +11 -1
- package/dist/button.js +9 -8
- package/dist/calendar.js +14 -12
- package/dist/callout.js +10 -9
- package/dist/card.d.ts +52 -2
- package/dist/card.js +6 -2
- package/dist/checkbox.js +6 -5
- package/dist/chunk-34J5AANZ.js +605 -0
- package/dist/{chunk-D6TPWNRK.js → chunk-3GT43XPK.js} +5 -5
- package/dist/{chunk-3Y5X7B5C.js → chunk-3Z3SDKIA.js} +6 -11
- package/dist/{chunk-MQGD2OUF.js → chunk-42FCPC77.js} +3 -3
- package/dist/{chunk-Z3ETJN5G.js → chunk-4BRMM3I5.js} +6 -11
- package/dist/{chunk-WZQFC7ZN.js → chunk-4HKDD3PR.js} +55 -16
- package/dist/chunk-4K6V6NNK.js +169 -0
- package/dist/{chunk-ZZA2LUTL.js → chunk-4R7WDDCW.js} +41 -16
- package/dist/{chunk-BJUZVYQC.js → chunk-4W6AYGLR.js} +12 -12
- package/dist/{chunk-4OLULPQG.js → chunk-54S5CUY6.js} +8 -5
- package/dist/{chunk-GRLSUQQE.js → chunk-5JRM3OES.js} +4 -4
- package/dist/chunk-5ZPUAGOP.js +19 -0
- package/dist/{chunk-W5GGOUUI.js → chunk-6HJA7NPL.js} +3 -3
- package/dist/{chunk-CME4DIML.js → chunk-6IUTVDNI.js} +22 -3
- package/dist/chunk-6UBYHSBX.js +147 -0
- package/dist/{chunk-HMUZE6EK.js → chunk-74HPBSVY.js} +3 -3
- package/dist/chunk-75M43ELV.js +366 -0
- package/dist/chunk-763VS2FY.js +10 -0
- package/dist/chunk-7HV6EIGZ.js +26 -0
- package/dist/chunk-7VLYQR4D.js +44 -0
- package/dist/{chunk-D5BTFSL7.js → chunk-A46ED5JQ.js} +3 -3
- package/dist/{chunk-W46K56XU.js → chunk-A5WQLN4B.js} +8 -24
- package/dist/chunk-AC6ZWKRN.js +23 -0
- package/dist/{chunk-E7ZSWBAK.js → chunk-BD5YKFRA.js} +4 -4
- package/dist/chunk-BLIZ3CL3.js +49 -0
- package/dist/{chunk-DRZCJCBO.js → chunk-BNIWT6CW.js} +4 -4
- package/dist/{chunk-JVJRHBTD.js → chunk-C6OTOTKI.js} +21 -8
- package/dist/chunk-CTENRS34.js +60 -0
- package/dist/{chunk-7IU5TMFL.js → chunk-CWMFEF6R.js} +75 -27
- package/dist/{chunk-JTNFJLIY.js → chunk-DCGTB7P7.js} +13 -13
- package/dist/{chunk-GFOAJVW5.js → chunk-DJYWPJZ3.js} +3 -3
- package/dist/{chunk-MUFHLP4S.js → chunk-DTMYD63D.js} +11 -22
- package/dist/{chunk-KDLPXXD2.js → chunk-EDOUI2BG.js} +4 -4
- package/dist/{chunk-R6RGJF4L.js → chunk-EDT5J5WK.js} +4 -4
- package/dist/{chunk-PWKWNDBS.js → chunk-EX374YWB.js} +6 -6
- package/dist/{chunk-F2K7VJUV.js → chunk-FFTRB2UU.js} +4 -4
- package/dist/chunk-FIGBJGH2.js +1474 -0
- package/dist/chunk-FKVPAEJ6.js +57 -0
- package/dist/{chunk-J7ZQQFPT.js → chunk-FZBZGA3P.js} +17 -17
- package/dist/{chunk-T7FCG7XV.js → chunk-GAFGIT4Q.js} +10 -10
- package/dist/chunk-HSVBTIP2.js +482 -0
- package/dist/{chunk-FHHAPGCR.js → chunk-ILICYNK7.js} +3 -3
- package/dist/{chunk-WFY7DKQD.js → chunk-JAVNGTOE.js} +9 -14
- package/dist/{chunk-7HOIZ3UO.js → chunk-JMWYCT63.js} +6 -6
- package/dist/{chunk-QA74ITR4.js → chunk-JUWDRRD6.js} +45 -17
- package/dist/{chunk-BVJWBYIG.js → chunk-JXHZHUB3.js} +4 -4
- package/dist/{chunk-VWC72TR3.js → chunk-JYBGO6GY.js} +7 -7
- package/dist/{chunk-J36M3KRX.js → chunk-L53Y7KUV.js} +13 -11
- package/dist/chunk-LBYCCLVI.js +33 -0
- package/dist/chunk-LCG34A5T.js +98 -0
- package/dist/chunk-M5TVCASC.js +75 -0
- package/dist/chunk-MCUASLZH.js +10 -0
- package/dist/{chunk-5RAPA22E.js → chunk-MD4AR43X.js} +4 -4
- package/dist/{chunk-JP26LPCY.js → chunk-MYQ3FD4Y.js} +25 -11
- package/dist/chunk-NA35YZRD.js +252 -0
- package/dist/chunk-NKDW6C7K.js +10 -0
- package/dist/{chunk-5NOBSXJN.js → chunk-NMERLWT7.js} +6 -6
- package/dist/{chunk-KMSYEE23.js → chunk-P6CON2R2.js} +25 -11
- package/dist/{chunk-LME57Z6J.js → chunk-P7DH62UY.js} +6 -6
- package/dist/chunk-PO2TYK3C.js +17 -0
- package/dist/{chunk-5FATN5YD.js → chunk-PXEJ5RKO.js} +4 -4
- package/dist/{chunk-JYGR44ZC.js → chunk-QBHQOX23.js} +6 -6
- package/dist/{chunk-GCVA3OIV.js → chunk-QDYE5LVT.js} +13 -3
- package/dist/{chunk-J2BCKBHC.js → chunk-QKDEQFOQ.js} +4 -4
- package/dist/{chunk-ZOOX3TUB.js → chunk-RIXEUAPY.js} +5 -5
- package/dist/{chunk-THC2ISYP.js → chunk-RNXRZGXN.js} +4 -4
- package/dist/{chunk-7EWQKTNQ.js → chunk-T2WAD4QP.js} +15 -13
- package/dist/{chunk-KNYKWUYX.js → chunk-TBN644IN.js} +3 -3
- package/dist/{chunk-MKC5HNA7.js → chunk-USL3TDZM.js} +101 -90
- package/dist/{chunk-CYPPEUX5.js → chunk-VEOYCAJP.js} +4 -9
- package/dist/{chunk-WEUJYDCV.js → chunk-VH35QHD4.js} +6 -6
- package/dist/chunk-VWGAMOSE.js +188 -0
- package/dist/{chunk-SV56BSUQ.js → chunk-WKWAUU64.js} +4 -4
- package/dist/chunk-X2X7Q7NW.js +17 -0
- package/dist/{chunk-I7WU4GTY.js → chunk-YLEHYDXC.js} +5 -5
- package/dist/combobox.js +12 -10
- package/dist/control-size-CaxQhkKh.d.ts +3 -0
- package/dist/date-input.js +9 -8
- package/dist/date-picker.js +20 -17
- package/dist/dialog.d.ts +16 -4
- package/dist/dialog.js +8 -6
- package/dist/drawer.d.ts +9 -2
- package/dist/drawer.js +7 -5
- package/dist/dropdown-menu.d.ts +14 -2
- package/dist/dropdown-menu.js +7 -3
- package/dist/dropzone.d.ts +34 -0
- package/dist/dropzone.js +22 -0
- package/dist/form.d.ts +78 -0
- package/dist/form.js +176 -32
- package/dist/header-navigation.d.ts +15 -4
- package/dist/header-navigation.js +19 -14
- package/dist/index.d.ts +26 -4
- package/dist/index.js +76 -56
- package/dist/indicator.js +4 -4
- package/dist/input.js +8 -7
- package/dist/kanban-board.d.ts +549 -0
- package/dist/kanban-board.js +23 -0
- package/dist/line-chart.d.ts +35 -0
- package/dist/line-chart.js +8 -0
- package/dist/{nav-Bla0o_-1.d.ts → nav-DcCyt00p.d.ts} +8 -11
- package/dist/number-input.js +8 -7
- package/dist/pagination.js +12 -9
- package/dist/panel-El4oI68p.d.ts +9 -0
- package/dist/payment-input.js +8 -7
- package/dist/pie-chart.d.ts +60 -0
- package/dist/pie-chart.js +8 -0
- package/dist/popover.d.ts +9 -3
- package/dist/popover.js +7 -5
- package/dist/progress-steps.d.ts +275 -0
- package/dist/progress-steps.js +8 -0
- package/dist/progress.js +2 -2
- package/dist/radar-chart.d.ts +73 -0
- package/dist/radar-chart.js +8 -0
- package/dist/radial-chart.d.ts +69 -0
- package/dist/radial-chart.js +8 -0
- package/dist/radio.js +6 -5
- package/dist/rule-BqzaIwJy.d.ts +80 -0
- package/dist/scroll-area.d.ts +62 -0
- package/dist/scroll-area.js +7 -0
- package/dist/select.d.ts +1 -2
- package/dist/select.js +15 -13
- package/dist/separator.d.ts +114 -0
- package/dist/separator.js +5 -0
- package/dist/sidebar-navigation.d.ts +54 -7
- package/dist/sidebar-navigation.js +15 -8
- package/dist/skeleton.d.ts +61 -0
- package/dist/skeleton.js +5 -0
- package/dist/styles.css +1 -1
- package/dist/surface-DFyDnrTJ.d.ts +34 -0
- package/dist/switch.js +2 -2
- package/dist/table.d.ts +94 -38
- package/dist/table.js +32 -28
- package/dist/tabs.js +2 -2
- package/dist/tag-input.js +11 -10
- package/dist/tag.js +3 -3
- package/dist/textarea.js +6 -5
- package/dist/theme.css +82 -0
- package/dist/theme.js +10 -9
- package/dist/toast.js +10 -9
- package/dist/tooltip-surface-Dmvb8v5K.d.ts +35 -0
- package/dist/tooltip.d.ts +15 -1
- package/dist/tooltip.js +3 -2
- package/dist/tree.js +6 -5
- package/dist/types-6kvYwtRH.d.ts +156 -0
- package/dist/use-uploads-ButS4dGe.d.ts +473 -0
- package/dist/verification-code-input.d.ts +84 -0
- package/dist/verification-code-input.js +13 -0
- package/package.json +59 -9
- package/dist/card-nWicloNi.d.ts +0 -80
- package/dist/chunk-24TO7E32.js +0 -42
- package/dist/chunk-FXIBGTS5.js +0 -14
- package/dist/chunk-ZZT2E5VT.js +0 -24
package/README.md
CHANGED
|
@@ -16,13 +16,16 @@ resolves nothing.
|
|
|
16
16
|
- **Implementation plan:** [`docs/IMPLEMENTATION-PLAN.md`](./docs/IMPLEMENTATION-PLAN.md).
|
|
17
17
|
- **Install guide:** [`docs/install.md`](./docs/install.md).
|
|
18
18
|
|
|
19
|
-
## Components (
|
|
20
|
-
|
|
21
|
-
`
|
|
22
|
-
`
|
|
23
|
-
`
|
|
24
|
-
`
|
|
25
|
-
`
|
|
19
|
+
## Components (49)
|
|
20
|
+
|
|
21
|
+
`AreaChart` · `Avatar` · `Badge` · `BarChart` · `Breadcrumb` · `Button` · `Calendar` · `Callout` ·
|
|
22
|
+
`Card` · `Checkbox` · `Combobox` · `DateInput` · `DatePicker` · `Dialog` · `Drawer` ·
|
|
23
|
+
`DropdownMenu` · `Dropzone` · `FileList` · `FileTrigger` · `HeaderNavigation` · `Illustration` · `Indicator` · `Input` ·
|
|
24
|
+
`KanbanBoard` · `LineChart` · `NumberInput` · `Pagination` · `PaymentInput` · `PieChart` ·
|
|
25
|
+
`Popover` · `Progress` · `ProgressSteps` ·
|
|
26
|
+
`RadarChart` · `RadialChart` · `RadioGroup` · `ScrollArea` · `Select` · `Separator` · `SidebarNavigation` · `Skeleton` ·
|
|
27
|
+
`Switch` · `Table` · `Tabs` · `Tag` · `TagInput` · `Textarea` · `Toast` · `Tooltip` · `Tree` ·
|
|
28
|
+
`VerificationCodeInput`
|
|
26
29
|
|
|
27
30
|
Plus a **~1,900-icon catalogue** on its own subpaths (`jenosize-ui/icons` + `/payment` `/app`
|
|
28
31
|
`/integration` `/flag` `/file`) and a **form layer** on `jenosize-ui/form`. One spec per component in
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The cartesian renderer — **internal. Never exported from the barrel, never named in a doc, never
|
|
3
|
+
* in `src/index.ts`.** It is not a fourth component and `compound:check` must never see it.
|
|
4
|
+
*
|
|
5
|
+
* `00-overview`'s flagged decision — `AreaChart` and `LineChart` are ~90% the same component — is
|
|
6
|
+
* contained by this file and only this file: the axis / grid / legend / tooltip wiring exists ONCE,
|
|
7
|
+
* and each public component is a thin type plus a `<Cartesian mark={…}>` call. If you find yourself
|
|
8
|
+
* copying an `<XAxis>` between `AreaChart.tsx`, `BarChart.tsx` and `LineChart.tsx`, stop — it
|
|
9
|
+
* belongs here.
|
|
10
|
+
*
|
|
11
|
+
* The `mark` is a **discriminated union, not three booleans**. That is what makes "a bar chart has
|
|
12
|
+
* no `curve`" a type fact rather than a comment.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/** `gradient` fades to nothing; `solid` is a flat wash; `none` is an outline. ONE union, no boolean pair. */
|
|
16
|
+
type AreaFill = "gradient" | "solid" | "none";
|
|
17
|
+
/**
|
|
18
|
+
* Where the band sits relative to the line above it. A union rather than a `gap?: boolean`, because
|
|
19
|
+
* BOTH states are a deliberate look and both deserve a name — the reference's detached band and the
|
|
20
|
+
* seamless one a stack needs. Every class it implies is in `AREA_BAND`.
|
|
21
|
+
*/
|
|
22
|
+
type AreaBand = "detached" | "flush";
|
|
23
|
+
/** `columns` = upright bars. `bars` = horizontal. Recharts' own spelling is inverted; see `BAR_LAYOUT`. */
|
|
24
|
+
type BarLayout = "columns" | "bars";
|
|
25
|
+
|
|
26
|
+
export type { AreaBand as A, BarLayout as B, AreaFill as a };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { a as AreaFill, A as AreaBand } from './Cartesian-ZIKPEYWP.js';
|
|
3
|
+
import { C as CartesianChartBaseProps, b as ChartCurve } from './types-6kvYwtRH.js';
|
|
4
|
+
import './tooltip-surface-Dmvb8v5K.js';
|
|
5
|
+
|
|
6
|
+
interface AreaChartProps<T extends object> extends CartesianChartBaseProps<T> {
|
|
7
|
+
/**
|
|
8
|
+
* How the band under each line is painted. ONE union, never a `gradient` + `solid` boolean pair —
|
|
9
|
+
* they answer the same question and only one can win.
|
|
10
|
+
*
|
|
11
|
+
* `"none"` is the reference's own line treatment (series B and C in all four of its line demos).
|
|
12
|
+
* Keeping it here rather than routing to `<LineChart>` lets a caller emphasise ONE series in an
|
|
13
|
+
* area chart without switching component.
|
|
14
|
+
*
|
|
15
|
+
* @default "gradient"
|
|
16
|
+
*/
|
|
17
|
+
fill?: AreaFill;
|
|
18
|
+
/**
|
|
19
|
+
* Where the band sits relative to its own line — a separate question from `fill`, because it
|
|
20
|
+
* applies to `gradient` and `solid` alike.
|
|
21
|
+
*
|
|
22
|
+
* `"detached"` is the reference's look: the fill is pushed 6px down, so a hairline of background
|
|
23
|
+
* shows between the line and the wash. `"flush"` removes that seam — the wash starts at the
|
|
24
|
+
* stroke. Prefer `flush` when the bands are `stacked` (a gap per member reads as missing data) or
|
|
25
|
+
* when the plot is short enough that 6px is a visible slice of it.
|
|
26
|
+
*
|
|
27
|
+
* A union, not a `gap` boolean: both states are a deliberate look and both are worth naming.
|
|
28
|
+
*
|
|
29
|
+
* @default "detached"
|
|
30
|
+
*/
|
|
31
|
+
band?: AreaBand;
|
|
32
|
+
/**
|
|
33
|
+
* Stack the series instead of overlaying them.
|
|
34
|
+
*
|
|
35
|
+
* Forces `fill` to `"solid"` when it would otherwise be `"none"` — a stacked outline is
|
|
36
|
+
* unreadable, so this is a derived cascade rather than a dev-warn about a state the type allows.
|
|
37
|
+
*
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
stacked?: boolean;
|
|
41
|
+
/** @default "monotone" */
|
|
42
|
+
curve?: ChartCurve;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A filled trend over a category axis.
|
|
46
|
+
*
|
|
47
|
+
* Built on a hidden recharts engine — none of its vocabulary is public, there are no compound parts
|
|
48
|
+
* and there is no prop passthrough. Chrome is plot-only: no `title`/`description`, because the
|
|
49
|
+
* caller wraps it in a `<Card>` and writes their own header.
|
|
50
|
+
*/
|
|
51
|
+
declare function AreaChart<T extends object>({ fill, band, stacked, curve, ...rest }: AreaChartProps<T>): React.JSX.Element;
|
|
52
|
+
|
|
53
|
+
export { AreaBand, AreaChart, type AreaChartProps, AreaFill };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use client";export { AreaChart } from './chunk-MCUASLZH.js';
|
|
2
|
+
import './chunk-NA35YZRD.js';
|
|
3
|
+
import './chunk-75M43ELV.js';
|
|
4
|
+
import './chunk-AC6ZWKRN.js';
|
|
5
|
+
import './chunk-QDYE5LVT.js';
|
|
6
|
+
import './chunk-ZSNJ6UA3.js';
|
|
7
|
+
//# sourceMappingURL=area-chart.js.map
|
|
8
|
+
//# sourceMappingURL=area-chart.js.map
|
package/dist/avatar.d.ts
CHANGED
|
@@ -119,6 +119,16 @@ interface AvatarLabelGroupProps {
|
|
|
119
119
|
* second channel for the same thing that quietly loses. `className` is merged.
|
|
120
120
|
* See `docs/type-safety-policy.md`. */
|
|
121
121
|
imageProps?: Omit<React.ComponentPropsWithoutRef<"img">, "src" | "alt">;
|
|
122
|
+
/**
|
|
123
|
+
* Draw the placeholder instead of the person — same box, same two line heights, same gaps, so
|
|
124
|
+
* nothing moves when the data lands. @default false
|
|
125
|
+
*
|
|
126
|
+
* The placeholder always draws BOTH lines, even though `subtitle` is optional: while loading the
|
|
127
|
+
* caller usually has neither value yet, so mirroring `subtitle != null` would draw one line and
|
|
128
|
+
* then jump when the second arrives. A label group that never has a subtitle pays one line of
|
|
129
|
+
* over-draw for that; the jump is the worse of the two.
|
|
130
|
+
*/
|
|
131
|
+
loading?: boolean;
|
|
122
132
|
/** **Layout/spacing only** (margin, width for truncation), merged via `cn()`. */
|
|
123
133
|
className?: string;
|
|
124
134
|
}
|
|
@@ -153,6 +163,15 @@ interface AvatarProfilePhotoProps {
|
|
|
153
163
|
* second channel for the same thing that quietly loses. `className` is merged.
|
|
154
164
|
* See `docs/type-safety-policy.md`. */
|
|
155
165
|
imageProps?: Omit<React.ComponentPropsWithoutRef<"img">, "src" | "alt">;
|
|
166
|
+
/**
|
|
167
|
+
* Draw the placeholder instead of the photo — the same outer box at the same `size`/`shape`, so
|
|
168
|
+
* nothing moves when the photo lands. @default false
|
|
169
|
+
*
|
|
170
|
+
* It replaces the whole two-layer frame rather than filling the inner circle: the hairline, gloss
|
|
171
|
+
* and shadow are the PHOTO's treatment (they already gate on `!isFailed`), and painting them
|
|
172
|
+
* around a grey disc reads as a broken image rather than as a pending one.
|
|
173
|
+
*/
|
|
174
|
+
loading?: boolean;
|
|
156
175
|
/** **Layout/spacing only**, merged via `cn()`. */
|
|
157
176
|
className?: string;
|
|
158
177
|
}
|
package/dist/avatar.js
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
"use client";export { Avatar, AvatarAddButton, AvatarGroup, AvatarLabelGroup, AvatarProfilePhoto } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
1
|
+
"use client";export { Avatar, AvatarAddButton, AvatarGroup, AvatarLabelGroup, AvatarProfilePhoto } from './chunk-4HKDD3PR.js';
|
|
2
|
+
import './chunk-PXEJ5RKO.js';
|
|
3
|
+
import './chunk-7HV6EIGZ.js';
|
|
4
|
+
import './chunk-6IUTVDNI.js';
|
|
5
|
+
import './chunk-FKVPAEJ6.js';
|
|
6
|
+
import './chunk-TBN644IN.js';
|
|
7
|
+
import './chunk-O2LG3PNI.js';
|
|
8
|
+
import './chunk-EDSK6FEH.js';
|
|
9
|
+
import './chunk-4R7WDDCW.js';
|
|
10
|
+
import './chunk-AC6ZWKRN.js';
|
|
7
11
|
import './chunk-O4GRKO3I.js';
|
|
8
|
-
import './chunk-
|
|
12
|
+
import './chunk-BLIZ3CL3.js';
|
|
13
|
+
import './chunk-QDYE5LVT.js';
|
|
9
14
|
import './chunk-ZSNJ6UA3.js';
|
|
10
15
|
//# sourceMappingURL=avatar.js.map
|
|
11
16
|
//# sourceMappingURL=avatar.js.map
|
package/dist/badge.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use client";export { Badge, BadgeGroup } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
"use client";export { Badge, BadgeGroup } from './chunk-EX374YWB.js';
|
|
2
|
+
import './chunk-6IUTVDNI.js';
|
|
3
3
|
import './chunk-DWKILXHE.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-TBN644IN.js';
|
|
5
5
|
import './chunk-52IFGFTL.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-BLIZ3CL3.js';
|
|
7
|
+
import './chunk-QDYE5LVT.js';
|
|
8
8
|
import './chunk-ZSNJ6UA3.js';
|
|
9
9
|
//# sourceMappingURL=badge.js.map
|
|
10
10
|
//# sourceMappingURL=badge.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { B as BarLayout } from './Cartesian-ZIKPEYWP.js';
|
|
3
|
+
import { C as CartesianChartBaseProps } from './types-6kvYwtRH.js';
|
|
4
|
+
import './tooltip-surface-Dmvb8v5K.js';
|
|
5
|
+
|
|
6
|
+
interface BarChartProps<T extends object> extends CartesianChartBaseProps<T> {
|
|
7
|
+
/** Stack the series instead of grouping them side by side. @default false */
|
|
8
|
+
stacked?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* `"columns"` = upright bars. `"bars"` = horizontal.
|
|
11
|
+
*
|
|
12
|
+
* Ours, not the engine's: recharts spells upright bars `layout="vertical"`, which reads backwards
|
|
13
|
+
* to every human. The mapping lives in ONE table (`BAR_LAYOUT` in `shared.ts`), which also owns
|
|
14
|
+
* the axis-role swap that comes with it.
|
|
15
|
+
*
|
|
16
|
+
* @default "columns"
|
|
17
|
+
*/
|
|
18
|
+
layout?: BarLayout;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Discrete quantities over a category axis, grouped or stacked.
|
|
22
|
+
*
|
|
23
|
+
* Bar width, the rounded cap and the gap are geometry, not caller choice — they derive from the
|
|
24
|
+
* reference's own values and are not exposed as props.
|
|
25
|
+
*
|
|
26
|
+
* Built on a hidden recharts engine — none of its vocabulary is public, there are no compound parts
|
|
27
|
+
* and there is no prop passthrough.
|
|
28
|
+
*/
|
|
29
|
+
declare function BarChart<T extends object>({ stacked, layout, ...rest }: BarChartProps<T>): React.JSX.Element;
|
|
30
|
+
|
|
31
|
+
export { BarChart, type BarChartProps, BarLayout };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use client";export { BarChart } from './chunk-NKDW6C7K.js';
|
|
2
|
+
import './chunk-NA35YZRD.js';
|
|
3
|
+
import './chunk-75M43ELV.js';
|
|
4
|
+
import './chunk-AC6ZWKRN.js';
|
|
5
|
+
import './chunk-QDYE5LVT.js';
|
|
6
|
+
import './chunk-ZSNJ6UA3.js';
|
|
7
|
+
//# sourceMappingURL=bar-chart.js.map
|
|
8
|
+
//# sourceMappingURL=bar-chart.js.map
|
package/dist/breadcrumb.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";export { Breadcrumb } from './chunk-
|
|
1
|
+
"use client";export { Breadcrumb } from './chunk-FFTRB2UU.js';
|
|
2
2
|
import './chunk-52IFGFTL.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-BLIZ3CL3.js';
|
|
4
|
+
import './chunk-QDYE5LVT.js';
|
|
5
5
|
import './chunk-ZSNJ6UA3.js';
|
|
6
6
|
//# sourceMappingURL=breadcrumb.js.map
|
|
7
7
|
//# sourceMappingURL=breadcrumb.js.map
|
package/dist/button.d.ts
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
1
|
export { B as Button, a as ButtonProps, b as ButtonSize, c as ButtonVariant } from './Button-Bt7pzM4R.js';
|
|
2
2
|
import { useRender } from '@base-ui/react/use-render';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
+
import { S as SemanticColor } from './color-CtSxc1Rh.js';
|
|
4
5
|
import { TooltipSide } from './tooltip.js';
|
|
5
|
-
import './color-CtSxc1Rh.js';
|
|
6
6
|
import './overflow-Df0h42Oi.js';
|
|
7
7
|
import '@base-ui/react/tooltip';
|
|
8
|
+
import './tooltip-surface-Dmvb8v5K.js';
|
|
8
9
|
|
|
9
10
|
type ButtonUtilityVariant = "secondary" | "tertiary";
|
|
10
11
|
type ButtonUtilitySize = "xs" | "sm";
|
|
11
12
|
interface ButtonUtilityProps extends useRender.ComponentProps<"button"> {
|
|
12
13
|
/** Visual intent (UUI ButtonUtility colors). @default "secondary" */
|
|
13
14
|
variant?: ButtonUtilityVariant;
|
|
15
|
+
/**
|
|
16
|
+
* Semantic tone of the GLYPH — the library's one colour axis, same as `Button.color`.
|
|
17
|
+
*
|
|
18
|
+
* Orthogonal to `variant`, which owns the BOX: a destructive row action is
|
|
19
|
+
* `variant="tertiary" color="error"`, i.e. a ghost box with a red glyph, not a red box.
|
|
20
|
+
* Unlike `Button`, the default is not variant-aware — a utility button is a glyph and its
|
|
21
|
+
* resting tone is the icon gray for both variants. @default "neutral"
|
|
22
|
+
*/
|
|
23
|
+
color?: SemanticColor;
|
|
14
24
|
/** Compact utility sizes only: `xs` (16px icon) · `sm` (20px icon). @default "sm" */
|
|
15
25
|
size?: ButtonUtilitySize;
|
|
16
26
|
/** The single icon shown inside the button. */
|
package/dist/button.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
"use client";export { Button } from './chunk-
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
|
|
1
|
+
"use client";export { Button } from './chunk-A5WQLN4B.js';
|
|
2
|
+
export { CloseButton } from './chunk-42FCPC77.js';
|
|
3
|
+
export { ButtonUtility } from './chunk-C6OTOTKI.js';
|
|
4
|
+
import './chunk-6IUTVDNI.js';
|
|
5
5
|
import './chunk-DWKILXHE.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-TBN644IN.js';
|
|
7
7
|
import './chunk-52IFGFTL.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
8
|
+
import './chunk-4R7WDDCW.js';
|
|
9
|
+
import './chunk-AC6ZWKRN.js';
|
|
10
10
|
import './chunk-O4GRKO3I.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-BLIZ3CL3.js';
|
|
12
|
+
import './chunk-QDYE5LVT.js';
|
|
12
13
|
import './chunk-ZSNJ6UA3.js';
|
|
13
14
|
//# sourceMappingURL=button.js.map
|
|
14
15
|
//# sourceMappingURL=button.js.map
|
package/dist/calendar.js
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
"use client";export { Calendar, isWireDate, parseEvent, serializeEvent, useCalendar } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
1
|
+
"use client";export { Calendar, isWireDate, parseEvent, serializeEvent, useCalendar } from './chunk-L53Y7KUV.js';
|
|
2
|
+
import './chunk-BNIWT6CW.js';
|
|
3
|
+
import './chunk-P6CON2R2.js';
|
|
4
|
+
import './chunk-MD4AR43X.js';
|
|
5
|
+
import './chunk-3Z3SDKIA.js';
|
|
6
|
+
import './chunk-VEOYCAJP.js';
|
|
7
|
+
import './chunk-FZBZGA3P.js';
|
|
8
8
|
import './chunk-MFJP5FA7.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
9
|
+
import './chunk-LCG34A5T.js';
|
|
10
|
+
import './chunk-DJYWPJZ3.js';
|
|
11
|
+
import './chunk-42FCPC77.js';
|
|
12
|
+
import './chunk-6IUTVDNI.js';
|
|
12
13
|
import './chunk-S7NNXWIN.js';
|
|
14
|
+
import './chunk-FKVPAEJ6.js';
|
|
13
15
|
import './chunk-52IFGFTL.js';
|
|
14
16
|
import './chunk-O2LG3PNI.js';
|
|
15
17
|
import './chunk-EDSK6FEH.js';
|
|
16
|
-
import './chunk-24TO7E32.js';
|
|
17
18
|
import './chunk-O4GRKO3I.js';
|
|
18
|
-
import './chunk-
|
|
19
|
+
import './chunk-BLIZ3CL3.js';
|
|
20
|
+
import './chunk-QDYE5LVT.js';
|
|
19
21
|
import './chunk-ZSNJ6UA3.js';
|
|
20
22
|
//# sourceMappingURL=calendar.js.map
|
|
21
23
|
//# sourceMappingURL=calendar.js.map
|
package/dist/callout.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
"use client";export { Callout } from './chunk-
|
|
1
|
+
"use client";export { Callout } from './chunk-JXHZHUB3.js';
|
|
2
2
|
import './chunk-OHUFNYGN.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
3
|
+
import './chunk-A5WQLN4B.js';
|
|
4
|
+
import './chunk-42FCPC77.js';
|
|
5
|
+
import './chunk-C6OTOTKI.js';
|
|
6
|
+
import './chunk-6IUTVDNI.js';
|
|
7
7
|
import './chunk-DWKILXHE.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-TBN644IN.js';
|
|
9
9
|
import './chunk-52IFGFTL.js';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
10
|
+
import './chunk-4R7WDDCW.js';
|
|
11
|
+
import './chunk-AC6ZWKRN.js';
|
|
12
12
|
import './chunk-O4GRKO3I.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-BLIZ3CL3.js';
|
|
14
|
+
import './chunk-QDYE5LVT.js';
|
|
14
15
|
import './chunk-ZSNJ6UA3.js';
|
|
15
16
|
//# sourceMappingURL=callout.js.map
|
|
16
17
|
//# sourceMappingURL=callout.js.map
|
package/dist/card.d.ts
CHANGED
|
@@ -1,2 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { P as PanelDividers } from './panel-El4oI68p.js';
|
|
3
|
+
import { c as SurfaceVariant, b as SurfacePadding } from './surface-DFyDnrTJ.js';
|
|
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,7 +1,11 @@
|
|
|
1
|
-
"use client";export { Card } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
"use client";export { Card } from './chunk-BNIWT6CW.js';
|
|
2
|
+
import './chunk-FZBZGA3P.js';
|
|
3
3
|
import './chunk-MFJP5FA7.js';
|
|
4
|
+
import './chunk-LCG34A5T.js';
|
|
5
|
+
import './chunk-FKVPAEJ6.js';
|
|
4
6
|
import './chunk-52IFGFTL.js';
|
|
7
|
+
import './chunk-O2LG3PNI.js';
|
|
8
|
+
import './chunk-EDSK6FEH.js';
|
|
5
9
|
import './chunk-ZSNJ6UA3.js';
|
|
6
10
|
//# sourceMappingURL=card.js.map
|
|
7
11
|
//# sourceMappingURL=card.js.map
|
package/dist/checkbox.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
"use client";export { Checkbox, CheckboxGroup } from './chunk-
|
|
1
|
+
"use client";export { Checkbox, CheckboxGroup } from './chunk-RIXEUAPY.js';
|
|
2
2
|
import './chunk-GTHJWR3Q.js';
|
|
3
3
|
import './chunk-MFJP5FA7.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
4
|
+
import './chunk-QKDEQFOQ.js';
|
|
5
|
+
import './chunk-4R7WDDCW.js';
|
|
6
|
+
import './chunk-AC6ZWKRN.js';
|
|
7
7
|
import './chunk-O4GRKO3I.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-BLIZ3CL3.js';
|
|
9
|
+
import './chunk-QDYE5LVT.js';
|
|
9
10
|
import './chunk-ZSNJ6UA3.js';
|
|
10
11
|
//# sourceMappingURL=checkbox.js.map
|
|
11
12
|
//# sourceMappingURL=checkbox.js.map
|