Skip to content

Commit

Permalink
Merge pull request #65 from webdevnerdstuff/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
webdevnerdstuff authored Dec 12, 2024
2 parents a0d8014 + ba8fcc7 commit 54bcc91
Show file tree
Hide file tree
Showing 5 changed files with 6,761 additions and 5,428 deletions.
54 changes: 28 additions & 26 deletions dist/plugin/VCodeBlock.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,22 @@ import { Props } from './types';

declare function copyCode(): void;
declare function runCode(): void;
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
declare function __VLS_template(): {
label?(_: {
copyCode: typeof copyCode;
copyStatus: "copy" | "success" | "failed";
runCode: typeof runCode;
}): any;
tabs?(_: {
copyCode: typeof copyCode;
copyStatus: "copy" | "success" | "failed";
runCode: typeof runCode;
}): any;
copyButton?(_: {
copyStatus: "copy" | "success" | "failed";
}): any;
};
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
browserWindow: boolean;
cssPath: undefined;
code: string;
Expand Down Expand Up @@ -63,44 +78,31 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
}, {
highlightjs: boolean;
prismjs: boolean;
persistentCopyButton: boolean;
floatingTabs: boolean;
tabGap: string | number;
copyTab: boolean;
height: string | number;
maxHeight: string | number;
codeBlockRadius: string;
runTab: boolean;
tabs: boolean;
browserWindow: boolean;
cssPath: string;
code: string | number | object | [];
codeBlockRadius: string;
code: object | [] | string | number;
copyButton: boolean;
copyIcons: boolean;
copyTab: boolean;
copyFailedText: string;
copyText: string;
copySuccessText: string;
floatingTabs: boolean;
height: string | number;
indent: number;
label: string;
lang: string;
maxHeight: string | number;
persistentCopyButton: boolean;
prismPlugin: boolean;
runTab: boolean;
runText: string;
tabGap: string | number;
tabs: boolean;
theme: string | boolean;
}, {}>, {
label?(_: {
copyCode: typeof copyCode;
copyStatus: "copy" | "success" | "failed";
runCode: typeof runCode;
}): any;
tabs?(_: {
copyCode: typeof copyCode;
copyStatus: "copy" | "success" | "failed";
runCode: typeof runCode;
}): any;
copyButton?(_: {
copyStatus: "copy" | "success" | "failed";
}): any;
}>;
}, {}>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToRuntimeProps<T> = {
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-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/vue-code-block.es.js

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@stylistic/stylelint-plugin": "^2.1.2",
"@types/node": "^20.14.10",
"@types/prismjs": "^1.26.4",
"@types/node": "^22.10.2",
"@types/prismjs": "^1.26.5",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@vitejs/plugin-vue": "^5.0.5",
Expand Down Expand Up @@ -123,7 +123,7 @@
"stylelint-config-standard": "^36.0.1",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.3.2",
"typescript": "^5.3.3",
"typescript": "^5.6.2",
"unplugin-auto-import": "^0.17.6",
"vite": "^5.3.3",
"vite-plugin-css-injected-by-js": "^3.5.1",
Expand All @@ -133,7 +133,7 @@
"vite-plugin-stylelint": "^5.3.1",
"vite-plugin-vuetify": "^2.0.3",
"vitest": "^1.6.0",
"vue-tsc": "^2.0.26",
"vue-tsc": "^2.1.10",
"vuetify": "^3.4.10",
"webfontloader": "^1.6.28"
}
Expand Down
Loading

0 comments on commit 54bcc91

Please sign in to comment.