@moduix/solid-tailwind 1.0.0 → 1.1.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/components/accordion/Accordion.js +19 -13
- package/dist/components/accordion/Accordion.jsx +7 -7
- package/dist/components/alert/Alert.js +19 -13
- package/dist/components/alert/Alert.jsx +7 -7
- package/dist/components/angle-slider/AngleSlider.d.ts +2 -6
- package/dist/components/angle-slider/AngleSlider.js +21 -16
- package/dist/components/angle-slider/AngleSlider.jsx +10 -11
- package/dist/components/avatar/Avatar.js +10 -7
- package/dist/components/avatar/Avatar.jsx +6 -6
- package/dist/components/bleed/Bleed.js +1 -1
- package/dist/components/bleed/Bleed.jsx +1 -1
- package/dist/components/button/Button.js +1 -6
- package/dist/components/button/Button.jsx +2 -4
- package/dist/components/card/Card.js +54 -44
- package/dist/components/card/Card.jsx +12 -12
- package/dist/components/carousel/Carousel.d.ts +1 -1
- package/dist/components/carousel/Carousel.js +32 -23
- package/dist/components/carousel/Carousel.jsx +12 -13
- package/dist/components/checkbox/Checkbox.js +16 -14
- package/dist/components/checkbox/Checkbox.jsx +6 -6
- package/dist/components/clipboard/Clipboard.js +28 -17
- package/dist/components/clipboard/Clipboard.jsx +12 -11
- package/dist/components/collapsible/Collapsible.js +16 -11
- package/dist/components/collapsible/Collapsible.jsx +6 -6
- package/dist/components/color-picker/ColorPicker.js +69 -48
- package/dist/components/color-picker/ColorPicker.jsx +28 -28
- package/dist/components/combobox/Combobox.js +44 -31
- package/dist/components/combobox/Combobox.jsx +18 -18
- package/dist/components/command-palette/CommandPalette.js +71 -52
- package/dist/components/command-palette/CommandPalette.jsx +28 -31
- package/dist/components/container/Container.js +5 -5
- package/dist/components/container/Container.jsx +5 -5
- package/dist/components/date-input/DateInput.js +18 -12
- package/dist/components/date-input/DateInput.jsx +7 -7
- package/dist/components/date-picker/DatePicker.js +73 -51
- package/dist/components/date-picker/DatePicker.jsx +29 -29
- package/dist/components/dialog/Dialog.js +30 -20
- package/dist/components/dialog/Dialog.jsx +10 -10
- package/dist/components/drawer/Drawer.js +45 -30
- package/dist/components/drawer/Drawer.jsx +15 -15
- package/dist/components/editable/Editable.js +24 -17
- package/dist/components/editable/Editable.jsx +10 -10
- package/dist/components/empty/Empty.js +1 -1
- package/dist/components/empty/Empty.jsx +1 -1
- package/dist/components/file-upload/FileUpload.js +39 -28
- package/dist/components/file-upload/FileUpload.jsx +17 -17
- package/dist/components/floating-panel/FloatingPanel.js +35 -23
- package/dist/components/floating-panel/FloatingPanel.jsx +12 -12
- package/dist/components/hover-card/HoverCard.js +16 -11
- package/dist/components/hover-card/HoverCard.jsx +6 -6
- package/dist/components/image-cropper/ImageCropper.js +21 -14
- package/dist/components/image-cropper/ImageCropper.jsx +7 -7
- package/dist/components/input-group/InputGroup.js +3 -2
- package/dist/components/input-group/InputGroup.jsx +3 -2
- package/dist/components/json-tree-view/JsonTreeView.js +1 -1
- package/dist/components/json-tree-view/JsonTreeView.jsx +1 -1
- package/dist/components/lightbox/Lightbox.d.ts +1 -0
- package/dist/components/lightbox/Lightbox.js +41 -27
- package/dist/components/lightbox/Lightbox.jsx +13 -12
- package/dist/components/listbox/Listbox.js +48 -32
- package/dist/components/listbox/Listbox.jsx +17 -17
- package/dist/components/marquee/Marquee.js +18 -12
- package/dist/components/marquee/Marquee.jsx +9 -9
- package/dist/components/menu/Menu.js +66 -44
- package/dist/components/menu/Menu.jsx +28 -28
- package/dist/components/navigation-menu/NavigationMenu.js +36 -24
- package/dist/components/navigation-menu/NavigationMenu.jsx +12 -12
- package/dist/components/number-input/NumberInput.js +19 -14
- package/dist/components/number-input/NumberInput.jsx +9 -9
- package/dist/components/pagination/Pagination.js +10 -9
- package/dist/components/pagination/Pagination.jsx +8 -8
- package/dist/components/password-input/PasswordInput.js +16 -11
- package/dist/components/password-input/PasswordInput.jsx +6 -6
- package/dist/components/pin-input/PinInput.js +15 -10
- package/dist/components/pin-input/PinInput.jsx +6 -6
- package/dist/components/popover/Popover.js +37 -25
- package/dist/components/popover/Popover.jsx +13 -13
- package/dist/components/progress-circular/ProgressCircular.js +18 -13
- package/dist/components/progress-circular/ProgressCircular.jsx +8 -8
- package/dist/components/progress-linear/ProgressLinear.js +17 -12
- package/dist/components/progress-linear/ProgressLinear.jsx +7 -7
- package/dist/components/qr-code/QrCode.js +8 -7
- package/dist/components/qr-code/QrCode.jsx +6 -6
- package/dist/components/rating-group/RatingGroup.js +15 -10
- package/dist/components/rating-group/RatingGroup.jsx +6 -6
- package/dist/components/segment-group/SegmentGroup.js +17 -12
- package/dist/components/segment-group/SegmentGroup.jsx +7 -7
- package/dist/components/select/Select.js +50 -35
- package/dist/components/select/Select.jsx +20 -20
- package/dist/components/sidebar/Sidebar.js +72 -43
- package/dist/components/sidebar/Sidebar.jsx +34 -27
- package/dist/components/signature-pad/SignaturePad.js +16 -12
- package/dist/components/signature-pad/SignaturePad.jsx +8 -8
- package/dist/components/slider/Slider.js +29 -20
- package/dist/components/slider/Slider.jsx +11 -11
- package/dist/components/split-button/SplitButton.d.ts +4 -3
- package/dist/components/split-button/SplitButton.js +20 -9
- package/dist/components/split-button/SplitButton.jsx +13 -7
- package/dist/components/splitter/Splitter.js +13 -9
- package/dist/components/splitter/Splitter.jsx +5 -5
- package/dist/components/steps/Steps.js +34 -23
- package/dist/components/steps/Steps.jsx +12 -12
- package/dist/components/swap/Swap.js +9 -6
- package/dist/components/swap/Swap.jsx +3 -3
- package/dist/components/switch/Switch.js +9 -7
- package/dist/components/switch/Switch.jsx +5 -5
- package/dist/components/tabs/Tabs.js +18 -12
- package/dist/components/tabs/Tabs.jsx +6 -6
- package/dist/components/tags-input/TagsInput.js +28 -20
- package/dist/components/tags-input/TagsInput.jsx +12 -12
- package/dist/components/timer/Timer.js +21 -14
- package/dist/components/timer/Timer.jsx +7 -7
- package/dist/components/toast/Toast.js +11 -9
- package/dist/components/toast/Toast.jsx +7 -7
- package/dist/components/toc/Toc.js +31 -20
- package/dist/components/toc/Toc.jsx +10 -10
- package/dist/components/tooltip/Tooltip.js +13 -9
- package/dist/components/tooltip/Tooltip.jsx +5 -5
- package/dist/components/tour/Tour.js +38 -26
- package/dist/components/tour/Tour.jsx +13 -13
- package/dist/components/tree-view/TreeView.js +39 -28
- package/dist/components/tree-view/TreeView.jsx +17 -17
- package/dist/styles/animations.css +8 -8
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ function DatePickerRoot(props) {
|
|
|
23
23
|
const field = useFieldContext();
|
|
24
24
|
const fieldset = useFieldsetContext();
|
|
25
25
|
return <OverlayPortalProvider portalled={local.portalled} portalRef={local.portalRef}>
|
|
26
|
-
<DatePicker.Root asChild={local.asChild}
|
|
26
|
+
<DatePicker.Root asChild={local.asChild} class={cn("group/date-picker inline-flex w-75 max-w-full flex-col items-start gap-1 text-foreground has-[input[data-index='1']]:w-96 data-disabled:opacity-50 data-readonly:opacity-50", local.class)} disabled={local.disabled ?? field?.()?.disabled ?? fieldset?.()?.disabled} invalid={local.invalid ?? field?.()?.invalid ?? fieldset?.()?.invalid} lazyMount={local.lazyMount ?? true} readOnly={local.readOnly ?? field?.()?.readOnly} required={local.required ?? field?.()?.required} unmountOnExit={local.unmountOnExit ?? true} {...others} data-slot="date-picker-root">
|
|
27
27
|
{local.children}
|
|
28
28
|
</DatePicker.Root>
|
|
29
29
|
</OverlayPortalProvider>;
|
|
@@ -39,7 +39,7 @@ function DatePickerRootProvider(props) {
|
|
|
39
39
|
'unmountOnExit'
|
|
40
40
|
]);
|
|
41
41
|
return <OverlayPortalProvider portalled={local.portalled} portalRef={local.portalRef}>
|
|
42
|
-
<DatePicker.RootProvider asChild={local.asChild}
|
|
42
|
+
<DatePicker.RootProvider asChild={local.asChild} class={cn("group/date-picker inline-flex w-75 max-w-full flex-col items-start gap-1 text-foreground has-[input[data-index='1']]:w-96 data-disabled:opacity-50 data-readonly:opacity-50", local.class)} lazyMount={local.lazyMount ?? true} unmountOnExit={local.unmountOnExit ?? true} {...others} data-slot="date-picker-root-provider">
|
|
43
43
|
{local.children}
|
|
44
44
|
</DatePicker.RootProvider>
|
|
45
45
|
</OverlayPortalProvider>;
|
|
@@ -48,13 +48,13 @@ function DatePickerLabel(props) {
|
|
|
48
48
|
const [local, others] = splitProps(props, [
|
|
49
49
|
'class'
|
|
50
50
|
]);
|
|
51
|
-
return <DatePicker.Label
|
|
51
|
+
return <DatePicker.Label class={cn('inline-flex items-center text-sm leading-5 font-medium text-foreground select-none', local.class)} {...others} data-slot="date-picker-label"/>;
|
|
52
52
|
}
|
|
53
53
|
function DatePickerControl(props) {
|
|
54
54
|
const [local, others] = splitProps(props, [
|
|
55
55
|
'class'
|
|
56
56
|
]);
|
|
57
|
-
return <DatePicker.Control
|
|
57
|
+
return <DatePicker.Control class={cn('group/date-picker-control relative flex w-full min-w-0 items-center gap-2 text-foreground', local.class)} {...others} data-slot="date-picker-control"/>;
|
|
58
58
|
}
|
|
59
59
|
function DatePickerField(props) {
|
|
60
60
|
const [local, others] = splitProps(props, [
|
|
@@ -93,7 +93,7 @@ function DatePickerInput(props) {
|
|
|
93
93
|
const [local, others] = splitProps(props, [
|
|
94
94
|
'class'
|
|
95
95
|
]);
|
|
96
|
-
return <DatePicker.Input
|
|
96
|
+
return <DatePicker.Input class={cn("readonly:cursor-default h-control-md w-full min-w-30 flex-1 rounded-md border border-border bg-background ps-3.5 pe-17 text-md leading-6 text-current outline-1 -outline-offset-1 outline-transparent transition-[background-color,border-color,color,outline-color,opacity] duration-200 ease-in-out group-has-[input[data-index='1']]/date-picker:pe-3.5 group-data-focus/date-picker-control:border-ring group-data-focus/date-picker-control:outline-ring placeholder:text-muted-foreground focus:border-ring focus:outline-ring disabled:cursor-default aria-invalid:border-destructive aria-invalid:outline-destructive data-disabled:cursor-default data-invalid:border-destructive data-invalid:outline-destructive data-readonly:cursor-default data-[index='1']:pe-17 motion-reduce:transition-none", 'py-1', local.class)} {...others} data-slot="date-picker-input"/>;
|
|
97
97
|
}
|
|
98
98
|
function DatePickerTrigger(props) {
|
|
99
99
|
const [local, others] = splitProps(props, [
|
|
@@ -102,7 +102,7 @@ function DatePickerTrigger(props) {
|
|
|
102
102
|
'class'
|
|
103
103
|
]);
|
|
104
104
|
const resolvedChildren = children(()=>local.children);
|
|
105
|
-
return <DatePicker.Trigger asChild={local.asChild}
|
|
105
|
+
return <DatePicker.Trigger asChild={local.asChild} class={cn(!local.asChild && 'absolute end-2 top-1/2 inline-flex size-control-xs shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center rounded-sm bg-transparent p-0 leading-none text-muted-foreground outline-1 -outline-offset-1 outline-transparent transition-[background-color,color,outline-color,opacity] duration-200 ease-in-out focus-visible:outline-ring disabled:cursor-default disabled:opacity-50 data-disabled:cursor-default data-disabled:opacity-50 data-focus:outline-ring motion-reduce:transition-none [&>svg]:block [&>svg]:size-4 [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:bg-muted [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:text-foreground', local.class)} {...others} data-slot="date-picker-trigger">
|
|
106
106
|
{resolvedChildren() ?? <CalendarIcon/>}
|
|
107
107
|
</DatePicker.Trigger>;
|
|
108
108
|
}
|
|
@@ -115,7 +115,7 @@ function DatePickerClearTrigger(props) {
|
|
|
115
115
|
'class'
|
|
116
116
|
]);
|
|
117
117
|
const resolvedChildren = children(()=>local.children);
|
|
118
|
-
if (local.asChild) return <DatePicker.ClearTrigger asChild={local.asChild} aria-label={local['aria-label']} aria-labelledby={local['aria-labelledby']}
|
|
118
|
+
if (local.asChild) return <DatePicker.ClearTrigger asChild={local.asChild} aria-label={local['aria-label']} aria-labelledby={local['aria-labelledby']} class={cn('absolute end-[2.125rem] top-1/2 inline-flex size-control-xs shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center rounded-sm bg-transparent p-0 leading-none text-muted-foreground outline-1 -outline-offset-1 outline-transparent transition-[background-color,color,outline-color,opacity] duration-200 ease-in-out focus-visible:outline-ring disabled:cursor-default disabled:opacity-50 data-disabled:cursor-default data-disabled:opacity-50 data-focus:outline-ring motion-reduce:transition-none [&>svg]:block [&>svg]:size-4 [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:bg-muted [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:text-foreground', local.class)} {...others} data-slot="date-picker-clear-trigger">
|
|
119
119
|
{local.children}
|
|
120
120
|
</DatePicker.ClearTrigger>;
|
|
121
121
|
return <DatePicker.ClearTrigger asChild={(triggerProps)=>{
|
|
@@ -127,33 +127,33 @@ function DatePickerClearTrigger(props) {
|
|
|
127
127
|
}} class={cn(resolvedProps.class, 'size-control-xs [&>svg]:size-4', local.class)}>
|
|
128
128
|
{resolvedChildren()}
|
|
129
129
|
</CloseButton.Root>;
|
|
130
|
-
}}
|
|
130
|
+
}} class={cn('absolute end-[2.125rem] top-1/2 inline-flex size-control-xs shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center rounded-sm bg-transparent p-0 leading-none text-muted-foreground outline-1 -outline-offset-1 outline-transparent transition-[background-color,color,outline-color,opacity] duration-200 ease-in-out focus-visible:outline-ring disabled:cursor-default disabled:opacity-50 data-disabled:cursor-default data-disabled:opacity-50 data-focus:outline-ring motion-reduce:transition-none [&>svg]:block [&>svg]:size-4 [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:bg-muted [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:text-foreground', local.class)} {...others} data-slot="date-picker-clear-trigger"/>;
|
|
131
131
|
}
|
|
132
132
|
function DatePickerPositioner(props) {
|
|
133
133
|
const [local, others] = splitProps(props, [
|
|
134
134
|
'class'
|
|
135
135
|
]);
|
|
136
136
|
return <OverlayPortal>
|
|
137
|
-
<DatePicker.Positioner
|
|
137
|
+
<DatePicker.Positioner class={cn('z-[var(--z-index)] outline-0', local.class)} {...others} data-slot="date-picker-positioner"/>
|
|
138
138
|
</OverlayPortal>;
|
|
139
139
|
}
|
|
140
140
|
function DatePickerContent(props) {
|
|
141
141
|
const [local, others] = splitProps(props, [
|
|
142
142
|
'class'
|
|
143
143
|
]);
|
|
144
|
-
return <DatePicker.Content
|
|
144
|
+
return <DatePicker.Content class={cn('z-[calc(60+var(--layer-index,0))] w-75 max-w-[min(calc(100vw-2rem),var(--available-width))] min-w-[min(18.75rem,var(--available-width))] origin-[var(--transform-origin)] rounded-md border border-border bg-popover p-3 text-popover-foreground shadow-lg outline-0 data-inline:min-w-72 data-inline:shadow-none data-[state=closed]:pointer-events-none data-[state=closed]:animate-moduix-menu-closed data-[state=open]:animate-moduix-menu-open motion-reduce:[animation-delay:0ms] motion-reduce:[animation-duration:1ms]', local.class)} {...others} data-slot="date-picker-content"/>;
|
|
145
145
|
}
|
|
146
146
|
function DatePickerView(props) {
|
|
147
147
|
const [local, others] = splitProps(props, [
|
|
148
148
|
'class'
|
|
149
149
|
]);
|
|
150
|
-
return <DatePicker.View
|
|
150
|
+
return <DatePicker.View class={cn('grid gap-3', local.class)} {...others} data-slot="date-picker-view"/>;
|
|
151
151
|
}
|
|
152
152
|
function DatePickerViewControl(props) {
|
|
153
153
|
const [local, others] = splitProps(props, [
|
|
154
154
|
'class'
|
|
155
155
|
]);
|
|
156
|
-
return <DatePicker.ViewControl
|
|
156
|
+
return <DatePicker.ViewControl class={cn('flex min-w-0 items-center justify-between gap-2', local.class)} {...others} data-slot="date-picker-view-control"/>;
|
|
157
157
|
}
|
|
158
158
|
function DatePickerPrevTrigger(props) {
|
|
159
159
|
const [local, others] = splitProps(props, [
|
|
@@ -162,7 +162,7 @@ function DatePickerPrevTrigger(props) {
|
|
|
162
162
|
'class'
|
|
163
163
|
]);
|
|
164
164
|
const resolvedChildren = children(()=>local.children);
|
|
165
|
-
return <DatePicker.PrevTrigger asChild={local.asChild}
|
|
165
|
+
return <DatePicker.PrevTrigger asChild={local.asChild} class={cn(!local.asChild && 'inline-flex size-control-sm shrink-0 cursor-pointer items-center justify-center rounded-sm bg-transparent p-0 leading-none text-muted-foreground outline-1 -outline-offset-1 outline-transparent transition-[background-color,color,outline-color,opacity] duration-200 ease-in-out focus-visible:outline-ring disabled:cursor-default disabled:opacity-50 data-disabled:cursor-default data-disabled:opacity-50 data-focus:outline-ring motion-reduce:transition-none [&>svg]:block [&>svg]:size-4 [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:bg-muted [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:text-foreground', local.class)} {...others} data-slot="date-picker-prev-trigger">
|
|
166
166
|
{resolvedChildren() ?? <ChevronLeftIcon/>}
|
|
167
167
|
</DatePicker.PrevTrigger>;
|
|
168
168
|
}
|
|
@@ -173,7 +173,7 @@ function DatePickerNextTrigger(props) {
|
|
|
173
173
|
'class'
|
|
174
174
|
]);
|
|
175
175
|
const resolvedChildren = children(()=>local.children);
|
|
176
|
-
return <DatePicker.NextTrigger asChild={local.asChild}
|
|
176
|
+
return <DatePicker.NextTrigger asChild={local.asChild} class={cn(!local.asChild && 'inline-flex size-control-sm shrink-0 cursor-pointer items-center justify-center rounded-sm bg-transparent p-0 leading-none text-muted-foreground outline-1 -outline-offset-1 outline-transparent transition-[background-color,color,outline-color,opacity] duration-200 ease-in-out focus-visible:outline-ring disabled:cursor-default disabled:opacity-50 data-disabled:cursor-default data-disabled:opacity-50 data-focus:outline-ring motion-reduce:transition-none [&>svg]:block [&>svg]:size-4 [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:bg-muted [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:text-foreground', local.class)} {...others} data-slot="date-picker-next-trigger">
|
|
177
177
|
{resolvedChildren() ?? <ChevronRightIcon/>}
|
|
178
178
|
</DatePicker.NextTrigger>;
|
|
179
179
|
}
|
|
@@ -181,7 +181,7 @@ function DatePickerRangeText(props) {
|
|
|
181
181
|
const [local, others] = splitProps(props, [
|
|
182
182
|
'class'
|
|
183
183
|
]);
|
|
184
|
-
return <DatePicker.RangeText
|
|
184
|
+
return <DatePicker.RangeText class={cn('min-w-0 overflow-hidden text-ellipsis whitespace-nowrap', local.class)} {...others} data-slot="date-picker-range-text"/>;
|
|
185
185
|
}
|
|
186
186
|
function DatePickerViewTrigger(props) {
|
|
187
187
|
const [local, others] = splitProps(props, [
|
|
@@ -190,7 +190,7 @@ function DatePickerViewTrigger(props) {
|
|
|
190
190
|
'class'
|
|
191
191
|
]);
|
|
192
192
|
const resolvedChildren = children(()=>local.children);
|
|
193
|
-
return <DatePicker.ViewTrigger asChild={local.asChild}
|
|
193
|
+
return <DatePicker.ViewTrigger asChild={local.asChild} class={cn(!local.asChild && 'inline-flex min-h-control-sm min-w-0 flex-1 shrink-0 cursor-pointer items-center justify-center gap-2 rounded-sm bg-transparent px-2 text-sm leading-5 font-medium text-foreground outline-1 -outline-offset-1 outline-transparent transition-[background-color,color,outline-color,opacity] duration-200 ease-in-out focus-visible:outline-ring disabled:cursor-default disabled:opacity-50 data-disabled:cursor-default data-disabled:opacity-50 data-focus:outline-ring motion-reduce:transition-none [&>svg]:block [&>svg]:size-4 [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:bg-muted [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:text-foreground', local.class)} {...others} data-slot="date-picker-view-trigger">
|
|
194
194
|
{resolvedChildren() ?? <>
|
|
195
195
|
<DatePickerRangeText/>
|
|
196
196
|
<ChevronDownIcon/>
|
|
@@ -201,55 +201,55 @@ function DatePickerTable(props) {
|
|
|
201
201
|
const [local, others] = splitProps(props, [
|
|
202
202
|
'class'
|
|
203
203
|
]);
|
|
204
|
-
return <DatePicker.Table
|
|
204
|
+
return <DatePicker.Table class={cn('w-full table-fixed border-separate border-spacing-0.5', local.class)} {...others} data-slot="date-picker-table"/>;
|
|
205
205
|
}
|
|
206
206
|
function DatePickerTableHead(props) {
|
|
207
207
|
const [local, others] = splitProps(props, [
|
|
208
208
|
'class'
|
|
209
209
|
]);
|
|
210
|
-
return <DatePicker.TableHead data-slot="date-picker-table-head"
|
|
210
|
+
return <DatePicker.TableHead class={local.class} {...others} data-slot="date-picker-table-head"/>;
|
|
211
211
|
}
|
|
212
212
|
function DatePickerTableBody(props) {
|
|
213
213
|
const [local, others] = splitProps(props, [
|
|
214
214
|
'class'
|
|
215
215
|
]);
|
|
216
|
-
return <DatePicker.TableBody data-slot="date-picker-table-body"
|
|
216
|
+
return <DatePicker.TableBody class={local.class} {...others} data-slot="date-picker-table-body"/>;
|
|
217
217
|
}
|
|
218
218
|
function DatePickerTableRow(props) {
|
|
219
219
|
const [local, others] = splitProps(props, [
|
|
220
220
|
'class'
|
|
221
221
|
]);
|
|
222
|
-
return <DatePicker.TableRow data-slot="date-picker-table-row"
|
|
222
|
+
return <DatePicker.TableRow class={local.class} {...others} data-slot="date-picker-table-row"/>;
|
|
223
223
|
}
|
|
224
224
|
function DatePickerTableHeader(props) {
|
|
225
225
|
const [local, others] = splitProps(props, [
|
|
226
226
|
'class'
|
|
227
227
|
]);
|
|
228
|
-
return <DatePicker.TableHeader
|
|
228
|
+
return <DatePicker.TableHeader class={cn('h-7 w-control-sm text-center text-xs leading-4 font-medium text-muted-foreground', local.class)} {...others} data-slot="date-picker-table-header"/>;
|
|
229
229
|
}
|
|
230
230
|
function DatePickerWeekNumberHeaderCell(props) {
|
|
231
231
|
const [local, others] = splitProps(props, [
|
|
232
232
|
'class'
|
|
233
233
|
]);
|
|
234
|
-
return <DatePicker.WeekNumberHeaderCell
|
|
234
|
+
return <DatePicker.WeekNumberHeaderCell class={cn('h-7 w-control-sm text-center text-xs leading-4 font-medium text-muted-foreground tabular-nums', local.class)} {...others} data-slot="date-picker-week-number-header-cell"/>;
|
|
235
235
|
}
|
|
236
236
|
function DatePickerWeekNumberCell(props) {
|
|
237
237
|
const [local, others] = splitProps(props, [
|
|
238
238
|
'class'
|
|
239
239
|
]);
|
|
240
|
-
return <DatePicker.WeekNumberCell
|
|
240
|
+
return <DatePicker.WeekNumberCell class={cn('h-7 w-control-sm text-center text-xs leading-4 font-medium text-muted-foreground tabular-nums', local.class)} {...others} data-slot="date-picker-week-number-cell"/>;
|
|
241
241
|
}
|
|
242
242
|
function DatePickerTableCell(props) {
|
|
243
243
|
const [local, others] = splitProps(props, [
|
|
244
244
|
'class'
|
|
245
245
|
]);
|
|
246
|
-
return <DatePicker.TableCell
|
|
246
|
+
return <DatePicker.TableCell class={cn('h-control-sm w-control-sm p-0 text-center', local.class)} {...others} data-slot="date-picker-table-cell"/>;
|
|
247
247
|
}
|
|
248
248
|
function DatePickerTableCellTrigger(props) {
|
|
249
249
|
const [local, others] = splitProps(props, [
|
|
250
250
|
'class'
|
|
251
251
|
]);
|
|
252
|
-
return <DatePicker.TableCellTrigger
|
|
252
|
+
return <DatePicker.TableCellTrigger class={cn('inline-flex h-control-sm w-full min-w-control-sm cursor-pointer items-center justify-center rounded-sm bg-transparent p-0 text-sm leading-5 text-foreground outline-1 -outline-offset-1 outline-transparent transition-[background-color,border-color,color,outline-color,opacity] duration-200 ease-in-out focus-visible:outline-ring disabled:cursor-default disabled:opacity-50 data-disabled:cursor-default data-disabled:opacity-50 data-focus:outline-ring data-in-hover-range:bg-muted data-in-hover-range:text-foreground data-in-range:bg-muted data-in-range:text-foreground data-outside-range:text-muted-foreground data-selected:bg-primary data-selected:text-primary-foreground data-today:border-ring data-unavailable:text-muted-foreground motion-reduce:transition-none [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):not([data-selected]):hover]:bg-accent [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):not([data-selected]):hover]:text-accent-foreground', local.class)} {...others} data-slot="date-picker-table-cell-trigger"/>;
|
|
253
253
|
}
|
|
254
254
|
function DatePickerDayTable(props) {
|
|
255
255
|
const [local, others] = splitProps(props, [
|
|
@@ -301,26 +301,26 @@ function DatePickerMonthSelect(props) {
|
|
|
301
301
|
const [local, others] = splitProps(props, [
|
|
302
302
|
'class'
|
|
303
303
|
]);
|
|
304
|
-
return <DatePicker.MonthSelect
|
|
304
|
+
return <DatePicker.MonthSelect class={cn('min-h-control-sm w-full min-w-0 flex-1 cursor-pointer rounded-sm border border-border bg-background px-2 py-1 text-sm leading-5 text-foreground outline-1 -outline-offset-1 outline-transparent transition-[background-color,border-color,outline-color] duration-200 ease-in-out focus:border-ring focus:outline-ring motion-reduce:transition-none', local.class)} {...others} data-slot="date-picker-month-select"/>;
|
|
305
305
|
}
|
|
306
306
|
function DatePickerYearSelect(props) {
|
|
307
307
|
const [local, others] = splitProps(props, [
|
|
308
308
|
'class'
|
|
309
309
|
]);
|
|
310
|
-
return <DatePicker.YearSelect
|
|
310
|
+
return <DatePicker.YearSelect class={cn('min-h-control-sm w-full min-w-0 flex-1 cursor-pointer rounded-sm border border-border bg-background px-2 py-1 text-sm leading-5 text-foreground outline-1 -outline-offset-1 outline-transparent transition-[background-color,border-color,outline-color] duration-200 ease-in-out focus:border-ring focus:outline-ring motion-reduce:transition-none', local.class)} {...others} data-slot="date-picker-year-select"/>;
|
|
311
311
|
}
|
|
312
312
|
function DatePickerPresetTrigger(props) {
|
|
313
313
|
const [local, others] = splitProps(props, [
|
|
314
314
|
'asChild',
|
|
315
315
|
'class'
|
|
316
316
|
]);
|
|
317
|
-
return <DatePicker.PresetTrigger asChild={local.asChild}
|
|
317
|
+
return <DatePicker.PresetTrigger asChild={local.asChild} class={cn(!local.asChild && 'inline-flex min-h-control-sm shrink-0 cursor-pointer items-center justify-center rounded-sm bg-muted px-2 text-sm leading-5 text-foreground outline-1 -outline-offset-1 outline-transparent transition-[background-color,color,outline-color,opacity] duration-200 ease-in-out focus-visible:outline-ring disabled:cursor-default disabled:opacity-50 data-disabled:cursor-default data-disabled:opacity-50 data-focus:outline-ring data-selected:bg-primary data-selected:text-primary-foreground motion-reduce:transition-none [&>svg]:block [&>svg]:size-4 [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:bg-muted [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:text-foreground [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):not([data-selected]):hover]:bg-accent', local.class)} {...others} data-slot="date-picker-preset-trigger"/>;
|
|
318
318
|
}
|
|
319
319
|
function DatePickerValueText(props) {
|
|
320
320
|
const [local, others] = splitProps(props, [
|
|
321
321
|
'class'
|
|
322
322
|
]);
|
|
323
|
-
return <DatePicker.ValueText
|
|
323
|
+
return <DatePicker.ValueText class={cn('min-w-0 overflow-hidden text-ellipsis whitespace-nowrap', local.class)} {...others} data-slot="date-picker-value-text"/>;
|
|
324
324
|
}
|
|
325
325
|
const DatePicker_DatePicker = Object.assign(DatePickerRoot, {
|
|
326
326
|
Root: DatePickerRoot,
|
|
@@ -77,11 +77,12 @@ function DialogTrigger(props) {
|
|
|
77
77
|
get asChild () {
|
|
78
78
|
return local.asChild;
|
|
79
79
|
},
|
|
80
|
-
"data-slot": "dialog-trigger",
|
|
81
80
|
get ["class"] () {
|
|
82
81
|
return cn(!local.asChild && 'inline-flex min-h-control-md cursor-pointer items-center justify-center rounded-md border border-border bg-background px-3.5 py-1 text-md leading-6 text-foreground transition-[background-color,border-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 motion-reduce:transition-none [@media(hover:hover)]:hover:bg-accent', local.class);
|
|
83
82
|
}
|
|
84
|
-
}, others
|
|
83
|
+
}, others, {
|
|
84
|
+
"data-slot": "dialog-trigger"
|
|
85
|
+
}));
|
|
85
86
|
}
|
|
86
87
|
function DialogBackdrop(props) {
|
|
87
88
|
const [local, others] = splitProps(props, [
|
|
@@ -90,11 +91,12 @@ function DialogBackdrop(props) {
|
|
|
90
91
|
return createComponent(OverlayPortal, {
|
|
91
92
|
get children () {
|
|
92
93
|
return createComponent(Dialog.Backdrop, mergeProps({
|
|
93
|
-
"data-slot": "dialog-backdrop",
|
|
94
94
|
get ["class"] () {
|
|
95
95
|
return cn('fixed inset-0 z-[calc(40+var(--layer-index,0))] bg-overlay backdrop-blur-[4px] data-[state=closed]:animate-[moduix-fade-out_200ms_ease-in-out_forwards] data-[state=open]:animate-[moduix-fade-in_200ms_ease-in-out] motion-reduce:animate-none', local.class);
|
|
96
96
|
}
|
|
97
|
-
}, others
|
|
97
|
+
}, others, {
|
|
98
|
+
"data-slot": "dialog-backdrop"
|
|
99
|
+
}));
|
|
98
100
|
}
|
|
99
101
|
});
|
|
100
102
|
}
|
|
@@ -105,11 +107,12 @@ function DialogPositioner(props) {
|
|
|
105
107
|
return createComponent(OverlayPortal, {
|
|
106
108
|
get children () {
|
|
107
109
|
return createComponent(Dialog.Positioner, mergeProps({
|
|
108
|
-
"data-slot": "dialog-positioner",
|
|
109
110
|
get ["class"] () {
|
|
110
111
|
return cn('fixed inset-0 z-[calc(50+var(--layer-index,0))] grid [scrollbar-gutter:stable_both-edges] place-items-center overflow-y-auto overscroll-contain p-4', local.class);
|
|
111
112
|
}
|
|
112
|
-
}, others
|
|
113
|
+
}, others, {
|
|
114
|
+
"data-slot": "dialog-positioner"
|
|
115
|
+
}));
|
|
113
116
|
}
|
|
114
117
|
});
|
|
115
118
|
}
|
|
@@ -118,33 +121,36 @@ function DialogContent(props) {
|
|
|
118
121
|
'class'
|
|
119
122
|
]);
|
|
120
123
|
return createComponent(Dialog.Content, mergeProps({
|
|
121
|
-
"data-slot": "dialog-content",
|
|
122
124
|
get ["class"] () {
|
|
123
125
|
return cn("relative max-h-[calc(100dvh-2rem)] w-[min(28rem,calc(100vw-2rem))] max-w-full origin-top rounded-lg border border-border bg-popover p-6 text-popover-foreground shadow-lg outline-0 transition-[scale,translate] duration-200 ease-in-out after:pointer-events-none after:absolute after:inset-0 after:z-1 after:rounded-[inherit] after:bg-black/5 after:opacity-0 after:transition-opacity after:duration-200 after:ease-in-out after:content-[''] data-[has-nested]:[translate:0_calc(2.5rem*var(--nested-layer-count,0))] data-[has-nested]:[scale:calc(1-0.05*var(--nested-layer-count,0))] data-[has-nested]:after:opacity-100 data-[state=closed]:animate-moduix-menu-closed data-[state=open]:animate-moduix-menu-open motion-reduce:animate-none motion-reduce:transition-none", local.class);
|
|
124
126
|
}
|
|
125
|
-
}, others
|
|
127
|
+
}, others, {
|
|
128
|
+
"data-slot": "dialog-content"
|
|
129
|
+
}));
|
|
126
130
|
}
|
|
127
131
|
function DialogTitle(props) {
|
|
128
132
|
const [local, others] = splitProps(props, [
|
|
129
133
|
'class'
|
|
130
134
|
]);
|
|
131
135
|
return createComponent(Dialog.Title, mergeProps({
|
|
132
|
-
"data-slot": "dialog-title",
|
|
133
136
|
get ["class"] () {
|
|
134
137
|
return cn('text-lg font-semibold text-popover-foreground', local.class);
|
|
135
138
|
}
|
|
136
|
-
}, others
|
|
139
|
+
}, others, {
|
|
140
|
+
"data-slot": "dialog-title"
|
|
141
|
+
}));
|
|
137
142
|
}
|
|
138
143
|
function DialogDescription(props) {
|
|
139
144
|
const [local, others] = splitProps(props, [
|
|
140
145
|
'class'
|
|
141
146
|
]);
|
|
142
147
|
return createComponent(Dialog.Description, mergeProps({
|
|
143
|
-
"data-slot": "dialog-description",
|
|
144
148
|
get ["class"] () {
|
|
145
149
|
return cn('text-md text-muted-foreground', local.class);
|
|
146
150
|
}
|
|
147
|
-
}, others
|
|
151
|
+
}, others, {
|
|
152
|
+
"data-slot": "dialog-description"
|
|
153
|
+
}));
|
|
148
154
|
}
|
|
149
155
|
function DialogCloseTrigger(props) {
|
|
150
156
|
const [local, others] = splitProps(props, [
|
|
@@ -155,11 +161,12 @@ function DialogCloseTrigger(props) {
|
|
|
155
161
|
get asChild () {
|
|
156
162
|
return local.asChild;
|
|
157
163
|
},
|
|
158
|
-
"data-slot": "dialog-close-trigger",
|
|
159
164
|
get ["class"] () {
|
|
160
165
|
return cn(!local.asChild && 'inline-flex min-h-control-md cursor-pointer items-center justify-center rounded-md border border-border bg-background px-3.5 py-1 text-md leading-6 text-foreground transition-[background-color,border-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 motion-reduce:transition-none [@media(hover:hover)]:hover:bg-accent', local.class);
|
|
161
166
|
}
|
|
162
|
-
}, others
|
|
167
|
+
}, others, {
|
|
168
|
+
"data-slot": "dialog-close-trigger"
|
|
169
|
+
}));
|
|
163
170
|
}
|
|
164
171
|
function DialogCloseIcon(props) {
|
|
165
172
|
const [local, others] = splitProps(props, [
|
|
@@ -192,33 +199,36 @@ function DialogHeader(props) {
|
|
|
192
199
|
'class'
|
|
193
200
|
]);
|
|
194
201
|
return createComponent(ark.div, mergeProps({
|
|
195
|
-
"data-slot": "dialog-header",
|
|
196
202
|
get ["class"] () {
|
|
197
203
|
return cn("grid grid-cols-[minmax(0,1fr)_auto] items-start gap-1 [&>[data-slot='dialog-close-trigger']]:col-start-2 [&>[data-slot='dialog-close-trigger']]:justify-self-end [&>[data-slot='dialog-description']]:col-span-2 [&>[data-slot='dialog-title']]:col-start-1", local.class);
|
|
198
204
|
}
|
|
199
|
-
}, others
|
|
205
|
+
}, others, {
|
|
206
|
+
"data-slot": "dialog-header"
|
|
207
|
+
}));
|
|
200
208
|
}
|
|
201
209
|
function DialogBody(props) {
|
|
202
210
|
const [local, others] = splitProps(props, [
|
|
203
211
|
'class'
|
|
204
212
|
]);
|
|
205
213
|
return createComponent(ark.div, mergeProps({
|
|
206
|
-
"data-slot": "dialog-body",
|
|
207
214
|
get ["class"] () {
|
|
208
215
|
return cn('mt-4 text-md text-muted-foreground', local.class);
|
|
209
216
|
}
|
|
210
|
-
}, others
|
|
217
|
+
}, others, {
|
|
218
|
+
"data-slot": "dialog-body"
|
|
219
|
+
}));
|
|
211
220
|
}
|
|
212
221
|
function DialogFooter(props) {
|
|
213
222
|
const [local, others] = splitProps(props, [
|
|
214
223
|
'class'
|
|
215
224
|
]);
|
|
216
225
|
return createComponent(ark.div, mergeProps({
|
|
217
|
-
"data-slot": "dialog-footer",
|
|
218
226
|
get ["class"] () {
|
|
219
227
|
return cn('mt-6 flex justify-end gap-2', local.class);
|
|
220
228
|
}
|
|
221
|
-
}, others
|
|
229
|
+
}, others, {
|
|
230
|
+
"data-slot": "dialog-footer"
|
|
231
|
+
}));
|
|
222
232
|
}
|
|
223
233
|
const Dialog_Dialog = Object.assign(DialogRoot, {
|
|
224
234
|
Root: DialogRoot,
|
|
@@ -38,14 +38,14 @@ function DialogTrigger(props) {
|
|
|
38
38
|
'asChild',
|
|
39
39
|
'class'
|
|
40
40
|
]);
|
|
41
|
-
return <Dialog.Trigger asChild={local.asChild}
|
|
41
|
+
return <Dialog.Trigger asChild={local.asChild} class={cn(!local.asChild && 'inline-flex min-h-control-md cursor-pointer items-center justify-center rounded-md border border-border bg-background px-3.5 py-1 text-md leading-6 text-foreground transition-[background-color,border-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 motion-reduce:transition-none [@media(hover:hover)]:hover:bg-accent', local.class)} {...others} data-slot="dialog-trigger"/>;
|
|
42
42
|
}
|
|
43
43
|
function DialogBackdrop(props) {
|
|
44
44
|
const [local, others] = splitProps(props, [
|
|
45
45
|
'class'
|
|
46
46
|
]);
|
|
47
47
|
return <OverlayPortal>
|
|
48
|
-
<Dialog.Backdrop
|
|
48
|
+
<Dialog.Backdrop class={cn('fixed inset-0 z-[calc(40+var(--layer-index,0))] bg-overlay backdrop-blur-[4px] data-[state=closed]:animate-[moduix-fade-out_200ms_ease-in-out_forwards] data-[state=open]:animate-[moduix-fade-in_200ms_ease-in-out] motion-reduce:animate-none', local.class)} {...others} data-slot="dialog-backdrop"/>
|
|
49
49
|
</OverlayPortal>;
|
|
50
50
|
}
|
|
51
51
|
function DialogPositioner(props) {
|
|
@@ -53,33 +53,33 @@ function DialogPositioner(props) {
|
|
|
53
53
|
'class'
|
|
54
54
|
]);
|
|
55
55
|
return <OverlayPortal>
|
|
56
|
-
<Dialog.Positioner
|
|
56
|
+
<Dialog.Positioner class={cn('fixed inset-0 z-[calc(50+var(--layer-index,0))] grid [scrollbar-gutter:stable_both-edges] place-items-center overflow-y-auto overscroll-contain p-4', local.class)} {...others} data-slot="dialog-positioner"/>
|
|
57
57
|
</OverlayPortal>;
|
|
58
58
|
}
|
|
59
59
|
function DialogContent(props) {
|
|
60
60
|
const [local, others] = splitProps(props, [
|
|
61
61
|
'class'
|
|
62
62
|
]);
|
|
63
|
-
return <Dialog.Content
|
|
63
|
+
return <Dialog.Content class={cn("relative max-h-[calc(100dvh-2rem)] w-[min(28rem,calc(100vw-2rem))] max-w-full origin-top rounded-lg border border-border bg-popover p-6 text-popover-foreground shadow-lg outline-0 transition-[scale,translate] duration-200 ease-in-out after:pointer-events-none after:absolute after:inset-0 after:z-1 after:rounded-[inherit] after:bg-black/5 after:opacity-0 after:transition-opacity after:duration-200 after:ease-in-out after:content-[''] data-[has-nested]:[translate:0_calc(2.5rem*var(--nested-layer-count,0))] data-[has-nested]:[scale:calc(1-0.05*var(--nested-layer-count,0))] data-[has-nested]:after:opacity-100 data-[state=closed]:animate-moduix-menu-closed data-[state=open]:animate-moduix-menu-open motion-reduce:animate-none motion-reduce:transition-none", local.class)} {...others} data-slot="dialog-content"/>;
|
|
64
64
|
}
|
|
65
65
|
function DialogTitle(props) {
|
|
66
66
|
const [local, others] = splitProps(props, [
|
|
67
67
|
'class'
|
|
68
68
|
]);
|
|
69
|
-
return <Dialog.Title
|
|
69
|
+
return <Dialog.Title class={cn('text-lg font-semibold text-popover-foreground', local.class)} {...others} data-slot="dialog-title"/>;
|
|
70
70
|
}
|
|
71
71
|
function DialogDescription(props) {
|
|
72
72
|
const [local, others] = splitProps(props, [
|
|
73
73
|
'class'
|
|
74
74
|
]);
|
|
75
|
-
return <Dialog.Description
|
|
75
|
+
return <Dialog.Description class={cn('text-md text-muted-foreground', local.class)} {...others} data-slot="dialog-description"/>;
|
|
76
76
|
}
|
|
77
77
|
function DialogCloseTrigger(props) {
|
|
78
78
|
const [local, others] = splitProps(props, [
|
|
79
79
|
'asChild',
|
|
80
80
|
'class'
|
|
81
81
|
]);
|
|
82
|
-
return <Dialog.CloseTrigger asChild={local.asChild}
|
|
82
|
+
return <Dialog.CloseTrigger asChild={local.asChild} class={cn(!local.asChild && 'inline-flex min-h-control-md cursor-pointer items-center justify-center rounded-md border border-border bg-background px-3.5 py-1 text-md leading-6 text-foreground transition-[background-color,border-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 motion-reduce:transition-none [@media(hover:hover)]:hover:bg-accent', local.class)} {...others} data-slot="dialog-close-trigger"/>;
|
|
83
83
|
}
|
|
84
84
|
function DialogCloseIcon(props) {
|
|
85
85
|
const [local, others] = splitProps(props, [
|
|
@@ -97,19 +97,19 @@ function DialogHeader(props) {
|
|
|
97
97
|
const [local, others] = splitProps(props, [
|
|
98
98
|
'class'
|
|
99
99
|
]);
|
|
100
|
-
return <ark.div
|
|
100
|
+
return <ark.div class={cn("grid grid-cols-[minmax(0,1fr)_auto] items-start gap-1 [&>[data-slot='dialog-close-trigger']]:col-start-2 [&>[data-slot='dialog-close-trigger']]:justify-self-end [&>[data-slot='dialog-description']]:col-span-2 [&>[data-slot='dialog-title']]:col-start-1", local.class)} {...others} data-slot="dialog-header"/>;
|
|
101
101
|
}
|
|
102
102
|
function DialogBody(props) {
|
|
103
103
|
const [local, others] = splitProps(props, [
|
|
104
104
|
'class'
|
|
105
105
|
]);
|
|
106
|
-
return <ark.div
|
|
106
|
+
return <ark.div class={cn('mt-4 text-md text-muted-foreground', local.class)} {...others} data-slot="dialog-body"/>;
|
|
107
107
|
}
|
|
108
108
|
function DialogFooter(props) {
|
|
109
109
|
const [local, others] = splitProps(props, [
|
|
110
110
|
'class'
|
|
111
111
|
]);
|
|
112
|
-
return <ark.div
|
|
112
|
+
return <ark.div class={cn('mt-6 flex justify-end gap-2', local.class)} {...others} data-slot="dialog-footer"/>;
|
|
113
113
|
}
|
|
114
114
|
const Dialog_Dialog = Object.assign(DialogRoot, {
|
|
115
115
|
Root: DialogRoot,
|