@fy-/fws-vue 0.3.0 → 0.3.1
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/package.json +1 -11
- package/presets/Lara/accordion/index.js +0 -86
- package/presets/Lara/autocomplete/index.js +0 -284
- package/presets/Lara/avatar/index.js +0 -46
- package/presets/Lara/badge/index.js +0 -44
- package/presets/Lara/badgedirective/index.js +0 -49
- package/presets/Lara/blockui/index.js +0 -8
- package/presets/Lara/breadcrumb/index.js +0 -64
- package/presets/Lara/button/index.js +0 -470
- package/presets/Lara/calendar/index.js +0 -683
- package/presets/Lara/card/index.js +0 -37
- package/presets/Lara/carousel/index.js +0 -152
- package/presets/Lara/cascadeselect/index.js +0 -228
- package/presets/Lara/checkbox/index.js +0 -106
- package/presets/Lara/chip/index.js +0 -45
- package/presets/Lara/chips/index.js +0 -118
- package/presets/Lara/colorpicker/index.js +0 -129
- package/presets/Lara/confirmpopup/index.js +0 -107
- package/presets/Lara/contextmenu/index.js +0 -130
- package/presets/Lara/datatable/index.js +0 -1289
- package/presets/Lara/dataview/index.js +0 -40
- package/presets/Lara/deferred/index.js +0 -3
- package/presets/Lara/dialog/index.js +0 -249
- package/presets/Lara/divider/index.js +0 -72
- package/presets/Lara/dock/index.js +0 -97
- package/presets/Lara/dropdown/index.js +0 -300
- package/presets/Lara/fieldset/index.js +0 -98
- package/presets/Lara/fileupload/index.js +0 -173
- package/presets/Lara/floatlabel/index.js +0 -26
- package/presets/Lara/galleria/index.js +0 -351
- package/presets/Lara/global.js +0 -90
- package/presets/Lara/iconfield/index.js +0 -22
- package/presets/Lara/image/index.js +0 -206
- package/presets/Lara/index.js +0 -181
- package/presets/Lara/inlinemessage/index.js +0 -36
- package/presets/Lara/inplace/index.js +0 -27
- package/presets/Lara/inputgroup/index.js +0 -5
- package/presets/Lara/inputgroupaddon/index.js +0 -28
- package/presets/Lara/inputmask/index.js +0 -37
- package/presets/Lara/inputnumber/index.js +0 -253
- package/presets/Lara/inputotp/index.js +0 -72
- package/presets/Lara/inputswitch/index.js +0 -93
- package/presets/Lara/inputtext/index.js +0 -61
- package/presets/Lara/knob/index.js +0 -47
- package/presets/Lara/listbox/index.js +0 -170
- package/presets/Lara/megamenu/index.js +0 -207
- package/presets/Lara/menu/index.js +0 -98
- package/presets/Lara/menubar/index.js +0 -181
- package/presets/Lara/message/index.js +0 -87
- package/presets/Lara/metergroup/index.js +0 -110
- package/presets/Lara/multiselect/index.js +0 -589
- package/presets/Lara/orderlist/index.js +0 -266
- package/presets/Lara/organizationchart/index.js +0 -142
- package/presets/Lara/overlaypanel/index.js +0 -41
- package/presets/Lara/paginator/index.js +0 -590
- package/presets/Lara/panel/index.js +0 -93
- package/presets/Lara/panelmenu/index.js +0 -139
- package/presets/Lara/password/index.js +0 -140
- package/presets/Lara/picklist/index.js +0 -659
- package/presets/Lara/progressbar/index.js +0 -61
- package/presets/Lara/progressspinner/index.js +0 -51
- package/presets/Lara/radiobutton/index.js +0 -116
- package/presets/Lara/rating/index.js +0 -95
- package/presets/Lara/ripple/index.js +0 -6
- package/presets/Lara/scrollpanel/index.js +0 -77
- package/presets/Lara/scrolltop/index.js +0 -45
- package/presets/Lara/selectbutton/index.js +0 -60
- package/presets/Lara/sidebar/index.js +0 -163
- package/presets/Lara/skeleton/index.js +0 -19
- package/presets/Lara/slider/index.js +0 -149
- package/presets/Lara/speeddial/index.js +0 -535
- package/presets/Lara/splitbutton/index.js +0 -1081
- package/presets/Lara/splitter/index.js +0 -64
- package/presets/Lara/stepper/index.js +0 -183
- package/presets/Lara/steps/index.js +0 -115
- package/presets/Lara/tabmenu/index.js +0 -82
- package/presets/Lara/tabview/index.js +0 -166
- package/presets/Lara/tag/index.js +0 -37
- package/presets/Lara/terminal/index.js +0 -60
- package/presets/Lara/textarea/index.js +0 -39
- package/presets/Lara/tieredmenu/index.js +0 -125
- package/presets/Lara/timeline/index.js +0 -107
- package/presets/Lara/toast/index.js +0 -113
- package/presets/Lara/togglebutton/index.js +0 -100
- package/presets/Lara/toolbar/index.js +0 -28
- package/presets/Lara/tooltip/index.js +0 -73
- package/presets/Lara/tree/index.js +0 -281
- package/presets/Lara/treeselect/index.js +0 -387
- package/presets/Lara/treetable/index.js +0 -509
- package/presets/Lara/tristatecheckbox/index.js +0 -112
- package/presets/Wind/accordion/index.js +0 -75
- package/presets/Wind/autocomplete/index.js +0 -294
- package/presets/Wind/avatar/index.js +0 -48
- package/presets/Wind/badge/index.js +0 -43
- package/presets/Wind/badgedirective/index.js +0 -50
- package/presets/Wind/blockui/index.js +0 -8
- package/presets/Wind/breadcrumb/index.js +0 -45
- package/presets/Wind/button/index.js +0 -474
- package/presets/Wind/calendar/index.js +0 -659
- package/presets/Wind/card/index.js +0 -40
- package/presets/Wind/carousel/index.js +0 -152
- package/presets/Wind/cascadeselect/index.js +0 -225
- package/presets/Wind/checkbox/index.js +0 -112
- package/presets/Wind/chip/index.js +0 -45
- package/presets/Wind/chips/index.js +0 -120
- package/presets/Wind/colorpicker/index.js +0 -129
- package/presets/Wind/confirmpopup/index.js +0 -123
- package/presets/Wind/contextmenu/index.js +0 -128
- package/presets/Wind/datatable/index.js +0 -1330
- package/presets/Wind/dataview/index.js +0 -40
- package/presets/Wind/deferred/index.js +0 -3
- package/presets/Wind/dialog/index.js +0 -251
- package/presets/Wind/divider/index.js +0 -72
- package/presets/Wind/dock/index.js +0 -97
- package/presets/Wind/dropdown/index.js +0 -287
- package/presets/Wind/fieldset/index.js +0 -99
- package/presets/Wind/fileupload/index.js +0 -173
- package/presets/Wind/floatlabel/index.js +0 -26
- package/presets/Wind/galleria/index.js +0 -351
- package/presets/Wind/global.js +0 -77
- package/presets/Wind/iconfield/index.js +0 -22
- package/presets/Wind/image/index.js +0 -206
- package/presets/Wind/index.js +0 -181
- package/presets/Wind/inlinemessage/index.js +0 -29
- package/presets/Wind/inplace/index.js +0 -30
- package/presets/Wind/inputgroup/index.js +0 -5
- package/presets/Wind/inputgroupaddon/index.js +0 -28
- package/presets/Wind/inputmask/index.js +0 -34
- package/presets/Wind/inputnumber/index.js +0 -244
- package/presets/Wind/inputotp/index.js +0 -72
- package/presets/Wind/inputswitch/index.js +0 -106
- package/presets/Wind/inputtext/index.js +0 -61
- package/presets/Wind/knob/index.js +0 -47
- package/presets/Wind/listbox/index.js +0 -159
- package/presets/Wind/megamenu/index.js +0 -218
- package/presets/Wind/menu/index.js +0 -111
- package/presets/Wind/menubar/index.js +0 -188
- package/presets/Wind/message/index.js +0 -87
- package/presets/Wind/metergroup/index.js +0 -110
- package/presets/Wind/multiselect/index.js +0 -619
- package/presets/Wind/orderlist/index.js +0 -275
- package/presets/Wind/organizationchart/index.js +0 -143
- package/presets/Wind/overlaypanel/index.js +0 -42
- package/presets/Wind/paginator/index.js +0 -596
- package/presets/Wind/panel/index.js +0 -95
- package/presets/Wind/panelmenu/index.js +0 -136
- package/presets/Wind/password/index.js +0 -141
- package/presets/Wind/picklist/index.js +0 -684
- package/presets/Wind/progressbar/index.js +0 -68
- package/presets/Wind/progressspinner/index.js +0 -51
- package/presets/Wind/radiobutton/index.js +0 -92
- package/presets/Wind/rating/index.js +0 -86
- package/presets/Wind/ripple/index.js +0 -6
- package/presets/Wind/scrollpanel/index.js +0 -77
- package/presets/Wind/scrolltop/index.js +0 -45
- package/presets/Wind/selectbutton/index.js +0 -58
- package/presets/Wind/sidebar/index.js +0 -165
- package/presets/Wind/skeleton/index.js +0 -19
- package/presets/Wind/slider/index.js +0 -135
- package/presets/Wind/speeddial/index.js +0 -536
- package/presets/Wind/splitbutton/index.js +0 -1078
- package/presets/Wind/splitter/index.js +0 -64
- package/presets/Wind/stepper/index.js +0 -180
- package/presets/Wind/steps/index.js +0 -132
- package/presets/Wind/tabmenu/index.js +0 -84
- package/presets/Wind/tabview/index.js +0 -168
- package/presets/Wind/tag/index.js +0 -37
- package/presets/Wind/terminal/index.js +0 -60
- package/presets/Wind/textarea/index.js +0 -40
- package/presets/Wind/tieredmenu/index.js +0 -121
- package/presets/Wind/timeline/index.js +0 -107
- package/presets/Wind/toast/index.js +0 -111
- package/presets/Wind/togglebutton/index.js +0 -91
- package/presets/Wind/toolbar/index.js +0 -30
- package/presets/Wind/tooltip/index.js +0 -43
- package/presets/Wind/tree/index.js +0 -300
- package/presets/Wind/treeselect/index.js +0 -404
- package/presets/Wind/treetable/index.js +0 -505
- package/presets/Wind/tristatecheckbox/index.js +0 -118
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: ({ props, state }) => ({
|
|
3
|
-
class: [
|
|
4
|
-
// Display and Position
|
|
5
|
-
"inline-flex",
|
|
6
|
-
"relative",
|
|
7
|
-
|
|
8
|
-
// Shape
|
|
9
|
-
"rounded-md",
|
|
10
|
-
|
|
11
|
-
// Color and Background
|
|
12
|
-
"bg-surface-0 dark:bg-surface-900",
|
|
13
|
-
"border",
|
|
14
|
-
{ "border-surface-300 dark:border-surface-600": !props.invalid },
|
|
15
|
-
|
|
16
|
-
// Invalid State
|
|
17
|
-
{ "border-red-500 dark:border-red-400": props.invalid },
|
|
18
|
-
|
|
19
|
-
// Transitions
|
|
20
|
-
"transition-all",
|
|
21
|
-
"duration-200",
|
|
22
|
-
|
|
23
|
-
// States
|
|
24
|
-
{
|
|
25
|
-
"hover:border-primary-500 dark:hover:border-primary-300":
|
|
26
|
-
!props.invalid,
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50":
|
|
30
|
-
state.focused,
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
// Misc
|
|
34
|
-
"cursor-pointer",
|
|
35
|
-
"select-none",
|
|
36
|
-
{
|
|
37
|
-
"opacity-60": props.disabled,
|
|
38
|
-
"pointer-events-none": props.disabled,
|
|
39
|
-
"cursor-default": props.disabled,
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
}),
|
|
43
|
-
input: ({ props }) => ({
|
|
44
|
-
class: [
|
|
45
|
-
// Font
|
|
46
|
-
"font-sans",
|
|
47
|
-
"leading-none",
|
|
48
|
-
|
|
49
|
-
// Display
|
|
50
|
-
"block",
|
|
51
|
-
"flex-auto",
|
|
52
|
-
|
|
53
|
-
// Color and Background
|
|
54
|
-
"bg-transparent",
|
|
55
|
-
"border-0",
|
|
56
|
-
{
|
|
57
|
-
"text-surface-800 dark:text-white/80": props.modelValue != undefined,
|
|
58
|
-
"text-surface-400 dark:text-surface-500": props.modelValue == undefined,
|
|
59
|
-
},
|
|
60
|
-
"placeholder:text-surface-400 dark:placeholder:text-surface-500",
|
|
61
|
-
|
|
62
|
-
// Sizing and Spacing
|
|
63
|
-
"w-[1%]",
|
|
64
|
-
"p-3",
|
|
65
|
-
{ "pr-7": props.showClear },
|
|
66
|
-
|
|
67
|
-
// Shape
|
|
68
|
-
"rounded-none",
|
|
69
|
-
|
|
70
|
-
// Transitions
|
|
71
|
-
"transition",
|
|
72
|
-
"duration-200",
|
|
73
|
-
|
|
74
|
-
// States
|
|
75
|
-
"focus:outline-none focus:shadow-none",
|
|
76
|
-
|
|
77
|
-
// Misc
|
|
78
|
-
"relative",
|
|
79
|
-
"cursor-pointer",
|
|
80
|
-
"overflow-hidden overflow-ellipsis",
|
|
81
|
-
"whitespace-nowrap",
|
|
82
|
-
"appearance-none",
|
|
83
|
-
],
|
|
84
|
-
}),
|
|
85
|
-
trigger: {
|
|
86
|
-
class: [
|
|
87
|
-
// Flexbox
|
|
88
|
-
"flex items-center justify-center",
|
|
89
|
-
"shrink-0",
|
|
90
|
-
|
|
91
|
-
// Color and Background
|
|
92
|
-
"bg-transparent",
|
|
93
|
-
"text-surface-500",
|
|
94
|
-
|
|
95
|
-
// Size
|
|
96
|
-
"w-12",
|
|
97
|
-
|
|
98
|
-
// Shape
|
|
99
|
-
"rounded-tr-md",
|
|
100
|
-
"rounded-br-md",
|
|
101
|
-
],
|
|
102
|
-
},
|
|
103
|
-
panel: {
|
|
104
|
-
class: [
|
|
105
|
-
// Position
|
|
106
|
-
"absolute top-0 left-0",
|
|
107
|
-
|
|
108
|
-
// Shape
|
|
109
|
-
"border-0 dark:border",
|
|
110
|
-
"rounded-md",
|
|
111
|
-
"shadow-md",
|
|
112
|
-
|
|
113
|
-
// Color
|
|
114
|
-
"bg-surface-0 dark:bg-surface-800",
|
|
115
|
-
"text-surface-800 dark:text-white/80",
|
|
116
|
-
"dark:border-surface-700",
|
|
117
|
-
],
|
|
118
|
-
},
|
|
119
|
-
wrapper: {
|
|
120
|
-
class: [
|
|
121
|
-
// Sizing
|
|
122
|
-
"max-h-[200px]",
|
|
123
|
-
|
|
124
|
-
// Misc
|
|
125
|
-
"overflow-auto",
|
|
126
|
-
],
|
|
127
|
-
},
|
|
128
|
-
list: {
|
|
129
|
-
class: "py-3 list-none m-0",
|
|
130
|
-
},
|
|
131
|
-
item: ({ context }) => ({
|
|
132
|
-
class: [
|
|
133
|
-
// Font
|
|
134
|
-
"font-normal",
|
|
135
|
-
"leading-none",
|
|
136
|
-
|
|
137
|
-
// Position
|
|
138
|
-
"relative",
|
|
139
|
-
|
|
140
|
-
// Shape
|
|
141
|
-
"border-0",
|
|
142
|
-
"rounded-none",
|
|
143
|
-
|
|
144
|
-
// Spacing
|
|
145
|
-
"m-0",
|
|
146
|
-
"py-3 px-5",
|
|
147
|
-
|
|
148
|
-
// Color
|
|
149
|
-
{
|
|
150
|
-
"text-surface-700 dark:text-white/80":
|
|
151
|
-
!context.focused && !context.selected && !context.disabled,
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"text-surface-600 dark:text-white/70":
|
|
155
|
-
!context.focused && !context.selected && context.disabled,
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80":
|
|
159
|
-
context.focused && !context.selected,
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80":
|
|
163
|
-
context.focused && context.selected,
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80":
|
|
167
|
-
!context.focused && context.selected,
|
|
168
|
-
},
|
|
169
|
-
|
|
170
|
-
// States
|
|
171
|
-
{
|
|
172
|
-
"hover:bg-surface-100 dark:hover:bg-surface-600/80":
|
|
173
|
-
!context.focused && !context.selected,
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80":
|
|
177
|
-
context.focused && !context.selected,
|
|
178
|
-
},
|
|
179
|
-
"focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50",
|
|
180
|
-
|
|
181
|
-
// Transitions
|
|
182
|
-
"transition-shadow",
|
|
183
|
-
"duration-200",
|
|
184
|
-
|
|
185
|
-
// Misc
|
|
186
|
-
{ "pointer-events-none cursor-default": context.disabled },
|
|
187
|
-
{ "cursor-pointer": !context.disabled },
|
|
188
|
-
"overflow-hidden",
|
|
189
|
-
"whitespace-nowrap",
|
|
190
|
-
],
|
|
191
|
-
}),
|
|
192
|
-
itemgroup: {
|
|
193
|
-
class: [
|
|
194
|
-
// Font
|
|
195
|
-
"font-bold",
|
|
196
|
-
|
|
197
|
-
// Spacing
|
|
198
|
-
"m-0",
|
|
199
|
-
"py-3 px-5",
|
|
200
|
-
|
|
201
|
-
// Color
|
|
202
|
-
"text-surface-800 dark:text-white/80",
|
|
203
|
-
"bg-surface-0 dark:bg-surface-600/80",
|
|
204
|
-
|
|
205
|
-
// Misc
|
|
206
|
-
"cursor-auto",
|
|
207
|
-
],
|
|
208
|
-
},
|
|
209
|
-
emptymessage: {
|
|
210
|
-
class: [
|
|
211
|
-
// Font
|
|
212
|
-
"leading-none",
|
|
213
|
-
|
|
214
|
-
// Spacing
|
|
215
|
-
"py-3 px-5",
|
|
216
|
-
|
|
217
|
-
// Color
|
|
218
|
-
"text-surface-800 dark:text-white/80",
|
|
219
|
-
"bg-transparent",
|
|
220
|
-
],
|
|
221
|
-
},
|
|
222
|
-
header: {
|
|
223
|
-
class: [
|
|
224
|
-
// Spacing
|
|
225
|
-
"py-3 px-5",
|
|
226
|
-
"m-0",
|
|
227
|
-
|
|
228
|
-
// Shape
|
|
229
|
-
"border-b",
|
|
230
|
-
"rounded-tl-md",
|
|
231
|
-
"rounded-tr-md",
|
|
232
|
-
|
|
233
|
-
// Color
|
|
234
|
-
"text-surface-700 dark:text-white/80",
|
|
235
|
-
"bg-surface-100 dark:bg-surface-800",
|
|
236
|
-
"border-surface-300 dark:border-surface-700",
|
|
237
|
-
],
|
|
238
|
-
},
|
|
239
|
-
filtercontainer: {
|
|
240
|
-
class: "relative",
|
|
241
|
-
},
|
|
242
|
-
filterinput: {
|
|
243
|
-
class: [
|
|
244
|
-
// Font
|
|
245
|
-
"font-sans",
|
|
246
|
-
"leading-none",
|
|
247
|
-
|
|
248
|
-
// Sizing
|
|
249
|
-
"pr-7 py-3 px-3",
|
|
250
|
-
"-mr-7",
|
|
251
|
-
"w-full",
|
|
252
|
-
|
|
253
|
-
// Color
|
|
254
|
-
"text-surface-700 dark:text-white/80",
|
|
255
|
-
"bg-surface-0 dark:bg-surface-900",
|
|
256
|
-
"border-surface-200 dark:border-surface-700",
|
|
257
|
-
|
|
258
|
-
// Shape
|
|
259
|
-
"border",
|
|
260
|
-
"rounded-lg",
|
|
261
|
-
"appearance-none",
|
|
262
|
-
|
|
263
|
-
// Transitions
|
|
264
|
-
"transition",
|
|
265
|
-
"duration-200",
|
|
266
|
-
|
|
267
|
-
// States
|
|
268
|
-
"hover:border-primary-500 dark:hover:border-primary-300",
|
|
269
|
-
"focus:ring focus:outline-none focus:outline-offset-0",
|
|
270
|
-
"focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
|
|
271
|
-
|
|
272
|
-
// Misc
|
|
273
|
-
"appearance-none",
|
|
274
|
-
],
|
|
275
|
-
},
|
|
276
|
-
filtericon: {
|
|
277
|
-
class: ["absolute", "top-1/2 right-3", "-mt-2"],
|
|
278
|
-
},
|
|
279
|
-
clearicon: {
|
|
280
|
-
class: [
|
|
281
|
-
// Color
|
|
282
|
-
"text-surface-500",
|
|
283
|
-
|
|
284
|
-
// Position
|
|
285
|
-
"absolute",
|
|
286
|
-
"top-1/2",
|
|
287
|
-
"right-12",
|
|
288
|
-
|
|
289
|
-
// Spacing
|
|
290
|
-
"-mt-2",
|
|
291
|
-
],
|
|
292
|
-
},
|
|
293
|
-
transition: {
|
|
294
|
-
enterFromClass: "opacity-0 scale-y-[0.8]",
|
|
295
|
-
enterActiveClass:
|
|
296
|
-
"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",
|
|
297
|
-
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
298
|
-
leaveToClass: "opacity-0",
|
|
299
|
-
},
|
|
300
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: [
|
|
4
|
-
"block",
|
|
5
|
-
|
|
6
|
-
// Spacing
|
|
7
|
-
"px-4 pt-2 py-3",
|
|
8
|
-
"inline-size-min",
|
|
9
|
-
|
|
10
|
-
// Shape
|
|
11
|
-
"rounded-md",
|
|
12
|
-
// Color
|
|
13
|
-
"border border-surface-200 dark:border-surface-700",
|
|
14
|
-
"bg-surface-0 dark:bg-surface-900",
|
|
15
|
-
"text-surface-700 dark:text-surface-0/80",
|
|
16
|
-
],
|
|
17
|
-
},
|
|
18
|
-
legend: ({ props }) => ({
|
|
19
|
-
class: [
|
|
20
|
-
// Font
|
|
21
|
-
"font-bold",
|
|
22
|
-
"leading-none",
|
|
23
|
-
|
|
24
|
-
// Spacing
|
|
25
|
-
{ "p-0": props.toggleable, "p-5": !props.toggleable },
|
|
26
|
-
|
|
27
|
-
// Shape
|
|
28
|
-
"rounded-md",
|
|
29
|
-
|
|
30
|
-
// Color
|
|
31
|
-
"text-surface-700 dark:text-surface-0/80",
|
|
32
|
-
"border border-surface-200 dark:border-surface-700",
|
|
33
|
-
"bg-surface-50 dark:bg-surface-900",
|
|
34
|
-
|
|
35
|
-
// Transition
|
|
36
|
-
"transition-none",
|
|
37
|
-
|
|
38
|
-
// States
|
|
39
|
-
{
|
|
40
|
-
"hover:bg-surface-100 hover:border-surface-200 hover:text-surface-900 dark:hover:text-surface-0/80 dark:hover:bg-surface-800/80":
|
|
41
|
-
props.toggleable,
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
}),
|
|
45
|
-
toggler: ({ props }) => ({
|
|
46
|
-
class: [
|
|
47
|
-
// Alignments
|
|
48
|
-
"flex items-center justify-center",
|
|
49
|
-
"relative",
|
|
50
|
-
|
|
51
|
-
// Spacing
|
|
52
|
-
{ "p-5": props.toggleable },
|
|
53
|
-
|
|
54
|
-
// Shape
|
|
55
|
-
{ "rounded-md": props.toggleable },
|
|
56
|
-
|
|
57
|
-
// Color
|
|
58
|
-
{
|
|
59
|
-
"text-surface-700 dark:text-surface-200 hover:text-surface-900":
|
|
60
|
-
props.toggleable,
|
|
61
|
-
},
|
|
62
|
-
|
|
63
|
-
// States
|
|
64
|
-
{
|
|
65
|
-
"hover:text-surface-900 dark:hover:text-surface-100": props.toggleable,
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50":
|
|
69
|
-
props.toggleable,
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
// Misc
|
|
73
|
-
{
|
|
74
|
-
"transition-none cursor-pointer overflow-hidden select-none":
|
|
75
|
-
props.toggleable,
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
}),
|
|
79
|
-
togglerIcon: {
|
|
80
|
-
class: "mr-2 inline-block",
|
|
81
|
-
},
|
|
82
|
-
legendTitle: {
|
|
83
|
-
class: "flex items-center justify-center leading-none",
|
|
84
|
-
},
|
|
85
|
-
content: {
|
|
86
|
-
class: "p-5",
|
|
87
|
-
},
|
|
88
|
-
transition: {
|
|
89
|
-
enterFromClass: "max-h-0",
|
|
90
|
-
enterActiveClass:
|
|
91
|
-
"overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]",
|
|
92
|
-
enterToClass: "max-h-[1000px]",
|
|
93
|
-
leaveFromClass: "max-h-[1000px]",
|
|
94
|
-
leaveActiveClass:
|
|
95
|
-
"overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
|
|
96
|
-
leaveToClass: "max-h-0",
|
|
97
|
-
},
|
|
98
|
-
};
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
input: {
|
|
3
|
-
class: "hidden",
|
|
4
|
-
},
|
|
5
|
-
buttonbar: {
|
|
6
|
-
class: [
|
|
7
|
-
// Flexbox
|
|
8
|
-
"flex",
|
|
9
|
-
"flex-wrap",
|
|
10
|
-
|
|
11
|
-
// Colors
|
|
12
|
-
"bg-surface-50",
|
|
13
|
-
"dark:bg-surface-800",
|
|
14
|
-
"text-surface-700",
|
|
15
|
-
"dark:text-white/80",
|
|
16
|
-
|
|
17
|
-
// Spacing
|
|
18
|
-
"p-5",
|
|
19
|
-
"gap-2",
|
|
20
|
-
|
|
21
|
-
// Borders
|
|
22
|
-
"border",
|
|
23
|
-
"border-solid",
|
|
24
|
-
"border-surface-200",
|
|
25
|
-
"dark:border-surface-700",
|
|
26
|
-
"border-b-0",
|
|
27
|
-
|
|
28
|
-
// Shape
|
|
29
|
-
"rounded-tr-lg",
|
|
30
|
-
"rounded-tl-lg",
|
|
31
|
-
],
|
|
32
|
-
},
|
|
33
|
-
chooseButton: {
|
|
34
|
-
class: [
|
|
35
|
-
"relative",
|
|
36
|
-
|
|
37
|
-
// Alignments
|
|
38
|
-
"items-center inline-flex text-center align-bottom justify-center",
|
|
39
|
-
|
|
40
|
-
// Spacing
|
|
41
|
-
"px-4 py-3",
|
|
42
|
-
|
|
43
|
-
// Shape
|
|
44
|
-
"rounded-md",
|
|
45
|
-
|
|
46
|
-
// Font
|
|
47
|
-
"leading-[normal]",
|
|
48
|
-
"font-bold",
|
|
49
|
-
|
|
50
|
-
// Colors
|
|
51
|
-
"text-white dark:text-surface-900",
|
|
52
|
-
"bg-primary-500 dark:bg-primary-400",
|
|
53
|
-
"border-primary-500 dark:border-primary-400",
|
|
54
|
-
|
|
55
|
-
// States
|
|
56
|
-
"hover:bg-primary-600 dark:hover:bg-primary-300",
|
|
57
|
-
|
|
58
|
-
// Misc
|
|
59
|
-
"overflow-hidden",
|
|
60
|
-
"cursor-pointer",
|
|
61
|
-
],
|
|
62
|
-
},
|
|
63
|
-
chooseIcon: {
|
|
64
|
-
class: ["mr-2", "inline-block"],
|
|
65
|
-
},
|
|
66
|
-
chooseButtonLabel: {
|
|
67
|
-
class: ["flex-1", "font-bold"],
|
|
68
|
-
},
|
|
69
|
-
uploadbutton: {
|
|
70
|
-
icon: {
|
|
71
|
-
class: "mr-2",
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
cancelbutton: {
|
|
75
|
-
icon: {
|
|
76
|
-
class: "mr-2",
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
content: {
|
|
80
|
-
class: [
|
|
81
|
-
// Position
|
|
82
|
-
"relative",
|
|
83
|
-
|
|
84
|
-
// Colors
|
|
85
|
-
"bg-surface-0",
|
|
86
|
-
"dark:bg-surface-900",
|
|
87
|
-
"text-surface-700",
|
|
88
|
-
"dark:text-white/80",
|
|
89
|
-
|
|
90
|
-
// Spacing
|
|
91
|
-
"p-8",
|
|
92
|
-
|
|
93
|
-
// Borders
|
|
94
|
-
"border",
|
|
95
|
-
"border-surface-200",
|
|
96
|
-
"dark:border-surface-700",
|
|
97
|
-
|
|
98
|
-
// Shape
|
|
99
|
-
"rounded-b-lg",
|
|
100
|
-
],
|
|
101
|
-
},
|
|
102
|
-
file: {
|
|
103
|
-
class: [
|
|
104
|
-
// Flexbox
|
|
105
|
-
"flex",
|
|
106
|
-
"items-center",
|
|
107
|
-
"flex-wrap",
|
|
108
|
-
|
|
109
|
-
// Spacing
|
|
110
|
-
"p-4",
|
|
111
|
-
"mb-2",
|
|
112
|
-
"last:mb-0",
|
|
113
|
-
|
|
114
|
-
// Borders
|
|
115
|
-
"border",
|
|
116
|
-
"border-surface-200",
|
|
117
|
-
"dark:border-surface-700",
|
|
118
|
-
"gap-2",
|
|
119
|
-
|
|
120
|
-
// Shape
|
|
121
|
-
"rounded",
|
|
122
|
-
],
|
|
123
|
-
},
|
|
124
|
-
thumbnail: {
|
|
125
|
-
class: "shrink-0",
|
|
126
|
-
},
|
|
127
|
-
fileName: {
|
|
128
|
-
class: "mb-2 break-all",
|
|
129
|
-
},
|
|
130
|
-
fileSize: {
|
|
131
|
-
class: "mr-2",
|
|
132
|
-
},
|
|
133
|
-
uploadicon: {
|
|
134
|
-
class: "mr-2",
|
|
135
|
-
},
|
|
136
|
-
progressbar: {
|
|
137
|
-
root: {
|
|
138
|
-
class: [
|
|
139
|
-
// Position and Overflow
|
|
140
|
-
"overflow-hidden",
|
|
141
|
-
"absolute top-0 left-0",
|
|
142
|
-
|
|
143
|
-
// Shape and Size
|
|
144
|
-
"border-0",
|
|
145
|
-
"h-2",
|
|
146
|
-
"rounded-md",
|
|
147
|
-
"w-full",
|
|
148
|
-
|
|
149
|
-
// Colors
|
|
150
|
-
"bg-surface-100 dark:bg-surface-700",
|
|
151
|
-
],
|
|
152
|
-
},
|
|
153
|
-
value: {
|
|
154
|
-
class: [
|
|
155
|
-
// Flexbox & Overflow & Position
|
|
156
|
-
"absolute flex items-center justify-center overflow-hidden",
|
|
157
|
-
|
|
158
|
-
// Colors
|
|
159
|
-
"bg-primary-500 dark:bg-primary-400",
|
|
160
|
-
|
|
161
|
-
// Spacing & Sizing
|
|
162
|
-
"m-0",
|
|
163
|
-
"h-full w-0",
|
|
164
|
-
|
|
165
|
-
// Shape
|
|
166
|
-
"border-0",
|
|
167
|
-
|
|
168
|
-
// Transitions
|
|
169
|
-
"transition-width duration-1000 ease-in-out",
|
|
170
|
-
],
|
|
171
|
-
},
|
|
172
|
-
},
|
|
173
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
root: {
|
|
3
|
-
class: [
|
|
4
|
-
"block relative",
|
|
5
|
-
|
|
6
|
-
// Base Label Appearance
|
|
7
|
-
"[&>*:last-child]:text-surface-900/60 dark:[&>*:last-child]:text-white/60",
|
|
8
|
-
"[&>*:last-child]:absolute",
|
|
9
|
-
"[&>*:last-child]:top-1/2",
|
|
10
|
-
"[&>*:last-child]:-translate-y-1/2",
|
|
11
|
-
"[&>*:last-child]:left-3",
|
|
12
|
-
"[&>*:last-child]:pointer-events-none",
|
|
13
|
-
"[&>*:last-child]:transition-all",
|
|
14
|
-
"[&>*:last-child]:duration-200",
|
|
15
|
-
"[&>*:last-child]:ease",
|
|
16
|
-
|
|
17
|
-
// Focus Label Appearance
|
|
18
|
-
"[&>*:last-child]:has-[:focus]:-top-3",
|
|
19
|
-
"[&>*:last-child]:has-[:focus]:text-sm",
|
|
20
|
-
|
|
21
|
-
// Filled Input Label Appearance
|
|
22
|
-
"[&>*:last-child]:has-[.filled]:-top-3",
|
|
23
|
-
"[&>*:last-child]:has-[.filled]:text-sm",
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
};
|