@gluhar/theme 2.0.3 → 3.0.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 (193) hide show
  1. package/CHANGELOG.md +24 -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,257 +0,0 @@
1
- export default {
2
- root: {
3
- class: [
4
- // Flexbox
5
- 'flex'
6
- ]
7
- },
8
- controls: {
9
- class: [
10
- // Flexbox & Alignment
11
- 'flex flex-col justify-center gap-2',
12
-
13
- // Spacing
14
- 'p-5'
15
- ]
16
- },
17
- moveupbutton: {
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
- movedownbutton: {
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
- movetopbutton: {
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
- movebottombutton: {
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
- container: {
186
- class: ['flex-auto']
187
- },
188
- header: {
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
- list: {
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
- };
@@ -1,81 +0,0 @@
1
- declare namespace _default {
2
- namespace table {
3
- let _class: string[];
4
- export { _class as class };
5
- }
6
- namespace cell {
7
- let _class_1: string[];
8
- export { _class_1 as class };
9
- }
10
- function node({ props, context }: {
11
- props: any;
12
- context: any;
13
- }): {
14
- class: (string | {
15
- 'text-surface-600 dark:text-white/80': boolean;
16
- 'bg-surface-0 dark:bg-surface-800': boolean;
17
- 'border-surface-200 dark:border-surface-700': boolean;
18
- 'text-primary-700 dark:text-surface-0': any;
19
- 'bg-primary-50 dark:bg-primary-400/30': any;
20
- 'border-primary-200 dark:border-primary-600': any;
21
- 'hover:bg-surface-100 dark:hover:bg-surface-700'?: undefined;
22
- 'hover:bg-primary-100 dark:hover:bg-primary-300/30'?: undefined;
23
- 'cursor-pointer'?: undefined;
24
- } | {
25
- 'hover:bg-surface-100 dark:hover:bg-surface-700': any;
26
- 'hover:bg-primary-100 dark:hover:bg-primary-300/30': any;
27
- 'text-surface-600 dark:text-white/80'?: undefined;
28
- 'bg-surface-0 dark:bg-surface-800'?: undefined;
29
- 'border-surface-200 dark:border-surface-700'?: undefined;
30
- 'text-primary-700 dark:text-surface-0'?: undefined;
31
- 'bg-primary-50 dark:bg-primary-400/30'?: undefined;
32
- 'border-primary-200 dark:border-primary-600'?: undefined;
33
- 'cursor-pointer'?: undefined;
34
- } | {
35
- 'cursor-pointer': any;
36
- 'text-surface-600 dark:text-white/80'?: undefined;
37
- 'bg-surface-0 dark:bg-surface-800'?: undefined;
38
- 'border-surface-200 dark:border-surface-700'?: undefined;
39
- 'text-primary-700 dark:text-surface-0'?: undefined;
40
- 'bg-primary-50 dark:bg-primary-400/30'?: undefined;
41
- 'border-primary-200 dark:border-primary-600'?: undefined;
42
- 'hover:bg-surface-100 dark:hover:bg-surface-700'?: undefined;
43
- 'hover:bg-primary-100 dark:hover:bg-primary-300/30'?: undefined;
44
- })[];
45
- };
46
- namespace linecell {
47
- let _class_2: string[];
48
- export { _class_2 as class };
49
- }
50
- namespace linedown {
51
- let _class_3: string[];
52
- export { _class_3 as class };
53
- }
54
- function lineleft({ context }: {
55
- context: any;
56
- }): {
57
- class: (string | {
58
- 'border-t': any;
59
- })[];
60
- };
61
- function lineright({ context }: {
62
- context: any;
63
- }): {
64
- class: (string | {
65
- 'border-t border-surface-200 dark:border-surface-700': any;
66
- })[];
67
- };
68
- namespace nodecell {
69
- let _class_4: string;
70
- export { _class_4 as class };
71
- }
72
- namespace nodetoggler {
73
- let _class_5: string[];
74
- export { _class_5 as class };
75
- }
76
- namespace nodetogglericon {
77
- let _class_6: string[];
78
- export { _class_6 as class };
79
- }
80
- }
81
- export default _default;
@@ -1,138 +0,0 @@
1
- export default {
2
- table: {
3
- class: [
4
- // Spacing & Position
5
- 'mx-auto my-0',
6
-
7
- // Table Style
8
- 'border-spacing-0 border-separate'
9
- ]
10
- },
11
- cell: {
12
- class: [
13
- // Alignment
14
- 'text-center align-top',
15
-
16
- // Spacing
17
- 'py-0 px-3'
18
- ]
19
- },
20
- node: ({ props, context }) => ({
21
- class: [
22
- 'relative inline-block',
23
-
24
- // Spacing
25
- 'p-5',
26
-
27
- // Shape
28
- 'border',
29
-
30
- // Color
31
- {
32
- 'text-surface-600 dark:text-white/80': !context?.selected,
33
- 'bg-surface-0 dark:bg-surface-800': !context?.selected,
34
- 'border-surface-200 dark:border-surface-700': !context?.selected,
35
- 'text-primary-700 dark:text-surface-0': context?.selected,
36
- 'bg-primary-50 dark:bg-primary-400/30': context?.selected,
37
- 'border-primary-200 dark:border-primary-600': context?.selected
38
- },
39
-
40
- // States
41
- {
42
- 'hover:bg-surface-100 dark:hover:bg-surface-700': context?.selectable && !context?.selected,
43
- 'hover:bg-primary-100 dark:hover:bg-primary-300/30': context?.selectable && context?.selected
44
- },
45
-
46
- { 'cursor-pointer': context?.selectable }
47
- ]
48
- }),
49
- linecell: {
50
- class: [
51
- // Alignment
52
- 'text-center align-top',
53
-
54
- // Spacing
55
- 'py-0 px-3'
56
- ]
57
- },
58
- linedown: {
59
- class: [
60
- // Spacing
61
- 'mx-auto my-0',
62
-
63
- // Size
64
- 'w-px h-[20px]',
65
-
66
- // Color
67
- 'bg-surface-200 dark:bg-surface-700'
68
- ]
69
- },
70
- lineleft: ({ context }) => ({
71
- class: [
72
- // Alignment
73
- 'text-center align-top',
74
-
75
- // Spacing
76
- 'py-0 px-3',
77
-
78
- // Shape
79
- 'rounded-none border-r',
80
- { 'border-t': context.lineTop },
81
-
82
- // Color
83
- 'border-surface-200 dark:border-surface-700'
84
- ]
85
- }),
86
- lineright: ({ context }) => ({
87
- class: [
88
- // Alignment
89
- 'text-center align-top',
90
-
91
- // Spacing
92
- 'py-0 px-3',
93
-
94
- // Shape
95
- 'rounded-none',
96
-
97
- // Color
98
- { 'border-t border-surface-200 dark:border-surface-700': context.lineTop }
99
- ]
100
- }),
101
- nodecell: {
102
- class: 'text-center align-top py-0 px-3'
103
- },
104
- nodetoggler: {
105
- class: [
106
- // Position
107
- 'absolute bottom-[-0.75rem] left-2/4 -ml-3',
108
- 'z-20',
109
-
110
- // Flexbox
111
- 'flex items-center justify-center',
112
-
113
- // Size
114
- 'w-6 h-6',
115
-
116
- // Shape
117
- 'rounded-full',
118
-
119
- // Color
120
- 'bg-inherit text-inherit',
121
-
122
- // Focus
123
- 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
124
-
125
- // Misc
126
- 'cursor-pointer no-underline select-none'
127
- ]
128
- },
129
- nodetogglericon: {
130
- class: [
131
- // Position
132
- 'relative inline-block',
133
-
134
- // Size
135
- 'w-4 h-4'
136
- ]
137
- }
138
- };
@@ -1,17 +0,0 @@
1
- declare namespace _default {
2
- namespace root {
3
- let _class: string[];
4
- export { _class as class };
5
- }
6
- namespace content {
7
- let _class_1: string;
8
- export { _class_1 as class };
9
- }
10
- namespace transition {
11
- let enterFromClass: string;
12
- let enterActiveClass: string;
13
- let leaveActiveClass: string;
14
- let leaveToClass: string;
15
- }
16
- }
17
- export default _default;
@@ -1,40 +0,0 @@
1
- export default {
2
- root: {
3
- class: [
4
- // Shape
5
- 'rounded-md shadow-lg',
6
- 'border-0 dark:border',
7
-
8
- // Position
9
- 'absolute left-0 top-0 mt-2',
10
- 'z-40 transform origin-center',
11
-
12
- // Color
13
- 'bg-surface-0 dark:bg-surface-800',
14
- 'text-surface-700 dark:text-surface-0/80',
15
- 'dark:border-surface-700',
16
-
17
- // Before: Triangle
18
- 'before:absolute before:-top-[9px] before:-ml-[9px] before:left-[calc(var(--overlayArrowLeft,0)+1.25rem)] z-0',
19
- 'before:w-0 before:h-0',
20
- 'before:border-transparent before:border-solid',
21
- 'before:border-x-[8px] before:border-[8px]',
22
- 'before:border-t-0 before:border-b-surface-300/10 dark:before:border-b-surface-700',
23
-
24
- 'after:absolute after:-top-2 after:-ml-[8px] after:left-[calc(var(--overlayArrowLeft,0)+1.25rem)]',
25
- 'after:w-0 after:h-0',
26
- 'after:border-transparent after:border-solid',
27
- 'after:border-x-[0.5rem] after:border-[0.5rem]',
28
- 'after:border-t-0 after:border-b-surface-0 dark:after:border-b-surface-800'
29
- ]
30
- },
31
- content: {
32
- class: 'p-5 items-center flex'
33
- },
34
- transition: {
35
- enterFromClass: 'opacity-0 scale-y-[0.8]',
36
- enterActiveClass: 'transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]',
37
- leaveActiveClass: 'transition-opacity duration-100 ease-linear',
38
- leaveToClass: 'opacity-0'
39
- }
40
- };