@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/accordion.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"slots": {
|
|
3
3
|
"root": "w-full",
|
|
4
|
-
"item": "border-b border-
|
|
4
|
+
"item": "text-(--b24ui-typography-label-color) border-b border-(--ui-color-divider-vibrant-accent-more) last:border-b-0",
|
|
5
5
|
"header": "flex",
|
|
6
|
-
"trigger": "group flex-1 flex items-center gap-1.5 font-medium text-sm
|
|
6
|
+
"trigger": "min-w-0 group flex-1 flex items-center gap-1.5 py-3 font-(--ui-font-weight-medium) text-(length:--ui-font-size-sm) focus-visible:outline-(--ui-color-accent-soft-element-blue) cursor-pointer",
|
|
7
7
|
"content": "motion-safe:data-[state=open]:animate-[accordion-down_200ms_ease-out] motion-safe:data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none",
|
|
8
|
-
"body": "text-sm pb-3",
|
|
8
|
+
"body": "text-(length:--ui-font-size-sm) pb-3",
|
|
9
9
|
"leadingIcon": "shrink-0 size-5",
|
|
10
10
|
"trailingIcon": "shrink-0 size-5 ms-auto group-data-[state=open]:rotate-180 transition-transform duration-200",
|
|
11
11
|
"label": "text-start break-words"
|
package/.nuxt/b24ui/advice.ts
CHANGED
|
@@ -5,15 +5,16 @@ const angle = [
|
|
|
5
5
|
|
|
6
6
|
export default {
|
|
7
7
|
"slots": {
|
|
8
|
-
"root": "flex items-end",
|
|
8
|
+
"root": "light style-outline-accent-1 flex items-end",
|
|
9
9
|
"descriptionWrapper": "relative",
|
|
10
|
-
"descriptionBorder": "fill-
|
|
11
|
-
"descriptionBg": "fill-
|
|
10
|
+
"descriptionBorder": "fill-(--b24ui-border-color)",
|
|
11
|
+
"descriptionBg": "fill-(--b24ui-background) dark:fill-(--ui-color-base-6)",
|
|
12
12
|
"descriptionAngle": "absolute w-[14px] h-[12px]",
|
|
13
|
-
"description": "grow w-11/12 py-3 px-md2 ms-2 rounded-[23px] font-
|
|
14
|
-
"leading": "me-1.5 ms-2",
|
|
13
|
+
"description": "grow w-11/12 py-3 px-md2 ms-2 rounded-[23px] font-[family-name:var(--ui-font-family-secondary)] text-(length:--ui-font-size-md)/(--ui-font-line-height-md) font-(--ui-font-weight-normal) border-1 border-(--b24ui-border-color) bg-(--b24ui-background) text-(--b24ui-color) dark:bg-(--ui-color-base-6)",
|
|
14
|
+
"leading": "me-1.5 ms-2 font-(--ui-font-weight-medium) text-(--ui-color-design-plain-content-icon-secondary)",
|
|
15
15
|
"leadingIcon": "shrink-0 size-[42px]",
|
|
16
16
|
"leadingAvatar": "shrink-0",
|
|
17
|
+
"leadingAvatarIcon": "text-(--b24ui-typography-label-color) bg-(--ui-color-base-8)",
|
|
17
18
|
"leadingAvatarSize": "lg"
|
|
18
19
|
},
|
|
19
20
|
"variants": {
|
package/.nuxt/b24ui/alert.ts
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
const color = [
|
|
2
|
+
"air-primary",
|
|
3
|
+
"air-primary-success",
|
|
4
|
+
"air-primary-alert",
|
|
5
|
+
"air-primary-copilot",
|
|
6
|
+
"air-primary-warning",
|
|
7
|
+
"air-secondary",
|
|
8
|
+
"air-secondary-alert",
|
|
9
|
+
"air-secondary-accent",
|
|
10
|
+
"air-secondary-accent-1",
|
|
11
|
+
"air-secondary-accent-2",
|
|
12
|
+
"air-tertiary",
|
|
2
13
|
"default",
|
|
3
14
|
"danger",
|
|
4
15
|
"success",
|
|
@@ -16,8 +27,8 @@ const size = [
|
|
|
16
27
|
|
|
17
28
|
export default {
|
|
18
29
|
"slots": {
|
|
19
|
-
"root": "relative overflow-hidden w-full rounded-
|
|
20
|
-
"wrapper": "min-w-0 flex-1 flex flex-col font-
|
|
30
|
+
"root": "relative overflow-hidden w-full flex text-(--b24ui-color) bg-(--b24ui-background) border-(--b24ui-border-color) border-(length:--b24ui-border-width) rounded-(--ui-border-radius-md)",
|
|
31
|
+
"wrapper": "min-w-0 flex-1 flex flex-col font-[family-name:var(--ui-font-family-primary)]",
|
|
21
32
|
"title": "font-bold",
|
|
22
33
|
"description": "",
|
|
23
34
|
"icon": "shrink-0 size-6",
|
|
@@ -28,74 +39,75 @@ export default {
|
|
|
28
39
|
},
|
|
29
40
|
"variants": {
|
|
30
41
|
"color": {
|
|
42
|
+
"air-primary": {
|
|
43
|
+
"root": "style-filled"
|
|
44
|
+
},
|
|
45
|
+
"air-primary-success": {
|
|
46
|
+
"root": "style-filled-success"
|
|
47
|
+
},
|
|
48
|
+
"air-primary-alert": {
|
|
49
|
+
"root": "style-filled-alert"
|
|
50
|
+
},
|
|
51
|
+
"air-primary-copilot": {
|
|
52
|
+
"root": "style-filled-copilot"
|
|
53
|
+
},
|
|
54
|
+
"air-primary-warning": {
|
|
55
|
+
"root": "style-filled-warning"
|
|
56
|
+
},
|
|
57
|
+
"air-secondary": {
|
|
58
|
+
"root": "style-tinted"
|
|
59
|
+
},
|
|
60
|
+
"air-secondary-alert": {
|
|
61
|
+
"root": "style-tinted-alert"
|
|
62
|
+
},
|
|
63
|
+
"air-secondary-accent": {
|
|
64
|
+
"root": "style-outline"
|
|
65
|
+
},
|
|
66
|
+
"air-secondary-accent-1": {
|
|
67
|
+
"root": "style-outline-accent-1"
|
|
68
|
+
},
|
|
69
|
+
"air-secondary-accent-2": {
|
|
70
|
+
"root": "style-outline-accent-2"
|
|
71
|
+
},
|
|
72
|
+
"air-tertiary": {
|
|
73
|
+
"root": "style-outline-no-accent"
|
|
74
|
+
},
|
|
31
75
|
"default": {
|
|
32
|
-
"root":
|
|
33
|
-
"text-base-950 bg-base-200",
|
|
34
|
-
"dark:text-base-950 dark:bg-base-200"
|
|
35
|
-
],
|
|
36
|
-
"close": "text-base-800 dark:text-base-800 hover:text-base-950 dark:hover:text-base-950"
|
|
76
|
+
"root": "style-old-default"
|
|
37
77
|
},
|
|
38
78
|
"danger": {
|
|
39
|
-
"root":
|
|
40
|
-
"text-red-700 bg-red-200",
|
|
41
|
-
"dark:text-red-700 dark:bg-red-300"
|
|
42
|
-
],
|
|
43
|
-
"close": "text-red-700 dark:text-red-700 hover:text-red-800 dark:hover:text-red-800"
|
|
79
|
+
"root": "style-old-danger"
|
|
44
80
|
},
|
|
45
81
|
"success": {
|
|
46
|
-
"root":
|
|
47
|
-
"text-green-780 bg-green-200",
|
|
48
|
-
"dark:text-green-780 dark:bg-green-300"
|
|
49
|
-
],
|
|
50
|
-
"close": "text-green-780 dark:text-green-780 hover:text-green-800 dark:hover:text-green-800"
|
|
82
|
+
"root": "style-old-success"
|
|
51
83
|
},
|
|
52
84
|
"warning": {
|
|
53
|
-
"root":
|
|
54
|
-
"text-orange-700 bg-orange-200",
|
|
55
|
-
"dark:text-orange-750 dark:bg-orange-300"
|
|
56
|
-
],
|
|
57
|
-
"close": "text-orange-700 dark:text-orange-750 hover:text-orange-800 dark:hover:text-orange-800"
|
|
85
|
+
"root": "style-old-warning"
|
|
58
86
|
},
|
|
59
87
|
"primary": {
|
|
60
|
-
"root":
|
|
61
|
-
"text-blue-700 bg-blue-200",
|
|
62
|
-
"dark:text-blue-700 dark:bg-blue-300"
|
|
63
|
-
],
|
|
64
|
-
"close": "text-blue-700 dark:text-blue-700 hover:text-blue-800 dark:hover:text-blue-800"
|
|
88
|
+
"root": "style-old-primary"
|
|
65
89
|
},
|
|
66
90
|
"secondary": {
|
|
67
|
-
"root":
|
|
68
|
-
"text-cyan-700 bg-cyan-150",
|
|
69
|
-
"dark:text-cyan-750 dark:bg-cyan-300"
|
|
70
|
-
],
|
|
71
|
-
"close": "text-cyan-700 dark:text-cyan-750 hover:text-cyan-800 dark:hover:text-cyan-800"
|
|
91
|
+
"root": "style-old-secondary"
|
|
72
92
|
},
|
|
73
93
|
"collab": {
|
|
74
|
-
"root":
|
|
75
|
-
"text-collab-700 bg-collab-200",
|
|
76
|
-
"dark:text-collab-700 dark:bg-collab-300"
|
|
77
|
-
],
|
|
78
|
-
"close": "text-collab-700 dark:text-collab-700 hover:text-collab-800 dark:hover:text-collab-800"
|
|
94
|
+
"root": "style-old-collab"
|
|
79
95
|
},
|
|
80
96
|
"ai": {
|
|
81
|
-
"root":
|
|
82
|
-
"text-ai-700 bg-ai-200",
|
|
83
|
-
"dark:text-ai-700 dark:bg-ai-300"
|
|
84
|
-
],
|
|
85
|
-
"close": "text-ai-700 dark:text-ai-700 hover:text-ai-800 dark:hover:text-ai-800"
|
|
97
|
+
"root": "style-old-ai"
|
|
86
98
|
}
|
|
87
99
|
},
|
|
88
100
|
"size": {
|
|
89
101
|
"sm": {
|
|
90
102
|
"root": "py-xs ps-sm pe-xs gap-2",
|
|
91
|
-
"title": "text-sm
|
|
92
|
-
"description": "text-sm
|
|
103
|
+
"title": "text-(length:--ui-font-size-sm)/(--ui-font-line-height-lg)",
|
|
104
|
+
"description": "text-(length:--ui-font-size-sm)/(--ui-font-line-height-lg)",
|
|
93
105
|
"avatarSize": "md"
|
|
94
106
|
},
|
|
95
107
|
"md": {
|
|
96
108
|
"root": "py-md ps-md pe-xs gap-2.5",
|
|
97
|
-
"title": "text-md
|
|
98
|
-
"description": "text-md
|
|
109
|
+
"title": "text-(length:--ui-font-size-md)/(--ui-font-line-height-reset)",
|
|
110
|
+
"description": "text-(length:--ui-font-size-md)/(--ui-font-line-height-3xs)",
|
|
99
111
|
"avatarSize": "xl"
|
|
100
112
|
}
|
|
101
113
|
},
|
|
@@ -113,11 +125,52 @@ export default {
|
|
|
113
125
|
"true": {
|
|
114
126
|
"description": "mt-1"
|
|
115
127
|
}
|
|
128
|
+
},
|
|
129
|
+
"inverted": {
|
|
130
|
+
"true": "",
|
|
131
|
+
"false": ""
|
|
116
132
|
}
|
|
117
133
|
},
|
|
118
|
-
"compoundVariants": [
|
|
134
|
+
"compoundVariants": [
|
|
135
|
+
{
|
|
136
|
+
"inverted": true,
|
|
137
|
+
"color": "air-primary" as typeof color[number],
|
|
138
|
+
"class": {
|
|
139
|
+
"root": "style-filled-inverted"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"inverted": true,
|
|
144
|
+
"color": "air-primary-success" as typeof color[number],
|
|
145
|
+
"class": {
|
|
146
|
+
"root": "style-filled-success-inverted"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"inverted": true,
|
|
151
|
+
"color": "air-primary-alert" as typeof color[number],
|
|
152
|
+
"class": {
|
|
153
|
+
"root": "style-filled-alert-inverted"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"inverted": true,
|
|
158
|
+
"color": "air-primary-copilot" as typeof color[number],
|
|
159
|
+
"class": {
|
|
160
|
+
"root": "style-filled-copilot-inverted"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"inverted": true,
|
|
165
|
+
"color": "air-primary-warning" as typeof color[number],
|
|
166
|
+
"class": {
|
|
167
|
+
"root": "style-filled-warning-inverted"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
],
|
|
119
171
|
"defaultVariants": {
|
|
120
|
-
"color": "
|
|
121
|
-
"size": "md" as typeof size[number]
|
|
172
|
+
"color": "air-secondary-accent" as typeof color[number],
|
|
173
|
+
"size": "md" as typeof size[number],
|
|
174
|
+
"inverted": false
|
|
122
175
|
}
|
|
123
176
|
}
|
|
@@ -13,36 +13,36 @@ const size = [
|
|
|
13
13
|
export default {
|
|
14
14
|
"slots": {
|
|
15
15
|
"root": "inline-flex justify-end",
|
|
16
|
-
"base": "relative rounded-full
|
|
16
|
+
"base": "relative rounded-full last:me-0"
|
|
17
17
|
},
|
|
18
18
|
"variants": {
|
|
19
19
|
"size": {
|
|
20
20
|
"3xs": {
|
|
21
|
-
"base": "
|
|
21
|
+
"base": "-me-0.5"
|
|
22
22
|
},
|
|
23
23
|
"2xs": {
|
|
24
|
-
"base": "
|
|
24
|
+
"base": "-me-0.5"
|
|
25
25
|
},
|
|
26
26
|
"xs": {
|
|
27
|
-
"base": "
|
|
27
|
+
"base": "-me-0.5"
|
|
28
28
|
},
|
|
29
29
|
"sm": {
|
|
30
|
-
"base": "
|
|
30
|
+
"base": "-me-1.5"
|
|
31
31
|
},
|
|
32
32
|
"md": {
|
|
33
|
-
"base": "
|
|
33
|
+
"base": "-me-1.5"
|
|
34
34
|
},
|
|
35
35
|
"lg": {
|
|
36
|
-
"base": "
|
|
36
|
+
"base": "-me-1.5"
|
|
37
37
|
},
|
|
38
38
|
"xl": {
|
|
39
|
-
"base": "
|
|
39
|
+
"base": "-me-2"
|
|
40
40
|
},
|
|
41
41
|
"2xl": {
|
|
42
|
-
"base": "
|
|
42
|
+
"base": "-me-2"
|
|
43
43
|
},
|
|
44
44
|
"3xl": {
|
|
45
|
-
"base": "
|
|
45
|
+
"base": "-me-2"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
},
|
package/.nuxt/b24ui/avatar.ts
CHANGED
|
@@ -12,47 +12,47 @@ const size = [
|
|
|
12
12
|
|
|
13
13
|
export default {
|
|
14
14
|
"slots": {
|
|
15
|
-
"root": "inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-base-
|
|
15
|
+
"root": "air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7)",
|
|
16
16
|
"image": "h-full w-full rounded-[inherit] object-cover",
|
|
17
|
-
"fallback": "font-medium text-
|
|
18
|
-
"icon": "text-
|
|
17
|
+
"fallback": "font-(--ui-font-weight-medium) text-(--ui-color-design-plain-content-icon-secondary) truncate",
|
|
18
|
+
"icon": "text-(--ui-color-design-plain-content-icon-secondary) shrink-0"
|
|
19
19
|
},
|
|
20
20
|
"variants": {
|
|
21
21
|
"size": {
|
|
22
22
|
"3xs": {
|
|
23
|
-
"root": "size-
|
|
24
|
-
"icon": "size-
|
|
23
|
+
"root": "size-[10px] text-4xs font-(--ui-font-weight-regular)",
|
|
24
|
+
"icon": "size-[10px]"
|
|
25
25
|
},
|
|
26
26
|
"2xs": {
|
|
27
|
-
"root": "size-
|
|
28
|
-
"icon": "size-
|
|
27
|
+
"root": "size-[20px] text-(length:--ui-font-size-4xs)/(--ui-font-line-height-reset) font-(--ui-font-weight-regular)",
|
|
28
|
+
"icon": "size-[20px]"
|
|
29
29
|
},
|
|
30
30
|
"xs": {
|
|
31
|
-
"root": "size-
|
|
32
|
-
"icon": "size-
|
|
31
|
+
"root": "size-[24px] text-(length:--ui-font-size-3xs)/(--ui-font-line-height-reset) font-(--ui-font-weight-regular)",
|
|
32
|
+
"icon": "size-[24px]"
|
|
33
33
|
},
|
|
34
34
|
"sm": {
|
|
35
|
-
"root": "size-
|
|
36
|
-
"icon": "size-
|
|
35
|
+
"root": "size-[28px] text-(length:--ui-font-size-xs)/(--ui-font-line-height-reset)",
|
|
36
|
+
"icon": "size-[28px]"
|
|
37
37
|
},
|
|
38
38
|
"md": {
|
|
39
|
-
"root": "size-
|
|
40
|
-
"icon": "size-
|
|
39
|
+
"root": "size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)",
|
|
40
|
+
"icon": "size-[32px]"
|
|
41
41
|
},
|
|
42
42
|
"lg": {
|
|
43
|
-
"root": "size-[42px] text-2xl",
|
|
43
|
+
"root": "size-[42px] text-(length:--ui-font-size-2xl)/(--ui-font-line-height-reset)",
|
|
44
44
|
"icon": "size-[42px]"
|
|
45
45
|
},
|
|
46
46
|
"xl": {
|
|
47
|
-
"root": "size-
|
|
48
|
-
"icon": "size-
|
|
47
|
+
"root": "ring-2 size-[48px] text-(length:--ui-font-size-2xl)/(--ui-font-line-height-reset)",
|
|
48
|
+
"icon": "size-[48px]"
|
|
49
49
|
},
|
|
50
50
|
"2xl": {
|
|
51
|
-
"root": "size-[60px] text-5xl",
|
|
51
|
+
"root": "ring-2 size-[60px] text-(length:--ui-font-size-5xl)/(--ui-font-line-height-reset)",
|
|
52
52
|
"icon": "size-[60px]"
|
|
53
53
|
},
|
|
54
54
|
"3xl": {
|
|
55
|
-
"root": "size-[94px] text-[34px]",
|
|
55
|
+
"root": "ring-2 size-[94px] text-[34px]/(--ui-font-line-height-reset)",
|
|
56
56
|
"icon": "size-[94px]"
|
|
57
57
|
}
|
|
58
58
|
}
|