@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,210 @@
1
+ declare namespace _default {
2
+ namespace root {
3
+ let _class: string[];
4
+ export { _class as class };
5
+ }
6
+ namespace paginatorwrapper {
7
+ let _class_1: string;
8
+ export { _class_1 as class };
9
+ }
10
+ namespace pages {
11
+ let _class_2: string;
12
+ export { _class_2 as class };
13
+ }
14
+ function firstpagebutton({ context }: {
15
+ context: any;
16
+ }): {
17
+ class: (string | {
18
+ 'cursor-default pointer-events-none opacity-60': any;
19
+ })[];
20
+ };
21
+ function previouspagebutton({ context }: {
22
+ context: any;
23
+ }): {
24
+ class: (string | {
25
+ 'cursor-default pointer-events-none opacity-60': any;
26
+ })[];
27
+ };
28
+ function nextpagebutton({ context }: {
29
+ context: any;
30
+ }): {
31
+ class: (string | {
32
+ 'cursor-default pointer-events-none opacity-60': any;
33
+ })[];
34
+ };
35
+ function lastpagebutton({ context }: {
36
+ context: any;
37
+ }): {
38
+ class: (string | {
39
+ 'cursor-default pointer-events-none opacity-60': any;
40
+ })[];
41
+ };
42
+ function pagebutton({ context }: {
43
+ context: any;
44
+ }): {
45
+ class: (string | {
46
+ 'text-general-300 border-none hover:bg-grayscale-50': boolean;
47
+ 'text-white bg-grayscale-900': any;
48
+ 'hover:border-surface-300'?: undefined;
49
+ 'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-500'?: undefined;
50
+ 'cursor-default pointer-events-none opacity-60'?: undefined;
51
+ } | {
52
+ 'hover:border-surface-300': boolean;
53
+ 'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-500': boolean;
54
+ 'text-general-300 border-none hover:bg-grayscale-50'?: undefined;
55
+ 'text-white bg-grayscale-900'?: undefined;
56
+ 'cursor-default pointer-events-none opacity-60'?: undefined;
57
+ } | {
58
+ 'cursor-default pointer-events-none opacity-60': any;
59
+ 'text-general-300 border-none hover:bg-grayscale-50'?: undefined;
60
+ 'text-white bg-grayscale-900'?: undefined;
61
+ 'hover:border-surface-300'?: undefined;
62
+ 'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-500'?: undefined;
63
+ })[];
64
+ };
65
+ namespace rowperpagedropdown {
66
+ export function root_1({ props, state }: {
67
+ props: any;
68
+ state: any;
69
+ }): {
70
+ class: (string | {
71
+ 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600': boolean;
72
+ 'opacity-60'?: undefined;
73
+ 'pointer-events-none'?: undefined;
74
+ 'cursor-default'?: undefined;
75
+ } | {
76
+ 'opacity-60': any;
77
+ 'pointer-events-none': any;
78
+ 'cursor-default': any;
79
+ 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600'?: undefined;
80
+ })[];
81
+ };
82
+ export { root_1 as root };
83
+ export namespace input {
84
+ let _class_3: string[];
85
+ export { _class_3 as class };
86
+ }
87
+ export namespace trigger {
88
+ let _class_4: string[];
89
+ export { _class_4 as class };
90
+ }
91
+ export namespace dropdownicon {
92
+ let _class_5: string;
93
+ export { _class_5 as class };
94
+ }
95
+ export namespace panel {
96
+ let _class_6: string[];
97
+ export { _class_6 as class };
98
+ }
99
+ export namespace wrapper {
100
+ let _class_7: string[];
101
+ export { _class_7 as class };
102
+ }
103
+ export namespace list {
104
+ let _class_8: string;
105
+ export { _class_8 as class };
106
+ }
107
+ export function item({ context }: {
108
+ context: any;
109
+ }): {
110
+ class: (string | {
111
+ 'font-normal': boolean;
112
+ 'font-bold': any;
113
+ })[];
114
+ };
115
+ }
116
+ namespace jumptopageinput {
117
+ export namespace root_2 {
118
+ let _class_9: string;
119
+ export { _class_9 as class };
120
+ }
121
+ export { root_2 as root };
122
+ export namespace input_1 {
123
+ export namespace root_3 {
124
+ let _class_10: string[];
125
+ export { _class_10 as class };
126
+ }
127
+ export { root_3 as root };
128
+ }
129
+ export { input_1 as input };
130
+ }
131
+ namespace jumptopagedropdown {
132
+ export function root_4({ props, state }: {
133
+ props: any;
134
+ state: any;
135
+ }): {
136
+ class: (string | {
137
+ 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600': boolean;
138
+ 'opacity-60'?: undefined;
139
+ 'pointer-events-none'?: undefined;
140
+ 'cursor-default'?: undefined;
141
+ } | {
142
+ 'opacity-60': any;
143
+ 'pointer-events-none': any;
144
+ 'cursor-default': any;
145
+ 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600'?: undefined;
146
+ })[];
147
+ };
148
+ export { root_4 as root };
149
+ export namespace input_2 {
150
+ let _class_11: string[];
151
+ export { _class_11 as class };
152
+ }
153
+ export { input_2 as input };
154
+ export namespace trigger_1 {
155
+ let _class_12: string[];
156
+ export { _class_12 as class };
157
+ }
158
+ export { trigger_1 as trigger };
159
+ export namespace panel_1 {
160
+ let _class_13: string[];
161
+ export { _class_13 as class };
162
+ }
163
+ export { panel_1 as panel };
164
+ export namespace wrapper_1 {
165
+ let _class_14: string[];
166
+ export { _class_14 as class };
167
+ }
168
+ export { wrapper_1 as wrapper };
169
+ export namespace list_1 {
170
+ let _class_15: string;
171
+ export { _class_15 as class };
172
+ }
173
+ export { list_1 as list };
174
+ export function item_1({ context }: {
175
+ context: any;
176
+ }): {
177
+ class: (string | {
178
+ 'font-normal': boolean;
179
+ 'font-bold': any;
180
+ 'text-surface-700/80'?: undefined;
181
+ 'bg-primary-500 text-white'?: undefined;
182
+ 'bg-transparent text-surface-700/80'?: undefined;
183
+ } | {
184
+ 'text-surface-700/80': boolean;
185
+ 'font-normal'?: undefined;
186
+ 'font-bold'?: undefined;
187
+ 'bg-primary-500 text-white'?: undefined;
188
+ 'bg-transparent text-surface-700/80'?: undefined;
189
+ } | {
190
+ 'bg-primary-500 text-white': any;
191
+ 'font-normal'?: undefined;
192
+ 'font-bold'?: undefined;
193
+ 'text-surface-700/80'?: undefined;
194
+ 'bg-transparent text-surface-700/80'?: undefined;
195
+ } | {
196
+ 'bg-transparent text-surface-700/80': any;
197
+ 'font-normal'?: undefined;
198
+ 'font-bold'?: undefined;
199
+ 'text-surface-700/80'?: undefined;
200
+ 'bg-primary-500 text-white'?: undefined;
201
+ })[];
202
+ };
203
+ export { item_1 as item };
204
+ }
205
+ namespace current {
206
+ let _class_16: string[];
207
+ export { _class_16 as class };
208
+ }
209
+ }
210
+ export default _default;
@@ -0,0 +1,474 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ root: {
5
+ class: [
6
+ // Flex & Alignment
7
+ 'flex items-center justify-start flex-wrap gap-0.5',
8
+ 'bg-white',
9
+ 'text-grayscale-900',
10
+ ],
11
+ },
12
+ paginatorwrapper: {
13
+ class: 'mt-[11px]',
14
+ },
15
+ pages: {
16
+ class: 'flex gap-0.5',
17
+ },
18
+ firstpagebutton: function (_a) {
19
+ var context = _a.context;
20
+ return ({
21
+ class: [
22
+ 'relative',
23
+ // Font
24
+ 'text-2xl font-medium',
25
+ // Flex & Alignment
26
+ 'inline-flex items-center justify-center',
27
+ // Shape
28
+ 'border-t-2 border-transparent',
29
+ // Size
30
+ 'w-6 h-6',
31
+ // Color
32
+ 'text-general-300',
33
+ // Transition
34
+ 'transition duration-200',
35
+ // Misc
36
+ 'user-none overflow-hidden',
37
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
38
+ ],
39
+ });
40
+ },
41
+ previouspagebutton: function (_a) {
42
+ var context = _a.context;
43
+ return ({
44
+ class: [
45
+ 'relative',
46
+ // Font
47
+ 'text-2xl font-medium',
48
+ // Flex & Alignment
49
+ 'inline-flex items-center justify-center',
50
+ // Shape
51
+ 'border-t-2 border-transparent',
52
+ // Size
53
+ 'w-6 h-6',
54
+ // Color
55
+ 'text-general-300',
56
+ // Transition
57
+ 'transition duration-200',
58
+ // Misc
59
+ 'user-none overflow-hidden',
60
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
61
+ ],
62
+ });
63
+ },
64
+ nextpagebutton: function (_a) {
65
+ var context = _a.context;
66
+ return ({
67
+ class: [
68
+ 'relative',
69
+ // Font
70
+ 'text-2xl font-medium',
71
+ // Flex & Alignment
72
+ 'inline-flex items-center justify-center',
73
+ // Shape
74
+ 'border-t-2 border-transparent',
75
+ // Size
76
+ 'w-6 h-6',
77
+ // Color
78
+ 'text-general-300',
79
+ // Transition
80
+ 'transition duration-200',
81
+ // Misc
82
+ 'user-none overflow-hidden',
83
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
84
+ ],
85
+ });
86
+ },
87
+ lastpagebutton: function (_a) {
88
+ var context = _a.context;
89
+ return ({
90
+ class: [
91
+ 'relative',
92
+ // Font
93
+ 'text-2xl font-medium',
94
+ // Flex & Alignment
95
+ 'inline-flex items-center justify-center',
96
+ // Shape
97
+ 'border-t-2 border-transparent',
98
+ // Size
99
+ 'w-6 h-6',
100
+ // Color
101
+ 'text-general-300',
102
+ // Transition
103
+ 'transition duration-200',
104
+ // Misc
105
+ 'user-none overflow-hidden',
106
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
107
+ ],
108
+ });
109
+ },
110
+ pagebutton: function (_a) {
111
+ var context = _a.context;
112
+ return ({
113
+ class: [
114
+ 'relative',
115
+ // Font
116
+ 'text-xs font-normal',
117
+ // Shape
118
+ 'rounded-full',
119
+ // Size
120
+ 'w-6 h-6',
121
+ // Color
122
+ {
123
+ 'text-general-300 border-none hover:bg-grayscale-50': !context.active,
124
+ 'text-white bg-grayscale-900': context.active,
125
+ },
126
+ // State
127
+ {
128
+ 'hover:border-surface-300': !context.disabled && !context.active,
129
+ 'focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-500': !context.disabled,
130
+ },
131
+ // Transition
132
+ 'transition duration-200',
133
+ // Misc
134
+ 'user-none overflow-hidden',
135
+ { 'cursor-default pointer-events-none opacity-60': context.disabled },
136
+ ],
137
+ });
138
+ },
139
+ rowperpagedropdown: {
140
+ root: function (_a) {
141
+ var props = _a.props, state = _a.state;
142
+ return ({
143
+ class: [
144
+ // Display and Position
145
+ 'inline-flex items-center justify-center',
146
+ 'relative',
147
+ // Size
148
+ 'w-max',
149
+ 'px-3 py-1',
150
+ // Shape
151
+ 'rounded-[50px]',
152
+ // Color and Background
153
+ 'bg-transparent',
154
+ 'border-[0.5px] border-primary-100',
155
+ // Transitions
156
+ 'transition-all',
157
+ 'duration-200',
158
+ // States
159
+ {
160
+ 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600': !state.focused,
161
+ },
162
+ // Misc
163
+ 'cursor-pointer',
164
+ 'select-none',
165
+ {
166
+ 'opacity-60': props.disabled,
167
+ 'pointer-events-none': props.disabled,
168
+ 'cursor-default': props.disabled,
169
+ },
170
+ ],
171
+ });
172
+ },
173
+ input: {
174
+ class: [
175
+ //Font
176
+ 'text-xs',
177
+ // Display
178
+ // 'block',
179
+ // 'flex-auto',
180
+ 'flex items-center',
181
+ // Color and Background
182
+ 'bg-transparent',
183
+ 'text-general-800',
184
+ // Sizing and Spacing
185
+ 'w-max',
186
+ // 'py-1.5 px-3 pr-0',
187
+ //Shape
188
+ 'rounded-none',
189
+ // Transitions
190
+ 'transition',
191
+ 'duration-200',
192
+ // States
193
+ 'focus-visible:outline-none focus-visible:shadow-none',
194
+ // Misc
195
+ // 'relative',
196
+ 'cursor-pointer',
197
+ 'overflow-hidden overflow-ellipsis',
198
+ 'whitespace-nowrap',
199
+ 'appearance-none',
200
+ ],
201
+ },
202
+ trigger: {
203
+ class: [
204
+ //Font
205
+ 'text-xs',
206
+ // Flexbox
207
+ 'flex items-center justify-center',
208
+ 'shrink-0',
209
+ // Size
210
+ 'w-2',
211
+ 'h-2',
212
+ 'ml-0.5',
213
+ // Shape
214
+ 'rounded-tr-md',
215
+ 'rounded-br-md',
216
+ ],
217
+ },
218
+ dropdownicon: {
219
+ class: 'w-2 h-2',
220
+ },
221
+ panel: {
222
+ class: [
223
+ // Position
224
+ 'absolute top-0 left-0',
225
+ 'mt-1',
226
+ // Shape
227
+ 'border-0',
228
+ 'rounded-md',
229
+ // 'shadow-md',
230
+ // Color
231
+ 'bg-white',
232
+ 'text-general-800',
233
+ 'ring-1 ring-inset ring-primary-100',
234
+ ],
235
+ },
236
+ wrapper: {
237
+ class: [
238
+ // Sizing
239
+ 'max-h-[15rem]',
240
+ // Misc
241
+ 'overflow-auto',
242
+ ],
243
+ },
244
+ list: {
245
+ class: 'py-0.5 list-none m-0',
246
+ },
247
+ item: function (_a) {
248
+ var context = _a.context;
249
+ return ({
250
+ class: [
251
+ // Font
252
+ 'text-xs',
253
+ 'leading-none',
254
+ { 'font-normal': !context.selected, 'font-bold': context.selected },
255
+ // Position
256
+ 'relative',
257
+ // Shape
258
+ 'border-0',
259
+ 'rounded-none',
260
+ // Spacing
261
+ 'm-0',
262
+ 'py-2 px-4',
263
+ // Color
264
+ // {
265
+ // 'text-surface-700/80':
266
+ // !context.focused && !context.selected,
267
+ // },
268
+ // {
269
+ // 'bg-white text-general-800':
270
+ // context.focused && context.selected,
271
+ // },
272
+ // {
273
+ // 'bg-transparent text-general-800':
274
+ // !context.focused && context.selected,
275
+ // },
276
+ //States
277
+ 'hover:bg-primary-50',
278
+ // Misc
279
+ 'cursor-pointer',
280
+ 'overflow-hidden',
281
+ 'whitespace-nowrap',
282
+ ],
283
+ });
284
+ },
285
+ },
286
+ jumptopageinput: {
287
+ root: {
288
+ class: 'inline-flex mx-2',
289
+ },
290
+ input: {
291
+ root: {
292
+ class: [
293
+ 'relative',
294
+ //Font
295
+ 'leading-6',
296
+ 'text-xs',
297
+ 'text-center',
298
+ // Display
299
+ 'block',
300
+ 'flex-auto',
301
+ // Color and Background
302
+ 'bg-transparent',
303
+ 'border-primary-100 border-[0.5px]',
304
+ 'text-general-800',
305
+ // Sizing and Spacing
306
+ 'max-w-[3rem] w-fit',
307
+ 'px-3 py-1',
308
+ //Shape
309
+ 'rounded-[50px] h-6',
310
+ // Transitions
311
+ 'transition',
312
+ 'duration-200',
313
+ // States
314
+ 'hover:ring-general-200',
315
+ 'focus-visible:outline-none focus-visible:shadow-none',
316
+ // 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-body',
317
+ // Misc
318
+ 'cursor-pointer',
319
+ 'overflow-hidden overflow-ellipsis',
320
+ 'whitespace-nowrap',
321
+ 'appearance-none',
322
+ ],
323
+ },
324
+ },
325
+ },
326
+ jumptopagedropdown: {
327
+ root: function (_a) {
328
+ var props = _a.props, state = _a.state;
329
+ return ({
330
+ class: [
331
+ // Display and Position
332
+ 'inline-flex',
333
+ 'relative',
334
+ // Shape
335
+ 'h-8',
336
+ 'rounded-md',
337
+ // Spacing
338
+ 'mx-2',
339
+ // Color and Background
340
+ 'bg-transparent',
341
+ // Transitions
342
+ 'transition-all',
343
+ 'duration-200',
344
+ // States
345
+ {
346
+ 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600': !state.focused,
347
+ },
348
+ // Misc
349
+ 'cursor-pointer',
350
+ 'select-none',
351
+ {
352
+ 'opacity-60': props.disabled,
353
+ 'pointer-events-none': props.disabled,
354
+ 'cursor-default': props.disabled,
355
+ },
356
+ ],
357
+ });
358
+ },
359
+ input: {
360
+ class: [
361
+ //Font
362
+ 'font-sans',
363
+ 'leading-6',
364
+ 'text-xs',
365
+ // Display
366
+ 'block',
367
+ 'flex-auto',
368
+ 'flex items-center',
369
+ // Color and Background
370
+ 'bg-transparent',
371
+ 'border-0',
372
+ 'text-surface-800/80',
373
+ // Sizing and Spacing
374
+ 'w-[1%]',
375
+ 'py-1.5 px-3 pr-0',
376
+ //Shape
377
+ 'rounded-none',
378
+ // Transitions
379
+ 'transition',
380
+ 'duration-200',
381
+ // States
382
+ 'focus-visible:outline-none focus-visible:shadow-none',
383
+ // Misc
384
+ 'relative',
385
+ 'cursor-pointer',
386
+ 'overflow-hidden overflow-ellipsis',
387
+ 'whitespace-nowrap',
388
+ 'appearance-none',
389
+ ],
390
+ },
391
+ trigger: {
392
+ class: [
393
+ //Font
394
+ 'text-xs',
395
+ // Flexbox
396
+ 'flex items-center justify-center',
397
+ 'shrink-0',
398
+ // Color and Background
399
+ 'bg-transparent',
400
+ 'text-surface-500',
401
+ // Size
402
+ 'w-12',
403
+ 'h-8',
404
+ // Shape
405
+ 'rounded-tr-md',
406
+ 'rounded-br-md',
407
+ ],
408
+ },
409
+ panel: {
410
+ class: [
411
+ // Position
412
+ 'absolute top-0 left-0',
413
+ 'mt-1',
414
+ // Shape
415
+ 'border-0',
416
+ 'rounded-md',
417
+ 'shadow-md',
418
+ // Color
419
+ 'bg-surface-0',
420
+ 'text-surface-800/80',
421
+ 'ring-1 ring-inset ring-surface-300',
422
+ ],
423
+ },
424
+ wrapper: {
425
+ class: [
426
+ // Sizing
427
+ 'max-h-[15rem]',
428
+ // Misc
429
+ 'overflow-auto',
430
+ ],
431
+ },
432
+ list: {
433
+ class: 'py-1 list-none m-0',
434
+ },
435
+ item: function (_a) {
436
+ var context = _a.context;
437
+ return ({
438
+ class: [
439
+ // Font
440
+ 'text-xs',
441
+ 'leading-none',
442
+ { 'font-normal': !context.selected, 'font-bold': context.selected },
443
+ // Position
444
+ 'relative',
445
+ // Shape
446
+ 'border-0',
447
+ 'rounded-none',
448
+ // Spacing
449
+ 'm-0',
450
+ 'py-2 px-4',
451
+ // Color
452
+ {
453
+ 'text-surface-700/80': !context.focused && !context.selected,
454
+ },
455
+ {
456
+ 'bg-primary-500 text-white': context.focused && context.selected,
457
+ },
458
+ {
459
+ 'bg-transparent text-surface-700/80': !context.focused && context.selected,
460
+ },
461
+ //States
462
+ 'hover:bg-primary-500 hover:text-white',
463
+ // Misc
464
+ 'cursor-pointer',
465
+ 'overflow-hidden',
466
+ 'whitespace-nowrap',
467
+ ],
468
+ });
469
+ },
470
+ },
471
+ current: {
472
+ class: ['text-xs font-normal leading-6 px-3'],
473
+ },
474
+ };