@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/separator.ts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
const
|
|
1
|
+
const accent = [
|
|
2
2
|
"default",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"warning",
|
|
6
|
-
"primary",
|
|
7
|
-
"secondary",
|
|
8
|
-
"collab",
|
|
9
|
-
"ai"
|
|
3
|
+
"accent",
|
|
4
|
+
"less"
|
|
10
5
|
] as const
|
|
11
6
|
|
|
12
7
|
const orientation = [
|
|
@@ -15,54 +10,40 @@ const orientation = [
|
|
|
15
10
|
] as const
|
|
16
11
|
|
|
17
12
|
const size = [
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"md",
|
|
21
|
-
"lg",
|
|
22
|
-
"xl"
|
|
13
|
+
"thin",
|
|
14
|
+
"thick"
|
|
23
15
|
] as const
|
|
24
16
|
|
|
25
17
|
const type = [
|
|
26
18
|
"solid",
|
|
27
19
|
"dashed",
|
|
28
|
-
"dotted"
|
|
20
|
+
"dotted",
|
|
21
|
+
"double"
|
|
29
22
|
] as const
|
|
30
23
|
|
|
31
24
|
export default {
|
|
32
25
|
"slots": {
|
|
33
26
|
"root": "flex items-center align-center text-center",
|
|
34
27
|
"border": "",
|
|
35
|
-
"container": "font-
|
|
28
|
+
"container": "font-[family-name:var(--ui-font-family-primary)] font-(--ui-font-weight-normal) flex",
|
|
36
29
|
"icon": "shrink-0 size-7",
|
|
37
30
|
"avatar": "shrink-0",
|
|
38
31
|
"avatarSize": "sm",
|
|
39
|
-
"label": "
|
|
32
|
+
"label": ""
|
|
40
33
|
},
|
|
41
34
|
"variants": {
|
|
42
|
-
"
|
|
35
|
+
"accent": {
|
|
43
36
|
"default": {
|
|
44
|
-
"
|
|
37
|
+
"container": "text-(--ui-color-design-plain-na-content-secondary) text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)",
|
|
38
|
+
"border": "border-(--ui-color-divider-vibrant-default)"
|
|
45
39
|
},
|
|
46
|
-
"
|
|
47
|
-
"
|
|
40
|
+
"accent": {
|
|
41
|
+
"container": "text-(--b24ui-typography-description-color) text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)",
|
|
42
|
+
"border": "border-(--ui-color-divider-vibrant-accent-more)"
|
|
48
43
|
},
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
"warning": {
|
|
53
|
-
"border": "border-orange-500 dark:border-orange-600"
|
|
54
|
-
},
|
|
55
|
-
"primary": {
|
|
56
|
-
"border": "border-blue-500 dark:border-blue-600"
|
|
57
|
-
},
|
|
58
|
-
"secondary": {
|
|
59
|
-
"border": "border-cyan-350 dark:border-cyan-500"
|
|
60
|
-
},
|
|
61
|
-
"collab": {
|
|
62
|
-
"border": "border-collab-500 dark:border-collab-600"
|
|
63
|
-
},
|
|
64
|
-
"ai": {
|
|
65
|
-
"border": "border-ai-500 dark:border-ai-600"
|
|
44
|
+
"less": {
|
|
45
|
+
"container": "text-(--ui-color-base-6) text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)",
|
|
46
|
+
"border": "border-(--ui-color-divider-vibrant-less)"
|
|
66
47
|
}
|
|
67
48
|
},
|
|
68
49
|
"orientation": {
|
|
@@ -78,11 +59,8 @@ export default {
|
|
|
78
59
|
}
|
|
79
60
|
},
|
|
80
61
|
"size": {
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"md": "",
|
|
84
|
-
"lg": "",
|
|
85
|
-
"xl": ""
|
|
62
|
+
"thin": "",
|
|
63
|
+
"thick": ""
|
|
86
64
|
},
|
|
87
65
|
"type": {
|
|
88
66
|
"solid": {
|
|
@@ -93,84 +71,61 @@ export default {
|
|
|
93
71
|
},
|
|
94
72
|
"dotted": {
|
|
95
73
|
"border": "border-dotted"
|
|
74
|
+
},
|
|
75
|
+
"double": {
|
|
76
|
+
"border": "border-double"
|
|
96
77
|
}
|
|
97
78
|
}
|
|
98
79
|
},
|
|
99
80
|
"compoundVariants": [
|
|
100
81
|
{
|
|
101
82
|
"orientation": "horizontal" as typeof orientation[number],
|
|
102
|
-
"size": "
|
|
103
|
-
"class": {
|
|
104
|
-
"border": "border-t"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
109
|
-
"size": "sm" as typeof size[number],
|
|
110
|
-
"class": {
|
|
111
|
-
"border": "border-t-[2px]"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
116
|
-
"size": "md" as typeof size[number],
|
|
117
|
-
"class": {
|
|
118
|
-
"border": "border-t-[3px]"
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
123
|
-
"size": "lg" as typeof size[number],
|
|
83
|
+
"size": "thin" as typeof size[number],
|
|
124
84
|
"class": {
|
|
125
|
-
"border": "border-t-
|
|
85
|
+
"border": "border-t-(length:--ui-border-width-thin)"
|
|
126
86
|
}
|
|
127
87
|
},
|
|
128
88
|
{
|
|
129
89
|
"orientation": "horizontal" as typeof orientation[number],
|
|
130
|
-
"size": "
|
|
90
|
+
"size": "thick" as typeof size[number],
|
|
131
91
|
"class": {
|
|
132
|
-
"border": "border-t-
|
|
92
|
+
"border": "border-t-(length:--ui-border-width-thick)"
|
|
133
93
|
}
|
|
134
94
|
},
|
|
135
95
|
{
|
|
136
96
|
"orientation": "vertical" as typeof orientation[number],
|
|
137
|
-
"size": "
|
|
97
|
+
"size": "thin" as typeof size[number],
|
|
138
98
|
"class": {
|
|
139
|
-
"border": "border-s"
|
|
99
|
+
"border": "border-s-(length:--ui-border-width-thin)"
|
|
140
100
|
}
|
|
141
101
|
},
|
|
142
102
|
{
|
|
143
103
|
"orientation": "vertical" as typeof orientation[number],
|
|
144
|
-
"size": "
|
|
104
|
+
"size": "thick" as typeof size[number],
|
|
145
105
|
"class": {
|
|
146
|
-
"border": "border-s-
|
|
106
|
+
"border": "border-s-(length:--ui-border-width-thick)"
|
|
147
107
|
}
|
|
148
108
|
},
|
|
149
109
|
{
|
|
150
|
-
"
|
|
151
|
-
"size": "
|
|
152
|
-
"
|
|
153
|
-
"border": "border-s-[3px]"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
158
|
-
"size": "lg" as typeof size[number],
|
|
110
|
+
"type": "double" as typeof type[number],
|
|
111
|
+
"size": "thick" as typeof size[number],
|
|
112
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
159
113
|
"class": {
|
|
160
|
-
"border": "border-
|
|
114
|
+
"border": "border-t-[length:calc(var(--ui-border-width-thick)_+_1px)]"
|
|
161
115
|
}
|
|
162
116
|
},
|
|
163
117
|
{
|
|
118
|
+
"type": "double" as typeof type[number],
|
|
119
|
+
"size": "thick" as typeof size[number],
|
|
164
120
|
"orientation": "vertical" as typeof orientation[number],
|
|
165
|
-
"size": "xl" as typeof size[number],
|
|
166
121
|
"class": {
|
|
167
|
-
"border": "border-s-[
|
|
122
|
+
"border": "border-s-[length:calc(var(--ui-border-width-thick)_+_1px)]"
|
|
168
123
|
}
|
|
169
124
|
}
|
|
170
125
|
],
|
|
171
126
|
"defaultVariants": {
|
|
172
|
-
"
|
|
173
|
-
"size": "
|
|
127
|
+
"accent": "default" as typeof accent[number],
|
|
128
|
+
"size": "thin" as typeof size[number],
|
|
174
129
|
"type": "solid" as typeof type[number]
|
|
175
130
|
}
|
|
176
131
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"slots": {
|
|
3
|
-
"root": "
|
|
3
|
+
"root": "min-h-(--topbar-height) flex flex-col text-(--ui-color-base-1) border-b border-(--leftmenu-bg-divider) [&>[data-slot=section]+[data-slot=section]]:mt-2.5"
|
|
4
4
|
}
|
|
5
5
|
}
|
|
@@ -1,40 +1,151 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"slots": {
|
|
3
|
-
"root": "
|
|
4
|
-
"sidebar": "w-[240px]
|
|
5
|
-
"sidebarSlideoverContainer": "
|
|
6
|
-
"sidebarSlideover": "h-full overflow-hidden flex flex-col bg-white dark:bg-
|
|
3
|
+
"root": "sidebar-layout text-(--b24ui-typography-label-color) w-full flex",
|
|
4
|
+
"sidebar": "air-sidebar before:absolute before:inset-0 before:z-[-1] before:bg-(--leftmenu-bg-expanded) w-[240px] pe-[3px] rtl:me-[14px] inset-y-0 left-0 max-lg:hidden",
|
|
5
|
+
"sidebarSlideoverContainer": "w-full sm:max-w-80",
|
|
6
|
+
"sidebarSlideover": "h-full overflow-hidden flex flex-col text-(--b24ui-typography-label-color) bg-(--ui-color-base-white-fixed) dark:bg-(--ui-color-bg-content-primary) edge-dark:bg-[#21334cf0] ring-1 ring-(--ui-color-divider-vibrant-less) shadow-xs rounded-none",
|
|
7
7
|
"sidebarSlideoverBtnClose": "-mb-3 px-4 pt-3",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"headerWrapper": "min-w-0 flex-1",
|
|
12
|
-
"container": "flex-1 flex flex-col lg:min-w-0",
|
|
13
|
-
"containerWrapper": "grow",
|
|
14
|
-
"
|
|
8
|
+
"contentWrapper": "flex-1 flex flex-col ",
|
|
9
|
+
"header": "air-header px-(--content-area-shift) min-h-(--topbar-height) flex items-center gap-x-1",
|
|
10
|
+
"headerMenuIcon": "lg:hidden",
|
|
11
|
+
"headerWrapper": "min-w-0 flex-1 h-full",
|
|
12
|
+
"container": "flex-1 flex flex-col gap-[22px] lg:min-w-0",
|
|
13
|
+
"containerWrapper": "grow group/layout-content",
|
|
14
|
+
"pageTopWrapper": "text-(--ui-color-base-1) flex items-center gap-[12px]",
|
|
15
|
+
"pageActionsWrapper": "flex flex-col md:flex-row items-start md:items-center justify-start gap-[12px]",
|
|
16
|
+
"containerWrapperInner": "size-full",
|
|
17
|
+
"pageBottomWrapper": "",
|
|
18
|
+
"loadingWrapper": "cursor-wait isolate absolute z-1000 inset-0 w-full h-dvh flex flex-row flex-nowrap items-center justify-center",
|
|
19
|
+
"loadingIcon": "text-(--ui-color-design-plain-content-icon-secondary) size-[110px] animate-spin-slow"
|
|
15
20
|
},
|
|
16
21
|
"variants": {
|
|
17
|
-
"
|
|
22
|
+
"inner": {
|
|
18
23
|
"true": {
|
|
19
|
-
"
|
|
24
|
+
"root": "--inner light relative isolate h-full overflow-hidden",
|
|
25
|
+
"sidebar": "relative z-[0]",
|
|
26
|
+
"header": "relative",
|
|
27
|
+
"container": "mt-0",
|
|
28
|
+
"containerWrapper": "",
|
|
29
|
+
"pageBottomWrapper": "flex-0"
|
|
20
30
|
},
|
|
21
31
|
"false": {
|
|
22
|
-
"
|
|
32
|
+
"root": "--app h-screen min-h-screen max-lg:flex-col",
|
|
33
|
+
"sidebar": "fixed",
|
|
34
|
+
"header": "relative",
|
|
35
|
+
"container": "relative mt-[22px]"
|
|
23
36
|
}
|
|
24
37
|
},
|
|
38
|
+
"offContentScrollbar": {
|
|
39
|
+
"false": "",
|
|
40
|
+
"true": ""
|
|
41
|
+
},
|
|
42
|
+
"useSidebar": {
|
|
43
|
+
"true": "",
|
|
44
|
+
"false": ""
|
|
45
|
+
},
|
|
25
46
|
"useLightContent": {
|
|
26
47
|
"true": {
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
48
|
+
"containerWrapper": "text-(--ui-color-text-primary) bg-(--ui-color-bg-content-primary) "
|
|
49
|
+
},
|
|
50
|
+
"false": {
|
|
51
|
+
"container": "px-(--content-area-shift)"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"loading": {
|
|
55
|
+
"true": ""
|
|
56
|
+
},
|
|
57
|
+
"useNavbar": {
|
|
58
|
+
"true": {
|
|
59
|
+
"container": ""
|
|
30
60
|
},
|
|
31
61
|
"false": {
|
|
32
|
-
"
|
|
62
|
+
"loadingWrapper": "h-full",
|
|
63
|
+
"container": ""
|
|
33
64
|
}
|
|
34
65
|
}
|
|
35
66
|
},
|
|
36
|
-
"compoundVariants": [
|
|
67
|
+
"compoundVariants": [
|
|
68
|
+
{
|
|
69
|
+
"inner": true,
|
|
70
|
+
"useLightContent": true,
|
|
71
|
+
"class": {
|
|
72
|
+
"container": "",
|
|
73
|
+
"pageTopWrapper": "px-0 lg:px-0",
|
|
74
|
+
"pageActionsWrapper": "px-0 lg:px-0",
|
|
75
|
+
"containerWrapper": "p-[20px] rounded-(--ui-border-radius-md)"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"inner": false,
|
|
80
|
+
"useLightContent": true,
|
|
81
|
+
"class": {
|
|
82
|
+
"container": "lg:pb-2",
|
|
83
|
+
"pageTopWrapper": "px-6 lg:px-0",
|
|
84
|
+
"pageActionsWrapper": "px-6 lg:px-0",
|
|
85
|
+
"containerWrapper": "p-6 lg:p-[15px] lg:rounded-(--ui-border-radius-md)"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"inner": true,
|
|
90
|
+
"offContentScrollbar": false,
|
|
91
|
+
"class": {
|
|
92
|
+
"container": "scrollbar-thin scrollbar-transparent overflow-y-scroll"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"inner": true,
|
|
97
|
+
"useSidebar": [
|
|
98
|
+
true,
|
|
99
|
+
false
|
|
100
|
+
],
|
|
101
|
+
"class": {
|
|
102
|
+
"container": "px-[20px] ps-[20px] pe-[10px] pb-[20px] lg:pt-0 lg:px-[20px] lg:ps-[20px] lg:pe-[10px]"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"inner": false,
|
|
107
|
+
"useSidebar": true,
|
|
108
|
+
"class": {
|
|
109
|
+
"container": "lg:px-(--content-area-shift)",
|
|
110
|
+
"contentWrapper": "lg:pl-[240px] "
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"inner": false,
|
|
115
|
+
"useSidebar": false,
|
|
116
|
+
"class": {
|
|
117
|
+
"container": "px-(--content-area-shift) pb-2 lg:pt-2 lg:px-2",
|
|
118
|
+
"contentWrapper": "lg:pl-0"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"inner": true,
|
|
123
|
+
"useNavbar": [
|
|
124
|
+
true,
|
|
125
|
+
false
|
|
126
|
+
],
|
|
127
|
+
"class": {
|
|
128
|
+
"container": "h-full"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"inner": false,
|
|
133
|
+
"useNavbar": true,
|
|
134
|
+
"class": {
|
|
135
|
+
"container": "h-[calc(100dvh-var(--topbar-height))]"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"inner": false,
|
|
140
|
+
"useNavbar": false,
|
|
141
|
+
"class": {
|
|
142
|
+
"container": "h-full"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
],
|
|
37
146
|
"defaultVariants": {
|
|
147
|
+
"inner": false,
|
|
148
|
+
"noContentScrollbar": false,
|
|
38
149
|
"useLightContent": true
|
|
39
150
|
}
|
|
40
151
|
}
|
package/.nuxt/b24ui/skeleton.ts
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
const accent = [
|
|
2
|
+
"default",
|
|
3
|
+
"accent",
|
|
4
|
+
"less"
|
|
5
|
+
] as const
|
|
6
|
+
|
|
1
7
|
export default {
|
|
2
|
-
"
|
|
8
|
+
"slots": {
|
|
9
|
+
"base": "animate-pulse rounded-(--ui-border-radius-md) "
|
|
10
|
+
},
|
|
11
|
+
"variants": {
|
|
12
|
+
"accent": {
|
|
13
|
+
"default": "bg-(--ui-color-g-glass-grey-bg-1)",
|
|
14
|
+
"accent": "bg-(--ui-color-g-glass-grey-bg-2)" as typeof accent[number],
|
|
15
|
+
"less": "bg-(--ui-color-g-glass-grey-bg-3)"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"defaultVariants": {
|
|
19
|
+
"accent": "default" as typeof accent[number]
|
|
20
|
+
}
|
|
3
21
|
}
|
package/.nuxt/b24ui/slideover.ts
CHANGED
|
@@ -5,23 +5,26 @@ const overlayBlur = [
|
|
|
5
5
|
] as const
|
|
6
6
|
|
|
7
7
|
const side = [
|
|
8
|
-
"top",
|
|
9
8
|
"right",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
9
|
+
"left",
|
|
10
|
+
"top",
|
|
11
|
+
"bottom"
|
|
12
12
|
] as const
|
|
13
13
|
|
|
14
14
|
export default {
|
|
15
15
|
"slots": {
|
|
16
|
-
"overlay": "fixed inset-0 bg-
|
|
17
|
-
"content": "fixed
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
16
|
+
"overlay": "fixed inset-0 bg-linear-to-b from-[#00204e]/52 to-[#00204e]",
|
|
17
|
+
"content": "fixed sm:shadow-lg flex flex-col focus:outline-none h-full",
|
|
18
|
+
"sidebarLayoutRoot": "",
|
|
19
|
+
"sidebarLayoutHeaderWrapper": "",
|
|
20
|
+
"sidebarLayoutPageBottomWrapper": "",
|
|
21
|
+
"header": "pt-[24px] flex-1 flex items-center gap-x-[12px] gap-y-1.5",
|
|
22
|
+
"wrapper": "min-h-[30px]",
|
|
23
|
+
"title": "font-[family-name:var(--ui-font-family-primary)] text-(--b24ui-typography-label-color) font-(--ui-font-weight-semi-bold) mb-0 text-(length:--ui-font-size-4xl)/[calc(var(--ui-font-size-4xl)+2px)]",
|
|
24
|
+
"description": "mt-1 text-(--b24ui-typography-description-color) text-(length:--ui-font-size-sm)",
|
|
24
25
|
"close": "absolute",
|
|
26
|
+
"body": "size-full flex-1",
|
|
27
|
+
"footer": "light bg-(--popup-window-background-color) flex items-center justify-center gap-3 border-t border-t-1 border-t-(--ui-color-divider-less) shadow-top-md py-[9px] px-2 pr-(--scrollbar-width)",
|
|
25
28
|
"safeList": "group-hover:rounded-full group-hover:border-1 group-hover:border-current"
|
|
26
29
|
},
|
|
27
30
|
"variants": {
|
|
@@ -37,48 +40,47 @@ export default {
|
|
|
37
40
|
}
|
|
38
41
|
},
|
|
39
42
|
"side": {
|
|
40
|
-
"top": {
|
|
41
|
-
"content": "inset-x-0 top-0 max-h-full"
|
|
42
|
-
},
|
|
43
43
|
"right": {
|
|
44
|
-
"content": "right-0 inset-y-0 w-
|
|
45
|
-
|
|
46
|
-
"bottom": {
|
|
47
|
-
"content": "inset-x-0 bottom-0 max-h-full"
|
|
44
|
+
"content": "right-0 inset-y-0 w-[calc(100%-60px)] sm:w-[calc(100%-150px)]",
|
|
45
|
+
"sidebarLayoutRoot": "sm:rounded-t-none"
|
|
48
46
|
},
|
|
49
47
|
"left": {
|
|
50
|
-
"content": "left-0 inset-y-0 w-
|
|
48
|
+
"content": "left-0 inset-y-0 w-[calc(100%-60px)] sm:w-[calc(100%-150px)]",
|
|
49
|
+
"sidebarLayoutRoot": "sm:rounded-t-none"
|
|
50
|
+
},
|
|
51
|
+
"top": {
|
|
52
|
+
"content": "inset-x-0 top-0 max-h-full",
|
|
53
|
+
"sidebarLayoutRoot": "sm:rounded-t-none"
|
|
54
|
+
},
|
|
55
|
+
"bottom": {
|
|
56
|
+
"content": "right-[5px] sm:right-[70px] top-0 sm:top-[18px] bottom-0 w-[calc(100%-60px-5px)] sm:w-[calc(100%-150px-70px)] sm:max-h-[calc(100%-18px)]",
|
|
57
|
+
"sidebarLayoutRoot": "sm:rounded-t-[18px]"
|
|
51
58
|
}
|
|
52
59
|
},
|
|
53
60
|
"transition": {
|
|
54
61
|
"true": {
|
|
55
62
|
"overlay": "motion-safe:data-[state=open]:animate-[fade-in_200ms_ease-out] motion-safe:data-[state=closed]:animate-[fade-out_200ms_ease-in]"
|
|
56
63
|
}
|
|
57
|
-
},
|
|
58
|
-
"scrollbarThin": {
|
|
59
|
-
"true": {
|
|
60
|
-
"body": "scrollbar-thin"
|
|
61
|
-
}
|
|
62
64
|
}
|
|
63
65
|
},
|
|
64
66
|
"compoundVariants": [
|
|
65
67
|
{
|
|
66
|
-
"side":
|
|
68
|
+
"side": [
|
|
69
|
+
"right" as typeof side[number],
|
|
70
|
+
"bottom" as typeof side[number]
|
|
71
|
+
],
|
|
67
72
|
"class": {
|
|
68
|
-
"close": "pl-1.5 pr-
|
|
73
|
+
"close": "pl-1.5 pr-[4px] top-[17px] -translate-x-full left-[1px] rounded-l-full"
|
|
69
74
|
}
|
|
70
75
|
},
|
|
71
76
|
{
|
|
72
77
|
"side": "left" as typeof side[number],
|
|
73
78
|
"class": {
|
|
74
|
-
"close": "pr-1.5 pl-
|
|
79
|
+
"close": "pr-1.5 pl-[4px] top-[17px] translate-x-full right-[1px] rounded-r-full [&>div]:flex-row-reverse"
|
|
75
80
|
}
|
|
76
81
|
},
|
|
77
82
|
{
|
|
78
|
-
"side": [
|
|
79
|
-
"top" as typeof side[number],
|
|
80
|
-
"bottom" as typeof side[number]
|
|
81
|
-
],
|
|
83
|
+
"side": "top" as typeof side[number],
|
|
82
84
|
"class": {
|
|
83
85
|
"close": "top-4 end-4"
|
|
84
86
|
}
|
|
@@ -113,8 +115,7 @@ export default {
|
|
|
113
115
|
}
|
|
114
116
|
],
|
|
115
117
|
"defaultVariants": {
|
|
116
|
-
"side": "
|
|
117
|
-
"
|
|
118
|
-
"overlayBlur": "auto" as typeof overlayBlur[number]
|
|
118
|
+
"side": "bottom" as typeof side[number],
|
|
119
|
+
"overlayBlur": "off" as typeof overlayBlur[number]
|
|
119
120
|
}
|
|
120
121
|
}
|