igniteui-theming 23.2.0 → 24.0.0-beta.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "23.2.0",
3
+ "version": "24.0.0-beta.1",
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": "index.js",
6
6
  "scripts": {
@@ -39,10 +39,6 @@
39
39
  /// @param {Color} $focus-visible-border-color [null] - The focus-visible border color of the button.
40
40
  /// @param {Color} $active-border-color [null] - The active border color of the button.
41
41
  /// @param {Color} $shadow-color [null] - The shadow color of the button.
42
- /// @param {Color} $resting-shadow [null] - The shadow of the button in its idle state.
43
- /// @param {Color} $hover-shadow [null] - The shadow of the button in its hover state.
44
- /// @param {Color} $focus-shadow [null] - The shadow of the button in its focus state.
45
- /// @param {Color} $active-shadow [null] - The shadow of the button in its focus state.
46
42
  /// @param {Color} $disabled-background [null] - The disabled background color of the button.
47
43
  /// @param {Color} $disabled-foreground [null] - The disabled text color of the button.
48
44
  /// @param {Color} $disabled-icon-color [null] - The disabled icon color of the button.
@@ -89,11 +85,6 @@
89
85
 
90
86
  $shadow-color: null,
91
87
 
92
- $resting-shadow: null,
93
- $hover-shadow: null,
94
- $focus-shadow: null,
95
- $active-shadow: null,
96
-
97
88
  $disabled-background: null,
98
89
  $disabled-foreground: null,
99
90
  $disabled-icon-color: $disabled-foreground,
@@ -283,26 +274,6 @@
283
274
  }
284
275
  }
285
276
 
286
- @if not($resting-shadow) {
287
- $resting-elevation: map.get($button-schema, 'resting-elevation');
288
- $resting-shadow: elevation($resting-elevation);
289
- }
290
-
291
- @if not($hover-shadow) {
292
- $hover-elevation: map.get($button-schema, 'hover-elevation');
293
- $hover-shadow: elevation($hover-elevation);
294
- }
295
-
296
- @if not($focus-shadow) {
297
- $focus-elevation: map.get($button-schema, 'focus-elevation');
298
- $focus-shadow: elevation($focus-elevation);
299
- }
300
-
301
- @if not($active-shadow) {
302
- $active-elevation: map.get($button-schema, 'active-elevation');
303
- $active-shadow: elevation($active-elevation);
304
- }
305
-
306
277
  @return extend(
307
278
  $theme,
308
279
  (
@@ -329,10 +300,6 @@
329
300
  focus-visible-border-color: $focus-visible-border-color,
330
301
  active-border-color: $active-border-color,
331
302
  shadow-color: $shadow-color,
332
- resting-elevation: $resting-shadow,
333
- hover-elevation: $hover-shadow,
334
- focus-elevation: $focus-shadow,
335
- active-elevation: $active-shadow,
336
303
  disabled-background: $disabled-background,
337
304
  disabled-foreground: $disabled-foreground,
338
305
  disabled-icon-color: $disabled-icon-color,
@@ -39,10 +39,6 @@
39
39
  /// @param {Color} $focus-visible-border-color [null] - The focus-visible border color of the button.
40
40
  /// @param {Color} $active-border-color [null] - The active border color of the button.
41
41
  /// @param {Color} $shadow-color [null] - The shadow color of the button.
42
- /// @param {Color} $resting-shadow [null] - The shadow of the button in its idle state.
43
- /// @param {Color} $hover-shadow [null] - The shadow of the button in its hover state.
44
- /// @param {Color} $focus-shadow [null] - The shadow of the button in its focus state.
45
- /// @param {Color} $active-shadow [null] - The shadow of the button in its focus state.
46
42
  /// @param {Color} $disabled-background [null] - The disabled background color of the button.
47
43
  /// @param {Color} $disabled-foreground [null] - The disabled text color of the button.
48
44
  /// @param {Color} $disabled-icon-color [null] - The disabled icon color of the button.
@@ -89,11 +85,6 @@
89
85
 
90
86
  $shadow-color: null,
91
87
 
92
- $resting-shadow: null,
93
- $hover-shadow: null,
94
- $focus-shadow: null,
95
- $active-shadow: null,
96
-
97
88
  $disabled-background: null,
98
89
  $disabled-foreground: null,
99
90
  $disabled-icon-color: $disabled-foreground,
@@ -349,26 +340,6 @@
349
340
  }
350
341
  }
351
342
 
352
- @if not($resting-shadow) {
353
- $resting-elevation: map.get($button-schema, 'resting-elevation');
354
- $resting-shadow: elevation($resting-elevation);
355
- }
356
-
357
- @if not($hover-shadow) {
358
- $hover-elevation: map.get($button-schema, 'hover-elevation');
359
- $hover-shadow: elevation($hover-elevation);
360
- }
361
-
362
- @if not($focus-shadow) {
363
- $focus-elevation: map.get($button-schema, 'focus-elevation');
364
- $focus-shadow: elevation($focus-elevation);
365
- }
366
-
367
- @if not($active-shadow) {
368
- $active-elevation: map.get($button-schema, 'active-elevation');
369
- $active-shadow: elevation($active-elevation);
370
- }
371
-
372
343
  @return extend(
373
344
  $theme,
374
345
  (
@@ -395,10 +366,6 @@
395
366
  focus-visible-border-color: $focus-visible-border-color,
396
367
  active-border-color: $active-border-color,
397
368
  shadow-color: $shadow-color,
398
- resting-elevation: $resting-shadow,
399
- hover-elevation: $hover-shadow,
400
- focus-elevation: $focus-shadow,
401
- active-elevation: $active-shadow,
402
369
  disabled-background: $disabled-background,
403
370
  disabled-foreground: $disabled-foreground,
404
371
  disabled-icon-color: $disabled-icon-color,