tsv2-library 0.3.75 → 0.3.76
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/src/components/v2/ButtonSelectTree/ButtonSelectTree.vue.d.ts +4 -0
- package/dist/src/components/v2/DialogSelectTree/DialogSelectTree.vue.d.ts +4 -0
- package/dist/src/components/v2/Tree/Tree.vue.d.ts +4 -0
- package/dist/src/presets/index.js +86 -460
- package/dist/tsv2-library.es.js +1366 -1347
- package/dist/tsv2-library.umd.js +15 -15
- package/package.json +1 -1
- package/src/components/v2/ButtonSelectTree/ButtonSelectTree.vue.d.ts +4 -0
- package/src/components/v2/DialogSelectTree/DialogSelectTree.vue.d.ts +4 -0
- package/src/components/v2/Tree/Tree.vue.d.ts +4 -0
|
@@ -107,6 +107,10 @@ export interface ButtonSelectTreeProps {
|
|
|
107
107
|
* Defines the tree to be flattened and shows disposable only
|
|
108
108
|
*/
|
|
109
109
|
flattenDisposableNode?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Defines the group tree to disable excluded keys
|
|
112
|
+
*/
|
|
113
|
+
excludedKeys?: number[];
|
|
110
114
|
}
|
|
111
115
|
|
|
112
116
|
export type ButtonSelectTreeEmits = {
|
|
@@ -49,6 +49,10 @@ export interface SelectTreeDialogProps {
|
|
|
49
49
|
* Defines the tree to be flattened and shows disposable only
|
|
50
50
|
*/
|
|
51
51
|
flattenDisposableNode?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Defines the group tree to disable excluded keys
|
|
54
|
+
*/
|
|
55
|
+
excludedKeys?: number[];
|
|
52
56
|
}
|
|
53
57
|
|
|
54
58
|
type TreeSelectPayload = {
|
|
@@ -115,6 +115,10 @@ export interface TreeProps {
|
|
|
115
115
|
* By default, query params has been determined by the path
|
|
116
116
|
*/
|
|
117
117
|
groupParams?: TreeQueryParams;
|
|
118
|
+
/**
|
|
119
|
+
* Defines the group tree to disable excluded keys
|
|
120
|
+
*/
|
|
121
|
+
excludedKeys?: number[];
|
|
118
122
|
}
|
|
119
123
|
|
|
120
124
|
export type TreeEmits = {
|
|
@@ -1,502 +1,128 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
root:
|
|
2
|
+
root: {
|
|
3
3
|
class: [
|
|
4
4
|
'relative',
|
|
5
|
-
{
|
|
6
|
-
'flex flex-col h-full': props.scrollHeight === 'flex',
|
|
7
|
-
},
|
|
8
5
|
|
|
9
|
-
|
|
10
|
-
'border-spacing-0 border-separate',
|
|
11
|
-
],
|
|
12
|
-
}),
|
|
13
|
-
loadingoverlay: {
|
|
14
|
-
class: [
|
|
15
|
-
// Position
|
|
16
|
-
'absolute',
|
|
17
|
-
'top-0 left-0',
|
|
18
|
-
'z-20',
|
|
6
|
+
'w-4 h-4',
|
|
19
7
|
|
|
20
|
-
//
|
|
21
|
-
'flex
|
|
8
|
+
// Alignment
|
|
9
|
+
'inline-flex',
|
|
10
|
+
'align-bottom',
|
|
22
11
|
|
|
23
|
-
//
|
|
24
|
-
'
|
|
25
|
-
|
|
26
|
-
// Color
|
|
27
|
-
'bg-surface-100/40 dark:bg-surface-800/40',
|
|
28
|
-
|
|
29
|
-
// Transition
|
|
30
|
-
'transition duration-200',
|
|
12
|
+
// Transitions
|
|
13
|
+
'transition-all',
|
|
14
|
+
'duration-200',
|
|
31
15
|
],
|
|
32
16
|
},
|
|
33
|
-
|
|
34
|
-
class: 'w-8 h-8 animate-spin',
|
|
35
|
-
},
|
|
36
|
-
wrapper: ({ props }) => ({
|
|
17
|
+
box: ({ props, context }) => ({
|
|
37
18
|
class: [
|
|
38
|
-
//
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
}),
|
|
45
|
-
header: ({ props }) => ({
|
|
46
|
-
class: [
|
|
47
|
-
'font-semibold',
|
|
48
|
-
|
|
49
|
-
// Shape
|
|
50
|
-
props.showGridlines ? 'border-b' : 'border-b border-x-0',
|
|
51
|
-
|
|
52
|
-
// Spacing
|
|
53
|
-
'py-3.5 px-3',
|
|
19
|
+
// Alignment
|
|
20
|
+
'flex',
|
|
21
|
+
'items-center',
|
|
22
|
+
'justify-center',
|
|
54
23
|
|
|
55
|
-
//
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
'text-surface-700 dark:text-white/80',
|
|
59
|
-
],
|
|
60
|
-
}),
|
|
61
|
-
footer: {
|
|
62
|
-
class: [
|
|
63
|
-
'font-semibold',
|
|
24
|
+
// Size
|
|
25
|
+
'w-full',
|
|
26
|
+
'h-full',
|
|
64
27
|
|
|
65
28
|
// Shape
|
|
66
|
-
'
|
|
67
|
-
|
|
68
|
-
// Spacing
|
|
69
|
-
'p-4',
|
|
29
|
+
'rounded',
|
|
30
|
+
'border-2',
|
|
70
31
|
|
|
71
|
-
//
|
|
72
|
-
'
|
|
73
|
-
'border-surface-200 dark:border-surface-700',
|
|
74
|
-
'text-surface-700 dark:text-white/80',
|
|
75
|
-
],
|
|
76
|
-
},
|
|
77
|
-
table: {
|
|
78
|
-
class: [
|
|
79
|
-
// Table & Width
|
|
80
|
-
'border-collapse table-fixed w-full ',
|
|
81
|
-
],
|
|
82
|
-
},
|
|
83
|
-
thead: ({ props }) => ({
|
|
84
|
-
class: [
|
|
85
|
-
// Position & Z-index
|
|
86
|
-
{
|
|
87
|
-
'top-0 z-40 sticky': props.scrollable,
|
|
88
|
-
},
|
|
89
|
-
],
|
|
90
|
-
}),
|
|
91
|
-
tbody: ({ props }) => ({
|
|
92
|
-
class: [
|
|
93
|
-
{
|
|
94
|
-
block: props.scrollable,
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
}),
|
|
98
|
-
tfoot: ({ props }) => ({
|
|
99
|
-
class: [
|
|
100
|
-
// Block Display
|
|
101
|
-
{
|
|
102
|
-
block: props.scrollable,
|
|
103
|
-
},
|
|
104
|
-
],
|
|
105
|
-
}),
|
|
106
|
-
headerrow: ({ props }) => ({
|
|
107
|
-
class: [
|
|
108
|
-
// Flexbox & Width
|
|
32
|
+
// Colors
|
|
33
|
+
'text-surface-0',
|
|
109
34
|
{
|
|
110
|
-
'
|
|
35
|
+
'border-general-100 bg-surface-0 dark:border-general-300 dark:bg-grayscale-800':
|
|
36
|
+
!context.active && !props.disabled,
|
|
37
|
+
'border-primary-500 bg-primary-500 dark:border-primary-500 dark:bg-primary-500':
|
|
38
|
+
context.active && !props.disabled,
|
|
111
39
|
},
|
|
112
|
-
],
|
|
113
|
-
}),
|
|
114
|
-
row: ({ context, props }) => ({
|
|
115
|
-
class: [
|
|
116
|
-
// Flex
|
|
117
|
-
{ 'flex flex-nowrap w-full': context.scrollable },
|
|
118
40
|
|
|
119
|
-
// Color
|
|
120
|
-
'dark:text-white/80',
|
|
121
|
-
{ 'bg-surface-50 dark:bg-surface-500/30': context.selected },
|
|
122
41
|
{
|
|
123
|
-
'
|
|
42
|
+
'ring-2 ring-primary-500 dark:ring-primary-400':
|
|
43
|
+
!props.disabled && context.focused,
|
|
44
|
+
'cursor-default': props.disabled,
|
|
124
45
|
},
|
|
125
46
|
|
|
126
|
-
//
|
|
47
|
+
// States
|
|
127
48
|
{
|
|
128
|
-
'
|
|
129
|
-
|
|
49
|
+
'peer-focus-visible:ring-2 peer-focus-visible:ring-offset-1 peer-focus-visible:ring-primary dark:peer-focus-visible:ring-primary':
|
|
50
|
+
!props.disabled,
|
|
51
|
+
'cursor-default bg-general-50 border-general-200 dark:bg-general-100 dark:border-general-200':
|
|
52
|
+
props.disabled && !context.active,
|
|
53
|
+
'bg-general-200 dark:bg-general-200 border-general-200 dark:border-general-200':
|
|
54
|
+
props.disabled && context.active,
|
|
130
55
|
},
|
|
131
|
-
'focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-primary-500 ring-inset dark:focus:ring-primary-400',
|
|
132
56
|
|
|
133
|
-
//
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
(props.selectionMode && !context.selected) || props.rowHover,
|
|
137
|
-
},
|
|
57
|
+
// Transitions
|
|
58
|
+
'transition-colors',
|
|
59
|
+
'duration-200',
|
|
138
60
|
],
|
|
139
61
|
}),
|
|
140
|
-
|
|
62
|
+
input: {
|
|
141
63
|
class: [
|
|
142
|
-
'
|
|
143
|
-
'text-sm',
|
|
144
|
-
|
|
145
|
-
// Position
|
|
146
|
-
{
|
|
147
|
-
'sticky z-40':
|
|
148
|
-
context.scrollable &&
|
|
149
|
-
context.scrollDirection === 'both' &&
|
|
150
|
-
context.frozen,
|
|
151
|
-
},
|
|
64
|
+
'peer',
|
|
152
65
|
|
|
153
|
-
//
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
'flex-initial shrink-0':
|
|
157
|
-
context.scrollable &&
|
|
158
|
-
context.scrollDirection === 'both' &&
|
|
159
|
-
!context.frozen,
|
|
160
|
-
},
|
|
161
|
-
'text-left',
|
|
66
|
+
// Size
|
|
67
|
+
'w-full ',
|
|
68
|
+
'h-full',
|
|
162
69
|
|
|
163
|
-
//
|
|
164
|
-
|
|
165
|
-
'
|
|
70
|
+
// Position
|
|
71
|
+
'absolute',
|
|
72
|
+
'top-0 left-0',
|
|
73
|
+
'z-10',
|
|
166
74
|
|
|
167
75
|
// Spacing
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
: context?.size === 'large'
|
|
171
|
-
? 'py-5 px-4'
|
|
172
|
-
: 'py-3.5 px-3',
|
|
173
|
-
|
|
174
|
-
// Color
|
|
175
|
-
(props.sortable === '' || props.sortable) && context.sorted
|
|
176
|
-
? 'text-primary-500'
|
|
177
|
-
: 'bg-surface-0 text-surface-700',
|
|
178
|
-
(props.sortable === '' || props.sortable) && context.sorted
|
|
179
|
-
? 'dark:text-primary-400'
|
|
180
|
-
: 'dark:text-white/80 dark:bg-surface-800',
|
|
181
|
-
'border-surface-200 dark:border-surface-700 ',
|
|
76
|
+
'p-0',
|
|
77
|
+
'm-0',
|
|
182
78
|
|
|
183
|
-
//
|
|
184
|
-
'
|
|
79
|
+
// Shape
|
|
80
|
+
'rounded',
|
|
81
|
+
'border',
|
|
185
82
|
|
|
186
|
-
//
|
|
187
|
-
|
|
83
|
+
// Shape
|
|
84
|
+
'opacity-0',
|
|
85
|
+
'rounded-md',
|
|
86
|
+
'outline-none',
|
|
87
|
+
'border-2 border-surface-300 dark:border-surface-700',
|
|
188
88
|
|
|
189
89
|
// Misc
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
context.resizable && !context.frozen,
|
|
193
|
-
},
|
|
90
|
+
'appareance-none',
|
|
91
|
+
'cursor-pointer',
|
|
194
92
|
],
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
'text-sm',
|
|
201
|
-
|
|
202
|
-
// Position
|
|
203
|
-
{
|
|
204
|
-
'sticky z-40':
|
|
205
|
-
context.scrollable &&
|
|
206
|
-
context.scrollDirection === 'both' &&
|
|
207
|
-
context.frozen,
|
|
208
|
-
},
|
|
209
|
-
|
|
210
|
-
// Flex & Alignment
|
|
211
|
-
{
|
|
212
|
-
'flex flex-1 items-center': context.scrollable,
|
|
213
|
-
'flex-initial shrink-0':
|
|
214
|
-
context.scrollable &&
|
|
215
|
-
context.scrollDirection === 'both' &&
|
|
216
|
-
!context.frozen,
|
|
217
|
-
},
|
|
218
|
-
'text-left',
|
|
219
|
-
|
|
220
|
-
// Shape
|
|
221
|
-
{ 'border-r last:border-r-0': context?.showGridlines },
|
|
222
|
-
'border-0 border-b border-solid',
|
|
223
|
-
|
|
224
|
-
// Spacing
|
|
225
|
-
context?.size === 'small'
|
|
226
|
-
? 'py-2.5 px-2'
|
|
227
|
-
: context?.size === 'large'
|
|
228
|
-
? 'py-5 px-4'
|
|
229
|
-
: 'py-3.5 px-3',
|
|
230
|
-
|
|
231
|
-
// Color
|
|
232
|
-
(props.sortable === '' || props.sortable) && context.sorted
|
|
233
|
-
? 'text-primary-500'
|
|
234
|
-
: 'bg-surface-0 text-surface-700',
|
|
235
|
-
(props.sortable === '' || props.sortable) && context.sorted
|
|
236
|
-
? 'dark:text-primary-400'
|
|
237
|
-
: 'dark:text-white/80 dark:bg-surface-800',
|
|
238
|
-
'border-surface-200 dark:border-surface-700 ',
|
|
239
|
-
|
|
240
|
-
// States
|
|
241
|
-
'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400',
|
|
242
|
-
|
|
243
|
-
// Transition
|
|
244
|
-
{ 'transition duration-200': props.sortable === '' || props.sortable },
|
|
245
|
-
|
|
246
|
-
// Misc
|
|
247
|
-
{
|
|
248
|
-
'overflow-hidden relative bg-clip-padding':
|
|
249
|
-
context.resizable && !context.frozen,
|
|
250
|
-
},
|
|
251
|
-
],
|
|
252
|
-
}),
|
|
253
|
-
bodycell: ({ context }) => ({
|
|
254
|
-
class: [
|
|
255
|
-
// Position
|
|
256
|
-
{
|
|
257
|
-
sticky:
|
|
258
|
-
context.scrollable &&
|
|
259
|
-
context.scrollDirection === 'both' &&
|
|
260
|
-
context.frozen,
|
|
261
|
-
},
|
|
262
|
-
|
|
263
|
-
// Font
|
|
264
|
-
'text-sm',
|
|
265
|
-
|
|
266
|
-
// Flex & Alignment
|
|
267
|
-
{
|
|
268
|
-
'flex flex-1 items-center': context.scrollable,
|
|
269
|
-
'flex-initial shrink-0':
|
|
270
|
-
context.scrollable &&
|
|
271
|
-
context.scrollDirection === 'both' &&
|
|
272
|
-
!context.frozen,
|
|
273
|
-
},
|
|
274
|
-
'text-left',
|
|
275
|
-
|
|
276
|
-
// Shape
|
|
277
|
-
'border-0 border-b border-solid',
|
|
278
|
-
{ 'last:border-r-0 border-r border-b': context?.showGridlines },
|
|
279
|
-
|
|
280
|
-
// Color
|
|
281
|
-
'border-surface-200 dark:border-surface-700',
|
|
282
|
-
{ 'bg-surface-0 dark:bg-surface-800': !context.selected },
|
|
283
|
-
|
|
284
|
-
// Spacing
|
|
285
|
-
context?.size === 'small'
|
|
286
|
-
? 'py-2.5 px-2'
|
|
287
|
-
: context?.size === 'large'
|
|
288
|
-
? 'py-5 px-4'
|
|
289
|
-
: 'py-3.5 px-3',
|
|
290
|
-
|
|
291
|
-
// Misc
|
|
292
|
-
'space-nowrap',
|
|
293
|
-
{
|
|
294
|
-
'cursor-pointer': context.selectable,
|
|
295
|
-
},
|
|
296
|
-
],
|
|
297
|
-
}),
|
|
298
|
-
rowtoggler: {
|
|
299
|
-
class: [
|
|
300
|
-
'relative',
|
|
301
|
-
|
|
302
|
-
// Flex & Alignment
|
|
303
|
-
'inline-flex items-center justify-center',
|
|
304
|
-
'text-left align-middle',
|
|
305
|
-
|
|
306
|
-
// Spacing
|
|
307
|
-
'm-0 mr-2 p-0',
|
|
308
|
-
|
|
309
|
-
// Size
|
|
310
|
-
'w-8 h-8',
|
|
311
|
-
|
|
312
|
-
// Shape
|
|
313
|
-
'border-0 rounded-full',
|
|
314
|
-
|
|
315
|
-
// Color
|
|
316
|
-
'text-surface-500 dark:text-white/70',
|
|
317
|
-
'bg-transparent',
|
|
318
|
-
|
|
319
|
-
// States
|
|
320
|
-
'hover:bg-surface-50 dark:hover:bg-surface-700',
|
|
321
|
-
'focus-visible:outline-none focus-visible:outline-offset-0',
|
|
322
|
-
'focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400',
|
|
323
|
-
|
|
324
|
-
// Transition
|
|
325
|
-
'transition duration-200',
|
|
326
|
-
|
|
327
|
-
// Misc
|
|
328
|
-
'overflow-hidden',
|
|
329
|
-
'cursor-pointer select-none',
|
|
330
|
-
],
|
|
331
|
-
},
|
|
332
|
-
sorticon: ({ context }) => ({
|
|
333
|
-
class: [
|
|
334
|
-
'ml-2 inline-block',
|
|
335
|
-
context.sorted
|
|
336
|
-
? 'fill-primary-700 dark:fill-white/80'
|
|
337
|
-
: 'fill-surface-700 dark:fill-white/70',
|
|
338
|
-
],
|
|
339
|
-
}),
|
|
340
|
-
sortbadge: {
|
|
341
|
-
class: [
|
|
342
|
-
// Flex & Alignment
|
|
343
|
-
'inline-flex items-center justify-center align-middle',
|
|
344
|
-
|
|
345
|
-
// Shape
|
|
346
|
-
'rounded-full',
|
|
347
|
-
|
|
348
|
-
// Size
|
|
349
|
-
'w-[1.143rem] leading-[1.143rem]',
|
|
350
|
-
|
|
351
|
-
// Spacing
|
|
352
|
-
'ml-2',
|
|
353
|
-
|
|
354
|
-
// Color
|
|
355
|
-
'text-primary-700 dark:text-white',
|
|
356
|
-
'bg-primary-50 dark:bg-primary-400/30',
|
|
357
|
-
],
|
|
358
|
-
},
|
|
359
|
-
columnresizer: {
|
|
360
|
-
class: [
|
|
361
|
-
'block',
|
|
362
|
-
|
|
363
|
-
// Position
|
|
364
|
-
'absolute top-0 right-0',
|
|
365
|
-
|
|
366
|
-
// Sizing
|
|
367
|
-
'w-2 h-full',
|
|
368
|
-
|
|
369
|
-
// Spacing
|
|
370
|
-
'm-0 p-0',
|
|
371
|
-
|
|
372
|
-
// Color
|
|
373
|
-
'border border-transparent',
|
|
374
|
-
|
|
375
|
-
// Misc
|
|
376
|
-
'cursor-col-resize',
|
|
377
|
-
],
|
|
378
|
-
},
|
|
379
|
-
rowCheckbox: {
|
|
380
|
-
root: {
|
|
381
|
-
class: [
|
|
382
|
-
'relative',
|
|
383
|
-
|
|
384
|
-
// Alignment
|
|
385
|
-
'inline-flex',
|
|
386
|
-
'align-middle',
|
|
387
|
-
|
|
388
|
-
// Size
|
|
389
|
-
'w-4',
|
|
390
|
-
'h-4',
|
|
391
|
-
|
|
392
|
-
// Spacing
|
|
393
|
-
'mr-2',
|
|
394
|
-
|
|
395
|
-
// Misc
|
|
396
|
-
'cursor-default',
|
|
397
|
-
'select-none',
|
|
398
|
-
],
|
|
399
|
-
},
|
|
400
|
-
box: ({ props, context }) => ({
|
|
401
|
-
class: [
|
|
402
|
-
// Alignment
|
|
403
|
-
'flex',
|
|
404
|
-
'items-center',
|
|
405
|
-
'justify-center',
|
|
406
|
-
|
|
407
|
-
// Size
|
|
408
|
-
'w-4',
|
|
409
|
-
'h-4',
|
|
410
|
-
|
|
411
|
-
// Shape
|
|
412
|
-
'rounded',
|
|
413
|
-
'border',
|
|
414
|
-
|
|
415
|
-
// Colors
|
|
416
|
-
'text-surface-600',
|
|
417
|
-
{
|
|
418
|
-
'border-surface-300 bg-surface-0 dark:border-surface-700 dark:bg-surface-900':
|
|
419
|
-
!context.checked,
|
|
420
|
-
'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400':
|
|
421
|
-
context.checked,
|
|
422
|
-
},
|
|
423
|
-
|
|
424
|
-
{
|
|
425
|
-
'ring-2 ring-primary-500 dark:ring-primary-400':
|
|
426
|
-
!props.disabled && context.focused,
|
|
427
|
-
'cursor-default opacity-60': props.disabled,
|
|
428
|
-
},
|
|
429
|
-
|
|
430
|
-
// States
|
|
431
|
-
{
|
|
432
|
-
'peer-focus-visible:ring-2 peer-focus-visible:ring-primary-500 dark:peer-focus-visible:ring-primary-400':
|
|
433
|
-
!props.disabled,
|
|
434
|
-
'cursor-default opacity-60': props.disabled,
|
|
435
|
-
},
|
|
436
|
-
|
|
437
|
-
// Transitions
|
|
438
|
-
'transition-colors',
|
|
439
|
-
'duration-200',
|
|
440
|
-
],
|
|
441
|
-
}),
|
|
442
|
-
input: {
|
|
443
|
-
class: [
|
|
444
|
-
'peer',
|
|
445
|
-
|
|
446
|
-
// Size
|
|
447
|
-
'w-full ',
|
|
448
|
-
'h-full',
|
|
449
|
-
|
|
450
|
-
// Position
|
|
451
|
-
'absolute',
|
|
452
|
-
'top-0 left-0',
|
|
453
|
-
'z-10',
|
|
454
|
-
|
|
455
|
-
// Spacing
|
|
456
|
-
'p-0',
|
|
457
|
-
'm-0',
|
|
93
|
+
},
|
|
94
|
+
checkicon: {
|
|
95
|
+
class: [
|
|
96
|
+
// Font
|
|
97
|
+
'text-normal',
|
|
458
98
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
99
|
+
// Size
|
|
100
|
+
'w-3',
|
|
101
|
+
'h-3',
|
|
462
102
|
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
'rounded-md',
|
|
466
|
-
'outline-none',
|
|
467
|
-
'border-2 border-surface-300 dark:border-surface-700',
|
|
103
|
+
// Colors
|
|
104
|
+
'text-surface-0 dark:text-surface-0',
|
|
468
105
|
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
106
|
+
// Transitions
|
|
107
|
+
'transition-all',
|
|
108
|
+
'duration-200',
|
|
109
|
+
],
|
|
110
|
+
},
|
|
111
|
+
uncheckicon: {
|
|
112
|
+
class: [
|
|
113
|
+
// Font
|
|
114
|
+
'text-normal',
|
|
477
115
|
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
116
|
+
// Size
|
|
117
|
+
'w-3',
|
|
118
|
+
'h-3',
|
|
481
119
|
|
|
482
|
-
|
|
483
|
-
|
|
120
|
+
// Colors
|
|
121
|
+
'text-surface-0 dark:text-surface-0',
|
|
484
122
|
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
},
|
|
490
|
-
},
|
|
491
|
-
transition: {
|
|
492
|
-
enterFromClass: 'opacity-0 scale-y-[0.8]',
|
|
493
|
-
enterActiveClass:
|
|
494
|
-
'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
|
|
495
|
-
leaveActiveClass: 'transition-opacity duration-100 ease-linear',
|
|
496
|
-
leaveToClass: 'opacity-0',
|
|
497
|
-
},
|
|
498
|
-
},
|
|
499
|
-
resizehelper: {
|
|
500
|
-
class: 'absolute hidden w-[2px] z-20 bg-primary-500 dark:bg-primary-400',
|
|
123
|
+
// Transitions
|
|
124
|
+
'transition-all',
|
|
125
|
+
'duration-200',
|
|
126
|
+
],
|
|
501
127
|
},
|
|
502
128
|
};
|