@progress/kendo-theme-bootstrap 5.1.0 → 5.1.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/dist/all.scss CHANGED
@@ -951,46 +951,8 @@ $gray-700: #495057 !default;
951
951
  $gray-800: #343a40 !default;
952
952
  $gray-900: #212529 !default;
953
953
  $black: #000000 !default;
954
-
955
- $blue: #0d6efd !default;
956
- $indigo: #6610f2 !default;
957
- $purple: #6f42c1 !default;
958
- $pink: #d63384 !default;
959
- $red: #dc3545 !default;
960
- $orange: #fd7e14 !default;
961
- $yellow: #ffc107 !default;
962
- $green: #198754 !default;
963
- $teal: #20c997 !default;
964
- $cyan: #0dcaf0 !default;
965
-
966
- $primary: $blue !default;
967
- $secondary: $gray-600 !default;
968
- $tertiary: $purple !default;
969
- $success: $green !default;
970
- $info: $cyan !default;
971
- $warning: $yellow !default;
972
- $danger: $red !default;
973
- $light: $gray-100 !default;
974
- $dark: $gray-900 !default;
975
-
976
- $error: $danger !default;
977
- $inverse: if( $dark-theme, $light, $dark ) !default;
978
954
  // stylelint-enable scss/dollar-variable-colon-space-after
979
955
 
980
-
981
- $theme-colors: (
982
- "primary": $primary,
983
- "secondary": $secondary,
984
- "tertiary": $tertiary,
985
- "info": $info,
986
- "success": $success,
987
- "warning": $warning,
988
- "error": $error,
989
- "dark": $dark,
990
- "light": $light,
991
- "inverse": $inverse
992
- ) !default;
993
-
994
956
  $body-bg: $white !default;
995
957
  $body-color: contrast-wcag( $body-bg, $gray-900, $gray-100 ) !default;
996
958
 
@@ -3180,12 +3142,12 @@ $dark: $dark !default;
3180
3142
  /// @type Color
3181
3143
  $light: $light !default;
3182
3144
 
3183
- /// Inverse color of the theme. Depending on the theme luminance dark or lught, it will be light or dark
3145
+ /// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
3184
3146
  /// @group color-system
3185
3147
  $inverse: if( $dark-theme, $light, $dark ) !default;
3186
3148
 
3187
3149
 
3188
- $theme-colors: (
3150
+ $kendo-theme-colors: (
3189
3151
  "primary": $primary,
3190
3152
  "secondary": $secondary,
3191
3153
  "tertiary": $tertiary,
@@ -3231,7 +3193,7 @@ $app-border: contrast-wcag( $app-bg, $gray-300, $gray-700 ) !default;
3231
3193
 
3232
3194
  // Component
3233
3195
  /// Background color of a component.
3234
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !defualt;`.
3196
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
3235
3197
  /// @group component
3236
3198
  $component-bg: $body-bg !default;
3237
3199
  /// Text color of a component.
@@ -5401,7 +5363,7 @@ $utils-border-radius: (
5401
5363
  0: 0
5402
5364
  ) !default;
5403
5365
 
5404
- $utils-border-color: $theme-colors !default;
5366
+ $utils-border-color: $kendo-theme-colors !default;
5405
5367
 
5406
5368
  $utils-border-radius-sides: (
5407
5369
  default: border-radius,
@@ -6499,7 +6461,7 @@ $utils-border-radius: (
6499
6461
 
6500
6462
  .k-color-inherit { color: inherit; }
6501
6463
 
6502
- @each $name, $color in $theme-colors {
6464
+ @each $name, $color in $kendo-theme-colors {
6503
6465
  .k-text-#{$name},
6504
6466
  .k-color-#{$name} {
6505
6467
  color: $color !important;
@@ -6513,7 +6475,7 @@ $utils-border-radius: (
6513
6475
 
6514
6476
  // sass-lint:disable-block no-important
6515
6477
 
6516
- @each $name, $bg-color in $theme-colors {
6478
+ @each $name, $bg-color in $kendo-theme-colors {
6517
6479
  .k-bg-#{$name} {
6518
6480
  background-color: $bg-color !important;
6519
6481
  }
@@ -6530,7 +6492,7 @@ $utils-border-radius: (
6530
6492
 
6531
6493
  @include exports( "common/decoration/variant" ) {
6532
6494
 
6533
- @each $name, $variant in $theme-colors {
6495
+ @each $name, $variant in $kendo-theme-colors {
6534
6496
  .k-state-#{$name} {
6535
6497
  @include variant( $variant );
6536
6498
  }
@@ -8042,7 +8004,7 @@ $message-box-link-text-decoration: underline !default;
8042
8004
  // #region @import "~@progress/kendo-theme-default/scss/messagebox/_theme.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/messagebox/_theme.scss
8043
8005
  @include exports("messagebox/theme") {
8044
8006
 
8045
- @each $color-name, $color in $theme-colors {
8007
+ @each $color-name, $color in $kendo-theme-colors {
8046
8008
  .k-messagebox-#{$color-name} {
8047
8009
  @include fill(
8048
8010
  color-level( $color, $message-box-text-level ),
@@ -9453,7 +9415,7 @@ $listgroup-item-border-width: $listgroup-border-width !default;
9453
9415
 
9454
9416
  // Component
9455
9417
  // #region @import "_variables.scss"; -> packages/bootstrap/scss/overlay/_variables.scss
9456
- $overlay-theme-colors: $theme-colors !default;
9418
+ $overlay-theme-colors: $kendo-theme-colors !default;
9457
9419
 
9458
9420
  $overlay-bg: $black !default;
9459
9421
  $overlay-opacity: .5 !default;
@@ -10005,7 +9967,7 @@ $badge-dot-size-lg: 12px !default;
10005
9967
  @include exports( "badge/theme" ) {
10006
9968
 
10007
9969
  // Solid badges
10008
- @each $name, $color in $theme-colors {
9970
+ @each $name, $color in $kendo-theme-colors {
10009
9971
  .k-badge-solid.k-badge-#{$name} {
10010
9972
  border-color: $color;
10011
9973
  color: contrast-wcag( $color );
@@ -10019,7 +9981,7 @@ $badge-dot-size-lg: 12px !default;
10019
9981
  background-color: $component-bg;
10020
9982
  }
10021
9983
 
10022
- @each $name, $color in $theme-colors {
9984
+ @each $name, $color in $kendo-theme-colors {
10023
9985
  .k-badge-outline.k-badge-#{$name} {
10024
9986
  color: $color;
10025
9987
  }
@@ -10107,7 +10069,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
10107
10069
  /// Theme colors map for the button.
10108
10070
  /// @group button
10109
10071
  $kendo-button-theme-colors: map-merge(
10110
- $theme-colors,
10072
+ $kendo-theme-colors,
10111
10073
  ( "base": #e4e7eb )
10112
10074
  ) !default;
10113
10075
 
@@ -12861,7 +12823,7 @@ $kendo-avatar-sizes: (
12861
12823
 
12862
12824
  /// Theme colors map of the avatar.
12863
12825
  /// @group avatar
12864
- $kendo-avatar-theme-colors: $theme-colors !default;
12826
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
12865
12827
 
12866
12828
  // #endregion
12867
12829
  // #region @import "_layout.scss"; -> packages/bootstrap/scss/avatar/_layout.scss
@@ -13065,10 +13027,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
13065
13027
  /// @group chip
13066
13028
  $kendo-chip-theme-colors: (
13067
13029
  "base": $kendo-chip-base-bg,
13068
- "error": map-get( $theme-colors, "error" ),
13069
- "info": map-get( $theme-colors, "info" ),
13070
- "warning": map-get( $theme-colors, "warning" ),
13071
- "success": map-get( $theme-colors, "success" )
13030
+ "error": map-get( $kendo-theme-colors, "error" ),
13031
+ "info": map-get( $kendo-theme-colors, "info" ),
13032
+ "warning": map-get( $kendo-theme-colors, "warning" ),
13033
+ "success": map-get( $kendo-theme-colors, "success" )
13072
13034
  ) !default;
13073
13035
 
13074
13036
  /// The base background color of solid chip.
@@ -14114,7 +14076,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
14114
14076
  // #region @import "~@progress/kendo-theme-default/scss/loader/_theme.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/loader/_theme.scss
14115
14077
  @include exports( "loader/theme" ) {
14116
14078
 
14117
- @each $name, $color in $theme-colors {
14079
+ @each $name, $color in $kendo-theme-colors {
14118
14080
  .k-loader-#{$name} {
14119
14081
  @if $name == "secondary" {
14120
14082
  color: $loader-secondary-bg;
@@ -23447,7 +23409,7 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
23447
23409
 
23448
23410
 
23449
23411
  // AppBar theme colors
23450
- @each $name, $color in $theme-colors {
23412
+ @each $name, $color in $kendo-theme-colors {
23451
23413
  .k-appbar-#{$name} {
23452
23414
  @if $name == "light" {
23453
23415
  color: $appbar-light-text;
@@ -23584,7 +23546,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
23584
23546
 
23585
23547
  /// Theme colors map for the FAB.
23586
23548
  /// @group floating-action-button
23587
- $kendo-fab-theme-colors: $theme-colors !default;
23549
+ $kendo-fab-theme-colors: $kendo-theme-colors !default;
23588
23550
 
23589
23551
  /// The base shadow of the FAB.
23590
23552
  /// @group floating-action-button
@@ -25083,7 +25045,7 @@ $notification-themes: () !default;
25083
25045
  // sass-lint:enable indentation
25084
25046
  }
25085
25047
 
25086
- @each $theme, $props in $theme-colors {
25048
+ @each $theme, $props in $kendo-theme-colors {
25087
25049
  $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
25088
25050
  }
25089
25051
 
@@ -25797,7 +25759,7 @@ $card-focus-callout-box-shadow-w: $card-focus-shadow !default;
25797
25759
 
25798
25760
 
25799
25761
  // Card theme colors
25800
- @each $name, $color in $theme-colors {
25762
+ @each $name, $color in $kendo-theme-colors {
25801
25763
  .k-card-#{$name} {
25802
25764
  background-color: tint($color, 10);
25803
25765
  color: shade($color, 6);
@@ -26296,7 +26258,7 @@ $bottom-nav-flat-border: $component-border !default;
26296
26258
  @include exports("bottom-navigation/theme") {
26297
26259
 
26298
26260
  // Solid
26299
- @each $name, $color in $theme-colors {
26261
+ @each $name, $color in $kendo-theme-colors {
26300
26262
  .k-bottom-nav-solid.k-bottom-nav-#{$name} {
26301
26263
  @include fill(
26302
26264
  $color: true-mix( $color, contrast-wcag( $color ), 35%),
@@ -26329,7 +26291,7 @@ $bottom-nav-flat-border: $component-border !default;
26329
26291
  @include fill( $bg: rgba($bottom-nav-flat-text, .05) );
26330
26292
  }
26331
26293
 
26332
- @each $name, $color in $theme-colors {
26294
+ @each $name, $color in $kendo-theme-colors {
26333
26295
  &.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
26334
26296
  @if $name == "secondary" or $name == "light" {
26335
26297
  @include fill( $color: try-shade($color, 3) );
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.0",
4
+ "version": "5.1.1",
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.0",
52
+ "@progress/kendo-theme-default": "^5.1.1",
53
53
  "bootstrap": "^5.1.0"
54
54
  },
55
- "gitHead": "279941cb925d750fc123f66c3e15ce1e2b666191"
55
+ "gitHead": "798d6d06021f47b42f71b16530f96ab23d2b9c04"
56
56
  }
@@ -18,46 +18,8 @@ $gray-700: #495057 !default;
18
18
  $gray-800: #343a40 !default;
19
19
  $gray-900: #212529 !default;
20
20
  $black: #000000 !default;
21
-
22
- $blue: #0d6efd !default;
23
- $indigo: #6610f2 !default;
24
- $purple: #6f42c1 !default;
25
- $pink: #d63384 !default;
26
- $red: #dc3545 !default;
27
- $orange: #fd7e14 !default;
28
- $yellow: #ffc107 !default;
29
- $green: #198754 !default;
30
- $teal: #20c997 !default;
31
- $cyan: #0dcaf0 !default;
32
-
33
- $primary: $blue !default;
34
- $secondary: $gray-600 !default;
35
- $tertiary: $purple !default;
36
- $success: $green !default;
37
- $info: $cyan !default;
38
- $warning: $yellow !default;
39
- $danger: $red !default;
40
- $light: $gray-100 !default;
41
- $dark: $gray-900 !default;
42
-
43
- $error: $danger !default;
44
- $inverse: if( $dark-theme, $light, $dark ) !default;
45
21
  // stylelint-enable scss/dollar-variable-colon-space-after
46
22
 
47
-
48
- $theme-colors: (
49
- "primary": $primary,
50
- "secondary": $secondary,
51
- "tertiary": $tertiary,
52
- "info": $info,
53
- "success": $success,
54
- "warning": $warning,
55
- "error": $error,
56
- "dark": $dark,
57
- "light": $light,
58
- "inverse": $inverse
59
- ) !default;
60
-
61
23
  $body-bg: $white !default;
62
24
  $body-color: contrast-wcag( $body-bg, $gray-900, $gray-100 ) !default;
63
25
 
@@ -202,12 +202,12 @@ $dark: $dark !default;
202
202
  /// @type Color
203
203
  $light: $light !default;
204
204
 
205
- /// Inverse color of the theme. Depending on the theme luminance dark or lught, it will be light or dark
205
+ /// Inverse color of the theme. Depending on the theme luminance dark or light, it will be light or dark
206
206
  /// @group color-system
207
207
  $inverse: if( $dark-theme, $light, $dark ) !default;
208
208
 
209
209
 
210
- $theme-colors: (
210
+ $kendo-theme-colors: (
211
211
  "primary": $primary,
212
212
  "secondary": $secondary,
213
213
  "tertiary": $tertiary,
@@ -253,7 +253,7 @@ $app-border: contrast-wcag( $app-bg, $gray-300, $gray-700 ) !default;
253
253
 
254
254
  // Component
255
255
  /// Background color of a component.
256
- /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !defualt;`.
256
+ /// Note: do not use this variable directly. Instead derive it as `$component-name-bg` e.g. `$grid-bg: $component-bg !default;`.
257
257
  /// @group component
258
258
  $component-bg: $body-bg !default;
259
259
  /// Text color of a component.
@@ -24,4 +24,4 @@ $kendo-avatar-sizes: (
24
24
 
25
25
  /// Theme colors map of the avatar.
26
26
  /// @group avatar
27
- $kendo-avatar-theme-colors: $theme-colors !default;
27
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
@@ -54,7 +54,7 @@ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
54
54
  /// Theme colors map for the button.
55
55
  /// @group button
56
56
  $kendo-button-theme-colors: map-merge(
57
- $theme-colors,
57
+ $kendo-theme-colors,
58
58
  ( "base": #e4e7eb )
59
59
  ) !default;
60
60
 
@@ -66,10 +66,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
66
66
  /// @group chip
67
67
  $kendo-chip-theme-colors: (
68
68
  "base": $kendo-chip-base-bg,
69
- "error": map-get( $theme-colors, "error" ),
70
- "info": map-get( $theme-colors, "info" ),
71
- "warning": map-get( $theme-colors, "warning" ),
72
- "success": map-get( $theme-colors, "success" )
69
+ "error": map-get( $kendo-theme-colors, "error" ),
70
+ "info": map-get( $kendo-theme-colors, "info" ),
71
+ "warning": map-get( $kendo-theme-colors, "warning" ),
72
+ "success": map-get( $kendo-theme-colors, "success" )
73
73
  ) !default;
74
74
 
75
75
  /// The base background color of solid chip.
@@ -87,7 +87,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
87
87
 
88
88
  /// Theme colors map for the FAB.
89
89
  /// @group floating-action-button
90
- $kendo-fab-theme-colors: $theme-colors !default;
90
+ $kendo-fab-theme-colors: $kendo-theme-colors !default;
91
91
 
92
92
  /// The base shadow of the FAB.
93
93
  /// @group floating-action-button
@@ -29,6 +29,6 @@ $notification-themes: () !default;
29
29
  // sass-lint:enable indentation
30
30
  }
31
31
 
32
- @each $theme, $props in $theme-colors {
32
+ @each $theme, $props in $kendo-theme-colors {
33
33
  $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
34
34
  }
@@ -1,4 +1,4 @@
1
- $overlay-theme-colors: $theme-colors !default;
1
+ $overlay-theme-colors: $kendo-theme-colors !default;
2
2
 
3
3
  $overlay-bg: $black !default;
4
4
  $overlay-opacity: .5 !default;