@fy-/fws-vue 0.1.2 → 0.1.4

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 +21 -0
  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,351 @@
1
+ export default {
2
+ content: ({ parent, props }) => ({
3
+ class: [
4
+ "flex",
5
+ {
6
+ "flex-col": props.fullScreen,
7
+ },
8
+ {
9
+ "flex-col":
10
+ parent.props.thumbnailsPosition === "top" ||
11
+ parent.props.thumbnailsPosition === "bottom",
12
+ "flex-row":
13
+ parent.props.thumbnailsPosition === "right" ||
14
+ parent.props.thumbnailsPosition === "left",
15
+ },
16
+ ],
17
+ }),
18
+ itemwrapper: ({ parent, props }) => ({
19
+ class: [
20
+ "group",
21
+ "flex relative",
22
+ {
23
+ "grow shrink w-0 justify-center": props.fullScreen,
24
+ },
25
+ {
26
+ "flex-col":
27
+ parent.props.indicatorsPosition === "bottom" ||
28
+ parent.props.indicatorsPosition === "top",
29
+ "flex-row items-center":
30
+ parent.props.indicatorsPosition === "left" ||
31
+ parent.props.indicatorsPosition === "right",
32
+ },
33
+ {
34
+ "order-2":
35
+ parent.props.thumbnailsPosition === "top" ||
36
+ parent.props.thumbnailsPosition === "left",
37
+ "flex-row": parent.props.thumbnailsPosition === "right",
38
+ },
39
+ ],
40
+ }),
41
+
42
+ itemcontainer: ({ parent }) => ({
43
+ class: [
44
+ "flex h-full relative",
45
+ {
46
+ "order-1":
47
+ parent.props.indicatorsPosition === "bottom" ||
48
+ parent.props.indicatorsPosition === "right",
49
+ "order-2":
50
+ parent.props.indicatorsPosition === "top" ||
51
+ parent.props.indicatorsPosition === "left",
52
+ },
53
+ ],
54
+ }),
55
+ item: {
56
+ class: [
57
+ // Flex
58
+ "flex justify-center items-center h-full w-full",
59
+
60
+ // Sizing
61
+ "h-full w-full",
62
+ ],
63
+ },
64
+ thumbnailwrapper: ({ parent }) => ({
65
+ class: [
66
+ // Flex
67
+ "flex flex-col shrink-0",
68
+
69
+ {
70
+ "order-1":
71
+ parent.props.thumbnailsPosition === "top" ||
72
+ parent.props.thumbnailsPosition === "left",
73
+ },
74
+
75
+ // Misc
76
+ "overflow-auto",
77
+ ],
78
+ }),
79
+ thumbnailcontainer: ({ parent }) => ({
80
+ class: [
81
+ // Flex
82
+ "flex",
83
+
84
+ // Spacing
85
+ "p-4",
86
+
87
+ // Colors
88
+ "bg-black/90",
89
+
90
+ {
91
+ "flex-row":
92
+ parent.props.thumbnailsPosition === "top" ||
93
+ parent.props.thumbnailsPosition === "bottom",
94
+ "flex-col grow":
95
+ parent.props.thumbnailsPosition === "right" ||
96
+ parent.props.thumbnailsPosition === "left",
97
+ },
98
+ ],
99
+ }),
100
+ previousthumbnailbutton: {
101
+ class: [
102
+ // Positioning
103
+ "self-center relative",
104
+
105
+ // Display & Flexbox
106
+ "flex shrink-0 justify-center items-center overflow-hidden",
107
+
108
+ // Spacing
109
+ "m-2",
110
+
111
+ // Appearance
112
+ "bg-transparent text-white w-8 h-8 rounded-full transition duration-200 ease-in-out",
113
+
114
+ // Hover Effects
115
+ "hover:bg-surface-0/10 hover:text-white",
116
+
117
+ // Focus Effects
118
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
119
+ ],
120
+ },
121
+ thumbnailitemscontainer: {
122
+ class: "overflow-hidden w-full",
123
+ },
124
+ thumbnailitems: ({ parent }) => ({
125
+ class: [
126
+ "flex",
127
+ {
128
+ "flex-col h-full":
129
+ parent.props.thumbnailsPosition === "right" ||
130
+ parent.props.thumbnailsPosition === "left",
131
+ },
132
+ ],
133
+ }),
134
+ thumbnailitem: ({ parent }) => ({
135
+ class: [
136
+ // Flexbox
137
+ "flex items-center justify-center",
138
+ "grow shrink-0",
139
+
140
+ // Sizing
141
+ {
142
+ "w-full md:w-[25%] lg:w-[20%]":
143
+ parent.props.thumbnailsPosition === "top" ||
144
+ parent.props.thumbnailsPosition === "bottom",
145
+ },
146
+
147
+ // Misc
148
+ "overflow-auto",
149
+ "cursor-pointer",
150
+ "opacity-50",
151
+
152
+ // States
153
+ "hover:opacity-100",
154
+ "hover:transition-opacity",
155
+ "hover:duration-300",
156
+ ],
157
+ }),
158
+ nextthumbnailbutton: {
159
+ class: [
160
+ // Positioning
161
+ "self-center relative",
162
+
163
+ // Display & Flexbox
164
+ "flex shrink-0 justify-center items-center overflow-hidden",
165
+
166
+ // Spacing
167
+ "m-2",
168
+
169
+ // Appearance
170
+ "bg-transparent text-white w-8 h-8 rounded-full transition duration-200 ease-in-out",
171
+
172
+ // Hover Effects
173
+ "hover:bg-surface-0/10 hover:text-white",
174
+
175
+ // Focus Effects
176
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
177
+ ],
178
+ },
179
+ indicators: ({ parent }) => ({
180
+ class: [
181
+ // flex
182
+ "flex items-center justify-center",
183
+
184
+ // Spacing
185
+ "p-4",
186
+
187
+ // Indicators Position
188
+ {
189
+ "order-2": parent.props.indicatorsPosition == "bottom",
190
+ "order-1": parent.props.indicatorsPosition == "top",
191
+ "order-1 flex-col": parent.props.indicatorsPosition == "left",
192
+ "flex-col order-2": parent.props.indicatorsPosition == "right",
193
+ },
194
+ {
195
+ "absolute z-10 bg-black/50": parent.props.showIndicatorsOnItem,
196
+ },
197
+
198
+ {
199
+ "bottom-0 left-0 w-full items-start":
200
+ parent.props.indicatorsPosition == "bottom" &&
201
+ parent.props.showIndicatorsOnItem,
202
+ "top-0 left-0 w-full items-start":
203
+ parent.props.indicatorsPosition == "top" &&
204
+ parent.props.showIndicatorsOnItem,
205
+ "left-0 top-0 h-full items-start":
206
+ parent.props.indicatorsPosition == "left" &&
207
+ parent.props.showIndicatorsOnItem,
208
+ "right-0 top-0 h-full items-start":
209
+ parent.props.indicatorsPosition == "right" &&
210
+ parent.props.showIndicatorsOnItem,
211
+ },
212
+ ],
213
+ }),
214
+ indicator: ({ parent }) => ({
215
+ class: [
216
+ {
217
+ "mr-2":
218
+ parent.props.indicatorsPosition == "bottom" ||
219
+ parent.props.indicatorsPosition == "top",
220
+ "mb-2":
221
+ parent.props.indicatorsPosition == "left" ||
222
+ parent.props.indicatorsPosition == "right",
223
+ },
224
+ ],
225
+ }),
226
+ indicatorbutton: ({ context }) => ({
227
+ class: [
228
+ // Size
229
+ "w-4 h-4",
230
+
231
+ // Appearance
232
+ "rounded-full transition duration-200",
233
+
234
+ // Focus Effects
235
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
236
+
237
+ // Conditional Appearance: Not Highlighted
238
+ {
239
+ "bg-surface-200 hover:bg-surface-300 dark:bg-surface-700 dark:hover:bg-surface-600":
240
+ !context.highlighted,
241
+ },
242
+
243
+ // Conditional Appearance: Highlighted
244
+ { "bg-primary-500 hover:bg-primary-600": context.highlighted },
245
+ ],
246
+ }),
247
+ mask: {
248
+ class: [
249
+ "fixed top-0 left-0 w-full h-full",
250
+ "flex items-center justify-center",
251
+ "bg-black/90",
252
+ ],
253
+ },
254
+ closebutton: {
255
+ class: [
256
+ // Positioning
257
+ "!absolute top-0 right-0",
258
+
259
+ // Display & Flexbox
260
+ "flex justify-center items-center overflow-hidden",
261
+
262
+ // Spacing
263
+ "m-2",
264
+
265
+ // Appearance
266
+ "text-white bg-transparent w-12 h-12 rounded-full transition duration-200 ease-in-out",
267
+
268
+ // Hover Effect
269
+ "hover:text-white hover:bg-surface-0/10",
270
+
271
+ // Focus Effects
272
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
273
+ ],
274
+ },
275
+ closeicon: {
276
+ class: "w-6 h-6",
277
+ },
278
+ previousitembutton: ({ parent }) => ({
279
+ class: [
280
+ // Display & Flexbox
281
+ "inline-flex justify-center items-center overflow-hidden",
282
+
283
+ // Appearance
284
+ "bg-transparent text-white w-16 h-16 transition duration-200 ease-in-out rounded-md",
285
+ {
286
+ "opacity-0 group-hover:opacity-100":
287
+ parent.props.showItemNavigatorsOnHover,
288
+ },
289
+
290
+ // Spacing
291
+ "mx-2",
292
+
293
+ // Positioning
294
+ "top-1/2 mt-[-0.5rem] left-0",
295
+ {
296
+ "!absolute": parent.props.showItemNavigators,
297
+ "!fixed": !parent.props.showItemNavigators,
298
+ },
299
+
300
+ // Hover Effect
301
+ "hover:bg-surface-0/10 hover:text-white",
302
+
303
+ // Focus Effects
304
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
305
+ ],
306
+ }),
307
+ nextitembutton: ({ parent }) => ({
308
+ class: [
309
+ // Display & Flexbox
310
+ "inline-flex justify-center items-center overflow-hidden",
311
+
312
+ // Appearance
313
+ "bg-transparent text-white w-16 h-16 transition duration-200 ease-in-out rounded-md",
314
+ {
315
+ "opacity-0 group-hover:opacity-100":
316
+ parent.props.showItemNavigatorsOnHover,
317
+ },
318
+
319
+ // Spacing
320
+ "mx-2",
321
+
322
+ // Positioning
323
+ "top-1/2 mt-[-0.5rem] right-0",
324
+ {
325
+ "!absolute": parent.props.showItemNavigators,
326
+ "!fixed": !parent.props.showItemNavigators,
327
+ },
328
+
329
+ // Hover Effect
330
+ "hover:bg-surface-0/10 hover:text-white",
331
+
332
+ // Focus Effects
333
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
334
+ ],
335
+ }),
336
+ caption: {
337
+ class: [
338
+ // Positioning
339
+ "absolute bottom-0 left-0 w-full",
340
+
341
+ // Appearance
342
+ "bg-black/50 text-white p-4",
343
+ ],
344
+ },
345
+ transition: {
346
+ enterFromClass: "opacity-0 scale-75",
347
+ enterActiveClass: "transition-all duration-150 ease-in-out",
348
+ leaveActiveClass: "transition-all duration-150 ease-in",
349
+ leaveToClass: "opacity-0 scale-75",
350
+ },
351
+ };
@@ -0,0 +1,90 @@
1
+ export default {
2
+ css: `
3
+ *[data-pd-ripple="true"]{
4
+ overflow: hidden;
5
+ position: relative;
6
+ }
7
+ span[data-p-ink-active="true"]{
8
+ animation: ripple 0.4s linear;
9
+ }
10
+ @keyframes ripple {
11
+ 100% {
12
+ opacity: 0;
13
+ transform: scale(2.5);
14
+ }
15
+ }
16
+
17
+ .progress-spinner-circle {
18
+ stroke-dasharray: 89, 200;
19
+ stroke-dashoffset: 0;
20
+ animation: p-progress-spinner-dash 1.5s ease-in-out infinite, p-progress-spinner-color 6s ease-in-out infinite;
21
+ stroke-linecap: round;
22
+ }
23
+
24
+ @keyframes p-progress-spinner-dash{
25
+ 0% {
26
+ stroke-dasharray: 1, 200;
27
+ stroke-dashoffset: 0;
28
+ }
29
+
30
+ 50% {
31
+ stroke-dasharray: 89, 200;
32
+ stroke-dashoffset: -35px;
33
+ }
34
+ 100% {
35
+ stroke-dasharray: 89, 200;
36
+ stroke-dashoffset: -124px;
37
+ }
38
+ }
39
+ @keyframes p-progress-spinner-color {
40
+ 100%, 0% {
41
+ stroke: #ff5757;
42
+ }
43
+ 40% {
44
+ stroke: #696cff;
45
+ }
46
+ 66% {
47
+ stroke: #1ea97c;
48
+ }
49
+ 80%, 90% {
50
+ stroke: #cc8925;
51
+ }
52
+ }
53
+
54
+ .progressbar-value-animate::after {
55
+ will-change: left, right;
56
+ animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
57
+ }
58
+ .progressbar-value-animate::before {
59
+ will-change: left, right;
60
+ animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
61
+ }
62
+ @keyframes p-progressbar-indeterminate-anim {
63
+ 0% {
64
+ left: -35%;
65
+ right: 100%;
66
+ }
67
+ 60% {
68
+ left: 100%;
69
+ right: -90%;
70
+ }
71
+ 100% {
72
+ left: 100%;
73
+ right: -90%;
74
+ }
75
+ }
76
+
77
+ .p-fadein {
78
+ animation: p-fadein 250ms linear;
79
+ }
80
+
81
+ @keyframes p-fadein {
82
+ 0% {
83
+ opacity: 0;
84
+ }
85
+ 100% {
86
+ opacity: 1;
87
+ }
88
+ }
89
+ `,
90
+ };
@@ -0,0 +1,22 @@
1
+ export default {
2
+ root: ({ props }) => ({
3
+ class: [
4
+ "relative",
5
+ "[&>input]:w-full",
6
+
7
+ "[&>*:first-child]:absolute",
8
+ "[&>*:first-child]:top-1/2",
9
+ "[&>*:first-child]:-mt-2",
10
+ "[&>*:first-child]:leading-none",
11
+ "[&>*:first-child]:text-surface-900/60 dark:[&>*:first-child]:text-white/60",
12
+ {
13
+ "[&>*:first-child]:right-3": props.iconPosition === "right",
14
+ "[&>*:first-child]:left-3": props.iconPosition === "left",
15
+ },
16
+ {
17
+ "[&>*:last-child]:pr-10": props.iconPosition === "right",
18
+ "[&>*:last-child]:pl-10": props.iconPosition === "left",
19
+ },
20
+ ],
21
+ }),
22
+ };
@@ -0,0 +1,206 @@
1
+ export default {
2
+ root: {
3
+ class: "relative inline-block",
4
+ },
5
+ button: {
6
+ class: [
7
+ // Flexbox & Alignment
8
+ "flex items-center justify-center",
9
+
10
+ // Positioning
11
+ "absolute",
12
+
13
+ // Shape
14
+ "inset-0 opacity-0 transition-opacity duration-300",
15
+
16
+ // Color
17
+ "bg-transparent text-surface-100",
18
+
19
+ // States
20
+ "hover:opacity-100 hover:cursor-pointer hover:bg-black/50 hover:bg-opacity-50",
21
+ ],
22
+ },
23
+ mask: {
24
+ class: [
25
+ // Flexbox & Alignment
26
+ "flex items-center justify-center",
27
+
28
+ // Positioning
29
+ "fixed top-0 left-0",
30
+
31
+ // Sizing
32
+ "w-full h-full",
33
+
34
+ // Color
35
+ "bg-black/90",
36
+ ],
37
+ },
38
+ toolbar: {
39
+ class: [
40
+ // Flexbox
41
+ "flex",
42
+
43
+ // Positioning
44
+ "absolute top-0 right-0",
45
+
46
+ // Spacing
47
+ "p-4",
48
+ ],
49
+ },
50
+ rotaterightbutton: {
51
+ class: [
52
+ "z-20",
53
+
54
+ // Flexbox & Alignment
55
+ "flex justify-center items-center",
56
+
57
+ // Size
58
+ "w-12 h-12",
59
+
60
+ // Spacing
61
+ "mr-2",
62
+
63
+ // Shape
64
+ "rounded-full",
65
+
66
+ // Color
67
+ "text-white bg-transparent",
68
+
69
+ // States
70
+ "hover:text-white hover:bg-surface-0/10",
71
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
72
+
73
+ // Transition
74
+ "transition duration-200 ease-in-out",
75
+ ],
76
+ },
77
+ rotaterighticon: {
78
+ class: "w-6 h-6",
79
+ },
80
+ rotateleftbutton: {
81
+ class: [
82
+ "z-20",
83
+
84
+ // Flexbox & Alignment
85
+ "flex justify-center items-center",
86
+
87
+ // Size
88
+ "w-12 h-12",
89
+
90
+ // Spacing
91
+ "mr-2",
92
+
93
+ // Shape
94
+ "rounded-full",
95
+
96
+ // Color
97
+ "text-white bg-transparent",
98
+
99
+ // States
100
+ "hover:text-white hover:bg-surface-0/10",
101
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
102
+
103
+ // Transition
104
+ "transition duration-200 ease-in-out",
105
+ ],
106
+ },
107
+ rotatelefticon: {
108
+ class: "w-6 h-6",
109
+ },
110
+ zoomoutbutton: {
111
+ class: [
112
+ "z-20",
113
+
114
+ // Flexbox & Alignment
115
+ "flex justify-center items-center",
116
+
117
+ // Size
118
+ "w-12 h-12",
119
+
120
+ // Spacing
121
+ "mr-2",
122
+
123
+ // Shape
124
+ "rounded-full",
125
+
126
+ // Color
127
+ "text-white bg-transparent",
128
+
129
+ // States
130
+ "hover:text-white hover:bg-surface-0/10",
131
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
132
+
133
+ // Transition
134
+ "transition duration-200 ease-in-out",
135
+ ],
136
+ },
137
+ zoomouticon: {
138
+ class: "w-6 h-6",
139
+ },
140
+ zoominbutton: {
141
+ class: [
142
+ "z-20",
143
+
144
+ // Flexbox & Alignment
145
+ "flex justify-center items-center",
146
+
147
+ // Size
148
+ "w-12 h-12",
149
+
150
+ // Spacing
151
+ "mr-2",
152
+
153
+ // Shape
154
+ "rounded-full",
155
+
156
+ // Color
157
+ "text-white bg-transparent",
158
+
159
+ // States
160
+ "hover:text-white hover:bg-surface-0/10",
161
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
162
+
163
+ // Transition
164
+ "transition duration-200 ease-in-out",
165
+ ],
166
+ },
167
+ zoominicon: {
168
+ class: "w-6 h-6",
169
+ },
170
+ closebutton: {
171
+ class: [
172
+ "z-20",
173
+
174
+ // Flexbox & Alignment
175
+ "flex justify-center items-center",
176
+
177
+ // Size
178
+ "w-12 h-12",
179
+
180
+ // Spacing
181
+ "mr-2",
182
+
183
+ // Shape
184
+ "rounded-full",
185
+
186
+ // Color
187
+ "text-white bg-transparent",
188
+
189
+ // States
190
+ "hover:text-white hover:bg-surface-0/10",
191
+ "focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50",
192
+
193
+ // Transition
194
+ "transition duration-200 ease-in-out",
195
+ ],
196
+ },
197
+ closeicon: {
198
+ class: "w-6 h-6",
199
+ },
200
+ transition: {
201
+ enterFromClass: "opacity-0 scale-75",
202
+ enterActiveClass: "transition-all duration-150 ease-in-out",
203
+ leaveActiveClass: "transition-all duration-150 ease-in",
204
+ leaveToClass: "opacity-0 scale-75",
205
+ },
206
+ };