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.
Files changed (115) hide show
  1. package/dist/index.d.ts +75 -0
  2. package/dist/index.js +12 -0
  3. package/{json → dist/json}/components/indigo.json +1 -1
  4. package/dist/mcp/generators/css.d.ts +7 -4
  5. package/dist/mcp/generators/css.js +129 -104
  6. package/dist/mcp/generators/sass.js +227 -254
  7. package/dist/mcp/index.js +259 -323
  8. package/dist/mcp/knowledge/color-usage.js +524 -502
  9. package/dist/mcp/knowledge/colors.js +61 -50
  10. package/dist/mcp/knowledge/component-metadata.js +697 -598
  11. package/dist/mcp/knowledge/component-themes.js +70 -57
  12. package/dist/mcp/knowledge/custom-palettes.js +4 -9
  13. package/dist/mcp/knowledge/docs/colors/guidance.js +4 -0
  14. package/dist/mcp/knowledge/docs/colors/usage.js +4 -0
  15. package/dist/mcp/knowledge/docs/layout/functions/border-radius.js +4 -0
  16. package/dist/mcp/knowledge/docs/layout/functions/pad.js +4 -0
  17. package/dist/mcp/knowledge/docs/layout/functions/sizable.js +4 -0
  18. package/dist/mcp/knowledge/docs/layout/mixins/sizable.js +4 -0
  19. package/dist/mcp/knowledge/docs/layout/mixins/sizing.js +4 -0
  20. package/dist/mcp/knowledge/docs/layout/mixins/spacing.js +4 -0
  21. package/dist/mcp/knowledge/docs/layout/overview.js +4 -0
  22. package/dist/mcp/knowledge/docs/setup/platform.js +4 -0
  23. package/dist/mcp/knowledge/elevations.d.ts +1 -1
  24. package/dist/mcp/knowledge/elevations.js +26 -12
  25. package/dist/mcp/knowledge/index.js +23 -87
  26. package/dist/mcp/knowledge/layout-docs.d.ts +1 -1
  27. package/dist/mcp/knowledge/multipliers.js +5 -0
  28. package/dist/mcp/knowledge/palettes.js +29 -17
  29. package/dist/mcp/knowledge/platforms/angular.js +98 -120
  30. package/dist/mcp/knowledge/platforms/blazor.js +39 -34
  31. package/dist/mcp/knowledge/platforms/common.js +83 -68
  32. package/dist/mcp/knowledge/platforms/index.js +265 -242
  33. package/dist/mcp/knowledge/platforms/react.js +43 -35
  34. package/dist/mcp/knowledge/platforms/webcomponents.js +266 -292
  35. package/dist/mcp/knowledge/sass-api.js +1 -0
  36. package/dist/mcp/knowledge/typography.js +13 -5
  37. package/dist/mcp/resources/index.js +1 -0
  38. package/dist/mcp/resources/presets.js +409 -508
  39. package/dist/mcp/theming/dist/json/colors/meta/multipliers.js +50 -0
  40. package/dist/mcp/theming/dist/json/colors/presets/palettes.js +85 -0
  41. package/dist/mcp/theming/dist/json/components/themes.js +5762 -0
  42. package/dist/mcp/theming/dist/json/elevations/indigo.js +29 -0
  43. package/dist/mcp/theming/dist/json/elevations/material.js +3 -0
  44. package/dist/mcp/theming/dist/json/typography/presets/typescales.js +621 -0
  45. package/dist/mcp/tools/descriptions.js +98 -154
  46. package/dist/mcp/tools/handlers/color.js +58 -56
  47. package/dist/mcp/tools/handlers/component-theme.js +163 -225
  48. package/dist/mcp/tools/handlers/component-tokens.js +159 -219
  49. package/dist/mcp/tools/handlers/custom-palette.js +138 -179
  50. package/dist/mcp/tools/handlers/elevations.js +27 -28
  51. package/dist/mcp/tools/handlers/index.js +11 -0
  52. package/dist/mcp/tools/handlers/layout.js +125 -176
  53. package/dist/mcp/tools/handlers/palette.js +105 -120
  54. package/dist/mcp/tools/handlers/platform.js +289 -311
  55. package/dist/mcp/tools/handlers/resource.js +22 -31
  56. package/dist/mcp/tools/handlers/theme.js +86 -103
  57. package/dist/mcp/tools/handlers/typography.js +29 -30
  58. package/dist/mcp/tools/index.js +13 -0
  59. package/dist/mcp/tools/schemas.js +239 -218
  60. package/dist/mcp/utils/color.js +277 -239
  61. package/dist/mcp/utils/preprocessing.js +57 -30
  62. package/dist/mcp/utils/result.js +43 -45
  63. package/dist/mcp/utils/sass.js +271 -191
  64. package/dist/mcp/utils/theming-resolve.d.ts +19 -0
  65. package/dist/mcp/utils/theming-resolve.js +57 -0
  66. package/dist/mcp/utils/types.js +96 -53
  67. package/dist/mcp/validators/custom-palette.js +218 -243
  68. package/dist/mcp/validators/index.js +3 -0
  69. package/dist/mcp/validators/palette.js +231 -229
  70. package/package.json +43 -63
  71. package/sass/json/README.md +12 -7
  72. package/sass/themes/_mixins.scss +1 -0
  73. package/sass/themes/schemas/components/dark/_grid.scss +24 -3
  74. package/LICENSE +0 -21
  75. package/README.md +0 -391
  76. package/dist/mcp/json/colors/presets/palettes.json.js +0 -13
  77. package/dist/mcp/json/components/themes.json.js +0 -143
  78. package/dist/mcp/json/elevations/indigo.json.js +0 -8
  79. package/dist/mcp/json/elevations/material.json.js +0 -8
  80. package/dist/mcp/json/typography/presets/typescales.json.js +0 -17
  81. package/dist/mcp/knowledge/docs/colors/guidance.md.js +0 -4
  82. package/dist/mcp/knowledge/docs/colors/usage.md.js +0 -4
  83. package/dist/mcp/knowledge/docs/layout/functions/border-radius.md.js +0 -4
  84. package/dist/mcp/knowledge/docs/layout/functions/pad.md.js +0 -4
  85. package/dist/mcp/knowledge/docs/layout/functions/sizable.md.js +0 -4
  86. package/dist/mcp/knowledge/docs/layout/mixins/sizable.md.js +0 -4
  87. package/dist/mcp/knowledge/docs/layout/mixins/sizing.md.js +0 -4
  88. package/dist/mcp/knowledge/docs/layout/mixins/spacing.md.js +0 -4
  89. package/dist/mcp/knowledge/docs/layout/overview.md.js +0 -4
  90. package/dist/mcp/knowledge/docs/setup/platform.md.js +0 -4
  91. package/dist/mcp/vite-env.d.ts +0 -18
  92. package/index.js +0 -5
  93. /package/{json → dist/json}/colors/meta/multipliers.json +0 -0
  94. /package/{json → dist/json}/colors/meta/palette.json +0 -0
  95. /package/{json → dist/json}/colors/presets/palettes.json +0 -0
  96. /package/{json → dist/json}/components/bootstrap.json +0 -0
  97. /package/{json → dist/json}/components/fluent.json +0 -0
  98. /package/{json → dist/json}/components/material.json +0 -0
  99. /package/{json → dist/json}/components/themes.json +0 -0
  100. /package/{json → dist/json}/elevations/indigo.json +0 -0
  101. /package/{json → dist/json}/elevations/material.json +0 -0
  102. /package/{json → dist/json}/typography/presets/typescales.json +0 -0
  103. /package/{tailwind → dist/tailwind}/themes/base.css +0 -0
  104. /package/{tailwind → dist/tailwind}/themes/dark/bootstrap.css +0 -0
  105. /package/{tailwind → dist/tailwind}/themes/dark/fluent.css +0 -0
  106. /package/{tailwind → dist/tailwind}/themes/dark/indigo.css +0 -0
  107. /package/{tailwind → dist/tailwind}/themes/dark/material.css +0 -0
  108. /package/{tailwind → dist/tailwind}/themes/light/bootstrap.css +0 -0
  109. /package/{tailwind → dist/tailwind}/themes/light/fluent.css +0 -0
  110. /package/{tailwind → dist/tailwind}/themes/light/indigo.css +0 -0
  111. /package/{tailwind → dist/tailwind}/themes/light/material.css +0 -0
  112. /package/{tailwind → dist/tailwind}/utilities/bootstrap.css +0 -0
  113. /package/{tailwind → dist/tailwind}/utilities/fluent.css +0 -0
  114. /package/{tailwind → dist/tailwind}/utilities/indigo.css +0 -0
  115. /package/{tailwind → dist/tailwind}/utilities/material.css +0 -0
@@ -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' };