@codemonster-ru/vueforge 0.28.0 → 0.29.0
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/README.md +36 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.ts.mjs +962 -894
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/breadcrumbs.test.d.ts +1 -0
- package/dist/package/components/breadcrumbs.vue.d.ts +43 -0
- package/dist/package/config/theme-core.d.ts +10 -0
- package/dist/package/themes/default/components/breadcrumbs.d.ts +10 -0
- package/dist/package/themes/default/index.d.ts +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RouteLocationAsRelativeGeneric, RouteLocationAsPathGeneric } from 'vue-router';
|
|
2
|
+
interface BreadcrumbItem {
|
|
3
|
+
label?: string;
|
|
4
|
+
to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric;
|
|
5
|
+
href?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface Props {
|
|
11
|
+
items?: Array<BreadcrumbItem>;
|
|
12
|
+
separator?: string;
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
slots: {
|
|
18
|
+
item?(_: {
|
|
19
|
+
item: BreadcrumbItem;
|
|
20
|
+
index: number;
|
|
21
|
+
isLast: boolean;
|
|
22
|
+
active: boolean;
|
|
23
|
+
}): any;
|
|
24
|
+
separator?(_: {
|
|
25
|
+
separator: string;
|
|
26
|
+
}): any;
|
|
27
|
+
};
|
|
28
|
+
refs: {};
|
|
29
|
+
rootEl: HTMLElement;
|
|
30
|
+
};
|
|
31
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
32
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
33
|
+
items: Array<BreadcrumbItem>;
|
|
34
|
+
separator: string;
|
|
35
|
+
ariaLabel: string;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -126,6 +126,15 @@ export type LinkTokens = {
|
|
|
126
126
|
hoverColor?: string;
|
|
127
127
|
activeColor?: string;
|
|
128
128
|
};
|
|
129
|
+
export type BreadcrumbsTokens = {
|
|
130
|
+
gap?: string;
|
|
131
|
+
fontSize?: string;
|
|
132
|
+
textColor?: string;
|
|
133
|
+
hoverColor?: string;
|
|
134
|
+
activeColor?: string;
|
|
135
|
+
separatorColor?: string;
|
|
136
|
+
disabledOpacity?: string;
|
|
137
|
+
};
|
|
129
138
|
export type MenuTokens = {
|
|
130
139
|
iconGap?: string;
|
|
131
140
|
submenuOffset?: string;
|
|
@@ -752,6 +761,7 @@ export type ThemeComponentTokens = {
|
|
|
752
761
|
formField?: FormFieldTokens;
|
|
753
762
|
textarea?: TextareaTokens;
|
|
754
763
|
link?: LinkTokens;
|
|
764
|
+
breadcrumbs?: BreadcrumbsTokens;
|
|
755
765
|
menu?: MenuTokens;
|
|
756
766
|
modal?: ModalTokens;
|
|
757
767
|
drawer?: DrawerTokens;
|
|
@@ -283,6 +283,15 @@ declare const _default: {
|
|
|
283
283
|
hoverColor: string;
|
|
284
284
|
activeColor: string;
|
|
285
285
|
};
|
|
286
|
+
breadcrumbs: {
|
|
287
|
+
gap: string;
|
|
288
|
+
fontSize: string;
|
|
289
|
+
textColor: string;
|
|
290
|
+
hoverColor: string;
|
|
291
|
+
activeColor: string;
|
|
292
|
+
separatorColor: string;
|
|
293
|
+
disabledOpacity: string;
|
|
294
|
+
};
|
|
286
295
|
menu: {
|
|
287
296
|
iconGap: string;
|
|
288
297
|
submenuOffset: string;
|