@gluhar/theme 2.0.3 → 3.0.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 (193) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +2 -47
  3. package/dist/module.d.mts +0 -4
  4. package/dist/module.d.ts +0 -4
  5. package/dist/module.json +1 -1
  6. package/dist/module.mjs +1 -9
  7. package/dist/runtime/tailwind/gluharTheme.js +3 -27
  8. package/dist/runtime/tailwind/handleTailwind.js +1 -5
  9. package/package.json +3 -6
  10. package/dist/runtime/presets/lara/accordion/index.d.ts +0 -49
  11. package/dist/runtime/presets/lara/accordion/index.js +0 -78
  12. package/dist/runtime/presets/lara/autocomplete/index.d.ts +0 -200
  13. package/dist/runtime/presets/lara/autocomplete/index.js +0 -259
  14. package/dist/runtime/presets/lara/avatar/index.d.ts +0 -83
  15. package/dist/runtime/presets/lara/avatar/index.js +0 -43
  16. package/dist/runtime/presets/lara/avatargroup/index.d.ts +0 -7
  17. package/dist/runtime/presets/lara/avatargroup/index.js +0 -5
  18. package/dist/runtime/presets/lara/badge/index.d.ts +0 -72
  19. package/dist/runtime/presets/lara/badge/index.js +0 -43
  20. package/dist/runtime/presets/lara/badgedirective/index.d.ts +0 -50
  21. package/dist/runtime/presets/lara/badgedirective/index.js +0 -43
  22. package/dist/runtime/presets/lara/blockui/index.d.ts +0 -11
  23. package/dist/runtime/presets/lara/blockui/index.js +0 -8
  24. package/dist/runtime/presets/lara/breadcrumb/index.d.ts +0 -23
  25. package/dist/runtime/presets/lara/breadcrumb/index.js +0 -64
  26. package/dist/runtime/presets/lara/button/index.d.ts +0 -3790
  27. package/dist/runtime/presets/lara/button/index.js +0 -220
  28. package/dist/runtime/presets/lara/calendar/index.d.ts +0 -334
  29. package/dist/runtime/presets/lara/calendar/index.js +0 -643
  30. package/dist/runtime/presets/lara/card/index.d.ts +0 -27
  31. package/dist/runtime/presets/lara/card/index.js +0 -37
  32. package/dist/runtime/presets/lara/carousel/index.d.ts +0 -71
  33. package/dist/runtime/presets/lara/carousel/index.js +0 -149
  34. package/dist/runtime/presets/lara/cascadeselect/index.d.ts +0 -112
  35. package/dist/runtime/presets/lara/cascadeselect/index.js +0 -209
  36. package/dist/runtime/presets/lara/checkbox/index.d.ts +0 -45
  37. package/dist/runtime/presets/lara/checkbox/index.js +0 -101
  38. package/dist/runtime/presets/lara/chip/index.d.ts +0 -23
  39. package/dist/runtime/presets/lara/chip/index.js +0 -45
  40. package/dist/runtime/presets/lara/chips/index.d.ts +0 -56
  41. package/dist/runtime/presets/lara/chips/index.js +0 -114
  42. package/dist/runtime/presets/lara/colorpicker/index.d.ts +0 -51
  43. package/dist/runtime/presets/lara/colorpicker/index.js +0 -123
  44. package/dist/runtime/presets/lara/confirmpopup/index.d.ts +0 -39
  45. package/dist/runtime/presets/lara/confirmpopup/index.js +0 -106
  46. package/dist/runtime/presets/lara/contextmenu/index.d.ts +0 -72
  47. package/dist/runtime/presets/lara/contextmenu/index.js +0 -125
  48. package/dist/runtime/presets/lara/datatable/index.d.ts +0 -695
  49. package/dist/runtime/presets/lara/datatable/index.js +0 -1170
  50. package/dist/runtime/presets/lara/dataview/index.d.ts +0 -15
  51. package/dist/runtime/presets/lara/dataview/index.js +0 -40
  52. package/dist/runtime/presets/lara/dataviewlayoutoptions/index.d.ts +0 -13
  53. package/dist/runtime/presets/lara/dataviewlayoutoptions/index.js +0 -62
  54. package/dist/runtime/presets/lara/deferred/index.d.ts +0 -4
  55. package/dist/runtime/presets/lara/deferred/index.js +0 -3
  56. package/dist/runtime/presets/lara/dialog/index.d.ts +0 -79
  57. package/dist/runtime/presets/lara/dialog/index.js +0 -235
  58. package/dist/runtime/presets/lara/divider/index.d.ts +0 -192
  59. package/dist/runtime/presets/lara/divider/index.js +0 -67
  60. package/dist/runtime/presets/lara/dock/index.d.ts +0 -51
  61. package/dist/runtime/presets/lara/dock/index.js +0 -93
  62. package/dist/runtime/presets/lara/dropdown/index.d.ts +0 -207
  63. package/dist/runtime/presets/lara/dropdown/index.js +0 -265
  64. package/dist/runtime/presets/lara/fieldset/index.d.ts +0 -87
  65. package/dist/runtime/presets/lara/fieldset/index.js +0 -84
  66. package/dist/runtime/presets/lara/fileupload/index.d.ts +0 -70
  67. package/dist/runtime/presets/lara/fileupload/index.js +0 -173
  68. package/dist/runtime/presets/lara/floatlabel/index.d.ts +0 -7
  69. package/dist/runtime/presets/lara/floatlabel/index.js +0 -26
  70. package/dist/runtime/presets/lara/galleria/index.d.ts +0 -194
  71. package/dist/runtime/presets/lara/galleria/index.js +0 -306
  72. package/dist/runtime/presets/lara/global.d.ts +0 -4
  73. package/dist/runtime/presets/lara/global.js +0 -90
  74. package/dist/runtime/presets/lara/iconfield/index.d.ts +0 -18
  75. package/dist/runtime/presets/lara/iconfield/index.js +0 -22
  76. package/dist/runtime/presets/lara/image/index.d.ts +0 -65
  77. package/dist/runtime/presets/lara/image/index.js +0 -206
  78. package/dist/runtime/presets/lara/index.d.ts +0 -187
  79. package/dist/runtime/presets/lara/index.js +0 -207
  80. package/dist/runtime/presets/lara/inlinemessage/index.d.ts +0 -55
  81. package/dist/runtime/presets/lara/inlinemessage/index.js +0 -36
  82. package/dist/runtime/presets/lara/inplace/index.d.ts +0 -7
  83. package/dist/runtime/presets/lara/inplace/index.js +0 -27
  84. package/dist/runtime/presets/lara/inputgroup/index.d.ts +0 -7
  85. package/dist/runtime/presets/lara/inputgroup/index.js +0 -5
  86. package/dist/runtime/presets/lara/inputgroupaddon/index.d.ts +0 -7
  87. package/dist/runtime/presets/lara/inputgroupaddon/index.js +0 -28
  88. package/dist/runtime/presets/lara/inputmask/index.d.ts +0 -27
  89. package/dist/runtime/presets/lara/inputmask/index.js +0 -34
  90. package/dist/runtime/presets/lara/inputnumber/index.d.ts +0 -390
  91. package/dist/runtime/presets/lara/inputnumber/index.js +0 -164
  92. package/dist/runtime/presets/lara/inputotp/index.d.ts +0 -147
  93. package/dist/runtime/presets/lara/inputotp/index.js +0 -60
  94. package/dist/runtime/presets/lara/inputswitch/index.d.ts +0 -67
  95. package/dist/runtime/presets/lara/inputswitch/index.js +0 -80
  96. package/dist/runtime/presets/lara/inputtext/index.d.ts +0 -160
  97. package/dist/runtime/presets/lara/inputtext/index.js +0 -49
  98. package/dist/runtime/presets/lara/knob/index.d.ts +0 -22
  99. package/dist/runtime/presets/lara/knob/index.js +0 -44
  100. package/dist/runtime/presets/lara/listbox/index.d.ts +0 -93
  101. package/dist/runtime/presets/lara/listbox/index.js +0 -152
  102. package/dist/runtime/presets/lara/megamenu/index.d.ts +0 -105
  103. package/dist/runtime/presets/lara/megamenu/index.js +0 -199
  104. package/dist/runtime/presets/lara/menu/index.d.ts +0 -40
  105. package/dist/runtime/presets/lara/menu/index.js +0 -96
  106. package/dist/runtime/presets/lara/menubar/index.d.ts +0 -85
  107. package/dist/runtime/presets/lara/menubar/index.js +0 -176
  108. package/dist/runtime/presets/lara/message/index.d.ts +0 -70
  109. package/dist/runtime/presets/lara/message/index.js +0 -87
  110. package/dist/runtime/presets/lara/metergroup/index.d.ts +0 -92
  111. package/dist/runtime/presets/lara/metergroup/index.js +0 -97
  112. package/dist/runtime/presets/lara/multiselect/index.d.ts +0 -260
  113. package/dist/runtime/presets/lara/multiselect/index.js +0 -546
  114. package/dist/runtime/presets/lara/orderlist/index.d.ts +0 -99
  115. package/dist/runtime/presets/lara/orderlist/index.js +0 -257
  116. package/dist/runtime/presets/lara/organizationchart/index.d.ts +0 -81
  117. package/dist/runtime/presets/lara/organizationchart/index.js +0 -138
  118. package/dist/runtime/presets/lara/overlaypanel/index.d.ts +0 -17
  119. package/dist/runtime/presets/lara/overlaypanel/index.js +0 -40
  120. package/dist/runtime/presets/lara/paginator/index.d.ts +0 -280
  121. package/dist/runtime/presets/lara/paginator/index.js +0 -533
  122. package/dist/runtime/presets/lara/panel/index.d.ts +0 -39
  123. package/dist/runtime/presets/lara/panel/index.js +0 -91
  124. package/dist/runtime/presets/lara/panelmenu/index.d.ts +0 -76
  125. package/dist/runtime/presets/lara/panelmenu/index.js +0 -127
  126. package/dist/runtime/presets/lara/password/index.d.ts +0 -181
  127. package/dist/runtime/presets/lara/password/index.js +0 -118
  128. package/dist/runtime/presets/lara/picklist/index.d.ts +0 -245
  129. package/dist/runtime/presets/lara/picklist/index.js +0 -650
  130. package/dist/runtime/presets/lara/progressbar/index.d.ts +0 -44
  131. package/dist/runtime/presets/lara/progressbar/index.js +0 -55
  132. package/dist/runtime/presets/lara/progressspinner/index.d.ts +0 -15
  133. package/dist/runtime/presets/lara/progressspinner/index.js +0 -51
  134. package/dist/runtime/presets/lara/radiobutton/index.d.ts +0 -57
  135. package/dist/runtime/presets/lara/radiobutton/index.js +0 -104
  136. package/dist/runtime/presets/lara/rating/index.d.ts +0 -49
  137. package/dist/runtime/presets/lara/rating/index.js +0 -92
  138. package/dist/runtime/presets/lara/ripple/index.d.ts +0 -8
  139. package/dist/runtime/presets/lara/ripple/index.js +0 -6
  140. package/dist/runtime/presets/lara/scrollpanel/index.d.ts +0 -19
  141. package/dist/runtime/presets/lara/scrollpanel/index.js +0 -77
  142. package/dist/runtime/presets/lara/scrolltop/index.d.ts +0 -50
  143. package/dist/runtime/presets/lara/scrolltop/index.js +0 -41
  144. package/dist/runtime/presets/lara/selectbutton/index.d.ts +0 -56
  145. package/dist/runtime/presets/lara/selectbutton/index.js +0 -49
  146. package/dist/runtime/presets/lara/sidebar/index.d.ts +0 -66
  147. package/dist/runtime/presets/lara/sidebar/index.js +0 -149
  148. package/dist/runtime/presets/lara/skeleton/index.d.ts +0 -16
  149. package/dist/runtime/presets/lara/skeleton/index.js +0 -16
  150. package/dist/runtime/presets/lara/slider/index.d.ts +0 -55
  151. package/dist/runtime/presets/lara/slider/index.js +0 -137
  152. package/dist/runtime/presets/lara/speeddial/index.d.ts +0 -3091
  153. package/dist/runtime/presets/lara/speeddial/index.js +0 -283
  154. package/dist/runtime/presets/lara/splitbutton/index.d.ts +0 -6749
  155. package/dist/runtime/presets/lara/splitbutton/index.js +0 -502
  156. package/dist/runtime/presets/lara/splitter/index.d.ts +0 -30
  157. package/dist/runtime/presets/lara/splitter/index.js +0 -61
  158. package/dist/runtime/presets/lara/splitterpanel/index.d.ts +0 -10
  159. package/dist/runtime/presets/lara/splitterpanel/index.js +0 -5
  160. package/dist/runtime/presets/lara/stepper/index.d.ts +0 -66
  161. package/dist/runtime/presets/lara/stepper/index.js +0 -161
  162. package/dist/runtime/presets/lara/steps/index.d.ts +0 -57
  163. package/dist/runtime/presets/lara/steps/index.js +0 -111
  164. package/dist/runtime/presets/lara/tabmenu/index.d.ts +0 -43
  165. package/dist/runtime/presets/lara/tabmenu/index.js +0 -73
  166. package/dist/runtime/presets/lara/tabview/index.d.ts +0 -67
  167. package/dist/runtime/presets/lara/tabview/index.js +0 -156
  168. package/dist/runtime/presets/lara/tag/index.d.ts +0 -32
  169. package/dist/runtime/presets/lara/tag/index.js +0 -36
  170. package/dist/runtime/presets/lara/terminal/index.d.ts +0 -27
  171. package/dist/runtime/presets/lara/terminal/index.js +0 -60
  172. package/dist/runtime/presets/lara/textarea/index.d.ts +0 -27
  173. package/dist/runtime/presets/lara/textarea/index.js +0 -36
  174. package/dist/runtime/presets/lara/tieredmenu/index.d.ts +0 -56
  175. package/dist/runtime/presets/lara/tieredmenu/index.js +0 -120
  176. package/dist/runtime/presets/lara/timeline/index.d.ts +0 -84
  177. package/dist/runtime/presets/lara/timeline/index.js +0 -81
  178. package/dist/runtime/presets/lara/toast/index.d.ts +0 -92
  179. package/dist/runtime/presets/lara/toast/index.js +0 -102
  180. package/dist/runtime/presets/lara/togglebutton/index.d.ts +0 -72
  181. package/dist/runtime/presets/lara/togglebutton/index.js +0 -91
  182. package/dist/runtime/presets/lara/toolbar/index.d.ts +0 -19
  183. package/dist/runtime/presets/lara/toolbar/index.js +0 -28
  184. package/dist/runtime/presets/lara/tooltip/index.d.ts +0 -38
  185. package/dist/runtime/presets/lara/tooltip/index.js +0 -46
  186. package/dist/runtime/presets/lara/tree/index.d.ts +0 -105
  187. package/dist/runtime/presets/lara/tree/index.js +0 -258
  188. package/dist/runtime/presets/lara/treeselect/index.d.ts +0 -181
  189. package/dist/runtime/presets/lara/treeselect/index.js +0 -352
  190. package/dist/runtime/presets/lara/treetable/index.d.ts +0 -316
  191. package/dist/runtime/presets/lara/treetable/index.js +0 -434
  192. package/dist/runtime/presets/lara/tristatecheckbox/index.d.ts +0 -49
  193. package/dist/runtime/presets/lara/tristatecheckbox/index.js +0 -104
@@ -1,352 +0,0 @@
1
- export default {
2
- root: ({ props, state }) => ({
3
- class: [
4
- // Display and Position
5
- 'inline-flex',
6
- 'relative',
7
-
8
- // Shape
9
- 'rounded-md',
10
-
11
- // Color and Background
12
- 'bg-surface-0 dark:bg-surface-900',
13
- 'border',
14
- { 'border-surface-300 dark:border-surface-600': !props.invalid },
15
-
16
- // Invalid State
17
- { 'border-red-500 dark:border-red-400': props.invalid },
18
-
19
- // Transitions
20
- 'transition-all',
21
- 'duration-200',
22
-
23
- // States
24
- { 'hover:border-primary-500 dark:hover:border-primary-300': !props.invalid },
25
- { 'outline-none outline-offset-0 ring ring-primary-400/50 dark:ring-primary-300/50': state.focused },
26
-
27
- // Misc
28
- 'cursor-pointer',
29
- 'select-none',
30
- { 'opacity-60': props.disabled, 'pointer-events-none': props.disabled, 'cursor-default': props.disabled }
31
- ]
32
- }),
33
- labelContainer: {
34
- class: ['overflow-hidden flex flex-auto cursor-pointer']
35
- },
36
- label: {
37
- class: [
38
- 'block leading-5',
39
-
40
- // Space
41
- 'p-3',
42
-
43
- // Color
44
- 'text-surface-800 dark:text-white/80',
45
-
46
- // Transition
47
- 'transition duration-200',
48
-
49
- // Misc
50
- 'overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis'
51
- ]
52
- },
53
- trigger: {
54
- class: [
55
- // Flexbox
56
- 'flex items-center justify-center',
57
- 'shrink-0',
58
-
59
- // Color and Background
60
- 'bg-transparent',
61
- 'text-surface-500',
62
-
63
- // Size
64
- 'w-12',
65
-
66
- // Shape
67
- 'rounded-tr-md',
68
- 'rounded-br-md'
69
- ]
70
- },
71
- panel: {
72
- class: [
73
- // Position
74
- 'absolute top-0 left-0',
75
-
76
- // Shape
77
- 'border-0 dark:border',
78
- 'rounded-md',
79
- 'shadow-md',
80
-
81
- // Color
82
- 'bg-surface-0 dark:bg-surface-800',
83
- 'text-surface-800 dark:text-white/80',
84
- 'dark:border-surface-700'
85
- ]
86
- },
87
- wrapper: {
88
- class: [
89
- // Sizing
90
- 'max-h-[200px]',
91
-
92
- // Misc
93
- 'overflow-auto'
94
- ]
95
- },
96
- tree: {
97
- root: {
98
- class: [
99
- // Space
100
- 'p-5'
101
- ]
102
- },
103
- wrapper: {
104
- class: ['overflow-auto']
105
- },
106
- container: {
107
- class: [
108
- // Spacing
109
- 'm-0 p-0',
110
-
111
- // Misc
112
- 'list-none overflow-auto'
113
- ]
114
- },
115
- node: {
116
- class: ['p-1', 'rounded-md', 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-inset focus:ring-primary-400/50 dark:focus:ring-primary-300/50']
117
- },
118
- content: ({ context, props }) => ({
119
- class: [
120
- // Flex and Alignment
121
- 'flex items-center',
122
-
123
- // Shape
124
- 'rounded-md',
125
-
126
- // Spacing
127
- 'p-2',
128
-
129
- // Colors
130
- 'text-surface-600 dark:text-white/70',
131
- { 'bg-primary-50 dark:bg-primary-400/30 text-primary-600 dark:text-surface-0': context.selected },
132
-
133
- // States
134
- { 'hover:bg-surface-50 dark:hover:bg-surface-700/40': (props.selectionMode == 'single' || props.selectionMode == 'multiple') && !context.selected },
135
-
136
- // Transition
137
- 'transition-shadow duration-200',
138
-
139
- { 'cursor-pointer select-none': props.selectionMode == 'single' || props.selectionMode == 'multiple' }
140
- ]
141
- }),
142
- toggler: ({ context }) => ({
143
- class: [
144
- // Flex and Alignment
145
- 'inline-flex items-center justify-center',
146
-
147
- // Shape
148
- 'border-0 rounded-full',
149
-
150
- // Size
151
- 'w-8 h-8',
152
-
153
- // Spacing
154
- 'mr-2',
155
-
156
- // Colors
157
- 'bg-transparent',
158
- {
159
- 'text-surface-500 dark:text-white': !context.selected,
160
- 'text-primary-600 dark:text-white': context.selected,
161
- invisible: context.leaf
162
- },
163
-
164
- // States
165
- 'hover:bg-surface-200/20 dark:hover:bg-surface-500/20',
166
- 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
167
-
168
- // Transition
169
- 'transition duration-200',
170
-
171
- // Misc
172
- 'cursor-pointer select-none'
173
- ]
174
- }),
175
- nodeCheckbox: ({ props, context, instance }) => ({
176
- root: {
177
- class: [
178
- 'relative',
179
-
180
- // Alignment
181
- 'inline-flex',
182
- 'align-bottom',
183
-
184
- // Size
185
- 'w-6',
186
- 'h-6',
187
-
188
- // Spacing
189
- 'mr-2',
190
-
191
- // Misc
192
- 'cursor-pointer',
193
- 'select-none'
194
- ]
195
- },
196
- box: {
197
- class: [
198
- // Alignment
199
- 'flex',
200
- 'items-center',
201
- 'justify-center',
202
-
203
- // Size
204
- 'w-6',
205
- 'h-6',
206
-
207
- // Shape
208
- 'rounded-md',
209
- 'border-2',
210
-
211
- // Colors
212
- {
213
- 'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900': !context.checked,
214
- 'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400': context.checked
215
- },
216
-
217
- // States
218
- {
219
- 'peer-hover:border-primary-500 dark:peer-hover:border-primary-400': !props.disabled && !context.checked,
220
- 'peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300': !props.disabled && context.checked,
221
- 'peer-focus-visible:border-primary-500 dark:peer-focus-visible:border-primary-400 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-400/20 dark:peer-focus-visible:ring-primary-300/20': !props.disabled,
222
- 'cursor-default opacity-60': props.disabled
223
- },
224
-
225
- // Transitions
226
- 'transition-colors',
227
- 'duration-200'
228
- ]
229
- },
230
- input: {
231
- class: [
232
- 'peer',
233
-
234
- // Size
235
- 'w-full ',
236
- 'h-full',
237
-
238
- // Position
239
- 'absolute',
240
- 'top-0 left-0',
241
- 'z-10',
242
-
243
- // Spacing
244
- 'p-0',
245
- 'm-0',
246
-
247
- // Shape
248
- 'opacity-0',
249
- 'rounded-md',
250
- 'outline-none',
251
- 'border-2 border-surface-200 dark:border-surface-700',
252
-
253
- // Misc
254
- 'appearance-none',
255
- 'cursor-pointer'
256
- ]
257
- },
258
- icon: {
259
- class: [
260
- // Font
261
- 'text-base leading-none',
262
-
263
- // Size
264
- 'w-4',
265
- 'h-4',
266
-
267
- // Colors
268
- {
269
- 'text-white dark:text-surface-900': !instance.partialChecked,
270
- 'text-gray dark:text-white': instance.partialChecked
271
- },
272
-
273
- // Transitions
274
- 'transition-all',
275
- 'duration-200'
276
- ]
277
- }
278
- }),
279
- nodeicon: {
280
- class: [
281
- // Space
282
- 'mr-2',
283
-
284
- // Color
285
- 'text-surface-600 dark:text-white/70'
286
- ]
287
- },
288
- subgroup: {
289
- class: ['m-0 list-none p-0 pl-2 mt-1']
290
- },
291
- filtercontainer: {
292
- class: [
293
- 'relative block',
294
-
295
- // Space
296
- 'mb-2',
297
-
298
- // Size
299
- 'w-full'
300
- ]
301
- },
302
- input: {
303
- class: [
304
- 'relative',
305
- // Font
306
- 'font-sans leading-none',
307
-
308
- // Spacing
309
- 'm-0',
310
- 'p-3 pr-10',
311
-
312
- // Size
313
- 'w-full',
314
-
315
- // Shape
316
- 'rounded-md',
317
-
318
- // Colors
319
- 'text-surface-600 dark:text-surface-200',
320
- 'placeholder:text-surface-400 dark:placeholder:text-surface-500',
321
- 'bg-surface-0 dark:bg-surface-900',
322
- 'border border-surface-300 dark:border-surface-600',
323
-
324
- // States
325
- 'hover:border-primary-500 dark:hover:border-primary-400',
326
- 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50',
327
-
328
- // Transition & Misc
329
- 'appearance-none',
330
- 'transition-colors duration-200'
331
- ]
332
- },
333
- loadingicon: {
334
- class: ['text-surface-500 dark:text-surface-0/70', 'absolute top-[50%] right-[50%] -mt-2 -mr-2 animate-spin']
335
- },
336
- searchicon: {
337
- class: [
338
- // Position
339
- 'absolute top-1/2 -mt-2 right-3',
340
-
341
- // Color
342
- 'text-surface-600 dark:hover:text-white/70'
343
- ]
344
- }
345
- },
346
- transition: {
347
- enterFromClass: 'opacity-0 scale-y-[0.8]',
348
- enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
349
- leaveActiveClass: 'transition-opacity duration-100 ease-linear',
350
- leaveToClass: 'opacity-0'
351
- }
352
- };
@@ -1,316 +0,0 @@
1
- declare namespace _default {
2
- function root({ props }: {
3
- props: any;
4
- }): {
5
- class: (string | {
6
- 'flex flex-col h-full': boolean;
7
- })[];
8
- };
9
- namespace loadingoverlay {
10
- let _class: string[];
11
- export { _class as class };
12
- }
13
- namespace loadingicon {
14
- let _class_1: string;
15
- export { _class_1 as class };
16
- }
17
- function wrapper({ props }: {
18
- props: any;
19
- }): {
20
- class: {
21
- 'relative overflow-auto': any;
22
- 'overflow-x-auto': any;
23
- }[];
24
- };
25
- function header({ props }: {
26
- props: any;
27
- }): {
28
- class: string[];
29
- };
30
- namespace footer {
31
- let _class_2: string[];
32
- export { _class_2 as class };
33
- }
34
- namespace table {
35
- let _class_3: string[];
36
- export { _class_3 as class };
37
- }
38
- function thead({ props }: {
39
- props: any;
40
- }): {
41
- class: {
42
- 'top-0 z-40 sticky': any;
43
- }[];
44
- };
45
- function tbody({ props }: {
46
- props: any;
47
- }): {
48
- class: {
49
- block: any;
50
- }[];
51
- };
52
- function tfoot({ props }: {
53
- props: any;
54
- }): {
55
- class: {
56
- block: any;
57
- }[];
58
- };
59
- function headerrow({ props }: {
60
- props: any;
61
- }): {
62
- class: {
63
- 'flex flex-nowrap w-full': any;
64
- }[];
65
- };
66
- function row({ context, props }: {
67
- context: any;
68
- props: any;
69
- }): {
70
- class: (string | {
71
- 'flex flex-nowrap w-full': any;
72
- 'bg-primary-50 text-primary-700 dark:bg-primary-400/30'?: undefined;
73
- 'bg-surface-0 text-surface-600 dark:bg-surface-800'?: undefined;
74
- 'hover:bg-surface-300/20 hover:text-surface-600'?: undefined;
75
- 'transition duration-200'?: undefined;
76
- } | {
77
- 'bg-primary-50 text-primary-700 dark:bg-primary-400/30': any;
78
- 'flex flex-nowrap w-full'?: undefined;
79
- 'bg-surface-0 text-surface-600 dark:bg-surface-800'?: undefined;
80
- 'hover:bg-surface-300/20 hover:text-surface-600'?: undefined;
81
- 'transition duration-200'?: undefined;
82
- } | {
83
- 'bg-surface-0 text-surface-600 dark:bg-surface-800': boolean;
84
- 'flex flex-nowrap w-full'?: undefined;
85
- 'bg-primary-50 text-primary-700 dark:bg-primary-400/30'?: undefined;
86
- 'hover:bg-surface-300/20 hover:text-surface-600'?: undefined;
87
- 'transition duration-200'?: undefined;
88
- } | {
89
- 'hover:bg-surface-300/20 hover:text-surface-600': any;
90
- 'flex flex-nowrap w-full'?: undefined;
91
- 'bg-primary-50 text-primary-700 dark:bg-primary-400/30'?: undefined;
92
- 'bg-surface-0 text-surface-600 dark:bg-surface-800'?: undefined;
93
- 'transition duration-200'?: undefined;
94
- } | {
95
- 'transition duration-200': any;
96
- 'flex flex-nowrap w-full'?: undefined;
97
- 'bg-primary-50 text-primary-700 dark:bg-primary-400/30'?: undefined;
98
- 'bg-surface-0 text-surface-600 dark:bg-surface-800'?: undefined;
99
- 'hover:bg-surface-300/20 hover:text-surface-600'?: undefined;
100
- })[];
101
- };
102
- function headercell({ context, props }: {
103
- context: any;
104
- props: any;
105
- }): {
106
- class: (string | {
107
- 'sticky z-40': any;
108
- 'flex flex-1 items-center'?: undefined;
109
- 'flex-initial shrink-0'?: undefined;
110
- 'first:border-l border-y border-r'?: undefined;
111
- 'hover:bg-surface-100 dark:hover:bg-surface-400/30'?: undefined;
112
- 'transition duration-200'?: undefined;
113
- 'overflow-hidden relative bg-clip-padding'?: undefined;
114
- } | {
115
- 'flex flex-1 items-center': any;
116
- 'flex-initial shrink-0': any;
117
- 'sticky z-40'?: undefined;
118
- 'first:border-l border-y border-r'?: undefined;
119
- 'hover:bg-surface-100 dark:hover:bg-surface-400/30'?: undefined;
120
- 'transition duration-200'?: undefined;
121
- 'overflow-hidden relative bg-clip-padding'?: undefined;
122
- } | {
123
- 'first:border-l border-y border-r': any;
124
- 'sticky z-40'?: undefined;
125
- 'flex flex-1 items-center'?: undefined;
126
- 'flex-initial shrink-0'?: undefined;
127
- 'hover:bg-surface-100 dark:hover:bg-surface-400/30'?: undefined;
128
- 'transition duration-200'?: undefined;
129
- 'overflow-hidden relative bg-clip-padding'?: undefined;
130
- } | {
131
- 'hover:bg-surface-100 dark:hover:bg-surface-400/30': any;
132
- 'sticky z-40'?: undefined;
133
- 'flex flex-1 items-center'?: undefined;
134
- 'flex-initial shrink-0'?: undefined;
135
- 'first:border-l border-y border-r'?: undefined;
136
- 'transition duration-200'?: undefined;
137
- 'overflow-hidden relative bg-clip-padding'?: undefined;
138
- } | {
139
- 'transition duration-200': any;
140
- 'sticky z-40'?: undefined;
141
- 'flex flex-1 items-center'?: undefined;
142
- 'flex-initial shrink-0'?: undefined;
143
- 'first:border-l border-y border-r'?: undefined;
144
- 'hover:bg-surface-100 dark:hover:bg-surface-400/30'?: undefined;
145
- 'overflow-hidden relative bg-clip-padding'?: undefined;
146
- } | {
147
- 'overflow-hidden relative bg-clip-padding': any;
148
- 'sticky z-40'?: undefined;
149
- 'flex flex-1 items-center'?: undefined;
150
- 'flex-initial shrink-0'?: undefined;
151
- 'first:border-l border-y border-r'?: undefined;
152
- 'hover:bg-surface-100 dark:hover:bg-surface-400/30'?: undefined;
153
- 'transition duration-200'?: undefined;
154
- })[];
155
- };
156
- namespace column {
157
- export function headercell_1({ context, props }: {
158
- context: any;
159
- props: any;
160
- }): {
161
- class: (string | {
162
- 'sticky z-40': any;
163
- 'flex flex-1 items-center'?: undefined;
164
- 'flex-initial shrink-0'?: undefined;
165
- 'first:border-l border-y border-r'?: undefined;
166
- 'hover:bg-surface-100 dark:hover:bg-surface-400/30'?: undefined;
167
- 'transition duration-200'?: undefined;
168
- 'overflow-hidden relative bg-clip-padding'?: undefined;
169
- } | {
170
- 'flex flex-1 items-center': any;
171
- 'flex-initial shrink-0': any;
172
- 'sticky z-40'?: undefined;
173
- 'first:border-l border-y border-r'?: undefined;
174
- 'hover:bg-surface-100 dark:hover:bg-surface-400/30'?: undefined;
175
- 'transition duration-200'?: undefined;
176
- 'overflow-hidden relative bg-clip-padding'?: undefined;
177
- } | {
178
- 'first:border-l border-y border-r': any;
179
- 'sticky z-40'?: undefined;
180
- 'flex flex-1 items-center'?: undefined;
181
- 'flex-initial shrink-0'?: undefined;
182
- 'hover:bg-surface-100 dark:hover:bg-surface-400/30'?: undefined;
183
- 'transition duration-200'?: undefined;
184
- 'overflow-hidden relative bg-clip-padding'?: undefined;
185
- } | {
186
- 'hover:bg-surface-100 dark:hover:bg-surface-400/30': any;
187
- 'sticky z-40'?: undefined;
188
- 'flex flex-1 items-center'?: undefined;
189
- 'flex-initial shrink-0'?: undefined;
190
- 'first:border-l border-y border-r'?: undefined;
191
- 'transition duration-200'?: undefined;
192
- 'overflow-hidden relative bg-clip-padding'?: undefined;
193
- } | {
194
- 'transition duration-200': any;
195
- 'sticky z-40'?: undefined;
196
- 'flex flex-1 items-center'?: undefined;
197
- 'flex-initial shrink-0'?: undefined;
198
- 'first:border-l border-y border-r'?: undefined;
199
- 'hover:bg-surface-100 dark:hover:bg-surface-400/30'?: undefined;
200
- 'overflow-hidden relative bg-clip-padding'?: undefined;
201
- } | {
202
- 'overflow-hidden relative bg-clip-padding': any;
203
- 'sticky z-40'?: undefined;
204
- 'flex flex-1 items-center'?: undefined;
205
- 'flex-initial shrink-0'?: undefined;
206
- 'first:border-l border-y border-r'?: undefined;
207
- 'hover:bg-surface-100 dark:hover:bg-surface-400/30'?: undefined;
208
- 'transition duration-200'?: undefined;
209
- })[];
210
- };
211
- export { headercell_1 as headercell };
212
- export function bodycell({ context }: {
213
- context: any;
214
- }): {
215
- class: (string | {
216
- sticky: any;
217
- 'flex flex-1 items-center'?: undefined;
218
- 'flex-initial shrink-0'?: undefined;
219
- 'border-x-0 border-l-0'?: undefined;
220
- 'first:border-l border-r border-b'?: undefined;
221
- 'cursor-pointer'?: undefined;
222
- } | {
223
- 'flex flex-1 items-center': any;
224
- 'flex-initial shrink-0': any;
225
- sticky?: undefined;
226
- 'border-x-0 border-l-0'?: undefined;
227
- 'first:border-l border-r border-b'?: undefined;
228
- 'cursor-pointer'?: undefined;
229
- } | {
230
- 'border-x-0 border-l-0': boolean;
231
- sticky?: undefined;
232
- 'flex flex-1 items-center'?: undefined;
233
- 'flex-initial shrink-0'?: undefined;
234
- 'first:border-l border-r border-b'?: undefined;
235
- 'cursor-pointer'?: undefined;
236
- } | {
237
- 'first:border-l border-r border-b': any;
238
- sticky?: undefined;
239
- 'flex flex-1 items-center'?: undefined;
240
- 'flex-initial shrink-0'?: undefined;
241
- 'border-x-0 border-l-0'?: undefined;
242
- 'cursor-pointer'?: undefined;
243
- } | {
244
- 'cursor-pointer': any;
245
- sticky: any;
246
- 'border-x-0 border-l-0': boolean;
247
- 'flex flex-1 items-center'?: undefined;
248
- 'flex-initial shrink-0'?: undefined;
249
- 'first:border-l border-r border-b'?: undefined;
250
- })[];
251
- };
252
- export namespace rowtoggler {
253
- let _class_4: string[];
254
- export { _class_4 as class };
255
- }
256
- export function sorticon({ context }: {
257
- context: any;
258
- }): {
259
- class: string[];
260
- };
261
- export namespace sortbadge {
262
- let _class_5: string[];
263
- export { _class_5 as class };
264
- }
265
- export namespace columnresizer {
266
- let _class_6: string[];
267
- export { _class_6 as class };
268
- }
269
- export function rowCheckbox({ props, context, instance }: {
270
- props: any;
271
- context: any;
272
- instance: any;
273
- }): {
274
- root: {
275
- class: string[];
276
- };
277
- box: {
278
- class: (string | {
279
- 'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900': boolean;
280
- 'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400': any;
281
- 'peer-hover:border-primary-500 dark:peer-hover:border-primary-400'?: undefined;
282
- 'peer-hover:bg-primary-700 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300'?: undefined;
283
- 'peer-focus-visible:border-primary-500 dark:peer-focus-visible:border-primary-400 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-400/20 dark:peer-focus-visible:ring-primary-300/20'?: undefined;
284
- 'cursor-default opacity-60'?: undefined;
285
- } | {
286
- 'peer-hover:border-primary-500 dark:peer-hover:border-primary-400': boolean;
287
- 'peer-hover:bg-primary-700 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300': any;
288
- 'peer-focus-visible:border-primary-500 dark:peer-focus-visible:border-primary-400 peer-focus-visible:ring-2 peer-focus-visible:ring-primary-400/20 dark:peer-focus-visible:ring-primary-300/20': boolean;
289
- 'cursor-default opacity-60': any;
290
- 'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900'?: undefined;
291
- 'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400'?: undefined;
292
- })[];
293
- };
294
- input: {
295
- class: string[];
296
- };
297
- icon: {
298
- class: (string | {
299
- 'text-white dark:text-surface-900': boolean;
300
- 'text-gray dark:text-white': any;
301
- })[];
302
- };
303
- };
304
- export namespace transition {
305
- let enterFromClass: string;
306
- let enterActiveClass: string;
307
- let leaveActiveClass: string;
308
- let leaveToClass: string;
309
- }
310
- }
311
- namespace resizehelper {
312
- let _class_7: string;
313
- export { _class_7 as class };
314
- }
315
- }
316
- export default _default;