igniteui-theming 25.2.0 → 26.0.0
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/json/components/bootstrap.json +1 -1
- package/dist/json/components/fluent.json +1 -1
- package/dist/json/components/indigo.json +1 -1
- package/dist/json/components/material.json +1 -1
- package/dist/json/components/themes.json +42 -32
- package/dist/mcp/generators/css.js +6 -5
- package/dist/mcp/generators/sass.js +7 -6
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/knowledge/component-metadata.d.ts +20 -19
- package/dist/mcp/knowledge/component-metadata.js +102 -67
- package/dist/mcp/knowledge/component-search.d.ts +18 -0
- package/dist/mcp/knowledge/component-search.js +144 -0
- package/dist/mcp/knowledge/component-themes.js +8 -4
- package/dist/mcp/knowledge/index.d.ts +2 -1
- package/dist/mcp/knowledge/index.js +3 -2
- package/dist/mcp/theming/dist/json/components/themes.js +37 -15
- package/dist/mcp/tools/descriptions.d.ts +12 -10
- package/dist/mcp/tools/descriptions.js +91 -26
- package/dist/mcp/tools/handlers/component-theme.js +25 -6
- package/dist/mcp/tools/handlers/component-tokens.js +60 -84
- package/dist/mcp/tools/handlers/custom-palette.js +2 -1
- package/dist/mcp/tools/handlers/elevations.js +2 -0
- package/dist/mcp/tools/handlers/layout.js +1 -0
- package/dist/mcp/tools/handlers/palette.js +2 -0
- package/dist/mcp/tools/handlers/theme.js +2 -0
- package/dist/mcp/tools/handlers/typography.js +2 -0
- package/dist/mcp/tools/schemas.d.ts +6 -6
- package/dist/mcp/utils/sass.d.ts +5 -1
- package/dist/mcp/utils/sass.js +8 -4
- package/package.json +1 -1
- package/sass/themes/components/chat/_chat-theme.scss +31 -13
- package/sass/themes/components/grid/_grid-theme.scss +11 -15
- package/sass/themes/components/progress/_circular-theme.scss +3 -3
- package/sass/themes/schemas/components/dark/_progress.scss +4 -4
- package/sass/themes/schemas/components/light/_chat.scss +50 -4
- package/sass/themes/schemas/components/light/_progress.scss +4 -4
|
@@ -13,8 +13,10 @@
|
|
|
13
13
|
/// @prop {Map} header-background [color: ('surface', 500)] - The background color of the chat header.
|
|
14
14
|
/// @prop {Map} header-color [contrast-color: ('surface', 500)] - The text color of the chat header.
|
|
15
15
|
/// @prop {Color} header-border [transparent] - The color used for the chat header border.
|
|
16
|
-
/// @prop {Map} message-background [color: ('gray', 200)] - The background color
|
|
17
|
-
/// @prop {Map} message-color [color: ('gray', 800)] - The text color
|
|
16
|
+
/// @prop {Map} sent-message-background [color: ('gray', 200)] - The background color for sent messages.
|
|
17
|
+
/// @prop {Map} sent-message-color [color: ('gray', 800)] - The text color for sent messages.
|
|
18
|
+
/// @prop {Map} received-message-background [transparent] - The background color for received messages.
|
|
19
|
+
/// @prop {Map} received-message-color [color: ('gray', 800)] - The text color for received messages.
|
|
18
20
|
/// @prop {Map} message-actions-color [color: ('gray', 700)] - The icon color of the chat message actions.
|
|
19
21
|
/// @prop {Map} file-background [contrast-color: ('gray', 900)] - The background color of the image message container.
|
|
20
22
|
/// @prop {Map} file-icon-color [color: ('gray', 500)] - The color of the attached file icon.
|
|
@@ -50,13 +52,20 @@ $light-chat: (
|
|
|
50
52
|
'transparent',
|
|
51
53
|
),
|
|
52
54
|
),
|
|
53
|
-
message-background: (
|
|
55
|
+
sent-message-background: (
|
|
54
56
|
color: (
|
|
55
57
|
'gray',
|
|
56
58
|
200,
|
|
57
59
|
),
|
|
58
60
|
),
|
|
59
|
-
message-color: (
|
|
61
|
+
sent-message-color: (
|
|
62
|
+
color: (
|
|
63
|
+
'gray',
|
|
64
|
+
800,
|
|
65
|
+
),
|
|
66
|
+
),
|
|
67
|
+
received-message-background: transparent,
|
|
68
|
+
received-message-color: (
|
|
60
69
|
color: (
|
|
61
70
|
'gray',
|
|
62
71
|
800,
|
|
@@ -128,6 +137,11 @@ $light-chat: (
|
|
|
128
137
|
300,
|
|
129
138
|
),
|
|
130
139
|
),
|
|
140
|
+
typography: (
|
|
141
|
+
message: (
|
|
142
|
+
value: 'body-1',
|
|
143
|
+
),
|
|
144
|
+
),
|
|
131
145
|
_meta: (
|
|
132
146
|
'name': 'chat',
|
|
133
147
|
'variant': 'light',
|
|
@@ -136,10 +150,18 @@ $light-chat: (
|
|
|
136
150
|
|
|
137
151
|
/// Generates a light material chat schema.
|
|
138
152
|
/// @type Map
|
|
153
|
+
/// @prop {List} message-border-radius [border-radius: (rem(24px), rem(0), rem(24px))] - The border radius applied to chat messages.
|
|
139
154
|
/// @requires $light-chat
|
|
140
155
|
$material-chat: extend(
|
|
141
156
|
$light-chat,
|
|
142
157
|
(
|
|
158
|
+
message-border-radius: (
|
|
159
|
+
border-radius: (
|
|
160
|
+
rem(24px),
|
|
161
|
+
rem(0),
|
|
162
|
+
rem(24px),
|
|
163
|
+
),
|
|
164
|
+
),
|
|
143
165
|
_meta: (
|
|
144
166
|
theme: 'material',
|
|
145
167
|
),
|
|
@@ -151,6 +173,7 @@ $material-chat: extend(
|
|
|
151
173
|
/// @prop {Map} background [contrast-color: ('gray', 900)] - The background color of the chat component.
|
|
152
174
|
/// @prop {Map} header-color [color: ('gray', 900)] - The text color of the chat header.
|
|
153
175
|
/// @prop {Map} message-actions-color [color: ('primary', 500)] - The icon color of the chat message actions.
|
|
176
|
+
/// @prop {List} message-border-radius [border-radius: (rem(24px), rem(0), rem(24px))] - The border radius applied to chat messages.
|
|
154
177
|
/// @requires $light-chat
|
|
155
178
|
$fluent-chat: extend(
|
|
156
179
|
$light-chat,
|
|
@@ -173,6 +196,13 @@ $fluent-chat: extend(
|
|
|
173
196
|
500,
|
|
174
197
|
),
|
|
175
198
|
),
|
|
199
|
+
message-border-radius: (
|
|
200
|
+
border-radius: (
|
|
201
|
+
rem(24px),
|
|
202
|
+
rem(0),
|
|
203
|
+
rem(24px),
|
|
204
|
+
),
|
|
205
|
+
),
|
|
176
206
|
_meta: (
|
|
177
207
|
theme: 'fluent',
|
|
178
208
|
),
|
|
@@ -184,6 +214,7 @@ $fluent-chat: extend(
|
|
|
184
214
|
/// @prop {Map} background [contrast-color: ('gray', 900)] - The background color of the chat component.
|
|
185
215
|
/// @prop {Map} header-border [color: ('gray', 300)] - The color used for the chat header border.
|
|
186
216
|
/// @prop {Map} code-border [color: ('gray', 400)] - The border color of the code snippets in the chat component.
|
|
217
|
+
/// @prop {List} message-border-radius [border-radius: (rem(8px), rem(0), rem(24px))] - The border radius applied to chat messages.
|
|
187
218
|
/// @requires $light-chat
|
|
188
219
|
$bootstrap-chat: extend(
|
|
189
220
|
$light-chat,
|
|
@@ -206,6 +237,13 @@ $bootstrap-chat: extend(
|
|
|
206
237
|
400,
|
|
207
238
|
),
|
|
208
239
|
),
|
|
240
|
+
message-border-radius: (
|
|
241
|
+
border-radius: (
|
|
242
|
+
rem(8px),
|
|
243
|
+
rem(0),
|
|
244
|
+
rem(24px),
|
|
245
|
+
),
|
|
246
|
+
),
|
|
209
247
|
_meta: (
|
|
210
248
|
theme: 'bootstrap',
|
|
211
249
|
),
|
|
@@ -218,6 +256,7 @@ $bootstrap-chat: extend(
|
|
|
218
256
|
/// @prop {Map} header-border [color: ('primary', 500)] - The color used for the chat header border.
|
|
219
257
|
/// @prop {Map} file-background [color: ('gray', 100)] - The background color of the image message container.
|
|
220
258
|
/// @prop {Map} message-actions-color [color: ('gray', 600)] - The icon color of the chat message actions.
|
|
259
|
+
/// @prop {List} message-border-radius [border-radius: (rem(8px), rem(0), rem(24px))] - The border radius applied to chat messages.
|
|
221
260
|
/// @prop {Map} progress-indicator-color [color: ('info', 500)] - The color of the progress indicator in the chat component.
|
|
222
261
|
/// @prop {Map} image-attachment-icon [color: ('info', 500)] - The color of the message attachment icon.
|
|
223
262
|
/// @prop {Map} code-border [color: ('gray', 400)] - The border color of the code snippets in the chat component.
|
|
@@ -249,6 +288,13 @@ $indigo-chat: extend(
|
|
|
249
288
|
600,
|
|
250
289
|
),
|
|
251
290
|
),
|
|
291
|
+
message-border-radius: (
|
|
292
|
+
border-radius: (
|
|
293
|
+
rem(8px),
|
|
294
|
+
rem(0),
|
|
295
|
+
rem(24px),
|
|
296
|
+
),
|
|
297
|
+
),
|
|
252
298
|
progress-indicator-color: (
|
|
253
299
|
color: (
|
|
254
300
|
'info',
|
|
@@ -237,7 +237,7 @@ $indigo-progress-linear: extend(
|
|
|
237
237
|
|
|
238
238
|
/// Generates a base light progress-circular schema.
|
|
239
239
|
/// @type Map
|
|
240
|
-
/// @prop {Map}
|
|
240
|
+
/// @prop {Map} track-color [color: ('gray', 300)] - The base circle fill color.
|
|
241
241
|
/// @prop {Map} fill-color-default [color: ('primary', 500)] - The progress circle default fill color.
|
|
242
242
|
/// @prop {Map} fill-color-danger [color: ('error')] - The progress circle danger fill color.
|
|
243
243
|
/// @prop {Map} fill-color-warning [color: ('warn')] - The progress circle warning fill color.
|
|
@@ -248,7 +248,7 @@ $indigo-progress-linear: extend(
|
|
|
248
248
|
/// @prop {List} track-border-radius [rem(0)] - The border radius used for the progress bar track.
|
|
249
249
|
$light-progress-circular: extend(
|
|
250
250
|
(
|
|
251
|
-
|
|
251
|
+
track-color: (
|
|
252
252
|
color: (
|
|
253
253
|
'gray',
|
|
254
254
|
300,
|
|
@@ -342,7 +342,7 @@ $bootstrap-progress-circular: extend(
|
|
|
342
342
|
|
|
343
343
|
/// Generates an indigo progress-circular schema.
|
|
344
344
|
/// @type Map
|
|
345
|
-
/// @prop {Map}
|
|
345
|
+
/// @prop {Map} track-color [color: ('gray', 900, .15)] - The base circle fill color.
|
|
346
346
|
/// @prop {Map} fill-color-default [color: ('primary', 400)] - The track default fill color.
|
|
347
347
|
/// @prop {Map} fill-color-danger [color: ('error', 400)] - The track danger fill color.
|
|
348
348
|
/// @prop {Map} fill-color-warning [color: ('warn', 400)] - The track warning fill color.
|
|
@@ -353,7 +353,7 @@ $bootstrap-progress-circular: extend(
|
|
|
353
353
|
$indigo-progress-circular: extend(
|
|
354
354
|
$light-progress-circular,
|
|
355
355
|
(
|
|
356
|
-
|
|
356
|
+
track-color: (
|
|
357
357
|
color: (
|
|
358
358
|
'gray',
|
|
359
359
|
900,
|