@bitrix24/b24ui-nuxt 0.6.8 → 0.7.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 +20 -0
- package/.nuxt/b24ui/advice.ts +2 -10
- package/.nuxt/b24ui/alert.ts +2 -15
- package/.nuxt/b24ui/avatar-group.ts +2 -10
- package/.nuxt/b24ui/avatar.ts +3 -11
- package/.nuxt/b24ui/badge.ts +48 -13
- package/.nuxt/b24ui/button-group.ts +2 -22
- package/.nuxt/b24ui/button.ts +4 -17
- package/.nuxt/b24ui/calendar.ts +3 -11
- package/.nuxt/b24ui/checkbox.ts +75 -11
- package/.nuxt/b24ui/chip.ts +2 -10
- package/.nuxt/b24ui/collapsible.ts +2 -10
- package/.nuxt/b24ui/container.ts +2 -10
- package/.nuxt/b24ui/countdown.ts +2 -10
- package/.nuxt/b24ui/description-list.ts +2 -15
- package/.nuxt/b24ui/dropdown-menu.ts +4 -11
- package/.nuxt/b24ui/form-field.ts +3 -10
- package/.nuxt/b24ui/form.ts +2 -10
- package/.nuxt/b24ui/index.ts +1 -0
- package/.nuxt/b24ui/input-menu.ts +6 -30
- package/.nuxt/b24ui/input-number.ts +15 -10
- package/.nuxt/b24ui/input.ts +4 -17
- package/.nuxt/b24ui/kbd.ts +2 -10
- package/.nuxt/b24ui/link.ts +11 -17
- package/.nuxt/b24ui/modal.ts +3 -11
- package/.nuxt/b24ui/navbar-divider.ts +2 -10
- package/.nuxt/b24ui/navbar-section.ts +2 -10
- package/.nuxt/b24ui/navbar-spacer.ts +2 -10
- package/.nuxt/b24ui/navbar.ts +2 -10
- package/.nuxt/b24ui/navigation-menu.ts +69 -60
- package/.nuxt/b24ui/popover.ts +2 -10
- package/.nuxt/b24ui/progress.ts +2 -10
- package/.nuxt/b24ui/radio-group.ts +3 -11
- package/.nuxt/b24ui/range.ts +2 -10
- package/.nuxt/b24ui/select-menu.ts +10 -40
- package/.nuxt/b24ui/select.ts +10 -40
- package/.nuxt/b24ui/separator.ts +2 -10
- package/.nuxt/b24ui/sidebar-body.ts +2 -10
- package/.nuxt/b24ui/sidebar-footer.ts +2 -10
- package/.nuxt/b24ui/sidebar-header.ts +2 -10
- package/.nuxt/b24ui/sidebar-heading.ts +2 -10
- package/.nuxt/b24ui/sidebar-layout.ts +3 -11
- package/.nuxt/b24ui/sidebar-section.ts +2 -10
- package/.nuxt/b24ui/sidebar-spacer.ts +2 -10
- package/.nuxt/b24ui/sidebar.ts +2 -10
- package/.nuxt/b24ui/skeleton.ts +2 -10
- package/.nuxt/b24ui/slideover.ts +2 -10
- package/.nuxt/b24ui/stacked-layout.ts +2 -10
- package/.nuxt/b24ui/switch.ts +2 -10
- package/.nuxt/b24ui/tabs.ts +6 -13
- package/.nuxt/b24ui/textarea.ts +4 -17
- package/.nuxt/b24ui/toast.ts +2 -15
- package/.nuxt/b24ui/toaster.ts +3 -11
- package/.nuxt/b24ui/tooltip.ts +3 -11
- package/.nuxt/b24ui.css +1 -1
- package/cli/templates.mjs +2 -2
- package/dist/meta.d.mts +35333 -15836
- package/dist/meta.mjs +35333 -15836
- package/dist/module.json +1 -1
- package/dist/module.mjs +11 -3
- package/dist/runtime/air-design-tokens.css +1 -0
- package/dist/runtime/components/Accordion.vue +96 -0
- package/dist/runtime/components/Accordion.vue.d.ts +78 -0
- package/dist/runtime/components/Advice.vue +1 -1
- package/dist/runtime/components/Alert.vue +1 -1
- package/dist/runtime/components/App.vue +1 -1
- package/dist/runtime/components/Avatar.vue +11 -3
- package/dist/runtime/components/Avatar.vue.d.ts +2 -1
- package/dist/runtime/components/AvatarGroup.vue +1 -1
- package/dist/runtime/components/Badge.vue +5 -3
- package/dist/runtime/components/Badge.vue.d.ts +2 -0
- package/dist/runtime/components/Button.vue +2 -3
- package/dist/runtime/components/Button.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue +1 -1
- package/dist/runtime/components/Checkbox.vue +13 -4
- package/dist/runtime/components/Checkbox.vue.d.ts +9 -0
- package/dist/runtime/components/Chip.vue +1 -1
- package/dist/runtime/components/Collapsible.vue +1 -1
- package/dist/runtime/components/Countdown.vue +1 -1
- package/dist/runtime/components/Countdown.vue.d.ts +2 -2
- package/dist/runtime/components/DescriptionList.vue +3 -2
- package/dist/runtime/components/DescriptionList.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenu.vue +1 -1
- package/dist/runtime/components/DropdownMenu.vue.d.ts +2 -0
- package/dist/runtime/components/DropdownMenuContent.vue +74 -72
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +4 -20
- package/dist/runtime/components/Form.vue +6 -6
- package/dist/runtime/components/Form.vue.d.ts +12 -11
- package/dist/runtime/components/FormField.vue +4 -4
- package/dist/runtime/components/Input.vue +12 -8
- package/dist/runtime/components/Input.vue.d.ts +31 -30
- package/dist/runtime/components/InputMenu.vue +23 -20
- package/dist/runtime/components/InputMenu.vue.d.ts +6 -4
- package/dist/runtime/components/InputNumber.vue +17 -10
- package/dist/runtime/components/InputNumber.vue.d.ts +6 -3
- package/dist/runtime/components/Link.vue +5 -13
- package/dist/runtime/components/Modal.vue +22 -14
- package/dist/runtime/components/Modal.vue.d.ts +18 -5
- package/dist/runtime/components/Navbar.vue +1 -1
- package/dist/runtime/components/NavbarDivider.vue +1 -1
- package/dist/runtime/components/NavbarSection.vue +1 -1
- package/dist/runtime/components/NavbarSpacer.vue +1 -1
- package/dist/runtime/components/NavigationMenu.vue +186 -44
- package/dist/runtime/components/NavigationMenu.vue.d.ts +39 -8
- package/dist/runtime/components/OverlayProvider.vue +2 -2
- package/dist/runtime/components/Popover.vue +4 -0
- package/dist/runtime/components/Popover.vue.d.ts +2 -1
- package/dist/runtime/components/Progress.vue +3 -2
- package/dist/runtime/components/Progress.vue.d.ts +2 -2
- package/dist/runtime/components/RadioGroup.vue +24 -8
- package/dist/runtime/components/RadioGroup.vue.d.ts +3 -1
- package/dist/runtime/components/Range.vue +2 -2
- package/dist/runtime/components/Range.vue.d.ts +19 -20
- package/dist/runtime/components/Select.vue +57 -31
- package/dist/runtime/components/Select.vue.d.ts +110 -2
- package/dist/runtime/components/SelectMenu.vue +77 -23
- package/dist/runtime/components/SelectMenu.vue.d.ts +111 -5
- package/dist/runtime/components/Separator.vue +3 -3
- package/dist/runtime/components/Sidebar.vue +1 -1
- package/dist/runtime/components/SidebarBody.vue +1 -1
- package/dist/runtime/components/SidebarFooter.vue +1 -1
- package/dist/runtime/components/SidebarHeader.vue +1 -1
- package/dist/runtime/components/SidebarHeading.vue +1 -1
- package/dist/runtime/components/SidebarLayout.vue +1 -1
- package/dist/runtime/components/SidebarSection.vue +1 -1
- package/dist/runtime/components/SidebarSpacer.vue +1 -1
- package/dist/runtime/components/Slideover.vue +23 -15
- package/dist/runtime/components/Slideover.vue.d.ts +18 -5
- package/dist/runtime/components/StackedLayout.vue +1 -1
- package/dist/runtime/components/Switch.vue +1 -1
- package/dist/runtime/components/Tabs.vue +28 -7
- package/dist/runtime/components/Tabs.vue.d.ts +6 -1
- package/dist/runtime/components/Textarea.vue +13 -9
- package/dist/runtime/components/Textarea.vue.d.ts +31 -30
- package/dist/runtime/components/Toast.vue +7 -6
- package/dist/runtime/components/Toast.vue.d.ts +6 -0
- package/dist/runtime/components/Toaster.vue +4 -4
- package/dist/runtime/components/Toaster.vue.d.ts +6 -0
- package/dist/runtime/components/Tooltip.vue +9 -2
- package/dist/runtime/components/Tooltip.vue.d.ts +2 -1
- package/dist/runtime/components/content/TableWrapper.vue +1 -1
- package/dist/runtime/composables/defineLocale.d.ts +2 -0
- package/dist/runtime/composables/defineLocale.js +4 -0
- package/dist/runtime/composables/defineShortcuts.js +8 -2
- package/dist/runtime/composables/useFormField.d.ts +1 -1
- package/dist/runtime/composables/useFormField.js +2 -1
- package/dist/runtime/composables/useKbd.d.ts +1 -0
- package/dist/runtime/composables/useKbd.js +4 -3
- package/dist/runtime/composables/useOverlay.d.ts +11 -11
- package/dist/runtime/composables/useOverlay.js +17 -11
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/inertia/components/Link.vue +45 -60
- package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
- package/dist/runtime/inertia/components/LinkBase.vue +68 -0
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +25 -0
- package/dist/runtime/inertia/stubs.d.ts +1 -1
- package/dist/runtime/inertia/stubs.js +1 -1
- package/dist/runtime/prose/A.vue +1 -1
- package/dist/runtime/prose/Blockquote.vue +1 -1
- package/dist/runtime/prose/Code.vue +1 -1
- package/dist/runtime/prose/Em.vue +1 -1
- package/dist/runtime/prose/H1.vue +1 -1
- package/dist/runtime/prose/H2.vue +1 -1
- package/dist/runtime/prose/H3.vue +1 -1
- package/dist/runtime/prose/H4.vue +1 -1
- package/dist/runtime/prose/H5.vue +1 -1
- package/dist/runtime/prose/H6.vue +1 -1
- package/dist/runtime/prose/Hr.vue +1 -1
- package/dist/runtime/prose/Img.vue +1 -1
- package/dist/runtime/prose/Li.vue +1 -1
- package/dist/runtime/prose/Ol.vue +1 -1
- package/dist/runtime/prose/P.vue +1 -1
- package/dist/runtime/prose/Pre.vue +1 -1
- package/dist/runtime/prose/Strong.vue +1 -1
- package/dist/runtime/prose/Table.vue +1 -1
- package/dist/runtime/prose/Tbody.vue +1 -1
- package/dist/runtime/prose/Td.vue +1 -1
- package/dist/runtime/prose/Th.vue +1 -1
- package/dist/runtime/prose/Thead.vue +1 -1
- package/dist/runtime/prose/Tr.vue +1 -1
- package/dist/runtime/prose/Ul.vue +1 -1
- package/dist/runtime/types/form.d.ts +11 -10
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/locale.d.ts +1 -0
- package/dist/runtime/types/tv.d.ts +53 -0
- package/dist/runtime/types/tv.js +0 -0
- package/dist/runtime/types/utils.d.ts +4 -51
- package/dist/runtime/types/utils.js +1 -0
- package/dist/runtime/utils/link.d.ts +1 -0
- package/dist/runtime/utils/link.js +12 -0
- package/dist/runtime/vue/components/Link.vue +26 -40
- package/dist/runtime/vue/composables/useAppConfig.js +3 -1
- package/dist/runtime/vue/stubs.d.ts +1 -1
- package/dist/runtime/vue/stubs.js +1 -1
- package/dist/shared/{b24ui-nuxt.jU270f-Q.mjs → b24ui-nuxt.CxsFEY3M.mjs} +268 -122
- package/dist/unplugin.d.mts +2 -2
- package/dist/unplugin.mjs +6 -3
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +2 -2
- package/package.json +30 -29
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/b24ui/b24ui/src/theme/form-field"
|
|
2
|
-
|
|
3
1
|
const size = [
|
|
4
2
|
"xs",
|
|
5
3
|
"sm",
|
|
@@ -7,11 +5,7 @@ const size = [
|
|
|
7
5
|
"lg"
|
|
8
6
|
] as const
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
"colorMode": true
|
|
12
|
-
}) : template
|
|
13
|
-
|
|
14
|
-
const theme = {
|
|
8
|
+
export default {
|
|
15
9
|
"slots": {
|
|
16
10
|
"root": "font-b24-system font-regular",
|
|
17
11
|
"wrapper": "leading-none",
|
|
@@ -21,6 +15,7 @@ const theme = {
|
|
|
21
15
|
"container": "relative",
|
|
22
16
|
"description": "mt-0.5 leading-tight text-base-500 dark:text-base-600",
|
|
23
17
|
"error": "mt-1 text-red-500 dark:text-red-600",
|
|
18
|
+
"errorWrapper": "flex flex-row flex-nowrap gap-0.5",
|
|
24
19
|
"errorIcon": "size-lg",
|
|
25
20
|
"help": "mt-1.5 leading-tight italic text-base-500 dark:text-base-600"
|
|
26
21
|
},
|
|
@@ -60,6 +55,4 @@ const theme = {
|
|
|
60
55
|
"defaultVariants": {
|
|
61
56
|
"size": "md" as typeof size[number]
|
|
62
57
|
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export default result as typeof theme
|
|
58
|
+
}
|
package/.nuxt/b24ui/form.ts
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"colorMode": true
|
|
5
|
-
}) : template
|
|
6
|
-
|
|
7
|
-
const theme = {
|
|
1
|
+
export default {
|
|
8
2
|
"base": ""
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export default result as typeof theme
|
|
3
|
+
}
|
package/.nuxt/b24ui/index.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/b24ui/b24ui/src/theme/input-menu"
|
|
2
|
-
|
|
3
|
-
const buttonGroup = [
|
|
4
|
-
"horizontal",
|
|
5
|
-
"vertical"
|
|
6
|
-
] as const
|
|
7
|
-
|
|
8
1
|
const size = [
|
|
9
2
|
"xs",
|
|
10
3
|
"sm",
|
|
@@ -38,22 +31,7 @@ const type = [
|
|
|
38
31
|
"file"
|
|
39
32
|
] as const
|
|
40
33
|
|
|
41
|
-
|
|
42
|
-
"default",
|
|
43
|
-
"danger",
|
|
44
|
-
"success",
|
|
45
|
-
"warning",
|
|
46
|
-
"primary",
|
|
47
|
-
"secondary",
|
|
48
|
-
"collab",
|
|
49
|
-
"ai"
|
|
50
|
-
] as const
|
|
51
|
-
|
|
52
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
53
|
-
"colorMode": true
|
|
54
|
-
}) : template
|
|
55
|
-
|
|
56
|
-
const theme = {
|
|
34
|
+
export default {
|
|
57
35
|
"slots": {
|
|
58
36
|
"root": "isolate relative inline-flex items-center w-full",
|
|
59
37
|
"base": "py-0 w-full border-0 focus:outline-none disabled:cursor-not-allowed disabled:bg-base-30/37 disabled:resize-none disabled:text-base-500 dark:disabled:bg-base-900/37 dark:disabled:text-base-800 appearance-none transition duration-300 ease-linear ring ring-inset ring-base-300 dark:ring-base-800 text-base-master bg-white placeholder:text-base-400 hover:text-base-900 focus:text-base-900 active:text-base-900 dark:text-base-150 dark:bg-transparent dark:placeholder:text-base-300 dark:hover:text-base-350 dark:focus:text-base-350 dark:active:text-base-350 font-b24-primary font-regular text-md leading-none align-middle transition-colors",
|
|
@@ -65,8 +43,8 @@ const theme = {
|
|
|
65
43
|
"trailingIcon": "shrink-0 text-base-400",
|
|
66
44
|
"tag": "pointer-events-none select-none absolute z-10 -top-1.5 right-3 h-sm px-1.5 flex flex-col justify-center items-center font-b24-primary font-bold text-6xs leading-none uppercase rounded-full",
|
|
67
45
|
"arrow": "fill-base-master/10 dark:fill-base-100/20",
|
|
68
|
-
"content": "w-(--reka-combobox-trigger-width) min-w-fit bg-white dark:bg-base-dark shadow-md rounded-2xs ring ring-base-300 dark:ring-base-800 overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-combobox-content-transform-origin) pointer-events-auto",
|
|
69
|
-
"viewport": "divide-y divide-base-master/10 dark:divide-base-100/20 scroll-py-1",
|
|
46
|
+
"content": "w-(--reka-combobox-trigger-width) min-w-fit bg-white dark:bg-base-dark shadow-md rounded-2xs ring ring-base-300 dark:ring-base-800 overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-combobox-content-transform-origin) flex flex-col pointer-events-auto",
|
|
47
|
+
"viewport": "relative divide-y divide-base-master/10 dark:divide-base-100/20 scroll-py-1 overflow-y-auto flex-1",
|
|
70
48
|
"group": "p-1 isolate",
|
|
71
49
|
"empty": "py-2 text-center text-sm text-base-500 dark:text-base-600",
|
|
72
50
|
"label": "flex items-center font-semibold text-base-900 dark:text-base-200",
|
|
@@ -89,11 +67,11 @@ const theme = {
|
|
|
89
67
|
"variants": {
|
|
90
68
|
"buttonGroup": {
|
|
91
69
|
"horizontal": {
|
|
92
|
-
"root": "group leading-none",
|
|
70
|
+
"root": "group leading-none has-focus-visible:z-[1]",
|
|
93
71
|
"base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-e-3xl group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:border-e-0 group-not-only:group-not-first:border-s-0"
|
|
94
72
|
},
|
|
95
73
|
"vertical": {
|
|
96
|
-
"root": "group",
|
|
74
|
+
"root": "group has-focus-visible:z-[1]",
|
|
97
75
|
"base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"
|
|
98
76
|
}
|
|
99
77
|
},
|
|
@@ -636,6 +614,4 @@ const theme = {
|
|
|
636
614
|
"color": "primary" as typeof color[number],
|
|
637
615
|
"tagColor": "primary" as typeof tagColor[number]
|
|
638
616
|
}
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
export default result as typeof theme
|
|
617
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/b24ui/b24ui/src/theme/input-number"
|
|
2
|
-
|
|
3
1
|
const size = [
|
|
4
2
|
"xs",
|
|
5
3
|
"sm",
|
|
@@ -34,11 +32,7 @@ const orientation = [
|
|
|
34
32
|
"vertical"
|
|
35
33
|
] as const
|
|
36
34
|
|
|
37
|
-
|
|
38
|
-
"colorMode": true
|
|
39
|
-
}) : template
|
|
40
|
-
|
|
41
|
-
const theme = {
|
|
35
|
+
export default {
|
|
42
36
|
"slots": {
|
|
43
37
|
"root": "isolate relative inline-flex items-center",
|
|
44
38
|
"base": "w-full py-0 border-0 focus:outline-none disabled:cursor-not-allowed disabled:opacity-75 placeholder:text-base-400 dark:placeholder:text-base-300 appearance-none transition duration-300 ease-linear ring ring-inset ring-base-300 dark:ring-base-800 text-base-master bg-white placeholder:text-base-400 hover:text-base-900 focus:text-base-900 active:text-base-900 dark:text-base-150 dark:bg-transparent dark:placeholder:text-base-300 dark:hover:text-base-350 dark:focus:text-base-350 dark:active:text-base-350 font-b24-primary font-regular text-md leading-none align-middle text-ellipsis whitespace-nowrap",
|
|
@@ -47,6 +41,19 @@ const theme = {
|
|
|
47
41
|
"tag": "pointer-events-none select-none absolute z-10 -top-1.5 right-3 h-sm px-1.5 flex flex-col justify-center items-center font-b24-primary font-bold text-6xs leading-none uppercase rounded-full"
|
|
48
42
|
},
|
|
49
43
|
"variants": {
|
|
44
|
+
"buttonGroup": {
|
|
45
|
+
"horizontal": {
|
|
46
|
+
"root": "group leading-none has-focus-visible:z-[1]",
|
|
47
|
+
"base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-e-3xl group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:border-e-0 group-not-only:group-not-first:border-s-0"
|
|
48
|
+
},
|
|
49
|
+
"vertical": {
|
|
50
|
+
"root": "group has-focus-visible:z-[1]",
|
|
51
|
+
"base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"noSplit": {
|
|
55
|
+
"false": "group-not-only:not-first:after:content-[''] group-not-only:not-first:after:absolute group-not-only:not-first:after:top-[7px] group-not-only:not-first:after:bottom-[6px] group-not-only:not-first:after:left-0 group-not-only:not-first:after:w-px group-not-only:not-first:after:bg-current/30"
|
|
56
|
+
},
|
|
50
57
|
"size": {
|
|
51
58
|
"xs": "px-2 h-xl2 gap-1",
|
|
52
59
|
"sm": "px-2.5 h-8 gap-1.5",
|
|
@@ -420,6 +427,4 @@ const theme = {
|
|
|
420
427
|
"color": "primary" as typeof color[number],
|
|
421
428
|
"tagColor": "primary" as typeof tagColor[number]
|
|
422
429
|
}
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
export default result as typeof theme
|
|
430
|
+
}
|
package/.nuxt/b24ui/input.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/b24ui/b24ui/src/theme/input"
|
|
2
|
-
|
|
3
|
-
const buttonGroup = [
|
|
4
|
-
"horizontal",
|
|
5
|
-
"vertical"
|
|
6
|
-
] as const
|
|
7
|
-
|
|
8
1
|
const size = [
|
|
9
2
|
"xs",
|
|
10
3
|
"sm",
|
|
@@ -38,11 +31,7 @@ const type = [
|
|
|
38
31
|
"file"
|
|
39
32
|
] as const
|
|
40
33
|
|
|
41
|
-
|
|
42
|
-
"colorMode": true
|
|
43
|
-
}) : template
|
|
44
|
-
|
|
45
|
-
const theme = {
|
|
34
|
+
export default {
|
|
46
35
|
"slots": {
|
|
47
36
|
"root": "isolate relative inline-flex items-center w-full",
|
|
48
37
|
"base": "px-3 w-full py-0 border-0 focus:outline-none disabled:cursor-not-allowed disabled:bg-base-30/37 disabled:resize-none disabled:text-base-500 dark:disabled:bg-base-900/37 dark:disabled:text-base-800 appearance-none transition duration-300 ease-linear ring ring-inset ring-base-300 dark:ring-base-800 text-base-master bg-white placeholder:text-base-400 hover:text-base-900 focus:text-base-900 active:text-base-900 dark:text-base-150 dark:bg-transparent dark:placeholder:text-base-300 dark:hover:text-base-350 dark:focus:text-base-350 dark:active:text-base-350 font-b24-primary font-regular text-md leading-none align-middle text-ellipsis whitespace-nowrap",
|
|
@@ -57,11 +46,11 @@ const theme = {
|
|
|
57
46
|
"variants": {
|
|
58
47
|
"buttonGroup": {
|
|
59
48
|
"horizontal": {
|
|
60
|
-
"root": "group leading-none",
|
|
49
|
+
"root": "group leading-none has-focus-visible:z-[1]",
|
|
61
50
|
"base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-e-3xl group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:border-e-0 group-not-only:group-not-first:border-s-0"
|
|
62
51
|
},
|
|
63
52
|
"vertical": {
|
|
64
|
-
"root": "group",
|
|
53
|
+
"root": "group has-focus-visible:z-[1]",
|
|
65
54
|
"base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"
|
|
66
55
|
}
|
|
67
56
|
},
|
|
@@ -459,6 +448,4 @@ const theme = {
|
|
|
459
448
|
"color": "primary" as typeof color[number],
|
|
460
449
|
"tagColor": "primary" as typeof tagColor[number]
|
|
461
450
|
}
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
export default result as typeof theme
|
|
451
|
+
}
|
package/.nuxt/b24ui/kbd.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import template from "/home/runner/work/b24ui/b24ui/src/theme/kbd"
|
|
2
|
-
|
|
3
1
|
const depth = [
|
|
4
2
|
"light",
|
|
5
3
|
"normal",
|
|
@@ -12,11 +10,7 @@ const size = [
|
|
|
12
10
|
"lg"
|
|
13
11
|
] as const
|
|
14
12
|
|
|
15
|
-
|
|
16
|
-
"colorMode": true
|
|
17
|
-
}) : template
|
|
18
|
-
|
|
19
|
-
const theme = {
|
|
13
|
+
export default {
|
|
20
14
|
"base": "inline-flex items-center justify-center px-1 rounded-2xs font-normal font-b24-system-mono",
|
|
21
15
|
"variants": {
|
|
22
16
|
"depth": {
|
|
@@ -34,6 +28,4 @@ const theme = {
|
|
|
34
28
|
"depth": "light" as typeof depth[number],
|
|
35
29
|
"size": "md" as typeof size[number]
|
|
36
30
|
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export default result as typeof theme
|
|
31
|
+
}
|
package/.nuxt/b24ui/link.ts
CHANGED
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"colorMode": true
|
|
5
|
-
}) : template
|
|
6
|
-
|
|
7
|
-
const theme = {
|
|
1
|
+
export default {
|
|
8
2
|
"base": "cursor-pointer focus-visible:outline-info-text",
|
|
9
3
|
"variants": {
|
|
10
4
|
"active": {
|
|
11
5
|
"true": "text-blue-700 dark:text-blue-300 hover:not-disabled:not-aria-disabled:underline underline-offset-2",
|
|
12
|
-
"false":
|
|
13
|
-
"text-base-900 hover:not-disabled:not-aria-disabled:text-blue-700",
|
|
14
|
-
"dark:text-base-300 dark:hover:not-disabled:not-aria-disabled:text-blue-300",
|
|
15
|
-
"hover:not-disabled:not-aria-disabled:underline underline-offset-2",
|
|
16
|
-
"transition-colors"
|
|
17
|
-
]
|
|
6
|
+
"false": "text-base-900 dark:text-base-300 underline-offset-2"
|
|
18
7
|
},
|
|
19
8
|
"disabled": {
|
|
20
9
|
"true": "cursor-not-allowed opacity-75"
|
|
@@ -22,7 +11,12 @@ const theme = {
|
|
|
22
11
|
"isAction": {
|
|
23
12
|
"true": "text-nowrap text-sm h-auto py-0 font-normal rounded-none border border-x-0 border-t-0 border-dashed border-b-base-900 text-base-900 dark:text-base-300 dark:border-b-base-300 hover:not-disabled:not-aria-disabled:no-underline hover:text-blue-700 hover:not-disabled:not-aria-disabled:text-blue-700 hover:border-b-blue-700 dark:hover:text-blue-300 dark:hover:not-disabled:not-aria-disabled:text-blue-300 dark:hover:border-b-blue-300 focus-visible:outline-base-700"
|
|
24
13
|
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
14
|
+
},
|
|
15
|
+
"compoundVariants": [
|
|
16
|
+
{
|
|
17
|
+
"active": false,
|
|
18
|
+
"disabled": false,
|
|
19
|
+
"class": "hover:text-blue-700 dark:hover:text-blue-300 hover:underline transition-colors"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
package/.nuxt/b24ui/modal.ts
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import template from "/home/runner/work/b24ui/b24ui/src/theme/modal"
|
|
2
|
-
|
|
3
1
|
const overlayBlur = [
|
|
4
2
|
"auto",
|
|
5
3
|
"on",
|
|
6
4
|
"off"
|
|
7
5
|
] as const
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
"colorMode": true
|
|
11
|
-
}) : template
|
|
12
|
-
|
|
13
|
-
const theme = {
|
|
7
|
+
export default {
|
|
14
8
|
"slots": {
|
|
15
9
|
"overlay": "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
|
|
16
10
|
"content": "py-md2 px-5 fixed bg-white dark:bg-base-950 flex flex-col focus:outline-none",
|
|
@@ -45,7 +39,7 @@ const theme = {
|
|
|
45
39
|
"content": "inset-0"
|
|
46
40
|
},
|
|
47
41
|
"false": {
|
|
48
|
-
"content": "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[calc(100vw-2rem)] max-w-[32rem] max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] rounded-md shadow-lg ring ring-base-300 dark:ring-base-800"
|
|
42
|
+
"content": "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[calc(100vw-2rem)] max-w-[32rem] max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] rounded-md shadow-lg ring ring-base-300 dark:ring-base-800 overflow-hidden"
|
|
49
43
|
}
|
|
50
44
|
},
|
|
51
45
|
"scrollbarThin": {
|
|
@@ -58,6 +52,4 @@ const theme = {
|
|
|
58
52
|
"scrollbarThin": true,
|
|
59
53
|
"overlayBlur": "auto" as typeof overlayBlur[number]
|
|
60
54
|
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export default result as typeof theme
|
|
55
|
+
}
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"colorMode": true
|
|
5
|
-
}) : template
|
|
6
|
-
|
|
7
|
-
const theme = {
|
|
1
|
+
export default {
|
|
8
2
|
"slots": {
|
|
9
3
|
"root": "h-6 w-px bg-base-950/10 dark:bg-base-100/20"
|
|
10
4
|
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export default result as typeof theme
|
|
5
|
+
}
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"colorMode": true
|
|
5
|
-
}) : template
|
|
6
|
-
|
|
7
|
-
const theme = {
|
|
1
|
+
export default {
|
|
8
2
|
"slots": {
|
|
9
3
|
"root": "flex items-center gap-3"
|
|
10
4
|
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export default result as typeof theme
|
|
5
|
+
}
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"colorMode": true
|
|
5
|
-
}) : template
|
|
6
|
-
|
|
7
|
-
const theme = {
|
|
1
|
+
export default {
|
|
8
2
|
"slots": {
|
|
9
3
|
"root": "-ml-4 flex-1"
|
|
10
4
|
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export default result as typeof theme
|
|
5
|
+
}
|
package/.nuxt/b24ui/navbar.ts
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const result = typeof template === 'function' ? (template as Function)({
|
|
4
|
-
"colorMode": true
|
|
5
|
-
}) : template
|
|
6
|
-
|
|
7
|
-
const theme = {
|
|
1
|
+
export default {
|
|
8
2
|
"slots": {
|
|
9
3
|
"root": "py-2.5 flex-1 flex items-center gap-4"
|
|
10
4
|
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export default result as typeof theme
|
|
5
|
+
}
|