@fy-/fws-vue 0.1.3 → 0.1.5

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.
Files changed (92) hide show
  1. package/components/ui/DefaultInput.vue +1 -1
  2. package/index.ts +4 -1
  3. package/package.json +1 -1
  4. package/presets/Lara/accordion/index.js +86 -0
  5. package/presets/Lara/autocomplete/index.js +284 -0
  6. package/presets/Lara/avatar/index.js +46 -0
  7. package/presets/Lara/badge/index.js +44 -0
  8. package/presets/Lara/badgedirective/index.js +49 -0
  9. package/presets/Lara/blockui/index.js +8 -0
  10. package/presets/Lara/breadcrumb/index.js +64 -0
  11. package/presets/Lara/button/index.js +470 -0
  12. package/presets/Lara/calendar/index.js +683 -0
  13. package/presets/Lara/card/index.js +37 -0
  14. package/presets/Lara/carousel/index.js +152 -0
  15. package/presets/Lara/cascadeselect/index.js +228 -0
  16. package/presets/Lara/checkbox/index.js +106 -0
  17. package/presets/Lara/chip/index.js +45 -0
  18. package/presets/Lara/chips/index.js +118 -0
  19. package/presets/Lara/colorpicker/index.js +129 -0
  20. package/presets/Lara/confirmpopup/index.js +107 -0
  21. package/presets/Lara/contextmenu/index.js +130 -0
  22. package/presets/Lara/datatable/index.js +1289 -0
  23. package/presets/Lara/dataview/index.js +40 -0
  24. package/presets/Lara/deferred/index.js +3 -0
  25. package/presets/Lara/dialog/index.js +249 -0
  26. package/presets/Lara/divider/index.js +72 -0
  27. package/presets/Lara/dock/index.js +97 -0
  28. package/presets/Lara/dropdown/index.js +300 -0
  29. package/presets/Lara/fieldset/index.js +98 -0
  30. package/presets/Lara/fileupload/index.js +173 -0
  31. package/presets/Lara/floatlabel/index.js +26 -0
  32. package/presets/Lara/galleria/index.js +351 -0
  33. package/presets/Lara/global.js +90 -0
  34. package/presets/Lara/iconfield/index.js +22 -0
  35. package/presets/Lara/image/index.js +206 -0
  36. package/presets/Lara/index.js +181 -0
  37. package/presets/Lara/inlinemessage/index.js +36 -0
  38. package/presets/Lara/inplace/index.js +27 -0
  39. package/presets/Lara/inputgroup/index.js +5 -0
  40. package/presets/Lara/inputgroupaddon/index.js +28 -0
  41. package/presets/Lara/inputmask/index.js +37 -0
  42. package/presets/Lara/inputnumber/index.js +253 -0
  43. package/presets/Lara/inputotp/index.js +72 -0
  44. package/presets/Lara/inputswitch/index.js +93 -0
  45. package/presets/Lara/inputtext/index.js +61 -0
  46. package/presets/Lara/knob/index.js +47 -0
  47. package/presets/Lara/listbox/index.js +170 -0
  48. package/presets/Lara/megamenu/index.js +207 -0
  49. package/presets/Lara/menu/index.js +98 -0
  50. package/presets/Lara/menubar/index.js +181 -0
  51. package/presets/Lara/message/index.js +87 -0
  52. package/presets/Lara/metergroup/index.js +110 -0
  53. package/presets/Lara/multiselect/index.js +589 -0
  54. package/presets/Lara/orderlist/index.js +266 -0
  55. package/presets/Lara/organizationchart/index.js +142 -0
  56. package/presets/Lara/overlaypanel/index.js +41 -0
  57. package/presets/Lara/paginator/index.js +590 -0
  58. package/presets/Lara/panel/index.js +93 -0
  59. package/presets/Lara/panelmenu/index.js +139 -0
  60. package/presets/Lara/password/index.js +140 -0
  61. package/presets/Lara/picklist/index.js +659 -0
  62. package/presets/Lara/progressbar/index.js +61 -0
  63. package/presets/Lara/progressspinner/index.js +51 -0
  64. package/presets/Lara/radiobutton/index.js +116 -0
  65. package/presets/Lara/rating/index.js +95 -0
  66. package/presets/Lara/ripple/index.js +6 -0
  67. package/presets/Lara/scrollpanel/index.js +77 -0
  68. package/presets/Lara/scrolltop/index.js +45 -0
  69. package/presets/Lara/selectbutton/index.js +60 -0
  70. package/presets/Lara/sidebar/index.js +163 -0
  71. package/presets/Lara/skeleton/index.js +19 -0
  72. package/presets/Lara/slider/index.js +149 -0
  73. package/presets/Lara/speeddial/index.js +535 -0
  74. package/presets/Lara/splitbutton/index.js +1081 -0
  75. package/presets/Lara/splitter/index.js +64 -0
  76. package/presets/Lara/stepper/index.js +183 -0
  77. package/presets/Lara/steps/index.js +115 -0
  78. package/presets/Lara/tabmenu/index.js +82 -0
  79. package/presets/Lara/tabview/index.js +166 -0
  80. package/presets/Lara/tag/index.js +37 -0
  81. package/presets/Lara/terminal/index.js +60 -0
  82. package/presets/Lara/textarea/index.js +39 -0
  83. package/presets/Lara/tieredmenu/index.js +125 -0
  84. package/presets/Lara/timeline/index.js +107 -0
  85. package/presets/Lara/toast/index.js +113 -0
  86. package/presets/Lara/togglebutton/index.js +100 -0
  87. package/presets/Lara/toolbar/index.js +28 -0
  88. package/presets/Lara/tooltip/index.js +73 -0
  89. package/presets/Lara/tree/index.js +281 -0
  90. package/presets/Lara/treeselect/index.js +387 -0
  91. package/presets/Lara/treetable/index.js +509 -0
  92. package/presets/Lara/tristatecheckbox/index.js +112 -0
@@ -0,0 +1,590 @@
1
+ export default {
2
+ root: {
3
+ class: [
4
+ // Flex & Alignment
5
+ "flex items-center justify-center flex-wrap",
6
+
7
+ // Spacing
8
+ "px-4 py-2",
9
+
10
+ // Shape
11
+ "border-0",
12
+
13
+ // Color
14
+ "bg-surface-0 dark:bg-surface-800",
15
+ "text-surface-500 dark:text-white/60",
16
+ ],
17
+ },
18
+ firstpagebutton: ({ context }) => ({
19
+ class: [
20
+ "relative",
21
+
22
+ // Flex & Alignment
23
+ "inline-flex items-center justify-center",
24
+
25
+ // Shape
26
+ "border-0 rounded-full dark:rounded-md",
27
+
28
+ // Size
29
+ "min-w-[3rem] h-12 m-[0.143rem]",
30
+ "leading-none",
31
+
32
+ // Color
33
+ "text-surface-500 dark:text-white/60",
34
+
35
+ // State
36
+ {
37
+ "hover:bg-surface-50 dark:hover:bg-surface-700/70": !context.disabled,
38
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50":
39
+ !context.disabled,
40
+ },
41
+
42
+ // Transition
43
+ "transition duration-200",
44
+
45
+ // Misc
46
+ "user-none overflow-hidden",
47
+ { "cursor-default pointer-events-none opacity-60": context.disabled },
48
+ ],
49
+ }),
50
+ previouspagebutton: ({ context }) => ({
51
+ class: [
52
+ "relative",
53
+
54
+ // Flex & Alignment
55
+ "inline-flex items-center justify-center",
56
+
57
+ // Shape
58
+ "border-0 rounded-full dark:rounded-md",
59
+
60
+ // Size
61
+ "min-w-[3rem] h-12 m-[0.143rem]",
62
+ "leading-none",
63
+
64
+ // Color
65
+ "text-surface-500 dark:text-white/60",
66
+
67
+ // State
68
+ {
69
+ "hover:bg-surface-50 dark:hover:bg-surface-700/70": !context.disabled,
70
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50":
71
+ !context.disabled,
72
+ },
73
+
74
+ // Transition
75
+ "transition duration-200",
76
+
77
+ // Misc
78
+ "user-none overflow-hidden",
79
+ { "cursor-default pointer-events-none opacity-60": context.disabled },
80
+ ],
81
+ }),
82
+ nextpagebutton: ({ context }) => ({
83
+ class: [
84
+ "relative",
85
+
86
+ // Flex & Alignment
87
+ "inline-flex items-center justify-center",
88
+
89
+ // Shape
90
+ "border-0 rounded-full dark:rounded-md",
91
+
92
+ // Size
93
+ "min-w-[3rem] h-12 m-[0.143rem]",
94
+ "leading-none",
95
+
96
+ // Color
97
+ "text-surface-500 dark:text-white/60",
98
+
99
+ // State
100
+ {
101
+ "hover:bg-surface-50 dark:hover:bg-surface-700/70": !context.disabled,
102
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50":
103
+ !context.disabled,
104
+ },
105
+
106
+ // Transition
107
+ "transition duration-200",
108
+
109
+ // Misc
110
+ "user-none overflow-hidden",
111
+ { "cursor-default pointer-events-none opacity-60": context.disabled },
112
+ ],
113
+ }),
114
+ lastpagebutton: ({ context }) => ({
115
+ class: [
116
+ "relative",
117
+
118
+ // Flex & Alignment
119
+ "inline-flex items-center justify-center",
120
+
121
+ // Shape
122
+ "border-0 rounded-full dark:rounded-md",
123
+
124
+ // Size
125
+ "min-w-[3rem] h-12 m-[0.143rem]",
126
+ "leading-none",
127
+
128
+ // Color
129
+ "text-surface-500 dark:text-white/60",
130
+
131
+ // State
132
+ {
133
+ "hover:bg-surface-50 dark:hover:bg-surface-700/70": !context.disabled,
134
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50":
135
+ !context.disabled,
136
+ },
137
+
138
+ // Transition
139
+ "transition duration-200",
140
+
141
+ // Misc
142
+ "user-none overflow-hidden",
143
+ { "cursor-default pointer-events-none opacity-60": context.disabled },
144
+ ],
145
+ }),
146
+ pagebutton: ({ context }) => ({
147
+ class: [
148
+ "relative",
149
+
150
+ // Flex & Alignment
151
+ "inline-flex items-center justify-center",
152
+
153
+ // Shape
154
+ "border-0 rounded-full dark:rounded-md",
155
+
156
+ // Size
157
+ "min-w-[3rem] h-12 m-[0.143rem]",
158
+ "leading-none",
159
+
160
+ // Color
161
+ "text-surface-500 dark:text-white/80",
162
+ {
163
+ "bg-primary-50 border-primary-50 dark:border-transparent text-primary-700 dark:text-surface-0 dark:bg-primary-400/30":
164
+ context.active,
165
+ },
166
+
167
+ // State
168
+ {
169
+ "hover:bg-surface-50 dark:hover:bg-surface-700/70":
170
+ !context.disabled && !context.active,
171
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50":
172
+ !context.disabled,
173
+ },
174
+
175
+ // Transition
176
+ "transition duration-200",
177
+
178
+ // Misc
179
+ "user-none overflow-hidden",
180
+ { "cursor-default pointer-events-none opacity-60": context.disabled },
181
+ ],
182
+ }),
183
+ rowperpagedropdown: {
184
+ root: ({ props, state }) => ({
185
+ class: [
186
+ // Display and Position
187
+ "inline-flex",
188
+ "relative",
189
+
190
+ // Shape
191
+ "h-12",
192
+ "rounded-md",
193
+
194
+ // Spacing
195
+ "mx-2",
196
+
197
+ // Color and Background
198
+ "bg-surface-0 dark:bg-surface-900",
199
+ "border border-surface-300 dark:border-surface-700",
200
+
201
+ // Transitions
202
+ "transition-all",
203
+ "duration-200",
204
+
205
+ // States
206
+ "hover:border-primary-500 dark:hover:border-primary-300",
207
+ {
208
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50":
209
+ !state.focused,
210
+ },
211
+
212
+ // Misc
213
+ "cursor-pointer",
214
+ "select-none",
215
+ {
216
+ "opacity-60": props.disabled,
217
+ "pointer-events-none": props.disabled,
218
+ "cursor-default": props.disabled,
219
+ },
220
+ ],
221
+ }),
222
+ input: {
223
+ class: [
224
+ // Font
225
+ "font-sans",
226
+ "leading-5",
227
+
228
+ // Display
229
+ "block",
230
+ "flex-auto",
231
+
232
+ // Color and Background
233
+ "bg-transparent",
234
+ "border-0",
235
+ "text-surface-800 dark:text-white/80",
236
+
237
+ // Sizing and Spacing
238
+ "w-[1%]",
239
+ "p-3 pr-0",
240
+
241
+ // Shape
242
+ "rounded-none",
243
+
244
+ // Transitions
245
+ "transition",
246
+ "duration-200",
247
+
248
+ // States
249
+ "focus:outline-none focus:shadow-none",
250
+
251
+ // Misc
252
+ "relative",
253
+ "cursor-pointer",
254
+ "overflow-hidden overflow-ellipsis",
255
+ "whitespace-nowrap",
256
+ "appearance-none",
257
+ ],
258
+ },
259
+ trigger: {
260
+ class: [
261
+ // Flexbox
262
+ "flex items-center justify-center",
263
+ "shrink-0",
264
+
265
+ // Color and Background
266
+ "bg-transparent",
267
+ "text-surface-500",
268
+
269
+ // Size
270
+ "w-12",
271
+
272
+ // Shape
273
+ "rounded-tr-md",
274
+ "rounded-br-md",
275
+ ],
276
+ },
277
+ panel: {
278
+ class: [
279
+ // Position
280
+ "absolute top-0 left-0",
281
+
282
+ // Shape
283
+ "border-0 dark:border",
284
+ "rounded-md",
285
+ "shadow-md",
286
+
287
+ // Color
288
+ "bg-surface-0 dark:bg-surface-800",
289
+ "text-surface-800 dark:text-white/80",
290
+ "dark:border-surface-700",
291
+ ],
292
+ },
293
+ wrapper: {
294
+ class: [
295
+ // Sizing
296
+ "max-h-[200px]",
297
+
298
+ // Misc
299
+ "overflow-auto",
300
+ ],
301
+ },
302
+ list: {
303
+ class: "py-3 list-none m-0",
304
+ },
305
+ item: ({ context }) => ({
306
+ class: [
307
+ // Font
308
+ "font-normal",
309
+ "leading-none",
310
+
311
+ // Position
312
+ "relative",
313
+
314
+ // Shape
315
+ "border-0",
316
+ "rounded-none",
317
+
318
+ // Spacing
319
+ "m-0",
320
+ "py-3 px-5",
321
+
322
+ // Color
323
+ {
324
+ "text-surface-700 dark:text-white/80":
325
+ !context.focused && !context.selected,
326
+ },
327
+ {
328
+ "bg-surface-50 dark:bg-surface-600/60 text-surface-700 dark:text-white/80":
329
+ context.focused && !context.selected,
330
+ },
331
+ {
332
+ "bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80":
333
+ context.focused && context.selected,
334
+ },
335
+ {
336
+ "bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80":
337
+ !context.focused && context.selected,
338
+ },
339
+
340
+ // States
341
+ {
342
+ "hover:bg-surface-100 dark:hover:bg-surface-600/80":
343
+ !context.focused && !context.selected,
344
+ },
345
+ {
346
+ "hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80":
347
+ context.focused && !context.selected,
348
+ },
349
+
350
+ // Transitions
351
+ "transition-shadow",
352
+ "duration-200",
353
+
354
+ // Misc
355
+ "cursor-pointer",
356
+ "overflow-hidden",
357
+ "whitespace-nowrap",
358
+ ],
359
+ }),
360
+ },
361
+ jumptopageinput: {
362
+ root: {
363
+ class: "inline-flex mx-2",
364
+ },
365
+ input: {
366
+ root: {
367
+ class: [
368
+ "relative",
369
+
370
+ // Font
371
+ "font-sans",
372
+ "leading-none",
373
+
374
+ // Display
375
+ "block",
376
+ "flex-auto",
377
+
378
+ // Colors
379
+ "text-surface-600 dark:text-surface-200",
380
+ "placeholder:text-surface-400 dark:placeholder:text-surface-500",
381
+ "bg-surface-0 dark:bg-surface-900",
382
+ "border border-surface-300 dark:border-surface-600",
383
+
384
+ // Sizing and Spacing
385
+ "w-[1%] max-w-[3rem]",
386
+ "p-3 m-0",
387
+
388
+ // Shape
389
+ "rounded-md",
390
+
391
+ // Transitions
392
+ "transition",
393
+ "duration-200",
394
+
395
+ // States
396
+ "hover:border-primary-500 dark:hover:border-primary-400",
397
+ "focus:outline-none focus:shadow-none",
398
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50",
399
+
400
+ // Misc
401
+ "cursor-pointer",
402
+ "overflow-hidden overflow-ellipsis",
403
+ "whitespace-nowrap",
404
+ "appearance-none",
405
+ ],
406
+ },
407
+ },
408
+ },
409
+ jumptopagedropdown: {
410
+ root: ({ props, state }) => ({
411
+ class: [
412
+ // Display and Position
413
+ "inline-flex",
414
+ "relative",
415
+
416
+ // Shape
417
+ "h-12",
418
+ "rounded-md",
419
+
420
+ // Color and Background
421
+ "bg-surface-0 dark:bg-surface-900",
422
+ "border border-surface-300 dark:border-surface-700",
423
+
424
+ // Transitions
425
+ "transition-all",
426
+ "duration-200",
427
+
428
+ // States
429
+ "hover:border-primary-500 dark:hover:border-primary-300",
430
+ {
431
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50":
432
+ !state.focused,
433
+ },
434
+
435
+ // Misc
436
+ "cursor-pointer",
437
+ "select-none",
438
+ {
439
+ "opacity-60": props.disabled,
440
+ "pointer-events-none": props.disabled,
441
+ "cursor-default": props.disabled,
442
+ },
443
+ ],
444
+ }),
445
+ input: {
446
+ class: [
447
+ // Font
448
+ "font-sans",
449
+ "leading-none",
450
+
451
+ // Display
452
+ "block",
453
+ "flex-auto",
454
+
455
+ // Color and Background
456
+ "bg-transparent",
457
+ "border-0",
458
+ "text-surface-800 dark:text-white/80",
459
+
460
+ // Sizing and Spacing
461
+ "w-[1%]",
462
+ "p-3",
463
+
464
+ // Shape
465
+ "rounded-none",
466
+
467
+ // Transitions
468
+ "transition",
469
+ "duration-200",
470
+
471
+ // States
472
+ "focus:outline-none focus:shadow-none",
473
+
474
+ // Misc
475
+ "relative",
476
+ "cursor-pointer",
477
+ "overflow-hidden overflow-ellipsis",
478
+ "whitespace-nowrap",
479
+ "appearance-none",
480
+ ],
481
+ },
482
+ trigger: {
483
+ class: [
484
+ // Flexbox
485
+ "flex items-center justify-center",
486
+ "shrink-0",
487
+
488
+ // Color and Background
489
+ "bg-transparent",
490
+ "text-surface-500",
491
+
492
+ // Size
493
+ "w-12",
494
+
495
+ // Shape
496
+ "rounded-tr-md",
497
+ "rounded-br-md",
498
+ ],
499
+ },
500
+ panel: {
501
+ class: [
502
+ // Position
503
+ "absolute top-0 left-0",
504
+
505
+ // Shape
506
+ "border-0 dark:border",
507
+ "rounded-md",
508
+ "shadow-md",
509
+
510
+ // Color
511
+ "bg-surface-0 dark:bg-surface-800",
512
+ "text-surface-800 dark:text-white/80",
513
+ "dark:border-surface-700",
514
+ ],
515
+ },
516
+ wrapper: {
517
+ class: [
518
+ // Sizing
519
+ "max-h-[200px]",
520
+
521
+ // Misc
522
+ "overflow-auto",
523
+ ],
524
+ },
525
+ list: {
526
+ class: "py-3 list-none m-0",
527
+ },
528
+ item: ({ context }) => ({
529
+ class: [
530
+ // Font
531
+ "font-normal",
532
+ "leading-none",
533
+
534
+ // Position
535
+ "relative",
536
+
537
+ // Shape
538
+ "border-0",
539
+ "rounded-none",
540
+
541
+ // Spacing
542
+ "m-0",
543
+ "py-3 px-5",
544
+
545
+ // Color
546
+ {
547
+ "text-surface-700 dark:text-white/80":
548
+ !context.focused && !context.selected,
549
+ },
550
+ {
551
+ "bg-surface-50 dark:bg-surface-600/60 text-surface-700 dark:text-white/80":
552
+ context.focused && !context.selected,
553
+ },
554
+ {
555
+ "bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80":
556
+ context.focused && context.selected,
557
+ },
558
+ {
559
+ "bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80":
560
+ !context.focused && context.selected,
561
+ },
562
+
563
+ // States
564
+ {
565
+ "hover:bg-surface-100 dark:hover:bg-surface-600/80":
566
+ !context.focused && !context.selected,
567
+ },
568
+ {
569
+ "hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80":
570
+ context.focused && !context.selected,
571
+ },
572
+
573
+ // Transitions
574
+ "transition-shadow",
575
+ "duration-200",
576
+
577
+ // Misc
578
+ "cursor-pointer",
579
+ "overflow-hidden",
580
+ "whitespace-nowrap",
581
+ ],
582
+ }),
583
+ },
584
+ start: {
585
+ class: "mr-auto",
586
+ },
587
+ end: {
588
+ class: "ml-auto",
589
+ },
590
+ };
@@ -0,0 +1,93 @@
1
+ export default {
2
+ header: ({ props }) => ({
3
+ class: [
4
+ // Flex
5
+ "flex items-center justify-between",
6
+
7
+ // Colors
8
+ "text-surface-700 dark:text-surface-0/80",
9
+ "bg-surface-50 dark:bg-surface-900",
10
+ "border border-surface-200 dark:border-surface-700",
11
+
12
+ // Shape
13
+ "rounded-tl-lg rounded-tr-lg",
14
+
15
+ // Conditional Spacing
16
+ { "p-5": !props.toggleable, "py-3 px-5": props.toggleable },
17
+ ],
18
+ }),
19
+ title: {
20
+ class: "leading-none font-bold",
21
+ },
22
+ toggler: {
23
+ class: [
24
+ // Alignments
25
+ "inline-flex items-center justify-center",
26
+ "relative",
27
+
28
+ // Sized
29
+ "w-8 h-8",
30
+ "m-0 p-0",
31
+
32
+ // Shape
33
+ "border-0 rounded-full",
34
+
35
+ // Color
36
+ "bg-transparent",
37
+ "text-surface-600 dark:text-surface-0/80",
38
+
39
+ // States
40
+ "hover:text-surface-800 dark:hover:text-surface-0/80",
41
+ "hover:bg-surface-100 dark:hover:bg-surface-800/80",
42
+ "focus:outline-none focus:outline-offset-0 focus-visible:ring focus-visible:ring-primary-400/50 focus-visible:ring-inset dark:focus-visible:ring-primary-300/50",
43
+
44
+ // Transitions
45
+ "transition-all duration-200 ease-in-out",
46
+
47
+ // Misc
48
+ "overflow-hidden no-underline",
49
+ "cursor-pointer",
50
+ ],
51
+ },
52
+ togglerIcon: {
53
+ class: "inline-block",
54
+ },
55
+ content: {
56
+ class: [
57
+ // Spacing
58
+ "p-5",
59
+
60
+ // Shape
61
+ "border border-t-0 last:rounded-br-lg last:rounded-bl-lg",
62
+
63
+ // Color
64
+ "border-surface-200 dark:border-surface-700",
65
+ "bg-surface-0 dark:bg-surface-900",
66
+ "text-surface-700 dark:text-surface-0/80",
67
+ ],
68
+ },
69
+ footer: {
70
+ class: [
71
+ // Spacing
72
+ "py-3 p-5",
73
+
74
+ // Shape
75
+ "border border-t-0 rounded-br-lg rounded-bl-lg",
76
+
77
+ // Color
78
+ "border-surface-200 dark:border-surface-700",
79
+ "bg-surface-0 dark:bg-surface-900",
80
+ "text-surface-700 dark:text-surface-0/80",
81
+ ],
82
+ },
83
+ transition: {
84
+ enterFromClass: "max-h-0",
85
+ enterActiveClass:
86
+ "overflow-hidden transition-[max-height] duration-1000 ease-[cubic-bezier(0.42,0,0.58,1)]",
87
+ enterToClass: "max-h-[1000px]",
88
+ leaveFromClass: "max-h-[1000px]",
89
+ leaveActiveClass:
90
+ "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
91
+ leaveToClass: "max-h-0",
92
+ },
93
+ };