jenosize-ui 0.1.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 +13 -10
- package/dist/Cartesian-ZIKPEYWP.d.ts +26 -0
- 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 +54 -0
- package/dist/area-chart.js +9 -0
- package/dist/avatar.d.ts +24 -0
- package/dist/avatar.js +13 -7
- package/dist/badge.d.ts +4 -0
- package/dist/badge.js +6 -5
- package/dist/bar-chart.d.ts +32 -0
- package/dist/bar-chart.js +9 -0
- package/dist/breadcrumb.d.ts +4 -0
- package/dist/breadcrumb.js +5 -3
- package/dist/button.d.ts +16 -1
- package/dist/button.js +10 -8
- package/dist/calendar.d.ts +5 -0
- package/dist/calendar.js +18 -14
- package/dist/callout.d.ts +6 -6
- package/dist/callout.js +12 -9
- package/dist/card-D56VxyAe.d.ts +123 -0
- package/dist/card.d.ts +3 -1
- package/dist/card.js +7 -3
- package/dist/checkbox.js +9 -7
- package/dist/chunk-22M75A3N.js +396 -0
- package/dist/{chunk-D5BTFSL7.js → chunk-33TOK7ES.js} +7 -5
- package/dist/{chunk-THC2ISYP.js → chunk-3H444OJA.js} +6 -4
- package/dist/{chunk-GFOAJVW5.js → chunk-3QXLIZIX.js} +4 -13
- package/dist/chunk-3ZEEGXYF.js +8 -0
- package/dist/chunk-45Y2ZGNK.js +34 -0
- package/dist/{chunk-FHHAPGCR.js → chunk-4RBIWI2Q.js} +3 -3
- package/dist/chunk-4VGEJG4M.js +1510 -0
- package/dist/{chunk-PWKWNDBS.js → chunk-54SIZR63.js} +16 -8
- package/dist/chunk-5AZKP4KZ.js +49 -0
- package/dist/chunk-5DP7W5HX.js +254 -0
- package/dist/{chunk-J2BCKBHC.js → chunk-5KSD4WKN.js} +14 -5
- package/dist/{chunk-ZOOX3TUB.js → chunk-5XPMY2LF.js} +6 -6
- package/dist/chunk-5ZEUTSCV.js +147 -0
- package/dist/chunk-5ZPUAGOP.js +19 -0
- package/dist/{chunk-JTNFJLIY.js → chunk-667ZHY3T.js} +114 -42
- package/dist/{chunk-JP26LPCY.js → chunk-6B6BWTXC.js} +30 -13
- package/dist/{chunk-W5GGOUUI.js → chunk-6H4LNWQ7.js} +3 -3
- package/dist/{chunk-WFY7DKQD.js → chunk-6MMBQVRO.js} +61 -51
- package/dist/{chunk-7HOIZ3UO.js → chunk-7GUPNTAH.js} +15 -7
- package/dist/chunk-7VLYQR4D.js +44 -0
- package/dist/{chunk-KNYKWUYX.js → chunk-7ZM7SNCZ.js} +3 -3
- package/dist/{chunk-E7ZSWBAK.js → chunk-A323V6AI.js} +6 -4
- package/dist/chunk-AFYXSZGW.js +23 -0
- package/dist/chunk-AIARANKE.js +33 -0
- package/dist/{chunk-4OLULPQG.js → chunk-AIGYMTCU.js} +10 -6
- package/dist/{chunk-JVJRHBTD.js → chunk-AZ7DKRBY.js} +21 -8
- package/dist/{chunk-JYGR44ZC.js → chunk-BBKE4W3B.js} +19 -11
- package/dist/{chunk-Z3ETJN5G.js → chunk-BFVJHH7S.js} +8 -12
- package/dist/chunk-BLIZ3CL3.js +49 -0
- package/dist/{chunk-F2K7VJUV.js → chunk-CFFWYXDW.js} +19 -7
- package/dist/{chunk-MQGD2OUF.js → chunk-CGHYXWTT.js} +11 -5
- package/dist/{chunk-CYPPEUX5.js → chunk-CKMWBVRR.js} +27 -12
- package/dist/{chunk-GTHJWR3Q.js → chunk-D7EE5GWU.js} +21 -22
- package/dist/{chunk-5NOBSXJN.js → chunk-E2YZ7IMT.js} +24 -8
- package/dist/{chunk-T7FCG7XV.js → chunk-FFMTYQXE.js} +31 -11
- package/dist/{chunk-J36M3KRX.js → chunk-FH7Z7SGQ.js} +67 -32
- package/dist/chunk-FKVPAEJ6.js +57 -0
- package/dist/{chunk-GRLSUQQE.js → chunk-FNQJJO63.js} +4 -4
- package/dist/{chunk-5RAPA22E.js → chunk-FWRHBMWT.js} +4 -4
- package/dist/chunk-GLKFFA7N.js +171 -0
- package/dist/{chunk-KDLPXXD2.js → chunk-GQRSABRN.js} +4 -4
- package/dist/{chunk-DRZCJCBO.js → chunk-GZMDZF2V.js} +8 -7
- package/dist/chunk-HHYEAFCL.js +525 -0
- package/dist/{chunk-LME57Z6J.js → chunk-I6WMNXC7.js} +6 -6
- package/dist/chunk-IQNVSQRK.js +605 -0
- package/dist/chunk-KHGW72BM.js +10 -0
- package/dist/{chunk-ZZA2LUTL.js → chunk-KZP6B6B3.js} +41 -16
- package/dist/chunk-LCG34A5T.js +98 -0
- package/dist/chunk-LLPWQDF7.js +26 -0
- package/dist/{chunk-J7ZQQFPT.js → chunk-LO22VQL5.js} +18 -18
- package/dist/{chunk-BVJWBYIG.js → chunk-LQURV7HQ.js} +9 -7
- package/dist/{chunk-R6RGJF4L.js → chunk-LYXPJERB.js} +15 -5
- package/dist/{chunk-CME4DIML.js → chunk-MCQG4H6T.js} +54 -3
- package/dist/{chunk-VWC72TR3.js → chunk-MVG5MABV.js} +11 -8
- package/dist/{chunk-5FATN5YD.js → chunk-N3RVMBPX.js} +6 -9
- package/dist/chunk-NKG4N6HA.js +188 -0
- package/dist/{chunk-W46K56XU.js → chunk-OACWA4TC.js} +15 -69
- package/dist/chunk-OLLD2BZN.js +33 -0
- package/dist/{chunk-KMSYEE23.js → chunk-P6CON2R2.js} +25 -11
- package/dist/chunk-PO2TYK3C.js +17 -0
- package/dist/{chunk-7EWQKTNQ.js → chunk-POQTE7JI.js} +66 -25
- package/dist/{chunk-HMUZE6EK.js → chunk-QDKETK7D.js} +4 -4
- package/dist/{chunk-GCVA3OIV.js → chunk-QDYE5LVT.js} +13 -3
- package/dist/{chunk-WEUJYDCV.js → chunk-QHH6AUR3.js} +16 -8
- package/dist/chunk-RJTVCA62.js +42 -0
- package/dist/{chunk-MUFHLP4S.js → chunk-S5TEWPWW.js} +50 -41
- package/dist/{chunk-D6TPWNRK.js → chunk-SB3DG572.js} +15 -8
- package/dist/chunk-SKRR3ZMP.js +10 -0
- package/dist/chunk-T4ZFZTY6.js +62 -0
- package/dist/{chunk-I7WU4GTY.js → chunk-T5574MXM.js} +34 -46
- package/dist/{chunk-MKC5HNA7.js → chunk-U4WSJAYK.js} +374 -147
- package/dist/{chunk-BJUZVYQC.js → chunk-UGKELBNC.js} +60 -44
- package/dist/chunk-ULGCGKOE.js +77 -0
- package/dist/{chunk-QA74ITR4.js → chunk-X2VMIBK5.js} +45 -17
- package/dist/chunk-X2X7Q7NW.js +17 -0
- package/dist/chunk-YHBI52P2.js +10 -0
- package/dist/chunk-YIHKQ63K.js +13 -0
- package/dist/{chunk-3Y5X7B5C.js → chunk-YQYVGWIC.js} +6 -11
- package/dist/{chunk-WZQFC7ZN.js → chunk-ZHAT2XZ4.js} +139 -66
- package/dist/{chunk-7IU5TMFL.js → chunk-ZMFY7WAY.js} +124 -40
- package/dist/{chunk-SV56BSUQ.js → chunk-ZZSNTCCL.js} +6 -5
- package/dist/combobox.d.ts +5 -0
- package/dist/combobox.js +15 -12
- package/dist/control-size-CaxQhkKh.d.ts +3 -0
- package/dist/date-input.d.ts +4 -0
- package/dist/date-input.js +12 -9
- package/dist/date-picker.d.ts +6 -0
- package/dist/date-picker.js +25 -20
- package/dist/dialog.d.ts +37 -5
- package/dist/dialog.js +12 -8
- package/dist/drawer.d.ts +20 -3
- package/dist/drawer.js +11 -7
- package/dist/dropdown-menu.d.ts +26 -2
- package/dist/dropdown-menu.js +9 -4
- package/dist/dropzone.d.ts +35 -0
- package/dist/dropzone.js +23 -0
- package/dist/form.d.ts +82 -3
- package/dist/form.js +205 -45
- package/dist/header-navigation.d.ts +19 -4
- package/dist/header-navigation.js +23 -16
- package/dist/helper.d.ts +36 -0
- package/dist/helper.js +3 -0
- package/dist/index.d.ts +32 -8
- package/dist/index.js +87 -62
- package/dist/indicator.js +4 -4
- package/dist/input.d.ts +4 -0
- package/dist/input.js +10 -8
- package/dist/kanban-board.d.ts +489 -0
- package/dist/kanban-board.js +25 -0
- package/dist/labels-DPrh0se9.d.ts +627 -0
- package/dist/line-chart.d.ts +36 -0
- package/dist/line-chart.js +9 -0
- package/dist/{nav-Bla0o_-1.d.ts → nav-CKKqjBs6.d.ts} +18 -11
- package/dist/number-input.d.ts +4 -0
- package/dist/number-input.js +10 -8
- package/dist/pagination.d.ts +7 -1
- package/dist/pagination.js +14 -10
- package/dist/panel-El4oI68p.d.ts +9 -0
- package/dist/payment-input.d.ts +3 -2
- package/dist/payment-input.js +10 -8
- package/dist/pie-chart.d.ts +64 -0
- package/dist/pie-chart.js +9 -0
- package/dist/popover.d.ts +9 -3
- package/dist/popover.js +11 -7
- package/dist/progress-steps.d.ts +275 -0
- package/dist/progress-steps.js +8 -0
- 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 +77 -0
- package/dist/radar-chart.js +9 -0
- package/dist/radial-chart.d.ts +73 -0
- package/dist/radial-chart.js +9 -0
- package/dist/radio.js +9 -7
- 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 +3 -3
- package/dist/select.js +17 -14
- package/dist/separator.d.ts +114 -0
- package/dist/separator.js +5 -0
- package/dist/shared-CxAedkiy.d.ts +68 -0
- package/dist/sidebar-navigation.d.ts +80 -12
- package/dist/sidebar-navigation.js +18 -9
- package/dist/skeleton.d.ts +61 -0
- package/dist/skeleton.js +5 -0
- package/dist/styles.css +1 -1
- package/dist/switch.js +4 -4
- package/dist/table.d.ts +148 -42
- package/dist/table.js +39 -33
- 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 +13 -11
- package/dist/tag.d.ts +4 -0
- package/dist/tag.js +4 -3
- package/dist/textarea.js +7 -5
- package/dist/theme.css +151 -6
- package/dist/theme.js +11 -9
- package/dist/toast.d.ts +11 -2
- package/dist/toast.js +12 -9
- package/dist/tooltip-surface-C2I9o2QM.d.ts +35 -0
- package/dist/tooltip.d.ts +15 -1
- package/dist/tooltip.js +3 -2
- package/dist/tree.d.ts +5 -0
- package/dist/tree.js +8 -6
- package/dist/types-DR9rAEy1.d.ts +188 -0
- package/dist/use-uploads-KaPqDklo.d.ts +482 -0
- package/dist/verification-code-input.d.ts +84 -0
- package/dist/verification-code-input.js +14 -0
- package/package.json +70 -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-MFJP5FA7.js +0 -20
- package/dist/chunk-ZZT2E5VT.js +0 -24
- package/dist/shared-BNXAdgh2.d.ts +0 -9
package/README.md
CHANGED
|
@@ -16,16 +16,19 @@ 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
|
-
`
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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`
|
|
29
|
+
|
|
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
|
|
29
32
|
[`docs/components/`](./docs/components/); `pnpm index:check` keeps this list honest.
|
|
30
33
|
|
|
31
34
|
## Quick start
|
|
@@ -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 };
|
|
@@ -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. */
|
|
@@ -0,0 +1,54 @@
|
|
|
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-DR9rAEy1.js';
|
|
4
|
+
import './labels-DPrh0se9.js';
|
|
5
|
+
import './tooltip-surface-C2I9o2QM.js';
|
|
6
|
+
|
|
7
|
+
interface AreaChartProps<T extends object> extends CartesianChartBaseProps<T> {
|
|
8
|
+
/**
|
|
9
|
+
* How the band under each line is painted. ONE union, never a `gradient` + `solid` boolean pair —
|
|
10
|
+
* they answer the same question and only one can win.
|
|
11
|
+
*
|
|
12
|
+
* `"none"` is the reference's own line treatment (series B and C in all four of its line demos).
|
|
13
|
+
* Keeping it here rather than routing to `<LineChart>` lets a caller emphasise ONE series in an
|
|
14
|
+
* area chart without switching component.
|
|
15
|
+
*
|
|
16
|
+
* @default "gradient"
|
|
17
|
+
*/
|
|
18
|
+
fill?: AreaFill;
|
|
19
|
+
/**
|
|
20
|
+
* Where the band sits relative to its own line — a separate question from `fill`, because it
|
|
21
|
+
* applies to `gradient` and `solid` alike.
|
|
22
|
+
*
|
|
23
|
+
* `"detached"` is the reference's look: the fill is pushed 6px down, so a hairline of background
|
|
24
|
+
* shows between the line and the wash. `"flush"` removes that seam — the wash starts at the
|
|
25
|
+
* stroke. Prefer `flush` when the bands are `stacked` (a gap per member reads as missing data) or
|
|
26
|
+
* when the plot is short enough that 6px is a visible slice of it.
|
|
27
|
+
*
|
|
28
|
+
* A union, not a `gap` boolean: both states are a deliberate look and both are worth naming.
|
|
29
|
+
*
|
|
30
|
+
* @default "detached"
|
|
31
|
+
*/
|
|
32
|
+
band?: AreaBand;
|
|
33
|
+
/**
|
|
34
|
+
* Stack the series instead of overlaying them.
|
|
35
|
+
*
|
|
36
|
+
* Forces `fill` to `"solid"` when it would otherwise be `"none"` — a stacked outline is
|
|
37
|
+
* unreadable, so this is a derived cascade rather than a dev-warn about a state the type allows.
|
|
38
|
+
*
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
stacked?: boolean;
|
|
42
|
+
/** @default "monotone" */
|
|
43
|
+
curve?: ChartCurve;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* A filled trend over a category axis.
|
|
47
|
+
*
|
|
48
|
+
* Built on a hidden recharts engine — none of its vocabulary is public, there are no compound parts
|
|
49
|
+
* and there is no prop passthrough. Chrome is plot-only: no `title`/`description`, because the
|
|
50
|
+
* caller wraps it in a `<Card>` and writes their own header.
|
|
51
|
+
*/
|
|
52
|
+
declare function AreaChart<T extends object>({ fill, band, stacked, curve, ...rest }: AreaChartProps<T>): React.JSX.Element;
|
|
53
|
+
|
|
54
|
+
export { AreaBand, AreaChart, type AreaChartProps, AreaFill };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";export { AreaChart } from './chunk-KHGW72BM.js';
|
|
2
|
+
import './chunk-5DP7W5HX.js';
|
|
3
|
+
import './chunk-22M75A3N.js';
|
|
4
|
+
import './chunk-AFYXSZGW.js';
|
|
5
|
+
import './chunk-ZSNJ6UA3.js';
|
|
6
|
+
import './chunk-RJTVCA62.js';
|
|
7
|
+
import './chunk-QDYE5LVT.js';
|
|
8
|
+
//# sourceMappingURL=area-chart.js.map
|
|
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. */
|
|
@@ -119,6 +124,16 @@ interface AvatarLabelGroupProps {
|
|
|
119
124
|
* second channel for the same thing that quietly loses. `className` is merged.
|
|
120
125
|
* See `docs/type-safety-policy.md`. */
|
|
121
126
|
imageProps?: Omit<React.ComponentPropsWithoutRef<"img">, "src" | "alt">;
|
|
127
|
+
/**
|
|
128
|
+
* Draw the placeholder instead of the person — same box, same two line heights, same gaps, so
|
|
129
|
+
* nothing moves when the data lands. @default false
|
|
130
|
+
*
|
|
131
|
+
* The placeholder always draws BOTH lines, even though `subtitle` is optional: while loading the
|
|
132
|
+
* caller usually has neither value yet, so mirroring `subtitle != null` would draw one line and
|
|
133
|
+
* then jump when the second arrives. A label group that never has a subtitle pays one line of
|
|
134
|
+
* over-draw for that; the jump is the worse of the two.
|
|
135
|
+
*/
|
|
136
|
+
loading?: boolean;
|
|
122
137
|
/** **Layout/spacing only** (margin, width for truncation), merged via `cn()`. */
|
|
123
138
|
className?: string;
|
|
124
139
|
}
|
|
@@ -153,6 +168,15 @@ interface AvatarProfilePhotoProps {
|
|
|
153
168
|
* second channel for the same thing that quietly loses. `className` is merged.
|
|
154
169
|
* See `docs/type-safety-policy.md`. */
|
|
155
170
|
imageProps?: Omit<React.ComponentPropsWithoutRef<"img">, "src" | "alt">;
|
|
171
|
+
/**
|
|
172
|
+
* Draw the placeholder instead of the photo — the same outer box at the same `size`/`shape`, so
|
|
173
|
+
* nothing moves when the photo lands. @default false
|
|
174
|
+
*
|
|
175
|
+
* It replaces the whole two-layer frame rather than filling the inner circle: the hairline, gloss
|
|
176
|
+
* and shadow are the PHOTO's treatment (they already gate on `!isFailed`), and painting them
|
|
177
|
+
* around a grey disc reads as a broken image rather than as a pending one.
|
|
178
|
+
*/
|
|
179
|
+
loading?: boolean;
|
|
156
180
|
/** **Layout/spacing only**, merged via `cn()`. */
|
|
157
181
|
className?: string;
|
|
158
182
|
}
|
package/dist/avatar.js
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
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-ZHAT2XZ4.js';
|
|
2
|
+
import './chunk-N3RVMBPX.js';
|
|
3
|
+
import './chunk-LLPWQDF7.js';
|
|
4
|
+
import './chunk-FKVPAEJ6.js';
|
|
5
|
+
import './chunk-MCQG4H6T.js';
|
|
6
|
+
import './chunk-O2LG3PNI.js';
|
|
7
|
+
import './chunk-EDSK6FEH.js';
|
|
8
|
+
import './chunk-7ZM7SNCZ.js';
|
|
9
|
+
import './chunk-KZP6B6B3.js';
|
|
10
|
+
import './chunk-AFYXSZGW.js';
|
|
7
11
|
import './chunk-O4GRKO3I.js';
|
|
8
|
-
import './chunk-
|
|
12
|
+
import './chunk-BLIZ3CL3.js';
|
|
9
13
|
import './chunk-ZSNJ6UA3.js';
|
|
14
|
+
import './chunk-RJTVCA62.js';
|
|
15
|
+
import './chunk-QDYE5LVT.js';
|
|
10
16
|
//# sourceMappingURL=avatar.js.map
|
|
11
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
|
-
import './chunk-
|
|
7
|
-
import './chunk-GCVA3OIV.js';
|
|
6
|
+
import './chunk-BLIZ3CL3.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
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { B as BarLayout } from './Cartesian-ZIKPEYWP.js';
|
|
3
|
+
import { C as CartesianChartBaseProps } from './types-DR9rAEy1.js';
|
|
4
|
+
import './labels-DPrh0se9.js';
|
|
5
|
+
import './tooltip-surface-C2I9o2QM.js';
|
|
6
|
+
|
|
7
|
+
interface BarChartProps<T extends object> extends CartesianChartBaseProps<T> {
|
|
8
|
+
/** Stack the series instead of grouping them side by side. @default false */
|
|
9
|
+
stacked?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* `"columns"` = upright bars. `"bars"` = horizontal.
|
|
12
|
+
*
|
|
13
|
+
* Ours, not the engine's: recharts spells upright bars `layout="vertical"`, which reads backwards
|
|
14
|
+
* to every human. The mapping lives in ONE table (`BAR_LAYOUT` in `shared.ts`), which also owns
|
|
15
|
+
* the axis-role swap that comes with it.
|
|
16
|
+
*
|
|
17
|
+
* @default "columns"
|
|
18
|
+
*/
|
|
19
|
+
layout?: BarLayout;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Discrete quantities over a category axis, grouped or stacked.
|
|
23
|
+
*
|
|
24
|
+
* Bar width, the rounded cap and the gap are geometry, not caller choice — they derive from the
|
|
25
|
+
* reference's own values and are not exposed as props.
|
|
26
|
+
*
|
|
27
|
+
* Built on a hidden recharts engine — none of its vocabulary is public, there are no compound parts
|
|
28
|
+
* and there is no prop passthrough.
|
|
29
|
+
*/
|
|
30
|
+
declare function BarChart<T extends object>({ stacked, layout, ...rest }: BarChartProps<T>): React.JSX.Element;
|
|
31
|
+
|
|
32
|
+
export { BarChart, type BarChartProps, BarLayout };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use client";export { BarChart } from './chunk-SKRR3ZMP.js';
|
|
2
|
+
import './chunk-5DP7W5HX.js';
|
|
3
|
+
import './chunk-22M75A3N.js';
|
|
4
|
+
import './chunk-AFYXSZGW.js';
|
|
5
|
+
import './chunk-ZSNJ6UA3.js';
|
|
6
|
+
import './chunk-RJTVCA62.js';
|
|
7
|
+
import './chunk-QDYE5LVT.js';
|
|
8
|
+
//# sourceMappingURL=bar-chart.js.map
|
|
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
|
-
import './chunk-
|
|
4
|
-
import './chunk-GCVA3OIV.js';
|
|
4
|
+
import './chunk-BLIZ3CL3.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
|
@@ -1,16 +1,27 @@
|
|
|
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 './
|
|
6
|
+
import { c as CloseButtonLabels } from './labels-DPrh0se9.js';
|
|
6
7
|
import './overflow-Df0h42Oi.js';
|
|
7
8
|
import '@base-ui/react/tooltip';
|
|
9
|
+
import './tooltip-surface-C2I9o2QM.js';
|
|
8
10
|
|
|
9
11
|
type ButtonUtilityVariant = "secondary" | "tertiary";
|
|
10
12
|
type ButtonUtilitySize = "xs" | "sm";
|
|
11
13
|
interface ButtonUtilityProps extends useRender.ComponentProps<"button"> {
|
|
12
14
|
/** Visual intent (UUI ButtonUtility colors). @default "secondary" */
|
|
13
15
|
variant?: ButtonUtilityVariant;
|
|
16
|
+
/**
|
|
17
|
+
* Semantic tone of the GLYPH — the library's one colour axis, same as `Button.color`.
|
|
18
|
+
*
|
|
19
|
+
* Orthogonal to `variant`, which owns the BOX: a destructive row action is
|
|
20
|
+
* `variant="tertiary" color="error"`, i.e. a ghost box with a red glyph, not a red box.
|
|
21
|
+
* Unlike `Button`, the default is not variant-aware — a utility button is a glyph and its
|
|
22
|
+
* resting tone is the icon gray for both variants. @default "neutral"
|
|
23
|
+
*/
|
|
24
|
+
color?: SemanticColor;
|
|
14
25
|
/** Compact utility sizes only: `xs` (16px icon) · `sm` (20px icon). @default "sm" */
|
|
15
26
|
size?: ButtonUtilitySize;
|
|
16
27
|
/** The single icon shown inside the button. */
|
|
@@ -44,6 +55,10 @@ interface CloseButtonProps extends useRender.ComponentProps<"button"> {
|
|
|
44
55
|
theme?: CloseButtonTheme;
|
|
45
56
|
/** Accessible name. @default "Close" */
|
|
46
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;
|
|
47
62
|
}
|
|
48
63
|
/**
|
|
49
64
|
* Square icon-only dismiss button (UUI CloseButton) — the standard close
|
package/dist/button.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
"use client";export { Button } from './chunk-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export {
|
|
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
|
-
import './chunk-
|
|
11
|
+
import './chunk-BLIZ3CL3.js';
|
|
12
12
|
import './chunk-ZSNJ6UA3.js';
|
|
13
|
+
import './chunk-RJTVCA62.js';
|
|
14
|
+
import './chunk-QDYE5LVT.js';
|
|
13
15
|
//# sourceMappingURL=button.js.map
|
|
14
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,21 +1,25 @@
|
|
|
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-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-GFOAJVW5.js';
|
|
10
|
-
import './chunk-CME4DIML.js';
|
|
11
|
-
import './chunk-MQGD2OUF.js';
|
|
1
|
+
"use client";export { Calendar, isWireDate, parseEvent, serializeEvent, useCalendar } from './chunk-FH7Z7SGQ.js';
|
|
2
|
+
import './chunk-FWRHBMWT.js';
|
|
3
|
+
import './chunk-GZMDZF2V.js';
|
|
4
|
+
import './chunk-P6CON2R2.js';
|
|
5
|
+
import './chunk-YQYVGWIC.js';
|
|
6
|
+
import './chunk-CKMWBVRR.js';
|
|
7
|
+
import './chunk-LO22VQL5.js';
|
|
8
|
+
import './chunk-3QXLIZIX.js';
|
|
12
9
|
import './chunk-S7NNXWIN.js';
|
|
13
|
-
import './chunk-
|
|
10
|
+
import './chunk-FKVPAEJ6.js';
|
|
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';
|
|
14
16
|
import './chunk-O2LG3PNI.js';
|
|
15
17
|
import './chunk-EDSK6FEH.js';
|
|
16
|
-
import './chunk-
|
|
18
|
+
import './chunk-52IFGFTL.js';
|
|
17
19
|
import './chunk-O4GRKO3I.js';
|
|
18
|
-
import './chunk-
|
|
20
|
+
import './chunk-BLIZ3CL3.js';
|
|
19
21
|
import './chunk-ZSNJ6UA3.js';
|
|
22
|
+
import './chunk-RJTVCA62.js';
|
|
23
|
+
import './chunk-QDYE5LVT.js';
|
|
20
24
|
//# sourceMappingURL=calendar.js.map
|
|
21
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,16 +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
|
-
import './chunk-
|
|
14
|
+
import './chunk-BLIZ3CL3.js';
|
|
14
15
|
import './chunk-ZSNJ6UA3.js';
|
|
16
|
+
import './chunk-RJTVCA62.js';
|
|
17
|
+
import './chunk-QDYE5LVT.js';
|
|
15
18
|
//# sourceMappingURL=callout.js.map
|
|
16
19
|
//# sourceMappingURL=callout.js.map
|