@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,81 +0,0 @@
1
- export default {
2
- root: ({ props }) => ({
3
- class: [
4
- 'flex grow',
5
- {
6
- 'flex-col': props.layout === 'vertical',
7
- 'flex-row flex-1': props.layout === 'horizontal'
8
- }
9
- ]
10
- }),
11
- event: ({ props, context }) => ({
12
- class: [
13
- 'flex relative min-h-[70px]',
14
- {
15
- 'flex-row-reverse': props.align === 'right' || (props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1),
16
- 'flex-col flex-1': props.layout === 'horizontal',
17
- 'flex-col-reverse ': props.align === 'bottom' || (props.layout === 'horizontal' && props.align === 'alternate' && context.index % 2 === 1)
18
- }
19
- ]
20
- }),
21
- opposite: ({ props, context }) => ({
22
- class: [
23
- 'flex-1',
24
- {
25
- 'px-4': props.layout === 'vertical',
26
- 'py-4': props.layout === 'horizontal'
27
- },
28
- {
29
- 'text-right': props.align === 'left' || (props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 0),
30
- 'text-left': props.align === 'right' || (props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1)
31
- }
32
- ]
33
- }),
34
- separator: ({ props }) => ({
35
- class: [
36
- 'flex items-center flex-initial',
37
- {
38
- 'flex-col': props.layout === 'vertical',
39
- 'flex-row': props.layout === 'horizontal'
40
- }
41
- ]
42
- }),
43
- marker: {
44
- class: [
45
- // Display & Flexbox
46
- 'flex self-baseline',
47
-
48
- // Size
49
- 'w-4 h-4',
50
-
51
- // Appearance
52
- 'rounded-full border-2 border-primary-500 bg-surface-0 dark:border-primary-300 dark:bg-surface-900/40'
53
- ]
54
- },
55
- connector: ({ props }) => ({
56
- class: [
57
- 'grow bg-surface-300 dark:bg-surface-700',
58
- {
59
- 'w-[2px]': props.layout === 'vertical',
60
- 'w-full h-[2px]': props.layout === 'horizontal'
61
- }
62
- ]
63
- }),
64
- content: ({ props, context }) => ({
65
- class: [
66
- 'flex-1',
67
- {
68
- 'px-4': props.layout === 'vertical',
69
- 'py-4': props.layout === 'horizontal'
70
- },
71
- {
72
- 'text-left': props.align === 'left' || (props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 0),
73
- 'text-right': props.align === 'right' || (props.layout === 'vertical' && props.align === 'alternate' && context.index % 2 === 1)
74
- },
75
- {
76
- 'min-h-0': props.layout === 'vertical' && context.index === context.count,
77
- 'grow-0': props.layout === 'horizontal' && context.index === context.count
78
- }
79
- ]
80
- })
81
- };
@@ -1,92 +0,0 @@
1
- declare namespace _default {
2
- function root({ props }: {
3
- props: any;
4
- }): {
5
- class: (string | {
6
- '-translate-x-2/4': boolean;
7
- })[];
8
- };
9
- function container({ props }: {
10
- props: any;
11
- }): {
12
- class: (string | {
13
- 'bg-blue-100/70 dark:bg-blue-500/20': boolean;
14
- 'bg-green-100/70 dark:bg-green-500/20': boolean;
15
- 'bg-orange-100/70 dark:bg-orange-500/20': boolean;
16
- 'bg-red-100/70 dark:bg-red-500/20': boolean;
17
- 'border-blue-500 dark:border-blue-400'?: undefined;
18
- 'border-green-500 dark:border-green-400'?: undefined;
19
- 'border-orange-500 dark:border-orange-400'?: undefined;
20
- 'border-red-500 dark:border-red-400'?: undefined;
21
- 'text-blue-700 dark:text-blue-300'?: undefined;
22
- 'text-green-700 dark:text-green-300'?: undefined;
23
- 'text-orange-700 dark:text-orange-300'?: undefined;
24
- 'text-red-700 dark:text-red-300'?: undefined;
25
- } | {
26
- 'border-blue-500 dark:border-blue-400': boolean;
27
- 'border-green-500 dark:border-green-400': boolean;
28
- 'border-orange-500 dark:border-orange-400': boolean;
29
- 'border-red-500 dark:border-red-400': boolean;
30
- 'bg-blue-100/70 dark:bg-blue-500/20'?: undefined;
31
- 'bg-green-100/70 dark:bg-green-500/20'?: undefined;
32
- 'bg-orange-100/70 dark:bg-orange-500/20'?: undefined;
33
- 'bg-red-100/70 dark:bg-red-500/20'?: undefined;
34
- 'text-blue-700 dark:text-blue-300'?: undefined;
35
- 'text-green-700 dark:text-green-300'?: undefined;
36
- 'text-orange-700 dark:text-orange-300'?: undefined;
37
- 'text-red-700 dark:text-red-300'?: undefined;
38
- } | {
39
- 'text-blue-700 dark:text-blue-300': boolean;
40
- 'text-green-700 dark:text-green-300': boolean;
41
- 'text-orange-700 dark:text-orange-300': boolean;
42
- 'text-red-700 dark:text-red-300': boolean;
43
- 'bg-blue-100/70 dark:bg-blue-500/20'?: undefined;
44
- 'bg-green-100/70 dark:bg-green-500/20'?: undefined;
45
- 'bg-orange-100/70 dark:bg-orange-500/20'?: undefined;
46
- 'bg-red-100/70 dark:bg-red-500/20'?: undefined;
47
- 'border-blue-500 dark:border-blue-400'?: undefined;
48
- 'border-green-500 dark:border-green-400'?: undefined;
49
- 'border-orange-500 dark:border-orange-400'?: undefined;
50
- 'border-red-500 dark:border-red-400'?: undefined;
51
- })[];
52
- };
53
- function content({ props }: {
54
- props: any;
55
- }): {
56
- class: (string | {
57
- 'items-start': any;
58
- 'items-center': boolean;
59
- })[];
60
- };
61
- namespace icon {
62
- let _class: string[];
63
- export { _class as class };
64
- }
65
- namespace text {
66
- let _class_1: string[];
67
- export { _class_1 as class };
68
- }
69
- namespace summary {
70
- let _class_2: string;
71
- export { _class_2 as class };
72
- }
73
- function detail({ props }: {
74
- props: any;
75
- }): {
76
- class: (string | {
77
- 'mt-2': any;
78
- })[];
79
- };
80
- namespace closebutton {
81
- let _class_3: string[];
82
- export { _class_3 as class };
83
- }
84
- namespace transition {
85
- let enterFromClass: string;
86
- let enterActiveClass: string;
87
- let leaveFromClass: string;
88
- let leaveActiveClass: string;
89
- let leaveToClass: string;
90
- }
91
- }
92
- export default _default;
@@ -1,102 +0,0 @@
1
- export default {
2
- root: ({ props }) => ({
3
- class: [
4
- //Size and Shape
5
- 'w-96 rounded-md',
6
-
7
- // Positioning
8
- { '-translate-x-2/4': props.position == 'top-center' || props.position == 'bottom-center' }
9
- ]
10
- }),
11
- container: ({ props }) => ({
12
- class: [
13
- 'my-4 rounded-md w-full',
14
- 'border-solid border-0 border-l-[6px]',
15
- 'backdrop-blur-[10px] shadow-md',
16
-
17
- // Colors
18
- {
19
- 'bg-blue-100/70 dark:bg-blue-500/20': props.message.severity == 'info',
20
- 'bg-green-100/70 dark:bg-green-500/20': props.message.severity == 'success',
21
- 'bg-orange-100/70 dark:bg-orange-500/20': props.message.severity == 'warn',
22
- 'bg-red-100/70 dark:bg-red-500/20': props.message.severity == 'error'
23
- },
24
- {
25
- 'border-blue-500 dark:border-blue-400': props.message.severity == 'info',
26
- 'border-green-500 dark:border-green-400': props.message.severity == 'success',
27
- 'border-orange-500 dark:border-orange-400': props.message.severity == 'warn',
28
- 'border-red-500 dark:border-red-400': props.message.severity == 'error'
29
- },
30
- {
31
- 'text-blue-700 dark:text-blue-300': props.message.severity == 'info',
32
- 'text-green-700 dark:text-green-300': props.message.severity == 'success',
33
- 'text-orange-700 dark:text-orange-300': props.message.severity == 'warn',
34
- 'text-red-700 dark:text-red-300': props.message.severity == 'error'
35
- }
36
- ]
37
- }),
38
- content: ({ props }) => ({
39
- class: [
40
- 'flex p-4',
41
- {
42
- 'items-start': props.message.summary,
43
- 'items-center': !props.message.summary,
44
- },
45
- ],
46
- }),
47
- icon: {
48
- class: [
49
- // Sizing and Spacing
50
- 'w-6 h-6',
51
- 'text-lg leading-none mr-2 shrink-0'
52
- ]
53
- },
54
- text: {
55
- class: [
56
- // Font and Text
57
- 'text-base leading-none',
58
- 'ml-2',
59
- 'flex-1'
60
- ]
61
- },
62
- summary: {
63
- class: 'font-bold block'
64
- },
65
- detail: ({ props }) => ({
66
- class: ['block', { 'mt-2': props.message.summary }],
67
- }),
68
- closebutton: {
69
- class: [
70
- // Flexbox
71
- 'flex items-center justify-center',
72
-
73
- // Size
74
- 'w-8 h-8',
75
-
76
- // Spacing and Misc
77
- 'ml-auto relative',
78
-
79
- // Shape
80
- 'rounded-full',
81
-
82
- // Colors
83
- 'bg-transparent',
84
-
85
- // Transitions
86
- 'transition duration-200 ease-in-out',
87
-
88
- // States
89
- 'hover:bg-surface-0/50 dark:hover:bg-surface-0/10',
90
-
91
- // Misc
92
- 'overflow-hidden'
93
- ]
94
- },
95
- transition: {
96
- enterFromClass: 'opacity-0 translate-y-2/4',
97
- enterActiveClass: 'transition-[transform,opacity] duration-300',
98
- leaveFromClass: 'max-h-[1000px]',
99
- leaveActiveClass: '!transition-[max-height_.45s_cubic-bezier(0,1,0,1),opacity_.3s,margin-bottom_.3s] overflow-hidden',
100
- leaveToClass: 'max-h-0 opacity-0 mb-0'
101
- }
102
- };
@@ -1,72 +0,0 @@
1
- declare namespace _default {
2
- namespace root {
3
- let _class: string[];
4
- export { _class as class };
5
- }
6
- function box({ props }: {
7
- props: any;
8
- }): {
9
- class: (string | {
10
- 'bg-surface-0 dark:bg-surface-900 ': boolean;
11
- 'border-surface-200 dark:border-surface-700 ': boolean;
12
- 'text-surface-700 dark:text-white/80': boolean;
13
- 'bg-primary-500 dark:bg-primary-400 border-primary-500 dark:border-primary-400 text-white dark:text-surface-900': any;
14
- 'border-red-500 dark:border-red-400'?: undefined;
15
- 'peer-hover:bg-surface-50 dark:peer-hover:bg-surface-800/80 peer-hover:border-surface-200 dark:peer-hover:bg-surface-700 peer-hover:text-surface-700 dark:peer-hover:text-white/80'?: undefined;
16
- 'peer-hover:bg-primary-600 peer-hover:border-primary-600 dark:peer-hover:bg-primary-300 dark:peer-hover:border-primary-300'?: undefined;
17
- 'peer-focus-visible:ring peer-focus-visible:ring-primary-400/50 dark:peer-focus-visible:ring-primary-300/50'?: undefined;
18
- 'cursor-pointer'?: undefined;
19
- 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
20
- } | {
21
- 'border-red-500 dark:border-red-400': any;
22
- 'bg-surface-0 dark:bg-surface-900 '?: undefined;
23
- 'border-surface-200 dark:border-surface-700 '?: undefined;
24
- 'text-surface-700 dark:text-white/80'?: undefined;
25
- 'bg-primary-500 dark:bg-primary-400 border-primary-500 dark:border-primary-400 text-white dark:text-surface-900'?: undefined;
26
- 'peer-hover:bg-surface-50 dark:peer-hover:bg-surface-800/80 peer-hover:border-surface-200 dark:peer-hover:bg-surface-700 peer-hover:text-surface-700 dark:peer-hover:text-white/80'?: undefined;
27
- 'peer-hover:bg-primary-600 peer-hover:border-primary-600 dark:peer-hover:bg-primary-300 dark:peer-hover:border-primary-300'?: undefined;
28
- 'peer-focus-visible:ring peer-focus-visible:ring-primary-400/50 dark:peer-focus-visible:ring-primary-300/50'?: undefined;
29
- 'cursor-pointer'?: undefined;
30
- 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
31
- } | {
32
- 'peer-hover:bg-surface-50 dark:peer-hover:bg-surface-800/80 peer-hover:border-surface-200 dark:peer-hover:bg-surface-700 peer-hover:text-surface-700 dark:peer-hover:text-white/80': boolean;
33
- 'peer-hover:bg-primary-600 peer-hover:border-primary-600 dark:peer-hover:bg-primary-300 dark:peer-hover:border-primary-300': any;
34
- 'peer-focus-visible:ring peer-focus-visible:ring-primary-400/50 dark:peer-focus-visible:ring-primary-300/50': boolean;
35
- 'bg-surface-0 dark:bg-surface-900 '?: undefined;
36
- 'border-surface-200 dark:border-surface-700 '?: undefined;
37
- 'text-surface-700 dark:text-white/80'?: undefined;
38
- 'bg-primary-500 dark:bg-primary-400 border-primary-500 dark:border-primary-400 text-white dark:text-surface-900'?: undefined;
39
- 'border-red-500 dark:border-red-400'?: undefined;
40
- 'cursor-pointer'?: undefined;
41
- 'opacity-60 select-none pointer-events-none cursor-default'?: undefined;
42
- } | {
43
- 'cursor-pointer': boolean;
44
- 'opacity-60 select-none pointer-events-none cursor-default': any;
45
- 'bg-surface-0 dark:bg-surface-900 '?: undefined;
46
- 'border-surface-200 dark:border-surface-700 '?: undefined;
47
- 'text-surface-700 dark:text-white/80'?: undefined;
48
- 'bg-primary-500 dark:bg-primary-400 border-primary-500 dark:border-primary-400 text-white dark:text-surface-900'?: undefined;
49
- 'border-red-500 dark:border-red-400'?: undefined;
50
- 'peer-hover:bg-surface-50 dark:peer-hover:bg-surface-800/80 peer-hover:border-surface-200 dark:peer-hover:bg-surface-700 peer-hover:text-surface-700 dark:peer-hover:text-white/80'?: undefined;
51
- 'peer-hover:bg-primary-600 peer-hover:border-primary-600 dark:peer-hover:bg-primary-300 dark:peer-hover:border-primary-300'?: undefined;
52
- 'peer-focus-visible:ring peer-focus-visible:ring-primary-400/50 dark:peer-focus-visible:ring-primary-300/50'?: undefined;
53
- })[];
54
- };
55
- namespace label {
56
- let _class_1: string;
57
- export { _class_1 as class };
58
- }
59
- namespace input {
60
- let _class_2: string[];
61
- export { _class_2 as class };
62
- }
63
- function icon({ props }: {
64
- props: any;
65
- }): {
66
- class: (string | {
67
- 'text-surface-600 dark:text-white/70': boolean;
68
- 'text-white dark:text-surface-900': any;
69
- })[];
70
- };
71
- }
72
- export default _default;
@@ -1,91 +0,0 @@
1
- export default {
2
- root: {
3
- class: [
4
- 'relative',
5
-
6
- // Alignment
7
- 'inline-flex',
8
- 'align-bottom',
9
-
10
- // Misc
11
- 'cursor-pointer',
12
- 'select-none'
13
- ]
14
- },
15
- box: ({ props }) => ({
16
- class: [
17
- // Alignments
18
- 'items-center inline-flex flex-1 text-center align-bottom justify-center',
19
-
20
- // Sizes & Spacing
21
- 'px-4 py-3 leading-none',
22
-
23
- // Shapes
24
- 'rounded-md border',
25
-
26
- // Colors
27
- {
28
- 'bg-surface-0 dark:bg-surface-900 ': !props.modelValue,
29
- 'border-surface-200 dark:border-surface-700 ': !props.modelValue && !props.invalid,
30
- 'text-surface-700 dark:text-white/80': !props.modelValue,
31
- 'bg-primary-500 dark:bg-primary-400 border-primary-500 dark:border-primary-400 text-white dark:text-surface-900': props.modelValue
32
- },
33
-
34
- // Invalid State
35
- { 'border-red-500 dark:border-red-400': props.invalid },
36
-
37
- // States
38
- {
39
- 'peer-hover:bg-surface-50 dark:peer-hover:bg-surface-800/80 peer-hover:border-surface-200 dark:peer-hover:bg-surface-700 peer-hover:text-surface-700 dark:peer-hover:text-white/80': !props.modelValue && !props.invalid,
40
- 'peer-hover:bg-primary-600 peer-hover:border-primary-600 dark:peer-hover:bg-primary-300 dark:peer-hover:border-primary-300': props.modelValue,
41
- 'peer-focus-visible:ring peer-focus-visible:ring-primary-400/50 dark:peer-focus-visible:ring-primary-300/50': !props.disabled
42
- },
43
-
44
- // Transitions
45
- 'transition-all duration-200',
46
-
47
- // Misc
48
- { 'cursor-pointer': !props.disabled, 'opacity-60 select-none pointer-events-none cursor-default': props.disabled }
49
- ]
50
- }),
51
- label: {
52
- class: 'font-bold text-center w-full'
53
- },
54
- input: {
55
- class: [
56
- 'peer',
57
-
58
- // Size
59
- 'w-full ',
60
- 'h-full',
61
-
62
- // Position
63
- 'absolute',
64
- 'top-0 left-0',
65
- 'z-10',
66
-
67
- // Spacing
68
- 'p-0',
69
- 'm-0',
70
-
71
- // Shape
72
- 'opacity-0',
73
- 'rounded-md',
74
- 'outline-none',
75
- 'border border-surface-200 dark:border-surface-700',
76
-
77
- // Misc
78
- 'appearance-none',
79
- 'cursor-pointer'
80
- ]
81
- },
82
- icon: ({ props }) => ({
83
- class: [
84
- ' mr-2',
85
- {
86
- 'text-surface-600 dark:text-white/70': !props.modelValue,
87
- 'text-white dark:text-surface-900': props.modelValue
88
- }
89
- ]
90
- })
91
- };
@@ -1,19 +0,0 @@
1
- declare namespace _default {
2
- namespace root {
3
- let _class: string[];
4
- export { _class as class };
5
- }
6
- namespace start {
7
- let _class_1: string;
8
- export { _class_1 as class };
9
- }
10
- namespace center {
11
- let _class_2: string;
12
- export { _class_2 as class };
13
- }
14
- namespace end {
15
- let _class_3: string;
16
- export { _class_3 as class };
17
- }
18
- }
19
- export default _default;
@@ -1,28 +0,0 @@
1
- export default {
2
- root: {
3
- class: [
4
- // Flex & Alignment
5
- 'flex items-center justify-between flex-wrap',
6
- 'gap-2',
7
-
8
- // Spacing
9
- 'p-5',
10
-
11
- // Shape
12
- 'rounded-md',
13
-
14
- // Color
15
- 'bg-surface-50 dark:bg-surface-800',
16
- 'border border-surface-200 dark:border-surface-700'
17
- ]
18
- },
19
- start: {
20
- class: 'flex items-center'
21
- },
22
- center: {
23
- class: 'flex items-center'
24
- },
25
- end: {
26
- class: 'flex items-center'
27
- }
28
- };
@@ -1,38 +0,0 @@
1
- declare namespace _default {
2
- function root({ context, props }: {
3
- context: any;
4
- props: any;
5
- }): {
6
- class: (string | {
7
- 'py-0 px-1': any;
8
- 'py-1 px-0': any;
9
- })[];
10
- };
11
- function arrow({ context, props }: {
12
- context: any;
13
- props: any;
14
- }): {
15
- class: (string | {
16
- 'border-y-[0.25rem] border-r-[0.25rem] border-l-0 border-r-surface-600': any;
17
- 'border-y-[0.25rem] border-l-[0.25rem] border-r-0 border-l-surface-600': any;
18
- 'border-x-[0.25rem] border-t-[0.25rem] border-b-0 border-t-surface-600': any;
19
- 'border-x-[0.25rem] border-b-[0.25rem] border-t-0 border-b-surface-600': any;
20
- '-mt-1 '?: undefined;
21
- '-mt-1'?: undefined;
22
- '-ml-1'?: undefined;
23
- } | {
24
- '-mt-1 ': any;
25
- '-mt-1': any;
26
- '-ml-1': any;
27
- 'border-y-[0.25rem] border-r-[0.25rem] border-l-0 border-r-surface-600'?: undefined;
28
- 'border-y-[0.25rem] border-l-[0.25rem] border-r-0 border-l-surface-600'?: undefined;
29
- 'border-x-[0.25rem] border-t-[0.25rem] border-b-0 border-t-surface-600'?: undefined;
30
- 'border-x-[0.25rem] border-b-[0.25rem] border-t-0 border-b-surface-600'?: undefined;
31
- })[];
32
- };
33
- namespace text {
34
- let _class: string[];
35
- export { _class as class };
36
- }
37
- }
38
- export default _default;
@@ -1,46 +0,0 @@
1
- export default {
2
- root: ({ context, props }) => ({
3
- class: [
4
- // Position and Shadows
5
- 'absolute',
6
- 'shadow-md',
7
- 'p-fadein',
8
- // Spacing
9
- {
10
- 'py-0 px-1': context?.right || context?.left || (!context?.right && !context?.left && !context?.top && !context?.bottom),
11
- 'py-1 px-0': context?.top || context?.bottom
12
- }
13
- ]
14
- }),
15
- arrow: ({ context, props }) => ({
16
- class: [
17
- // Position
18
-
19
- 'absolute',
20
-
21
- // Size
22
- 'w-0',
23
- 'h-0',
24
-
25
- // Shape
26
- 'border-transparent',
27
- 'border-solid',
28
- {
29
- 'border-y-[0.25rem] border-r-[0.25rem] border-l-0 border-r-surface-600': context?.right || (!context?.right && !context?.left && !context?.top && !context?.bottom),
30
- 'border-y-[0.25rem] border-l-[0.25rem] border-r-0 border-l-surface-600': context?.left,
31
- 'border-x-[0.25rem] border-t-[0.25rem] border-b-0 border-t-surface-600': context?.top,
32
- 'border-x-[0.25rem] border-b-[0.25rem] border-t-0 border-b-surface-600': context?.bottom
33
- },
34
-
35
- // Spacing
36
- {
37
- '-mt-1 ': context?.right || (!context?.right && !context?.left && !context?.top && !context?.bottom),
38
- '-mt-1': context?.left,
39
- '-ml-1': context?.top || context?.bottom
40
- }
41
- ]
42
- }),
43
- text: {
44
- class: ['p-3', 'bg-surface-600 dark:bg-surface-700', 'text-white', 'leading-none', 'rounded-md', 'whitespace-pre-line', 'break-words']
45
- }
46
- };
@@ -1,105 +0,0 @@
1
- declare namespace _default {
2
- namespace root {
3
- let _class: string[];
4
- export { _class as class };
5
- }
6
- namespace wrapper {
7
- let _class_1: string[];
8
- export { _class_1 as class };
9
- }
10
- namespace container {
11
- let _class_2: string[];
12
- export { _class_2 as class };
13
- }
14
- namespace node {
15
- let _class_3: string[];
16
- export { _class_3 as class };
17
- }
18
- function content({ context, props }: {
19
- context: any;
20
- props: any;
21
- }): {
22
- class: (string | {
23
- 'bg-primary-50 dark:bg-primary-400/30 text-primary-600 dark:text-surface-0': any;
24
- 'hover:bg-surface-50 dark:hover:bg-surface-700/40'?: undefined;
25
- 'cursor-pointer select-none'?: undefined;
26
- } | {
27
- 'hover:bg-surface-50 dark:hover:bg-surface-700/40': boolean;
28
- 'bg-primary-50 dark:bg-primary-400/30 text-primary-600 dark:text-surface-0'?: undefined;
29
- 'cursor-pointer select-none'?: undefined;
30
- } | {
31
- 'cursor-pointer select-none': boolean;
32
- 'bg-primary-50 dark:bg-primary-400/30 text-primary-600 dark:text-surface-0'?: undefined;
33
- 'hover:bg-surface-50 dark:hover:bg-surface-700/40'?: undefined;
34
- })[];
35
- };
36
- function toggler({ context }: {
37
- context: any;
38
- }): {
39
- class: (string | {
40
- 'text-surface-500 dark:text-white': boolean;
41
- 'text-primary-600 dark:text-white': any;
42
- invisible: any;
43
- })[];
44
- };
45
- function nodeCheckbox({ props, context, instance }: {
46
- props: any;
47
- context: any;
48
- instance: any;
49
- }): {
50
- root: {
51
- class: string[];
52
- };
53
- box: {
54
- class: (string | {
55
- 'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900': boolean;
56
- 'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400': any;
57
- 'peer-hover:border-primary-500 dark:peer-hover:border-primary-400'?: undefined;
58
- 'peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300'?: undefined;
59
- '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;
60
- 'cursor-default opacity-60'?: undefined;
61
- } | {
62
- 'peer-hover:border-primary-500 dark:peer-hover:border-primary-400': boolean;
63
- 'peer-hover:bg-primary-600 dark:peer-hover:bg-primary-300 peer-hover:border-primary-700 dark:peer-hover:border-primary-300': any;
64
- '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;
65
- 'cursor-default opacity-60': any;
66
- 'border-surface-200 bg-surface-0 dark:border-surface-700 dark:bg-surface-900'?: undefined;
67
- 'border-primary-500 bg-primary-500 dark:border-primary-400 dark:bg-primary-400'?: undefined;
68
- })[];
69
- };
70
- input: {
71
- class: string[];
72
- };
73
- icon: {
74
- class: (string | {
75
- 'text-white dark:text-surface-900': boolean;
76
- 'text-gray dark:text-white': any;
77
- })[];
78
- };
79
- };
80
- namespace nodeicon {
81
- let _class_4: string[];
82
- export { _class_4 as class };
83
- }
84
- namespace subgroup {
85
- let _class_5: string[];
86
- export { _class_5 as class };
87
- }
88
- namespace filtercontainer {
89
- let _class_6: string[];
90
- export { _class_6 as class };
91
- }
92
- namespace input {
93
- let _class_7: string[];
94
- export { _class_7 as class };
95
- }
96
- namespace loadingicon {
97
- let _class_8: string[];
98
- export { _class_8 as class };
99
- }
100
- namespace searchicon {
101
- let _class_9: string[];
102
- export { _class_9 as class };
103
- }
104
- }
105
- export default _default;