@idealyst/mcp-server 1.2.24 → 1.2.26
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/index.cjs +22366 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +0 -2
- package/dist/index.js +22186 -1034
- package/dist/index.js.map +1 -1
- package/package.json +17 -7
- package/dist/data/cli-commands.d.ts +0 -2
- package/dist/data/cli-commands.d.ts.map +0 -1
- package/dist/data/cli-commands.js +0 -100
- package/dist/data/cli-commands.js.map +0 -1
- package/dist/data/components/Accordion.d.ts +0 -15
- package/dist/data/components/Accordion.d.ts.map +0 -1
- package/dist/data/components/Accordion.js +0 -113
- package/dist/data/components/Accordion.js.map +0 -1
- package/dist/data/components/ActivityIndicator.d.ts +0 -15
- package/dist/data/components/ActivityIndicator.d.ts.map +0 -1
- package/dist/data/components/ActivityIndicator.js +0 -80
- package/dist/data/components/ActivityIndicator.js.map +0 -1
- package/dist/data/components/Alert.d.ts +0 -15
- package/dist/data/components/Alert.d.ts.map +0 -1
- package/dist/data/components/Alert.js +0 -130
- package/dist/data/components/Alert.js.map +0 -1
- package/dist/data/components/Avatar.d.ts +0 -15
- package/dist/data/components/Avatar.d.ts.map +0 -1
- package/dist/data/components/Avatar.js +0 -91
- package/dist/data/components/Avatar.js.map +0 -1
- package/dist/data/components/Badge.d.ts +0 -15
- package/dist/data/components/Badge.d.ts.map +0 -1
- package/dist/data/components/Badge.js +0 -64
- package/dist/data/components/Badge.js.map +0 -1
- package/dist/data/components/Breadcrumb.d.ts +0 -15
- package/dist/data/components/Breadcrumb.d.ts.map +0 -1
- package/dist/data/components/Breadcrumb.js +0 -92
- package/dist/data/components/Breadcrumb.js.map +0 -1
- package/dist/data/components/Button.d.ts +0 -16
- package/dist/data/components/Button.d.ts.map +0 -1
- package/dist/data/components/Button.js +0 -118
- package/dist/data/components/Button.js.map +0 -1
- package/dist/data/components/Card.d.ts +0 -15
- package/dist/data/components/Card.d.ts.map +0 -1
- package/dist/data/components/Card.js +0 -75
- package/dist/data/components/Card.js.map +0 -1
- package/dist/data/components/Checkbox.d.ts +0 -15
- package/dist/data/components/Checkbox.d.ts.map +0 -1
- package/dist/data/components/Checkbox.js +0 -118
- package/dist/data/components/Checkbox.js.map +0 -1
- package/dist/data/components/Chip.d.ts +0 -15
- package/dist/data/components/Chip.d.ts.map +0 -1
- package/dist/data/components/Chip.js +0 -94
- package/dist/data/components/Chip.js.map +0 -1
- package/dist/data/components/Dialog.d.ts +0 -15
- package/dist/data/components/Dialog.d.ts.map +0 -1
- package/dist/data/components/Dialog.js +0 -137
- package/dist/data/components/Dialog.js.map +0 -1
- package/dist/data/components/Divider.d.ts +0 -15
- package/dist/data/components/Divider.d.ts.map +0 -1
- package/dist/data/components/Divider.js +0 -68
- package/dist/data/components/Divider.js.map +0 -1
- package/dist/data/components/Icon.d.ts +0 -15
- package/dist/data/components/Icon.d.ts.map +0 -1
- package/dist/data/components/Icon.js +0 -68
- package/dist/data/components/Icon.js.map +0 -1
- package/dist/data/components/Image.d.ts +0 -15
- package/dist/data/components/Image.d.ts.map +0 -1
- package/dist/data/components/Image.js +0 -119
- package/dist/data/components/Image.js.map +0 -1
- package/dist/data/components/Input.d.ts +0 -15
- package/dist/data/components/Input.d.ts.map +0 -1
- package/dist/data/components/Input.js +0 -155
- package/dist/data/components/Input.js.map +0 -1
- package/dist/data/components/Link.d.ts +0 -15
- package/dist/data/components/Link.d.ts.map +0 -1
- package/dist/data/components/Link.js +0 -142
- package/dist/data/components/Link.js.map +0 -1
- package/dist/data/components/List.d.ts +0 -15
- package/dist/data/components/List.d.ts.map +0 -1
- package/dist/data/components/List.js +0 -113
- package/dist/data/components/List.js.map +0 -1
- package/dist/data/components/Menu.d.ts +0 -15
- package/dist/data/components/Menu.d.ts.map +0 -1
- package/dist/data/components/Menu.js +0 -123
- package/dist/data/components/Menu.js.map +0 -1
- package/dist/data/components/Popover.d.ts +0 -15
- package/dist/data/components/Popover.d.ts.map +0 -1
- package/dist/data/components/Popover.js +0 -157
- package/dist/data/components/Popover.js.map +0 -1
- package/dist/data/components/Pressable.d.ts +0 -15
- package/dist/data/components/Pressable.d.ts.map +0 -1
- package/dist/data/components/Pressable.js +0 -125
- package/dist/data/components/Pressable.js.map +0 -1
- package/dist/data/components/Progress.d.ts +0 -15
- package/dist/data/components/Progress.d.ts.map +0 -1
- package/dist/data/components/Progress.js +0 -93
- package/dist/data/components/Progress.js.map +0 -1
- package/dist/data/components/RadioButton.d.ts +0 -15
- package/dist/data/components/RadioButton.d.ts.map +0 -1
- package/dist/data/components/RadioButton.js +0 -131
- package/dist/data/components/RadioButton.js.map +0 -1
- package/dist/data/components/SVGImage.d.ts +0 -15
- package/dist/data/components/SVGImage.d.ts.map +0 -1
- package/dist/data/components/SVGImage.js +0 -112
- package/dist/data/components/SVGImage.js.map +0 -1
- package/dist/data/components/Screen.d.ts +0 -15
- package/dist/data/components/Screen.d.ts.map +0 -1
- package/dist/data/components/Screen.js +0 -109
- package/dist/data/components/Screen.js.map +0 -1
- package/dist/data/components/Select.d.ts +0 -15
- package/dist/data/components/Select.d.ts.map +0 -1
- package/dist/data/components/Select.js +0 -141
- package/dist/data/components/Select.js.map +0 -1
- package/dist/data/components/Skeleton.d.ts +0 -15
- package/dist/data/components/Skeleton.d.ts.map +0 -1
- package/dist/data/components/Skeleton.js +0 -100
- package/dist/data/components/Skeleton.js.map +0 -1
- package/dist/data/components/Slider.d.ts +0 -15
- package/dist/data/components/Slider.d.ts.map +0 -1
- package/dist/data/components/Slider.js +0 -151
- package/dist/data/components/Slider.js.map +0 -1
- package/dist/data/components/Switch.d.ts +0 -15
- package/dist/data/components/Switch.d.ts.map +0 -1
- package/dist/data/components/Switch.js +0 -128
- package/dist/data/components/Switch.js.map +0 -1
- package/dist/data/components/TabBar.d.ts +0 -17
- package/dist/data/components/TabBar.d.ts.map +0 -1
- package/dist/data/components/TabBar.js +0 -244
- package/dist/data/components/TabBar.js.map +0 -1
- package/dist/data/components/Table.d.ts +0 -15
- package/dist/data/components/Table.d.ts.map +0 -1
- package/dist/data/components/Table.js +0 -159
- package/dist/data/components/Table.js.map +0 -1
- package/dist/data/components/Tabs.d.ts +0 -15
- package/dist/data/components/Tabs.d.ts.map +0 -1
- package/dist/data/components/Tabs.js +0 -150
- package/dist/data/components/Tabs.js.map +0 -1
- package/dist/data/components/Text.d.ts +0 -15
- package/dist/data/components/Text.d.ts.map +0 -1
- package/dist/data/components/Text.js +0 -97
- package/dist/data/components/Text.js.map +0 -1
- package/dist/data/components/TextArea.d.ts +0 -15
- package/dist/data/components/TextArea.d.ts.map +0 -1
- package/dist/data/components/TextArea.js +0 -156
- package/dist/data/components/TextArea.js.map +0 -1
- package/dist/data/components/Tooltip.d.ts +0 -15
- package/dist/data/components/Tooltip.d.ts.map +0 -1
- package/dist/data/components/Tooltip.js +0 -103
- package/dist/data/components/Tooltip.js.map +0 -1
- package/dist/data/components/Video.d.ts +0 -15
- package/dist/data/components/Video.d.ts.map +0 -1
- package/dist/data/components/Video.js +0 -166
- package/dist/data/components/Video.js.map +0 -1
- package/dist/data/components/View.d.ts +0 -15
- package/dist/data/components/View.d.ts.map +0 -1
- package/dist/data/components/View.js +0 -127
- package/dist/data/components/View.js.map +0 -1
- package/dist/data/components/index.d.ts +0 -38
- package/dist/data/components/index.d.ts.map +0 -1
- package/dist/data/components/index.js +0 -113
- package/dist/data/components/index.js.map +0 -1
- package/dist/data/framework-guides.d.ts +0 -2
- package/dist/data/framework-guides.d.ts.map +0 -1
- package/dist/data/framework-guides.js +0 -1730
- package/dist/data/framework-guides.js.map +0 -1
- package/dist/data/icon-guide.d.ts +0 -2
- package/dist/data/icon-guide.d.ts.map +0 -1
- package/dist/data/icon-guide.js +0 -285
- package/dist/data/icon-guide.js.map +0 -1
- package/dist/data/icons.json +0 -7452
- package/dist/data/navigation-guides.d.ts +0 -2
- package/dist/data/navigation-guides.d.ts.map +0 -1
- package/dist/data/navigation-guides.js +0 -2144
- package/dist/data/navigation-guides.js.map +0 -1
- package/dist/data/packages.d.ts +0 -39
- package/dist/data/packages.d.ts.map +0 -1
- package/dist/data/packages.js +0 -550
- package/dist/data/packages.js.map +0 -1
- package/dist/data/recipes.d.ts +0 -36
- package/dist/data/recipes.d.ts.map +0 -1
- package/dist/data/recipes.js +0 -2945
- package/dist/data/recipes.js.map +0 -1
- package/dist/data/storage-guides.d.ts +0 -2
- package/dist/data/storage-guides.d.ts.map +0 -1
- package/dist/data/storage-guides.js +0 -418
- package/dist/data/storage-guides.js.map +0 -1
- package/dist/data/translate-guides.d.ts +0 -2
- package/dist/data/translate-guides.d.ts.map +0 -1
- package/dist/data/translate-guides.js +0 -1030
- package/dist/data/translate-guides.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/tools/get-types.d.ts +0 -37
- package/dist/tools/get-types.d.ts.map +0 -1
- package/dist/tools/get-types.js +0 -148
- package/dist/tools/get-types.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"translate-guides.js","sourceRoot":"","sources":["../../src/data/translate-guides.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAA2B;IACrD,+BAA+B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+GlC;IAEC,kCAAkC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoKrC;IAEC,mCAAmC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyNtC;IAEC,wCAAwC,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoP3C;IAEC,+BAA+B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8RlC;CACA,CAAC"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get Types Tool
|
|
3
|
-
*
|
|
4
|
-
* Returns TypeScript type definitions for Idealyst components, theme, and navigation.
|
|
5
|
-
* Now enhanced with @idealyst/tooling registry data for authoritative prop values.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Get component types by name
|
|
9
|
-
*/
|
|
10
|
-
export declare function getComponentTypes(componentName: string, format?: 'typescript' | 'json' | 'both'): any;
|
|
11
|
-
/**
|
|
12
|
-
* Get theme types
|
|
13
|
-
*/
|
|
14
|
-
export declare function getThemeTypes(format?: 'typescript' | 'json' | 'both'): any;
|
|
15
|
-
/**
|
|
16
|
-
* Get navigation types
|
|
17
|
-
*/
|
|
18
|
-
export declare function getNavigationTypes(format?: 'typescript' | 'json' | 'both'): any;
|
|
19
|
-
/**
|
|
20
|
-
* Get list of all available components
|
|
21
|
-
*/
|
|
22
|
-
export declare function getAvailableComponents(): string[];
|
|
23
|
-
/**
|
|
24
|
-
* Get examples for a component
|
|
25
|
-
*/
|
|
26
|
-
export declare function getComponentExamples(componentName: string): string | null;
|
|
27
|
-
/**
|
|
28
|
-
* Get the full component registry from @idealyst/tooling
|
|
29
|
-
* This is the single source of truth for component props and values
|
|
30
|
-
*/
|
|
31
|
-
export declare function getComponentRegistry(): Record<string, any>;
|
|
32
|
-
/**
|
|
33
|
-
* Get theme values from the registry
|
|
34
|
-
* This is the single source of truth for available intents, sizes, etc.
|
|
35
|
-
*/
|
|
36
|
-
export declare function getRegistryThemeValues(): any;
|
|
37
|
-
//# sourceMappingURL=get-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-types.d.ts","sourceRoot":"","sources":["../../src/tools/get-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA8CH;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,GAAE,YAAY,GAAG,MAAM,GAAG,MAAe,OAgCvG;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,MAAM,GAAE,YAAY,GAAG,MAAM,GAAG,MAAe,OAwB5E;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,GAAE,YAAY,GAAG,MAAM,GAAG,MAAe,OAmBjF;AAuBD;;GAEG;AACH,wBAAgB,sBAAsB,aAGrC;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAWzE;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,wBAGnC;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,QAGrC"}
|
package/dist/tools/get-types.js
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get Types Tool
|
|
3
|
-
*
|
|
4
|
-
* Returns TypeScript type definitions for Idealyst components, theme, and navigation.
|
|
5
|
-
* Now enhanced with @idealyst/tooling registry data for authoritative prop values.
|
|
6
|
-
*/
|
|
7
|
-
import * as fs from 'fs';
|
|
8
|
-
import * as path from 'path';
|
|
9
|
-
import { fileURLToPath } from 'url';
|
|
10
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
11
|
-
const __dirname = path.dirname(__filename);
|
|
12
|
-
let cachedTypes = null;
|
|
13
|
-
/**
|
|
14
|
-
* Load extracted types from JSON file
|
|
15
|
-
*/
|
|
16
|
-
function loadTypes() {
|
|
17
|
-
if (cachedTypes) {
|
|
18
|
-
return cachedTypes;
|
|
19
|
-
}
|
|
20
|
-
const typesPath = path.join(__dirname, '../generated/types.json');
|
|
21
|
-
if (!fs.existsSync(typesPath)) {
|
|
22
|
-
throw new Error('Types file not found. Please run "yarn extract-types" to generate type definitions.');
|
|
23
|
-
}
|
|
24
|
-
const content = fs.readFileSync(typesPath, 'utf-8');
|
|
25
|
-
cachedTypes = JSON.parse(content);
|
|
26
|
-
return cachedTypes;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Get component types by name
|
|
30
|
-
*/
|
|
31
|
-
export function getComponentTypes(componentName, format = 'both') {
|
|
32
|
-
const types = loadTypes();
|
|
33
|
-
const component = types.components[componentName];
|
|
34
|
-
if (!component) {
|
|
35
|
-
throw new Error(`Component "${componentName}" not found. Available components: ${Object.keys(types.components).join(', ')}`);
|
|
36
|
-
}
|
|
37
|
-
const result = {
|
|
38
|
-
component: componentName,
|
|
39
|
-
};
|
|
40
|
-
if (format === 'typescript' || format === 'both') {
|
|
41
|
-
result.typescript = formatTypeScriptOutput(component);
|
|
42
|
-
}
|
|
43
|
-
if (format === 'json' || format === 'both') {
|
|
44
|
-
result.schema = {
|
|
45
|
-
propsInterface: component.propsInterface,
|
|
46
|
-
props: component.props,
|
|
47
|
-
relatedTypes: component.relatedTypes,
|
|
48
|
-
};
|
|
49
|
-
// Include registry data if available (authoritative prop values)
|
|
50
|
-
if (component.registry) {
|
|
51
|
-
result.registry = component.registry;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
return result;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Get theme types
|
|
58
|
-
*/
|
|
59
|
-
export function getThemeTypes(format = 'both') {
|
|
60
|
-
const types = loadTypes();
|
|
61
|
-
const result = {
|
|
62
|
-
name: 'Theme Types',
|
|
63
|
-
};
|
|
64
|
-
if (format === 'typescript' || format === 'both') {
|
|
65
|
-
const tsOutput = Object.entries(types.theme)
|
|
66
|
-
.map(([name, info]) => info.definition)
|
|
67
|
-
.join('\n\n');
|
|
68
|
-
result.typescript = tsOutput;
|
|
69
|
-
}
|
|
70
|
-
if (format === 'json' || format === 'both') {
|
|
71
|
-
result.schema = types.theme;
|
|
72
|
-
// Include authoritative theme values from registry if available
|
|
73
|
-
if (types.registry?.themeValues) {
|
|
74
|
-
result.themeValues = types.registry.themeValues;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
return result;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Get navigation types
|
|
81
|
-
*/
|
|
82
|
-
export function getNavigationTypes(format = 'both') {
|
|
83
|
-
const types = loadTypes();
|
|
84
|
-
const result = {
|
|
85
|
-
name: 'Navigation Types',
|
|
86
|
-
};
|
|
87
|
-
if (format === 'typescript' || format === 'both') {
|
|
88
|
-
const tsOutput = Object.entries(types.navigation)
|
|
89
|
-
.map(([name, definition]) => definition)
|
|
90
|
-
.join('\n\n');
|
|
91
|
-
result.typescript = tsOutput;
|
|
92
|
-
}
|
|
93
|
-
if (format === 'json' || format === 'both') {
|
|
94
|
-
result.schema = types.navigation;
|
|
95
|
-
}
|
|
96
|
-
return result;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Format TypeScript output for better readability
|
|
100
|
-
*/
|
|
101
|
-
function formatTypeScriptOutput(component) {
|
|
102
|
-
const sections = [];
|
|
103
|
-
// Main props interface
|
|
104
|
-
sections.push(`// ${component.propsInterface}`);
|
|
105
|
-
sections.push(component.typeDefinition);
|
|
106
|
-
// Related types
|
|
107
|
-
if (Object.keys(component.relatedTypes).length > 0) {
|
|
108
|
-
sections.push('\n// Related Types');
|
|
109
|
-
for (const [name, definition] of Object.entries(component.relatedTypes)) {
|
|
110
|
-
sections.push(definition);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
return sections.join('\n\n');
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Get list of all available components
|
|
117
|
-
*/
|
|
118
|
-
export function getAvailableComponents() {
|
|
119
|
-
const types = loadTypes();
|
|
120
|
-
return Object.keys(types.components);
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Get examples for a component
|
|
124
|
-
*/
|
|
125
|
-
export function getComponentExamples(componentName) {
|
|
126
|
-
const examplesPath = path.join(__dirname, `../../examples/components/${componentName}.examples.tsx`);
|
|
127
|
-
if (!fs.existsSync(examplesPath)) {
|
|
128
|
-
return null;
|
|
129
|
-
}
|
|
130
|
-
return fs.readFileSync(examplesPath, 'utf-8');
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Get the full component registry from @idealyst/tooling
|
|
134
|
-
* This is the single source of truth for component props and values
|
|
135
|
-
*/
|
|
136
|
-
export function getComponentRegistry() {
|
|
137
|
-
const types = loadTypes();
|
|
138
|
-
return types.registry?.components || {};
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* Get theme values from the registry
|
|
142
|
-
* This is the single source of truth for available intents, sizes, etc.
|
|
143
|
-
*/
|
|
144
|
-
export function getRegistryThemeValues() {
|
|
145
|
-
const types = loadTypes();
|
|
146
|
-
return types.registry?.themeValues || null;
|
|
147
|
-
}
|
|
148
|
-
//# sourceMappingURL=get-types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-types.js","sourceRoot":"","sources":["../../src/tools/get-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAEpC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;AAe3C,IAAI,WAAW,GAAqB,IAAI,CAAC;AAEzC;;GAEG;AACH,SAAS,SAAS;IAChB,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,yBAAyB,CAAC,CAAC;IAElE,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;QAC9B,MAAM,IAAI,KAAK,CACb,qFAAqF,CACtF,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACpD,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAElC,OAAO,WAAY,CAAC;AACtB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,aAAqB,EAAE,SAAyC,MAAM;IACtG,MAAM,KAAK,GAAG,SAAS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