@vef-framework/dev 1.0.116 → 1.0.117
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/bin/hoist-patterns.js +1 -1
- package/es/cli.js +1 -1
- package/es/commitlint-config.js +1 -1
- package/es/config.js +1 -1
- package/es/constants.js +1 -1
- package/es/eslint-config.js +1 -1
- package/es/index.js +1 -1
- package/es/json/monaco.nls.json.js +1 -1
- package/es/json/monaco.theme.github-light.json.js +1 -1
- package/es/modules.d.js +1 -1
- package/es/plugin-app-config.js +1 -1
- package/es/plugin-conventional-config.js +1 -1
- package/es/plugin-eslint.js +1 -1
- package/es/plugin-html.js +1 -1
- package/es/plugin-icons.js +1 -1
- package/es/plugin-initialization.js +1 -1
- package/es/plugin-injection.js +1 -1
- package/es/plugin-inspect.js +1 -1
- package/es/plugin-monaco-nls.js +1 -1
- package/es/plugin-react-swc.js +1 -1
- package/es/plugin-router.js +1 -1
- package/es/plugin-stylelint.js +1 -1
- package/es/plugin-svgr.js +1 -1
- package/es/plugin-tailwind.js +1 -1
- package/es/plugin-tailwindcss.js +1 -1
- package/es/plugin-tsconfig-paths.js +1 -1
- package/es/plugin-visualizer.js +1 -1
- package/es/plugin-webfont.js +1 -1
- package/es/stylelint-config.js +1 -1
- package/es/tailwind-config.js +1 -1
- package/lib/cli.cjs +1 -1
- package/lib/commitlint-config.cjs +1 -1
- package/lib/config.cjs +1 -1
- package/lib/constants.cjs +1 -1
- package/lib/eslint-config.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/json/monaco.nls.json.cjs +1 -1
- package/lib/json/monaco.theme.github-light.json.cjs +1 -1
- package/lib/modules.d.cjs +1 -1
- package/lib/plugin-app-config.cjs +1 -1
- package/lib/plugin-conventional-config.cjs +1 -1
- package/lib/plugin-eslint.cjs +1 -1
- package/lib/plugin-html.cjs +1 -1
- package/lib/plugin-icons.cjs +1 -1
- package/lib/plugin-initialization.cjs +1 -1
- package/lib/plugin-injection.cjs +1 -1
- package/lib/plugin-inspect.cjs +1 -1
- package/lib/plugin-monaco-nls.cjs +1 -1
- package/lib/plugin-react-swc.cjs +1 -1
- package/lib/plugin-router.cjs +1 -1
- package/lib/plugin-stylelint.cjs +1 -1
- package/lib/plugin-svgr.cjs +1 -1
- package/lib/plugin-tailwind.cjs +1 -1
- package/lib/plugin-tailwindcss.cjs +1 -1
- package/lib/plugin-tsconfig-paths.cjs +1 -1
- package/lib/plugin-visualizer.cjs +1 -1
- package/lib/plugin-webfont.cjs +1 -1
- package/lib/stylelint-config.cjs +1 -1
- package/lib/tailwind-config.cjs +1 -1
- package/lib/types.cjs +1 -1
- package/package.json +1 -1
- package/template/_package.json +5 -5
package/bin/hoist-patterns.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ["recharts","@monaco-editor/react","@monaco-editor/loader","monaco-editor","eslint*","@eslint/*","@eslint-react/*","stylelint*","lint-staged","@commitlint/*","tailwindcss","@tailwindcss/vite"]
|
|
1
|
+
export default ["zod","recharts","@monaco-editor/react","@monaco-editor/loader","monaco-editor","eslint*","@eslint/*","@eslint-react/*","stylelint*","lint-staged","@commitlint/*","tailwindcss","@tailwindcss/vite"]
|
package/es/cli.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import chalk from"chalk";import{program}from"commander";import consola from"consola";import{execa}from"execa";import fsExtra from"fs-extra";import{resolve}from"node:path";import process from"node:process";import ora from"ora";import prompts from"prompts";import{loadConfigFromFile,createServer,build,preview}from"vite";const{exists,readJsonSync,writeFile,readJson,writeJson,copy,readFile,move}=fsExtra,currentDir=process.cwd();function readPackageVersion(){const packageJsonPath=resolve(import.meta.dirname,"../package.json");return readJsonSync(packageJsonPath,{encoding:"utf-8"}).version}const frameworkVersion=readPackageVersion();async function importHoistPatterns(){return(await import("../bin/hoist-patterns.js")).default}function resolveEnvMode(command,userMode){return userMode||(command==="build"?"production":"development")}async function loadVefConfig(configPath,command,mode){const vefConfigPath=resolve(currentDir,configPath||"vef.config.ts");if(!await exists(vefConfigPath))throw consola.error(`Config file not found: ${vefConfigPath}, it is required for VEF Framework`),new Error(`Config file not found: ${vefConfigPath}`);return(await loadConfigFromFile({command,mode},vefConfigPath))?.config??{}}function handleError(phase,error){consola.error(`Error during ${phase}:`,error),process.exit(1)}program.name("vef").description(chalk.magenta("VEF Framework CLI")).addHelpText("before",chalk.blue("VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus.")).addHelpText("before",chalk.bgGreenBright(`Version: ${frameworkVersion}`)).version(frameworkVersion).option("--mode <mode>","Specify running mode (will override default NODE_ENV)"),program.command("dev").description("Start dev server").option("-c, --config <file>","Specify vef config file","vef.config.ts").action(async options=>{try{const mode=resolveEnvMode("serve",program.opts().mode);process.env.NODE_ENV=mode,process.env.VEF_FRAMEWORK_VERSION=frameworkVersion;const config=await loadVefConfig(options.config,"serve",mode),server=await createServer({...config,mode,configFile:!1,logLevel:"info"});await server.listen(),server.printUrls(),server.bindCLIShortcuts({print:!0})}catch(e){handleError("dev server startup",e)}}),program.command("build").description("Build for production").option("-c, --config <file>","Specify vef config file","vef.config.ts").action(async options=>{try{const mode=resolveEnvMode("build",program.opts().mode);process.env.NODE_ENV=mode,process.env.VEF_FRAMEWORK_VERSION=frameworkVersion;const config=await loadVefConfig(options.config,"build",mode);await build({...config,mode,configFile:!1,logLevel:"info"}),consola.success("Build completed successfully!")}catch(e){handleError("build",e)}}),program.command("preview").description("Preview the build").option("-c, --config <file>","Specify vef config file","vef.config.ts").action(async options=>{try{const mode=resolveEnvMode("build",program.opts().mode);process.env.NODE_ENV=mode,process.env.VEF_FRAMEWORK_VERSION=frameworkVersion;const config=await loadVefConfig(options.config,"build",mode),server=await preview({...config,mode,configFile:!1,logLevel:"info"});server.printUrls(),server.bindCLIShortcuts({print:!0})}catch(e){handleError("preview server startup",e)}}),program.command("prepare").description("Sets up the project for development mode").action(async()=>{await exists(resolve(currentDir,".husky"))||((await import("husky")).default(),consola.success("Successfully set up husky")),await exists(resolve(currentDir,".husky/pre-commit"))||(await writeFile(resolve(currentDir,".husky/pre-commit"),"pnpm dlx lint-staged"),consola.success("Successfully set up pre-commit hook")),await exists(resolve(currentDir,".husky/commit-msg"))||(await writeFile(resolve(currentDir,".husky/commit-msg"),"pnpm dlx commitlint --edit $1"),consola.success("Successfully set up commit-msg hook"));const packageJson=await readJson(resolve(currentDir,"package.json"),{encoding:"utf-8"}),{scripts}=packageJson;let changed=!1;scripts.prepare||(scripts.prepare="vef prepare",changed=!0),changed&&(await writeJson(resolve(currentDir,"package.json"),packageJson,{encoding:"utf-8",spaces:2}),consola.success("Successfully set up prepare script and lint-staged"))}),program.command("install").description("Install the dependencies of the project").action(async()=>{const hoistedPatterns=await importHoistPatterns();await execa({cwd:currentDir,stdio:"inherit"})("pnpm",["install",...hoistedPatterns.flatMap(pattern=>["--public-hoist-pattern",pattern])])}),program.command("update").description("Update the dependencies of the vef framework to latest version").action(async()=>{await execa({cwd:currentDir,stdio:"inherit"})("pnpm",["update","@vef-framework/*"])}),program.command("init").description("Initialize an empty VEF project").action(async()=>{console.log(chalk.blue(`Welcome to use the cli tool of VEF Framework
|
|
2
2
|
`));const result=await prompts([{type:"text",name:"appName",message:"What is the name of your app?",validate:value=>typeof value=="string"&&value.trim().length>0?!0:"App name is required"},{type:"text",name:"appTitle",message:"What is the title of your app?",validate:value=>typeof value=="string"&&value.trim().length>0?!0:"App title is required"}]),{appName,appTitle}=result;await copy(resolve(import.meta.dirname,"../template"),resolve(currentDir,appName)),consola.success("Successfully copied template files"),await move(resolve(currentDir,appName,"_gitignore"),resolve(currentDir,appName,".gitignore")),await move(resolve(currentDir,appName,"_tsconfig.json"),resolve(currentDir,appName,"tsconfig.json")),await move(resolve(currentDir,appName,"_package.json"),resolve(currentDir,appName,"package.json"));const packageJson=await readJson(resolve(currentDir,appName,"package.json"),{encoding:"utf-8"});packageJson.name=appName,await writeJson(resolve(currentDir,appName,"package.json"),packageJson,{encoding:"utf-8",spaces:2}),consola.success("Successfully replaced name and title in package.json");const replacedEnvContent=(await readFile(resolve(currentDir,appName,"env/.env"),{encoding:"utf-8"})).replace(/APP_NAME=.*$/m,`APP_NAME=${appName}`).replace(/APP_TITLE=.*$/m,`APP_TITLE=${appTitle}`);await writeFile(resolve(currentDir,appName,"env/.env"),replacedEnvContent),consola.success("Successfully replaced name and title in .env file");const spinner=ora("Initializing git repository...").start();try{await execa`git --version`,await execa({cwd:resolve(currentDir,appName)})`git init`,spinner.succeed("Successfully initialized git repository")}catch(e){spinner.fail("Failed to initialize git repository"),handleError("init",e)}spinner.start("Installing dependencies...");try{const hoistedPatterns=await importHoistPatterns();await execa({cwd:resolve(currentDir,appName)})("pnpm",["install",...hoistedPatterns.flatMap(pattern=>["--public-hoist-pattern",pattern])]),spinner.succeed("Successfully installed dependencies")}catch(e){spinner.fail("Failed to install dependencies"),handleError("init",e)}consola.success(chalk.green(`
|
|
3
3
|
🎉🎉🎉 VEF project created successfully !`)),console.log(chalk.blue(`
|
|
4
4
|
✨ Next steps:`)),console.log(chalk.cyan(` cd ${appName}`)),console.log(chalk.cyan(" pnpm dev"))}),program.parse();/*! 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/es/commitlint-config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */function defineCommitlintConfig(){return{extends:["@commitlint/config-conventional"],formatter:"@commitlint/format"}}/*! 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 */export{defineCommitlintConfig};
|
package/es/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import consola from"consola";import fsExtra from"fs-extra";import{resolve}from"node:path";import{defineConfig as defineConfig$1,loadEnv}from"vite";import{ENV_DIR,ENV_BUILD_PREFIX}from"./constants.js";import{createAppConfigPlugin}from"./plugin-app-config.js";import{createConventionalConfigPlugin}from"./plugin-conventional-config.js";import{createEslintPlugin}from"./plugin-eslint.js";import{createHtmlPlugin}from"./plugin-html.js";import{createIconsPlugin}from"./plugin-icons.js";import{createInitializationPlugin}from"./plugin-initialization.js";import{createInjectionPlugin}from"./plugin-injection.js";import{createInspectPlugin}from"./plugin-inspect.js";import{createMonacoNlsRollupPlugin}from"./plugin-monaco-nls.js";import{createReactSwcPlugin}from"./plugin-react-swc.js";import{createRouterPlugin}from"./plugin-router.js";import{createStylelintPlugin}from"./plugin-stylelint.js";import{createSvgrPlugin}from"./plugin-svgr.js";import{createTailwindPlugin}from"./plugin-tailwind.js";import{createTailwindcssPlugin}from"./plugin-tailwindcss.js";import{createTsconfigPathsPlugin}from"./plugin-tsconfig-paths.js";import{createVisualizerPlugin}from"./plugin-visualizer.js";import{createWebfontPlugin}from"./plugin-webfont.js";const{readJson}=fsExtra;function defineConfig({projectDir,proxies,visualizer=!1,routerHistory="browser",autoCodeSplitting=!0}){return defineConfig$1(async({mode,command})=>{const env=loadEnv(mode,ENV_DIR,ENV_BUILD_PREFIX);Object.keys(env).length>0&&(consola.info("Loaded environment variables:"),console.table(env));const appVersion=await getAppVersion(projectDir);return{plugins:[...command==="build"?[createMonacoNlsRollupPlugin()]:[],createInspectPlugin(),createConventionalConfigPlugin({appVersion,projectDir,basePublicPath:env.VEF_BUILD_BASE_PUBLIC_PATH,outputDir:env.VEF_BUILD_OUTPUT_DIR,serverPort:Number(env.VEF_BUILD_SERVER_PORT),proxies}),createReactSwcPlugin(),createTsconfigPathsPlugin(projectDir),createHtmlPlugin(),createTailwindPlugin(),createTailwindcssPlugin(),createInjectionPlugin(),createAppConfigPlugin({basePublicPath:env.VEF_BUILD_BASE_PUBLIC_PATH,outputDir:env.VEF_BUILD_OUTPUT_DIR,appName:env.VEF_APP_NAME}),createInitializationPlugin(),createIconsPlugin(projectDir),createSvgrPlugin(),createWebfontPlugin(),createRouterPlugin(projectDir,routerHistory,autoCodeSplitting),createEslintPlugin(),createStylelintPlugin(),visualizer?createVisualizerPlugin(projectDir):void 0].filter(Boolean)}})}async function getAppVersion(projectDir){return(await readJson(resolve(projectDir,"package.json"),{encoding:"utf-8"})).version}/*! 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 */export{defineConfig};
|
package/es/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */const PUBLIC_DIR="public",ENV_DIR="env",ASSETS_DIR="assets",ENV_APP_PREFIX="VEF_APP_",ENV_BUILD_PREFIX="VEF_BUILD_",SRC_DIR="src",DEFAULT_OUTPUT_DIR="dist",DEFAULT_SERVER_PORT=3833,DEFAULT_APP_NAME="APP",PAGES_DIR="pages",ROUTER_DIR="router";/*! 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 */export{ASSETS_DIR,DEFAULT_APP_NAME,DEFAULT_OUTPUT_DIR,DEFAULT_SERVER_PORT,ENV_APP_PREFIX,ENV_BUILD_PREFIX,ENV_DIR,PAGES_DIR,PUBLIC_DIR,ROUTER_DIR,SRC_DIR};
|
package/es/eslint-config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import{antfu}from"@antfu/eslint-config";import pluginRouter from"@tanstack/eslint-plugin-router";function defineEslintConfig(){return antfu({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:3}],"style/object-property-newline":"error","style/brace-style":["error","1tbs"],"style/arrow-parens":["error","as-needed"],"style/multiline-comment-style":["error","separate-lines",{checkJSDoc:!1}],"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":"off","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)"}],"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"}],"eslint-comments/no-unlimited-disable":"off"}},{ignores:["**/*.md","**/*.md/*.{ts,tsx}","**/src/pages/__root.{ts,tsx}"],rules:{"react-naming-convention/filename":["error",{rule:"kebab-case"}]}},...pluginRouter.configs["flat/recommended"])}/*! 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 */export{defineEslintConfig};
|
package/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import{defineCommitlintConfig}from"./commitlint-config.js";import{defineConfig}from"./config.js";import{defineEslintConfig}from"./eslint-config.js";import{defineStylelintConfig}from"./stylelint-config.js";import{defineTailwindConfig}from"./tailwind-config.js";/*! 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 */export{defineCommitlintConfig,defineConfig,defineEslintConfig,defineStylelintConfig,defineTailwindConfig};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */var monaco_nls_default=`{
|
|
2
2
|
"": [
|
|
3
3
|
"--------------------------------------------------------------------------------------------",
|
|
4
4
|
"Copyright (c) Microsoft Corporation. All rights reserved.",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */var monaco_theme_github_light_default=`{
|
|
2
2
|
"base": "vs",
|
|
3
3
|
"inherit": true,
|
|
4
4
|
"rules": [
|
package/es/modules.d.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. *//*! 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/es/plugin-app-config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import{snake}from"radashi";import config from"unplugin-config/vite";import{ENV_APP_PREFIX,DEFAULT_OUTPUT_DIR,DEFAULT_APP_NAME}from"./constants.js";function constantCase(value){return snake(value).toUpperCase()}function createAppConfigPlugin({basePublicPath,outputDir,appName=DEFAULT_APP_NAME}){return config({appName:`VEF_${constantCase(appName)}`,baseDir:basePublicPath,configFile:{generate:!0,fileName:"app.config.js",outputDir:outputDir??DEFAULT_OUTPUT_DIR},htmlInjection:{enable:!0,position:"head-prepend",templates:["index.html"]},envVariables:{prefix:ENV_APP_PREFIX,files:["env/.env","env/.env.production"]}})}/*! 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 */export{createAppConfigPlugin};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import process from"node:process";import{DEFAULT_SERVER_PORT,ASSETS_DIR,DEFAULT_OUTPUT_DIR,DEFAULT_APP_NAME,ENV_BUILD_PREFIX,ENV_APP_PREFIX,ENV_DIR}from"./constants.js";function createConventionalConfigPlugin({appName,appVersion,basePublicPath,projectDir,outputDir,serverPort,proxies}){return{name:"vef-framework:conventional-config",config(_,{command}){const isDev=command==="serve";return{appType:"spa",root:projectDir,base:basePublicPath,publicDir:"public",envDir:ENV_DIR,envPrefix:[ENV_BUILD_PREFIX,ENV_APP_PREFIX],define:{__VEF_FRAMEWORK_VERSION__:`"${process.env.VEF_FRAMEWORK_VERSION}"`,__VEF_APP_VERSION__:`"${appVersion}"`,__VEF_APP_CONFIG__:isDev?`
|
|
2
2
|
(function () {
|
|
3
3
|
const env = import.meta.env;
|
|
4
4
|
const config = Object.keys(env).filter(key => key.startsWith(${JSON.stringify(ENV_APP_PREFIX)}))
|
package/es/plugin-eslint.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import eslint from"vite-plugin-eslint2";function createEslintPlugin(){return eslint({fix:!0,test:!1,dev:!0,build:!1,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})}/*! 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 */export{createEslintPlugin};
|
package/es/plugin-html.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import{minify}from"html-minifier-terser";const virtualModuleId="index.html",htmlContent=`
|
|
2
2
|
<!doctype html>
|
|
3
3
|
<html lang="en">
|
|
4
4
|
<head>
|
package/es/plugin-icons.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import{resolve,dirname}from"node:path";import{fileURLToPath}from"node:url";import icons from"unplugin-icons/vite";function createIconsPlugin(projectDir){return icons({autoInstall:!1,compiler:"jsx",jsx:"react",defaultClass:"inline-block",scale:1.2,collectionsNodeResolvePath:[projectDir,resolve(dirname(fileURLToPath(import.meta.url)),"..")]})}/*! 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 */export{createIconsPlugin};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import monaco_theme_github_light_default from"./json/monaco.theme.github-light.json.js";const virtualModuleId="vef:initialization",resolvedVirtualModuleId=`\0${virtualModuleId}`;function createInitializationPlugin(){return{name:"vef-framework:initialization",resolveId(id){if(id===virtualModuleId)return resolvedVirtualModuleId},load(id){if(id===resolvedVirtualModuleId)return`import { loader } from "@monaco-editor/react";
|
|
2
2
|
import * as monaco from "monaco-editor";
|
|
3
3
|
import EditorWorker from "monaco-editor/esm/vs/editor/editor.worker?worker";
|
|
4
4
|
import CssWorker from "monaco-editor/esm/vs/language/css/css.worker?worker";
|
package/es/plugin-injection.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import{basename,dirname}from"node:path";function createInjectionPlugin(){return{name:"vef-framework:injection",transform(code,id){return basename(dirname(id))==="src"&&basename(id).startsWith("main.ts")?`import "vef:tailwind.css";
|
|
2
2
|
${code}`:null}}}/*! 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 */export{createInjectionPlugin};
|
package/es/plugin-inspect.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import inspect from"vite-plugin-inspect";function createInspectPlugin(){return inspect({dev:!0,build:!1})}/*! 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 */export{createInspectPlugin};
|
package/es/plugin-monaco-nls.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import{readFile}from"node:fs/promises";import monaco_nls_default from"./json/monaco.nls.json.js";const nlsRegex=/monaco-editor[/\\]esm[/\\]vs[/\\]nls\.js/,nlsPathRegex=/monaco-editor[/\\]esm[/\\](?<path>.+)\.js/,localizeFnInvocationRegex=/localize\(/g;function createMonacoNlsEsbuildPlugin(){return{name:"vef-framework:monaco-editor-nls",setup(build){build.onLoad({filter:nlsRegex},()=>({contents:buildNlsCode(),loader:"js"})),build.onLoad({filter:nlsPathRegex},async({path})=>({contents:transformLocalizeFnInvocationCode(path,await readFile(path.split("?")[0],"utf8")),loader:"js"}))}}}function createMonacoNlsRollupPlugin(){return{name:"vef-framework:monaco-editor-nls",enforce:"pre",load(id){if(nlsRegex.test(id))return buildNlsCode()},transform(code,id){if(!nlsRegex.test(id))return{code:transformLocalizeFnInvocationCode(id,code),map:null}}}}function transformLocalizeFnInvocationCode(file,code){const match=nlsPathRegex.exec(file);if(match){const path=match.groups.path.replace(/\\/g,"/");return code.replace(localizeFnInvocationRegex,`localize('${path}', `)}return code}function buildNlsCode(){return`/*---------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*
|
package/es/plugin-react-swc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import react from"@vitejs/plugin-react-swc";function createReactSwcPlugin(){return react({devTarget:"esnext"})}/*! 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 */export{createReactSwcPlugin};
|
package/es/plugin-router.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import{TanStackRouterVite}from"@tanstack/router-plugin/vite";import{resolve}from"node:path";import{SRC_DIR,ROUTER_DIR,PAGES_DIR}from"./constants.js";function createRouterPlugin(projectDir,history="hash",autoCodeSplitting){return TanStackRouterVite({routesDirectory:resolve(projectDir,SRC_DIR,PAGES_DIR),generatedRouteTree:resolve(projectDir,SRC_DIR,ROUTER_DIR,"router.gen.ts"),quoteStyle:"double",semicolons:!0,disableTypes:!1,addExtensions:!1,disableLogging:!1,disableManifestGeneration:!1,routeFileIgnorePattern:"components",indexToken:"index",routeToken:"route",enableRouteGeneration:!0,autoCodeSplitting,routeTreeFileHeader:["/* eslint-disable */","// @ts-nocheck","// noinspection JSUnusedGlobalSymbols",'import { createRouter } from "@vef-framework/starter";'],routeTreeFileFooter:[`const router = createRouter({
|
|
2
2
|
routeTree,
|
|
3
3
|
history: "${history}",
|
|
4
4
|
});
|
package/es/plugin-stylelint.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import stylelint from"vite-plugin-stylelint";function createStylelintPlugin(){return stylelint({fix:!0,test:!1,dev:!0,build:!1,cache:!0,cacheLocation:"node_modules/.cache/.stylelintcache",include:["src/**/*.{scss,css}"],exclude:["node_modules","virtual:","vef:"],emitError:!0,emitWarning:!0,emitWarningAsError:!0})}/*! 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 */export{createStylelintPlugin};
|
package/es/plugin-svgr.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import svgr from"vite-plugin-svgr";function createSvgrPlugin(){return svgr({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:{}}})}/*! 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 */export{createSvgrPlugin};
|
package/es/plugin-tailwind.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import tailwindcss from"@tailwindcss/vite";function createTailwindPlugin(){return tailwindcss()}/*! 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 */export{createTailwindPlugin};
|
package/es/plugin-tailwindcss.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */const virtualModuleId="vef:tailwind.css",resolvedVirtualModuleId=`\0${virtualModuleId}`;function createTailwindcssPlugin(){return{name:"vef-framework:tailwindcss",resolveId(id){if(id===virtualModuleId)return resolvedVirtualModuleId},load(id){if(id===resolvedVirtualModuleId)return`@import "tailwindcss";
|
|
2
2
|
@config "./tailwind.config.js";`}}}/*! 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 */export{createTailwindcssPlugin};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import tsconfigPaths from"vite-tsconfig-paths";function createTsconfigPathsPlugin(projectDir){return tsconfigPaths({root:projectDir})}/*! 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 */export{createTsconfigPathsPlugin};
|
package/es/plugin-visualizer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import{visualizer}from"rollup-plugin-visualizer";function createVisualizerPlugin(projectDir){return visualizer({filename:"dist/stats.html",title:"Building Visualizer",projectRoot:projectDir})}/*! 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 */export{createVisualizerPlugin};
|
package/es/plugin-webfont.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import webfont from"vite-plugin-webfont-dl";function createWebfontPlugin(){return webfont(["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"])}/*! 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 */export{createWebfontPlugin};
|
package/es/stylelint-config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import propertyGroups from"stylelint-config-recess-order/groups";function defineStylelintConfig(){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":propertyGroups.map(group=>({...group,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:["config"]}]}}}/*! 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 */export{defineStylelintConfig};
|
package/es/tailwind-config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.116, build time: 2025-03-10T07:29:23.638Z, made by Venus. */import containerQueries from"@tailwindcss/container-queries";import colors from"tailwindcss/colors";function defineTailwindConfig(){return{content:["./src/**/*.{ts,tsx}"],plugins:[containerQueries],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:colors.slate[500],1:colors.slate[50],2:colors.slate[100],3:colors.slate[200],4:colors.slate[300],5:colors.slate[400],6:colors.slate[500],7:colors.slate[600],8:colors.slate[700],9:colors.slate[800],10:colors.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)"}}}}}/*! 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 */export{defineTailwindConfig};
|
|
1
|
+
/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */import containerQueries from"@tailwindcss/container-queries";import colors from"tailwindcss/colors";function defineTailwindConfig(){return{content:["./src/**/*.{ts,tsx}"],plugins:[containerQueries],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:colors.slate[500],1:colors.slate[50],2:colors.slate[100],3:colors.slate[200],4:colors.slate[300],5:colors.slate[400],6:colors.slate[500],7:colors.slate[600],8:colors.slate[700],9:colors.slate[800],10:colors.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)"}}}}}/*! 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 */export{defineTailwindConfig};
|
package/lib/cli.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod));/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */const chalk=require("chalk"),commander=require("commander"),consola=require("consola"),execa=require("execa"),fsExtra=require("fs-extra"),node_path=require("node:path"),process=require("node:process"),ora=require("ora"),prompts=require("prompts"),vite=require("vite"),{exists,readJsonSync,writeFile,readJson,writeJson,copy,readFile,move}=fsExtra,currentDir=process.cwd();function readPackageVersion(){const packageJsonPath=node_path.resolve(void 0,"../package.json");return readJsonSync(packageJsonPath,{encoding:"utf-8"}).version}const frameworkVersion=readPackageVersion();async function importHoistPatterns(){return(await import("../bin/hoist-patterns.js")).default}function resolveEnvMode(command,userMode){return userMode||(command==="build"?"production":"development")}async function loadVefConfig(configPath,command,mode){const vefConfigPath=node_path.resolve(currentDir,configPath||"vef.config.ts");if(!await exists(vefConfigPath))throw consola.error(`Config file not found: ${vefConfigPath}, it is required for VEF Framework`),new Error(`Config file not found: ${vefConfigPath}`);return(await vite.loadConfigFromFile({command,mode},vefConfigPath))?.config??{}}function handleError(phase,error){consola.error(`Error during ${phase}:`,error),process.exit(1)}commander.program.name("vef").description(chalk.magenta("VEF Framework CLI")).addHelpText("before",chalk.blue("VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus.")).addHelpText("before",chalk.bgGreenBright(`Version: ${frameworkVersion}`)).version(frameworkVersion).option("--mode <mode>","Specify running mode (will override default NODE_ENV)"),commander.program.command("dev").description("Start dev server").option("-c, --config <file>","Specify vef config file","vef.config.ts").action(async options=>{try{const mode=resolveEnvMode("serve",commander.program.opts().mode);process.env.NODE_ENV=mode,process.env.VEF_FRAMEWORK_VERSION=frameworkVersion;const config=await loadVefConfig(options.config,"serve",mode),server=await vite.createServer({...config,mode,configFile:!1,logLevel:"info"});await server.listen(),server.printUrls(),server.bindCLIShortcuts({print:!0})}catch(e){handleError("dev server startup",e)}}),commander.program.command("build").description("Build for production").option("-c, --config <file>","Specify vef config file","vef.config.ts").action(async options=>{try{const mode=resolveEnvMode("build",commander.program.opts().mode);process.env.NODE_ENV=mode,process.env.VEF_FRAMEWORK_VERSION=frameworkVersion;const config=await loadVefConfig(options.config,"build",mode);await vite.build({...config,mode,configFile:!1,logLevel:"info"}),consola.success("Build completed successfully!")}catch(e){handleError("build",e)}}),commander.program.command("preview").description("Preview the build").option("-c, --config <file>","Specify vef config file","vef.config.ts").action(async options=>{try{const mode=resolveEnvMode("build",commander.program.opts().mode);process.env.NODE_ENV=mode,process.env.VEF_FRAMEWORK_VERSION=frameworkVersion;const config=await loadVefConfig(options.config,"build",mode),server=await vite.preview({...config,mode,configFile:!1,logLevel:"info"});server.printUrls(),server.bindCLIShortcuts({print:!0})}catch(e){handleError("preview server startup",e)}}),commander.program.command("prepare").description("Sets up the project for development mode").action(async()=>{await exists(node_path.resolve(currentDir,".husky"))||((await import("husky")).default(),consola.success("Successfully set up husky")),await exists(node_path.resolve(currentDir,".husky/pre-commit"))||(await writeFile(node_path.resolve(currentDir,".husky/pre-commit"),"pnpm dlx lint-staged"),consola.success("Successfully set up pre-commit hook")),await exists(node_path.resolve(currentDir,".husky/commit-msg"))||(await writeFile(node_path.resolve(currentDir,".husky/commit-msg"),"pnpm dlx commitlint --edit $1"),consola.success("Successfully set up commit-msg hook"));const packageJson=await readJson(node_path.resolve(currentDir,"package.json"),{encoding:"utf-8"}),{scripts}=packageJson;let changed=!1;scripts.prepare||(scripts.prepare="vef prepare",changed=!0),changed&&(await writeJson(node_path.resolve(currentDir,"package.json"),packageJson,{encoding:"utf-8",spaces:2}),consola.success("Successfully set up prepare script and lint-staged"))}),commander.program.command("install").description("Install the dependencies of the project").action(async()=>{const hoistedPatterns=await importHoistPatterns();await execa.execa({cwd:currentDir,stdio:"inherit"})("pnpm",["install",...hoistedPatterns.flatMap(pattern=>["--public-hoist-pattern",pattern])])}),commander.program.command("update").description("Update the dependencies of the vef framework to latest version").action(async()=>{await execa.execa({cwd:currentDir,stdio:"inherit"})("pnpm",["update","@vef-framework/*"])}),commander.program.command("init").description("Initialize an empty VEF project").action(async()=>{console.log(chalk.blue(`Welcome to use the cli tool of VEF Framework
|
|
2
2
|
`));const result=await prompts([{type:"text",name:"appName",message:"What is the name of your app?",validate:value=>typeof value=="string"&&value.trim().length>0?!0:"App name is required"},{type:"text",name:"appTitle",message:"What is the title of your app?",validate:value=>typeof value=="string"&&value.trim().length>0?!0:"App title is required"}]),{appName,appTitle}=result;await copy(node_path.resolve(void 0,"../template"),node_path.resolve(currentDir,appName)),consola.success("Successfully copied template files"),await move(node_path.resolve(currentDir,appName,"_gitignore"),node_path.resolve(currentDir,appName,".gitignore")),await move(node_path.resolve(currentDir,appName,"_tsconfig.json"),node_path.resolve(currentDir,appName,"tsconfig.json")),await move(node_path.resolve(currentDir,appName,"_package.json"),node_path.resolve(currentDir,appName,"package.json"));const packageJson=await readJson(node_path.resolve(currentDir,appName,"package.json"),{encoding:"utf-8"});packageJson.name=appName,await writeJson(node_path.resolve(currentDir,appName,"package.json"),packageJson,{encoding:"utf-8",spaces:2}),consola.success("Successfully replaced name and title in package.json");const replacedEnvContent=(await readFile(node_path.resolve(currentDir,appName,"env/.env"),{encoding:"utf-8"})).replace(/APP_NAME=.*$/m,`APP_NAME=${appName}`).replace(/APP_TITLE=.*$/m,`APP_TITLE=${appTitle}`);await writeFile(node_path.resolve(currentDir,appName,"env/.env"),replacedEnvContent),consola.success("Successfully replaced name and title in .env file");const spinner=ora("Initializing git repository...").start();try{await execa.execa`git --version`,await execa.execa({cwd:node_path.resolve(currentDir,appName)})`git init`,spinner.succeed("Successfully initialized git repository")}catch(e){spinner.fail("Failed to initialize git repository"),handleError("init",e)}spinner.start("Installing dependencies...");try{const hoistedPatterns=await importHoistPatterns();await execa.execa({cwd:node_path.resolve(currentDir,appName)})("pnpm",["install",...hoistedPatterns.flatMap(pattern=>["--public-hoist-pattern",pattern])]),spinner.succeed("Successfully installed dependencies")}catch(e){spinner.fail("Failed to install dependencies"),handleError("init",e)}consola.success(chalk.green(`
|
|
3
3
|
🎉🎉🎉 VEF project created successfully !`)),console.log(chalk.blue(`
|
|
4
4
|
✨ Next steps:`)),console.log(chalk.cyan(` cd ${appName}`)),console.log(chalk.cyan(" pnpm dev"))}),commander.program.parse();/*! 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 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function defineCommitlintConfig(){return{extends:["@commitlint/config-conventional"],formatter:"@commitlint/format"}}exports.defineCommitlintConfig=defineCommitlintConfig;/*! 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/lib/config.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const consola=require("consola"),fsExtra=require("fs-extra"),node_path=require("node:path"),vite=require("vite"),constants=require("./constants.cjs"),pluginAppConfig=require("./plugin-app-config.cjs"),pluginConventionalConfig=require("./plugin-conventional-config.cjs"),pluginEslint=require("./plugin-eslint.cjs"),pluginHtml=require("./plugin-html.cjs"),pluginIcons=require("./plugin-icons.cjs"),pluginInitialization=require("./plugin-initialization.cjs"),pluginInjection=require("./plugin-injection.cjs"),pluginInspect=require("./plugin-inspect.cjs"),pluginMonacoNls=require("./plugin-monaco-nls.cjs"),pluginReactSwc=require("./plugin-react-swc.cjs"),pluginRouter=require("./plugin-router.cjs"),pluginStylelint=require("./plugin-stylelint.cjs"),pluginSvgr=require("./plugin-svgr.cjs"),pluginTailwind=require("./plugin-tailwind.cjs"),pluginTailwindcss=require("./plugin-tailwindcss.cjs"),pluginTsconfigPaths=require("./plugin-tsconfig-paths.cjs"),pluginVisualizer=require("./plugin-visualizer.cjs"),pluginWebfont=require("./plugin-webfont.cjs"),{readJson}=fsExtra;function defineConfig({projectDir,proxies,visualizer=!1,routerHistory="browser",autoCodeSplitting=!0}){return vite.defineConfig(async({mode,command})=>{const env=vite.loadEnv(mode,constants.ENV_DIR,constants.ENV_BUILD_PREFIX);Object.keys(env).length>0&&(consola.info("Loaded environment variables:"),console.table(env));const appVersion=await getAppVersion(projectDir);return{plugins:[...command==="build"?[pluginMonacoNls.createMonacoNlsRollupPlugin()]:[],pluginInspect.createInspectPlugin(),pluginConventionalConfig.createConventionalConfigPlugin({appVersion,projectDir,basePublicPath:env.VEF_BUILD_BASE_PUBLIC_PATH,outputDir:env.VEF_BUILD_OUTPUT_DIR,serverPort:Number(env.VEF_BUILD_SERVER_PORT),proxies}),pluginReactSwc.createReactSwcPlugin(),pluginTsconfigPaths.createTsconfigPathsPlugin(projectDir),pluginHtml.createHtmlPlugin(),pluginTailwind.createTailwindPlugin(),pluginTailwindcss.createTailwindcssPlugin(),pluginInjection.createInjectionPlugin(),pluginAppConfig.createAppConfigPlugin({basePublicPath:env.VEF_BUILD_BASE_PUBLIC_PATH,outputDir:env.VEF_BUILD_OUTPUT_DIR,appName:env.VEF_APP_NAME}),pluginInitialization.createInitializationPlugin(),pluginIcons.createIconsPlugin(projectDir),pluginSvgr.createSvgrPlugin(),pluginWebfont.createWebfontPlugin(),pluginRouter.createRouterPlugin(projectDir,routerHistory,autoCodeSplitting),pluginEslint.createEslintPlugin(),pluginStylelint.createStylelintPlugin(),visualizer?pluginVisualizer.createVisualizerPlugin(projectDir):void 0].filter(Boolean)}})}async function getAppVersion(projectDir){return(await readJson(node_path.resolve(projectDir,"package.json"),{encoding:"utf-8"})).version}exports.defineConfig=defineConfig;/*! 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/lib/constants.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const PUBLIC_DIR="public",ENV_DIR="env",ASSETS_DIR="assets",ENV_APP_PREFIX="VEF_APP_",ENV_BUILD_PREFIX="VEF_BUILD_",SRC_DIR="src",DEFAULT_OUTPUT_DIR="dist",DEFAULT_SERVER_PORT=3833,DEFAULT_APP_NAME="APP",PAGES_DIR="pages",ROUTER_DIR="router";exports.ASSETS_DIR=ASSETS_DIR,exports.DEFAULT_APP_NAME=DEFAULT_APP_NAME,exports.DEFAULT_OUTPUT_DIR=DEFAULT_OUTPUT_DIR,exports.DEFAULT_SERVER_PORT=DEFAULT_SERVER_PORT,exports.ENV_APP_PREFIX=ENV_APP_PREFIX,exports.ENV_BUILD_PREFIX=ENV_BUILD_PREFIX,exports.ENV_DIR=ENV_DIR,exports.PAGES_DIR=PAGES_DIR,exports.PUBLIC_DIR=PUBLIC_DIR,exports.ROUTER_DIR=ROUTER_DIR,exports.SRC_DIR=SRC_DIR;/*! 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/lib/eslint-config.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const eslintConfig=require("@antfu/eslint-config"),pluginRouter=require("@tanstack/eslint-plugin-router");function defineEslintConfig(){return eslintConfig.antfu({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:3}],"style/object-property-newline":"error","style/brace-style":["error","1tbs"],"style/arrow-parens":["error","as-needed"],"style/multiline-comment-style":["error","separate-lines",{checkJSDoc:!1}],"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":"off","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)"}],"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"}],"eslint-comments/no-unlimited-disable":"off"}},{ignores:["**/*.md","**/*.md/*.{ts,tsx}","**/src/pages/__root.{ts,tsx}"],rules:{"react-naming-convention/filename":["error",{rule:"kebab-case"}]}},...pluginRouter.configs["flat/recommended"])}exports.defineEslintConfig=defineEslintConfig;/*! 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/lib/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const commitlintConfig=require("./commitlint-config.cjs"),config=require("./config.cjs"),eslintConfig=require("./eslint-config.cjs"),stylelintConfig=require("./stylelint-config.cjs"),tailwindConfig=require("./tailwind-config.cjs");exports.defineCommitlintConfig=commitlintConfig.defineCommitlintConfig,exports.defineConfig=config.defineConfig,exports.defineEslintConfig=eslintConfig.defineEslintConfig,exports.defineStylelintConfig=stylelintConfig.defineStylelintConfig,exports.defineTailwindConfig=tailwindConfig.defineTailwindConfig;/*! 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,4 +1,4 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var monaco_nls_default=`{
|
|
2
2
|
"": [
|
|
3
3
|
"--------------------------------------------------------------------------------------------",
|
|
4
4
|
"Copyright (c) Microsoft Corporation. All rights reserved.",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var monaco_theme_github_light_default=`{
|
|
2
2
|
"base": "vs",
|
|
3
3
|
"inherit": true,
|
|
4
4
|
"rules": [
|
package/lib/modules.d.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. *//*! 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 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const radashi=require("radashi"),config=require("unplugin-config/vite"),constants=require("./constants.cjs");function constantCase(value){return radashi.snake(value).toUpperCase()}function createAppConfigPlugin({basePublicPath,outputDir,appName=constants.DEFAULT_APP_NAME}){return config({appName:`VEF_${constantCase(appName)}`,baseDir:basePublicPath,configFile:{generate:!0,fileName:"app.config.js",outputDir:outputDir??constants.DEFAULT_OUTPUT_DIR},htmlInjection:{enable:!0,position:"head-prepend",templates:["index.html"]},envVariables:{prefix:constants.ENV_APP_PREFIX,files:["env/.env","env/.env.production"]}})}exports.createAppConfigPlugin=createAppConfigPlugin;/*! 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,4 +1,4 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const process=require("node:process"),constants=require("./constants.cjs");function createConventionalConfigPlugin({appName,appVersion,basePublicPath,projectDir,outputDir,serverPort,proxies}){return{name:"vef-framework:conventional-config",config(_,{command}){const isDev=command==="serve";return{appType:"spa",root:projectDir,base:basePublicPath,publicDir:"public",envDir:constants.ENV_DIR,envPrefix:[constants.ENV_BUILD_PREFIX,constants.ENV_APP_PREFIX],define:{__VEF_FRAMEWORK_VERSION__:`"${process.env.VEF_FRAMEWORK_VERSION}"`,__VEF_APP_VERSION__:`"${appVersion}"`,__VEF_APP_CONFIG__:isDev?`
|
|
2
2
|
(function () {
|
|
3
3
|
const env = import.meta.env;
|
|
4
4
|
const config = Object.keys(env).filter(key => key.startsWith(${JSON.stringify(constants.ENV_APP_PREFIX)}))
|
package/lib/plugin-eslint.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const eslint=require("vite-plugin-eslint2");function createEslintPlugin(){return eslint({fix:!0,test:!1,dev:!0,build:!1,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})}exports.createEslintPlugin=createEslintPlugin;/*! 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/lib/plugin-html.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const htmlMinifierTerser=require("html-minifier-terser"),virtualModuleId="index.html",htmlContent=`
|
|
2
2
|
<!doctype html>
|
|
3
3
|
<html lang="en">
|
|
4
4
|
<head>
|
package/lib/plugin-icons.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const node_path=require("node:path"),node_url=require("node:url"),icons=require("unplugin-icons/vite");var _documentCurrentScript=typeof document<"u"?document.currentScript:null;function createIconsPlugin(projectDir){return icons({autoInstall:!1,compiler:"jsx",jsx:"react",defaultClass:"inline-block",scale:1.2,collectionsNodeResolvePath:[projectDir,node_path.resolve(node_path.dirname(node_url.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:_documentCurrentScript&&_documentCurrentScript.tagName.toUpperCase()==="SCRIPT"&&_documentCurrentScript.src||new URL("plugin-icons.cjs",document.baseURI).href)),"..")]})}exports.createIconsPlugin=createIconsPlugin;/*! 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,4 +1,4 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const monaco_theme_githubLight=require("./json/monaco.theme.github-light.json.cjs"),virtualModuleId="vef:initialization",resolvedVirtualModuleId=`\0${virtualModuleId}`;function createInitializationPlugin(){return{name:"vef-framework:initialization",resolveId(id){if(id===virtualModuleId)return resolvedVirtualModuleId},load(id){if(id===resolvedVirtualModuleId)return`import { loader } from "@monaco-editor/react";
|
|
2
2
|
import * as monaco from "monaco-editor";
|
|
3
3
|
import EditorWorker from "monaco-editor/esm/vs/editor/editor.worker?worker";
|
|
4
4
|
import CssWorker from "monaco-editor/esm/vs/language/css/css.worker?worker";
|
package/lib/plugin-injection.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const node_path=require("node:path");function createInjectionPlugin(){return{name:"vef-framework:injection",transform(code,id){return node_path.basename(node_path.dirname(id))==="src"&&node_path.basename(id).startsWith("main.ts")?`import "vef:tailwind.css";
|
|
2
2
|
${code}`:null}}}exports.createInjectionPlugin=createInjectionPlugin;/*! 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/lib/plugin-inspect.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const inspect=require("vite-plugin-inspect");function createInspectPlugin(){return inspect({dev:!0,build:!1})}exports.createInspectPlugin=createInspectPlugin;/*! 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,4 +1,4 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const promises=require("node:fs/promises"),monaco_nls=require("./json/monaco.nls.json.cjs"),nlsRegex=/monaco-editor[/\\]esm[/\\]vs[/\\]nls\.js/,nlsPathRegex=/monaco-editor[/\\]esm[/\\](?<path>.+)\.js/,localizeFnInvocationRegex=/localize\(/g;function createMonacoNlsEsbuildPlugin(){return{name:"vef-framework:monaco-editor-nls",setup(build){build.onLoad({filter:nlsRegex},()=>({contents:buildNlsCode(),loader:"js"})),build.onLoad({filter:nlsPathRegex},async({path})=>({contents:transformLocalizeFnInvocationCode(path,await promises.readFile(path.split("?")[0],"utf8")),loader:"js"}))}}}function createMonacoNlsRollupPlugin(){return{name:"vef-framework:monaco-editor-nls",enforce:"pre",load(id){if(nlsRegex.test(id))return buildNlsCode()},transform(code,id){if(!nlsRegex.test(id))return{code:transformLocalizeFnInvocationCode(id,code),map:null}}}}function transformLocalizeFnInvocationCode(file,code){const match=nlsPathRegex.exec(file);if(match){const path=match.groups.path.replace(/\\/g,"/");return code.replace(localizeFnInvocationRegex,`localize('${path}', `)}return code}function buildNlsCode(){return`/*---------------------------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*
|
package/lib/plugin-react-swc.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("@vitejs/plugin-react-swc");function createReactSwcPlugin(){return react({devTarget:"esnext"})}exports.createReactSwcPlugin=createReactSwcPlugin;/*! 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/lib/plugin-router.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const vite=require("@tanstack/router-plugin/vite"),node_path=require("node:path"),constants=require("./constants.cjs");function createRouterPlugin(projectDir,history="hash",autoCodeSplitting){return vite.TanStackRouterVite({routesDirectory:node_path.resolve(projectDir,constants.SRC_DIR,constants.PAGES_DIR),generatedRouteTree:node_path.resolve(projectDir,constants.SRC_DIR,constants.ROUTER_DIR,"router.gen.ts"),quoteStyle:"double",semicolons:!0,disableTypes:!1,addExtensions:!1,disableLogging:!1,disableManifestGeneration:!1,routeFileIgnorePattern:"components",indexToken:"index",routeToken:"route",enableRouteGeneration:!0,autoCodeSplitting,routeTreeFileHeader:["/* eslint-disable */","// @ts-nocheck","// noinspection JSUnusedGlobalSymbols",'import { createRouter } from "@vef-framework/starter";'],routeTreeFileFooter:[`const router = createRouter({
|
|
2
2
|
routeTree,
|
|
3
3
|
history: "${history}",
|
|
4
4
|
});
|
package/lib/plugin-stylelint.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const stylelint=require("vite-plugin-stylelint");function createStylelintPlugin(){return stylelint({fix:!0,test:!1,dev:!0,build:!1,cache:!0,cacheLocation:"node_modules/.cache/.stylelintcache",include:["src/**/*.{scss,css}"],exclude:["node_modules","virtual:","vef:"],emitError:!0,emitWarning:!0,emitWarningAsError:!0})}exports.createStylelintPlugin=createStylelintPlugin;/*! 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/lib/plugin-svgr.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const svgr=require("vite-plugin-svgr");function createSvgrPlugin(){return svgr({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:{}}})}exports.createSvgrPlugin=createSvgrPlugin;/*! 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/lib/plugin-tailwind.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const tailwindcss=require("@tailwindcss/vite");function createTailwindPlugin(){return tailwindcss()}exports.createTailwindPlugin=createTailwindPlugin;/*! 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,2 +1,2 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const virtualModuleId="vef:tailwind.css",resolvedVirtualModuleId=`\0${virtualModuleId}`;function createTailwindcssPlugin(){return{name:"vef-framework:tailwindcss",resolveId(id){if(id===virtualModuleId)return resolvedVirtualModuleId},load(id){if(id===resolvedVirtualModuleId)return`@import "tailwindcss";
|
|
2
2
|
@config "./tailwind.config.js";`}}}exports.createTailwindcssPlugin=createTailwindcssPlugin;/*! 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 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const tsconfigPaths=require("vite-tsconfig-paths");function createTsconfigPathsPlugin(projectDir){return tsconfigPaths({root:projectDir})}exports.createTsconfigPathsPlugin=createTsconfigPathsPlugin;/*! 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 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const rollupPluginVisualizer=require("rollup-plugin-visualizer");function createVisualizerPlugin(projectDir){return rollupPluginVisualizer.visualizer({filename:"dist/stats.html",title:"Building Visualizer",projectRoot:projectDir})}exports.createVisualizerPlugin=createVisualizerPlugin;/*! 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/lib/plugin-webfont.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const webfont=require("vite-plugin-webfont-dl");function createWebfontPlugin(){return webfont(["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"])}exports.createWebfontPlugin=createWebfontPlugin;/*! 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/lib/stylelint-config.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const propertyGroups=require("stylelint-config-recess-order/groups");function defineStylelintConfig(){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":propertyGroups.map(group=>({...group,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:["config"]}]}}}exports.defineStylelintConfig=defineStylelintConfig;/*! 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/lib/tailwind-config.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.116, build time: 2025-03-10T07:29:23.638Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const containerQueries=require("@tailwindcss/container-queries"),colors=require("tailwindcss/colors");function defineTailwindConfig(){return{content:["./src/**/*.{ts,tsx}"],plugins:[containerQueries],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:colors.slate[500],1:colors.slate[50],2:colors.slate[100],3:colors.slate[200],4:colors.slate[300],5:colors.slate[400],6:colors.slate[500],7:colors.slate[600],8:colors.slate[700],9:colors.slate[800],10:colors.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)"}}}}}exports.defineTailwindConfig=defineTailwindConfig;/*! 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
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const containerQueries=require("@tailwindcss/container-queries"),colors=require("tailwindcss/colors");function defineTailwindConfig(){return{content:["./src/**/*.{ts,tsx}"],plugins:[containerQueries],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:colors.slate[500],1:colors.slate[50],2:colors.slate[100],3:colors.slate[200],4:colors.slate[300],5:colors.slate[400],6:colors.slate[500],7:colors.slate[600],8:colors.slate[700],9:colors.slate[800],10:colors.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)"}}}}}exports.defineTailwindConfig=defineTailwindConfig;/*! 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/lib/types.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";/*! VefFramework version: 1.0.
|
|
1
|
+
"use strict";/*! VefFramework version: 1.0.117, build time: 2025-03-10T09:45:18.692Z, made by Venus. *//*! 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
package/template/_package.json
CHANGED
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@tanstack/react-router": "^1.0.0",
|
|
21
|
-
"@vef-framework/components": "1.0.
|
|
22
|
-
"@vef-framework/core": "1.0.
|
|
23
|
-
"@vef-framework/hooks": "1.0.
|
|
24
|
-
"@vef-framework/shared": "1.0.
|
|
25
|
-
"@vef-framework/starter": "1.0.
|
|
21
|
+
"@vef-framework/components": "1.0.117",
|
|
22
|
+
"@vef-framework/core": "1.0.117",
|
|
23
|
+
"@vef-framework/hooks": "1.0.117",
|
|
24
|
+
"@vef-framework/shared": "1.0.117",
|
|
25
|
+
"@vef-framework/starter": "1.0.117",
|
|
26
26
|
"react": "18.3.1",
|
|
27
27
|
"react-dom": "18.3.1",
|
|
28
28
|
"zod": "^3.0.0"
|