@razorwind/shadcn 0.0.92 → 0.0.94
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/{extract-B1aMLBK8.d.mts → extract-B-wS3Zn9.d.mts} +19 -19
- package/dist/extract-B-wS3Zn9.d.mts.map +1 -0
- package/dist/{extract-BNy04DfM.d.cts → extract-TG-eO3-t.d.cts} +19 -19
- package/dist/extract-TG-eO3-t.d.cts.map +1 -0
- package/dist/extract.d.cts +1 -1
- package/dist/extract.d.mts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +5 -5
- package/dist/extract-B1aMLBK8.d.mts.map +0 -1
- package/dist/extract-BNy04DfM.d.cts.map +0 -1
|
@@ -31,8 +31,8 @@ declare function getRegistryConfig(cwd: string): Promise<{
|
|
|
31
31
|
rsc: boolean;
|
|
32
32
|
tsx: boolean;
|
|
33
33
|
tailwind: {
|
|
34
|
-
baseColor: string;
|
|
35
34
|
css: string;
|
|
35
|
+
baseColor: string;
|
|
36
36
|
cssVariables: boolean;
|
|
37
37
|
config?: string | undefined;
|
|
38
38
|
prefix?: string | undefined;
|
|
@@ -45,20 +45,20 @@ declare function getRegistryConfig(cwd: string): Promise<{
|
|
|
45
45
|
hooks?: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
resolvedPaths: {
|
|
48
|
-
components: string;
|
|
49
|
-
utils: string;
|
|
50
|
-
ui: string;
|
|
51
|
-
lib: string;
|
|
52
|
-
hooks: string;
|
|
53
48
|
cwd: string;
|
|
54
49
|
tailwindConfig: string;
|
|
55
50
|
tailwindCss: string;
|
|
51
|
+
utils: string;
|
|
52
|
+
components: string;
|
|
53
|
+
lib: string;
|
|
54
|
+
hooks: string;
|
|
55
|
+
ui: string;
|
|
56
56
|
};
|
|
57
|
-
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
58
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
59
|
-
iconLibrary?: string | undefined;
|
|
60
57
|
$schema?: string | undefined;
|
|
58
|
+
iconLibrary?: string | undefined;
|
|
61
59
|
rtl?: boolean | undefined;
|
|
60
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
61
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
62
62
|
registries?: Record<string, string | {
|
|
63
63
|
url: string;
|
|
64
64
|
params?: Record<string, string> | undefined;
|
|
@@ -71,8 +71,8 @@ declare function resolveConfigPaths(cwd: string, config: ShadcnRawConfig): Promi
|
|
|
71
71
|
rsc: boolean;
|
|
72
72
|
tsx: boolean;
|
|
73
73
|
tailwind: {
|
|
74
|
-
baseColor: string;
|
|
75
74
|
css: string;
|
|
75
|
+
baseColor: string;
|
|
76
76
|
cssVariables: boolean;
|
|
77
77
|
config?: string | undefined;
|
|
78
78
|
prefix?: string | undefined;
|
|
@@ -85,20 +85,20 @@ declare function resolveConfigPaths(cwd: string, config: ShadcnRawConfig): Promi
|
|
|
85
85
|
hooks?: string | undefined;
|
|
86
86
|
};
|
|
87
87
|
resolvedPaths: {
|
|
88
|
-
components: string;
|
|
89
|
-
utils: string;
|
|
90
|
-
ui: string;
|
|
91
|
-
lib: string;
|
|
92
|
-
hooks: string;
|
|
93
88
|
cwd: string;
|
|
94
89
|
tailwindConfig: string;
|
|
95
90
|
tailwindCss: string;
|
|
91
|
+
utils: string;
|
|
92
|
+
components: string;
|
|
93
|
+
lib: string;
|
|
94
|
+
hooks: string;
|
|
95
|
+
ui: string;
|
|
96
96
|
};
|
|
97
|
-
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
98
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
99
|
-
iconLibrary?: string | undefined;
|
|
100
97
|
$schema?: string | undefined;
|
|
98
|
+
iconLibrary?: string | undefined;
|
|
101
99
|
rtl?: boolean | undefined;
|
|
100
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
101
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
102
102
|
registries?: Record<string, string | {
|
|
103
103
|
url: string;
|
|
104
104
|
params?: Record<string, string> | undefined;
|
|
@@ -165,4 +165,4 @@ declare function extractComponentsFromRegistry(registryPath: string): Promise<Co
|
|
|
165
165
|
declare const _default: (options?: ShadcnExtractPluginOptions | undefined) => import("@razorwind/core/plugin").Plugin;
|
|
166
166
|
//#endregion
|
|
167
167
|
export { ShadcnWorkspaceConfig as S, getRegistryConfig as _, registryItemsToComponents as a, ShadcnRawConfig as b, DEFAULT_COMPONENTS as c, DEFAULT_TAILWIND_CONFIG as d, DEFAULT_TAILWIND_CSS as f, getRawConfig as g, createRegistryConfig as h, registryItemToComponent as i, DEFAULT_STYLE as l, RegistryConfig as m, extractComponentsFromRegistry as n, toDependencyRecord as o, DEFAULT_UTILS as p, extract_d_exports as r, BUILTIN_REGISTRIES as s, _default as t, DEFAULT_TAILWIND_BASE_COLOR as u, resolveConfigPaths as v, ShadcnRegistryConfig as x, ShadcnConfig as y };
|
|
168
|
-
//# sourceMappingURL=extract-
|
|
168
|
+
//# sourceMappingURL=extract-B-wS3Zn9.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extract-B-wS3Zn9.d.mts","names":[],"sources":["../src/registry/shadcn-types.ts","../src/registry/config.ts","../src/extract.ts"],"mappings":""}
|
|
@@ -31,8 +31,8 @@ declare function getRegistryConfig(cwd: string): Promise<{
|
|
|
31
31
|
rsc: boolean;
|
|
32
32
|
tsx: boolean;
|
|
33
33
|
tailwind: {
|
|
34
|
-
baseColor: string;
|
|
35
34
|
css: string;
|
|
35
|
+
baseColor: string;
|
|
36
36
|
cssVariables: boolean;
|
|
37
37
|
config?: string | undefined;
|
|
38
38
|
prefix?: string | undefined;
|
|
@@ -45,20 +45,20 @@ declare function getRegistryConfig(cwd: string): Promise<{
|
|
|
45
45
|
hooks?: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
resolvedPaths: {
|
|
48
|
-
components: string;
|
|
49
|
-
utils: string;
|
|
50
|
-
ui: string;
|
|
51
|
-
lib: string;
|
|
52
|
-
hooks: string;
|
|
53
48
|
cwd: string;
|
|
54
49
|
tailwindConfig: string;
|
|
55
50
|
tailwindCss: string;
|
|
51
|
+
utils: string;
|
|
52
|
+
components: string;
|
|
53
|
+
lib: string;
|
|
54
|
+
hooks: string;
|
|
55
|
+
ui: string;
|
|
56
56
|
};
|
|
57
|
-
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
58
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
59
|
-
iconLibrary?: string | undefined;
|
|
60
57
|
$schema?: string | undefined;
|
|
58
|
+
iconLibrary?: string | undefined;
|
|
61
59
|
rtl?: boolean | undefined;
|
|
60
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
61
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
62
62
|
registries?: Record<string, string | {
|
|
63
63
|
url: string;
|
|
64
64
|
params?: Record<string, string> | undefined;
|
|
@@ -71,8 +71,8 @@ declare function resolveConfigPaths(cwd: string, config: ShadcnRawConfig): Promi
|
|
|
71
71
|
rsc: boolean;
|
|
72
72
|
tsx: boolean;
|
|
73
73
|
tailwind: {
|
|
74
|
-
baseColor: string;
|
|
75
74
|
css: string;
|
|
75
|
+
baseColor: string;
|
|
76
76
|
cssVariables: boolean;
|
|
77
77
|
config?: string | undefined;
|
|
78
78
|
prefix?: string | undefined;
|
|
@@ -85,20 +85,20 @@ declare function resolveConfigPaths(cwd: string, config: ShadcnRawConfig): Promi
|
|
|
85
85
|
hooks?: string | undefined;
|
|
86
86
|
};
|
|
87
87
|
resolvedPaths: {
|
|
88
|
-
components: string;
|
|
89
|
-
utils: string;
|
|
90
|
-
ui: string;
|
|
91
|
-
lib: string;
|
|
92
|
-
hooks: string;
|
|
93
88
|
cwd: string;
|
|
94
89
|
tailwindConfig: string;
|
|
95
90
|
tailwindCss: string;
|
|
91
|
+
utils: string;
|
|
92
|
+
components: string;
|
|
93
|
+
lib: string;
|
|
94
|
+
hooks: string;
|
|
95
|
+
ui: string;
|
|
96
96
|
};
|
|
97
|
-
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
98
|
-
menuAccent?: "subtle" | "bold" | undefined;
|
|
99
|
-
iconLibrary?: string | undefined;
|
|
100
97
|
$schema?: string | undefined;
|
|
98
|
+
iconLibrary?: string | undefined;
|
|
101
99
|
rtl?: boolean | undefined;
|
|
100
|
+
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
101
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
102
102
|
registries?: Record<string, string | {
|
|
103
103
|
url: string;
|
|
104
104
|
params?: Record<string, string> | undefined;
|
|
@@ -165,4 +165,4 @@ declare function extractComponentsFromRegistry(registryPath: string): Promise<Co
|
|
|
165
165
|
declare const _default: (options?: ShadcnExtractPluginOptions | undefined) => import("@razorwind/core/plugin").Plugin;
|
|
166
166
|
//#endregion
|
|
167
167
|
export { ShadcnWorkspaceConfig as S, getRegistryConfig as _, registryItemsToComponents as a, ShadcnRawConfig as b, DEFAULT_COMPONENTS as c, DEFAULT_TAILWIND_CONFIG as d, DEFAULT_TAILWIND_CSS as f, getRawConfig as g, createRegistryConfig as h, registryItemToComponent as i, DEFAULT_STYLE as l, RegistryConfig as m, extractComponentsFromRegistry as n, toDependencyRecord as o, DEFAULT_UTILS as p, extract_d_exports as r, BUILTIN_REGISTRIES as s, _default as t, DEFAULT_TAILWIND_BASE_COLOR as u, resolveConfigPaths as v, ShadcnRegistryConfig as x, ShadcnConfig as y };
|
|
168
|
-
//# sourceMappingURL=extract-
|
|
168
|
+
//# sourceMappingURL=extract-TG-eO3-t.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extract-TG-eO3-t.d.cts","names":[],"sources":["../src/registry/shadcn-types.ts","../src/registry/config.ts","../src/extract.ts"],"mappings":";;;;;;;;;;;;KAgCK,kBAAkB,KAAK;EAC1B,WAAW,wBAAwB;IAEjC;KAGQ,eAAe,yBAAyB;KACxC,kBAAkB,yBAAyB;KAC3C,uBAAuB,yBAC1B;KAEG,wBAAwB,yBAC3B;;;cCHI;cACA;cACA;cACA;cACA;cACA;KAmCD,iBAAiB;iBAEP,kBAAkB,cAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cActC,oBAAoB;iBAIX,mBAAmB,aAAa,QAAQ,kBAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2IvD,aACpB,cACC,QAAQ;KA6IC,YAAY,QACrB,WAAW,KAAK,EAAE,oBAAoB,YAAY,EAAE,MAAM,EAAE;;;;;;;;iBAU/C,qBACd,UAAU,YAAY,kBACrB;;;;UCtUO;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;;;iBAOc,mBACd,6BACC;;;;iBAgGa,wBAAwB,MAAM,mBAAmB;;;;iBA2BjD,0BACd,OAAO,iCACN;;;;;;iBAqCmB,8BACpB,uBACC,QAAQ"}
|
package/dist/extract.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as ShadcnExtractPluginOptions } from "./types-BvsYQIch.cjs";
|
|
2
|
-
import { S as ShadcnWorkspaceConfig, _ as getRegistryConfig, a as registryItemsToComponents, b as ShadcnRawConfig, c as DEFAULT_COMPONENTS, d as DEFAULT_TAILWIND_CONFIG, f as DEFAULT_TAILWIND_CSS, g as getRawConfig, h as createRegistryConfig, i as registryItemToComponent, l as DEFAULT_STYLE, m as RegistryConfig, n as extractComponentsFromRegistry, o as toDependencyRecord, p as DEFAULT_UTILS, s as BUILTIN_REGISTRIES, t as _default, u as DEFAULT_TAILWIND_BASE_COLOR, v as resolveConfigPaths, x as ShadcnRegistryConfig, y as ShadcnConfig } from "./extract-
|
|
2
|
+
import { S as ShadcnWorkspaceConfig, _ as getRegistryConfig, a as registryItemsToComponents, b as ShadcnRawConfig, c as DEFAULT_COMPONENTS, d as DEFAULT_TAILWIND_CONFIG, f as DEFAULT_TAILWIND_CSS, g as getRawConfig, h as createRegistryConfig, i as registryItemToComponent, l as DEFAULT_STYLE, m as RegistryConfig, n as extractComponentsFromRegistry, o as toDependencyRecord, p as DEFAULT_UTILS, s as BUILTIN_REGISTRIES, t as _default, u as DEFAULT_TAILWIND_BASE_COLOR, v as resolveConfigPaths, x as ShadcnRegistryConfig, y as ShadcnConfig } from "./extract-TG-eO3-t.cjs";
|
|
3
3
|
export { BUILTIN_REGISTRIES, DEFAULT_COMPONENTS, DEFAULT_STYLE, DEFAULT_TAILWIND_BASE_COLOR, DEFAULT_TAILWIND_CONFIG, DEFAULT_TAILWIND_CSS, DEFAULT_UTILS, type RegistryConfig, type ShadcnConfig, type ShadcnExtractPluginOptions, type ShadcnRawConfig, type ShadcnRegistryConfig, type ShadcnWorkspaceConfig, createRegistryConfig, _default as default, extractComponentsFromRegistry, getRawConfig, getRegistryConfig, registryItemToComponent, registryItemsToComponents, resolveConfigPaths, toDependencyRecord };
|
package/dist/extract.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as ShadcnExtractPluginOptions } from "./types-BKVZEcei.mjs";
|
|
2
|
-
import { S as ShadcnWorkspaceConfig, _ as getRegistryConfig, a as registryItemsToComponents, b as ShadcnRawConfig, c as DEFAULT_COMPONENTS, d as DEFAULT_TAILWIND_CONFIG, f as DEFAULT_TAILWIND_CSS, g as getRawConfig, h as createRegistryConfig, i as registryItemToComponent, l as DEFAULT_STYLE, m as RegistryConfig, n as extractComponentsFromRegistry, o as toDependencyRecord, p as DEFAULT_UTILS, s as BUILTIN_REGISTRIES, t as _default, u as DEFAULT_TAILWIND_BASE_COLOR, v as resolveConfigPaths, x as ShadcnRegistryConfig, y as ShadcnConfig } from "./extract-
|
|
2
|
+
import { S as ShadcnWorkspaceConfig, _ as getRegistryConfig, a as registryItemsToComponents, b as ShadcnRawConfig, c as DEFAULT_COMPONENTS, d as DEFAULT_TAILWIND_CONFIG, f as DEFAULT_TAILWIND_CSS, g as getRawConfig, h as createRegistryConfig, i as registryItemToComponent, l as DEFAULT_STYLE, m as RegistryConfig, n as extractComponentsFromRegistry, o as toDependencyRecord, p as DEFAULT_UTILS, s as BUILTIN_REGISTRIES, t as _default, u as DEFAULT_TAILWIND_BASE_COLOR, v as resolveConfigPaths, x as ShadcnRegistryConfig, y as ShadcnConfig } from "./extract-B-wS3Zn9.mjs";
|
|
3
3
|
export { BUILTIN_REGISTRIES, DEFAULT_COMPONENTS, DEFAULT_STYLE, DEFAULT_TAILWIND_BASE_COLOR, DEFAULT_TAILWIND_CONFIG, DEFAULT_TAILWIND_CSS, DEFAULT_UTILS, type RegistryConfig, type ShadcnConfig, type ShadcnExtractPluginOptions, type ShadcnRawConfig, type ShadcnRegistryConfig, type ShadcnWorkspaceConfig, createRegistryConfig, _default as default, extractComponentsFromRegistry, getRawConfig, getRegistryConfig, registryItemToComponent, registryItemsToComponents, resolveConfigPaths, toDependencyRecord };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as extract_d_exports } from "./extract-
|
|
1
|
+
import { r as extract_d_exports } from "./extract-TG-eO3-t.cjs";
|
|
2
2
|
import { l as generate_d_exports } from "./generate-CeAMsu9A.cjs";
|
|
3
3
|
export { extract_d_exports as extract, generate_d_exports as generate };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as extract_d_exports } from "./extract-
|
|
1
|
+
import { r as extract_d_exports } from "./extract-B-wS3Zn9.mjs";
|
|
2
2
|
import { l as generate_d_exports } from "./generate-Dw8npW9-.mjs";
|
|
3
3
|
export { extract_d_exports as extract, generate_d_exports as generate };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@razorwind/shadcn",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.94",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Razorwind Shadcn plugin that can create Shadcn UI registry files from design tokens/components or read a Shadcn UI registry file and return the design tokens/components.",
|
|
6
6
|
"repository": {
|
|
@@ -78,16 +78,16 @@
|
|
|
78
78
|
"types": "./dist/index.d.cts",
|
|
79
79
|
"typings": "dist/index.d.mts",
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@power-plant/core": "^0.0.
|
|
81
|
+
"@power-plant/core": "^0.0.95",
|
|
82
82
|
"@power-plant/dtcg-schema": "^0.0.1",
|
|
83
|
-
"@razorwind/core": "^0.0.
|
|
83
|
+
"@razorwind/core": "^0.0.98",
|
|
84
84
|
"@stryke/fs": "^0.33.118",
|
|
85
85
|
"@stryke/path": "^0.29.43",
|
|
86
86
|
"@stryke/types": "^0.12.44",
|
|
87
87
|
"c12": "^3.3.4",
|
|
88
88
|
"chalk": "^5.6.2",
|
|
89
89
|
"fast-glob": "^3.3.3",
|
|
90
|
-
"shadcn": "^4.
|
|
90
|
+
"shadcn": "^4.22.0",
|
|
91
91
|
"tsconfig-paths": "^4.2.0",
|
|
92
92
|
"yaml": "^2.9.1",
|
|
93
93
|
"zod": "^4.6.7"
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"typescript": "^6.0.3"
|
|
99
99
|
},
|
|
100
100
|
"publishConfig": { "access": "public" },
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "c0f5097bf76ab2003955948dddd5af580786ccf6"
|
|
102
102
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extract-B1aMLBK8.d.mts","names":[],"sources":["../src/registry/shadcn-types.ts","../src/registry/config.ts","../src/extract.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extract-BNy04DfM.d.cts","names":[],"sources":["../src/registry/shadcn-types.ts","../src/registry/config.ts","../src/extract.ts"],"mappings":";;;;;;;;;;;;KAgCK,kBAAkB,KAAK;EAC1B,WAAW,wBAAwB;IAEjC;KAGQ,eAAe,yBAAyB;KACxC,kBAAkB,yBAAyB;KAC3C,uBAAuB,yBAC1B;KAEG,wBAAwB,yBAC3B;;;cCHI;cACA;cACA;cACA;cACA;cACA;KAmCD,iBAAiB;iBAEP,kBAAkB,cAAW;;;;;;;;IAgNzB;IAItB;;;;;IAKsB;IAAkC;IAGtD;;;;;;;;;;;;;;;;;;;IAsBS,SAAC;IACH,UAAC;;;cArOD,oBAAoB;iBAIX,mBAAmB,aAAa,QAAQ,kBAAe;;;;;;;;IA8LnD;IAItB;;;;;IAKsB;IAAkC;IAGtD;;;;;;;;;;;;;;;;;;;IAsBS,SAAC;IACH,UAAC;;;iBAtFQ,aACpB,cACC,QAAQ;KA6IC,YAAY,QACrB,WAAW,KAAK,EAAE,oBAAoB,YAAY,EAAE,MAAM,EAAE;;;;;;;;iBAU/C,qBACd,UAAU,YAAY,kBACrB;;;;UCtUO;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;;;;iBAOc,mBACd,6BACC;;;;iBAgGa,wBAAwB,MAAM,mBAAmB;;;;iBA2BjD,0BACd,OAAO,iCACN;;;;;;iBAqCmB,8BACpB,uBACC,QAAQ"}
|