@vef-framework/dev 1.0.13 → 1.0.15

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/cli.js CHANGED
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
2
- import e from"chalk";import{program as n}from"commander";import i from"consola";import t from"fs-extra";import{resolve as o}from"node:path";import s from"node:process";import{loadConfigFromFile as c,createServer as a,build as r,preview as f}from"vite";const{exists:l,readJsonSync:d,writeFile:u,readJson:m,writeJson:g}=t,p=s.cwd();const w=function(){const e=o(import.meta.dirname,"../package.json");return d(e,{encoding:"utf-8"}).version}();function v(e,n){return n||("build"===e?"production":"development")}async function y(e,n,t){const s=o(p,e||"vef.config.ts");if(!await l(s))throw i.error(`Config file not found: ${s}, it is required for VEF Framework`),new Error(`Config file not found: ${s}`);const a=await c({command:n,mode:t},s);return a?.config??{}}function S(e,n){i.error(`Error during ${e}:`,n),s.exit(1)}n.name("vef").description(e.magenta("VEF Framework CLI")).addHelpText("before",e.blue("VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus.")).addHelpText("before",e.bgGreenBright(`Version: ${w}`)).version(w).option("--mode <mode>","Specify running mode (will override default NODE_ENV)"),n.command("dev").description("Start dev server").option("-c, --config <file>","Specify vef config file","vef.config.ts").action((async e=>{try{const i=v("serve",n.opts().mode);s.env.NODE_ENV=i,s.env.VEF_FRAMEWORK_VERSION=w;const t=await y(e.config,"serve",i),o=await a({...t,mode:i,configFile:!1,logLevel:"info"});await o.listen(),o.printUrls(),o.bindCLIShortcuts({print:!0})}catch(e){S("dev server startup",e)}})),n.command("build").description("Build for production").option("-c, --config <file>","Specify vef config file","vef.config.ts").action((async e=>{try{const t=v("build",n.opts().mode);s.env.NODE_ENV=t,s.env.VEF_FRAMEWORK_VERSION=w;const o=await y(e.config,"build",t);await r({...o,mode:t,configFile:!1,logLevel:"info"}),i.success("Build completed successfully!")}catch(e){S("build",e)}})),n.command("preview").description("Preview the build").option("-c, --config <file>","Specify vef config file","vef.config.ts").action((async e=>{try{const i=v("build",n.opts().mode);s.env.NODE_ENV=i,s.env.VEF_FRAMEWORK_VERSION=w;const t=await y(e.config,"build",i),o=await f({...t,mode:i,configFile:!1,logLevel:"info"});o.printUrls(),o.bindCLIShortcuts({print:!0})}catch(e){S("preview server startup",e)}})),n.command("prepare").description("Sets up the project for development mode").action((async()=>{await l(o(p,".husky"))||((await import("husky")).default(),i.success("Successfully set up husky")),await l(o(p,".husky/pre-commit"))||(await u(o(p,".husky/pre-commit"),"npx lint-staged"),i.success("Successfully set up pre-commit hook")),await l(o(p,".husky/commit-msg"))||(await u(o(p,".husky/commit-msg"),"npx --no -- commitlint --edit $1"),i.success("Successfully set up commit-msg hook"));const e=await m(o(p,"package.json"),{encoding:"utf-8"}),{scripts:n,"lint-staged":t}=e;let s=!1;n.prepare||(n.prepare="vef prepare",s=!0),t||(e["lint-staged"]={"*.{js,ts,tsx,json,jsonc,yaml,toml,md}":["eslint --fix","git add"],"*.{css,scss}":["stylelint --fix","git add"]},s=!0),s&&(await g(o(p,"package.json"),e,{encoding:"utf-8",spaces:2}),i.success("Successfully set up prepare script and lint-staged"))})),n.command("generate").description("Generate the critical base files for the project").action((async()=>{await async function(){const e=o(p,"index.html");await u(e,"")}(),i.success("Successfully generated index.html file"),await async function(){const e=o(p,"env.d.ts");await u(e,'/// <reference types="@vef-framework/dev/client" />\n')}(),i.success("Successfully generated env.d.ts file"),await async function(){const e=o(p,"tailwind.config.ts");await u(e,'import { defineTailwindConfig } from "@vef-framework/dev";\n\nexport default defineTailwindConfig();\n')}(),i.success("Successfully generated tailwind.config.ts file"),await async function(){const e=o(p,"eslint.config.js");await u(e,'import { defineEslintConfig } from "@vef-framework/dev";\n\nexport default defineEslintConfig();\n')}(),i.success("Successfully generated eslint.config.js file"),await async function(){const e=o(p,"stylelint.config.js");await u(e,'import { defineStylelintConfig } from "@vef-framework/dev";\n\nexport default defineStylelintConfig();\n')}(),i.success("Successfully generated stylelint.config.js file"),await async function(){const e=o(p,"commitlint.config.ts");await u(e,'import { defineCommitlintConfig } from "@vef-framework/dev";\n\nexport default defineCommitlintConfig();\n')}(),i.success("Successfully generated commitlint.config.ts file"),await async function(){const e=o(p,"vef.config.ts");await u(e,'import { defineConfig } from "@vef-framework/dev";\n\nexport default defineConfig({\n projectDir: import.meta.dirname,\n});\n')}(),i.success("Successfully generated vef.config.ts file"),await async function(){const e=o(p,"tsconfig.app.json");await u(e,'{\n "extends": "@vef-framework/dev/tsconfig.app.json",\n "include": ["env.d.ts", "src"]\n}\n')}(),i.success("Successfully generated tsconfig.app.json file"),await async function(){const e=o(p,"tsconfig.node.json");await u(e,'{\n "extends": "@vef-framework/dev/tsconfig.node.json",\n "include": ["vef.config.ts", "tailwind.config.ts", "commitlint.config.ts"]\n}\n')}(),i.success("Successfully generated tsconfig.node.json file"),await async function(){const e=o(p,"tsconfig.json");await u(e,'{\n "files": [],\n "references": [\n { "path": "./tsconfig.app.json" },\n { "path": "./tsconfig.node.json" }\n ]\n}\n')}(),i.success("Successfully generated tsconfig.json file"),await async function(){const e=o(p,".gitignore");await u(e,"# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\npnpm-debug.log*\nlerna-debug.log*\n\nnode_modules\n.DS_Store\n/dist/\n/dist-ssr/\ncoverage\n*.local\n\n/cypress/videos/\n/cypress/screenshots/\n\n# Editor directories and files\n.vscode/*\n!.vscode/extensions.json\n!.vscode/settings.json\n.idea\n*.suo\n*.ntvs*\n*.njsproj\n*.sln\n*.sw?\n\n*.tsbuildinfo\n\n# Project files\nenv/*.local\nsrc/**/*.gen.ts\n")}(),i.success("Successfully generated .gitignore file")})),n.parse();
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
+ import e from"chalk";import{program as n}from"commander";import i from"consola";import t from"fs-extra";import{resolve as o}from"node:path";import s from"node:process";import{loadConfigFromFile as c,createServer as a,build as r,preview as f}from"vite";const{exists:l,readJsonSync:d,writeFile:u,readJson:m,writeJson:g}=t,p=s.cwd();const v=function(){const e=o(import.meta.dirname,"../package.json");return d(e,{encoding:"utf-8"}).version}();function w(e,n){return n||("build"===e?"production":"development")}async function y(e,n,t){const s=o(p,e||"vef.config.ts");if(!await l(s))throw i.error(`Config file not found: ${s}, it is required for VEF Framework`),new Error(`Config file not found: ${s}`);const a=await c({command:n,mode:t},s);return a?.config??{}}function j(e,n){i.error(`Error during ${e}:`,n),s.exit(1)}n.name("vef").description(e.magenta("VEF Framework CLI")).addHelpText("before",e.blue("VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus.")).addHelpText("before",e.bgGreenBright(`Version: ${v}`)).version(v).option("--mode <mode>","Specify running mode (will override default NODE_ENV)"),n.command("dev").description("Start dev server").option("-c, --config <file>","Specify vef config file","vef.config.ts").action((async e=>{try{const i=w("serve",n.opts().mode);s.env.NODE_ENV=i,s.env.VEF_FRAMEWORK_VERSION=v;const t=await y(e.config,"serve",i),o=await a({...t,mode:i,configFile:!1,logLevel:"info"});await o.listen(),o.printUrls(),o.bindCLIShortcuts({print:!0})}catch(e){j("dev server startup",e)}})),n.command("build").description("Build for production").option("-c, --config <file>","Specify vef config file","vef.config.ts").action((async e=>{try{const t=w("build",n.opts().mode);s.env.NODE_ENV=t,s.env.VEF_FRAMEWORK_VERSION=v;const o=await y(e.config,"build",t);await r({...o,mode:t,configFile:!1,logLevel:"info"}),i.success("Build completed successfully!")}catch(e){j("build",e)}})),n.command("preview").description("Preview the build").option("-c, --config <file>","Specify vef config file","vef.config.ts").action((async e=>{try{const i=w("build",n.opts().mode);s.env.NODE_ENV=i,s.env.VEF_FRAMEWORK_VERSION=v;const t=await y(e.config,"build",i),o=await f({...t,mode:i,configFile:!1,logLevel:"info"});o.printUrls(),o.bindCLIShortcuts({print:!0})}catch(e){j("preview server startup",e)}})),n.command("prepare").description("Sets up the project for development mode").action((async()=>{await l(o(p,".husky"))||((await import("husky")).default(),i.success("Successfully set up husky")),await l(o(p,".husky/pre-commit"))||(await u(o(p,".husky/pre-commit"),"npx lint-staged"),i.success("Successfully set up pre-commit hook")),await l(o(p,".husky/commit-msg"))||(await u(o(p,".husky/commit-msg"),"npx --no -- commitlint --edit $1"),i.success("Successfully set up commit-msg hook"));const e=await m(o(p,"package.json"),{encoding:"utf-8"}),{scripts:n,"lint-staged":t}=e;let s=!1;n.prepare||(n.prepare="vef prepare",s=!0),t||(e["lint-staged"]={"*.{js,ts,tsx,json,jsonc,yaml,toml,md}":["eslint --fix","git add"],"*.{css,scss}":["stylelint --fix","git add"]},s=!0),s&&(await g(o(p,"package.json"),e,{encoding:"utf-8",spaces:2}),i.success("Successfully set up prepare script and lint-staged"))})),n.command("generate").description("Generate the critical base files for the project").action((async()=>{await async function(){const e=o(p,"index.html");await u(e,"")}(),i.success("Successfully generated index.html file"),await async function(){const e=o(p,"env.d.ts");await u(e,'/// <reference types="@vef-framework/dev/client" />\n')}(),i.success("Successfully generated env.d.ts file"),await async function(){const e=o(p,"tailwind.config.js");await u(e,'import { defineTailwindConfig } from "@vef-framework/dev";\n\nexport default defineTailwindConfig();\n')}(),i.success("Successfully generated tailwind.config.js file"),await async function(){const e=o(p,"eslint.config.js");await u(e,'import { defineEslintConfig } from "@vef-framework/dev";\n\nexport default defineEslintConfig();\n')}(),i.success("Successfully generated eslint.config.js file"),await async function(){const e=o(p,"stylelint.config.js");await u(e,'import { defineStylelintConfig } from "@vef-framework/dev";\n\nexport default defineStylelintConfig();\n')}(),i.success("Successfully generated stylelint.config.js file"),await async function(){const e=o(p,"commitlint.config.js");await u(e,'import { defineCommitlintConfig } from "@vef-framework/dev";\n\nexport default defineCommitlintConfig();\n')}(),i.success("Successfully generated commitlint.config.js file"),await async function(){const e=o(p,"vef.config.ts");await u(e,'import { defineConfig } from "@vef-framework/dev";\n\nexport default defineConfig({\n projectDir: import.meta.dirname,\n});\n')}(),i.success("Successfully generated vef.config.ts file"),await async function(){const e=o(p,"tsconfig.app.json");await u(e,'{\n "extends": "@vef-framework/dev/tsconfig.app.json",\n "include": ["env.d.ts", "src"]\n}\n')}(),i.success("Successfully generated tsconfig.app.json file"),await async function(){const e=o(p,"tsconfig.node.json");await u(e,'{\n "extends": "@vef-framework/dev/tsconfig.node.json",\n "include": ["vef.config.ts"]\n}\n')}(),i.success("Successfully generated tsconfig.node.json file"),await async function(){const e=o(p,"tsconfig.json");await u(e,'{\n "files": [],\n "references": [\n { "path": "./tsconfig.app.json" },\n { "path": "./tsconfig.node.json" }\n ]\n}\n')}(),i.success("Successfully generated tsconfig.json file"),await async function(){const e=o(p,".gitignore");await u(e,"# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\npnpm-debug.log*\nlerna-debug.log*\n\nnode_modules\n.DS_Store\n/dist/\n/dist-ssr/\ncoverage\n*.local\n\n/cypress/videos/\n/cypress/screenshots/\n\n# Editor directories and files\n.vscode/*\n!.vscode/extensions.json\n!.vscode/settings.json\n.idea\n*.suo\n*.ntvs*\n*.njsproj\n*.sln\n*.sw?\n\n*.tsbuildinfo\n\n# Project files\nenv/*.local\nsrc/**/*.gen.ts\n")}(),i.success("Successfully generated .gitignore file")})),n.parse();
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,9 +1,7 @@
1
+ import type { UserConfig } from "@commitlint/types";
1
2
  /**
2
3
  * Define the commitlint configuration
3
4
  *
4
5
  * @returns The commitlint configuration
5
6
  */
6
- export declare function defineCommitlintConfig(): {
7
- extends: string[];
8
- formatter: string;
9
- };
7
+ export declare function defineCommitlintConfig(): UserConfig;
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  function t(){return{extends:["@commitlint/config-conventional"],formatter:"@commitlint/format"}}export{t as defineCommitlintConfig};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
package/dist/config.d.ts CHANGED
@@ -11,6 +11,10 @@ export interface DefineConfigOptions {
11
11
  * The proxies of the dev server
12
12
  */
13
13
  proxies?: Record<string, string | ProxyOptions>;
14
+ /**
15
+ * The function to group the chunks
16
+ */
17
+ groupChunks?: (id: string) => string | undefined;
14
18
  }
15
19
  /**
16
20
  * Define the vite config
@@ -18,6 +22,7 @@ export interface DefineConfigOptions {
18
22
  * @param options - The options to define the vite config
19
23
  * @param options.projectDir - The directory of the project
20
24
  * @param options.proxies - The proxies of the dev server
25
+ * @param options.groupChunks - The function to group the chunks
21
26
  * @returns The vite config
22
27
  */
23
- export declare function defineConfig({ projectDir, proxies, }: DefineConfigOptions): ReturnType<typeof defineViteConfig>;
28
+ export declare function defineConfig({ projectDir, proxies, groupChunks, }: DefineConfigOptions): ReturnType<typeof defineViteConfig>;
package/dist/config.js CHANGED
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
2
- import o from"consola";import i from"fs-extra";import{resolve as r}from"node:path";import{defineConfig as t,loadEnv as n}from"vite";import{ENV_DIR as p,ENV_BUILD_PREFIX as s}from"./constants.js";import{createAppConfigPlugin as e}from"./plugin-app-config.js";import{createConventionalConfigPlugin as m}from"./plugin-conventional-config.js";import{createEslintPlugin as a}from"./plugin-eslint.js";import{createHtmlPlugin as f}from"./plugin-html.js";import{createIconsPlugin as u}from"./plugin-icons.js";import{createInjectionPlugin as c}from"./plugin-injection.js";import{createInspectPlugin as l}from"./plugin-inspect.js";import{createReactSwcPlugin as g}from"./plugin-react-swc.js";import{createRouterPlugin as j}from"./plugin-router.js";import{createStylelintPlugin as _}from"./plugin-stylelint.js";import{createSvgrPlugin as P}from"./plugin-svgr.js";import{createTailwindcssPlugin as D}from"./plugin-tailwindcss.js";import{createWebfontPlugin as E}from"./plugin-webfont.js";const{readJson:U}=i;function b({projectDir:i,proxies:b}){return t((async({mode:t})=>{const B=n(t,p,s);Object.keys(B).length>0&&(o.info("Loading environment variables:"),console.table(B));const I=await async function(o){const i=await U(r(o,"package.json"),{encoding:"utf-8"});return i.version}(i);return{plugins:[l(),m({appVersion:I,projectDir:i,basePublicPath:B.VEF_BUILD_BASE_PUBLIC_PATH,outputDir:B.VEF_BUILD_OUTPUT_DIR,serverPort:Number(B.VEF_BUILD_SERVER_PORT),proxies:b}),g(),f(),D(),c(),e({basePublicPath:B.VEF_BUILD_BASE_PUBLIC_PATH,outputDir:B.VEF_BUILD_OUTPUT_DIR,appName:B.VEF_APP_NAME}),u(i),P(),E(),j(i),a(),_()]}}))}export{b as defineConfig};
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
+ import o from"consola";import r from"fs-extra";import{resolve as i}from"node:path";import{defineConfig as n,loadEnv as t}from"vite";import{ENV_DIR as p,ENV_BUILD_PREFIX as s}from"./constants.js";import{createAppConfigPlugin as e}from"./plugin-app-config.js";import{createConventionalConfigPlugin as m}from"./plugin-conventional-config.js";import{createEslintPlugin as u}from"./plugin-eslint.js";import{createHtmlPlugin as a}from"./plugin-html.js";import{createIconsPlugin as f}from"./plugin-icons.js";import{createInjectionPlugin as c}from"./plugin-injection.js";import{createInspectPlugin as l}from"./plugin-inspect.js";import{createReactSwcPlugin as g}from"./plugin-react-swc.js";import{createRouterPlugin as j}from"./plugin-router.js";import{createStylelintPlugin as _}from"./plugin-stylelint.js";import{createSvgrPlugin as P}from"./plugin-svgr.js";import{createTailwindcssPlugin as D}from"./plugin-tailwindcss.js";import{createWebfontPlugin as E}from"./plugin-webfont.js";const{readJson:U}=r;function b({projectDir:r,proxies:b,groupChunks:B}){return n((async({mode:n})=>{const I=t(n,p,s);Object.keys(I).length>0&&(o.info("Loading environment variables:"),console.table(I));const L=await async function(o){const r=await U(i(o,"package.json"),{encoding:"utf-8"});return r.version}(r);return{plugins:[l(),m({appVersion:L,projectDir:r,basePublicPath:I.VEF_BUILD_BASE_PUBLIC_PATH,outputDir:I.VEF_BUILD_OUTPUT_DIR,serverPort:Number(I.VEF_BUILD_SERVER_PORT),proxies:b,groupChunks:B}),g(),a(),D(),c(),e({basePublicPath:I.VEF_BUILD_BASE_PUBLIC_PATH,outputDir:I.VEF_BUILD_OUTPUT_DIR,appName:I.VEF_APP_NAME}),f(r),P(),E(),j(r),u(),_()]}}))}export{b as defineConfig};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
package/dist/constants.js CHANGED
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  const s="public",e="env",t="assets",r="VEF_APP_",P="VEF_BUILD_",_="src",c="dist",o=3833,p="APP",a="pages",i="router";export{t as ASSETS_DIR,p as DEFAULT_APP_NAME,c as DEFAULT_OUTPUT_DIR,o as DEFAULT_SERVER_PORT,r as ENV_APP_PREFIX,P as ENV_BUILD_PREFIX,e as ENV_DIR,a as PAGES_DIR,s as PUBLIC_DIR,i as ROUTER_DIR,_ as SRC_DIR};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
2
- import{antfu as r}from"@antfu/eslint-config";import e from"eslint-plugin-tailwindcss";function o(){return r({ignores:["**/node_modules","**/dist","**/public"],stylistic:{indent:2,jsx:!0,quotes:"double",semi:!0,overrides:{"style/line-comment-position":["error",{position:"above"}],"style/jsx-self-closing-comp":["error",{component:!0,html:!0}],"style/jsx-newline":["error",{prevent:!0,allowMultilines:!0}],"style/jsx-props-no-multi-spaces":"error","style/jsx-sort-props":["error",{callbacksLast:!0,shorthandFirst:!0,shorthandLast:!1,multiline:"last",ignoreCase:!0,noSortAlphabetically:!1,reservedFirst:["key","ref"]}],"style/newline-per-chained-call":["error",{ignoreChainWithDepth:2}],"style/object-property-newline":"error","style/brace-style":["error","1tbs"],"style/arrow-parens":["error","as-needed"],"style/multiline-comment-style":["error","starred-block"],"style/implicit-arrow-linebreak":["error","beside"],"style/no-extra-semi":"error","style/array-element-newline":["error",{consistent:!0,multiline:!0,minItems:7}],"style/function-call-argument-newline":["error","consistent"],"style/padding-line-between-statements":["error",{blankLine:"always",prev:"*",next:["block","multiline-block-like","type","interface","enum","function","function-overload"]},{blankLine:"always",prev:["block","multiline-block-like","type","interface","enum","function","function-overload"],next:"*"}],"style/jsx-pascal-case":["error",{allowAllCaps:!1,allowLeadingUnderscore:!1,allowNamespace:!1,ignore:[]}],"style/switch-colon-spacing":["error",{before:!1,after:!0}],"style/object-curly-newline":["error",{ObjectExpression:{multiline:!0,consistent:!0,minProperties:3},ObjectPattern:{multiline:!0,consistent:!0,minProperties:3},ImportDeclaration:{consistent:!0,multiline:!0},ExportDeclaration:{consistent:!0,multiline:!0}}],"style/no-extra-parens":["error","all",{nestedBinaryExpressions:!1,ternaryOperandBinaryExpressions:!1,ignoreJSX:"multi-line"}]}},javascript:{overrides:{"no-duplicate-imports":["error",{includeExports:!0}],"prefer-object-spread":"error","func-style":["error","declaration",{allowArrowFunctions:!0}],curly:["error","all"],"no-useless-escape":"error","no-useless-concat":"error","no-unused-private-class-members":"error","no-unsafe-optional-chaining":"error","no-dupe-else-if":"error","no-eq-null":"error","no-extra-label":"error","no-negated-condition":"error","no-invalid-this":"error","arrow-body-style":["error","as-needed"],"prefer-object-has-own":"error","prefer-numeric-literals":"error","prefer-named-capture-group":"error","prefer-destructuring":"error","object-shorthand":"error","require-atomic-updates":"error","require-await":"error",camelcase:["error",{properties:"always",ignoreGlobals:!0}],"no-promise-executor-return":["error",{allowVoid:!0}],"sort-imports":"off","no-console":"off"}},typescript:{overrides:{"ts/no-unused-expressions":["error",{enforceForJSX:!0}],"ts/no-unused-vars":["error",{args:"after-used",caughtErrors:"all",destructuredArrayIgnorePattern:"^_",ignoreRestSiblings:!0}],"ts/array-type":["error",{default:"array-simple",readonly:"array-simple"}],"ts/consistent-type-assertions":["error",{assertionStyle:"as",objectLiteralTypeAssertions:"allow"}],"ts/consistent-type-definitions":["error","interface"],"ts/max-params":["error",{max:5}]}},react:{overrides:{"react-naming-convention/component-name":["error","PascalCase"],"react-naming-convention/filename-extension":["error",{allow:"as-needed",extensions:[".tsx"]}],"react-hooks-extra/no-redundant-custom-hook":"error","react-hooks-extra/no-unnecessary-use-memo":"error","react-hooks-extra/no-unnecessary-use-callback":"error","react-naming-convention/use-state":"error","react-refresh/only-export-components":"error","react-hooks/exhaustive-deps":["error",{additionalHooks:"^use(Deep|Shallow)Compare"}],"react/no-clone-element":"off","react/no-class-component":"error","react/no-children-prop":"off","react/no-children-to-array":"off","react/no-children-for-each":"off","react/no-children-count":"off"}},vue:!1,jsx:!0,regexp:!0,jsonc:!0,yaml:!0,toml:!0,markdown:{overrides:{"markdown/fenced-code-language":"error","markdown/no-duplicate-headings":"error","markdown/no-empty-links":"error"}},test:!0,formatters:{markdown:"prettier",prettierOptions:{singleQuote:!1,semi:!0,tabWidth:2,useTabs:!1,trailingComma:"all",endOfLine:"lf",printWidth:160,proseWrap:"never",arrowParens:"avoid",htmlWhitespaceSensitivity:"strict",bracketSameLine:!0,bracketSpacing:!0,quoteProps:"as-needed",jsxSingleQuote:!1,singleAttributePerLine:!1}}},{rules:{"unicorn/filename-case":["error",{case:"kebabCase",ignore:["README.md"]}],"unicorn/prefer-date-now":"error","unicorn/prefer-string-trim-start-end":"error","unicorn/prefer-string-raw":"error","unicorn/prefer-object-from-entries":"error","unicorn/prefer-default-parameters":"error","unicorn/prefer-array-find":"error","unicorn/prefer-array-flat":"error","unicorn/prefer-array-flat-map":"error","unicorn/prefer-array-index-of":"error","unicorn/prefer-array-some":"error","unicorn/prefer-logical-operator-over-ternary":"error","unicorn/no-array-push-push":"error","unicorn/no-empty-file":"error","unicorn/no-array-for-each":"error","unicorn/no-for-loop":"error","unicorn/no-unnecessary-await":"error","unicorn/no-unnecessary-polyfills":"error","unicorn/no-useless-undefined":"error","unicorn/no-useless-switch-case":"error","unicorn/no-useless-spread":"error","unicorn/no-console-spaces":"error","unicorn/no-unused-properties":"error","unicorn/no-useless-promise-resolve-reject":"error","import/order":"off","import/first":"error","import/export":"error","import/no-named-as-default":"off","import/no-named-default":"off","perfectionist/sort-imports":["error",{type:"natural"}],"perfectionist/sort-exports":["error",{type:"natural"}],"perfectionist/sort-named-imports":["error",{type:"natural",groupKind:"values-first"}],"perfectionist/sort-named-exports":["error",{type:"natural",groupKind:"values-first"}]}},{ignores:["**/*.md","**/*.md/*.{ts,tsx}","src/pages/__root.tsx"],rules:{"react-naming-convention/filename":["error",{rule:"kebab-case"}]}},...e.configs["flat/recommended"],{rules:{"tailwindcss/migration-from-tailwind-2":"off","tailwindcss/no-arbitrary-value":"off","tailwindcss/classnames-order":"error","tailwindcss/enforces-negative-arbitrary-values":"error","tailwindcss/enforces-shorthand":"error","tailwindcss/no-custom-classname":["error",{whitelist:["vef-.*"]}],"tailwindcss/no-contradicting-classname":"error","tailwindcss/no-unnecessary-arbitrary-value":"error"}})}export{o as defineEslintConfig};
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
+ import{antfu as r}from"@antfu/eslint-config";import e from"eslint-plugin-tailwindcss";function o(){return r({ignores:["**/node_modules","**/dist","**/public"],stylistic:{indent:2,jsx:!0,quotes:"double",semi:!0,overrides:{"style/line-comment-position":["error",{position:"above"}],"style/jsx-self-closing-comp":["error",{component:!0,html:!0}],"style/jsx-newline":["error",{prevent:!0,allowMultilines:!0}],"style/jsx-props-no-multi-spaces":"error","style/jsx-sort-props":["error",{callbacksLast:!0,shorthandFirst:!0,shorthandLast:!1,multiline:"last",ignoreCase:!0,noSortAlphabetically:!1,reservedFirst:["key","ref"]}],"style/newline-per-chained-call":["error",{ignoreChainWithDepth:2}],"style/object-property-newline":"error","style/brace-style":["error","1tbs"],"style/arrow-parens":["error","as-needed"],"style/multiline-comment-style":["error","starred-block"],"style/implicit-arrow-linebreak":["error","beside"],"style/no-extra-semi":"error","style/array-element-newline":["error",{consistent:!0,multiline:!0,minItems:7}],"style/function-call-argument-newline":["error","consistent"],"style/padding-line-between-statements":["error",{blankLine:"always",prev:"*",next:["block","multiline-block-like","type","interface","enum","function","function-overload"]},{blankLine:"always",prev:["block","multiline-block-like","type","interface","enum","function","function-overload"],next:"*"}],"style/jsx-pascal-case":["error",{allowAllCaps:!1,allowLeadingUnderscore:!1,allowNamespace:!1,ignore:[]}],"style/switch-colon-spacing":["error",{before:!1,after:!0}],"style/object-curly-newline":["error",{ObjectExpression:{multiline:!0,consistent:!0,minProperties:3},ObjectPattern:{multiline:!0,consistent:!0,minProperties:3},ImportDeclaration:{consistent:!0,multiline:!0},ExportDeclaration:{consistent:!0,multiline:!0}}],"style/no-extra-parens":["error","all",{nestedBinaryExpressions:!1,ternaryOperandBinaryExpressions:!1,ignoreJSX:"multi-line"}]}},javascript:{overrides:{"no-duplicate-imports":["error",{includeExports:!0}],"prefer-object-spread":"error","func-style":["error","declaration",{allowArrowFunctions:!0}],curly:["error","all"],"no-useless-escape":"error","no-useless-concat":"error","no-unused-private-class-members":"error","no-unsafe-optional-chaining":"error","no-dupe-else-if":"error","no-eq-null":"error","no-extra-label":"error","no-negated-condition":"error","no-invalid-this":"error","arrow-body-style":["error","as-needed"],"prefer-object-has-own":"error","prefer-numeric-literals":"error","prefer-named-capture-group":"error","prefer-destructuring":"error","object-shorthand":"error","require-atomic-updates":"error","require-await":"error",camelcase:["error",{properties:"always",ignoreGlobals:!0}],"no-promise-executor-return":["error",{allowVoid:!0}],"sort-imports":"off","no-console":"off"}},typescript:{overrides:{"ts/no-unused-expressions":["error",{enforceForJSX:!0}],"ts/no-unused-vars":["error",{args:"after-used",caughtErrors:"all",destructuredArrayIgnorePattern:"^_",ignoreRestSiblings:!0}],"ts/array-type":["error",{default:"array-simple",readonly:"array-simple"}],"ts/consistent-type-assertions":["error",{assertionStyle:"as",objectLiteralTypeAssertions:"allow"}],"ts/consistent-type-definitions":["error","interface"],"ts/max-params":["error",{max:5}]}},react:{overrides:{"react-naming-convention/component-name":["error","PascalCase"],"react-naming-convention/filename-extension":["error",{allow:"as-needed",extensions:[".tsx"]}],"react-hooks-extra/no-redundant-custom-hook":"error","react-hooks-extra/no-unnecessary-use-memo":"error","react-hooks-extra/no-unnecessary-use-callback":"error","react-naming-convention/use-state":"error","react-refresh/only-export-components":"error","react-hooks/exhaustive-deps":["error",{additionalHooks:"^use(Deep|Shallow)Compare"}],"react/no-clone-element":"off","react/no-class-component":"error","react/no-children-prop":"off","react/no-children-to-array":"off","react/no-children-for-each":"off","react/no-children-count":"off"}},vue:!1,jsx:!0,regexp:!0,jsonc:!0,yaml:!0,toml:!0,markdown:{overrides:{"markdown/fenced-code-language":"error","markdown/no-duplicate-headings":"error","markdown/no-empty-links":"error"}},test:!0,formatters:{markdown:"prettier",prettierOptions:{singleQuote:!1,semi:!0,tabWidth:2,useTabs:!1,trailingComma:"all",endOfLine:"lf",printWidth:160,proseWrap:"never",arrowParens:"avoid",htmlWhitespaceSensitivity:"strict",bracketSameLine:!0,bracketSpacing:!0,quoteProps:"as-needed",jsxSingleQuote:!1,singleAttributePerLine:!1}}},{rules:{"unicorn/filename-case":["error",{case:"kebabCase",ignore:["README.md"]}],"unicorn/prefer-date-now":"error","unicorn/prefer-string-trim-start-end":"error","unicorn/prefer-string-raw":"error","unicorn/prefer-object-from-entries":"error","unicorn/prefer-default-parameters":"error","unicorn/prefer-array-find":"error","unicorn/prefer-array-flat":"error","unicorn/prefer-array-flat-map":"error","unicorn/prefer-array-index-of":"error","unicorn/prefer-array-some":"error","unicorn/prefer-logical-operator-over-ternary":"error","unicorn/no-array-push-push":"error","unicorn/no-empty-file":"error","unicorn/no-array-for-each":"error","unicorn/no-for-loop":"error","unicorn/no-unnecessary-await":"error","unicorn/no-unnecessary-polyfills":"error","unicorn/no-useless-undefined":"error","unicorn/no-useless-switch-case":"error","unicorn/no-useless-spread":"error","unicorn/no-console-spaces":"error","unicorn/no-unused-properties":"error","unicorn/no-useless-promise-resolve-reject":"error","import/order":"off","import/first":"error","import/export":"error","import/no-named-as-default":"off","import/no-named-default":"off","perfectionist/sort-imports":["error",{type:"natural"}],"perfectionist/sort-exports":["error",{type:"natural"}],"perfectionist/sort-named-imports":["error",{type:"natural",groupKind:"values-first"}],"perfectionist/sort-named-exports":["error",{type:"natural",groupKind:"values-first"}]}},{ignores:["**/*.md","**/*.md/*.{ts,tsx}","**/src/pages/__root.tsx"],rules:{"react-naming-convention/filename":["error",{rule:"kebab-case"}]}},...e.configs["flat/recommended"],{rules:{"tailwindcss/migration-from-tailwind-2":"off","tailwindcss/no-arbitrary-value":"off","tailwindcss/classnames-order":"error","tailwindcss/enforces-negative-arbitrary-values":"error","tailwindcss/enforces-shorthand":"error","tailwindcss/no-custom-classname":["error",{whitelist:["vef-.*"]}],"tailwindcss/no-contradicting-classname":"error","tailwindcss/no-unnecessary-arbitrary-value":"error"}})}export{o as defineEslintConfig};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  export{defineCommitlintConfig}from"./commitlint-config.js";export{defineConfig}from"./config.js";export{defineEslintConfig}from"./eslint-config.js";export{defineStylelintConfig}from"./stylelint-config.js";export{defineTailwindConfig}from"./tailwind-config.js";
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
package/dist/modules.d.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  import e from"unplugin-config/vite";import{DEFAULT_OUTPUT_DIR as n,ENV_APP_PREFIX as i,DEFAULT_APP_NAME as t}from"./constants.js";function p({basePublicPath:p,outputDir:o,appName:a=t}){return e({appName:`VEF_${a}`,baseDir:p,configFile:{generate:!0,fileName:"app.config.js",outputDir:o??n},htmlInjection:{enable:!0,position:"head-prepend",templates:["index.html"]},envVariables:{prefix:i,files:["env/.env","env/.env.production"]}})}export{p as createAppConfigPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -31,6 +31,10 @@ export interface PluginConventionalConfigOptions {
31
31
  * The proxies of the server
32
32
  */
33
33
  proxies?: Record<string, string | ProxyOptions>;
34
+ /**
35
+ * The function to group the chunks
36
+ */
37
+ groupChunks?: (id: string) => string | undefined;
34
38
  }
35
39
  /**
36
40
  * The plugin for the conventional config
@@ -43,6 +47,7 @@ export interface PluginConventionalConfigOptions {
43
47
  * @param options.outputDir - The output directory of the build
44
48
  * @param options.serverPort - The port of the server
45
49
  * @param options.proxies - The proxies of the server
50
+ * @param options.groupChunks - The function to group the chunks
46
51
  * @returns The plugin
47
52
  */
48
- export declare function createConventionalConfigPlugin({ appName, appVersion, basePublicPath, projectDir, outputDir, serverPort, proxies, }: PluginConventionalConfigOptions): Plugin;
53
+ export declare function createConventionalConfigPlugin({ appName, appVersion, basePublicPath, projectDir, outputDir, serverPort, proxies, groupChunks, }: PluginConventionalConfigOptions): Plugin;
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
2
- import e from"autoprefixer";import{resolve as n}from"node:path";import o from"node:process";import s from"tailwindcss";import{ENV_DIR as i,ENV_BUILD_PREFIX as r,ENV_APP_PREFIX as t,DEFAULT_APP_NAME as c,SRC_DIR as a,DEFAULT_OUTPUT_DIR as d,ASSETS_DIR as u,DEFAULT_SERVER_PORT as l}from"./constants.js";function m({appName:m,appVersion:p,basePublicPath:_,projectDir:f,outputDir:v,serverPort:g,proxies:h}){return{name:"vef-framework:conventional-config",config(F,{command:O}){const y="serve"===O;return{appType:"spa",root:f,base:_,publicDir:"public",envDir:i,envPrefix:[r,t],define:{__VEF_FRAMEWORK_VERSION__:`"${o.env.VEF_FRAMEWORK_VERSION}"`,__VEF_APP_VERSION__:`"${p}"`,__VEF_APP_CONFIG__:y?`\n (function () {\n const env = import.meta.env;\n const config = Object.keys(env).filter(key => key.startsWith(${JSON.stringify(t)}))\n .reduce((acc, key) => {\n acc[key] = env[key];\n return acc;\n }, {});\n return Object.freeze(config);\n })()\n `:`window.__PRODUCTION__VEF_${m??c}__CONF__`},resolve:{alias:{"@":a}},css:{modules:{scopeBehaviour:"local",localsConvention:"camelCase"},postcss:{plugins:[s({config:n(f,"tailwind.config.ts")}),e()]}},esbuild:{drop:["console","debugger"]},build:{outDir:v??d,target:"modules",assetsDir:u,assetsInlineLimit:10240,reportCompressedSize:!1,chunkSizeWarningLimit:512,minify:"terser",cssMinify:"lightningcss",sourcemap:!1,rollupOptions:{input:{main:"index.html"},output:{banner:`/*! Powered by VEF Framework v${o.env.VEF_FRAMEWORK_VERSION}.${p?` App version v${p}.`:""} Built at ${(new Date).toISOString()} */`,chunkFileNames:`${u}/js/[name]-[hash].js`,entryFileNames:`${u}/js/[name]-[hash].js`,assetFileNames:`${u}/[ext]/[name]-[hash].[ext]`,manualChunks:e=>e.includes("/node_modules/react/")||e.includes("/node_modules/react-dom/")?"react":e.includes("/node_modules/antd/")||e.includes("/node_modules/@rc-component/")||e.includes("/node_modules/rc-")?"ui":e.includes("/node_modules/pinyin-pro/")?"pinyin":e.includes("/node_modules/@ant-design/icons/")||e.includes("/node_modules/@ant-design/icons-svg/")||e.includes("/node_modules/lucide-react/")?"icons":e.includes("/node_modules/@vef-framework/")?"vef":e.includes("/node_modules/")?"lib":void 0}}},server:{port:g||l,host:!0,open:!0,proxy:h}}}}}export{m as createConventionalConfigPlugin};
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
+ import e from"autoprefixer";import{resolve as n}from"node:path";import i from"node:process";import o from"tailwindcss";import{ENV_DIR as s,ENV_BUILD_PREFIX as r,ENV_APP_PREFIX as t,DEFAULT_APP_NAME as c,SRC_DIR as u,DEFAULT_OUTPUT_DIR as a,ASSETS_DIR as d,DEFAULT_SERVER_PORT as l}from"./constants.js";function m({appName:m,appVersion:p,basePublicPath:_,projectDir:f,outputDir:v,serverPort:g,proxies:h,groupChunks:y}){return{name:"vef-framework:conventional-config",config(F,{command:O}){const E="serve"===O;return{appType:"spa",root:f,base:_,publicDir:"public",envDir:s,envPrefix:[r,t],define:{__VEF_FRAMEWORK_VERSION__:`"${i.env.VEF_FRAMEWORK_VERSION}"`,__VEF_APP_VERSION__:`"${p}"`,__VEF_APP_CONFIG__:E?`\n (function () {\n const env = import.meta.env;\n const config = Object.keys(env).filter(key => key.startsWith(${JSON.stringify(t)}))\n .reduce((acc, key) => {\n acc[key] = env[key];\n return acc;\n }, {});\n return Object.freeze(config);\n })()\n `:`window.__PRODUCTION__VEF_${m??c}__CONF__`},resolve:{alias:{"@":u}},css:{modules:{scopeBehaviour:"local",localsConvention:"camelCase"},postcss:{plugins:[o({config:n(f,"tailwind.config.js")}),e()]}},esbuild:{drop:["console","debugger"]},build:{outDir:v??a,target:"modules",assetsDir:d,assetsInlineLimit:10240,reportCompressedSize:!1,chunkSizeWarningLimit:512,minify:"terser",cssMinify:"lightningcss",sourcemap:!1,rollupOptions:{input:{main:"index.html"},output:{banner:`/*! Powered by VEF Framework v${i.env.VEF_FRAMEWORK_VERSION}.${p?` App version v${p}.`:""} Built at ${(new Date).toISOString()} */`,chunkFileNames:`${d}/js/[name]-[hash].js`,entryFileNames:`${d}/js/[name]-[hash].js`,assetFileNames:`${d}/[ext]/[name]-[hash].[ext]`,manualChunks:e=>{if(e.includes("/node_modules/react/")||e.includes("/node_modules/react-dom/"))return"react";if(e.includes("/node_modules/antd/")||e.includes("/node_modules/@rc-component/")||e.includes("/node_modules/rc-"))return"ui";if(e.includes("/node_modules/pinyin-pro/"))return"pinyin";if(e.includes("/node_modules/@ant-design/icons/")||e.includes("/node_modules/@ant-design/icons-svg/")||e.includes("/node_modules/lucide-react/"))return"icons";if(e.includes("/node_modules/@vef-framework/"))return"vef";if(e.includes("/node_modules/"))return"lib";if("function"==typeof y){const n=y(e);if("string"==typeof n&&n.trim())return n.trim()}}}}},server:{port:g||l,host:!0,open:!0,proxy:h}}}}}export{m as createConventionalConfigPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  import e from"vite-plugin-eslint2";function t(){return e({fix:!0,test:!0,dev:!0,build:!0,cache:!0,cacheLocation:"node_modules/.cache/.eslintcache",include:["*.{js,ts,json,jsonc,yaml,toml,md}","src/**/*.{ts,tsx,json,jsonc,yaml,toml,md}"],exclude:["node_modules","virtual:","vef:"],emitError:!0,emitWarning:!0,emitWarningAsError:!0})}export{t as createEslintPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  import{minify as e}from"html-minifier-terser";const t="index.html",r='\n<!doctype html>\n<html lang="en">\n <head>\n <meta charset="UTF-8" />\n <link rel="icon" type="image/svg+xml" href="%VEF_APP_FAVICON%" />\n <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n <meta name="description" content="Powered by VEF Framework" />\n <title>%VEF_APP_TITLE%</title>\n </head>\n <body>\n <div id="root"></div>\n <script type="module" src="src/main.ts"><\/script>\n </body>\n</html>\n';function n(){return[{name:"vef-framework:html",resolveId(e){if(e===t)return t},load(e){if(e===t)return r},transformIndexHtml:{order:"pre",handler:()=>r}},{name:"vite-plugin-vef-framework-html-minify",enforce:"post",async generateBundle(r,n){for(const r of Object.values(n))"asset"===r.type&&"string"==typeof r.source&&r.fileName===t&&(r.source=await e(r.source,{collapseBooleanAttributes:!0,collapseInlineTagWhitespace:!0,collapseWhitespace:!0,conservativeCollapse:!1,keepClosingSlash:!0,minifyCSS:!0,minifyJS:!0,minifyURLs:!0,noNewlinesBeforeTagClose:!0,quoteCharacter:'"',removeAttributeQuotes:!1,removeComments:!0,removeEmptyAttributes:!0,removeOptionalTags:!1,removeRedundantAttributes:!0,removeScriptTypeAttributes:!1,removeTagWhitespace:!1,removeEmptyElements:!1,removeStyleLinkTypeAttributes:!1,sortAttributes:!0,sortClassName:!0,trimCustomFragments:!0,useShortDoctype:!0,html5:!0}))}}]}export{n as createHtmlPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  import{resolve as o,dirname as t}from"node:path";import{fileURLToPath as e}from"node:url";import l from"unplugin-icons/vite";function r(r){return l({autoInstall:!1,compiler:"jsx",jsx:"react",defaultClass:"inline-block",scale:1.2,collectionsNodeResolvePath:[r,o(t(e(import.meta.url)),"..")]})}export{r as createIconsPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  import{basename as t,dirname as n}from"node:path";function r(){return{name:"vef-framework:injection",transform:(r,i)=>"src"===t(n(i))&&t(i).startsWith("main.ts")?`import "vef:tailwind.css";\n${r}`:null}}export{r as createInjectionPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  import i from"vite-plugin-inspect";function t(){return i({dev:!0,build:!1})}export{t as createInspectPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  import e from"@vitejs/plugin-react-swc";function t(){return e({devTarget:"esnext"})}export{t as createReactSwcPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
2
- import{TanStackRouterVite as e}from"@tanstack/router-plugin/vite";import{resolve as o}from"node:path";import{SRC_DIR as t,PAGES_DIR as n,ROUTER_DIR as r}from"./constants.js";function i(i){return e({routesDirectory:o(i,t,n),generatedRouteTree:o(i,t,r,"routes.gen.ts"),quoteStyle:"double",semicolons:!0,disableTypes:!1,addExtensions:!1,disableLogging:!1,disableManifestGeneration:!1,routeTreeFileFooter:["/* Auto-generated by @vef-framework/dev, do not edit */"],routeFileIgnorePattern:"components",indexToken:"index",routeToken:"route",enableRouteGeneration:!0,autoCodeSplitting:!1})}export{i as createRouterPlugin};
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
+ import{TanStackRouterVite as e}from"@tanstack/router-plugin/vite";import{resolve as t}from"node:path";import{SRC_DIR as o,PAGES_DIR as n,ROUTER_DIR as r}from"./constants.js";function i(i){return e({routesDirectory:t(i,o,n),generatedRouteTree:t(i,o,r,"routes.gen.ts"),quoteStyle:"double",semicolons:!0,disableTypes:!1,addExtensions:!1,disableLogging:!1,disableManifestGeneration:!1,routeFileIgnorePattern:"components",indexToken:"index",routeToken:"route",enableRouteGeneration:!0,autoCodeSplitting:!1})}export{i as createRouterPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  import e from"vite-plugin-stylelint";function i(){return e({fix:!0,test:!0,dev:!0,build:!0,cache:!0,cacheLocation:"node_modules/.cache/.stylelintcache",include:["src/**/*.{scss,css}"],exclude:["node_modules","virtual:","vef:"],emitError:!0,emitWarning:!0,emitWarningAsError:!0})}export{i as createStylelintPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  import s from"vite-plugin-svgr";function i(){return s({include:"**/*.svg?react",esbuildOptions:{platform:"browser",minify:!0,jsx:"automatic"},svgrOptions:{plugins:["@svgr/plugin-svgo","@svgr/plugin-jsx"],icon:!1,dimensions:!1,prettier:!0,memo:!0,svgo:!0,ref:!1,typescript:!0,jsxRuntime:"automatic",svgoConfig:{multipass:!0,datauri:"base64",js2svg:{indent:2,pretty:!0},plugins:["preset-default",{name:"prefixIds",params:{prefix:"vef"}},{name:"cleanupIds",params:{force:!0,remove:!0,minify:!0}}]},svgProps:{}}})}export{i as createSvgrPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  const i="vef:tailwind.css",n=`\0${i}`;function t(){return{name:"vef-framework:tailwindcss",resolveId(t){if(t===i)return n},load(i){if(i===n)return"@tailwind base;\n@tailwind components;\n@tailwind utilities;"}}}export{t as createTailwindcssPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  import t from"vite-plugin-webfont-dl";function a(){return t(["https://fonts.googleapis.com/css2?family=PT+Sans+Caption:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap","https://fonts.googleapis.com/css2?family=Martian+Mono:wght@100..800&family=PT+Sans+Caption:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap"])}export{a as createWebfontPlugin};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,31 +1,7 @@
1
+ import type { Config } from "stylelint";
1
2
  /**
2
3
  * Define the stylelint configuration
3
4
  *
4
5
  * @returns The stylelint configuration
5
6
  */
6
- export declare function defineStylelintConfig(): {
7
- extends: string[];
8
- plugins: string[];
9
- rules: {
10
- "order/order": string[];
11
- "order/properties-order": {
12
- emptyLineBefore: string;
13
- noEmptyLineBetween: boolean;
14
- properties: string[];
15
- }[];
16
- "declaration-empty-line-before": null;
17
- "at-rule-no-unknown": null;
18
- "function-no-unknown": null;
19
- "number-max-precision": null;
20
- "color-hex-length": string;
21
- "color-hex-alpha": string;
22
- "color-named": string;
23
- "unit-allowed-list": string[];
24
- "scss/function-no-unknown": (boolean | {
25
- ignoreFunctions: never[];
26
- })[];
27
- "scss/at-rule-no-unknown": (boolean | {
28
- ignoreAtRules: never[];
29
- })[];
30
- };
31
- };
7
+ export declare function defineStylelintConfig(): Config;
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  import e from"stylelint-config-recess-order/groups";function n(){return{extends:["stylelint-config-standard-scss","stylelint-config-recommended"],plugins:["stylelint-order"],rules:{"order/order":["dollar-variables","at-variables","custom-properties","less-mixins","declarations","at-rules","rules"],"order/properties-order":e.map((e=>({...e,emptyLineBefore:"always",noEmptyLineBetween:!0}))),"declaration-empty-line-before":null,"at-rule-no-unknown":null,"function-no-unknown":null,"number-max-precision":null,"color-hex-length":"long","color-hex-alpha":"never","color-named":"never","unit-allowed-list":["px","em","rem","%","vw","vh","fr","deg","rad","grad","turn","ms","s"],"scss/function-no-unknown":[!0,{ignoreFunctions:[]}],"scss/at-rule-no-unknown":[!0,{ignoreAtRules:[]}]}}}export{n as defineStylelintConfig};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,392 +1,7 @@
1
+ import type { Config } from "tailwindcss";
1
2
  /**
2
3
  * Define the tailwind config
3
4
  *
4
5
  * @returns The tailwind config
5
6
  */
6
- export declare function defineTailwindConfig(): {
7
- content: string[];
8
- plugins: {
9
- handler: import("tailwindcss/types/config").PluginCreator;
10
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
11
- }[];
12
- theme: {
13
- colors: {
14
- inherit: string;
15
- current: string;
16
- transparent: string;
17
- black: string;
18
- white: string;
19
- primary: string;
20
- "primary-hover": string;
21
- "primary-active": string;
22
- success: string;
23
- "success-hover": string;
24
- "success-active": string;
25
- warning: string;
26
- "warning-hover": string;
27
- "warning-active": string;
28
- error: string;
29
- "error-hover": string;
30
- "error-active": string;
31
- info: string;
32
- "info-hover": string;
33
- "info-active": string;
34
- link: string;
35
- "link-hover": string;
36
- "link-active": string;
37
- blue: {
38
- DEFAULT: string;
39
- 1: string;
40
- 2: string;
41
- 3: string;
42
- 4: string;
43
- 5: string;
44
- 6: string;
45
- 7: string;
46
- 8: string;
47
- 9: string;
48
- 10: string;
49
- };
50
- purple: {
51
- DEFAULT: string;
52
- 1: string;
53
- 2: string;
54
- 3: string;
55
- 4: string;
56
- 5: string;
57
- 6: string;
58
- 7: string;
59
- 8: string;
60
- 9: string;
61
- 10: string;
62
- };
63
- cyan: {
64
- DEFAULT: string;
65
- 1: string;
66
- 2: string;
67
- 3: string;
68
- 4: string;
69
- 5: string;
70
- 6: string;
71
- 7: string;
72
- 8: string;
73
- 9: string;
74
- 10: string;
75
- };
76
- green: {
77
- DEFAULT: string;
78
- 1: string;
79
- 2: string;
80
- 3: string;
81
- 4: string;
82
- 5: string;
83
- 6: string;
84
- 7: string;
85
- 8: string;
86
- 9: string;
87
- 10: string;
88
- };
89
- magenta: {
90
- DEFAULT: string;
91
- 1: string;
92
- 2: string;
93
- 3: string;
94
- 4: string;
95
- 5: string;
96
- 6: string;
97
- 7: string;
98
- 8: string;
99
- 9: string;
100
- 10: string;
101
- };
102
- pink: {
103
- DEFAULT: string;
104
- 1: string;
105
- 2: string;
106
- 3: string;
107
- 4: string;
108
- 5: string;
109
- 6: string;
110
- 7: string;
111
- 8: string;
112
- 9: string;
113
- 10: string;
114
- };
115
- red: {
116
- DEFAULT: string;
117
- 1: string;
118
- 2: string;
119
- 3: string;
120
- 4: string;
121
- 5: string;
122
- 6: string;
123
- 7: string;
124
- 8: string;
125
- 9: string;
126
- 10: string;
127
- };
128
- orange: {
129
- DEFAULT: string;
130
- 1: string;
131
- 2: string;
132
- 3: string;
133
- 4: string;
134
- 5: string;
135
- 6: string;
136
- 7: string;
137
- 8: string;
138
- 9: string;
139
- 10: string;
140
- };
141
- yellow: {
142
- DEFAULT: string;
143
- 1: string;
144
- 2: string;
145
- 3: string;
146
- 4: string;
147
- 5: string;
148
- 6: string;
149
- 7: string;
150
- 8: string;
151
- 9: string;
152
- 10: string;
153
- };
154
- volcano: {
155
- DEFAULT: string;
156
- 1: string;
157
- 2: string;
158
- 3: string;
159
- 4: string;
160
- 5: string;
161
- 6: string;
162
- 7: string;
163
- 8: string;
164
- 9: string;
165
- 10: string;
166
- };
167
- geekblue: {
168
- DEFAULT: string;
169
- 1: string;
170
- 2: string;
171
- 3: string;
172
- 4: string;
173
- 5: string;
174
- 6: string;
175
- 7: string;
176
- 8: string;
177
- 9: string;
178
- 10: string;
179
- };
180
- gold: {
181
- DEFAULT: string;
182
- 1: string;
183
- 2: string;
184
- 3: string;
185
- 4: string;
186
- 5: string;
187
- 6: string;
188
- 7: string;
189
- 8: string;
190
- 9: string;
191
- 10: string;
192
- };
193
- lime: {
194
- DEFAULT: string;
195
- 1: string;
196
- 2: string;
197
- 3: string;
198
- 4: string;
199
- 5: string;
200
- 6: string;
201
- 7: string;
202
- 8: string;
203
- 9: string;
204
- 10: string;
205
- };
206
- slate: {
207
- DEFAULT: "#64748b";
208
- 1: "#f8fafc";
209
- 2: "#f1f5f9";
210
- 3: "#e2e8f0";
211
- 4: "#cbd5e1";
212
- 5: "#94a3b8";
213
- 6: "#64748b";
214
- 7: "#475569";
215
- 8: "#334155";
216
- 9: "#1e293b";
217
- 10: "#0f172a";
218
- };
219
- };
220
- extend: {
221
- textColor: {
222
- "primary-alt": string;
223
- "primary-alt-hover": string;
224
- "primary-alt-active": string;
225
- "success-alt": string;
226
- "success-alt-hover": string;
227
- "success-alt-active": string;
228
- "warning-alt": string;
229
- "warning-alt-hover": string;
230
- "warning-alt-active": string;
231
- "error-alt": string;
232
- "error-alt-hover": string;
233
- "error-alt-active": string;
234
- "info-alt": string;
235
- "info-alt-hover": string;
236
- "info-alt-active": string;
237
- base: string;
238
- default: string;
239
- secondary: string;
240
- tertiary: string;
241
- quaternary: string;
242
- placeholder: string;
243
- disabled: string;
244
- heading: string;
245
- label: string;
246
- description: string;
247
- "light-solid": string;
248
- highlight: string;
249
- icon: string;
250
- "icon-hover": string;
251
- };
252
- outlineColor: {
253
- error: string;
254
- warning: string;
255
- };
256
- backgroundColor: {
257
- "primary-alt": string;
258
- "primary-alt-hover": string;
259
- "success-alt": string;
260
- "success-alt-hover": string;
261
- "warning-alt": string;
262
- "warning-alt-hover": string;
263
- "error-alt": string;
264
- "error-alt-hover": string;
265
- "info-alt": string;
266
- "info-alt-hover": string;
267
- base: string;
268
- layout: string;
269
- spotlight: string;
270
- solid: string;
271
- "solid-hover": string;
272
- "solid-active": string;
273
- container: string;
274
- "container-disabled": string;
275
- elevated: string;
276
- blur: string;
277
- fill: string;
278
- "fill-secondary": string;
279
- "fill-tertiary": string;
280
- "fill-quaternary": string;
281
- "fill-content": string;
282
- "fill-content-hover": string;
283
- "fill-alt": string;
284
- mask: string;
285
- "text-hover": string;
286
- "text-active": string;
287
- "control-item-hover": string;
288
- "control-item-active": string;
289
- "control-item-active-hover": string;
290
- "control-item-active-disabled": string;
291
- };
292
- borderColor: {
293
- "primary-alt": string;
294
- "primary-alt-hover": string;
295
- "success-alt": string;
296
- "success-alt-hover": string;
297
- "warning-alt": string;
298
- "warning-alt-hover": string;
299
- "error-alt": string;
300
- "error-alt-hover": string;
301
- "info-alt": string;
302
- "info-alt-hover": string;
303
- base: string;
304
- secondary: string;
305
- };
306
- fontFamily: {
307
- base: string;
308
- code: string;
309
- };
310
- fontSize: {
311
- base: string;
312
- sm: string;
313
- lg: string;
314
- xl: string;
315
- heading1: string;
316
- heading2: string;
317
- heading3: string;
318
- heading4: string;
319
- heading5: string;
320
- };
321
- fontWeight: {
322
- strong: string;
323
- };
324
- borderWidth: {
325
- base: string;
326
- bold: string;
327
- };
328
- borderRadius: {
329
- DEFAULT: string;
330
- xs: string;
331
- sm: string;
332
- lg: string;
333
- outer: string;
334
- };
335
- height: {
336
- control: string;
337
- "control-sm": string;
338
- "control-xs": string;
339
- "control-lg": string;
340
- font: string;
341
- "font-sm": string;
342
- "font-lg": string;
343
- };
344
- lineHeight: {
345
- base: string;
346
- sm: string;
347
- lg: string;
348
- "heading-1": string;
349
- "heading-2": string;
350
- "heading-3": string;
351
- "heading-4": string;
352
- "heading-5": string;
353
- };
354
- spacing: {
355
- base: string;
356
- xxs: string;
357
- xs: string;
358
- sm: string;
359
- md: string;
360
- lg: string;
361
- xl: string;
362
- xxl: string;
363
- };
364
- boxShadow: {
365
- base: string;
366
- secondary: string;
367
- tertiary: string;
368
- card: string;
369
- elevated: string;
370
- };
371
- transitionDuration: {
372
- fast: string;
373
- mid: string;
374
- slow: string;
375
- };
376
- transitionTimingFunction: {
377
- "ease-out-circ": string;
378
- "ease-in-out-circ": string;
379
- "ease-out": string;
380
- "ease-in-out": string;
381
- "ease-out-back": string;
382
- "ease-in-back": string;
383
- "ease-in-quint": string;
384
- "ease-out-quint": string;
385
- };
386
- zIndex: {
387
- base: string;
388
- popup: string;
389
- };
390
- };
391
- };
392
- };
7
+ export declare function defineTailwindConfig(): Config;
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.13, build time: 2024-12-19T07:59:40.692Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.15, build time: 2024-12-19T08:48:28.850Z, made by Venus. */
2
2
  import e from"@tailwindcss/container-queries";import r from"tailwindcss/colors.js";function v(){return{content:["src/**/*.{ts,tsx}"],plugins:[e],theme:{colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000000",white:"var(--vef-color-white)",primary:"var(--vef-color-primary)","primary-hover":"var(--vef-color-primary-hover)","primary-active":"var(--vef-color-primary-active)",success:"var(--vef-color-success)","success-hover":"var(--vef-color-success-hover)","success-active":"var(--vef-color-success-active)",warning:"var(--vef-color-warning)","warning-hover":"var(--vef-color-warning-hover)","warning-active":"var(--vef-color-warning-active)",error:"var(--vef-color-error)","error-hover":"var(--vef-color-error-hover)","error-active":"var(--vef-color-error-active)",info:"var(--vef-color-info)","info-hover":"var(--vef-color-info-hover)","info-active":"var(--vef-color-info-active)",link:"var(--vef-color-link)","link-hover":"var(--vef-color-link-hover)","link-active":"var(--vef-color-link-active)",blue:{DEFAULT:"var(--vef-blue-6)",1:"var(--vef-blue-1)",2:"var(--vef-blue-2)",3:"var(--vef-blue-3)",4:"var(--vef-blue-4)",5:"var(--vef-blue-5)",6:"var(--vef-blue-6)",7:"var(--vef-blue-7)",8:"var(--vef-blue-8)",9:"var(--vef-blue-9)",10:"var(--vef-blue-10)"},purple:{DEFAULT:"var(--vef-purple-6)",1:"var(--vef-purple-1)",2:"var(--vef-purple-2)",3:"var(--vef-purple-3)",4:"var(--vef-purple-4)",5:"var(--vef-purple-5)",6:"var(--vef-purple-6)",7:"var(--vef-purple-7)",8:"var(--vef-purple-8)",9:"var(--vef-purple-9)",10:"var(--vef-purple-10)"},cyan:{DEFAULT:"var(--vef-cyan-6)",1:"var(--vef-cyan-1)",2:"var(--vef-cyan-2)",3:"var(--vef-cyan-3)",4:"var(--vef-cyan-4)",5:"var(--vef-cyan-5)",6:"var(--vef-cyan-6)",7:"var(--vef-cyan-7)",8:"var(--vef-cyan-8)",9:"var(--vef-cyan-9)",10:"var(--vef-cyan-10)"},green:{DEFAULT:"var(--vef-green-6)",1:"var(--vef-green-1)",2:"var(--vef-green-2)",3:"var(--vef-green-3)",4:"var(--vef-green-4)",5:"var(--vef-green-5)",6:"var(--vef-green-6)",7:"var(--vef-green-7)",8:"var(--vef-green-8)",9:"var(--vef-green-9)",10:"var(--vef-green-10)"},magenta:{DEFAULT:"var(--vef-magenta-6)",1:"var(--vef-magenta-1)",2:"var(--vef-magenta-2)",3:"var(--vef-magenta-3)",4:"var(--vef-magenta-4)",5:"var(--vef-magenta-5)",6:"var(--vef-magenta-6)",7:"var(--vef-magenta-7)",8:"var(--vef-magenta-8)",9:"var(--vef-magenta-9)",10:"var(--vef-magenta-10)"},pink:{DEFAULT:"var(--vef-pink-6)",1:"var(--vef-pink-1)",2:"var(--vef-pink-2)",3:"var(--vef-pink-3)",4:"var(--vef-pink-4)",5:"var(--vef-pink-5)",6:"var(--vef-pink-6)",7:"var(--vef-pink-7)",8:"var(--vef-pink-8)",9:"var(--vef-pink-9)",10:"var(--vef-pink-10)"},red:{DEFAULT:"var(--vef-red-6)",1:"var(--vef-red-1)",2:"var(--vef-red-2)",3:"var(--vef-red-3)",4:"var(--vef-red-4)",5:"var(--vef-red-5)",6:"var(--vef-red-6)",7:"var(--vef-red-7)",8:"var(--vef-red-8)",9:"var(--vef-red-9)",10:"var(--vef-red-10)"},orange:{DEFAULT:"var(--vef-orange-6)",1:"var(--vef-orange-1)",2:"var(--vef-orange-2)",3:"var(--vef-orange-3)",4:"var(--vef-orange-4)",5:"var(--vef-orange-5)",6:"var(--vef-orange-6)",7:"var(--vef-orange-7)",8:"var(--vef-orange-8)",9:"var(--vef-orange-9)",10:"var(--vef-orange-10)"},yellow:{DEFAULT:"var(--vef-yellow-6)",1:"var(--vef-yellow-1)",2:"var(--vef-yellow-2)",3:"var(--vef-yellow-3)",4:"var(--vef-yellow-4)",5:"var(--vef-yellow-5)",6:"var(--vef-yellow-6)",7:"var(--vef-yellow-7)",8:"var(--vef-yellow-8)",9:"var(--vef-yellow-9)",10:"var(--vef-yellow-10)"},volcano:{DEFAULT:"var(--vef-volcano-6)",1:"var(--vef-volcano-1)",2:"var(--vef-volcano-2)",3:"var(--vef-volcano-3)",4:"var(--vef-volcano-4)",5:"var(--vef-volcano-5)",6:"var(--vef-volcano-6)",7:"var(--vef-volcano-7)",8:"var(--vef-volcano-8)",9:"var(--vef-volcano-9)",10:"var(--vef-volcano-10)"},geekblue:{DEFAULT:"var(--vef-geekblue-6)",1:"var(--vef-geekblue-1)",2:"var(--vef-geekblue-2)",3:"var(--vef-geekblue-3)",4:"var(--vef-geekblue-4)",5:"var(--vef-geekblue-5)",6:"var(--vef-geekblue-6)",7:"var(--vef-geekblue-7)",8:"var(--vef-geekblue-8)",9:"var(--vef-geekblue-9)",10:"var(--vef-geekblue-10)"},gold:{DEFAULT:"var(--vef-gold-6)",1:"var(--vef-gold-1)",2:"var(--vef-gold-2)",3:"var(--vef-gold-3)",4:"var(--vef-gold-4)",5:"var(--vef-gold-5)",6:"var(--vef-gold-6)",7:"var(--vef-gold-7)",8:"var(--vef-gold-8)",9:"var(--vef-gold-9)",10:"var(--vef-gold-10)"},lime:{DEFAULT:"var(--vef-lime-6)",1:"var(--vef-lime-1)",2:"var(--vef-lime-2)",3:"var(--vef-lime-3)",4:"var(--vef-lime-4)",5:"var(--vef-lime-5)",6:"var(--vef-lime-6)",7:"var(--vef-lime-7)",8:"var(--vef-lime-8)",9:"var(--vef-lime-9)",10:"var(--vef-lime-10)"},slate:{DEFAULT:r.slate[500],1:r.slate[50],2:r.slate[100],3:r.slate[200],4:r.slate[300],5:r.slate[400],6:r.slate[500],7:r.slate[600],8:r.slate[700],9:r.slate[800],10:r.slate[900]}},extend:{textColor:{"primary-alt":"var(--vef-color-primary-text)","primary-alt-hover":"var(--vef-color-primary-text-hover)","primary-alt-active":"var(--vef-color-primary-text-active)","success-alt":"var(--vef-color-success-text)","success-alt-hover":"var(--vef-color-success-text-hover)","success-alt-active":"var(--vef-color-success-text-active)","warning-alt":"var(--vef-color-warning-text)","warning-alt-hover":"var(--vef-color-warning-text-hover)","warning-alt-active":"var(--vef-color-warning-text-active)","error-alt":"var(--vef-color-error-text)","error-alt-hover":"var(--vef-color-error-text-hover)","error-alt-active":"var(--vef-color-error-text-active)","info-alt":"var(--vef-color-info-text)","info-alt-hover":"var(--vef-color-info-text-hover)","info-alt-active":"var(--vef-color-info-text-active)",base:"var(--vef-color-text-base)",default:"var(--vef-color-text)",secondary:"var(--vef-color-text-secondary)",tertiary:"var(--vef-color-text-tertiary)",quaternary:"var(--vef-color-text-quaternary)",placeholder:"var(--vef-color-text-placeholder)",disabled:"var(--vef-color-text-disabled)",heading:"var(--vef-color-text-heading)",label:"var(--vef-color-text-label)",description:"var(--vef-color-text-description)","light-solid":"var(--vef-color-text-light-solid)",highlight:"var(--vef-color-highlight)",icon:"var(--vef-color-icon)","icon-hover":"var(--vef-color-icon-hover)"},outlineColor:{error:"var(--vef-color-error-outline)",warning:"var(--vef-color-warning-outline)"},backgroundColor:{"primary-alt":"var(--vef-color-primary-bg)","primary-alt-hover":"var(--vef-color-primary-bg-hover)","success-alt":"var(--vef-color-success-bg)","success-alt-hover":"var(--vef-color-success-bg-hover)","warning-alt":"var(--vef-color-warning-bg)","warning-alt-hover":"var(--vef-color-warning-bg-hover)","error-alt":"var(--vef-color-error-bg)","error-alt-hover":"var(--vef-color-error-bg-hover)","info-alt":"var(--vef-color-info-bg)","info-alt-hover":"var(--vef-color-info-bg-hover)",base:"var(--vef-color-bg-base)",layout:"var(--vef-color-bg-layout)",spotlight:"var(--vef-color-bg-spotlight)",solid:"var(--vef-color-bg-solid)","solid-hover":"var(--vef-color-bg-solid-hover)","solid-active":"var(--vef-color-bg-solid-active)",container:"var(--vef-color-bg-container)","container-disabled":"var(--vef-color-bg-container-disabled)",elevated:"var(--vef-color-bg-elevated)",blur:"var(--vef-color-bg-blur)",fill:"var(--vef-color-fill)","fill-secondary":"var(--vef-color-fill-secondary)","fill-tertiary":"var(--vef-color-fill-tertiary)","fill-quaternary":"var(--vef-color-fill-quaternary)","fill-content":"var(--vef-color-fill-content)","fill-content-hover":"var(--vef-color-fill-content-hover)","fill-alt":"var(--vef-color-fill-alter)",mask:"var(--vef-color-bg-mask)","text-hover":"var(--vef-color-bg-text-hover)","text-active":"var(--vef-color-bg-text-active)","control-item-hover":"var(--vef-control-item-bg-hover)","control-item-active":"var(--vef-control-item-bg-active)","control-item-active-hover":"var(--vef-control-item-bg-active-hover)","control-item-active-disabled":"var(--vef-control-item-bg-active-disabled)"},borderColor:{"primary-alt":"var(--vef-color-primary-border)","primary-alt-hover":"var(--vef-color-primary-border-hover)","success-alt":"var(--vef-color-success-border)","success-alt-hover":"var(--vef-color-success-border-hover)","warning-alt":"var(--vef-color-warning-border)","warning-alt-hover":"var(--vef-color-warning-border-hover)","error-alt":"var(--vef-color-error-border)","error-alt-hover":"var(--vef-color-error-border-hover)","info-alt":"var(--vef-color-info-border)","info-alt-hover":"var(--vef-color-info-border-hover)",base:"var(--vef-color-border)",secondary:"var(--vef-color-border-secondary)"},fontFamily:{base:"var(--vef-font-family)",code:"var(--vef-font-family-code)"},fontSize:{base:"var(--vef-font-size)",sm:"var(--vef-font-size-sm)",lg:"var(--vef-font-size-lg)",xl:"var(--vef-font-size-xl)",heading1:"var(--vef-font-size-heading-1)",heading2:"var(--vef-font-size-heading-2)",heading3:"var(--vef-font-size-heading-3)",heading4:"var(--vef-font-size-heading-4)",heading5:"var(--vef-font-size-heading-5)"},fontWeight:{strong:"var(--vef-font-weight-strong)"},borderWidth:{base:"var(--vef-line-width)",bold:"var(--vef-line-width-bold)"},borderRadius:{DEFAULT:"var(--vef-border-radius)",xs:"var(--vef-border-radius-xs)",sm:"var(--vef-border-radius-sm)",lg:"var(--vef-border-radius-lg)",outer:"var(--vef-border-radius-outer)"},height:{control:"var(--vef-control-height)","control-sm":"var(--vef-control-height-sm)","control-xs":"var(--vef-control-height-xs)","control-lg":"var(--vef-control-height-lg)",font:"var(--vef-font-height)","font-sm":"var(--vef-font-height-sm)","font-lg":"var(--vef-font-height-lg)"},lineHeight:{base:"var(--vef-line-height)",sm:"var(--vef-line-height-sm)",lg:"var(--vef-line-height-lg)","heading-1":"var(--vef-line-height-heading-1)","heading-2":"var(--vef-line-height-heading-2)","heading-3":"var(--vef-line-height-heading-3)","heading-4":"var(--vef-line-height-heading-4)","heading-5":"var(--vef-line-height-heading-5)"},spacing:{base:"var(--vef-margin)",xxs:"var(--vef-margin-xxs)",xs:"var(--vef-margin-xs)",sm:"var(--vef-margin-sm)",md:"var(--vef-margin-md)",lg:"var(--vef-margin-lg)",xl:"var(--vef-margin-xl)",xxl:"var(--vef-margin-xxl)"},boxShadow:{base:"var(--vef-box-shadow)",secondary:"var(--vef-box-shadow-secondary)",tertiary:"var(--vef-box-shadow-tertiary)",card:"var(--vef-box-shadow-card)",elevated:"0 0 1px rgb(0 0 0 / 30%), 0 4px 14px rgb(0 0 0 / 10%)"},transitionDuration:{fast:"var(--vef-motion-duration-fast)",mid:"var(--vef-motion-duration-mid)",slow:"var(--vef-motion-duration-slow)"},transitionTimingFunction:{"ease-out-circ":"var(--vef-motion-ease-out-circ)","ease-in-out-circ":"var(--vef-motion-ease-in-out-circ)","ease-out":"var(--vef-motion-ease-out)","ease-in-out":"var(--vef-motion-ease-in-out)","ease-out-back":"var(--vef-motion-ease-out-back)","ease-in-back":"var(--vef-motion-ease-in-back)","ease-in-quint":"var(--vef-motion-ease-in-quint)","ease-out-quint":"var(--vef-motion-ease-out-quint)"},zIndex:{base:"var(--vef-z-index-base)",popup:"var(--vef-z-index-popup)"}}}}}export{v as defineTailwindConfig};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vef-framework/dev",
3
3
  "type": "module",
4
- "version": "1.0.13",
4
+ "version": "1.0.15",
5
5
  "private": false,
6
6
  "packageManager": "pnpm@9.15.0",
7
7
  "description": "The development tools of the VEF framework",
package/tsconfig.app.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "compilerOptions": {
3
3
  "composite": true,
4
4
  "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
5
- "target": "ES2022",
5
+ "target": "ES2020",
6
6
  "jsx": "react-jsx",
7
- "lib": ["ES2022", "DOM", "DOM.Iterable"],
7
+ "lib": ["ES2023", "DOM", "DOM.Iterable"],
8
8
  "moduleDetection": "force",
9
9
  "useDefineForClassFields": true,
10
- "module": "ES2022",
11
- "moduleResolution": "Bundler",
10
+ "module": "ES2020",
11
+ "moduleResolution": "bundler",
12
12
  "allowImportingTsExtensions": false,
13
13
 
14
14
  /* Linting */
@@ -3,9 +3,9 @@
3
3
  "composite": true,
4
4
  "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
5
5
  "target": "ES2022",
6
- "lib": ["ES2022"],
7
- "module": "NodeNext",
8
- "moduleResolution": "NodeNext",
6
+ "lib": ["ES2023"],
7
+ "module": "Node16",
8
+ "moduleResolution": "node16",
9
9
  "allowImportingTsExtensions": false,
10
10
 
11
11
  /* Linting */