@bitrix24/b24ui-nuxt 0.7.1 → 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 +1 -2
- package/dist/runtime/types/index.js +1 -2
- 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,11 +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 = [
|
|
11
|
+
"air-primary",
|
|
12
|
+
"air-primary-success",
|
|
13
|
+
"air-primary-alert",
|
|
14
|
+
"air-primary-copilot",
|
|
15
|
+
"air-primary-warning",
|
|
9
16
|
"default",
|
|
10
17
|
"danger",
|
|
11
18
|
"success",
|
|
@@ -16,7 +23,16 @@ const color = [
|
|
|
16
23
|
"ai"
|
|
17
24
|
] as const
|
|
18
25
|
|
|
19
|
-
const
|
|
26
|
+
const type = [
|
|
27
|
+
"file"
|
|
28
|
+
] as const
|
|
29
|
+
|
|
30
|
+
const colorItem = [
|
|
31
|
+
"air-primary",
|
|
32
|
+
"air-primary-success",
|
|
33
|
+
"air-primary-alert",
|
|
34
|
+
"air-primary-copilot",
|
|
35
|
+
"air-primary-warning",
|
|
20
36
|
"default",
|
|
21
37
|
"danger",
|
|
22
38
|
"success",
|
|
@@ -27,40 +43,36 @@ const tagColor = [
|
|
|
27
43
|
"ai"
|
|
28
44
|
] as const
|
|
29
45
|
|
|
30
|
-
const type = [
|
|
31
|
-
"file"
|
|
32
|
-
] as const
|
|
33
|
-
|
|
34
46
|
export default {
|
|
35
47
|
"slots": {
|
|
36
48
|
"root": "isolate relative inline-flex items-center w-full",
|
|
37
|
-
"base": "py-0
|
|
49
|
+
"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 transition-colors ring ring-inset ring-(--ui-color-design-outline-stroke) 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 focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-(--b24ui-border-color)",
|
|
38
50
|
"leading": "absolute inset-y-0 start-0 flex items-center",
|
|
39
|
-
"leadingIcon": "shrink-0 text-
|
|
51
|
+
"leadingIcon": "shrink-0 text-(--b24ui-icon-color)",
|
|
40
52
|
"leadingAvatar": "shrink-0",
|
|
41
53
|
"leadingAvatarSize": "",
|
|
42
|
-
"trailing": "group absolute inset-y-0 end-0 flex items-center disabled:cursor-not-allowed disabled:opacity-
|
|
43
|
-
"trailingIcon": "shrink-0 text-
|
|
44
|
-
"tag": "pointer-events-none select-none absolute z-10 -top-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"group": "
|
|
49
|
-
"empty": "py-
|
|
50
|
-
"label": "flex items-center font-
|
|
51
|
-
"separator": "-mx-
|
|
52
|
-
"item": "group
|
|
53
|
-
"itemLeadingIcon": "shrink-0
|
|
54
|
-
"itemLeadingAvatar": "shrink-0",
|
|
55
|
-
"itemLeadingAvatarSize": "",
|
|
56
|
-
"itemLeadingChip": "shrink-0",
|
|
57
|
-
"itemLeadingChipSize": "",
|
|
58
|
-
"itemTrailing": "
|
|
59
|
-
"itemTrailingIcon": "shrink-0",
|
|
60
|
-
"itemLabel": "truncate",
|
|
61
|
-
"tagsItem": "
|
|
62
|
-
"tagsItemText": "truncate",
|
|
63
|
-
"tagsItemDelete": "cursor-pointer
|
|
54
|
+
"trailing": "group absolute inset-y-0 end-0 flex items-center disabled:cursor-not-allowed disabled:opacity-30",
|
|
55
|
+
"trailingIcon": "shrink-0 text-(--b24ui-icon-color)",
|
|
56
|
+
"tag": "pointer-events-none select-none absolute z-10 -top-[7px] right-[14px] flex flex-col justify-center items-center",
|
|
57
|
+
"content": "light bg-(--popup-window-background-color) shadow-(--popup-window-box-shadow) rounded-(--popup-window-border-radius) will-change-[opacity] motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) font-[family-name:var(--ui-font-family-primary)] relative isolate px-0 py-(--menu-popup-padding) pointer-events-auto",
|
|
58
|
+
"viewport": "relative w-[240px] max-h-[40vh] overflow-x-hidden overflow-y-auto scrollbar-thin",
|
|
59
|
+
"arrow": "fill-(--popup-window-background-color)",
|
|
60
|
+
"group": "grid",
|
|
61
|
+
"empty": "h-(--popup-window-delimiter-section-height) py-[8px] select-none outline-none whitespace-nowrap text-center text-(length:--popup-window-delimiter-font-size)/(--ui-font-line-height-lg) text-(--popup-window-delimiter-text-color) font-(--popup-window-delimiter-font-weight)",
|
|
62
|
+
"label": "w-full min-w-[195px] h-(--popup-window-delimiter-section-height) px-[18px] mt-(--menu-item-block-stack-space) flex flex-row rtl:flex-row-reverse items-center select-none outline-none whitespace-nowrap text-start text-(length:--popup-window-delimiter-font-size) text-(--popup-window-delimiter-text-color) font-(--popup-window-delimiter-font-weight) after:ms-[10px] after:block after:flex-1 after:min-w-[15px] after:h-px after:bg-(--popup-window-delimiter-bg-color)",
|
|
63
|
+
"separator": "my-[8px] mx-[18px] h-[1px] bg-(--popup-window-delimiter-bg-color)",
|
|
64
|
+
"item": "group w-full min-w-[195px] h-[36px] px-[18px] mt-(--menu-item-block-stack-space) relative flex flex-row rtl:flex-row-reverse items-center select-none outline-none whitespace-nowrap cursor-pointer data-disabled:cursor-not-allowed data-disabled:opacity-30 text-start text-(length:--menu-popup-item-font-size) text-(--menu-popup-item-color) hover:text-(--menu-popup-item-color-hover) data-highlighted:not-data-disabled:text-(--menu-popup-item-color-hover) data-[state=open]:text-(--menu-popup-item-color-hover) data-[state=checked]:text-(--menu-popup-item-color-hover) hover:bg-(--menu-popup-item-bg-color-hover) data-highlighted:bg-(--menu-popup-item-bg-color-hover) data-[state=open]:bg-(--menu-popup-item-bg-color-hover) transition-colors",
|
|
65
|
+
"itemLeadingIcon": "shrink-0 size-[18px] text-(--ui-color-design-plain-content-icon-secondary) group-data-highlighted:not-data-disabled:text-(--ui-color-accent-main-primary) group-data-[state=open]:text-(--ui-color-accent-main-primary) group-data-[state=checked]:text-(--ui-color-accent-main-primary) transition-colors",
|
|
66
|
+
"itemLeadingAvatar": "shrink-0 size-[16px] mx-px",
|
|
67
|
+
"itemLeadingAvatarSize": "2xs",
|
|
68
|
+
"itemLeadingChip": "shrink-0 size-[16px] mx-px",
|
|
69
|
+
"itemLeadingChipSize": "sm",
|
|
70
|
+
"itemTrailing": "ml-auto rtl:ml-0 rtl:mr-auto inline-flex gap-1.5 items-center",
|
|
71
|
+
"itemTrailingIcon": "shrink-0 size-[24px] text-(--ui-color-design-plain-content-icon-secondary)",
|
|
72
|
+
"itemLabel": "truncate ms-[2px] -mt-px group-data-[state=checked]:text-(--ui-color-accent-main-primary)",
|
|
73
|
+
"tagsItem": "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 text-(--ui-color-design-tinted-content) bg-(--ui-color-design-tinted-bg-alt)",
|
|
74
|
+
"tagsItemText": "truncate max-w-[180px]",
|
|
75
|
+
"tagsItemDelete": "cursor-pointer inline-flex items-center disabled:pointer-events-none text-(--b24ui-icon-color-secondary) hover:text-(--b24ui-icon-color-secondary-hover) transition-none",
|
|
64
76
|
"tagsItemDeleteIcon": "",
|
|
65
77
|
"tagsInput": ""
|
|
66
78
|
},
|
|
@@ -79,114 +91,118 @@ export default {
|
|
|
79
91
|
"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"
|
|
80
92
|
},
|
|
81
93
|
"size": {
|
|
94
|
+
"xss": {
|
|
95
|
+
"base": "[--main-ui-square-item-height:12px] h-[20px] gap-1 text-(length:--ui-font-size-4xs)/[normal]",
|
|
96
|
+
"leading": "px-1",
|
|
97
|
+
"trailing": "px-1",
|
|
98
|
+
"leadingIcon": "size-[12px]",
|
|
99
|
+
"leadingAvatarSize": "3xs",
|
|
100
|
+
"trailingIcon": "size-[12px]",
|
|
101
|
+
"tagsInput": "text-(length:--ui-font-size-4xs)/[normal]",
|
|
102
|
+
"tagsItem": "text-(length:--ui-font-size-5xs)/(--main-ui-square-item-height) gap-0.5",
|
|
103
|
+
"tagsItemDeleteIcon": "size-[10px]"
|
|
104
|
+
},
|
|
82
105
|
"xs": {
|
|
83
|
-
"base": "h-
|
|
106
|
+
"base": "[--main-ui-square-item-height:16px] h-[24px] gap-1 text-(length:--ui-font-size-xs)/[normal]",
|
|
84
107
|
"leading": "px-1",
|
|
85
108
|
"trailing": "px-1",
|
|
86
|
-
"leadingIcon": "size-
|
|
87
|
-
"leadingAvatarSize": "
|
|
88
|
-
"trailingIcon": "size-
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
93
|
-
"itemLeadingIcon": "size-5",
|
|
94
|
-
"itemLeadingAvatarSize": "2xs",
|
|
95
|
-
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
96
|
-
"itemLeadingChipSize": "sm",
|
|
97
|
-
"itemTrailingIcon": "size-3"
|
|
109
|
+
"leadingIcon": "size-[14px]",
|
|
110
|
+
"leadingAvatarSize": "3xs",
|
|
111
|
+
"trailingIcon": "size-[14px]",
|
|
112
|
+
"tagsInput": "text-(length:--ui-font-size-xs)/[normal]",
|
|
113
|
+
"tagsItem": "text-(length:--ui-font-size-5xs)/(--main-ui-square-item-height) gap-0.5",
|
|
114
|
+
"tagsItemDeleteIcon": "size-[10px]"
|
|
98
115
|
},
|
|
99
116
|
"sm": {
|
|
100
|
-
"base": "h-
|
|
117
|
+
"base": "[--main-ui-square-item-height:20px] h-[28px] gap-1.5 text-(length:--ui-font-size-sm)/[normal]",
|
|
101
118
|
"leading": "px-1.5",
|
|
102
119
|
"trailing": "px-1.5",
|
|
103
|
-
"leadingIcon": "size-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"itemLeadingIcon": "size-5",
|
|
111
|
-
"itemLeadingAvatarSize": "2xs",
|
|
112
|
-
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
113
|
-
"itemLeadingChipSize": "sm",
|
|
114
|
-
"itemTrailingIcon": "size-3"
|
|
120
|
+
"leadingIcon": "size-[16px]",
|
|
121
|
+
"leadingAvatar": "size-[16px]",
|
|
122
|
+
"leadingAvatarSize": "2xs",
|
|
123
|
+
"trailingIcon": "size-[16px]",
|
|
124
|
+
"tagsInput": "text-(length:--ui-font-size-sm)/[normal]",
|
|
125
|
+
"tagsItem": "text-(length:--ui-font-size-5xs)/(--main-ui-square-item-height) gap-0.5",
|
|
126
|
+
"tagsItemDeleteIcon": "size-[12px]"
|
|
115
127
|
},
|
|
116
128
|
"md": {
|
|
117
|
-
"base": "h-
|
|
129
|
+
"base": "[--main-ui-square-item-height:24px] h-[34px] gap-1.5 text-(length:--ui-font-size-lg)/[normal]",
|
|
118
130
|
"leading": "px-2",
|
|
119
131
|
"trailing": "px-2",
|
|
120
|
-
"leadingIcon": "size-[
|
|
121
|
-
"leadingAvatarSize": "
|
|
122
|
-
"trailingIcon": "size-
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
127
|
-
"itemLeadingIcon": "size-5",
|
|
128
|
-
"itemLeadingAvatarSize": "2xs",
|
|
129
|
-
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
130
|
-
"itemLeadingChipSize": "sm",
|
|
131
|
-
"itemTrailingIcon": "size-3"
|
|
132
|
+
"leadingIcon": "size-[18px]",
|
|
133
|
+
"leadingAvatarSize": "2xs",
|
|
134
|
+
"trailingIcon": "size-[18px]",
|
|
135
|
+
"tagsInput": "text-(length:--ui-font-size-lg)/[normal]",
|
|
136
|
+
"tagsItem": "text-(length:--ui-font-size-sm)/(--main-ui-square-item-height) gap-[4px]",
|
|
137
|
+
"tagsItemDeleteIcon": "size-[18px]"
|
|
132
138
|
},
|
|
133
139
|
"lg": {
|
|
134
|
-
"base": "h-
|
|
140
|
+
"base": "[--main-ui-square-item-height:28px] h-[38px] gap-2 text-(length:--ui-font-size-lg)/[normal]",
|
|
141
|
+
"leading": "px-2",
|
|
142
|
+
"trailing": "px-2",
|
|
143
|
+
"leadingIcon": "size-[22px]",
|
|
144
|
+
"leadingAvatarSize": "2xs",
|
|
145
|
+
"trailingIcon": "size-[22px]",
|
|
146
|
+
"tagsInput": "text-(length:--ui-font-size-lg)/[normal]",
|
|
147
|
+
"tagsItem": "text-(length:--ui-font-size-md)/(--main-ui-square-item-height) gap-1",
|
|
148
|
+
"tagsItemDeleteIcon": "size-[22px]"
|
|
149
|
+
},
|
|
150
|
+
"xl": {
|
|
151
|
+
"base": "[--main-ui-square-item-height:32px] h-[46px] gap-2 text-(length:--ui-font-size-2xl)/[normal]",
|
|
135
152
|
"leading": "px-2",
|
|
136
153
|
"trailing": "px-2",
|
|
137
|
-
"leadingIcon": "size-[
|
|
138
|
-
"leadingAvatarSize": "
|
|
139
|
-
"trailingIcon": "size-
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
144
|
-
"itemLeadingIcon": "size-5",
|
|
145
|
-
"itemLeadingAvatarSize": "2xs",
|
|
146
|
-
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
147
|
-
"itemLeadingChipSize": "sm",
|
|
148
|
-
"itemTrailingIcon": "size-3"
|
|
154
|
+
"leadingIcon": "size-[22px]",
|
|
155
|
+
"leadingAvatarSize": "2xs",
|
|
156
|
+
"trailingIcon": "size-[22px]",
|
|
157
|
+
"tagsInput": "text-(length:--ui-font-size-2xl)/[normal]",
|
|
158
|
+
"tagsItem": "text-(length:--ui-font-size-xl)/(--main-ui-square-item-height) gap-1",
|
|
159
|
+
"tagsItemDeleteIcon": "size-[22px]"
|
|
149
160
|
}
|
|
150
161
|
},
|
|
151
162
|
"color": {
|
|
152
|
-
"
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
"
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
163
|
+
"air-primary": {
|
|
164
|
+
"base": "style-filled"
|
|
165
|
+
},
|
|
166
|
+
"air-primary-success": {
|
|
167
|
+
"base": "style-filled-success"
|
|
168
|
+
},
|
|
169
|
+
"air-primary-alert": {
|
|
170
|
+
"base": "style-filled-alert"
|
|
171
|
+
},
|
|
172
|
+
"air-primary-copilot": {
|
|
173
|
+
"base": "style-filled-copilot"
|
|
174
|
+
},
|
|
175
|
+
"air-primary-warning": {
|
|
176
|
+
"base": "style-filled-warning"
|
|
177
|
+
},
|
|
162
178
|
"default": {
|
|
163
|
-
"
|
|
179
|
+
"base": "style-old-default"
|
|
164
180
|
},
|
|
165
181
|
"danger": {
|
|
166
|
-
"
|
|
182
|
+
"base": "style-old-danger"
|
|
167
183
|
},
|
|
168
184
|
"success": {
|
|
169
|
-
"
|
|
185
|
+
"base": "style-old-success"
|
|
170
186
|
},
|
|
171
187
|
"warning": {
|
|
172
|
-
"
|
|
188
|
+
"base": "style-old-warning"
|
|
173
189
|
},
|
|
174
190
|
"primary": {
|
|
175
|
-
"
|
|
191
|
+
"base": "style-old-primary"
|
|
176
192
|
},
|
|
177
193
|
"secondary": {
|
|
178
|
-
"
|
|
194
|
+
"base": "style-old-secondary"
|
|
179
195
|
},
|
|
180
196
|
"collab": {
|
|
181
|
-
"
|
|
197
|
+
"base": "style-old-collab"
|
|
182
198
|
},
|
|
183
199
|
"ai": {
|
|
184
|
-
"
|
|
200
|
+
"base": "style-old-ai"
|
|
185
201
|
}
|
|
186
202
|
},
|
|
187
203
|
"rounded": {
|
|
188
|
-
"true": "rounded-3xl",
|
|
189
|
-
"false": "rounded-
|
|
204
|
+
"true": "rounded-(--ui-border-radius-3xl)",
|
|
205
|
+
"false": "rounded-(--ui-border-radius-sm)"
|
|
190
206
|
},
|
|
191
207
|
"noPadding": {
|
|
192
208
|
"true": {
|
|
@@ -194,10 +210,10 @@ export default {
|
|
|
194
210
|
}
|
|
195
211
|
},
|
|
196
212
|
"noBorder": {
|
|
197
|
-
"true": "ring-0 focus-visible:ring-0"
|
|
213
|
+
"true": "ring-0 focus-visible:ring-0 style-transparent-bg"
|
|
198
214
|
},
|
|
199
215
|
"underline": {
|
|
200
|
-
"true": "ring-0 focus-visible:ring-0 border-b border-b-
|
|
216
|
+
"true": "ring-0 focus-visible:ring-0 style-transparent-bg border-b-1 border-b-(--ui-color-design-outline-stroke) rounded-none"
|
|
201
217
|
},
|
|
202
218
|
"leading": {
|
|
203
219
|
"true": ""
|
|
@@ -209,389 +225,311 @@ export default {
|
|
|
209
225
|
"true": ""
|
|
210
226
|
},
|
|
211
227
|
"highlight": {
|
|
212
|
-
"true": ""
|
|
228
|
+
"true": "ring ring-inset ring-(--b24ui-border-color)"
|
|
213
229
|
},
|
|
214
230
|
"type": {
|
|
215
|
-
"file":
|
|
231
|
+
"file": [
|
|
232
|
+
"file:me-1.5",
|
|
233
|
+
"file:text-(--ui-color-design-plain-na-content-secondary)",
|
|
234
|
+
"file:outline-none"
|
|
235
|
+
]
|
|
216
236
|
},
|
|
217
237
|
"addNew": {
|
|
218
238
|
"true": {
|
|
219
|
-
"group": "
|
|
220
|
-
"item": "
|
|
239
|
+
"group": "",
|
|
240
|
+
"item": "text-(--menu-popup-item-color) data-highlighted:not-data-disabled:text-(--menu-popup-item-color-hover) data-[state=checked]:text-(--menu-popup-item-color-hover)",
|
|
221
241
|
"itemLabel": "flex flex-row flex-nowrap items-center justify-start gap-2",
|
|
222
|
-
"itemLeadingIcon": "size-
|
|
242
|
+
"itemLeadingIcon": "size-[20px] rounded-full text-(--ui-color-base-white-fixed) bg-(--ui-color-design-selection-content-icon-secondary) group-data-highlighted:not-data-disabled:text-(--ui-color-base-white-fixed) group-data-highlighted:not-data-disabled:bg-(--ui-color-design-selection-content-icon) group-data-[state=checked]:text-(--ui-color-base-white-fixed) group-data-[state=checked]:bg-(--ui-color-design-selection-content-icon)"
|
|
223
243
|
}
|
|
224
244
|
},
|
|
225
245
|
"multiple": {
|
|
226
246
|
"true": {
|
|
227
247
|
"root": "flex-wrap",
|
|
228
|
-
"base": "py-
|
|
229
|
-
"tagsInput": "
|
|
248
|
+
"base": "py-[6px] ps-[6px] pe-[39px]",
|
|
249
|
+
"tagsInput": "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:opacity-30 focus:ring-0 focus-visible:ring-0"
|
|
230
250
|
},
|
|
231
251
|
"false": {
|
|
232
|
-
"base": "px-3 placeholder:text-
|
|
252
|
+
"base": "px-3 placeholder:text-(--ui-color-design-plain-na-content-secondary) focus:outline-none disabled:cursor-not-allowed disabled:opacity-30"
|
|
233
253
|
}
|
|
234
254
|
},
|
|
235
255
|
"colorItem": {
|
|
236
|
-
"
|
|
256
|
+
"air-primary": {
|
|
257
|
+
"item": "style-filled"
|
|
258
|
+
},
|
|
259
|
+
"air-primary-success": {
|
|
260
|
+
"item": "style-filled-success"
|
|
261
|
+
},
|
|
262
|
+
"air-primary-alert": {
|
|
263
|
+
"item": "style-filled-alert"
|
|
264
|
+
},
|
|
265
|
+
"air-primary-copilot": {
|
|
266
|
+
"item": "style-filled-copilot"
|
|
267
|
+
},
|
|
268
|
+
"air-primary-warning": {
|
|
269
|
+
"item": "style-filled-warning"
|
|
270
|
+
},
|
|
271
|
+
"default": {
|
|
272
|
+
"item": "style-old-default"
|
|
273
|
+
},
|
|
237
274
|
"danger": {
|
|
238
|
-
"item": "
|
|
239
|
-
"itemLeadingIcon": "text-red-600 dark:text-red-700 group-data-highlighted:text-red-900 dark:group-data-highlighted:text-red-150 group-data-[state=checked]:text-red-900 dark:group-data-[state=checked]:text-red-700"
|
|
275
|
+
"item": "style-old-danger"
|
|
240
276
|
},
|
|
241
277
|
"success": {
|
|
242
|
-
"item": "
|
|
243
|
-
"itemLeadingIcon": "text-green-600 dark:text-green-700 group-data-highlighted:text-green-900 dark:group-data-highlighted:text-green-150 group-data-[state=checked]:text-green-900 dark:group-data-[state=checked]:text-green-700"
|
|
278
|
+
"item": "style-old-success"
|
|
244
279
|
},
|
|
245
280
|
"warning": {
|
|
246
|
-
"item": "
|
|
247
|
-
"itemLeadingIcon": "text-orange-600 dark:text-orange-700 group-data-highlighted:text-orange-900 dark:group-data-highlighted:text-orange-150 group-data-[state=checked]:text-orange-900 dark:group-data-[state=checked]:text-orange-700"
|
|
281
|
+
"item": "style-old-warning"
|
|
248
282
|
},
|
|
249
283
|
"primary": {
|
|
250
|
-
"item": "
|
|
251
|
-
"itemLeadingIcon": "text-blue-600 dark:text-blue-700 group-data-highlighted:text-blue-900 dark:group-data-highlighted:text-blue-150 group-data-[state=checked]:text-blue-900 dark:group-data-[state=checked]:text-blue-700"
|
|
284
|
+
"item": "style-old-primary"
|
|
252
285
|
},
|
|
253
286
|
"secondary": {
|
|
254
|
-
"item": "
|
|
255
|
-
"itemLeadingIcon": "text-cyan-600 dark:text-cyan-700 group-data-highlighted:text-cyan-900 dark:group-data-highlighted:text-cyan-150 group-data-[state=checked]:text-cyan-900 dark:group-data-[state=checked]:text-cyan-700"
|
|
287
|
+
"item": "style-old-secondary"
|
|
256
288
|
},
|
|
257
289
|
"collab": {
|
|
258
|
-
"item": "
|
|
259
|
-
"itemLeadingIcon": "text-collab-600 dark:text-collab-700 group-data-highlighted:text-collab-900 dark:group-data-highlighted:text-collab-150 group-data-[state=checked]:text-collab-900 dark:group-data-[state=checked]:text-collab-700"
|
|
290
|
+
"item": "style-old-collab"
|
|
260
291
|
},
|
|
261
292
|
"ai": {
|
|
262
|
-
"item": "
|
|
263
|
-
"itemLeadingIcon": "text-ai-600 dark:text-ai-700 group-data-highlighted:text-ai-900 dark:group-data-highlighted:text-ai-150 group-data-[state=checked]:text-ai-900 dark:group-data-[state=checked]:text-ai-700"
|
|
293
|
+
"item": "style-old-ai"
|
|
264
294
|
}
|
|
265
295
|
}
|
|
266
296
|
},
|
|
267
297
|
"compoundVariants": [
|
|
268
298
|
{
|
|
269
|
-
"
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
"
|
|
299
|
+
"colorItem": [
|
|
300
|
+
"air-primary" as typeof colorItem[number],
|
|
301
|
+
"air-primary-success" as typeof colorItem[number],
|
|
302
|
+
"air-primary-alert" as typeof colorItem[number],
|
|
303
|
+
"air-primary-copilot" as typeof colorItem[number],
|
|
304
|
+
"air-primary-warning" as typeof colorItem[number]
|
|
305
|
+
],
|
|
306
|
+
"active": false,
|
|
307
|
+
"class": {
|
|
308
|
+
"item": "text-(--b24ui-background) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
|
|
309
|
+
"itemLeadingIcon": "text-(--b24ui-background) group-data-highlighted:text-(--b24ui-background-hover) group-data-[state=open]:text-(--b24ui-background-hover)"
|
|
310
|
+
}
|
|
277
311
|
},
|
|
278
312
|
{
|
|
279
|
-
"
|
|
280
|
-
|
|
281
|
-
|
|
313
|
+
"colorItem": [
|
|
314
|
+
"air-primary" as typeof colorItem[number],
|
|
315
|
+
"air-primary-success" as typeof colorItem[number],
|
|
316
|
+
"air-primary-alert" as typeof colorItem[number],
|
|
317
|
+
"air-primary-copilot" as typeof colorItem[number],
|
|
318
|
+
"air-primary-warning" as typeof colorItem[number]
|
|
319
|
+
],
|
|
320
|
+
"active": true,
|
|
321
|
+
"class": {
|
|
322
|
+
"item": "text-(--b24ui-background-active)",
|
|
323
|
+
"itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
|
|
324
|
+
}
|
|
282
325
|
},
|
|
283
326
|
{
|
|
284
|
-
"
|
|
285
|
-
"
|
|
286
|
-
"class": "
|
|
327
|
+
"colorItem": "default" as typeof colorItem[number],
|
|
328
|
+
"active": false,
|
|
329
|
+
"class": ""
|
|
287
330
|
},
|
|
288
331
|
{
|
|
289
|
-
"
|
|
290
|
-
"
|
|
291
|
-
"class": "
|
|
332
|
+
"colorItem": "default" as typeof colorItem[number],
|
|
333
|
+
"active": true,
|
|
334
|
+
"class": ""
|
|
292
335
|
},
|
|
293
336
|
{
|
|
294
|
-
"
|
|
295
|
-
|
|
296
|
-
|
|
337
|
+
"colorItem": [
|
|
338
|
+
"danger" as typeof colorItem[number],
|
|
339
|
+
"success" as typeof colorItem[number],
|
|
340
|
+
"warning" as typeof colorItem[number],
|
|
341
|
+
"primary" as typeof colorItem[number],
|
|
342
|
+
"secondary" as typeof colorItem[number],
|
|
343
|
+
"collab" as typeof colorItem[number],
|
|
344
|
+
"ai" as typeof colorItem[number]
|
|
345
|
+
],
|
|
346
|
+
"active": false,
|
|
347
|
+
"class": {
|
|
348
|
+
"item": "text-(--b24ui-background-active) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
|
|
349
|
+
"itemLeadingIcon": "text-(--b24ui-icon) group-data-highlighted:text-(--b24ui-icon) group-data-[state=open]:text-(--b24ui-icon)"
|
|
350
|
+
}
|
|
297
351
|
},
|
|
298
352
|
{
|
|
299
|
-
"
|
|
300
|
-
|
|
301
|
-
|
|
353
|
+
"colorItem": [
|
|
354
|
+
"danger" as typeof colorItem[number],
|
|
355
|
+
"success" as typeof colorItem[number],
|
|
356
|
+
"warning" as typeof colorItem[number],
|
|
357
|
+
"primary" as typeof colorItem[number],
|
|
358
|
+
"secondary" as typeof colorItem[number],
|
|
359
|
+
"collab" as typeof colorItem[number],
|
|
360
|
+
"ai" as typeof colorItem[number]
|
|
361
|
+
],
|
|
362
|
+
"active": true,
|
|
363
|
+
"class": {
|
|
364
|
+
"item": "text-(--b24ui-background-active)",
|
|
365
|
+
"itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
|
|
366
|
+
}
|
|
302
367
|
},
|
|
303
368
|
{
|
|
304
|
-
"
|
|
369
|
+
"size": "xss" as typeof size[number],
|
|
305
370
|
"multiple": true,
|
|
306
|
-
"class":
|
|
371
|
+
"class": {
|
|
372
|
+
"base": "min-h-[20px] h-auto py-[2px] ps-[4px]"
|
|
373
|
+
}
|
|
307
374
|
},
|
|
308
375
|
{
|
|
309
376
|
"size": "xs" as typeof size[number],
|
|
310
377
|
"multiple": true,
|
|
311
|
-
"class":
|
|
378
|
+
"class": {
|
|
379
|
+
"base": "min-h-[24px] h-auto py-[2px] ps-[4px]"
|
|
380
|
+
}
|
|
312
381
|
},
|
|
313
382
|
{
|
|
314
383
|
"size": "sm" as typeof size[number],
|
|
315
384
|
"multiple": true,
|
|
316
|
-
"class":
|
|
385
|
+
"class": {
|
|
386
|
+
"base": "min-h-[28px] h-auto py-[4px] ps-[4px]"
|
|
387
|
+
}
|
|
317
388
|
},
|
|
318
389
|
{
|
|
319
390
|
"size": "md" as typeof size[number],
|
|
320
391
|
"multiple": true,
|
|
321
|
-
"class":
|
|
392
|
+
"class": {
|
|
393
|
+
"base": "min-h-[34px] h-auto py-[4px] ps-[4px]"
|
|
394
|
+
}
|
|
322
395
|
},
|
|
323
396
|
{
|
|
324
397
|
"size": "lg" as typeof size[number],
|
|
325
398
|
"multiple": true,
|
|
326
|
-
"class":
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
"color": "default" as typeof color[number],
|
|
330
|
-
"noBorder": false,
|
|
331
|
-
"underline": false,
|
|
332
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-base-900 dark:focus-visible:ring-base-350"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"color": "default" as typeof color[number],
|
|
336
|
-
"highlight": true,
|
|
337
|
-
"noBorder": false,
|
|
338
|
-
"underline": false,
|
|
339
|
-
"class": "ring ring-inset ring-base-900 dark:ring-base-350"
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"color": "default" as typeof color[number],
|
|
343
|
-
"noBorder": false,
|
|
344
|
-
"underline": true,
|
|
345
|
-
"class": "focus-visible:border-base-900 dark:focus-visible:border-b-base-350"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"color": "default" as typeof color[number],
|
|
349
|
-
"highlight": true,
|
|
350
|
-
"noBorder": false,
|
|
351
|
-
"underline": true,
|
|
352
|
-
"class": "border-b-base-900 dark:border-b-base-350"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
"color": "danger" as typeof color[number],
|
|
356
|
-
"noBorder": false,
|
|
357
|
-
"underline": false,
|
|
358
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-red-500 dark:focus-visible:ring-red-600"
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
"color": "danger" as typeof color[number],
|
|
362
|
-
"highlight": true,
|
|
363
|
-
"noBorder": false,
|
|
364
|
-
"underline": false,
|
|
365
|
-
"class": "ring ring-inset ring-red-500 dark:ring-red-600"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"color": "danger" as typeof color[number],
|
|
369
|
-
"noBorder": false,
|
|
370
|
-
"underline": true,
|
|
371
|
-
"class": "focus-visible:border-b-red-500 dark:focus-visible:border-b-red-600"
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"color": "danger" as typeof color[number],
|
|
375
|
-
"highlight": true,
|
|
376
|
-
"noBorder": false,
|
|
377
|
-
"underline": true,
|
|
378
|
-
"class": "border-b-red-500 dark:border-b-red-600"
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"color": "success" as typeof color[number],
|
|
382
|
-
"noBorder": false,
|
|
383
|
-
"underline": false,
|
|
384
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-green-500 dark:focus-visible:ring-green-600"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"color": "success" as typeof color[number],
|
|
388
|
-
"highlight": true,
|
|
389
|
-
"noBorder": false,
|
|
390
|
-
"underline": false,
|
|
391
|
-
"class": "ring ring-inset ring-green-500 dark:ring-green-600"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"color": "success" as typeof color[number],
|
|
395
|
-
"noBorder": false,
|
|
396
|
-
"underline": true,
|
|
397
|
-
"class": "focus-visible:border-b-green-500 dark:focus-visible:border-b-green-600"
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
"color": "success" as typeof color[number],
|
|
401
|
-
"highlight": true,
|
|
402
|
-
"noBorder": false,
|
|
403
|
-
"underline": true,
|
|
404
|
-
"class": "border-b-green-500 dark:border-b-green-600"
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"color": "warning" as typeof color[number],
|
|
408
|
-
"noBorder": false,
|
|
409
|
-
"underline": false,
|
|
410
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-orange-500 dark:focus-visible:ring-orange-600"
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
"color": "warning" as typeof color[number],
|
|
414
|
-
"highlight": true,
|
|
415
|
-
"noBorder": false,
|
|
416
|
-
"underline": false,
|
|
417
|
-
"class": "ring ring-inset ring-orange-500 dark:ring-orange-600"
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"color": "warning" as typeof color[number],
|
|
421
|
-
"noBorder": false,
|
|
422
|
-
"underline": true,
|
|
423
|
-
"class": "focus-visible:border-b-orange-500 dark:focus-visible:border-b-orange-600"
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"color": "warning" as typeof color[number],
|
|
427
|
-
"highlight": true,
|
|
428
|
-
"noBorder": false,
|
|
429
|
-
"underline": true,
|
|
430
|
-
"class": "border-b-orange-500 dark:border-b-orange-600"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"color": "primary" as typeof color[number],
|
|
434
|
-
"noBorder": false,
|
|
435
|
-
"underline": false,
|
|
436
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-blue-500 dark:focus-visible:ring-blue-600"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"color": "primary" as typeof color[number],
|
|
440
|
-
"highlight": true,
|
|
441
|
-
"noBorder": false,
|
|
442
|
-
"underline": false,
|
|
443
|
-
"class": "ring ring-inset ring-blue-500 dark:ring-blue-600"
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
"color": "primary" as typeof color[number],
|
|
447
|
-
"noBorder": false,
|
|
448
|
-
"underline": true,
|
|
449
|
-
"class": "focus-visible:border-b-blue-500 dark:focus-visible:border-b-blue-600"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"color": "primary" as typeof color[number],
|
|
453
|
-
"highlight": true,
|
|
454
|
-
"noBorder": false,
|
|
455
|
-
"underline": true,
|
|
456
|
-
"class": "border-b-blue-500 dark:border-b-blue-600"
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"color": "secondary" as typeof color[number],
|
|
460
|
-
"noBorder": false,
|
|
461
|
-
"underline": false,
|
|
462
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-cyan-350 dark:focus-visible:ring-cyan-500"
|
|
463
|
-
},
|
|
464
|
-
{
|
|
465
|
-
"color": "secondary" as typeof color[number],
|
|
466
|
-
"highlight": true,
|
|
467
|
-
"noBorder": false,
|
|
468
|
-
"underline": false,
|
|
469
|
-
"class": "ring ring-inset ring-cyan-350 dark:ring-cyan-500"
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"color": "secondary" as typeof color[number],
|
|
473
|
-
"noBorder": false,
|
|
474
|
-
"underline": true,
|
|
475
|
-
"class": "focus-visible:border-b-cyan-350 dark:focus-visible:border-b-cyan-500"
|
|
399
|
+
"class": {
|
|
400
|
+
"base": "min-h-[38px] h-auto py-[4px] ps-[4px]"
|
|
401
|
+
}
|
|
476
402
|
},
|
|
477
403
|
{
|
|
478
|
-
"
|
|
479
|
-
"
|
|
480
|
-
"
|
|
481
|
-
|
|
482
|
-
|
|
404
|
+
"size": "xl" as typeof size[number],
|
|
405
|
+
"multiple": true,
|
|
406
|
+
"class": {
|
|
407
|
+
"base": "min-h-[46px] h-auto"
|
|
408
|
+
}
|
|
483
409
|
},
|
|
484
410
|
{
|
|
485
|
-
"color": "collab" as typeof color[number],
|
|
486
411
|
"noBorder": false,
|
|
487
412
|
"underline": false,
|
|
488
|
-
"class": "
|
|
413
|
+
"class": ""
|
|
489
414
|
},
|
|
490
415
|
{
|
|
491
|
-
"color": "collab" as typeof color[number],
|
|
492
416
|
"highlight": true,
|
|
493
417
|
"noBorder": false,
|
|
494
418
|
"underline": false,
|
|
495
|
-
"class": "ring ring-inset ring-
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"color": "collab" as typeof color[number],
|
|
499
|
-
"noBorder": false,
|
|
500
|
-
"underline": true,
|
|
501
|
-
"class": "focus-visible:border-b-collab-500 dark:focus-visible:border-b-collab-600"
|
|
419
|
+
"class": "ring ring-inset ring-(--b24ui-border-color)"
|
|
502
420
|
},
|
|
503
421
|
{
|
|
504
|
-
"color": "collab" as typeof color[number],
|
|
505
|
-
"highlight": true,
|
|
506
422
|
"noBorder": false,
|
|
507
423
|
"underline": true,
|
|
508
|
-
"class": "
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"color": "ai" as typeof color[number],
|
|
512
|
-
"noBorder": false,
|
|
513
|
-
"underline": false,
|
|
514
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ai-500 dark:focus-visible:ring-ai-600"
|
|
424
|
+
"class": "focus-visible:border-(--b24ui-border-color)"
|
|
515
425
|
},
|
|
516
426
|
{
|
|
517
|
-
"color": "ai" as typeof color[number],
|
|
518
427
|
"highlight": true,
|
|
519
428
|
"noBorder": false,
|
|
520
|
-
"underline": false,
|
|
521
|
-
"class": "ring ring-inset ring-ai-500 dark:ring-ai-600"
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"color": "ai" as typeof color[number],
|
|
525
|
-
"noBorder": false,
|
|
526
429
|
"underline": true,
|
|
527
|
-
"class": "
|
|
430
|
+
"class": "border-b-(--b24ui-border-color)"
|
|
528
431
|
},
|
|
529
432
|
{
|
|
530
|
-
"
|
|
531
|
-
"
|
|
532
|
-
"
|
|
533
|
-
"underline": true,
|
|
534
|
-
"class": "border-b-ai-500 dark:border-b-ai-600"
|
|
433
|
+
"type": "file" as typeof type[number],
|
|
434
|
+
"size": "xss" as typeof size[number],
|
|
435
|
+
"class": "py-[2px]"
|
|
535
436
|
},
|
|
536
437
|
{
|
|
537
438
|
"type": "file" as typeof type[number],
|
|
538
439
|
"size": "xs" as typeof size[number],
|
|
539
|
-
"class": "py-
|
|
440
|
+
"class": "py-[4px]"
|
|
540
441
|
},
|
|
541
442
|
{
|
|
542
443
|
"type": "file" as typeof type[number],
|
|
543
444
|
"size": "sm" as typeof size[number],
|
|
544
|
-
"class": "py-
|
|
445
|
+
"class": "py-[5px]"
|
|
545
446
|
},
|
|
546
447
|
{
|
|
547
448
|
"type": "file" as typeof type[number],
|
|
548
449
|
"size": "md" as typeof size[number],
|
|
549
|
-
"class": "py-
|
|
450
|
+
"class": "py-[7px]"
|
|
550
451
|
},
|
|
551
452
|
{
|
|
552
453
|
"type": "file" as typeof type[number],
|
|
553
454
|
"size": "lg" as typeof size[number],
|
|
554
|
-
"class": "py-
|
|
455
|
+
"class": "py-[9px]"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"type": "file" as typeof type[number],
|
|
459
|
+
"size": "xl" as typeof size[number],
|
|
460
|
+
"class": "py-[11px]"
|
|
555
461
|
},
|
|
556
462
|
{
|
|
557
463
|
"leading": true,
|
|
464
|
+
"noPadding": false,
|
|
465
|
+
"size": "xss" as typeof size[number],
|
|
466
|
+
"class": "ps-[20px]"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"leading": true,
|
|
470
|
+
"noPadding": false,
|
|
558
471
|
"size": "xs" as typeof size[number],
|
|
559
|
-
"class": "ps-
|
|
472
|
+
"class": "ps-[22px]"
|
|
560
473
|
},
|
|
561
474
|
{
|
|
562
475
|
"leading": true,
|
|
476
|
+
"noPadding": false,
|
|
563
477
|
"size": "sm" as typeof size[number],
|
|
564
|
-
"class": "ps-
|
|
478
|
+
"class": "ps-[28px]"
|
|
565
479
|
},
|
|
566
480
|
{
|
|
567
481
|
"leading": true,
|
|
482
|
+
"noPadding": false,
|
|
568
483
|
"size": "md" as typeof size[number],
|
|
569
|
-
"class": "ps-[
|
|
484
|
+
"class": "ps-[34px]"
|
|
570
485
|
},
|
|
571
486
|
{
|
|
572
487
|
"leading": true,
|
|
488
|
+
"noPadding": false,
|
|
573
489
|
"size": "lg" as typeof size[number],
|
|
574
|
-
"class": "ps-[
|
|
490
|
+
"class": "ps-[38px]"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"leading": true,
|
|
494
|
+
"noPadding": false,
|
|
495
|
+
"size": "xl" as typeof size[number],
|
|
496
|
+
"class": "ps-[38px]"
|
|
575
497
|
},
|
|
576
498
|
{
|
|
577
499
|
"trailing": true,
|
|
500
|
+
"noPadding": false,
|
|
501
|
+
"size": "xss" as typeof size[number],
|
|
502
|
+
"class": "pe-[20px]"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"trailing": true,
|
|
506
|
+
"noPadding": false,
|
|
578
507
|
"size": "xs" as typeof size[number],
|
|
579
|
-
"class": "pe-
|
|
508
|
+
"class": "pe-[22px]"
|
|
580
509
|
},
|
|
581
510
|
{
|
|
582
511
|
"trailing": true,
|
|
512
|
+
"noPadding": false,
|
|
583
513
|
"size": "sm" as typeof size[number],
|
|
584
|
-
"class": "pe-
|
|
514
|
+
"class": "pe-[28px]"
|
|
585
515
|
},
|
|
586
516
|
{
|
|
587
517
|
"trailing": true,
|
|
518
|
+
"noPadding": false,
|
|
588
519
|
"size": "md" as typeof size[number],
|
|
589
|
-
"class": "pe-[
|
|
520
|
+
"class": "pe-[34px]"
|
|
590
521
|
},
|
|
591
522
|
{
|
|
592
523
|
"trailing": true,
|
|
524
|
+
"noPadding": false,
|
|
593
525
|
"size": "lg" as typeof size[number],
|
|
594
|
-
"class": "pe-[
|
|
526
|
+
"class": "pe-[38px]"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"trailing": true,
|
|
530
|
+
"noPadding": false,
|
|
531
|
+
"size": "xl" as typeof size[number],
|
|
532
|
+
"class": "pe-[38px]"
|
|
595
533
|
},
|
|
596
534
|
{
|
|
597
535
|
"loading": true,
|
|
@@ -610,8 +548,7 @@ export default {
|
|
|
610
548
|
}
|
|
611
549
|
],
|
|
612
550
|
"defaultVariants": {
|
|
613
|
-
"
|
|
614
|
-
"
|
|
615
|
-
"tagColor": "primary" as typeof tagColor[number]
|
|
551
|
+
"color": "air-primary" as typeof color[number],
|
|
552
|
+
"size": "md" as typeof size[number]
|
|
616
553
|
}
|
|
617
554
|
}
|