@godxjp/ui 6.12.0 → 7.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 +5 -0
- package/dist/aspect-ratio-DGoYrOry.d.ts +6 -0
- package/dist/avatar-D9MdXzfF.d.ts +8 -0
- package/dist/{checkbox-9w-eF8sM.d.ts → checkbox-CK2mYEpD.d.ts} +1 -1
- package/dist/{chunk-T2S3IGZG.js → chunk-6TSU4IHV.js} +1 -1
- package/dist/chunk-7AMHT5Z5.js +61 -0
- package/dist/{chunk-EE3B3TEQ.js → chunk-ARDVPIF4.js} +1 -1
- package/dist/chunk-B3WX53JQ.js +40 -0
- package/dist/{chunk-T4UT3B3K.js → chunk-EQRQM6RF.js} +127 -182
- package/dist/{chunk-JBEIL3VD.js → chunk-FBHN6OO4.js} +1 -1
- package/dist/chunk-FRU44GA2.js +18 -0
- package/dist/chunk-FYM3MJSK.js +59 -0
- package/dist/{chunk-M64MVRLS.js → chunk-HKQITNB3.js} +12 -48
- package/dist/{chunk-GXHZAJUA.js → chunk-O2OUNXV4.js} +10 -10
- package/dist/{chunk-BM5LIDCS.js → chunk-OGFWIXRO.js} +7 -16
- package/dist/chunk-R2W2FX5Q.js +48 -0
- package/dist/chunk-SEG2YBXF.js +29 -0
- package/dist/{chunk-XG7XDYIM.js → chunk-V3N266PT.js} +48 -2
- package/dist/{chunk-TW4IRRAX.js → chunk-VXXKR5U4.js} +6 -47
- package/dist/{chunk-SWGQX3AP.js → chunk-Y3XBNUTD.js} +1 -1
- package/dist/components/admin/index.d.ts +12 -10
- package/dist/components/admin/index.js +18 -17
- package/dist/components/data-display/badge.d.ts +12 -4
- package/dist/components/data-display/badge.js +3 -1
- package/dist/components/data-display/card.d.ts +5 -5
- package/dist/components/data-display/card.js +1 -1
- package/dist/components/data-display/index.d.ts +10 -22
- package/dist/components/data-display/index.js +24 -33
- package/dist/components/data-entry/autocomplete.d.ts +1 -1
- package/dist/components/data-entry/autocomplete.js +3 -3
- package/dist/components/data-entry/calendar.d.ts +1 -1
- package/dist/components/data-entry/cascader.d.ts +1 -1
- package/dist/components/data-entry/checkbox.d.ts +2 -2
- package/dist/components/data-entry/color-picker.d.ts +1 -1
- package/dist/components/data-entry/color-picker.js +2 -2
- package/dist/components/data-entry/command.d.ts +5 -5
- package/dist/components/data-entry/date-picker.d.ts +1 -1
- package/dist/components/data-entry/date-picker.js +2 -2
- package/dist/components/data-entry/date-range-picker.d.ts +1 -1
- package/dist/components/data-entry/date-range-picker.js +2 -2
- package/dist/components/data-entry/index.d.ts +18 -14
- package/dist/components/data-entry/index.js +18 -78
- package/dist/components/data-entry/radio.d.ts +1 -1
- package/dist/components/data-entry/select.d.ts +1 -1
- package/dist/components/data-entry/select.js +3 -3
- package/dist/components/data-entry/slider.d.ts +1 -1
- package/dist/components/data-entry/switch.d.ts +1 -1
- package/dist/components/data-entry/switch.js +1 -1
- package/dist/components/data-entry/time-picker.d.ts +1 -1
- package/dist/components/data-entry/time-picker.js +2 -2
- package/dist/components/data-entry/transfer.d.ts +2 -2
- package/dist/components/data-entry/transfer.js +2 -2
- package/dist/components/data-entry/tree-select.d.ts +1 -1
- package/dist/components/data-entry/upload.d.ts +2 -2
- package/dist/components/data-entry/upload.js +2 -2
- package/dist/components/feedback/index.d.ts +2 -1
- package/dist/components/feedback/index.js +6 -5
- package/dist/components/layout/index.d.ts +11 -38
- package/dist/components/layout/index.js +3 -4
- package/dist/components/navigation/index.d.ts +2 -3
- package/dist/components/navigation/index.js +6 -7
- package/dist/components/navigation/pagination.d.ts +1 -1
- package/dist/components/navigation/pagination.js +4 -4
- package/dist/components/navigation/steps.d.ts +2 -2
- package/dist/components/navigation/tabs.d.ts +14 -2
- package/dist/components/navigation/tabs.js +1 -1
- package/dist/components/ui/index.d.ts +14 -7
- package/dist/components/ui/index.js +22 -19
- package/dist/{data-display.prop-i0iaSwMV.d.ts → data-display.prop-CXP9Jfdn.d.ts} +14 -14
- package/dist/{data-entry.prop-Cjidhei7.d.ts → data-entry.prop-CpSx5dX6.d.ts} +1 -17
- package/dist/{data-table-Bg7fPpXy.d.ts → data-table-C5lcmAwE.d.ts} +7 -30
- package/dist/{filter-bar-BpUvE_yO.d.ts → filter-bar-zSKz7YCR.d.ts} +1 -1
- package/dist/index.d.ts +12 -10
- package/dist/index.js +18 -17
- package/dist/{navigation.prop-Ck5_gSfs.d.ts → navigation.prop-DAH4ysXj.d.ts} +6 -7
- 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 +7 -12
- package/dist/props/registry.js +1 -1
- package/dist/{search-input-mAZy3Den.d.ts → search-input-rR2XDrjv.d.ts} +1 -1
- package/dist/skeleton-CqFO4dRc.d.ts +20 -0
- package/dist/styles/badge-layout.css +2 -2
- package/dist/styles/card-layout.css +19 -19
- package/dist/styles/control.css +68 -0
- package/dist/styles/data-display-layout.css +23 -81
- package/dist/styles/layout.css +19 -71
- package/dist/toggle-group-BulJgKh3.d.ts +26 -0
- package/dist/tokens/primitives/card.css +9 -9
- package/dist/use-toast-Dsw3yE2S.d.ts +19 -0
- package/package.json +11 -7
- package/dist/chunk-BPSKQUL2.js +0 -68
- package/dist/chunk-PIIRNAXA.js +0 -26
- package/dist/chunk-WXW43RK5.js +0 -24
- package/dist/components/navigation/tabs-items.d.ts +0 -12
- package/dist/components/navigation/tabs-items.js +0 -3
- package/dist/use-toast-Dol5bdY3.d.ts +0 -34
- package/dist/{chunk-I3272Y2C.js → chunk-25ZZ2W3M.js} +1 -1
- package/dist/{chunk-AZS7553U.js → chunk-EXBWDW5E.js} +1 -1
- package/dist/{chunk-K27I23OA.js → chunk-NTUHJ37K.js} +1 -1
- package/dist/{chunk-Y7AV7QJO.js → chunk-OXKY5QMK.js} +1 -1
- package/dist/{chunk-ZTYEH3UW.js → chunk-TT2L7JM6.js} +1 -1
- package/dist/{chunk-GH7E5N6F.js → chunk-ZKIAZDVU.js} +1 -1
- package/dist/{chunk-YVBZ37ZE.js → chunk-ZR2TIBPG.js} +1 -1
package/dist/index.js
CHANGED
|
@@ -1,39 +1,40 @@
|
|
|
1
1
|
export { FormFieldControl, FormRoot, useZodForm } from './chunk-7WRZG2IG.js';
|
|
2
2
|
import './chunk-LDSLS6HE.js';
|
|
3
3
|
export { DataState, InfiniteQueryState, MutationFeedback, PrefetchLink, QueryRefetchButton, flattenItemPages } from './chunk-2QG3OVAD.js';
|
|
4
|
-
export { FilterBar, FilterGroup, PageHeader } from './chunk-
|
|
5
|
-
export { Pagination } from './chunk-
|
|
4
|
+
export { FilterBar, FilterGroup, PageHeader } from './chunk-6TSU4IHV.js';
|
|
5
|
+
export { Pagination } from './chunk-FBHN6OO4.js';
|
|
6
6
|
export { Steps } from './chunk-L6J44O74.js';
|
|
7
|
-
export {
|
|
8
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger } from './chunk-XG7XDYIM.js';
|
|
7
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from './chunk-V3N266PT.js';
|
|
9
8
|
export { TreeSelect } from './chunk-JJCGMCTL.js';
|
|
10
|
-
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from './chunk-
|
|
11
|
-
import './chunk-
|
|
9
|
+
export { Upload, collectUploadCommitActions, createUploadItem, useUploadDraft } from './chunk-NTUHJ37K.js';
|
|
10
|
+
import './chunk-ARDVPIF4.js';
|
|
12
11
|
import './chunk-CRERCLIZ.js';
|
|
13
|
-
export { SearchInput, Transfer, useDebouncedValue, useTimeoutFlag } from './chunk-
|
|
12
|
+
export { SearchInput, Transfer, useDebouncedValue, useTimeoutFlag } from './chunk-ZR2TIBPG.js';
|
|
14
13
|
export { Cascader } from './chunk-RVY4F7LK.js';
|
|
15
14
|
import './chunk-SMLKNECP.js';
|
|
16
15
|
import './chunk-E76QIYSY.js';
|
|
17
16
|
import './chunk-CQBADMFG.js';
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export { formatBytes, formatCurrency, formatDateLong, formatDateTime, formatRelative, humanError, shortId } from './chunk-4R7QL3MW.js';
|
|
21
|
-
export { Dialog, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './chunk-2HLWHQJA.js';
|
|
17
|
+
export { toast, useToast } from './chunk-B3WX53JQ.js';
|
|
18
|
+
export { SkeletonCard, SkeletonDetail, SkeletonRows, SkeletonTable } from './chunk-HKQITNB3.js';
|
|
22
19
|
export { Toaster } from './chunk-TO7URV7U.js';
|
|
23
|
-
export { PageContainer, Stack } from './chunk-
|
|
20
|
+
export { PageContainer, Stack } from './chunk-EQRQM6RF.js';
|
|
21
|
+
import './chunk-FRU44GA2.js';
|
|
24
22
|
import './chunk-TO33OY4L.js';
|
|
25
23
|
import './chunk-32WO3YLB.js';
|
|
26
|
-
import './chunk-
|
|
24
|
+
import './chunk-OXKY5QMK.js';
|
|
27
25
|
import './chunk-V6UWJKZF.js';
|
|
28
|
-
|
|
29
|
-
export { DataTable, EmptyState, KeyValueGrid, StatusBadge } from './chunk-TW4IRRAX.js';
|
|
26
|
+
export { DataTable, Descriptions, EmptyState } from './chunk-VXXKR5U4.js';
|
|
30
27
|
import './chunk-DV52WNXO.js';
|
|
31
|
-
export {
|
|
32
|
-
import './chunk-PIIRNAXA.js';
|
|
28
|
+
export { Badge } from './chunk-7AMHT5Z5.js';
|
|
33
29
|
import './chunk-DY5C44UP.js';
|
|
34
30
|
import './chunk-3KPEZ5CF.js';
|
|
35
31
|
import './chunk-ZS6DTAM2.js';
|
|
36
32
|
import './chunk-ICM6XBST.js';
|
|
33
|
+
export { Alert, AlertActions, AlertContent, AlertDescription, AlertQueryError, AlertTitle } from './chunk-6UFKWOEW.js';
|
|
34
|
+
export { formatBytes, formatCurrency, formatDateLong, formatDateTime, formatRelative, humanError, shortId } from './chunk-4R7QL3MW.js';
|
|
35
|
+
export { Inline } from './chunk-S66TJXJU.js';
|
|
36
|
+
export { Dialog, DialogConfirm, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './chunk-2HLWHQJA.js';
|
|
37
|
+
import './chunk-VOHTRR5X.js';
|
|
37
38
|
import './chunk-HJEBRCXL.js';
|
|
38
39
|
export { FormField } from './chunk-F7PG4OEV.js';
|
|
39
40
|
import './chunk-7PWBC4BY.js';
|
|
@@ -57,15 +57,14 @@ type StepsProp = {
|
|
|
57
57
|
};
|
|
58
58
|
/** Tab pane — Ant Design `items` entry. */
|
|
59
59
|
type TabItemProp = {
|
|
60
|
-
|
|
60
|
+
value: string;
|
|
61
61
|
label: React.ReactNode;
|
|
62
|
-
|
|
62
|
+
content: React.ReactNode;
|
|
63
63
|
disabled?: boolean;
|
|
64
|
-
icon?: React.ReactNode;
|
|
65
64
|
};
|
|
66
|
-
/** @see
|
|
67
|
-
type
|
|
68
|
-
items
|
|
65
|
+
/** @see Tabs — high-level tabs with optional `items` array. */
|
|
66
|
+
type TabsProp = {
|
|
67
|
+
items?: TabItemProp[];
|
|
69
68
|
value?: string;
|
|
70
69
|
defaultValue?: string;
|
|
71
70
|
onValueChange?: (key: string) => void;
|
|
@@ -75,4 +74,4 @@ type TabsItemsProp = {
|
|
|
75
74
|
contentClassName?: ClassNameProp;
|
|
76
75
|
};
|
|
77
76
|
|
|
78
|
-
export type { FilterBarProp as F, PaginationProp as P, StepItemProp as S, TabItemProp as T, FilterGroupProp as a, StepStatusProp as b, StepsProp as c,
|
|
77
|
+
export type { FilterBarProp as F, PaginationProp as P, StepItemProp as S, TabItemProp as T, FilterGroupProp as a, StepStatusProp as b, StepsProp as c, TabsProp as d };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { A as AppShellProp, I as InlineProp, P as PageContainerProp, a as PageHeaderProp, b as PageInsetProp, S as SidebarItemProp, c as SidebarProductProp, d as SidebarProp, e as SidebarSectionProp, f as StackProp, T as TopbarProductProp, g as TopbarProjectProp, h as TopbarProp } from '../../layout.prop-MwHm4-Zl.js';
|
|
2
2
|
export { B as ButtonProp } from '../../general.prop-D7brMPNL.js';
|
|
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, j as DateRangePickerProp, F as FormFieldProp, I as InputProp, R as RadioGroupProp, k as RadioProp, S as SearchInputProp, q as ShowCheckedStrategyProp, r as SliderProp,
|
|
4
|
-
export { B as BadgeProp, D as DataTableProp,
|
|
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, j as DateRangePickerProp, F as FormFieldProp, I as InputProp, R as RadioGroupProp, k as RadioProp, S as SearchInputProp, q as ShowCheckedStrategyProp, r as SliderProp, s as SwitchProp, T as TextareaProp, t as TimePickerProp, u as TransferItemProp, v as TransferProp, w as TreeFieldNamesProp, x as TreeOptionProp, y as TreeSelectProp, B as UploadFileItemProp, E as UploadProp, H as UploadVariantProp } from '../../data-entry.prop-CpSx5dX6.js';
|
|
4
|
+
export { B as BadgeProp, D as DataTableProp, a as DescriptionsItemProp, b as DescriptionsProp, E as EmptyStateProp } from '../../data-display.prop-CXP9Jfdn.js';
|
|
5
5
|
export { A as AlertActionsProp, a as AlertContentProp, b as AlertDescriptionProp, c as AlertProp, d as AlertQueryErrorProp, e as AlertTitleProp, D as DialogConfirmProp, S as SkeletonRowsProp } from '../../feedback.prop-BnBpUzNK.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-hIPrk2zI.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
|
|
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-DAH4ysXj.js';
|
|
8
8
|
export { A as AppContextValue, a as AppProviderProp, D as DateFormatPickerProp, L as LocalePickerProp, T as TimeFormatPickerProp, b as TimezonePickerProp } from '../../app.prop-IobwLwaM.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-BHgpuFFm.js';
|
|
10
10
|
import 'react';
|
package/dist/props/index.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ export { B as BreadcrumbItem, B as BreadcrumbItemProp, a as BreadcrumbProp, P as
|
|
|
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-BmLaGLb7.js';
|
|
7
7
|
export { A as AppShellProp, I as InlineProp, I as InlineProps, P as PageContainerProp, P as PageContainerProps, a as PageHeaderProp, b as PageInsetProp, S as SidebarItemProp, c as SidebarProductProp, d as SidebarProp, e as SidebarSectionProp, f as StackProp, f as StackProps, T as TopbarProductProp, g as TopbarProjectProp, h as TopbarProp } from '../layout.prop-MwHm4-Zl.js';
|
|
8
8
|
export { B as ButtonProp, B as ButtonProps } from '../general.prop-D7brMPNL.js';
|
|
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, j as DateRangePickerProp, F as FormFieldProp, I as InputProp, R as RadioGroupProp, k as RadioProp, S as SearchInputProp, q as ShowCheckedStrategyProp, r as SliderProp,
|
|
10
|
-
export { B as BadgeProp, D as DataTableProp,
|
|
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, j as DateRangePickerProp, F as FormFieldProp, I as InputProp, R as RadioGroupProp, k as RadioProp, S as SearchInputProp, q as ShowCheckedStrategyProp, r as SliderProp, s as SwitchProp, T as TextareaProp, t as TimePickerProp, u as TransferItemProp, v as TransferProp, w as TreeFieldNamesProp, x as TreeOptionProp, y as TreeSelectProp, B as UploadFileItemProp, E as UploadProp, H as UploadVariantProp } from '../data-entry.prop-CpSx5dX6.js';
|
|
10
|
+
export { B as BadgeProp, D as DataTableProp, a as DescriptionsItemProp, b as DescriptionsProp, E as EmptyStateProp } from '../data-display.prop-CXP9Jfdn.js';
|
|
11
11
|
export { A as AlertActionsProp, a as AlertContentProp, b as AlertDescriptionProp, c as AlertProp, d as AlertQueryErrorProp, e as AlertTitleProp, D as DialogConfirmProp, S as SkeletonRowsProp } from '../feedback.prop-BnBpUzNK.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-hIPrk2zI.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
|
|
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-DAH4ysXj.js';
|
|
14
14
|
export { A as AppContextValue, a as AppProviderProp, D as DateFormatPickerProp, L as LocalePickerProp, T as TimeFormatPickerProp, b as TimezonePickerProp } from '../app.prop-IobwLwaM.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-BHgpuFFm.js';
|
|
16
16
|
export { COMPONENT_PROP_REGISTRY, ComponentPropName, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY, VocabularyPropName } from './registry.js';
|
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-OGFWIXRO.js';
|
package/dist/props/registry.d.ts
CHANGED
|
@@ -192,7 +192,7 @@ declare const VOCABULARY_REGISTRY: {
|
|
|
192
192
|
readonly StatusToneProp: {
|
|
193
193
|
readonly file: "vocabulary/interaction.prop.ts";
|
|
194
194
|
readonly category: "interaction";
|
|
195
|
-
readonly description: "
|
|
195
|
+
readonly description: "Badge color tone";
|
|
196
196
|
};
|
|
197
197
|
readonly AlertVariantProp: {
|
|
198
198
|
readonly file: "vocabulary/interaction.prop.ts";
|
|
@@ -403,10 +403,10 @@ declare const COMPONENT_PROP_REGISTRY: {
|
|
|
403
403
|
readonly file: "components/data-entry.prop.ts";
|
|
404
404
|
readonly vocabulary: readonly ["DisabledProp"];
|
|
405
405
|
};
|
|
406
|
-
readonly
|
|
406
|
+
readonly ChoiceFieldProp: {
|
|
407
407
|
readonly group: "data-entry";
|
|
408
408
|
readonly file: "components/data-entry.prop.ts";
|
|
409
|
-
readonly vocabulary: readonly ["IdProp", "LabelProp", "
|
|
409
|
+
readonly vocabulary: readonly ["IdProp", "LabelProp", "ClassNameProp"];
|
|
410
410
|
};
|
|
411
411
|
readonly SliderProp: {
|
|
412
412
|
readonly group: "data-entry";
|
|
@@ -526,26 +526,21 @@ declare const COMPONENT_PROP_REGISTRY: {
|
|
|
526
526
|
readonly file: "components/data-display.prop.ts";
|
|
527
527
|
readonly vocabulary: readonly ["IconProp", "TitleProp", "DescriptionProp", "ActionProp"];
|
|
528
528
|
};
|
|
529
|
-
readonly
|
|
529
|
+
readonly DescriptionsProp: {
|
|
530
530
|
readonly group: "data-display";
|
|
531
531
|
readonly file: "components/data-display.prop.ts";
|
|
532
532
|
readonly vocabulary: readonly [];
|
|
533
533
|
};
|
|
534
|
-
readonly
|
|
534
|
+
readonly BadgeProp: {
|
|
535
535
|
readonly group: "data-display";
|
|
536
536
|
readonly file: "components/data-display.prop.ts";
|
|
537
|
-
readonly vocabulary: readonly ["
|
|
537
|
+
readonly vocabulary: readonly ["ChildrenProp", "ClassNameProp"];
|
|
538
538
|
};
|
|
539
539
|
readonly DataTableProp: {
|
|
540
540
|
readonly group: "data-display";
|
|
541
541
|
readonly file: "components/data-display.prop.ts";
|
|
542
542
|
readonly vocabulary: readonly ["ColumnDefProp", "TableDensityProp", "SortStateProp", "SelectedIdsProp"];
|
|
543
543
|
};
|
|
544
|
-
readonly BadgeProp: {
|
|
545
|
-
readonly group: "data-display";
|
|
546
|
-
readonly file: "components/data-display.prop.ts";
|
|
547
|
-
readonly vocabulary: readonly [];
|
|
548
|
-
};
|
|
549
544
|
readonly DialogConfirmProp: {
|
|
550
545
|
readonly group: "feedback";
|
|
551
546
|
readonly file: "components/feedback.prop.ts";
|
|
@@ -641,7 +636,7 @@ declare const COMPONENT_PROP_REGISTRY: {
|
|
|
641
636
|
readonly file: "components/navigation.prop.ts";
|
|
642
637
|
readonly vocabulary: readonly [];
|
|
643
638
|
};
|
|
644
|
-
readonly
|
|
639
|
+
readonly TabsProp: {
|
|
645
640
|
readonly group: "navigation";
|
|
646
641
|
readonly file: "components/navigation.prop.ts";
|
|
647
642
|
readonly vocabulary: readonly ["ClassNameProp"];
|
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-OGFWIXRO.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { F as FormFieldProp } from './data-entry.prop-
|
|
2
|
+
import { F as FormFieldProp } from './data-entry.prop-CpSx5dX6.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;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
type SkeletonProps = React.HTMLAttributes<HTMLDivElement>;
|
|
5
|
+
declare function Skeleton({ className, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
|
|
6
|
+
interface SkeletonRowsProps {
|
|
7
|
+
rows?: number;
|
|
8
|
+
columns?: number;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
/** Skeleton for a flat list of rows (use inside a Card or section). */
|
|
12
|
+
declare function SkeletonRows({ rows, columns, className }: SkeletonRowsProps): react_jsx_runtime.JSX.Element;
|
|
13
|
+
/** Skeleton matching the DataTable layout — header row + N body rows. */
|
|
14
|
+
declare function SkeletonTable({ rows, columns }: SkeletonRowsProps): react_jsx_runtime.JSX.Element;
|
|
15
|
+
/** Skeleton matching a Card detail layout — title + 6 metadata rows. */
|
|
16
|
+
declare function SkeletonDetail(): react_jsx_runtime.JSX.Element;
|
|
17
|
+
/** Skeleton matching a stat card / dashboard tile. */
|
|
18
|
+
declare function SkeletonCard(): react_jsx_runtime.JSX.Element;
|
|
19
|
+
|
|
20
|
+
export { Skeleton as S, SkeletonCard as a, SkeletonDetail as b, type SkeletonProps as c, SkeletonRows as d, SkeletonTable as e };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
@layer components {
|
|
6
|
-
[data-slot="
|
|
6
|
+
[data-slot="badge"] {
|
|
7
7
|
display: inline-flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
gap: var(--space-badge-gap);
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
white-space: nowrap;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
[data-slot="
|
|
20
|
+
[data-slot="badge-icon"] {
|
|
21
21
|
width: 0.75rem;
|
|
22
22
|
height: 0.75rem;
|
|
23
23
|
flex-shrink: 0;
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
padding-block: var(--card-space-footer-y);
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
/* ──
|
|
304
|
+
/* ── StatCard — KPI tile aligned to dashboard design ─────────────── */
|
|
305
305
|
[data-slot="card"][data-stat-card] {
|
|
306
306
|
padding: var(--card-space-header-y) var(--card-space-inset);
|
|
307
307
|
}
|
|
@@ -313,51 +313,51 @@
|
|
|
313
313
|
column-gap: var(--space-inline-md);
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
[data-slot="card-
|
|
316
|
+
[data-slot="stat-card-body"] {
|
|
317
317
|
min-width: 0;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
[data-slot="card-
|
|
320
|
+
[data-slot="stat-card-label"] {
|
|
321
321
|
display: flex;
|
|
322
322
|
align-items: center;
|
|
323
323
|
gap: var(--space-inline-xs);
|
|
324
324
|
color: hsl(var(--muted-foreground));
|
|
325
|
-
font-size: var(--card-
|
|
326
|
-
font-weight: var(--card-
|
|
327
|
-
letter-spacing: var(--card-
|
|
325
|
+
font-size: var(--stat-card-label-font-size);
|
|
326
|
+
font-weight: var(--stat-card-label-font-weight);
|
|
327
|
+
letter-spacing: var(--stat-card-label-letter-spacing);
|
|
328
328
|
line-height: var(--line-height-normal);
|
|
329
329
|
text-transform: uppercase;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
[data-slot="card-
|
|
332
|
+
[data-slot="stat-card-label"] svg {
|
|
333
333
|
width: 0.875rem;
|
|
334
334
|
height: 0.875rem;
|
|
335
335
|
flex-shrink: 0;
|
|
336
336
|
stroke-width: 1.6;
|
|
337
337
|
}
|
|
338
338
|
|
|
339
|
-
[data-slot="card-
|
|
339
|
+
[data-slot="stat-card-value-row"] {
|
|
340
340
|
display: flex;
|
|
341
341
|
align-items: baseline;
|
|
342
342
|
gap: var(--space-inline-sm);
|
|
343
|
-
margin-top: var(--card-
|
|
343
|
+
margin-top: var(--stat-card-gap);
|
|
344
344
|
}
|
|
345
345
|
|
|
346
|
-
[data-slot="card"][data-stat-align="end"] [data-slot="card-
|
|
347
|
-
[data-slot="card"][data-stat-layout="inline"] [data-slot="card-
|
|
346
|
+
[data-slot="card"][data-stat-align="end"] [data-slot="stat-card-value-row"],
|
|
347
|
+
[data-slot="card"][data-stat-layout="inline"] [data-slot="stat-card-value-row"] {
|
|
348
348
|
justify-content: flex-end;
|
|
349
349
|
text-align: right;
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
-
[data-slot="card-
|
|
353
|
-
font-size: var(--card-
|
|
354
|
-
font-weight: var(--card-
|
|
352
|
+
[data-slot="stat-card-value"] {
|
|
353
|
+
font-size: var(--stat-card-value-font-size);
|
|
354
|
+
font-weight: var(--stat-card-value-font-weight);
|
|
355
355
|
letter-spacing: var(--letter-spacing-tight);
|
|
356
|
-
line-height: var(--card-
|
|
356
|
+
line-height: var(--stat-card-value-line-height);
|
|
357
357
|
font-variant-numeric: tabular-nums;
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
-
[data-slot="card-
|
|
360
|
+
[data-slot="stat-card-delta"] {
|
|
361
361
|
color: hsl(var(--muted-foreground));
|
|
362
362
|
font-size: var(--font-size-xs);
|
|
363
363
|
font-weight: var(--font-weight-medium);
|
|
@@ -365,9 +365,9 @@
|
|
|
365
365
|
font-variant-numeric: tabular-nums;
|
|
366
366
|
}
|
|
367
367
|
|
|
368
|
-
[data-slot="card-
|
|
369
|
-
margin-top: var(--card-
|
|
368
|
+
[data-slot="stat-card-hint"] {
|
|
369
|
+
margin-top: var(--stat-card-gap);
|
|
370
370
|
color: hsl(var(--muted-foreground));
|
|
371
|
-
font-size: var(--card-
|
|
371
|
+
font-size: var(--stat-card-hint-font-size);
|
|
372
372
|
line-height: var(--line-height-normal);
|
|
373
373
|
}
|
package/dist/styles/control.css
CHANGED
|
@@ -3,6 +3,74 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
@layer components {
|
|
6
|
+
.ui-toggle {
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
gap: var(--space-inline-xs);
|
|
11
|
+
border-radius: var(--radius-md);
|
|
12
|
+
color: hsl(var(--foreground));
|
|
13
|
+
font-size: var(--font-size-sm);
|
|
14
|
+
font-weight: var(--font-weight-medium);
|
|
15
|
+
transition:
|
|
16
|
+
background-color 150ms ease,
|
|
17
|
+
border-color 150ms ease,
|
|
18
|
+
color 150ms ease,
|
|
19
|
+
box-shadow 150ms ease;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ui-toggle-default {
|
|
23
|
+
border: 1px solid transparent;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ui-toggle-outline {
|
|
27
|
+
border: 1px solid hsl(var(--border));
|
|
28
|
+
background: hsl(var(--background));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ui-toggle-default-size {
|
|
32
|
+
min-height: var(--control-height);
|
|
33
|
+
padding-inline: var(--space-3);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ui-toggle-sm {
|
|
37
|
+
min-height: var(--control-height-sm);
|
|
38
|
+
padding-inline: var(--space-2);
|
|
39
|
+
font-size: var(--font-size-xs);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ui-toggle-lg {
|
|
43
|
+
min-height: var(--control-height-lg);
|
|
44
|
+
padding-inline: var(--space-4);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.ui-toggle:hover {
|
|
48
|
+
background: hsl(var(--accent));
|
|
49
|
+
color: hsl(var(--accent-foreground));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ui-toggle[data-state="on"] {
|
|
53
|
+
background: hsl(var(--primary));
|
|
54
|
+
color: hsl(var(--primary-foreground));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ui-toggle:focus-visible {
|
|
58
|
+
outline: none;
|
|
59
|
+
box-shadow: 0 0 0 3px hsl(var(--ring) / 0.35);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.ui-toggle:disabled,
|
|
63
|
+
.ui-toggle[data-disabled] {
|
|
64
|
+
cursor: not-allowed;
|
|
65
|
+
opacity: var(--disabled-opacity);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ui-toggle-group {
|
|
69
|
+
display: inline-flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
gap: var(--space-1);
|
|
72
|
+
}
|
|
73
|
+
|
|
6
74
|
.ui-button {
|
|
7
75
|
display: inline-flex;
|
|
8
76
|
align-items: center;
|
|
@@ -1,67 +1,36 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
.ui-
|
|
2
|
+
.ui-avatar {
|
|
3
|
+
position: relative;
|
|
3
4
|
display: inline-flex;
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
width: var(--control-height);
|
|
6
|
+
height: var(--control-height);
|
|
7
|
+
flex-shrink: 0;
|
|
6
8
|
align-items: center;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
border:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
font-size: var(--font-size-xs);
|
|
9
|
+
justify-content: center;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
border-radius: 9999px;
|
|
12
|
+
background: hsl(var(--muted));
|
|
13
|
+
color: hsl(var(--muted-foreground));
|
|
14
|
+
font-size: var(--font-size-sm);
|
|
14
15
|
font-weight: var(--font-weight-medium);
|
|
15
|
-
font-variant-numeric: tabular-nums;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.ui-code-badge[data-kind="internal"] {
|
|
19
|
-
--code-badge-hsl: var(--tracking-internal);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.ui-code-badge[data-kind="seller"] {
|
|
23
|
-
--code-badge-hsl: var(--tracking-seller);
|
|
24
16
|
}
|
|
25
17
|
|
|
26
|
-
.ui-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
.ui-code-badge svg {
|
|
31
|
-
width: 0.875rem;
|
|
32
|
-
height: 0.875rem;
|
|
33
|
-
flex-shrink: 0;
|
|
34
|
-
opacity: 0.82;
|
|
18
|
+
.ui-avatar-image {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
object-fit: cover;
|
|
35
22
|
}
|
|
36
23
|
|
|
37
|
-
.ui-
|
|
38
|
-
display:
|
|
39
|
-
|
|
24
|
+
.ui-avatar-fallback {
|
|
25
|
+
display: flex;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
40
28
|
align-items: center;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
font-size: 0.625rem;
|
|
44
|
-
font-weight: var(--font-weight-semibold);
|
|
45
|
-
letter-spacing: 0;
|
|
46
|
-
line-height: 1rem;
|
|
47
|
-
text-align: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
background: hsl(var(--muted));
|
|
48
31
|
}
|
|
49
32
|
|
|
50
|
-
.ui-
|
|
51
|
-
width: 1px;
|
|
52
|
-
height: 0.875rem;
|
|
53
|
-
background: hsl(var(--code-badge-hsl) / var(--code-badge-separator-alpha));
|
|
54
|
-
content: "";
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.ui-code-badge-value {
|
|
58
|
-
min-width: 0;
|
|
59
|
-
overflow: hidden;
|
|
60
|
-
text-overflow: ellipsis;
|
|
61
|
-
white-space: nowrap;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.ui-progress-meter {
|
|
33
|
+
.ui-progress {
|
|
65
34
|
display: flex;
|
|
66
35
|
flex-direction: column;
|
|
67
36
|
gap: var(--space-2);
|
|
@@ -80,7 +49,7 @@
|
|
|
80
49
|
background: hsl(var(--success));
|
|
81
50
|
}
|
|
82
51
|
|
|
83
|
-
.ui-progress
|
|
52
|
+
.ui-progress[data-tone="warning"] .ui-progress-bar {
|
|
84
53
|
background: hsl(var(--warning));
|
|
85
54
|
}
|
|
86
55
|
|
|
@@ -216,31 +185,4 @@
|
|
|
216
185
|
font-size: var(--font-size-sm);
|
|
217
186
|
}
|
|
218
187
|
|
|
219
|
-
.ui-scan-panel {
|
|
220
|
-
display: grid;
|
|
221
|
-
aspect-ratio: 1 / 1;
|
|
222
|
-
place-items: center;
|
|
223
|
-
border: 2px dashed hsl(var(--primary) / 0.3);
|
|
224
|
-
border-radius: calc(var(--radius) + 0.25rem);
|
|
225
|
-
background: hsl(var(--primary) / 0.05);
|
|
226
|
-
text-align: center;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.ui-scan-panel svg {
|
|
230
|
-
width: 4rem;
|
|
231
|
-
height: 4rem;
|
|
232
|
-
margin-inline: auto;
|
|
233
|
-
color: hsl(var(--primary));
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.ui-scan-title {
|
|
237
|
-
margin-top: var(--space-3);
|
|
238
|
-
font-size: var(--font-size-lg);
|
|
239
|
-
font-weight: var(--font-weight-semibold);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.ui-scan-description {
|
|
243
|
-
color: hsl(var(--muted-foreground));
|
|
244
|
-
font-size: var(--font-size-sm);
|
|
245
|
-
}
|
|
246
188
|
}
|
package/dist/styles/layout.css
CHANGED
|
@@ -4,6 +4,25 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
@layer components {
|
|
7
|
+
.ui-separator {
|
|
8
|
+
flex-shrink: 0;
|
|
9
|
+
background: hsl(var(--border));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ui-separator[data-orientation="horizontal"] {
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 1px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ui-separator[data-orientation="vertical"] {
|
|
18
|
+
width: 1px;
|
|
19
|
+
height: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ui-aspect-ratio {
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
}
|
|
25
|
+
|
|
7
26
|
.ui-stack-xs {
|
|
8
27
|
display: flex;
|
|
9
28
|
flex-direction: column;
|
|
@@ -281,77 +300,6 @@
|
|
|
281
300
|
color: hsl(var(--foreground));
|
|
282
301
|
}
|
|
283
302
|
|
|
284
|
-
.ui-mobile-stage {
|
|
285
|
-
min-height: 100vh;
|
|
286
|
-
padding: var(--space-section-active);
|
|
287
|
-
background: hsl(var(--secondary));
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.ui-mobile-frame {
|
|
291
|
-
display: flex;
|
|
292
|
-
flex-direction: column;
|
|
293
|
-
width: min(100%, 23.5rem);
|
|
294
|
-
min-height: 50.75rem;
|
|
295
|
-
margin-inline: auto;
|
|
296
|
-
overflow: hidden;
|
|
297
|
-
border: 1px solid hsl(var(--border));
|
|
298
|
-
border-radius: 1.75rem;
|
|
299
|
-
background: hsl(var(--background));
|
|
300
|
-
box-shadow: var(--shadow-xl, 0 20px 25px -5px rgb(0 0 0 / 0.1));
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.ui-mobile-header {
|
|
304
|
-
display: flex;
|
|
305
|
-
align-items: center;
|
|
306
|
-
justify-content: space-between;
|
|
307
|
-
gap: var(--space-inline-sm);
|
|
308
|
-
padding: var(--space-3) var(--space-4);
|
|
309
|
-
background: hsl(var(--primary));
|
|
310
|
-
color: hsl(var(--primary-foreground));
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.ui-mobile-title {
|
|
314
|
-
font-size: var(--font-size-sm);
|
|
315
|
-
font-weight: var(--font-weight-semibold);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
.ui-mobile-subtitle {
|
|
319
|
-
color: hsl(0 0% 100% / 0.6);
|
|
320
|
-
font-size: var(--font-size-xs);
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.ui-mobile-main {
|
|
324
|
-
flex: 1;
|
|
325
|
-
padding: var(--space-4);
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.ui-mobile-nav {
|
|
329
|
-
display: grid;
|
|
330
|
-
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
331
|
-
border-top: 1px solid hsl(var(--border));
|
|
332
|
-
background: hsl(var(--card));
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.ui-mobile-nav-item {
|
|
336
|
-
display: flex;
|
|
337
|
-
height: 4rem;
|
|
338
|
-
flex-direction: column;
|
|
339
|
-
align-items: center;
|
|
340
|
-
justify-content: center;
|
|
341
|
-
gap: var(--space-1);
|
|
342
|
-
color: hsl(var(--muted-foreground));
|
|
343
|
-
font-size: var(--font-size-xs);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.ui-mobile-nav-item[data-active="true"] {
|
|
347
|
-
color: hsl(var(--primary));
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.ui-mobile-nav-item svg {
|
|
351
|
-
width: 1.25rem;
|
|
352
|
-
height: 1.25rem;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
303
|
.ui-empty-state {
|
|
356
304
|
display: flex;
|
|
357
305
|
flex-direction: column;
|