@godxjp/ui 9.2.0 → 11.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-UTc4j4nj.d.ts → app.prop-Cy6dJnU8.d.ts} +18 -40
- 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-457KVJTX.js → chunk-7Q45MBFW.js} +7 -5
- package/dist/{chunk-O24Z3ULJ.js → chunk-BE6GJGKJ.js} +1 -1
- package/dist/{chunk-FVPCVZL3.js → chunk-BG5RNXTH.js} +1 -1
- 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-BHV2FUOA.js → chunk-EZHHJQWQ.js} +1 -1
- package/dist/{chunk-G6Q32VHO.js → chunk-FAB3LMTK.js} +33 -8
- 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-O2OUNXV4.js → chunk-P5KPCT6R.js} +3 -3
- package/dist/{chunk-6HQMUUQW.js → chunk-PDXFQS7M.js} +14 -30
- package/dist/{chunk-26WDEDWL.js → chunk-PUGEOUWZ.js} +32 -23
- package/dist/{chunk-F7PG4OEV.js → chunk-QSGW3ZWK.js} +12 -4
- package/dist/{chunk-E7HBHUJY.js → chunk-QVLUCB47.js} +8 -6
- 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-6J7GRCDA.js → chunk-UNVRNJCB.js} +71 -11
- package/dist/{chunk-S6TBIL7J.js → chunk-USNR424B.js} +63 -44
- package/dist/{chunk-6YBYAEXD.js → chunk-VSM44AYE.js} +94 -24
- package/dist/{chunk-QWLXN6CT.js → chunk-VSUYVT2Q.js} +3 -2
- package/dist/{chunk-4R7QL3MW.js → chunk-X2VY4MOW.js} +14 -29
- package/dist/{chunk-ETLAI3QU.js → chunk-Z46J47FY.js} +73 -77
- package/dist/components/admin/index.d.ts +22 -12
- 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.js +3 -3
- package/dist/components/feedback/index.d.ts +4 -4
- package/dist/components/feedback/index.js +9 -9
- package/dist/components/feedback/sheet.js +1 -1
- package/dist/components/layout/index.d.ts +6 -9
- package/dist/components/layout/index.js +6 -4
- package/dist/components/navigation/dropdown-menu.js +1 -1
- package/dist/components/navigation/index.d.ts +14 -16
- package/dist/components/navigation/index.js +7 -8
- package/dist/components/navigation/pagination.d.ts +11 -8
- 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 +5 -7
- package/dist/components/ui/index.js +30 -33
- 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-CDSVAN54.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 +6 -6
- package/dist/index.js +41 -44
- 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/{password-strength-kQkloEeo.d.ts → password-strength-DVRvXEOK.d.ts} +2 -2
- package/dist/props/components/index.d.ts +3 -3
- package/dist/props/index.d.ts +3 -3
- 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/feedback-layout.css +44 -12
- package/dist/styles/index.css +45 -1
- package/dist/styles/layout.css +18 -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/package.json +6 -7
- package/scripts/ui-audit.mjs +35 -2
- package/dist/chunk-6MCI7W5G.js +0 -201
- package/dist/chunk-CAEL2ZD2.js +0 -222
- package/dist/chunk-GKXPALFT.js +0 -32
- package/dist/chunk-JKHWLPM5.js +0 -101
- package/dist/chunk-KDBGFJJI.js +0 -220
- 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-B5TPUqEO.d.ts +0 -14
- /package/dist/{chunk-LDSLS6HE.js → chunk-7CFO5FFE.js} +0 -0
package/dist/i18n/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ var common = {
|
|
|
14
14
|
clearSearch: "Xóa tìm kiếm",
|
|
15
15
|
clearFilters: "Xóa bộ lọc",
|
|
16
16
|
first: "Đầu",
|
|
17
|
-
next: "Tiếp
|
|
17
|
+
next: "Tiếp",
|
|
18
18
|
selectedCount: "{count} đã chọn",
|
|
19
19
|
typeToConfirm: "Nhập {phrase} để xác nhận"
|
|
20
20
|
};
|
|
@@ -34,7 +34,10 @@ var dataEntry = {
|
|
|
34
34
|
hour: "Giờ",
|
|
35
35
|
minute: "Phút",
|
|
36
36
|
typeLabel: "Nhập giờ HH:mm",
|
|
37
|
-
openPicker: "Mở chọn giờ"
|
|
37
|
+
openPicker: "Mở chọn giờ",
|
|
38
|
+
meridiem: "Buổi",
|
|
39
|
+
am: "SA",
|
|
40
|
+
pm: "CH"
|
|
38
41
|
},
|
|
39
42
|
searchInput: {
|
|
40
43
|
placeholder: "Tìm kiếm…"
|
|
@@ -44,7 +47,8 @@ var dataEntry = {
|
|
|
44
47
|
empty: "Không tìm thấy kết quả"
|
|
45
48
|
},
|
|
46
49
|
colorPicker: {
|
|
47
|
-
ariaLabel: "Chọn màu"
|
|
50
|
+
ariaLabel: "Chọn màu",
|
|
51
|
+
hexLabel: "Mã màu hex"
|
|
48
52
|
},
|
|
49
53
|
upload: {
|
|
50
54
|
dropzoneLabel: "Tải file lên",
|
|
@@ -62,19 +66,28 @@ var dataEntry = {
|
|
|
62
66
|
undo: "Hoàn tác",
|
|
63
67
|
cropTitle: "Cắt ảnh",
|
|
64
68
|
cropZoom: "Thu phóng",
|
|
65
|
-
cropConfirm: "Dùng ảnh này"
|
|
69
|
+
cropConfirm: "Dùng ảnh này",
|
|
70
|
+
inputLabel: "Chọn tệp",
|
|
71
|
+
statusUploading: "Đang tải lên {count} tệp…",
|
|
72
|
+
statusReady: "{count} tệp, đã tải lên {done}",
|
|
73
|
+
statusFailed: "{count} tệp tải lên thất bại",
|
|
74
|
+
removeImage: "Xóa ảnh",
|
|
75
|
+
removeFile: "Xóa {name}",
|
|
76
|
+
cropDescription: "Kéo thanh thu phóng rồi lưu để cắt ảnh thành hình vuông."
|
|
66
77
|
},
|
|
67
78
|
cascader: {
|
|
68
79
|
placeholder: "Chọn…",
|
|
69
80
|
searchPlaceholder: "Tìm kiếm…",
|
|
70
|
-
empty: "Không có kết quả"
|
|
81
|
+
empty: "Không có kết quả",
|
|
82
|
+
clear: "Xóa lựa chọn"
|
|
71
83
|
},
|
|
72
84
|
treeSelect: {
|
|
73
85
|
placeholder: "Chọn…",
|
|
74
86
|
searchPlaceholder: "Tìm kiếm…",
|
|
75
87
|
empty: "Không có dữ liệu",
|
|
76
88
|
expand: "Mở rộng",
|
|
77
|
-
collapse: "Thu gọn"
|
|
89
|
+
collapse: "Thu gọn",
|
|
90
|
+
clear: "Xóa lựa chọn"
|
|
78
91
|
},
|
|
79
92
|
transfer: {
|
|
80
93
|
source: "Nguồn",
|
|
@@ -82,7 +95,9 @@ var dataEntry = {
|
|
|
82
95
|
searchPlaceholder: "Tìm kiếm…",
|
|
83
96
|
empty: "Không có dữ liệu",
|
|
84
97
|
moveRight: "Chuyển sang đích",
|
|
85
|
-
moveLeft: "Chuyển về nguồn"
|
|
98
|
+
moveLeft: "Chuyển về nguồn",
|
|
99
|
+
selectAllSource: "Chọn tất cả ở nguồn",
|
|
100
|
+
selectAllTarget: "Chọn tất cả ở đích"
|
|
86
101
|
},
|
|
87
102
|
searchSelect: {
|
|
88
103
|
placeholder: "Chọn…",
|
|
@@ -96,9 +111,63 @@ var feedback = {
|
|
|
96
111
|
errorPanel: {
|
|
97
112
|
title: "Không tải được nội dung này"
|
|
98
113
|
},
|
|
99
|
-
genericError: "Đã xảy ra lỗi. Vui lòng thử lại."
|
|
114
|
+
genericError: "Đã xảy ra lỗi. Vui lòng thử lại.",
|
|
115
|
+
alert: {
|
|
116
|
+
dismiss: "Đóng"
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
var layout = {
|
|
120
|
+
sidebar: {
|
|
121
|
+
ariaLabel: "Điều hướng chính"
|
|
122
|
+
},
|
|
123
|
+
appShell: {
|
|
124
|
+
sidebarLabel: "Thanh bên",
|
|
125
|
+
headerLabel: "Đầu trang",
|
|
126
|
+
mainLabel: "Nội dung chính",
|
|
127
|
+
footerLabel: "Chân trang"
|
|
128
|
+
},
|
|
129
|
+
topbar: {
|
|
130
|
+
toggleSidebar: "Bật/tắt thanh bên",
|
|
131
|
+
search: "Tìm kiếm",
|
|
132
|
+
searchPlaceholder: "Tìm kiếm...",
|
|
133
|
+
notifications: "Thông báo",
|
|
134
|
+
tweaks: "Mở tùy chỉnh"
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
var dataDisplay = {
|
|
138
|
+
carousel: {
|
|
139
|
+
roleDescription: "băng chuyền",
|
|
140
|
+
ariaLabel: "Băng chuyền",
|
|
141
|
+
slideLabel: "{index} / {total}",
|
|
142
|
+
previous: "Trước",
|
|
143
|
+
next: "Sau"
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
var ui = {
|
|
147
|
+
rating: {
|
|
148
|
+
ariaLabel: "Đánh giá",
|
|
149
|
+
starLabel: "{star} / {max}"
|
|
150
|
+
},
|
|
151
|
+
tagInput: {
|
|
152
|
+
inputLabel: "Thêm thẻ",
|
|
153
|
+
removeTag: "Xóa {tag}",
|
|
154
|
+
tagCount: "{count} thẻ"
|
|
155
|
+
},
|
|
156
|
+
passwordInput: {
|
|
157
|
+
show: "Hiện mật khẩu",
|
|
158
|
+
hide: "Ẩn mật khẩu"
|
|
159
|
+
}
|
|
100
160
|
};
|
|
101
161
|
var navigation = {
|
|
162
|
+
steps: {
|
|
163
|
+
ariaLabel: "Tiến trình"
|
|
164
|
+
},
|
|
165
|
+
breadcrumb: {
|
|
166
|
+
ariaLabel: "Đường dẫn"
|
|
167
|
+
},
|
|
168
|
+
toolbar: {
|
|
169
|
+
ariaLabel: "Bộ lọc"
|
|
170
|
+
},
|
|
102
171
|
localePicker: {
|
|
103
172
|
ariaLabel: "Ngôn ngữ"
|
|
104
173
|
},
|
|
@@ -190,6 +259,9 @@ var vi = {
|
|
|
190
259
|
common: common,
|
|
191
260
|
dataEntry: dataEntry,
|
|
192
261
|
feedback: feedback,
|
|
262
|
+
layout: layout,
|
|
263
|
+
dataDisplay: dataDisplay,
|
|
264
|
+
ui: ui,
|
|
193
265
|
navigation: navigation,
|
|
194
266
|
locale: locale,
|
|
195
267
|
timeFormat: timeFormat,
|
|
@@ -201,10 +273,10 @@ var vi = {
|
|
|
201
273
|
};
|
|
202
274
|
|
|
203
275
|
type Messages = typeof vi;
|
|
204
|
-
declare const MESSAGE_CATALOG: Record<AppLocale,
|
|
276
|
+
declare const MESSAGE_CATALOG: Record<AppLocale, Record<string, unknown>>;
|
|
205
277
|
type MessageKey = string;
|
|
206
278
|
type TranslateParams = Record<string, string | number>;
|
|
207
|
-
/** Resolve a dot-path message with fallback locale chain. */
|
|
279
|
+
/** Resolve a dot-path message with fallback locale chain, CLDR plurals, and locale number formatting. */
|
|
208
280
|
declare function translate(locale: AppLocale, fallbackLocale: AppLocale, key: MessageKey, params?: TranslateParams): string;
|
|
209
281
|
/** Non-React translate using module-synced locale (see `syncI18nLocale`). */
|
|
210
282
|
declare function translateCurrent(key: MessageKey, params?: TranslateParams): string;
|
package/dist/i18n/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { usePickerLocales, useTranslation } from '../chunk-
|
|
2
|
-
export { MESSAGE_CATALOG, resetI18nLocale, syncI18nLocale, translate, translateCurrent } from '../chunk-
|
|
1
|
+
export { usePickerLocales, useTranslation } from '../chunk-HTG5VHU7.js';
|
|
2
|
+
export { MESSAGE_CATALOG, resetI18nLocale, syncI18nLocale, translate, translateCurrent } from '../chunk-6CSBMMZS.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
export { B as BreadcrumbItem } from './navigation.prop-BKlxd-j7.js';
|
|
2
2
|
export { F as FlexAlignProp, a as FlexDirectionProp, b as FlexJustifyProp, c as FlexProp, c as FlexProps, I as InlineProp, P as PageContainerProp, P as PageContainerProps, d as PageHeaderProp, j as StackProp } from './layout.prop-JE2TcRyL.js';
|
|
3
|
-
export { F as
|
|
4
|
-
export { F as Flex, I as Inline, P as PageContainer, S as Stack } from './inline-CDSVAN54.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 './components/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 './components/feedback/alert.js';
|
|
10
9
|
export { Upload, useUploadDraft } from './components/data-entry/upload.js';
|
|
11
10
|
export { Cascader } from './components/data-entry/cascader.js';
|
|
@@ -14,15 +13,16 @@ export { Transfer } from './components/data-entry/transfer.js';
|
|
|
14
13
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from './components/navigation/tabs.js';
|
|
15
14
|
export { Pagination } from './components/navigation/pagination.js';
|
|
16
15
|
export { Steps } from './components/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 './components/feedback/dialog.js';
|
|
18
18
|
export { Toaster } from './components/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
|
export { formatBytes, formatCurrency, formatDateLong, formatDateTime, formatRelative, humanError, shortId } from './components/admin/index.js';
|
|
22
22
|
export { cn } from './lib/utils.js';
|
|
23
|
-
export { F as FieldProps,
|
|
23
|
+
export { F as FieldProps, E as collectUploadCommitActions, G as createUploadItem } from './data-entry.prop-BR4vNA1j.js';
|
|
24
24
|
export { c as AlertDialogProps } from './feedback.prop-Nc9Aa8SV.js';
|
|
25
|
-
export { e as ToolbarGroupProps, f as ToolbarProps } from './navigation.prop-
|
|
25
|
+
export { e as ToolbarGroupProps, f as ToolbarProps } from './navigation.prop-DMcXkR-J.js';
|
|
26
26
|
export { j as formatDate } from './format-date-ByyZoqI5.js';
|
|
27
27
|
import './shared.prop-BsNSXeqD.js';
|
|
28
28
|
import 'react';
|
package/dist/index.js
CHANGED
|
@@ -1,61 +1,58 @@
|
|
|
1
|
-
import './chunk-ETLAI3QU.js';
|
|
2
|
-
import './chunk-QWLXN6CT.js';
|
|
3
|
-
import './chunk-R2W2FX5Q.js';
|
|
4
|
-
import './chunk-EOTOCNT7.js';
|
|
5
|
-
import './chunk-QLMXEJSY.js';
|
|
6
|
-
import './chunk-6YBYAEXD.js';
|
|
7
|
-
import './chunk-LJLGABFV.js';
|
|
8
|
-
import './chunk-N3JPLJ3B.js';
|
|
9
|
-
import './chunk-25RYBC5T.js';
|
|
10
|
-
import './chunk-GKXPALFT.js';
|
|
11
|
-
import './chunk-IOGU3ZWF.js';
|
|
12
|
-
import './chunk-3TS3G4U3.js';
|
|
13
|
-
import './chunk-JKHWLPM5.js';
|
|
14
1
|
import './chunk-WFUIE252.js';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
|
|
2
|
+
import './chunk-EZHHJQWQ.js';
|
|
3
|
+
import './chunk-Z46J47FY.js';
|
|
4
|
+
import './chunk-VSUYVT2Q.js';
|
|
5
|
+
import './chunk-EOTOCNT7.js';
|
|
6
|
+
import './chunk-3Q4A4U2P.js';
|
|
7
|
+
import './chunk-VSM44AYE.js';
|
|
8
|
+
import './chunk-GDDCSKCB.js';
|
|
9
|
+
import './chunk-S2IJKT3D.js';
|
|
10
|
+
import './chunk-I7NQ2LIL.js';
|
|
11
|
+
import './chunk-EE5DKOHX.js';
|
|
12
|
+
import './chunk-2HXZT2WJ.js';
|
|
13
|
+
import './chunk-DNGJHWJZ.js';
|
|
14
|
+
import './chunk-7CFO5FFE.js';
|
|
15
|
+
export { toast, useToast } from './chunk-B3WX53JQ.js';
|
|
16
|
+
export { SkeletonDetail, SkeletonRows, SkeletonStat, SkeletonTable } from './chunk-COD66MFF.js';
|
|
17
|
+
export { Toaster } from './chunk-TO7URV7U.js';
|
|
18
|
+
export { PageContainer } from './chunk-PUGEOUWZ.js';
|
|
19
|
+
import './chunk-XK3M3VRR.js';
|
|
20
|
+
import './chunk-32WO3YLB.js';
|
|
21
|
+
import './chunk-W4REF4TD.js';
|
|
22
|
+
export { Toolbar, ToolbarGroup } from './chunk-T2QO2S65.js';
|
|
23
|
+
export { Steps } from './chunk-SARQRCKO.js';
|
|
18
24
|
import './chunk-B73NA66T.js';
|
|
19
25
|
import './chunk-WGWI7EGL.js';
|
|
20
|
-
export { Pagination } from './chunk-
|
|
21
|
-
export { Steps } from './chunk-OJZ6C2HM.js';
|
|
26
|
+
export { Pagination } from './chunk-PDXFQS7M.js';
|
|
22
27
|
export { Tabs, TabsContent, TabsList, TabsTrigger } from './chunk-V3N266PT.js';
|
|
23
28
|
import './chunk-HL3G4SVG.js';
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
|
|
29
|
+
import './chunk-LMKUKCTN.js';
|
|
30
|
+
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from './chunk-QVLUCB47.js';
|
|
31
|
+
export { SearchInput, Transfer } from './chunk-7Q45MBFW.js';
|
|
32
|
+
export { TreeSelect } from './chunk-UNVRNJCB.js';
|
|
33
|
+
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from './chunk-FAB3LMTK.js';
|
|
34
|
+
export { formatBytes, formatCurrency, formatDateLong, formatDateTime, formatRelative, humanError, shortId } from './chunk-X2VY4MOW.js';
|
|
35
|
+
export { AlertDialog, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './chunk-BG5RNXTH.js';
|
|
36
|
+
import './chunk-NXVCI6YB.js';
|
|
28
37
|
import './chunk-CRERCLIZ.js';
|
|
29
|
-
|
|
30
|
-
export { Cascader } from './chunk-HB2OHB5X.js';
|
|
38
|
+
export { Cascader } from './chunk-5NCFLCM7.js';
|
|
31
39
|
import './chunk-SMLKNECP.js';
|
|
32
|
-
import './chunk-O24Z3ULJ.js';
|
|
33
|
-
export { ChoiceField, Field } from './chunk-26CPAKUP.js';
|
|
34
40
|
import './chunk-HTEL5DQI.js';
|
|
35
|
-
export { toast, useToast } from './chunk-B3WX53JQ.js';
|
|
36
|
-
export { SkeletonCard, SkeletonDetail, SkeletonRows, SkeletonStat, SkeletonTable } from './chunk-AINW5WYN.js';
|
|
37
|
-
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from './chunk-E7HBHUJY.js';
|
|
38
|
-
export { formatBytes, formatCurrency, formatDateLong, formatDateTime, formatRelative, humanError, shortId } from './chunk-4R7QL3MW.js';
|
|
39
|
-
export { AlertDialog, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './chunk-FVPCVZL3.js';
|
|
40
41
|
import './chunk-VOHTRR5X.js';
|
|
41
|
-
export {
|
|
42
|
-
export { PageContainer, Stack } from './chunk-26WDEDWL.js';
|
|
43
|
-
import './chunk-XK3M3VRR.js';
|
|
44
|
-
import './chunk-TO33OY4L.js';
|
|
45
|
-
import './chunk-W4REF4TD.js';
|
|
46
|
-
import './chunk-32WO3YLB.js';
|
|
47
|
-
export { DataTable, Descriptions, EmptyState } from './chunk-S6TBIL7J.js';
|
|
48
|
-
import './chunk-M4PZNAMV.js';
|
|
42
|
+
export { DataTable, Descriptions, EmptyState } from './chunk-USNR424B.js';
|
|
49
43
|
import './chunk-DV52WNXO.js';
|
|
50
|
-
export { Flex
|
|
51
|
-
|
|
44
|
+
export { Flex } from './chunk-INIIF7F7.js';
|
|
45
|
+
import './chunk-BE6GJGKJ.js';
|
|
46
|
+
export { Field } from './chunk-44YRPSZ7.js';
|
|
47
|
+
import './chunk-M4PZNAMV.js';
|
|
48
|
+
export { Badge } from './chunk-IY347EQA.js';
|
|
52
49
|
import './chunk-DY5C44UP.js';
|
|
53
50
|
import './chunk-3KPEZ5CF.js';
|
|
54
51
|
import './chunk-4MMIMZMK.js';
|
|
55
52
|
import './chunk-IBK5D2Q6.js';
|
|
56
|
-
|
|
57
|
-
export { formatDate } from './chunk-FXFJF4YA.js';
|
|
58
|
-
export { FormField } from './chunk-F7PG4OEV.js';
|
|
53
|
+
export { FormField } from './chunk-QSGW3ZWK.js';
|
|
59
54
|
import './chunk-7PWBC4BY.js';
|
|
55
|
+
import './chunk-HTG5VHU7.js';
|
|
56
|
+
export { formatDate } from './chunk-6CSBMMZS.js';
|
|
60
57
|
export { useDebouncedValue, useTimeoutFlag } from './chunk-LFW37FGG.js';
|
|
61
58
|
export { cn } from './chunk-U7N2A7A3.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { calendarDateToTZDate, detectFormatDateKind, disableLiveRelativeFormatting, enableLiveRelativeFormatting, formatAppDate, formatAppDateLong, formatAppDateTime, formatAppRelative, formatAppTime, formatCalendarDate, formatDate, formatTimeOfDay, getDatetimeContext, hhmmToTZDate, isDateOnlyString, isFormatDateValue, isValidHhmm, normalizeHhmm, parseDateInput, resetDatetimeContextForTests, syncDatetimeContext, toIsoDate } from '../../chunk-
|
|
1
|
+
export { calendarDateToTZDate, detectFormatDateKind, disableLiveRelativeFormatting, enableLiveRelativeFormatting, formatAppDate, formatAppDateLong, formatAppDateTime, formatAppRelative, formatAppTime, formatCalendarDate, formatDate, formatTimeOfDay, getDatetimeContext, hhmmToTZDate, isDateOnlyString, isFormatDateValue, isValidHhmm, normalizeHhmm, parseDateInput, resetDatetimeContextForTests, syncDatetimeContext, toIsoDate } from '../../chunk-6CSBMMZS.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { a as ClassNameProp, C as ChildrenProp, L as LabelProp
|
|
2
|
+
import { c as DisabledProp, a as ClassNameProp, C as ChildrenProp, L as LabelProp } from './shared.prop-BsNSXeqD.js';
|
|
3
3
|
import { O as OnClearFiltersProp, H as HasActiveFiltersProp } from './data.prop-DMYMNl6L.js';
|
|
4
4
|
|
|
5
5
|
/** Navigation component prop types — @see docs/COMPONENTS.md#navigation */
|
|
@@ -23,7 +23,7 @@ type FilterBarProp = ToolbarProp;
|
|
|
23
23
|
type FilterGroupProp = ToolbarGroupProp;
|
|
24
24
|
/** @see Pagination — offset/page-based (distinct from DataTable cursor pagination). */
|
|
25
25
|
type PaginationProp = {
|
|
26
|
-
|
|
26
|
+
value?: number;
|
|
27
27
|
total?: number;
|
|
28
28
|
pageSize?: number;
|
|
29
29
|
pageSizeOptions?: number[];
|
|
@@ -32,15 +32,13 @@ type PaginationProp = {
|
|
|
32
32
|
simple?: boolean;
|
|
33
33
|
disabled?: DisabledProp;
|
|
34
34
|
className?: ClassNameProp;
|
|
35
|
-
|
|
35
|
+
onValueChange?: (page: number, pageSize: number) => void;
|
|
36
36
|
};
|
|
37
37
|
type StepStatusProp = "wait" | "process" | "finish" | "error";
|
|
38
38
|
/** @see StepItem */
|
|
39
39
|
type StepItemProp = {
|
|
40
40
|
title: React.ReactNode;
|
|
41
|
-
|
|
42
|
-
/** Ant Design `content` — alias `description` supported */
|
|
43
|
-
content?: React.ReactNode;
|
|
41
|
+
subtitle?: React.ReactNode;
|
|
44
42
|
description?: React.ReactNode;
|
|
45
43
|
icon?: React.ReactNode;
|
|
46
44
|
status?: StepStatusProp;
|
|
@@ -49,14 +47,14 @@ type StepItemProp = {
|
|
|
49
47
|
/** @see Steps */
|
|
50
48
|
type StepsProp = {
|
|
51
49
|
items?: StepItemProp[];
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
value?: number;
|
|
51
|
+
defaultValue?: number;
|
|
54
52
|
status?: StepStatusProp;
|
|
55
53
|
orientation?: "horizontal" | "vertical";
|
|
56
54
|
type?: "default" | "dot";
|
|
57
|
-
size?: "
|
|
55
|
+
size?: "md" | "sm";
|
|
58
56
|
titlePlacement?: "horizontal" | "vertical";
|
|
59
|
-
|
|
57
|
+
onValueChange?: (value: number) => void;
|
|
60
58
|
className?: ClassNameProp;
|
|
61
59
|
};
|
|
62
60
|
/** Tab pane — Ant Design `items` entry. */
|
|
@@ -71,7 +69,7 @@ type TabsProp = {
|
|
|
71
69
|
items?: TabItemProp[];
|
|
72
70
|
value?: string;
|
|
73
71
|
defaultValue?: string;
|
|
74
|
-
onValueChange?: (
|
|
72
|
+
onValueChange?: (value: string) => void;
|
|
75
73
|
variant?: "default" | "line" | "card";
|
|
76
74
|
className?: ClassNameProp;
|
|
77
75
|
listClassName?: ClassNameProp;
|
|
@@ -7,12 +7,12 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
7
7
|
|
|
8
8
|
declare const toggleVariants: (props?: ({
|
|
9
9
|
variant?: "default" | "outline" | null | undefined;
|
|
10
|
-
size?: "
|
|
10
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
11
11
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
12
|
type ToggleProps = React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>;
|
|
13
13
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
14
14
|
variant?: "default" | "outline" | null | undefined;
|
|
15
|
-
size?: "
|
|
15
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
16
16
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
17
17
|
|
|
18
18
|
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { A as AppShellProp, I as InlineProp, P as PageContainerProp, d as PageHeaderProp, e as PageInsetProp, f as SidebarItemProp, g as SidebarProductProp, h as SidebarProp, i as SidebarSectionProp, j as StackProp, T as TopbarProductProp, k as TopbarProjectProp, l as TopbarProp } from '../../layout.prop-JE2TcRyL.js';
|
|
2
2
|
export { B as ButtonProp } from '../../general.prop-DoHDCRmL.js';
|
|
3
|
-
export { A as AutocompleteOptionProp, a as AutocompleteProp, C as CalendarProp, b as CascaderProp, c as CheckboxGroupProp, d as CheckboxProp,
|
|
3
|
+
export { A as AutocompleteOptionProp, a as AutocompleteProp, C as CalendarProp, b as CascaderProp, c as CheckboxGroupProp, d as CheckboxProp, e as ChoiceOptionProp, f as ColorPickerProp, D as DatePickerProp, g as DateRangePickerProp, h as FormFieldProp, I as InputProp, R as RadioGroupProp, i as RadioProp, S as SearchInputProp, n as ShowCheckedStrategyProp, o as SliderProp, p as SwitchProp, T as TextareaProp, q as TimePickerProp, r as TransferItemProp, s as TransferProp, t as TreeFieldNamesProp, u as TreeOptionProp, v as TreeSelectProp, x as UploadFileItemProp, y as UploadProp, B as UploadVariantProp } from '../../data-entry.prop-BR4vNA1j.js';
|
|
4
4
|
export { B as BadgeProp, D as DataTableProp, a as DescriptionsItemProp, b as DescriptionsProp, E as EmptyStateProp } from '../../data-display.prop-Cf2p9QC4.js';
|
|
5
5
|
export { A as AlertActionsProp, a as AlertContentProp, b as AlertDescriptionProp, d as AlertProp, e as AlertQueryErrorProp, f as AlertTitleProp, S as SkeletonRowsProp } from '../../feedback.prop-Nc9Aa8SV.js';
|
|
6
6
|
export { D as DataStateProp, I as InfiniteQueryHelpers, a as InfiniteQueryStateProp, M as MutationFeedbackProp, P as PrefetchLinkProp, Q as QueryRefetchButtonProp } from '../../query.prop-BDdz9L1G.js';
|
|
7
|
-
export { F as FilterBarProp, a as FilterGroupProp, P as PaginationProp, S as StepItemProp, b as StepStatusProp, c as StepsProp, T as TabItemProp, d as TabsProp } from '../../navigation.prop-
|
|
8
|
-
export { A as AppContextValue, a as AppProviderProp,
|
|
7
|
+
export { F as FilterBarProp, a as FilterGroupProp, P as PaginationProp, S as StepItemProp, b as StepStatusProp, c as StepsProp, T as TabItemProp, d as TabsProp } from '../../navigation.prop-DMcXkR-J.js';
|
|
8
|
+
export { A as AppContextValue, a as AppProviderProp, b as AppSettingKind, c as AppSettingPickerProp } from '../../app.prop-Cy6dJnU8.js';
|
|
9
9
|
export { F as FieldErrorMessageProp, a as FormFieldControlProp, b as FormRootProp, U as UseZodFormOptionsProp, c as UseZodFormReturnProp, Z as ZodSchemaProp } from '../../form.prop-Bc6r6JJW.js';
|
|
10
10
|
import 'react';
|
|
11
11
|
import '../../shared.prop-BsNSXeqD.js';
|
package/dist/props/index.d.ts
CHANGED
|
@@ -6,12 +6,12 @@ export { B as BreadcrumbItem, B as BreadcrumbItemProp, a as BreadcrumbProp } fro
|
|
|
6
6
|
export { C as ColumnDef, C as ColumnDefProp, G as GetRowIdProp, H as HasActiveFiltersProp, O as OnClearFiltersProp, a as OnRowClickProp, b as OnSearchChangeProp, c as OnSelectChangeProp, d as OnSortChangeProp, e as OnTableDensityChangeProp, S as SelectedIdsProp } from '../data.prop-DMYMNl6L.js';
|
|
7
7
|
export { A as AppShellProp, I as InlineProp, I as InlineProps, P as PageContainerProp, P as PageContainerProps, d as PageHeaderProp, e as PageInsetProp, f as SidebarItemProp, g as SidebarProductProp, h as SidebarProp, i as SidebarSectionProp, j as StackProp, j as StackProps, T as TopbarProductProp, k as TopbarProjectProp, l as TopbarProp } from '../layout.prop-JE2TcRyL.js';
|
|
8
8
|
export { B as ButtonProp, B as ButtonProps } from '../general.prop-DoHDCRmL.js';
|
|
9
|
-
export { A as AutocompleteOptionProp, a as AutocompleteProp, C as CalendarProp, b as CascaderProp, c as CheckboxGroupProp, d as CheckboxProp,
|
|
9
|
+
export { A as AutocompleteOptionProp, a as AutocompleteProp, C as CalendarProp, b as CascaderProp, c as CheckboxGroupProp, d as CheckboxProp, e as ChoiceOptionProp, f as ColorPickerProp, D as DatePickerProp, g as DateRangePickerProp, h as FormFieldProp, I as InputProp, R as RadioGroupProp, i as RadioProp, S as SearchInputProp, n as ShowCheckedStrategyProp, o as SliderProp, p as SwitchProp, T as TextareaProp, q as TimePickerProp, r as TransferItemProp, s as TransferProp, t as TreeFieldNamesProp, u as TreeOptionProp, v as TreeSelectProp, x as UploadFileItemProp, y as UploadProp, B as UploadVariantProp } from '../data-entry.prop-BR4vNA1j.js';
|
|
10
10
|
export { B as BadgeProp, D as DataTableProp, a as DescriptionsItemProp, b as DescriptionsProp, E as EmptyStateProp } from '../data-display.prop-Cf2p9QC4.js';
|
|
11
11
|
export { A as AlertActionsProp, a as AlertContentProp, b as AlertDescriptionProp, d as AlertProp, e as AlertQueryErrorProp, f as AlertTitleProp, S as SkeletonRowsProp } from '../feedback.prop-Nc9Aa8SV.js';
|
|
12
12
|
export { D as DataStateProp, I as InfiniteQueryHelpers, a as InfiniteQueryStateProp, M as MutationFeedbackProp, P as PrefetchLinkProp, Q as QueryRefetchButtonProp } from '../query.prop-BDdz9L1G.js';
|
|
13
|
-
export { F as FilterBarProp, a as FilterGroupProp, P as PaginationProp, S as StepItemProp, b as StepStatusProp, c as StepsProp, T as TabItemProp, d as TabsProp } from '../navigation.prop-
|
|
14
|
-
export { A as AppContextValue, a as AppProviderProp,
|
|
13
|
+
export { F as FilterBarProp, a as FilterGroupProp, P as PaginationProp, S as StepItemProp, b as StepStatusProp, c as StepsProp, T as TabItemProp, d as TabsProp } from '../navigation.prop-DMcXkR-J.js';
|
|
14
|
+
export { A as AppContextValue, a as AppProviderProp, b as AppSettingKind, c as AppSettingPickerProp } from '../app.prop-Cy6dJnU8.js';
|
|
15
15
|
export { F as FieldErrorMessageProp, a as FormFieldControlProp, b as FormRootProp, U as UseZodFormOptionsProp, c as UseZodFormReturnProp, Z as ZodSchemaProp } from '../form.prop-Bc6r6JJW.js';
|
|
16
16
|
export { COMPONENT_PROP_REGISTRY, ComponentPropName, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY, VocabularyPropName } from './registry.js';
|
|
17
17
|
import 'react';
|
package/dist/props/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '../chunk-B775Y6BE.js';
|
|
2
2
|
import '../chunk-ZT5UEUBO.js';
|
|
3
|
-
export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-
|
|
3
|
+
export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-IHRMOJXD.js';
|
package/dist/props/registry.d.ts
CHANGED
|
@@ -322,22 +322,7 @@ declare const COMPONENT_PROP_REGISTRY: {
|
|
|
322
322
|
readonly file: "components/app.prop.ts";
|
|
323
323
|
readonly vocabulary: readonly ["ChildrenProp"];
|
|
324
324
|
};
|
|
325
|
-
readonly
|
|
326
|
-
readonly group: "app";
|
|
327
|
-
readonly file: "components/app.prop.ts";
|
|
328
|
-
readonly vocabulary: readonly ["ValueProp", "OnValueChangeProp", "DisabledProp", "IdProp", "ClassNameProp"];
|
|
329
|
-
};
|
|
330
|
-
readonly TimezonePickerProp: {
|
|
331
|
-
readonly group: "app";
|
|
332
|
-
readonly file: "components/app.prop.ts";
|
|
333
|
-
readonly vocabulary: readonly ["ValueProp", "OnValueChangeProp", "DisabledProp", "IdProp", "ClassNameProp"];
|
|
334
|
-
};
|
|
335
|
-
readonly TimeFormatPickerProp: {
|
|
336
|
-
readonly group: "app";
|
|
337
|
-
readonly file: "components/app.prop.ts";
|
|
338
|
-
readonly vocabulary: readonly ["ValueProp", "OnValueChangeProp", "DisabledProp", "IdProp", "ClassNameProp"];
|
|
339
|
-
};
|
|
340
|
-
readonly DateFormatPickerProp: {
|
|
325
|
+
readonly AppSettingPickerProp: {
|
|
341
326
|
readonly group: "app";
|
|
342
327
|
readonly file: "components/app.prop.ts";
|
|
343
328
|
readonly vocabulary: readonly ["ValueProp", "OnValueChangeProp", "DisabledProp", "IdProp", "ClassNameProp"];
|
|
@@ -509,26 +494,6 @@ declare const COMPONENT_PROP_REGISTRY: {
|
|
|
509
494
|
readonly file: "components/data-entry.prop.ts";
|
|
510
495
|
readonly vocabulary: readonly ["IdProp", "LabelProp", "DescriptionProp", "ClassNameProp", "ChildrenProp"];
|
|
511
496
|
};
|
|
512
|
-
readonly ChoiceFieldProp: {
|
|
513
|
-
readonly group: "data-entry";
|
|
514
|
-
readonly file: "components/data-entry.prop.ts";
|
|
515
|
-
readonly vocabulary: readonly ["IdProp", "LabelProp", "ClassNameProp"];
|
|
516
|
-
};
|
|
517
|
-
readonly CountryOptionProp: {
|
|
518
|
-
readonly group: "data-entry";
|
|
519
|
-
readonly file: "components/data-entry.prop.ts";
|
|
520
|
-
readonly vocabulary: readonly ["LabelProp", "ValueProp"];
|
|
521
|
-
};
|
|
522
|
-
readonly CountryOptionLabelProp: {
|
|
523
|
-
readonly group: "data-entry";
|
|
524
|
-
readonly file: "components/data-entry.prop.ts";
|
|
525
|
-
readonly vocabulary: readonly ["ClassNameProp"];
|
|
526
|
-
};
|
|
527
|
-
readonly CountrySelectProp: {
|
|
528
|
-
readonly group: "data-entry";
|
|
529
|
-
readonly file: "components/data-entry.prop.ts";
|
|
530
|
-
readonly vocabulary: readonly ["IdProp", "NameProp", "DefaultValueProp", "RequiredProp", "PlaceholderProp"];
|
|
531
|
-
};
|
|
532
497
|
readonly SliderProp: {
|
|
533
498
|
readonly group: "data-entry";
|
|
534
499
|
readonly file: "components/data-entry.prop.ts";
|
|
@@ -794,17 +759,17 @@ declare const COMPONENT_PROP_REGISTRY: {
|
|
|
794
759
|
readonly PaginationProp: {
|
|
795
760
|
readonly group: "navigation";
|
|
796
761
|
readonly file: "components/navigation.prop.ts";
|
|
797
|
-
readonly vocabulary: readonly ["DisabledProp", "ClassNameProp"];
|
|
762
|
+
readonly vocabulary: readonly ["ValueProp", "OnValueChangeProp", "DisabledProp", "ClassNameProp"];
|
|
798
763
|
};
|
|
799
764
|
readonly StepsProp: {
|
|
800
765
|
readonly group: "navigation";
|
|
801
766
|
readonly file: "components/navigation.prop.ts";
|
|
802
|
-
readonly vocabulary: readonly ["SizeProp", "OnValueChangeProp", "ClassNameProp"];
|
|
767
|
+
readonly vocabulary: readonly ["ValueProp", "DefaultValueProp", "SizeProp", "OnValueChangeProp", "ClassNameProp"];
|
|
803
768
|
};
|
|
804
769
|
readonly StepItemProp: {
|
|
805
770
|
readonly group: "navigation";
|
|
806
771
|
readonly file: "components/navigation.prop.ts";
|
|
807
|
-
readonly vocabulary: readonly ["TitleProp", "DescriptionProp", "IconProp", "DisabledProp"];
|
|
772
|
+
readonly vocabulary: readonly ["TitleProp", "SubtitleProp", "DescriptionProp", "IconProp", "DisabledProp"];
|
|
808
773
|
};
|
|
809
774
|
readonly StepStatusProp: {
|
|
810
775
|
readonly group: "navigation";
|
|
@@ -851,6 +816,86 @@ declare const COMPONENT_PROP_REGISTRY: {
|
|
|
851
816
|
readonly file: "components/form.prop.ts";
|
|
852
817
|
readonly vocabulary: readonly ["ZodSchemaProp"];
|
|
853
818
|
};
|
|
819
|
+
readonly ToggleProp: {
|
|
820
|
+
readonly group: "data-entry";
|
|
821
|
+
readonly file: "components/ui/toggle.tsx";
|
|
822
|
+
readonly vocabulary: readonly ["SizeProp", "ClassNameProp"];
|
|
823
|
+
};
|
|
824
|
+
readonly RatingProp: {
|
|
825
|
+
readonly group: "data-entry";
|
|
826
|
+
readonly file: "components/ui/rating.tsx";
|
|
827
|
+
readonly vocabulary: readonly ["ValueProp", "OnValueChangeProp", "DisabledProp", "ClassNameProp"];
|
|
828
|
+
};
|
|
829
|
+
readonly TagInputProp: {
|
|
830
|
+
readonly group: "data-entry";
|
|
831
|
+
readonly file: "components/ui/tag-input.tsx";
|
|
832
|
+
readonly vocabulary: readonly ["ValueProp", "OnValueChangeProp", "PlaceholderProp", "IdProp", "ClassNameProp"];
|
|
833
|
+
};
|
|
834
|
+
readonly PasswordInputProp: {
|
|
835
|
+
readonly group: "data-entry";
|
|
836
|
+
readonly file: "components/ui/password-input.tsx";
|
|
837
|
+
readonly vocabulary: readonly ["ClassNameProp"];
|
|
838
|
+
};
|
|
839
|
+
readonly PasswordStrengthProp: {
|
|
840
|
+
readonly group: "data-entry";
|
|
841
|
+
readonly file: "components/data-entry/password-strength.tsx";
|
|
842
|
+
readonly vocabulary: readonly ["ValueProp", "ClassNameProp"];
|
|
843
|
+
};
|
|
844
|
+
readonly ProgressProp: {
|
|
845
|
+
readonly group: "data-display";
|
|
846
|
+
readonly file: "components/data-display/progress.tsx";
|
|
847
|
+
readonly vocabulary: readonly ["ValueProp", "LabelProp", "ClassNameProp"];
|
|
848
|
+
};
|
|
849
|
+
readonly TimelineProp: {
|
|
850
|
+
readonly group: "data-display";
|
|
851
|
+
readonly file: "components/data-display/timeline.tsx";
|
|
852
|
+
readonly vocabulary: readonly ["ClassNameProp"];
|
|
853
|
+
};
|
|
854
|
+
readonly TreeListProp: {
|
|
855
|
+
readonly group: "data-display";
|
|
856
|
+
readonly file: "components/data-display/tree-list.tsx";
|
|
857
|
+
readonly vocabulary: readonly ["ClassNameProp"];
|
|
858
|
+
};
|
|
859
|
+
readonly CardProp: {
|
|
860
|
+
readonly group: "data-display";
|
|
861
|
+
readonly file: "components/data-display/card.tsx";
|
|
862
|
+
readonly vocabulary: readonly ["ToneProp", "ClassNameProp", "ChildrenProp"];
|
|
863
|
+
};
|
|
864
|
+
readonly CardCoverProp: {
|
|
865
|
+
readonly group: "data-display";
|
|
866
|
+
readonly file: "components/data-display/card.tsx";
|
|
867
|
+
readonly vocabulary: readonly ["ClassNameProp", "ChildrenProp"];
|
|
868
|
+
};
|
|
869
|
+
readonly CardHeaderProp: {
|
|
870
|
+
readonly group: "data-display";
|
|
871
|
+
readonly file: "components/data-display/card.tsx";
|
|
872
|
+
readonly vocabulary: readonly ["TitleProp", "DescriptionProp", "ClassNameProp", "ChildrenProp"];
|
|
873
|
+
};
|
|
874
|
+
readonly CardContentProp: {
|
|
875
|
+
readonly group: "data-display";
|
|
876
|
+
readonly file: "components/data-display/card.tsx";
|
|
877
|
+
readonly vocabulary: readonly ["ClassNameProp", "ChildrenProp"];
|
|
878
|
+
};
|
|
879
|
+
readonly CardFooterProp: {
|
|
880
|
+
readonly group: "data-display";
|
|
881
|
+
readonly file: "components/data-display/card.tsx";
|
|
882
|
+
readonly vocabulary: readonly ["ClassNameProp", "ChildrenProp"];
|
|
883
|
+
};
|
|
884
|
+
readonly StatCardProp: {
|
|
885
|
+
readonly group: "data-display";
|
|
886
|
+
readonly file: "components/data-display/card.tsx";
|
|
887
|
+
readonly vocabulary: readonly ["TitleProp", "ToneProp", "ClassNameProp"];
|
|
888
|
+
};
|
|
889
|
+
readonly ResponsiveGridProp: {
|
|
890
|
+
readonly group: "layout";
|
|
891
|
+
readonly file: "components/layout/responsive-grid.tsx";
|
|
892
|
+
readonly vocabulary: readonly ["GapProp", "ClassNameProp", "ChildrenProp"];
|
|
893
|
+
};
|
|
894
|
+
readonly SplitPaneProp: {
|
|
895
|
+
readonly group: "layout";
|
|
896
|
+
readonly file: "components/layout/split-pane.tsx";
|
|
897
|
+
readonly vocabulary: readonly ["ClassNameProp", "ChildrenProp"];
|
|
898
|
+
};
|
|
854
899
|
};
|
|
855
900
|
type ComponentPropName = keyof typeof COMPONENT_PROP_REGISTRY;
|
|
856
901
|
/** Forbidden duplicate concepts — use the canonical name on the left. */
|
package/dist/props/registry.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-
|
|
1
|
+
export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-IHRMOJXD.js';
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { h as FormFieldProp, F as FieldProp } from './data-entry.prop-BR4vNA1j.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
|
|
5
5
|
declare function FormField({ id, label, required, helper, error, labelAddon, className, children, }: FormFieldProp): react_jsx_runtime.JSX.Element;
|
|
6
6
|
|
|
7
7
|
/** Label + optional description beside a checkbox/radio/switch control. */
|
|
8
8
|
declare function Field({ id, label, description, className, children }: FieldProp): react_jsx_runtime.JSX.Element;
|
|
9
|
-
/** @deprecated Use Field. */
|
|
10
|
-
declare const ChoiceField: typeof Field;
|
|
11
9
|
|
|
12
10
|
interface SearchInputProps {
|
|
13
11
|
value?: string;
|
|
@@ -24,4 +22,4 @@ interface SearchInputProps {
|
|
|
24
22
|
}
|
|
25
23
|
declare function SearchInput({ value: controlledValue, defaultValue, placeholder, debounce, onSearch, label, ariaLabel, className, inputClassName, id, disabled, }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
26
24
|
|
|
27
|
-
export {
|
|
25
|
+
export { Field as F, SearchInput as S, FormField as a };
|
|
@@ -16,7 +16,5 @@ declare function SkeletonTable({ rows, columns }: SkeletonRowsProps): react_jsx_
|
|
|
16
16
|
declare function SkeletonDetail(): react_jsx_runtime.JSX.Element;
|
|
17
17
|
/** Skeleton matching a stat card / dashboard tile. */
|
|
18
18
|
declare function SkeletonStat(): react_jsx_runtime.JSX.Element;
|
|
19
|
-
/** @deprecated Use SkeletonStat. */
|
|
20
|
-
declare const SkeletonCard: typeof SkeletonStat;
|
|
21
19
|
|
|
22
|
-
export { Skeleton as S,
|
|
20
|
+
export { Skeleton as S, SkeletonDetail as a, type SkeletonProps as b, SkeletonRows as c, SkeletonStat as d, SkeletonTable as e };
|