@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,160 @@
1
+ declare namespace _default {
2
+ function root({ props, context, parent }: {
3
+ props: any;
4
+ context: any;
5
+ parent: any;
6
+ }): {
7
+ class: (string | {
8
+ 'flex-1 w-[1%]': boolean;
9
+ 'px-4 py-4'?: undefined;
10
+ 'px-2 py-2'?: undefined;
11
+ 'p-3'?: undefined;
12
+ 'rounded-md'?: undefined;
13
+ 'first:rounded-l-md rounded-none last:rounded-r-md'?: undefined;
14
+ 'border-0 border-y border-l last:border-r'?: undefined;
15
+ 'first:ml-0 -ml-px'?: undefined;
16
+ 'border-surface-300 dark:border-surface-600'?: undefined;
17
+ 'border-red-500 dark:border-red-400'?: undefined;
18
+ 'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
19
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50 focus:z-10'?: undefined;
20
+ 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
21
+ filled?: undefined;
22
+ } | {
23
+ 'px-4 py-4': boolean;
24
+ 'px-2 py-2': boolean;
25
+ 'p-3': boolean;
26
+ 'flex-1 w-[1%]'?: undefined;
27
+ 'rounded-md'?: undefined;
28
+ 'first:rounded-l-md rounded-none last:rounded-r-md'?: undefined;
29
+ 'border-0 border-y border-l last:border-r'?: undefined;
30
+ 'first:ml-0 -ml-px'?: undefined;
31
+ 'border-surface-300 dark:border-surface-600'?: undefined;
32
+ 'border-red-500 dark:border-red-400'?: undefined;
33
+ 'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
34
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50 focus:z-10'?: undefined;
35
+ 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
36
+ filled?: undefined;
37
+ } | {
38
+ 'rounded-md': boolean;
39
+ 'flex-1 w-[1%]'?: undefined;
40
+ 'px-4 py-4'?: undefined;
41
+ 'px-2 py-2'?: undefined;
42
+ 'p-3'?: undefined;
43
+ 'first:rounded-l-md rounded-none last:rounded-r-md'?: undefined;
44
+ 'border-0 border-y border-l last:border-r'?: undefined;
45
+ 'first:ml-0 -ml-px'?: undefined;
46
+ 'border-surface-300 dark:border-surface-600'?: undefined;
47
+ 'border-red-500 dark:border-red-400'?: undefined;
48
+ 'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
49
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50 focus:z-10'?: undefined;
50
+ 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
51
+ filled?: undefined;
52
+ } | {
53
+ 'first:rounded-l-md rounded-none last:rounded-r-md': boolean;
54
+ 'flex-1 w-[1%]'?: undefined;
55
+ 'px-4 py-4'?: undefined;
56
+ 'px-2 py-2'?: undefined;
57
+ 'p-3'?: undefined;
58
+ 'rounded-md'?: undefined;
59
+ 'border-0 border-y border-l last:border-r'?: undefined;
60
+ 'first:ml-0 -ml-px'?: undefined;
61
+ 'border-surface-300 dark:border-surface-600'?: undefined;
62
+ 'border-red-500 dark:border-red-400'?: undefined;
63
+ 'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
64
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50 focus:z-10'?: undefined;
65
+ 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
66
+ filled?: undefined;
67
+ } | {
68
+ 'border-0 border-y border-l last:border-r': boolean;
69
+ 'flex-1 w-[1%]'?: undefined;
70
+ 'px-4 py-4'?: undefined;
71
+ 'px-2 py-2'?: undefined;
72
+ 'p-3'?: undefined;
73
+ 'rounded-md'?: undefined;
74
+ 'first:rounded-l-md rounded-none last:rounded-r-md'?: undefined;
75
+ 'first:ml-0 -ml-px'?: undefined;
76
+ 'border-surface-300 dark:border-surface-600'?: undefined;
77
+ 'border-red-500 dark:border-red-400'?: undefined;
78
+ 'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
79
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50 focus:z-10'?: undefined;
80
+ 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
81
+ filled?: undefined;
82
+ } | {
83
+ 'first:ml-0 -ml-px': boolean;
84
+ 'flex-1 w-[1%]'?: undefined;
85
+ 'px-4 py-4'?: undefined;
86
+ 'px-2 py-2'?: undefined;
87
+ 'p-3'?: undefined;
88
+ 'rounded-md'?: undefined;
89
+ 'first:rounded-l-md rounded-none last:rounded-r-md'?: undefined;
90
+ 'border-0 border-y border-l last:border-r'?: undefined;
91
+ 'border-surface-300 dark:border-surface-600'?: undefined;
92
+ 'border-red-500 dark:border-red-400'?: undefined;
93
+ 'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
94
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50 focus:z-10'?: undefined;
95
+ 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
96
+ filled?: undefined;
97
+ } | {
98
+ 'border-surface-300 dark:border-surface-600': boolean;
99
+ 'flex-1 w-[1%]'?: undefined;
100
+ 'px-4 py-4'?: undefined;
101
+ 'px-2 py-2'?: undefined;
102
+ 'p-3'?: undefined;
103
+ 'rounded-md'?: undefined;
104
+ 'first:rounded-l-md rounded-none last:rounded-r-md'?: undefined;
105
+ 'border-0 border-y border-l last:border-r'?: undefined;
106
+ 'first:ml-0 -ml-px'?: undefined;
107
+ 'border-red-500 dark:border-red-400'?: undefined;
108
+ 'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
109
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50 focus:z-10'?: undefined;
110
+ 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
111
+ filled?: undefined;
112
+ } | {
113
+ 'border-red-500 dark:border-red-400': any;
114
+ 'flex-1 w-[1%]'?: undefined;
115
+ 'px-4 py-4'?: undefined;
116
+ 'px-2 py-2'?: undefined;
117
+ 'p-3'?: undefined;
118
+ 'rounded-md'?: undefined;
119
+ 'first:rounded-l-md rounded-none last:rounded-r-md'?: undefined;
120
+ 'border-0 border-y border-l last:border-r'?: undefined;
121
+ 'first:ml-0 -ml-px'?: undefined;
122
+ 'border-surface-300 dark:border-surface-600'?: undefined;
123
+ 'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
124
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50 focus:z-10'?: undefined;
125
+ 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
126
+ filled?: undefined;
127
+ } | {
128
+ 'hover:border-primary-500 dark:hover:border-primary-400': boolean;
129
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50 focus:z-10': boolean;
130
+ 'opacity-60 select-none pointer-events-none cursor-default': any;
131
+ 'flex-1 w-[1%]'?: undefined;
132
+ 'px-4 py-4'?: undefined;
133
+ 'px-2 py-2'?: undefined;
134
+ 'p-3'?: undefined;
135
+ 'rounded-md'?: undefined;
136
+ 'first:rounded-l-md rounded-none last:rounded-r-md'?: undefined;
137
+ 'border-0 border-y border-l last:border-r'?: undefined;
138
+ 'first:ml-0 -ml-px'?: undefined;
139
+ 'border-surface-300 dark:border-surface-600'?: undefined;
140
+ 'border-red-500 dark:border-red-400'?: undefined;
141
+ filled?: undefined;
142
+ } | {
143
+ filled: any;
144
+ 'flex-1 w-[1%]'?: undefined;
145
+ 'px-4 py-4'?: undefined;
146
+ 'px-2 py-2'?: undefined;
147
+ 'p-3'?: undefined;
148
+ 'rounded-md'?: undefined;
149
+ 'first:rounded-l-md rounded-none last:rounded-r-md'?: undefined;
150
+ 'border-0 border-y border-l last:border-r'?: undefined;
151
+ 'first:ml-0 -ml-px'?: undefined;
152
+ 'border-surface-300 dark:border-surface-600'?: undefined;
153
+ 'border-red-500 dark:border-red-400'?: undefined;
154
+ 'hover:border-primary-500 dark:hover:border-primary-400'?: undefined;
155
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50 focus:z-10'?: undefined;
156
+ 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
157
+ })[];
158
+ };
159
+ }
160
+ export default _default;
@@ -0,0 +1,49 @@
1
+ export default {
2
+ root: ({ props, context, parent }) => ({
3
+ class: [
4
+ // Font
5
+ 'font-sans leading-none',
6
+
7
+ // Flex
8
+ { 'flex-1 w-[1%]': parent.instance.$name == 'InputGroup' },
9
+
10
+ // Spacing
11
+ 'm-0',
12
+ {
13
+ 'px-4 py-4': props.size == 'large',
14
+ 'px-2 py-2': props.size == 'small',
15
+ 'p-3': props.size == null
16
+ },
17
+
18
+ // Shape
19
+ { 'rounded-md': parent.instance.$name !== 'InputGroup' },
20
+ { 'first:rounded-l-md rounded-none last:rounded-r-md': parent.instance.$name == 'InputGroup' },
21
+ { 'border-0 border-y border-l last:border-r': parent.instance.$name == 'InputGroup' },
22
+ { 'first:ml-0 -ml-px': parent.instance.$name == 'InputGroup' && !props.showButtons },
23
+
24
+ // Colors
25
+ 'text-surface-600 dark:text-surface-200',
26
+ 'placeholder:text-surface-400 dark:placeholder:text-surface-500',
27
+ 'bg-surface-0 dark:bg-surface-900',
28
+ 'border',
29
+ { 'border-surface-300 dark:border-surface-600': !props.invalid },
30
+
31
+ // Invalid State
32
+ { 'border-red-500 dark:border-red-400': props.invalid },
33
+
34
+ // States
35
+ {
36
+ 'hover:border-primary-500 dark:hover:border-primary-400': !context.disabled && !props.invalid,
37
+ 'focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-500/50 dark:focus:ring-primary-400/50 focus:z-10': !context.disabled,
38
+ 'opacity-60 select-none pointer-events-none cursor-default': context.disabled
39
+ },
40
+
41
+ // Filled State *for FloatLabel
42
+ { filled: parent.instance?.$name == 'FloatLabel' && context.filled },
43
+
44
+ // Misc
45
+ 'appearance-none',
46
+ 'transition-colors duration-200'
47
+ ]
48
+ })
49
+ };
@@ -0,0 +1,22 @@
1
+ declare namespace _default {
2
+ function root({ props }: {
3
+ props: any;
4
+ }): {
5
+ class: {
6
+ 'opacity-60 select-none pointer-events-none cursor-default': any;
7
+ }[];
8
+ };
9
+ namespace range {
10
+ let _class: string[];
11
+ export { _class as class };
12
+ }
13
+ namespace value {
14
+ let _class_1: string[];
15
+ export { _class_1 as class };
16
+ }
17
+ namespace label {
18
+ let _class_2: string[];
19
+ export { _class_2 as class };
20
+ }
21
+ }
22
+ export default _default;
@@ -0,0 +1,44 @@
1
+ export default {
2
+ root: ({ props }) => ({
3
+ class: [
4
+ // Misc
5
+ { 'opacity-60 select-none pointer-events-none cursor-default': props.disabled }
6
+ ]
7
+ }),
8
+ range: {
9
+ class: [
10
+ // Stroke
11
+ 'stroke-current',
12
+
13
+ // Color
14
+ 'stroke-surface-200 dark:stroke-surface-700',
15
+
16
+ // Fill
17
+ 'fill-none',
18
+
19
+ // Transition
20
+ 'transition duration-100 ease-in'
21
+ ]
22
+ },
23
+ value: {
24
+ class: [
25
+ // Animation
26
+ 'animate-dash-frame',
27
+
28
+ // Color
29
+ 'stroke-primary-500 dark:stroke-primary-400',
30
+
31
+ // Fill
32
+ 'fill-none'
33
+ ]
34
+ },
35
+ label: {
36
+ class: [
37
+ // Text Style
38
+ 'text-center text-xl',
39
+
40
+ // Color
41
+ 'fill-surface-600 dark:fill-surface-200'
42
+ ]
43
+ }
44
+ };
@@ -0,0 +1,93 @@
1
+ declare namespace _default {
2
+ function root({ props }: {
3
+ props: any;
4
+ }): {
5
+ class: (string | {
6
+ 'border-surface-300 dark:border-surface-600': boolean;
7
+ 'border-red-500 dark:border-red-400'?: undefined;
8
+ } | {
9
+ 'border-red-500 dark:border-red-400': any;
10
+ 'border-surface-300 dark:border-surface-600'?: undefined;
11
+ })[];
12
+ };
13
+ namespace wrapper {
14
+ let _class: string[];
15
+ export { _class as class };
16
+ }
17
+ namespace list {
18
+ let _class_1: string;
19
+ export { _class_1 as class };
20
+ }
21
+ function item({ context }: {
22
+ context: any;
23
+ }): {
24
+ class: (string | {
25
+ 'text-surface-700 dark:text-white/80': boolean;
26
+ 'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80'?: undefined;
27
+ 'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
28
+ 'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
29
+ 'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
30
+ 'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80'?: undefined;
31
+ } | {
32
+ 'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80': any;
33
+ 'text-surface-700 dark:text-white/80'?: undefined;
34
+ 'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
35
+ 'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
36
+ 'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
37
+ 'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80'?: undefined;
38
+ } | {
39
+ 'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80': any;
40
+ 'text-surface-700 dark:text-white/80'?: undefined;
41
+ 'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80'?: undefined;
42
+ 'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
43
+ 'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
44
+ 'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80'?: undefined;
45
+ } | {
46
+ 'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80': any;
47
+ 'text-surface-700 dark:text-white/80'?: undefined;
48
+ 'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80'?: undefined;
49
+ 'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
50
+ 'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
51
+ 'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80'?: undefined;
52
+ } | {
53
+ 'hover:bg-surface-100 dark:hover:bg-surface-600/80': boolean;
54
+ 'text-surface-700 dark:text-white/80'?: undefined;
55
+ 'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80'?: undefined;
56
+ 'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
57
+ 'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
58
+ 'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80'?: undefined;
59
+ } | {
60
+ 'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80': any;
61
+ 'text-surface-700 dark:text-white/80'?: undefined;
62
+ 'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80'?: undefined;
63
+ 'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
64
+ 'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80'?: undefined;
65
+ 'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
66
+ })[];
67
+ };
68
+ namespace itemgroup {
69
+ let _class_2: string[];
70
+ export { _class_2 as class };
71
+ }
72
+ namespace header {
73
+ let _class_3: string[];
74
+ export { _class_3 as class };
75
+ }
76
+ namespace filtercontainer {
77
+ let _class_4: string;
78
+ export { _class_4 as class };
79
+ }
80
+ namespace filterinput {
81
+ let _class_5: string[];
82
+ export { _class_5 as class };
83
+ }
84
+ namespace filtericon {
85
+ let _class_6: string[];
86
+ export { _class_6 as class };
87
+ }
88
+ namespace emptymessage {
89
+ let _class_7: string[];
90
+ export { _class_7 as class };
91
+ }
92
+ }
93
+ export default _default;
@@ -0,0 +1,152 @@
1
+ export default {
2
+ root: ({ props }) => ({
3
+ class: [
4
+ // Sizing and Shape
5
+ 'min-w-[12rem]',
6
+ 'rounded-md',
7
+
8
+ // Colors
9
+ 'bg-surface-0 dark:bg-surface-800',
10
+ 'text-surface-700 dark:text-white/80',
11
+ 'border',
12
+ { 'border-surface-300 dark:border-surface-600': !props.invalid },
13
+
14
+ // Invalid State
15
+ { 'border-red-500 dark:border-red-400': props.invalid }
16
+ ]
17
+ }),
18
+ wrapper: {
19
+ class: [
20
+ // Overflow
21
+ 'overflow-auto'
22
+ ]
23
+ },
24
+ list: {
25
+ class: 'py-3 list-none m-0'
26
+ },
27
+ item: ({ context }) => ({
28
+ class: [
29
+ // Font
30
+ 'font-normal',
31
+ 'leading-none',
32
+
33
+ // Position
34
+ 'relative',
35
+
36
+ // Shape
37
+ 'border-0',
38
+ 'rounded-none',
39
+
40
+ // Spacing
41
+ 'm-0',
42
+ 'py-3 px-5',
43
+
44
+ // Color
45
+ { 'text-surface-700 dark:text-white/80': !context.focused && !context.selected },
46
+ { 'bg-surface-200 dark:bg-surface-600/60 text-surface-700 dark:text-white/80': context.focused && !context.selected },
47
+ { 'bg-primary-100 dark:bg-primary-400/40 text-primary-700 dark:text-white/80': context.focused && context.selected },
48
+ { 'bg-primary-50 dark:bg-primary-400/40 text-primary-700 dark:text-white/80': !context.focused && context.selected },
49
+
50
+ //States
51
+ { 'hover:bg-surface-100 dark:hover:bg-surface-600/80': !context.focused && !context.selected },
52
+ { 'hover:text-surface-700 hover:bg-surface-100 dark:hover:text-white dark:hover:bg-surface-600/80': context.focused && !context.selected },
53
+ 'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring focus-visible:ring-inset focus-visible:ring-primary-400/50 dark:focus-visible:ring-primary-300/50',
54
+
55
+ // Transitions
56
+ 'transition-shadow',
57
+ 'duration-200',
58
+
59
+ // Misc
60
+ 'cursor-pointer',
61
+ 'overflow-hidden',
62
+ 'whitespace-nowrap'
63
+ ]
64
+ }),
65
+ itemgroup: {
66
+ class: [
67
+ //Font
68
+ 'font-bold',
69
+
70
+ // Spacing
71
+ 'm-0',
72
+ 'py-3 px-5',
73
+
74
+ // Color
75
+ 'text-surface-800 dark:text-white/80',
76
+ 'bg-surface-0 dark:bg-surface-600/80',
77
+
78
+ // Misc
79
+ 'cursor-auto'
80
+ ]
81
+ },
82
+ header: {
83
+ class: [
84
+ // Spacing
85
+ 'py-3 px-5',
86
+ 'm-0',
87
+
88
+ //Shape
89
+ 'border-b',
90
+ 'rounded-tl-md',
91
+ 'rounded-tr-md',
92
+
93
+ // Color
94
+ 'text-surface-700 dark:text-white/80',
95
+ 'bg-surface-100 dark:bg-surface-800',
96
+ 'border-surface-300 dark:border-surface-600'
97
+ ]
98
+ },
99
+ filtercontainer: {
100
+ class: 'relative'
101
+ },
102
+ filterinput: {
103
+ class: [
104
+ // Font
105
+ 'font-sans',
106
+ 'leading-none',
107
+
108
+ // Sizing
109
+ 'pr-7 py-3 px-3',
110
+ '-mr-7',
111
+ 'w-full',
112
+
113
+ //Color
114
+ 'text-surface-700 dark:text-white/80',
115
+ 'bg-surface-0 dark:bg-surface-900',
116
+ 'border-surface-200 dark:border-surface-700',
117
+
118
+ // Shape
119
+ 'border',
120
+ 'rounded-lg',
121
+ 'appearance-none',
122
+
123
+ // Transitions
124
+ 'transition',
125
+ 'duration-200',
126
+
127
+ // States
128
+ 'hover:border-primary-500 dark:hover:border-primary-300',
129
+ 'focus:ring focus:outline-none focus:outline-offset-0',
130
+ 'focus:ring-primary-400/50 dark:focus:ring-primary-300/50',
131
+
132
+ // Misc
133
+ 'appearance-none'
134
+ ]
135
+ },
136
+ filtericon: {
137
+ class: ['absolute', 'top-1/2 right-3', '-mt-2']
138
+ },
139
+ emptymessage: {
140
+ class: [
141
+ // Font
142
+ 'leading-none',
143
+
144
+ // Spacing
145
+ 'py-3 px-5',
146
+
147
+ // Color
148
+ 'text-surface-800 dark:text-white/80',
149
+ 'bg-transparent'
150
+ ]
151
+ }
152
+ };
@@ -0,0 +1,105 @@
1
+ declare namespace _default {
2
+ function root({ props }: {
3
+ props: any;
4
+ }): {
5
+ class: (string | {
6
+ 'p-2 items-center': boolean;
7
+ 'flex-col sm:w-48 p-0 py-1': boolean;
8
+ })[];
9
+ };
10
+ function menu({ props }: {
11
+ props: any;
12
+ }): {
13
+ class: (string | {
14
+ hidden: boolean;
15
+ flex: any;
16
+ })[];
17
+ };
18
+ function menuitem({ props }: {
19
+ props: any;
20
+ }): {
21
+ class: (string | {
22
+ 'sm:w-auto w-full': any;
23
+ 'w-full': boolean;
24
+ })[];
25
+ };
26
+ function content({ props, context }: {
27
+ props: any;
28
+ context: any;
29
+ }): {
30
+ class: (string | {
31
+ 'rounded-md': any;
32
+ 'text-surface-500 dark:text-white/70'?: undefined;
33
+ 'text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-surface-600/90'?: undefined;
34
+ 'text-primary-700 dark:text-surface-0/80 bg-primary-50 dark:bg-primary-400/30'?: undefined;
35
+ 'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
36
+ 'hover:bg-primary-500/50 dark:hover:bg-primary-300/30 text-primary-700 dark:text-surface-0/80'?: undefined;
37
+ } | {
38
+ 'text-surface-500 dark:text-white/70': boolean;
39
+ 'text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-surface-600/90': any;
40
+ 'text-primary-700 dark:text-surface-0/80 bg-primary-50 dark:bg-primary-400/30': any;
41
+ 'rounded-md'?: undefined;
42
+ 'hover:bg-surface-100 dark:hover:bg-surface-600/80'?: undefined;
43
+ 'hover:bg-primary-500/50 dark:hover:bg-primary-300/30 text-primary-700 dark:text-surface-0/80'?: undefined;
44
+ } | {
45
+ 'hover:bg-surface-100 dark:hover:bg-surface-600/80': boolean;
46
+ 'hover:bg-primary-500/50 dark:hover:bg-primary-300/30 text-primary-700 dark:text-surface-0/80': any;
47
+ 'rounded-md'?: undefined;
48
+ 'text-surface-500 dark:text-white/70'?: undefined;
49
+ 'text-surface-500 dark:text-white/70 bg-surface-200 dark:bg-surface-600/90'?: undefined;
50
+ 'text-primary-700 dark:text-surface-0/80 bg-primary-50 dark:bg-primary-400/30'?: undefined;
51
+ })[];
52
+ };
53
+ namespace action {
54
+ let _class: string[];
55
+ export { _class as class };
56
+ }
57
+ namespace icon {
58
+ let _class_1: string;
59
+ export { _class_1 as class };
60
+ }
61
+ function submenuicon({ props }: {
62
+ props: any;
63
+ }): {
64
+ class: {
65
+ 'ml-auto sm:ml-2': any;
66
+ 'ml-auto': boolean;
67
+ }[];
68
+ };
69
+ function panel({ props }: {
70
+ props: any;
71
+ }): {
72
+ class: (string | {
73
+ 'sm:left-full top-0': boolean;
74
+ })[];
75
+ };
76
+ namespace grid {
77
+ let _class_2: string;
78
+ export { _class_2 as class };
79
+ }
80
+ namespace column {
81
+ let _class_3: string;
82
+ export { _class_3 as class };
83
+ }
84
+ namespace submenu {
85
+ let _class_4: string[];
86
+ export { _class_4 as class };
87
+ }
88
+ namespace submenuheader {
89
+ let _class_5: string[];
90
+ export { _class_5 as class };
91
+ }
92
+ namespace separator {
93
+ let _class_6: string;
94
+ export { _class_6 as class };
95
+ }
96
+ namespace menubutton {
97
+ let _class_7: string[];
98
+ export { _class_7 as class };
99
+ }
100
+ namespace end {
101
+ let _class_8: string;
102
+ export { _class_8 as class };
103
+ }
104
+ }
105
+ export default _default;