@colorffy/ui 1.0.4 → 1.1.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/dist/components/ui/link/LinkTooltip.vue.d.ts +6 -2
- package/dist/components/ui/link/LinkTooltip.vue.d.ts.map +1 -1
- package/dist/components/ui/navbar/NavbarBrand.vue.d.ts +2 -1
- package/dist/components/ui/navbar/NavbarBrand.vue.d.ts.map +1 -1
- package/dist/components/ui/navbar/NavbarCollapse.vue.d.ts +8 -3
- package/dist/components/ui/navbar/NavbarCollapse.vue.d.ts.map +1 -1
- package/dist/components/ui/navigation/NavigationBar.vue.d.ts +2 -2
- package/dist/components/ui/navigation/NavigationBar.vue.d.ts.map +1 -1
- package/dist/components/ui/navigation/PopoverMenu.vue.d.ts +6 -6
- package/dist/components/ui/navigation/PopoverMenu.vue.d.ts.map +1 -1
- package/dist/{components-B_popNS0.js → components-BiCg3rdv.js} +1458 -1410
- package/dist/components-BiCg3rdv.js.map +1 -0
- package/dist/{components-BljtIkxw.cjs → components-hMt9OeUz.cjs} +4 -4
- package/dist/components-hMt9OeUz.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/nuxt.cjs +1 -1
- package/dist/nuxt.js +1 -1
- package/dist/types/navbar.d.ts +5 -0
- package/dist/types/navbar.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/components-B_popNS0.js.map +0 -1
- package/dist/components-BljtIkxw.cjs.map +0 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { RouteLocationRaw } from 'vue-router';
|
|
2
1
|
import { IButtonProps } from '../../../types/button';
|
|
3
2
|
/** Interfaces */
|
|
4
3
|
interface ILinkTooltipProps extends Omit<IButtonProps, 'onClick'> {
|
|
5
|
-
|
|
4
|
+
to?: string | object;
|
|
5
|
+
href?: string;
|
|
6
6
|
tooltipText?: string;
|
|
7
|
+
as?: string | object;
|
|
7
8
|
}
|
|
8
9
|
declare function __VLS_template(): {
|
|
9
10
|
attrs: Partial<{}>;
|
|
@@ -29,6 +30,9 @@ declare const __VLS_component: import('vue').DefineComponent<ILinkTooltipProps,
|
|
|
29
30
|
tooltipText: string;
|
|
30
31
|
customClass: import('../../../types/button').ButtonClassName | null;
|
|
31
32
|
rounded: boolean;
|
|
33
|
+
to: string | object;
|
|
34
|
+
href: string;
|
|
35
|
+
as: string | object;
|
|
32
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
38
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/link/LinkTooltip.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LinkTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/link/LinkTooltip.vue"],"names":[],"mappings":"AA0IA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAIlD,iBAAiB;AACjB,UAAU,iBAAkB,SAAQ,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC;IAC/D,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACrB;AAgID,iBAAS,cAAc;WAmDT,OAAO,IAA6B;;sBAVvB,GAAG;;;;EAe7B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;iBAtML,MAAM;;;QAFf,MAAM,GAAG,MAAM;UACb,MAAM;QAER,MAAM,GAAG,MAAM;6EA6MpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -3,7 +3,7 @@ declare function __VLS_template(): {
|
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
5
5
|
link?(_: {
|
|
6
|
-
linkTarget: string;
|
|
6
|
+
linkTarget: string | object;
|
|
7
7
|
brandText: string;
|
|
8
8
|
}): any;
|
|
9
9
|
};
|
|
@@ -17,6 +17,7 @@ declare const __VLS_component: import('vue').DefineComponent<INavbarBrandProps,
|
|
|
17
17
|
initials: string | null;
|
|
18
18
|
to: string | object;
|
|
19
19
|
href: string;
|
|
20
|
+
as: string | object;
|
|
20
21
|
logo: string | null;
|
|
21
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavbarBrand.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navbar/NavbarBrand.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavbarBrand.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navbar/NavbarBrand.vue"],"names":[],"mappings":"AAoFA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AA4DvD,iBAAS,cAAc;WAmDT,OAAO,IAA6B;;;;;YAVxB,GAAG;;;;EAe5B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;wFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { INavbarCollapseProps } from '../../../types/navbar';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
|
-
slots: {
|
|
5
|
-
|
|
6
|
-
start
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
default?: () => any;
|
|
6
|
+
start?: () => any;
|
|
7
|
+
end?: () => any;
|
|
8
|
+
}> & {
|
|
9
|
+
default?: () => any;
|
|
10
|
+
start?: () => any;
|
|
11
|
+
end?: () => any;
|
|
7
12
|
};
|
|
8
13
|
refs: {};
|
|
9
14
|
rootEl: HTMLDivElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavbarCollapse.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navbar/NavbarCollapse.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavbarCollapse.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navbar/NavbarCollapse.vue"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAoB1D,iBAAS,cAAc;WAuCT,OAAO,IAA6B;;kBAjDtC,MAAM,GAAG;gBACX,MAAM,GAAG;cACX,MAAM,GAAG;;kBAFL,MAAM,GAAG;gBACX,MAAM,GAAG;cACX,MAAM,GAAG;;;;EAoDhB;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;wFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navigation/NavigationBar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavigationBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navigation/NavigationBar.vue"],"names":[],"mappings":"AA6GA,iBAAiB;AACjB,UAAU,eAAe;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;CAClB;AACD,UAAU,mBAAmB;IAC3B,KAAK,CAAC,EAAE,eAAe,EAAE,CAAA;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACrB;;WAHS,eAAe,EAAE;QAEpB,MAAM,GAAG,MAAM;gBADP,MAAM,GAAG,IAAI;;AA0J5B,wBAQG"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/** Interfaces */
|
|
2
2
|
interface IMenuItem {
|
|
3
3
|
id: string;
|
|
4
|
-
|
|
4
|
+
to: string | object;
|
|
5
5
|
icon: string;
|
|
6
|
-
|
|
6
|
+
text: string;
|
|
7
7
|
ariaLabel: string;
|
|
8
8
|
}
|
|
9
9
|
interface IPopoverMenuProps {
|
|
10
10
|
isOpened?: boolean;
|
|
11
11
|
menuItems?: IMenuItem[];
|
|
12
|
-
|
|
12
|
+
currentRoute?: any;
|
|
13
13
|
title?: string | null;
|
|
14
14
|
subtitle?: string | null;
|
|
15
15
|
avatarUrl?: string | null;
|
|
@@ -30,16 +30,16 @@ declare function __VLS_template(): {
|
|
|
30
30
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
31
|
declare const __VLS_component: import('vue').DefineComponent<IPopoverMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
32
32
|
hideDropdown: () => any;
|
|
33
|
-
menuItemClick: (
|
|
33
|
+
menuItemClick: (to: string | object) => any;
|
|
34
34
|
}, string, import('vue').PublicProps, Readonly<IPopoverMenuProps> & Readonly<{
|
|
35
35
|
onHideDropdown?: (() => any) | undefined;
|
|
36
|
-
onMenuItemClick?: ((
|
|
36
|
+
onMenuItemClick?: ((to: string | object) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
38
|
title: string | null;
|
|
39
39
|
subtitle: string | null;
|
|
40
|
-
activeItem: string | null;
|
|
41
40
|
isOpened: boolean;
|
|
42
41
|
menuItems: IMenuItem[];
|
|
42
|
+
currentRoute: any;
|
|
43
43
|
avatarUrl: string | null;
|
|
44
44
|
showVerifiedIcon: boolean;
|
|
45
45
|
verifiedIconCode: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navigation/PopoverMenu.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PopoverMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navigation/PopoverMenu.vue"],"names":[],"mappings":"AAiNA,iBAAiB;AACjB,UAAU,SAAS;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;CAClB;AACD,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,SAAS,EAAE,CAAA;IACvB,YAAY,CAAC,EAAE,GAAG,CAA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