@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,412 +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 type = [
32
- "file"
33
- ] as const
34
-
35
- export default {
36
- "slots": {
37
- "root": [
38
- "isolate relative inline-flex items-center",
39
- "flex-wrap"
40
- ],
41
- "base": "border-0 focus:outline-none disabled:cursor-not-allowed disabled:pointer-events-none disabled:select-none disabled:opacity-30 disabled:resize-none appearance-none transition duration-300 ease-linear transition-colors text-(--ui-color-base-1) style-blurred-bg-input hover:text-(--ui-color-base-1) focus:text-(--ui-color-base-1) active:text-(--ui-color-base-1) placeholder:text-(--ui-color-design-plain-na-content-secondary) font-[family-name:var(--ui-font-family-primary)] font-(--ui-font-weight-regular) align-middle pe-[39px]",
42
- "leading": "absolute inset-y-0 start-0 flex items-center",
43
- "leadingIcon": "shrink-0 text-(--b24ui-icon-color)",
44
- "leadingAvatar": "shrink-0",
45
- "leadingAvatarSize": "",
46
- "trailing": "absolute inset-y-0 end-0 flex items-center",
47
- "trailingIcon": "shrink-0 text-(--b24ui-icon-color)",
48
- "tag": "pointer-events-none select-none absolute z-10 -top-[7px] right-[14px] flex flex-col justify-center items-center",
49
- "item": "ps-[13px] pe-[6px] rounded-(--ui-border-radius-xs) h-(--main-ui-square-item-height) leading-(--main-ui-square-item-height) font-[family-name:var(--ui-font-family-primary)] font-(--ui-font-weight-regular) inline-flex items-center gap-1 data-disabled:cursor-not-allowed data-disabled:opacity-30 data-disabled:pointer-events-none data-disabled:select-none text-(--ui-color-design-tinted-content) bg-(--ui-color-design-tinted-bg-alt)",
50
- "itemText": "truncate max-w-[180px]",
51
- "itemDelete": "cursor-pointer inline-flex items-center disabled:pointer-events-none disabled:select-none text-(--b24ui-icon-color-secondary) hover:text-(--b24ui-icon-color-secondary-hover) transition-none",
52
- "itemDeleteIcon": "shrink-0",
53
- "input": "flex-1 border-0 bg-transparent ps-[6px] pe-[0px] py-0 placeholder:text-(--ui-color-design-plain-na-content-secondary) focus:outline-none disabled:cursor-not-allowed disabled:pointer-events-none disabled:select-none disabled:opacity-30 focus:ring-0 focus-visible:ring-0"
54
- },
55
- "variants": {
56
- "fieldGroup": {
57
- "horizontal": {
58
- "root": "group leading-none has-focus-visible:z-[1]",
59
- "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"
60
- },
61
- "vertical": {
62
- "root": "group has-focus-visible:z-[1]",
63
- "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"
64
- }
65
- },
66
- "noSplit": {
67
- "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"
68
- },
69
- "size": {
70
- "xss": {
71
- "base": "[--main-ui-square-item-height:12px] gap-1 text-(length:--ui-font-size-4xs)/[normal] min-h-[20px] h-auto py-[2px] ps-[4px]",
72
- "leading": "px-1",
73
- "trailing": "px-1",
74
- "leadingIcon": "size-[12px]",
75
- "leadingAvatarSize": "3xs",
76
- "trailingIcon": "size-[12px]",
77
- "input": "text-(length:--ui-font-size-4xs)/[normal]",
78
- "item": "text-(length:--ui-font-size-5xs)/(--main-ui-square-item-height) gap-0.5",
79
- "itemDeleteIcon": "size-[10px]"
80
- },
81
- "xs": {
82
- "base": "[--main-ui-square-item-height:16px] gap-1 text-(length:--ui-font-size-xs)/[normal] min-h-[24px] h-auto py-[2px] ps-[4px]",
83
- "leading": "px-1",
84
- "trailing": "px-1",
85
- "leadingIcon": "size-[14px]",
86
- "leadingAvatarSize": "3xs",
87
- "trailingIcon": "size-[14px]",
88
- "input": "text-(length:--ui-font-size-xs)/[normal]",
89
- "item": "text-(length:--ui-font-size-5xs)/(--main-ui-square-item-height) gap-0.5",
90
- "itemDeleteIcon": "size-[10px]"
91
- },
92
- "sm": {
93
- "base": "[--main-ui-square-item-height:20px] gap-1.5 text-(length:--ui-font-size-sm)/[normal] min-h-[28px] h-auto py-[4px] ps-[4px]",
94
- "leading": "px-1.5",
95
- "trailing": "px-1.5",
96
- "leadingIcon": "size-[16px]",
97
- "leadingAvatar": "size-[16px]",
98
- "leadingAvatarSize": "2xs",
99
- "trailingIcon": "size-[16px]",
100
- "input": "text-(length:--ui-font-size-sm)/[normal]",
101
- "item": "text-(length:--ui-font-size-5xs)/(--main-ui-square-item-height) gap-0.5",
102
- "itemDeleteIcon": "size-[12px]"
103
- },
104
- "md": {
105
- "base": "[--main-ui-square-item-height:24px] gap-1.5 text-(length:--ui-font-size-lg)/[normal] min-h-[34px] h-auto py-[4px] ps-[4px]",
106
- "leading": "px-2",
107
- "trailing": "px-2",
108
- "leadingIcon": "size-[18px]",
109
- "leadingAvatarSize": "2xs",
110
- "trailingIcon": "size-[18px]",
111
- "input": "text-(length:--ui-font-size-lg)/[normal]",
112
- "item": "text-(length:--ui-font-size-sm)/(--main-ui-square-item-height) gap-[4px]",
113
- "itemDeleteIcon": "size-[18px]"
114
- },
115
- "lg": {
116
- "base": "[--main-ui-square-item-height:28px] gap-2 text-(length:--ui-font-size-lg)/[normal] min-h-[38px] h-auto py-[4px] ps-[4px]",
117
- "leading": "px-2",
118
- "trailing": "px-2",
119
- "leadingIcon": "size-[22px]",
120
- "leadingAvatarSize": "2xs",
121
- "trailingIcon": "size-[22px]",
122
- "input": "text-(length:--ui-font-size-lg)/[normal]",
123
- "item": "text-(length:--ui-font-size-md)/(--main-ui-square-item-height) gap-1",
124
- "itemDeleteIcon": "size-[22px]"
125
- },
126
- "xl": {
127
- "base": "[--main-ui-square-item-height:32px] gap-2 text-(length:--ui-font-size-2xl)/[normal] min-h-[46px] h-auto py-[6px] ps-[6px]",
128
- "leading": "px-2",
129
- "trailing": "px-2",
130
- "leadingIcon": "size-[22px]",
131
- "leadingAvatarSize": "2xs",
132
- "trailingIcon": "size-[22px]",
133
- "input": "text-(length:--ui-font-size-2xl)/[normal]",
134
- "item": "text-(length:--ui-font-size-xl)/(--main-ui-square-item-height) gap-1",
135
- "itemDeleteIcon": "size-[22px]"
136
- }
137
- },
138
- "color": {
139
- "air-primary": {
140
- "base": "style-filled"
141
- },
142
- "air-primary-success": {
143
- "base": "style-filled-success"
144
- },
145
- "air-primary-alert": {
146
- "base": "style-filled-alert"
147
- },
148
- "air-primary-copilot": {
149
- "base": "style-filled-copilot"
150
- },
151
- "air-primary-warning": {
152
- "base": "style-filled-warning"
153
- },
154
- "default": {
155
- "base": "style-old-default"
156
- },
157
- "danger": {
158
- "base": "style-old-danger"
159
- },
160
- "success": {
161
- "base": "style-old-success"
162
- },
163
- "warning": {
164
- "base": "style-old-warning"
165
- },
166
- "primary": {
167
- "base": "style-old-primary"
168
- },
169
- "secondary": {
170
- "base": "style-old-secondary"
171
- },
172
- "collab": {
173
- "base": "style-old-collab"
174
- },
175
- "ai": {
176
- "base": "style-old-ai"
177
- }
178
- },
179
- "rounded": {
180
- "true": "rounded-(--ui-border-radius-3xl)",
181
- "false": "rounded-(--ui-border-radius-sm)"
182
- },
183
- "noPadding": {
184
- "true": {
185
- "base": "px-0"
186
- }
187
- },
188
- "noBorder": {
189
- "true": "ring-0 focus-visible:ring-0 style-transparent-bg"
190
- },
191
- "underline": {
192
- "true": "rounded-none ring-0 focus-visible:ring-0 style-transparent-bg border-b-1 border-b-(--ui-color-design-outline-stroke)"
193
- },
194
- "leading": {
195
- "true": ""
196
- },
197
- "trailing": {
198
- "true": ""
199
- },
200
- "loading": {
201
- "true": ""
202
- },
203
- "highlight": {
204
- "true": "ring ring-inset ring-(--b24ui-border-color)"
205
- },
206
- "type": {
207
- "file": "file:me-1.5 file:text-(--ui-color-design-plain-na-content-secondary) file:outline-none"
208
- }
209
- },
210
- "compoundVariants": [
211
- {
212
- "highlight": false,
213
- "noBorder": false,
214
- "underline": false,
215
- "class": {
216
- "base": "ring ring-inset ring-(--ui-color-design-outline-stroke) has-focus-visible:ring-1 has-focus-visible:ring-inset has-focus-visible:ring-(--b24ui-border-color) hover:not-disabled:not-data-disabled:ring-1 hover:not-disabled:not-data-disabled:ring-inset hover:not-disabled:not-data-disabled:ring-(--b24ui-border-color) data-[state=open]:ring-1 data-[state=open]:ring-inset data-[state=open]:ring-(--b24ui-border-color)"
217
- }
218
- },
219
- {
220
- "highlight": true,
221
- "noBorder": false,
222
- "underline": false,
223
- "class": {
224
- "base": "ring ring-inset ring-(--b24ui-border-color) has-focus-visible:ring-1 has-focus-visible:ring-inset has-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)"
225
- }
226
- },
227
- {
228
- "noBorder": false,
229
- "underline": true,
230
- "class": {
231
- "base": "has-focus-visible:border-(--b24ui-border-color) hover:border-(--b24ui-border-color) data-[state=open]:border-(--b24ui-border-color)"
232
- }
233
- },
234
- {
235
- "highlight": true,
236
- "noBorder": false,
237
- "underline": true,
238
- "class": {
239
- "base": "ring-0 border-b-(--b24ui-border-color)"
240
- }
241
- },
242
- {
243
- "highlight": true,
244
- "noBorder": true,
245
- "underline": false,
246
- "class": {
247
- "base": "ring-0"
248
- }
249
- },
250
- {
251
- "type": "file" as typeof type[number],
252
- "size": "xss" as typeof size[number],
253
- "class": "py-[2px]"
254
- },
255
- {
256
- "type": "file" as typeof type[number],
257
- "size": "xs" as typeof size[number],
258
- "class": "py-[4px]"
259
- },
260
- {
261
- "type": "file" as typeof type[number],
262
- "size": "sm" as typeof size[number],
263
- "class": "py-[5px]"
264
- },
265
- {
266
- "type": "file" as typeof type[number],
267
- "size": "md" as typeof size[number],
268
- "class": "py-[7px]"
269
- },
270
- {
271
- "type": "file" as typeof type[number],
272
- "size": "lg" as typeof size[number],
273
- "class": "py-[9px]"
274
- },
275
- {
276
- "type": "file" as typeof type[number],
277
- "size": "xl" as typeof size[number],
278
- "class": "py-[11px]"
279
- },
280
- {
281
- "leading": true,
282
- "noPadding": false,
283
- "size": "xss" as typeof size[number],
284
- "class": "ps-[20px]"
285
- },
286
- {
287
- "leading": true,
288
- "noPadding": false,
289
- "size": "xs" as typeof size[number],
290
- "class": "ps-[22px]"
291
- },
292
- {
293
- "leading": true,
294
- "noPadding": false,
295
- "size": "sm" as typeof size[number],
296
- "class": "ps-[28px]"
297
- },
298
- {
299
- "leading": true,
300
- "noPadding": false,
301
- "size": "md" as typeof size[number],
302
- "class": "ps-[32px]"
303
- },
304
- {
305
- "leading": true,
306
- "noPadding": false,
307
- "size": "lg" as typeof size[number],
308
- "class": "ps-[32px]"
309
- },
310
- {
311
- "leading": true,
312
- "noPadding": false,
313
- "size": "xl" as typeof size[number],
314
- "class": "ps-[32px]"
315
- },
316
- {
317
- "trailing": true,
318
- "noPadding": false,
319
- "size": "xss" as typeof size[number],
320
- "class": "pe-[20px]"
321
- },
322
- {
323
- "trailing": true,
324
- "noPadding": false,
325
- "size": "xs" as typeof size[number],
326
- "class": "pe-[22px]"
327
- },
328
- {
329
- "trailing": true,
330
- "noPadding": false,
331
- "size": "sm" as typeof size[number],
332
- "class": "pe-[28px]"
333
- },
334
- {
335
- "trailing": true,
336
- "noPadding": false,
337
- "size": "md" as typeof size[number],
338
- "class": "pe-[34px]"
339
- },
340
- {
341
- "trailing": true,
342
- "noPadding": false,
343
- "size": "lg" as typeof size[number],
344
- "class": "pe-[38px]"
345
- },
346
- {
347
- "trailing": true,
348
- "noPadding": false,
349
- "size": "xl" as typeof size[number],
350
- "class": "pe-[38px]"
351
- },
352
- {
353
- "loading": true,
354
- "leading": true,
355
- "class": {
356
- "leadingIcon": "size-[21px]"
357
- }
358
- },
359
- {
360
- "loading": true,
361
- "leading": false,
362
- "trailing": true,
363
- "class": {
364
- "trailingIcon": "size-[21px]"
365
- }
366
- },
367
- {
368
- "fieldGroup": [
369
- "horizontal" as typeof fieldGroup[number],
370
- "vertical" as typeof fieldGroup[number]
371
- ],
372
- "size": [
373
- "xl" as typeof size[number],
374
- "lg" as typeof size[number],
375
- "md" as typeof size[number]
376
- ],
377
- "rounded": false,
378
- "class": "rounded-(--ui-border-radius-md)"
379
- },
380
- {
381
- "fieldGroup": [
382
- "horizontal" as typeof fieldGroup[number],
383
- "vertical" as typeof fieldGroup[number]
384
- ],
385
- "size": "sm" as typeof size[number],
386
- "rounded": false,
387
- "class": "rounded-(--ui-border-radius-sm)"
388
- },
389
- {
390
- "fieldGroup": [
391
- "horizontal" as typeof fieldGroup[number],
392
- "vertical" as typeof fieldGroup[number]
393
- ],
394
- "size": "xs" as typeof size[number],
395
- "rounded": false,
396
- "class": "rounded-(--ui-border-radius-xs)"
397
- },
398
- {
399
- "fieldGroup": [
400
- "horizontal" as typeof fieldGroup[number],
401
- "vertical" as typeof fieldGroup[number]
402
- ],
403
- "size": "xss" as typeof size[number],
404
- "rounded": false,
405
- "class": "rounded-[5px]"
406
- }
407
- ],
408
- "defaultVariants": {
409
- "color": "air-primary" as typeof color[number],
410
- "size": "md" as typeof size[number]
411
- }
412
- }