@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.
Files changed (179) hide show
  1. package/package.json +1 -11
  2. package/presets/Lara/accordion/index.js +0 -86
  3. package/presets/Lara/autocomplete/index.js +0 -284
  4. package/presets/Lara/avatar/index.js +0 -46
  5. package/presets/Lara/badge/index.js +0 -44
  6. package/presets/Lara/badgedirective/index.js +0 -49
  7. package/presets/Lara/blockui/index.js +0 -8
  8. package/presets/Lara/breadcrumb/index.js +0 -64
  9. package/presets/Lara/button/index.js +0 -470
  10. package/presets/Lara/calendar/index.js +0 -683
  11. package/presets/Lara/card/index.js +0 -37
  12. package/presets/Lara/carousel/index.js +0 -152
  13. package/presets/Lara/cascadeselect/index.js +0 -228
  14. package/presets/Lara/checkbox/index.js +0 -106
  15. package/presets/Lara/chip/index.js +0 -45
  16. package/presets/Lara/chips/index.js +0 -118
  17. package/presets/Lara/colorpicker/index.js +0 -129
  18. package/presets/Lara/confirmpopup/index.js +0 -107
  19. package/presets/Lara/contextmenu/index.js +0 -130
  20. package/presets/Lara/datatable/index.js +0 -1289
  21. package/presets/Lara/dataview/index.js +0 -40
  22. package/presets/Lara/deferred/index.js +0 -3
  23. package/presets/Lara/dialog/index.js +0 -249
  24. package/presets/Lara/divider/index.js +0 -72
  25. package/presets/Lara/dock/index.js +0 -97
  26. package/presets/Lara/dropdown/index.js +0 -300
  27. package/presets/Lara/fieldset/index.js +0 -98
  28. package/presets/Lara/fileupload/index.js +0 -173
  29. package/presets/Lara/floatlabel/index.js +0 -26
  30. package/presets/Lara/galleria/index.js +0 -351
  31. package/presets/Lara/global.js +0 -90
  32. package/presets/Lara/iconfield/index.js +0 -22
  33. package/presets/Lara/image/index.js +0 -206
  34. package/presets/Lara/index.js +0 -181
  35. package/presets/Lara/inlinemessage/index.js +0 -36
  36. package/presets/Lara/inplace/index.js +0 -27
  37. package/presets/Lara/inputgroup/index.js +0 -5
  38. package/presets/Lara/inputgroupaddon/index.js +0 -28
  39. package/presets/Lara/inputmask/index.js +0 -37
  40. package/presets/Lara/inputnumber/index.js +0 -253
  41. package/presets/Lara/inputotp/index.js +0 -72
  42. package/presets/Lara/inputswitch/index.js +0 -93
  43. package/presets/Lara/inputtext/index.js +0 -61
  44. package/presets/Lara/knob/index.js +0 -47
  45. package/presets/Lara/listbox/index.js +0 -170
  46. package/presets/Lara/megamenu/index.js +0 -207
  47. package/presets/Lara/menu/index.js +0 -98
  48. package/presets/Lara/menubar/index.js +0 -181
  49. package/presets/Lara/message/index.js +0 -87
  50. package/presets/Lara/metergroup/index.js +0 -110
  51. package/presets/Lara/multiselect/index.js +0 -589
  52. package/presets/Lara/orderlist/index.js +0 -266
  53. package/presets/Lara/organizationchart/index.js +0 -142
  54. package/presets/Lara/overlaypanel/index.js +0 -41
  55. package/presets/Lara/paginator/index.js +0 -590
  56. package/presets/Lara/panel/index.js +0 -93
  57. package/presets/Lara/panelmenu/index.js +0 -139
  58. package/presets/Lara/password/index.js +0 -140
  59. package/presets/Lara/picklist/index.js +0 -659
  60. package/presets/Lara/progressbar/index.js +0 -61
  61. package/presets/Lara/progressspinner/index.js +0 -51
  62. package/presets/Lara/radiobutton/index.js +0 -116
  63. package/presets/Lara/rating/index.js +0 -95
  64. package/presets/Lara/ripple/index.js +0 -6
  65. package/presets/Lara/scrollpanel/index.js +0 -77
  66. package/presets/Lara/scrolltop/index.js +0 -45
  67. package/presets/Lara/selectbutton/index.js +0 -60
  68. package/presets/Lara/sidebar/index.js +0 -163
  69. package/presets/Lara/skeleton/index.js +0 -19
  70. package/presets/Lara/slider/index.js +0 -149
  71. package/presets/Lara/speeddial/index.js +0 -535
  72. package/presets/Lara/splitbutton/index.js +0 -1081
  73. package/presets/Lara/splitter/index.js +0 -64
  74. package/presets/Lara/stepper/index.js +0 -183
  75. package/presets/Lara/steps/index.js +0 -115
  76. package/presets/Lara/tabmenu/index.js +0 -82
  77. package/presets/Lara/tabview/index.js +0 -166
  78. package/presets/Lara/tag/index.js +0 -37
  79. package/presets/Lara/terminal/index.js +0 -60
  80. package/presets/Lara/textarea/index.js +0 -39
  81. package/presets/Lara/tieredmenu/index.js +0 -125
  82. package/presets/Lara/timeline/index.js +0 -107
  83. package/presets/Lara/toast/index.js +0 -113
  84. package/presets/Lara/togglebutton/index.js +0 -100
  85. package/presets/Lara/toolbar/index.js +0 -28
  86. package/presets/Lara/tooltip/index.js +0 -73
  87. package/presets/Lara/tree/index.js +0 -281
  88. package/presets/Lara/treeselect/index.js +0 -387
  89. package/presets/Lara/treetable/index.js +0 -509
  90. package/presets/Lara/tristatecheckbox/index.js +0 -112
  91. package/presets/Wind/accordion/index.js +0 -75
  92. package/presets/Wind/autocomplete/index.js +0 -294
  93. package/presets/Wind/avatar/index.js +0 -48
  94. package/presets/Wind/badge/index.js +0 -43
  95. package/presets/Wind/badgedirective/index.js +0 -50
  96. package/presets/Wind/blockui/index.js +0 -8
  97. package/presets/Wind/breadcrumb/index.js +0 -45
  98. package/presets/Wind/button/index.js +0 -474
  99. package/presets/Wind/calendar/index.js +0 -659
  100. package/presets/Wind/card/index.js +0 -40
  101. package/presets/Wind/carousel/index.js +0 -152
  102. package/presets/Wind/cascadeselect/index.js +0 -225
  103. package/presets/Wind/checkbox/index.js +0 -112
  104. package/presets/Wind/chip/index.js +0 -45
  105. package/presets/Wind/chips/index.js +0 -120
  106. package/presets/Wind/colorpicker/index.js +0 -129
  107. package/presets/Wind/confirmpopup/index.js +0 -123
  108. package/presets/Wind/contextmenu/index.js +0 -128
  109. package/presets/Wind/datatable/index.js +0 -1330
  110. package/presets/Wind/dataview/index.js +0 -40
  111. package/presets/Wind/deferred/index.js +0 -3
  112. package/presets/Wind/dialog/index.js +0 -251
  113. package/presets/Wind/divider/index.js +0 -72
  114. package/presets/Wind/dock/index.js +0 -97
  115. package/presets/Wind/dropdown/index.js +0 -287
  116. package/presets/Wind/fieldset/index.js +0 -99
  117. package/presets/Wind/fileupload/index.js +0 -173
  118. package/presets/Wind/floatlabel/index.js +0 -26
  119. package/presets/Wind/galleria/index.js +0 -351
  120. package/presets/Wind/global.js +0 -77
  121. package/presets/Wind/iconfield/index.js +0 -22
  122. package/presets/Wind/image/index.js +0 -206
  123. package/presets/Wind/index.js +0 -181
  124. package/presets/Wind/inlinemessage/index.js +0 -29
  125. package/presets/Wind/inplace/index.js +0 -30
  126. package/presets/Wind/inputgroup/index.js +0 -5
  127. package/presets/Wind/inputgroupaddon/index.js +0 -28
  128. package/presets/Wind/inputmask/index.js +0 -34
  129. package/presets/Wind/inputnumber/index.js +0 -244
  130. package/presets/Wind/inputotp/index.js +0 -72
  131. package/presets/Wind/inputswitch/index.js +0 -106
  132. package/presets/Wind/inputtext/index.js +0 -61
  133. package/presets/Wind/knob/index.js +0 -47
  134. package/presets/Wind/listbox/index.js +0 -159
  135. package/presets/Wind/megamenu/index.js +0 -218
  136. package/presets/Wind/menu/index.js +0 -111
  137. package/presets/Wind/menubar/index.js +0 -188
  138. package/presets/Wind/message/index.js +0 -87
  139. package/presets/Wind/metergroup/index.js +0 -110
  140. package/presets/Wind/multiselect/index.js +0 -619
  141. package/presets/Wind/orderlist/index.js +0 -275
  142. package/presets/Wind/organizationchart/index.js +0 -143
  143. package/presets/Wind/overlaypanel/index.js +0 -42
  144. package/presets/Wind/paginator/index.js +0 -596
  145. package/presets/Wind/panel/index.js +0 -95
  146. package/presets/Wind/panelmenu/index.js +0 -136
  147. package/presets/Wind/password/index.js +0 -141
  148. package/presets/Wind/picklist/index.js +0 -684
  149. package/presets/Wind/progressbar/index.js +0 -68
  150. package/presets/Wind/progressspinner/index.js +0 -51
  151. package/presets/Wind/radiobutton/index.js +0 -92
  152. package/presets/Wind/rating/index.js +0 -86
  153. package/presets/Wind/ripple/index.js +0 -6
  154. package/presets/Wind/scrollpanel/index.js +0 -77
  155. package/presets/Wind/scrolltop/index.js +0 -45
  156. package/presets/Wind/selectbutton/index.js +0 -58
  157. package/presets/Wind/sidebar/index.js +0 -165
  158. package/presets/Wind/skeleton/index.js +0 -19
  159. package/presets/Wind/slider/index.js +0 -135
  160. package/presets/Wind/speeddial/index.js +0 -536
  161. package/presets/Wind/splitbutton/index.js +0 -1078
  162. package/presets/Wind/splitter/index.js +0 -64
  163. package/presets/Wind/stepper/index.js +0 -180
  164. package/presets/Wind/steps/index.js +0 -132
  165. package/presets/Wind/tabmenu/index.js +0 -84
  166. package/presets/Wind/tabview/index.js +0 -168
  167. package/presets/Wind/tag/index.js +0 -37
  168. package/presets/Wind/terminal/index.js +0 -60
  169. package/presets/Wind/textarea/index.js +0 -40
  170. package/presets/Wind/tieredmenu/index.js +0 -121
  171. package/presets/Wind/timeline/index.js +0 -107
  172. package/presets/Wind/toast/index.js +0 -111
  173. package/presets/Wind/togglebutton/index.js +0 -91
  174. package/presets/Wind/toolbar/index.js +0 -30
  175. package/presets/Wind/tooltip/index.js +0 -43
  176. package/presets/Wind/tree/index.js +0 -300
  177. package/presets/Wind/treeselect/index.js +0 -404
  178. package/presets/Wind/treetable/index.js +0 -505
  179. package/presets/Wind/tristatecheckbox/index.js +0 -118
@@ -1,659 +0,0 @@
1
- export default {
2
- root: ({ props }) => ({
3
- class: [
4
- // Display and Position
5
- "inline-flex",
6
- "max-w-full",
7
- "relative",
8
- "shadow-sm",
9
- "rounded-md",
10
- // Misc
11
- {
12
- "opacity-40 select-none pointer-events-none cursor-default":
13
- props.disabled,
14
- },
15
- ],
16
- }),
17
- input: ({ props }) => ({
18
- class: [
19
- // Display
20
- "flex flex-auto",
21
-
22
- // Font
23
- "font-sans leading-none sm:text-sm",
24
-
25
- // Colors
26
- "text-surface-900 dark:text-surface-0",
27
- "placeholder:text-surface-400 dark:placeholder:text-surface-500",
28
- "bg-surface-0 dark:bg-surface-900",
29
- "ring-1 ring-inset ring-offset-0",
30
- { "ring-surface-300 dark:ring-surface-700": !props.invalid },
31
-
32
- // Invalid State
33
- { "ring-red-500 dark:ring-red-400": props.invalid },
34
-
35
- // Spacing
36
- "m-0 py-1.5 px-3",
37
- "-ml-px",
38
-
39
- // Shape
40
- "appearance-none",
41
- { "rounded-md": !props.showIcon || props.iconDisplay == "input" },
42
- {
43
- "rounded-l-md flex-1 pr-9 ":
44
- props.showIcon && props.iconDisplay !== "input",
45
- },
46
- {
47
- "rounded-md flex-1 pr-9":
48
- props.showIcon && props.iconDisplay === "input",
49
- },
50
-
51
- // Transitions
52
- "transition-colors",
53
- "duration-200",
54
-
55
- // States
56
- "outline-none focus:ring-primary-500 dark:focus:ring-primary-400",
57
- ],
58
- }),
59
- inputicon: {
60
- class: [
61
- "sm:text-sm",
62
- "absolute top-[50%] -mt-2",
63
- "text-surface-600 dark:text-surface-200",
64
- "right-[.75rem]",
65
- ],
66
- },
67
- dropdownbutton: {
68
- root: {
69
- class: [
70
- "relative text-sm",
71
-
72
- // Alignments
73
- "items-center inline-flex text-center align-bottom",
74
-
75
- // Shape
76
- "rounded-r-md",
77
-
78
- // Size
79
- "px-2.5 py-1.5 leading-none",
80
-
81
- // Colors
82
- "text-surface-600 dark:text-surface-100",
83
- "bg-surface-100 dark:bg-surface-800",
84
- "ring-1 ring-inset ring-surface-300 dark:ring-surface-700",
85
-
86
- // States
87
- "hover:bg-surface-200 dark:hover:bg-surface-700",
88
- "focus:outline-none focus:outline-offset-0 focus:ring-1",
89
- "focus:ring-primary-500 dark:focus:ring-primary-400",
90
- ],
91
- },
92
- },
93
- panel: ({ props }) => ({
94
- class: [
95
- // Display & Position
96
- {
97
- absolute: !props.inline,
98
- "inline-block": props.inline,
99
- },
100
-
101
- // Size
102
- { "w-auto p-2 ": !props.inline },
103
- { "min-w-[80vw] w-auto p-2 ": props.touchUI },
104
- { "p-2 min-w-full": props.inline },
105
-
106
- // Shape
107
- "rounded-lg",
108
- {
109
- "shadow-md ring-1": !props.inline,
110
- },
111
-
112
- // Colors
113
- "bg-surface-0 dark:bg-surface-800",
114
- "ring-surface-200 dark:ring-surface-700",
115
-
116
- //misc
117
- { "overflow-x-auto": props.inline },
118
- ],
119
- }),
120
- datepickerMask: {
121
- class: [
122
- "fixed top-0 left-0 w-full h-full",
123
- "flex items-center justify-center",
124
- "bg-black bg-opacity-90",
125
- ],
126
- },
127
- header: ({ props }) => ({
128
- class: [
129
- //Font
130
- "font-semibold text-md",
131
-
132
- // Flexbox and Alignment
133
- "flex items-center justify-between",
134
-
135
- // Spacing
136
- "m-0",
137
- {
138
- "py-2 pl-2 pb-4": !(props.numberOfMonths > 1),
139
- "py-2 pb-4": props.numberOfMonths > 1,
140
- },
141
-
142
- // Shape
143
- "rounded-t-md",
144
-
145
- // Colors
146
- "text-surface-700 dark:text-white/80",
147
- "bg-surface-0 dark:bg-surface-800",
148
- ],
149
- }),
150
- previousbutton: ({ props }) => ({
151
- class: [
152
- "relative",
153
-
154
- // Flexbox and Alignment
155
- "inline-flex items-center justify-center",
156
- {
157
- " order-2": !(props.numberOfMonths > 1),
158
- "order-1": props.numberOfMonths > 1,
159
- },
160
- // Size
161
- "p-1.5 m-0",
162
-
163
- // Colors
164
- "text-surface-500 dark:text-white/60",
165
- "border-0",
166
- "bg-transparent",
167
-
168
- // States
169
- "hover:text-surface-700 dark:hover:text-white/80",
170
-
171
- // Misc
172
- "cursor-pointer overflow-hidden",
173
- ],
174
- }),
175
- title: ({ props }) => ({
176
- class: [
177
- // Text
178
- "leading-6",
179
- "my-0",
180
- "order-1",
181
- {
182
- "mr-auto": !(props.numberOfMonths > 1),
183
- " mx-auto": props.numberOfMonths > 1,
184
- },
185
- ],
186
- }),
187
- monthTitle: {
188
- class: [
189
- // Font
190
- "text-base leading-6",
191
- "font-semibold",
192
-
193
- // Colors
194
- "text-surface-700 dark:text-white/80",
195
-
196
- // Transitions
197
- "transition duration-200",
198
-
199
- // Spacing
200
- "m-0 mr-2",
201
-
202
- // States
203
- "hover:text-primary-500 dark:hover:text-primary-400",
204
-
205
- // Misc
206
- "cursor-pointer",
207
- ],
208
- },
209
- yearTitle: {
210
- class: [
211
- // Font
212
- "text-base leading-6",
213
- "font-semibold",
214
-
215
- // Colors
216
- "text-surface-700 dark:text-white/80",
217
-
218
- // Transitions
219
- "transition duration-200",
220
-
221
- // Spacing
222
- "m-0",
223
-
224
- // States
225
- "hover:text-primary-500 dark:hover:text-primary-400",
226
-
227
- // Misc
228
- "cursor-pointer",
229
- ],
230
- },
231
- nextbutton: ({ props }) => ({
232
- class: [
233
- "relative",
234
-
235
- // Flexbox and Alignment
236
- "inline-flex items-center justify-center order-3",
237
- {
238
- " order-3": !(props.numberOfMonths > 1),
239
- "order-1": props.numberOfMonths > 1,
240
- },
241
-
242
- // Size
243
- "p-1.5 m-0",
244
-
245
- // Colors
246
- "text-surface-500 dark:text-white/60",
247
- "border-0",
248
- "bg-transparent",
249
-
250
- // States
251
- "hover:text-surface-700 dark:hover:text-white/80",
252
-
253
- // Misc
254
- "cursor-pointer overflow-hidden",
255
- ],
256
- }),
257
- table: {
258
- class: [
259
- // Size & Shape
260
- "w-full",
261
-
262
- // Spacing
263
- "m-0 my-2",
264
- ],
265
- },
266
- tableheadercell: {
267
- class: [
268
- // Spacing
269
- "p-0 md:p-2",
270
- ],
271
- },
272
- tablebodyrow: {
273
- class: [
274
- "border-b border-surface-200 dark:border-surface-700 last:border-b-0",
275
- ],
276
- },
277
- weekheader: {
278
- class: [
279
- "leading-6 text-sm font-normal",
280
- "text-surface-600 dark:text-white/70",
281
- "opacity-40 cursor-default",
282
- "mb-2",
283
- ],
284
- },
285
- weeknumber: {
286
- class: [
287
- "text-surface-600 dark:text-white/70 font-normal",
288
- "opacity-40 cursor-default",
289
- ],
290
- },
291
- weekday: {
292
- class: [
293
- // Colors
294
- "text-surface-500 dark:text-white/60 font-normal",
295
- ],
296
- },
297
- day: {
298
- class: [
299
- // Spacing
300
- "p-0 md:p-2",
301
- ],
302
- },
303
- weeklabelcontainer: ({ context }) => ({
304
- class: [
305
- // Flexbox and Alignment
306
- "flex items-center justify-center",
307
- "mx-auto",
308
-
309
- // Shape & Size
310
- "w-10 h-10",
311
- "rounded-full",
312
- "border-transparent border",
313
-
314
- // Colors
315
- {
316
- "text-surface-600 dark:text-white/70 bg-transparent":
317
- !context.selected && !context.disabled,
318
- "text-primary-500 dark:text-primary-400":
319
- context.selected && !context.disabled,
320
- },
321
-
322
- // States
323
- "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
324
- {
325
- "hover:bg-surface-100 dark:hover:bg-surface-800/80": !context.disabled,
326
- },
327
- {
328
- "opacity-40 cursor-default": context.disabled,
329
- "cursor-pointer": !context.disabled,
330
- },
331
- ],
332
- }),
333
- daylabel: ({ context }) => ({
334
- class: [
335
- // Flexbox and Alignment
336
- "flex items-center justify-center",
337
- "mx-auto",
338
-
339
- // Shape & Size
340
- "w-8 h-8",
341
- "rounded-full",
342
-
343
- // Colors
344
- {
345
- "text-surface-0 bg-surface-900 dark:text-surface-900 dark:bg-surface-0":
346
- context.date.today && !context.selected && !context.disabled,
347
- "text-surface-600 dark:text-white/70 bg-transparent":
348
- !context.selected && !context.disabled && !context.date.today,
349
- "text-primary-500 dark:text-primary-400":
350
- context.selected && !context.disabled && !context.date.today,
351
- "text-primary-200 dark:text-primary-600 bg-surface-900 dark:bg-surface-0":
352
- context.selected && !context.disabled && context.date.today,
353
- },
354
-
355
- // States
356
- "focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400",
357
- {
358
- "hover:bg-surface-100 dark:hover:bg-surface-600/80": !context.disabled,
359
- "hover:bg-surface-700 dark:hover:bg-surface-200":
360
- !context.disabled && context.date.today,
361
- },
362
-
363
- {
364
- "opacity-40 cursor-default": context.disabled,
365
- "cursor-pointer": !context.disabled,
366
- },
367
- ],
368
- }),
369
- monthpicker: {
370
- class: [
371
- // Spacing
372
- "my-2",
373
- ],
374
- },
375
- month: ({ context }) => ({
376
- class: [
377
- // Flexbox and Alignment
378
- "inline-flex items-center justify-center",
379
-
380
- // Size
381
- "w-1/3",
382
- "px-2.5 py-1.5",
383
- "mt-1",
384
- "text-md leading-none",
385
-
386
- // Shape
387
- "rounded-md",
388
-
389
- // Colors
390
- {
391
- "text-surface-600 dark:text-white/70 bg-transparent":
392
- !context.selected && !context.disabled,
393
- "text-primary-500 dark:text-primary-400":
394
- context.selected && !context.disabled,
395
- },
396
-
397
- // States
398
- "focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400",
399
- "hover:bg-surface-100 dark:hover:bg-surface-600/80",
400
-
401
- // Misc
402
- "cursor-pointer",
403
- ],
404
- }),
405
- yearpicker: {
406
- class: [
407
- // Spacing
408
- "my-2",
409
- ],
410
- },
411
- year: ({ context }) => ({
412
- class: [
413
- // Flexbox and Alignment
414
- "inline-flex items-center justify-center",
415
-
416
- // Size
417
- "w-1/3",
418
- "px-2.5 py-1.5",
419
- "mt-1",
420
- "text-md leading-none",
421
-
422
- // Shape
423
- "rounded-md",
424
-
425
- // Colors
426
- {
427
- "text-surface-600 dark:text-white/70 bg-transparent":
428
- !context.selected && !context.disabled,
429
- "text-primary-500 dark:text-primary-400":
430
- context.selected && !context.disabled,
431
- },
432
-
433
- // States
434
- "focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400",
435
- "hover:bg-surface-100 dark:hover:bg-surface-600/80",
436
-
437
- // Misc
438
- "cursor-pointer",
439
- ],
440
- }),
441
- timepicker: {
442
- class: [
443
- // Flexbox
444
- "flex",
445
- "justify-center items-center",
446
-
447
- // Spacing
448
- "p-1.5",
449
- ],
450
- },
451
- separatorcontainer: {
452
- class: [
453
- // Flexbox and Alignment
454
- "flex",
455
- "items-center",
456
- "flex-col",
457
-
458
- // Spacing
459
- "px-2",
460
- ],
461
- },
462
- separator: {
463
- class: [
464
- // Text
465
- "text-xl",
466
- ],
467
- },
468
- hourpicker: {
469
- class: [
470
- // Flexbox and Alignment
471
- "flex",
472
- "items-center",
473
- "flex-col",
474
-
475
- // Spacing
476
- "px-2",
477
- ],
478
- },
479
- minutepicker: {
480
- class: [
481
- // Flexbox and Alignment
482
- "flex",
483
- "items-center",
484
- "flex-col",
485
-
486
- // Spacing
487
- "px-2",
488
- ],
489
- },
490
- secondPicker: {
491
- class: [
492
- // Flexbox and Alignment
493
- "flex",
494
- "items-center",
495
- "flex-col",
496
-
497
- // Spacing
498
- "px-2",
499
- ],
500
- },
501
- ampmpicker: {
502
- class: [
503
- // Flexbox and Alignment
504
- "flex",
505
- "items-center",
506
- "flex-col",
507
-
508
- // Spacing
509
- "px-2",
510
- ],
511
- },
512
- incrementbutton: {
513
- class: [
514
- "relative",
515
-
516
- // Flexbox and Alignment
517
- "inline-flex items-center justify-center",
518
-
519
- // Size
520
- "p-1.5 m-0",
521
-
522
- // Colors
523
- "text-surface-500 dark:text-white/60",
524
- "border-0",
525
- "bg-transparent",
526
-
527
- // States
528
- "hover:text-surface-700 dark:hover:text-white/80",
529
-
530
- // Misc
531
- "cursor-pointer overflow-hidden",
532
- ],
533
- },
534
- decrementbutton: {
535
- class: [
536
- "relative",
537
-
538
- // Flexbox and Alignment
539
- "inline-flex items-center justify-center",
540
-
541
- // Size
542
- "p-1.5 m-0",
543
-
544
- // Colors
545
- "text-surface-500 dark:text-white/60",
546
- "border-0",
547
- "bg-transparent",
548
-
549
- // States
550
- "hover:text-surface-700 dark:hover:text-white/80",
551
-
552
- // Misc
553
- "cursor-pointer overflow-hidden",
554
- ],
555
- },
556
- groupcontainer: {
557
- class: [
558
- // Flexbox
559
- "flex",
560
- ],
561
- },
562
- group: {
563
- class: [
564
- // Flexbox and Sizing
565
- "flex-1",
566
-
567
- // Borders
568
- "border-l",
569
- "border-surface-200 dark:border-surface-700",
570
-
571
- // Spacing
572
- "pr-0.5",
573
- "pl-0.5",
574
- "pt-0",
575
- "pb-0",
576
-
577
- // Pseudo-Classes
578
- "first:pl-0",
579
- "first:border-l-0",
580
- ],
581
- },
582
- buttonbar: {
583
- class: [
584
- // Flexbox
585
- "flex justify-between items-center",
586
-
587
- // Spacing
588
- "pt-2.5 pb-1.5 px-0",
589
-
590
- // Shape
591
- "border-t border-surface-200 dark:border-surface-700",
592
- ],
593
- },
594
- todaybutton: {
595
- root: {
596
- class: [
597
- // Flexbox and Alignment
598
- "inline-flex items-center justify-center",
599
-
600
- // Spacing
601
- "px-2.5 py-1.5 text-sm leading-none",
602
-
603
- // Shape
604
- "rounded-md",
605
-
606
- // Colors
607
- "bg-transparent border-transparent",
608
- "text-primary-500 dark:text-primary-400",
609
-
610
- // Transitions
611
- "transition-colors duration-200 ease-in-out",
612
-
613
- // States
614
- "focus:outline-none focus:outline-offset-0 focus:ring-2 ring-inset",
615
- "focus:ring-primary-500 dark:focus:ring-primary-400",
616
- "hover:bg-primary-300/20",
617
-
618
- // Misc
619
- "cursor-pointer",
620
- ],
621
- },
622
- },
623
- clearbutton: {
624
- root: {
625
- class: [
626
- // Flexbox and Alignment
627
- "inline-flex items-center justify-center",
628
-
629
- // Spacing
630
- "px-2.5 py-1.5 text-sm leading-none",
631
-
632
- // Shape
633
- "rounded-md",
634
-
635
- // Colors
636
- "bg-transparent border-transparent",
637
- "text-primary-500 dark:text-primary-400",
638
-
639
- // Transitions
640
- "transition-colors duration-200 ease-in-out",
641
-
642
- // States
643
- "focus:outline-none focus:outline-offset-0 focus:ring-2 ring-inset",
644
- "focus:ring-primary-500 dark:focus:ring-primary-400",
645
- "hover:bg-primary-300/20",
646
-
647
- // Misc
648
- "cursor-pointer",
649
- ],
650
- },
651
- },
652
- transition: {
653
- enterFromClass: "opacity-0 scale-y-[0.8]",
654
- enterActiveClass:
655
- "transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",
656
- leaveActiveClass: "transition-opacity duration-100 ease-linear",
657
- leaveToClass: "opacity-0",
658
- },
659
- };
@@ -1,40 +0,0 @@
1
- export default {
2
- root: {
3
- class: [
4
- //Shape
5
- "rounded-lg",
6
- "shadow-md",
7
-
8
- //Color
9
- "bg-surface-0 dark:bg-surface-900",
10
- "text-surface-700 dark:text-surface-0/80",
11
- ],
12
- },
13
- header: {
14
- class: ["border-b border-surface-200 dark:border-surface-700"],
15
- },
16
- body: {
17
- class: "py-5",
18
- },
19
- title: {
20
- class: "text-lg font-medium mb-2 px-5 md:px-6",
21
- },
22
- subtitle: {
23
- class: [
24
- //Spacing
25
- "mb-1 px-5 md:px-6",
26
-
27
- //Color
28
- "text-surface-600 dark:text-surface-0/60",
29
- ],
30
- },
31
- content: {
32
- class: "py-6 px-5 md:px-6",
33
- },
34
- footer: {
35
- class: [
36
- "px-5 md:px-6 pt-5 pb-0",
37
- "border-t border-surface-200 dark:border-surface-700",
38
- ],
39
- },
40
- };