@razorwind/core 0.0.38 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{config-76inX2KE.d.cts → config-CVFAzcDD.d.cts} +2 -2
- package/dist/{config-76inX2KE.d.cts.map → config-CVFAzcDD.d.cts.map} +1 -1
- package/dist/{config-CWYJH70g.d.mts → config-CtL9jtYC.d.mts} +2 -2
- package/dist/config-CtL9jtYC.d.mts.map +1 -0
- package/dist/{index-BRN9L8Lx.d.cts → index-9Bnx1QG7.d.cts} +4 -4
- package/dist/{index-BRN9L8Lx.d.cts.map → index-9Bnx1QG7.d.cts.map} +1 -1
- package/dist/{index-Bmg0_4Yr.d.cts → index-BjSOzDOH.d.cts} +1 -1
- package/dist/{index-DB9GwBAG.d.mts → index-DM8vit-J.d.mts} +1 -1
- package/dist/{index-C0PpOx6h.d.mts → index-DeyC_Qhx.d.mts} +4 -4
- package/dist/{index-C0PpOx6h.d.mts.map → index-DeyC_Qhx.d.mts.map} +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/lib/tokens/index.d.cts +1 -1
- package/dist/lib/tokens/index.d.mts +1 -1
- package/dist/{plugin-CEq_6bcb.d.cts → plugin-BV2WnZwm.d.mts} +2 -2
- package/dist/plugin-BV2WnZwm.d.mts.map +1 -0
- package/dist/{plugin-w3-Ub3fa.d.mts → plugin-DNuqVQH8.d.cts} +2 -2
- package/dist/{plugin-CEq_6bcb.d.cts.map → plugin-DNuqVQH8.d.cts.map} +1 -1
- package/dist/plugin.d.cts +2 -2
- package/dist/plugin.d.mts +2 -2
- package/dist/schema/index.d.cts +2 -2
- package/dist/schema/index.d.mts +2 -2
- package/dist/{schema-BihaPsfF.d.cts → schema-CsbyELyn.d.cts} +10 -10
- package/dist/{schema-BihaPsfF.d.cts.map → schema-CsbyELyn.d.cts.map} +1 -1
- package/dist/{schema-BihaPsfF.d.mts → schema-CsbyELyn.d.mts} +10 -10
- package/dist/schema-CsbyELyn.d.mts.map +1 -0
- package/dist/utils/index.d.cts +2 -2
- package/dist/utils/index.d.mts +2 -2
- package/package.json +14 -14
- package/dist/config-CWYJH70g.d.mts.map +0 -1
- package/dist/plugin-w3-Ub3fa.d.mts.map +0 -1
- package/dist/schema-BihaPsfF.d.mts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Icons, f as Components, t as Schema } from "./schema-
|
|
1
|
+
import { a as Icons, f as Components, t as Schema } from "./schema-CsbyELyn.cjs";
|
|
2
2
|
import { PreprocessedTokens } from "style-dictionary";
|
|
3
3
|
import { Tokens } from "@power-plant/dtcg-schema";
|
|
4
4
|
import { EnvPaths } from "@stryke/env/get-env-paths";
|
|
@@ -201,4 +201,4 @@ type Config = RequiredKeys<UserConfig, "componentsPath" | "iconsPath" | "plugins
|
|
|
201
201
|
};
|
|
202
202
|
//#endregion
|
|
203
203
|
export { UserConfigFn as a, UserConfigParams as c, TokensPreprocessor as d, UserConfigExport as i, Plugin as l, Options as n, UserConfigFnObject as o, UserConfig as r, UserConfigFnPromise as s, Config as t, TokensParser as u };
|
|
204
|
-
//# sourceMappingURL=config-
|
|
204
|
+
//# sourceMappingURL=config-CVFAzcDD.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-
|
|
1
|
+
{"version":3,"file":"config-CVFAzcDD.d.cts","names":[],"sources":["../src/types/plugin.ts","../src/types/config.ts"],"mappings":";;;;;;;;;;;;;;;UAgCiB;EACf;EACA,SAAS;EACT,SAAS,qBAAqB;;;;;;;;;KAUpB;EAEN;EACA,eAAe,YAAY,uBAAuB;MAElD,YAAY,uBAAuB;;;;;;;;;UAUxB;;;;;;;EAOf;;;;;;EAOA,UAAU;;;;;;EAOV,gBAAgB;;;;;;;;EAShB,WAAW,MAAM,QAAQ,QAAQ,WAAW,aAAa;;;;;;;;EASzD,YACE,MAAM,QACN,QAAQ,WACL,aAAa,eAAe;;;;;;;;EASjC,YAAY,MAAM,QAAQ,QAAQ,WAAW;;;;UCtF9B;;;;;;;;;;;;;;;;;;EAkBf;;;;EAKA;;;;;;EAOA;;;;;;;;EASA;;;;;;EAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCA;;UAGe,mBAAmB;EAClC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAEA;EACA;EACA,SAAS,SAAS,eAAe;EACjC,aAAa;EACb,QAAQ;EACR,UAAU;;UAGK;EACf;EACA;;KAGU,sBAAsB,QAAQ,eAAe;KAC7C,uBACV,QAAQ,qBACL,QAAQ,aAAa;KACd,gBACV,QAAQ,qBACL,aAAa,eAAe,QAAQ,aAAa;KAC1C,mBACR,aACA,eACA,QAAQ,aAAa,gBACrB,qBACA,sBACA;KAEQ,SAAS,aACnB;EAGA;EACA,UAAU;IACR"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Icons, f as Components, t as Schema } from "./schema-
|
|
1
|
+
import { a as Icons, f as Components, t as Schema } from "./schema-CsbyELyn.mjs";
|
|
2
2
|
import { GeneratedDocument } from "@power-plant/core";
|
|
3
3
|
import { PreprocessedTokens } from "style-dictionary";
|
|
4
4
|
import { EnvPaths } from "@stryke/env/get-env-paths";
|
|
@@ -201,4 +201,4 @@ type Config = RequiredKeys<UserConfig, "componentsPath" | "iconsPath" | "plugins
|
|
|
201
201
|
};
|
|
202
202
|
//#endregion
|
|
203
203
|
export { UserConfigFn as a, UserConfigParams as c, TokensPreprocessor as d, UserConfigExport as i, Plugin as l, Options as n, UserConfigFnObject as o, UserConfig as r, UserConfigFnPromise as s, Config as t, TokensParser as u };
|
|
204
|
-
//# sourceMappingURL=config-
|
|
204
|
+
//# sourceMappingURL=config-CtL9jtYC.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-CtL9jtYC.d.mts","names":[],"sources":["../src/types/plugin.ts","../src/types/config.ts"],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Schema } from "./schema-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { l as Plugin, t as Config } from "./config-
|
|
1
|
+
import { t as Schema } from "./schema-CsbyELyn.cjs";
|
|
2
|
+
import "./index-BjSOzDOH.cjs";
|
|
3
|
+
import { l as Plugin, t as Config } from "./config-CVFAzcDD.cjs";
|
|
4
4
|
import { Tokens } from "@power-plant/dtcg-schema";
|
|
5
5
|
import { ExecutionContext } from "@power-plant/core";
|
|
6
6
|
import { Hooks, Parser, PreprocessedTokens } from "style-dictionary/types";
|
|
@@ -166,4 +166,4 @@ declare function registerRazorwindHooks(plugins?: Plugin[], target?: StyleDictio
|
|
|
166
166
|
declare const registerRazorwindParsers: typeof registerRazorwindHooks;
|
|
167
167
|
//#endregion
|
|
168
168
|
export { RazorwindParserName as C, TOKEN_PARSER_NAMES as D, TOKEN_FILE_EXTENSIONS as E, TYPE_PATH_HINTS as O, DEFAULT_TOKEN_PATH_CANDIDATES as S, TOKEN_DIRECTORY_GLOB as T, inferTypeFromPath as _, razorwindInferPreprocessor as a, normalizeTokenTree as b, LoadTokensOptions as c, loadTokensOrThrow as d, ResolveTokensPathOptions as f, InferredTokenType as g, themeKeyFromPath as h, getRazorwindPreprocessorHooks as i, LoadedTokens as l, resolveTokensSource as m, StyleDictionaryRegisterTarget as n, registerRazorwindHooks as o, ResolvedTokensSource as p, getRazorwindParserHooks as r, registerRazorwindParsers as s, RAZORWIND_INFER_PREPROCESSOR as t, loadTokens as u, inferValue as v, THEME_BASENAME_PATTERN as w, parseCssCustomProperties as x, nestFlatTokens as y };
|
|
169
|
-
//# sourceMappingURL=index-
|
|
169
|
+
//# sourceMappingURL=index-9Bnx1QG7.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-9Bnx1QG7.d.cts","names":[],"sources":["../src/lib/tokens/constants.ts","../src/lib/tokens/css.ts","../src/lib/tokens/infer.ts","../src/lib/tokens/resolve-path.ts","../src/lib/tokens/load.ts","../src/lib/tokens/parsers.ts"],"mappings":";;;;;;;;cAmBa;KAOD,8BAA8B;;cAG7B;;;;;cAsBA;;cAyBA;;cAGA,wBAAsB;;cAItB,iBAAiB;;;;;;;iBCvDd,yBACd,mBACC;;;KCgCS;;;;iBAmEI,kBACd,iBACC;;;;iBAiBa,WACd,cACA;EACG;EAAgB,OAAO;;;;;iBAsPZ,mBACd,gBACA;;;;;;;;iBA2Cc,eACd,MAAM,0BACL;;;UC9Zc;;;;EAIf;;;;EAKA;;;;EAKA,gBAAgB;;UAGD;;;;;;;EAOf;;;;EAKA;;;;EAKA;;;;;;;;;iBAyFc,oBACd,SAAS,2BACR;;;;iBAqFa,iBAAiB;;;UCzMhB,0BAA0B;;;;;;EAMzC;;KAGU,eAAe,SAAS,eAAe;;;;;;;;;iBA2I7B,WACpB,SAAS,iBAAiB,QAAQ,gBACjC,QAAQ;;;;;;;;;;iBAsCW,kBACpB,SAAS,iBAAiB,QAAQ,gBACjC,QAAQ;;;;cClME;;UAGI;EACf,iBAAiB,QAAQ;EACzB,uBAAuB;IACrB;IACA,qBAAqB;;;;iBAyET,2BAA2B,YAAY;;;;;iBAavC,2BACd,YAAY,qBACX;;iBAKa,iCAAiC,YAC/C;;;;;;;;;;iBAgBc,uBACd,UAAS,UACT,SAAQ;;;;cA6CG,iCAAwB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Schema } from "./schema-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { l as Plugin, t as Config } from "./config-
|
|
1
|
+
import { t as Schema } from "./schema-CsbyELyn.mjs";
|
|
2
|
+
import "./index-DM8vit-J.mjs";
|
|
3
|
+
import { l as Plugin, t as Config } from "./config-CtL9jtYC.mjs";
|
|
4
4
|
import { ExecutionContext } from "@power-plant/core";
|
|
5
5
|
import { Tokens } from "@power-plant/dtcg-schema";
|
|
6
6
|
import { Hooks, Parser, PreprocessedTokens } from "style-dictionary/types";
|
|
@@ -166,4 +166,4 @@ declare function registerRazorwindHooks(plugins?: Plugin[], target?: StyleDictio
|
|
|
166
166
|
declare const registerRazorwindParsers: typeof registerRazorwindHooks;
|
|
167
167
|
//#endregion
|
|
168
168
|
export { RazorwindParserName as C, TOKEN_PARSER_NAMES as D, TOKEN_FILE_EXTENSIONS as E, TYPE_PATH_HINTS as O, DEFAULT_TOKEN_PATH_CANDIDATES as S, TOKEN_DIRECTORY_GLOB as T, inferTypeFromPath as _, razorwindInferPreprocessor as a, normalizeTokenTree as b, LoadTokensOptions as c, loadTokensOrThrow as d, ResolveTokensPathOptions as f, InferredTokenType as g, themeKeyFromPath as h, getRazorwindPreprocessorHooks as i, LoadedTokens as l, resolveTokensSource as m, StyleDictionaryRegisterTarget as n, registerRazorwindHooks as o, ResolvedTokensSource as p, getRazorwindParserHooks as r, registerRazorwindParsers as s, RAZORWIND_INFER_PREPROCESSOR as t, loadTokens as u, inferValue as v, THEME_BASENAME_PATTERN as w, parseCssCustomProperties as x, nestFlatTokens as y };
|
|
169
|
-
//# sourceMappingURL=index-
|
|
169
|
+
//# sourceMappingURL=index-DeyC_Qhx.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-DeyC_Qhx.d.mts","names":[],"sources":["../src/lib/tokens/constants.ts","../src/lib/tokens/css.ts","../src/lib/tokens/infer.ts","../src/lib/tokens/resolve-path.ts","../src/lib/tokens/load.ts","../src/lib/tokens/parsers.ts"],"mappings":""}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as Icons, f as Components, t as Schema } from "./schema-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { a as UserConfigFn, c as UserConfigParams, d as TokensPreprocessor, i as UserConfigExport, l as Plugin, n as Options, o as UserConfigFnObject, r as UserConfig, s as UserConfigFnPromise, t as Config, u as TokensParser } from "./config-
|
|
4
|
-
import { t as definePlugin } from "./plugin-
|
|
5
|
-
import { C as RazorwindParserName, D as TOKEN_PARSER_NAMES, E as TOKEN_FILE_EXTENSIONS, O as TYPE_PATH_HINTS, S as DEFAULT_TOKEN_PATH_CANDIDATES, T as TOKEN_DIRECTORY_GLOB, _ as inferTypeFromPath, a as razorwindInferPreprocessor, b as normalizeTokenTree, c as LoadTokensOptions, d as loadTokensOrThrow, f as ResolveTokensPathOptions, g as InferredTokenType, h as themeKeyFromPath, i as getRazorwindPreprocessorHooks, l as LoadedTokens, m as resolveTokensSource, n as StyleDictionaryRegisterTarget, o as registerRazorwindHooks, p as ResolvedTokensSource, r as getRazorwindParserHooks, s as registerRazorwindParsers, t as RAZORWIND_INFER_PREPROCESSOR, u as loadTokens, v as inferValue, w as THEME_BASENAME_PATTERN, x as parseCssCustomProperties, y as nestFlatTokens } from "./index-
|
|
1
|
+
import { a as Icons, f as Components, t as Schema } from "./schema-CsbyELyn.cjs";
|
|
2
|
+
import "./index-BjSOzDOH.cjs";
|
|
3
|
+
import { a as UserConfigFn, c as UserConfigParams, d as TokensPreprocessor, i as UserConfigExport, l as Plugin, n as Options, o as UserConfigFnObject, r as UserConfig, s as UserConfigFnPromise, t as Config, u as TokensParser } from "./config-CVFAzcDD.cjs";
|
|
4
|
+
import { t as definePlugin } from "./plugin-DNuqVQH8.cjs";
|
|
5
|
+
import { C as RazorwindParserName, D as TOKEN_PARSER_NAMES, E as TOKEN_FILE_EXTENSIONS, O as TYPE_PATH_HINTS, S as DEFAULT_TOKEN_PATH_CANDIDATES, T as TOKEN_DIRECTORY_GLOB, _ as inferTypeFromPath, a as razorwindInferPreprocessor, b as normalizeTokenTree, c as LoadTokensOptions, d as loadTokensOrThrow, f as ResolveTokensPathOptions, g as InferredTokenType, h as themeKeyFromPath, i as getRazorwindPreprocessorHooks, l as LoadedTokens, m as resolveTokensSource, n as StyleDictionaryRegisterTarget, o as registerRazorwindHooks, p as ResolvedTokensSource, r as getRazorwindParserHooks, s as registerRazorwindParsers, t as RAZORWIND_INFER_PREPROCESSOR, u as loadTokens, v as inferValue, w as THEME_BASENAME_PATTERN, x as parseCssCustomProperties, y as nestFlatTokens } from "./index-9Bnx1QG7.cjs";
|
|
6
6
|
import StyleDictionary from "style-dictionary";
|
|
7
7
|
import { ExecutionContext, GeneratorConfig } from "@power-plant/core";
|
|
8
8
|
//#region src/lib/resolve-config.d.ts
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as Icons, f as Components, t as Schema } from "./schema-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { a as UserConfigFn, c as UserConfigParams, d as TokensPreprocessor, i as UserConfigExport, l as Plugin, n as Options, o as UserConfigFnObject, r as UserConfig, s as UserConfigFnPromise, t as Config, u as TokensParser } from "./config-
|
|
4
|
-
import { t as definePlugin } from "./plugin-
|
|
5
|
-
import { C as RazorwindParserName, D as TOKEN_PARSER_NAMES, E as TOKEN_FILE_EXTENSIONS, O as TYPE_PATH_HINTS, S as DEFAULT_TOKEN_PATH_CANDIDATES, T as TOKEN_DIRECTORY_GLOB, _ as inferTypeFromPath, a as razorwindInferPreprocessor, b as normalizeTokenTree, c as LoadTokensOptions, d as loadTokensOrThrow, f as ResolveTokensPathOptions, g as InferredTokenType, h as themeKeyFromPath, i as getRazorwindPreprocessorHooks, l as LoadedTokens, m as resolveTokensSource, n as StyleDictionaryRegisterTarget, o as registerRazorwindHooks, p as ResolvedTokensSource, r as getRazorwindParserHooks, s as registerRazorwindParsers, t as RAZORWIND_INFER_PREPROCESSOR, u as loadTokens, v as inferValue, w as THEME_BASENAME_PATTERN, x as parseCssCustomProperties, y as nestFlatTokens } from "./index-
|
|
1
|
+
import { a as Icons, f as Components, t as Schema } from "./schema-CsbyELyn.mjs";
|
|
2
|
+
import "./index-DM8vit-J.mjs";
|
|
3
|
+
import { a as UserConfigFn, c as UserConfigParams, d as TokensPreprocessor, i as UserConfigExport, l as Plugin, n as Options, o as UserConfigFnObject, r as UserConfig, s as UserConfigFnPromise, t as Config, u as TokensParser } from "./config-CtL9jtYC.mjs";
|
|
4
|
+
import { t as definePlugin } from "./plugin-BV2WnZwm.mjs";
|
|
5
|
+
import { C as RazorwindParserName, D as TOKEN_PARSER_NAMES, E as TOKEN_FILE_EXTENSIONS, O as TYPE_PATH_HINTS, S as DEFAULT_TOKEN_PATH_CANDIDATES, T as TOKEN_DIRECTORY_GLOB, _ as inferTypeFromPath, a as razorwindInferPreprocessor, b as normalizeTokenTree, c as LoadTokensOptions, d as loadTokensOrThrow, f as ResolveTokensPathOptions, g as InferredTokenType, h as themeKeyFromPath, i as getRazorwindPreprocessorHooks, l as LoadedTokens, m as resolveTokensSource, n as StyleDictionaryRegisterTarget, o as registerRazorwindHooks, p as ResolvedTokensSource, r as getRazorwindParserHooks, s as registerRazorwindParsers, t as RAZORWIND_INFER_PREPROCESSOR, u as loadTokens, v as inferValue, w as THEME_BASENAME_PATTERN, x as parseCssCustomProperties, y as nestFlatTokens } from "./index-DeyC_Qhx.mjs";
|
|
6
6
|
import { ExecutionContext, GeneratorConfig } from "@power-plant/core";
|
|
7
7
|
import StyleDictionary from "style-dictionary";
|
|
8
8
|
//#region src/lib/resolve-config.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as RazorwindParserName, D as TOKEN_PARSER_NAMES, E as TOKEN_FILE_EXTENSIONS, O as TYPE_PATH_HINTS, S as DEFAULT_TOKEN_PATH_CANDIDATES, T as TOKEN_DIRECTORY_GLOB, _ as inferTypeFromPath, a as razorwindInferPreprocessor, b as normalizeTokenTree, c as LoadTokensOptions, d as loadTokensOrThrow, f as ResolveTokensPathOptions, g as InferredTokenType, h as themeKeyFromPath, i as getRazorwindPreprocessorHooks, l as LoadedTokens, m as resolveTokensSource, n as StyleDictionaryRegisterTarget, o as registerRazorwindHooks, p as ResolvedTokensSource, r as getRazorwindParserHooks, s as registerRazorwindParsers, t as RAZORWIND_INFER_PREPROCESSOR, u as loadTokens, v as inferValue, w as THEME_BASENAME_PATTERN, x as parseCssCustomProperties, y as nestFlatTokens } from "../../index-
|
|
1
|
+
import { C as RazorwindParserName, D as TOKEN_PARSER_NAMES, E as TOKEN_FILE_EXTENSIONS, O as TYPE_PATH_HINTS, S as DEFAULT_TOKEN_PATH_CANDIDATES, T as TOKEN_DIRECTORY_GLOB, _ as inferTypeFromPath, a as razorwindInferPreprocessor, b as normalizeTokenTree, c as LoadTokensOptions, d as loadTokensOrThrow, f as ResolveTokensPathOptions, g as InferredTokenType, h as themeKeyFromPath, i as getRazorwindPreprocessorHooks, l as LoadedTokens, m as resolveTokensSource, n as StyleDictionaryRegisterTarget, o as registerRazorwindHooks, p as ResolvedTokensSource, r as getRazorwindParserHooks, s as registerRazorwindParsers, t as RAZORWIND_INFER_PREPROCESSOR, u as loadTokens, v as inferValue, w as THEME_BASENAME_PATTERN, x as parseCssCustomProperties, y as nestFlatTokens } from "../../index-9Bnx1QG7.cjs";
|
|
2
2
|
export { DEFAULT_TOKEN_PATH_CANDIDATES, type InferredTokenType, type LoadTokensOptions, type LoadedTokens, RAZORWIND_INFER_PREPROCESSOR, type RazorwindParserName, type ResolveTokensPathOptions, type ResolvedTokensSource, type StyleDictionaryRegisterTarget, THEME_BASENAME_PATTERN, TOKEN_DIRECTORY_GLOB, TOKEN_FILE_EXTENSIONS, TYPE_PATH_HINTS, TOKEN_PARSER_NAMES as WINDIE_PARSERS, TOKEN_PARSER_NAMES as razorwindParsers, getRazorwindParserHooks, getRazorwindPreprocessorHooks, inferTypeFromPath, inferValue, loadTokens, loadTokensOrThrow, nestFlatTokens, normalizeTokenTree, parseCssCustomProperties, razorwindInferPreprocessor, registerRazorwindHooks, registerRazorwindParsers, resolveTokensSource, themeKeyFromPath };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as RazorwindParserName, D as TOKEN_PARSER_NAMES, E as TOKEN_FILE_EXTENSIONS, O as TYPE_PATH_HINTS, S as DEFAULT_TOKEN_PATH_CANDIDATES, T as TOKEN_DIRECTORY_GLOB, _ as inferTypeFromPath, a as razorwindInferPreprocessor, b as normalizeTokenTree, c as LoadTokensOptions, d as loadTokensOrThrow, f as ResolveTokensPathOptions, g as InferredTokenType, h as themeKeyFromPath, i as getRazorwindPreprocessorHooks, l as LoadedTokens, m as resolveTokensSource, n as StyleDictionaryRegisterTarget, o as registerRazorwindHooks, p as ResolvedTokensSource, r as getRazorwindParserHooks, s as registerRazorwindParsers, t as RAZORWIND_INFER_PREPROCESSOR, u as loadTokens, v as inferValue, w as THEME_BASENAME_PATTERN, x as parseCssCustomProperties, y as nestFlatTokens } from "../../index-
|
|
1
|
+
import { C as RazorwindParserName, D as TOKEN_PARSER_NAMES, E as TOKEN_FILE_EXTENSIONS, O as TYPE_PATH_HINTS, S as DEFAULT_TOKEN_PATH_CANDIDATES, T as TOKEN_DIRECTORY_GLOB, _ as inferTypeFromPath, a as razorwindInferPreprocessor, b as normalizeTokenTree, c as LoadTokensOptions, d as loadTokensOrThrow, f as ResolveTokensPathOptions, g as InferredTokenType, h as themeKeyFromPath, i as getRazorwindPreprocessorHooks, l as LoadedTokens, m as resolveTokensSource, n as StyleDictionaryRegisterTarget, o as registerRazorwindHooks, p as ResolvedTokensSource, r as getRazorwindParserHooks, s as registerRazorwindParsers, t as RAZORWIND_INFER_PREPROCESSOR, u as loadTokens, v as inferValue, w as THEME_BASENAME_PATTERN, x as parseCssCustomProperties, y as nestFlatTokens } from "../../index-DeyC_Qhx.mjs";
|
|
2
2
|
export { DEFAULT_TOKEN_PATH_CANDIDATES, type InferredTokenType, type LoadTokensOptions, type LoadedTokens, RAZORWIND_INFER_PREPROCESSOR, type RazorwindParserName, type ResolveTokensPathOptions, type ResolvedTokensSource, type StyleDictionaryRegisterTarget, THEME_BASENAME_PATTERN, TOKEN_DIRECTORY_GLOB, TOKEN_FILE_EXTENSIONS, TYPE_PATH_HINTS, TOKEN_PARSER_NAMES as WINDIE_PARSERS, TOKEN_PARSER_NAMES as razorwindParsers, getRazorwindParserHooks, getRazorwindPreprocessorHooks, inferTypeFromPath, inferValue, loadTokens, loadTokensOrThrow, nestFlatTokens, normalizeTokenTree, parseCssCustomProperties, razorwindInferPreprocessor, registerRazorwindHooks, registerRazorwindParsers, resolveTokensSource, themeKeyFromPath };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as Plugin } from "./config-
|
|
1
|
+
import { l as Plugin } from "./config-CtL9jtYC.mjs";
|
|
2
2
|
//#region src/plugin.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Type helper for Razorwind plugins (`parsers` / `preprocessors` + `extract` / `validate` / `generate`).
|
|
@@ -46,4 +46,4 @@ declare function definePlugin<TOptions>(factory: (options: TOptions) => Plugin,
|
|
|
46
46
|
declare function definePlugin(plugin: Plugin, overrides?: Partial<Plugin>): Plugin;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { definePlugin as t };
|
|
49
|
-
//# sourceMappingURL=plugin-
|
|
49
|
+
//# sourceMappingURL=plugin-BV2WnZwm.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-BV2WnZwm.d.mts","names":[],"sources":["../src/plugin.ts"],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as Plugin } from "./config-
|
|
1
|
+
import { l as Plugin } from "./config-CVFAzcDD.cjs";
|
|
2
2
|
//#region src/plugin.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Type helper for Razorwind plugins (`parsers` / `preprocessors` + `extract` / `validate` / `generate`).
|
|
@@ -46,4 +46,4 @@ declare function definePlugin<TOptions>(factory: (options: TOptions) => Plugin,
|
|
|
46
46
|
declare function definePlugin(plugin: Plugin, overrides?: Partial<Plugin>): Plugin;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { definePlugin as t };
|
|
49
|
-
//# sourceMappingURL=plugin-
|
|
49
|
+
//# sourceMappingURL=plugin-DNuqVQH8.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-
|
|
1
|
+
{"version":3,"file":"plugin-DNuqVQH8.d.cts","names":[],"sources":["../src/plugin.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiEgB,aAAa,UAC3B,UAAU,SAAS,aAAa,QAChC,YAAY,QAAQ,WAClB,UAAU,aAAa;iBACX,aACd,QAAQ,QACR,YAAY,QAAQ,UACnB"}
|
package/dist/plugin.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { d as TokensPreprocessor, l as Plugin, u as TokensParser } from "./config-
|
|
2
|
-
import { t as definePlugin } from "./plugin-
|
|
1
|
+
import { d as TokensPreprocessor, l as Plugin, u as TokensParser } from "./config-CVFAzcDD.cjs";
|
|
2
|
+
import { t as definePlugin } from "./plugin-DNuqVQH8.cjs";
|
|
3
3
|
export { type Plugin, type TokensParser, type TokensPreprocessor, definePlugin };
|
package/dist/plugin.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { d as TokensPreprocessor, l as Plugin, u as TokensParser } from "./config-
|
|
2
|
-
import { t as definePlugin } from "./plugin-
|
|
1
|
+
import { d as TokensPreprocessor, l as Plugin, u as TokensParser } from "./config-CtL9jtYC.mjs";
|
|
2
|
+
import { t as definePlugin } from "./plugin-BV2WnZwm.mjs";
|
|
3
3
|
export { type Plugin, type TokensParser, type TokensPreprocessor, definePlugin };
|
package/dist/schema/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as Icons, c as iconsSchema, d as ComponentUsage, f as Components, g as componentsSchema, h as componentUsageSchema, i as IconFile, l as Component, m as componentSchema, n as schema, o as iconFileSchema, p as componentFileSchema, r as Icon, s as iconSchema, t as Schema, u as ComponentFile } from "../schema-
|
|
2
|
-
import { i as tokensSchema, n as Tokens, r as tokenSchema, t as Token } from "../index-
|
|
1
|
+
import { a as Icons, c as iconsSchema, d as ComponentUsage, f as Components, g as componentsSchema, h as componentUsageSchema, i as IconFile, l as Component, m as componentSchema, n as schema, o as iconFileSchema, p as componentFileSchema, r as Icon, s as iconSchema, t as Schema, u as ComponentFile } from "../schema-CsbyELyn.cjs";
|
|
2
|
+
import { i as tokensSchema, n as Tokens, r as tokenSchema, t as Token } from "../index-BjSOzDOH.cjs";
|
|
3
3
|
export { type Component, type ComponentFile, type ComponentUsage, type Components, type Icon, type IconFile, type Icons, type Schema, type Token, type Tokens, componentFileSchema, componentSchema, componentUsageSchema, componentsSchema, iconFileSchema, iconSchema, iconsSchema, schema, tokenSchema, tokensSchema };
|
package/dist/schema/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as Icons, c as iconsSchema, d as ComponentUsage, f as Components, g as componentsSchema, h as componentUsageSchema, i as IconFile, l as Component, m as componentSchema, n as schema, o as iconFileSchema, p as componentFileSchema, r as Icon, s as iconSchema, t as Schema, u as ComponentFile } from "../schema-
|
|
2
|
-
import { i as tokensSchema, n as Tokens, r as tokenSchema, t as Token } from "../index-
|
|
1
|
+
import { a as Icons, c as iconsSchema, d as ComponentUsage, f as Components, g as componentsSchema, h as componentUsageSchema, i as IconFile, l as Component, m as componentSchema, n as schema, o as iconFileSchema, p as componentFileSchema, r as Icon, s as iconSchema, t as Schema, u as ComponentFile } from "../schema-CsbyELyn.mjs";
|
|
2
|
+
import { i as tokensSchema, n as Tokens, r as tokenSchema, t as Token } from "../index-DM8vit-J.mjs";
|
|
3
3
|
export { type Component, type ComponentFile, type ComponentUsage, type Components, type Icon, type IconFile, type Icons, type Schema, type Token, type Tokens, componentFileSchema, componentSchema, componentUsageSchema, componentsSchema, iconFileSchema, iconSchema, iconsSchema, schema, tokenSchema, tokensSchema };
|
|
@@ -4,14 +4,14 @@ import { Tokens } from "@power-plant/dtcg-schema";
|
|
|
4
4
|
declare const componentFileSchema: z$1.ZodObject<{
|
|
5
5
|
path: z$1.ZodString;
|
|
6
6
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7
|
+
lib: "lib";
|
|
7
8
|
block: "block";
|
|
8
9
|
component: "component";
|
|
9
10
|
ui: "ui";
|
|
10
|
-
page: "page";
|
|
11
|
-
file: "file";
|
|
12
|
-
lib: "lib";
|
|
13
11
|
hook: "hook";
|
|
14
12
|
theme: "theme";
|
|
13
|
+
page: "page";
|
|
14
|
+
file: "file";
|
|
15
15
|
style: "style";
|
|
16
16
|
base: "base";
|
|
17
17
|
font: "font";
|
|
@@ -70,14 +70,14 @@ declare const componentSchema: z$1.ZodObject<{
|
|
|
70
70
|
files: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
71
71
|
path: z$1.ZodString;
|
|
72
72
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
73
|
+
lib: "lib";
|
|
73
74
|
block: "block";
|
|
74
75
|
component: "component";
|
|
75
76
|
ui: "ui";
|
|
76
|
-
page: "page";
|
|
77
|
-
file: "file";
|
|
78
|
-
lib: "lib";
|
|
79
77
|
hook: "hook";
|
|
80
78
|
theme: "theme";
|
|
79
|
+
page: "page";
|
|
80
|
+
file: "file";
|
|
81
81
|
style: "style";
|
|
82
82
|
base: "base";
|
|
83
83
|
font: "font";
|
|
@@ -129,14 +129,14 @@ declare const componentsSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
|
129
129
|
files: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
130
130
|
path: z$1.ZodString;
|
|
131
131
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
132
|
+
lib: "lib";
|
|
132
133
|
block: "block";
|
|
133
134
|
component: "component";
|
|
134
135
|
ui: "ui";
|
|
135
|
-
page: "page";
|
|
136
|
-
file: "file";
|
|
137
|
-
lib: "lib";
|
|
138
136
|
hook: "hook";
|
|
139
137
|
theme: "theme";
|
|
138
|
+
page: "page";
|
|
139
|
+
file: "file";
|
|
140
140
|
style: "style";
|
|
141
141
|
base: "base";
|
|
142
142
|
font: "font";
|
|
@@ -260,4 +260,4 @@ interface Schema {
|
|
|
260
260
|
declare const schema: z.ZodType<Schema>;
|
|
261
261
|
//#endregion
|
|
262
262
|
export { Icons as a, iconsSchema as c, ComponentUsage as d, Components as f, componentsSchema as g, componentUsageSchema as h, IconFile as i, Component as l, componentSchema as m, schema as n, iconFileSchema as o, componentFileSchema as p, Icon as r, iconSchema as s, Schema as t, ComponentFile as u };
|
|
263
|
-
//# sourceMappingURL=schema-
|
|
263
|
+
//# sourceMappingURL=schema-CsbyELyn.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-
|
|
1
|
+
{"version":3,"file":"schema-CsbyELyn.d.cts","names":[],"sources":["../src/schema/components.ts","../src/schema/icons.ts","../src/schema/schema.ts"],"mappings":";;;cAoBa,qBAAmB,IAAA;;;;;;;;;;;;;;;;;;GAyB9B,IAAA,KAAA;KAEU,gBAAgB,IAAE,aAAa;;;;;;;;cAS9B,sBAAoB,IAAA;;;;;;;;;;;;;;;;;GAiB/B,IAAA,KAAA;KAEU,iBAAiB,IAAE,aAAa;cAE/B,iBAAe,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsB1B,IAAA,KAAA;KAEU,YAAY,IAAE,aAAa;cAE1B,kBAAgB,IAAA,UAAA,IAAA,WAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAwC,IAAA,KAAA;KAEzD,aAAa,IAAE,aAAa;;;cCrF3B,gBAAc,IAAA;;;;;;;;;;;;;;;GAkBzB,IAAA,KAAA;KAEU,WAAW,IAAE,aAAa;cAEzB,YAAU,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAarB,IAAA,KAAA;KAEU,OAAO,IAAE,aAAa;cAErB,aAAW,IAAA,UAAA,IAAA,WAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmC,IAAA,KAAA;KAE/C,QAAQ,IAAE,aAAa;;;UC9BlB;EACf;EACA;EACA;EACA;EACA;EACA;EACA,YAAY;EACZ,OAAO;EACP,QAAQ,SAAS,eAAe;;cAGrB,QAAQ,EAAE,QAAQ"}
|
|
@@ -4,14 +4,14 @@ import { Tokens } from "@power-plant/dtcg-schema";
|
|
|
4
4
|
declare const componentFileSchema: z$1.ZodObject<{
|
|
5
5
|
path: z$1.ZodString;
|
|
6
6
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7
|
+
lib: "lib";
|
|
7
8
|
block: "block";
|
|
8
9
|
component: "component";
|
|
9
10
|
ui: "ui";
|
|
10
|
-
page: "page";
|
|
11
|
-
file: "file";
|
|
12
|
-
lib: "lib";
|
|
13
11
|
hook: "hook";
|
|
14
12
|
theme: "theme";
|
|
13
|
+
page: "page";
|
|
14
|
+
file: "file";
|
|
15
15
|
style: "style";
|
|
16
16
|
base: "base";
|
|
17
17
|
font: "font";
|
|
@@ -70,14 +70,14 @@ declare const componentSchema: z$1.ZodObject<{
|
|
|
70
70
|
files: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
71
71
|
path: z$1.ZodString;
|
|
72
72
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
73
|
+
lib: "lib";
|
|
73
74
|
block: "block";
|
|
74
75
|
component: "component";
|
|
75
76
|
ui: "ui";
|
|
76
|
-
page: "page";
|
|
77
|
-
file: "file";
|
|
78
|
-
lib: "lib";
|
|
79
77
|
hook: "hook";
|
|
80
78
|
theme: "theme";
|
|
79
|
+
page: "page";
|
|
80
|
+
file: "file";
|
|
81
81
|
style: "style";
|
|
82
82
|
base: "base";
|
|
83
83
|
font: "font";
|
|
@@ -129,14 +129,14 @@ declare const componentsSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
|
129
129
|
files: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
130
130
|
path: z$1.ZodString;
|
|
131
131
|
type: z$1.ZodOptional<z$1.ZodEnum<{
|
|
132
|
+
lib: "lib";
|
|
132
133
|
block: "block";
|
|
133
134
|
component: "component";
|
|
134
135
|
ui: "ui";
|
|
135
|
-
page: "page";
|
|
136
|
-
file: "file";
|
|
137
|
-
lib: "lib";
|
|
138
136
|
hook: "hook";
|
|
139
137
|
theme: "theme";
|
|
138
|
+
page: "page";
|
|
139
|
+
file: "file";
|
|
140
140
|
style: "style";
|
|
141
141
|
base: "base";
|
|
142
142
|
font: "font";
|
|
@@ -260,4 +260,4 @@ interface Schema {
|
|
|
260
260
|
declare const schema: z.ZodType<Schema>;
|
|
261
261
|
//#endregion
|
|
262
262
|
export { Icons as a, iconsSchema as c, ComponentUsage as d, Components as f, componentsSchema as g, componentUsageSchema as h, IconFile as i, Component as l, componentSchema as m, schema as n, iconFileSchema as o, componentFileSchema as p, Icon as r, iconSchema as s, Schema as t, ComponentFile as u };
|
|
263
|
-
//# sourceMappingURL=schema-
|
|
263
|
+
//# sourceMappingURL=schema-CsbyELyn.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-CsbyELyn.d.mts","names":[],"sources":["../src/schema/components.ts","../src/schema/icons.ts","../src/schema/schema.ts"],"mappings":""}
|
package/dist/utils/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Schema } from "../schema-
|
|
2
|
-
import { n as Tokens } from "../index-
|
|
1
|
+
import { t as Schema } from "../schema-CsbyELyn.cjs";
|
|
2
|
+
import { n as Tokens } from "../index-BjSOzDOH.cjs";
|
|
3
3
|
import { GeneratorFunctionResult } from "@power-plant/core";
|
|
4
4
|
//#region src/utils/token-format.d.ts
|
|
5
5
|
/**
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Schema } from "../schema-
|
|
2
|
-
import { n as Tokens } from "../index-
|
|
1
|
+
import { t as Schema } from "../schema-CsbyELyn.mjs";
|
|
2
|
+
import { n as Tokens } from "../index-DM8vit-J.mjs";
|
|
3
3
|
import { GeneratorFunctionResult } from "@power-plant/core";
|
|
4
4
|
//#region src/utils/token-format.d.ts
|
|
5
5
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@razorwind/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.39",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "💨 Razorwind is a unified set of tools that make creating design systems a breeze.",
|
|
6
6
|
"keywords": ["razorwind", "storm-software"],
|
|
@@ -118,32 +118,32 @@
|
|
|
118
118
|
"typings": "dist/index.d.mts",
|
|
119
119
|
"files": ["dist"],
|
|
120
120
|
"dependencies": {
|
|
121
|
-
"@power-plant/core": "^0.0.
|
|
121
|
+
"@power-plant/core": "^0.0.84",
|
|
122
122
|
"@power-plant/dtcg-schema": "^0.0.1",
|
|
123
|
-
"@power-plant/schema": "^0.0.
|
|
124
|
-
"@power-plant/utils": "^0.0.
|
|
125
|
-
"@stryke/env": "^0.20.
|
|
126
|
-
"@stryke/fs": "^0.33.
|
|
127
|
-
"@stryke/path": "^0.29.
|
|
128
|
-
"@stryke/string-format": "^0.17.
|
|
129
|
-
"@stryke/type-checks": "^0.6.
|
|
130
|
-
"@stryke/types": "^0.12.
|
|
131
|
-
"@stryke/url": "^0.4.
|
|
123
|
+
"@power-plant/schema": "^0.0.82",
|
|
124
|
+
"@power-plant/utils": "^0.0.70",
|
|
125
|
+
"@stryke/env": "^0.20.127",
|
|
126
|
+
"@stryke/fs": "^0.33.110",
|
|
127
|
+
"@stryke/path": "^0.29.35",
|
|
128
|
+
"@stryke/string-format": "^0.17.50",
|
|
129
|
+
"@stryke/type-checks": "^0.6.41",
|
|
130
|
+
"@stryke/types": "^0.12.36",
|
|
131
|
+
"@stryke/url": "^0.4.60",
|
|
132
132
|
"c12": "^3.3.4",
|
|
133
133
|
"defu": "^6.1.7",
|
|
134
134
|
"fast-glob": "^3.3.3",
|
|
135
135
|
"jiti": "^2.7.0",
|
|
136
136
|
"json5": "^2.2.3",
|
|
137
137
|
"smol-toml": "^1.7.1",
|
|
138
|
-
"style-dictionary": "^5.5.
|
|
138
|
+
"style-dictionary": "^5.5.1",
|
|
139
139
|
"yaml": "^2.9.0",
|
|
140
140
|
"zod": "^4.4.3"
|
|
141
141
|
},
|
|
142
142
|
"devDependencies": {
|
|
143
|
-
"@powerlines/plugin-tsdown": "^0.1.
|
|
143
|
+
"@powerlines/plugin-tsdown": "^0.1.602",
|
|
144
144
|
"@types/node": "^25.9.5",
|
|
145
145
|
"typescript": "^6.0.3"
|
|
146
146
|
},
|
|
147
147
|
"publishConfig": { "access": "public" },
|
|
148
|
-
"gitHead": "
|
|
148
|
+
"gitHead": "e41e67256c7c39895e30bacce8967ed6b06b2aaa"
|
|
149
149
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-CWYJH70g.d.mts","names":[],"sources":["../src/types/plugin.ts","../src/types/config.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-w3-Ub3fa.d.mts","names":[],"sources":["../src/plugin.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema-BihaPsfF.d.mts","names":[],"sources":["../src/schema/components.ts","../src/schema/icons.ts","../src/schema/schema.ts"],"mappings":""}
|