@bobbykim/mcl-footer 0.8.0 → 0.9.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +63 -107
  2. package/package.json +11 -11
package/dist/index.d.ts CHANGED
@@ -1,125 +1,65 @@
1
1
  import { BodyText } from '@bobbykim/manguito-theme';
2
2
  import { ColorPalette } from '@bobbykim/manguito-theme';
3
3
  import { ComponentOptionsMixin } from 'vue';
4
+ import { ComponentProvideOptions } from 'vue';
4
5
  import { CtaTarget } from '@bobbykim/manguito-theme';
5
6
  import { DefineComponent } from 'vue';
6
- import { ExtractPropTypes } from 'vue';
7
7
  import { HeadingSize } from '@bobbykim/manguito-theme';
8
- import { PropType } from 'vue';
9
8
  import { PublicProps } from 'vue';
10
9
 
11
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
-
13
- declare type __VLS_Prettify<T> = {
14
- [K in keyof T]: T[K];
15
- } & {};
16
-
17
- declare type __VLS_TypePropsToRuntimeProps<T> = {
18
- [K in keyof T]-?: {} extends Pick<T, K> ? {
19
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
20
- } : {
21
- type: PropType<T[K]>;
22
- required: true;
23
- };
24
- };
25
-
26
- declare type __VLS_WithDefaults<P, D> = {
27
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
- default: D[K];
29
- }> : P[K];
30
- };
31
-
32
- declare type __VLS_WithTemplateSlots<T, S> = T & {
33
- new (): {
34
- $slots: S;
35
- };
36
- };
37
-
38
- export declare const MclFooterA: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
+ declare const __VLS_component: DefineComponent< {
39
11
  title: string;
40
- titleSize?: HeadingSize | undefined;
41
- titleColor?: ColorPalette | undefined;
12
+ titleSize?: HeadingSize;
13
+ titleColor?: ColorPalette;
42
14
  logo: string;
43
- logoAlt?: string | undefined;
44
- logoAsLink?: boolean | undefined;
15
+ logoAlt?: string;
16
+ logoAsLink?: boolean;
45
17
  logoLink: string;
46
- logoLinkTarget?: CtaTarget | undefined;
47
- displaySocialIcons?: boolean | undefined;
18
+ logoLinkTarget?: CtaTarget;
19
+ displaySocialIcons?: boolean;
48
20
  socialIconColor: ColorPalette;
49
- socialLinks?: SocialUrl | undefined;
21
+ socialLinks?: SocialUrl;
50
22
  menuItems: MenuItemType[];
51
- secondaryMenuItems?: MenuItemType[] | undefined;
52
- menuItemAsLink?: boolean | undefined;
53
- menuTextSize?: BodyText | undefined;
54
- menuTextColor?: ColorPalette | undefined;
55
- menuTextBold?: boolean | undefined;
56
- displayHighlight?: boolean | undefined;
57
- highlightColor?: ColorPalette | undefined;
58
- bgColor?: ColorPalette | undefined;
59
- borderTopColor?: ColorPalette | undefined;
60
- headlineColor?: ColorPalette | undefined;
61
- }>, {
62
- titleSize: string;
63
- titleColor: string;
64
- logoAsLink: boolean;
65
- logoLinkTarget: string;
66
- displaySocialIcons: boolean;
67
- socialIconColor: string;
68
- menuItemAsLink: boolean;
69
- menuTextSize: string;
70
- menuTextColor: string;
71
- menuTextBold: boolean;
72
- displayHighlight: boolean;
73
- highlightColor: string;
74
- bgColor: string;
75
- borderTopColor: string;
76
- headlineColor: string;
77
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
78
- "logo-click": (event: Event, link: string, target: CtaTarget) => void;
79
- "menu-click": (event: Event, item: MenuItemType) => void;
80
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
23
+ secondaryMenuItems?: MenuItemType[];
24
+ menuItemAsLink?: boolean;
25
+ menuTextSize?: BodyText;
26
+ menuTextColor?: ColorPalette;
27
+ menuTextBold?: boolean;
28
+ displayHighlight?: boolean;
29
+ highlightColor?: ColorPalette;
30
+ bgColor?: ColorPalette;
31
+ borderTopColor?: ColorPalette;
32
+ headlineColor?: ColorPalette;
33
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
34
+ "logo-click": (event: Event, link: string, target: CtaTarget) => any;
35
+ "menu-click": (event: Event, item: MenuItemType) => any;
36
+ }, string, PublicProps, Readonly<{
81
37
  title: string;
82
- titleSize?: HeadingSize | undefined;
83
- titleColor?: ColorPalette | undefined;
38
+ titleSize?: HeadingSize;
39
+ titleColor?: ColorPalette;
84
40
  logo: string;
85
- logoAlt?: string | undefined;
86
- logoAsLink?: boolean | undefined;
41
+ logoAlt?: string;
42
+ logoAsLink?: boolean;
87
43
  logoLink: string;
88
- logoLinkTarget?: CtaTarget | undefined;
89
- displaySocialIcons?: boolean | undefined;
44
+ logoLinkTarget?: CtaTarget;
45
+ displaySocialIcons?: boolean;
90
46
  socialIconColor: ColorPalette;
91
- socialLinks?: SocialUrl | undefined;
47
+ socialLinks?: SocialUrl;
92
48
  menuItems: MenuItemType[];
93
- secondaryMenuItems?: MenuItemType[] | undefined;
94
- menuItemAsLink?: boolean | undefined;
95
- menuTextSize?: BodyText | undefined;
96
- menuTextColor?: ColorPalette | undefined;
97
- menuTextBold?: boolean | undefined;
98
- displayHighlight?: boolean | undefined;
99
- highlightColor?: ColorPalette | undefined;
100
- bgColor?: ColorPalette | undefined;
101
- borderTopColor?: ColorPalette | undefined;
102
- headlineColor?: ColorPalette | undefined;
103
- }>, {
104
- titleSize: string;
105
- titleColor: string;
106
- logoAsLink: boolean;
107
- logoLinkTarget: string;
108
- displaySocialIcons: boolean;
109
- socialIconColor: string;
110
- menuItemAsLink: boolean;
111
- menuTextSize: string;
112
- menuTextColor: string;
113
- menuTextBold: boolean;
114
- displayHighlight: boolean;
115
- highlightColor: string;
116
- bgColor: string;
117
- borderTopColor: string;
118
- headlineColor: string;
119
- }>>> & {
49
+ secondaryMenuItems?: MenuItemType[];
50
+ menuItemAsLink?: boolean;
51
+ menuTextSize?: BodyText;
52
+ menuTextColor?: ColorPalette;
53
+ menuTextBold?: boolean;
54
+ displayHighlight?: boolean;
55
+ highlightColor?: ColorPalette;
56
+ bgColor?: ColorPalette;
57
+ borderTopColor?: ColorPalette;
58
+ headlineColor?: ColorPalette;
59
+ }> & Readonly<{
120
60
  "onLogo-click"?: ((event: Event, link: string, target: CtaTarget) => any) | undefined;
121
61
  "onMenu-click"?: ((event: Event, item: MenuItemType) => any) | undefined;
122
- }, {
62
+ }>, {
123
63
  titleSize: HeadingSize;
124
64
  titleColor: ColorPalette;
125
65
  logoAsLink: boolean;
@@ -135,11 +75,27 @@ highlightColor: ColorPalette;
135
75
  bgColor: ColorPalette;
136
76
  borderTopColor: ColorPalette;
137
77
  headlineColor: ColorPalette;
138
- }, {}>, Readonly<{
139
- default: any;
140
- }> & {
141
- default: any;
142
- }>;
78
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
79
+
80
+ declare function __VLS_template(): {
81
+ slots: Readonly<{
82
+ default: any;
83
+ }> & {
84
+ default: any;
85
+ };
86
+ refs: {};
87
+ attrs: Partial<{}>;
88
+ };
89
+
90
+ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
91
+
92
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
93
+ new (): {
94
+ $slots: S;
95
+ };
96
+ };
97
+
98
+ export declare const MclFooterA: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
143
99
 
144
100
  export declare interface MenuItemType {
145
101
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobbykim/mcl-footer",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "a footer components built based on Manguito theme",
5
5
  "type": "module",
6
6
  "files": [
@@ -33,17 +33,17 @@
33
33
  },
34
34
  "license": "MIT",
35
35
  "dependencies": {
36
- "@bobbykim/manguito-theme": "0.22.1",
37
- "vue": "^3.3.10"
36
+ "@bobbykim/manguito-theme": "0.23.0",
37
+ "vue": "^3.5.13"
38
38
  },
39
39
  "devDependencies": {
40
- "@vitejs/plugin-vue": "^4.5.2",
41
- "sass": "^1.69.5",
42
- "typescript": "^5.3.3",
43
- "vite": "^4.5.1",
44
- "vite-plugin-css-injected-by-js": "^3.5.0",
45
- "vite-plugin-dts": "^3.8.3",
46
- "vue-tsc": "^1.8.25"
40
+ "@vitejs/plugin-vue": "^5.2.1",
41
+ "sass": "^1.82.0",
42
+ "typescript": "^5.7.2",
43
+ "vite": "^6.0.3",
44
+ "vite-plugin-css-injected-by-js": "^3.5.2",
45
+ "vite-plugin-dts": "^4.3.0",
46
+ "vue-tsc": "^2.1.10"
47
47
  },
48
- "gitHead": "78cff50dbc852b676bc0cf2d4c75714686eb6d2f"
48
+ "gitHead": "0c86a1a70a33446112dafbaf5fce5fdcb5fdf755"
49
49
  }