@gluhar/theme 2.0.0-dev.0

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