jenosize-ui 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/{PaymentInput-CKPIPNWH.d.ts → PaymentInput-Dn5WVQVy.d.ts} +4 -0
- package/dist/{Select-CVbEQ2Ep.d.ts → Select-Dt5ARIH8.d.ts} +4 -0
- package/dist/{TagInput-CTJYOB4J.d.ts → TagInput-BaBeve6L.d.ts} +4 -0
- package/dist/area-chart.d.ts +3 -2
- package/dist/area-chart.js +6 -5
- package/dist/avatar.d.ts +5 -0
- package/dist/avatar.js +9 -8
- package/dist/badge.d.ts +4 -0
- package/dist/badge.js +5 -4
- package/dist/bar-chart.d.ts +3 -2
- package/dist/bar-chart.js +6 -5
- package/dist/breadcrumb.d.ts +4 -0
- package/dist/breadcrumb.js +4 -2
- package/dist/button.d.ts +6 -1
- package/dist/button.js +9 -8
- package/dist/calendar.d.ts +5 -0
- package/dist/calendar.js +15 -13
- package/dist/callout.d.ts +6 -6
- package/dist/callout.js +11 -9
- package/dist/card-D56VxyAe.d.ts +123 -0
- package/dist/card.d.ts +3 -51
- package/dist/card.js +5 -5
- package/dist/checkbox.js +8 -7
- package/dist/{chunk-75M43ELV.js → chunk-22M75A3N.js} +75 -45
- package/dist/{chunk-A46ED5JQ.js → chunk-33TOK7ES.js} +7 -5
- package/dist/{chunk-RNXRZGXN.js → chunk-3H444OJA.js} +5 -3
- package/dist/{chunk-DJYWPJZ3.js → chunk-3QXLIZIX.js} +3 -12
- package/dist/chunk-3ZEEGXYF.js +8 -0
- package/dist/chunk-45Y2ZGNK.js +34 -0
- package/dist/{chunk-ILICYNK7.js → chunk-4RBIWI2Q.js} +3 -3
- package/dist/{chunk-FIGBJGH2.js → chunk-4VGEJG4M.js} +115 -79
- package/dist/{chunk-EX374YWB.js → chunk-54SIZR63.js} +15 -7
- package/dist/chunk-5AZKP4KZ.js +49 -0
- package/dist/{chunk-NA35YZRD.js → chunk-5DP7W5HX.js} +13 -11
- package/dist/{chunk-QKDEQFOQ.js → chunk-5KSD4WKN.js} +13 -4
- package/dist/{chunk-RIXEUAPY.js → chunk-5XPMY2LF.js} +5 -5
- package/dist/{chunk-6UBYHSBX.js → chunk-5ZEUTSCV.js} +5 -5
- package/dist/{chunk-DCGTB7P7.js → chunk-667ZHY3T.js} +111 -39
- package/dist/{chunk-MYQ3FD4Y.js → chunk-6B6BWTXC.js} +8 -5
- package/dist/{chunk-6HJA7NPL.js → chunk-6H4LNWQ7.js} +3 -3
- package/dist/{chunk-JAVNGTOE.js → chunk-6MMBQVRO.js} +58 -43
- package/dist/{chunk-JMWYCT63.js → chunk-7GUPNTAH.js} +14 -6
- package/dist/{chunk-TBN644IN.js → chunk-7ZM7SNCZ.js} +3 -3
- package/dist/{chunk-BD5YKFRA.js → chunk-A323V6AI.js} +5 -3
- package/dist/{chunk-AC6ZWKRN.js → chunk-AFYXSZGW.js} +2 -2
- package/dist/chunk-AIARANKE.js +33 -0
- package/dist/{chunk-54S5CUY6.js → chunk-AIGYMTCU.js} +5 -4
- package/dist/{chunk-C6OTOTKI.js → chunk-AZ7DKRBY.js} +5 -5
- package/dist/{chunk-QBHQOX23.js → chunk-BBKE4W3B.js} +18 -10
- package/dist/{chunk-4BRMM3I5.js → chunk-BFVJHH7S.js} +7 -6
- package/dist/{chunk-FFTRB2UU.js → chunk-CFFWYXDW.js} +18 -6
- package/dist/{chunk-42FCPC77.js → chunk-CGHYXWTT.js} +10 -4
- package/dist/{chunk-VEOYCAJP.js → chunk-CKMWBVRR.js} +27 -7
- package/dist/{chunk-GTHJWR3Q.js → chunk-D7EE5GWU.js} +21 -22
- package/dist/{chunk-NMERLWT7.js → chunk-E2YZ7IMT.js} +23 -7
- package/dist/{chunk-GAFGIT4Q.js → chunk-FFMTYQXE.js} +30 -10
- package/dist/{chunk-L53Y7KUV.js → chunk-FH7Z7SGQ.js} +61 -28
- package/dist/{chunk-5JRM3OES.js → chunk-FNQJJO63.js} +3 -3
- package/dist/{chunk-MD4AR43X.js → chunk-FWRHBMWT.js} +3 -3
- package/dist/{chunk-4K6V6NNK.js → chunk-GLKFFA7N.js} +10 -8
- package/dist/{chunk-EDOUI2BG.js → chunk-GQRSABRN.js} +4 -4
- package/dist/{chunk-BNIWT6CW.js → chunk-GZMDZF2V.js} +7 -6
- package/dist/{chunk-HSVBTIP2.js → chunk-HHYEAFCL.js} +70 -27
- package/dist/{chunk-P7DH62UY.js → chunk-I6WMNXC7.js} +5 -5
- package/dist/{chunk-34J5AANZ.js → chunk-IQNVSQRK.js} +3 -3
- package/dist/{chunk-MCUASLZH.js → chunk-KHGW72BM.js} +3 -3
- package/dist/{chunk-4R7WDDCW.js → chunk-KZP6B6B3.js} +4 -4
- package/dist/{chunk-7HV6EIGZ.js → chunk-LLPWQDF7.js} +3 -3
- package/dist/{chunk-FZBZGA3P.js → chunk-LO22VQL5.js} +4 -4
- package/dist/{chunk-JXHZHUB3.js → chunk-LQURV7HQ.js} +9 -7
- package/dist/{chunk-EDT5J5WK.js → chunk-LYXPJERB.js} +14 -4
- package/dist/{chunk-6IUTVDNI.js → chunk-MCQG4H6T.js} +35 -3
- package/dist/{chunk-JYBGO6GY.js → chunk-MVG5MABV.js} +11 -8
- package/dist/{chunk-PXEJ5RKO.js → chunk-N3RVMBPX.js} +6 -9
- package/dist/{chunk-VWGAMOSE.js → chunk-NKG4N6HA.js} +3 -3
- package/dist/{chunk-A5WQLN4B.js → chunk-OACWA4TC.js} +14 -52
- package/dist/{chunk-LBYCCLVI.js → chunk-OLLD2BZN.js} +9 -9
- package/dist/{chunk-T2WAD4QP.js → chunk-POQTE7JI.js} +55 -16
- package/dist/{chunk-74HPBSVY.js → chunk-QDKETK7D.js} +4 -4
- package/dist/{chunk-VH35QHD4.js → chunk-QHH6AUR3.js} +16 -8
- package/dist/chunk-RJTVCA62.js +42 -0
- package/dist/{chunk-DTMYD63D.js → chunk-S5TEWPWW.js} +46 -26
- package/dist/{chunk-3GT43XPK.js → chunk-SB3DG572.js} +15 -8
- package/dist/{chunk-NKDW6C7K.js → chunk-SKRR3ZMP.js} +3 -3
- package/dist/{chunk-CTENRS34.js → chunk-T4ZFZTY6.js} +8 -6
- package/dist/{chunk-YLEHYDXC.js → chunk-T5574MXM.js} +33 -45
- package/dist/{chunk-USL3TDZM.js → chunk-U4WSJAYK.js} +321 -105
- package/dist/{chunk-4W6AYGLR.js → chunk-UGKELBNC.js} +55 -39
- package/dist/{chunk-M5TVCASC.js → chunk-ULGCGKOE.js} +8 -6
- package/dist/{chunk-JUWDRRD6.js → chunk-X2VMIBK5.js} +4 -4
- package/dist/{chunk-763VS2FY.js → chunk-YHBI52P2.js} +3 -3
- package/dist/chunk-YIHKQ63K.js +13 -0
- package/dist/{chunk-3Z3SDKIA.js → chunk-YQYVGWIC.js} +5 -5
- package/dist/{chunk-4HKDD3PR.js → chunk-ZHAT2XZ4.js} +91 -57
- package/dist/{chunk-CWMFEF6R.js → chunk-ZMFY7WAY.js} +60 -24
- package/dist/{chunk-WKWAUU64.js → chunk-ZZSNTCCL.js} +6 -5
- package/dist/combobox.d.ts +5 -0
- package/dist/combobox.js +12 -11
- package/dist/date-input.d.ts +4 -0
- package/dist/date-input.js +11 -9
- package/dist/date-picker.d.ts +6 -0
- package/dist/date-picker.js +23 -21
- package/dist/dialog.d.ts +21 -1
- package/dist/dialog.js +10 -8
- package/dist/drawer.d.ts +11 -1
- package/dist/drawer.js +9 -7
- package/dist/dropdown-menu.d.ts +12 -0
- package/dist/dropdown-menu.js +6 -5
- package/dist/dropzone.d.ts +3 -2
- package/dist/dropzone.js +13 -12
- package/dist/form.d.ts +5 -4
- package/dist/form.js +60 -44
- package/dist/header-navigation.d.ts +5 -1
- package/dist/header-navigation.js +21 -19
- package/dist/helper.d.ts +36 -0
- package/dist/helper.js +3 -0
- package/dist/index.d.ts +13 -11
- package/dist/index.js +81 -76
- package/dist/indicator.js +4 -4
- package/dist/input.d.ts +4 -0
- package/dist/input.js +9 -8
- package/dist/kanban-board.d.ts +21 -81
- package/dist/kanban-board.js +14 -12
- package/dist/labels-DPrh0se9.d.ts +627 -0
- package/dist/line-chart.d.ts +3 -2
- package/dist/line-chart.js +6 -5
- package/dist/{nav-DcCyt00p.d.ts → nav-CKKqjBs6.d.ts} +10 -0
- package/dist/number-input.d.ts +4 -0
- package/dist/number-input.js +9 -8
- package/dist/pagination.d.ts +7 -1
- package/dist/pagination.js +11 -10
- package/dist/payment-input.d.ts +3 -2
- package/dist/payment-input.js +9 -8
- package/dist/pie-chart.d.ts +7 -3
- package/dist/pie-chart.js +6 -5
- package/dist/popover.js +9 -7
- package/dist/progress-steps.js +2 -2
- package/dist/progress.d.ts +21 -1
- package/dist/progress.js +3 -2
- package/dist/provider.d.ts +212 -0
- package/dist/provider.js +7 -0
- package/dist/radar-chart.d.ts +7 -3
- package/dist/radar-chart.js +6 -5
- package/dist/radial-chart.d.ts +7 -3
- package/dist/radial-chart.js +6 -5
- package/dist/radio.js +8 -7
- package/dist/select.d.ts +2 -1
- package/dist/select.js +14 -13
- package/dist/shared-CxAedkiy.d.ts +68 -0
- package/dist/sidebar-navigation.d.ts +28 -7
- package/dist/sidebar-navigation.js +15 -13
- package/dist/skeleton.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/switch.js +4 -4
- package/dist/table.d.ts +56 -6
- package/dist/table.js +36 -34
- package/dist/tabs.d.ts +22 -0
- package/dist/tabs.js +3 -3
- package/dist/tag-input.d.ts +3 -2
- package/dist/tag-input.js +12 -11
- package/dist/tag.d.ts +4 -0
- package/dist/tag.js +3 -2
- package/dist/textarea.js +6 -5
- package/dist/theme.css +69 -6
- package/dist/theme.js +10 -9
- package/dist/toast.d.ts +11 -2
- package/dist/toast.js +11 -9
- package/dist/{tooltip-surface-Dmvb8v5K.d.ts → tooltip-surface-C2I9o2QM.d.ts} +1 -1
- package/dist/tooltip.d.ts +2 -2
- package/dist/tooltip.js +3 -3
- package/dist/tree.d.ts +5 -0
- package/dist/tree.js +5 -4
- package/dist/{types-6kvYwtRH.d.ts → types-DR9rAEy1.d.ts} +45 -13
- package/dist/{use-uploads-ButS4dGe.d.ts → use-uploads-KaPqDklo.d.ts} +9 -0
- package/dist/verification-code-input.js +8 -7
- package/package.json +12 -1
- package/dist/chunk-MFJP5FA7.js +0 -20
- package/dist/shared-BNXAdgh2.d.ts +0 -9
- package/dist/surface-DFyDnrTJ.d.ts +0 -34
package/dist/form.d.ts
CHANGED
|
@@ -5,20 +5,21 @@ import { a as ButtonProps } from './Button-Bt7pzM4R.js';
|
|
|
5
5
|
import { CheckboxProps, CheckboxGroupProps, CheckboxGroupOption } from './checkbox.js';
|
|
6
6
|
import { ComboboxProps, ComboboxOption } from './combobox.js';
|
|
7
7
|
import { DateInputProps } from './date-input.js';
|
|
8
|
-
import { a as DropzoneProps, h as FileRejection, o as UseUploadsResult } from './use-uploads-
|
|
8
|
+
import { a as DropzoneProps, h as FileRejection, o as UseUploadsResult } from './use-uploads-KaPqDklo.js';
|
|
9
9
|
import { InputProps } from './input.js';
|
|
10
10
|
import { NumberInputProps } from './number-input.js';
|
|
11
|
-
import { c as PaymentInputProps } from './PaymentInput-
|
|
11
|
+
import { c as PaymentInputProps } from './PaymentInput-Dn5WVQVy.js';
|
|
12
12
|
import { RadioGroupProps, RadioOption } from './radio.js';
|
|
13
|
-
import { f as SelectProps, e as SelectOption } from './Select-
|
|
13
|
+
import { f as SelectProps, e as SelectOption } from './Select-Dt5ARIH8.js';
|
|
14
14
|
import { SwitchProps } from './switch.js';
|
|
15
|
-
import { a as TagInputProps } from './TagInput-
|
|
15
|
+
import { a as TagInputProps } from './TagInput-BaBeve6L.js';
|
|
16
16
|
import { TextareaProps } from './textarea.js';
|
|
17
17
|
import { b as Option, d as OptionOrGroup } from './options-CPEIgjtd.js';
|
|
18
18
|
import '@base-ui/react/use-render';
|
|
19
19
|
import './color-CtSxc1Rh.js';
|
|
20
20
|
import './overflow-Df0h42Oi.js';
|
|
21
21
|
import './multi-value-CJb_tnvi.js';
|
|
22
|
+
import './labels-DPrh0se9.js';
|
|
22
23
|
import '@base-ui/react/combobox';
|
|
23
24
|
import './date-utils-7hTFTXNK.js';
|
|
24
25
|
import '@base-ui/react/number-field';
|
package/dist/form.js
CHANGED
|
@@ -1,51 +1,53 @@
|
|
|
1
|
-
"use client";import {
|
|
2
|
-
import {
|
|
3
|
-
import './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import './chunk-GTHJWR3Q.js';
|
|
8
|
-
import './chunk-MFJP5FA7.js';
|
|
9
|
-
import { Dropzone, FileList, formatFileSize } from './chunk-HSVBTIP2.js';
|
|
10
|
-
import './chunk-A46ED5JQ.js';
|
|
11
|
-
import './chunk-7VLYQR4D.js';
|
|
12
|
-
import './chunk-LCG34A5T.js';
|
|
13
|
-
import { FileTrigger } from './chunk-DJSXIAFH.js';
|
|
14
|
-
import { PaymentInput } from './chunk-3GT43XPK.js';
|
|
15
|
-
import { DateInput } from './chunk-NMERLWT7.js';
|
|
16
|
-
import './chunk-DJYWPJZ3.js';
|
|
17
|
-
import { Button } from './chunk-A5WQLN4B.js';
|
|
18
|
-
import './chunk-42FCPC77.js';
|
|
19
|
-
import './chunk-C6OTOTKI.js';
|
|
20
|
-
import './chunk-6IUTVDNI.js';
|
|
21
|
-
import { Input } from './chunk-JMWYCT63.js';
|
|
22
|
-
import { NumberInput } from './chunk-QBHQOX23.js';
|
|
23
|
-
import { Textarea } from './chunk-EDOUI2BG.js';
|
|
24
|
-
import './chunk-7EUAMHMU.js';
|
|
25
|
-
import { Select } from './chunk-GAFGIT4Q.js';
|
|
1
|
+
"use client";import { PaymentInput } from './chunk-SB3DG572.js';
|
|
2
|
+
import { DateInput } from './chunk-E2YZ7IMT.js';
|
|
3
|
+
import './chunk-3QXLIZIX.js';
|
|
4
|
+
import { TagInput } from './chunk-QHH6AUR3.js';
|
|
5
|
+
import { Textarea } from './chunk-GQRSABRN.js';
|
|
6
|
+
import { Select } from './chunk-FFMTYQXE.js';
|
|
26
7
|
import './chunk-7S2TBALK.js';
|
|
27
|
-
import './chunk-
|
|
28
|
-
import './chunk-EDT5J5WK.js';
|
|
29
|
-
import './chunk-S7NNXWIN.js';
|
|
8
|
+
import './chunk-I6WMNXC7.js';
|
|
30
9
|
import './chunk-PO2TYK3C.js';
|
|
31
|
-
import './chunk-
|
|
32
|
-
import './chunk-
|
|
10
|
+
import './chunk-LYXPJERB.js';
|
|
11
|
+
import './chunk-S7NNXWIN.js';
|
|
12
|
+
import { Combobox } from './chunk-S5TEWPWW.js';
|
|
13
|
+
import './chunk-F6NLE6XJ.js';
|
|
14
|
+
import './chunk-4RBIWI2Q.js';
|
|
15
|
+
import './chunk-6H4LNWQ7.js';
|
|
33
16
|
import './chunk-4P2NBLBW.js';
|
|
34
17
|
import './chunk-FKVPAEJ6.js';
|
|
18
|
+
import { CheckboxGroup, Checkbox } from './chunk-5XPMY2LF.js';
|
|
19
|
+
import { RadioGroup } from './chunk-ZZSNTCCL.js';
|
|
35
20
|
import './chunk-7JBNLEJ7.js';
|
|
21
|
+
import { Switch } from './chunk-QDKETK7D.js';
|
|
22
|
+
import './chunk-D7EE5GWU.js';
|
|
23
|
+
import './chunk-45Y2ZGNK.js';
|
|
24
|
+
import { Dropzone, FileList, formatFileSize } from './chunk-HHYEAFCL.js';
|
|
25
|
+
import './chunk-33TOK7ES.js';
|
|
26
|
+
import './chunk-7VLYQR4D.js';
|
|
27
|
+
import './chunk-LCG34A5T.js';
|
|
28
|
+
import { FileTrigger } from './chunk-DJSXIAFH.js';
|
|
29
|
+
import './chunk-YIHKQ63K.js';
|
|
30
|
+
import { Button } from './chunk-OACWA4TC.js';
|
|
31
|
+
import './chunk-AZ7DKRBY.js';
|
|
32
|
+
import './chunk-MCQG4H6T.js';
|
|
33
|
+
import './chunk-CGHYXWTT.js';
|
|
36
34
|
import './chunk-DWKILXHE.js';
|
|
37
|
-
import './chunk-
|
|
38
|
-
import './chunk-
|
|
39
|
-
import './chunk-
|
|
35
|
+
import { Input } from './chunk-7GUPNTAH.js';
|
|
36
|
+
import { NumberInput } from './chunk-BBKE4W3B.js';
|
|
37
|
+
import './chunk-7EUAMHMU.js';
|
|
38
|
+
import './chunk-X2VMIBK5.js';
|
|
40
39
|
import './chunk-O2LG3PNI.js';
|
|
41
40
|
import './chunk-EDSK6FEH.js';
|
|
42
|
-
import { FIELD_LABEL_CLASS } from './chunk-
|
|
43
|
-
import './chunk-
|
|
44
|
-
import './chunk-
|
|
41
|
+
import { FIELD_LABEL_CLASS } from './chunk-5KSD4WKN.js';
|
|
42
|
+
import './chunk-7ZM7SNCZ.js';
|
|
43
|
+
import './chunk-52IFGFTL.js';
|
|
44
|
+
import './chunk-KZP6B6B3.js';
|
|
45
|
+
import './chunk-AFYXSZGW.js';
|
|
45
46
|
import './chunk-O4GRKO3I.js';
|
|
46
47
|
import { CircleAlertIcon } from './chunk-BLIZ3CL3.js';
|
|
47
|
-
import { devWarn } from './chunk-QDYE5LVT.js';
|
|
48
48
|
import { cn } from './chunk-ZSNJ6UA3.js';
|
|
49
|
+
import { useLabels } from './chunk-RJTVCA62.js';
|
|
50
|
+
import { devWarn } from './chunk-QDYE5LVT.js';
|
|
49
51
|
import * as React8 from 'react';
|
|
50
52
|
import { useForm as useForm$1, useFormContext, Controller, useFormState, FormProvider, useWatch, useFieldArray } from 'react-hook-form';
|
|
51
53
|
export { useWatch } from 'react-hook-form';
|
|
@@ -163,6 +165,17 @@ function FormField(props) {
|
|
|
163
165
|
}
|
|
164
166
|
);
|
|
165
167
|
}
|
|
168
|
+
|
|
169
|
+
// src/form/labels.ts
|
|
170
|
+
var FORM_LABELS = {
|
|
171
|
+
/** `FormArray`'s per-row remove button, when it renders icon-only and has no visible text. */
|
|
172
|
+
removeRow: "Remove row",
|
|
173
|
+
/** Default behind `FormArray`'s `addLabel` prop — the caller's own prop still wins. */
|
|
174
|
+
addRow: "Add",
|
|
175
|
+
/** Defaults behind `Form.FileInput`'s `buttonLabel` / `placeholder` props — each prop still wins. */
|
|
176
|
+
uploadButton: "Upload",
|
|
177
|
+
filePlaceholder: "Choose a file"
|
|
178
|
+
};
|
|
166
179
|
function useBound(args) {
|
|
167
180
|
const path = useFieldName(args.name);
|
|
168
181
|
useRegisterField({
|
|
@@ -569,10 +582,11 @@ function FormFileInput({
|
|
|
569
582
|
messages,
|
|
570
583
|
accept,
|
|
571
584
|
multiple = false,
|
|
572
|
-
buttonLabel
|
|
573
|
-
placeholder
|
|
585
|
+
buttonLabel,
|
|
586
|
+
placeholder,
|
|
574
587
|
...rest
|
|
575
588
|
}) {
|
|
589
|
+
const t = useLabels("form", FORM_LABELS, void 0);
|
|
576
590
|
const { path, required } = useBound({ name, kind: "file", validate, label: rest.label, messages, disabled: rest.disabled, control });
|
|
577
591
|
return /* @__PURE__ */ jsx(
|
|
578
592
|
FormField,
|
|
@@ -588,11 +602,11 @@ function FormFileInput({
|
|
|
588
602
|
required,
|
|
589
603
|
name: field.name,
|
|
590
604
|
value: fileDisplayValue(field.value),
|
|
591
|
-
placeholder,
|
|
605
|
+
placeholder: placeholder ?? t.filePlaceholder,
|
|
592
606
|
onClick: rest.disabled ? void 0 : open,
|
|
593
607
|
invalid,
|
|
594
608
|
error,
|
|
595
|
-
trailingAddon: /* @__PURE__ */ jsx(Button, { variant: "secondary", seamless: true, disabled: rest.disabled, onClick: open, children: buttonLabel })
|
|
609
|
+
trailingAddon: /* @__PURE__ */ jsx(Button, { variant: "secondary", seamless: true, disabled: rest.disabled, onClick: open, children: buttonLabel ?? t.uploadButton })
|
|
596
610
|
}
|
|
597
611
|
) })
|
|
598
612
|
}
|
|
@@ -1012,6 +1026,7 @@ async function evaluateField(entry, value, values, makeMessage) {
|
|
|
1012
1026
|
}
|
|
1013
1027
|
var RowContext = React8.createContext(null);
|
|
1014
1028
|
function FormArrayRemove({ children, ...rest }) {
|
|
1029
|
+
const t = useLabels("form", FORM_LABELS, void 0);
|
|
1015
1030
|
const row = React8.useContext(RowContext);
|
|
1016
1031
|
if (!row) return null;
|
|
1017
1032
|
return /* @__PURE__ */ jsx(
|
|
@@ -1020,7 +1035,7 @@ function FormArrayRemove({ children, ...rest }) {
|
|
|
1020
1035
|
type: "button",
|
|
1021
1036
|
variant: "tertiary",
|
|
1022
1037
|
iconOnly: !children,
|
|
1023
|
-
"aria-label": children ? void 0 :
|
|
1038
|
+
"aria-label": children ? void 0 : t.removeRow,
|
|
1024
1039
|
...rest,
|
|
1025
1040
|
disabled: !row.canRemove || rest.disabled,
|
|
1026
1041
|
onClick: row.remove,
|
|
@@ -1029,7 +1044,8 @@ function FormArrayRemove({ children, ...rest }) {
|
|
|
1029
1044
|
);
|
|
1030
1045
|
}
|
|
1031
1046
|
FormArrayRemove.displayName = "Form.Array.Remove";
|
|
1032
|
-
function FormArray({ form, name, label, hint, min, max, unique, empty, addLabel
|
|
1047
|
+
function FormArray({ form, name, label, hint, min, max, unique, empty, addLabel, messages, className, children }) {
|
|
1048
|
+
const t = useLabels("form", FORM_LABELS, void 0);
|
|
1033
1049
|
const prefix = useArrayPrefix();
|
|
1034
1050
|
const path = `${prefix}${name}`;
|
|
1035
1051
|
const context = useFormContext();
|
|
@@ -1116,7 +1132,7 @@ function FormArray({ form, name, label, hint, min, max, unique, empty, addLabel
|
|
|
1116
1132
|
Remove: FormArrayRemove
|
|
1117
1133
|
}) }, field.id)) }),
|
|
1118
1134
|
rootError ? /* @__PURE__ */ jsx("span", { id: errorId, className: "text-sm text-error-primary", children: rootError }) : null,
|
|
1119
|
-
addLabel === null ? null : /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Button, { ref: addRef, type: "button", variant: "secondary", size: "sm", disabled: !canAdd, onClick: addRow, children: addLabel }) })
|
|
1135
|
+
addLabel === null ? null : /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Button, { ref: addRef, type: "button", variant: "secondary", size: "sm", disabled: !canAdd, onClick: addRow, children: addLabel ?? t.addRow }) })
|
|
1120
1136
|
]
|
|
1121
1137
|
}
|
|
1122
1138
|
)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { c as NavLink } from './nav-
|
|
2
|
+
import { c as NavLink } from './nav-CKKqjBs6.js';
|
|
3
3
|
import { P as PanelDividers } from './panel-El4oI68p.js';
|
|
4
|
+
import { H as HeaderNavigationLabels } from './labels-DPrh0se9.js';
|
|
4
5
|
import './rule-BqzaIwJy.js';
|
|
5
6
|
import './dropdown-menu.js';
|
|
6
7
|
|
|
@@ -73,6 +74,9 @@ interface HeaderNavigationProps {
|
|
|
73
74
|
mobile?: HeaderNavigationMobile;
|
|
74
75
|
/** Accessible name for the primary `<nav>` landmark. @default "Main" */
|
|
75
76
|
"aria-label"?: string;
|
|
77
|
+
/** Override the component's own copy — the mobile trigger and the brand lockup's name. Merges
|
|
78
|
+
* under `<JenosizeUIProvider labels={{ headerNavigation }}>`; see `docs/i18n-policy.md`. */
|
|
79
|
+
labels?: HeaderNavigationLabels;
|
|
76
80
|
/** Layout/spacing overrides for the `<header>` only (merged via `cn()`) — the ONE class hook.
|
|
77
81
|
* Never restyles rows. */
|
|
78
82
|
className?: string;
|
|
@@ -1,28 +1,30 @@
|
|
|
1
|
-
"use client";export { HeaderNavigation } 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-MFJP5FA7.js';
|
|
10
|
-
import './chunk-7VLYQR4D.js';
|
|
11
|
-
import './chunk-LCG34A5T.js';
|
|
12
|
-
import './chunk-42FCPC77.js';
|
|
13
|
-
import './chunk-C6OTOTKI.js';
|
|
14
|
-
import './chunk-6IUTVDNI.js';
|
|
15
|
-
import './chunk-S7NNXWIN.js';
|
|
1
|
+
"use client";export { HeaderNavigation } from './chunk-UGKELBNC.js';
|
|
2
|
+
import './chunk-ZMFY7WAY.js';
|
|
3
|
+
import './chunk-6B6BWTXC.js';
|
|
4
|
+
import './chunk-AIGYMTCU.js';
|
|
5
|
+
import './chunk-LLPWQDF7.js';
|
|
6
|
+
import './chunk-BFVJHH7S.js';
|
|
7
|
+
import './chunk-CKMWBVRR.js';
|
|
8
|
+
import './chunk-LO22VQL5.js';
|
|
16
9
|
import './chunk-PO2TYK3C.js';
|
|
10
|
+
import './chunk-S7NNXWIN.js';
|
|
17
11
|
import './chunk-FKVPAEJ6.js';
|
|
18
|
-
import './chunk-
|
|
12
|
+
import './chunk-45Y2ZGNK.js';
|
|
13
|
+
import './chunk-7VLYQR4D.js';
|
|
14
|
+
import './chunk-LCG34A5T.js';
|
|
15
|
+
import './chunk-5AZKP4KZ.js';
|
|
16
|
+
import './chunk-AZ7DKRBY.js';
|
|
17
|
+
import './chunk-MCQG4H6T.js';
|
|
18
|
+
import './chunk-CGHYXWTT.js';
|
|
19
19
|
import './chunk-O2LG3PNI.js';
|
|
20
20
|
import './chunk-EDSK6FEH.js';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
21
|
+
import './chunk-52IFGFTL.js';
|
|
22
|
+
import './chunk-KZP6B6B3.js';
|
|
23
|
+
import './chunk-AFYXSZGW.js';
|
|
23
24
|
import './chunk-O4GRKO3I.js';
|
|
24
25
|
import './chunk-BLIZ3CL3.js';
|
|
25
|
-
import './chunk-QDYE5LVT.js';
|
|
26
26
|
import './chunk-ZSNJ6UA3.js';
|
|
27
|
+
import './chunk-RJTVCA62.js';
|
|
28
|
+
import './chunk-QDYE5LVT.js';
|
|
27
29
|
//# sourceMappingURL=header-navigation.js.map
|
|
28
30
|
//# sourceMappingURL=header-navigation.js.map
|
package/dist/helper.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type ColorToken = "brand-50" | "brand-100" | "brand-200" | "brand-300" | "brand-400" | "brand-500" | "brand-600" | "brand-700" | "brand-800" | "brand-900" | "brand-950" | "bg-primary" | "bg-primary_alt" | "bg-sunken" | "bg-secondary" | "bg-tertiary" | "bg-quaternary" | "bg-ghost-hover" | "bg-selected" | "bg-selected-hover" | "bg-brand-solid" | "bg-brand-solid_hover" | "bg-brand-primary" | "bg-primary-solid" | "bg-success-primary" | "bg-warning-primary" | "bg-error-primary" | "bg-error-solid" | "bg-error-solid_hover" | "bg-secondary-solid" | "bg-secondary-solid_hover" | "bg-success-solid" | "bg-success-solid_hover" | "bg-warning-solid" | "bg-warning-solid_hover" | "bg-overlay" | "bg-overlay-soft" | "text-primary" | "text-secondary" | "text-secondary_hover" | "text-tertiary" | "text-quaternary" | "text-placeholder" | "text-brand-secondary" | "text-brand-secondary_hover" | "text-brand-tertiary" | "text-success-primary" | "text-warning-primary" | "text-error-primary" | "fg-secondary" | "fg-quaternary" | "fg-quaternary_hover" | "fg-disabled" | "fg-white" | "fg-success-primary" | "fg-warning-primary" | "fg-error-primary" | "fg-success-primary_hover" | "fg-warning-primary_hover" | "fg-error-primary_hover" | "fg-brand-secondary" | "fg-brand-secondary_hover" | "fg-error-secondary" | "fg-success-secondary" | "border-secondary" | "border-primary" | "border-strong" | "border-tertiary" | "border-secondary_alt" | "border-brand" | "border-error_subtle" | "border-success" | "border-warning" | "focus-ring" | "focus-ring-error" | "tooltip-supporting-text" | "utility-neutral-50" | "utility-neutral-100" | "utility-neutral-200" | "utility-neutral-300" | "utility-neutral-400" | "utility-neutral-500" | "utility-neutral-600" | "utility-neutral-700" | "utility-brand-50" | "utility-brand-100" | "utility-brand-200" | "utility-brand-300" | "utility-brand-400" | "utility-brand-500" | "utility-brand-600" | "utility-brand-700" | "utility-red-50" | "utility-red-100" | "utility-red-200" | "utility-red-300" | "utility-red-400" | "utility-red-500" | "utility-red-600" | "utility-red-700" | "utility-amber-50" | "utility-amber-100" | "utility-amber-200" | "utility-amber-300" | "utility-amber-400" | "utility-amber-500" | "utility-amber-600" | "utility-amber-700" | "utility-green-50" | "utility-green-100" | "utility-green-200" | "utility-green-300" | "utility-green-400" | "utility-green-500" | "utility-green-600" | "utility-green-700" | "utility-blue-50" | "utility-blue-100" | "utility-blue-200" | "utility-blue-300" | "utility-blue-400" | "utility-blue-500" | "utility-blue-600" | "utility-blue-700" | "illustration-neutral-1" | "illustration-neutral-2" | "illustration-neutral-3" | "illustration-neutral-4";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A house colour as a CSS **value** — `token("utility-blue-600")` → `"var(--color-utility-blue-600)"`.
|
|
5
|
+
*
|
|
6
|
+
* **Why this exists.** Almost everything in this library is coloured by a Tailwind class over a
|
|
7
|
+
* semantic role, and that is still the right answer wherever a class can reach. But a few places
|
|
8
|
+
* take a colour as a *value* rather than as a class — a chart `palette`, a `style` a caller has to
|
|
9
|
+
* write themselves — and there a class is no help at all. This is the one supported way to spell a
|
|
10
|
+
* house colour there, so a consumer never has to hand-write `var(--color-…)` and never has to guess
|
|
11
|
+
* whether a name exists.
|
|
12
|
+
*
|
|
13
|
+
* **Why the argument is a closed, GENERATED union.** `var(--color-nope)` is perfectly valid CSS. It
|
|
14
|
+
* does not throw, does not warn and fails no gate — the declaration is simply invalid at
|
|
15
|
+
* computed-value time and the element keeps its inherited colour. That is the same silent-failure
|
|
16
|
+
* shape as an undeclared Tailwind token, and the same answer applies: the vocabulary is ours, so it
|
|
17
|
+
* is a type. `token.generated.ts` is emitted from `theme.css` by `scripts/build-tokens.mjs` and
|
|
18
|
+
* gated by `pnpm tokens:check`, so the union cannot drift from what the stylesheet declares.
|
|
19
|
+
*
|
|
20
|
+
* The set is exactly what `@theme` declares — **primitive ramp stops included**, because this is a
|
|
21
|
+
* consumer-facing escape hatch and not component source. AGENTS §7's "no raw ramp stops" governs
|
|
22
|
+
* `src/components/**`; it does not govern what an app may ask for. Tailwind's own stock palette is
|
|
23
|
+
* deliberately absent: `--color-neutral-950` resolves at build time but is only emitted when some
|
|
24
|
+
* class pulled it in, so it is a name that works right up until nothing uses it.
|
|
25
|
+
*
|
|
26
|
+
* Colours only. A radius, a shadow or a type step would each need its own prefix, and one function
|
|
27
|
+
* that guessed the prefix from the name would be two vocabularies wearing one name — if those are
|
|
28
|
+
* ever wanted they get their own helper.
|
|
29
|
+
*
|
|
30
|
+
* ```tsx
|
|
31
|
+
* <BarChart data={rows} series={series} palette={[token("utility-blue-600"), token("brand-500")]} />
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
declare function token(name: ColorToken): string;
|
|
35
|
+
|
|
36
|
+
export { type ColorToken, token };
|
package/dist/helper.js
ADDED
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
|
+
export { ColorToken, token } from './helper.js';
|
|
2
3
|
export { b as Option, c as OptionGroup, d as OptionOrGroup, i as isOptionGroup } from './options-CPEIgjtd.js';
|
|
3
4
|
export { a as SEMANTIC_COLORS, S as SemanticColor, i as isSemanticColor } from './color-CtSxc1Rh.js';
|
|
4
5
|
export { O as OverflowMode } from './overflow-Df0h42Oi.js';
|
|
5
|
-
export {
|
|
6
|
+
export { C as CARD_SURFACE_VARIANTS, a as Card, b as CardPadding, c as CardProps, d as CardShadow, e as CardSurfaceVariant, f as CardVariant, S as SURFACE_PADDINGS, g as SURFACE_SHADOWS, h as SurfacePadding, i as SurfaceShadow } from './card-D56VxyAe.js';
|
|
6
7
|
export { B as Button, a as ButtonProps, b as ButtonSize, c as ButtonVariant } from './Button-Bt7pzM4R.js';
|
|
7
8
|
export { Input, InputAddon, InputAddonProps, InputProps, InputSize } from './input.js';
|
|
8
9
|
export { NumberInput, NumberInputOnValueChange, NumberInputProps, NumberInputSize, NumberInputVariant } from './number-input.js';
|
|
9
10
|
export { Textarea, TextareaProps, TextareaResize, TextareaSize } from './textarea.js';
|
|
10
|
-
export { S as Select, a as SelectAction, b as SelectDisplay, c as SelectIndicator, d as SelectIndicatorAlign, e as SelectOption, f as SelectProps, g as SelectRootProps, h as SelectSize } from './Select-
|
|
11
|
+
export { S as Select, a as SelectAction, b as SelectDisplay, c as SelectIndicator, d as SelectIndicatorAlign, e as SelectOption, f as SelectProps, g as SelectRootProps, h as SelectSize } from './Select-Dt5ARIH8.js';
|
|
11
12
|
export { Combobox, ComboboxChip, ComboboxDisplay, ComboboxIndicator, ComboboxIndicatorAlign, ComboboxOption, ComboboxProps, ComboboxRootProps, ComboboxSize } from './combobox.js';
|
|
12
13
|
export { Checkbox, CheckboxGroup, CheckboxGroupOption, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, CheckboxSize } from './checkbox.js';
|
|
13
14
|
export { RadioGroup, RadioGroupOrientation, RadioGroupProps, RadioGroupSize, RadioOption } from './radio.js';
|
|
14
15
|
export { Switch, SwitchProps, SwitchSize } from './switch.js';
|
|
15
16
|
export { FileTrigger, FileTriggerProps, FileTriggerState } from './file-trigger.js';
|
|
16
|
-
export { B as BucketResult, D as Dropzone, a as DropzoneProps, F as FILE_TONE, b as FILE_TONE_BUCKETS, c as FileExtension, d as FileList, e as FileListProps, f as FileListTreatment, g as FileRejectReason, h as FileRejection, i as FileRules, G as GLYPH_BOX, K as KnownFileExtension, U as UploadContext, j as UploadEvent, k as UploadFile, l as UploadStatus, m as UploadTransport, n as UseUploadsOptions, o as UseUploadsResult, p as bucketFiles, q as extensionTone, r as fileExtension, s as fileGlyphSource, t as fileTone, u as formatFileSize, v as invalidAcceptEntries, w as isFileTypeAccepted, x as reduceUpload, y as splitBatchProgress, z as toUploadFile, A as useUploads } from './use-uploads-
|
|
17
|
+
export { B as BucketResult, D as Dropzone, a as DropzoneProps, F as FILE_TONE, b as FILE_TONE_BUCKETS, c as FileExtension, d as FileList, e as FileListProps, f as FileListTreatment, g as FileRejectReason, h as FileRejection, i as FileRules, G as GLYPH_BOX, K as KnownFileExtension, U as UploadContext, j as UploadEvent, k as UploadFile, l as UploadStatus, m as UploadTransport, n as UseUploadsOptions, o as UseUploadsResult, p as bucketFiles, q as extensionTone, r as fileExtension, s as fileGlyphSource, t as fileTone, u as formatFileSize, v as invalidAcceptEntries, w as isFileTypeAccepted, x as reduceUpload, y as splitBatchProgress, z as toUploadFile, A as useUploads } from './use-uploads-KaPqDklo.js';
|
|
17
18
|
export { FileTypeGlyph, FileTypeGlyphProps } from './dropzone.js';
|
|
18
|
-
export { C as CardNumberEdit, a as CardType, D as DEFAULT_MAX_DIGITS, P as PaymentInput, b as PaymentInputChangeMeta, c as PaymentInputProps, d as PaymentInputSize, e as applyCardNumberEdit, f as detectCardType, g as formatCardNumber, h as hasChecksumError, i as isCompleteCardNumber, j as isLengthSettled, l as luhnValid, o as onlyDigits } from './PaymentInput-
|
|
19
|
+
export { C as CardNumberEdit, a as CardType, D as DEFAULT_MAX_DIGITS, P as PaymentInput, b as PaymentInputChangeMeta, c as PaymentInputProps, d as PaymentInputSize, e as applyCardNumberEdit, f as detectCardType, g as formatCardNumber, h as hasChecksumError, i as isCompleteCardNumber, j as isLengthSettled, l as luhnValid, o as onlyDigits } from './PaymentInput-Dn5WVQVy.js';
|
|
19
20
|
export { DateInput, DateInputProps, DateInputSize } from './date-input.js';
|
|
20
|
-
export { T as TagInput, a as TagInputProps, b as TagInputSeparator, c as TagInputSize } from './TagInput-
|
|
21
|
+
export { T as TagInput, a as TagInputProps, b as TagInputSeparator, c as TagInputSize } from './TagInput-BaBeve6L.js';
|
|
21
22
|
export { TagInputOuter, TagInputOuterProps } from './tag-input.js';
|
|
22
23
|
export { VerificationCodeInput, VerificationCodeInputProps, VerificationCodeInputSize, VerificationCodeMask, VerificationCodeValidationType } from './verification-code-input.js';
|
|
23
24
|
export { Breadcrumb, BreadcrumbDivider, BreadcrumbItem, BreadcrumbProps, BreadcrumbVariant } from './breadcrumb.js';
|
|
25
|
+
export { D as DialogFooter, a as DialogSize, O as OVERLAY_BACKDROPS, b as OverlayBackdrop } from './shared-CxAedkiy.js';
|
|
24
26
|
export { AlertDialog, AlertDialogProps, Dialog, DialogProps } from './dialog.js';
|
|
25
27
|
export { Popover, PopoverProps } from './popover.js';
|
|
26
28
|
export { Drawer, DrawerContainer, DrawerFooter, DrawerProps, DrawerSide, DrawerSize } from './drawer.js';
|
|
@@ -39,34 +41,34 @@ export { Skeleton, SkeletonProps, SkeletonShape, SkeletonText, SkeletonTextProps
|
|
|
39
41
|
export { LinkRel, ToastActionConfig, ToastFacade, ToastOptions, ToastPosition, ToastProvider, ToastProviderProps, ToastType, ToastUpdateOptions, toast } from './toast.js';
|
|
40
42
|
export { ActiveFilter, BulkAction, CardPriority, ColumnAlign, ColumnFilter, ColumnPin, DateRangeFilter, ExpansionResolver, FacetFilter, FilterValue, NumberFilter, RowAction, RowActionSlot, RowActions, RowExpansion, RowMenuItem, SelectionState, SortDirection, Table, TableColumn, TableColumnGroup, TableColumns, TableFilters, TablePaginateOptions, TablePaginationOptions, TableProps, TableResponsive, TableRowClick, TableRowHover, TableSize, TableSort, TableToolbar, TableTreatment, TextFilter, UseTableOptions, UseTableResult, expansionChildren, expansionDetail, flattenColumns, hasColumnGroups, isColumnGroup, useTable } from './table.js';
|
|
41
43
|
export { Tree, TreeCheckedState, TreeDragHandle, TreeGuide, TreeMove, TreeMovePosition, TreeNode, TreeNodeState, TreeProps, TreeReorderOptions, TreeSelectionMode, TreeSize, TreeSlot, TreeToggleOptions, UseTreeOptions, UseTreeResult, VisibleTreeNode, ancestorIds, applyTreeMove, attachChildren, isBranch, isDescendant, useTree, walkTree } from './tree.js';
|
|
42
|
-
export { KanbanBoard, KanbanBoardProps,
|
|
44
|
+
export { KanbanBoard, KanbanBoardProps, KanbanCell, KanbanCellView, KanbanColumn, KanbanColumnActions, KanbanColumnMove, KanbanColumnReorder, KanbanDraft, KanbanHandle, KanbanHeight, KanbanLane, KanbanLaneView, KanbanLanesOptions, KanbanLoadMore, KanbanMove, KanbanPosition, KanbanSize, UseKanbanOptions, UseKanbanResult, cellKey, useKanban } from './kanban-board.js';
|
|
43
45
|
export { AreaChart, AreaChartProps } from './area-chart.js';
|
|
44
46
|
export { BarChart, BarChartProps } from './bar-chart.js';
|
|
45
47
|
export { LineChart, LineChartProps } from './line-chart.js';
|
|
46
48
|
export { PieChart, PieChartProps } from './pie-chart.js';
|
|
47
49
|
export { RadarChart, RadarChartProps } from './radar-chart.js';
|
|
48
50
|
export { RadialChart, RadialChartProps } from './radial-chart.js';
|
|
49
|
-
export { C as CartesianChartBaseProps, a as ChartColor, b as ChartCurve, c as ChartDatum, d as ChartLegendPlacement, e as ChartPalette, f as ChartSeries, g as ChartSize, P as PieDonut } from './types-
|
|
51
|
+
export { C as CartesianChartBaseProps, a as ChartColor, b as ChartCurve, c as ChartDatum, d as ChartLegendPlacement, e as ChartPalette, f as ChartSeries, g as ChartSize, P as PieDonut } from './types-DR9rAEy1.js';
|
|
50
52
|
export { Calendar, CalendarConfig, CalendarDay, CalendarEvent, CalendarLayout, CalendarProps, CalendarSize, CalendarView, SlotDuration, UseCalendarOptions, UseCalendarResult, WireDates, isWireDate, parseEvent, serializeEvent, useCalendar } from './calendar.js';
|
|
51
53
|
export { DATE_PRESETS, DateCalendar, DateCalendarProps, DateCalendarSize, DateCommit, DateCommonProps, DatePicker, DatePickerProps, DatePreset, DateRangeCalendar, DateRangeCalendarProps, DateRangePicker, DateRangePickerProps, DateRangeValue, resolvePreset } from './date-picker.js';
|
|
52
54
|
export { Pagination, PaginationAlign, PaginationColor, PaginationProps, PaginationVariant, pageWindow } from './pagination.js';
|
|
53
55
|
export { Callout, CalloutAction, CalloutProps, CalloutSize, CalloutVisual } from './callout.js';
|
|
54
56
|
export { ILLUSTRATION_TYPES, Illustration, IllustrationProps, IllustrationSize, IllustrationType } from './illustration.js';
|
|
55
|
-
export { Card, CardPadding, CardProps, CardVariant } from './card.js';
|
|
56
57
|
export { ScrollArea, ScrollAreaAxis, ScrollAreaProps } from './scroll-area.js';
|
|
57
58
|
export { Separator, SeparatorLength, SeparatorOrientation, SeparatorProps } from './separator.js';
|
|
58
59
|
export { a as RuleAxis, R as RuleTexture, b as RuleTone, c as RuleWeight } from './rule-BqzaIwJy.js';
|
|
59
60
|
export { P as PanelDividers } from './panel-El4oI68p.js';
|
|
61
|
+
export { JenosizeUIProvider, JenosizeUIProviderProps, LinkComponent, LinkProps } from './provider.js';
|
|
62
|
+
export { A as AvatarLabels, B as BadgeLabels, a as BreadcrumbLabels, b as CalendarLabels, C as ChartLabels, c as CloseButtonLabels, d as ComboboxLabels, D as DateInputLabels, e as DatePickerLabels, f as DropzoneLabels, F as FieldLabels, g as FileListLabels, H as HeaderNavigationLabels, I as InputLabels, K as KanbanBoardLabels, L as Label, h as LabelOverrides, i as LibraryLabels, N as NumberInputLabels, P as PaginationLabels, j as PaymentInputLabels, k as SidebarNavigationLabels, T as TableLabels, l as TagLabels, m as ToastLabels, n as TreeLabels } from './labels-DPrh0se9.js';
|
|
60
63
|
export { ResolvedTheme, Theme, ThemeContextValue, ThemeProvider, ThemeProviderProps, ThemeScript, ThemeScriptOptions, ThemeScriptProps, ThemeToggle, ThemeToggleProps, buildThemeScript, useTheme } from './theme.js';
|
|
61
64
|
export { A as AreaBand, a as AreaFill, B as BarLayout } from './Cartesian-ZIKPEYWP.js';
|
|
62
65
|
export { ButtonUtility, ButtonUtilityProps, ButtonUtilitySize, ButtonUtilityVariant, CloseButton, CloseButtonProps, CloseButtonSize, CloseButtonTheme } from './button.js';
|
|
63
66
|
export { CARD_ICON } from './payment-input.js';
|
|
64
67
|
export { D as DateOrder, E as Era, H as HourCycle, P as ParsedFormat } from './date-utils-7hTFTXNK.js';
|
|
65
|
-
export { D as DialogFooter, a as DialogSize } from './shared-BNXAdgh2.js';
|
|
66
68
|
export { NativeSelect, NativeSelectOption, NativeSelectProps, NativeSelectSize } from './select.js';
|
|
67
|
-
export { N as NavActionReveal, a as NavGroup, b as NavItem, c as NavLink, d as NavMatch, e as NavRowAction, f as NavSeparator } from './nav-
|
|
69
|
+
export { N as NavActionReveal, a as NavGroup, b as NavItem, c as NavLink, d as NavMatch, e as NavRowAction, f as NavSeparator } from './nav-CKKqjBs6.js';
|
|
68
70
|
export { P as PopoverAlign, a as PopoverFooter, b as PopoverSide, c as PopoverSize } from './shared-BYXJPnsN.js';
|
|
69
|
-
export { T as TooltipTone } from './tooltip-surface-
|
|
71
|
+
export { T as TooltipTone } from './tooltip-surface-C2I9o2QM.js';
|
|
70
72
|
export { W as WeekStart } from './date-vMJBKAFK.js';
|
|
71
73
|
import 'react';
|
|
72
74
|
import '@base-ui/react/use-render';
|
package/dist/index.js
CHANGED
|
@@ -1,93 +1,98 @@
|
|
|
1
|
-
"use client";export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use client";export { AreaChart } from './chunk-KHGW72BM.js';
|
|
2
|
+
export { BarChart } from './chunk-SKRR3ZMP.js';
|
|
3
|
+
export { LineChart } from './chunk-YHBI52P2.js';
|
|
4
|
+
import './chunk-5DP7W5HX.js';
|
|
5
|
+
export { PieChart } from './chunk-T4ZFZTY6.js';
|
|
6
|
+
export { RadarChart } from './chunk-GLKFFA7N.js';
|
|
7
|
+
export { RadialChart } from './chunk-ULGCGKOE.js';
|
|
8
|
+
import './chunk-OLLD2BZN.js';
|
|
9
|
+
import './chunk-22M75A3N.js';
|
|
10
|
+
export { DATE_PRESETS, DateCalendar, DatePicker, DateRangeCalendar, DateRangePicker, resolvePreset } from './chunk-667ZHY3T.js';
|
|
6
11
|
export { ScrollArea } from './chunk-X2X7Q7NW.js';
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
export { ToastProvider, toast } from './chunk-YLEHYDXC.js';
|
|
13
|
-
export { Table, expansionChildren, expansionDetail, flattenColumns, hasColumnGroups, isColumnGroup, useTable } from './chunk-USL3TDZM.js';
|
|
14
|
-
export { Callout } from './chunk-JXHZHUB3.js';
|
|
12
|
+
export { ProgressSteps, StepPanel, buildStepMap, firstEnabledStep, resolveStepStatus, useSteps } from './chunk-IQNVSQRK.js';
|
|
13
|
+
export { ToastProvider, toast } from './chunk-T5574MXM.js';
|
|
14
|
+
export { Table, expansionChildren, expansionDetail, flattenColumns, hasColumnGroups, isColumnGroup, useTable } from './chunk-U4WSJAYK.js';
|
|
15
|
+
export { Pagination, pageWindow } from './chunk-6MMBQVRO.js';
|
|
16
|
+
export { Callout } from './chunk-LQURV7HQ.js';
|
|
15
17
|
export { ILLUSTRATION_TYPES, Illustration } from './chunk-OHUFNYGN.js';
|
|
16
|
-
export { Tree, ancestorIds, applyTreeMove, attachChildren, isBranch, isDescendant, useTree, walkTree } from './chunk-
|
|
17
|
-
export { KanbanBoard, cellKey, useKanban } from './chunk-
|
|
18
|
+
export { Tree, ancestorIds, applyTreeMove, attachChildren, isBranch, isDescendant, useTree, walkTree } from './chunk-POQTE7JI.js';
|
|
19
|
+
export { KanbanBoard, cellKey, useKanban } from './chunk-4VGEJG4M.js';
|
|
18
20
|
import './chunk-5ZPUAGOP.js';
|
|
19
|
-
export { Calendar, isWireDate, parseEvent, serializeEvent, useCalendar } from './chunk-
|
|
20
|
-
|
|
21
|
+
export { Calendar, isWireDate, parseEvent, serializeEvent, useCalendar } from './chunk-FH7Z7SGQ.js';
|
|
22
|
+
import './chunk-FWRHBMWT.js';
|
|
23
|
+
export { Card } from './chunk-GZMDZF2V.js';
|
|
21
24
|
import './chunk-P6CON2R2.js';
|
|
22
|
-
export {
|
|
23
|
-
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export { Drawer } from './chunk-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
export { TagInput } from './chunk-
|
|
44
|
-
export {
|
|
45
|
-
|
|
46
|
-
export { Checkbox, CheckboxGroup } from './chunk-RIXEUAPY.js';
|
|
47
|
-
export { RadioGroup } from './chunk-WKWAUU64.js';
|
|
48
|
-
export { Switch } from './chunk-74HPBSVY.js';
|
|
49
|
-
import './chunk-GTHJWR3Q.js';
|
|
50
|
-
export { SURFACE_PADDINGS, SURFACE_VARIANTS } from './chunk-MFJP5FA7.js';
|
|
51
|
-
export { Dropzone, FILE_TONE, FILE_TONE_BUCKETS, FileList, FileTypeGlyph, GLYPH_BOX, bucketFiles, extensionTone, fileExtension, fileGlyphSource, fileTone, formatFileSize, invalidAcceptEntries, isFileTypeAccepted, toUploadFile } from './chunk-HSVBTIP2.js';
|
|
52
|
-
export { Progress } from './chunk-A46ED5JQ.js';
|
|
53
|
-
export { Separator } from './chunk-7VLYQR4D.js';
|
|
54
|
-
import './chunk-LCG34A5T.js';
|
|
55
|
-
export { FileTrigger } from './chunk-DJSXIAFH.js';
|
|
56
|
-
export { CARD_ICON, DEFAULT_MAX_DIGITS, PaymentInput, applyCardNumberEdit, detectCardType, formatCardNumber, hasChecksumError, isCompleteCardNumber, isLengthSettled, luhnValid, onlyDigits } from './chunk-3GT43XPK.js';
|
|
57
|
-
export { DateInput } from './chunk-NMERLWT7.js';
|
|
58
|
-
import './chunk-DJYWPJZ3.js';
|
|
59
|
-
export { ThemeProvider, ThemeScript, ThemeToggle, buildThemeScript, useTheme } from './chunk-5JRM3OES.js';
|
|
60
|
-
export { Button } from './chunk-A5WQLN4B.js';
|
|
61
|
-
export { CloseButton } from './chunk-42FCPC77.js';
|
|
62
|
-
export { ButtonUtility } from './chunk-C6OTOTKI.js';
|
|
63
|
-
export { SEMANTIC_COLORS, isSemanticColor } from './chunk-6IUTVDNI.js';
|
|
64
|
-
export { Input, InputAddon } from './chunk-JMWYCT63.js';
|
|
65
|
-
export { NumberInput } from './chunk-QBHQOX23.js';
|
|
66
|
-
export { Textarea } from './chunk-EDOUI2BG.js';
|
|
67
|
-
import './chunk-7EUAMHMU.js';
|
|
68
|
-
export { Select } from './chunk-GAFGIT4Q.js';
|
|
25
|
+
export { HeaderNavigation } from './chunk-UGKELBNC.js';
|
|
26
|
+
export { SidebarNavigation, SidebarProvider, SidebarTrigger, useSidebar } from './chunk-ZMFY7WAY.js';
|
|
27
|
+
export { DropdownMenu } from './chunk-6B6BWTXC.js';
|
|
28
|
+
export { Tabs } from './chunk-AIGYMTCU.js';
|
|
29
|
+
export { Badge, BadgeGroup } from './chunk-54SIZR63.js';
|
|
30
|
+
export { Avatar, AvatarAddButton, AvatarGroup, AvatarLabelGroup, AvatarProfilePhoto } from './chunk-ZHAT2XZ4.js';
|
|
31
|
+
export { Indicator } from './chunk-N3RVMBPX.js';
|
|
32
|
+
export { Skeleton, SkeletonText } from './chunk-LLPWQDF7.js';
|
|
33
|
+
export { TagInputOuter } from './chunk-MVG5MABV.js';
|
|
34
|
+
export { VerificationCodeInput } from './chunk-5ZEUTSCV.js';
|
|
35
|
+
export { Breadcrumb } from './chunk-CFFWYXDW.js';
|
|
36
|
+
export { Dialog } from './chunk-A323V6AI.js';
|
|
37
|
+
export { AlertDialog } from './chunk-3H444OJA.js';
|
|
38
|
+
export { Popover } from './chunk-YQYVGWIC.js';
|
|
39
|
+
export { Drawer } from './chunk-BFVJHH7S.js';
|
|
40
|
+
export { OVERLAY_BACKDROPS } from './chunk-CKMWBVRR.js';
|
|
41
|
+
import './chunk-LO22VQL5.js';
|
|
42
|
+
export { reduceUpload, splitBatchProgress, useUploads } from './chunk-NKG4N6HA.js';
|
|
43
|
+
export { CARD_ICON, DEFAULT_MAX_DIGITS, PaymentInput, applyCardNumberEdit, detectCardType, formatCardNumber, hasChecksumError, isCompleteCardNumber, isLengthSettled, luhnValid, onlyDigits } from './chunk-SB3DG572.js';
|
|
44
|
+
export { DateInput } from './chunk-E2YZ7IMT.js';
|
|
45
|
+
import './chunk-3QXLIZIX.js';
|
|
46
|
+
export { TagInput } from './chunk-QHH6AUR3.js';
|
|
47
|
+
export { Textarea } from './chunk-GQRSABRN.js';
|
|
48
|
+
export { Select } from './chunk-FFMTYQXE.js';
|
|
69
49
|
import './chunk-7S2TBALK.js';
|
|
70
|
-
export { NativeSelect } from './chunk-
|
|
71
|
-
export { Tag, TagGroup } from './chunk-EDT5J5WK.js';
|
|
72
|
-
import './chunk-S7NNXWIN.js';
|
|
50
|
+
export { NativeSelect } from './chunk-I6WMNXC7.js';
|
|
73
51
|
import './chunk-PO2TYK3C.js';
|
|
74
|
-
|
|
75
|
-
import './chunk-
|
|
52
|
+
export { Tag, TagGroup } from './chunk-LYXPJERB.js';
|
|
53
|
+
import './chunk-S7NNXWIN.js';
|
|
54
|
+
export { Combobox } from './chunk-S5TEWPWW.js';
|
|
55
|
+
import './chunk-F6NLE6XJ.js';
|
|
56
|
+
import './chunk-4RBIWI2Q.js';
|
|
57
|
+
import './chunk-6H4LNWQ7.js';
|
|
76
58
|
import './chunk-4P2NBLBW.js';
|
|
77
59
|
import './chunk-FKVPAEJ6.js';
|
|
60
|
+
export { Checkbox, CheckboxGroup } from './chunk-5XPMY2LF.js';
|
|
61
|
+
export { RadioGroup } from './chunk-ZZSNTCCL.js';
|
|
78
62
|
export { isOptionGroup } from './chunk-7JBNLEJ7.js';
|
|
63
|
+
export { Switch } from './chunk-QDKETK7D.js';
|
|
64
|
+
import './chunk-D7EE5GWU.js';
|
|
65
|
+
export { CARD_SURFACE_VARIANTS, SURFACE_PADDINGS, SURFACE_SHADOWS } from './chunk-45Y2ZGNK.js';
|
|
66
|
+
export { Dropzone, FILE_TONE, FILE_TONE_BUCKETS, FileList, FileTypeGlyph, GLYPH_BOX, bucketFiles, extensionTone, fileExtension, fileGlyphSource, fileTone, formatFileSize, invalidAcceptEntries, isFileTypeAccepted, toUploadFile } from './chunk-HHYEAFCL.js';
|
|
67
|
+
export { Progress } from './chunk-33TOK7ES.js';
|
|
68
|
+
export { Separator } from './chunk-7VLYQR4D.js';
|
|
69
|
+
import './chunk-LCG34A5T.js';
|
|
70
|
+
export { FileTrigger } from './chunk-DJSXIAFH.js';
|
|
71
|
+
export { ThemeProvider, ThemeScript, ThemeToggle, buildThemeScript, useTheme } from './chunk-FNQJJO63.js';
|
|
72
|
+
export { JenosizeUIProvider } from './chunk-AIARANKE.js';
|
|
73
|
+
import './chunk-5AZKP4KZ.js';
|
|
74
|
+
import './chunk-YIHKQ63K.js';
|
|
75
|
+
export { token } from './chunk-3ZEEGXYF.js';
|
|
76
|
+
export { Button } from './chunk-OACWA4TC.js';
|
|
77
|
+
export { ButtonUtility } from './chunk-AZ7DKRBY.js';
|
|
78
|
+
export { SEMANTIC_COLORS, isSemanticColor } from './chunk-MCQG4H6T.js';
|
|
79
|
+
export { CloseButton } from './chunk-CGHYXWTT.js';
|
|
79
80
|
import './chunk-DWKILXHE.js';
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
import './chunk-
|
|
81
|
+
export { Input, InputAddon } from './chunk-7GUPNTAH.js';
|
|
82
|
+
export { NumberInput } from './chunk-BBKE4W3B.js';
|
|
83
|
+
import './chunk-7EUAMHMU.js';
|
|
84
|
+
import './chunk-X2VMIBK5.js';
|
|
83
85
|
import './chunk-O2LG3PNI.js';
|
|
84
86
|
import './chunk-EDSK6FEH.js';
|
|
85
|
-
import './chunk-
|
|
86
|
-
|
|
87
|
-
import './chunk-
|
|
87
|
+
import './chunk-5KSD4WKN.js';
|
|
88
|
+
import './chunk-7ZM7SNCZ.js';
|
|
89
|
+
import './chunk-52IFGFTL.js';
|
|
90
|
+
export { TooltipExport as Tooltip } from './chunk-KZP6B6B3.js';
|
|
91
|
+
import './chunk-AFYXSZGW.js';
|
|
88
92
|
import './chunk-O4GRKO3I.js';
|
|
89
93
|
import './chunk-BLIZ3CL3.js';
|
|
90
|
-
import './chunk-QDYE5LVT.js';
|
|
91
94
|
export { cn } from './chunk-ZSNJ6UA3.js';
|
|
95
|
+
import './chunk-RJTVCA62.js';
|
|
96
|
+
import './chunk-QDYE5LVT.js';
|
|
92
97
|
//# sourceMappingURL=index.js.map
|
|
93
98
|
//# sourceMappingURL=index.js.map
|
package/dist/indicator.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";export { Indicator } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-QDYE5LVT.js';
|
|
1
|
+
"use client";export { Indicator } from './chunk-N3RVMBPX.js';
|
|
2
|
+
import './chunk-MCQG4H6T.js';
|
|
3
|
+
import './chunk-7ZM7SNCZ.js';
|
|
5
4
|
import './chunk-ZSNJ6UA3.js';
|
|
5
|
+
import './chunk-QDYE5LVT.js';
|
|
6
6
|
//# sourceMappingURL=indicator.js.map
|
|
7
7
|
//# sourceMappingURL=indicator.js.map
|
package/dist/input.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { I as InputLabels } from './labels-DPrh0se9.js';
|
|
2
3
|
|
|
3
4
|
type InputSize = "sm" | "md" | "lg";
|
|
4
5
|
interface InputProps extends Omit<React.ComponentPropsWithoutRef<"input">, "size" | "prefix" | "value" | "defaultValue"> {
|
|
@@ -42,6 +43,9 @@ interface InputProps extends Omit<React.ComponentPropsWithoutRef<"input">, "size
|
|
|
42
43
|
/** Suppress the visual required `*` while keeping `required` semantics — for forms
|
|
43
44
|
* where every field is required and the asterisks become noise. @default false */
|
|
44
45
|
hideRequiredIndicator?: boolean;
|
|
46
|
+
/** Override the component's own copy — the password toggle's two names. Merges under
|
|
47
|
+
* `<JenosizeUIProvider labels={{ input }}>`; see `docs/i18n-policy.md`. */
|
|
48
|
+
labels?: InputLabels;
|
|
45
49
|
value?: string | number;
|
|
46
50
|
defaultValue?: string | number;
|
|
47
51
|
}
|