@fewangsit/wangsvue-presets 1.0.81 → 1.0.82-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. package/fixedasset/accordion/index.d.ts +37 -0
  2. package/fixedasset/accordion/index.js +70 -0
  3. package/fixedasset/autocomplete/index.d.ts +188 -0
  4. package/fixedasset/autocomplete/index.js +247 -0
  5. package/fixedasset/avatar/index.d.ts +85 -0
  6. package/fixedasset/avatar/index.js +44 -0
  7. package/fixedasset/avatargroup/index.d.ts +8 -0
  8. package/fixedasset/avatargroup/index.js +9 -0
  9. package/fixedasset/badge/index.d.ts +47 -0
  10. package/fixedasset/badge/index.js +60 -0
  11. package/fixedasset/badgedirective/index.d.ts +50 -0
  12. package/fixedasset/badgedirective/index.js +49 -0
  13. package/fixedasset/badgegroup/index.d.ts +45 -0
  14. package/fixedasset/badgegroup/index.js +29 -0
  15. package/fixedasset/breadcrumb/index.d.ts +25 -0
  16. package/fixedasset/breadcrumb/index.js +31 -0
  17. package/fixedasset/button/index.d.ts +46 -0
  18. package/fixedasset/button/index.js +423 -0
  19. package/fixedasset/buttonbulkaction/index.d.ts +32 -0
  20. package/fixedasset/buttonbulkaction/index.js +35 -0
  21. package/fixedasset/buttondownload/index.d.ts +12 -0
  22. package/fixedasset/buttondownload/index.js +13 -0
  23. package/fixedasset/buttonfilter/index.d.ts +12 -0
  24. package/fixedasset/buttonfilter/index.js +13 -0
  25. package/fixedasset/buttonradio/index.d.ts +58 -0
  26. package/fixedasset/buttonradio/index.js +109 -0
  27. package/fixedasset/buttonsearch/index.d.ts +65 -0
  28. package/fixedasset/buttonsearch/index.js +62 -0
  29. package/fixedasset/calendar/index.d.ts +267 -0
  30. package/fixedasset/calendar/index.js +610 -0
  31. package/fixedasset/card/index.d.ts +31 -0
  32. package/fixedasset/card/index.js +32 -0
  33. package/fixedasset/carousel/index.d.ts +57 -0
  34. package/fixedasset/carousel/index.js +129 -0
  35. package/fixedasset/cascadeselect/index.d.ts +82 -0
  36. package/fixedasset/cascadeselect/index.js +191 -0
  37. package/fixedasset/changelog/index.d.ts +32 -0
  38. package/fixedasset/changelog/index.js +31 -0
  39. package/fixedasset/checkbox/index.d.ts +81 -0
  40. package/fixedasset/checkbox/index.js +107 -0
  41. package/fixedasset/chip/index.d.ts +23 -0
  42. package/fixedasset/chip/index.js +40 -0
  43. package/fixedasset/chips/index.d.ts +38 -0
  44. package/fixedasset/chips/index.js +98 -0
  45. package/fixedasset/colorpicker/index.d.ts +51 -0
  46. package/fixedasset/colorpicker/index.js +118 -0
  47. package/fixedasset/colors.config.json +77 -0
  48. package/fixedasset/confirmpopup/index.d.ts +39 -0
  49. package/fixedasset/confirmpopup/index.js +104 -0
  50. package/fixedasset/contextmenu/index.d.ts +63 -0
  51. package/fixedasset/contextmenu/index.js +113 -0
  52. package/fixedasset/datatable/index.d.ts +286 -0
  53. package/fixedasset/datatable/index.js +253 -0
  54. package/fixedasset/dataview/index.d.ts +15 -0
  55. package/fixedasset/dataview/index.js +36 -0
  56. package/fixedasset/dataviewlayoutoptions/index.d.ts +13 -0
  57. package/fixedasset/dataviewlayoutoptions/index.js +58 -0
  58. package/fixedasset/dialog/index.d.ts +87 -0
  59. package/fixedasset/dialog/index.js +220 -0
  60. package/fixedasset/dialogconfirm/index.d.ts +42 -0
  61. package/fixedasset/dialogconfirm/index.js +45 -0
  62. package/fixedasset/dialogform/index.d.ts +71 -0
  63. package/fixedasset/dialogform/index.js +68 -0
  64. package/fixedasset/divider/index.d.ts +192 -0
  65. package/fixedasset/divider/index.js +64 -0
  66. package/fixedasset/dock/index.d.ts +51 -0
  67. package/fixedasset/dock/index.js +92 -0
  68. package/fixedasset/dropdown/index.d.ts +136 -0
  69. package/fixedasset/dropdown/index.js +207 -0
  70. package/fixedasset/fieldset/index.d.ts +94 -0
  71. package/fixedasset/fieldset/index.js +87 -0
  72. package/fixedasset/fileupload/index.d.ts +29 -0
  73. package/fixedasset/fileupload/index.js +31 -0
  74. package/fixedasset/form/index.d.ts +40 -0
  75. package/fixedasset/form/index.js +44 -0
  76. package/fixedasset/global.d.ts +8 -0
  77. package/fixedasset/global.js +14 -0
  78. package/fixedasset/image/index.d.ts +88 -0
  79. package/fixedasset/image/index.js +136 -0
  80. package/fixedasset/index.d.ts +190 -0
  81. package/fixedasset/index.js +201 -0
  82. package/fixedasset/index.system.js +76 -0
  83. package/fixedasset/inlinemessage/index.d.ts +20 -0
  84. package/fixedasset/inlinemessage/index.js +30 -0
  85. package/fixedasset/inputbadge/index.d.ts +57 -0
  86. package/fixedasset/inputbadge/index.js +57 -0
  87. package/fixedasset/inputcurrency/index.d.ts +27 -0
  88. package/fixedasset/inputcurrency/index.js +22 -0
  89. package/fixedasset/inputgroup/index.d.ts +9 -0
  90. package/fixedasset/inputgroup/index.js +37 -0
  91. package/fixedasset/inputgroupaddon/index.d.ts +17 -0
  92. package/fixedasset/inputgroupaddon/index.js +34 -0
  93. package/fixedasset/inputmask/index.d.ts +11 -0
  94. package/fixedasset/inputmask/index.js +29 -0
  95. package/fixedasset/inputnumber/index.d.ts +46 -0
  96. package/fixedasset/inputnumber/index.js +58 -0
  97. package/fixedasset/inputotp/index.d.ts +137 -0
  98. package/fixedasset/inputotp/index.js +63 -0
  99. package/fixedasset/inputphonenumber/index.d.ts +37 -0
  100. package/fixedasset/inputphonenumber/index.js +34 -0
  101. package/fixedasset/inputswitch/index.d.ts +67 -0
  102. package/fixedasset/inputswitch/index.js +100 -0
  103. package/fixedasset/inputtext/index.d.ts +18 -0
  104. package/fixedasset/inputtext/index.js +28 -0
  105. package/fixedasset/knob/index.d.ts +22 -0
  106. package/fixedasset/knob/index.js +45 -0
  107. package/fixedasset/listbox/index.d.ts +79 -0
  108. package/fixedasset/listbox/index.js +138 -0
  109. package/fixedasset/megamenu/index.d.ts +105 -0
  110. package/fixedasset/megamenu/index.js +202 -0
  111. package/fixedasset/menu/index.d.ts +49 -0
  112. package/fixedasset/menu/index.js +110 -0
  113. package/fixedasset/menubar/index.d.ts +85 -0
  114. package/fixedasset/menubar/index.js +172 -0
  115. package/fixedasset/message/index.d.ts +41 -0
  116. package/fixedasset/message/index.js +85 -0
  117. package/fixedasset/multiselect/index.d.ts +243 -0
  118. package/fixedasset/multiselect/index.js +328 -0
  119. package/fixedasset/orderlist/index.d.ts +99 -0
  120. package/fixedasset/orderlist/index.js +245 -0
  121. package/fixedasset/organizationchart/index.d.ts +71 -0
  122. package/fixedasset/organizationchart/index.js +129 -0
  123. package/fixedasset/overlaypanel/index.d.ts +17 -0
  124. package/fixedasset/overlaypanel/index.js +34 -0
  125. package/fixedasset/paginator/index.d.ts +210 -0
  126. package/fixedasset/paginator/index.js +474 -0
  127. package/fixedasset/panel/index.d.ts +43 -0
  128. package/fixedasset/panel/index.js +85 -0
  129. package/fixedasset/panelmenu/index.d.ts +76 -0
  130. package/fixedasset/panelmenu/index.js +124 -0
  131. package/fixedasset/password/index.d.ts +45 -0
  132. package/fixedasset/password/index.js +96 -0
  133. package/fixedasset/picklist/index.d.ts +245 -0
  134. package/fixedasset/picklist/index.js +613 -0
  135. package/fixedasset/progressbar/index.d.ts +117 -0
  136. package/fixedasset/progressbar/index.js +102 -0
  137. package/fixedasset/rating/index.d.ts +47 -0
  138. package/fixedasset/rating/index.js +88 -0
  139. package/fixedasset/ripple/index.d.ts +8 -0
  140. package/fixedasset/ripple/index.js +8 -0
  141. package/fixedasset/scrollpanel/index.d.ts +19 -0
  142. package/fixedasset/scrollpanel/index.js +62 -0
  143. package/fixedasset/scrolltop/index.d.ts +50 -0
  144. package/fixedasset/scrolltop/index.js +42 -0
  145. package/fixedasset/selectbutton/index.d.ts +35 -0
  146. package/fixedasset/selectbutton/index.js +60 -0
  147. package/fixedasset/sidebar/index.d.ts +66 -0
  148. package/fixedasset/sidebar/index.js +145 -0
  149. package/fixedasset/skeleton/index.d.ts +16 -0
  150. package/fixedasset/skeleton/index.js +22 -0
  151. package/fixedasset/slider/index.d.ts +55 -0
  152. package/fixedasset/slider/index.js +126 -0
  153. package/fixedasset/splitbutton/index.d.ts +6690 -0
  154. package/fixedasset/splitbutton/index.js +786 -0
  155. package/fixedasset/steps/index.d.ts +108 -0
  156. package/fixedasset/steps/index.js +119 -0
  157. package/fixedasset/style.css +5888 -0
  158. package/fixedasset/tabmenu/index.d.ts +57 -0
  159. package/fixedasset/tabmenu/index.js +75 -0
  160. package/fixedasset/tabview/index.d.ts +67 -0
  161. package/fixedasset/tabview/index.js +148 -0
  162. package/fixedasset/tag/index.d.ts +32 -0
  163. package/fixedasset/tag/index.js +37 -0
  164. package/fixedasset/terminal/index.d.ts +27 -0
  165. package/fixedasset/terminal/index.js +55 -0
  166. package/fixedasset/textarea/index.d.ts +12 -0
  167. package/fixedasset/textarea/index.js +51 -0
  168. package/fixedasset/tieredmenu/index.d.ts +56 -0
  169. package/fixedasset/tieredmenu/index.js +108 -0
  170. package/fixedasset/timeline/index.d.ts +53 -0
  171. package/fixedasset/timeline/index.js +83 -0
  172. package/fixedasset/toast/index.d.ts +61 -0
  173. package/fixedasset/toast/index.js +95 -0
  174. package/fixedasset/togglebutton/index.d.ts +42 -0
  175. package/fixedasset/togglebutton/index.js +77 -0
  176. package/fixedasset/toolbar/index.d.ts +19 -0
  177. package/fixedasset/toolbar/index.js +29 -0
  178. package/fixedasset/tooltip/index.d.ts +22 -0
  179. package/fixedasset/tooltip/index.js +42 -0
  180. package/fixedasset/tree/index.d.ts +117 -0
  181. package/fixedasset/tree/index.js +256 -0
  182. package/fixedasset/treeselect/index.d.ts +158 -0
  183. package/fixedasset/treeselect/index.js +338 -0
  184. package/fixedasset/tristatecheckbox/index.d.ts +49 -0
  185. package/fixedasset/tristatecheckbox/index.js +106 -0
  186. package/fixedasset/validatormessage/index.d.ts +8 -0
  187. package/fixedasset/validatormessage/index.js +9 -0
  188. package/fixedasset/workcalendar/index.d.ts +27 -0
  189. package/fixedasset/workcalendar/index.js +36 -0
  190. package/index.d.ts +1 -0
  191. package/index.js +3 -1
  192. package/package.json +1 -1
@@ -0,0 +1,57 @@
1
+ declare namespace _default {
2
+ namespace root {
3
+ let _class: string;
4
+ export { _class as class };
5
+ export let style: string;
6
+ }
7
+ namespace menu {
8
+ let _class_1: string[];
9
+ export { _class_1 as class };
10
+ }
11
+ namespace menuitem {
12
+ let _class_2: string;
13
+ export { _class_2 as class };
14
+ }
15
+ function action({ context, state }: {
16
+ context: any;
17
+ state: any;
18
+ }): {
19
+ class: (string | {
20
+ 'bg-transparent ': boolean;
21
+ 'text-grayscale-900': boolean;
22
+ 'border-primary-400': boolean;
23
+ 'border-primary-100': boolean;
24
+ 'text-primary-500': boolean;
25
+ 'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
26
+ 'pointer-events-none'?: undefined;
27
+ 'opacity-60'?: undefined;
28
+ } | {
29
+ 'focus-visible:border-primary-200 focus-visible:text-primary-400': boolean;
30
+ 'bg-transparent '?: undefined;
31
+ 'text-grayscale-900'?: undefined;
32
+ 'border-primary-400'?: undefined;
33
+ 'border-primary-100'?: undefined;
34
+ 'text-primary-500'?: undefined;
35
+ 'pointer-events-none'?: undefined;
36
+ 'opacity-60'?: undefined;
37
+ } | {
38
+ 'pointer-events-none': any;
39
+ 'opacity-60': any;
40
+ 'bg-transparent '?: undefined;
41
+ 'text-grayscale-900'?: undefined;
42
+ 'border-primary-400'?: undefined;
43
+ 'border-primary-100'?: undefined;
44
+ 'text-primary-500'?: undefined;
45
+ 'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
46
+ })[];
47
+ };
48
+ namespace icon {
49
+ let _class_3: string;
50
+ export { _class_3 as class };
51
+ }
52
+ namespace inkbar {
53
+ let _class_4: string;
54
+ export { _class_4 as class };
55
+ }
56
+ }
57
+ export default _default;
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ root: {
5
+ class: 'overflow-x-auto',
6
+ style: 'scrollbar-width: none',
7
+ },
8
+ menu: {
9
+ class: [
10
+ // Flexbox
11
+ 'flex flex-1',
12
+ // Size
13
+ // Spacing
14
+ 'list-none',
15
+ 'p-0 m-0',
16
+ // Colors
17
+ 'text-general-100',
18
+ ],
19
+ },
20
+ menuitem: {
21
+ class: 'mr-0',
22
+ },
23
+ action: function (_a) {
24
+ var _b, _c;
25
+ var context = _a.context, state = _a.state;
26
+ return ({
27
+ class: [
28
+ 'relative',
29
+ // Font
30
+ 'font-normal',
31
+ 'text-xs',
32
+ // Flexbox and Alignment
33
+ 'flex items-center',
34
+ // Spacing
35
+ 'p-2 pb-1.5 pt-0.5 !h-6',
36
+ // Shape
37
+ 'border-b-2',
38
+ // Colors and Conditions
39
+ {
40
+ 'bg-transparent ': state.d_activeIndex !== context.index,
41
+ 'text-grayscale-900': state.d_activeIndex !== context.index,
42
+ 'border-primary-400': state.d_activeIndex === context.index,
43
+ 'border-primary-100': state.d_activeIndex !== context.index,
44
+ 'text-primary-500': state.d_activeIndex === context.index,
45
+ },
46
+ // States
47
+ 'hover:bg-primary-50',
48
+ 'focus-visible:outline-none focus-visible:outline-offset-0',
49
+ 'focus-visible:bg-primary-50',
50
+ {
51
+ 'focus-visible:border-primary-200 focus-visible:text-primary-400': state.d_activeIndex !== context.index,
52
+ },
53
+ // Disabled States
54
+ {
55
+ 'pointer-events-none': (_b = context.item) === null || _b === void 0 ? void 0 : _b.disabled,
56
+ 'opacity-60': (_c = context.item) === null || _c === void 0 ? void 0 : _c.disabled,
57
+ },
58
+ // Transitions
59
+ 'transition-all duration-200',
60
+ // Misc
61
+ 'cursor-pointer select-none text-decoration-none',
62
+ 'overflow-hidden',
63
+ 'user-select-none',
64
+ '!no-underline',
65
+ 'whitespace-nowrap',
66
+ ],
67
+ });
68
+ },
69
+ icon: {
70
+ class: 'mr-2',
71
+ },
72
+ inkbar: {
73
+ class: 'grow border-b-2 border-primary-100',
74
+ },
75
+ };
@@ -0,0 +1,67 @@
1
+ declare namespace _default {
2
+ function navContainer({ props }: {
3
+ props: any;
4
+ }): {
5
+ class: (string | {
6
+ 'overflow-hidden': any;
7
+ })[];
8
+ };
9
+ namespace navContent {
10
+ let _class: string[];
11
+ export { _class as class };
12
+ }
13
+ namespace previousButton {
14
+ let _class_1: string[];
15
+ export { _class_1 as class };
16
+ }
17
+ namespace nextButton {
18
+ let _class_2: string[];
19
+ export { _class_2 as class };
20
+ }
21
+ namespace nav {
22
+ let _class_3: string[];
23
+ export { _class_3 as class };
24
+ }
25
+ namespace tabpanel {
26
+ function header({ props }: {
27
+ props: any;
28
+ }): {
29
+ class: (string | {
30
+ 'opacity-60 cursor-default user-select-none select-none pointer-events-none': any;
31
+ })[];
32
+ };
33
+ function headerAction({ parent, context }: {
34
+ parent: any;
35
+ context: any;
36
+ }): {
37
+ class: (string | {
38
+ 'border-surface-200': boolean;
39
+ 'bg-surface-0': boolean;
40
+ 'text-surface-700/80': boolean;
41
+ 'border-primary-500': boolean;
42
+ 'text-primary-500': boolean;
43
+ 'hover:bg-surface-0'?: undefined;
44
+ 'hover:border-surface-400'?: undefined;
45
+ 'hover:text-surface-900'?: undefined;
46
+ } | {
47
+ 'hover:bg-surface-0': boolean;
48
+ 'hover:border-surface-400': boolean;
49
+ 'hover:text-surface-900': boolean;
50
+ 'border-surface-200'?: undefined;
51
+ 'bg-surface-0'?: undefined;
52
+ 'text-surface-700/80'?: undefined;
53
+ 'border-primary-500'?: undefined;
54
+ 'text-primary-500'?: undefined;
55
+ })[];
56
+ };
57
+ namespace headerTitle {
58
+ let _class_4: string[];
59
+ export { _class_4 as class };
60
+ }
61
+ namespace content {
62
+ let _class_5: string[];
63
+ export { _class_5 as class };
64
+ }
65
+ }
66
+ }
67
+ export default _default;
@@ -0,0 +1,148 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ navContainer: function (_a) {
5
+ var props = _a.props;
6
+ return ({
7
+ class: [
8
+ // Position
9
+ 'relative',
10
+ // Misc
11
+ { 'overflow-hidden': props.scrollable },
12
+ ],
13
+ });
14
+ },
15
+ navContent: {
16
+ class: [
17
+ // Overflow and Scrolling
18
+ 'overflow-y-hidden overscroll-contain',
19
+ 'overscroll-auto',
20
+ 'scroll-smooth',
21
+ '[&::-webkit-scrollbar]:hidden',
22
+ ],
23
+ },
24
+ previousButton: {
25
+ class: [
26
+ // Flexbox and Alignment
27
+ 'flex items-center justify-center',
28
+ // Position
29
+ '!absolute',
30
+ 'top-0 left-0',
31
+ 'z-20',
32
+ // Size and Shape
33
+ 'h-full w-12',
34
+ 'rounded-none',
35
+ // Colors
36
+ 'bg-surface-0',
37
+ 'text-primary-500',
38
+ 'shadow-md',
39
+ ],
40
+ },
41
+ nextButton: {
42
+ class: [
43
+ // Flexbox and Alignment
44
+ 'flex items-center justify-center',
45
+ // Position
46
+ '!absolute',
47
+ 'top-0 right-0',
48
+ 'z-20',
49
+ // Size and Shape
50
+ 'h-full w-12',
51
+ 'rounded-none',
52
+ // Colors
53
+ 'bg-surface-0',
54
+ 'text-primary-500',
55
+ 'shadow-md',
56
+ ],
57
+ },
58
+ nav: {
59
+ class: [
60
+ // Flexbox
61
+ 'flex flex-1',
62
+ // Spacing
63
+ 'list-none',
64
+ 'p-0 m-0',
65
+ // Colors
66
+ 'bg-surface-0',
67
+ 'border-b border-surface-200',
68
+ 'text-surface-900/80',
69
+ ],
70
+ },
71
+ tabpanel: {
72
+ header: function (_a) {
73
+ var props = _a.props;
74
+ return ({
75
+ class: [
76
+ // Spacing
77
+ 'mr-0',
78
+ // Misc
79
+ {
80
+ 'opacity-60 cursor-default user-select-none select-none pointer-events-none': props === null || props === void 0 ? void 0 : props.disabled,
81
+ },
82
+ ],
83
+ });
84
+ },
85
+ headerAction: function (_a) {
86
+ var parent = _a.parent, context = _a.context;
87
+ return ({
88
+ class: [
89
+ 'relative',
90
+ // Font
91
+ 'font-medium',
92
+ 'text-md',
93
+ // Flexbox and Alignment
94
+ 'flex items-center',
95
+ // Spacing
96
+ 'py-4 px-3',
97
+ '-mb-[1px]',
98
+ // Shape
99
+ 'border-b-2',
100
+ 'rounded-t-md',
101
+ // Colors and Conditions
102
+ {
103
+ 'border-surface-200': parent.state.d_activeIndex !== context.index,
104
+ 'bg-surface-0': parent.state.d_activeIndex !== context.index,
105
+ 'text-surface-700/80': parent.state.d_activeIndex !== context.index,
106
+ 'bg-surface-0': parent.state.d_activeIndex === context.index,
107
+ 'border-primary-500': parent.state.d_activeIndex === context.index,
108
+ 'text-primary-500': parent.state.d_activeIndex === context.index,
109
+ },
110
+ // States
111
+ 'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-inset',
112
+ 'focus-visible:ring-primary-500',
113
+ {
114
+ 'hover:bg-surface-0': parent.state.d_activeIndex !== context.index,
115
+ 'hover:border-surface-400': parent.state.d_activeIndex !== context.index,
116
+ 'hover:text-surface-900': parent.state.d_activeIndex !== context.index,
117
+ },
118
+ // Transitions
119
+ 'transition-all duration-200',
120
+ // Misc
121
+ 'cursor-pointer select-none text-decoration-none',
122
+ 'overflow-hidden',
123
+ 'user-select-none',
124
+ 'whitespace-nowrap',
125
+ ],
126
+ });
127
+ },
128
+ headerTitle: {
129
+ class: [
130
+ // Text
131
+ 'leading-none',
132
+ 'whitespace-nowrap',
133
+ ],
134
+ },
135
+ content: {
136
+ class: [
137
+ // Spacing
138
+ 'p-6',
139
+ // Shape
140
+ 'rounded-b-md',
141
+ // Colors
142
+ 'bg-surface-0',
143
+ 'text-surface-700/80',
144
+ 'border-0',
145
+ ],
146
+ },
147
+ },
148
+ };
@@ -0,0 +1,32 @@
1
+ declare namespace _default {
2
+ function root({ props }: {
3
+ props: any;
4
+ }): {
5
+ class: (string | {
6
+ 'rounded-md': boolean;
7
+ 'rounded-full': any;
8
+ 'bg-primary-500'?: undefined;
9
+ 'bg-green-500'?: undefined;
10
+ 'bg-blue-500'?: undefined;
11
+ 'bg-orange-500'?: undefined;
12
+ 'bg-red-500'?: undefined;
13
+ } | {
14
+ 'bg-primary-500': boolean;
15
+ 'bg-green-500': boolean;
16
+ 'bg-blue-500': boolean;
17
+ 'bg-orange-500': boolean;
18
+ 'bg-red-500': boolean;
19
+ 'rounded-md'?: undefined;
20
+ 'rounded-full'?: undefined;
21
+ })[];
22
+ };
23
+ namespace value {
24
+ let _class: string;
25
+ export { _class as class };
26
+ }
27
+ namespace icon {
28
+ let _class_1: string;
29
+ export { _class_1 as class };
30
+ }
31
+ }
32
+ export default _default;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ root: function (_a) {
5
+ var props = _a.props;
6
+ return ({
7
+ class: [
8
+ //Font
9
+ 'text-xs font-bold',
10
+ //Alignments
11
+ 'inline-flex items-center justify-center',
12
+ //Spacing
13
+ 'px-2 py-1',
14
+ //Shape
15
+ {
16
+ 'rounded-md': !props.rounded,
17
+ 'rounded-full': props.rounded,
18
+ },
19
+ //Colors
20
+ 'text-white',
21
+ {
22
+ 'bg-primary-500': props.severity == null || props.severity == 'primary',
23
+ 'bg-green-500': props.severity == 'success',
24
+ 'bg-blue-500': props.severity == 'info',
25
+ 'bg-orange-500': props.severity == 'warning',
26
+ 'bg-red-500': props.severity == 'danger',
27
+ },
28
+ ],
29
+ });
30
+ },
31
+ value: {
32
+ class: 'leading-normal',
33
+ },
34
+ icon: {
35
+ class: 'mr-1 text-sm',
36
+ },
37
+ };
@@ -0,0 +1,27 @@
1
+ declare namespace _default {
2
+ namespace root {
3
+ let _class: string[];
4
+ export { _class as class };
5
+ }
6
+ namespace container {
7
+ let _class_1: string[];
8
+ export { _class_1 as class };
9
+ }
10
+ namespace prompt {
11
+ let _class_2: string[];
12
+ export { _class_2 as class };
13
+ }
14
+ namespace response {
15
+ let _class_3: string[];
16
+ export { _class_3 as class };
17
+ }
18
+ namespace command {
19
+ let _class_4: string[];
20
+ export { _class_4 as class };
21
+ }
22
+ namespace commandtext {
23
+ let _class_5: string[];
24
+ export { _class_5 as class };
25
+ }
26
+ }
27
+ export default _default;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ root: {
5
+ class: [
6
+ // Spacing
7
+ 'p-5',
8
+ // Shape
9
+ 'rounded-md',
10
+ // Color
11
+ 'bg-surface-900 text-white',
12
+ 'border border-surface-700',
13
+ // Sizing & Overflow
14
+ 'h-72 overflow-auto',
15
+ ],
16
+ },
17
+ container: {
18
+ class: [
19
+ // Flexbox
20
+ 'flex items-center',
21
+ ],
22
+ },
23
+ prompt: {
24
+ class: [
25
+ // Color
26
+ 'text-surface-400',
27
+ ],
28
+ },
29
+ response: {
30
+ class: [
31
+ // Color
32
+ 'text-primary-400',
33
+ ],
34
+ },
35
+ command: {
36
+ class: [
37
+ // Color
38
+ 'text-primary-400',
39
+ ],
40
+ },
41
+ commandtext: {
42
+ class: [
43
+ // Flexbox
44
+ 'flex-1 shrink grow-0',
45
+ // Shape
46
+ 'border-0',
47
+ // Spacing
48
+ 'p-0',
49
+ // Color
50
+ 'bg-transparent text-inherit',
51
+ // Outline
52
+ 'outline-none',
53
+ ],
54
+ },
55
+ };
@@ -0,0 +1,12 @@
1
+ declare namespace _default {
2
+ function root({ context, props }: {
3
+ context: any;
4
+ props: any;
5
+ }): {
6
+ class: any[];
7
+ style: string;
8
+ 'data-wv-name': string;
9
+ 'data-wv-section': string;
10
+ };
11
+ }
12
+ export default _default;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
3
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
4
+ if (ar || !(i in from)) {
5
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
6
+ ar[i] = from[i];
7
+ }
8
+ }
9
+ return to.concat(ar || Array.prototype.slice.call(from));
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ var global_js_1 = require("../global.js");
13
+ exports.default = {
14
+ root: function (_a) {
15
+ var context = _a.context, props = _a.props;
16
+ return ({
17
+ 'class': __spreadArray(__spreadArray([
18
+ // Font
19
+ 'font-normal placeholder:text-general-200 placeholder:!font-normal text-xs',
20
+ 'w-full',
21
+ {
22
+ 'resize-none': props.autoResize,
23
+ 'resize': !props.autoResize,
24
+ },
25
+ props.inputClass,
26
+ // Spacing
27
+ 'm-0',
28
+ 'py-1 px-3',
29
+ // Shape
30
+ 'rounded',
31
+ 'appearance-none'
32
+ ], global_js_1.ringClass, true), [
33
+ {
34
+ '!ring-danger-500': context.invalidInput,
35
+ },
36
+ // // States
37
+ {
38
+ 'bg-transparent text-general-800': !context.disabled,
39
+ 'bg-general-50 text-general-200': context.disabled,
40
+ },
41
+ 'focus-visible:outline-none',
42
+ // Misc
43
+ 'appearance-none',
44
+ 'transition-colors duration-200',
45
+ ], false),
46
+ 'style': "min-height: ".concat(props.rows * 26, "px"),
47
+ 'data-wv-name': 'textarea',
48
+ 'data-wv-section': 'root',
49
+ });
50
+ },
51
+ };
@@ -0,0 +1,56 @@
1
+ declare namespace _default {
2
+ namespace root {
3
+ let _class: string[];
4
+ export { _class as class };
5
+ }
6
+ namespace menu {
7
+ let _class_1: string[];
8
+ export { _class_1 as class };
9
+ }
10
+ namespace menuitem {
11
+ let _class_2: string[];
12
+ export { _class_2 as class };
13
+ }
14
+ function content({ context }: {
15
+ context: any;
16
+ }): {
17
+ class: (string | {
18
+ 'text-surface-500/70': boolean;
19
+ 'text-surface-500/70 bg-surface-200': boolean;
20
+ 'text-surface-900/80 bg-surface-50': any;
21
+ 'hover:bg-surface-50'?: undefined;
22
+ 'hover:bg-surface-100 text-surface-900/80'?: undefined;
23
+ } | {
24
+ 'hover:bg-surface-50': boolean;
25
+ 'hover:bg-surface-100 text-surface-900/80': any;
26
+ 'text-surface-500/70'?: undefined;
27
+ 'text-surface-500/70 bg-surface-200'?: undefined;
28
+ 'text-surface-900/80 bg-surface-50'?: undefined;
29
+ })[];
30
+ };
31
+ namespace action {
32
+ let _class_3: string[];
33
+ export { _class_3 as class };
34
+ }
35
+ namespace icon {
36
+ let _class_4: string[];
37
+ export { _class_4 as class };
38
+ }
39
+ namespace label {
40
+ let _class_5: string[];
41
+ export { _class_5 as class };
42
+ }
43
+ namespace submenuicon {
44
+ let _class_6: string[];
45
+ export { _class_6 as class };
46
+ }
47
+ namespace submenu {
48
+ let _class_7: string[];
49
+ export { _class_7 as class };
50
+ }
51
+ namespace separator {
52
+ let _class_8: string;
53
+ export { _class_8 as class };
54
+ }
55
+ }
56
+ export default _default;