Skip to content

Commit a8423a5

Browse files
authoredJul 20, 2023
Merge pull request #22 from webdevnerdstuff/dev
v2.2.12
2 parents 4f59812 + e3aa394 commit a8423a5

6 files changed

+2762
-2207
lines changed
 

‎dist/plugin/CodeBlock.vue.d.ts

+243-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,245 @@
1-
declare const _sfc_main: import("vue").DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("run" | "update:copy-status")[], "run" | "update:copy-status", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any> & {
1+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2+
persistentCopyButton: {
3+
type: globalThis.PropType<boolean>;
4+
default: boolean;
5+
};
6+
highlightjs: {
7+
type: globalThis.PropType<boolean>;
8+
default: boolean;
9+
};
10+
floatingTabs: {
11+
type: globalThis.PropType<boolean>;
12+
default: boolean;
13+
};
14+
tabGap: {
15+
type: globalThis.PropType<string | number>;
16+
default: string;
17+
};
18+
copyTab: {
19+
type: globalThis.PropType<boolean>;
20+
default: boolean;
21+
};
22+
height: {
23+
type: globalThis.PropType<string | number>;
24+
default: string;
25+
};
26+
maxHeight: {
27+
type: globalThis.PropType<string | number>;
28+
default: string;
29+
};
30+
codeBlockRadius: {
31+
type: globalThis.PropType<string>;
32+
default: string;
33+
};
34+
runTab: {
35+
type: globalThis.PropType<boolean>;
36+
default: boolean;
37+
};
38+
tabs: {
39+
type: globalThis.PropType<boolean>;
40+
default: boolean;
41+
};
42+
code: {
43+
type: globalThis.PropType<string | number | object | []>;
44+
default: string;
45+
};
46+
label: {
47+
type: globalThis.PropType<string>;
48+
default: string;
49+
};
50+
lang: {
51+
type: globalThis.PropType<string>;
52+
default: string;
53+
};
54+
browserWindow: {
55+
type: globalThis.PropType<boolean>;
56+
default: boolean;
57+
};
58+
copyButton: {
59+
type: globalThis.PropType<boolean>;
60+
default: boolean;
61+
};
62+
copyIcons: {
63+
type: globalThis.PropType<boolean>;
64+
default: boolean;
65+
};
66+
copyFailedText: {
67+
type: globalThis.PropType<string>;
68+
default: string;
69+
};
70+
copyText: {
71+
type: globalThis.PropType<string>;
72+
default: string;
73+
};
74+
copySuccessText: {
75+
type: globalThis.PropType<string>;
76+
default: string;
77+
};
78+
globalOptions: {
79+
type: globalThis.PropType<boolean>;
80+
};
81+
indent: {
82+
type: globalThis.PropType<number>;
83+
default: number;
84+
};
85+
languages: {
86+
type: globalThis.PropType<string[]>;
87+
};
88+
prismjs: {
89+
type: globalThis.PropType<boolean>;
90+
default: boolean;
91+
};
92+
prismPlugin: {
93+
type: globalThis.PropType<boolean>;
94+
default: boolean;
95+
};
96+
runText: {
97+
type: globalThis.PropType<string>;
98+
default: string;
99+
};
100+
theme: {
101+
type: globalThis.PropType<string | boolean>;
102+
default: string;
103+
};
104+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("run" | "update:copy-status")[], "run" | "update:copy-status", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
105+
persistentCopyButton: {
106+
type: globalThis.PropType<boolean>;
107+
default: boolean;
108+
};
109+
highlightjs: {
110+
type: globalThis.PropType<boolean>;
111+
default: boolean;
112+
};
113+
floatingTabs: {
114+
type: globalThis.PropType<boolean>;
115+
default: boolean;
116+
};
117+
tabGap: {
118+
type: globalThis.PropType<string | number>;
119+
default: string;
120+
};
121+
copyTab: {
122+
type: globalThis.PropType<boolean>;
123+
default: boolean;
124+
};
125+
height: {
126+
type: globalThis.PropType<string | number>;
127+
default: string;
128+
};
129+
maxHeight: {
130+
type: globalThis.PropType<string | number>;
131+
default: string;
132+
};
133+
codeBlockRadius: {
134+
type: globalThis.PropType<string>;
135+
default: string;
136+
};
137+
runTab: {
138+
type: globalThis.PropType<boolean>;
139+
default: boolean;
140+
};
141+
tabs: {
142+
type: globalThis.PropType<boolean>;
143+
default: boolean;
144+
};
145+
code: {
146+
type: globalThis.PropType<string | number | object | []>;
147+
default: string;
148+
};
149+
label: {
150+
type: globalThis.PropType<string>;
151+
default: string;
152+
};
153+
lang: {
154+
type: globalThis.PropType<string>;
155+
default: string;
156+
};
157+
browserWindow: {
158+
type: globalThis.PropType<boolean>;
159+
default: boolean;
160+
};
161+
copyButton: {
162+
type: globalThis.PropType<boolean>;
163+
default: boolean;
164+
};
165+
copyIcons: {
166+
type: globalThis.PropType<boolean>;
167+
default: boolean;
168+
};
169+
copyFailedText: {
170+
type: globalThis.PropType<string>;
171+
default: string;
172+
};
173+
copyText: {
174+
type: globalThis.PropType<string>;
175+
default: string;
176+
};
177+
copySuccessText: {
178+
type: globalThis.PropType<string>;
179+
default: string;
180+
};
181+
globalOptions: {
182+
type: globalThis.PropType<boolean>;
183+
};
184+
indent: {
185+
type: globalThis.PropType<number>;
186+
default: number;
187+
};
188+
languages: {
189+
type: globalThis.PropType<string[]>;
190+
};
191+
prismjs: {
192+
type: globalThis.PropType<boolean>;
193+
default: boolean;
194+
};
195+
prismPlugin: {
196+
type: globalThis.PropType<boolean>;
197+
default: boolean;
198+
};
199+
runText: {
200+
type: globalThis.PropType<string>;
201+
default: string;
202+
};
203+
theme: {
204+
type: globalThis.PropType<string | boolean>;
205+
default: string;
206+
};
207+
}>> & {
2208
onRun?: ((...args: any[]) => any) | undefined;
3209
"onUpdate:copy-status"?: ((...args: any[]) => any) | undefined;
4-
}, {} | {
5-
[x: string]: any;
6-
}, {}>;
7-
export default _sfc_main;
210+
}, {
211+
persistentCopyButton: boolean;
212+
highlightjs: boolean;
213+
floatingTabs: boolean;
214+
tabGap: string | number;
215+
copyTab: boolean;
216+
height: string | number;
217+
maxHeight: string | number;
218+
codeBlockRadius: string;
219+
runTab: boolean;
220+
tabs: boolean;
221+
code: string | number | object | [];
222+
label: string;
223+
lang: string;
224+
browserWindow: boolean;
225+
copyButton: boolean;
226+
copyIcons: boolean;
227+
copyFailedText: string;
228+
copyText: string;
229+
copySuccessText: string;
230+
indent: number;
231+
prismjs: boolean;
232+
prismPlugin: boolean;
233+
runText: string;
234+
theme: string | boolean;
235+
}, {}>, {
236+
label?(_: {}): any;
237+
tabs?(_: {}): any;
238+
copyButton?(_: {}): any;
239+
}>;
240+
export default _default;
241+
type __VLS_WithTemplateSlots<T, S> = T & {
242+
new (): {
243+
$slots: S;
244+
};
245+
};

‎dist/plugin/components/StatusIcons.vue.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
declare const _sfc_main: import("vue").DefineComponent<{
1+
declare const _default: import("vue").DefineComponent<{
22
icon: {
33
type: StringConstructor;
44
required: true;
@@ -9,4 +9,4 @@ declare const _sfc_main: import("vue").DefineComponent<{
99
required: true;
1010
};
1111
}>>, {}, {}>;
12-
export default _sfc_main;
12+
export default _default;

‎dist/vue3-code-block.cjs.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/vue3-code-block.es.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+26-29
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue3-code-block",
3-
"version": "2.2.11",
3+
"version": "2.2.12",
44
"description": "Vue 3 CodeBlock - Highlight your code with ease using this syntax highlighting component powered by PrismJS or Highlight.js.",
55
"private": false,
66
"main": "dist/vue3-code-block.cjs.js",
@@ -20,9 +20,6 @@
2020
"lint": "eslint src/**/*.{ts,vue} --max-warnings 4",
2121
"prepare": "husky install"
2222
},
23-
"engines": {
24-
"node": "^19.0.1"
25-
},
2623
"packageManager": "pnpm@7.14.2",
2724
"lint-staged": {
2825
"src/**/*.{js,ts,vue}": [
@@ -77,61 +74,61 @@
7774
"vue": "^3.3.4"
7875
},
7976
"devDependencies": {
80-
"@babel/core": "^7.22.5",
81-
"@babel/eslint-parser": "^7.22.5",
77+
"@babel/core": "^7.22.9",
78+
"@babel/eslint-parser": "^7.22.9",
8279
"@fortawesome/fontawesome-svg-core": "^6.4.0",
8380
"@fortawesome/free-brands-svg-icons": "^6.4.0",
8481
"@fortawesome/free-solid-svg-icons": "^6.4.0",
8582
"@fortawesome/vue-fontawesome": "^3.0.3",
8683
"@rollup/plugin-alias": "^5.0.0",
87-
"@rollup/plugin-commonjs": "^25.0.1",
84+
"@rollup/plugin-commonjs": "^25.0.3",
8885
"@rollup/plugin-json": "^6.0.0",
8986
"@rollup/plugin-node-resolve": "^15.1.0",
9087
"@rollup/plugin-terser": "^0.4.3",
91-
"@types/node": "^20.2.6",
88+
"@types/node": "^20.4.2",
9289
"@types/prismjs": "^1.26.0",
93-
"@typescript-eslint/eslint-plugin": "^5.59.9",
94-
"@typescript-eslint/parser": "^5.59.9",
90+
"@typescript-eslint/eslint-plugin": "^6.1.0",
91+
"@typescript-eslint/parser": "^6.1.0",
9592
"@vitejs/plugin-vue": "^4.2.3",
9693
"@vue/cli-plugin-babel": "^5.0.8",
9794
"@vue/cli-plugin-eslint": "^5.0.8",
9895
"@vue/cli-service": "^5.0.8",
9996
"@vue/compiler-sfc": "^3.3.4",
10097
"@vue/eslint-config-typescript": "^11.0.3",
10198
"autoprefixer": "^10.4.13",
102-
"eslint": "^8.42.0",
99+
"eslint": "^8.45.0",
103100
"eslint-config-prettier": "^8.8.0",
104101
"eslint-plugin-import": "^2.27.5",
105-
"eslint-plugin-prettier": "^4.2.1",
106-
"eslint-plugin-vue": "^9.14.1",
102+
"eslint-plugin-prettier": "^5.0.0",
103+
"eslint-plugin-vue": "^9.15.1",
107104
"gh-pages": "^5.0.0",
108105
"husky": "^8.0.3",
109-
"lint-staged": "^13.2.2",
110-
"pinia": "^2.1.3",
111-
"postcss": "^8.4.24",
106+
"lint-staged": "^13.2.3",
107+
"pinia": "^2.1.4",
108+
"postcss": "^8.4.26",
112109
"postcss-html": "^1.5.0",
113110
"postcss-scss": "^4.0.6",
114-
"prettier": "^2.8.8",
115-
"rollup": "^3.24.1",
111+
"prettier": "^3.0.0",
112+
"rollup": "^3.26.3",
116113
"rollup-plugin-copy": "^3.4.0",
117114
"rollup-plugin-polyfill-node": "^0.12.0",
118115
"rollup-plugin-postcss": "^4.0.2",
119116
"rollup-plugin-scss": "^4.0.0",
120-
"rollup-plugin-typescript2": "^0.34.1",
121-
"sass": "^1.63.3",
122-
"stylelint": "^15.7.0",
123-
"stylelint-config-standard": "^33.0.0",
117+
"rollup-plugin-typescript2": "^0.35.0",
118+
"sass": "^1.64.0",
119+
"stylelint": "^15.10.2",
120+
"stylelint-config-standard": "^34.0.0",
124121
"stylelint-order": "^6.0.2",
125122
"stylelint-scss": "^5.0.1",
126-
"typescript": "^5.1.3",
127-
"unplugin-auto-import": "^0.16.4",
128-
"vite": "^4.3.9",
123+
"typescript": "^5.1.6",
124+
"unplugin-auto-import": "^0.16.6",
125+
"vite": "^4.4.5",
129126
"vite-plugin-babel": "^1.1.3",
130-
"vite-plugin-css-injected-by-js": "^3.1.1",
131-
"vite-plugin-dts": "^2.3.0",
127+
"vite-plugin-css-injected-by-js": "^3.2.1",
128+
"vite-plugin-dts": "^3.3.1",
132129
"vite-plugin-eslint": "^1.8.1",
133-
"vite-plugin-static-copy": "^0.16.0",
130+
"vite-plugin-static-copy": "^0.17.0",
134131
"vite-plugin-stylelint": "^4.2.0",
135-
"vue-tsc": "^1.6.5"
132+
"vue-tsc": "^1.8.5"
136133
}
137134
}

0 commit comments

Comments
 (0)
Please sign in to comment.