@nuxt/ui 3.1.0 → 3.1.2
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/.nuxt/ui/accordion.ts +2 -23
- package/.nuxt/ui/alert.ts +2 -28
- package/.nuxt/ui/avatar-group.ts +2 -23
- package/.nuxt/ui/avatar.ts +2 -23
- package/.nuxt/ui/badge.ts +32 -30
- package/.nuxt/ui/breadcrumb.ts +2 -23
- package/.nuxt/ui/button-group.ts +2 -36
- package/.nuxt/ui/button.ts +4 -30
- package/.nuxt/ui/calendar.ts +4 -25
- package/.nuxt/ui/card.ts +2 -23
- package/.nuxt/ui/carousel.ts +2 -28
- package/.nuxt/ui/checkbox-group.ts +146 -24
- package/.nuxt/ui/checkbox.ts +2 -23
- package/.nuxt/ui/chip.ts +2 -23
- package/.nuxt/ui/collapsible.ts +2 -23
- package/.nuxt/ui/color-picker.ts +4 -25
- package/.nuxt/ui/command-palette.ts +2 -23
- package/.nuxt/ui/container.ts +2 -23
- package/.nuxt/ui/context-menu.ts +2 -23
- package/.nuxt/ui/drawer.ts +2 -23
- package/.nuxt/ui/dropdown-menu.ts +2 -23
- package/.nuxt/ui/form-field.ts +2 -23
- package/.nuxt/ui/form.ts +2 -23
- package/.nuxt/ui/input-menu.ts +4 -34
- package/.nuxt/ui/input-number.ts +12 -23
- package/.nuxt/ui/input.ts +4 -34
- package/.nuxt/ui/kbd.ts +2 -23
- package/.nuxt/ui/link.ts +14 -28
- package/.nuxt/ui/modal.ts +2 -23
- package/.nuxt/ui/navigation-menu.ts +3 -24
- package/.nuxt/ui/pagination.ts +2 -23
- package/.nuxt/ui/pin-input.ts +2 -23
- package/.nuxt/ui/popover.ts +2 -23
- package/.nuxt/ui/progress.ts +2 -23
- package/.nuxt/ui/radio-group.ts +2 -23
- package/.nuxt/ui/select-menu.ts +4 -34
- package/.nuxt/ui/select.ts +4 -34
- package/.nuxt/ui/separator.ts +2 -23
- package/.nuxt/ui/skeleton.ts +2 -23
- package/.nuxt/ui/slideover.ts +2 -23
- package/.nuxt/ui/slider.ts +2 -23
- package/.nuxt/ui/stepper.ts +2 -23
- package/.nuxt/ui/switch.ts +2 -23
- package/.nuxt/ui/table.ts +2 -23
- package/.nuxt/ui/tabs.ts +6 -26
- package/.nuxt/ui/textarea.ts +4 -34
- package/.nuxt/ui/toast.ts +2 -28
- package/.nuxt/ui/toaster.ts +2 -23
- package/.nuxt/ui/tooltip.ts +2 -23
- package/.nuxt/ui/tree.ts +2 -23
- package/.nuxt/ui.css +15 -8
- package/README.md +4 -0
- package/cli/templates.mjs +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +15 -5
- package/dist/runtime/components/Accordion.vue +9 -9
- package/dist/runtime/components/Accordion.vue.d.ts +6 -20
- package/dist/runtime/components/Alert.vue +1 -1
- package/dist/runtime/components/Alert.vue.d.ts +7 -22
- package/dist/runtime/components/App.vue.d.ts +2 -2
- package/dist/runtime/components/Avatar.vue +2 -2
- package/dist/runtime/components/Avatar.vue.d.ts +4 -25
- package/dist/runtime/components/AvatarGroup.vue +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -11
- package/dist/runtime/components/Badge.vue +5 -3
- package/dist/runtime/components/Badge.vue.d.ts +5 -24
- package/dist/runtime/components/Breadcrumb.vue +8 -8
- package/dist/runtime/components/Breadcrumb.vue.d.ts +4 -20
- package/dist/runtime/components/Button.vue +2 -3
- package/dist/runtime/components/Button.vue.d.ts +4 -29
- package/dist/runtime/components/ButtonGroup.vue.d.ts +3 -24
- package/dist/runtime/components/Calendar.vue +2 -1
- package/dist/runtime/components/Calendar.vue.d.ts +6 -2
- package/dist/runtime/components/Card.vue +1 -1
- package/dist/runtime/components/Card.vue.d.ts +2 -11
- package/dist/runtime/components/Carousel.vue +5 -2
- package/dist/runtime/components/Carousel.vue.d.ts +10 -3
- package/dist/runtime/components/Checkbox.vue +2 -2
- package/dist/runtime/components/Checkbox.vue.d.ts +10 -13
- package/dist/runtime/components/CheckboxGroup.vue +8 -5
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +12 -3
- package/dist/runtime/components/Chip.vue +1 -1
- package/dist/runtime/components/Chip.vue.d.ts +10 -24
- package/dist/runtime/components/Collapsible.vue +1 -1
- package/dist/runtime/components/Collapsible.vue.d.ts +7 -22
- package/dist/runtime/components/ColorPicker.vue +1 -1
- package/dist/runtime/components/ColorPicker.vue.d.ts +9 -24
- package/dist/runtime/components/CommandPalette.vue +17 -17
- package/dist/runtime/components/CommandPalette.vue.d.ts +17 -27
- package/dist/runtime/components/Container.vue.d.ts +2 -11
- package/dist/runtime/components/ContextMenu.vue.d.ts +6 -24
- package/dist/runtime/components/ContextMenuContent.vue +15 -15
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +17 -57
- package/dist/runtime/components/Drawer.vue.d.ts +17 -27
- package/dist/runtime/components/DropdownMenu.vue.d.ts +6 -28
- package/dist/runtime/components/DropdownMenuContent.vue +15 -15
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +19 -6
- package/dist/runtime/components/Form.vue.d.ts +5 -2
- package/dist/runtime/components/FormField.vue +5 -5
- package/dist/runtime/components/FormField.vue.d.ts +2 -11
- package/dist/runtime/components/Icon.vue.d.ts +1 -10
- package/dist/runtime/components/Input.vue +2 -2
- package/dist/runtime/components/Input.vue.d.ts +20 -41
- package/dist/runtime/components/InputMenu.vue +17 -17
- package/dist/runtime/components/InputMenu.vue.d.ts +227 -5
- package/dist/runtime/components/InputNumber.vue +13 -7
- package/dist/runtime/components/InputNumber.vue.d.ts +90 -23
- package/dist/runtime/components/Kbd.vue.d.ts +3 -24
- package/dist/runtime/components/Link.vue +5 -14
- package/dist/runtime/components/Link.vue.d.ts +3 -34
- package/dist/runtime/components/LinkBase.vue.d.ts +4 -27
- package/dist/runtime/components/Modal.vue.d.ts +12 -28
- package/dist/runtime/components/NavigationMenu.vue +35 -28
- package/dist/runtime/components/NavigationMenu.vue.d.ts +24 -26
- package/dist/runtime/components/Pagination.vue +1 -1
- package/dist/runtime/components/Pagination.vue.d.ts +9 -33
- package/dist/runtime/components/PinInput.vue +1 -1
- package/dist/runtime/components/PinInput.vue.d.ts +13 -24
- package/dist/runtime/components/Popover.vue.d.ts +9 -26
- package/dist/runtime/components/Progress.vue +1 -1
- package/dist/runtime/components/Progress.vue.d.ts +10 -41
- package/dist/runtime/components/RadioGroup.vue +8 -8
- package/dist/runtime/components/RadioGroup.vue.d.ts +8 -3
- package/dist/runtime/components/Select.vue +12 -12
- package/dist/runtime/components/Select.vue.d.ts +11 -3
- package/dist/runtime/components/SelectMenu.vue +13 -13
- package/dist/runtime/components/SelectMenu.vue.d.ts +19 -5
- package/dist/runtime/components/Separator.vue +1 -1
- package/dist/runtime/components/Separator.vue.d.ts +3 -24
- package/dist/runtime/components/Skeleton.vue.d.ts +3 -12
- package/dist/runtime/components/Slideover.vue.d.ts +12 -29
- package/dist/runtime/components/Slider.vue +16 -4
- package/dist/runtime/components/Slider.vue.d.ts +23 -36
- package/dist/runtime/components/Stepper.vue +10 -10
- package/dist/runtime/components/Stepper.vue.d.ts +10 -14
- package/dist/runtime/components/Switch.vue +1 -1
- package/dist/runtime/components/Switch.vue.d.ts +10 -13
- package/dist/runtime/components/Table.vue +2 -2
- package/dist/runtime/components/Table.vue.d.ts +17 -17
- package/dist/runtime/components/Tabs.vue +6 -6
- package/dist/runtime/components/Tabs.vue.d.ts +6 -20
- package/dist/runtime/components/Textarea.vue +3 -3
- package/dist/runtime/components/Textarea.vue.d.ts +20 -44
- package/dist/runtime/components/Toast.vue +3 -2
- package/dist/runtime/components/Toast.vue.d.ts +92 -24
- package/dist/runtime/components/Toaster.vue +4 -4
- package/dist/runtime/components/Toaster.vue.d.ts +9 -28
- package/dist/runtime/components/Tooltip.vue.d.ts +7 -22
- package/dist/runtime/components/Tree.vue +10 -10
- package/dist/runtime/components/Tree.vue.d.ts +7 -22
- package/dist/runtime/composables/defineShortcuts.js +6 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
- package/dist/runtime/composables/useFormField.d.ts +2 -2
- package/dist/runtime/composables/useFormField.js +2 -1
- package/dist/runtime/composables/useKbd.d.ts +1 -0
- package/dist/runtime/composables/useKbd.js +4 -3
- package/dist/runtime/composables/useOverlay.d.ts +9 -10
- package/dist/runtime/composables/useOverlay.js +11 -6
- package/dist/runtime/inertia/components/Link.vue +46 -60
- package/dist/runtime/inertia/components/Link.vue.d.ts +4 -33
- package/dist/runtime/inertia/components/LinkBase.vue +68 -0
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +25 -0
- package/dist/runtime/inertia/stubs.d.ts +1 -1
- package/dist/runtime/inertia/stubs.js +1 -1
- package/dist/runtime/locale/index.d.ts +1 -0
- package/dist/runtime/locale/index.js +1 -0
- package/dist/runtime/locale/sl.d.ts +3 -0
- package/dist/runtime/locale/sl.js +54 -0
- package/dist/runtime/types/tv.d.ts +53 -0
- package/dist/runtime/types/tv.js +0 -0
- package/dist/runtime/types/utils.d.ts +2 -52
- package/dist/runtime/types/utils.js +1 -0
- package/dist/runtime/utils/link.d.ts +1 -0
- package/dist/runtime/utils/link.js +12 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -10
- package/dist/runtime/vue/components/Link.vue +27 -40
- package/dist/runtime/vue/components/Link.vue.d.ts +3 -34
- package/dist/runtime/vue/composables/useAppConfig.js +3 -1
- package/dist/runtime/vue/stubs.d.ts +1 -1
- package/dist/runtime/vue/stubs.js +1 -1
- package/dist/shared/{ui.D7lOOabO.mjs → ui.BvUP-pSb.mjs} +120 -27
- package/dist/unplugin.d.mts +2 -2
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +2 -2
- package/package.json +28 -27
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/checkbox-group"
|
|
2
|
-
|
|
3
1
|
const orientation = [
|
|
4
2
|
"horizontal",
|
|
5
3
|
"vertical"
|
|
6
4
|
] as const
|
|
7
5
|
|
|
6
|
+
const color = [
|
|
7
|
+
"primary",
|
|
8
|
+
"secondary",
|
|
9
|
+
"success",
|
|
10
|
+
"info",
|
|
11
|
+
"warning",
|
|
12
|
+
"error",
|
|
13
|
+
"neutral"
|
|
14
|
+
] as const
|
|
15
|
+
|
|
16
|
+
const variant = [
|
|
17
|
+
"list",
|
|
18
|
+
"card",
|
|
19
|
+
"table"
|
|
20
|
+
] as const
|
|
21
|
+
|
|
8
22
|
const size = [
|
|
9
23
|
"xs",
|
|
10
24
|
"sm",
|
|
@@ -13,24 +27,7 @@ const size = [
|
|
|
13
27
|
"xl"
|
|
14
28
|
] as const
|
|
15
29
|
|
|
16
|
-
|
|
17
|
-
"prefix": "U",
|
|
18
|
-
"fonts": true,
|
|
19
|
-
"colorMode": true,
|
|
20
|
-
"theme": {
|
|
21
|
-
"colors": [
|
|
22
|
-
"primary",
|
|
23
|
-
"secondary",
|
|
24
|
-
"success",
|
|
25
|
-
"info",
|
|
26
|
-
"warning",
|
|
27
|
-
"error"
|
|
28
|
-
],
|
|
29
|
-
"transitions": true
|
|
30
|
-
}
|
|
31
|
-
}) : template
|
|
32
|
-
|
|
33
|
-
const theme = {
|
|
30
|
+
export default {
|
|
34
31
|
"slots": {
|
|
35
32
|
"root": "relative",
|
|
36
33
|
"fieldset": "flex gap-x-2",
|
|
@@ -46,6 +43,22 @@ const theme = {
|
|
|
46
43
|
"fieldset": "flex-col"
|
|
47
44
|
}
|
|
48
45
|
},
|
|
46
|
+
"color": {
|
|
47
|
+
"primary": {},
|
|
48
|
+
"secondary": {},
|
|
49
|
+
"success": {},
|
|
50
|
+
"info": {},
|
|
51
|
+
"warning": {},
|
|
52
|
+
"error": {},
|
|
53
|
+
"neutral": {}
|
|
54
|
+
},
|
|
55
|
+
"variant": {
|
|
56
|
+
"list": {},
|
|
57
|
+
"card": {},
|
|
58
|
+
"table": {
|
|
59
|
+
"item": "border border-muted"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
49
62
|
"size": {
|
|
50
63
|
"xs": {
|
|
51
64
|
"fieldset": "gap-y-0.5",
|
|
@@ -74,9 +87,118 @@ const theme = {
|
|
|
74
87
|
}
|
|
75
88
|
}
|
|
76
89
|
},
|
|
90
|
+
"compoundVariants": [
|
|
91
|
+
{
|
|
92
|
+
"size": "xs" as typeof size[number],
|
|
93
|
+
"variant": "table" as typeof variant[number],
|
|
94
|
+
"class": {
|
|
95
|
+
"item": "p-2.5"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"size": "sm" as typeof size[number],
|
|
100
|
+
"variant": "table" as typeof variant[number],
|
|
101
|
+
"class": {
|
|
102
|
+
"item": "p-3"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"size": "md" as typeof size[number],
|
|
107
|
+
"variant": "table" as typeof variant[number],
|
|
108
|
+
"class": {
|
|
109
|
+
"item": "p-3.5"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"size": "lg" as typeof size[number],
|
|
114
|
+
"variant": "table" as typeof variant[number],
|
|
115
|
+
"class": {
|
|
116
|
+
"item": "p-4"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"size": "xl" as typeof size[number],
|
|
121
|
+
"variant": "table" as typeof variant[number],
|
|
122
|
+
"class": {
|
|
123
|
+
"item": "p-4.5"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
128
|
+
"variant": "table" as typeof variant[number],
|
|
129
|
+
"class": {
|
|
130
|
+
"item": "first-of-type:rounded-l-lg last-of-type:rounded-r-lg",
|
|
131
|
+
"fieldset": "gap-0 -space-x-px"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
136
|
+
"variant": "table" as typeof variant[number],
|
|
137
|
+
"class": {
|
|
138
|
+
"item": "first-of-type:rounded-t-lg last-of-type:rounded-b-lg",
|
|
139
|
+
"fieldset": "gap-0 -space-y-px"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"color": "primary" as typeof color[number],
|
|
144
|
+
"variant": "table" as typeof variant[number],
|
|
145
|
+
"class": {
|
|
146
|
+
"item": "has-data-[state=checked]:bg-primary/10 has-data-[state=checked]:border-primary/50 has-data-[state=checked]:z-[1]"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"color": "secondary" as typeof color[number],
|
|
151
|
+
"variant": "table" as typeof variant[number],
|
|
152
|
+
"class": {
|
|
153
|
+
"item": "has-data-[state=checked]:bg-secondary/10 has-data-[state=checked]:border-secondary/50 has-data-[state=checked]:z-[1]"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"color": "success" as typeof color[number],
|
|
158
|
+
"variant": "table" as typeof variant[number],
|
|
159
|
+
"class": {
|
|
160
|
+
"item": "has-data-[state=checked]:bg-success/10 has-data-[state=checked]:border-success/50 has-data-[state=checked]:z-[1]"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"color": "info" as typeof color[number],
|
|
165
|
+
"variant": "table" as typeof variant[number],
|
|
166
|
+
"class": {
|
|
167
|
+
"item": "has-data-[state=checked]:bg-info/10 has-data-[state=checked]:border-info/50 has-data-[state=checked]:z-[1]"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"color": "warning" as typeof color[number],
|
|
172
|
+
"variant": "table" as typeof variant[number],
|
|
173
|
+
"class": {
|
|
174
|
+
"item": "has-data-[state=checked]:bg-warning/10 has-data-[state=checked]:border-warning/50 has-data-[state=checked]:z-[1]"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"color": "error" as typeof color[number],
|
|
179
|
+
"variant": "table" as typeof variant[number],
|
|
180
|
+
"class": {
|
|
181
|
+
"item": "has-data-[state=checked]:bg-error/10 has-data-[state=checked]:border-error/50 has-data-[state=checked]:z-[1]"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"color": "neutral" as typeof color[number],
|
|
186
|
+
"variant": "table" as typeof variant[number],
|
|
187
|
+
"class": {
|
|
188
|
+
"item": "has-data-[state=checked]:bg-elevated has-data-[state=checked]:border-inverted/50 has-data-[state=checked]:z-[1]"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"variant": "table" as typeof variant[number],
|
|
193
|
+
"disabled": true,
|
|
194
|
+
"class": {
|
|
195
|
+
"item": "cursor-not-allowed opacity-75"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
],
|
|
77
199
|
"defaultVariants": {
|
|
78
|
-
"size": "md" as typeof size[number]
|
|
200
|
+
"size": "md" as typeof size[number],
|
|
201
|
+
"variant": "list" as typeof variant[number],
|
|
202
|
+
"color": "primary" as typeof color[number]
|
|
79
203
|
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export default result as typeof theme
|
|
204
|
+
}
|
package/.nuxt/ui/checkbox.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/checkbox"
|
|
2
|
-
|
|
3
1
|
const color = [
|
|
4
2
|
"primary",
|
|
5
3
|
"secondary",
|
|
@@ -29,24 +27,7 @@ const size = [
|
|
|
29
27
|
"xl"
|
|
30
28
|
] as const
|
|
31
29
|
|
|
32
|
-
|
|
33
|
-
"prefix": "U",
|
|
34
|
-
"fonts": true,
|
|
35
|
-
"colorMode": true,
|
|
36
|
-
"theme": {
|
|
37
|
-
"colors": [
|
|
38
|
-
"primary",
|
|
39
|
-
"secondary",
|
|
40
|
-
"success",
|
|
41
|
-
"info",
|
|
42
|
-
"warning",
|
|
43
|
-
"error"
|
|
44
|
-
],
|
|
45
|
-
"transitions": true
|
|
46
|
-
}
|
|
47
|
-
}) : template
|
|
48
|
-
|
|
49
|
-
const theme = {
|
|
30
|
+
export default {
|
|
50
31
|
"slots": {
|
|
51
32
|
"root": "relative flex items-start",
|
|
52
33
|
"container": "flex items-center",
|
|
@@ -252,6 +233,4 @@ const theme = {
|
|
|
252
233
|
"variant": "list" as typeof variant[number],
|
|
253
234
|
"indicator": "start" as typeof indicator[number]
|
|
254
235
|
}
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
export default result as typeof theme
|
|
236
|
+
}
|
package/.nuxt/ui/chip.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/chip"
|
|
2
|
-
|
|
3
1
|
const color = [
|
|
4
2
|
"primary",
|
|
5
3
|
"secondary",
|
|
@@ -29,24 +27,7 @@ const position = [
|
|
|
29
27
|
"bottom-left"
|
|
30
28
|
] as const
|
|
31
29
|
|
|
32
|
-
|
|
33
|
-
"prefix": "U",
|
|
34
|
-
"fonts": true,
|
|
35
|
-
"colorMode": true,
|
|
36
|
-
"theme": {
|
|
37
|
-
"colors": [
|
|
38
|
-
"primary",
|
|
39
|
-
"secondary",
|
|
40
|
-
"success",
|
|
41
|
-
"info",
|
|
42
|
-
"warning",
|
|
43
|
-
"error"
|
|
44
|
-
],
|
|
45
|
-
"transitions": true
|
|
46
|
-
}
|
|
47
|
-
}) : template
|
|
48
|
-
|
|
49
|
-
const theme = {
|
|
30
|
+
export default {
|
|
50
31
|
"slots": {
|
|
51
32
|
"root": "relative inline-flex items-center justify-center shrink-0",
|
|
52
33
|
"base": "rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap"
|
|
@@ -112,6 +93,4 @@ const theme = {
|
|
|
112
93
|
"color": "primary" as typeof color[number],
|
|
113
94
|
"position": "top-right" as typeof position[number]
|
|
114
95
|
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
export default result as typeof theme
|
|
96
|
+
}
|
package/.nuxt/ui/collapsible.ts
CHANGED
|
@@ -1,27 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"prefix": "U",
|
|
5
|
-
"fonts": true,
|
|
6
|
-
"colorMode": true,
|
|
7
|
-
"theme": {
|
|
8
|
-
"colors": [
|
|
9
|
-
"primary",
|
|
10
|
-
"secondary",
|
|
11
|
-
"success",
|
|
12
|
-
"info",
|
|
13
|
-
"warning",
|
|
14
|
-
"error"
|
|
15
|
-
],
|
|
16
|
-
"transitions": true
|
|
17
|
-
}
|
|
18
|
-
}) : template
|
|
19
|
-
|
|
20
|
-
const theme = {
|
|
1
|
+
export default {
|
|
21
2
|
"slots": {
|
|
22
3
|
"root": "",
|
|
23
4
|
"content": "data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden"
|
|
24
5
|
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export default result as typeof theme
|
|
6
|
+
}
|
package/.nuxt/ui/color-picker.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/color-picker"
|
|
2
|
-
|
|
3
1
|
const size = [
|
|
4
2
|
"xs",
|
|
5
3
|
"sm",
|
|
@@ -8,31 +6,14 @@ const size = [
|
|
|
8
6
|
"xl"
|
|
9
7
|
] as const
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
"prefix": "U",
|
|
13
|
-
"fonts": true,
|
|
14
|
-
"colorMode": true,
|
|
15
|
-
"theme": {
|
|
16
|
-
"colors": [
|
|
17
|
-
"primary",
|
|
18
|
-
"secondary",
|
|
19
|
-
"success",
|
|
20
|
-
"info",
|
|
21
|
-
"warning",
|
|
22
|
-
"error"
|
|
23
|
-
],
|
|
24
|
-
"transitions": true
|
|
25
|
-
}
|
|
26
|
-
}) : template
|
|
27
|
-
|
|
28
|
-
const theme = {
|
|
9
|
+
export default {
|
|
29
10
|
"slots": {
|
|
30
11
|
"root": "data-[disabled]:opacity-75",
|
|
31
12
|
"picker": "flex gap-4",
|
|
32
|
-
"selector": "rounded-md",
|
|
13
|
+
"selector": "rounded-md touch-none",
|
|
33
14
|
"selectorBackground": "w-full h-full relative rounded-md",
|
|
34
15
|
"selectorThumb": "-translate-y-1/2 -translate-x-1/2 absolute size-4 ring-2 ring-(--color-white) rounded-full cursor-pointer data-[disabled]:cursor-not-allowed",
|
|
35
|
-
"track": "w-[8px] relative rounded-md",
|
|
16
|
+
"track": "w-[8px] relative rounded-md touch-none",
|
|
36
17
|
"trackThumb": "absolute transform -translate-y-1/2 -translate-x-[4px] rtl:translate-x-[4px] size-4 rounded-full ring-2 ring-(--color-white) cursor-pointer data-[disabled]:cursor-not-allowed"
|
|
37
18
|
},
|
|
38
19
|
"variants": {
|
|
@@ -63,6 +44,4 @@ const theme = {
|
|
|
63
44
|
"defaultVariants": {
|
|
64
45
|
"size": "md" as typeof size[number]
|
|
65
46
|
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export default result as typeof theme
|
|
47
|
+
}
|
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"prefix": "U",
|
|
5
|
-
"fonts": true,
|
|
6
|
-
"colorMode": true,
|
|
7
|
-
"theme": {
|
|
8
|
-
"colors": [
|
|
9
|
-
"primary",
|
|
10
|
-
"secondary",
|
|
11
|
-
"success",
|
|
12
|
-
"info",
|
|
13
|
-
"warning",
|
|
14
|
-
"error"
|
|
15
|
-
],
|
|
16
|
-
"transitions": true
|
|
17
|
-
}
|
|
18
|
-
}) : template
|
|
19
|
-
|
|
20
|
-
const theme = {
|
|
1
|
+
export default {
|
|
21
2
|
"slots": {
|
|
22
3
|
"root": "flex flex-col min-h-0 min-w-0 divide-y divide-default",
|
|
23
4
|
"input": "[&>input]:h-12",
|
|
@@ -66,6 +47,4 @@ const theme = {
|
|
|
66
47
|
}
|
|
67
48
|
}
|
|
68
49
|
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export default result as typeof theme
|
|
50
|
+
}
|
package/.nuxt/ui/container.ts
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"prefix": "U",
|
|
5
|
-
"fonts": true,
|
|
6
|
-
"colorMode": true,
|
|
7
|
-
"theme": {
|
|
8
|
-
"colors": [
|
|
9
|
-
"primary",
|
|
10
|
-
"secondary",
|
|
11
|
-
"success",
|
|
12
|
-
"info",
|
|
13
|
-
"warning",
|
|
14
|
-
"error"
|
|
15
|
-
],
|
|
16
|
-
"transitions": true
|
|
17
|
-
}
|
|
18
|
-
}) : template
|
|
19
|
-
|
|
20
|
-
const theme = {
|
|
1
|
+
export default {
|
|
21
2
|
"base": "w-full max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8"
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default result as typeof theme
|
|
3
|
+
}
|
package/.nuxt/ui/context-menu.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/context-menu"
|
|
2
|
-
|
|
3
1
|
const color = [
|
|
4
2
|
"primary",
|
|
5
3
|
"secondary",
|
|
@@ -18,24 +16,7 @@ const size = [
|
|
|
18
16
|
"xl"
|
|
19
17
|
] as const
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
"prefix": "U",
|
|
23
|
-
"fonts": true,
|
|
24
|
-
"colorMode": true,
|
|
25
|
-
"theme": {
|
|
26
|
-
"colors": [
|
|
27
|
-
"primary",
|
|
28
|
-
"secondary",
|
|
29
|
-
"success",
|
|
30
|
-
"info",
|
|
31
|
-
"warning",
|
|
32
|
-
"error"
|
|
33
|
-
],
|
|
34
|
-
"transitions": true
|
|
35
|
-
}
|
|
36
|
-
}) : template
|
|
37
|
-
|
|
38
|
-
const theme = {
|
|
19
|
+
export default {
|
|
39
20
|
"slots": {
|
|
40
21
|
"content": "min-w-32 bg-default shadow-lg rounded-md ring ring-default divide-y divide-default overflow-y-auto scroll-py-1 data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-context-menu-content-transform-origin)",
|
|
41
22
|
"group": "p-1 isolate",
|
|
@@ -232,6 +213,4 @@ const theme = {
|
|
|
232
213
|
"defaultVariants": {
|
|
233
214
|
"size": "md" as typeof size[number]
|
|
234
215
|
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
export default result as typeof theme
|
|
216
|
+
}
|
package/.nuxt/ui/drawer.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/drawer"
|
|
2
|
-
|
|
3
1
|
const direction = [
|
|
4
2
|
"top",
|
|
5
3
|
"right",
|
|
@@ -7,24 +5,7 @@ const direction = [
|
|
|
7
5
|
"left"
|
|
8
6
|
] as const
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
"prefix": "U",
|
|
12
|
-
"fonts": true,
|
|
13
|
-
"colorMode": true,
|
|
14
|
-
"theme": {
|
|
15
|
-
"colors": [
|
|
16
|
-
"primary",
|
|
17
|
-
"secondary",
|
|
18
|
-
"success",
|
|
19
|
-
"info",
|
|
20
|
-
"warning",
|
|
21
|
-
"error"
|
|
22
|
-
],
|
|
23
|
-
"transitions": true
|
|
24
|
-
}
|
|
25
|
-
}) : template
|
|
26
|
-
|
|
27
|
-
const theme = {
|
|
8
|
+
export default {
|
|
28
9
|
"slots": {
|
|
29
10
|
"overlay": "fixed inset-0 bg-elevated/75",
|
|
30
11
|
"content": "fixed bg-default ring ring-default flex focus:outline-none",
|
|
@@ -142,6 +123,4 @@ const theme = {
|
|
|
142
123
|
}
|
|
143
124
|
}
|
|
144
125
|
]
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export default result as typeof theme
|
|
126
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/dropdown-menu"
|
|
2
|
-
|
|
3
1
|
const color = [
|
|
4
2
|
"primary",
|
|
5
3
|
"secondary",
|
|
@@ -18,24 +16,7 @@ const size = [
|
|
|
18
16
|
"xl"
|
|
19
17
|
] as const
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
"prefix": "U",
|
|
23
|
-
"fonts": true,
|
|
24
|
-
"colorMode": true,
|
|
25
|
-
"theme": {
|
|
26
|
-
"colors": [
|
|
27
|
-
"primary",
|
|
28
|
-
"secondary",
|
|
29
|
-
"success",
|
|
30
|
-
"info",
|
|
31
|
-
"warning",
|
|
32
|
-
"error"
|
|
33
|
-
],
|
|
34
|
-
"transitions": true
|
|
35
|
-
}
|
|
36
|
-
}) : template
|
|
37
|
-
|
|
38
|
-
const theme = {
|
|
19
|
+
export default {
|
|
39
20
|
"slots": {
|
|
40
21
|
"content": "min-w-32 bg-default shadow-lg rounded-md ring ring-default divide-y divide-default overflow-y-auto scroll-py-1 data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin)",
|
|
41
22
|
"arrow": "fill-default",
|
|
@@ -233,6 +214,4 @@ const theme = {
|
|
|
233
214
|
"defaultVariants": {
|
|
234
215
|
"size": "md" as typeof size[number]
|
|
235
216
|
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
export default result as typeof theme
|
|
217
|
+
}
|
package/.nuxt/ui/form-field.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/form-field"
|
|
2
|
-
|
|
3
1
|
const size = [
|
|
4
2
|
"xs",
|
|
5
3
|
"sm",
|
|
@@ -8,24 +6,7 @@ const size = [
|
|
|
8
6
|
"xl"
|
|
9
7
|
] as const
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
"prefix": "U",
|
|
13
|
-
"fonts": true,
|
|
14
|
-
"colorMode": true,
|
|
15
|
-
"theme": {
|
|
16
|
-
"colors": [
|
|
17
|
-
"primary",
|
|
18
|
-
"secondary",
|
|
19
|
-
"success",
|
|
20
|
-
"info",
|
|
21
|
-
"warning",
|
|
22
|
-
"error"
|
|
23
|
-
],
|
|
24
|
-
"transitions": true
|
|
25
|
-
}
|
|
26
|
-
}) : template
|
|
27
|
-
|
|
28
|
-
const theme = {
|
|
9
|
+
export default {
|
|
29
10
|
"slots": {
|
|
30
11
|
"root": "",
|
|
31
12
|
"wrapper": "",
|
|
@@ -64,6 +45,4 @@ const theme = {
|
|
|
64
45
|
"defaultVariants": {
|
|
65
46
|
"size": "md" as typeof size[number]
|
|
66
47
|
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export default result as typeof theme
|
|
48
|
+
}
|
package/.nuxt/ui/form.ts
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"prefix": "U",
|
|
5
|
-
"fonts": true,
|
|
6
|
-
"colorMode": true,
|
|
7
|
-
"theme": {
|
|
8
|
-
"colors": [
|
|
9
|
-
"primary",
|
|
10
|
-
"secondary",
|
|
11
|
-
"success",
|
|
12
|
-
"info",
|
|
13
|
-
"warning",
|
|
14
|
-
"error"
|
|
15
|
-
],
|
|
16
|
-
"transitions": true
|
|
17
|
-
}
|
|
18
|
-
}) : template
|
|
19
|
-
|
|
20
|
-
const theme = {
|
|
1
|
+
export default {
|
|
21
2
|
"base": ""
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default result as typeof theme
|
|
3
|
+
}
|
package/.nuxt/ui/input-menu.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/ui/ui/src/theme/input-menu"
|
|
2
|
-
|
|
3
|
-
const buttonGroup = [
|
|
4
|
-
"horizontal",
|
|
5
|
-
"vertical"
|
|
6
|
-
] as const
|
|
7
|
-
|
|
8
1
|
const size = [
|
|
9
2
|
"xs",
|
|
10
3
|
"sm",
|
|
@@ -31,28 +24,7 @@ const color = [
|
|
|
31
24
|
"neutral"
|
|
32
25
|
] as const
|
|
33
26
|
|
|
34
|
-
|
|
35
|
-
"file"
|
|
36
|
-
] as const
|
|
37
|
-
|
|
38
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
39
|
-
"prefix": "U",
|
|
40
|
-
"fonts": true,
|
|
41
|
-
"colorMode": true,
|
|
42
|
-
"theme": {
|
|
43
|
-
"colors": [
|
|
44
|
-
"primary",
|
|
45
|
-
"secondary",
|
|
46
|
-
"success",
|
|
47
|
-
"info",
|
|
48
|
-
"warning",
|
|
49
|
-
"error"
|
|
50
|
-
],
|
|
51
|
-
"transitions": true
|
|
52
|
-
}
|
|
53
|
-
}) : template
|
|
54
|
-
|
|
55
|
-
const theme = {
|
|
27
|
+
export default {
|
|
56
28
|
"slots": {
|
|
57
29
|
"root": "relative inline-flex items-center",
|
|
58
30
|
"base": [
|
|
@@ -99,11 +71,11 @@ const theme = {
|
|
|
99
71
|
"variants": {
|
|
100
72
|
"buttonGroup": {
|
|
101
73
|
"horizontal": {
|
|
102
|
-
"root": "group",
|
|
74
|
+
"root": "group has-focus-visible:z-[1]",
|
|
103
75
|
"base": "group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"
|
|
104
76
|
},
|
|
105
77
|
"vertical": {
|
|
106
|
-
"root": "group",
|
|
78
|
+
"root": "group has-focus-visible:z-[1]",
|
|
107
79
|
"base": "group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"
|
|
108
80
|
}
|
|
109
81
|
},
|
|
@@ -461,6 +433,4 @@ const theme = {
|
|
|
461
433
|
"color": "primary" as typeof color[number],
|
|
462
434
|
"variant": "outline" as typeof variant[number]
|
|
463
435
|
}
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
export default result as typeof theme
|
|
436
|
+
}
|