@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/calendar.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
const color = [
|
|
2
|
+
"air-primary",
|
|
3
|
+
"air-primary-success",
|
|
4
|
+
"air-primary-alert",
|
|
5
|
+
"air-primary-copilot",
|
|
6
|
+
"air-primary-warning",
|
|
2
7
|
"default",
|
|
3
8
|
"danger",
|
|
4
9
|
"success",
|
|
@@ -18,75 +23,90 @@ const size = [
|
|
|
18
23
|
|
|
19
24
|
export default {
|
|
20
25
|
"slots": {
|
|
21
|
-
"root": "font-
|
|
26
|
+
"root": "font-[family-name:var(--ui-font-family-primary)] w-full",
|
|
22
27
|
"header": "flex items-center justify-between",
|
|
23
28
|
"body": "flex flex-col space-y-4 pt-4 sm:flex-row sm:space-x-4 sm:space-y-0",
|
|
24
|
-
"heading": "text-center font-semibold truncate
|
|
29
|
+
"heading": "mx-auto text-center font-(--ui-font-weight-semibold) truncate",
|
|
25
30
|
"grid": "w-full border-collapse select-none space-y-1 focus:outline-none",
|
|
26
31
|
"gridRow": "grid grid-cols-7 place-items-center",
|
|
27
32
|
"gridWeekDaysRow": "mb-1 grid w-full grid-cols-7",
|
|
28
33
|
"gridBody": "grid",
|
|
29
|
-
"headCell": "font-normal text-
|
|
34
|
+
"headCell": "font-(--ui-font-weight-normal) text-(--ui-color-design-plain-na-content)",
|
|
30
35
|
"cell": "relative text-center cursor-pointer aria-disabled:cursor-not-allowed",
|
|
31
|
-
"cellTrigger": "m-0.5 relative flex items-center justify-center rounded-full whitespace-nowrap focus-visible:ring-2 focus:outline-none data-disabled:text-
|
|
36
|
+
"cellTrigger": "m-0.5 relative flex items-center justify-center rounded-full whitespace-nowrap focus-visible:ring-2 focus:outline-none text-(--b24ui-typography-label-color) data-disabled:text-(--b24ui-typography-legend-color) data-unavailable:text-(--b24ui-typography-legend-color) data-outside-view:text-(--ui-color-design-plain-na-content-secondary) data-[selected]:text-(--b24ui-color) focus-visible:ring-(--b24ui-background-hover) data-[selected]:bg-(--b24ui-background) data-today:not-data-[selected]:text-(--b24ui-background) data-[highlighted]:bg-(--b24ui-background) data-[highlighted]:text-(--b24ui-color) hover:not-data-[disabled]:not-data-[selected]:bg-(--b24ui-background) hover:not-data-[disabled]:not-data-[selected]:text-(--b24ui-color) data-unavailable:line-through data-unavailable:pointer-events-none data-today:font-(--ui-font-weight-semibold) transition"
|
|
32
37
|
},
|
|
33
38
|
"variants": {
|
|
34
39
|
"color": {
|
|
40
|
+
"air-primary": {
|
|
41
|
+
"root": "style-filled"
|
|
42
|
+
},
|
|
43
|
+
"air-primary-success": {
|
|
44
|
+
"root": "style-filled-success"
|
|
45
|
+
},
|
|
46
|
+
"air-primary-alert": {
|
|
47
|
+
"root": "style-filled-alert"
|
|
48
|
+
},
|
|
49
|
+
"air-primary-copilot": {
|
|
50
|
+
"root": "style-filled-copilot"
|
|
51
|
+
},
|
|
52
|
+
"air-primary-warning": {
|
|
53
|
+
"root": "style-filled-warning"
|
|
54
|
+
},
|
|
35
55
|
"default": {
|
|
36
|
-
"
|
|
56
|
+
"root": "style-old-default"
|
|
37
57
|
},
|
|
38
58
|
"danger": {
|
|
39
|
-
"
|
|
59
|
+
"root": "style-old-danger"
|
|
40
60
|
},
|
|
41
61
|
"success": {
|
|
42
|
-
"
|
|
62
|
+
"root": "style-old-success"
|
|
43
63
|
},
|
|
44
64
|
"warning": {
|
|
45
|
-
"
|
|
65
|
+
"root": "style-old-warning"
|
|
46
66
|
},
|
|
47
67
|
"primary": {
|
|
48
|
-
"
|
|
68
|
+
"root": "style-old-primary"
|
|
49
69
|
},
|
|
50
70
|
"secondary": {
|
|
51
|
-
"
|
|
71
|
+
"root": "style-old-secondary"
|
|
52
72
|
},
|
|
53
73
|
"collab": {
|
|
54
|
-
"
|
|
74
|
+
"root": "style-old-collab"
|
|
55
75
|
},
|
|
56
76
|
"ai": {
|
|
57
|
-
"
|
|
77
|
+
"root": "style-old-ai"
|
|
58
78
|
}
|
|
59
79
|
},
|
|
60
80
|
"size": {
|
|
61
81
|
"xs": {
|
|
62
|
-
"heading": "text-md",
|
|
63
|
-
"cell": "text-sm",
|
|
82
|
+
"heading": "text-(length:--ui-font-size-md)",
|
|
83
|
+
"cell": "text-(length:--ui-font-size-sm)",
|
|
64
84
|
"headCell": "text-[10px]",
|
|
65
|
-
"cellTrigger": "size-
|
|
85
|
+
"cellTrigger": "size-[28px]",
|
|
66
86
|
"body": "space-y-2 pt-2"
|
|
67
87
|
},
|
|
68
88
|
"sm": {
|
|
69
|
-
"heading": "text-md",
|
|
70
|
-
"headCell": "text-sm",
|
|
71
|
-
"cell": "text-sm",
|
|
72
|
-
"cellTrigger": "size-
|
|
89
|
+
"heading": "text-(length:--ui-font-size-md)",
|
|
90
|
+
"headCell": "text-(length:--ui-font-size-sm)",
|
|
91
|
+
"cell": "text-(length:--ui-font-size-sm)",
|
|
92
|
+
"cellTrigger": "size-[28px]"
|
|
73
93
|
},
|
|
74
94
|
"md": {
|
|
75
|
-
"heading": "text-lg",
|
|
76
|
-
"headCell": "text-md",
|
|
77
|
-
"cell": "text-md",
|
|
78
|
-
"cellTrigger": "size-
|
|
95
|
+
"heading": "text-(length:--ui-font-size-lg)",
|
|
96
|
+
"headCell": "text-(length:--ui-font-size-md)",
|
|
97
|
+
"cell": "text-(length:--ui-font-size-md)",
|
|
98
|
+
"cellTrigger": "size-[32px]"
|
|
79
99
|
},
|
|
80
100
|
"lg": {
|
|
81
|
-
"heading": "text-2xl",
|
|
82
|
-
"headCell": "text-lg",
|
|
83
|
-
"cell": "text-lg",
|
|
84
|
-
"cellTrigger": "size-
|
|
101
|
+
"heading": "text-(length:--ui-font-size-2xl)",
|
|
102
|
+
"headCell": "text-(length:--ui-font-size-lg)",
|
|
103
|
+
"cell": "text-(length:--ui-font-size-lg)",
|
|
104
|
+
"cellTrigger": "size-[36px] text-(length:--ui-font-size-lg)"
|
|
85
105
|
}
|
|
86
106
|
}
|
|
87
107
|
},
|
|
88
108
|
"defaultVariants": {
|
|
89
109
|
"size": "md" as typeof size[number],
|
|
90
|
-
"color": "primary" as typeof color[number]
|
|
110
|
+
"color": "air-primary" as typeof color[number]
|
|
91
111
|
}
|
|
92
112
|
}
|
package/.nuxt/b24ui/checkbox.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
const color = [
|
|
2
|
+
"air-primary",
|
|
3
|
+
"air-primary-success",
|
|
4
|
+
"air-primary-alert",
|
|
5
|
+
"air-primary-copilot",
|
|
6
|
+
"air-primary-warning",
|
|
2
7
|
"default",
|
|
3
8
|
"danger",
|
|
4
9
|
"success",
|
|
@@ -30,31 +35,62 @@ const size = [
|
|
|
30
35
|
export default {
|
|
31
36
|
"slots": {
|
|
32
37
|
"root": "relative flex items-start",
|
|
33
|
-
"base": "cursor-pointer
|
|
34
|
-
"indicator": "flex items-center justify-center size-full text-
|
|
38
|
+
"base": "cursor-pointer flex items-center justify-center shrink-0 rounded-(--ui-border-radius-2xs) text-(--b24ui-typography-label-color) ring ring-inset ring-(--ui-color-base-5) focus-visible:outline-(--b24ui-border-color) outline-transparent focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
39
|
+
"indicator": "flex items-center justify-center size-full text-(--b24ui-color)" as typeof indicator[number],
|
|
35
40
|
"container": "flex items-center",
|
|
36
|
-
"wrapper": "font-b24-primary ms-2",
|
|
37
41
|
"icon": "shrink-0 size-full",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
42
|
+
"wrapper": "font-[family-name:var(--ui-font-family-primary)] font-(--ui-font-weight-regular)",
|
|
43
|
+
"label": "cursor-pointer block text-(--b24ui-typography-label-color)",
|
|
44
|
+
"description": "text-(--b24ui-typography-description-color)"
|
|
40
45
|
},
|
|
41
46
|
"variants": {
|
|
42
47
|
"color": {
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
48
|
+
"air-primary": {
|
|
49
|
+
"root": "style-filled"
|
|
50
|
+
},
|
|
51
|
+
"air-primary-success": {
|
|
52
|
+
"root": "style-filled-success"
|
|
53
|
+
},
|
|
54
|
+
"air-primary-alert": {
|
|
55
|
+
"root": "style-filled-alert"
|
|
56
|
+
},
|
|
57
|
+
"air-primary-copilot": {
|
|
58
|
+
"root": "style-filled-copilot"
|
|
59
|
+
},
|
|
60
|
+
"air-primary-warning": {
|
|
61
|
+
"root": "style-filled-warning"
|
|
62
|
+
},
|
|
63
|
+
"default": {
|
|
64
|
+
"root": "style-old-default"
|
|
65
|
+
},
|
|
66
|
+
"danger": {
|
|
67
|
+
"root": "style-old-danger"
|
|
68
|
+
},
|
|
69
|
+
"success": {
|
|
70
|
+
"root": "style-old-success"
|
|
71
|
+
},
|
|
72
|
+
"warning": {
|
|
73
|
+
"root": "style-old-warning"
|
|
74
|
+
},
|
|
75
|
+
"primary": {
|
|
76
|
+
"root": "style-old-primary"
|
|
77
|
+
},
|
|
78
|
+
"secondary": {
|
|
79
|
+
"root": "style-old-secondary"
|
|
80
|
+
},
|
|
81
|
+
"collab": {
|
|
82
|
+
"root": "style-old-collab"
|
|
83
|
+
},
|
|
84
|
+
"ai": {
|
|
85
|
+
"root": "style-old-ai"
|
|
86
|
+
}
|
|
51
87
|
},
|
|
52
88
|
"variant": {
|
|
53
89
|
"list": {
|
|
54
90
|
"root": ""
|
|
55
91
|
},
|
|
56
92
|
"card": {
|
|
57
|
-
"root": "border border-
|
|
93
|
+
"root": "border border-(--ui-color-design-outline-na-stroke) bg-(--ui-color-design-outline-na-bg)"
|
|
58
94
|
}
|
|
59
95
|
},
|
|
60
96
|
"indicator": {
|
|
@@ -73,44 +109,46 @@ export default {
|
|
|
73
109
|
},
|
|
74
110
|
"size": {
|
|
75
111
|
"xs": {
|
|
76
|
-
"base": "size-
|
|
77
|
-
"container": "h-
|
|
78
|
-
"wrapper": "text-xs",
|
|
79
|
-
"label": "leading-
|
|
112
|
+
"base": "size-[12px]",
|
|
113
|
+
"container": "h-[12px]",
|
|
114
|
+
"wrapper": "text-(length:--ui-font-size-xs)",
|
|
115
|
+
"label": "leading-[11px]"
|
|
80
116
|
},
|
|
81
117
|
"sm": {
|
|
82
|
-
"base": "size-
|
|
83
|
-
"container": "h-
|
|
84
|
-
"wrapper": "text-sm",
|
|
85
|
-
"label": "leading-
|
|
118
|
+
"base": "size-[14px]",
|
|
119
|
+
"container": "h-[14px]",
|
|
120
|
+
"wrapper": "text-(length:--ui-font-size-sm)",
|
|
121
|
+
"label": "leading-[14px]"
|
|
86
122
|
},
|
|
87
123
|
"md": {
|
|
88
|
-
"base": "size-
|
|
89
|
-
"container": "h-
|
|
90
|
-
"wrapper": "text-
|
|
91
|
-
"label": "leading-
|
|
124
|
+
"base": "size-[16px]",
|
|
125
|
+
"container": "h-[16px]",
|
|
126
|
+
"wrapper": "text-(length:--ui-font-size-lg)",
|
|
127
|
+
"label": "leading-[15px]"
|
|
92
128
|
},
|
|
93
129
|
"lg": {
|
|
94
|
-
"base": "size-
|
|
95
|
-
"container": "h-
|
|
96
|
-
"wrapper": "text-xl",
|
|
97
|
-
"label": "leading-
|
|
130
|
+
"base": "size-[20px]",
|
|
131
|
+
"container": "h-[20px]",
|
|
132
|
+
"wrapper": "text-(length:--ui-font-size-xl)",
|
|
133
|
+
"label": "leading-[18px]"
|
|
98
134
|
}
|
|
99
135
|
},
|
|
100
136
|
"required": {
|
|
101
137
|
"true": {
|
|
102
|
-
"label": "after:content-['*'] after:ms-0.5 after:text-
|
|
138
|
+
"label": "after:content-['*'] after:ms-0.5 after:text-(--ui-color-accent-main-alert)"
|
|
103
139
|
}
|
|
104
140
|
},
|
|
105
141
|
"disabled": {
|
|
106
142
|
"true": {
|
|
107
|
-
"base": "cursor-not-allowed opacity-
|
|
108
|
-
"label": "cursor-not-allowed opacity-
|
|
109
|
-
"description": "cursor-not-allowed opacity-
|
|
143
|
+
"base": "cursor-not-allowed opacity-30",
|
|
144
|
+
"label": "cursor-not-allowed opacity-30",
|
|
145
|
+
"description": "cursor-not-allowed opacity-30"
|
|
110
146
|
}
|
|
111
147
|
},
|
|
112
148
|
"checked": {
|
|
113
|
-
"true":
|
|
149
|
+
"true": {
|
|
150
|
+
"base": "ring-1 ring-(--b24ui-background) bg-(--b24ui-background)"
|
|
151
|
+
}
|
|
114
152
|
}
|
|
115
153
|
},
|
|
116
154
|
"compoundVariants": [
|
|
@@ -118,82 +156,41 @@ export default {
|
|
|
118
156
|
"size": "xs" as typeof size[number],
|
|
119
157
|
"variant": "card" as typeof variant[number],
|
|
120
158
|
"class": {
|
|
121
|
-
"root": "
|
|
159
|
+
"root": "px-[13px] py-[7px] rounded-(--ui-border-radius-xs)"
|
|
122
160
|
}
|
|
123
161
|
},
|
|
124
162
|
{
|
|
125
163
|
"size": "sm" as typeof size[number],
|
|
126
164
|
"variant": "card" as typeof variant[number],
|
|
127
165
|
"class": {
|
|
128
|
-
"root": "
|
|
166
|
+
"root": "px-[13px] py-[9px] rounded-(--ui-border-radius-sm)"
|
|
129
167
|
}
|
|
130
168
|
},
|
|
131
169
|
{
|
|
132
170
|
"size": "md" as typeof size[number],
|
|
133
171
|
"variant": "card" as typeof variant[number],
|
|
134
172
|
"class": {
|
|
135
|
-
"root": "
|
|
173
|
+
"root": "px-[17px] py-[10px] rounded-(--ui-border-radius-md)"
|
|
136
174
|
}
|
|
137
175
|
},
|
|
138
176
|
{
|
|
139
177
|
"size": "lg" as typeof size[number],
|
|
140
178
|
"variant": "card" as typeof variant[number],
|
|
141
179
|
"class": {
|
|
142
|
-
"root": "
|
|
180
|
+
"root": "px-[23px] py-[12px] rounded-(--ui-border-radius-md)"
|
|
143
181
|
}
|
|
144
182
|
},
|
|
145
183
|
{
|
|
146
|
-
"
|
|
147
|
-
"variant": "list" as typeof variant[number],
|
|
148
|
-
"checked": true,
|
|
149
|
-
"class": "ring-2 ring-base-900 bg-base-900 dark:ring-base-350 dark:bg-base-350 dark:text-base-800"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"color": "danger" as typeof color[number],
|
|
153
|
-
"variant": "list" as typeof variant[number],
|
|
154
|
-
"checked": true,
|
|
155
|
-
"class": "ring-2 ring-red-500 bg-red-500 dark:ring-red-600 dark:bg-red-600 dark:text-red-250"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"color": "success" as typeof color[number],
|
|
159
|
-
"variant": "list" as typeof variant[number],
|
|
160
|
-
"checked": true,
|
|
161
|
-
"class": "ring-2 ring-green-500 bg-green-500 dark:ring-green-600 dark:bg-green-600 dark:text-green-250"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"color": "warning" as typeof color[number],
|
|
165
|
-
"variant": "list" as typeof variant[number],
|
|
166
|
-
"checked": true,
|
|
167
|
-
"class": "ring-2 ring-orange-500 bg-orange-500 dark:ring-orange-600 dark:bg-orange-600 dark:text-orange-250"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"color": "primary" as typeof color[number],
|
|
171
|
-
"variant": "list" as typeof variant[number],
|
|
172
|
-
"checked": true,
|
|
173
|
-
"class": "ring-2 ring-blue-500 bg-blue-500 dark:ring-blue-600 dark:bg-blue-600 dark:text-blue-250"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"color": "secondary" as typeof color[number],
|
|
177
|
-
"variant": "list" as typeof variant[number],
|
|
178
|
-
"checked": true,
|
|
179
|
-
"class": "ring-2 ring-cyan-350 bg-cyan-350 dark:ring-cyan-500 dark:bg-cyan-500"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"color": "collab" as typeof color[number],
|
|
183
|
-
"variant": "list" as typeof variant[number],
|
|
184
|
-
"checked": true,
|
|
185
|
-
"class": "ring-2 ring-collab-500 bg-collab-500 dark:ring-collab-600 dark:bg-collab-600 dark:text-collab-250"
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"color": "ai" as typeof color[number],
|
|
189
|
-
"variant": "list" as typeof variant[number],
|
|
184
|
+
"variant": "card" as typeof variant[number],
|
|
190
185
|
"checked": true,
|
|
191
|
-
"class":
|
|
186
|
+
"class": {
|
|
187
|
+
"root": "border-(--b24ui-border-color) cursor-pointer"
|
|
188
|
+
}
|
|
192
189
|
}
|
|
193
190
|
],
|
|
194
191
|
"defaultVariants": {
|
|
192
|
+
"color": "air-primary" as typeof color[number],
|
|
195
193
|
"size": "md" as typeof size[number],
|
|
196
|
-
"color": "primary" as typeof color[number],
|
|
197
194
|
"variant": "list" as typeof variant[number],
|
|
198
195
|
"indicator": "start" as typeof indicator[number]
|
|
199
196
|
}
|
package/.nuxt/b24ui/chip.ts
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
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-accent",
|
|
9
|
+
"air-secondary-accent-1",
|
|
10
|
+
"air-tertiary",
|
|
2
11
|
"default",
|
|
3
12
|
"danger",
|
|
4
13
|
"success",
|
|
@@ -6,20 +15,13 @@ const color = [
|
|
|
6
15
|
"primary",
|
|
7
16
|
"secondary",
|
|
8
17
|
"collab",
|
|
9
|
-
"ai"
|
|
10
|
-
"link"
|
|
18
|
+
"ai"
|
|
11
19
|
] as const
|
|
12
20
|
|
|
13
21
|
const size = [
|
|
14
|
-
"3xs",
|
|
15
|
-
"2xs",
|
|
16
|
-
"xs",
|
|
17
22
|
"sm",
|
|
18
23
|
"md",
|
|
19
|
-
"lg"
|
|
20
|
-
"xl",
|
|
21
|
-
"2xl",
|
|
22
|
-
"3xl"
|
|
24
|
+
"lg"
|
|
23
25
|
] as const
|
|
24
26
|
|
|
25
27
|
const position = [
|
|
@@ -31,31 +33,68 @@ const position = [
|
|
|
31
33
|
|
|
32
34
|
export default {
|
|
33
35
|
"slots": {
|
|
34
|
-
"root": "relative inline-flex items-center justify-center
|
|
35
|
-
"base": "select-none
|
|
36
|
+
"root": "relative shrink-0 isolate inline-flex items-center justify-center",
|
|
37
|
+
"base": "ui-counter__scope --air font-[family-name:var(--ui-font-family-primary)] font-(--ui-font-weight-medium) select-none relative min-w-(--ui-counter-size) h-(--ui-counter-size) py-0 px-(--ui-counter-inline-space) inline-flex items-center justify-center bg-(--b24ui-background) rounded-(--ui-counter-current-size) ring-(length:--b24ui-border-width) ring-(--b24ui-border-color) text-center align-middle text-(length:--ui-counter-font-size) text-(--b24ui-color) leading-(--ui-counter-current-size) overflow-hidden z-1 text-nowrap",
|
|
38
|
+
"trailingIcon": "size-(--ui-counter-size) text-inherit text-(length:--ui-counter-symbol-font-size) opacity-96 tracking-(--ui-letter-spacing-xl) me-(--ui-counter-symbol-compensation) empty:me-[0]"
|
|
36
39
|
},
|
|
37
40
|
"variants": {
|
|
38
41
|
"color": {
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
"air-primary": {
|
|
43
|
+
"base": "style-filled"
|
|
44
|
+
},
|
|
45
|
+
"air-primary-success": {
|
|
46
|
+
"base": "style-filled-success"
|
|
47
|
+
},
|
|
48
|
+
"air-primary-alert": {
|
|
49
|
+
"base": "style-filled-alert"
|
|
50
|
+
},
|
|
51
|
+
"air-primary-copilot": {
|
|
52
|
+
"base": "style-filled-copilot"
|
|
53
|
+
},
|
|
54
|
+
"air-primary-warning": {
|
|
55
|
+
"base": "style-filled-warning"
|
|
56
|
+
},
|
|
57
|
+
"air-secondary": {
|
|
58
|
+
"base": "style-tinted-no-accent-1"
|
|
59
|
+
},
|
|
60
|
+
"air-secondary-accent": {
|
|
61
|
+
"base": "style-filled-no-accent"
|
|
62
|
+
},
|
|
63
|
+
"air-secondary-accent-1": {
|
|
64
|
+
"base": "style-filled-no-accent-inverted edge-dark:text-(--ui-color-g-content-grey-2)"
|
|
65
|
+
},
|
|
66
|
+
"air-tertiary": {
|
|
67
|
+
"base": "style-outline-no-accent"
|
|
68
|
+
},
|
|
69
|
+
"default": {
|
|
70
|
+
"base": "style-old-default"
|
|
71
|
+
},
|
|
72
|
+
"danger": {
|
|
73
|
+
"base": "style-old-danger"
|
|
74
|
+
},
|
|
75
|
+
"success": {
|
|
76
|
+
"base": "style-old-success"
|
|
77
|
+
},
|
|
78
|
+
"warning": {
|
|
79
|
+
"base": "style-old-warning"
|
|
80
|
+
},
|
|
81
|
+
"primary": {
|
|
82
|
+
"base": "style-old-primary"
|
|
83
|
+
},
|
|
84
|
+
"secondary": {
|
|
85
|
+
"base": "style-old-secondary"
|
|
86
|
+
},
|
|
87
|
+
"collab": {
|
|
88
|
+
"base": "style-old-collab"
|
|
89
|
+
},
|
|
90
|
+
"ai": {
|
|
91
|
+
"base": "style-old-ai"
|
|
92
|
+
}
|
|
48
93
|
},
|
|
49
94
|
"size": {
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"sm": "h-sm min-w-sm text-4xs font-regular",
|
|
54
|
-
"md": "h-md min-w-md text-3xs",
|
|
55
|
-
"lg": "h-lg min-w-lg rounded-md text-xs",
|
|
56
|
-
"xl": "h-lg min-w-lg rounded-md text-xs",
|
|
57
|
-
"2xl": "h-lg min-w-lg rounded-md text-xs",
|
|
58
|
-
"3xl": "h-lg min-w-lg rounded-md text-xs"
|
|
95
|
+
"sm": "ui-counter-sm font-(--ui-font-weight-regular)",
|
|
96
|
+
"md": "ui-counter-md",
|
|
97
|
+
"lg": "ui-counter-lg"
|
|
59
98
|
},
|
|
60
99
|
"position": {
|
|
61
100
|
"top-right": "top-0 right-0",
|
|
@@ -63,12 +102,26 @@ export default {
|
|
|
63
102
|
"top-left": "top-0 left-0",
|
|
64
103
|
"bottom-left": "bottom-0 left-0"
|
|
65
104
|
},
|
|
105
|
+
"inverted": {
|
|
106
|
+
"true": "",
|
|
107
|
+
"false": ""
|
|
108
|
+
},
|
|
66
109
|
"inset": {
|
|
67
110
|
"false": ""
|
|
68
111
|
},
|
|
69
112
|
"standalone": {
|
|
70
113
|
"true": "",
|
|
71
|
-
"false": "
|
|
114
|
+
"false": "absolute"
|
|
115
|
+
},
|
|
116
|
+
"hideZero": {
|
|
117
|
+
"true": {
|
|
118
|
+
"base": "data-[value=0]:hidden"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"oneDigit": {
|
|
122
|
+
"true": {
|
|
123
|
+
"base": "px-0"
|
|
124
|
+
}
|
|
72
125
|
}
|
|
73
126
|
},
|
|
74
127
|
"compoundVariants": [
|
|
@@ -195,11 +248,47 @@ export default {
|
|
|
195
248
|
"inset": true,
|
|
196
249
|
"standalone": false,
|
|
197
250
|
"class": "translate-y-0 -translate-x-0 transform"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"inverted": true,
|
|
254
|
+
"color": "air-primary" as typeof color[number],
|
|
255
|
+
"class": {
|
|
256
|
+
"base": "style-filled-inverted"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"inverted": true,
|
|
261
|
+
"color": "air-primary-success" as typeof color[number],
|
|
262
|
+
"class": {
|
|
263
|
+
"base": "style-filled-success-inverted"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"inverted": true,
|
|
268
|
+
"color": "air-primary-alert" as typeof color[number],
|
|
269
|
+
"class": {
|
|
270
|
+
"base": "style-filled-alert-inverted"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"inverted": true,
|
|
275
|
+
"color": "air-primary-copilot" as typeof color[number],
|
|
276
|
+
"class": {
|
|
277
|
+
"base": "style-filled-copilot-inverted"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"inverted": true,
|
|
282
|
+
"color": "air-primary-warning" as typeof color[number],
|
|
283
|
+
"class": {
|
|
284
|
+
"base": "style-filled-warning-inverted"
|
|
285
|
+
}
|
|
198
286
|
}
|
|
199
287
|
],
|
|
200
288
|
"defaultVariants": {
|
|
201
289
|
"size": "sm" as typeof size[number],
|
|
202
|
-
"color": "
|
|
203
|
-
"position": "top-right" as typeof position[number]
|
|
290
|
+
"color": "air-primary-alert" as typeof color[number],
|
|
291
|
+
"position": "top-right" as typeof position[number],
|
|
292
|
+
"inverted": false
|
|
204
293
|
}
|
|
205
294
|
}
|
package/.nuxt/b24ui/container.ts
CHANGED