@progress/kendo-theme-bootstrap 5.1.2-dev.2 → 5.1.2-dev.6

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-bootstrap",
3
3
  "description": "Bootstrap theme for Kendo UI",
4
- "version": "5.1.2-dev.2",
4
+ "version": "5.1.2-dev.6",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -49,8 +49,8 @@
49
49
  "postpublish": "echo 'no postpublish for bootstrap theme'"
50
50
  },
51
51
  "dependencies": {
52
- "@progress/kendo-theme-default": "^5.1.2-dev.2",
52
+ "@progress/kendo-theme-default": "^5.1.2-dev.6",
53
53
  "bootstrap": "^5.1.0"
54
54
  },
55
- "gitHead": "df4c6f46ad3f3c8f20146b0301c4f9c2e4b8fa26"
55
+ "gitHead": "64d87da064a0cfce86ebb8ebe986ac30977f7fb7"
56
56
  }
@@ -17,18 +17,19 @@ $notification-bg: $component-bg !default;
17
17
  $notification-text: $component-text !default;
18
18
  $notification-border: $component-border !default;
19
19
 
20
- $notification-themes: () !default;
21
-
22
- @function notification-theme($name: null, $color: null) {
23
- // sass-lint:disable indentation
24
- @return (
25
- border: tint( $color, 10 ),
26
- color: shade( $color, 6 ),
27
- bg: tint( $color, 9 )
28
- );
29
- // sass-lint:enable indentation
30
- }
20
+ @function notification-theme( $colors ) {
21
+ $_theme: ();
22
+
23
+ @each $name, $color in $colors {
24
+ $_theme: map-merge(( $name: (
25
+ color: shade( $color, 6 ),
26
+ background-color: tint( $color, 9 ),
27
+ border: tint( $color, 10 ),
28
+ )), $_theme );
29
+ }
31
30
 
32
- @each $theme, $props in $kendo-theme-colors {
33
- $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
31
+ @return $_theme;
34
32
  }
33
+
34
+ $kendo-notification-theme-colors: $kendo-theme-colors !default;
35
+ $kendo-notification-theme: notification-theme( $kendo-notification-theme-colors ) !default;
@@ -6,6 +6,7 @@ $pivotgrid-font-family: $font-family !default;
6
6
  $pivotgrid-font-size: $font-size !default;
7
7
  $pivotgrid-line-height: $line-height !default;
8
8
  $pivotgrid-border-width: 1px !default;
9
+ $pivotgrid-icon-spacing: 8px !default;
9
10
 
10
11
  $pivotgrid-row-header-width: 300px !default;
11
12
  $pivotgrid-column-header-height: 75px !default;