@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
package/.nuxt/b24ui/select.ts
CHANGED
|
@@ -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,39 +43,35 @@ 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": "
|
|
49
|
+
"base": "relative inline-flex items-center group px-3 w-full py-0 border-0 focus:outline-none cursor-pointer 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 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)",
|
|
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
54
|
"trailing": "absolute inset-y-0 end-0 flex items-center",
|
|
43
|
-
"trailingIcon": "shrink-0 text-
|
|
44
|
-
"tag": "pointer-events-none select-none absolute z-10 -top-
|
|
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",
|
|
45
57
|
"value": "truncate pointer-events-none",
|
|
46
|
-
"placeholder": "truncate text-
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"group": "
|
|
51
|
-
"empty": "py-
|
|
52
|
-
"label": "flex items-center font-
|
|
53
|
-
"separator": "-mx-
|
|
54
|
-
"item": "group
|
|
55
|
-
"itemLeadingIcon": "shrink-0
|
|
56
|
-
"itemLeadingAvatar": "shrink-0",
|
|
57
|
-
"itemLeadingAvatarSize": "",
|
|
58
|
-
"itemLeadingChip": "shrink-0",
|
|
59
|
-
"itemLeadingChipSize": "",
|
|
60
|
-
"itemTrailing": "
|
|
61
|
-
"itemTrailingIcon": "shrink-0",
|
|
62
|
-
"itemLabel": "truncate"
|
|
58
|
+
"placeholder": "truncate text-(--ui-color-design-plain-na-content-secondary)",
|
|
59
|
+
"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",
|
|
60
|
+
"viewport": "relative w-[240px] max-h-[40vh] overflow-x-hidden overflow-y-auto scrollbar-thin",
|
|
61
|
+
"arrow": "fill-(--popup-window-background-color)",
|
|
62
|
+
"group": "grid",
|
|
63
|
+
"empty": "h-(--popup-window-delimiter-section-height) mt-(--menu-item-block-stack-space) 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)",
|
|
64
|
+
"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)",
|
|
65
|
+
"separator": "my-[8px] mx-[18px] h-[1px] bg-(--popup-window-delimiter-bg-color)",
|
|
66
|
+
"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",
|
|
67
|
+
"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",
|
|
68
|
+
"itemLeadingAvatar": "shrink-0 size-[16px] mx-px",
|
|
69
|
+
"itemLeadingAvatarSize": "2xs",
|
|
70
|
+
"itemLeadingChip": "shrink-0 size-[16px] mx-px",
|
|
71
|
+
"itemLeadingChipSize": "sm",
|
|
72
|
+
"itemTrailing": "ml-auto rtl:ml-0 rtl:mr-auto inline-flex gap-1.5 items-center",
|
|
73
|
+
"itemTrailingIcon": "shrink-0 size-[24px] text-(--ui-color-design-plain-content-icon-secondary)",
|
|
74
|
+
"itemLabel": "truncate ms-[2px] -mt-px group-data-[state=checked]:text-(--ui-color-accent-main-primary)"
|
|
63
75
|
},
|
|
64
76
|
"variants": {
|
|
65
77
|
"buttonGroup": {
|
|
@@ -76,106 +88,100 @@ export default {
|
|
|
76
88
|
"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"
|
|
77
89
|
},
|
|
78
90
|
"size": {
|
|
91
|
+
"xss": {
|
|
92
|
+
"base": "h-[20px] gap-1 text-(length:--ui-font-size-4xs)/[normal]",
|
|
93
|
+
"leading": "px-1",
|
|
94
|
+
"trailing": "px-1",
|
|
95
|
+
"leadingIcon": "size-[12px]",
|
|
96
|
+
"leadingAvatarSize": "3xs",
|
|
97
|
+
"trailingIcon": "size-[12px]"
|
|
98
|
+
},
|
|
79
99
|
"xs": {
|
|
80
|
-
"base": "h-
|
|
100
|
+
"base": "h-[24px] gap-1 text-(length:--ui-font-size-xs)/[normal]",
|
|
81
101
|
"leading": "px-1",
|
|
82
102
|
"trailing": "px-1",
|
|
83
|
-
"leadingIcon": "size-
|
|
84
|
-
"leadingAvatarSize": "
|
|
85
|
-
"trailingIcon": "size-
|
|
86
|
-
"label": "h-9 ps-2 pe-3 text-sm gap-2",
|
|
87
|
-
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
88
|
-
"itemLeadingIcon": "size-5",
|
|
89
|
-
"itemLeadingAvatarSize": "2xs",
|
|
90
|
-
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
91
|
-
"itemLeadingChipSize": "sm",
|
|
92
|
-
"itemTrailingIcon": "size-3"
|
|
103
|
+
"leadingIcon": "size-[14px]",
|
|
104
|
+
"leadingAvatarSize": "3xs",
|
|
105
|
+
"trailingIcon": "size-[14px]"
|
|
93
106
|
},
|
|
94
107
|
"sm": {
|
|
95
|
-
"base": "h-
|
|
108
|
+
"base": "h-[28px] gap-1.5 text-(length:--ui-font-size-sm)/[normal]",
|
|
96
109
|
"leading": "px-1.5",
|
|
97
110
|
"trailing": "px-1.5",
|
|
98
|
-
"leadingIcon": "size-
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
103
|
-
"itemLeadingIcon": "size-5",
|
|
104
|
-
"itemLeadingAvatarSize": "2xs",
|
|
105
|
-
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
106
|
-
"itemLeadingChipSize": "sm",
|
|
107
|
-
"itemTrailingIcon": "size-3"
|
|
111
|
+
"leadingIcon": "size-[16px]",
|
|
112
|
+
"leadingAvatar": "size-[16px]",
|
|
113
|
+
"leadingAvatarSize": "2xs",
|
|
114
|
+
"trailingIcon": "size-[16px]"
|
|
108
115
|
},
|
|
109
116
|
"md": {
|
|
110
|
-
"base": "h-
|
|
117
|
+
"base": "h-[34px] gap-1.5 text-(length:--ui-font-size-lg)/[normal]",
|
|
111
118
|
"leading": "px-2",
|
|
112
119
|
"trailing": "px-2",
|
|
113
|
-
"leadingIcon": "size-[
|
|
114
|
-
"leadingAvatarSize": "
|
|
115
|
-
"trailingIcon": "size-
|
|
116
|
-
"label": "h-9 ps-2 pe-3 text-sm gap-2",
|
|
117
|
-
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
118
|
-
"itemLeadingIcon": "size-5",
|
|
119
|
-
"itemLeadingAvatarSize": "2xs",
|
|
120
|
-
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
121
|
-
"itemLeadingChipSize": "sm",
|
|
122
|
-
"itemTrailingIcon": "size-3"
|
|
120
|
+
"leadingIcon": "size-[18px]",
|
|
121
|
+
"leadingAvatarSize": "2xs",
|
|
122
|
+
"trailingIcon": "size-[18px]"
|
|
123
123
|
},
|
|
124
124
|
"lg": {
|
|
125
|
-
"base": "h-
|
|
125
|
+
"base": "h-[38px] gap-2 text-(length:--ui-font-size-lg)/[normal]",
|
|
126
|
+
"leading": "px-2",
|
|
127
|
+
"trailing": "px-2",
|
|
128
|
+
"leadingIcon": "size-[22px]",
|
|
129
|
+
"leadingAvatarSize": "2xs",
|
|
130
|
+
"trailingIcon": "size-[22px]"
|
|
131
|
+
},
|
|
132
|
+
"xl": {
|
|
133
|
+
"base": "h-[46px] gap-2 text-(length:--ui-font-size-2xl)/[normal]",
|
|
126
134
|
"leading": "px-2",
|
|
127
135
|
"trailing": "px-2",
|
|
128
|
-
"leadingIcon": "size-[
|
|
129
|
-
"leadingAvatarSize": "
|
|
130
|
-
"trailingIcon": "size-
|
|
131
|
-
"label": "h-9 ps-2 pe-3 text-sm gap-2",
|
|
132
|
-
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
133
|
-
"itemLeadingIcon": "size-5",
|
|
134
|
-
"itemLeadingAvatarSize": "2xs",
|
|
135
|
-
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
136
|
-
"itemLeadingChipSize": "sm",
|
|
137
|
-
"itemTrailingIcon": "size-3"
|
|
136
|
+
"leadingIcon": "size-[22px]",
|
|
137
|
+
"leadingAvatarSize": "2xs",
|
|
138
|
+
"trailingIcon": "size-[22px]"
|
|
138
139
|
}
|
|
139
140
|
},
|
|
140
141
|
"color": {
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
"
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
"
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
142
|
+
"air-primary": {
|
|
143
|
+
"base": "style-filled"
|
|
144
|
+
},
|
|
145
|
+
"air-primary-success": {
|
|
146
|
+
"base": "style-filled-success"
|
|
147
|
+
},
|
|
148
|
+
"air-primary-alert": {
|
|
149
|
+
"base": "style-filled-alert"
|
|
150
|
+
},
|
|
151
|
+
"air-primary-copilot": {
|
|
152
|
+
"base": "style-filled-copilot"
|
|
153
|
+
},
|
|
154
|
+
"air-primary-warning": {
|
|
155
|
+
"base": "style-filled-warning"
|
|
156
|
+
},
|
|
151
157
|
"default": {
|
|
152
|
-
"
|
|
158
|
+
"base": "style-old-default"
|
|
153
159
|
},
|
|
154
160
|
"danger": {
|
|
155
|
-
"
|
|
161
|
+
"base": "style-old-danger"
|
|
156
162
|
},
|
|
157
163
|
"success": {
|
|
158
|
-
"
|
|
164
|
+
"base": "style-old-success"
|
|
159
165
|
},
|
|
160
166
|
"warning": {
|
|
161
|
-
"
|
|
167
|
+
"base": "style-old-warning"
|
|
162
168
|
},
|
|
163
169
|
"primary": {
|
|
164
|
-
"
|
|
170
|
+
"base": "style-old-primary"
|
|
165
171
|
},
|
|
166
172
|
"secondary": {
|
|
167
|
-
"
|
|
173
|
+
"base": "style-old-secondary"
|
|
168
174
|
},
|
|
169
175
|
"collab": {
|
|
170
|
-
"
|
|
176
|
+
"base": "style-old-collab"
|
|
171
177
|
},
|
|
172
178
|
"ai": {
|
|
173
|
-
"
|
|
179
|
+
"base": "style-old-ai"
|
|
174
180
|
}
|
|
175
181
|
},
|
|
176
182
|
"rounded": {
|
|
177
|
-
"true": "rounded-3xl",
|
|
178
|
-
"false": "rounded-
|
|
183
|
+
"true": "rounded-(--ui-border-radius-3xl)",
|
|
184
|
+
"false": "rounded-(--ui-border-radius-sm)"
|
|
179
185
|
},
|
|
180
186
|
"noPadding": {
|
|
181
187
|
"true": {
|
|
@@ -183,10 +189,10 @@ export default {
|
|
|
183
189
|
}
|
|
184
190
|
},
|
|
185
191
|
"noBorder": {
|
|
186
|
-
"true": "ring-0 focus-visible:ring-0"
|
|
192
|
+
"true": "ring-0 focus-visible:ring-0 style-transparent-bg"
|
|
187
193
|
},
|
|
188
194
|
"underline": {
|
|
189
|
-
"true": "ring-0 focus-visible:ring-0 border-b border-b-
|
|
195
|
+
"true": "ring-0 focus-visible:ring-0 style-transparent-bg border-b-1 border-b-(--ui-color-design-outline-stroke) rounded-none"
|
|
190
196
|
},
|
|
191
197
|
"leading": {
|
|
192
198
|
"true": ""
|
|
@@ -198,311 +204,251 @@ export default {
|
|
|
198
204
|
"true": ""
|
|
199
205
|
},
|
|
200
206
|
"highlight": {
|
|
201
|
-
"true": ""
|
|
207
|
+
"true": "ring ring-inset ring-(--b24ui-border-color)"
|
|
202
208
|
},
|
|
203
209
|
"type": {
|
|
204
|
-
"file":
|
|
210
|
+
"file": [
|
|
211
|
+
"file:me-1.5",
|
|
212
|
+
"file:text-(--ui-color-design-plain-na-content-secondary)",
|
|
213
|
+
"file:outline-none"
|
|
214
|
+
]
|
|
205
215
|
},
|
|
206
216
|
"colorItem": {
|
|
207
|
-
"
|
|
217
|
+
"air-primary": {
|
|
218
|
+
"item": "style-filled"
|
|
219
|
+
},
|
|
220
|
+
"air-primary-success": {
|
|
221
|
+
"item": "style-filled-success"
|
|
222
|
+
},
|
|
223
|
+
"air-primary-alert": {
|
|
224
|
+
"item": "style-filled-alert"
|
|
225
|
+
},
|
|
226
|
+
"air-primary-copilot": {
|
|
227
|
+
"item": "style-filled-copilot"
|
|
228
|
+
},
|
|
229
|
+
"air-primary-warning": {
|
|
230
|
+
"item": "style-filled-warning"
|
|
231
|
+
},
|
|
232
|
+
"default": {
|
|
233
|
+
"item": "style-old-default"
|
|
234
|
+
},
|
|
208
235
|
"danger": {
|
|
209
|
-
"item": "
|
|
210
|
-
"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"
|
|
236
|
+
"item": "style-old-danger"
|
|
211
237
|
},
|
|
212
238
|
"success": {
|
|
213
|
-
"item": "
|
|
214
|
-
"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"
|
|
239
|
+
"item": "style-old-success"
|
|
215
240
|
},
|
|
216
241
|
"warning": {
|
|
217
|
-
"item": "
|
|
218
|
-
"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"
|
|
242
|
+
"item": "style-old-warning"
|
|
219
243
|
},
|
|
220
244
|
"primary": {
|
|
221
|
-
"item": "
|
|
222
|
-
"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"
|
|
245
|
+
"item": "style-old-primary"
|
|
223
246
|
},
|
|
224
247
|
"secondary": {
|
|
225
|
-
"item": "
|
|
226
|
-
"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"
|
|
248
|
+
"item": "style-old-secondary"
|
|
227
249
|
},
|
|
228
250
|
"collab": {
|
|
229
|
-
"item": "
|
|
230
|
-
"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"
|
|
251
|
+
"item": "style-old-collab"
|
|
231
252
|
},
|
|
232
253
|
"ai": {
|
|
233
|
-
"item": "
|
|
234
|
-
"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"
|
|
254
|
+
"item": "style-old-ai"
|
|
235
255
|
}
|
|
236
256
|
}
|
|
237
257
|
},
|
|
238
258
|
"compoundVariants": [
|
|
239
259
|
{
|
|
240
|
-
"
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
{
|
|
253
|
-
"color": "default" as typeof color[number],
|
|
254
|
-
"noBorder": false,
|
|
255
|
-
"underline": true,
|
|
256
|
-
"class": "focus-visible:border-base-900 dark:focus-visible:border-b-base-350"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"color": "default" as typeof color[number],
|
|
260
|
-
"highlight": true,
|
|
261
|
-
"noBorder": false,
|
|
262
|
-
"underline": true,
|
|
263
|
-
"class": "border-b-base-900 dark:border-b-base-350"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"color": "danger" as typeof color[number],
|
|
267
|
-
"noBorder": false,
|
|
268
|
-
"underline": false,
|
|
269
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-red-500 dark:focus-visible:ring-red-600"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"color": "danger" as typeof color[number],
|
|
273
|
-
"highlight": true,
|
|
274
|
-
"noBorder": false,
|
|
275
|
-
"underline": false,
|
|
276
|
-
"class": "ring ring-inset ring-red-500 dark:ring-red-600"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"color": "danger" as typeof color[number],
|
|
280
|
-
"noBorder": false,
|
|
281
|
-
"underline": true,
|
|
282
|
-
"class": "focus-visible:border-b-red-500 dark:focus-visible:border-b-red-600"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"color": "danger" as typeof color[number],
|
|
286
|
-
"highlight": true,
|
|
287
|
-
"noBorder": false,
|
|
288
|
-
"underline": true,
|
|
289
|
-
"class": "border-b-red-500 dark:border-b-red-600"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"color": "success" as typeof color[number],
|
|
293
|
-
"noBorder": false,
|
|
294
|
-
"underline": false,
|
|
295
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-green-500 dark:focus-visible:ring-green-600"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"color": "success" as typeof color[number],
|
|
299
|
-
"highlight": true,
|
|
300
|
-
"noBorder": false,
|
|
301
|
-
"underline": false,
|
|
302
|
-
"class": "ring ring-inset ring-green-500 dark:ring-green-600"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"color": "success" as typeof color[number],
|
|
306
|
-
"noBorder": false,
|
|
307
|
-
"underline": true,
|
|
308
|
-
"class": "focus-visible:border-b-green-500 dark:focus-visible:border-b-green-600"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"color": "success" as typeof color[number],
|
|
312
|
-
"highlight": true,
|
|
313
|
-
"noBorder": false,
|
|
314
|
-
"underline": true,
|
|
315
|
-
"class": "border-b-green-500 dark:border-b-green-600"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"color": "warning" as typeof color[number],
|
|
319
|
-
"noBorder": false,
|
|
320
|
-
"underline": false,
|
|
321
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-orange-500 dark:focus-visible:ring-orange-600"
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"color": "warning" as typeof color[number],
|
|
325
|
-
"highlight": true,
|
|
326
|
-
"noBorder": false,
|
|
327
|
-
"underline": false,
|
|
328
|
-
"class": "ring ring-inset ring-orange-500 dark:ring-orange-600"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"color": "warning" as typeof color[number],
|
|
332
|
-
"noBorder": false,
|
|
333
|
-
"underline": true,
|
|
334
|
-
"class": "focus-visible:border-b-orange-500 dark:focus-visible:border-b-orange-600"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"color": "warning" as typeof color[number],
|
|
338
|
-
"highlight": true,
|
|
339
|
-
"noBorder": false,
|
|
340
|
-
"underline": true,
|
|
341
|
-
"class": "border-b-orange-500 dark:border-b-orange-600"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"color": "primary" as typeof color[number],
|
|
345
|
-
"noBorder": false,
|
|
346
|
-
"underline": false,
|
|
347
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-blue-500 dark:focus-visible:ring-blue-600"
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"color": "primary" as typeof color[number],
|
|
351
|
-
"highlight": true,
|
|
352
|
-
"noBorder": false,
|
|
353
|
-
"underline": false,
|
|
354
|
-
"class": "ring ring-inset ring-blue-500 dark:ring-blue-600"
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
"color": "primary" as typeof color[number],
|
|
358
|
-
"noBorder": false,
|
|
359
|
-
"underline": true,
|
|
360
|
-
"class": "focus-visible:border-b-blue-500 dark:focus-visible:border-b-blue-600"
|
|
260
|
+
"colorItem": [
|
|
261
|
+
"air-primary" as typeof colorItem[number],
|
|
262
|
+
"air-primary-success" as typeof colorItem[number],
|
|
263
|
+
"air-primary-alert" as typeof colorItem[number],
|
|
264
|
+
"air-primary-copilot" as typeof colorItem[number],
|
|
265
|
+
"air-primary-warning" as typeof colorItem[number]
|
|
266
|
+
],
|
|
267
|
+
"active": false,
|
|
268
|
+
"class": {
|
|
269
|
+
"item": "text-(--b24ui-background) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
|
|
270
|
+
"itemLeadingIcon": "text-(--b24ui-background) group-data-highlighted:text-(--b24ui-background-hover) group-data-[state=open]:text-(--b24ui-background-hover)"
|
|
271
|
+
}
|
|
361
272
|
},
|
|
362
273
|
{
|
|
363
|
-
"
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
274
|
+
"colorItem": [
|
|
275
|
+
"air-primary" as typeof colorItem[number],
|
|
276
|
+
"air-primary-success" as typeof colorItem[number],
|
|
277
|
+
"air-primary-alert" as typeof colorItem[number],
|
|
278
|
+
"air-primary-copilot" as typeof colorItem[number],
|
|
279
|
+
"air-primary-warning" as typeof colorItem[number]
|
|
280
|
+
],
|
|
281
|
+
"active": true,
|
|
282
|
+
"class": {
|
|
283
|
+
"item": "text-(--b24ui-background-active)",
|
|
284
|
+
"itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
|
|
285
|
+
}
|
|
368
286
|
},
|
|
369
287
|
{
|
|
370
|
-
"
|
|
371
|
-
"
|
|
372
|
-
"
|
|
373
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-cyan-350 dark:focus-visible:ring-cyan-500"
|
|
288
|
+
"colorItem": "default" as typeof colorItem[number],
|
|
289
|
+
"active": false,
|
|
290
|
+
"class": ""
|
|
374
291
|
},
|
|
375
292
|
{
|
|
376
|
-
"
|
|
377
|
-
"
|
|
378
|
-
"
|
|
379
|
-
"underline": false,
|
|
380
|
-
"class": "ring ring-inset ring-cyan-350 dark:ring-cyan-500"
|
|
293
|
+
"colorItem": "default" as typeof colorItem[number],
|
|
294
|
+
"active": true,
|
|
295
|
+
"class": ""
|
|
381
296
|
},
|
|
382
297
|
{
|
|
383
|
-
"
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
298
|
+
"colorItem": [
|
|
299
|
+
"danger" as typeof colorItem[number],
|
|
300
|
+
"success" as typeof colorItem[number],
|
|
301
|
+
"warning" as typeof colorItem[number],
|
|
302
|
+
"primary" as typeof colorItem[number],
|
|
303
|
+
"secondary" as typeof colorItem[number],
|
|
304
|
+
"collab" as typeof colorItem[number],
|
|
305
|
+
"ai" as typeof colorItem[number]
|
|
306
|
+
],
|
|
307
|
+
"active": false,
|
|
308
|
+
"class": {
|
|
309
|
+
"item": "text-(--b24ui-background-active) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
|
|
310
|
+
"itemLeadingIcon": "text-(--b24ui-icon) group-data-highlighted:text-(--b24ui-icon) group-data-[state=open]:text-(--b24ui-icon)"
|
|
311
|
+
}
|
|
387
312
|
},
|
|
388
313
|
{
|
|
389
|
-
"
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
314
|
+
"colorItem": [
|
|
315
|
+
"danger" as typeof colorItem[number],
|
|
316
|
+
"success" as typeof colorItem[number],
|
|
317
|
+
"warning" as typeof colorItem[number],
|
|
318
|
+
"primary" as typeof colorItem[number],
|
|
319
|
+
"secondary" as typeof colorItem[number],
|
|
320
|
+
"collab" as typeof colorItem[number],
|
|
321
|
+
"ai" as typeof colorItem[number]
|
|
322
|
+
],
|
|
323
|
+
"active": true,
|
|
324
|
+
"class": {
|
|
325
|
+
"item": "text-(--b24ui-background-active)",
|
|
326
|
+
"itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
|
|
327
|
+
}
|
|
394
328
|
},
|
|
395
329
|
{
|
|
396
|
-
"color": "collab" as typeof color[number],
|
|
397
330
|
"noBorder": false,
|
|
398
331
|
"underline": false,
|
|
399
|
-
"class": "
|
|
332
|
+
"class": ""
|
|
400
333
|
},
|
|
401
334
|
{
|
|
402
|
-
"color": "collab" as typeof color[number],
|
|
403
335
|
"highlight": true,
|
|
404
336
|
"noBorder": false,
|
|
405
337
|
"underline": false,
|
|
406
|
-
"class": "ring ring-inset ring-
|
|
338
|
+
"class": "ring ring-inset ring-(--b24ui-border-color)"
|
|
407
339
|
},
|
|
408
340
|
{
|
|
409
|
-
"color": "collab" as typeof color[number],
|
|
410
341
|
"noBorder": false,
|
|
411
342
|
"underline": true,
|
|
412
|
-
"class": "focus
|
|
343
|
+
"class": "focus:border-(--b24ui-border-color)"
|
|
413
344
|
},
|
|
414
345
|
{
|
|
415
|
-
"color": "collab" as typeof color[number],
|
|
416
346
|
"highlight": true,
|
|
417
347
|
"noBorder": false,
|
|
418
348
|
"underline": true,
|
|
419
|
-
"class": "border-b-
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
"color": "ai" as typeof color[number],
|
|
423
|
-
"noBorder": false,
|
|
424
|
-
"underline": false,
|
|
425
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ai-500 dark:focus-visible:ring-ai-600"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
"color": "ai" as typeof color[number],
|
|
429
|
-
"highlight": true,
|
|
430
|
-
"noBorder": false,
|
|
431
|
-
"underline": false,
|
|
432
|
-
"class": "ring ring-inset ring-ai-500 dark:ring-ai-600"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"color": "ai" as typeof color[number],
|
|
436
|
-
"noBorder": false,
|
|
437
|
-
"underline": true,
|
|
438
|
-
"class": "focus-visible:border-b-ai-500 dark:focus-visible:border-b-ai-600"
|
|
349
|
+
"class": "border-b-(--b24ui-border-color)"
|
|
439
350
|
},
|
|
440
351
|
{
|
|
441
|
-
"
|
|
442
|
-
"
|
|
443
|
-
"
|
|
444
|
-
"underline": true,
|
|
445
|
-
"class": "border-b-ai-500 dark:border-b-ai-600"
|
|
352
|
+
"type": "file" as typeof type[number],
|
|
353
|
+
"size": "xss" as typeof size[number],
|
|
354
|
+
"class": "py-[2px]"
|
|
446
355
|
},
|
|
447
356
|
{
|
|
448
357
|
"type": "file" as typeof type[number],
|
|
449
358
|
"size": "xs" as typeof size[number],
|
|
450
|
-
"class": "py-
|
|
359
|
+
"class": "py-[4px]"
|
|
451
360
|
},
|
|
452
361
|
{
|
|
453
362
|
"type": "file" as typeof type[number],
|
|
454
363
|
"size": "sm" as typeof size[number],
|
|
455
|
-
"class": "py-
|
|
364
|
+
"class": "py-[5px]"
|
|
456
365
|
},
|
|
457
366
|
{
|
|
458
367
|
"type": "file" as typeof type[number],
|
|
459
368
|
"size": "md" as typeof size[number],
|
|
460
|
-
"class": "py-
|
|
369
|
+
"class": "py-[7px]"
|
|
461
370
|
},
|
|
462
371
|
{
|
|
463
372
|
"type": "file" as typeof type[number],
|
|
464
373
|
"size": "lg" as typeof size[number],
|
|
465
|
-
"class": "py-
|
|
374
|
+
"class": "py-[9px]"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"type": "file" as typeof type[number],
|
|
378
|
+
"size": "xl" as typeof size[number],
|
|
379
|
+
"class": "py-[11px]"
|
|
466
380
|
},
|
|
467
381
|
{
|
|
468
382
|
"leading": true,
|
|
383
|
+
"noPadding": false,
|
|
384
|
+
"size": "xss" as typeof size[number],
|
|
385
|
+
"class": "ps-[20px]"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"leading": true,
|
|
389
|
+
"noPadding": false,
|
|
469
390
|
"size": "xs" as typeof size[number],
|
|
470
|
-
"class": "ps-
|
|
391
|
+
"class": "ps-[22px]"
|
|
471
392
|
},
|
|
472
393
|
{
|
|
473
394
|
"leading": true,
|
|
395
|
+
"noPadding": false,
|
|
474
396
|
"size": "sm" as typeof size[number],
|
|
475
|
-
"class": "ps-
|
|
397
|
+
"class": "ps-[28px]"
|
|
476
398
|
},
|
|
477
399
|
{
|
|
478
400
|
"leading": true,
|
|
401
|
+
"noPadding": false,
|
|
479
402
|
"size": "md" as typeof size[number],
|
|
480
|
-
"class": "ps-[
|
|
403
|
+
"class": "ps-[34px]"
|
|
481
404
|
},
|
|
482
405
|
{
|
|
483
406
|
"leading": true,
|
|
407
|
+
"noPadding": false,
|
|
484
408
|
"size": "lg" as typeof size[number],
|
|
485
|
-
"class": "ps-[
|
|
409
|
+
"class": "ps-[38px]"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"leading": true,
|
|
413
|
+
"noPadding": false,
|
|
414
|
+
"size": "xl" as typeof size[number],
|
|
415
|
+
"class": "ps-[38px]"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"trailing": true,
|
|
419
|
+
"noPadding": false,
|
|
420
|
+
"size": "xss" as typeof size[number],
|
|
421
|
+
"class": "pe-[20px]"
|
|
486
422
|
},
|
|
487
423
|
{
|
|
488
424
|
"trailing": true,
|
|
425
|
+
"noPadding": false,
|
|
489
426
|
"size": "xs" as typeof size[number],
|
|
490
|
-
"class": "pe-
|
|
427
|
+
"class": "pe-[22px]"
|
|
491
428
|
},
|
|
492
429
|
{
|
|
493
430
|
"trailing": true,
|
|
431
|
+
"noPadding": false,
|
|
494
432
|
"size": "sm" as typeof size[number],
|
|
495
|
-
"class": "pe-
|
|
433
|
+
"class": "pe-[28px]"
|
|
496
434
|
},
|
|
497
435
|
{
|
|
498
436
|
"trailing": true,
|
|
437
|
+
"noPadding": false,
|
|
499
438
|
"size": "md" as typeof size[number],
|
|
500
|
-
"class": "pe-[
|
|
439
|
+
"class": "pe-[34px]"
|
|
501
440
|
},
|
|
502
441
|
{
|
|
503
442
|
"trailing": true,
|
|
443
|
+
"noPadding": false,
|
|
504
444
|
"size": "lg" as typeof size[number],
|
|
505
|
-
"class": "pe-[
|
|
445
|
+
"class": "pe-[38px]"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"trailing": true,
|
|
449
|
+
"noPadding": false,
|
|
450
|
+
"size": "xl" as typeof size[number],
|
|
451
|
+
"class": "pe-[38px]"
|
|
506
452
|
},
|
|
507
453
|
{
|
|
508
454
|
"loading": true,
|
|
@@ -521,8 +467,7 @@ export default {
|
|
|
521
467
|
}
|
|
522
468
|
],
|
|
523
469
|
"defaultVariants": {
|
|
524
|
-
"
|
|
525
|
-
"
|
|
526
|
-
"tagColor": "primary" as typeof tagColor[number]
|
|
470
|
+
"color": "air-primary" as typeof color[number],
|
|
471
|
+
"size": "md" as typeof size[number]
|
|
527
472
|
}
|
|
528
473
|
}
|