@cooperco/cooper-component-library 0.0.10 → 0.1.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 (181) hide show
  1. package/dist/component-lib.js +6960 -0
  2. package/dist/component-lib.umd.cjs +98 -0
  3. package/dist/style.css +1 -0
  4. package/dist/vite.svg +16 -0
  5. package/package.json +93 -84
  6. package/src/assets/fonts/GT-Walsheim-Bold.woff +0 -0
  7. package/src/assets/fonts/GT-Walsheim-Bold.woff2 +0 -0
  8. package/src/assets/fonts/GT-Walsheim-LC-Bold.woff +0 -0
  9. package/src/assets/fonts/GT-Walsheim-LC-Bold.woff2 +0 -0
  10. package/src/assets/fonts/GT-Walsheim-LC-Regular.woff +0 -0
  11. package/src/assets/fonts/GT-Walsheim-LC-Regular.woff2 +0 -0
  12. package/src/assets/fonts/GT-Walsheim-Medium.woff +0 -0
  13. package/src/assets/fonts/GT-Walsheim-Medium.woff2 +0 -0
  14. package/src/assets/fonts/GT-Walsheim-Regular.woff +0 -0
  15. package/src/assets/fonts/GT-Walsheim-Regular.woff2 +0 -0
  16. package/src/assets/fonts/fonts.scss +60 -0
  17. package/src/assets/fonts/notosanssc-bold-webfont.woff +0 -0
  18. package/src/assets/fonts/notosanssc-bold-webfont.woff2 +0 -0
  19. package/src/assets/fonts/notosanssc-regular-webfont.woff +0 -0
  20. package/src/assets/fonts/notosanssc-regular-webfont.woff2 +0 -0
  21. package/src/assets/main.css +18 -114
  22. package/src/assets/theme.css +5 -1
  23. package/src/components/{types → Accordion}/Accordion.ts +8 -6
  24. package/src/components/Accordion/Accordion.vue +66 -0
  25. package/src/components/Accordion/AccordionItem.ts +25 -0
  26. package/src/components/Accordion/AccordionItem.vue +104 -0
  27. package/src/components/{AccordionItem.vue → Accordion/AccordionListItem.vue} +22 -14
  28. package/src/components/Accordion/AccordionTileItem.vue +75 -0
  29. package/src/components/CTA/CTA.ts +22 -0
  30. package/src/components/CTA/CTA.vue +65 -0
  31. package/src/components/CarouselModule/CarouselModule.ts +20 -0
  32. package/src/components/{CarouselModule.vue → CarouselModule/CarouselModule.vue} +25 -7
  33. package/src/components/ContainerCollectionModule/ContainerCollectionModule.ts +12 -0
  34. package/src/components/{ContainerCollectionModule.vue → ContainerCollectionModule/ContainerCollectionModule.vue} +12 -3
  35. package/src/components/ContainerModule/ContainerModule.ts +69 -0
  36. package/src/components/{ContainerModule.vue → ContainerModule/ContainerModule.vue} +33 -36
  37. package/src/components/ContentModule/ContentModule.ts +31 -0
  38. package/src/components/ContentModule/ContentModule.vue +65 -0
  39. package/src/components/{types → FooterNavigation}/FooterNavigation.ts +3 -2
  40. package/src/components/{FooterNavigation.vue → FooterNavigation/FooterNavigation.vue} +4 -2
  41. package/src/components/Image/Image.vue +17 -0
  42. package/src/components/{types → LogoCollectionModule}/LogoCollectionModule.ts +3 -3
  43. package/src/components/{LogoCollectionModule.vue → LogoCollectionModule/LogoCollectionModule.vue} +13 -3
  44. package/src/components/{types → NavigationElement}/NavigationElement.ts +6 -3
  45. package/src/components/{NavigationElement.vue → NavigationElement/NavigationElement.vue} +18 -9
  46. package/src/components/{types → PrimaryNavigation}/PrimaryNavigation.ts +2 -2
  47. package/src/components/{PrimaryNavigation.vue → PrimaryNavigation/PrimaryNavigation.vue} +7 -4
  48. package/src/components/{types → SplitModule}/SplitModule.ts +6 -5
  49. package/src/components/SplitModule/SplitModule.vue +57 -0
  50. package/src/components/TestimonialModule/TestimonialModule.ts +22 -0
  51. package/src/components/TestimonialModule/TestimonialModule.vue +51 -0
  52. package/src/components/TileCollectionModule/TileCollectionModule.ts +18 -0
  53. package/src/components/TileCollectionModule/TileCollectionModule.vue +58 -0
  54. package/src/components/TileContent/TileContent.ts +60 -0
  55. package/src/components/{TileContent.vue → TileContent/TileContent.vue} +25 -14
  56. package/src/components/TileContent/TileContentIconTile.vue +83 -0
  57. package/src/components/TileContent/TileContentImageStackedAnimatedTile.vue +121 -0
  58. package/src/components/TileContent/TileContentImageTile.vue +80 -0
  59. package/src/components/TileContent/TileContentTextTile.vue +63 -0
  60. package/src/components/TileContent/TileContentVideoTile.vue +81 -0
  61. package/src/components/{types → Video}/Video.ts +1 -1
  62. package/src/components/{Video.vue → Video/Video.vue} +1 -1
  63. package/src/config/defaultPassthrough.ts +261 -0
  64. package/src/assets/usercard.jpg +0 -0
  65. package/src/assets/vue.svg +0 -1
  66. package/src/components/Accordion.vue +0 -33
  67. package/src/components/CTA.vue +0 -39
  68. package/src/components/ContentAndImage.vue +0 -34
  69. package/src/components/ContentMediaModule.vue +0 -50
  70. package/src/components/ContentModule.vue +0 -51
  71. package/src/components/IconChevron.vue +0 -107
  72. package/src/components/Image.vue +0 -15
  73. package/src/components/LogoContainerModule.vue +0 -30
  74. package/src/components/SplitModule.vue +0 -42
  75. package/src/components/Testimonial.vue +0 -48
  76. package/src/components/TestimonialModule.vue +0 -48
  77. package/src/components/TileCollection.vue +0 -37
  78. package/src/components/TileCollectionModule.vue +0 -45
  79. package/src/components/types/AccordionItem.ts +0 -19
  80. package/src/components/types/CTA.ts +0 -13
  81. package/src/components/types/CarouselModule.ts +0 -21
  82. package/src/components/types/ContainerCollectionModule.ts +0 -12
  83. package/src/components/types/ContainerModule.ts +0 -35
  84. package/src/components/types/ContentAndImage.ts +0 -14
  85. package/src/components/types/ContentMediaModule.ts +0 -14
  86. package/src/components/types/ContentModule.ts +0 -21
  87. package/src/components/types/LogoContainerModule.ts +0 -12
  88. package/src/components/types/Testimonial.ts +0 -17
  89. package/src/components/types/TileCollection.ts +0 -14
  90. package/src/components/types/TileContent.ts +0 -34
  91. package/src/components/types/index.ts +0 -10
  92. package/src/presets/aura/accordion/index.js +0 -81
  93. package/src/presets/aura/autocomplete/index.js +0 -280
  94. package/src/presets/aura/avatar/index.js +0 -46
  95. package/src/presets/aura/badge/index.js +0 -43
  96. package/src/presets/aura/badgedirective/index.js +0 -49
  97. package/src/presets/aura/blockui/index.js +0 -8
  98. package/src/presets/aura/breadcrumb/index.js +0 -63
  99. package/src/presets/aura/button/index.js +0 -511
  100. package/src/presets/aura/calendar/index.js +0 -702
  101. package/src/presets/aura/card/index.js +0 -53
  102. package/src/presets/aura/carousel/index.js +0 -160
  103. package/src/presets/aura/cascadeselect/index.js +0 -220
  104. package/src/presets/aura/checkbox/index.js +0 -107
  105. package/src/presets/aura/chip/index.js +0 -45
  106. package/src/presets/aura/chips/index.js +0 -126
  107. package/src/presets/aura/colorpicker/index.js +0 -132
  108. package/src/presets/aura/confirmpopup/index.js +0 -111
  109. package/src/presets/aura/contextmenu/index.js +0 -132
  110. package/src/presets/aura/datatable/index.js +0 -1290
  111. package/src/presets/aura/dataview/index.js +0 -40
  112. package/src/presets/aura/deferred/index.js +0 -3
  113. package/src/presets/aura/dialog/index.js +0 -250
  114. package/src/presets/aura/divider/index.js +0 -72
  115. package/src/presets/aura/dock/index.js +0 -97
  116. package/src/presets/aura/dropdown/index.js +0 -297
  117. package/src/presets/aura/fieldset/index.js +0 -95
  118. package/src/presets/aura/fileupload/index.js +0 -175
  119. package/src/presets/aura/floatlabel/index.js +0 -26
  120. package/src/presets/aura/galleria/index.js +0 -353
  121. package/src/presets/aura/global.js +0 -90
  122. package/src/presets/aura/iconfield/index.js +0 -22
  123. package/src/presets/aura/image/index.js +0 -206
  124. package/src/presets/aura/index.js +0 -181
  125. package/src/presets/aura/inlinemessage/index.js +0 -46
  126. package/src/presets/aura/inplace/index.js +0 -27
  127. package/src/presets/aura/inputgroup/index.js +0 -5
  128. package/src/presets/aura/inputgroupaddon/index.js +0 -28
  129. package/src/presets/aura/inputmask/index.js +0 -47
  130. package/src/presets/aura/inputnumber/index.js +0 -293
  131. package/src/presets/aura/inputotp/index.js +0 -69
  132. package/src/presets/aura/inputswitch/index.js +0 -94
  133. package/src/presets/aura/inputtext/index.js +0 -63
  134. package/src/presets/aura/knob/index.js +0 -47
  135. package/src/presets/aura/listbox/index.js +0 -158
  136. package/src/presets/aura/megamenu/index.js +0 -206
  137. package/src/presets/aura/menu/index.js +0 -122
  138. package/src/presets/aura/menubar/index.js +0 -184
  139. package/src/presets/aura/message/index.js +0 -112
  140. package/src/presets/aura/metergroup/index.js +0 -110
  141. package/src/presets/aura/multiselect/index.js +0 -579
  142. package/src/presets/aura/orderlist/index.js +0 -281
  143. package/src/presets/aura/organizationchart/index.js +0 -142
  144. package/src/presets/aura/overlaypanel/index.js +0 -34
  145. package/src/presets/aura/paginator/index.js +0 -566
  146. package/src/presets/aura/panel/index.js +0 -102
  147. package/src/presets/aura/panelmenu/index.js +0 -130
  148. package/src/presets/aura/password/index.js +0 -143
  149. package/src/presets/aura/picklist/index.js +0 -718
  150. package/src/presets/aura/progressbar/index.js +0 -64
  151. package/src/presets/aura/progressspinner/index.js +0 -51
  152. package/src/presets/aura/radiobutton/index.js +0 -121
  153. package/src/presets/aura/rating/index.js +0 -95
  154. package/src/presets/aura/ripple/index.js +0 -6
  155. package/src/presets/aura/scrollpanel/index.js +0 -77
  156. package/src/presets/aura/scrolltop/index.js +0 -45
  157. package/src/presets/aura/selectbutton/index.js +0 -66
  158. package/src/presets/aura/sidebar/index.js +0 -160
  159. package/src/presets/aura/skeleton/index.js +0 -19
  160. package/src/presets/aura/slider/index.js +0 -144
  161. package/src/presets/aura/speeddial/index.js +0 -579
  162. package/src/presets/aura/splitbutton/index.js +0 -1185
  163. package/src/presets/aura/splitter/index.js +0 -71
  164. package/src/presets/aura/stepper/index.js +0 -183
  165. package/src/presets/aura/steps/index.js +0 -117
  166. package/src/presets/aura/tabmenu/index.js +0 -75
  167. package/src/presets/aura/tabview/index.js +0 -162
  168. package/src/presets/aura/tag/index.js +0 -44
  169. package/src/presets/aura/terminal/index.js +0 -60
  170. package/src/presets/aura/textarea/index.js +0 -49
  171. package/src/presets/aura/tieredmenu/index.js +0 -125
  172. package/src/presets/aura/timeline/index.js +0 -114
  173. package/src/presets/aura/toast/index.js +0 -151
  174. package/src/presets/aura/togglebutton/index.js +0 -98
  175. package/src/presets/aura/toolbar/index.js +0 -28
  176. package/src/presets/aura/tooltip/index.js +0 -73
  177. package/src/presets/aura/tree/index.js +0 -294
  178. package/src/presets/aura/treeselect/index.js +0 -404
  179. package/src/presets/aura/treetable/index.js +0 -513
  180. package/src/presets/aura/tristatecheckbox/index.js +0 -121
  181. /package/src/components/{types → Image}/Image.ts +0 -0
@@ -1,718 +0,0 @@
1
- export default {
2
- root: {
3
- class: [
4
- // Flexbox
5
- 'flex xl:flex-row flex-col',
6
- ],
7
- },
8
- sourcecontrols: {
9
- class: [
10
- // Flexbox & Alignment
11
- 'flex xl:flex-col justify-center gap-2',
12
-
13
- // Spacing
14
- 'p-[1.125rem]',
15
- ],
16
- },
17
- sourcemoveupbutton: {
18
- root: ({ context }) => ({
19
- class: [
20
- // Flexbox & Alignment
21
- 'relative inline-flex items-center justify-center',
22
-
23
- // Shape
24
- 'rounded-md',
25
-
26
- // Color
27
- 'text-surface-700 dark:text-surface-0',
28
- 'bg-surface-100 dark:bg-surface-800',
29
- 'border border-surface-100 dark:border-surface-800',
30
-
31
- // Spacing & Size
32
- 'w-10',
33
- 'm-0',
34
- 'px-0 py-2',
35
-
36
- // Transitions
37
- 'transition duration-200 ease-in-out',
38
-
39
- // State
40
- 'hover:bg-surface-200 dark:hover:bg-[rgba(255,255,255,0.03)] hover:border-surface-200 dark:hover:border-surface-700',
41
- 'focus:outline-none focus:outline-offset-0 focus:ring-1',
42
- 'focus:ring-primary-500 dark:focus:ring-primary-400',
43
- { 'cursor-default pointer-events-none opacity-60': context.disabled },
44
-
45
- // Interactivity
46
- 'cursor-pointer user-select-none',
47
- ],
48
- }),
49
- label: {
50
- class: [
51
- //Font
52
- 'leading-[normal]',
53
-
54
- // Flexbox
55
- 'flex-initial',
56
-
57
- // Size
58
- 'w-0',
59
- ],
60
- },
61
- },
62
- sourcemovetopbutton: {
63
- root: ({ context }) => ({
64
- class: [
65
- // Flexbox & Alignment
66
- 'relative inline-flex items-center justify-center',
67
-
68
- // Shape
69
- 'rounded-md',
70
-
71
- // Color
72
- 'text-surface-700 dark:text-surface-0',
73
- 'bg-surface-100 dark:bg-surface-800',
74
- 'border border-surface-100 dark:border-surface-800',
75
-
76
- // Spacing & Size
77
- 'w-10',
78
- 'm-0',
79
- 'px-0 py-2',
80
-
81
- // Transitions
82
- 'transition duration-200 ease-in-out',
83
-
84
- // State
85
- 'hover:bg-surface-200 dark:hover:bg-[rgba(255,255,255,0.03)] hover:border-surface-200 dark:hover:border-surface-700',
86
- 'focus:outline-none focus:outline-offset-0 focus:ring-1',
87
- 'focus:ring-primary-500 dark:focus:ring-primary-400',
88
- { 'cursor-default pointer-events-none opacity-60': context.disabled },
89
-
90
- // Interactivity
91
- 'cursor-pointer user-select-none',
92
- ],
93
- }),
94
- label: {
95
- class: [
96
- //Font
97
- 'leading-[normal]',
98
-
99
- // Flexbox
100
- 'flex-initial',
101
-
102
- // Size
103
- 'w-0',
104
- ],
105
- },
106
- },
107
- sourcemovedownbutton: {
108
- root: ({ context }) => ({
109
- class: [
110
- // Flexbox & Alignment
111
- 'relative inline-flex items-center justify-center',
112
-
113
- // Shape
114
- 'rounded-md',
115
-
116
- // Color
117
- 'text-surface-700 dark:text-surface-0',
118
- 'bg-surface-100 dark:bg-surface-800',
119
- 'border border-surface-100 dark:border-surface-800',
120
-
121
- // Spacing & Size
122
- 'w-10',
123
- 'm-0',
124
- 'px-0 py-2',
125
-
126
- // Transitions
127
- 'transition duration-200 ease-in-out',
128
-
129
- // State
130
- 'hover:bg-surface-200 dark:hover:bg-[rgba(255,255,255,0.03)] hover:border-surface-200 dark:hover:border-surface-700',
131
- 'focus:outline-none focus:outline-offset-0 focus:ring-1',
132
- 'focus:ring-primary-500 dark:focus:ring-primary-400',
133
- { 'cursor-default pointer-events-none opacity-60': context.disabled },
134
-
135
- // Interactivity
136
- 'cursor-pointer user-select-none',
137
- ],
138
- }),
139
- label: {
140
- class: [
141
- //Font
142
- 'leading-[normal]',
143
-
144
- // Flexbox
145
- 'flex-initial',
146
-
147
- // Size
148
- 'w-0',
149
- ],
150
- },
151
- },
152
- sourcemovebottombutton: {
153
- root: ({ context }) => ({
154
- class: [
155
- // Flexbox & Alignment
156
- 'relative inline-flex items-center justify-center',
157
-
158
- // Shape
159
- 'rounded-md',
160
-
161
- // Color
162
- 'text-surface-700 dark:text-surface-0',
163
- 'bg-surface-100 dark:bg-surface-800',
164
- 'border border-surface-100 dark:border-surface-800',
165
-
166
- // Spacing & Size
167
- 'w-10',
168
- 'm-0',
169
- 'px-0 py-2',
170
-
171
- // Transitions
172
- 'transition duration-200 ease-in-out',
173
-
174
- // State
175
- 'hover:bg-surface-200 dark:hover:bg-[rgba(255,255,255,0.03)] hover:border-surface-200 dark:hover:border-surface-700',
176
- 'focus:outline-none focus:outline-offset-0 focus:ring-1',
177
- 'focus:ring-primary-500 dark:focus:ring-primary-400',
178
- { 'cursor-default pointer-events-none opacity-60': context.disabled },
179
-
180
- // Interactivity
181
- 'cursor-pointer user-select-none',
182
- ],
183
- }),
184
- label: {
185
- class: [
186
- //Font
187
- 'leading-[normal]',
188
-
189
- // Flexbox
190
- 'flex-initial',
191
-
192
- // Size
193
- 'w-0',
194
- ],
195
- },
196
- },
197
- sourcewrapper: {
198
- class: [
199
- // Flexbox
200
- 'grow shrink basis-2/4',
201
-
202
- // Shape
203
- 'rounded-md',
204
-
205
- // Color
206
- 'bg-surface-0 dark:bg-surface-900',
207
- 'border border-surface-200 dark:border-surface-700',
208
- 'outline-none',
209
- ],
210
- },
211
- sourceheader: {
212
- class: [
213
- 'font-semibold',
214
-
215
- // Shape
216
- 'border-0 rounded-t-md',
217
-
218
- // Spacing
219
- 'pt-3 px-4 pb-2',
220
-
221
- // Color
222
- 'text-surface-700 dark:text-white/80',
223
- 'bg-surface-0 dark:bg-surface-900',
224
- ],
225
- },
226
- sourcelist: {
227
- class: [
228
- // Spacing
229
- 'list-none m-0',
230
- 'p-1',
231
-
232
- // Size
233
- 'min-h-[12rem] max-h-[24rem]',
234
-
235
- // Shape
236
- 'rounded-b-md',
237
-
238
- // Color
239
- 'text-surface-700 dark:text-white/80',
240
- 'bg-surface-0 dark:bg-surface-900',
241
-
242
- // Focus & Outline
243
- 'outline-none',
244
-
245
- // Misc
246
- 'overflow-auto',
247
- ],
248
- },
249
- item: ({ context }) => ({
250
- class: [
251
- // Position
252
- 'relative',
253
-
254
- // Spacing
255
- 'py-2 px-3 m-0 my-[2px] first:mt-0 last:mb-0',
256
-
257
- // Shape
258
- 'border-none',
259
- 'rounded-md',
260
-
261
- // Transition
262
- 'transition duration-200',
263
-
264
- // Color
265
- {
266
- 'text-surface-700 dark:text-white/80 bg-surface-0 dark:bg-surface-900':
267
- !context.active,
268
- },
269
- { 'text-primary-highlight-inverse bg-primary-highlight': context.active },
270
-
271
- // State
272
- {
273
- 'hover:bg-surface-100 dark:hover:bg-[rgba(255,255,255,0.03)]':
274
- !context.active,
275
- 'hover:bg-primary-highlight-hover': context.active,
276
- },
277
-
278
- // Misc
279
- 'cursor-pointer overflow-hidden',
280
- ],
281
- }),
282
- buttons: {
283
- class: [
284
- // Flexbox & Alignment
285
- 'flex xl:flex-col justify-center gap-2',
286
-
287
- // Spacing
288
- 'p-[1.125rem]',
289
- ],
290
- },
291
- movetotargetbutton: {
292
- root: ({ context }) => ({
293
- class: [
294
- // Flexbox & Alignment
295
- 'relative inline-flex items-center justify-center',
296
-
297
- // Shape
298
- 'rounded-md',
299
-
300
- // Color
301
- 'text-surface-700 dark:text-surface-0',
302
- 'bg-surface-100 dark:bg-surface-800',
303
- 'border border-surface-100 dark:border-surface-800',
304
-
305
- // Spacing & Size
306
- 'w-10',
307
- 'm-0',
308
- 'px-0 py-2',
309
-
310
- // Transitions
311
- 'transition duration-200 ease-in-out',
312
-
313
- // State
314
- 'hover:bg-surface-200 dark:hover:bg-[rgba(255,255,255,0.03)] hover:border-surface-200 dark:hover:border-surface-700',
315
- 'focus:outline-none focus:outline-offset-0 focus:ring-1',
316
- 'focus:ring-primary-500 dark:focus:ring-primary-400',
317
- { 'cursor-default pointer-events-none opacity-60': context.disabled },
318
-
319
- // Interactivity
320
- 'cursor-pointer user-select-none',
321
- ],
322
- }),
323
- label: {
324
- class: [
325
- //Font
326
- 'leading-[normal]',
327
-
328
- // Flexbox
329
- 'flex-initial',
330
-
331
- // Size
332
- 'w-0',
333
- ],
334
- },
335
- },
336
- movealltotargetbutton: {
337
- root: ({ context }) => ({
338
- class: [
339
- // Flexbox & Alignment
340
- 'relative inline-flex items-center justify-center',
341
-
342
- // Shape
343
- 'rounded-md',
344
-
345
- // Color
346
- 'text-surface-700 dark:text-surface-0',
347
- 'bg-surface-100 dark:bg-surface-800',
348
- 'border border-surface-100 dark:border-surface-800',
349
-
350
- // Spacing & Size
351
- 'w-10',
352
- 'm-0',
353
- 'px-0 py-2',
354
-
355
- // Transitions
356
- 'transition duration-200 ease-in-out',
357
-
358
- // State
359
- 'hover:bg-surface-200 dark:hover:bg-[rgba(255,255,255,0.03)] hover:border-surface-200 dark:hover:border-surface-700',
360
- 'focus:outline-none focus:outline-offset-0 focus:ring-1',
361
- 'focus:ring-primary-500 dark:focus:ring-primary-400',
362
- { 'cursor-default pointer-events-none opacity-60': context.disabled },
363
-
364
- // Interactivity
365
- 'cursor-pointer user-select-none',
366
- ],
367
- }),
368
- label: {
369
- class: [
370
- //Font
371
- 'leading-[normal]',
372
-
373
- // Flexbox
374
- 'flex-initial',
375
-
376
- // Size
377
- 'w-0',
378
- ],
379
- },
380
- },
381
- movetosourcebutton: {
382
- root: ({ context }) => ({
383
- class: [
384
- // Flexbox & Alignment
385
- 'relative inline-flex items-center justify-center',
386
-
387
- // Shape
388
- 'rounded-md',
389
-
390
- // Color
391
- 'text-surface-700 dark:text-surface-0',
392
- 'bg-surface-100 dark:bg-surface-800',
393
- 'border border-surface-100 dark:border-surface-800',
394
-
395
- // Spacing & Size
396
- 'w-10',
397
- 'm-0',
398
- 'px-0 py-2',
399
-
400
- // Transitions
401
- 'transition duration-200 ease-in-out',
402
-
403
- // State
404
- 'hover:bg-surface-200 dark:hover:bg-[rgba(255,255,255,0.03)] hover:border-surface-200 dark:hover:border-surface-700',
405
- 'focus:outline-none focus:outline-offset-0 focus:ring-1',
406
- 'focus:ring-primary-500 dark:focus:ring-primary-400',
407
- { 'cursor-default pointer-events-none opacity-60': context.disabled },
408
-
409
- // Interactivity
410
- 'cursor-pointer user-select-none',
411
- ],
412
- }),
413
- label: {
414
- class: [
415
- //Font
416
- 'leading-[normal]',
417
-
418
- // Flexbox
419
- 'flex-initial',
420
-
421
- // Size
422
- 'w-0',
423
- ],
424
- },
425
- },
426
- movealltosourcebutton: {
427
- root: ({ context }) => ({
428
- class: [
429
- // Flexbox & Alignment
430
- 'relative inline-flex items-center justify-center',
431
-
432
- // Shape
433
- 'rounded-md',
434
-
435
- // Color
436
- 'text-surface-700 dark:text-surface-0',
437
- 'bg-surface-100 dark:bg-surface-800',
438
- 'border border-surface-100 dark:border-surface-800',
439
-
440
- // Spacing & Size
441
- 'w-10',
442
- 'm-0',
443
- 'px-0 py-2',
444
-
445
- // Transitions
446
- 'transition duration-200 ease-in-out',
447
-
448
- // State
449
- 'hover:bg-surface-200 dark:hover:bg-[rgba(255,255,255,0.03)] hover:border-surface-200 dark:hover:border-surface-700',
450
- 'focus:outline-none focus:outline-offset-0 focus:ring-1',
451
- 'focus:ring-primary-500 dark:focus:ring-primary-400',
452
- { 'cursor-default pointer-events-none opacity-60': context.disabled },
453
-
454
- // Interactivity
455
- 'cursor-pointer user-select-none',
456
- ],
457
- }),
458
- label: {
459
- class: [
460
- //Font
461
- 'leading-[normal]',
462
-
463
- // Flexbox
464
- 'flex-initial',
465
-
466
- // Size
467
- 'w-0',
468
- ],
469
- },
470
- },
471
- targetcontrols: {
472
- class: [
473
- // Flexbox & Alignment
474
- 'flex xl:flex-col justify-center gap-2',
475
-
476
- // Spacing
477
- 'p-[1.125rem]',
478
- ],
479
- },
480
- targetmoveupbutton: {
481
- root: ({ context }) => ({
482
- class: [
483
- // Flexbox & Alignment
484
- 'relative inline-flex items-center justify-center',
485
-
486
- // Shape
487
- 'rounded-md',
488
-
489
- // Color
490
- 'text-surface-700 dark:text-surface-0',
491
- 'bg-surface-100 dark:bg-surface-800',
492
- 'border border-surface-100 dark:border-surface-800',
493
-
494
- // Spacing & Size
495
- 'w-10',
496
- 'm-0',
497
- 'px-0 py-2',
498
-
499
- // Transitions
500
- 'transition duration-200 ease-in-out',
501
-
502
- // State
503
- 'hover:bg-surface-200 dark:hover:bg-[rgba(255,255,255,0.03)] hover:border-surface-200 dark:hover:border-surface-700',
504
- 'focus:outline-none focus:outline-offset-0 focus:ring-1',
505
- 'focus:ring-primary-500 dark:focus:ring-primary-400',
506
- { 'cursor-default pointer-events-none opacity-60': context.disabled },
507
-
508
- // Interactivity
509
- 'cursor-pointer user-select-none',
510
- ],
511
- }),
512
- label: {
513
- class: [
514
- //Font
515
- 'leading-[normal]',
516
-
517
- // Flexbox
518
- 'flex-initial',
519
-
520
- // Size
521
- 'w-0',
522
- ],
523
- },
524
- },
525
- targetmovetopbutton: {
526
- root: ({ context }) => ({
527
- class: [
528
- // Flexbox & Alignment
529
- 'relative inline-flex items-center justify-center',
530
-
531
- // Shape
532
- 'rounded-md',
533
-
534
- // Color
535
- 'text-surface-700 dark:text-surface-0',
536
- 'bg-surface-100 dark:bg-surface-800',
537
- 'border border-surface-100 dark:border-surface-800',
538
-
539
- // Spacing & Size
540
- 'w-10',
541
- 'm-0',
542
- 'px-0 py-2',
543
-
544
- // Transitions
545
- 'transition duration-200 ease-in-out',
546
-
547
- // State
548
- 'hover:bg-surface-200 dark:hover:bg-[rgba(255,255,255,0.03)] hover:border-surface-200 dark:hover:border-surface-700',
549
- 'focus:outline-none focus:outline-offset-0 focus:ring-1',
550
- 'focus:ring-primary-500 dark:focus:ring-primary-400',
551
- { 'cursor-default pointer-events-none opacity-60': context.disabled },
552
-
553
- // Interactivity
554
- 'cursor-pointer user-select-none',
555
- ],
556
- }),
557
- label: {
558
- class: [
559
- //Font
560
- 'leading-[normal]',
561
-
562
- // Flexbox
563
- 'flex-initial',
564
-
565
- // Size
566
- 'w-0',
567
- ],
568
- },
569
- },
570
- targetmovedownbutton: {
571
- root: ({ context }) => ({
572
- class: [
573
- // Flexbox & Alignment
574
- 'relative inline-flex items-center justify-center',
575
-
576
- // Shape
577
- 'rounded-md',
578
-
579
- // Color
580
- 'text-surface-700 dark:text-surface-0',
581
- 'bg-surface-100 dark:bg-surface-800',
582
- 'border border-surface-100 dark:border-surface-800',
583
-
584
- // Spacing & Size
585
- 'w-10',
586
- 'm-0',
587
- 'px-0 py-2',
588
-
589
- // Transitions
590
- 'transition duration-200 ease-in-out',
591
-
592
- // State
593
- 'hover:bg-surface-200 dark:hover:bg-[rgba(255,255,255,0.03)] hover:border-surface-200 dark:hover:border-surface-700',
594
- 'focus:outline-none focus:outline-offset-0 focus:ring-1',
595
- 'focus:ring-primary-500 dark:focus:ring-primary-400',
596
- { 'cursor-default pointer-events-none opacity-60': context.disabled },
597
-
598
- // Interactivity
599
- 'cursor-pointer user-select-none',
600
- ],
601
- }),
602
- label: {
603
- class: [
604
- //Font
605
- 'leading-[normal]',
606
-
607
- // Flexbox
608
- 'flex-initial',
609
-
610
- // Size
611
- 'w-0',
612
- ],
613
- },
614
- },
615
- targetmovebottombutton: {
616
- root: ({ context }) => ({
617
- class: [
618
- // Flexbox & Alignment
619
- 'relative inline-flex items-center justify-center',
620
-
621
- // Shape
622
- 'rounded-md',
623
-
624
- // Color
625
- 'text-surface-700 dark:text-surface-0',
626
- 'bg-surface-100 dark:bg-surface-800',
627
- 'border border-surface-100 dark:border-surface-800',
628
-
629
- // Spacing & Size
630
- 'w-10',
631
- 'm-0',
632
- 'px-0 py-2',
633
-
634
- // Transitions
635
- 'transition duration-200 ease-in-out',
636
-
637
- // State
638
- 'hover:bg-surface-200 dark:hover:bg-[rgba(255,255,255,0.03)] hover:border-surface-200 dark:hover:border-surface-700',
639
- 'focus:outline-none focus:outline-offset-0 focus:ring-1',
640
- 'focus:ring-primary-500 dark:focus:ring-primary-400',
641
- { 'cursor-default pointer-events-none opacity-60': context.disabled },
642
-
643
- // Interactivity
644
- 'cursor-pointer user-select-none',
645
- ],
646
- }),
647
- label: {
648
- class: [
649
- //Font
650
- 'leading-[normal]',
651
-
652
- // Flexbox
653
- 'flex-initial',
654
-
655
- // Size
656
- 'w-0',
657
- ],
658
- },
659
- },
660
- targetwrapper: {
661
- class: [
662
- // Flexbox
663
- 'grow shrink basis-2/4',
664
-
665
- // Shape
666
- 'rounded-md',
667
-
668
- // Color
669
- 'bg-surface-0 dark:bg-surface-900',
670
- 'border border-surface-200 dark:border-surface-700',
671
- 'outline-none',
672
- ],
673
- },
674
- targetheader: {
675
- class: [
676
- 'font-semibold',
677
-
678
- // Shape
679
- 'border-0 rounded-t-md',
680
-
681
- // Spacing
682
- 'pt-3 px-4 pb-2',
683
-
684
- // Color
685
- 'text-surface-700 dark:text-white/80',
686
- 'bg-surface-0 dark:bg-surface-900',
687
- ],
688
- },
689
- targetlist: {
690
- class: [
691
- // Spacing
692
- 'list-none m-0',
693
- 'p-1',
694
-
695
- // Size
696
- 'min-h-[12rem] max-h-[24rem]',
697
-
698
- // Shape
699
- 'rounded-b-md',
700
-
701
- // Color
702
- 'text-surface-700 dark:text-white/80',
703
- 'bg-surface-0 dark:bg-surface-900',
704
-
705
- // Focus & Outline
706
- 'outline-none',
707
-
708
- // Misc
709
- 'overflow-auto',
710
- ],
711
- },
712
- transition: {
713
- enterFromClass: '!transition-none',
714
- enterActiveClass: '!transition-none',
715
- leaveActiveClass: '!transition-none',
716
- leaveToClass: '!transition-none',
717
- },
718
- }