igniteui-theming 25.1.0 → 25.2.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.
Files changed (128) hide show
  1. package/dist/index.d.ts +75 -0
  2. package/dist/index.js +12 -0
  3. package/dist/json/components/bootstrap.json +1 -0
  4. package/dist/json/components/fluent.json +1 -0
  5. package/dist/json/components/indigo.json +1 -0
  6. package/dist/json/components/material.json +1 -0
  7. package/{json → dist/json}/components/themes.json +31 -1
  8. package/dist/mcp/generators/css.d.ts +7 -4
  9. package/dist/mcp/generators/css.js +129 -104
  10. package/dist/mcp/generators/sass.js +227 -254
  11. package/dist/mcp/index.js +259 -323
  12. package/dist/mcp/knowledge/color-usage.js +524 -502
  13. package/dist/mcp/knowledge/colors.js +61 -50
  14. package/dist/mcp/knowledge/component-metadata.js +697 -598
  15. package/dist/mcp/knowledge/component-themes.js +70 -57
  16. package/dist/mcp/knowledge/custom-palettes.js +4 -9
  17. package/dist/mcp/knowledge/docs/colors/guidance.js +4 -0
  18. package/dist/mcp/knowledge/docs/colors/usage.js +4 -0
  19. package/dist/mcp/knowledge/docs/layout/functions/border-radius.js +4 -0
  20. package/dist/mcp/knowledge/docs/layout/functions/pad.js +4 -0
  21. package/dist/mcp/knowledge/docs/layout/functions/sizable.js +4 -0
  22. package/dist/mcp/knowledge/docs/layout/mixins/sizable.js +4 -0
  23. package/dist/mcp/knowledge/docs/layout/mixins/sizing.js +4 -0
  24. package/dist/mcp/knowledge/docs/layout/mixins/spacing.js +4 -0
  25. package/dist/mcp/knowledge/docs/layout/overview.js +4 -0
  26. package/dist/mcp/knowledge/docs/setup/platform.js +4 -0
  27. package/dist/mcp/knowledge/elevations.d.ts +1 -1
  28. package/dist/mcp/knowledge/elevations.js +26 -12
  29. package/dist/mcp/knowledge/index.js +23 -87
  30. package/dist/mcp/knowledge/layout-docs.d.ts +1 -1
  31. package/dist/mcp/knowledge/multipliers.js +5 -0
  32. package/dist/mcp/knowledge/palettes.js +29 -17
  33. package/dist/mcp/knowledge/platforms/angular.js +98 -120
  34. package/dist/mcp/knowledge/platforms/blazor.js +39 -34
  35. package/dist/mcp/knowledge/platforms/common.js +83 -68
  36. package/dist/mcp/knowledge/platforms/index.js +265 -242
  37. package/dist/mcp/knowledge/platforms/react.js +43 -35
  38. package/dist/mcp/knowledge/platforms/webcomponents.js +266 -292
  39. package/dist/mcp/knowledge/sass-api.js +1 -0
  40. package/dist/mcp/knowledge/typography.js +13 -5
  41. package/dist/mcp/resources/index.js +1 -0
  42. package/dist/mcp/resources/presets.js +409 -508
  43. package/dist/mcp/theming/dist/json/colors/meta/multipliers.js +50 -0
  44. package/dist/mcp/theming/dist/json/colors/presets/palettes.js +85 -0
  45. package/dist/mcp/theming/dist/json/components/themes.js +5792 -0
  46. package/dist/mcp/theming/dist/json/elevations/indigo.js +29 -0
  47. package/dist/mcp/theming/dist/json/elevations/material.js +3 -0
  48. package/dist/mcp/theming/dist/json/typography/presets/typescales.js +621 -0
  49. package/dist/mcp/tools/descriptions.js +98 -154
  50. package/dist/mcp/tools/handlers/color.js +58 -56
  51. package/dist/mcp/tools/handlers/component-theme.js +163 -225
  52. package/dist/mcp/tools/handlers/component-tokens.js +159 -219
  53. package/dist/mcp/tools/handlers/custom-palette.js +138 -179
  54. package/dist/mcp/tools/handlers/elevations.js +27 -28
  55. package/dist/mcp/tools/handlers/index.js +11 -0
  56. package/dist/mcp/tools/handlers/layout.js +125 -176
  57. package/dist/mcp/tools/handlers/palette.js +105 -120
  58. package/dist/mcp/tools/handlers/platform.js +289 -311
  59. package/dist/mcp/tools/handlers/resource.js +22 -31
  60. package/dist/mcp/tools/handlers/theme.js +86 -103
  61. package/dist/mcp/tools/handlers/typography.js +29 -30
  62. package/dist/mcp/tools/index.js +13 -0
  63. package/dist/mcp/tools/schemas.js +239 -218
  64. package/dist/mcp/utils/color.js +277 -239
  65. package/dist/mcp/utils/preprocessing.js +57 -30
  66. package/dist/mcp/utils/result.js +43 -45
  67. package/dist/mcp/utils/sass.js +271 -191
  68. package/dist/mcp/utils/theming-resolve.d.ts +19 -0
  69. package/dist/mcp/utils/theming-resolve.js +57 -0
  70. package/dist/mcp/utils/types.js +96 -53
  71. package/dist/mcp/validators/custom-palette.js +218 -243
  72. package/dist/mcp/validators/index.js +3 -0
  73. package/dist/mcp/validators/palette.js +231 -229
  74. package/dist/tailwind/utilities/bootstrap.css +1 -0
  75. package/dist/tailwind/utilities/fluent.css +1 -0
  76. package/dist/tailwind/utilities/indigo.css +1 -0
  77. package/dist/tailwind/utilities/material.css +1 -0
  78. package/package.json +45 -64
  79. package/sass/json/README.md +12 -7
  80. package/sass/themes/_mixins.scss +1 -0
  81. package/sass/themes/components/button-group/_button-group-theme.scss +42 -0
  82. package/sass/themes/components/grid/_grid-theme.scss +1 -1
  83. package/sass/themes/schemas/components/dark/_button-group.scss +173 -50
  84. package/sass/themes/schemas/components/dark/_grid.scss +0 -16
  85. package/sass/themes/schemas/components/light/_button-group.scss +221 -99
  86. package/sass/themes/schemas/components/light/_grid.scss +14 -20
  87. package/LICENSE +0 -21
  88. package/README.md +0 -391
  89. package/dist/mcp/json/colors/presets/palettes.json.js +0 -13
  90. package/dist/mcp/json/components/themes.json.js +0 -143
  91. package/dist/mcp/json/elevations/indigo.json.js +0 -8
  92. package/dist/mcp/json/elevations/material.json.js +0 -8
  93. package/dist/mcp/json/typography/presets/typescales.json.js +0 -17
  94. package/dist/mcp/knowledge/docs/colors/guidance.md.js +0 -4
  95. package/dist/mcp/knowledge/docs/colors/usage.md.js +0 -4
  96. package/dist/mcp/knowledge/docs/layout/functions/border-radius.md.js +0 -4
  97. package/dist/mcp/knowledge/docs/layout/functions/pad.md.js +0 -4
  98. package/dist/mcp/knowledge/docs/layout/functions/sizable.md.js +0 -4
  99. package/dist/mcp/knowledge/docs/layout/mixins/sizable.md.js +0 -4
  100. package/dist/mcp/knowledge/docs/layout/mixins/sizing.md.js +0 -4
  101. package/dist/mcp/knowledge/docs/layout/mixins/spacing.md.js +0 -4
  102. package/dist/mcp/knowledge/docs/layout/overview.md.js +0 -4
  103. package/dist/mcp/knowledge/docs/setup/platform.md.js +0 -4
  104. package/dist/mcp/vite-env.d.ts +0 -18
  105. package/index.js +0 -5
  106. package/json/components/bootstrap.json +0 -1
  107. package/json/components/fluent.json +0 -1
  108. package/json/components/indigo.json +0 -1
  109. package/json/components/material.json +0 -1
  110. package/tailwind/utilities/bootstrap.css +0 -1
  111. package/tailwind/utilities/fluent.css +0 -1
  112. package/tailwind/utilities/indigo.css +0 -1
  113. package/tailwind/utilities/material.css +0 -1
  114. /package/{json → dist/json}/colors/meta/multipliers.json +0 -0
  115. /package/{json → dist/json}/colors/meta/palette.json +0 -0
  116. /package/{json → dist/json}/colors/presets/palettes.json +0 -0
  117. /package/{json → dist/json}/elevations/indigo.json +0 -0
  118. /package/{json → dist/json}/elevations/material.json +0 -0
  119. /package/{json → dist/json}/typography/presets/typescales.json +0 -0
  120. /package/{tailwind → dist/tailwind}/themes/base.css +0 -0
  121. /package/{tailwind → dist/tailwind}/themes/dark/bootstrap.css +0 -0
  122. /package/{tailwind → dist/tailwind}/themes/dark/fluent.css +0 -0
  123. /package/{tailwind → dist/tailwind}/themes/dark/indigo.css +0 -0
  124. /package/{tailwind → dist/tailwind}/themes/dark/material.css +0 -0
  125. /package/{tailwind → dist/tailwind}/themes/light/bootstrap.css +0 -0
  126. /package/{tailwind → dist/tailwind}/themes/light/fluent.css +0 -0
  127. /package/{tailwind → dist/tailwind}/themes/light/indigo.css +0 -0
  128. /package/{tailwind → dist/tailwind}/themes/light/material.css +0 -0
@@ -19,8 +19,17 @@
19
19
  /// @prop {Map} item-hover-text-color [color: ('gray', 900)] - The hover text color for button group items.
20
20
  /// @prop {Map} item-focused-text-color [color: ('gray', 800)] - The focused text color for button group items.
21
21
  /// @prop {Map} item-focused-border-color [color: ('gray', 400)] - The focused border color for an item from the button group.
22
+ /// @prop {Map} item-focused-hover-text-color [color: ('gray', 900)] - The focused & hover text color for button group items.
23
+ /// @prop {Map} item-focused-hover-border-color [color: ('gray', 400)] - The focused & hover border color for an item from the button group.
24
+ /// @prop {Map} item-focused-hover-background [color: ('gray', 200)] - The focused & hover background color for button group items.
25
+ /// @prop {Map} item-selected-hover-text-color [color: ('gray', 900)] - The text color for a selected item in hover state in the button group.
26
+ /// @prop {Map} item-selected-hover-icon-color [color: ('gray', 900)] - The icon color for a selected item in hover state in the button group.
27
+ /// @prop {Map} item-selected-focus-background [color: ('gray', 300)] - The background color for a selected item in focus state in the button group.
28
+ /// @prop {Map} item-selected-focus-hover-background [color: ('gray', 400)] - The background color for a selected item in focused & hover state in the button group.
29
+ /// @prop {Map} item-selected-active-background [color: ('gray', 500)] - The active background color for a selected item in the button group.
30
+ /// @prop {Map} item-active-border-color [color: ('gray', 500)] - The active border color for button group items.
31
+ /// @prop {Map} item-selected-active-border-color [color: ('gray', 600)] - The active border color for a selected item in the button group.
22
32
  /// @prop {Map} disabled-background-color [color: ('gray', 50)] - The background color for a disabled item in the button group.
23
- /// @prop {Map} disabled-selected-background [color: ('gray', 500, .12)] - The disabled background color for a selected item in the button group.
24
33
  /// @prop {Number} elevation [2] - The elevation level, between 0-24, to be used for the button group shadow.
25
34
  /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for button-group component.
26
35
  /// @prop {Number} default-size [2] - The default size used for the button-group component.
@@ -81,18 +90,80 @@ $light-button-group: extend(
81
90
  ),
82
91
  ),
83
92
 
84
- disabled-background-color: (
93
+ item-focused-hover-text-color: (
85
94
  color: (
86
95
  'gray',
87
- 50,
96
+ 900,
88
97
  ),
89
98
  ),
90
99
 
91
- disabled-selected-background: (
100
+ item-focused-hover-border-color: (
101
+ color: (
102
+ 'gray',
103
+ 400,
104
+ ),
105
+ ),
106
+
107
+ item-focused-hover-background: (
108
+ color: (
109
+ 'gray',
110
+ 200,
111
+ ),
112
+ ),
113
+
114
+ item-selected-hover-text-color: (
115
+ color: (
116
+ 'gray',
117
+ 900,
118
+ ),
119
+ ),
120
+
121
+ item-selected-hover-icon-color: (
122
+ color: (
123
+ 'gray',
124
+ 900,
125
+ ),
126
+ ),
127
+
128
+ item-selected-focus-background: (
129
+ color: (
130
+ 'gray',
131
+ 300,
132
+ ),
133
+ ),
134
+
135
+ item-selected-focus-hover-background: (
136
+ color: (
137
+ 'gray',
138
+ 400,
139
+ ),
140
+ ),
141
+
142
+ item-selected-active-background: (
143
+ color: (
144
+ 'gray',
145
+ 500,
146
+ ),
147
+ ),
148
+
149
+ item-active-border-color: (
92
150
  color: (
93
151
  'gray',
94
152
  500,
95
- 0.12,
153
+ ),
154
+ ),
155
+
156
+ item-selected-active-border-color: (
157
+ color: (
158
+ 'gray',
159
+ 600,
160
+ ),
161
+ ),
162
+
163
+ disabled-background-color: (
164
+ color: (
165
+ 'gray',
166
+ 50,
96
167
  ),
97
168
  ),
98
169
 
@@ -125,23 +196,21 @@ $light-button-group: extend(
125
196
  /// @prop {Map} item-hover-text-color [color: ('gray', 800)] - The hover text color for button group items.
126
197
  /// @prop {Map} item-hover-icon-color [color: ('gray', 800)] - The hover icon color for button group items.
127
198
  /// @prop {Map} item-hover-border-color [color: ('gray', 400)] - The hover border color between button group items.
128
- /// @prop {Map} item-hover-background [color: ('gray', 300, .8)] - The hover background color for button group items.
129
- /// @prop {Map} item-focused-background [color: ('gray', 700, .4)] - The focused background color for button group items.
130
- /// @prop {Map} item-focused-hover-background [color: ('gray', 500, .5)] - The focused & hover background color for button group items.
131
- /// @prop {Map} item-selected-background [color: ('gray', 400)] - The background color for a selected item in the button group.
199
+ /// @prop {Map} item-focused-background [color: ('gray', 200)] - The focused background color for button group items.
200
+ /// @prop {Map} item-focused-hover-background [color: ('gray', 300)] - The focused & hover background color for button group items.
201
+ /// @prop {Map} item-focused-hover-text-color [color: ('gray', 800)] - The focused & hover text color for button group items.
202
+ /// @prop {Map} item-selected-background [color: ('gray', 200)] - The background color for a selected item in the button group.
132
203
  /// @prop {Map} item-selected-text-color [color: ('gray', 800)] - The text color for a selected item in the button group.
133
204
  /// @prop {Map} item-selected-icon-color [color: ('gray', 800)] - The icon color for a selected item in the button group.
134
205
  /// @prop {Map} item-selected-border-color [color: ('gray', 500)] - The border color for a selected item from the button group.
135
- /// @prop {Map} item-selected-hover-background [color: ('gray', 500, .4)] - The background color for a selected item in hover state in the button group.
136
- /// @prop {Map} item-selected-focus-background [color: ('gray', 700, .5)] - The background color for a selected item in focus state in the button group.
137
- /// @prop {Map} item-selected-focus-hover-background [color: ('gray', 600, .7)] - The background color for a selected item in focused & hover state in the button group.
206
+ /// @prop {Map} item-selected-hover-background [color: ('gray', 300)] - The background color for a selected item in hover state in the button group.
207
+ /// @prop {Map} item-active-background [color: ('gray', 400)] - The active background color for button group items.
138
208
  /// @prop {Map} item-selected-hover-border-color [color: ('gray', 500)] - The border color for a selected item in hover state in the button group.
139
- /// @prop {Map} item-selected-hover-text-color [color: ('gray', 900)] - The text color for a selected item in hover state in the button group.
140
- /// @prop {Map} item-selected-hover-icon-color [color: ('gray', 900)] - The icon color for a selected item in hover state in the button group.
141
209
  /// @prop {Map} disabled-text-color [color: ('gray', 400)] - The text/icon color for a disabled item in the button group.
142
210
  /// @prop {Map} item-disabled-border [color: ('gray', 400)] - The border color for a disabled item in the button group.
143
211
  /// @prop {Map} disabled-selected-text-color [color: ('gray', 400)] - The disabled text color for a selected item in the button group.
144
212
  /// @prop {Map} disabled-selected-icon-color [color: ('gray', 400)] - The disabled icon color for a selected item in the button group.
213
+ /// @prop {Map} disabled-selected-background [color: ('gray', 100)] - The disabled background color for a selected item in the button group.
145
214
  /// @prop {Map} disabled-selected-border-color [color: ('gray', 400)] - The disabled border color for a selected item from the button group.
146
215
  /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for button-group component.
147
216
  /// @prop {Number} default-size [3] - The default size used for the button-group component.
@@ -179,27 +248,24 @@ $material-button-group: extend(
179
248
  ),
180
249
  ),
181
250
 
182
- item-hover-background: (
251
+ item-focused-background: (
183
252
  color: (
184
253
  'gray',
185
- 300,
186
- 0.8,
254
+ 200,
187
255
  ),
188
256
  ),
189
257
 
190
- item-focused-background: (
258
+ item-focused-hover-background: (
191
259
  color: (
192
260
  'gray',
193
- 700,
194
- 0.4,
261
+ 300,
195
262
  ),
196
263
  ),
197
264
 
198
- item-focused-hover-background: (
265
+ item-focused-hover-text-color: (
199
266
  color: (
200
267
  'gray',
201
- 500,
202
- 0.5,
268
+ 800,
203
269
  ),
204
270
  ),
205
271
 
@@ -220,7 +286,7 @@ $material-button-group: extend(
220
286
  item-selected-background: (
221
287
  color: (
222
288
  'gray',
223
- 400,
289
+ 200,
224
290
  ),
225
291
  ),
226
292
 
@@ -231,20 +297,6 @@ $material-button-group: extend(
231
297
  ),
232
298
  ),
233
299
 
234
- item-selected-hover-text-color: (
235
- color: (
236
- 'gray',
237
- 900,
238
- ),
239
- ),
240
-
241
- item-selected-hover-icon-color: (
242
- color: (
243
- 'gray',
244
- 900,
245
- ),
246
- ),
247
-
248
300
  item-selected-hover-border-color: (
249
301
  color: (
250
302
  'gray',
@@ -255,24 +307,14 @@ $material-button-group: extend(
255
307
  item-selected-hover-background: (
256
308
  color: (
257
309
  'gray',
258
- 500,
259
- 0.4,
260
- ),
261
- ),
262
-
263
- item-selected-focus-background: (
264
- color: (
265
- 'gray',
266
- 700,
267
- 0.5,
310
+ 300,
268
311
  ),
269
312
  ),
270
313
 
271
- item-selected-focus-hover-background: (
314
+ item-active-background: (
272
315
  color: (
273
316
  'gray',
274
- 600,
275
- 0.7,
317
+ 400,
276
318
  ),
277
319
  ),
278
320
 
@@ -304,6 +346,13 @@ $material-button-group: extend(
304
346
  ),
305
347
  ),
306
348
 
349
+ disabled-selected-background: (
350
+ color: (
351
+ 'gray',
352
+ 100,
353
+ ),
354
+ ),
355
+
307
356
  disabled-selected-border-color: (
308
357
  color: (
309
358
  'gray',
@@ -329,22 +378,21 @@ $material-button-group: extend(
329
378
  /// @prop {Map} item-hover-border-color [color: ('gray', 600)] - The hover border color between button group items.
330
379
  /// @prop {Map} item-focused-text-color [color: ('gray', 900)] - The focused text color for button group items.
331
380
  /// @prop {Map} item-focused-border-color [color: ('gray', 700)] - The focused border color for an item from the button group.
332
- /// @prop {Map} item-focused-background [color: ('gray', 300)] - The focused background color for button group items.
333
- /// @prop {Map} item-focused-hover-background [color: ('gray', 200)] - The focused & hover background color for button group items.
381
+ /// @prop {Map} item-focused-background [contrast-color: ('gray', 900)] - The focused background color for button group items.
382
+ /// @prop {Map} item-focused-hover-border-color [color: ('gray', 600)] - The focused & hover border color for an item from the button group.
334
383
  /// @prop {Map} item-selected-background [color: ('gray', 300)] - The background color for a selected item in the button group.
335
384
  /// @prop {Map} item-selected-text-color [color: ('gray', 900)] - The text color for a selected item in the button group.
336
385
  /// @prop {Map} item-selected-icon-color [color: ('gray', 900)] - The icon color for a selected item in the button group.
337
386
  /// @prop {Map} item-selected-border-color [color: ('gray', 600)] - The border color for a selected item from the button group.
338
- /// @prop {Map} item-selected-hover-background [color: ('gray', 400, .3)] - The background color for a selected item in hover state in the button group.
387
+ /// @prop {Map} item-selected-hover-background [color: ('gray', 400)] - The background color for a selected item in hover state in the button group.
339
388
  /// @prop {Map} item-selected-hover-border-color [color: ('gray', 600)] - The border color for a selected item in hover state in the button group.
340
- /// @prop {Map} item-selected-hover-text-color [color: ('gray', 900)] - The text color for a selected item in hover state in the button group.
341
- /// @prop {Map} item-selected-hover-icon-color [color: ('gray', 900)] - The icon color for a selected item in hover state in the button group.
342
- /// @prop {Map} item-selected-focus-background [color: ('gray', 400)] - The background color for a selected item in focus state in the button group.
343
- /// @prop {Map} item-selected-focus-hover-background [color: ('gray', 400, .3)] - The background color for a selected item in focused & hover state in the button group.
389
+ /// @prop {Map} item-active-background [color: ('gray', 300)] - The active background color for button group items.
390
+ /// @prop {Map} item-active-border-color [color: ('gray', 600)] - The active border color for button group items.
344
391
  /// @prop {Map} disabled-text-color [color: ('gray', 500)] - The text/icon color for a disabled item in the button group.
345
392
  /// @prop {Map} item-disabled-border [color: ('gray', 600)] - The border color for a disabled item in the button group.
346
393
  /// @prop {Map} disabled-selected-text-color [color: ('gray', 500)] - The disabled text color for a selected item in the button group.
347
394
  /// @prop {Map} disabled-selected-icon-color [color: ('gray', 500)] - The disabled icon color for a selected item in the button group.
395
+ /// @prop {Map} disabled-selected-background [color: ('gray', 200)] - The disabled background color for a selected item in the button group.
348
396
  /// @prop {Map} disabled-selected-border-color [color: ('gray', 600)] - The disabled border color for a selected item from the button group.
349
397
  /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the button group shadow.
350
398
  /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for button-group component.
@@ -397,16 +445,16 @@ $fluent-button-group: extend(
397
445
  ),
398
446
 
399
447
  item-focused-background: (
400
- color: (
448
+ contrast-color: (
401
449
  'gray',
402
- 300,
450
+ 900,
403
451
  ),
404
452
  ),
405
453
 
406
- item-focused-hover-background: (
454
+ item-focused-hover-border-color: (
407
455
  color: (
408
456
  'gray',
409
- 200,
457
+ 600,
410
458
  ),
411
459
  ),
412
460
 
@@ -456,21 +504,6 @@ $fluent-button-group: extend(
456
504
  color: (
457
505
  'gray',
458
506
  400,
459
- 0.3,
460
- ),
461
- ),
462
-
463
- item-selected-hover-text-color: (
464
- color: (
465
- 'gray',
466
- 900,
467
- ),
468
- ),
469
-
470
- item-selected-hover-icon-color: (
471
- color: (
472
- 'gray',
473
- 900,
474
507
  ),
475
508
  ),
476
509
 
@@ -481,18 +514,17 @@ $fluent-button-group: extend(
481
514
  ),
482
515
  ),
483
516
 
484
- item-selected-focus-background: (
517
+ item-active-background: (
485
518
  color: (
486
519
  'gray',
487
- 400,
520
+ 300,
488
521
  ),
489
522
  ),
490
523
 
491
- item-selected-focus-hover-background: (
524
+ item-active-border-color: (
492
525
  color: (
493
526
  'gray',
494
- 400,
495
- 0.3,
527
+ 600,
496
528
  ),
497
529
  ),
498
530
 
@@ -524,6 +556,13 @@ $fluent-button-group: extend(
524
556
  ),
525
557
  ),
526
558
 
559
+ disabled-selected-background: (
560
+ color: (
561
+ 'gray',
562
+ 200,
563
+ ),
564
+ ),
565
+
527
566
  disabled-selected-border-color: (
528
567
  color: (
529
568
  'gray',
@@ -558,8 +597,11 @@ $fluent-button-group: extend(
558
597
  /// @prop {Map} item-hover-icon-color [contrast-color: ('primary', 600)] - The hover icon color for button group items.
559
598
  /// @prop {Map} item-hover-border-color [color: ('primary', 500)] - The hover border color between button group items.
560
599
  /// @prop {Map} item-focused-text-color [contrast-color: ('primary', 600)] - The focused text color for button group items.
561
- /// @prop {Map} item-focused-background [color: ('primary', 900, .6)] - The focused background color for button group items.
562
- /// @prop {Map} item-focused-hover-background [color: ('primary', 600, .5)] - The focused & hover background color for button group items.
600
+ /// @prop {Map} item-focused-background [color: ('primary', 500)] - The focused background color for button group items.
601
+ /// @prop {Map} item-focused-hover-background [color: ('primary', 600)] - The focused & hover background color for button group items.
602
+ /// @prop {Map} item-focused-border-color [color: ('primary', 500)] - The focused border color for an item from the button group.
603
+ /// @prop {Map} item-focused-hover-text-color [contrast-color: ('primary', 600)] - The focused & hover text color for button group items.
604
+ /// @prop {Map} item-focused-hover-border-color [color: ('primary', 600)] - The focused & hover border color for an item from the button group.
563
605
  /// @prop {Map} item-selected-background [color: ('primary', 700)] - The background color for a selected item in the button group.
564
606
  /// @prop {Map} item-selected-text-color [contrast-color: ('primary', 700)] - The text color for a selected item in the button group.
565
607
  /// @prop {Map} item-selected-icon-color [contrast-color: ('primary', 700)] - The icon color for a selected item in the button group.
@@ -568,11 +610,16 @@ $fluent-button-group: extend(
568
610
  /// @prop {Map} item-selected-hover-border-color [color: ('primary', 700)] - The border color for a selected item in hover state in the button group.
569
611
  /// @prop {Map} item-selected-hover-text-color [contrast-color: ('primary', 700)] - The text color for a selected item in hover state in the button group.
570
612
  /// @prop {Map} item-selected-hover-icon-color [contrast-color: ('primary', 700)] - The icon color for a selected item in hover state in the button group.
571
- /// @prop {Map} item-selected-focus-background [color: ('primary', 900, .9)] - The background color for a selected item in focus state in the button group.
572
- /// @prop {Map} item-selected-focus-hover-background [color: ('primary', 600, .5)] - The background color for a selected item in focused & hover state in the button group.
573
- /// @prop {Map} disabled-background-color [color: ('primary', 100)] - The background color for a disabled item in the button group.
613
+ /// @prop {Map} item-selected-focus-background [color: ('primary', 700)] - The background color for a selected item in focus state in the button group.
614
+ /// @prop {Map} item-selected-focus-hover-background [color: ('primary', 800)] - The background color for a selected item in focused & hover state in the button group.
615
+ /// @prop {Map} item-active-background [color: ('primary', 800)] - The active background color for button group items.
616
+ /// @prop {Map} item-active-border-color [color: ('primary', 800)] - The active border color for button group items.
617
+ /// @prop {Map} item-selected-active-background [color: ('primary', 900)] - The active background color for a selected item in the button group.
618
+ /// @prop {Map} item-selected-active-border-color [color: ('primary', 900)] - The active border color for a selected item in the button group.
619
+ /// @prop {Map} disabled-background-color [color: ('primary', 50)] - The background color for a disabled item in the button group.
574
620
  /// @prop {Map} disabled-text-color [color: ('primary', 200)] - The text/icon color for a disabled item in the button group.
575
- /// @prop {Map} item-disabled-border [color: ('primary', 100)] - The border color for a disabled item in the button group.
621
+ /// @prop {Map} item-disabled-border [color: ('primary', 50)] - The border color for a disabled item in the button group.
622
+ /// @prop {Map} disabled-selected-background [color: ('primary', 100)] - The disabled background color for a selected item in the button group.
576
623
  /// @prop {Map} disabled-selected-text-color [color: ('primary', 200)] - The disabled text color for a selected item in the button group.
577
624
  /// @prop {Map} disabled-selected-icon-color [color: ('primary', 200)] - The disabled icon color for a selected item in the button group.
578
625
  /// @prop {Map} disabled-selected-border-color [color: ('primary', 100)] - The disabled border color for a selected item from the button group.
@@ -663,8 +710,7 @@ $bootstrap-button-group: extend(
663
710
  item-focused-background: (
664
711
  color: (
665
712
  'primary',
666
- 900,
667
- 0.6,
713
+ 500,
668
714
  ),
669
715
  ),
670
716
 
@@ -672,7 +718,27 @@ $bootstrap-button-group: extend(
672
718
  color: (
673
719
  'primary',
674
720
  600,
675
- 0.5,
721
+ ),
722
+ ),
723
+
724
+ item-focused-border-color: (
725
+ color: (
726
+ 'primary',
727
+ 500,
728
+ ),
729
+ ),
730
+
731
+ item-focused-hover-text-color: (
732
+ contrast-color: (
733
+ 'primary',
734
+ 600,
735
+ ),
736
+ ),
737
+
738
+ item-focused-hover-border-color: (
739
+ color: (
740
+ 'primary',
741
+ 600,
676
742
  ),
677
743
  ),
678
744
 
@@ -735,23 +801,49 @@ $bootstrap-button-group: extend(
735
801
  item-selected-focus-background: (
736
802
  color: (
737
803
  'primary',
738
- 900,
739
- 0.9,
804
+ 700,
740
805
  ),
741
806
  ),
742
807
 
743
808
  item-selected-focus-hover-background: (
744
809
  color: (
745
810
  'primary',
746
- 600,
747
- 0.5,
811
+ 800,
812
+ ),
813
+ ),
814
+
815
+ item-active-background: (
816
+ color: (
817
+ 'primary',
818
+ 800,
819
+ ),
820
+ ),
821
+
822
+ item-active-border-color: (
823
+ color: (
824
+ 'primary',
825
+ 800,
826
+ ),
827
+ ),
828
+
829
+ item-selected-active-background: (
830
+ color: (
831
+ 'primary',
832
+ 900,
833
+ ),
834
+ ),
835
+
836
+ item-selected-active-border-color: (
837
+ color: (
838
+ 'primary',
839
+ 900,
748
840
  ),
749
841
  ),
750
842
 
751
843
  disabled-background-color: (
752
844
  color: (
753
845
  'primary',
754
- 100,
846
+ 50,
755
847
  ),
756
848
  ),
757
849
 
@@ -763,6 +855,13 @@ $bootstrap-button-group: extend(
763
855
  ),
764
856
 
765
857
  item-disabled-border: (
858
+ color: (
859
+ 'primary',
860
+ 50,
861
+ ),
862
+ ),
863
+
864
+ disabled-selected-background: (
766
865
  color: (
767
866
  'primary',
768
867
  100,
@@ -804,7 +903,6 @@ $bootstrap-button-group: extend(
804
903
  /// @prop {Map} item-hover-icon-color [color: ('gray', 700)] - The hover icon color for button group items.
805
904
  /// @prop {Map} item-hover-border-color [color: ('gray', 500)] - The hover border color between button group items.
806
905
  /// @prop {Map} item-focused-background [color: ('gray', 50)] - The focused background color for button group items.
807
- /// @prop {Map} item-focused-hover-background [color: ('gray', 200)] - The focused & hover background color for button group items.
808
906
  /// @prop {Map} item-selected-background [color: ('primary', 500)] - The background color for a selected item in the button group.
809
907
  /// @prop {Map} item-selected-text-color [contrast-color: ('primary', 500)] - The text color for a selected item in the button group.
810
908
  /// @prop {Map} item-selected-icon-color [contrast-color: ('primary', 500, .8)] - The icon color for a selected item in the button group.
@@ -815,6 +913,9 @@ $bootstrap-button-group: extend(
815
913
  /// @prop {Map} item-selected-hover-icon-color [contrast-color: ('primary', 500)] - The icon color for a selected item in hover state in the button group.
816
914
  /// @prop {Map} item-selected-focus-background [color: ('primary', 500)] - The background color for a selected item in focus state in the button group.
817
915
  /// @prop {Map} item-selected-focus-hover-background [color: ('primary', 400)] - The background color for a selected item in focused & hover state in the button group.
916
+ /// @prop {Map} item-active-background [color: ('gray', 200)] - The active background color for button group items.
917
+ /// @prop {Map} item-selected-active-border-color [color: ('primary', 400)] - The active border color for a selected item in the button group.
918
+ /// @prop {Map} item-selected-active-background [color: ('primary', 400)] - The active background color for a selected item in the button group.
818
919
  /// @prop {Map} disabled-background-color [contrast-color: ('gray', 900)] - The background color for a disabled item in the button group.
819
920
  /// @prop {Map} disabled-text-color [color: ('gray', 900, .2)] - The text/icon color for a disabled item in the button group.
820
921
  /// @prop {Map} item-disabled-border [color: ('gray', 300)] - The border color for a disabled item in the button group.
@@ -873,10 +974,10 @@ $indigo-button-group: extend(
873
974
  ),
874
975
  ),
875
976
 
876
- item-focused-hover-background: (
977
+ item-focused-hover-border-color: (
877
978
  color: (
878
979
  'gray',
879
- 200,
980
+ 500,
880
981
  ),
881
982
  ),
882
983
 
@@ -951,6 +1052,27 @@ $indigo-button-group: extend(
951
1052
  ),
952
1053
  ),
953
1054
 
1055
+ item-active-background: (
1056
+ color: (
1057
+ 'gray',
1058
+ 200,
1059
+ ),
1060
+ ),
1061
+
1062
+ item-selected-active-border-color: (
1063
+ color: (
1064
+ 'primary',
1065
+ 400,
1066
+ ),
1067
+ ),
1068
+
1069
+ item-selected-active-background: (
1070
+ color: (
1071
+ 'primary',
1072
+ 400,
1073
+ ),
1074
+ ),
1075
+
954
1076
  disabled-background-color: (
955
1077
  contrast-color: (
956
1078
  'gray',
@@ -86,14 +86,15 @@
86
86
  /// @prop {Map} excel-filtering-actions-hover-background [color: ('gray', 100)] - The background color of the excel style filtering options in hover/focus state.
87
87
  /// @prop {Map} excel-filtering-actions-disabled-foreground [color: ('gray', 400)] - The text color of the excel style filtering options in disabled state.
88
88
  /// @prop {Map} excel-filtering-border-color [color: ('gray', 300)] - The border color used in the excel style filter.
89
- /// @prop {Map} row-drag-color [color: ('gray', 200))] - The color of the drag handle.
89
+ /// @prop {Map} row-drag-color [color: ('gray', 800)] - The color of the drag handle.
90
90
  /// @prop {Number} grid-elevation [2] - The elevation level, between 0-24, to be used for the grid.
91
91
  /// @prop {Number} drag-elevation [5] - The elevation level, between 0-24, to be used for movable elements (ex. column header).
92
92
  /// @prop {List} drop-area-border-radius [(rem(16px), rem(0), rem(16px))] - The border radius used for drop-area.
93
93
  /// @prop {List} header-size [(rem(32px), rem(40px), rem(50px))] - The size used for the grid header.
94
94
  /// @prop {List} drop-area-size [(rem(24px), rem(24px), rem(32px))] - The size used for the grid drop area.
95
95
  /// @prop {List} group-area-size [(rem(41), rem(49px), rem(57px))] - The size used for the grid group area.
96
- /// @prop {Color} row-ghost-background [color: 'primary', 50] - The background color of the dragged row.
96
+ /// @prop {Color} row-ghost-background [color: ('gray', 50)] - The background color of the dragged row.
97
+ /// @prop {Color} row-ghost-border-color [color: ('gray', 500)] - The border color of the dragged row.
97
98
  /// @prop {Color} summaries-patch-background [color: ('gray', 300)] - The leading summaries patch backround. Used in hierarchical grids.
98
99
  /// @prop {String} active-state-border-style ['solid'] - The border style used for row active state and cell active state.
99
100
  /// @prop {Map} typography [header: (comfortable: (value: 'overline'), compact: (value: 'subtitle-1'))] - The typography styles used for the component.
@@ -361,7 +362,7 @@ $light-grid: extend(
361
362
  row-drag-color: (
362
363
  color: (
363
364
  'gray',
364
- 200,
365
+ 800,
365
366
  ),
366
367
  ),
367
368
 
@@ -611,11 +612,18 @@ $light-grid: extend(
611
612
 
612
613
  row-ghost-background: (
613
614
  color: (
614
- 'primary',
615
+ 'gray',
615
616
  50,
616
617
  ),
617
618
  ),
618
619
 
620
+ row-ghost-border-color: (
621
+ color: (
622
+ 'gray',
623
+ 500,
624
+ ),
625
+ ),
626
+
619
627
  drop-area-border-radius: (
620
628
  border-radius: (
621
629
  rem(16px),
@@ -831,7 +839,6 @@ $material-grid: extend(
831
839
  /// @prop {Map} group-row-selected-background [color: ('gray', 100)] - The drop area background on drop color.
832
840
  /// @prop {Map} group-count-text-color [color: ('gray', 700)] - The grid group row cont badge text color.
833
841
  /// @prop {Map} filtering-header-text-color [color: ('gray', 900)] - The text color of the filtered column header.
834
- /// @prop {Map} row-ghost-background [color: 'surface'] - The background color of the dragged row.
835
842
  /// @prop {number} grid-elevation [0] - The elevation level, between 0-24, to be used for the grid.
836
843
  /// @prop {number} drag-elevation [1] - The elevation level, between 0-24, to be used for movable elements (ex. column header).
837
844
  /// @prop {List} drop-area-border-radius [(rem(2px), rem(0), rem(16px))] - The border radius used for drop-area.
@@ -994,10 +1001,6 @@ $fluent-grid: extend(
994
1001
  ),
995
1002
  ),
996
1003
 
997
- row-ghost-background: (
998
- color: 'surface',
999
- ),
1000
-
1001
1004
  drop-area-border-radius: (
1002
1005
  border-radius: (
1003
1006
  rem(2px),
@@ -1268,7 +1271,7 @@ $bootstrap-grid: extend(
1268
1271
  /// @prop {Map} excel-filtering-actions-icon-color [color: ('gray', 600)] - The icon color of the excel style filtering options.
1269
1272
  /// @prop {Map} excel-filtering-actions-hover-icon-color [color: ('gray', 700)] - The icon color of the excel style filtering options in hover/focus state.
1270
1273
  /// @prop {Map} excel-filtering-actions-hover-background [color: ('gray', 200)] - The background color of the excel style filtering options in hover/focus state.
1271
- /// @prop {Map} row-drag-color [color: ('gray', 800, .75))] - The color of the drag handle.
1274
+ /// @prop {Color} row-ghost-background [color: ('surface')] - The background color of the dragged row.
1272
1275
  /// @prop {Map} summaries-patch-background [color: ('surface')] - The leading summaries patch backround. Used in hierarchical grids.
1273
1276
  /// @requires $light-grid
1274
1277
  $indigo-grid: extend(
@@ -1702,18 +1705,9 @@ $indigo-grid: extend(
1702
1705
  ),
1703
1706
  ),
1704
1707
 
1705
- row-drag-color: (
1706
- color: (
1707
- 'gray',
1708
- 800,
1709
- 0.75,
1710
- ),
1711
- ),
1712
-
1713
1708
  row-ghost-background: (
1714
1709
  color: (
1715
- 'gray',
1716
- 200,
1710
+ 'surface',
1717
1711
  ),
1718
1712
  ),
1719
1713
 
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- © Copyright 2022 INFRAGISTICS. All Rights Reserved.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.