@bitrix24/b24ui-nuxt 0.6.0 → 0.6.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/advice.ts +10 -2
- package/.nuxt/b24ui/alert.ts +10 -2
- package/.nuxt/b24ui/avatar-group.ts +10 -2
- package/.nuxt/b24ui/avatar.ts +10 -2
- package/.nuxt/b24ui/badge.ts +10 -2
- package/.nuxt/b24ui/button-group.ts +10 -2
- package/.nuxt/b24ui/button.ts +16 -6
- package/.nuxt/b24ui/calendar.ts +10 -2
- package/.nuxt/b24ui/checkbox.ts +10 -2
- package/.nuxt/b24ui/chip.ts +10 -2
- package/.nuxt/b24ui/collapsible.ts +10 -2
- package/.nuxt/b24ui/container.ts +10 -2
- package/.nuxt/b24ui/countdown.ts +10 -2
- package/.nuxt/b24ui/description-list.ts +10 -2
- package/.nuxt/b24ui/dropdown-menu.ts +10 -2
- package/.nuxt/b24ui/form-field.ts +10 -2
- package/.nuxt/b24ui/form.ts +10 -2
- package/.nuxt/b24ui/input-menu.ts +10 -2
- package/.nuxt/b24ui/input-number.ts +10 -2
- package/.nuxt/b24ui/input.ts +10 -2
- package/.nuxt/b24ui/kbd.ts +10 -2
- package/.nuxt/b24ui/link.ts +10 -2
- package/.nuxt/b24ui/modal.ts +10 -2
- package/.nuxt/b24ui/navbar-divider.ts +10 -2
- package/.nuxt/b24ui/navbar-section.ts +10 -2
- package/.nuxt/b24ui/navbar-spacer.ts +10 -2
- package/.nuxt/b24ui/navbar.ts +10 -2
- package/.nuxt/b24ui/navigation-menu.ts +10 -2
- package/.nuxt/b24ui/popover.ts +10 -2
- package/.nuxt/b24ui/progress.ts +10 -2
- package/.nuxt/b24ui/radio-group.ts +10 -2
- package/.nuxt/b24ui/range.ts +10 -2
- package/.nuxt/b24ui/select-menu.ts +10 -2
- package/.nuxt/b24ui/select.ts +10 -2
- package/.nuxt/b24ui/separator.ts +10 -2
- package/.nuxt/b24ui/sidebar-body.ts +10 -2
- package/.nuxt/b24ui/sidebar-footer.ts +10 -2
- package/.nuxt/b24ui/sidebar-header.ts +10 -2
- package/.nuxt/b24ui/sidebar-heading.ts +10 -2
- package/.nuxt/b24ui/sidebar-layout.ts +10 -2
- package/.nuxt/b24ui/sidebar-section.ts +10 -2
- package/.nuxt/b24ui/sidebar-spacer.ts +10 -2
- package/.nuxt/b24ui/sidebar.ts +10 -2
- package/.nuxt/b24ui/skeleton.ts +10 -2
- package/.nuxt/b24ui/slideover.ts +10 -2
- package/.nuxt/b24ui/stacked-layout.ts +10 -2
- package/.nuxt/b24ui/switch.ts +10 -2
- package/.nuxt/b24ui/tabs.ts +10 -2
- package/.nuxt/b24ui/textarea.ts +10 -2
- package/.nuxt/b24ui/toast.ts +10 -2
- package/.nuxt/b24ui/toaster.ts +10 -2
- package/.nuxt/b24ui/tooltip.ts +10 -2
- package/cli/templates.mjs +19 -15
- package/dist/meta.d.mts +1388 -3373
- package/dist/meta.mjs +1388 -3373
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Advice.vue +5 -6
- package/dist/runtime/components/Advice.vue.d.ts +7 -121
- package/dist/runtime/components/Alert.vue +5 -6
- package/dist/runtime/components/Alert.vue.d.ts +12 -379
- package/dist/runtime/components/Avatar.vue +5 -6
- package/dist/runtime/components/Avatar.vue.d.ts +6 -225
- package/dist/runtime/components/AvatarGroup.vue +5 -6
- package/dist/runtime/components/AvatarGroup.vue.d.ts +6 -170
- package/dist/runtime/components/Badge.vue +5 -6
- package/dist/runtime/components/Badge.vue.d.ts +8 -447
- package/dist/runtime/components/Button.vue +16 -14
- package/dist/runtime/components/Button.vue.d.ts +10 -535
- package/dist/runtime/components/ButtonGroup.vue +11 -6
- package/dist/runtime/components/ButtonGroup.vue.d.ts +8 -61
- package/dist/runtime/components/Calendar.vue +4 -5
- package/dist/runtime/components/Calendar.vue.d.ts +7 -337
- package/dist/runtime/components/Checkbox.vue +5 -6
- package/dist/runtime/components/Checkbox.vue.d.ts +7 -306
- package/dist/runtime/components/Chip.vue +5 -6
- package/dist/runtime/components/Chip.vue.d.ts +8 -202
- package/dist/runtime/components/Collapsible.vue +6 -6
- package/dist/runtime/components/Collapsible.vue.d.ts +5 -73
- package/dist/runtime/components/Container.vue +6 -5
- package/dist/runtime/components/Countdown.vue +6 -7
- package/dist/runtime/components/Countdown.vue.d.ts +7 -241
- package/dist/runtime/components/DescriptionList.vue +5 -6
- package/dist/runtime/components/DescriptionList.vue.d.ts +8 -278
- package/dist/runtime/components/DropdownMenu.vue +4 -5
- package/dist/runtime/components/DropdownMenu.vue.d.ts +9 -409
- package/dist/runtime/components/DropdownMenuContent.vue +1 -3
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +9 -186
- package/dist/runtime/components/Form.vue +6 -5
- package/dist/runtime/components/FormField.vue +5 -6
- package/dist/runtime/components/FormField.vue.d.ts +6 -215
- package/dist/runtime/components/Input.vue +4 -5
- package/dist/runtime/components/Input.vue.d.ts +8 -628
- package/dist/runtime/components/InputMenu.vue +4 -5
- package/dist/runtime/components/InputMenu.vue.d.ts +19 -1185
- package/dist/runtime/components/InputNumber.vue +4 -5
- package/dist/runtime/components/InputNumber.vue.d.ts +10 -430
- package/dist/runtime/components/Kbd.vue +6 -5
- package/dist/runtime/components/Kbd.vue.d.ts +6 -60
- package/dist/runtime/components/Link.vue +12 -11
- package/dist/runtime/components/Modal.vue +5 -6
- package/dist/runtime/components/Modal.vue.d.ts +13 -216
- package/dist/runtime/components/Navbar.vue +6 -6
- package/dist/runtime/components/Navbar.vue.d.ts +5 -60
- package/dist/runtime/components/NavbarDivider.vue +6 -6
- package/dist/runtime/components/NavbarDivider.vue.d.ts +5 -60
- package/dist/runtime/components/NavbarSection.vue +6 -6
- package/dist/runtime/components/NavbarSection.vue.d.ts +5 -60
- package/dist/runtime/components/NavbarSpacer.vue +6 -6
- package/dist/runtime/components/NavbarSpacer.vue.d.ts +5 -60
- package/dist/runtime/components/NavigationMenu.vue +4 -5
- package/dist/runtime/components/NavigationMenu.vue.d.ts +11 -676
- package/dist/runtime/components/Popover.vue +5 -6
- package/dist/runtime/components/Popover.vue.d.ts +7 -75
- package/dist/runtime/components/Progress.vue +5 -6
- package/dist/runtime/components/Progress.vue.d.ts +11 -500
- package/dist/runtime/components/RadioGroup.vue +5 -6
- package/dist/runtime/components/RadioGroup.vue.d.ts +9 -644
- package/dist/runtime/components/Range.vue +5 -6
- package/dist/runtime/components/Range.vue.d.ts +7 -351
- package/dist/runtime/components/Select.vue +4 -5
- package/dist/runtime/components/Select.vue.d.ts +15 -1046
- package/dist/runtime/components/SelectMenu.vue +4 -5
- package/dist/runtime/components/SelectMenu.vue.d.ts +17 -1098
- package/dist/runtime/components/Separator.vue +5 -6
- package/dist/runtime/components/Separator.vue.d.ts +9 -332
- package/dist/runtime/components/Sidebar.vue +6 -6
- package/dist/runtime/components/Sidebar.vue.d.ts +5 -60
- package/dist/runtime/components/SidebarBody.vue +5 -6
- package/dist/runtime/components/SidebarBody.vue.d.ts +5 -42
- package/dist/runtime/components/SidebarFooter.vue +6 -6
- package/dist/runtime/components/SidebarFooter.vue.d.ts +5 -60
- package/dist/runtime/components/SidebarHeader.vue +6 -6
- package/dist/runtime/components/SidebarHeader.vue.d.ts +5 -60
- package/dist/runtime/components/SidebarHeading.vue +6 -6
- package/dist/runtime/components/SidebarHeading.vue.d.ts +5 -60
- package/dist/runtime/components/SidebarLayout.vue +6 -7
- package/dist/runtime/components/SidebarLayout.vue.d.ts +5 -162
- package/dist/runtime/components/SidebarSection.vue +6 -6
- package/dist/runtime/components/SidebarSection.vue.d.ts +5 -60
- package/dist/runtime/components/SidebarSpacer.vue +6 -6
- package/dist/runtime/components/SidebarSpacer.vue.d.ts +5 -60
- package/dist/runtime/components/Skeleton.vue +6 -5
- package/dist/runtime/components/Slideover.vue +5 -6
- package/dist/runtime/components/Slideover.vue.d.ts +15 -248
- package/dist/runtime/components/StackedLayout.vue +6 -7
- package/dist/runtime/components/StackedLayout.vue.d.ts +5 -132
- package/dist/runtime/components/Switch.vue +4 -5
- package/dist/runtime/components/Switch.vue.d.ts +7 -517
- package/dist/runtime/components/Tabs.vue +8 -5
- package/dist/runtime/components/Tabs.vue.d.ts +18 -367
- package/dist/runtime/components/Textarea.vue +4 -5
- package/dist/runtime/components/Textarea.vue.d.ts +7 -467
- package/dist/runtime/components/Toast.vue +5 -6
- package/dist/runtime/components/Toast.vue.d.ts +11 -354
- package/dist/runtime/components/Toaster.vue +6 -7
- package/dist/runtime/components/Toaster.vue.d.ts +7 -156
- package/dist/runtime/components/Tooltip.vue +5 -6
- package/dist/runtime/components/Tooltip.vue.d.ts +5 -126
- package/dist/runtime/components/content/TableWrapper.vue +5 -6
- package/dist/runtime/components/content/TableWrapper.vue.d.ts +6 -160
- package/dist/runtime/prose/A.vue +10 -9
- package/dist/runtime/prose/A.vue.d.ts +8 -65
- package/dist/runtime/prose/Blockquote.vue +8 -9
- package/dist/runtime/prose/Blockquote.vue.d.ts +8 -65
- package/dist/runtime/prose/Code.vue +6 -6
- package/dist/runtime/prose/Code.vue.d.ts +9 -75
- package/dist/runtime/prose/Em.vue +10 -9
- package/dist/runtime/prose/Em.vue.d.ts +8 -65
- package/dist/runtime/prose/H1.vue +8 -9
- package/dist/runtime/prose/H1.vue.d.ts +8 -78
- package/dist/runtime/prose/H2.vue +8 -9
- package/dist/runtime/prose/H2.vue.d.ts +8 -104
- package/dist/runtime/prose/H3.vue +8 -9
- package/dist/runtime/prose/H3.vue.d.ts +8 -104
- package/dist/runtime/prose/H4.vue +8 -9
- package/dist/runtime/prose/H4.vue.d.ts +8 -104
- package/dist/runtime/prose/H5.vue +8 -9
- package/dist/runtime/prose/H5.vue.d.ts +8 -104
- package/dist/runtime/prose/H6.vue +8 -9
- package/dist/runtime/prose/H6.vue.d.ts +8 -104
- package/dist/runtime/prose/Hr.vue +7 -9
- package/dist/runtime/prose/Hr.vue.d.ts +7 -62
- package/dist/runtime/prose/Img.vue +7 -9
- package/dist/runtime/prose/Img.vue.d.ts +7 -65
- package/dist/runtime/prose/Li.vue +8 -9
- package/dist/runtime/prose/Li.vue.d.ts +8 -65
- package/dist/runtime/prose/Ol.vue +8 -9
- package/dist/runtime/prose/Ol.vue.d.ts +8 -65
- package/dist/runtime/prose/P.vue +8 -9
- package/dist/runtime/prose/P.vue.d.ts +8 -65
- package/dist/runtime/prose/Pre.vue +7 -6
- package/dist/runtime/prose/Pre.vue.d.ts +10 -80
- package/dist/runtime/prose/Strong.vue +8 -9
- package/dist/runtime/prose/Strong.vue.d.ts +8 -65
- package/dist/runtime/prose/Table.vue +8 -9
- package/dist/runtime/prose/Table.vue.d.ts +10 -80
- package/dist/runtime/prose/Tbody.vue +8 -9
- package/dist/runtime/prose/Tbody.vue.d.ts +8 -65
- package/dist/runtime/prose/Td.vue +8 -9
- package/dist/runtime/prose/Td.vue.d.ts +8 -65
- package/dist/runtime/prose/Th.vue +8 -9
- package/dist/runtime/prose/Th.vue.d.ts +8 -65
- package/dist/runtime/prose/Thead.vue +8 -9
- package/dist/runtime/prose/Thead.vue.d.ts +8 -65
- package/dist/runtime/prose/Tr.vue +8 -9
- package/dist/runtime/prose/Tr.vue.d.ts +8 -65
- package/dist/runtime/prose/Ul.vue +8 -9
- package/dist/runtime/prose/Ul.vue.d.ts +8 -65
- package/dist/runtime/types/form.d.ts +1 -0
- package/dist/runtime/types/utils.d.ts +42 -3
- package/dist/runtime/utils/tv.js +2 -2
- package/dist/runtime/vue/components/Link.vue +12 -11
- package/dist/shared/{b24ui-nuxt.BA6Y2FnC.mjs → b24ui-nuxt.wBs9vEU5.mjs} +27 -2
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +6 -6
|
@@ -1,130 +1,9 @@
|
|
|
1
1
|
import type { TooltipRootProps, TooltipRootEmits, TooltipContentProps, TooltipContentEmits, TooltipArrowProps } from 'reka-ui';
|
|
2
|
+
import type { AppConfig } from '@nuxt/schema';
|
|
3
|
+
import theme from '#build/b24ui/tooltip';
|
|
2
4
|
import type { KbdProps } from '../types';
|
|
3
|
-
import type { EmitsToProps } from '../types/utils';
|
|
4
|
-
|
|
5
|
-
[key: string]: {
|
|
6
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
7
|
-
text?: import("tailwind-variants").ClassValue;
|
|
8
|
-
content?: import("tailwind-variants").ClassValue;
|
|
9
|
-
arrow?: import("tailwind-variants").ClassValue;
|
|
10
|
-
kbds?: import("tailwind-variants").ClassValue;
|
|
11
|
-
kbdsSize?: import("tailwind-variants").ClassValue;
|
|
12
|
-
kbdsDepth?: import("tailwind-variants").ClassValue;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
} | {
|
|
16
|
-
[x: string]: {
|
|
17
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
18
|
-
text?: import("tailwind-variants").ClassValue;
|
|
19
|
-
content?: import("tailwind-variants").ClassValue;
|
|
20
|
-
arrow?: import("tailwind-variants").ClassValue;
|
|
21
|
-
kbds?: import("tailwind-variants").ClassValue;
|
|
22
|
-
kbdsSize?: import("tailwind-variants").ClassValue;
|
|
23
|
-
kbdsDepth?: import("tailwind-variants").ClassValue;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
} | {
|
|
27
|
-
[x: string]: {
|
|
28
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
29
|
-
text?: import("tailwind-variants").ClassValue;
|
|
30
|
-
content?: import("tailwind-variants").ClassValue;
|
|
31
|
-
arrow?: import("tailwind-variants").ClassValue;
|
|
32
|
-
kbds?: import("tailwind-variants").ClassValue;
|
|
33
|
-
kbdsSize?: import("tailwind-variants").ClassValue;
|
|
34
|
-
kbdsDepth?: import("tailwind-variants").ClassValue;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
} | {}, {
|
|
38
|
-
content: string;
|
|
39
|
-
arrow: string;
|
|
40
|
-
text: string;
|
|
41
|
-
kbds: string;
|
|
42
|
-
kbdsSize: string;
|
|
43
|
-
kbdsDepth: string;
|
|
44
|
-
}, undefined, {
|
|
45
|
-
[key: string]: {
|
|
46
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
47
|
-
text?: import("tailwind-variants").ClassValue;
|
|
48
|
-
content?: import("tailwind-variants").ClassValue;
|
|
49
|
-
arrow?: import("tailwind-variants").ClassValue;
|
|
50
|
-
kbds?: import("tailwind-variants").ClassValue;
|
|
51
|
-
kbdsSize?: import("tailwind-variants").ClassValue;
|
|
52
|
-
kbdsDepth?: import("tailwind-variants").ClassValue;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
} | {
|
|
56
|
-
[x: string]: {
|
|
57
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
58
|
-
text?: import("tailwind-variants").ClassValue;
|
|
59
|
-
content?: import("tailwind-variants").ClassValue;
|
|
60
|
-
arrow?: import("tailwind-variants").ClassValue;
|
|
61
|
-
kbds?: import("tailwind-variants").ClassValue;
|
|
62
|
-
kbdsSize?: import("tailwind-variants").ClassValue;
|
|
63
|
-
kbdsDepth?: import("tailwind-variants").ClassValue;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
} | {}, {
|
|
67
|
-
content: string;
|
|
68
|
-
arrow: string;
|
|
69
|
-
text: string;
|
|
70
|
-
kbds: string;
|
|
71
|
-
kbdsSize: string;
|
|
72
|
-
kbdsDepth: string;
|
|
73
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
74
|
-
[key: string]: {
|
|
75
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
76
|
-
text?: import("tailwind-variants").ClassValue;
|
|
77
|
-
content?: import("tailwind-variants").ClassValue;
|
|
78
|
-
arrow?: import("tailwind-variants").ClassValue;
|
|
79
|
-
kbds?: import("tailwind-variants").ClassValue;
|
|
80
|
-
kbdsSize?: import("tailwind-variants").ClassValue;
|
|
81
|
-
kbdsDepth?: import("tailwind-variants").ClassValue;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
} | {
|
|
85
|
-
[x: string]: {
|
|
86
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
87
|
-
text?: import("tailwind-variants").ClassValue;
|
|
88
|
-
content?: import("tailwind-variants").ClassValue;
|
|
89
|
-
arrow?: import("tailwind-variants").ClassValue;
|
|
90
|
-
kbds?: import("tailwind-variants").ClassValue;
|
|
91
|
-
kbdsSize?: import("tailwind-variants").ClassValue;
|
|
92
|
-
kbdsDepth?: import("tailwind-variants").ClassValue;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
} | {}, {
|
|
96
|
-
content: string;
|
|
97
|
-
arrow: string;
|
|
98
|
-
text: string;
|
|
99
|
-
kbds: string;
|
|
100
|
-
kbdsSize: string;
|
|
101
|
-
kbdsDepth: string;
|
|
102
|
-
}, undefined, {
|
|
103
|
-
[key: string]: {
|
|
104
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
105
|
-
text?: import("tailwind-variants").ClassValue;
|
|
106
|
-
content?: import("tailwind-variants").ClassValue;
|
|
107
|
-
arrow?: import("tailwind-variants").ClassValue;
|
|
108
|
-
kbds?: import("tailwind-variants").ClassValue;
|
|
109
|
-
kbdsSize?: import("tailwind-variants").ClassValue;
|
|
110
|
-
kbdsDepth?: import("tailwind-variants").ClassValue;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
} | {}, {
|
|
114
|
-
content: string;
|
|
115
|
-
arrow: string;
|
|
116
|
-
text: string;
|
|
117
|
-
kbds: string;
|
|
118
|
-
kbdsSize: string;
|
|
119
|
-
kbdsDepth: string;
|
|
120
|
-
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
121
|
-
content: string;
|
|
122
|
-
arrow: string;
|
|
123
|
-
text: string;
|
|
124
|
-
kbds: string;
|
|
125
|
-
kbdsSize: string;
|
|
126
|
-
kbdsDepth: string;
|
|
127
|
-
}, undefined, unknown, unknown, undefined>>>;
|
|
5
|
+
import type { EmitsToProps, ComponentConfig } from '../types/utils';
|
|
6
|
+
type Tooltip = ComponentConfig<typeof theme, AppConfig, 'tooltip'>;
|
|
128
7
|
export interface TooltipProps extends TooltipRootProps {
|
|
129
8
|
/** The text content of the tooltip. */
|
|
130
9
|
text?: string;
|
|
@@ -146,7 +25,7 @@ export interface TooltipProps extends TooltipRootProps {
|
|
|
146
25
|
*/
|
|
147
26
|
portal?: boolean;
|
|
148
27
|
class?: any;
|
|
149
|
-
b24ui?:
|
|
28
|
+
b24ui?: Tooltip['slots'];
|
|
150
29
|
}
|
|
151
30
|
export interface TooltipEmits extends TooltipRootEmits {
|
|
152
31
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import _appConfig from "#build/app.config";
|
|
3
2
|
import theme from "#build/b24ui/content/table-wrapper";
|
|
4
|
-
import { tv } from "../../utils/tv";
|
|
5
|
-
const appConfigTableWrapper = _appConfig;
|
|
6
|
-
const tableWrapper = tv({ extend: tv(theme), ...appConfigTableWrapper.b24ui?.content?.tableWrapper || {} });
|
|
7
3
|
</script>
|
|
8
4
|
|
|
9
5
|
<script setup>
|
|
10
6
|
import { computed } from "vue";
|
|
11
7
|
import { Primitive } from "reka-ui";
|
|
8
|
+
import { useAppConfig } from "#imports";
|
|
9
|
+
import { tv } from "../../utils/tv";
|
|
12
10
|
defineOptions({ inheritAttrs: false });
|
|
13
11
|
const props = defineProps({
|
|
14
12
|
as: { type: null, required: false, default: "div" },
|
|
@@ -21,9 +19,10 @@ const props = defineProps({
|
|
|
21
19
|
bordered: { type: Boolean, required: false },
|
|
22
20
|
scrollbarThin: { type: Boolean, required: false, default: true },
|
|
23
21
|
class: { type: null, required: false },
|
|
24
|
-
b24ui: { type:
|
|
22
|
+
b24ui: { type: null, required: false }
|
|
25
23
|
});
|
|
26
|
-
const
|
|
24
|
+
const appConfig = useAppConfig();
|
|
25
|
+
const b24ui = computed(() => tv({ extend: tv(theme), ...appConfig.b24ui?.content?.tableWrapper || {} })({
|
|
27
26
|
size: props.size,
|
|
28
27
|
rounded: Boolean(props.rounded),
|
|
29
28
|
zebra: Boolean(props.zebra),
|
|
@@ -1,161 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
sm: string;
|
|
6
|
-
md: string;
|
|
7
|
-
lg: string;
|
|
8
|
-
};
|
|
9
|
-
rounded: {
|
|
10
|
-
true: string;
|
|
11
|
-
false: string;
|
|
12
|
-
};
|
|
13
|
-
zebra: {
|
|
14
|
-
true: string;
|
|
15
|
-
};
|
|
16
|
-
pinRows: {
|
|
17
|
-
true: string;
|
|
18
|
-
};
|
|
19
|
-
pinCols: {
|
|
20
|
-
true: string;
|
|
21
|
-
};
|
|
22
|
-
rowHover: {
|
|
23
|
-
true: string;
|
|
24
|
-
};
|
|
25
|
-
bordered: {
|
|
26
|
-
true: string;
|
|
27
|
-
};
|
|
28
|
-
scrollbarThin: {
|
|
29
|
-
true: string;
|
|
30
|
-
};
|
|
31
|
-
}, {
|
|
32
|
-
base: string;
|
|
33
|
-
}, undefined, {
|
|
34
|
-
size: {
|
|
35
|
-
xs: string;
|
|
36
|
-
sm: string;
|
|
37
|
-
md: string;
|
|
38
|
-
lg: string;
|
|
39
|
-
};
|
|
40
|
-
rounded: {
|
|
41
|
-
true: string;
|
|
42
|
-
false: string;
|
|
43
|
-
};
|
|
44
|
-
zebra: {
|
|
45
|
-
true: string;
|
|
46
|
-
};
|
|
47
|
-
pinRows: {
|
|
48
|
-
true: string;
|
|
49
|
-
};
|
|
50
|
-
pinCols: {
|
|
51
|
-
true: string;
|
|
52
|
-
};
|
|
53
|
-
rowHover: {
|
|
54
|
-
true: string;
|
|
55
|
-
};
|
|
56
|
-
bordered: {
|
|
57
|
-
true: string;
|
|
58
|
-
};
|
|
59
|
-
scrollbarThin: {
|
|
60
|
-
true: string;
|
|
61
|
-
};
|
|
62
|
-
}, {
|
|
63
|
-
base: string;
|
|
64
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
65
|
-
size: {
|
|
66
|
-
xs: string;
|
|
67
|
-
sm: string;
|
|
68
|
-
md: string;
|
|
69
|
-
lg: string;
|
|
70
|
-
};
|
|
71
|
-
rounded: {
|
|
72
|
-
true: string;
|
|
73
|
-
false: string;
|
|
74
|
-
};
|
|
75
|
-
zebra: {
|
|
76
|
-
true: string;
|
|
77
|
-
};
|
|
78
|
-
pinRows: {
|
|
79
|
-
true: string;
|
|
80
|
-
};
|
|
81
|
-
pinCols: {
|
|
82
|
-
true: string;
|
|
83
|
-
};
|
|
84
|
-
rowHover: {
|
|
85
|
-
true: string;
|
|
86
|
-
};
|
|
87
|
-
bordered: {
|
|
88
|
-
true: string;
|
|
89
|
-
};
|
|
90
|
-
scrollbarThin: {
|
|
91
|
-
true: string;
|
|
92
|
-
};
|
|
93
|
-
}, {
|
|
94
|
-
base: string;
|
|
95
|
-
}, undefined, {
|
|
96
|
-
size: {
|
|
97
|
-
xs: string;
|
|
98
|
-
sm: string;
|
|
99
|
-
md: string;
|
|
100
|
-
lg: string;
|
|
101
|
-
};
|
|
102
|
-
rounded: {
|
|
103
|
-
true: string;
|
|
104
|
-
false: string;
|
|
105
|
-
};
|
|
106
|
-
zebra: {
|
|
107
|
-
true: string;
|
|
108
|
-
};
|
|
109
|
-
pinRows: {
|
|
110
|
-
true: string;
|
|
111
|
-
};
|
|
112
|
-
pinCols: {
|
|
113
|
-
true: string;
|
|
114
|
-
};
|
|
115
|
-
rowHover: {
|
|
116
|
-
true: string;
|
|
117
|
-
};
|
|
118
|
-
bordered: {
|
|
119
|
-
true: string;
|
|
120
|
-
};
|
|
121
|
-
scrollbarThin: {
|
|
122
|
-
true: string;
|
|
123
|
-
};
|
|
124
|
-
}, {
|
|
125
|
-
base: string;
|
|
126
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
127
|
-
size: {
|
|
128
|
-
xs: string;
|
|
129
|
-
sm: string;
|
|
130
|
-
md: string;
|
|
131
|
-
lg: string;
|
|
132
|
-
};
|
|
133
|
-
rounded: {
|
|
134
|
-
true: string;
|
|
135
|
-
false: string;
|
|
136
|
-
};
|
|
137
|
-
zebra: {
|
|
138
|
-
true: string;
|
|
139
|
-
};
|
|
140
|
-
pinRows: {
|
|
141
|
-
true: string;
|
|
142
|
-
};
|
|
143
|
-
pinCols: {
|
|
144
|
-
true: string;
|
|
145
|
-
};
|
|
146
|
-
rowHover: {
|
|
147
|
-
true: string;
|
|
148
|
-
};
|
|
149
|
-
bordered: {
|
|
150
|
-
true: string;
|
|
151
|
-
};
|
|
152
|
-
scrollbarThin: {
|
|
153
|
-
true: string;
|
|
154
|
-
};
|
|
155
|
-
}, {
|
|
156
|
-
base: string;
|
|
157
|
-
}, undefined, unknown, unknown, undefined>>>;
|
|
158
|
-
type TableWrapperVariants = VariantProps<typeof tableWrapper>;
|
|
1
|
+
import type { AppConfig } from '@nuxt/schema';
|
|
2
|
+
import theme from '#build/b24ui/content/table-wrapper';
|
|
3
|
+
import type { ComponentConfig } from '../../types/utils';
|
|
4
|
+
type TableWrapper = ComponentConfig<typeof theme, AppConfig, 'tableWrapper', 'b24ui.content'>;
|
|
159
5
|
export interface TableWrapperProps {
|
|
160
6
|
/**
|
|
161
7
|
* The element or component this component should render as.
|
|
@@ -165,7 +11,7 @@ export interface TableWrapperProps {
|
|
|
165
11
|
/**
|
|
166
12
|
* @defaultValue 'md'
|
|
167
13
|
*/
|
|
168
|
-
size?:
|
|
14
|
+
size?: TableWrapper['variants']['size'];
|
|
169
15
|
/**
|
|
170
16
|
* @defaultValue false
|
|
171
17
|
*/
|
|
@@ -195,7 +41,7 @@ export interface TableWrapperProps {
|
|
|
195
41
|
*/
|
|
196
42
|
scrollbarThin?: boolean;
|
|
197
43
|
class?: any;
|
|
198
|
-
b24ui?:
|
|
44
|
+
b24ui?: TableWrapper['slots'];
|
|
199
45
|
}
|
|
200
46
|
export interface TableWrapperSlots {
|
|
201
47
|
default(props?: {}): any;
|
package/dist/runtime/prose/A.vue
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import _appConfig from "#build/app.config";
|
|
3
2
|
import theme from "#build/b24ui/prose/a";
|
|
4
|
-
import { tv } from "../utils/tv";
|
|
5
|
-
const appConfigProseA = _appConfig;
|
|
6
|
-
const proseA = tv({ extend: tv(theme), ...appConfigProseA.b24ui?.prose?.a || {} });
|
|
7
3
|
</script>
|
|
8
4
|
|
|
9
5
|
<script setup>
|
|
6
|
+
import { computed } from "vue";
|
|
7
|
+
import { useAppConfig } from "#imports";
|
|
8
|
+
import { tv } from "../utils/tv";
|
|
10
9
|
const props = defineProps({
|
|
11
10
|
class: { type: null, required: false },
|
|
12
|
-
b24ui: { type:
|
|
11
|
+
b24ui: { type: null, required: false }
|
|
13
12
|
});
|
|
14
|
-
|
|
13
|
+
defineSlots();
|
|
14
|
+
const appConfig = useAppConfig();
|
|
15
|
+
const b24ui = computed(() => tv({ extend: tv(theme), ...appConfig.b24ui?.prose?.a || {} })());
|
|
15
16
|
</script>
|
|
16
17
|
|
|
17
18
|
<template>
|
|
18
|
-
<a
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
<a :class="b24ui.base({ class: [props.class, props.b24ui?.base] })">
|
|
20
|
+
<slot />
|
|
21
|
+
</a>
|
|
21
22
|
</template>
|
|
@@ -1,72 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
} | {
|
|
8
|
-
[x: string]: {
|
|
9
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
10
|
-
base?: import("tailwind-variants").ClassValue;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
} | {
|
|
14
|
-
[x: string]: {
|
|
15
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
16
|
-
base?: import("tailwind-variants").ClassValue;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
} | {}, {
|
|
20
|
-
base: string;
|
|
21
|
-
}, undefined, {
|
|
22
|
-
[key: string]: {
|
|
23
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
24
|
-
base?: import("tailwind-variants").ClassValue;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
} | {
|
|
28
|
-
[x: string]: {
|
|
29
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
30
|
-
base?: import("tailwind-variants").ClassValue;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
} | {}, {
|
|
34
|
-
base: string;
|
|
35
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
36
|
-
[key: string]: {
|
|
37
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
38
|
-
base?: import("tailwind-variants").ClassValue;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
} | {
|
|
42
|
-
[x: string]: {
|
|
43
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
44
|
-
base?: import("tailwind-variants").ClassValue;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
} | {}, {
|
|
48
|
-
base: string;
|
|
49
|
-
}, undefined, {
|
|
50
|
-
[key: string]: {
|
|
51
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
52
|
-
base?: import("tailwind-variants").ClassValue;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
} | {}, {
|
|
56
|
-
base: string;
|
|
57
|
-
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
58
|
-
base: string;
|
|
59
|
-
}, undefined, unknown, unknown, undefined>>>;
|
|
60
|
-
export interface proseAProps {
|
|
1
|
+
import type { AppConfig } from '@nuxt/schema';
|
|
2
|
+
import theme from '#build/b24ui/prose/a';
|
|
3
|
+
import type { ComponentConfig } from '../types/utils';
|
|
4
|
+
type ProseA = ComponentConfig<typeof theme, AppConfig, 'a', 'b24ui.prose'>;
|
|
5
|
+
export interface ProseAProps {
|
|
61
6
|
class?: any;
|
|
62
|
-
b24ui?:
|
|
7
|
+
b24ui?: ProseA['slots'];
|
|
63
8
|
}
|
|
64
|
-
export interface
|
|
9
|
+
export interface ProseASlots {
|
|
65
10
|
default(props?: {}): any;
|
|
66
11
|
}
|
|
67
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<
|
|
68
|
-
default?(_: {}): any;
|
|
69
|
-
}>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ProseAProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ProseAProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<ProseASlots> & ProseASlots>;
|
|
70
13
|
export default _default;
|
|
71
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
72
15
|
type __VLS_TypePropsToOption<T> = {
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import _appConfig from "#build/app.config";
|
|
3
2
|
import theme from "#build/b24ui/prose/blockquote";
|
|
4
|
-
import { tv } from "../utils/tv";
|
|
5
|
-
const appConfigProseBlockquote = _appConfig;
|
|
6
|
-
const proseBlockquote = tv({ extend: tv(theme), ...appConfigProseBlockquote.b24ui?.prose?.blockquote || {} });
|
|
7
3
|
</script>
|
|
8
4
|
|
|
9
5
|
<script setup>
|
|
6
|
+
import { computed } from "vue";
|
|
7
|
+
import { useAppConfig } from "#imports";
|
|
8
|
+
import { tv } from "../utils/tv";
|
|
10
9
|
const props = defineProps({
|
|
11
10
|
class: { type: null, required: false },
|
|
12
|
-
b24ui: { type:
|
|
11
|
+
b24ui: { type: null, required: false }
|
|
13
12
|
});
|
|
14
|
-
|
|
13
|
+
defineSlots();
|
|
14
|
+
const appConfig = useAppConfig();
|
|
15
|
+
const b24ui = computed(() => tv({ extend: tv(theme), ...appConfig.b24ui?.prose?.blockquote || {} })());
|
|
15
16
|
</script>
|
|
16
17
|
|
|
17
18
|
<template>
|
|
18
|
-
<blockquote
|
|
19
|
-
:class="b24ui.base({ class: [props.class, props.b24ui?.base] })"
|
|
20
|
-
>
|
|
19
|
+
<blockquote :class="b24ui.base({ class: [props.class, props.b24ui?.base] })">
|
|
21
20
|
<slot />
|
|
22
21
|
</blockquote>
|
|
23
22
|
</template>
|
|
@@ -1,72 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
} | {
|
|
8
|
-
[x: string]: {
|
|
9
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
10
|
-
base?: import("tailwind-variants").ClassValue;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
} | {
|
|
14
|
-
[x: string]: {
|
|
15
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
16
|
-
base?: import("tailwind-variants").ClassValue;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
} | {}, {
|
|
20
|
-
base: string;
|
|
21
|
-
}, undefined, {
|
|
22
|
-
[key: string]: {
|
|
23
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
24
|
-
base?: import("tailwind-variants").ClassValue;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
} | {
|
|
28
|
-
[x: string]: {
|
|
29
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
30
|
-
base?: import("tailwind-variants").ClassValue;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
} | {}, {
|
|
34
|
-
base: string;
|
|
35
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
36
|
-
[key: string]: {
|
|
37
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
38
|
-
base?: import("tailwind-variants").ClassValue;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
} | {
|
|
42
|
-
[x: string]: {
|
|
43
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
44
|
-
base?: import("tailwind-variants").ClassValue;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
} | {}, {
|
|
48
|
-
base: string;
|
|
49
|
-
}, undefined, {
|
|
50
|
-
[key: string]: {
|
|
51
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
52
|
-
base?: import("tailwind-variants").ClassValue;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
} | {}, {
|
|
56
|
-
base: string;
|
|
57
|
-
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
58
|
-
base: string;
|
|
59
|
-
}, undefined, unknown, unknown, undefined>>>;
|
|
60
|
-
export interface proseBlockquoteProps {
|
|
1
|
+
import type { AppConfig } from '@nuxt/schema';
|
|
2
|
+
import theme from '#build/b24ui/prose/blockquote';
|
|
3
|
+
import type { ComponentConfig } from '../types/utils';
|
|
4
|
+
type ProseBlockquote = ComponentConfig<typeof theme, AppConfig, 'blockquote', 'b24ui.prose'>;
|
|
5
|
+
export interface ProseBlockquoteProps {
|
|
61
6
|
class?: any;
|
|
62
|
-
b24ui?:
|
|
7
|
+
b24ui?: ProseBlockquote['slots'];
|
|
63
8
|
}
|
|
64
|
-
export interface
|
|
9
|
+
export interface ProseBlockquoteSlots {
|
|
65
10
|
default(props?: {}): any;
|
|
66
11
|
}
|
|
67
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<
|
|
68
|
-
default?(_: {}): any;
|
|
69
|
-
}>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ProseBlockquoteProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ProseBlockquoteProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<ProseBlockquoteSlots> & ProseBlockquoteSlots>;
|
|
70
13
|
export default _default;
|
|
71
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
72
15
|
type __VLS_TypePropsToOption<T> = {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import _appConfig from "#build/app.config";
|
|
3
2
|
import theme from "#build/b24ui/prose/code";
|
|
4
|
-
import { tv } from "../utils/tv";
|
|
5
|
-
const appConfigProseCode = _appConfig;
|
|
6
|
-
const proseCode = tv({ extend: tv(theme), ...appConfigProseCode.b24ui?.prose?.code || {} });
|
|
7
3
|
</script>
|
|
8
4
|
|
|
9
5
|
<script setup>
|
|
10
6
|
import { computed } from "vue";
|
|
7
|
+
import { useAppConfig } from "#imports";
|
|
8
|
+
import { tv } from "../utils/tv";
|
|
11
9
|
const props = defineProps({
|
|
12
10
|
color: { type: null, required: false },
|
|
13
11
|
class: { type: null, required: false },
|
|
14
|
-
b24ui: { type:
|
|
12
|
+
b24ui: { type: null, required: false }
|
|
15
13
|
});
|
|
16
|
-
|
|
14
|
+
defineSlots();
|
|
15
|
+
const appConfig = useAppConfig();
|
|
16
|
+
const b24ui = computed(() => tv({ extend: tv(theme), ...appConfig.b24ui?.prose?.code || {} })({
|
|
17
17
|
color: props.color
|
|
18
18
|
}));
|
|
19
19
|
</script>
|