@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.
- package/dist/meta.d.mts +28 -6
- package/dist/meta.mjs +28 -6
- package/dist/module.d.mts +13 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +6 -5
- package/dist/runtime/air-design-tokens/001_b24_global.css +1 -1
- package/dist/runtime/air-design-tokens/003_b24_context_light.css +1 -1
- package/dist/runtime/air-design-tokens/004_b24_context_dark.css +1 -1
- package/dist/runtime/air-design-tokens/005_b24_context_edge-light.css +1 -1
- package/dist/runtime/air-design-tokens/006_b24_context_edge-dark.css +1 -1
- package/dist/runtime/air-design-tokens/007_b24_global.css +1 -1
- package/dist/runtime/air-design-tokens/008_ui_global.css +1 -1
- package/dist/runtime/air-design-tokens/009_b24_tools.css +1 -1
- package/dist/runtime/air-design-tokens/components/badge-counter.css +1 -1
- package/dist/runtime/air-design-tokens/components/button.css +1 -1
- package/dist/runtime/air-design-tokens/components/navigation-menu.css +1 -1
- package/dist/runtime/air-design-tokens/components/popup.css +1 -1
- package/dist/runtime/air-design-tokens/components/scrollbar.css +1 -2
- package/dist/runtime/air-design-tokens/index.css +1 -1
- package/dist/runtime/components/Form.d.vue.ts +1 -1
- package/dist/runtime/components/Form.vue +3 -4
- package/dist/runtime/components/Form.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.d.vue.ts +5 -0
- package/dist/runtime/components/Modal.vue +37 -9
- package/dist/runtime/components/Modal.vue.d.ts +5 -0
- package/dist/runtime/components/RadioGroup.d.vue.ts +5 -5
- package/dist/runtime/components/RadioGroup.vue +1 -1
- package/dist/runtime/components/RadioGroup.vue.d.ts +5 -5
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/plugins/colors.js +4 -8
- package/dist/shared/{b24ui-nuxt.CPlfZAfR.mjs → b24ui-nuxt.4XNR9Ysu.mjs} +219 -126
- package/dist/unplugin.d.mts +3 -1
- package/dist/unplugin.mjs +32 -3
- package/dist/vite.mjs +5 -3
- package/package.json +4 -11
- package/.nuxt/b24ui/accordion.ts +0 -20
- package/.nuxt/b24ui/advice.ts +0 -36
- package/.nuxt/b24ui/alert.ts +0 -176
- package/.nuxt/b24ui/avatar-group.ts +0 -52
- package/.nuxt/b24ui/avatar.ts +0 -63
- package/.nuxt/b24ui/badge.ts +0 -333
- package/.nuxt/b24ui/banner.ts +0 -78
- package/.nuxt/b24ui/breadcrumb.ts +0 -42
- package/.nuxt/b24ui/button.ts +0 -350
- package/.nuxt/b24ui/calendar.ts +0 -112
- package/.nuxt/b24ui/card.ts +0 -180
- package/.nuxt/b24ui/chat-message.ts +0 -123
- package/.nuxt/b24ui/chat-messages.ts +0 -14
- package/.nuxt/b24ui/chat-palette.ts +0 -8
- package/.nuxt/b24ui/chat-prompt-submit.ts +0 -5
- package/.nuxt/b24ui/chat-prompt.ts +0 -35
- package/.nuxt/b24ui/checkbox-group.ts +0 -255
- package/.nuxt/b24ui/checkbox.ts +0 -195
- package/.nuxt/b24ui/chip.ts +0 -238
- package/.nuxt/b24ui/collapsible.ts +0 -6
- package/.nuxt/b24ui/color-picker.ts +0 -42
- package/.nuxt/b24ui/command-palette.ts +0 -56
- package/.nuxt/b24ui/container.ts +0 -3
- package/.nuxt/b24ui/content/content-search-button.ts +0 -6
- package/.nuxt/b24ui/content/content-search.ts +0 -13
- package/.nuxt/b24ui/content/content-surround.ts +0 -21
- package/.nuxt/b24ui/content/content-toc.ts +0 -41
- package/.nuxt/b24ui/context-menu.ts +0 -91
- package/.nuxt/b24ui/countdown.ts +0 -89
- package/.nuxt/b24ui/dashboard-group.ts +0 -3
- package/.nuxt/b24ui/dashboard-search-button.ts +0 -6
- package/.nuxt/b24ui/dashboard-search.ts +0 -13
- package/.nuxt/b24ui/description-list.ts +0 -67
- package/.nuxt/b24ui/dropdown-menu.ts +0 -166
- package/.nuxt/b24ui/empty.ts +0 -145
- package/.nuxt/b24ui/error.ts +0 -9
- package/.nuxt/b24ui/field-group.ts +0 -17
- package/.nuxt/b24ui/file-upload.ts +0 -241
- package/.nuxt/b24ui/form-field.ts +0 -58
- package/.nuxt/b24ui/form.ts +0 -3
- package/.nuxt/b24ui/index.ts +0 -88
- package/.nuxt/b24ui/input-menu.ts +0 -631
- package/.nuxt/b24ui/input-number.ts +0 -426
- package/.nuxt/b24ui/input-tags.ts +0 -412
- package/.nuxt/b24ui/input.ts +0 -386
- package/.nuxt/b24ui/kbd.ts +0 -33
- package/.nuxt/b24ui/link.ts +0 -22
- package/.nuxt/b24ui/modal.ts +0 -57
- package/.nuxt/b24ui/navbar-divider.ts +0 -5
- package/.nuxt/b24ui/navbar-section.ts +0 -5
- package/.nuxt/b24ui/navbar-spacer.ts +0 -5
- package/.nuxt/b24ui/navbar.ts +0 -5
- package/.nuxt/b24ui/navigation-menu.ts +0 -155
- package/.nuxt/b24ui/page-card.ts +0 -489
- package/.nuxt/b24ui/page-columns.ts +0 -3
- package/.nuxt/b24ui/page-grid.ts +0 -3
- package/.nuxt/b24ui/page-links.ts +0 -26
- package/.nuxt/b24ui/page-list.ts +0 -8
- package/.nuxt/b24ui/pagination.ts +0 -13
- package/.nuxt/b24ui/pin-input.ts +0 -152
- package/.nuxt/b24ui/popover.ts +0 -6
- package/.nuxt/b24ui/progress.ts +0 -289
- package/.nuxt/b24ui/prose/a.ts +0 -5
- package/.nuxt/b24ui/prose/accordion-item.ts +0 -3
- package/.nuxt/b24ui/prose/accordion.ts +0 -6
- package/.nuxt/b24ui/prose/badge.ts +0 -3
- package/.nuxt/b24ui/prose/blockquote.ts +0 -5
- package/.nuxt/b24ui/prose/callout.ts +0 -83
- package/.nuxt/b24ui/prose/card-group.ts +0 -3
- package/.nuxt/b24ui/prose/card.ts +0 -86
- package/.nuxt/b24ui/prose/code-collapse.ts +0 -19
- package/.nuxt/b24ui/prose/code-group.ts +0 -10
- package/.nuxt/b24ui/prose/code-icon.ts +0 -66
- package/.nuxt/b24ui/prose/code-preview.ts +0 -14
- package/.nuxt/b24ui/prose/code.ts +0 -75
- package/.nuxt/b24ui/prose/collapsible.ts +0 -9
- package/.nuxt/b24ui/prose/em.ts +0 -5
- package/.nuxt/b24ui/prose/field-group.ts +0 -3
- package/.nuxt/b24ui/prose/field.ts +0 -11
- package/.nuxt/b24ui/prose/h1.ts +0 -26
- package/.nuxt/b24ui/prose/h2.ts +0 -28
- package/.nuxt/b24ui/prose/h3.ts +0 -28
- package/.nuxt/b24ui/prose/h4.ts +0 -28
- package/.nuxt/b24ui/prose/h5.ts +0 -25
- package/.nuxt/b24ui/prose/h6.ts +0 -25
- package/.nuxt/b24ui/prose/hr.ts +0 -5
- package/.nuxt/b24ui/prose/img.ts +0 -23
- package/.nuxt/b24ui/prose/index.ts +0 -41
- package/.nuxt/b24ui/prose/kbd.ts +0 -3
- package/.nuxt/b24ui/prose/li.ts +0 -5
- package/.nuxt/b24ui/prose/ol.ts +0 -5
- package/.nuxt/b24ui/prose/p.ts +0 -30
- package/.nuxt/b24ui/prose/pre.ts +0 -17
- package/.nuxt/b24ui/prose/steps.ts +0 -19
- package/.nuxt/b24ui/prose/strong.ts +0 -5
- package/.nuxt/b24ui/prose/table.ts +0 -6
- package/.nuxt/b24ui/prose/tabs-item.ts +0 -3
- package/.nuxt/b24ui/prose/tabs.ts +0 -5
- package/.nuxt/b24ui/prose/tbody.ts +0 -5
- package/.nuxt/b24ui/prose/td.ts +0 -5
- package/.nuxt/b24ui/prose/th.ts +0 -5
- package/.nuxt/b24ui/prose/thead.ts +0 -5
- package/.nuxt/b24ui/prose/tr.ts +0 -5
- package/.nuxt/b24ui/prose/ul.ts +0 -5
- package/.nuxt/b24ui/radio-group.ts +0 -303
- package/.nuxt/b24ui/range.ts +0 -184
- package/.nuxt/b24ui/select-menu.ts +0 -554
- package/.nuxt/b24ui/select.ts +0 -533
- package/.nuxt/b24ui/separator.ts +0 -131
- package/.nuxt/b24ui/sidebar-body.ts +0 -15
- package/.nuxt/b24ui/sidebar-footer.ts +0 -5
- package/.nuxt/b24ui/sidebar-header.ts +0 -5
- package/.nuxt/b24ui/sidebar-heading.ts +0 -5
- package/.nuxt/b24ui/sidebar-layout.ts +0 -160
- package/.nuxt/b24ui/sidebar-section.ts +0 -5
- package/.nuxt/b24ui/sidebar-spacer.ts +0 -5
- package/.nuxt/b24ui/sidebar.ts +0 -5
- package/.nuxt/b24ui/skeleton.ts +0 -21
- package/.nuxt/b24ui/slideover.ts +0 -130
- package/.nuxt/b24ui/stepper.ts +0 -187
- package/.nuxt/b24ui/switch.ts +0 -139
- package/.nuxt/b24ui/table-wrapper.ts +0 -46
- package/.nuxt/b24ui/table.ts +0 -131
- package/.nuxt/b24ui/tabs.ts +0 -119
- package/.nuxt/b24ui/textarea.ts +0 -186
- package/.nuxt/b24ui/timeline.ts +0 -211
- package/.nuxt/b24ui/toast.ts +0 -95
- package/.nuxt/b24ui/toaster.ts +0 -91
- package/.nuxt/b24ui/tooltip.ts +0 -10
- package/.nuxt/b24ui/user.ts +0 -95
- package/.nuxt/b24ui.css +0 -5
- package/dist/runtime/air-design-tokens/002_b24_context_utility.css +0 -0
|
@@ -1,303 +0,0 @@
|
|
|
1
|
-
const color = [
|
|
2
|
-
"air-primary",
|
|
3
|
-
"air-primary-success",
|
|
4
|
-
"air-primary-alert",
|
|
5
|
-
"air-primary-copilot",
|
|
6
|
-
"air-primary-warning",
|
|
7
|
-
"default",
|
|
8
|
-
"danger",
|
|
9
|
-
"success",
|
|
10
|
-
"warning",
|
|
11
|
-
"primary",
|
|
12
|
-
"secondary",
|
|
13
|
-
"collab",
|
|
14
|
-
"ai"
|
|
15
|
-
] as const
|
|
16
|
-
|
|
17
|
-
const variant = [
|
|
18
|
-
"list",
|
|
19
|
-
"card",
|
|
20
|
-
"table"
|
|
21
|
-
] as const
|
|
22
|
-
|
|
23
|
-
const orientation = [
|
|
24
|
-
"horizontal",
|
|
25
|
-
"vertical"
|
|
26
|
-
] as const
|
|
27
|
-
|
|
28
|
-
const indicator = [
|
|
29
|
-
"start",
|
|
30
|
-
"end",
|
|
31
|
-
"hidden"
|
|
32
|
-
] as const
|
|
33
|
-
|
|
34
|
-
const size = [
|
|
35
|
-
"xs",
|
|
36
|
-
"sm",
|
|
37
|
-
"md",
|
|
38
|
-
"lg"
|
|
39
|
-
] as const
|
|
40
|
-
|
|
41
|
-
export default {
|
|
42
|
-
"slots": {
|
|
43
|
-
"root": "relative",
|
|
44
|
-
"fieldset": "flex",
|
|
45
|
-
"legend": "mb-1.5 block text-(--b24ui-typography-label-color)",
|
|
46
|
-
"item": "flex items-start",
|
|
47
|
-
"base": "cursor-pointer rounded-(--ui-border-radius-pill) ring ring-inset ring-(--ui-color-base-5) outline-(--ui-color-background-transparent) focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-(--b24ui-background)",
|
|
48
|
-
"indicator": "flex items-center justify-center size-full rounded-(--ui-border-radius-pill) after:bg-(--b24ui-color) after:rounded-(--ui-border-radius-pill) bg-(--b24ui-background)" as typeof indicator[number],
|
|
49
|
-
"container": "flex items-center",
|
|
50
|
-
"wrapper": "font-[family-name:var(--ui-font-family-primary)] font-(--ui-font-weight-regular) w-full",
|
|
51
|
-
"label": "cursor-pointer block text-(--b24ui-typography-label-color)",
|
|
52
|
-
"description": "text-(--b24ui-typography-description-color)"
|
|
53
|
-
},
|
|
54
|
-
"variants": {
|
|
55
|
-
"color": {
|
|
56
|
-
"air-primary": {
|
|
57
|
-
"root": "style-filled"
|
|
58
|
-
},
|
|
59
|
-
"air-primary-success": {
|
|
60
|
-
"root": "style-filled-success"
|
|
61
|
-
},
|
|
62
|
-
"air-primary-alert": {
|
|
63
|
-
"root": "style-filled-alert"
|
|
64
|
-
},
|
|
65
|
-
"air-primary-copilot": {
|
|
66
|
-
"root": "style-filled-copilot"
|
|
67
|
-
},
|
|
68
|
-
"air-primary-warning": {
|
|
69
|
-
"root": "style-filled-warning"
|
|
70
|
-
},
|
|
71
|
-
"default": {
|
|
72
|
-
"root": "style-old-default"
|
|
73
|
-
},
|
|
74
|
-
"danger": {
|
|
75
|
-
"root": "style-old-danger"
|
|
76
|
-
},
|
|
77
|
-
"success": {
|
|
78
|
-
"root": "style-old-success"
|
|
79
|
-
},
|
|
80
|
-
"warning": {
|
|
81
|
-
"root": "style-old-warning"
|
|
82
|
-
},
|
|
83
|
-
"primary": {
|
|
84
|
-
"root": "style-old-primary"
|
|
85
|
-
},
|
|
86
|
-
"secondary": {
|
|
87
|
-
"root": "style-old-secondary"
|
|
88
|
-
},
|
|
89
|
-
"collab": {
|
|
90
|
-
"root": "style-old-collab"
|
|
91
|
-
},
|
|
92
|
-
"ai": {
|
|
93
|
-
"root": "style-old-ai"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"variant": {
|
|
97
|
-
"list": {},
|
|
98
|
-
"card": {
|
|
99
|
-
"item": "cursor-pointer items-start border border-(--ui-color-design-outline-na-stroke) bg-(--ui-color-design-outline-na-bg) has-data-[state=checked]:border-(--b24ui-border-color)"
|
|
100
|
-
},
|
|
101
|
-
"table": {
|
|
102
|
-
"item": "cursor-pointer border border-(--ui-color-design-outline-na-stroke) bg-(--ui-color-design-outline-na-bg) has-data-[state=checked]:bg-(--b24ui-background)/24 has-data-[state=checked]:border-(--b24ui-border-color) has-data-[state=checked]:text-(--b24ui-color) has-data-[state=checked]:z-[1]"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"orientation": {
|
|
106
|
-
"horizontal": {
|
|
107
|
-
"fieldset": "flex-row",
|
|
108
|
-
"root": "me-2"
|
|
109
|
-
},
|
|
110
|
-
"vertical": {
|
|
111
|
-
"fieldset": "flex-col"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"indicator": {
|
|
115
|
-
"start": {
|
|
116
|
-
"item": "flex-row",
|
|
117
|
-
"base": "me-2"
|
|
118
|
-
},
|
|
119
|
-
"end": {
|
|
120
|
-
"item": "flex-row-reverse",
|
|
121
|
-
"base": "ms-2"
|
|
122
|
-
},
|
|
123
|
-
"hidden": {
|
|
124
|
-
"base": "sr-only",
|
|
125
|
-
"wrapper": "text-center"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"size": {
|
|
129
|
-
"xs": {
|
|
130
|
-
"fieldset": "gap-x-[12px] gap-y-[4px]",
|
|
131
|
-
"legend": "text-(length:--ui-font-size-xs)",
|
|
132
|
-
"base": "size-[12px]",
|
|
133
|
-
"item": "text-(length:--ui-font-size-xs)",
|
|
134
|
-
"label": "leading-[11px]",
|
|
135
|
-
"container": "h-[12px]",
|
|
136
|
-
"indicator": "after:size-[4px]" as typeof indicator[number]
|
|
137
|
-
},
|
|
138
|
-
"sm": {
|
|
139
|
-
"fieldset": "gap-x-[14px] gap-y-[6px]",
|
|
140
|
-
"legend": "text-(length:--ui-font-size-xs)",
|
|
141
|
-
"base": "size-[14px]",
|
|
142
|
-
"item": "text-(length:--ui-font-size-sm)",
|
|
143
|
-
"label": "leading-[14px]",
|
|
144
|
-
"container": "h-[14px]",
|
|
145
|
-
"indicator": "after:size-[6px]" as typeof indicator[number]
|
|
146
|
-
},
|
|
147
|
-
"md": {
|
|
148
|
-
"fieldset": "gap-x-[16px] gap-y-[8px]",
|
|
149
|
-
"legend": "text-(length:--ui-font-size-sm)",
|
|
150
|
-
"base": "size-[16px]",
|
|
151
|
-
"item": "text-(length:--ui-font-size-lg)",
|
|
152
|
-
"label": "leading-[15px]",
|
|
153
|
-
"container": "h-[16px]",
|
|
154
|
-
"indicator": "after:size-[6px]" as typeof indicator[number]
|
|
155
|
-
},
|
|
156
|
-
"lg": {
|
|
157
|
-
"fieldset": "gap-x-[16px] gap-y-[8px]",
|
|
158
|
-
"legend": "text-(length:--ui-font-size-sm)",
|
|
159
|
-
"base": "size-[20px]",
|
|
160
|
-
"item": "text-(length:--ui-font-size-xl)",
|
|
161
|
-
"label": "leading-[18px]",
|
|
162
|
-
"container": "h-[20px]",
|
|
163
|
-
"indicator": "after:size-[8px]" as typeof indicator[number]
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
"disabled": {
|
|
167
|
-
"true": {
|
|
168
|
-
"base": "cursor-not-allowed opacity-30",
|
|
169
|
-
"label": "cursor-not-allowed opacity-30"
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
"required": {
|
|
173
|
-
"true": {
|
|
174
|
-
"label": "after:content-['*'] after:ms-0.5 after:text-(--ui-color-accent-main-alert)"
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"compoundVariants": [
|
|
179
|
-
{
|
|
180
|
-
"size": "xs" as typeof size[number],
|
|
181
|
-
"variant": "card" as typeof variant[number],
|
|
182
|
-
"class": {
|
|
183
|
-
"item": "px-[13px] py-[7px] rounded-(--ui-border-radius-xs)"
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"size": "sm" as typeof size[number],
|
|
188
|
-
"variant": "card" as typeof variant[number],
|
|
189
|
-
"class": {
|
|
190
|
-
"item": "px-[13px] py-[9px] rounded-(--ui-border-radius-sm)"
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"size": "md" as typeof size[number],
|
|
195
|
-
"variant": "card" as typeof variant[number],
|
|
196
|
-
"class": {
|
|
197
|
-
"item": "px-[17px] py-[10px] rounded-(--ui-border-radius-md)"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"size": "lg" as typeof size[number],
|
|
202
|
-
"variant": "card" as typeof variant[number],
|
|
203
|
-
"class": {
|
|
204
|
-
"item": "px-[23px] py-[12px] rounded-(--ui-border-radius-md)"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"size": "xs" as typeof size[number],
|
|
209
|
-
"variant": "table" as typeof variant[number],
|
|
210
|
-
"class": {
|
|
211
|
-
"item": "px-[13px] py-[7px]"
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"size": "sm" as typeof size[number],
|
|
216
|
-
"variant": "table" as typeof variant[number],
|
|
217
|
-
"class": {
|
|
218
|
-
"item": "px-[13px] py-[9px]"
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"size": "md" as typeof size[number],
|
|
223
|
-
"variant": "table" as typeof variant[number],
|
|
224
|
-
"class": {
|
|
225
|
-
"item": "px-[17px] py-[10px]"
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"size": "lg" as typeof size[number],
|
|
230
|
-
"variant": "table" as typeof variant[number],
|
|
231
|
-
"class": {
|
|
232
|
-
"item": "px-[23px] py-[12px]"
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"size": "xs" as typeof size[number],
|
|
237
|
-
"variant": "table" as typeof variant[number],
|
|
238
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
239
|
-
"class": {
|
|
240
|
-
"item": "first-of-type:rounded-s-(--ui-border-radius-xs) last-of-type:rounded-e-(--ui-border-radius-xs)",
|
|
241
|
-
"fieldset": "gap-0 -space-x-px"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"size": "xs" as typeof size[number],
|
|
246
|
-
"variant": "table" as typeof variant[number],
|
|
247
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
248
|
-
"class": {
|
|
249
|
-
"item": "first-of-type:rounded-t-(--ui-border-radius-xs) last-of-type:rounded-b-(--ui-border-radius-xs)",
|
|
250
|
-
"fieldset": "gap-0 -space-y-px"
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"size": "sm" as typeof size[number],
|
|
255
|
-
"variant": "table" as typeof variant[number],
|
|
256
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
257
|
-
"class": {
|
|
258
|
-
"item": "first-of-type:rounded-s-(--ui-border-radius-sm) last-of-type:rounded-e-(--ui-border-radius-sm)",
|
|
259
|
-
"fieldset": "gap-0 -space-x-px"
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"size": "sm" as typeof size[number],
|
|
264
|
-
"variant": "table" as typeof variant[number],
|
|
265
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
266
|
-
"class": {
|
|
267
|
-
"item": "first-of-type:rounded-t-(--ui-border-radius-sm) last-of-type:rounded-b-(--ui-border-radius-sm)",
|
|
268
|
-
"fieldset": "gap-0 -space-y-px"
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"size": [
|
|
273
|
-
"lg" as typeof size[number],
|
|
274
|
-
"md" as typeof size[number]
|
|
275
|
-
],
|
|
276
|
-
"variant": "table" as typeof variant[number],
|
|
277
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
278
|
-
"class": {
|
|
279
|
-
"item": "first-of-type:rounded-s-(--ui-border-radius-md) last-of-type:rounded-e-(--ui-border-radius-md)",
|
|
280
|
-
"fieldset": "gap-0 -space-x-px"
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"size": [
|
|
285
|
-
"lg" as typeof size[number],
|
|
286
|
-
"md" as typeof size[number]
|
|
287
|
-
],
|
|
288
|
-
"variant": "table" as typeof variant[number],
|
|
289
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
290
|
-
"class": {
|
|
291
|
-
"item": "first-of-type:rounded-t-(--ui-border-radius-md) last-of-type:rounded-b-(--ui-border-radius-md)",
|
|
292
|
-
"fieldset": "gap-0 -space-y-px"
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
],
|
|
296
|
-
"defaultVariants": {
|
|
297
|
-
"color": "air-primary" as typeof color[number],
|
|
298
|
-
"size": "md" as typeof size[number],
|
|
299
|
-
"variant": "list" as typeof variant[number],
|
|
300
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
301
|
-
"indicator": "start" as typeof indicator[number]
|
|
302
|
-
}
|
|
303
|
-
}
|
package/.nuxt/b24ui/range.ts
DELETED
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
const color = [
|
|
2
|
-
"air-primary",
|
|
3
|
-
"air-primary-success",
|
|
4
|
-
"air-primary-alert",
|
|
5
|
-
"air-primary-copilot",
|
|
6
|
-
"air-primary-warning",
|
|
7
|
-
"default",
|
|
8
|
-
"danger",
|
|
9
|
-
"success",
|
|
10
|
-
"warning",
|
|
11
|
-
"primary",
|
|
12
|
-
"secondary",
|
|
13
|
-
"collab",
|
|
14
|
-
"ai"
|
|
15
|
-
] as const
|
|
16
|
-
|
|
17
|
-
const size = [
|
|
18
|
-
"xs",
|
|
19
|
-
"sm",
|
|
20
|
-
"md",
|
|
21
|
-
"lg"
|
|
22
|
-
] as const
|
|
23
|
-
|
|
24
|
-
const orientation = [
|
|
25
|
-
"horizontal",
|
|
26
|
-
"vertical"
|
|
27
|
-
] as const
|
|
28
|
-
|
|
29
|
-
export default {
|
|
30
|
-
"slots": {
|
|
31
|
-
"root": "relative flex items-center select-none touch-none",
|
|
32
|
-
"track": "relative rounded-(--ui-border-radius-pill) bg-(--ui-color-base-5) grow overflow-hidden",
|
|
33
|
-
"range": "absolute rounded-(--ui-border-radius-pill) bg-(--b24ui-background)",
|
|
34
|
-
"thumb": "rounded-(--ui-border-radius-pill) bg-(--ui-color-base-white-fixed) ring-2 outline-transparent focus-visible:outline-2 focus-visible:outline-offset-2 ring-(--b24ui-background) focus-visible:outline-(--b24ui-background-hover)"
|
|
35
|
-
},
|
|
36
|
-
"variants": {
|
|
37
|
-
"color": {
|
|
38
|
-
"air-primary": {
|
|
39
|
-
"root": "style-filled"
|
|
40
|
-
},
|
|
41
|
-
"air-primary-success": {
|
|
42
|
-
"root": "style-filled-success"
|
|
43
|
-
},
|
|
44
|
-
"air-primary-alert": {
|
|
45
|
-
"root": "style-filled-alert"
|
|
46
|
-
},
|
|
47
|
-
"air-primary-copilot": {
|
|
48
|
-
"root": "style-filled-copilot"
|
|
49
|
-
},
|
|
50
|
-
"air-primary-warning": {
|
|
51
|
-
"root": "style-filled-warning"
|
|
52
|
-
},
|
|
53
|
-
"default": {
|
|
54
|
-
"root": "style-old-default"
|
|
55
|
-
},
|
|
56
|
-
"danger": {
|
|
57
|
-
"root": "style-old-danger"
|
|
58
|
-
},
|
|
59
|
-
"success": {
|
|
60
|
-
"root": "style-old-success"
|
|
61
|
-
},
|
|
62
|
-
"warning": {
|
|
63
|
-
"root": "style-old-warning"
|
|
64
|
-
},
|
|
65
|
-
"primary": {
|
|
66
|
-
"root": "style-old-primary"
|
|
67
|
-
},
|
|
68
|
-
"secondary": {
|
|
69
|
-
"root": "style-old-secondary"
|
|
70
|
-
},
|
|
71
|
-
"collab": {
|
|
72
|
-
"root": "style-old-collab"
|
|
73
|
-
},
|
|
74
|
-
"ai": {
|
|
75
|
-
"root": "style-old-ai"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"size": {
|
|
79
|
-
"xs": {
|
|
80
|
-
"thumb": "size-[12px]"
|
|
81
|
-
},
|
|
82
|
-
"sm": {
|
|
83
|
-
"thumb": "size-[14px]"
|
|
84
|
-
},
|
|
85
|
-
"md": {
|
|
86
|
-
"thumb": "size-[16px]"
|
|
87
|
-
},
|
|
88
|
-
"lg": {
|
|
89
|
-
"thumb": "size-[20px]"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"orientation": {
|
|
93
|
-
"horizontal": {
|
|
94
|
-
"root": "w-full",
|
|
95
|
-
"range": "h-full"
|
|
96
|
-
},
|
|
97
|
-
"vertical": {
|
|
98
|
-
"root": "flex-col h-full",
|
|
99
|
-
"range": "w-full"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"disabled": {
|
|
103
|
-
"true": {
|
|
104
|
-
"root": "opacity-30 cursor-not-allowed"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
"compoundVariants": [
|
|
109
|
-
{
|
|
110
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
111
|
-
"size": "xs" as typeof size[number],
|
|
112
|
-
"class": {
|
|
113
|
-
"track": "h-[6px]"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
118
|
-
"size": "sm" as typeof size[number],
|
|
119
|
-
"class": {
|
|
120
|
-
"track": "h-[7px]"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
125
|
-
"size": "md" as typeof size[number],
|
|
126
|
-
"class": {
|
|
127
|
-
"track": "h-[8px]"
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
132
|
-
"size": "lg" as typeof size[number],
|
|
133
|
-
"class": {
|
|
134
|
-
"track": "h-[9px]"
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
139
|
-
"size": "xl" as typeof size[number],
|
|
140
|
-
"class": {
|
|
141
|
-
"track": "h-[10px]"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
146
|
-
"size": "xs" as typeof size[number],
|
|
147
|
-
"class": {
|
|
148
|
-
"track": "w-[6px]"
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
153
|
-
"size": "sm" as typeof size[number],
|
|
154
|
-
"class": {
|
|
155
|
-
"track": "w-[7px]"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
160
|
-
"size": "md" as typeof size[number],
|
|
161
|
-
"class": {
|
|
162
|
-
"track": "w-[8px]"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
167
|
-
"size": "lg" as typeof size[number],
|
|
168
|
-
"class": {
|
|
169
|
-
"track": "w-[9px]"
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
174
|
-
"size": "xl" as typeof size[number],
|
|
175
|
-
"class": {
|
|
176
|
-
"track": "w-[10px]"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
],
|
|
180
|
-
"defaultVariants": {
|
|
181
|
-
"color": "air-primary" as typeof color[number],
|
|
182
|
-
"size": "md" as typeof size[number]
|
|
183
|
-
}
|
|
184
|
-
}
|