@bitrix24/b24ui-nuxt 0.7.2 → 1.0.1
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/.nuxt/b24ui/accordion.ts +3 -3
- package/.nuxt/b24ui/advice.ts +6 -5
- package/.nuxt/b24ui/alert.ts +102 -49
- package/.nuxt/b24ui/avatar-group.ts +10 -10
- package/.nuxt/b24ui/avatar.ts +18 -18
- package/.nuxt/b24ui/badge.ts +167 -176
- package/.nuxt/b24ui/button-group.ts +3 -1
- package/.nuxt/b24ui/button.ts +179 -170
- package/.nuxt/b24ui/calendar.ts +48 -28
- package/.nuxt/b24ui/checkbox.ts +82 -85
- package/.nuxt/b24ui/chip.ts +121 -32
- package/.nuxt/b24ui/container.ts +1 -1
- package/.nuxt/b24ui/content/table-wrapper.ts +11 -11
- package/.nuxt/b24ui/countdown.ts +11 -11
- package/.nuxt/b24ui/description-list.ts +6 -6
- package/.nuxt/b24ui/dropdown-menu.ts +111 -183
- package/.nuxt/b24ui/form-field.ts +19 -19
- package/.nuxt/b24ui/index.ts +0 -1
- package/.nuxt/b24ui/input-menu.ts +294 -357
- package/.nuxt/b24ui/input-number.ts +111 -259
- package/.nuxt/b24ui/input.ts +136 -259
- package/.nuxt/b24ui/kbd.ts +15 -13
- package/.nuxt/b24ui/link.ts +5 -5
- package/.nuxt/b24ui/modal.ts +14 -12
- package/.nuxt/b24ui/navbar-divider.ts +1 -1
- package/.nuxt/b24ui/navbar-section.ts +1 -1
- package/.nuxt/b24ui/navbar.ts +1 -1
- package/.nuxt/b24ui/navigation-menu.ts +70 -754
- package/.nuxt/b24ui/popover.ts +2 -2
- package/.nuxt/b24ui/progress.ts +58 -68
- package/.nuxt/b24ui/prose/a.ts +1 -1
- package/.nuxt/b24ui/prose/blockquote.ts +1 -1
- package/.nuxt/b24ui/prose/code.ts +45 -9
- package/.nuxt/b24ui/prose/h1.ts +21 -2
- package/.nuxt/b24ui/prose/h2.ts +21 -12
- package/.nuxt/b24ui/prose/h3.ts +21 -12
- package/.nuxt/b24ui/prose/h4.ts +21 -12
- package/.nuxt/b24ui/prose/h5.ts +21 -12
- package/.nuxt/b24ui/prose/h6.ts +21 -12
- package/.nuxt/b24ui/prose/hr.ts +1 -1
- package/.nuxt/b24ui/prose/ol.ts +1 -1
- package/.nuxt/b24ui/prose/p.ts +26 -1
- package/.nuxt/b24ui/prose/thead.ts +1 -1
- package/.nuxt/b24ui/prose/ul.ts +1 -1
- package/.nuxt/b24ui/radio-group.ts +115 -155
- package/.nuxt/b24ui/range.ts +38 -26
- package/.nuxt/b24ui/select-menu.ts +251 -306
- package/.nuxt/b24ui/select.ts +246 -301
- package/.nuxt/b24ui/separator.ts +40 -85
- package/.nuxt/b24ui/sidebar-header.ts +1 -1
- package/.nuxt/b24ui/sidebar-heading.ts +1 -1
- package/.nuxt/b24ui/sidebar-layout.ts +130 -19
- package/.nuxt/b24ui/sidebar-section.ts +1 -1
- package/.nuxt/b24ui/skeleton.ts +19 -1
- package/.nuxt/b24ui/slideover.ts +35 -34
- package/.nuxt/b24ui/switch.ts +59 -48
- package/.nuxt/b24ui/tabs.ts +26 -239
- package/.nuxt/b24ui/textarea.ts +50 -236
- package/.nuxt/b24ui/toast.ts +38 -30
- package/.nuxt/b24ui/toaster.ts +1 -1
- package/.nuxt/b24ui/tooltip.ts +5 -5
- package/cli/templates.mjs +2 -1
- package/dist/meta.d.mts +18759 -5002
- package/dist/meta.mjs +18759 -5002
- package/dist/module.d.mts +1 -0
- package/dist/module.json +2 -2
- package/dist/module.mjs +3 -5
- package/dist/runtime/air-design-tokens/001_b24_global.css +1 -0
- package/dist/runtime/air-design-tokens/002_b24_context_utility.css +0 -0
- package/dist/runtime/air-design-tokens/003_b24_context_light.css +1 -0
- package/dist/runtime/air-design-tokens/004_b24_context_dark.css +1 -0
- package/dist/runtime/air-design-tokens/005_b24_context_edge-light.css +1 -0
- package/dist/runtime/air-design-tokens/006_b24_context_edge-dark.css +1 -0
- package/dist/runtime/air-design-tokens/007_b24_global.css +1 -0
- package/dist/runtime/air-design-tokens/008_ui_global.css +1 -0
- package/dist/runtime/air-design-tokens/009_b24_tools.css +1 -0
- package/dist/runtime/air-design-tokens/components/badge-counter.css +1 -0
- package/dist/runtime/air-design-tokens/components/button.css +1 -0
- package/dist/runtime/air-design-tokens/components/navigation-menu.css +1 -0
- package/dist/runtime/air-design-tokens/components/popup.css +1 -0
- package/dist/runtime/air-design-tokens/components/scrollbar.css +2 -0
- package/dist/runtime/air-design-tokens/index.css +1 -0
- package/dist/runtime/components/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/Advice.vue +1 -13
- package/dist/runtime/components/Advice.vue.d.ts +1 -1
- package/dist/runtime/components/Alert.vue +6 -4
- package/dist/runtime/components/Alert.vue.d.ts +11 -4
- package/dist/runtime/components/App.vue.d.ts +1 -1
- package/dist/runtime/components/Avatar.vue.d.ts +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.vue +7 -11
- package/dist/runtime/components/Badge.vue.d.ts +6 -8
- package/dist/runtime/components/Button.vue +18 -15
- package/dist/runtime/components/Button.vue.d.ts +5 -7
- package/dist/runtime/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue +8 -8
- package/dist/runtime/components/Calendar.vue.d.ts +14 -8
- package/dist/runtime/components/Checkbox.vue.d.ts +2 -2
- package/dist/runtime/components/Chip.vue +28 -7
- package/dist/runtime/components/Chip.vue.d.ts +22 -2
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/Container.vue.d.ts +1 -1
- package/dist/runtime/components/Countdown.vue.d.ts +5 -3
- package/dist/runtime/components/DescriptionList.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenu.vue +20 -9
- package/dist/runtime/components/DropdownMenu.vue.d.ts +1 -5
- package/dist/runtime/components/DropdownMenuContent.vue +29 -7
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +14 -6
- package/dist/runtime/components/Form.vue +3 -3
- package/dist/runtime/components/Form.vue.d.ts +6 -5
- package/dist/runtime/components/FormField.vue +2 -2
- package/dist/runtime/components/FormField.vue.d.ts +4 -4
- package/dist/runtime/components/Input.vue +8 -4
- package/dist/runtime/components/Input.vue.d.ts +9 -8
- package/dist/runtime/components/InputMenu.vue +44 -18
- package/dist/runtime/components/InputMenu.vue.d.ts +17 -223
- package/dist/runtime/components/InputNumber.vue +14 -11
- package/dist/runtime/components/InputNumber.vue.d.ts +13 -87
- package/dist/runtime/components/Kbd.vue +6 -3
- package/dist/runtime/components/Kbd.vue.d.ts +7 -3
- package/dist/runtime/components/Link.vue +6 -5
- package/dist/runtime/components/Link.vue.d.ts +1 -3
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.vue +37 -33
- package/dist/runtime/components/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/ModalDialogClose.vue.d.ts +1 -1
- package/dist/runtime/components/Navbar.vue.d.ts +1 -1
- package/dist/runtime/components/NavbarDivider.vue.d.ts +1 -1
- package/dist/runtime/components/NavbarSection.vue.d.ts +1 -1
- package/dist/runtime/components/NavbarSpacer.vue.d.ts +1 -1
- package/dist/runtime/components/NavigationMenu.vue +95 -84
- package/dist/runtime/components/NavigationMenu.vue.d.ts +31 -33
- package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
- package/dist/runtime/components/Popover.vue +8 -2
- package/dist/runtime/components/Popover.vue.d.ts +9 -3
- package/dist/runtime/components/Progress.vue.d.ts +3 -3
- package/dist/runtime/components/RadioGroup.vue +1 -1
- package/dist/runtime/components/RadioGroup.vue.d.ts +6 -5
- package/dist/runtime/components/Range.vue.d.ts +6 -6
- package/dist/runtime/components/Select.vue +25 -11
- package/dist/runtime/components/Select.vue.d.ts +7 -7
- package/dist/runtime/components/SelectMenu.vue +38 -19
- package/dist/runtime/components/SelectMenu.vue.d.ts +11 -10
- package/dist/runtime/components/Separator.vue +4 -4
- package/dist/runtime/components/Separator.vue.d.ts +6 -3
- package/dist/runtime/components/Sidebar.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarBody.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarFooter.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarHeader.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarHeading.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarLayout.vue +148 -63
- package/dist/runtime/components/SidebarLayout.vue.d.ts +61 -8
- package/dist/runtime/components/SidebarSection.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarSpacer.vue.d.ts +4 -1
- package/dist/runtime/components/Skeleton.vue +7 -3
- package/dist/runtime/components/Skeleton.vue.d.ts +12 -1
- package/dist/runtime/components/Slideover.vue +120 -43
- package/dist/runtime/components/Slideover.vue.d.ts +22 -9
- package/dist/runtime/components/Switch.vue.d.ts +2 -2
- package/dist/runtime/components/Tabs.vue +11 -3
- package/dist/runtime/components/Tabs.vue.d.ts +8 -7
- package/dist/runtime/components/Textarea.vue +8 -4
- package/dist/runtime/components/Textarea.vue.d.ts +8 -7
- package/dist/runtime/components/Toast.vue +16 -8
- package/dist/runtime/components/Toast.vue.d.ts +16 -15
- package/dist/runtime/components/Toaster.vue.d.ts +2 -2
- package/dist/runtime/components/Tooltip.vue +9 -5
- package/dist/runtime/components/Tooltip.vue.d.ts +7 -1
- package/dist/runtime/components/content/TableWrapper.vue.d.ts +1 -1
- package/dist/runtime/composables/defineShortcuts.js +5 -3
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
- package/dist/runtime/composables/useComponentIcons.d.ts +1 -1
- package/dist/runtime/composables/useFormField.d.ts +4 -7
- package/dist/runtime/composables/useFormField.js +6 -3
- package/dist/runtime/composables/useKbd.d.ts +1 -1
- package/dist/runtime/composables/useLocale.js +2 -2
- package/dist/runtime/composables/useOverlay.d.ts +29 -2
- package/dist/runtime/composables/useOverlay.js +8 -7
- package/dist/runtime/composables/usePortal.d.ts +1 -1
- package/dist/runtime/composables/useSidebarLayout.d.ts +20 -0
- package/dist/runtime/composables/useSidebarLayout.js +16 -0
- package/dist/runtime/dictionary/icons.js +7 -7
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/inertia/components/Link.vue +3 -0
- package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/inertia/stubs.d.ts +1 -0
- package/dist/runtime/inertia/stubs.js +4 -2
- package/dist/runtime/locale/ar.js +6 -0
- package/dist/runtime/locale/br.js +6 -0
- package/dist/runtime/locale/de.js +6 -0
- package/dist/runtime/locale/en.js +6 -0
- package/dist/runtime/locale/fr.js +6 -0
- package/dist/runtime/locale/id.js +6 -0
- package/dist/runtime/locale/it.js +6 -0
- package/dist/runtime/locale/ja.js +6 -0
- package/dist/runtime/locale/kz.js +6 -0
- package/dist/runtime/locale/la.js +6 -0
- package/dist/runtime/locale/ms.js +6 -0
- package/dist/runtime/locale/pl.js +6 -0
- package/dist/runtime/locale/ru.js +6 -0
- package/dist/runtime/locale/sc.js +6 -0
- package/dist/runtime/locale/tc.js +6 -0
- package/dist/runtime/locale/th.js +6 -0
- package/dist/runtime/locale/tr.js +6 -0
- package/dist/runtime/locale/ua.js +6 -0
- package/dist/runtime/locale/vn.js +6 -0
- package/dist/runtime/plugins/ui-version.d.ts +5 -0
- package/dist/runtime/plugins/ui-version.js +8 -0
- package/dist/runtime/prose/A.vue.d.ts +4 -1
- package/dist/runtime/prose/Blockquote.vue.d.ts +4 -1
- package/dist/runtime/prose/Code.vue.d.ts +4 -1
- package/dist/runtime/prose/Em.vue.d.ts +4 -1
- package/dist/runtime/prose/H1.vue +4 -1
- package/dist/runtime/prose/H1.vue.d.ts +7 -1
- package/dist/runtime/prose/H2.vue +4 -1
- package/dist/runtime/prose/H2.vue.d.ts +7 -1
- package/dist/runtime/prose/H3.vue +4 -1
- package/dist/runtime/prose/H3.vue.d.ts +7 -1
- package/dist/runtime/prose/H4.vue +4 -1
- package/dist/runtime/prose/H4.vue.d.ts +7 -1
- package/dist/runtime/prose/H5.vue +4 -1
- package/dist/runtime/prose/H5.vue.d.ts +7 -1
- package/dist/runtime/prose/H6.vue +4 -1
- package/dist/runtime/prose/H6.vue.d.ts +7 -1
- package/dist/runtime/prose/Hr.vue.d.ts +1 -1
- package/dist/runtime/prose/Img.vue.d.ts +1 -1
- package/dist/runtime/prose/Li.vue.d.ts +4 -1
- package/dist/runtime/prose/Ol.vue.d.ts +4 -1
- package/dist/runtime/prose/P.vue +6 -1
- package/dist/runtime/prose/P.vue.d.ts +12 -1
- package/dist/runtime/prose/Pre.vue.d.ts +4 -1
- package/dist/runtime/prose/Strong.vue.d.ts +4 -1
- package/dist/runtime/prose/Table.vue.d.ts +5 -2
- package/dist/runtime/prose/Tbody.vue.d.ts +4 -1
- package/dist/runtime/prose/Td.vue.d.ts +4 -1
- package/dist/runtime/prose/Th.vue.d.ts +4 -1
- package/dist/runtime/prose/Thead.vue.d.ts +4 -1
- package/dist/runtime/prose/Tr.vue.d.ts +4 -1
- package/dist/runtime/prose/Ul.vue.d.ts +4 -1
- package/dist/runtime/types/index.d.ts +0 -1
- package/dist/runtime/types/index.js +0 -1
- package/dist/runtime/types/locale.d.ts +6 -0
- package/dist/runtime/utils/index.d.ts +6 -0
- package/dist/runtime/utils/index.js +27 -0
- package/dist/runtime/utils/tv.js +66 -1
- package/dist/runtime/vue/components/Link.vue +3 -0
- package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/stubs.d.ts +1 -0
- package/dist/runtime/vue/stubs.js +3 -1
- package/dist/shared/b24ui-nuxt.dLc5H7ID.mjs +6100 -0
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +40 -28
- package/.nuxt/b24ui/stacked-layout.ts +0 -34
- package/dist/runtime/air-design-tokens.css +0 -1
- package/dist/runtime/components/StackedLayout.vue +0 -117
- package/dist/runtime/components/StackedLayout.vue.d.ts +0 -44
- package/dist/shared/b24ui-nuxt.CxsFEY3M.mjs +0 -7895
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
const size = [
|
|
2
|
+
"xss",
|
|
2
3
|
"xs",
|
|
3
4
|
"sm",
|
|
4
5
|
"md",
|
|
5
|
-
"lg"
|
|
6
|
+
"lg",
|
|
7
|
+
"xl"
|
|
6
8
|
] as const
|
|
7
9
|
|
|
8
10
|
const color = [
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"primary",
|
|
14
|
-
"secondary",
|
|
15
|
-
"collab",
|
|
16
|
-
"ai"
|
|
17
|
-
] as const
|
|
18
|
-
|
|
19
|
-
const tagColor = [
|
|
11
|
+
"air-primary",
|
|
12
|
+
"air-primary-success",
|
|
13
|
+
"air-primary-alert",
|
|
14
|
+
"air-primary-copilot",
|
|
15
|
+
"air-primary-warning",
|
|
20
16
|
"default",
|
|
21
17
|
"danger",
|
|
22
18
|
"success",
|
|
@@ -35,10 +31,10 @@ const orientation = [
|
|
|
35
31
|
export default {
|
|
36
32
|
"slots": {
|
|
37
33
|
"root": "isolate relative inline-flex items-center",
|
|
38
|
-
"base": "w-full py-0 border-0 focus:outline-none disabled:cursor-not-allowed disabled:
|
|
34
|
+
"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 ring ring-inset ring-(--ui-color-design-outline-stroke) 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 focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-(--b24ui-border-color)",
|
|
39
35
|
"increment": "absolute flex items-center",
|
|
40
36
|
"decrement": "absolute flex items-center",
|
|
41
|
-
"tag": "pointer-events-none select-none absolute z-10 -top-
|
|
37
|
+
"tag": "pointer-events-none select-none absolute z-10 -top-[7px] right-[14px] flex flex-col justify-center items-center"
|
|
42
38
|
},
|
|
43
39
|
"variants": {
|
|
44
40
|
"buttonGroup": {
|
|
@@ -55,50 +51,57 @@ export default {
|
|
|
55
51
|
"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"
|
|
56
52
|
},
|
|
57
53
|
"size": {
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
54
|
+
"xss": "px-2 h-[20px] gap-1 text-(length:--ui-font-size-4xs)/[normal]",
|
|
55
|
+
"xs": "px-2 h-[24px] gap-1 text-(length:--ui-font-size-xs)/[normal]",
|
|
56
|
+
"sm": "px-2.5 h-[28px] gap-1.5 text-(length:--ui-font-size-sm)/[normal]",
|
|
57
|
+
"md": "px-2.5 h-[34px] gap-1.5 text-(length:--ui-font-size-lg)/[normal]",
|
|
58
|
+
"lg": "px-3 h-[38px] gap-2 text-(length:--ui-font-size-lg)/[normal]",
|
|
59
|
+
"xl": "px-3 h-[46px] gap-2 text-(length:--ui-font-size-2xl)/[normal]"
|
|
62
60
|
},
|
|
63
61
|
"color": {
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
62
|
+
"air-primary": {
|
|
63
|
+
"base": "style-filled"
|
|
64
|
+
},
|
|
65
|
+
"air-primary-success": {
|
|
66
|
+
"base": "style-filled-success"
|
|
67
|
+
},
|
|
68
|
+
"air-primary-alert": {
|
|
69
|
+
"base": "style-filled-alert"
|
|
70
|
+
},
|
|
71
|
+
"air-primary-copilot": {
|
|
72
|
+
"base": "style-filled-copilot"
|
|
73
|
+
},
|
|
74
|
+
"air-primary-warning": {
|
|
75
|
+
"base": "style-filled-warning"
|
|
76
|
+
},
|
|
74
77
|
"default": {
|
|
75
|
-
"
|
|
78
|
+
"base": "style-old-default"
|
|
76
79
|
},
|
|
77
80
|
"danger": {
|
|
78
|
-
"
|
|
81
|
+
"base": "style-old-danger"
|
|
79
82
|
},
|
|
80
83
|
"success": {
|
|
81
|
-
"
|
|
84
|
+
"base": "style-old-success"
|
|
82
85
|
},
|
|
83
86
|
"warning": {
|
|
84
|
-
"
|
|
87
|
+
"base": "style-old-warning"
|
|
85
88
|
},
|
|
86
89
|
"primary": {
|
|
87
|
-
"
|
|
90
|
+
"base": "style-old-primary"
|
|
88
91
|
},
|
|
89
92
|
"secondary": {
|
|
90
|
-
"
|
|
93
|
+
"base": "style-old-secondary"
|
|
91
94
|
},
|
|
92
95
|
"collab": {
|
|
93
|
-
"
|
|
96
|
+
"base": "style-old-collab"
|
|
94
97
|
},
|
|
95
98
|
"ai": {
|
|
96
|
-
"
|
|
99
|
+
"base": "style-old-ai"
|
|
97
100
|
}
|
|
98
101
|
},
|
|
99
102
|
"rounded": {
|
|
100
|
-
"true": "rounded-3xl",
|
|
101
|
-
"false": "rounded-
|
|
103
|
+
"true": "rounded-(--ui-border-radius-3xl)",
|
|
104
|
+
"false": "rounded-(--ui-border-radius-sm)"
|
|
102
105
|
},
|
|
103
106
|
"noPadding": {
|
|
104
107
|
"true": {
|
|
@@ -106,15 +109,15 @@ export default {
|
|
|
106
109
|
}
|
|
107
110
|
},
|
|
108
111
|
"noBorder": {
|
|
109
|
-
"true": "ring-0 focus-visible:ring-0"
|
|
112
|
+
"true": "ring-0 focus-visible:ring-0 style-transparent-bg"
|
|
110
113
|
},
|
|
111
114
|
"underline": {
|
|
112
|
-
"true": "ring-0 focus-visible:ring-0 border-b border-b-
|
|
115
|
+
"true": "ring-0 focus-visible:ring-0 style-transparent-bg border-b-1 border-b-(--ui-color-design-outline-stroke) rounded-none"
|
|
113
116
|
},
|
|
114
117
|
"disabled": {
|
|
115
118
|
"true": {
|
|
116
|
-
"increment": "
|
|
117
|
-
"decrement": "
|
|
119
|
+
"increment": "cursor-not-allowed",
|
|
120
|
+
"decrement": "cursor-not-allowed"
|
|
118
121
|
}
|
|
119
122
|
},
|
|
120
123
|
"orientation": {
|
|
@@ -134,212 +137,26 @@ export default {
|
|
|
134
137
|
},
|
|
135
138
|
"compoundVariants": [
|
|
136
139
|
{
|
|
137
|
-
"color": "default" as typeof color[number],
|
|
138
|
-
"noBorder": false,
|
|
139
|
-
"underline": false,
|
|
140
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-base-900 dark:focus-visible:ring-base-350"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"color": "default" as typeof color[number],
|
|
144
|
-
"highlight": true,
|
|
145
|
-
"noBorder": false,
|
|
146
|
-
"underline": false,
|
|
147
|
-
"class": "ring ring-inset ring-base-900 dark:ring-base-350"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"color": "default" as typeof color[number],
|
|
151
|
-
"noBorder": false,
|
|
152
|
-
"underline": true,
|
|
153
|
-
"class": "focus-visible:border-base-900 dark:focus-visible:border-b-base-350"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"color": "default" as typeof color[number],
|
|
157
|
-
"highlight": true,
|
|
158
|
-
"noBorder": false,
|
|
159
|
-
"underline": true,
|
|
160
|
-
"class": "border-b-base-900 dark:border-b-base-350"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"color": "danger" as typeof color[number],
|
|
164
|
-
"noBorder": false,
|
|
165
|
-
"underline": false,
|
|
166
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-red-500 dark:focus-visible:ring-red-600"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"color": "danger" as typeof color[number],
|
|
170
|
-
"highlight": true,
|
|
171
|
-
"noBorder": false,
|
|
172
|
-
"underline": false,
|
|
173
|
-
"class": "ring ring-inset ring-red-500 dark:ring-red-600"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"color": "danger" as typeof color[number],
|
|
177
|
-
"noBorder": false,
|
|
178
|
-
"underline": true,
|
|
179
|
-
"class": "focus-visible:border-b-red-500 dark:focus-visible:border-b-red-600"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"color": "danger" as typeof color[number],
|
|
183
|
-
"highlight": true,
|
|
184
|
-
"noBorder": false,
|
|
185
|
-
"underline": true,
|
|
186
|
-
"class": "border-b-red-500 dark:border-b-red-600"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"color": "success" as typeof color[number],
|
|
190
|
-
"noBorder": false,
|
|
191
|
-
"underline": false,
|
|
192
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-green-500 dark:focus-visible:ring-green-600"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"color": "success" as typeof color[number],
|
|
196
|
-
"highlight": true,
|
|
197
|
-
"noBorder": false,
|
|
198
|
-
"underline": false,
|
|
199
|
-
"class": "ring ring-inset ring-green-500 dark:ring-green-600"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"color": "success" as typeof color[number],
|
|
203
|
-
"noBorder": false,
|
|
204
|
-
"underline": true,
|
|
205
|
-
"class": "focus-visible:border-b-green-500 dark:focus-visible:border-b-green-600"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"color": "success" as typeof color[number],
|
|
209
|
-
"highlight": true,
|
|
210
|
-
"noBorder": false,
|
|
211
|
-
"underline": true,
|
|
212
|
-
"class": "border-b-green-500 dark:border-b-green-600"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"color": "warning" as typeof color[number],
|
|
216
|
-
"noBorder": false,
|
|
217
|
-
"underline": false,
|
|
218
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-orange-500 dark:focus-visible:ring-orange-600"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"color": "warning" as typeof color[number],
|
|
222
|
-
"highlight": true,
|
|
223
|
-
"noBorder": false,
|
|
224
|
-
"underline": false,
|
|
225
|
-
"class": "ring ring-inset ring-orange-500 dark:ring-orange-600"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"color": "warning" as typeof color[number],
|
|
229
|
-
"noBorder": false,
|
|
230
|
-
"underline": true,
|
|
231
|
-
"class": "focus-visible:border-b-orange-500 dark:focus-visible:border-b-orange-600"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"color": "warning" as typeof color[number],
|
|
235
|
-
"highlight": true,
|
|
236
|
-
"noBorder": false,
|
|
237
|
-
"underline": true,
|
|
238
|
-
"class": "border-b-orange-500 dark:border-b-orange-600"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"color": "primary" as typeof color[number],
|
|
242
140
|
"noBorder": false,
|
|
243
141
|
"underline": false,
|
|
244
|
-
"class": "
|
|
142
|
+
"class": ""
|
|
245
143
|
},
|
|
246
144
|
{
|
|
247
|
-
"color": "primary" as typeof color[number],
|
|
248
145
|
"highlight": true,
|
|
249
146
|
"noBorder": false,
|
|
250
147
|
"underline": false,
|
|
251
|
-
"class": "ring ring-inset
|
|
148
|
+
"class": "ring ring-inset ring-(--b24ui-border-color)"
|
|
252
149
|
},
|
|
253
150
|
{
|
|
254
|
-
"color": "primary" as typeof color[number],
|
|
255
151
|
"noBorder": false,
|
|
256
152
|
"underline": true,
|
|
257
|
-
"class": "focus-visible:border-
|
|
153
|
+
"class": "focus-visible:border-(--b24ui-border-color)"
|
|
258
154
|
},
|
|
259
155
|
{
|
|
260
|
-
"color": "primary" as typeof color[number],
|
|
261
156
|
"highlight": true,
|
|
262
157
|
"noBorder": false,
|
|
263
158
|
"underline": true,
|
|
264
|
-
"class": "border-b-
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"color": "secondary" as typeof color[number],
|
|
268
|
-
"noBorder": false,
|
|
269
|
-
"underline": false,
|
|
270
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-cyan-500 dark:focus-visible:ring-cyan-600"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"color": "secondary" as typeof color[number],
|
|
274
|
-
"highlight": true,
|
|
275
|
-
"noBorder": false,
|
|
276
|
-
"underline": false,
|
|
277
|
-
"class": "ring ring-inset ring-cyan-500 dark:ring-cyan-600"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"color": "secondary" as typeof color[number],
|
|
281
|
-
"noBorder": false,
|
|
282
|
-
"underline": true,
|
|
283
|
-
"class": "focus-visible:border-b-cyan-500 dark:focus-visible:border-b-cyan-600"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"color": "secondary" as typeof color[number],
|
|
287
|
-
"highlight": true,
|
|
288
|
-
"noBorder": false,
|
|
289
|
-
"underline": true,
|
|
290
|
-
"class": "border-b-cyan-500 dark:border-b-cyan-600"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"color": "collab" as typeof color[number],
|
|
294
|
-
"noBorder": false,
|
|
295
|
-
"underline": false,
|
|
296
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-collab-500 dark:focus-visible:ring-collab-600"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"color": "collab" as typeof color[number],
|
|
300
|
-
"highlight": true,
|
|
301
|
-
"noBorder": false,
|
|
302
|
-
"underline": false,
|
|
303
|
-
"class": "ring ring-inset ring-collab-500 dark:ring-collab-600"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"color": "collab" as typeof color[number],
|
|
307
|
-
"noBorder": false,
|
|
308
|
-
"underline": true,
|
|
309
|
-
"class": "focus-visible:border-b-collab-500 dark:focus-visible:border-b-collab-600"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"color": "collab" as typeof color[number],
|
|
313
|
-
"highlight": true,
|
|
314
|
-
"noBorder": false,
|
|
315
|
-
"underline": true,
|
|
316
|
-
"class": "border-b-collab-500 dark:border-b-collab-600"
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"color": "ai" as typeof color[number],
|
|
320
|
-
"noBorder": false,
|
|
321
|
-
"underline": false,
|
|
322
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ai-500 dark:focus-visible:ring-ai-600"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"color": "ai" as typeof color[number],
|
|
326
|
-
"highlight": true,
|
|
327
|
-
"noBorder": false,
|
|
328
|
-
"underline": false,
|
|
329
|
-
"class": "ring ring-inset ring-ai-500 dark:ring-ai-600"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
"color": "ai" as typeof color[number],
|
|
333
|
-
"noBorder": false,
|
|
334
|
-
"underline": true,
|
|
335
|
-
"class": "focus-visible:border-b-ai-500 dark:focus-visible:border-b-ai-600"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"color": "ai" as typeof color[number],
|
|
339
|
-
"highlight": true,
|
|
340
|
-
"noBorder": false,
|
|
341
|
-
"underline": true,
|
|
342
|
-
"class": "border-b-ai-500 dark:border-b-ai-600"
|
|
159
|
+
"class": "border-b-(--b24ui-border-color)"
|
|
343
160
|
},
|
|
344
161
|
{
|
|
345
162
|
"orientation": "horizontal" as typeof orientation[number],
|
|
@@ -349,82 +166,117 @@ export default {
|
|
|
349
166
|
"decrement": "[&>button]:rounded-3xl"
|
|
350
167
|
}
|
|
351
168
|
},
|
|
169
|
+
{
|
|
170
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
171
|
+
"size": "xss" as typeof size[number],
|
|
172
|
+
"class": {
|
|
173
|
+
"base": "px-[24px]",
|
|
174
|
+
"increment": "[&>button]:p-[2px] [&>button]:h-[24px] scale-70",
|
|
175
|
+
"decrement": "[&>button]:p-[2px] [&>button]:h-[24px] scale-70"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
352
178
|
{
|
|
353
179
|
"orientation": "horizontal" as typeof orientation[number],
|
|
354
180
|
"size": "xs" as typeof size[number],
|
|
355
181
|
"class": {
|
|
356
|
-
"base": "px-[
|
|
357
|
-
"increment": "[&>button]:h-[24px] scale-
|
|
358
|
-
"decrement": "[&>button]:h-[24px] scale-
|
|
182
|
+
"base": "px-[24px]",
|
|
183
|
+
"increment": "[&>button]:p-[2px] [&>button]:h-[24px] scale-70",
|
|
184
|
+
"decrement": "[&>button]:p-[2px] [&>button]:h-[24px] scale-70"
|
|
359
185
|
}
|
|
360
186
|
},
|
|
361
187
|
{
|
|
362
188
|
"orientation": "horizontal" as typeof orientation[number],
|
|
363
189
|
"size": "sm" as typeof size[number],
|
|
364
190
|
"class": {
|
|
365
|
-
"base": "px-[
|
|
366
|
-
"increment": "scale-
|
|
367
|
-
"decrement": "scale-
|
|
191
|
+
"base": "px-[28px]",
|
|
192
|
+
"increment": "[&>button]:p-[2px] scale-70",
|
|
193
|
+
"decrement": "[&>button]:p-[2px] scale-70"
|
|
368
194
|
}
|
|
369
195
|
},
|
|
370
196
|
{
|
|
371
197
|
"orientation": "horizontal" as typeof orientation[number],
|
|
372
198
|
"size": "md" as typeof size[number],
|
|
373
199
|
"class": {
|
|
374
|
-
"base": "px-[
|
|
375
|
-
"increment": "[&>button]:p-
|
|
376
|
-
"decrement": "[&>button]:p-
|
|
200
|
+
"base": "px-[30px]",
|
|
201
|
+
"increment": "[&>button]:p-[2px] scale-60",
|
|
202
|
+
"decrement": "[&>button]:p-[2px] scale-60"
|
|
377
203
|
}
|
|
378
204
|
},
|
|
379
205
|
{
|
|
380
206
|
"orientation": "horizontal" as typeof orientation[number],
|
|
381
207
|
"size": "lg" as typeof size[number],
|
|
382
208
|
"class": {
|
|
383
|
-
"base": "px-[
|
|
384
|
-
"increment": "
|
|
385
|
-
"decrement": "
|
|
209
|
+
"base": "px-[30px]",
|
|
210
|
+
"increment": "[&>button]:p-[2px] scale-60",
|
|
211
|
+
"decrement": "[&>button]:p-[2px] scale-60"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
216
|
+
"size": "xl" as typeof size[number],
|
|
217
|
+
"class": {
|
|
218
|
+
"base": "px-[40px]",
|
|
219
|
+
"increment": "[&>button]:p-[4px] scale-60",
|
|
220
|
+
"decrement": "[&>button]:p-[4px] scale-60"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
225
|
+
"size": "xss" as typeof size[number],
|
|
226
|
+
"class": {
|
|
227
|
+
"base": "pe-[24px]",
|
|
228
|
+
"increment": "top-0 pe-0 [&>button]:h-[13px] scale-56",
|
|
229
|
+
"decrement": "bottom-0 pe-0 [&>button]:h-[13px] scale-56"
|
|
386
230
|
}
|
|
387
231
|
},
|
|
388
232
|
{
|
|
389
233
|
"orientation": "vertical" as typeof orientation[number],
|
|
390
234
|
"size": "xs" as typeof size[number],
|
|
391
235
|
"class": {
|
|
392
|
-
"base": "pe-
|
|
393
|
-
"increment": "top-0 pe-0 [&>button]:h-[13px]",
|
|
394
|
-
"decrement": "bottom-0 pe-0 [&>button]:h-[13px]"
|
|
236
|
+
"base": "pe-[24px]",
|
|
237
|
+
"increment": "top-0 pe-0 [&>button]:h-[13px] scale-80",
|
|
238
|
+
"decrement": "bottom-0 pe-0 [&>button]:h-[13px] scale-80"
|
|
395
239
|
}
|
|
396
240
|
},
|
|
397
241
|
{
|
|
398
242
|
"orientation": "vertical" as typeof orientation[number],
|
|
399
243
|
"size": "sm" as typeof size[number],
|
|
400
244
|
"class": {
|
|
401
|
-
"base": "pe-
|
|
402
|
-
"increment": "[&>button]:h-[
|
|
403
|
-
"decrement": "[&>button]:h-[
|
|
245
|
+
"base": "pe-[30px]",
|
|
246
|
+
"increment": "top-0 pe-0 [&>button]:h-[15px] scale-80",
|
|
247
|
+
"decrement": "bottom-0 pe-0 [&>button]:h-[15px] scale-80"
|
|
404
248
|
}
|
|
405
249
|
},
|
|
406
250
|
{
|
|
407
251
|
"orientation": "vertical" as typeof orientation[number],
|
|
408
252
|
"size": "md" as typeof size[number],
|
|
409
253
|
"class": {
|
|
410
|
-
"base": "pe-
|
|
411
|
-
"increment": "[&>button]:h-[
|
|
412
|
-
"decrement": "[&>button]:h-[
|
|
254
|
+
"base": "pe-[34px]",
|
|
255
|
+
"increment": "top-0 pe-0 [&>button]:h-[18px] scale-80",
|
|
256
|
+
"decrement": "bottom-0 pe-0 [&>button]:h-[18px] scale-80"
|
|
413
257
|
}
|
|
414
258
|
},
|
|
415
259
|
{
|
|
416
260
|
"orientation": "vertical" as typeof orientation[number],
|
|
417
261
|
"size": "lg" as typeof size[number],
|
|
418
262
|
"class": {
|
|
419
|
-
"base": "pe-
|
|
420
|
-
"increment": "[&>button]:h-[
|
|
421
|
-
"decrement": "[&>button]:h-[
|
|
263
|
+
"base": "pe-[38px]",
|
|
264
|
+
"increment": "[&>button]:h-[16px] scale-80",
|
|
265
|
+
"decrement": "[&>button]:h-[16px] scale-80"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
270
|
+
"size": "xl" as typeof size[number],
|
|
271
|
+
"class": {
|
|
272
|
+
"base": "pe-[38px]",
|
|
273
|
+
"increment": "[&>button]:h-[20px] scale-80",
|
|
274
|
+
"decrement": "[&>button]:h-[20px] scale-80"
|
|
422
275
|
}
|
|
423
276
|
}
|
|
424
277
|
],
|
|
425
278
|
"defaultVariants": {
|
|
426
|
-
"
|
|
427
|
-
"
|
|
428
|
-
"tagColor": "primary" as typeof tagColor[number]
|
|
279
|
+
"color": "air-primary" as typeof color[number],
|
|
280
|
+
"size": "md" as typeof size[number]
|
|
429
281
|
}
|
|
430
282
|
}
|