igniteui-theming 25.0.3 → 25.1.0-beta.2
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.d.ts +75 -0
- package/dist/index.js +12 -0
- package/{json → dist/json}/components/indigo.json +1 -1
- package/dist/mcp/generators/css.d.ts +7 -4
- package/dist/mcp/generators/css.js +129 -104
- package/dist/mcp/generators/sass.js +227 -254
- package/dist/mcp/index.js +259 -323
- package/dist/mcp/knowledge/color-usage.js +524 -502
- package/dist/mcp/knowledge/colors.js +61 -50
- package/dist/mcp/knowledge/component-metadata.js +697 -598
- package/dist/mcp/knowledge/component-themes.js +70 -57
- package/dist/mcp/knowledge/custom-palettes.js +4 -9
- package/dist/mcp/knowledge/docs/colors/guidance.js +4 -0
- package/dist/mcp/knowledge/docs/colors/usage.js +4 -0
- package/dist/mcp/knowledge/docs/layout/functions/border-radius.js +4 -0
- package/dist/mcp/knowledge/docs/layout/functions/pad.js +4 -0
- package/dist/mcp/knowledge/docs/layout/functions/sizable.js +4 -0
- package/dist/mcp/knowledge/docs/layout/mixins/sizable.js +4 -0
- package/dist/mcp/knowledge/docs/layout/mixins/sizing.js +4 -0
- package/dist/mcp/knowledge/docs/layout/mixins/spacing.js +4 -0
- package/dist/mcp/knowledge/docs/layout/overview.js +4 -0
- package/dist/mcp/knowledge/docs/setup/platform.js +4 -0
- package/dist/mcp/knowledge/elevations.d.ts +1 -1
- package/dist/mcp/knowledge/elevations.js +26 -12
- package/dist/mcp/knowledge/index.js +23 -87
- package/dist/mcp/knowledge/layout-docs.d.ts +1 -1
- package/dist/mcp/knowledge/multipliers.js +5 -0
- package/dist/mcp/knowledge/palettes.js +29 -17
- package/dist/mcp/knowledge/platforms/angular.js +98 -120
- package/dist/mcp/knowledge/platforms/blazor.js +39 -34
- package/dist/mcp/knowledge/platforms/common.js +83 -68
- package/dist/mcp/knowledge/platforms/index.js +265 -242
- package/dist/mcp/knowledge/platforms/react.js +43 -35
- package/dist/mcp/knowledge/platforms/webcomponents.js +266 -292
- package/dist/mcp/knowledge/sass-api.js +1 -0
- package/dist/mcp/knowledge/typography.js +13 -5
- package/dist/mcp/resources/index.js +1 -0
- package/dist/mcp/resources/presets.js +409 -508
- package/dist/mcp/theming/dist/json/colors/meta/multipliers.js +50 -0
- package/dist/mcp/theming/dist/json/colors/presets/palettes.js +85 -0
- package/dist/mcp/theming/dist/json/components/themes.js +5762 -0
- package/dist/mcp/theming/dist/json/elevations/indigo.js +29 -0
- package/dist/mcp/theming/dist/json/elevations/material.js +3 -0
- package/dist/mcp/theming/dist/json/typography/presets/typescales.js +621 -0
- package/dist/mcp/tools/descriptions.js +98 -154
- package/dist/mcp/tools/handlers/color.js +58 -56
- package/dist/mcp/tools/handlers/component-theme.js +163 -225
- package/dist/mcp/tools/handlers/component-tokens.js +159 -219
- package/dist/mcp/tools/handlers/custom-palette.js +138 -179
- package/dist/mcp/tools/handlers/elevations.js +27 -28
- package/dist/mcp/tools/handlers/index.js +11 -0
- package/dist/mcp/tools/handlers/layout.js +125 -176
- package/dist/mcp/tools/handlers/palette.js +105 -120
- package/dist/mcp/tools/handlers/platform.js +289 -311
- package/dist/mcp/tools/handlers/resource.js +22 -31
- package/dist/mcp/tools/handlers/theme.js +86 -103
- package/dist/mcp/tools/handlers/typography.js +29 -30
- package/dist/mcp/tools/index.js +13 -0
- package/dist/mcp/tools/schemas.js +239 -218
- package/dist/mcp/utils/color.js +277 -239
- package/dist/mcp/utils/preprocessing.js +57 -30
- package/dist/mcp/utils/result.js +43 -45
- package/dist/mcp/utils/sass.js +271 -191
- package/dist/mcp/utils/theming-resolve.d.ts +19 -0
- package/dist/mcp/utils/theming-resolve.js +57 -0
- package/dist/mcp/utils/types.js +96 -53
- package/dist/mcp/validators/custom-palette.js +218 -243
- package/dist/mcp/validators/index.js +3 -0
- package/dist/mcp/validators/palette.js +231 -229
- package/package.json +43 -63
- package/sass/json/README.md +12 -7
- package/sass/themes/_mixins.scss +1 -0
- package/sass/themes/schemas/components/dark/_grid.scss +24 -3
- package/LICENSE +0 -21
- package/README.md +0 -391
- package/dist/mcp/json/colors/presets/palettes.json.js +0 -13
- package/dist/mcp/json/components/themes.json.js +0 -143
- package/dist/mcp/json/elevations/indigo.json.js +0 -8
- package/dist/mcp/json/elevations/material.json.js +0 -8
- package/dist/mcp/json/typography/presets/typescales.json.js +0 -17
- package/dist/mcp/knowledge/docs/colors/guidance.md.js +0 -4
- package/dist/mcp/knowledge/docs/colors/usage.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/functions/border-radius.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/functions/pad.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/functions/sizable.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/mixins/sizable.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/mixins/sizing.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/mixins/spacing.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/overview.md.js +0 -4
- package/dist/mcp/knowledge/docs/setup/platform.md.js +0 -4
- package/dist/mcp/vite-env.d.ts +0 -18
- package/index.js +0 -5
- /package/{json → dist/json}/colors/meta/multipliers.json +0 -0
- /package/{json → dist/json}/colors/meta/palette.json +0 -0
- /package/{json → dist/json}/colors/presets/palettes.json +0 -0
- /package/{json → dist/json}/components/bootstrap.json +0 -0
- /package/{json → dist/json}/components/fluent.json +0 -0
- /package/{json → dist/json}/components/material.json +0 -0
- /package/{json → dist/json}/components/themes.json +0 -0
- /package/{json → dist/json}/elevations/indigo.json +0 -0
- /package/{json → dist/json}/elevations/material.json +0 -0
- /package/{json → dist/json}/typography/presets/typescales.json +0 -0
- /package/{tailwind → dist/tailwind}/themes/base.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/dark/bootstrap.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/dark/fluent.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/dark/indigo.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/dark/material.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/light/bootstrap.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/light/fluent.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/light/indigo.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/light/material.css +0 -0
- /package/{tailwind → dist/tailwind}/utilities/bootstrap.css +0 -0
- /package/{tailwind → dist/tailwind}/utilities/fluent.css +0 -0
- /package/{tailwind → dist/tailwind}/utilities/indigo.css +0 -0
- /package/{tailwind → dist/tailwind}/utilities/material.css +0 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// Auto-generated by buildBarrel.mjs — do not edit manually.
|
|
2
|
+
|
|
3
|
+
export declare const PaletteMultipliers: {
|
|
4
|
+
"color": {
|
|
5
|
+
"s": Record<"50" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "A100" | "A200" | "A400" | "A700", string>;
|
|
6
|
+
"l": Record<"50" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "A100" | "A200" | "A400" | "A700", string>;
|
|
7
|
+
};
|
|
8
|
+
"grayscale": {
|
|
9
|
+
"s"?: Record<"50" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "A100" | "A200" | "A400" | "A700", string>;
|
|
10
|
+
"l": Record<"50" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "A100" | "A200" | "A400" | "A700", string>;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const PaletteMeta: Record<string, string[]>;
|
|
14
|
+
export declare const Palettes: Record<string, {
|
|
15
|
+
"primary": string;
|
|
16
|
+
"secondary": string;
|
|
17
|
+
"gray": string;
|
|
18
|
+
"surface": string;
|
|
19
|
+
"info": string;
|
|
20
|
+
"success": string;
|
|
21
|
+
"warn": string;
|
|
22
|
+
"error": string;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const BootstrapThemes: {
|
|
25
|
+
"light": Record<string, Record<string, string>>;
|
|
26
|
+
"dark": Record<string, Record<string, string>>;
|
|
27
|
+
};
|
|
28
|
+
export declare const FluentThemes: {
|
|
29
|
+
"light": Record<string, Record<string, string>>;
|
|
30
|
+
"dark": Record<string, Record<string, string>>;
|
|
31
|
+
};
|
|
32
|
+
export declare const IndigoThemes: {
|
|
33
|
+
"light": Record<string, Record<string, string>>;
|
|
34
|
+
"dark": Record<string, Record<string, string>>;
|
|
35
|
+
};
|
|
36
|
+
export declare const MaterialThemes: {
|
|
37
|
+
"light": Record<string, Record<string, string>>;
|
|
38
|
+
"dark": Record<string, Record<string, string>>;
|
|
39
|
+
};
|
|
40
|
+
export declare const ComponentThemes: Record<string, {
|
|
41
|
+
"name": string;
|
|
42
|
+
"themeFunctionName": string;
|
|
43
|
+
"description": string;
|
|
44
|
+
"primaryTokens": {
|
|
45
|
+
"name": string;
|
|
46
|
+
"type"?: string;
|
|
47
|
+
"description": string;
|
|
48
|
+
}[];
|
|
49
|
+
"primaryTokensSummary"?: string;
|
|
50
|
+
"tokens": {
|
|
51
|
+
"name": string;
|
|
52
|
+
"type"?: string;
|
|
53
|
+
"description": string;
|
|
54
|
+
}[];
|
|
55
|
+
}>;
|
|
56
|
+
export declare const IndigoElevations: {
|
|
57
|
+
"elevations": Record<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24", string>;
|
|
58
|
+
};
|
|
59
|
+
export declare const MaterialElevations: {
|
|
60
|
+
"elevations": Record<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24", string>;
|
|
61
|
+
};
|
|
62
|
+
export declare const Typescales: Record<string, {
|
|
63
|
+
"typeface": string;
|
|
64
|
+
[key: string]: {
|
|
65
|
+
"font-family": string;
|
|
66
|
+
"font-size": string;
|
|
67
|
+
"font-weight": string;
|
|
68
|
+
"font-style": string;
|
|
69
|
+
"line-height": string;
|
|
70
|
+
"letter-spacing": string;
|
|
71
|
+
"text-transform": string;
|
|
72
|
+
"margin-top": string;
|
|
73
|
+
"margin-bottom": string;
|
|
74
|
+
};
|
|
75
|
+
}>;
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Auto-generated by buildBarrel.mjs — do not edit manually.
|
|
2
|
+
export { default as PaletteMultipliers } from './json/colors/meta/multipliers.json' with { type: 'json' };
|
|
3
|
+
export { default as PaletteMeta } from './json/colors/meta/palette.json' with { type: 'json' };
|
|
4
|
+
export { default as Palettes } from './json/colors/presets/palettes.json' with { type: 'json' };
|
|
5
|
+
export { default as BootstrapThemes } from './json/components/bootstrap.json' with { type: 'json' };
|
|
6
|
+
export { default as FluentThemes } from './json/components/fluent.json' with { type: 'json' };
|
|
7
|
+
export { default as IndigoThemes } from './json/components/indigo.json' with { type: 'json' };
|
|
8
|
+
export { default as MaterialThemes } from './json/components/material.json' with { type: 'json' };
|
|
9
|
+
export { default as ComponentThemes } from './json/components/themes.json' with { type: 'json' };
|
|
10
|
+
export { default as IndigoElevations } from './json/elevations/indigo.json' with { type: 'json' };
|
|
11
|
+
export { default as MaterialElevations } from './json/elevations/material.json' with { type: 'json' };
|
|
12
|
+
export { default as Typescales } from './json/typography/presets/typescales.json' with { type: 'json' };
|