@cooperco/cooper-component-library 0.0.10
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.
- package/README.md +11 -0
- package/package.json +85 -0
- package/src/assets/main.css +155 -0
- package/src/assets/theme.css +67 -0
- package/src/assets/usercard.jpg +0 -0
- package/src/assets/vue.svg +1 -0
- package/src/components/Accordion.vue +33 -0
- package/src/components/AccordionItem.vue +53 -0
- package/src/components/CTA.vue +39 -0
- package/src/components/CarouselModule.vue +46 -0
- package/src/components/ContainerCollectionModule.vue +33 -0
- package/src/components/ContainerModule.vue +116 -0
- package/src/components/ContentAndImage.vue +34 -0
- package/src/components/ContentMediaModule.vue +50 -0
- package/src/components/ContentModule.vue +51 -0
- package/src/components/FooterNavigation.vue +57 -0
- package/src/components/IconChevron.vue +107 -0
- package/src/components/Image.vue +15 -0
- package/src/components/LogoCollectionModule.vue +30 -0
- package/src/components/LogoContainerModule.vue +30 -0
- package/src/components/NavigationElement.vue +92 -0
- package/src/components/PrimaryNavigation.vue +68 -0
- package/src/components/SplitModule.vue +42 -0
- package/src/components/Testimonial.vue +48 -0
- package/src/components/TestimonialModule.vue +48 -0
- package/src/components/TileCollection.vue +37 -0
- package/src/components/TileCollectionModule.vue +45 -0
- package/src/components/TileContent.vue +105 -0
- package/src/components/Video.vue +18 -0
- package/src/components/types/Accordion.ts +18 -0
- package/src/components/types/AccordionItem.ts +19 -0
- package/src/components/types/CTA.ts +13 -0
- package/src/components/types/CarouselModule.ts +21 -0
- package/src/components/types/ContainerCollectionModule.ts +12 -0
- package/src/components/types/ContainerModule.ts +35 -0
- package/src/components/types/ContentAndImage.ts +14 -0
- package/src/components/types/ContentMediaModule.ts +14 -0
- package/src/components/types/ContentModule.ts +21 -0
- package/src/components/types/FooterNavigation.ts +12 -0
- package/src/components/types/Image.ts +12 -0
- package/src/components/types/LogoCollectionModule.ts +12 -0
- package/src/components/types/LogoContainerModule.ts +12 -0
- package/src/components/types/NavigationElement.ts +19 -0
- package/src/components/types/PrimaryNavigation.ts +10 -0
- package/src/components/types/SplitModule.ts +16 -0
- package/src/components/types/Testimonial.ts +17 -0
- package/src/components/types/TileCollection.ts +14 -0
- package/src/components/types/TileContent.ts +34 -0
- package/src/components/types/Video.ts +8 -0
- package/src/components/types/index.ts +10 -0
- package/src/presets/aura/accordion/index.js +81 -0
- package/src/presets/aura/autocomplete/index.js +280 -0
- package/src/presets/aura/avatar/index.js +46 -0
- package/src/presets/aura/badge/index.js +43 -0
- package/src/presets/aura/badgedirective/index.js +49 -0
- package/src/presets/aura/blockui/index.js +8 -0
- package/src/presets/aura/breadcrumb/index.js +63 -0
- package/src/presets/aura/button/index.js +511 -0
- package/src/presets/aura/calendar/index.js +702 -0
- package/src/presets/aura/card/index.js +53 -0
- package/src/presets/aura/carousel/index.js +160 -0
- package/src/presets/aura/cascadeselect/index.js +220 -0
- package/src/presets/aura/checkbox/index.js +107 -0
- package/src/presets/aura/chip/index.js +45 -0
- package/src/presets/aura/chips/index.js +126 -0
- package/src/presets/aura/colorpicker/index.js +132 -0
- package/src/presets/aura/confirmpopup/index.js +111 -0
- package/src/presets/aura/contextmenu/index.js +132 -0
- package/src/presets/aura/datatable/index.js +1290 -0
- package/src/presets/aura/dataview/index.js +40 -0
- package/src/presets/aura/deferred/index.js +3 -0
- package/src/presets/aura/dialog/index.js +250 -0
- package/src/presets/aura/divider/index.js +72 -0
- package/src/presets/aura/dock/index.js +97 -0
- package/src/presets/aura/dropdown/index.js +297 -0
- package/src/presets/aura/fieldset/index.js +95 -0
- package/src/presets/aura/fileupload/index.js +175 -0
- package/src/presets/aura/floatlabel/index.js +26 -0
- package/src/presets/aura/galleria/index.js +353 -0
- package/src/presets/aura/global.js +90 -0
- package/src/presets/aura/iconfield/index.js +22 -0
- package/src/presets/aura/image/index.js +206 -0
- package/src/presets/aura/index.js +181 -0
- package/src/presets/aura/inlinemessage/index.js +46 -0
- package/src/presets/aura/inplace/index.js +27 -0
- package/src/presets/aura/inputgroup/index.js +5 -0
- package/src/presets/aura/inputgroupaddon/index.js +28 -0
- package/src/presets/aura/inputmask/index.js +47 -0
- package/src/presets/aura/inputnumber/index.js +293 -0
- package/src/presets/aura/inputotp/index.js +69 -0
- package/src/presets/aura/inputswitch/index.js +94 -0
- package/src/presets/aura/inputtext/index.js +63 -0
- package/src/presets/aura/knob/index.js +47 -0
- package/src/presets/aura/listbox/index.js +158 -0
- package/src/presets/aura/megamenu/index.js +206 -0
- package/src/presets/aura/menu/index.js +122 -0
- package/src/presets/aura/menubar/index.js +184 -0
- package/src/presets/aura/message/index.js +112 -0
- package/src/presets/aura/metergroup/index.js +110 -0
- package/src/presets/aura/multiselect/index.js +579 -0
- package/src/presets/aura/orderlist/index.js +281 -0
- package/src/presets/aura/organizationchart/index.js +142 -0
- package/src/presets/aura/overlaypanel/index.js +34 -0
- package/src/presets/aura/paginator/index.js +566 -0
- package/src/presets/aura/panel/index.js +102 -0
- package/src/presets/aura/panelmenu/index.js +130 -0
- package/src/presets/aura/password/index.js +143 -0
- package/src/presets/aura/picklist/index.js +718 -0
- package/src/presets/aura/progressbar/index.js +64 -0
- package/src/presets/aura/progressspinner/index.js +51 -0
- package/src/presets/aura/radiobutton/index.js +121 -0
- package/src/presets/aura/rating/index.js +95 -0
- package/src/presets/aura/ripple/index.js +6 -0
- package/src/presets/aura/scrollpanel/index.js +77 -0
- package/src/presets/aura/scrolltop/index.js +45 -0
- package/src/presets/aura/selectbutton/index.js +66 -0
- package/src/presets/aura/sidebar/index.js +160 -0
- package/src/presets/aura/skeleton/index.js +19 -0
- package/src/presets/aura/slider/index.js +144 -0
- package/src/presets/aura/speeddial/index.js +579 -0
- package/src/presets/aura/splitbutton/index.js +1185 -0
- package/src/presets/aura/splitter/index.js +71 -0
- package/src/presets/aura/stepper/index.js +183 -0
- package/src/presets/aura/steps/index.js +117 -0
- package/src/presets/aura/tabmenu/index.js +75 -0
- package/src/presets/aura/tabview/index.js +162 -0
- package/src/presets/aura/tag/index.js +44 -0
- package/src/presets/aura/terminal/index.js +60 -0
- package/src/presets/aura/textarea/index.js +49 -0
- package/src/presets/aura/tieredmenu/index.js +125 -0
- package/src/presets/aura/timeline/index.js +114 -0
- package/src/presets/aura/toast/index.js +151 -0
- package/src/presets/aura/togglebutton/index.js +98 -0
- package/src/presets/aura/toolbar/index.js +28 -0
- package/src/presets/aura/tooltip/index.js +73 -0
- package/src/presets/aura/tree/index.js +294 -0
- package/src/presets/aura/treeselect/index.js +404 -0
- package/src/presets/aura/treetable/index.js +513 -0
- package/src/presets/aura/tristatecheckbox/index.js +121 -0
|
@@ -0,0 +1,718 @@
|
|
|
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
|
+
}
|