@progress/kendo-theme-bootstrap 5.0.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.css CHANGED
@@ -11663,6 +11663,8 @@ kendo-badge-container {
11663
11663
  box-sizing: border-box;
11664
11664
  border-width: 1px;
11665
11665
  border-style: solid;
11666
+ color: inherit;
11667
+ background: none;
11666
11668
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
11667
11669
  text-align: center;
11668
11670
  text-decoration: none;
@@ -11904,12 +11906,11 @@ kendo-badge-container {
11904
11906
  text-decoration: underline;
11905
11907
  }
11906
11908
 
11907
- .k-button-clear::before {
11908
- display: none;
11909
- }
11910
-
11911
- .k-button-clear:focus::before, .k-button-clear.k-focus::before {
11912
- display: block;
11909
+ .k-button-clear {
11910
+ border-color: transparent !important;
11911
+ color: inherit;
11912
+ background: none !important;
11913
+ box-shadow: none !important;
11913
11914
  }
11914
11915
 
11915
11916
  .k-ie .k-button-group .k-button,
@@ -12827,46 +12828,112 @@ kendo-badge-container {
12827
12828
  color: #0d6efd;
12828
12829
  }
12829
12830
 
12831
+ .k-button-clear-primary:focus::after, .k-button-clear-primary.k-focus::after, .k-button-clear-primary:active::after {
12832
+ background-color: currentColor;
12833
+ opacity: 0.1;
12834
+ display: block;
12835
+ }
12836
+
12830
12837
  .k-button-clear-secondary {
12831
12838
  color: #6c757d;
12832
12839
  }
12833
12840
 
12841
+ .k-button-clear-secondary:focus::after, .k-button-clear-secondary.k-focus::after, .k-button-clear-secondary:active::after {
12842
+ background-color: currentColor;
12843
+ opacity: 0.1;
12844
+ display: block;
12845
+ }
12846
+
12834
12847
  .k-button-clear-tertiary {
12835
12848
  color: #6f42c1;
12836
12849
  }
12837
12850
 
12851
+ .k-button-clear-tertiary:focus::after, .k-button-clear-tertiary.k-focus::after, .k-button-clear-tertiary:active::after {
12852
+ background-color: currentColor;
12853
+ opacity: 0.1;
12854
+ display: block;
12855
+ }
12856
+
12838
12857
  .k-button-clear-info {
12839
12858
  color: #0dcaf0;
12840
12859
  }
12841
12860
 
12861
+ .k-button-clear-info:focus::after, .k-button-clear-info.k-focus::after, .k-button-clear-info:active::after {
12862
+ background-color: currentColor;
12863
+ opacity: 0.1;
12864
+ display: block;
12865
+ }
12866
+
12842
12867
  .k-button-clear-success {
12843
12868
  color: #198754;
12844
12869
  }
12845
12870
 
12871
+ .k-button-clear-success:focus::after, .k-button-clear-success.k-focus::after, .k-button-clear-success:active::after {
12872
+ background-color: currentColor;
12873
+ opacity: 0.1;
12874
+ display: block;
12875
+ }
12876
+
12846
12877
  .k-button-clear-warning {
12847
12878
  color: #ffc107;
12848
12879
  }
12849
12880
 
12881
+ .k-button-clear-warning:focus::after, .k-button-clear-warning.k-focus::after, .k-button-clear-warning:active::after {
12882
+ background-color: currentColor;
12883
+ opacity: 0.1;
12884
+ display: block;
12885
+ }
12886
+
12850
12887
  .k-button-clear-error {
12851
12888
  color: #dc3545;
12852
12889
  }
12853
12890
 
12891
+ .k-button-clear-error:focus::after, .k-button-clear-error.k-focus::after, .k-button-clear-error:active::after {
12892
+ background-color: currentColor;
12893
+ opacity: 0.1;
12894
+ display: block;
12895
+ }
12896
+
12854
12897
  .k-button-clear-dark {
12855
12898
  color: #212529;
12856
12899
  }
12857
12900
 
12901
+ .k-button-clear-dark:focus::after, .k-button-clear-dark.k-focus::after, .k-button-clear-dark:active::after {
12902
+ background-color: currentColor;
12903
+ opacity: 0.1;
12904
+ display: block;
12905
+ }
12906
+
12858
12907
  .k-button-clear-light {
12859
12908
  color: #f8f9fa;
12860
12909
  }
12861
12910
 
12911
+ .k-button-clear-light:focus::after, .k-button-clear-light.k-focus::after, .k-button-clear-light:active::after {
12912
+ background-color: currentColor;
12913
+ opacity: 0.1;
12914
+ display: block;
12915
+ }
12916
+
12862
12917
  .k-button-clear-inverse {
12863
12918
  color: #212529;
12864
12919
  }
12865
12920
 
12921
+ .k-button-clear-inverse:focus::after, .k-button-clear-inverse.k-focus::after, .k-button-clear-inverse:active::after {
12922
+ background-color: currentColor;
12923
+ opacity: 0.1;
12924
+ display: block;
12925
+ }
12926
+
12866
12927
  .k-button-clear-base {
12867
12928
  color: #212529;
12868
12929
  }
12869
12930
 
12931
+ .k-button-clear-base:focus::after, .k-button-clear-base.k-focus::after, .k-button-clear-base:active::after {
12932
+ background-color: currentColor;
12933
+ opacity: 0.1;
12934
+ display: block;
12935
+ }
12936
+
12870
12937
  .k-split-button:focus,
12871
12938
  .k-split-button.k-focus {
12872
12939
  box-shadow: 0 0 0 0.25rem rgba(228, 231, 235, 0.5);
@@ -15904,7 +15971,8 @@ kendo-label > .k-label {
15904
15971
  }
15905
15972
 
15906
15973
  .k-form .k-multiselect,
15907
- .k-form .k-floating-label-container {
15974
+ .k-form .k-floating-label-container,
15975
+ .k-form .k-daterangepicker .k-dateinput {
15908
15976
  display: inline-flex;
15909
15977
  width: 100%;
15910
15978
  }
@@ -18852,6 +18920,10 @@ kendo-label > .k-label {
18852
18920
  box-sizing: border-box;
18853
18921
  }
18854
18922
 
18923
+ .k-daterange-picker .k-dateinput, .k-daterangepicker .k-dateinput {
18924
+ width: 10em;
18925
+ }
18926
+
18855
18927
  .k-daterangepicker-wrap {
18856
18928
  display: inherit;
18857
18929
  flex-flow: inherit;
@@ -24025,13 +24097,13 @@ kendo-card-footer {
24025
24097
  color: #0a58ca;
24026
24098
  }
24027
24099
 
24028
- .k-tabstrip-items-wrapper .k-item.k-state-active, .k-tabstrip-items-wrapper .k-item.k-state-selected {
24100
+ .k-tabstrip-items-wrapper .k-item:active, .k-tabstrip-items-wrapper .k-item.k-state-active, .k-tabstrip-items-wrapper .k-item.k-state-selected {
24029
24101
  border-color: #dee2e6;
24030
24102
  color: #212529;
24031
24103
  background-color: #ffffff;
24032
24104
  }
24033
24105
 
24034
- .k-tabstrip-items-wrapper .k-item.k-state-focused {
24106
+ .k-tabstrip-items-wrapper .k-item:focus, .k-tabstrip-items-wrapper .k-item.k-state-focused {
24035
24107
  box-shadow: inset 0 0 0 3px rgba(33, 37, 41, 0.15);
24036
24108
  }
24037
24109
 
@@ -24391,7 +24463,6 @@ kendo-card-footer {
24391
24463
  padding-left: 6rem;
24392
24464
  }
24393
24465
 
24394
- .k-panelbar .k-content,
24395
24466
  .k-panelbar .k-panelbar-content {
24396
24467
  display: flow-root;
24397
24468
  }
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
 
@@ -10236,6 +10198,9 @@ $kendo-link-button-shadow-blur: 0px !default;
10236
10198
  $kendo-link-button-shadow-spread: .25rem !default;
10237
10199
  $kendo-link-button-shadow-opacity: .5 !default;
10238
10200
 
10201
+ // Clear button
10202
+ $kendo-clear-button-focus-opacity: .1 !default;
10203
+
10239
10204
  /// The overlay opacity of hovered flat button. Used to create background for the flat button.
10240
10205
  /// @group button
10241
10206
  $kendo-flat-button-hover-opacity: .08 !default;
@@ -10263,6 +10228,8 @@ $kendo-button-transition: $transition !default;
10263
10228
  box-sizing: border-box;
10264
10229
  border-width: $kendo-button-border-width;
10265
10230
  border-style: solid;
10231
+ color: inherit;
10232
+ background: none;
10266
10233
  font-family: $kendo-button-font-family;
10267
10234
  text-align: center;
10268
10235
  text-decoration: none;
@@ -10527,20 +10494,14 @@ $kendo-button-transition: $transition !default;
10527
10494
 
10528
10495
  // Clear button
10529
10496
  .k-button-clear {
10530
- &::before {
10531
- display: none;
10532
- }
10533
-
10534
-
10535
- &:focus,
10536
- &.k-focus {
10537
- &::before {
10538
- display: block;
10539
- }
10540
- }
10497
+ border-color: transparent !important; // sass-lint:disable-line no-important
10498
+ color: inherit;
10499
+ background: none !important; // sass-lint:disable-line no-important
10500
+ box-shadow: none !important; // sass-lint:disable-line no-important
10541
10501
  }
10542
10502
 
10543
10503
 
10504
+
10544
10505
  // IE
10545
10506
  .k-ie .k-button-group,
10546
10507
  .k-ie .k-split-button {
@@ -10905,6 +10866,16 @@ $kendo-button-transition: $transition !default;
10905
10866
  .k-button-clear-#{$name} {
10906
10867
  color: $color;
10907
10868
 
10869
+ &:focus,
10870
+ &.k-focus,
10871
+ &:active {
10872
+ &::after {
10873
+ background-color: currentColor;
10874
+ opacity: $kendo-clear-button-focus-opacity;
10875
+ display: block;
10876
+ }
10877
+ }
10878
+
10908
10879
  // Disabled state
10909
10880
  &:disabled,
10910
10881
  &.k-disabled {
@@ -12852,7 +12823,7 @@ $kendo-avatar-sizes: (
12852
12823
 
12853
12824
  /// Theme colors map of the avatar.
12854
12825
  /// @group avatar
12855
- $kendo-avatar-theme-colors: $theme-colors !default;
12826
+ $kendo-avatar-theme-colors: $kendo-theme-colors !default;
12856
12827
 
12857
12828
  // #endregion
12858
12829
  // #region @import "_layout.scss"; -> packages/bootstrap/scss/avatar/_layout.scss
@@ -13056,10 +13027,10 @@ $kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-
13056
13027
  /// @group chip
13057
13028
  $kendo-chip-theme-colors: (
13058
13029
  "base": $kendo-chip-base-bg,
13059
- "error": map-get( $theme-colors, "error" ),
13060
- "info": map-get( $theme-colors, "info" ),
13061
- "warning": map-get( $theme-colors, "warning" ),
13062
- "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" )
13063
13034
  ) !default;
13064
13035
 
13065
13036
  /// The base background color of solid chip.
@@ -14105,7 +14076,7 @@ $loader-container-font-size-lg: $font-size-lg !default;
14105
14076
  // #region @import "~@progress/kendo-theme-default/scss/loader/_theme.scss"; -> packages/bootstrap/node_modules/@progress/kendo-theme-default/scss/loader/_theme.scss
14106
14077
  @include exports( "loader/theme" ) {
14107
14078
 
14108
- @each $name, $color in $theme-colors {
14079
+ @each $name, $color in $kendo-theme-colors {
14109
14080
  .k-loader-#{$name} {
14110
14081
  @if $name == "secondary" {
14111
14082
  color: $loader-secondary-bg;
@@ -15673,7 +15644,8 @@ $fieldset-legend-border: null !default;
15673
15644
 
15674
15645
 
15675
15646
  .k-multiselect,
15676
- .k-floating-label-container {
15647
+ .k-floating-label-container,
15648
+ .k-daterangepicker .k-dateinput {
15677
15649
  display: inline-flex;
15678
15650
  width: 100%;
15679
15651
  }
@@ -20546,6 +20518,7 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
20546
20518
  // Component
20547
20519
  // #region @import "_variables.scss"; -> packages/bootstrap/scss/daterangepicker/_variables.scss
20548
20520
  // Daterangepicker
20521
+ $kendo-daterange-picker-input-width: 10em;
20549
20522
 
20550
20523
  // #endregion
20551
20524
  // #region @import "_layout.scss"; -> packages/bootstrap/scss/daterangepicker/_layout.scss
@@ -20565,6 +20538,10 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
20565
20538
  *::after {
20566
20539
  box-sizing: border-box;
20567
20540
  }
20541
+
20542
+ .k-dateinput {
20543
+ width: $kendo-daterange-picker-input-width;
20544
+ }
20568
20545
  }
20569
20546
 
20570
20547
 
@@ -23432,7 +23409,7 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
23432
23409
 
23433
23410
 
23434
23411
  // AppBar theme colors
23435
- @each $name, $color in $theme-colors {
23412
+ @each $name, $color in $kendo-theme-colors {
23436
23413
  .k-appbar-#{$name} {
23437
23414
  @if $name == "light" {
23438
23415
  color: $appbar-light-text;
@@ -23569,7 +23546,7 @@ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
23569
23546
 
23570
23547
  /// Theme colors map for the FAB.
23571
23548
  /// @group floating-action-button
23572
- $kendo-fab-theme-colors: $theme-colors !default;
23549
+ $kendo-fab-theme-colors: $kendo-theme-colors !default;
23573
23550
 
23574
23551
  /// The base shadow of the FAB.
23575
23552
  /// @group floating-action-button
@@ -25068,7 +25045,7 @@ $notification-themes: () !default;
25068
25045
  // sass-lint:enable indentation
25069
25046
  }
25070
25047
 
25071
- @each $theme, $props in $theme-colors {
25048
+ @each $theme, $props in $kendo-theme-colors {
25072
25049
  $notification-themes: map-merge($notification-themes, ($theme: notification-theme($theme, $props)) );
25073
25050
  }
25074
25051
 
@@ -25782,7 +25759,7 @@ $card-focus-callout-box-shadow-w: $card-focus-shadow !default;
25782
25759
 
25783
25760
 
25784
25761
  // Card theme colors
25785
- @each $name, $color in $theme-colors {
25762
+ @each $name, $color in $kendo-theme-colors {
25786
25763
  .k-card-#{$name} {
25787
25764
  background-color: tint($color, 10);
25788
25765
  color: shade($color, 6);
@@ -26281,7 +26258,7 @@ $bottom-nav-flat-border: $component-border !default;
26281
26258
  @include exports("bottom-navigation/theme") {
26282
26259
 
26283
26260
  // Solid
26284
- @each $name, $color in $theme-colors {
26261
+ @each $name, $color in $kendo-theme-colors {
26285
26262
  .k-bottom-nav-solid.k-bottom-nav-#{$name} {
26286
26263
  @include fill(
26287
26264
  $color: true-mix( $color, contrast-wcag( $color ), 35%),
@@ -26314,7 +26291,7 @@ $bottom-nav-flat-border: $component-border !default;
26314
26291
  @include fill( $bg: rgba($bottom-nav-flat-text, .05) );
26315
26292
  }
26316
26293
 
26317
- @each $name, $color in $theme-colors {
26294
+ @each $name, $color in $kendo-theme-colors {
26318
26295
  &.k-bottom-nav-#{$name} .k-bottom-nav-item.k-state-selected {
26319
26296
  @if $name == "secondary" or $name == "light" {
26320
26297
  @include fill( $color: try-shade($color, 3) );
@@ -28392,6 +28369,7 @@ $tabstrip-content-border-focused: $component-text !default;
28392
28369
  );
28393
28370
  }
28394
28371
 
28372
+ &:active,
28395
28373
  &.k-state-active,
28396
28374
  &.k-state-selected {
28397
28375
  @include fill(
@@ -28402,6 +28380,7 @@ $tabstrip-content-border-focused: $component-text !default;
28402
28380
  );
28403
28381
  }
28404
28382
 
28383
+ &:focus,
28405
28384
  &.k-state-focused {
28406
28385
  @include box-shadow( $tabstrip-item-focused-shadow );
28407
28386
  }
@@ -29096,7 +29075,6 @@ $panelbar-header-expanded-gradient: null !default;
29096
29075
 
29097
29076
 
29098
29077
  // Panelbar content
29099
- .k-content,
29100
29078
  .k-panelbar-content {
29101
29079
  display: flow-root;
29102
29080
  }
@@ -29,9 +29,9 @@ $hovered-text: #ffffff;
29
29
  $hovered-bg: #333333;
30
30
  $selected-text: #ffffff;
31
31
  $selected-bg: #337ab7;
32
- $button-text: #ffffff;
33
- $button-bg: #222222;
34
- $button-border: #333333;
32
+ $kendo-button-text: #ffffff;
33
+ $kendo-button-bg: #222222;
34
+ $kendo-button-border: #333333;
35
35
  $link-text: #337ab7;
36
36
  $link-hover-text: #23527c;
37
37
  $series-a: #0275d8;
@@ -28,9 +28,9 @@ $hovered-text: #333333;
28
28
  $hovered-bg: #eeeeee;
29
29
  $selected-text: #ffffff;
30
30
  $selected-bg: #337ab7;
31
- $button-text: #333333;
32
- $button-bg: #ffffff;
33
- $button-border: #dddddd;
31
+ $kendo-button-text: #333333;
32
+ $kendo-button-bg: #ffffff;
33
+ $kendo-button-border: #dddddd;
34
34
  $link-text: #337ab7;
35
35
  $link-hover-text: #23527c;
36
36
  $series-a: #0275d8;
@@ -20,8 +20,8 @@ $hovered-text: #ffffff;
20
20
  $hovered-bg: #343a40;
21
21
  $selected-text: #ffffff;
22
22
  $selected-bg: #007bff;
23
- $button-text: #ffffff;
24
- $button-bg: #343a40;
23
+ $kendo-button-text: #ffffff;
24
+ $kendo-button-bg: #343a40;
25
25
  $link-text: #007bff;
26
26
  $link-hover-text: #0056b3;
27
27
  $series-a: #0275d8;
@@ -19,8 +19,8 @@ $hovered-text: #16181b;
19
19
  $hovered-bg: #e9ecef;
20
20
  $selected-text: #ffffff;
21
21
  $selected-bg: #007bff;
22
- $button-text: #212529;
23
- $button-bg: #e4e7eb;
22
+ $kendo-button-text: #212529;
23
+ $kendo-button-bg: #e4e7eb;
24
24
  $link-text: #007bff;
25
25
  $link-hover-text: #0056b3;
26
26
  $series-a: #0275d8;
@@ -20,8 +20,8 @@ $hovered-text: #ffffff;
20
20
  $hovered-bg: #343a40;
21
21
  $selected-text: #ffffff;
22
22
  $selected-bg: #0d6efd;
23
- $button-text: #ffffff;
24
- $button-bg: #343a40;
23
+ $kendo-button-text: #ffffff;
24
+ $kendo-button-bg: #343a40;
25
25
  $link-text: #0d6efd;
26
26
  $link-hover-text: #0a58ca;
27
27
  $series-a: #0d6efd;
@@ -19,8 +19,8 @@ $hovered-text: #16181b;
19
19
  $hovered-bg: #e9ecef;
20
20
  $selected-text: #ffffff;
21
21
  $selected-bg: #0d6efd;
22
- $button-text: #212529;
23
- $button-bg: #e4e7eb;
22
+ $kendo-button-text: #212529;
23
+ $kendo-button-bg: #e4e7eb;
24
24
  $link-text: #0d6efd;
25
25
  $link-hover-text: #0a58ca;
26
26
  $series-a: #0d6efd;
@@ -18,8 +18,8 @@ $hovered-text: #212529;
18
18
  $hovered-bg: #e4e7eb;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #e7607b;
21
- $button-text: #212529;
22
- $button-bg: #d6e5e9;
21
+ $kendo-button-text: #212529;
22
+ $kendo-button-bg: #d6e5e9;
23
23
  $link-text: #e7607b;
24
24
  $link-hover-text: #da2146;
25
25
  $series-a: #e7607b;
@@ -19,8 +19,8 @@ $hovered-text: #1eb97b;
19
19
  $hovered-bg: #eeeff0;
20
20
  $selected-text: #ffffff;
21
21
  $selected-bg: #34d293;
22
- $button-text: #ffffff;
23
- $button-bg: #363940;
22
+ $kendo-button-text: #ffffff;
23
+ $kendo-button-bg: #363940;
24
24
  $link-text: #10c4b2;
25
25
  $link-hover-text: #0c9587;
26
26
  $series-a: #34d293;
@@ -18,8 +18,8 @@ $hovered-text: #1eb97b;
18
18
  $hovered-bg: #eeeff0;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #34d293;
21
- $button-text: #212529;
22
- $button-bg: #f1f4f1;
21
+ $kendo-button-text: #212529;
22
+ $kendo-button-bg: #f1f4f1;
23
23
  $link-text: #34d293;
24
24
  $link-hover-text: #229869;
25
25
  $series-a: #34d293;
@@ -18,8 +18,8 @@ $hovered-text: #16181b;
18
18
  $hovered-bg: #cfdee6;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #ff5c1a;
21
- $button-text: #ffffff;
22
- $button-bg: #5798be;
21
+ $kendo-button-text: #ffffff;
22
+ $kendo-button-bg: #5798be;
23
23
  $link-text: #ff5c1a;
24
24
  $link-hover-text: #e65317;
25
25
  $series-a: #ff7943;
@@ -18,8 +18,8 @@ $hovered-text: #494138;
18
18
  $hovered-bg: #dfdcd5;
19
19
  $selected-text: #ffffff;
20
20
  $selected-bg: #744662;
21
- $button-text: #212529;
22
- $button-bg: #dad2bd;
21
+ $kendo-button-text: #212529;
22
+ $kendo-button-bg: #dad2bd;
23
23
  $link-text: #744662;
24
24
  $link-hover-text: #44293a;
25
25
  $series-a: #c67eab;
@@ -199,17 +199,17 @@
199
199
  {
200
200
  "name": "Button",
201
201
  "variables": {
202
- "button-text": {
202
+ "kendo-button-text": {
203
203
  "name": "Button text color",
204
204
  "type": "color",
205
205
  "value": "#ffffff"
206
206
  },
207
- "button-bg": {
207
+ "kendo-button-bg": {
208
208
  "name": "Button background",
209
209
  "type": "color",
210
210
  "value": "#222222"
211
211
  },
212
- "button-border": {
212
+ "kendo-button-border": {
213
213
  "name": "Button background",
214
214
  "type": "color",
215
215
  "value": "#333333"
@@ -189,17 +189,17 @@
189
189
  {
190
190
  "name": "Button",
191
191
  "variables": {
192
- "button-text": {
192
+ "kendo-button-text": {
193
193
  "name": "Button text color",
194
194
  "type": "color",
195
195
  "value": "#333333"
196
196
  },
197
- "button-bg": {
197
+ "kendo-button-bg": {
198
198
  "name": "Button background",
199
199
  "type": "color",
200
200
  "value": "#ffffff"
201
201
  },
202
- "button-border": {
202
+ "kendo-button-border": {
203
203
  "name": "Button background",
204
204
  "type": "color",
205
205
  "value": "#dddddd"
@@ -149,12 +149,12 @@
149
149
  {
150
150
  "name": "Button",
151
151
  "variables": {
152
- "button-text": {
152
+ "kendo-button-text": {
153
153
  "name": "Button text color",
154
154
  "type": "color",
155
155
  "value": "#ffffff"
156
156
  },
157
- "button-bg": {
157
+ "kendo-button-bg": {
158
158
  "name": "Button background",
159
159
  "type": "color",
160
160
  "value": "#343a40"
@@ -139,12 +139,12 @@
139
139
  {
140
140
  "name": "Button",
141
141
  "variables": {
142
- "button-text": {
142
+ "kendo-button-text": {
143
143
  "name": "Button text color",
144
144
  "type": "color",
145
145
  "value": "#212529"
146
146
  },
147
- "button-bg": {
147
+ "kendo-button-bg": {
148
148
  "name": "Button background",
149
149
  "type": "color",
150
150
  "value": "#e4e7eb"
@@ -149,12 +149,12 @@
149
149
  {
150
150
  "name": "Button",
151
151
  "variables": {
152
- "button-text": {
152
+ "kendo-button-text": {
153
153
  "name": "Button text color",
154
154
  "type": "color",
155
155
  "value": "#ffffff"
156
156
  },
157
- "button-bg": {
157
+ "kendo-button-bg": {
158
158
  "name": "Button background",
159
159
  "type": "color",
160
160
  "value": "#343a40"
@@ -139,12 +139,12 @@
139
139
  {
140
140
  "name": "Button",
141
141
  "variables": {
142
- "button-text": {
142
+ "kendo-button-text": {
143
143
  "name": "Button text color",
144
144
  "type": "color",
145
145
  "value": "#212529"
146
146
  },
147
- "button-bg": {
147
+ "kendo-button-bg": {
148
148
  "name": "Button background",
149
149
  "type": "color",
150
150
  "value": "#e4e7eb"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#212529"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#d6e5e9"
@@ -144,12 +144,12 @@
144
144
  {
145
145
  "name": "Button",
146
146
  "variables": {
147
- "button-text": {
147
+ "kendo-button-text": {
148
148
  "name": "Button text color",
149
149
  "type": "color",
150
150
  "value": "#ffffff"
151
151
  },
152
- "button-bg": {
152
+ "kendo-button-bg": {
153
153
  "name": "Button background",
154
154
  "type": "color",
155
155
  "value": "#363940"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#212529"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#f1f4f1"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#ffffff"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#5798be"
@@ -134,12 +134,12 @@
134
134
  {
135
135
  "name": "Button",
136
136
  "variables": {
137
- "button-text": {
137
+ "kendo-button-text": {
138
138
  "name": "Button text color",
139
139
  "type": "color",
140
140
  "value": "#212529"
141
141
  },
142
- "button-bg": {
142
+ "kendo-button-bg": {
143
143
  "name": "Button background",
144
144
  "type": "color",
145
145
  "value": "#dad2bd"
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.0.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.0.0",
52
+ "@progress/kendo-theme-default": "^5.1.1",
53
53
  "bootstrap": "^5.1.0"
54
54
  },
55
- "gitHead": "444e224c85edd153e7726d83c682d84e9215acd0"
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
 
@@ -183,6 +183,9 @@ $kendo-link-button-shadow-blur: 0px !default;
183
183
  $kendo-link-button-shadow-spread: .25rem !default;
184
184
  $kendo-link-button-shadow-opacity: .5 !default;
185
185
 
186
+ // Clear button
187
+ $kendo-clear-button-focus-opacity: .1 !default;
188
+
186
189
  /// The overlay opacity of hovered flat button. Used to create background for the flat button.
187
190
  /// @group button
188
191
  $kendo-flat-button-hover-opacity: .08 !default;
@@ -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.
@@ -1 +1,2 @@
1
1
  // Daterangepicker
2
+ $kendo-daterange-picker-input-width: 10em;
@@ -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;