@godxjp/ui 9.1.0 → 10.0.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 +58 -29
- package/dist/app/index.d.ts +1 -1
- package/dist/app/index.js +4 -4
- package/dist/{app.prop-DnIXFzLi.d.ts → app.prop-Cy6dJnU8.d.ts} +18 -35
- package/dist/aspect-ratio-CZZJd9Km.d.ts +9 -0
- package/dist/{checkbox-ChRsR7Nk.d.ts → checkbox-em-oFM5D.d.ts} +1 -1
- package/dist/{chunk-LJLGABFV.js → chunk-2HXZT2WJ.js} +17 -9
- package/dist/{chunk-QLMXEJSY.js → chunk-3Q4A4U2P.js} +24 -1
- package/dist/{chunk-26CPAKUP.js → chunk-44YRPSZ7.js} +1 -2
- package/dist/{chunk-HB2OHB5X.js → chunk-5NCFLCM7.js} +27 -16
- package/dist/{chunk-FXFJF4YA.js → chunk-6CSBMMZS.js} +262 -31
- package/dist/{chunk-ZRRLOOBX.js → chunk-6HHSU6RG.js} +8 -6
- package/dist/{chunk-INSF6K3Y.js → chunk-7Q45MBFW.js} +7 -5
- package/dist/{chunk-O24Z3ULJ.js → chunk-BE6GJGKJ.js} +1 -1
- package/dist/{chunk-5D42MFB4.js → chunk-BG5RNXTH.js} +71 -2
- package/dist/{chunk-AINW5WYN.js → chunk-COD66MFF.js} +1 -2
- package/dist/{chunk-IOGU3ZWF.js → chunk-DNGJHWJZ.js} +3 -3
- package/dist/{chunk-3TS3G4U3.js → chunk-EE5DKOHX.js} +3 -1
- package/dist/{chunk-KXOAZGPA.js → chunk-EQZP53KI.js} +33 -8
- package/dist/{chunk-BHV2FUOA.js → chunk-EZHHJQWQ.js} +1 -1
- package/dist/{chunk-N3JPLJ3B.js → chunk-GDDCSKCB.js} +12 -5
- package/dist/{chunk-RLGHEV4A.js → chunk-HTG5VHU7.js} +10 -1
- package/dist/{chunk-R2W2FX5Q.js → chunk-I7NQ2LIL.js} +1 -9
- package/dist/{chunk-XQMPK4GM.js → chunk-IHRMOJXD.js} +86 -39
- package/dist/{chunk-TILFZBTE.js → chunk-INIIF7F7.js} +1 -4
- package/dist/{chunk-UIYEAUWA.js → chunk-IY347EQA.js} +2 -2
- package/dist/{chunk-HCM4JAC2.js → chunk-JWGLJXQU.js} +39 -11
- package/dist/{chunk-TO33OY4L.js → chunk-LMKUKCTN.js} +1 -1
- package/dist/chunk-NXVCI6YB.js +453 -0
- package/dist/{chunk-JBHXILI4.js → chunk-O6DQZYNI.js} +63 -44
- package/dist/{chunk-O2OUNXV4.js → chunk-P5KPCT6R.js} +3 -3
- package/dist/{chunk-56NYZNVY.js → chunk-PDXFQS7M.js} +112 -49
- package/dist/{chunk-F7PG4OEV.js → chunk-QSGW3ZWK.js} +12 -4
- package/dist/{chunk-25RYBC5T.js → chunk-S2IJKT3D.js} +1 -1
- package/dist/{chunk-OJZ6C2HM.js → chunk-SARQRCKO.js} +54 -48
- package/dist/chunk-T2QO2S65.js +126 -0
- package/dist/{chunk-442ULAA6.js → chunk-TGNBXS7H.js} +142 -62
- package/dist/{chunk-6J7GRCDA.js → chunk-UNVRNJCB.js} +71 -11
- package/dist/{chunk-6YBYAEXD.js → chunk-VSM44AYE.js} +94 -24
- package/dist/chunk-VSUYVT2Q.js +163 -0
- package/dist/{chunk-4R7QL3MW.js → chunk-X2VY4MOW.js} +14 -29
- package/dist/{chunk-FRU44GA2.js → chunk-XK3M3VRR.js} +16 -2
- package/dist/{chunk-6YK3IJXW.js → chunk-Z46J47FY.js} +73 -77
- package/dist/components/admin/index.d.ts +23 -13
- package/dist/components/admin/index.js +29 -30
- package/dist/components/data-display/badge.js +3 -3
- package/dist/components/data-display/card.d.ts +3 -3
- package/dist/components/data-display/card.js +1 -1
- package/dist/components/data-display/carousel.js +3 -1
- package/dist/components/data-display/index.js +55 -33
- package/dist/components/data-entry/calendar.d.ts +1 -1
- package/dist/components/data-entry/calendar.js +1 -1
- package/dist/components/data-entry/cascader.d.ts +1 -1
- package/dist/components/data-entry/cascader.js +5 -5
- package/dist/components/data-entry/checkbox.d.ts +2 -2
- package/dist/components/data-entry/checkbox.js +2 -2
- package/dist/components/data-entry/color-picker.d.ts +1 -1
- package/dist/components/data-entry/color-picker.js +3 -3
- package/dist/components/data-entry/date-picker.d.ts +2 -2
- package/dist/components/data-entry/date-picker.js +4 -4
- package/dist/components/data-entry/date-range-picker.d.ts +2 -2
- package/dist/components/data-entry/date-range-picker.js +4 -4
- package/dist/components/data-entry/index.d.ts +9 -25
- package/dist/components/data-entry/index.js +22 -26
- package/dist/components/data-entry/radio.d.ts +1 -1
- package/dist/components/data-entry/radio.js +2 -2
- package/dist/components/data-entry/select.d.ts +2 -2
- package/dist/components/data-entry/select.js +3 -4
- package/dist/components/data-entry/slider.d.ts +1 -1
- package/dist/components/data-entry/switch.d.ts +2 -2
- package/dist/components/data-entry/switch.js +1 -1
- package/dist/components/data-entry/time-input.js +2 -2
- package/dist/components/data-entry/time-picker.d.ts +3 -1
- package/dist/components/data-entry/time-picker.js +3 -3
- package/dist/components/data-entry/transfer.d.ts +2 -2
- package/dist/components/data-entry/transfer.js +5 -5
- package/dist/components/data-entry/tree-select.d.ts +1 -1
- package/dist/components/data-entry/tree-select.js +5 -5
- package/dist/components/data-entry/upload.d.ts +2 -2
- package/dist/components/data-entry/upload.js +5 -5
- package/dist/components/feedback/alert.js +5 -5
- package/dist/components/feedback/dialog.d.ts +20 -1
- package/dist/components/feedback/dialog.js +3 -3
- package/dist/components/feedback/index.d.ts +10 -18
- package/dist/components/feedback/index.js +9 -9
- package/dist/components/feedback/sheet.js +1 -1
- package/dist/components/layout/index.d.ts +27 -15
- package/dist/components/layout/index.js +7 -5
- package/dist/components/navigation/dropdown-menu.js +1 -1
- package/dist/components/navigation/index.d.ts +15 -17
- package/dist/components/navigation/index.js +7 -8
- package/dist/components/navigation/pagination.d.ts +25 -4
- package/dist/components/navigation/pagination.js +4 -5
- package/dist/components/navigation/steps.d.ts +3 -3
- package/dist/components/navigation/steps.js +3 -1
- package/dist/components/query/index.d.ts +1 -5
- package/dist/components/query/index.js +6 -8
- package/dist/components/ui/index.d.ts +13 -12
- package/dist/components/ui/index.js +30 -32
- package/dist/{data-entry.prop-CDkOajPj.d.ts → data-entry.prop-BR4vNA1j.d.ts} +7 -35
- package/dist/filter-bar-BxjSJJnQ.d.ts +7 -0
- package/dist/{inline-DCqn4O29.d.ts → flex-D_EXRFSW.d.ts} +2 -8
- package/dist/form/index.js +1 -1
- package/dist/i18n/index.d.ts +82 -10
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +7 -7
- package/dist/index.js +41 -44
- package/dist/{layout.prop-DwJKI6ka.d.ts → layout.prop-JE2TcRyL.d.ts} +8 -2
- package/dist/lib/datetime/index.js +1 -1
- package/dist/{navigation.prop-8DgElO0c.d.ts → navigation.prop-DMcXkR-J.d.ts} +9 -11
- package/dist/{toggle-group-BulJgKh3.d.ts → password-strength-DVRvXEOK.d.ts} +24 -3
- package/dist/props/components/index.d.ts +4 -4
- package/dist/props/index.d.ts +4 -4
- package/dist/props/index.js +1 -1
- package/dist/props/registry.d.ts +84 -39
- package/dist/props/registry.js +1 -1
- package/dist/{search-input-cezAxpgb.d.ts → search-input-DpqDMXcn.d.ts} +2 -4
- package/dist/{skeleton-uWAjSacg.d.ts → skeleton-cj9kh5wo.d.ts} +1 -3
- package/dist/styles/control.css +176 -41
- package/dist/styles/data-display-layout.css +41 -15
- package/dist/styles/data-entry-layout.css +71 -0
- package/dist/styles/feedback-layout.css +44 -12
- package/dist/styles/index.css +45 -1
- package/dist/styles/layout.css +66 -17
- package/dist/styles/navigation-layout.css +3 -1
- package/dist/styles/shell-layout.css +3 -3
- package/dist/styles/table-layout.css +13 -0
- package/dist/tokens/foundation.css +12 -1
- package/dist/tokens/semantic/layout.css +2 -2
- package/dist/tooltip-Bf2KjRy8.d.ts +14 -0
- package/package.json +7 -7
- package/scripts/ui-audit.mjs +31 -2
- package/dist/aspect-ratio-DGoYrOry.d.ts +0 -6
- package/dist/chunk-CAEL2ZD2.js +0 -222
- package/dist/chunk-FYM3MJSK.js +0 -59
- package/dist/chunk-GKXPALFT.js +0 -32
- package/dist/chunk-JKHWLPM5.js +0 -101
- package/dist/chunk-KDBGFJJI.js +0 -220
- package/dist/chunk-VN72SWHX.js +0 -189
- package/dist/components/data-entry/autocomplete.d.ts +0 -24
- package/dist/components/data-entry/autocomplete.js +0 -10
- package/dist/components/data-entry/combobox.d.ts +0 -22
- package/dist/components/data-entry/combobox.js +0 -6
- package/dist/filter-bar-BycYH10i.d.ts +0 -14
- /package/dist/{chunk-LDSLS6HE.js → chunk-7CFO5FFE.js} +0 -0
|
@@ -1,68 +1,14 @@
|
|
|
1
|
-
import { Select, SelectTrigger, SelectValue, SelectContent, SelectGroup, SelectItem } from './chunk-CAEL2ZD2.js';
|
|
2
1
|
import { Input } from './chunk-VOHTRR5X.js';
|
|
3
|
-
import {
|
|
2
|
+
import { useTranslation } from './chunk-HTG5VHU7.js';
|
|
4
3
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
5
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
4
|
import * as React2 from 'react';
|
|
7
5
|
import { EyeOff, Eye, Minus, Star, X } from 'lucide-react';
|
|
6
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
8
7
|
import { OTPInput, OTPInputContext } from 'input-otp';
|
|
9
8
|
|
|
10
|
-
function CountryOptionLabel({
|
|
11
|
-
country,
|
|
12
|
-
showCode = false,
|
|
13
|
-
className
|
|
14
|
-
}) {
|
|
15
|
-
const code = country.value ?? country.code ?? "";
|
|
16
|
-
const text = country.nativeName != null && country.nativeName !== "" ? `${country.name} (${country.nativeName})` : country.name;
|
|
17
|
-
return /* @__PURE__ */ jsxs(Inline, { gap: "xs", className: cn("items-center", className), children: [
|
|
18
|
-
country.flagSvgPath != null && country.flagSvgPath !== "" && /* @__PURE__ */ jsx(
|
|
19
|
-
"img",
|
|
20
|
-
{
|
|
21
|
-
src: country.flagSvgPath,
|
|
22
|
-
alt: "",
|
|
23
|
-
className: "h-3 w-5 shrink-0 rounded-sm object-cover",
|
|
24
|
-
"aria-hidden": "true"
|
|
25
|
-
}
|
|
26
|
-
),
|
|
27
|
-
/* @__PURE__ */ jsxs("span", { className: "truncate", children: [
|
|
28
|
-
text,
|
|
29
|
-
showCode && code !== "" && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
30
|
-
" \xB7 ",
|
|
31
|
-
code
|
|
32
|
-
] })
|
|
33
|
-
] })
|
|
34
|
-
] });
|
|
35
|
-
}
|
|
36
|
-
function CountrySelect({
|
|
37
|
-
id,
|
|
38
|
-
name,
|
|
39
|
-
options,
|
|
40
|
-
defaultValue,
|
|
41
|
-
required = false,
|
|
42
|
-
allowEmpty = false,
|
|
43
|
-
emptyLabel = "\u2014",
|
|
44
|
-
placeholder,
|
|
45
|
-
invalid = false
|
|
46
|
-
}) {
|
|
47
|
-
const emptyValue = "0";
|
|
48
|
-
const resolvedDefault = defaultValue && defaultValue !== "" ? defaultValue : emptyValue;
|
|
49
|
-
return /* @__PURE__ */ jsxs(
|
|
50
|
-
Select,
|
|
51
|
-
{
|
|
52
|
-
name,
|
|
53
|
-
defaultValue: allowEmpty ? resolvedDefault : defaultValue ?? options[0]?.value,
|
|
54
|
-
children: [
|
|
55
|
-
/* @__PURE__ */ jsx(SelectTrigger, { id, className: "w-full", "aria-invalid": invalid, "aria-required": required, children: /* @__PURE__ */ jsx(SelectValue, { placeholder }) }),
|
|
56
|
-
/* @__PURE__ */ jsx(SelectContent, { children: /* @__PURE__ */ jsxs(SelectGroup, { children: [
|
|
57
|
-
allowEmpty && /* @__PURE__ */ jsx(SelectItem, { value: emptyValue, children: emptyLabel }),
|
|
58
|
-
options.map((option) => /* @__PURE__ */ jsx(SelectItem, { value: option.value ?? "", children: /* @__PURE__ */ jsx(CountryOptionLabel, { country: option }) }, option.value))
|
|
59
|
-
] }) })
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
9
|
var PasswordInput = React2.forwardRef(
|
|
65
10
|
({ className, ...props }, ref) => {
|
|
11
|
+
const { t } = useTranslation();
|
|
66
12
|
const [visible, setVisible] = React2.useState(false);
|
|
67
13
|
return /* @__PURE__ */ jsxs("div", { className: "ui-password-input", "data-slot": "password-input", children: [
|
|
68
14
|
/* @__PURE__ */ jsx(
|
|
@@ -80,8 +26,8 @@ var PasswordInput = React2.forwardRef(
|
|
|
80
26
|
type: "button",
|
|
81
27
|
className: "ui-password-input-toggle",
|
|
82
28
|
onClick: () => setVisible((v) => !v),
|
|
83
|
-
"aria-label": visible ? "
|
|
84
|
-
|
|
29
|
+
"aria-label": visible ? t("ui.passwordInput.hide") : t("ui.passwordInput.show"),
|
|
30
|
+
"aria-pressed": visible,
|
|
85
31
|
children: visible ? /* @__PURE__ */ jsx(EyeOff, { "aria-hidden": "true" }) : /* @__PURE__ */ jsx(Eye, { "aria-hidden": "true" })
|
|
86
32
|
}
|
|
87
33
|
)
|
|
@@ -145,6 +91,7 @@ var Rating = React2.forwardRef(
|
|
|
145
91
|
className,
|
|
146
92
|
...rest
|
|
147
93
|
}, ref) => {
|
|
94
|
+
const { t } = useTranslation();
|
|
148
95
|
const [internal, setInternal] = React2.useState(defaultValue);
|
|
149
96
|
const current = value ?? internal;
|
|
150
97
|
const [hover, setHover] = React2.useState(null);
|
|
@@ -155,6 +102,31 @@ var Rating = React2.forwardRef(
|
|
|
155
102
|
if (value === void 0) setInternal(next);
|
|
156
103
|
onValueChange?.(next);
|
|
157
104
|
};
|
|
105
|
+
const focusableStar = current > 0 ? current : 1;
|
|
106
|
+
const onKeyDown = (e, star) => {
|
|
107
|
+
if (!interactive) return;
|
|
108
|
+
let next = null;
|
|
109
|
+
switch (e.key) {
|
|
110
|
+
case "ArrowRight":
|
|
111
|
+
case "ArrowUp":
|
|
112
|
+
next = Math.min(max, star + 1);
|
|
113
|
+
break;
|
|
114
|
+
case "ArrowLeft":
|
|
115
|
+
case "ArrowDown":
|
|
116
|
+
next = Math.max(1, star - 1);
|
|
117
|
+
break;
|
|
118
|
+
case "Home":
|
|
119
|
+
next = 1;
|
|
120
|
+
break;
|
|
121
|
+
case "End":
|
|
122
|
+
next = max;
|
|
123
|
+
break;
|
|
124
|
+
default:
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
e.preventDefault();
|
|
128
|
+
select(next);
|
|
129
|
+
};
|
|
158
130
|
return /* @__PURE__ */ jsxs(
|
|
159
131
|
"div",
|
|
160
132
|
{
|
|
@@ -162,7 +134,7 @@ var Rating = React2.forwardRef(
|
|
|
162
134
|
role: "radiogroup",
|
|
163
135
|
"data-slot": "rating",
|
|
164
136
|
className: cn("ui-rating", className),
|
|
165
|
-
"aria-label": rest["aria-label"] ?? "
|
|
137
|
+
"aria-label": rest["aria-label"] ?? t("ui.rating.ariaLabel"),
|
|
166
138
|
children: [
|
|
167
139
|
Array.from({ length: max }, (_, i) => i + 1).map((star) => /* @__PURE__ */ jsx(
|
|
168
140
|
"button",
|
|
@@ -170,13 +142,14 @@ var Rating = React2.forwardRef(
|
|
|
170
142
|
type: "button",
|
|
171
143
|
role: "radio",
|
|
172
144
|
"aria-checked": current === star,
|
|
173
|
-
"aria-label":
|
|
145
|
+
"aria-label": t("ui.rating.starLabel", { star, max }),
|
|
174
146
|
disabled: disabled || readOnly,
|
|
175
|
-
tabIndex: interactive ? 0 : -1,
|
|
147
|
+
tabIndex: interactive && star === focusableStar ? 0 : -1,
|
|
176
148
|
className: cn("ui-rating-star", star <= display && "ui-rating-star-filled"),
|
|
177
149
|
onMouseEnter: () => interactive && setHover(star),
|
|
178
150
|
onMouseLeave: () => setHover(null),
|
|
179
151
|
onClick: () => select(star),
|
|
152
|
+
onKeyDown: (e) => onKeyDown(e, star),
|
|
180
153
|
children: /* @__PURE__ */ jsx(Star, { "aria-hidden": "true" })
|
|
181
154
|
},
|
|
182
155
|
star
|
|
@@ -189,7 +162,18 @@ var Rating = React2.forwardRef(
|
|
|
189
162
|
);
|
|
190
163
|
Rating.displayName = "Rating";
|
|
191
164
|
var TagInput = React2.forwardRef(
|
|
192
|
-
({
|
|
165
|
+
({
|
|
166
|
+
value,
|
|
167
|
+
defaultValue = [],
|
|
168
|
+
onValueChange,
|
|
169
|
+
placeholder,
|
|
170
|
+
disabled,
|
|
171
|
+
name,
|
|
172
|
+
className,
|
|
173
|
+
id,
|
|
174
|
+
"aria-label": ariaLabel
|
|
175
|
+
}, ref) => {
|
|
176
|
+
const { t } = useTranslation();
|
|
193
177
|
const [internal, setInternal] = React2.useState(defaultValue);
|
|
194
178
|
const tags = value ?? internal;
|
|
195
179
|
const [draft, setDraft] = React2.useState("");
|
|
@@ -218,28 +202,39 @@ var TagInput = React2.forwardRef(
|
|
|
218
202
|
"data-slot": "tag-input",
|
|
219
203
|
className: cn("ui-tag-input", disabled && "ui-tag-input-disabled", className),
|
|
220
204
|
children: [
|
|
221
|
-
tags.
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
"
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
205
|
+
tags.length > 0 ? /* @__PURE__ */ jsx("ul", { role: "list", className: "ui-tag-input-list", "data-slot": "tag-input-list", children: tags.map((tag, i) => /* @__PURE__ */ jsxs(
|
|
206
|
+
"li",
|
|
207
|
+
{
|
|
208
|
+
role: "listitem",
|
|
209
|
+
className: "ui-tag-input-chip",
|
|
210
|
+
"data-slot": "tag-input-chip",
|
|
211
|
+
children: [
|
|
212
|
+
tag,
|
|
213
|
+
!disabled ? /* @__PURE__ */ jsx(
|
|
214
|
+
"button",
|
|
215
|
+
{
|
|
216
|
+
type: "button",
|
|
217
|
+
className: "ui-tag-input-remove",
|
|
218
|
+
"aria-label": t("ui.tagInput.removeTag", { tag }),
|
|
219
|
+
onClick: () => removeAt(i),
|
|
220
|
+
children: /* @__PURE__ */ jsx(X, { "aria-hidden": "true" })
|
|
221
|
+
}
|
|
222
|
+
) : null
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
tag
|
|
226
|
+
)) }) : null,
|
|
234
227
|
/* @__PURE__ */ jsx(
|
|
235
228
|
"input",
|
|
236
229
|
{
|
|
237
230
|
ref,
|
|
231
|
+
id,
|
|
238
232
|
type: "text",
|
|
239
233
|
className: "ui-tag-input-field",
|
|
240
234
|
value: draft,
|
|
241
235
|
placeholder: tags.length === 0 ? placeholder : void 0,
|
|
242
236
|
disabled,
|
|
237
|
+
"aria-label": ariaLabel ?? t("ui.tagInput.inputLabel"),
|
|
243
238
|
onChange: (e) => setDraft(e.target.value),
|
|
244
239
|
onKeyDown,
|
|
245
240
|
onBlur: () => {
|
|
@@ -250,6 +245,7 @@ var TagInput = React2.forwardRef(
|
|
|
250
245
|
}
|
|
251
246
|
}
|
|
252
247
|
),
|
|
248
|
+
/* @__PURE__ */ jsx("span", { "aria-live": "polite", className: "sr-only", "data-slot": "tag-input-status", children: t("ui.tagInput.tagCount", { count: tags.length }) }),
|
|
253
249
|
name ? /* @__PURE__ */ jsx("input", { type: "hidden", name, value: tags.join(",") }) : null
|
|
254
250
|
]
|
|
255
251
|
}
|
|
@@ -258,4 +254,4 @@ var TagInput = React2.forwardRef(
|
|
|
258
254
|
);
|
|
259
255
|
TagInput.displayName = "TagInput";
|
|
260
256
|
|
|
261
|
-
export {
|
|
257
|
+
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, PasswordInput, Rating, TagInput };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
export { B as BreadcrumbItem } from '../../navigation.prop-BKlxd-j7.js';
|
|
2
|
-
export { c as FlexProp, I as InlineProp, P as PageContainerProp, P as PageContainerProps, d as PageHeaderProp,
|
|
3
|
-
export { F as
|
|
4
|
-
export { F as Flex, I as Inline, P as PageContainer, S as Stack } from '../../inline-DCqn4O29.js';
|
|
2
|
+
export { c as FlexProp, I as InlineProp, P as PageContainerProp, P as PageContainerProps, d as PageHeaderProp, j as StackProp } from '../../layout.prop-JE2TcRyL.js';
|
|
3
|
+
export { F as Flex, P as PageContainer } from '../../flex-D_EXRFSW.js';
|
|
5
4
|
export { C as ColumnDef, D as DataTable, a as Density, b as Descriptions, E as EmptyState } from '../../data-table-B_q7j992.js';
|
|
6
5
|
export { Badge } from '../data-display/badge.js';
|
|
7
|
-
export {
|
|
8
|
-
export { a as
|
|
6
|
+
export { F as Field, a as FormField, S as SearchInput } from '../../search-input-DpqDMXcn.js';
|
|
7
|
+
export { a as SkeletonDetail, c as SkeletonRows, d as SkeletonStat, e as SkeletonTable } from '../../skeleton-cj9kh5wo.js';
|
|
9
8
|
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../feedback/alert.js';
|
|
10
9
|
export { Upload, useUploadDraft } from '../data-entry/upload.js';
|
|
11
10
|
export { Cascader } from '../data-entry/cascader.js';
|
|
@@ -14,22 +13,22 @@ export { Transfer } from '../data-entry/transfer.js';
|
|
|
14
13
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from '../navigation/tabs.js';
|
|
15
14
|
export { Pagination } from '../navigation/pagination.js';
|
|
16
15
|
export { Steps } from '../navigation/steps.js';
|
|
16
|
+
export { T as Toolbar, a as ToolbarGroup } from '../../filter-bar-BxjSJJnQ.js';
|
|
17
17
|
export { AlertDialog, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from '../feedback/dialog.js';
|
|
18
18
|
export { Toaster } from '../feedback/sonner.js';
|
|
19
19
|
export { L as LegacyToastOptions, t as toast, u as useToast } from '../../use-toast-Dsw3yE2S.js';
|
|
20
20
|
export { useDebouncedValue, useTimeoutFlag } from '../../lib/hooks.js';
|
|
21
21
|
import { b as FormatDatetimeOptions, a as FormatDateOptions } from '../../format-date-ByyZoqI5.js';
|
|
22
22
|
export { j as formatDate } from '../../format-date-ByyZoqI5.js';
|
|
23
|
-
export {
|
|
23
|
+
export { E as collectUploadCommitActions, G as createUploadItem } from '../../data-entry.prop-BR4vNA1j.js';
|
|
24
24
|
import '../../shared.prop-BsNSXeqD.js';
|
|
25
25
|
import 'react';
|
|
26
26
|
import '../../content.prop-DrV_zDy-.js';
|
|
27
27
|
import '../../layout.prop-CXvl2rVR.js';
|
|
28
28
|
import 'react/jsx-runtime';
|
|
29
|
-
import '../../navigation.prop-8DgElO0c.js';
|
|
30
|
-
import '../../data.prop-DMYMNl6L.js';
|
|
31
|
-
import '../../interaction.prop-DSFizzP6.js';
|
|
32
29
|
import '../../data-display.prop-Cf2p9QC4.js';
|
|
30
|
+
import '../../interaction.prop-DSFizzP6.js';
|
|
31
|
+
import '../../data.prop-DMYMNl6L.js';
|
|
33
32
|
import 'class-variance-authority/types';
|
|
34
33
|
import 'class-variance-authority';
|
|
35
34
|
import '../../feedback.prop-Nc9Aa8SV.js';
|
|
@@ -39,6 +38,7 @@ import '@radix-ui/react-slider';
|
|
|
39
38
|
import '@radix-ui/react-switch';
|
|
40
39
|
import 'react-day-picker';
|
|
41
40
|
import '@radix-ui/react-tabs';
|
|
41
|
+
import '../../navigation.prop-DMcXkR-J.js';
|
|
42
42
|
import '@radix-ui/react-dialog';
|
|
43
43
|
import '@radix-ui/react-alert-dialog';
|
|
44
44
|
import 'sonner';
|
|
@@ -52,10 +52,20 @@ declare function formatDateTime(value: string | Date | null | undefined, options
|
|
|
52
52
|
declare function formatDateLong(value: string | Date | null | undefined, options?: FormatOptions): string;
|
|
53
53
|
/** @deprecated Prefer `formatDate(value, { kind: "relative" })`. */
|
|
54
54
|
declare function formatRelative(value: string | Date | null | undefined, options?: Pick<FormatOptions, "locale">): string;
|
|
55
|
-
/**
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
/**
|
|
56
|
+
* Bytes → size with conventional binary units (B/KB/MB/GB) and a locale-correct number,
|
|
57
|
+
* e.g. "2.0 KB" (en) / "2,0 KB" (vi). The numeric part is formatted via `Intl.NumberFormat`
|
|
58
|
+
* (locale decimal/grouping separators — no hardcoded "."); an optional `locale` overrides the
|
|
59
|
+
* module-synced active locale.
|
|
60
|
+
*/
|
|
61
|
+
declare function formatBytes(n: number | null | undefined, locale?: string): string;
|
|
62
|
+
/**
|
|
63
|
+
* ISO 4217 minor units → locale-formatted currency, e.g. (1995, "USD") → "$19.95" (en) /
|
|
64
|
+
* "19,95 $" (vi). The active locale (or an explicit `locale`) drives grouping/symbol placement;
|
|
65
|
+
* the currency's minor-unit scale comes from CLDR via `resolvedOptions().maximumFractionDigits`
|
|
66
|
+
* — no hand-maintained zero-decimal list.
|
|
67
|
+
*/
|
|
68
|
+
declare function formatCurrency(amountMinor: number | null | undefined, currency: string, locale?: string): string;
|
|
59
69
|
/** UUIDv7 / UUIDv4 → first 8 chars + ellipsis. Pair with a Tooltip showing full. */
|
|
60
70
|
declare function shortId(id: string | null | undefined): string;
|
|
61
71
|
/** Translate any backend error into something a user can act on. Falls back
|
|
@@ -1,46 +1,45 @@
|
|
|
1
|
-
import '../../chunk-
|
|
2
|
-
export {
|
|
1
|
+
import '../../chunk-7CFO5FFE.js';
|
|
2
|
+
export { Toolbar, ToolbarGroup } from '../../chunk-T2QO2S65.js';
|
|
3
|
+
export { Steps } from '../../chunk-SARQRCKO.js';
|
|
3
4
|
import '../../chunk-B73NA66T.js';
|
|
4
5
|
import '../../chunk-WGWI7EGL.js';
|
|
5
|
-
export { Pagination } from '../../chunk-
|
|
6
|
-
export { Steps } from '../../chunk-OJZ6C2HM.js';
|
|
6
|
+
export { Pagination } from '../../chunk-PDXFQS7M.js';
|
|
7
7
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from '../../chunk-V3N266PT.js';
|
|
8
|
-
export { toast, useToast } from '../../chunk-B3WX53JQ.js';
|
|
9
|
-
export { SkeletonCard, SkeletonDetail, SkeletonRows, SkeletonStat, SkeletonTable } from '../../chunk-AINW5WYN.js';
|
|
10
|
-
export { Toaster } from '../../chunk-TO7URV7U.js';
|
|
11
|
-
export { PageContainer, Stack } from '../../chunk-442ULAA6.js';
|
|
12
|
-
import '../../chunk-FRU44GA2.js';
|
|
13
|
-
import '../../chunk-TO33OY4L.js';
|
|
14
|
-
import '../../chunk-32WO3YLB.js';
|
|
15
|
-
import '../../chunk-W4REF4TD.js';
|
|
16
8
|
import '../../chunk-HL3G4SVG.js';
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
|
|
21
|
-
export { formatBytes, formatCurrency, formatDateLong, formatDateTime, formatRelative, humanError, shortId } from '../../chunk-4R7QL3MW.js';
|
|
22
|
-
export { AlertDialog, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from '../../chunk-5D42MFB4.js';
|
|
23
|
-
import '../../chunk-CAEL2ZD2.js';
|
|
9
|
+
export { SearchInput, Transfer } from '../../chunk-7Q45MBFW.js';
|
|
10
|
+
export { TreeSelect } from '../../chunk-UNVRNJCB.js';
|
|
11
|
+
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from '../../chunk-EQZP53KI.js';
|
|
12
|
+
import '../../chunk-NXVCI6YB.js';
|
|
24
13
|
import '../../chunk-CRERCLIZ.js';
|
|
25
|
-
|
|
26
|
-
export { Cascader } from '../../chunk-HB2OHB5X.js';
|
|
14
|
+
export { Cascader } from '../../chunk-5NCFLCM7.js';
|
|
27
15
|
import '../../chunk-SMLKNECP.js';
|
|
28
|
-
import '../../chunk-O24Z3ULJ.js';
|
|
29
|
-
export { ChoiceField, Field } from '../../chunk-26CPAKUP.js';
|
|
30
16
|
import '../../chunk-HTEL5DQI.js';
|
|
17
|
+
export { toast, useToast } from '../../chunk-B3WX53JQ.js';
|
|
18
|
+
export { SkeletonDetail, SkeletonRows, SkeletonStat, SkeletonTable } from '../../chunk-COD66MFF.js';
|
|
19
|
+
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from '../../chunk-6HHSU6RG.js';
|
|
20
|
+
export { formatBytes, formatCurrency, formatDateLong, formatDateTime, formatRelative, humanError, shortId } from '../../chunk-X2VY4MOW.js';
|
|
21
|
+
export { AlertDialog, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from '../../chunk-BG5RNXTH.js';
|
|
31
22
|
import '../../chunk-VOHTRR5X.js';
|
|
32
|
-
export {
|
|
33
|
-
|
|
34
|
-
|
|
23
|
+
export { Toaster } from '../../chunk-TO7URV7U.js';
|
|
24
|
+
export { PageContainer } from '../../chunk-TGNBXS7H.js';
|
|
25
|
+
import '../../chunk-XK3M3VRR.js';
|
|
26
|
+
import '../../chunk-LMKUKCTN.js';
|
|
27
|
+
import '../../chunk-W4REF4TD.js';
|
|
28
|
+
import '../../chunk-32WO3YLB.js';
|
|
29
|
+
export { DataTable, Descriptions, EmptyState } from '../../chunk-O6DQZYNI.js';
|
|
30
|
+
import '../../chunk-BE6GJGKJ.js';
|
|
31
|
+
export { Field } from '../../chunk-44YRPSZ7.js';
|
|
35
32
|
import '../../chunk-M4PZNAMV.js';
|
|
36
|
-
|
|
33
|
+
import '../../chunk-DV52WNXO.js';
|
|
34
|
+
export { Flex } from '../../chunk-INIIF7F7.js';
|
|
35
|
+
export { Badge } from '../../chunk-IY347EQA.js';
|
|
37
36
|
import '../../chunk-DY5C44UP.js';
|
|
38
37
|
import '../../chunk-3KPEZ5CF.js';
|
|
39
38
|
import '../../chunk-4MMIMZMK.js';
|
|
40
39
|
import '../../chunk-IBK5D2Q6.js';
|
|
41
|
-
export { FormField } from '../../chunk-
|
|
40
|
+
export { FormField } from '../../chunk-QSGW3ZWK.js';
|
|
42
41
|
import '../../chunk-7PWBC4BY.js';
|
|
43
|
-
import '../../chunk-
|
|
44
|
-
export { formatDate } from '../../chunk-
|
|
42
|
+
import '../../chunk-HTG5VHU7.js';
|
|
43
|
+
export { formatDate } from '../../chunk-6CSBMMZS.js';
|
|
45
44
|
export { useDebouncedValue, useTimeoutFlag } from '../../chunk-LFW37FGG.js';
|
|
46
45
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Badge } from '../../chunk-
|
|
1
|
+
export { Badge } from '../../chunk-IY347EQA.js';
|
|
2
2
|
import '../../chunk-IBK5D2Q6.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-HTG5VHU7.js';
|
|
4
|
+
import '../../chunk-6CSBMMZS.js';
|
|
5
5
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -3,7 +3,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
|
-
type CardSize = "
|
|
6
|
+
type CardSize = "md" | "compact";
|
|
7
7
|
/** Semantic 3px left-edge accent stripe. */
|
|
8
8
|
type CardAccent = "primary" | "success" | "warning" | "info" | "attention" | "destructive";
|
|
9
9
|
/** Surface fill — plain card, muted band, borderless outline, or emphasized featured ring. */
|
|
@@ -11,7 +11,7 @@ type CardVariant = "default" | "muted" | "outline" | "featured";
|
|
|
11
11
|
/** Padding density — base 16px · tight 12px · cozy 20px. */
|
|
12
12
|
type CardDensity = "tight" | "cozy";
|
|
13
13
|
declare const cardVariants: (props?: ({
|
|
14
|
-
size?: "
|
|
14
|
+
size?: "compact" | "md" | null | undefined;
|
|
15
15
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
16
16
|
type CardProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardVariants> & {
|
|
17
17
|
size?: CardSize;
|
|
@@ -20,7 +20,7 @@ type CardProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof card
|
|
|
20
20
|
density?: CardDensity;
|
|
21
21
|
};
|
|
22
22
|
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
23
|
-
size?: "
|
|
23
|
+
size?: "compact" | "md" | null | undefined;
|
|
24
24
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
25
25
|
size?: CardSize;
|
|
26
26
|
accent?: CardAccent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Card, CardAction, CardContent, CardCover, CardDescription, CardFooter, CardHeader, CardTitle, StatCard } from '../../chunk-
|
|
1
|
+
export { Card, CardAction, CardContent, CardCover, CardDescription, CardFooter, CardHeader, CardTitle, StatCard } from '../../chunk-P5KPCT6R.js';
|
|
2
2
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, useCarousel } from '../../chunk-
|
|
1
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, useCarousel } from '../../chunk-JWGLJXQU.js';
|
|
2
|
+
import '../../chunk-HTG5VHU7.js';
|
|
3
|
+
import '../../chunk-6CSBMMZS.js';
|
|
2
4
|
import '../../chunk-U7N2A7A3.js';
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
export { Avatar, AvatarFallback, AvatarImage } from '../../chunk-QTUJSRDH.js';
|
|
2
|
-
export { Card, CardAction, CardContent, CardCover, CardDescription, CardFooter, CardHeader, CardTitle, StatCard } from '../../chunk-
|
|
3
|
-
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from '../../chunk-
|
|
4
|
-
export { DataTable, Descriptions, EmptyState } from '../../chunk-
|
|
5
|
-
|
|
6
|
-
import '../../chunk-
|
|
2
|
+
export { Card, CardAction, CardContent, CardCover, CardDescription, CardFooter, CardHeader, CardTitle, StatCard } from '../../chunk-P5KPCT6R.js';
|
|
3
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from '../../chunk-JWGLJXQU.js';
|
|
4
|
+
export { DataTable, Descriptions, EmptyState } from '../../chunk-O6DQZYNI.js';
|
|
5
|
+
import '../../chunk-BE6GJGKJ.js';
|
|
6
|
+
import '../../chunk-44YRPSZ7.js';
|
|
7
7
|
import '../../chunk-M4PZNAMV.js';
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from '../../chunk-DV52WNXO.js';
|
|
9
|
+
import '../../chunk-INIIF7F7.js';
|
|
10
|
+
import { Badge } from '../../chunk-IY347EQA.js';
|
|
11
|
+
export { Badge } from '../../chunk-IY347EQA.js';
|
|
10
12
|
export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from '../../chunk-DY5C44UP.js';
|
|
11
13
|
export { ScrollArea, ScrollBar } from '../../chunk-3KPEZ5CF.js';
|
|
12
14
|
export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '../../chunk-4MMIMZMK.js';
|
|
13
15
|
import '../../chunk-IBK5D2Q6.js';
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-7PWBC4BY.js';
|
|
17
|
+
import '../../chunk-HTG5VHU7.js';
|
|
18
|
+
import '../../chunk-6CSBMMZS.js';
|
|
16
19
|
import { cn } from '../../chunk-U7N2A7A3.js';
|
|
20
|
+
import * as React2 from 'react';
|
|
17
21
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
18
22
|
import { ChevronDown, ChevronRight, Package, Plane, CheckCircle2 } from 'lucide-react';
|
|
19
|
-
import * as React from 'react';
|
|
20
23
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
21
24
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
22
25
|
|
|
23
26
|
function Progress({ value, label, tone = "success" }) {
|
|
24
27
|
const boundedValue = Math.max(0, Math.min(100, value));
|
|
28
|
+
const labelId = React2.useId();
|
|
25
29
|
return /* @__PURE__ */ jsxs(
|
|
26
30
|
"div",
|
|
27
31
|
{
|
|
@@ -31,25 +35,32 @@ function Progress({ value, label, tone = "success" }) {
|
|
|
31
35
|
"aria-valuenow": boundedValue,
|
|
32
36
|
"aria-valuemin": 0,
|
|
33
37
|
"aria-valuemax": 100,
|
|
38
|
+
"aria-valuetext": `${boundedValue}%`,
|
|
39
|
+
"aria-labelledby": label ? labelId : void 0,
|
|
40
|
+
"aria-label": label ? void 0 : "Progress",
|
|
34
41
|
children: [
|
|
35
42
|
/* @__PURE__ */ jsx("div", { className: "ui-progress-track", children: /* @__PURE__ */ jsx("div", { className: "ui-progress-bar", style: { width: `${boundedValue}%` } }) }),
|
|
36
|
-
label ? /* @__PURE__ */ jsx("div", { className: "ui-progress-label", children: label }) : null
|
|
43
|
+
label ? /* @__PURE__ */ jsx("div", { className: "ui-progress-label", id: labelId, children: label }) : null
|
|
37
44
|
]
|
|
38
45
|
}
|
|
39
46
|
);
|
|
40
47
|
}
|
|
41
48
|
function TreeList({ items }) {
|
|
42
|
-
return /* @__PURE__ */ jsx("
|
|
43
|
-
"
|
|
49
|
+
return /* @__PURE__ */ jsx("ul", { className: "ui-tree-list", children: items.map((item) => /* @__PURE__ */ jsxs(
|
|
50
|
+
"li",
|
|
44
51
|
{
|
|
45
52
|
className: "ui-tree-item",
|
|
46
53
|
"data-active": item.active ? "true" : void 0,
|
|
47
54
|
"data-depth": item.depth ?? 0,
|
|
55
|
+
"aria-current": item.active ? "true" : void 0,
|
|
48
56
|
children: [
|
|
49
57
|
/* @__PURE__ */ jsx(ChevronRight, { "aria-hidden": "true" }),
|
|
50
58
|
/* @__PURE__ */ jsx(Package, { "aria-hidden": "true" }),
|
|
51
59
|
/* @__PURE__ */ jsxs("div", { className: "ui-tree-item-body", children: [
|
|
52
|
-
/* @__PURE__ */
|
|
60
|
+
/* @__PURE__ */ jsxs("div", { className: "ui-tree-item-title", children: [
|
|
61
|
+
item.active ? /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Current: " }) : null,
|
|
62
|
+
item.title
|
|
63
|
+
] }),
|
|
53
64
|
item.description ? /* @__PURE__ */ jsx("div", { className: "ui-tree-item-description", children: item.description }) : null
|
|
54
65
|
] }),
|
|
55
66
|
item.badge ? /* @__PURE__ */ jsx(Badge, { variant: "secondary", children: item.badge }) : null
|
|
@@ -59,26 +70,37 @@ function TreeList({ items }) {
|
|
|
59
70
|
)) });
|
|
60
71
|
}
|
|
61
72
|
function Timeline({ items }) {
|
|
62
|
-
return /* @__PURE__ */ jsx("
|
|
73
|
+
return /* @__PURE__ */ jsx("ol", { className: "ui-timeline", children: items.map((item, index) => {
|
|
63
74
|
const Icon = item.current ? Plane : CheckCircle2;
|
|
64
|
-
return /* @__PURE__ */ jsxs(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
return /* @__PURE__ */ jsxs(
|
|
76
|
+
"li",
|
|
77
|
+
{
|
|
78
|
+
className: "ui-timeline-item",
|
|
79
|
+
"aria-current": item.current ? "step" : void 0,
|
|
80
|
+
children: [
|
|
81
|
+
/* @__PURE__ */ jsxs("div", { className: "ui-timeline-rail", children: [
|
|
82
|
+
/* @__PURE__ */ jsx("span", { className: "ui-timeline-dot", "data-current": item.current ? "true" : void 0, children: /* @__PURE__ */ jsx(Icon, { "aria-hidden": "true" }) }),
|
|
83
|
+
index !== items.length - 1 ? /* @__PURE__ */ jsx("span", { className: "ui-timeline-line" }) : null
|
|
84
|
+
] }),
|
|
85
|
+
/* @__PURE__ */ jsxs("div", { className: "ui-timeline-body", children: [
|
|
86
|
+
/* @__PURE__ */ jsxs("div", { className: "ui-timeline-head", children: [
|
|
87
|
+
/* @__PURE__ */ jsxs("span", { className: "ui-timeline-title", children: [
|
|
88
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: item.current ? "Current: " : "Completed: " }),
|
|
89
|
+
item.title
|
|
90
|
+
] }),
|
|
91
|
+
item.time ? /* @__PURE__ */ jsx("span", { className: "ui-timeline-time", children: item.time }) : null
|
|
92
|
+
] }),
|
|
93
|
+
item.location ? /* @__PURE__ */ jsx("div", { className: "ui-timeline-location", children: item.location }) : null,
|
|
94
|
+
item.note ? /* @__PURE__ */ jsx("p", { className: "ui-timeline-note", children: item.note }) : null
|
|
95
|
+
] })
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
index
|
|
99
|
+
);
|
|
78
100
|
}) });
|
|
79
101
|
}
|
|
80
102
|
var Accordion = AccordionPrimitive.Root;
|
|
81
|
-
var AccordionItem =
|
|
103
|
+
var AccordionItem = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
82
104
|
AccordionPrimitive.Item,
|
|
83
105
|
{
|
|
84
106
|
ref,
|
|
@@ -88,7 +110,7 @@ var AccordionItem = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
88
110
|
}
|
|
89
111
|
));
|
|
90
112
|
AccordionItem.displayName = "AccordionItem";
|
|
91
|
-
var AccordionTrigger =
|
|
113
|
+
var AccordionTrigger = React2.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "ui-accordion-header", children: /* @__PURE__ */ jsxs(
|
|
92
114
|
AccordionPrimitive.Trigger,
|
|
93
115
|
{
|
|
94
116
|
ref,
|
|
@@ -102,7 +124,7 @@ var AccordionTrigger = React.forwardRef(({ className, children, ...props }, ref)
|
|
|
102
124
|
}
|
|
103
125
|
) }));
|
|
104
126
|
AccordionTrigger.displayName = "AccordionTrigger";
|
|
105
|
-
var AccordionContent =
|
|
127
|
+
var AccordionContent = React2.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
106
128
|
AccordionPrimitive.Content,
|
|
107
129
|
{
|
|
108
130
|
ref,
|
|
@@ -115,7 +137,7 @@ var AccordionContent = React.forwardRef(({ className, children, ...props }, ref)
|
|
|
115
137
|
AccordionContent.displayName = "AccordionContent";
|
|
116
138
|
var HoverCard = HoverCardPrimitive.Root;
|
|
117
139
|
var HoverCardTrigger = HoverCardPrimitive.Trigger;
|
|
118
|
-
var HoverCardContent =
|
|
140
|
+
var HoverCardContent = React2.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(HoverCardPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
119
141
|
HoverCardPrimitive.Content,
|
|
120
142
|
{
|
|
121
143
|
ref,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { C as CalendarProp } from '../../data-entry.prop-
|
|
2
|
+
import { C as CalendarProp } from '../../data-entry.prop-BR4vNA1j.js';
|
|
3
3
|
import '@radix-ui/react-checkbox';
|
|
4
4
|
import '@radix-ui/react-radio-group';
|
|
5
5
|
import '@radix-ui/react-slider';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { b as CascaderProp } from '../../data-entry.prop-
|
|
2
|
+
import { b as CascaderProp } from '../../data-entry.prop-BR4vNA1j.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import '@radix-ui/react-checkbox';
|
|
5
5
|
import '@radix-ui/react-radio-group';
|