@idealyst/tooling 1.2.40 → 1.2.42
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/analyzer/index.cjs +11 -2
- package/dist/analyzer/index.cjs.map +1 -1
- package/dist/analyzer/index.d.cts +4 -1
- package/dist/analyzer/index.d.ts +4 -1
- package/dist/analyzer/index.js +11 -2
- package/dist/analyzer/index.js.map +1 -1
- package/dist/index.cjs +7 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/{theme-analyzer-vmhko10Q.d.ts → theme-analyzer-BECHzMn_.d.ts} +3 -0
- package/dist/{theme-analyzer-C1lprK5o.d.cts → theme-analyzer-Bm-ZTjvz.d.cts} +3 -0
- package/dist/vite-plugin.cjs.map +1 -1
- package/dist/vite-plugin.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { A as AnalysisResult, b as AnalyzerOptions, c as FileInput, F as FileType, I as ImportInfo, P as Platform, d as PrimitiveRule, e as PrimitiveRuleSet, S as Severity, a as Violation, V as ViolationType } from './types-CvIlSIOV.cjs';
|
|
2
|
-
export { B as BabelThemeKeys, a as analyzeComponents, b as analyzeTheme, l as loadThemeKeys, r as resetThemeCache } from './theme-analyzer-
|
|
2
|
+
export { B as BabelThemeKeys, a as analyzeComponents, b as analyzeTheme, l as loadThemeKeys, r as resetThemeCache } from './theme-analyzer-Bm-ZTjvz.cjs';
|
|
3
3
|
import { C as ComponentRegistry } from './types-CnxJMLD8.cjs';
|
|
4
4
|
export { b as ComponentAnalyzerOptions, a as ComponentDefinition, c as ControlledState, I as IdealystDocsPluginOptions, P as PropDefinition, S as SampleProps, T as ThemeValues } from './types-CnxJMLD8.cjs';
|
|
5
5
|
export { generateComponentRegistry, idealystDocsPlugin } from './vite-plugin.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { A as AnalysisResult, b as AnalyzerOptions, c as FileInput, F as FileType, I as ImportInfo, P as Platform, d as PrimitiveRule, e as PrimitiveRuleSet, S as Severity, a as Violation, V as ViolationType } from './types-CvIlSIOV.js';
|
|
2
|
-
export { B as BabelThemeKeys, a as analyzeComponents, b as analyzeTheme, l as loadThemeKeys, r as resetThemeCache } from './theme-analyzer-
|
|
2
|
+
export { B as BabelThemeKeys, a as analyzeComponents, b as analyzeTheme, l as loadThemeKeys, r as resetThemeCache } from './theme-analyzer-BECHzMn_.js';
|
|
3
3
|
import { C as ComponentRegistry } from './types-CnxJMLD8.js';
|
|
4
4
|
export { b as ComponentAnalyzerOptions, a as ComponentDefinition, c as ControlledState, I as IdealystDocsPluginOptions, P as PropDefinition, S as SampleProps, T as ThemeValues } from './types-CnxJMLD8.js';
|
|
5
5
|
export { generateComponentRegistry, idealystDocsPlugin } from './vite-plugin.js';
|
package/dist/index.js
CHANGED
|
@@ -803,13 +803,19 @@ function loadThemeKeys(opts, rootDir, _babelTypes, verboseMode = false) {
|
|
|
803
803
|
sizes: themeValues.sizes,
|
|
804
804
|
radii: themeValues.radii,
|
|
805
805
|
shadows: themeValues.shadows,
|
|
806
|
-
typography: themeValues.typography
|
|
806
|
+
typography: themeValues.typography,
|
|
807
|
+
surfaceColors: themeValues.surfaceColors,
|
|
808
|
+
textColors: themeValues.textColors,
|
|
809
|
+
borderColors: themeValues.borderColors
|
|
807
810
|
};
|
|
808
811
|
if (verboseMode) {
|
|
809
812
|
console.log("[idealyst-plugin] Extracted theme keys:");
|
|
810
813
|
console.log(" intents:", themeKeysCache.intents);
|
|
811
814
|
console.log(" radii:", themeKeysCache.radii);
|
|
812
815
|
console.log(" shadows:", themeKeysCache.shadows);
|
|
816
|
+
console.log(" surfaceColors:", themeKeysCache.surfaceColors);
|
|
817
|
+
console.log(" textColors:", themeKeysCache.textColors);
|
|
818
|
+
console.log(" borderColors:", themeKeysCache.borderColors);
|
|
813
819
|
console.log(" sizes:");
|
|
814
820
|
for (const [component, sizes] of Object.entries(themeKeysCache.sizes)) {
|
|
815
821
|
console.log(` ${component}:`, sizes);
|