@bitrix24/b24ui-nuxt 2.0.7 → 2.0.9

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 (167) hide show
  1. package/dist/meta.d.mts +28 -6
  2. package/dist/meta.mjs +28 -6
  3. package/dist/module.d.mts +13 -1
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +6 -5
  6. package/dist/runtime/air-design-tokens/001_b24_global.css +1 -1
  7. package/dist/runtime/air-design-tokens/003_b24_context_light.css +1 -1
  8. package/dist/runtime/air-design-tokens/004_b24_context_dark.css +1 -1
  9. package/dist/runtime/air-design-tokens/005_b24_context_edge-light.css +1 -1
  10. package/dist/runtime/air-design-tokens/006_b24_context_edge-dark.css +1 -1
  11. package/dist/runtime/air-design-tokens/007_b24_global.css +1 -1
  12. package/dist/runtime/air-design-tokens/008_ui_global.css +1 -1
  13. package/dist/runtime/air-design-tokens/009_b24_tools.css +1 -1
  14. package/dist/runtime/air-design-tokens/components/badge-counter.css +1 -1
  15. package/dist/runtime/air-design-tokens/components/button.css +1 -1
  16. package/dist/runtime/air-design-tokens/components/navigation-menu.css +1 -1
  17. package/dist/runtime/air-design-tokens/components/popup.css +1 -1
  18. package/dist/runtime/air-design-tokens/components/scrollbar.css +1 -2
  19. package/dist/runtime/air-design-tokens/index.css +1 -1
  20. package/dist/runtime/components/Form.d.vue.ts +1 -1
  21. package/dist/runtime/components/Form.vue +3 -4
  22. package/dist/runtime/components/Form.vue.d.ts +1 -1
  23. package/dist/runtime/components/Modal.d.vue.ts +5 -0
  24. package/dist/runtime/components/Modal.vue +37 -9
  25. package/dist/runtime/components/Modal.vue.d.ts +5 -0
  26. package/dist/runtime/components/RadioGroup.d.vue.ts +5 -5
  27. package/dist/runtime/components/RadioGroup.vue +1 -1
  28. package/dist/runtime/components/RadioGroup.vue.d.ts +5 -5
  29. package/dist/runtime/index.css +1 -1
  30. package/dist/runtime/plugins/colors.js +4 -8
  31. package/dist/shared/{b24ui-nuxt.CPlfZAfR.mjs → b24ui-nuxt.4XNR9Ysu.mjs} +219 -126
  32. package/dist/unplugin.d.mts +3 -1
  33. package/dist/unplugin.mjs +32 -3
  34. package/dist/vite.mjs +5 -3
  35. package/package.json +4 -11
  36. package/.nuxt/b24ui/accordion.ts +0 -20
  37. package/.nuxt/b24ui/advice.ts +0 -36
  38. package/.nuxt/b24ui/alert.ts +0 -176
  39. package/.nuxt/b24ui/avatar-group.ts +0 -52
  40. package/.nuxt/b24ui/avatar.ts +0 -63
  41. package/.nuxt/b24ui/badge.ts +0 -333
  42. package/.nuxt/b24ui/banner.ts +0 -78
  43. package/.nuxt/b24ui/breadcrumb.ts +0 -42
  44. package/.nuxt/b24ui/button.ts +0 -350
  45. package/.nuxt/b24ui/calendar.ts +0 -112
  46. package/.nuxt/b24ui/card.ts +0 -180
  47. package/.nuxt/b24ui/chat-message.ts +0 -123
  48. package/.nuxt/b24ui/chat-messages.ts +0 -14
  49. package/.nuxt/b24ui/chat-palette.ts +0 -8
  50. package/.nuxt/b24ui/chat-prompt-submit.ts +0 -5
  51. package/.nuxt/b24ui/chat-prompt.ts +0 -35
  52. package/.nuxt/b24ui/checkbox-group.ts +0 -255
  53. package/.nuxt/b24ui/checkbox.ts +0 -195
  54. package/.nuxt/b24ui/chip.ts +0 -238
  55. package/.nuxt/b24ui/collapsible.ts +0 -6
  56. package/.nuxt/b24ui/color-picker.ts +0 -42
  57. package/.nuxt/b24ui/command-palette.ts +0 -56
  58. package/.nuxt/b24ui/container.ts +0 -3
  59. package/.nuxt/b24ui/content/content-search-button.ts +0 -6
  60. package/.nuxt/b24ui/content/content-search.ts +0 -13
  61. package/.nuxt/b24ui/content/content-surround.ts +0 -21
  62. package/.nuxt/b24ui/content/content-toc.ts +0 -41
  63. package/.nuxt/b24ui/context-menu.ts +0 -91
  64. package/.nuxt/b24ui/countdown.ts +0 -89
  65. package/.nuxt/b24ui/dashboard-group.ts +0 -3
  66. package/.nuxt/b24ui/dashboard-search-button.ts +0 -6
  67. package/.nuxt/b24ui/dashboard-search.ts +0 -13
  68. package/.nuxt/b24ui/description-list.ts +0 -67
  69. package/.nuxt/b24ui/dropdown-menu.ts +0 -166
  70. package/.nuxt/b24ui/empty.ts +0 -145
  71. package/.nuxt/b24ui/error.ts +0 -9
  72. package/.nuxt/b24ui/field-group.ts +0 -17
  73. package/.nuxt/b24ui/file-upload.ts +0 -241
  74. package/.nuxt/b24ui/form-field.ts +0 -58
  75. package/.nuxt/b24ui/form.ts +0 -3
  76. package/.nuxt/b24ui/index.ts +0 -88
  77. package/.nuxt/b24ui/input-menu.ts +0 -631
  78. package/.nuxt/b24ui/input-number.ts +0 -426
  79. package/.nuxt/b24ui/input-tags.ts +0 -412
  80. package/.nuxt/b24ui/input.ts +0 -386
  81. package/.nuxt/b24ui/kbd.ts +0 -33
  82. package/.nuxt/b24ui/link.ts +0 -22
  83. package/.nuxt/b24ui/modal.ts +0 -57
  84. package/.nuxt/b24ui/navbar-divider.ts +0 -5
  85. package/.nuxt/b24ui/navbar-section.ts +0 -5
  86. package/.nuxt/b24ui/navbar-spacer.ts +0 -5
  87. package/.nuxt/b24ui/navbar.ts +0 -5
  88. package/.nuxt/b24ui/navigation-menu.ts +0 -155
  89. package/.nuxt/b24ui/page-card.ts +0 -489
  90. package/.nuxt/b24ui/page-columns.ts +0 -3
  91. package/.nuxt/b24ui/page-grid.ts +0 -3
  92. package/.nuxt/b24ui/page-links.ts +0 -26
  93. package/.nuxt/b24ui/page-list.ts +0 -8
  94. package/.nuxt/b24ui/pagination.ts +0 -13
  95. package/.nuxt/b24ui/pin-input.ts +0 -152
  96. package/.nuxt/b24ui/popover.ts +0 -6
  97. package/.nuxt/b24ui/progress.ts +0 -289
  98. package/.nuxt/b24ui/prose/a.ts +0 -5
  99. package/.nuxt/b24ui/prose/accordion-item.ts +0 -3
  100. package/.nuxt/b24ui/prose/accordion.ts +0 -6
  101. package/.nuxt/b24ui/prose/badge.ts +0 -3
  102. package/.nuxt/b24ui/prose/blockquote.ts +0 -5
  103. package/.nuxt/b24ui/prose/callout.ts +0 -83
  104. package/.nuxt/b24ui/prose/card-group.ts +0 -3
  105. package/.nuxt/b24ui/prose/card.ts +0 -86
  106. package/.nuxt/b24ui/prose/code-collapse.ts +0 -19
  107. package/.nuxt/b24ui/prose/code-group.ts +0 -10
  108. package/.nuxt/b24ui/prose/code-icon.ts +0 -66
  109. package/.nuxt/b24ui/prose/code-preview.ts +0 -14
  110. package/.nuxt/b24ui/prose/code.ts +0 -75
  111. package/.nuxt/b24ui/prose/collapsible.ts +0 -9
  112. package/.nuxt/b24ui/prose/em.ts +0 -5
  113. package/.nuxt/b24ui/prose/field-group.ts +0 -3
  114. package/.nuxt/b24ui/prose/field.ts +0 -11
  115. package/.nuxt/b24ui/prose/h1.ts +0 -26
  116. package/.nuxt/b24ui/prose/h2.ts +0 -28
  117. package/.nuxt/b24ui/prose/h3.ts +0 -28
  118. package/.nuxt/b24ui/prose/h4.ts +0 -28
  119. package/.nuxt/b24ui/prose/h5.ts +0 -25
  120. package/.nuxt/b24ui/prose/h6.ts +0 -25
  121. package/.nuxt/b24ui/prose/hr.ts +0 -5
  122. package/.nuxt/b24ui/prose/img.ts +0 -23
  123. package/.nuxt/b24ui/prose/index.ts +0 -41
  124. package/.nuxt/b24ui/prose/kbd.ts +0 -3
  125. package/.nuxt/b24ui/prose/li.ts +0 -5
  126. package/.nuxt/b24ui/prose/ol.ts +0 -5
  127. package/.nuxt/b24ui/prose/p.ts +0 -30
  128. package/.nuxt/b24ui/prose/pre.ts +0 -17
  129. package/.nuxt/b24ui/prose/steps.ts +0 -19
  130. package/.nuxt/b24ui/prose/strong.ts +0 -5
  131. package/.nuxt/b24ui/prose/table.ts +0 -6
  132. package/.nuxt/b24ui/prose/tabs-item.ts +0 -3
  133. package/.nuxt/b24ui/prose/tabs.ts +0 -5
  134. package/.nuxt/b24ui/prose/tbody.ts +0 -5
  135. package/.nuxt/b24ui/prose/td.ts +0 -5
  136. package/.nuxt/b24ui/prose/th.ts +0 -5
  137. package/.nuxt/b24ui/prose/thead.ts +0 -5
  138. package/.nuxt/b24ui/prose/tr.ts +0 -5
  139. package/.nuxt/b24ui/prose/ul.ts +0 -5
  140. package/.nuxt/b24ui/radio-group.ts +0 -303
  141. package/.nuxt/b24ui/range.ts +0 -184
  142. package/.nuxt/b24ui/select-menu.ts +0 -554
  143. package/.nuxt/b24ui/select.ts +0 -533
  144. package/.nuxt/b24ui/separator.ts +0 -131
  145. package/.nuxt/b24ui/sidebar-body.ts +0 -15
  146. package/.nuxt/b24ui/sidebar-footer.ts +0 -5
  147. package/.nuxt/b24ui/sidebar-header.ts +0 -5
  148. package/.nuxt/b24ui/sidebar-heading.ts +0 -5
  149. package/.nuxt/b24ui/sidebar-layout.ts +0 -160
  150. package/.nuxt/b24ui/sidebar-section.ts +0 -5
  151. package/.nuxt/b24ui/sidebar-spacer.ts +0 -5
  152. package/.nuxt/b24ui/sidebar.ts +0 -5
  153. package/.nuxt/b24ui/skeleton.ts +0 -21
  154. package/.nuxt/b24ui/slideover.ts +0 -130
  155. package/.nuxt/b24ui/stepper.ts +0 -187
  156. package/.nuxt/b24ui/switch.ts +0 -139
  157. package/.nuxt/b24ui/table-wrapper.ts +0 -46
  158. package/.nuxt/b24ui/table.ts +0 -131
  159. package/.nuxt/b24ui/tabs.ts +0 -119
  160. package/.nuxt/b24ui/textarea.ts +0 -186
  161. package/.nuxt/b24ui/timeline.ts +0 -211
  162. package/.nuxt/b24ui/toast.ts +0 -95
  163. package/.nuxt/b24ui/toaster.ts +0 -91
  164. package/.nuxt/b24ui/tooltip.ts +0 -10
  165. package/.nuxt/b24ui/user.ts +0 -95
  166. package/.nuxt/b24ui.css +0 -5
  167. package/dist/runtime/air-design-tokens/002_b24_context_utility.css +0 -0
@@ -1,426 +0,0 @@
1
- const fieldGroup = [
2
- "horizontal",
3
- "vertical"
4
- ] as const
5
-
6
- const size = [
7
- "xss",
8
- "xs",
9
- "sm",
10
- "md",
11
- "lg",
12
- "xl"
13
- ] as const
14
-
15
- const color = [
16
- "air-primary",
17
- "air-primary-success",
18
- "air-primary-alert",
19
- "air-primary-copilot",
20
- "air-primary-warning",
21
- "default",
22
- "danger",
23
- "success",
24
- "warning",
25
- "primary",
26
- "secondary",
27
- "collab",
28
- "ai"
29
- ] as const
30
-
31
- const orientation = [
32
- "horizontal",
33
- "vertical"
34
- ] as const
35
-
36
- export default {
37
- "slots": {
38
- "root": "isolate relative inline-flex items-center",
39
- "base": "w-full py-0 border-0 focus:outline-none disabled:cursor-not-allowed disabled:pointer-events-none disabled:opacity-30 disabled:resize-none appearance-none transition duration-300 ease-linear text-(--ui-color-base-1) style-blurred-bg-input placeholder:text-(--ui-color-design-plain-na-content-secondary) hover:text-(--ui-color-base-1) focus:text-(--ui-color-base-1) active:text-(--ui-color-base-1) font-[family-name:var(--ui-font-family-primary)] font-(--ui-font-weight-regular) align-middle text-ellipsis whitespace-nowrap",
40
- "increment": "absolute flex items-center",
41
- "decrement": "absolute flex items-center",
42
- "tag": "pointer-events-none select-none absolute z-10 -top-[7px] right-[14px] flex flex-col justify-center items-center"
43
- },
44
- "variants": {
45
- "fieldGroup": {
46
- "horizontal": {
47
- "root": "group leading-none has-focus-visible:z-[1]",
48
- "base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-e-3xl group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:border-e-0 group-not-only:group-not-first:border-s-0"
49
- },
50
- "vertical": {
51
- "root": "group has-focus-visible:z-[1]",
52
- "base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"
53
- }
54
- },
55
- "noSplit": {
56
- "false": "group-not-only:not-first:after:content-[''] group-not-only:not-first:after:absolute group-not-only:not-first:after:top-[7px] group-not-only:not-first:after:bottom-[6px] group-not-only:not-first:after:left-0 group-not-only:not-first:after:w-px group-not-only:not-first:after:bg-current/30"
57
- },
58
- "size": {
59
- "xss": "px-2 h-[20px] gap-1 text-(length:--ui-font-size-4xs)/[normal]",
60
- "xs": "px-2 h-[24px] gap-1 text-(length:--ui-font-size-xs)/[normal]",
61
- "sm": "px-2.5 h-[28px] gap-1.5 text-(length:--ui-font-size-sm)/[normal]",
62
- "md": "px-2.5 h-[34px] gap-1.5 text-(length:--ui-font-size-lg)/[normal]",
63
- "lg": "px-3 h-[38px] gap-2 text-(length:--ui-font-size-lg)/[normal]",
64
- "xl": "px-3 h-[46px] gap-2 text-(length:--ui-font-size-2xl)/[normal]"
65
- },
66
- "color": {
67
- "air-primary": {
68
- "base": "style-filled"
69
- },
70
- "air-primary-success": {
71
- "base": "style-filled-success"
72
- },
73
- "air-primary-alert": {
74
- "base": "style-filled-alert"
75
- },
76
- "air-primary-copilot": {
77
- "base": "style-filled-copilot"
78
- },
79
- "air-primary-warning": {
80
- "base": "style-filled-warning"
81
- },
82
- "default": {
83
- "base": "style-old-default"
84
- },
85
- "danger": {
86
- "base": "style-old-danger"
87
- },
88
- "success": {
89
- "base": "style-old-success"
90
- },
91
- "warning": {
92
- "base": "style-old-warning"
93
- },
94
- "primary": {
95
- "base": "style-old-primary"
96
- },
97
- "secondary": {
98
- "base": "style-old-secondary"
99
- },
100
- "collab": {
101
- "base": "style-old-collab"
102
- },
103
- "ai": {
104
- "base": "style-old-ai"
105
- }
106
- },
107
- "rounded": {
108
- "true": "rounded-(--ui-border-radius-3xl)",
109
- "false": "rounded-(--ui-border-radius-sm)"
110
- },
111
- "noBorder": {
112
- "true": "ring-0 focus-visible:ring-0 style-transparent-bg"
113
- },
114
- "underline": {
115
- "true": "rounded-none ring-0 focus-visible:ring-0 style-transparent-bg border-b-1 border-b-(--ui-color-design-outline-stroke)"
116
- },
117
- "disabled": {
118
- "true": {
119
- "increment": "cursor-not-allowed",
120
- "decrement": "cursor-not-allowed"
121
- }
122
- },
123
- "orientation": {
124
- "horizontal": {
125
- "base": "text-center",
126
- "increment": "inset-y-0 end-0 py-0 pe-0 [&>button]:p-1",
127
- "decrement": "inset-y-0 start-0 py-0 ps-0 [&>button]:p-1"
128
- },
129
- "vertical": {
130
- "increment": "top-1 end-0 pe-1 [&>button]:p-0",
131
- "decrement": "bottom-1 end-0 pe-1 [&>button]:p-0"
132
- }
133
- },
134
- "highlight": {
135
- "true": ""
136
- },
137
- "increment": {
138
- "false": ""
139
- },
140
- "decrement": {
141
- "false": ""
142
- }
143
- },
144
- "compoundVariants": [
145
- {
146
- "highlight": false,
147
- "noBorder": false,
148
- "underline": false,
149
- "class": {
150
- "base": "ring ring-inset ring-(--ui-color-design-outline-stroke) focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-(--b24ui-border-color) hover:ring-1 hover:ring-inset hover:ring-(--b24ui-border-color) data-[state=open]:ring-1 data-[state=open]:ring-inset data-[state=open]:ring-(--b24ui-border-color)"
151
- }
152
- },
153
- {
154
- "highlight": true,
155
- "noBorder": false,
156
- "underline": false,
157
- "class": {
158
- "base": "ring ring-inset ring-(--b24ui-border-color) focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-(--b24ui-border-color) hover:ring-1 hover:ring-inset hover:ring-(--b24ui-border-color) data-[state=open]:ring-1 data-[state=open]:ring-inset data-[state=open]:ring-(--b24ui-border-color)"
159
- }
160
- },
161
- {
162
- "noBorder": false,
163
- "underline": true,
164
- "class": {
165
- "base": "focus-visible:border-(--b24ui-border-color)"
166
- }
167
- },
168
- {
169
- "highlight": true,
170
- "noBorder": false,
171
- "underline": true,
172
- "class": {
173
- "base": "ring-0 border-b-(--b24ui-border-color)"
174
- }
175
- },
176
- {
177
- "highlight": true,
178
- "noBorder": true,
179
- "underline": false,
180
- "class": {
181
- "base": "ring-0"
182
- }
183
- },
184
- {
185
- "orientation": "horizontal" as typeof orientation[number],
186
- "rounded": true,
187
- "class": {
188
- "increment": "[&>button]:rounded-3xl",
189
- "decrement": "[&>button]:rounded-3xl"
190
- }
191
- },
192
- {
193
- "orientation": "horizontal" as typeof orientation[number],
194
- "decrement": false,
195
- "class": {
196
- "base": "text-start"
197
- }
198
- },
199
- {
200
- "orientation": "horizontal" as typeof orientation[number],
201
- "size": "xss" as typeof size[number],
202
- "class": {
203
- "increment": "[&>button]:p-[2px] [&>button]:h-[24px] scale-70",
204
- "decrement": "[&>button]:p-[2px] [&>button]:h-[24px] scale-70"
205
- }
206
- },
207
- {
208
- "orientation": "horizontal" as typeof orientation[number],
209
- "size": "xs" as typeof size[number],
210
- "class": {
211
- "increment": "[&>button]:p-[2px] [&>button]:h-[24px] scale-70",
212
- "decrement": "[&>button]:p-[2px] [&>button]:h-[24px] scale-70"
213
- }
214
- },
215
- {
216
- "orientation": "horizontal" as typeof orientation[number],
217
- "size": "sm" as typeof size[number],
218
- "class": {
219
- "increment": "[&>button]:p-[2px] scale-70",
220
- "decrement": "[&>button]:p-[2px] scale-70"
221
- }
222
- },
223
- {
224
- "orientation": "horizontal" as typeof orientation[number],
225
- "size": "md" as typeof size[number],
226
- "class": {
227
- "increment": "[&>button]:p-[2px] scale-60",
228
- "decrement": "[&>button]:p-[2px] scale-60"
229
- }
230
- },
231
- {
232
- "orientation": "horizontal" as typeof orientation[number],
233
- "size": "lg" as typeof size[number],
234
- "class": {
235
- "increment": "[&>button]:p-[2px] scale-60",
236
- "decrement": "[&>button]:p-[2px] scale-60"
237
- }
238
- },
239
- {
240
- "orientation": "horizontal" as typeof orientation[number],
241
- "size": "xl" as typeof size[number],
242
- "class": {
243
- "increment": "[&>button]:p-[4px] scale-60",
244
- "decrement": "[&>button]:p-[4px] scale-60"
245
- }
246
- },
247
- {
248
- "orientation": "vertical" as typeof orientation[number],
249
- "size": "xss" as typeof size[number],
250
- "class": {
251
- "increment": "top-0 pe-0 [&>button]:h-[13px] scale-56",
252
- "decrement": "bottom-0 pe-0 [&>button]:h-[13px] scale-56"
253
- }
254
- },
255
- {
256
- "orientation": "vertical" as typeof orientation[number],
257
- "size": "xs" as typeof size[number],
258
- "class": {
259
- "increment": "top-0 pe-0 [&>button]:h-[13px] scale-80",
260
- "decrement": "bottom-0 pe-0 [&>button]:h-[13px] scale-80"
261
- }
262
- },
263
- {
264
- "orientation": "vertical" as typeof orientation[number],
265
- "size": "sm" as typeof size[number],
266
- "class": {
267
- "increment": "top-0 pe-0 [&>button]:h-[15px] scale-80",
268
- "decrement": "bottom-0 pe-0 [&>button]:h-[15px] scale-80"
269
- }
270
- },
271
- {
272
- "orientation": "vertical" as typeof orientation[number],
273
- "size": "md" as typeof size[number],
274
- "class": {
275
- "increment": "top-0 pe-0 [&>button]:h-[18px] scale-80",
276
- "decrement": "bottom-0 pe-0 [&>button]:h-[18px] scale-80"
277
- }
278
- },
279
- {
280
- "orientation": "vertical" as typeof orientation[number],
281
- "size": "lg" as typeof size[number],
282
- "class": {
283
- "increment": "[&>button]:h-[16px] scale-80",
284
- "decrement": "[&>button]:h-[16px] scale-80"
285
- }
286
- },
287
- {
288
- "orientation": "vertical" as typeof orientation[number],
289
- "size": "xl" as typeof size[number],
290
- "class": {
291
- "increment": "[&>button]:h-[20px] scale-80",
292
- "decrement": "[&>button]:h-[20px] scale-80"
293
- }
294
- },
295
- {
296
- "decrement": true,
297
- "size": "xss" as typeof size[number],
298
- "class": {
299
- "base": "ps-[24px]"
300
- }
301
- },
302
- {
303
- "decrement": true,
304
- "size": "xs" as typeof size[number],
305
- "class": {
306
- "base": "ps-[24px]"
307
- }
308
- },
309
- {
310
- "decrement": true,
311
- "size": "sm" as typeof size[number],
312
- "class": {
313
- "base": "ps-[28px]"
314
- }
315
- },
316
- {
317
- "decrement": true,
318
- "size": "md" as typeof size[number],
319
- "class": {
320
- "base": "ps-[30px]"
321
- }
322
- },
323
- {
324
- "decrement": true,
325
- "size": "lg" as typeof size[number],
326
- "class": {
327
- "base": "ps-[30px]"
328
- }
329
- },
330
- {
331
- "decrement": true,
332
- "size": "xl" as typeof size[number],
333
- "class": {
334
- "base": "ps-[40px]"
335
- }
336
- },
337
- {
338
- "increment": true,
339
- "size": "xss" as typeof size[number],
340
- "class": {
341
- "base": "pe-[24px]"
342
- }
343
- },
344
- {
345
- "increment": true,
346
- "size": "xs" as typeof size[number],
347
- "class": {
348
- "base": "pe-[24px]"
349
- }
350
- },
351
- {
352
- "increment": true,
353
- "size": "sm" as typeof size[number],
354
- "class": {
355
- "base": "pe-[30px]",
356
- "increment": "top-0 pe-0 [&>button]:h-[15px] scale-80",
357
- "decrement": "bottom-0 pe-0 [&>button]:h-[15px] scale-80"
358
- }
359
- },
360
- {
361
- "increment": true,
362
- "size": "md" as typeof size[number],
363
- "class": {
364
- "base": "pe-[34px]"
365
- }
366
- },
367
- {
368
- "increment": true,
369
- "size": "lg" as typeof size[number],
370
- "class": {
371
- "base": "pe-[38px]"
372
- }
373
- },
374
- {
375
- "increment": true,
376
- "size": "xl" as typeof size[number],
377
- "class": {
378
- "base": "pe-[38px]"
379
- }
380
- },
381
- {
382
- "fieldGroup": [
383
- "horizontal" as typeof fieldGroup[number],
384
- "vertical" as typeof fieldGroup[number]
385
- ],
386
- "size": [
387
- "xl" as typeof size[number],
388
- "lg" as typeof size[number],
389
- "md" as typeof size[number]
390
- ],
391
- "rounded": false,
392
- "class": "rounded-(--ui-border-radius-md)"
393
- },
394
- {
395
- "fieldGroup": [
396
- "horizontal" as typeof fieldGroup[number],
397
- "vertical" as typeof fieldGroup[number]
398
- ],
399
- "size": "sm" as typeof size[number],
400
- "rounded": false,
401
- "class": "rounded-(--ui-border-radius-sm)"
402
- },
403
- {
404
- "fieldGroup": [
405
- "horizontal" as typeof fieldGroup[number],
406
- "vertical" as typeof fieldGroup[number]
407
- ],
408
- "size": "xs" as typeof size[number],
409
- "rounded": false,
410
- "class": "rounded-(--ui-border-radius-xs)"
411
- },
412
- {
413
- "fieldGroup": [
414
- "horizontal" as typeof fieldGroup[number],
415
- "vertical" as typeof fieldGroup[number]
416
- ],
417
- "size": "xss" as typeof size[number],
418
- "rounded": false,
419
- "class": "rounded-[5px]"
420
- }
421
- ],
422
- "defaultVariants": {
423
- "color": "air-primary" as typeof color[number],
424
- "size": "md" as typeof size[number]
425
- }
426
- }