igniteui-theming 27.3.0 → 27.4.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 +10 -0
- package/dist/mcp/generators/css.d.ts +77 -0
- package/dist/mcp/generators/css.js +131 -1
- package/dist/mcp/index.js +7 -4
- package/dist/mcp/theming/dist/json/components/themes.js +10 -0
- package/dist/mcp/tools/descriptions.d.ts +4 -4
- package/dist/mcp/tools/descriptions.js +13 -3
- package/dist/mcp/tools/handlers/component-theme.js +1 -1
- package/dist/mcp/tools/handlers/custom-palette.js +1 -1
- package/dist/mcp/tools/handlers/elevations.d.ts +2 -2
- package/dist/mcp/tools/handlers/elevations.js +31 -1
- package/dist/mcp/tools/handlers/palette.js +1 -1
- package/dist/mcp/tools/handlers/theme.js +63 -1
- package/dist/mcp/tools/handlers/typography.d.ts +2 -2
- package/dist/mcp/tools/handlers/typography.js +34 -1
- package/dist/mcp/tools/schemas.d.ts +9 -0
- package/dist/mcp/tools/schemas.js +6 -3
- package/dist/tailwind/utilities/bootstrap.css +1 -1
- package/dist/tailwind/utilities/fluent.css +1 -1
- package/dist/tailwind/utilities/indigo.css +1 -1
- package/dist/tailwind/utilities/material.css +1 -1
- package/package.json +1 -1
- package/sass/themes/components/navdrawer/_navdrawer-theme.scss +7 -0
- package/sass/themes/schemas/components/light/_navdrawer.scss +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-theming",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.4.0",
|
|
4
4
|
"description": "A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -39,6 +39,8 @@
|
|
|
39
39
|
/// @param {Color} $shadow [null] - Sets a custom shadow to be used by the drawer.
|
|
40
40
|
/// @param {List} $border-radius [null] - The border radius used for the navdrawer.
|
|
41
41
|
/// @param {List} $item-border-radius [null] - The border radius used for the navdrawer item.
|
|
42
|
+
/// @param {Number} $size [null] - The width of the navigation drawer in its expanded (full) state.
|
|
43
|
+
/// @param {Number} $size--mini [null] - The width of the navigation drawer in its mini state.
|
|
42
44
|
/// @requires $light-material-schema
|
|
43
45
|
/// @example scss - Change the background and item colors
|
|
44
46
|
/// $navdrawer-theme: navdrawer-theme(
|
|
@@ -54,6 +56,9 @@
|
|
|
54
56
|
$border-radius: null,
|
|
55
57
|
$item-border-radius: null,
|
|
56
58
|
|
|
59
|
+
$size: null,
|
|
60
|
+
$size--mini: null,
|
|
61
|
+
|
|
57
62
|
$background: null,
|
|
58
63
|
$border-color: null,
|
|
59
64
|
|
|
@@ -139,6 +144,8 @@
|
|
|
139
144
|
selector: $selector,
|
|
140
145
|
border-radius: $border-radius,
|
|
141
146
|
item-border-radius: $item-border-radius,
|
|
147
|
+
size: $size,
|
|
148
|
+
size--mini: $size--mini,
|
|
142
149
|
background: $background,
|
|
143
150
|
border-color: $border-color,
|
|
144
151
|
item-text-color: $item-text-color,
|
|
@@ -15,10 +15,14 @@
|
|
|
15
15
|
/// @prop {Map} item-disabled-icon-color [color: ('gray', 400)] - The item's disabled icon color.
|
|
16
16
|
/// @prop {Map} elevation [16] - The elevation level, between 0-24, to be used for the drawer.
|
|
17
17
|
/// @prop {List} border-radius [(rem(0), rem(0), rem(36px))] - The border radius used for the navdrawer component.
|
|
18
|
+
/// @prop {Number} size [rem(240px)] - The width of the navigation drawer in its expanded (full) state.
|
|
19
|
+
/// @prop {Number} size--mini [rem(56px)] - The width of the navigation drawer in its mini state.
|
|
18
20
|
/// @requires $default-elevation-navdrawer
|
|
19
21
|
$light-navdrawer: extend(
|
|
20
22
|
$default-elevation-navdrawer,
|
|
21
23
|
(
|
|
24
|
+
size: rem(240px),
|
|
25
|
+
size--mini: rem(56px),
|
|
22
26
|
background: (
|
|
23
27
|
color: 'surface',
|
|
24
28
|
),
|
|
@@ -169,10 +173,12 @@ $material-navdrawer: extend(
|
|
|
169
173
|
/// @prop {Map} item-icon-color [ color: ('primary', 500)] - The item's icon color.
|
|
170
174
|
/// @prop {Map} item-header-text-color [color: ('gray', 800)] - The header's idle text color.
|
|
171
175
|
/// @prop {Map} typography [ item: (value: 'body-2'), header: (value: 'subtitle-1')] - The typography styles used for the component.
|
|
176
|
+
/// @prop {Number} size--mini [rem(40px)] - The width of the navigation drawer in its mini state.
|
|
172
177
|
/// @requires $light-navdrawer
|
|
173
178
|
$fluent-navdrawer: extend(
|
|
174
179
|
$light-navdrawer,
|
|
175
180
|
(
|
|
181
|
+
size--mini: rem(40px),
|
|
176
182
|
item-border-radius: 0,
|
|
177
183
|
item-hover-icon-color: (
|
|
178
184
|
color: (
|
|
@@ -262,10 +268,12 @@ $fluent-navdrawer: extend(
|
|
|
262
268
|
/// @prop {Map} item-icon-color [ color: ('gray', 900)] - The item's icon color.
|
|
263
269
|
/// @prop {Map} item-header-text-color [color: ('gray', 900)] - The header's idle text color.
|
|
264
270
|
/// @prop {Map} typography [item: (value: 'body-2'), header: (value: 'caption')] - The typography styles used for the component.
|
|
271
|
+
/// @prop {Number} size--mini [rem(88px)] - The width of the navigation drawer in its mini state.
|
|
265
272
|
/// @requires $light-navdrawer
|
|
266
273
|
$bootstrap-navdrawer: extend(
|
|
267
274
|
$light-navdrawer,
|
|
268
275
|
(
|
|
276
|
+
size--mini: rem(88px),
|
|
269
277
|
item-border-radius: (
|
|
270
278
|
border-radius: (
|
|
271
279
|
rem(4px),
|
|
@@ -365,10 +373,12 @@ $bootstrap-navdrawer: extend(
|
|
|
365
373
|
/// @prop {Map} border-color [color: ('gray', 300)] - The navigation drawer right border color.
|
|
366
374
|
/// @prop {List} item-border-radius [(rem(4px), rem(0), rem(4px))] - The border radius used for the navdrawer items.
|
|
367
375
|
/// @prop {Map} typography [item: (value: 'subtitle-2'), header: (value: 'overline')] - The typography styles used for the component.
|
|
376
|
+
/// @prop {Number} size--mini [rem(48px)] - The width of the navigation drawer in its mini state.
|
|
368
377
|
/// @requires $light-navdrawer
|
|
369
378
|
$indigo-navdrawer: extend(
|
|
370
379
|
$light-navdrawer,
|
|
371
380
|
(
|
|
381
|
+
size--mini: rem(48px),
|
|
372
382
|
border-color: (
|
|
373
383
|
color: (
|
|
374
384
|
'gray',
|