Skip to content

Commit

Permalink
Merge pull request #22 from webdevnerdstuff/dev
Browse files Browse the repository at this point in the history
v2.2.12
  • Loading branch information
webdevnerdstuff authored Jul 20, 2023
2 parents 4f59812 + e3aa394 commit a8423a5
Show file tree
Hide file tree
Showing 6 changed files with 2,762 additions and 2,207 deletions.
248 changes: 243 additions & 5 deletions dist/plugin/CodeBlock.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,245 @@
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> & {
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
persistentCopyButton: {
type: globalThis.PropType<boolean>;
default: boolean;
};
highlightjs: {
type: globalThis.PropType<boolean>;
default: boolean;
};
floatingTabs: {
type: globalThis.PropType<boolean>;
default: boolean;
};
tabGap: {
type: globalThis.PropType<string | number>;
default: string;
};
copyTab: {
type: globalThis.PropType<boolean>;
default: boolean;
};
height: {
type: globalThis.PropType<string | number>;
default: string;
};
maxHeight: {
type: globalThis.PropType<string | number>;
default: string;
};
codeBlockRadius: {
type: globalThis.PropType<string>;
default: string;
};
runTab: {
type: globalThis.PropType<boolean>;
default: boolean;
};
tabs: {
type: globalThis.PropType<boolean>;
default: boolean;
};
code: {
type: globalThis.PropType<string | number | object | []>;
default: string;
};
label: {
type: globalThis.PropType<string>;
default: string;
};
lang: {
type: globalThis.PropType<string>;
default: string;
};
browserWindow: {
type: globalThis.PropType<boolean>;
default: boolean;
};
copyButton: {
type: globalThis.PropType<boolean>;
default: boolean;
};
copyIcons: {
type: globalThis.PropType<boolean>;
default: boolean;
};
copyFailedText: {
type: globalThis.PropType<string>;
default: string;
};
copyText: {
type: globalThis.PropType<string>;
default: string;
};
copySuccessText: {
type: globalThis.PropType<string>;
default: string;
};
globalOptions: {
type: globalThis.PropType<boolean>;
};
indent: {
type: globalThis.PropType<number>;
default: number;
};
languages: {
type: globalThis.PropType<string[]>;
};
prismjs: {
type: globalThis.PropType<boolean>;
default: boolean;
};
prismPlugin: {
type: globalThis.PropType<boolean>;
default: boolean;
};
runText: {
type: globalThis.PropType<string>;
default: string;
};
theme: {
type: globalThis.PropType<string | boolean>;
default: string;
};
}, {}, 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<{
persistentCopyButton: {
type: globalThis.PropType<boolean>;
default: boolean;
};
highlightjs: {
type: globalThis.PropType<boolean>;
default: boolean;
};
floatingTabs: {
type: globalThis.PropType<boolean>;
default: boolean;
};
tabGap: {
type: globalThis.PropType<string | number>;
default: string;
};
copyTab: {
type: globalThis.PropType<boolean>;
default: boolean;
};
height: {
type: globalThis.PropType<string | number>;
default: string;
};
maxHeight: {
type: globalThis.PropType<string | number>;
default: string;
};
codeBlockRadius: {
type: globalThis.PropType<string>;
default: string;
};
runTab: {
type: globalThis.PropType<boolean>;
default: boolean;
};
tabs: {
type: globalThis.PropType<boolean>;
default: boolean;
};
code: {
type: globalThis.PropType<string | number | object | []>;
default: string;
};
label: {
type: globalThis.PropType<string>;
default: string;
};
lang: {
type: globalThis.PropType<string>;
default: string;
};
browserWindow: {
type: globalThis.PropType<boolean>;
default: boolean;
};
copyButton: {
type: globalThis.PropType<boolean>;
default: boolean;
};
copyIcons: {
type: globalThis.PropType<boolean>;
default: boolean;
};
copyFailedText: {
type: globalThis.PropType<string>;
default: string;
};
copyText: {
type: globalThis.PropType<string>;
default: string;
};
copySuccessText: {
type: globalThis.PropType<string>;
default: string;
};
globalOptions: {
type: globalThis.PropType<boolean>;
};
indent: {
type: globalThis.PropType<number>;
default: number;
};
languages: {
type: globalThis.PropType<string[]>;
};
prismjs: {
type: globalThis.PropType<boolean>;
default: boolean;
};
prismPlugin: {
type: globalThis.PropType<boolean>;
default: boolean;
};
runText: {
type: globalThis.PropType<string>;
default: string;
};
theme: {
type: globalThis.PropType<string | boolean>;
default: string;
};
}>> & {
onRun?: ((...args: any[]) => any) | undefined;
"onUpdate:copy-status"?: ((...args: any[]) => any) | undefined;
}, {} | {
[x: string]: any;
}, {}>;
export default _sfc_main;
}, {
persistentCopyButton: boolean;
highlightjs: boolean;
floatingTabs: boolean;
tabGap: string | number;
copyTab: boolean;
height: string | number;
maxHeight: string | number;
codeBlockRadius: string;
runTab: boolean;
tabs: boolean;
code: string | number | object | [];
label: string;
lang: string;
browserWindow: boolean;
copyButton: boolean;
copyIcons: boolean;
copyFailedText: string;
copyText: string;
copySuccessText: string;
indent: number;
prismjs: boolean;
prismPlugin: boolean;
runText: string;
theme: string | boolean;
}, {}>, {
label?(_: {}): any;
tabs?(_: {}): any;
copyButton?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};
4 changes: 2 additions & 2 deletions dist/plugin/components/StatusIcons.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare const _sfc_main: import("vue").DefineComponent<{
declare const _default: import("vue").DefineComponent<{
icon: {
type: StringConstructor;
required: true;
Expand All @@ -9,4 +9,4 @@ declare const _sfc_main: import("vue").DefineComponent<{
required: true;
};
}>>, {}, {}>;
export default _sfc_main;
export default _default;
2 changes: 1 addition & 1 deletion dist/vue3-code-block.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue3-code-block.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 26 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue3-code-block",
"version": "2.2.11",
"version": "2.2.12",
"description": "Vue 3 CodeBlock - Highlight your code with ease using this syntax highlighting component powered by PrismJS or Highlight.js.",
"private": false,
"main": "dist/vue3-code-block.cjs.js",
Expand All @@ -20,9 +20,6 @@
"lint": "eslint src/**/*.{ts,vue} --max-warnings 4",
"prepare": "husky install"
},
"engines": {
"node": "^19.0.1"
},
"packageManager": "pnpm@7.14.2",
"lint-staged": {
"src/**/*.{js,ts,vue}": [
Expand Down Expand Up @@ -77,61 +74,61 @@
"vue": "^3.3.4"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/eslint-parser": "^7.22.5",
"@babel/core": "^7.22.9",
"@babel/eslint-parser": "^7.22.9",
"@fortawesome/fontawesome-svg-core": "^6.4.0",
"@fortawesome/free-brands-svg-icons": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@fortawesome/vue-fontawesome": "^3.0.3",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-commonjs": "^25.0.1",
"@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@types/node": "^20.2.6",
"@types/node": "^20.4.2",
"@types/prismjs": "^1.26.0",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"@vitejs/plugin-vue": "^4.2.3",
"@vue/cli-plugin-babel": "^5.0.8",
"@vue/cli-plugin-eslint": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"@vue/compiler-sfc": "^3.3.4",
"@vue/eslint-config-typescript": "^11.0.3",
"autoprefixer": "^10.4.13",
"eslint": "^8.42.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.14.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-vue": "^9.15.1",
"gh-pages": "^5.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"pinia": "^2.1.3",
"postcss": "^8.4.24",
"lint-staged": "^13.2.3",
"pinia": "^2.1.4",
"postcss": "^8.4.26",
"postcss-html": "^1.5.0",
"postcss-scss": "^4.0.6",
"prettier": "^2.8.8",
"rollup": "^3.24.1",
"prettier": "^3.0.0",
"rollup": "^3.26.3",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-polyfill-node": "^0.12.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-scss": "^4.0.0",
"rollup-plugin-typescript2": "^0.34.1",
"sass": "^1.63.3",
"stylelint": "^15.7.0",
"stylelint-config-standard": "^33.0.0",
"rollup-plugin-typescript2": "^0.35.0",
"sass": "^1.64.0",
"stylelint": "^15.10.2",
"stylelint-config-standard": "^34.0.0",
"stylelint-order": "^6.0.2",
"stylelint-scss": "^5.0.1",
"typescript": "^5.1.3",
"unplugin-auto-import": "^0.16.4",
"vite": "^4.3.9",
"typescript": "^5.1.6",
"unplugin-auto-import": "^0.16.6",
"vite": "^4.4.5",
"vite-plugin-babel": "^1.1.3",
"vite-plugin-css-injected-by-js": "^3.1.1",
"vite-plugin-dts": "^2.3.0",
"vite-plugin-css-injected-by-js": "^3.2.1",
"vite-plugin-dts": "^3.3.1",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-static-copy": "^0.16.0",
"vite-plugin-static-copy": "^0.17.0",
"vite-plugin-stylelint": "^4.2.0",
"vue-tsc": "^1.6.5"
"vue-tsc": "^1.8.5"
}
}
Loading

0 comments on commit a8423a5

Please sign in to comment.