@bitrix24/b24ui-nuxt 0.7.2 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nuxt/b24ui/accordion.ts +3 -3
- package/.nuxt/b24ui/advice.ts +6 -5
- package/.nuxt/b24ui/alert.ts +102 -49
- package/.nuxt/b24ui/avatar-group.ts +10 -10
- package/.nuxt/b24ui/avatar.ts +18 -18
- package/.nuxt/b24ui/badge.ts +167 -176
- package/.nuxt/b24ui/button-group.ts +3 -1
- package/.nuxt/b24ui/button.ts +179 -170
- package/.nuxt/b24ui/calendar.ts +48 -28
- package/.nuxt/b24ui/checkbox.ts +82 -85
- package/.nuxt/b24ui/chip.ts +121 -32
- package/.nuxt/b24ui/container.ts +1 -1
- package/.nuxt/b24ui/content/table-wrapper.ts +11 -11
- package/.nuxt/b24ui/countdown.ts +11 -11
- package/.nuxt/b24ui/description-list.ts +6 -6
- package/.nuxt/b24ui/dropdown-menu.ts +111 -183
- package/.nuxt/b24ui/form-field.ts +19 -19
- package/.nuxt/b24ui/index.ts +0 -1
- package/.nuxt/b24ui/input-menu.ts +294 -357
- package/.nuxt/b24ui/input-number.ts +111 -259
- package/.nuxt/b24ui/input.ts +136 -259
- package/.nuxt/b24ui/kbd.ts +15 -13
- package/.nuxt/b24ui/link.ts +5 -5
- package/.nuxt/b24ui/modal.ts +14 -12
- package/.nuxt/b24ui/navbar-divider.ts +1 -1
- package/.nuxt/b24ui/navbar-section.ts +1 -1
- package/.nuxt/b24ui/navbar.ts +1 -1
- package/.nuxt/b24ui/navigation-menu.ts +70 -754
- package/.nuxt/b24ui/popover.ts +2 -2
- package/.nuxt/b24ui/progress.ts +58 -68
- package/.nuxt/b24ui/prose/a.ts +1 -1
- package/.nuxt/b24ui/prose/blockquote.ts +1 -1
- package/.nuxt/b24ui/prose/code.ts +45 -9
- package/.nuxt/b24ui/prose/h1.ts +21 -2
- package/.nuxt/b24ui/prose/h2.ts +21 -12
- package/.nuxt/b24ui/prose/h3.ts +21 -12
- package/.nuxt/b24ui/prose/h4.ts +21 -12
- package/.nuxt/b24ui/prose/h5.ts +21 -12
- package/.nuxt/b24ui/prose/h6.ts +21 -12
- package/.nuxt/b24ui/prose/hr.ts +1 -1
- package/.nuxt/b24ui/prose/ol.ts +1 -1
- package/.nuxt/b24ui/prose/p.ts +26 -1
- package/.nuxt/b24ui/prose/thead.ts +1 -1
- package/.nuxt/b24ui/prose/ul.ts +1 -1
- package/.nuxt/b24ui/radio-group.ts +115 -155
- package/.nuxt/b24ui/range.ts +38 -26
- package/.nuxt/b24ui/select-menu.ts +251 -306
- package/.nuxt/b24ui/select.ts +246 -301
- package/.nuxt/b24ui/separator.ts +40 -85
- package/.nuxt/b24ui/sidebar-header.ts +1 -1
- package/.nuxt/b24ui/sidebar-heading.ts +1 -1
- package/.nuxt/b24ui/sidebar-layout.ts +130 -19
- package/.nuxt/b24ui/sidebar-section.ts +1 -1
- package/.nuxt/b24ui/skeleton.ts +19 -1
- package/.nuxt/b24ui/slideover.ts +35 -34
- package/.nuxt/b24ui/switch.ts +59 -48
- package/.nuxt/b24ui/tabs.ts +26 -239
- package/.nuxt/b24ui/textarea.ts +50 -236
- package/.nuxt/b24ui/toast.ts +38 -30
- package/.nuxt/b24ui/toaster.ts +1 -1
- package/.nuxt/b24ui/tooltip.ts +5 -5
- package/cli/templates.mjs +2 -1
- package/dist/meta.d.mts +18759 -5002
- package/dist/meta.mjs +18759 -5002
- package/dist/module.d.mts +1 -0
- package/dist/module.json +2 -2
- package/dist/module.mjs +3 -5
- package/dist/runtime/air-design-tokens/001_b24_global.css +1 -0
- package/dist/runtime/air-design-tokens/002_b24_context_utility.css +0 -0
- package/dist/runtime/air-design-tokens/003_b24_context_light.css +1 -0
- package/dist/runtime/air-design-tokens/004_b24_context_dark.css +1 -0
- package/dist/runtime/air-design-tokens/005_b24_context_edge-light.css +1 -0
- package/dist/runtime/air-design-tokens/006_b24_context_edge-dark.css +1 -0
- package/dist/runtime/air-design-tokens/007_b24_global.css +1 -0
- package/dist/runtime/air-design-tokens/008_ui_global.css +1 -0
- package/dist/runtime/air-design-tokens/009_b24_tools.css +1 -0
- package/dist/runtime/air-design-tokens/components/badge-counter.css +1 -0
- package/dist/runtime/air-design-tokens/components/button.css +1 -0
- package/dist/runtime/air-design-tokens/components/navigation-menu.css +1 -0
- package/dist/runtime/air-design-tokens/components/popup.css +1 -0
- package/dist/runtime/air-design-tokens/components/scrollbar.css +2 -0
- package/dist/runtime/air-design-tokens/index.css +1 -0
- package/dist/runtime/components/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/Advice.vue +1 -13
- package/dist/runtime/components/Advice.vue.d.ts +1 -1
- package/dist/runtime/components/Alert.vue +6 -4
- package/dist/runtime/components/Alert.vue.d.ts +11 -4
- package/dist/runtime/components/App.vue.d.ts +1 -1
- package/dist/runtime/components/Avatar.vue.d.ts +1 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.vue +7 -11
- package/dist/runtime/components/Badge.vue.d.ts +6 -8
- package/dist/runtime/components/Button.vue +18 -15
- package/dist/runtime/components/Button.vue.d.ts +5 -7
- package/dist/runtime/components/ButtonGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue +8 -8
- package/dist/runtime/components/Calendar.vue.d.ts +14 -8
- package/dist/runtime/components/Checkbox.vue.d.ts +2 -2
- package/dist/runtime/components/Chip.vue +28 -7
- package/dist/runtime/components/Chip.vue.d.ts +22 -2
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/Container.vue.d.ts +1 -1
- package/dist/runtime/components/Countdown.vue.d.ts +5 -3
- package/dist/runtime/components/DescriptionList.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenu.vue +20 -9
- package/dist/runtime/components/DropdownMenu.vue.d.ts +1 -5
- package/dist/runtime/components/DropdownMenuContent.vue +29 -7
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +14 -6
- package/dist/runtime/components/Form.vue +3 -3
- package/dist/runtime/components/Form.vue.d.ts +6 -5
- package/dist/runtime/components/FormField.vue +2 -2
- package/dist/runtime/components/FormField.vue.d.ts +4 -4
- package/dist/runtime/components/Input.vue +8 -4
- package/dist/runtime/components/Input.vue.d.ts +9 -8
- package/dist/runtime/components/InputMenu.vue +44 -18
- package/dist/runtime/components/InputMenu.vue.d.ts +17 -223
- package/dist/runtime/components/InputNumber.vue +14 -11
- package/dist/runtime/components/InputNumber.vue.d.ts +13 -87
- package/dist/runtime/components/Kbd.vue +6 -3
- package/dist/runtime/components/Kbd.vue.d.ts +7 -3
- package/dist/runtime/components/Link.vue +6 -5
- package/dist/runtime/components/Link.vue.d.ts +1 -3
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.vue +37 -33
- package/dist/runtime/components/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/ModalDialogClose.vue.d.ts +1 -1
- package/dist/runtime/components/Navbar.vue.d.ts +1 -1
- package/dist/runtime/components/NavbarDivider.vue.d.ts +1 -1
- package/dist/runtime/components/NavbarSection.vue.d.ts +1 -1
- package/dist/runtime/components/NavbarSpacer.vue.d.ts +1 -1
- package/dist/runtime/components/NavigationMenu.vue +95 -84
- package/dist/runtime/components/NavigationMenu.vue.d.ts +31 -33
- package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
- package/dist/runtime/components/Popover.vue +8 -2
- package/dist/runtime/components/Popover.vue.d.ts +9 -3
- package/dist/runtime/components/Progress.vue.d.ts +3 -3
- package/dist/runtime/components/RadioGroup.vue +1 -1
- package/dist/runtime/components/RadioGroup.vue.d.ts +6 -5
- package/dist/runtime/components/Range.vue.d.ts +6 -6
- package/dist/runtime/components/Select.vue +25 -11
- package/dist/runtime/components/Select.vue.d.ts +7 -7
- package/dist/runtime/components/SelectMenu.vue +38 -19
- package/dist/runtime/components/SelectMenu.vue.d.ts +11 -10
- package/dist/runtime/components/Separator.vue +4 -4
- package/dist/runtime/components/Separator.vue.d.ts +6 -3
- package/dist/runtime/components/Sidebar.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarBody.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarFooter.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarHeader.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarHeading.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarLayout.vue +148 -63
- package/dist/runtime/components/SidebarLayout.vue.d.ts +61 -8
- package/dist/runtime/components/SidebarSection.vue.d.ts +4 -1
- package/dist/runtime/components/SidebarSpacer.vue.d.ts +4 -1
- package/dist/runtime/components/Skeleton.vue +7 -3
- package/dist/runtime/components/Skeleton.vue.d.ts +12 -1
- package/dist/runtime/components/Slideover.vue +120 -43
- package/dist/runtime/components/Slideover.vue.d.ts +22 -9
- package/dist/runtime/components/Switch.vue.d.ts +2 -2
- package/dist/runtime/components/Tabs.vue +11 -3
- package/dist/runtime/components/Tabs.vue.d.ts +8 -7
- package/dist/runtime/components/Textarea.vue +8 -4
- package/dist/runtime/components/Textarea.vue.d.ts +8 -7
- package/dist/runtime/components/Toast.vue +16 -8
- package/dist/runtime/components/Toast.vue.d.ts +16 -15
- package/dist/runtime/components/Toaster.vue.d.ts +2 -2
- package/dist/runtime/components/Tooltip.vue +9 -5
- package/dist/runtime/components/Tooltip.vue.d.ts +7 -1
- package/dist/runtime/components/content/TableWrapper.vue.d.ts +1 -1
- package/dist/runtime/composables/defineShortcuts.js +5 -3
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
- package/dist/runtime/composables/useComponentIcons.d.ts +1 -1
- package/dist/runtime/composables/useFormField.d.ts +4 -7
- package/dist/runtime/composables/useFormField.js +6 -3
- package/dist/runtime/composables/useKbd.d.ts +1 -1
- package/dist/runtime/composables/useLocale.js +2 -2
- package/dist/runtime/composables/useOverlay.d.ts +29 -2
- package/dist/runtime/composables/useOverlay.js +8 -7
- package/dist/runtime/composables/usePortal.d.ts +1 -1
- package/dist/runtime/composables/useSidebarLayout.d.ts +20 -0
- package/dist/runtime/composables/useSidebarLayout.js +16 -0
- package/dist/runtime/dictionary/icons.js +7 -7
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/inertia/components/Link.vue +3 -0
- package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/inertia/stubs.d.ts +1 -0
- package/dist/runtime/inertia/stubs.js +4 -2
- package/dist/runtime/locale/ar.js +6 -0
- package/dist/runtime/locale/br.js +6 -0
- package/dist/runtime/locale/de.js +6 -0
- package/dist/runtime/locale/en.js +6 -0
- package/dist/runtime/locale/fr.js +6 -0
- package/dist/runtime/locale/id.js +6 -0
- package/dist/runtime/locale/it.js +6 -0
- package/dist/runtime/locale/ja.js +6 -0
- package/dist/runtime/locale/kz.js +6 -0
- package/dist/runtime/locale/la.js +6 -0
- package/dist/runtime/locale/ms.js +6 -0
- package/dist/runtime/locale/pl.js +6 -0
- package/dist/runtime/locale/ru.js +6 -0
- package/dist/runtime/locale/sc.js +6 -0
- package/dist/runtime/locale/tc.js +6 -0
- package/dist/runtime/locale/th.js +6 -0
- package/dist/runtime/locale/tr.js +6 -0
- package/dist/runtime/locale/ua.js +6 -0
- package/dist/runtime/locale/vn.js +6 -0
- package/dist/runtime/plugins/ui-version.d.ts +5 -0
- package/dist/runtime/plugins/ui-version.js +8 -0
- package/dist/runtime/prose/A.vue.d.ts +4 -1
- package/dist/runtime/prose/Blockquote.vue.d.ts +4 -1
- package/dist/runtime/prose/Code.vue.d.ts +4 -1
- package/dist/runtime/prose/Em.vue.d.ts +4 -1
- package/dist/runtime/prose/H1.vue +4 -1
- package/dist/runtime/prose/H1.vue.d.ts +7 -1
- package/dist/runtime/prose/H2.vue +4 -1
- package/dist/runtime/prose/H2.vue.d.ts +7 -1
- package/dist/runtime/prose/H3.vue +4 -1
- package/dist/runtime/prose/H3.vue.d.ts +7 -1
- package/dist/runtime/prose/H4.vue +4 -1
- package/dist/runtime/prose/H4.vue.d.ts +7 -1
- package/dist/runtime/prose/H5.vue +4 -1
- package/dist/runtime/prose/H5.vue.d.ts +7 -1
- package/dist/runtime/prose/H6.vue +4 -1
- package/dist/runtime/prose/H6.vue.d.ts +7 -1
- package/dist/runtime/prose/Hr.vue.d.ts +1 -1
- package/dist/runtime/prose/Img.vue.d.ts +1 -1
- package/dist/runtime/prose/Li.vue.d.ts +4 -1
- package/dist/runtime/prose/Ol.vue.d.ts +4 -1
- package/dist/runtime/prose/P.vue +6 -1
- package/dist/runtime/prose/P.vue.d.ts +12 -1
- package/dist/runtime/prose/Pre.vue.d.ts +4 -1
- package/dist/runtime/prose/Strong.vue.d.ts +4 -1
- package/dist/runtime/prose/Table.vue.d.ts +5 -2
- package/dist/runtime/prose/Tbody.vue.d.ts +4 -1
- package/dist/runtime/prose/Td.vue.d.ts +4 -1
- package/dist/runtime/prose/Th.vue.d.ts +4 -1
- package/dist/runtime/prose/Thead.vue.d.ts +4 -1
- package/dist/runtime/prose/Tr.vue.d.ts +4 -1
- package/dist/runtime/prose/Ul.vue.d.ts +4 -1
- package/dist/runtime/types/index.d.ts +0 -1
- package/dist/runtime/types/index.js +0 -1
- package/dist/runtime/types/locale.d.ts +6 -0
- package/dist/runtime/utils/index.d.ts +6 -0
- package/dist/runtime/utils/index.js +27 -0
- package/dist/runtime/utils/tv.js +66 -1
- package/dist/runtime/vue/components/Link.vue +3 -0
- package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/stubs.d.ts +1 -0
- package/dist/runtime/vue/stubs.js +3 -1
- package/dist/shared/b24ui-nuxt.dLc5H7ID.mjs +6100 -0
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +40 -28
- package/.nuxt/b24ui/stacked-layout.ts +0 -34
- package/dist/runtime/air-design-tokens.css +0 -1
- package/dist/runtime/components/StackedLayout.vue +0 -117
- package/dist/runtime/components/StackedLayout.vue.d.ts +0 -44
- package/dist/shared/b24ui-nuxt.CxsFEY3M.mjs +0 -7895
|
@@ -1,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,43 +43,39 @@ 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
|
-
"arrow": "fill-base-master/10 dark:fill-base-100/20",
|
|
58
|
+
"placeholder": "truncate text-(--ui-color-design-plain-na-content-secondary)",
|
|
48
59
|
"content": [
|
|
49
|
-
"
|
|
50
|
-
"origin-(--reka-combobox-content-transform-origin)
|
|
60
|
+
"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",
|
|
61
|
+
"origin-(--reka-combobox-content-transform-origin) "
|
|
51
62
|
],
|
|
52
|
-
"viewport": "relative
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
63
|
+
"viewport": "relative w-[240px] max-h-[40vh] overflow-x-hidden overflow-y-auto scrollbar-thin",
|
|
64
|
+
"arrow": "fill-(--popup-window-background-color)",
|
|
65
|
+
"group": "grid",
|
|
66
|
+
"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)",
|
|
67
|
+
"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)",
|
|
68
|
+
"separator": "my-[8px] mx-[18px] h-[1px] bg-(--popup-window-delimiter-bg-color)",
|
|
69
|
+
"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",
|
|
70
|
+
"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",
|
|
71
|
+
"itemLeadingAvatar": "shrink-0 size-[16px] mx-px",
|
|
72
|
+
"itemLeadingAvatarSize": "2xs",
|
|
73
|
+
"itemLeadingChip": "shrink-0 size-[16px] mx-px",
|
|
74
|
+
"itemLeadingChipSize": "sm",
|
|
75
|
+
"itemTrailing": "ml-auto rtl:ml-0 rtl:mr-auto inline-flex gap-1.5 items-center",
|
|
76
|
+
"itemTrailingIcon": "shrink-0 size-[24px] text-(--ui-color-design-plain-content-icon-secondary)",
|
|
77
|
+
"itemLabel": "truncate ms-[2px] -mt-px group-data-[state=checked]:text-(--ui-color-accent-main-primary)",
|
|
78
|
+
"input": "border-b border-(--popup-window-delimiter-bg-color)",
|
|
67
79
|
"focusScope": "flex flex-col min-h-0"
|
|
68
80
|
},
|
|
69
81
|
"variants": {
|
|
@@ -81,106 +93,100 @@ export default {
|
|
|
81
93
|
"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"
|
|
82
94
|
},
|
|
83
95
|
"size": {
|
|
96
|
+
"xss": {
|
|
97
|
+
"base": "h-[20px] gap-1 text-(length:--ui-font-size-4xs)/[normal]",
|
|
98
|
+
"leading": "px-1",
|
|
99
|
+
"trailing": "px-1",
|
|
100
|
+
"leadingIcon": "size-[12px]",
|
|
101
|
+
"leadingAvatarSize": "3xs",
|
|
102
|
+
"trailingIcon": "size-[12px]"
|
|
103
|
+
},
|
|
84
104
|
"xs": {
|
|
85
|
-
"base": "h-
|
|
105
|
+
"base": "h-[24px] gap-1 text-(length:--ui-font-size-xs)/[normal]",
|
|
86
106
|
"leading": "px-1",
|
|
87
107
|
"trailing": "px-1",
|
|
88
|
-
"leadingIcon": "size-
|
|
89
|
-
"leadingAvatarSize": "
|
|
90
|
-
"trailingIcon": "size-
|
|
91
|
-
"label": "h-9 ps-2 pe-3 text-sm gap-2",
|
|
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"
|
|
108
|
+
"leadingIcon": "size-[14px]",
|
|
109
|
+
"leadingAvatarSize": "3xs",
|
|
110
|
+
"trailingIcon": "size-[14px]"
|
|
98
111
|
},
|
|
99
112
|
"sm": {
|
|
100
|
-
"base": "h-
|
|
113
|
+
"base": "h-[28px] gap-1.5 text-(length:--ui-font-size-sm)/[normal]",
|
|
101
114
|
"leading": "px-1.5",
|
|
102
115
|
"trailing": "px-1.5",
|
|
103
|
-
"leadingIcon": "size-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
108
|
-
"itemLeadingIcon": "size-5",
|
|
109
|
-
"itemLeadingAvatarSize": "2xs",
|
|
110
|
-
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
111
|
-
"itemLeadingChipSize": "sm",
|
|
112
|
-
"itemTrailingIcon": "size-3"
|
|
116
|
+
"leadingIcon": "size-[16px]",
|
|
117
|
+
"leadingAvatar": "size-[16px]",
|
|
118
|
+
"leadingAvatarSize": "2xs",
|
|
119
|
+
"trailingIcon": "size-[16px]"
|
|
113
120
|
},
|
|
114
121
|
"md": {
|
|
115
|
-
"base": "h-
|
|
122
|
+
"base": "h-[34px] gap-1.5 text-(length:--ui-font-size-lg)/[normal]",
|
|
116
123
|
"leading": "px-2",
|
|
117
124
|
"trailing": "px-2",
|
|
118
|
-
"leadingIcon": "size-[
|
|
119
|
-
"leadingAvatarSize": "
|
|
120
|
-
"trailingIcon": "size-
|
|
121
|
-
"label": "h-9 ps-2 pe-3 text-sm gap-2",
|
|
122
|
-
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
123
|
-
"itemLeadingIcon": "size-5",
|
|
124
|
-
"itemLeadingAvatarSize": "2xs",
|
|
125
|
-
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
126
|
-
"itemLeadingChipSize": "sm",
|
|
127
|
-
"itemTrailingIcon": "size-3"
|
|
125
|
+
"leadingIcon": "size-[18px]",
|
|
126
|
+
"leadingAvatarSize": "2xs",
|
|
127
|
+
"trailingIcon": "size-[18px]"
|
|
128
128
|
},
|
|
129
129
|
"lg": {
|
|
130
|
-
"base": "h-
|
|
130
|
+
"base": "h-[38px] gap-2 text-(length:--ui-font-size-lg)/[normal]",
|
|
131
|
+
"leading": "px-2",
|
|
132
|
+
"trailing": "px-2",
|
|
133
|
+
"leadingIcon": "size-[22px]",
|
|
134
|
+
"leadingAvatarSize": "2xs",
|
|
135
|
+
"trailingIcon": "size-[22px]"
|
|
136
|
+
},
|
|
137
|
+
"xl": {
|
|
138
|
+
"base": "h-[46px] gap-2 text-(length:--ui-font-size-2xl)/[normal]",
|
|
131
139
|
"leading": "px-2",
|
|
132
140
|
"trailing": "px-2",
|
|
133
|
-
"leadingIcon": "size-[
|
|
134
|
-
"leadingAvatarSize": "
|
|
135
|
-
"trailingIcon": "size-
|
|
136
|
-
"label": "h-9 ps-2 pe-3 text-sm gap-2",
|
|
137
|
-
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
138
|
-
"itemLeadingIcon": "size-5",
|
|
139
|
-
"itemLeadingAvatarSize": "2xs",
|
|
140
|
-
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
141
|
-
"itemLeadingChipSize": "sm",
|
|
142
|
-
"itemTrailingIcon": "size-3"
|
|
141
|
+
"leadingIcon": "size-[22px]",
|
|
142
|
+
"leadingAvatarSize": "2xs",
|
|
143
|
+
"trailingIcon": "size-[22px]"
|
|
143
144
|
}
|
|
144
145
|
},
|
|
145
146
|
"color": {
|
|
146
|
-
"
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
"
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
147
|
+
"air-primary": {
|
|
148
|
+
"base": "style-filled"
|
|
149
|
+
},
|
|
150
|
+
"air-primary-success": {
|
|
151
|
+
"base": "style-filled-success"
|
|
152
|
+
},
|
|
153
|
+
"air-primary-alert": {
|
|
154
|
+
"base": "style-filled-alert"
|
|
155
|
+
},
|
|
156
|
+
"air-primary-copilot": {
|
|
157
|
+
"base": "style-filled-copilot"
|
|
158
|
+
},
|
|
159
|
+
"air-primary-warning": {
|
|
160
|
+
"base": "style-filled-warning"
|
|
161
|
+
},
|
|
156
162
|
"default": {
|
|
157
|
-
"
|
|
163
|
+
"base": "style-old-default"
|
|
158
164
|
},
|
|
159
165
|
"danger": {
|
|
160
|
-
"
|
|
166
|
+
"base": "style-old-danger"
|
|
161
167
|
},
|
|
162
168
|
"success": {
|
|
163
|
-
"
|
|
169
|
+
"base": "style-old-success"
|
|
164
170
|
},
|
|
165
171
|
"warning": {
|
|
166
|
-
"
|
|
172
|
+
"base": "style-old-warning"
|
|
167
173
|
},
|
|
168
174
|
"primary": {
|
|
169
|
-
"
|
|
175
|
+
"base": "style-old-primary"
|
|
170
176
|
},
|
|
171
177
|
"secondary": {
|
|
172
|
-
"
|
|
178
|
+
"base": "style-old-secondary"
|
|
173
179
|
},
|
|
174
180
|
"collab": {
|
|
175
|
-
"
|
|
181
|
+
"base": "style-old-collab"
|
|
176
182
|
},
|
|
177
183
|
"ai": {
|
|
178
|
-
"
|
|
184
|
+
"base": "style-old-ai"
|
|
179
185
|
}
|
|
180
186
|
},
|
|
181
187
|
"rounded": {
|
|
182
|
-
"true": "rounded-3xl",
|
|
183
|
-
"false": "rounded-
|
|
188
|
+
"true": "rounded-(--ui-border-radius-3xl)",
|
|
189
|
+
"false": "rounded-(--ui-border-radius-sm)"
|
|
184
190
|
},
|
|
185
191
|
"noPadding": {
|
|
186
192
|
"true": {
|
|
@@ -188,10 +194,10 @@ export default {
|
|
|
188
194
|
}
|
|
189
195
|
},
|
|
190
196
|
"noBorder": {
|
|
191
|
-
"true": "ring-0 focus-visible:ring-0"
|
|
197
|
+
"true": "ring-0 focus-visible:ring-0 style-transparent-bg"
|
|
192
198
|
},
|
|
193
199
|
"underline": {
|
|
194
|
-
"true": "ring-0 focus-visible:ring-0 border-b border-b-
|
|
200
|
+
"true": "ring-0 focus-visible:ring-0 style-transparent-bg border-b-1 border-b-(--ui-color-design-outline-stroke) rounded-none"
|
|
195
201
|
},
|
|
196
202
|
"leading": {
|
|
197
203
|
"true": ""
|
|
@@ -203,319 +209,259 @@ export default {
|
|
|
203
209
|
"true": ""
|
|
204
210
|
},
|
|
205
211
|
"highlight": {
|
|
206
|
-
"true": ""
|
|
212
|
+
"true": "ring ring-inset ring-(--b24ui-border-color)"
|
|
207
213
|
},
|
|
208
214
|
"type": {
|
|
209
|
-
"file":
|
|
215
|
+
"file": [
|
|
216
|
+
"file:me-1.5",
|
|
217
|
+
"file:text-(--ui-color-design-plain-na-content-secondary)",
|
|
218
|
+
"file:outline-none"
|
|
219
|
+
]
|
|
210
220
|
},
|
|
211
221
|
"colorItem": {
|
|
212
|
-
"
|
|
222
|
+
"air-primary": {
|
|
223
|
+
"item": "style-filled"
|
|
224
|
+
},
|
|
225
|
+
"air-primary-success": {
|
|
226
|
+
"item": "style-filled-success"
|
|
227
|
+
},
|
|
228
|
+
"air-primary-alert": {
|
|
229
|
+
"item": "style-filled-alert"
|
|
230
|
+
},
|
|
231
|
+
"air-primary-copilot": {
|
|
232
|
+
"item": "style-filled-copilot"
|
|
233
|
+
},
|
|
234
|
+
"air-primary-warning": {
|
|
235
|
+
"item": "style-filled-warning"
|
|
236
|
+
},
|
|
237
|
+
"default": {
|
|
238
|
+
"item": "style-old-default"
|
|
239
|
+
},
|
|
213
240
|
"danger": {
|
|
214
|
-
"item": "
|
|
215
|
-
"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"
|
|
241
|
+
"item": "style-old-danger"
|
|
216
242
|
},
|
|
217
243
|
"success": {
|
|
218
|
-
"item": "
|
|
219
|
-
"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"
|
|
244
|
+
"item": "style-old-success"
|
|
220
245
|
},
|
|
221
246
|
"warning": {
|
|
222
|
-
"item": "
|
|
223
|
-
"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"
|
|
247
|
+
"item": "style-old-warning"
|
|
224
248
|
},
|
|
225
249
|
"primary": {
|
|
226
|
-
"item": "
|
|
227
|
-
"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"
|
|
250
|
+
"item": "style-old-primary"
|
|
228
251
|
},
|
|
229
252
|
"secondary": {
|
|
230
|
-
"item": "
|
|
231
|
-
"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"
|
|
253
|
+
"item": "style-old-secondary"
|
|
232
254
|
},
|
|
233
255
|
"collab": {
|
|
234
|
-
"item": "
|
|
235
|
-
"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"
|
|
256
|
+
"item": "style-old-collab"
|
|
236
257
|
},
|
|
237
258
|
"ai": {
|
|
238
|
-
"item": "
|
|
239
|
-
"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"
|
|
259
|
+
"item": "style-old-ai"
|
|
240
260
|
}
|
|
241
261
|
},
|
|
242
262
|
"addNew": {
|
|
243
263
|
"true": {
|
|
244
|
-
"group": "
|
|
245
|
-
"item": "
|
|
264
|
+
"group": "",
|
|
265
|
+
"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)",
|
|
246
266
|
"itemLabel": "flex flex-row flex-nowrap items-center justify-start gap-2",
|
|
247
|
-
"itemLeadingIcon": "size-
|
|
267
|
+
"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)"
|
|
248
268
|
}
|
|
249
269
|
}
|
|
250
270
|
},
|
|
251
271
|
"compoundVariants": [
|
|
252
272
|
{
|
|
253
|
-
"
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
{
|
|
266
|
-
"color": "default" as typeof color[number],
|
|
267
|
-
"noBorder": false,
|
|
268
|
-
"underline": true,
|
|
269
|
-
"class": "focus-visible:border-base-900 dark:focus-visible:border-b-base-350"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"color": "default" as typeof color[number],
|
|
273
|
-
"highlight": true,
|
|
274
|
-
"noBorder": false,
|
|
275
|
-
"underline": true,
|
|
276
|
-
"class": "border-b-base-900 dark:border-b-base-350"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"color": "danger" as typeof color[number],
|
|
280
|
-
"noBorder": false,
|
|
281
|
-
"underline": false,
|
|
282
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-red-500 dark:focus-visible:ring-red-600"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"color": "danger" as typeof color[number],
|
|
286
|
-
"highlight": true,
|
|
287
|
-
"noBorder": false,
|
|
288
|
-
"underline": false,
|
|
289
|
-
"class": "ring ring-inset ring-red-500 dark:ring-red-600"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"color": "danger" as typeof color[number],
|
|
293
|
-
"noBorder": false,
|
|
294
|
-
"underline": true,
|
|
295
|
-
"class": "focus-visible:border-b-red-500 dark:focus-visible:border-b-red-600"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"color": "danger" as typeof color[number],
|
|
299
|
-
"highlight": true,
|
|
300
|
-
"noBorder": false,
|
|
301
|
-
"underline": true,
|
|
302
|
-
"class": "border-b-red-500 dark:border-b-red-600"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"color": "success" as typeof color[number],
|
|
306
|
-
"noBorder": false,
|
|
307
|
-
"underline": false,
|
|
308
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-green-500 dark:focus-visible:ring-green-600"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"color": "success" as typeof color[number],
|
|
312
|
-
"highlight": true,
|
|
313
|
-
"noBorder": false,
|
|
314
|
-
"underline": false,
|
|
315
|
-
"class": "ring ring-inset ring-green-500 dark:ring-green-600"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"color": "success" as typeof color[number],
|
|
319
|
-
"noBorder": false,
|
|
320
|
-
"underline": true,
|
|
321
|
-
"class": "focus-visible:border-b-green-500 dark:focus-visible:border-b-green-600"
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"color": "success" as typeof color[number],
|
|
325
|
-
"highlight": true,
|
|
326
|
-
"noBorder": false,
|
|
327
|
-
"underline": true,
|
|
328
|
-
"class": "border-b-green-500 dark:border-b-green-600"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"color": "warning" as typeof color[number],
|
|
332
|
-
"noBorder": false,
|
|
333
|
-
"underline": false,
|
|
334
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-orange-500 dark:focus-visible:ring-orange-600"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"color": "warning" as typeof color[number],
|
|
338
|
-
"highlight": true,
|
|
339
|
-
"noBorder": false,
|
|
340
|
-
"underline": false,
|
|
341
|
-
"class": "ring ring-inset ring-orange-500 dark:ring-orange-600"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"color": "warning" as typeof color[number],
|
|
345
|
-
"noBorder": false,
|
|
346
|
-
"underline": true,
|
|
347
|
-
"class": "focus-visible:border-b-orange-500 dark:focus-visible:border-b-orange-600"
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
"color": "warning" as typeof color[number],
|
|
351
|
-
"highlight": true,
|
|
352
|
-
"noBorder": false,
|
|
353
|
-
"underline": true,
|
|
354
|
-
"class": "border-b-orange-500 dark:border-b-orange-600"
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
"color": "primary" as typeof color[number],
|
|
358
|
-
"noBorder": false,
|
|
359
|
-
"underline": false,
|
|
360
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-blue-500 dark:focus-visible:ring-blue-600"
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
"color": "primary" as typeof color[number],
|
|
364
|
-
"highlight": true,
|
|
365
|
-
"noBorder": false,
|
|
366
|
-
"underline": false,
|
|
367
|
-
"class": "ring ring-inset ring-blue-500 dark:ring-blue-600"
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"color": "primary" as typeof color[number],
|
|
371
|
-
"noBorder": false,
|
|
372
|
-
"underline": true,
|
|
373
|
-
"class": "focus-visible:border-b-blue-500 dark:focus-visible:border-b-blue-600"
|
|
273
|
+
"colorItem": [
|
|
274
|
+
"air-primary" as typeof colorItem[number],
|
|
275
|
+
"air-primary-success" as typeof colorItem[number],
|
|
276
|
+
"air-primary-alert" as typeof colorItem[number],
|
|
277
|
+
"air-primary-copilot" as typeof colorItem[number],
|
|
278
|
+
"air-primary-warning" as typeof colorItem[number]
|
|
279
|
+
],
|
|
280
|
+
"active": false,
|
|
281
|
+
"class": {
|
|
282
|
+
"item": "text-(--b24ui-background) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
|
|
283
|
+
"itemLeadingIcon": "text-(--b24ui-background) group-data-highlighted:text-(--b24ui-background-hover) group-data-[state=open]:text-(--b24ui-background-hover)"
|
|
284
|
+
}
|
|
374
285
|
},
|
|
375
286
|
{
|
|
376
|
-
"
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
287
|
+
"colorItem": [
|
|
288
|
+
"air-primary" as typeof colorItem[number],
|
|
289
|
+
"air-primary-success" as typeof colorItem[number],
|
|
290
|
+
"air-primary-alert" as typeof colorItem[number],
|
|
291
|
+
"air-primary-copilot" as typeof colorItem[number],
|
|
292
|
+
"air-primary-warning" as typeof colorItem[number]
|
|
293
|
+
],
|
|
294
|
+
"active": true,
|
|
295
|
+
"class": {
|
|
296
|
+
"item": "text-(--b24ui-background-active)",
|
|
297
|
+
"itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
|
|
298
|
+
}
|
|
381
299
|
},
|
|
382
300
|
{
|
|
383
|
-
"
|
|
384
|
-
"
|
|
385
|
-
"
|
|
386
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-cyan-350 dark:focus-visible:ring-cyan-500"
|
|
301
|
+
"colorItem": "default" as typeof colorItem[number],
|
|
302
|
+
"active": false,
|
|
303
|
+
"class": ""
|
|
387
304
|
},
|
|
388
305
|
{
|
|
389
|
-
"
|
|
390
|
-
"
|
|
391
|
-
"
|
|
392
|
-
"underline": false,
|
|
393
|
-
"class": "ring ring-inset ring-cyan-350 dark:ring-cyan-500"
|
|
306
|
+
"colorItem": "default" as typeof colorItem[number],
|
|
307
|
+
"active": true,
|
|
308
|
+
"class": ""
|
|
394
309
|
},
|
|
395
310
|
{
|
|
396
|
-
"
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
311
|
+
"colorItem": [
|
|
312
|
+
"danger" as typeof colorItem[number],
|
|
313
|
+
"success" as typeof colorItem[number],
|
|
314
|
+
"warning" as typeof colorItem[number],
|
|
315
|
+
"primary" as typeof colorItem[number],
|
|
316
|
+
"secondary" as typeof colorItem[number],
|
|
317
|
+
"collab" as typeof colorItem[number],
|
|
318
|
+
"ai" as typeof colorItem[number]
|
|
319
|
+
],
|
|
320
|
+
"active": false,
|
|
321
|
+
"class": {
|
|
322
|
+
"item": "text-(--b24ui-background-active) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
|
|
323
|
+
"itemLeadingIcon": "text-(--b24ui-icon) group-data-highlighted:text-(--b24ui-icon) group-data-[state=open]:text-(--b24ui-icon)"
|
|
324
|
+
}
|
|
400
325
|
},
|
|
401
326
|
{
|
|
402
|
-
"
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
327
|
+
"colorItem": [
|
|
328
|
+
"danger" as typeof colorItem[number],
|
|
329
|
+
"success" as typeof colorItem[number],
|
|
330
|
+
"warning" as typeof colorItem[number],
|
|
331
|
+
"primary" as typeof colorItem[number],
|
|
332
|
+
"secondary" as typeof colorItem[number],
|
|
333
|
+
"collab" as typeof colorItem[number],
|
|
334
|
+
"ai" as typeof colorItem[number]
|
|
335
|
+
],
|
|
336
|
+
"active": true,
|
|
337
|
+
"class": {
|
|
338
|
+
"item": "text-(--b24ui-background-active)",
|
|
339
|
+
"itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
|
|
340
|
+
}
|
|
407
341
|
},
|
|
408
342
|
{
|
|
409
|
-
"color": "collab" as typeof color[number],
|
|
410
343
|
"noBorder": false,
|
|
411
344
|
"underline": false,
|
|
412
|
-
"class": "
|
|
345
|
+
"class": ""
|
|
413
346
|
},
|
|
414
347
|
{
|
|
415
|
-
"color": "collab" as typeof color[number],
|
|
416
348
|
"highlight": true,
|
|
417
349
|
"noBorder": false,
|
|
418
350
|
"underline": false,
|
|
419
|
-
"class": "ring ring-inset ring-
|
|
351
|
+
"class": "ring ring-inset ring-(--b24ui-border-color)"
|
|
420
352
|
},
|
|
421
353
|
{
|
|
422
|
-
"color": "collab" as typeof color[number],
|
|
423
354
|
"noBorder": false,
|
|
424
355
|
"underline": true,
|
|
425
|
-
"class": "focus-visible:border-
|
|
356
|
+
"class": "focus-visible:border-(--b24ui-border-color)"
|
|
426
357
|
},
|
|
427
358
|
{
|
|
428
|
-
"color": "collab" as typeof color[number],
|
|
429
359
|
"highlight": true,
|
|
430
360
|
"noBorder": false,
|
|
431
361
|
"underline": true,
|
|
432
|
-
"class": "border-b-
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"color": "ai" as typeof color[number],
|
|
436
|
-
"noBorder": false,
|
|
437
|
-
"underline": false,
|
|
438
|
-
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ai-500 dark:focus-visible:ring-ai-600"
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"color": "ai" as typeof color[number],
|
|
442
|
-
"highlight": true,
|
|
443
|
-
"noBorder": false,
|
|
444
|
-
"underline": false,
|
|
445
|
-
"class": "ring ring-inset ring-ai-500 dark:ring-ai-600"
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"color": "ai" as typeof color[number],
|
|
449
|
-
"noBorder": false,
|
|
450
|
-
"underline": true,
|
|
451
|
-
"class": "focus-visible:border-b-ai-500 dark:focus-visible:border-b-ai-600"
|
|
362
|
+
"class": "border-b-(--b24ui-border-color)"
|
|
452
363
|
},
|
|
453
364
|
{
|
|
454
|
-
"
|
|
455
|
-
"
|
|
456
|
-
"
|
|
457
|
-
"underline": true,
|
|
458
|
-
"class": "border-b-ai-500 dark:border-b-ai-600"
|
|
365
|
+
"type": "file" as typeof type[number],
|
|
366
|
+
"size": "xss" as typeof size[number],
|
|
367
|
+
"class": "py-[2px]"
|
|
459
368
|
},
|
|
460
369
|
{
|
|
461
370
|
"type": "file" as typeof type[number],
|
|
462
371
|
"size": "xs" as typeof size[number],
|
|
463
|
-
"class": "py-
|
|
372
|
+
"class": "py-[4px]"
|
|
464
373
|
},
|
|
465
374
|
{
|
|
466
375
|
"type": "file" as typeof type[number],
|
|
467
376
|
"size": "sm" as typeof size[number],
|
|
468
|
-
"class": "py-
|
|
377
|
+
"class": "py-[5px]"
|
|
469
378
|
},
|
|
470
379
|
{
|
|
471
380
|
"type": "file" as typeof type[number],
|
|
472
381
|
"size": "md" as typeof size[number],
|
|
473
|
-
"class": "py-
|
|
382
|
+
"class": "py-[7px]"
|
|
474
383
|
},
|
|
475
384
|
{
|
|
476
385
|
"type": "file" as typeof type[number],
|
|
477
386
|
"size": "lg" as typeof size[number],
|
|
478
|
-
"class": "py-
|
|
387
|
+
"class": "py-[9px]"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"type": "file" as typeof type[number],
|
|
391
|
+
"size": "xl" as typeof size[number],
|
|
392
|
+
"class": "py-[11px]"
|
|
479
393
|
},
|
|
480
394
|
{
|
|
481
395
|
"leading": true,
|
|
396
|
+
"noPadding": false,
|
|
397
|
+
"size": "xss" as typeof size[number],
|
|
398
|
+
"class": "ps-[20px]"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"leading": true,
|
|
402
|
+
"noPadding": false,
|
|
482
403
|
"size": "xs" as typeof size[number],
|
|
483
|
-
"class": "ps-
|
|
404
|
+
"class": "ps-[22px]"
|
|
484
405
|
},
|
|
485
406
|
{
|
|
486
407
|
"leading": true,
|
|
408
|
+
"noPadding": false,
|
|
487
409
|
"size": "sm" as typeof size[number],
|
|
488
|
-
"class": "ps-
|
|
410
|
+
"class": "ps-[28px]"
|
|
489
411
|
},
|
|
490
412
|
{
|
|
491
413
|
"leading": true,
|
|
414
|
+
"noPadding": false,
|
|
492
415
|
"size": "md" as typeof size[number],
|
|
493
|
-
"class": "ps-[
|
|
416
|
+
"class": "ps-[34px]"
|
|
494
417
|
},
|
|
495
418
|
{
|
|
496
419
|
"leading": true,
|
|
420
|
+
"noPadding": false,
|
|
497
421
|
"size": "lg" as typeof size[number],
|
|
498
|
-
"class": "ps-[
|
|
422
|
+
"class": "ps-[38px]"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"leading": true,
|
|
426
|
+
"noPadding": false,
|
|
427
|
+
"size": "xl" as typeof size[number],
|
|
428
|
+
"class": "ps-[38px]"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"trailing": true,
|
|
432
|
+
"noPadding": false,
|
|
433
|
+
"size": "xss" as typeof size[number],
|
|
434
|
+
"class": "pe-[20px]"
|
|
499
435
|
},
|
|
500
436
|
{
|
|
501
437
|
"trailing": true,
|
|
438
|
+
"noPadding": false,
|
|
502
439
|
"size": "xs" as typeof size[number],
|
|
503
|
-
"class": "pe-
|
|
440
|
+
"class": "pe-[22px]"
|
|
504
441
|
},
|
|
505
442
|
{
|
|
506
443
|
"trailing": true,
|
|
444
|
+
"noPadding": false,
|
|
507
445
|
"size": "sm" as typeof size[number],
|
|
508
|
-
"class": "pe-
|
|
446
|
+
"class": "pe-[28px]"
|
|
509
447
|
},
|
|
510
448
|
{
|
|
511
449
|
"trailing": true,
|
|
450
|
+
"noPadding": false,
|
|
512
451
|
"size": "md" as typeof size[number],
|
|
513
|
-
"class": "pe-[
|
|
452
|
+
"class": "pe-[34px]"
|
|
514
453
|
},
|
|
515
454
|
{
|
|
516
455
|
"trailing": true,
|
|
456
|
+
"noPadding": false,
|
|
517
457
|
"size": "lg" as typeof size[number],
|
|
518
|
-
"class": "pe-[
|
|
458
|
+
"class": "pe-[38px]"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"trailing": true,
|
|
462
|
+
"noPadding": false,
|
|
463
|
+
"size": "xl" as typeof size[number],
|
|
464
|
+
"class": "pe-[38px]"
|
|
519
465
|
},
|
|
520
466
|
{
|
|
521
467
|
"loading": true,
|
|
@@ -534,8 +480,7 @@ export default {
|
|
|
534
480
|
}
|
|
535
481
|
],
|
|
536
482
|
"defaultVariants": {
|
|
537
|
-
"
|
|
538
|
-
"
|
|
539
|
-
"tagColor": "primary" as typeof tagColor[number]
|
|
483
|
+
"color": "air-primary" as typeof color[number],
|
|
484
|
+
"size": "md" as typeof size[number]
|
|
540
485
|
}
|
|
541
486
|
}
|