@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,351 +0,0 @@
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
- };
@@ -1,77 +0,0 @@
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
- };
@@ -1,22 +0,0 @@
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
- };
@@ -1,206 +0,0 @@
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-surface-900 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-surface-900/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
- };