@godxjp/ui 12.0.3 → 13.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/dist/app/index.d.ts +2 -2
- package/dist/app/index.js +4 -4
- package/dist/{app.prop-Cy6dJnU8.d.ts → app.prop-CVY8V4ss.d.ts} +1 -1
- package/dist/{checkbox-DPFcnsMZ.d.ts → checkbox-CwfNgQ9d.d.ts} +1 -1
- package/dist/{chunk-COD66MFF.js → chunk-2BR7KFCP.js} +1 -1
- package/dist/chunk-2H65B4JA.js +1 -0
- package/dist/{chunk-HTEL5DQI.js → chunk-3R3QVJCB.js} +1 -1
- package/dist/{chunk-FK2JDABO.js → chunk-55S5N667.js} +4 -2
- package/dist/{chunk-6WSWK7TU.js → chunk-572FHZ3M.js} +2 -2
- package/dist/{chunk-YGD4CCQC.js → chunk-5KK3KJ6L.js} +3 -3
- package/dist/chunk-76S3TQFH.js +109 -0
- package/dist/{chunk-WBUUCU7R.js → chunk-AKFR72DQ.js} +4 -4
- package/dist/{chunk-IBK5D2Q6.js → chunk-B4K4BXEF.js} +3 -2
- package/dist/{chunk-VOHTRR5X.js → chunk-BNXPDUO4.js} +1 -1
- package/dist/chunk-C3PKEV6S.js +22 -0
- package/dist/{chunk-MMFIL33F.js → chunk-C6OEAQTO.js} +1 -1
- package/dist/{chunk-ZM4SMKEI.js → chunk-DEUHS5A2.js} +2 -19
- package/dist/chunk-ES4Q3KGL.js +1 -0
- package/dist/{chunk-XVD5SLDL.js → chunk-FJBVDJGL.js} +56 -3
- package/dist/{chunk-FK5QEFVY.js → chunk-GDHDJAVB.js} +1 -1
- package/dist/{chunk-TXRYSMOD.js → chunk-H2TX3OPW.js} +1 -1
- package/dist/{chunk-EOTOCNT7.js → chunk-HCCID4YY.js} +1 -1
- package/dist/{chunk-4MMIMZMK.js → chunk-IJ5ALJGA.js} +1 -1
- package/dist/{chunk-PO5ISUFA.js → chunk-IWAIIBSW.js} +4 -2
- package/dist/{chunk-ASMTSQWA.js → chunk-IYLJQVKV.js} +10 -7
- package/dist/{chunk-UDEPO3UF.js → chunk-IZGLEPGW.js} +2 -2
- package/dist/{chunk-3ELRYXJK.js → chunk-JEIUEOTJ.js} +9 -3
- package/dist/{chunk-FTOG7D4T.js → chunk-KQ36FDEE.js} +1 -1
- package/dist/{chunk-WJNR3RAG.js → chunk-MTJHEQ46.js} +4 -4
- package/dist/{chunk-JSQOCVM6.js → chunk-NVNDO3FI.js} +2 -2
- package/dist/{chunk-FOANNF6Z.js → chunk-QD3YG56T.js} +2 -2
- package/dist/{chunk-2TYRT5XH.js → chunk-RX2F2U6D.js} +5 -5
- package/dist/{chunk-SIUIIIQW.js → chunk-SISAM4JZ.js} +3 -3
- package/dist/{chunk-PCUCCBIY.js → chunk-VNQ2NW22.js} +5 -5
- package/dist/chunk-VU4GFGDG.js +12 -0
- package/dist/{chunk-7HF56YHC.js → chunk-WIRQNCCP.js} +3 -3
- package/dist/{chunk-UJUWAQE5.js → chunk-WNOX32KG.js} +68 -7
- package/dist/{chunk-N6ELT7KB.js → chunk-XTVUYEJD.js} +30 -2
- package/dist/chunk-XUEDRPWF.js +177 -0
- package/dist/{chunk-BCBK4FLV.js → chunk-XZXE5KVV.js} +2 -2
- package/dist/{chunk-2JCSS6B4.js → chunk-YVZPAN2W.js} +2 -2
- package/dist/{chunk-L2MEN2VK.js → chunk-ZPHIXXTK.js} +2 -2
- package/dist/components/admin/index.d.ts +14 -15
- package/dist/components/admin/index.js +29 -27
- package/dist/components/data-display/badge.d.ts +1 -1
- package/dist/components/data-display/badge.js +4 -4
- package/dist/components/data-display/card.d.ts +2 -2
- package/dist/components/data-display/carousel.d.ts +12 -1
- package/dist/components/data-display/carousel.js +3 -3
- package/dist/components/data-display/index.d.ts +6 -6
- package/dist/components/data-display/index.js +8 -8
- package/dist/components/data-display/table.js +2 -2
- package/dist/components/data-entry/calendar.d.ts +6 -4
- package/dist/components/data-entry/calendar.js +2 -2
- package/dist/components/data-entry/cascader.d.ts +6 -4
- package/dist/components/data-entry/cascader.js +5 -5
- package/dist/components/data-entry/checkbox.d.ts +7 -5
- package/dist/components/data-entry/color-picker.d.ts +6 -4
- package/dist/components/data-entry/color-picker.js +5 -5
- package/dist/components/data-entry/command.js +2 -2
- package/dist/components/data-entry/date-picker.d.ts +6 -4
- package/dist/components/data-entry/date-picker.js +6 -6
- package/dist/components/data-entry/date-range-picker.d.ts +6 -4
- package/dist/components/data-entry/date-range-picker.js +6 -6
- package/dist/components/data-entry/index.d.ts +38 -9
- package/dist/components/data-entry/index.js +24 -22
- package/dist/components/data-entry/input.js +1 -1
- package/dist/components/data-entry/radio.d.ts +6 -4
- package/dist/components/data-entry/select.d.ts +6 -4
- package/dist/components/data-entry/select.js +6 -6
- package/dist/components/data-entry/slider.d.ts +6 -4
- package/dist/components/data-entry/switch.d.ts +6 -4
- package/dist/components/data-entry/textarea.js +2 -2
- package/dist/components/data-entry/time-input.js +2 -2
- package/dist/components/data-entry/time-picker.d.ts +6 -4
- package/dist/components/data-entry/time-picker.js +4 -4
- package/dist/components/data-entry/transfer.d.ts +7 -5
- package/dist/components/data-entry/transfer.js +5 -5
- package/dist/components/data-entry/tree-select.d.ts +6 -4
- package/dist/components/data-entry/tree-select.js +5 -5
- package/dist/components/data-entry/upload.d.ts +7 -5
- package/dist/components/data-entry/upload.js +8 -7
- package/dist/components/data-grid/index.js +8 -8
- package/dist/components/feedback/alert.d.ts +4 -4
- package/dist/components/feedback/alert.js +4 -4
- package/dist/components/feedback/dialog.d.ts +19 -5
- package/dist/components/feedback/dialog.js +5 -4
- package/dist/components/feedback/index.d.ts +17 -26
- package/dist/components/feedback/index.js +12 -11
- package/dist/components/feedback/sheet.d.ts +21 -2
- package/dist/components/feedback/sheet.js +2 -1
- package/dist/components/general/button.d.ts +3 -3
- package/dist/components/general/index.d.ts +3 -3
- package/dist/components/layout/index.d.ts +6 -6
- package/dist/components/layout/index.js +5 -4
- package/dist/components/navigation/index.d.ts +8 -8
- package/dist/components/navigation/index.js +9 -9
- package/dist/components/navigation/pagination.d.ts +4 -4
- package/dist/components/navigation/pagination.js +7 -7
- package/dist/components/navigation/steps.d.ts +5 -5
- package/dist/components/navigation/steps.js +4 -4
- package/dist/components/query/index.d.ts +4 -4
- package/dist/components/query/index.js +4 -4
- package/dist/components/ui/index.d.ts +15 -13
- package/dist/components/ui/index.js +27 -26
- package/dist/{data-display.prop-Cf2p9QC4.d.ts → data-display.prop-BOtnzI17.d.ts} +3 -3
- package/dist/{data-entry.prop-6J0o45se.d.ts → data-entry.prop-BGxD81Lf.d.ts} +30 -3
- package/dist/{data-table-B_q7j992.d.ts → data-table-DO-gU4wJ.d.ts} +3 -3
- package/dist/{data.prop-DMYMNl6L.d.ts → data.prop-D4uDw_SW.d.ts} +1 -1
- package/dist/{feedback.prop-Nc9Aa8SV.d.ts → feedback.prop-CtrL24E1.d.ts} +2 -2
- package/dist/{filter-bar-B07JSxME.d.ts → filter-bar-tEwfKthz.d.ts} +1 -1
- package/dist/{flex-DXtIALBh.d.ts → flex-88Ps6YCv.d.ts} +1 -1
- package/dist/form/index.d.ts +3 -3
- package/dist/form/index.js +2 -1
- package/dist/{form.prop-Bc6r6JJW.d.ts → form.prop-5cyL3bvT.d.ts} +1 -1
- package/dist/{general.prop-DoHDCRmL.d.ts → general.prop-1GgJkf4b.d.ts} +2 -2
- package/dist/i18n/index.d.ts +3 -1
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +14 -15
- package/dist/index.js +39 -37
- package/dist/{interaction.prop-DSFizzP6.d.ts → interaction.prop-R77MnAMZ.d.ts} +5 -1
- package/dist/{layout.prop-B1yQPUNZ.d.ts → layout.prop-ChLFNGJ6.d.ts} +2 -2
- package/dist/lib/datetime/index.js +1 -1
- package/dist/{navigation.prop-BKlxd-j7.d.ts → navigation.prop-CXDaVNaR.d.ts} +1 -1
- package/dist/{navigation.prop-Dumy196X.d.ts → navigation.prop-Cc_Iu87S.d.ts} +2 -2
- package/dist/props/components/index.d.ts +13 -13
- package/dist/props/index.d.ts +13 -13
- package/dist/props/index.js +1 -1
- package/dist/props/registry.d.ts +22 -2
- package/dist/props/registry.js +1 -1
- package/dist/props/vocabulary/index.d.ts +4 -4
- package/dist/{query.prop-Dog-EAfG.d.ts → query.prop-CyNxaCHe.d.ts} +2 -2
- package/dist/{search-input-BR4nAWiT.d.ts → search-input-BPtjUAa1.d.ts} +2 -2
- package/dist/{shared.prop-BsNSXeqD.d.ts → shared.prop-BvMSLFJ6.d.ts} +7 -1
- package/dist/styles/alert-layout.css +8 -8
- package/dist/styles/card-layout.css +301 -292
- package/dist/styles/control.css +8 -9
- package/dist/styles/data-display-layout.css +50 -5
- package/dist/styles/density.css +4 -0
- package/dist/styles/dialog-layout.css +35 -7
- package/dist/styles/form-layout.css +161 -0
- package/dist/styles/index.css +31 -3
- package/dist/styles/layout.css +1 -1
- package/dist/styles/navigation-layout.css +1 -1
- package/dist/styles/shell-layout.css +12 -12
- package/dist/tokens/components/card.css +1 -1
- package/dist/tokens/components/feedback.css +9 -1
- package/dist/tokens/foundation.css +74 -16
- package/dist/tokens/semantic/layout.css +29 -11
- package/package.json +1 -1
- package/dist/chunk-B3WX53JQ.js +0 -40
- package/dist/chunk-EZHHJQWQ.js +0 -111
- package/dist/chunk-QSGW3ZWK.js +0 -45
- package/dist/chunk-WFUIE252.js +0 -61
- package/dist/styles/feedback-layout.css +0 -49
- package/dist/tooltip-Bf2KjRy8.d.ts +0 -14
- package/dist/use-toast-Dsw3yE2S.d.ts +0 -19
|
@@ -8,6 +8,10 @@ type ButtonVariantProp = "default" | "destructive" | "outline" | "secondary" | "
|
|
|
8
8
|
type SizeProp = "xs" | "sm" | "md" | "lg";
|
|
9
9
|
/** Button size preset; icon-only sizes are a documented Button subset. */
|
|
10
10
|
type ButtonSizeProp = SizeProp | "default" | "icon" | "icon-xs" | "icon-sm" | "icon-lg";
|
|
11
|
+
/** Form layout — label position relative to its control (Ant-style). */
|
|
12
|
+
type FormLayoutProp = "vertical" | "horizontal" | "inline";
|
|
13
|
+
/** Responsive breakpoint name (mobile-first); used by `collapseBelow` etc. */
|
|
14
|
+
type BreakpointProp = "sm" | "md" | "lg" | "xl";
|
|
11
15
|
/** Dialog confirm button emphasis. */
|
|
12
16
|
type ConfirmVariantProp = "default" | "destructive";
|
|
13
17
|
/** Semantic color/status intent. */
|
|
@@ -24,4 +28,4 @@ type SortStateProp = {
|
|
|
24
28
|
direction: SortDirectionProp;
|
|
25
29
|
};
|
|
26
30
|
|
|
27
|
-
export type { AlertVariantProp as A,
|
|
31
|
+
export type { AlertVariantProp as A, BreakpointProp as B, ColumnAlignProp as C, FormLayoutProp as F, SizeProp as S, ToneProp as T, ButtonSizeProp as a, ButtonVariantProp as b, ConfirmVariantProp as c, SortDirectionProp as d, SortStateProp as e };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ReactNode, ComponentType, SVGProps } from 'react';
|
|
3
|
-
import { C as ChildrenProp, a as ClassNameProp } from './shared.prop-
|
|
3
|
+
import { C as ChildrenProp, a as ClassNameProp } from './shared.prop-BvMSLFJ6.js';
|
|
4
4
|
import { T as TitleProp, S as SubtitleProp, c as ExtraProp, F as FooterProp } from './content.prop-DrV_zDy-.js';
|
|
5
5
|
import { G as GapProp, a as PageDensityProp, P as PageContainerVariantProp } from './layout.prop-CXvl2rVR.js';
|
|
6
|
-
import { a as BreadcrumbProp } from './navigation.prop-
|
|
6
|
+
import { a as BreadcrumbProp } from './navigation.prop-CXDaVNaR.js';
|
|
7
7
|
|
|
8
8
|
/** Layout component prop types — @see docs/COMPONENTS.md#layout */
|
|
9
9
|
|
|
@@ -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-JEIUEOTJ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { c as DisabledProp, a as ClassNameProp, C as ChildrenProp, L as LabelProp } from './shared.prop-
|
|
3
|
-
import { O as OnClearFiltersProp, H as HasActiveFiltersProp } from './data.prop-
|
|
2
|
+
import { c as DisabledProp, a as ClassNameProp, C as ChildrenProp, L as LabelProp } from './shared.prop-BvMSLFJ6.js';
|
|
3
|
+
import { O as OnClearFiltersProp, H as HasActiveFiltersProp } from './data.prop-D4uDw_SW.js';
|
|
4
4
|
|
|
5
5
|
/** Navigation component prop types — @see docs/COMPONENTS.md#navigation */
|
|
6
6
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export { A as AppShellProp, P as PageContainerProp, d as PageInsetProp, e as SidebarItemProp, f as SidebarProductProp, g as SidebarProp, h as SidebarSectionProp, T as TopbarProductProp, i as TopbarProjectProp, j as TopbarProp } from '../../layout.prop-
|
|
2
|
-
export { B as ButtonProp } from '../../general.prop-
|
|
3
|
-
export { C as CalendarProp, a as CascaderProp, b as CheckboxGroupProp, c as CheckboxProp, d as ChoiceOptionProp, e as ColorPickerProp, D as DatePickerProp, f as DateRangePickerProp, g as FormFieldProp, I as InputProp, R as RadioGroupProp,
|
|
4
|
-
export { B as BadgeProp, D as DataTableProp, a as DescriptionsItemProp, b as DescriptionsProp, E as EmptyStateProp } from '../../data-display.prop-
|
|
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-
|
|
6
|
-
export { D as DataStateProp, I as InfiniteQueryHelpers, a as InfiniteQueryStateProp, P as PrefetchLinkProp } from '../../query.prop-
|
|
7
|
-
export { P as PaginationProp, S as StepItemProp, a as StepStatusProp, b as StepsProp, T as TabItemProp, c as TabsProp } from '../../navigation.prop-
|
|
8
|
-
export { A as AppContextValue, a as AppProviderProp, b as AppSettingKind, c as AppSettingPickerProp } from '../../app.prop-
|
|
9
|
-
export { F as FieldErrorMessageProp, a as FormFieldControlProp, b as FormRootProp, U as UseZodFormOptionsProp, c as UseZodFormReturnProp, Z as ZodSchemaProp } from '../../form.prop-
|
|
1
|
+
export { A as AppShellProp, P as PageContainerProp, d as PageInsetProp, e as SidebarItemProp, f as SidebarProductProp, g as SidebarProp, h as SidebarSectionProp, T as TopbarProductProp, i as TopbarProjectProp, j as TopbarProp } from '../../layout.prop-ChLFNGJ6.js';
|
|
2
|
+
export { B as ButtonProp } from '../../general.prop-1GgJkf4b.js';
|
|
3
|
+
export { C as CalendarProp, a as CascaderProp, b as CheckboxGroupProp, c as CheckboxProp, d as ChoiceOptionProp, e as ColorPickerProp, D as DatePickerProp, f as DateRangePickerProp, g 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, A as UploadVariantProp } from '../../data-entry.prop-BGxD81Lf.js';
|
|
4
|
+
export { B as BadgeProp, D as DataTableProp, a as DescriptionsItemProp, b as DescriptionsProp, E as EmptyStateProp } from '../../data-display.prop-BOtnzI17.js';
|
|
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-CtrL24E1.js';
|
|
6
|
+
export { D as DataStateProp, I as InfiniteQueryHelpers, a as InfiniteQueryStateProp, P as PrefetchLinkProp } from '../../query.prop-CyNxaCHe.js';
|
|
7
|
+
export { P as PaginationProp, S as StepItemProp, a as StepStatusProp, b as StepsProp, T as TabItemProp, c as TabsProp } from '../../navigation.prop-Cc_Iu87S.js';
|
|
8
|
+
export { A as AppContextValue, a as AppProviderProp, b as AppSettingKind, c as AppSettingPickerProp } from '../../app.prop-CVY8V4ss.js';
|
|
9
|
+
export { F as FieldErrorMessageProp, a as FormFieldControlProp, b as FormRootProp, U as UseZodFormOptionsProp, c as UseZodFormReturnProp, Z as ZodSchemaProp } from '../../form.prop-5cyL3bvT.js';
|
|
10
10
|
import 'react';
|
|
11
|
-
import '../../shared.prop-
|
|
11
|
+
import '../../shared.prop-BvMSLFJ6.js';
|
|
12
12
|
import '../../content.prop-DrV_zDy-.js';
|
|
13
13
|
import '../../layout.prop-CXvl2rVR.js';
|
|
14
|
-
import '../../navigation.prop-
|
|
15
|
-
import '../../interaction.prop-
|
|
14
|
+
import '../../navigation.prop-CXDaVNaR.js';
|
|
15
|
+
import '../../interaction.prop-R77MnAMZ.js';
|
|
16
16
|
import '@radix-ui/react-checkbox';
|
|
17
17
|
import '@radix-ui/react-radio-group';
|
|
18
18
|
import '@radix-ui/react-slider';
|
|
19
19
|
import '@radix-ui/react-switch';
|
|
20
20
|
import 'react-day-picker';
|
|
21
|
-
import '../../data.prop-
|
|
21
|
+
import '../../data.prop-D4uDw_SW.js';
|
|
22
22
|
import '@tanstack/react-query';
|
|
23
23
|
import 'react-router-dom';
|
|
24
24
|
import 'date-fns';
|
package/dist/props/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { A as AsChildProp, C as ChildrenProp, a as ClassNameProp, D as DefaultOpenProp, b as DefaultValueProp, c as DisabledProp, E as ErrorProp, H as HandlerProp, d as HelperProp, I as IdProp, L as LabelProp, N as NameProp, O as OnChangeProp, e as OnClickProp, f as OnOpenChangeProp, g as OnValueChangeProp, h as OpenProp, P as PendingProp, i as PlaceholderProp, R as RequiredProp, V as ValueProp } from '../shared.prop-
|
|
1
|
+
export { A as AsChildProp, C as ChildrenProp, a as ClassNameProp, D as DefaultOpenProp, b as DefaultValueProp, c as DisabledProp, E as ErrorProp, H as HandlerProp, d as HelperProp, I as IdProp, L as LabelProp, N as NameProp, O as OnChangeProp, e as OnClickProp, f as OnOpenChangeProp, g as OnValueChangeProp, h as OpenProp, P as PendingProp, i as PlaceholderProp, R as RequiredProp, V as ValueProp, W as WidthProp } from '../shared.prop-BvMSLFJ6.js';
|
|
2
2
|
export { A as ActionProp, a as ActionsProp, C as CancelLabelProp, b as ConfirmLabelProp, D as DescriptionProp, E as EmptyMessageProp, c as ExtraProp, F as FooterProp, I as IconProp, S as SubtitleProp, T as TitleProp } from '../content.prop-DrV_zDy-.js';
|
|
3
3
|
export { D as DensityProp, G as GapProp, P as PageContainerVariantProp, a as PageDensityProp, T as TableDensityProp } from '../layout.prop-CXvl2rVR.js';
|
|
4
|
-
export { A as AlertVariantProp, B as
|
|
5
|
-
export { B as BreadcrumbItem, B as BreadcrumbItemProp, a as BreadcrumbProp } from '../navigation.prop-
|
|
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-
|
|
7
|
-
export { A as AppShellProp, P as PageContainerProp, P as PageContainerProps, d as PageInsetProp, e as SidebarItemProp, f as SidebarProductProp, g as SidebarProp, h as SidebarSectionProp, T as TopbarProductProp, i as TopbarProjectProp, j as TopbarProp } from '../layout.prop-
|
|
8
|
-
export { B as ButtonProp, B as ButtonProps } from '../general.prop-
|
|
9
|
-
export { C as CalendarProp, a as CascaderProp, b as CheckboxGroupProp, c as CheckboxProp, d as ChoiceOptionProp, e as ColorPickerProp, D as DatePickerProp, f as DateRangePickerProp, g as FormFieldProp, I as InputProp, R as RadioGroupProp,
|
|
10
|
-
export { B as BadgeProp, D as DataTableProp, a as DescriptionsItemProp, b as DescriptionsProp, E as EmptyStateProp } from '../data-display.prop-
|
|
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-
|
|
12
|
-
export { D as DataStateProp, I as InfiniteQueryHelpers, a as InfiniteQueryStateProp, P as PrefetchLinkProp } from '../query.prop-
|
|
13
|
-
export { P as PaginationProp, S as StepItemProp, a as StepStatusProp, b as StepsProp, T as TabItemProp, c as TabsProp } from '../navigation.prop-
|
|
14
|
-
export { A as AppContextValue, a as AppProviderProp, b as AppSettingKind, c as AppSettingPickerProp } from '../app.prop-
|
|
15
|
-
export { F as FieldErrorMessageProp, a as FormFieldControlProp, b as FormRootProp, U as UseZodFormOptionsProp, c as UseZodFormReturnProp, Z as ZodSchemaProp } from '../form.prop-
|
|
4
|
+
export { A as AlertVariantProp, B as BreakpointProp, a as ButtonSizeProp, b as ButtonVariantProp, C as ColumnAlignProp, c as ConfirmVariantProp, F as FormLayoutProp, S as SizeProp, d as SortDirectionProp, e as SortStateProp, T as ToneProp } from '../interaction.prop-R77MnAMZ.js';
|
|
5
|
+
export { B as BreadcrumbItem, B as BreadcrumbItemProp, a as BreadcrumbProp } from '../navigation.prop-CXDaVNaR.js';
|
|
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-D4uDw_SW.js';
|
|
7
|
+
export { A as AppShellProp, P as PageContainerProp, P as PageContainerProps, d as PageInsetProp, e as SidebarItemProp, f as SidebarProductProp, g as SidebarProp, h as SidebarSectionProp, T as TopbarProductProp, i as TopbarProjectProp, j as TopbarProp } from '../layout.prop-ChLFNGJ6.js';
|
|
8
|
+
export { B as ButtonProp, B as ButtonProps } from '../general.prop-1GgJkf4b.js';
|
|
9
|
+
export { C as CalendarProp, a as CascaderProp, b as CheckboxGroupProp, c as CheckboxProp, d as ChoiceOptionProp, e as ColorPickerProp, D as DatePickerProp, f as DateRangePickerProp, g 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, A as UploadVariantProp } from '../data-entry.prop-BGxD81Lf.js';
|
|
10
|
+
export { B as BadgeProp, D as DataTableProp, a as DescriptionsItemProp, b as DescriptionsProp, E as EmptyStateProp } from '../data-display.prop-BOtnzI17.js';
|
|
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-CtrL24E1.js';
|
|
12
|
+
export { D as DataStateProp, I as InfiniteQueryHelpers, a as InfiniteQueryStateProp, P as PrefetchLinkProp } from '../query.prop-CyNxaCHe.js';
|
|
13
|
+
export { P as PaginationProp, S as StepItemProp, a as StepStatusProp, b as StepsProp, T as TabItemProp, c as TabsProp } from '../navigation.prop-Cc_Iu87S.js';
|
|
14
|
+
export { A as AppContextValue, a as AppProviderProp, b as AppSettingKind, c as AppSettingPickerProp } from '../app.prop-CVY8V4ss.js';
|
|
15
|
+
export { F as FieldErrorMessageProp, a as FormFieldControlProp, b as FormRootProp, U as UseZodFormOptionsProp, c as UseZodFormReturnProp, Z as ZodSchemaProp } from '../form.prop-5cyL3bvT.js';
|
|
16
16
|
export { COMPONENT_PROP_REGISTRY, ComponentPropName, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY, VocabularyPropName } from './registry.js';
|
|
17
17
|
import 'react';
|
|
18
18
|
import '@radix-ui/react-checkbox';
|
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-XTVUYEJD.js';
|
package/dist/props/registry.d.ts
CHANGED
|
@@ -109,6 +109,11 @@ declare const VOCABULARY_REGISTRY: {
|
|
|
109
109
|
readonly category: "shared";
|
|
110
110
|
readonly description: "Radix asChild polymorphism";
|
|
111
111
|
};
|
|
112
|
+
readonly WidthProp: {
|
|
113
|
+
readonly file: "vocabulary/shared.prop.ts";
|
|
114
|
+
readonly category: "shared";
|
|
115
|
+
readonly description: "Explicit layout length (number→px | CSS string) — NOT the SizeProp tier";
|
|
116
|
+
};
|
|
112
117
|
readonly TitleProp: {
|
|
113
118
|
readonly file: "vocabulary/content.prop.ts";
|
|
114
119
|
readonly category: "content";
|
|
@@ -204,6 +209,16 @@ declare const VOCABULARY_REGISTRY: {
|
|
|
204
209
|
readonly category: "interaction";
|
|
205
210
|
readonly description: "Shared size names xs | sm | md | lg";
|
|
206
211
|
};
|
|
212
|
+
readonly FormLayoutProp: {
|
|
213
|
+
readonly file: "vocabulary/interaction.prop.ts";
|
|
214
|
+
readonly category: "interaction";
|
|
215
|
+
readonly description: "Form label layout: vertical | horizontal | inline";
|
|
216
|
+
};
|
|
217
|
+
readonly BreakpointProp: {
|
|
218
|
+
readonly file: "vocabulary/interaction.prop.ts";
|
|
219
|
+
readonly category: "interaction";
|
|
220
|
+
readonly description: "Responsive breakpoint name sm | md | lg | xl (mobile-first)";
|
|
221
|
+
};
|
|
207
222
|
readonly ConfirmVariantProp: {
|
|
208
223
|
readonly file: "vocabulary/interaction.prop.ts";
|
|
209
224
|
readonly category: "interaction";
|
|
@@ -433,10 +448,15 @@ declare const COMPONENT_PROP_REGISTRY: {
|
|
|
433
448
|
readonly file: "components/data-entry.prop.ts";
|
|
434
449
|
readonly vocabulary: readonly ["PlaceholderProp", "DisabledProp"];
|
|
435
450
|
};
|
|
451
|
+
readonly FormProp: {
|
|
452
|
+
readonly group: "data-entry";
|
|
453
|
+
readonly file: "components/data-entry.prop.ts";
|
|
454
|
+
readonly vocabulary: readonly ["FormLayoutProp", "WidthProp", "BreakpointProp", "DensityProp"];
|
|
455
|
+
};
|
|
436
456
|
readonly FormFieldProp: {
|
|
437
457
|
readonly group: "data-entry";
|
|
438
458
|
readonly file: "components/data-entry.prop.ts";
|
|
439
|
-
readonly vocabulary: readonly ["IdProp", "LabelProp", "RequiredProp", "HelperProp", "ErrorProp"];
|
|
459
|
+
readonly vocabulary: readonly ["IdProp", "LabelProp", "RequiredProp", "HelperProp", "ErrorProp", "FormLayoutProp", "WidthProp"];
|
|
440
460
|
};
|
|
441
461
|
readonly SearchInputProp: {
|
|
442
462
|
readonly group: "data-entry";
|
|
@@ -512,7 +532,7 @@ declare const COMPONENT_PROP_REGISTRY: {
|
|
|
512
532
|
readonly group: "data-entry";
|
|
513
533
|
readonly file: "components/data-entry.prop.ts";
|
|
514
534
|
readonly vocabulary: readonly ["ValueProp", "OnValueChangeProp", "PlaceholderProp", "EmptyMessageProp", "DisabledProp", "NameProp", "IdProp", "ClassNameProp"];
|
|
515
|
-
readonly note: "
|
|
535
|
+
readonly note: "Internal — the searchable engine behind `<Select options showSearch>` (not public API); use Select.";
|
|
516
536
|
};
|
|
517
537
|
readonly SelectDataProp: {
|
|
518
538
|
readonly group: "data-entry";
|
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-XTVUYEJD.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { A as AsChildProp, C as ChildrenProp, a as ClassNameProp, D as DefaultOpenProp, b as DefaultValueProp, c as DisabledProp, E as ErrorProp, H as HandlerProp, d as HelperProp, I as IdProp, L as LabelProp, N as NameProp, O as OnChangeProp, e as OnClickProp, f as OnOpenChangeProp, g as OnValueChangeProp, h as OpenProp, P as PendingProp, i as PlaceholderProp, R as RequiredProp, V as ValueProp } from '../../shared.prop-
|
|
1
|
+
export { A as AsChildProp, C as ChildrenProp, a as ClassNameProp, D as DefaultOpenProp, b as DefaultValueProp, c as DisabledProp, E as ErrorProp, H as HandlerProp, d as HelperProp, I as IdProp, L as LabelProp, N as NameProp, O as OnChangeProp, e as OnClickProp, f as OnOpenChangeProp, g as OnValueChangeProp, h as OpenProp, P as PendingProp, i as PlaceholderProp, R as RequiredProp, V as ValueProp, W as WidthProp } from '../../shared.prop-BvMSLFJ6.js';
|
|
2
2
|
export { A as ActionProp, a as ActionsProp, C as CancelLabelProp, b as ConfirmLabelProp, D as DescriptionProp, E as EmptyMessageProp, c as ExtraProp, F as FooterProp, I as IconProp, S as SubtitleProp, T as TitleProp } from '../../content.prop-DrV_zDy-.js';
|
|
3
3
|
export { D as DensityProp, G as GapProp, P as PageContainerVariantProp, a as PageDensityProp, T as TableDensityProp } from '../../layout.prop-CXvl2rVR.js';
|
|
4
|
-
export { A as AlertVariantProp, B as
|
|
5
|
-
export { B as BreadcrumbItemProp, a as BreadcrumbProp } from '../../navigation.prop-
|
|
6
|
-
export { 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-
|
|
4
|
+
export { A as AlertVariantProp, B as BreakpointProp, a as ButtonSizeProp, b as ButtonVariantProp, C as ColumnAlignProp, c as ConfirmVariantProp, F as FormLayoutProp, S as SizeProp, d as SortDirectionProp, e as SortStateProp, T as ToneProp } from '../../interaction.prop-R77MnAMZ.js';
|
|
5
|
+
export { B as BreadcrumbItemProp, a as BreadcrumbProp } from '../../navigation.prop-CXDaVNaR.js';
|
|
6
|
+
export { 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-D4uDw_SW.js';
|
|
7
7
|
import 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { UseQueryResult, UseInfiniteQueryResult, InfiniteData, QueryKey, UseMutationResult } from '@tanstack/react-query';
|
|
3
3
|
import { LinkProps } from 'react-router-dom';
|
|
4
|
-
import { B as ButtonProp } from './general.prop-
|
|
5
|
-
import { H as HandlerProp, a as ClassNameProp } from './shared.prop-
|
|
4
|
+
import { B as ButtonProp } from './general.prop-1GgJkf4b.js';
|
|
5
|
+
import { H as HandlerProp, a as ClassNameProp } from './shared.prop-BvMSLFJ6.js';
|
|
6
6
|
|
|
7
7
|
/** Query / async lifecycle helpers — @see docs/COMPONENTS.md#query */
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { g as FormFieldProp, F as FieldProp } from './data-entry.prop-
|
|
2
|
+
import { g as FormFieldProp, F as FieldProp } from './data-entry.prop-BGxD81Lf.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
|
|
5
|
-
declare function FormField({ id, label, required, helper, error, labelAddon, className, children, }: FormFieldProp): react_jsx_runtime.JSX.Element;
|
|
5
|
+
declare function FormField({ id, label, required, helper, error, labelAddon, layout: layoutProp, labelWidth: labelWidthProp, controlWidth: controlWidthProp, colSpan, 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;
|
|
@@ -47,5 +47,11 @@ type OnChangeProp = React.ChangeEventHandler<HTMLInputElement>;
|
|
|
47
47
|
type OnClickProp = React.MouseEventHandler<HTMLButtonElement>;
|
|
48
48
|
/** Radix/shadcn `asChild` polymorphism — render as child element. */
|
|
49
49
|
type AsChildProp = boolean;
|
|
50
|
+
/**
|
|
51
|
+
* An explicit layout dimension (NOT the `SizeProp` control-height tier). A `number` is treated as
|
|
52
|
+
* px; a `string` is any CSS length (`"32rem"`, `"90vw"`, `"50%"`). Used for Sheet `width`, Form
|
|
53
|
+
* `labelWidth`/`controlWidth` — values that are freeform lengths, not the xs|sm|md|lg tier.
|
|
54
|
+
*/
|
|
55
|
+
type WidthProp = number | string;
|
|
50
56
|
|
|
51
|
-
export type { AsChildProp as A, ChildrenProp as C, DefaultOpenProp as D, ErrorProp as E, HandlerProp as H, IdProp as I, LabelProp as L, NameProp as N, OnChangeProp as O, PendingProp as P, RequiredProp as R, ValueProp as V, ClassNameProp as a, DefaultValueProp as b, DisabledProp as c, HelperProp as d, OnClickProp as e, OnOpenChangeProp as f, OnValueChangeProp as g, OpenProp as h, PlaceholderProp as i };
|
|
57
|
+
export type { AsChildProp as A, ChildrenProp as C, DefaultOpenProp as D, ErrorProp as E, HandlerProp as H, IdProp as I, LabelProp as L, NameProp as N, OnChangeProp as O, PendingProp as P, RequiredProp as R, ValueProp as V, WidthProp as W, ClassNameProp as a, DefaultValueProp as b, DisabledProp as c, HelperProp as d, OnClickProp as e, OnOpenChangeProp as f, OnValueChangeProp as g, OpenProp as h, PlaceholderProp as i };
|
|
@@ -24,26 +24,26 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
[data-slot="alert"][data-tone="destructive"] {
|
|
27
|
-
border-color: hsl(var(--destructive) /
|
|
28
|
-
background-color: hsl(var(--destructive) /
|
|
27
|
+
border-color: hsl(var(--destructive) / var(--alert-border-alpha));
|
|
28
|
+
background-color: hsl(var(--destructive) / var(--alert-bg-alpha));
|
|
29
29
|
color: hsl(var(--foreground));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
[data-slot="alert"][data-tone="warning"] {
|
|
33
|
-
border-color: hsl(var(--warning) /
|
|
34
|
-
background-color: hsl(var(--warning) /
|
|
33
|
+
border-color: hsl(var(--warning) / var(--alert-border-alpha));
|
|
34
|
+
background-color: hsl(var(--warning) / var(--alert-bg-alpha));
|
|
35
35
|
color: hsl(var(--foreground));
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
[data-slot="alert"][data-tone="success"] {
|
|
39
|
-
border-color: hsl(var(--success) /
|
|
40
|
-
background-color: hsl(var(--success) /
|
|
39
|
+
border-color: hsl(var(--success) / var(--alert-border-alpha));
|
|
40
|
+
background-color: hsl(var(--success) / var(--alert-bg-alpha));
|
|
41
41
|
color: hsl(var(--foreground));
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
[data-slot="alert"][data-tone="info"] {
|
|
45
|
-
border-color: hsl(var(--info) /
|
|
46
|
-
background-color: hsl(var(--info) /
|
|
45
|
+
border-color: hsl(var(--info) / var(--alert-border-alpha));
|
|
46
|
+
background-color: hsl(var(--info) / var(--alert-bg-alpha));
|
|
47
47
|
color: hsl(var(--foreground));
|
|
48
48
|
}
|
|
49
49
|
|