@progress/kendo-theme-material 4.43.1-dev.5 → 4.43.1-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.
Files changed (30) hide show
  1. package/dist/all.css +1284 -442
  2. package/dist/all.scss +481 -480
  3. package/modules/@progress/kendo-theme-default/package.json +2 -2
  4. package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +54 -91
  5. package/modules/@progress/kendo-theme-default/scss/button/_theme.scss +177 -112
  6. package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +74 -11
  7. package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +6 -0
  8. package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +0 -4
  9. package/modules/@progress/kendo-theme-default/scss/common/_loading.scss +1 -13
  10. package/modules/@progress/kendo-theme-default/scss/grid/_layout.scss +1 -1
  11. package/modules/@progress/kendo-theme-default/scss/grid/_theme.scss +0 -6
  12. package/modules/@progress/kendo-theme-default/scss/listbox/_layout.scss +9 -0
  13. package/modules/@progress/kendo-theme-default/scss/mediaplayer/_layout.scss +8 -1
  14. package/modules/@progress/kendo-theme-default/scss/multiselect/_layout.scss +2 -2
  15. package/modules/@progress/kendo-theme-default/scss/slider/_layout.scss +35 -143
  16. package/modules/@progress/kendo-theme-default/scss/slider/_theme.scss +0 -6
  17. package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +1 -0
  18. package/modules/@progress/kendo-theme-default/scss/tabstrip/_layout.scss +5 -1
  19. package/modules/@progress/kendo-theme-default/scss/textarea/_layout.scss +1 -1
  20. package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +1 -0
  21. package/modules/@progress/kendo-theme-default/scss/treelist/_layout.scss +4 -0
  22. package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +12 -18
  23. package/modules/@progress/kendo-theme-default/scss/window/_layout.scss +2 -2
  24. package/package.json +3 -3
  25. package/scss/action-buttons/_theme.scss +1 -2
  26. package/scss/button/_layout.scss +29 -4
  27. package/scss/button/_theme.scss +43 -56
  28. package/scss/button/_variables.scss +77 -14
  29. package/scss/maskedtextbox/_layout.scss +11 -0
  30. package/scss/toolbar/_theme.scss +2 -4
package/dist/all.scss CHANGED
@@ -3563,18 +3563,6 @@ $display4-letter-spacing: null !default;
3563
3563
  // #region @import "~@progress/kendo-theme-default/scss/common/_loading.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/common/_loading.scss
3564
3564
  @include exports( "common/loading" ) {
3565
3565
 
3566
- // Loading indicator
3567
- .k-loading {
3568
- width: 64px;
3569
- height: 64px;
3570
- display: block;
3571
-
3572
- .animate {
3573
- animation: loading 2s infinite linear;
3574
- }
3575
- }
3576
-
3577
-
3578
3566
  // Loading mask
3579
3567
  .k-loading-mask,
3580
3568
  .k-loading-image,
@@ -3663,7 +3651,7 @@ $display4-letter-spacing: null !default;
3663
3651
  content: "";
3664
3652
  // See https://github.com/telerik/kendo-themes/issues/1925
3665
3653
  border-width: 1px; // TODO: Remove once we drop IE support
3666
- border-width: #{"max( 1px, .015em )"}; // sass-lint:disable-line no-duplicate-properties
3654
+ border-width: clamp( .015em, 1px, 1px ); // sass-lint:disable-line no-duplicate-properties
3667
3655
  font-size: 4em;
3668
3656
  }
3669
3657
  }
@@ -8380,30 +8368,69 @@ $popup-shadow: 0 2px 4px -1px rgba( $elevation, .2 ), 0 4px 5px 0 rgba( $elevati
8380
8368
  // #region @import "../button/_variables.scss"; -> packages/material/scss/button/_variables.scss
8381
8369
  // Button
8382
8370
 
8383
- /// Width of border around buttons
8371
+ /// Width of the border around the button.
8384
8372
  /// @group button
8385
- $button-border-width: 0px !default;
8386
- /// Border radius of buttons
8373
+ $button-border-width: 1px !default;
8374
+
8375
+ /// Border radius of the button.
8387
8376
  /// @group button
8388
- $button-border-radius: $border-radius !default;
8377
+ $button-border-radius: map-get( $spacing, 1 ) !default;
8389
8378
 
8390
- /// Horizontal padding of buttons
8379
+ /// Horizontal padding of the button.
8391
8380
  /// @group button
8392
- $button-padding-x: $padding-x !default;
8393
- /// Vertical padding of buttons
8381
+ $button-padding-x: map-get( $spacing, 4 ) !default;
8382
+ $button-padding-x-sm: null !default;
8383
+ $button-padding-x-md: null !default;
8384
+ $button-padding-x-lg: null !default;
8385
+
8386
+ /// Vertical padding of the button.
8387
+ /// @group button
8388
+ $button-padding-y: map-get( $spacing, 2 ) !default;
8389
+ $button-padding-y-sm: null !default;
8390
+ $button-padding-y-md: null !default;
8391
+ $button-padding-y-lg: null !default;
8392
+
8393
+ /// Font family of the button.
8394
8394
  /// @group button
8395
- $button-padding-y: 8px !default;
8396
8395
  $button-font-family: $font-family !default;
8396
+
8397
+ /// Font size of the button.
8398
+ /// @group button
8397
8399
  $button-font-size: $font-size !default;
8398
- $button-line-height: (20 / 14) !default;
8400
+ $button-font-size-sm: null !default;
8401
+ $button-font-size-md: null !default;
8402
+ $button-font-size-lg: null !default;
8399
8403
 
8400
- $button-padding-x-sm: $button-padding-x / 2 !default;
8401
- $button-padding-y-sm: $button-padding-y / 2 !default;
8402
- $button-line-height-sm: (20 / 14) !default;
8404
+ /// Line height used along with $font-size.
8405
+ /// @group button
8406
+ $button-line-height: (20 / 14) !default;
8407
+ $button-line-height-sm: null !default;
8408
+ $button-line-height-md: null !default;
8409
+ $button-line-height-lg: null !default;
8403
8410
 
8411
+ /// Calculated height of the button.
8412
+ /// @group button
8404
8413
  $button-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} + #{$button-border-width * 2} ) !default;
8414
+
8415
+ /// Calculated inner height of the button. Without the border width.
8416
+ /// @group button
8405
8417
  $button-inner-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} ) !default;
8406
8418
 
8419
+ /// Theme colors map for the button.
8420
+ /// @group button
8421
+ $button-theme-colors: (
8422
+ "primary": map-get( $theme-colors, primary ),
8423
+ "secondary": map-get( $theme-colors, secondary ),
8424
+ "tertiary": map-get( $theme-colors, tertiary ),
8425
+ "info": map-get( $theme-colors, info ),
8426
+ "success": map-get( $theme-colors, success ),
8427
+ "warning": map-get( $theme-colors, warning ),
8428
+ "error": map-get( $theme-colors, error ),
8429
+ "dark": map-get( $theme-colors, dark ),
8430
+ "light": map-get( $theme-colors, light ),
8431
+ "inverse": map-get( $theme-colors, inverse )
8432
+ ) !default;
8433
+
8407
8434
  /// The background of the buttons.
8408
8435
  /// @group button
8409
8436
  $button-bg: $base-bg !default;
@@ -8468,7 +8495,7 @@ $button-focused-shadow: null !default;
8468
8495
  // Disabled button
8469
8496
  $button-disabled-bg: try-shade( $body-bg, 12% ) !default;
8470
8497
  $button-disabled-text: $disabled-text !default;
8471
- $button-disabled-border: null !default;
8498
+ $button-disabled-border: $button-disabled-bg !default;
8472
8499
  $button-disabled-gradient: null !default;
8473
8500
  $button-disabled-shadow: none !default;
8474
8501
 
@@ -8500,7 +8527,31 @@ $primary-button-selected-shadow: null !default;
8500
8527
 
8501
8528
  $primary-button-focused-shadow: null !default;
8502
8529
 
8503
- $button-group-focus-shadow: null !default;
8530
+ $solid-button-gradient: null !default;
8531
+ $solid-button-shade-function: "try-shade";
8532
+ $solid-button-shade-text-amount: null !default;
8533
+ $solid-button-shade-bg-amount: 0 !default;
8534
+ $solid-button-shade-border-amount: 0 !default;
8535
+ $solid-button-hover-shade-text-amount: null !default;
8536
+ $solid-button-hover-shade-bg-amount: null !default;
8537
+ $solid-button-hover-shade-border-amount: null !default;
8538
+ $solid-button-active-shade-text-amount: null !default;
8539
+ $solid-button-active-shade-bg-amount: null !default;
8540
+ $solid-button-active-shade-border-amount: null !default;
8541
+ $solid-button-shadow: null !default;
8542
+ $solid-button-shadow-blur: null !default;
8543
+ $solid-button-shadow-spread: null !default;
8544
+ $solid-button-shadow-opacity: null !default;
8545
+
8546
+ $outline-button-shadow: null !default;
8547
+ $outline-button-shadow-blur: null !default;
8548
+ $outline-button-shadow-spread: null !default;
8549
+ $outline-button-shadow-opacity: null !default;
8550
+
8551
+ $link-button-shadow: null !default;
8552
+ $link-button-shadow-blur: null !default;
8553
+ $link-button-shadow-spread: null !default;
8554
+ $link-button-shadow-opacity: null !default;
8504
8555
 
8505
8556
  $flat-button-hover-opacity: .08 !default;
8506
8557
  $flat-button-focus-opacity: .12 !default;
@@ -12408,50 +12459,51 @@ $tooltip-error-border: $tooltip-error-bg !default;
12408
12459
  -webkit-touch-callout: none;
12409
12460
  -webkit-tap-highlight-color: $rgba-transparent;
12410
12461
 
12411
- .k-button {
12412
- @include border-radius( 0 );
12413
- }
12414
- .k-button ~ .k-button {
12462
+ > .k-button + .k-button {
12415
12463
  margin-inline-start: if( $button-border-width == 0, null, -$button-border-width );
12416
12464
  }
12417
12465
 
12418
- .k-button:hover,
12419
- .k-button.k-state-hover,
12420
- .k-button:active,
12421
- .k-button.k-state-active,
12422
- .k-button.k-state-selected,
12423
- .k-button:focus,
12424
- .k-button.k-state-focus {
12466
+ > .k-button:hover,
12467
+ > .k-button.k-state-hover,
12468
+ > .k-button:focus,
12469
+ > .k-button.k-state-focus,
12470
+ > .k-button:active,
12471
+ > .k-button.k-state-active,
12472
+ > .k-button.k-state-selected {
12425
12473
  z-index: 2;
12426
12474
  }
12427
12475
 
12428
- .k-group-start,
12429
- .k-button:first-child {
12430
- @include border-left-radius( $button-border-radius );
12476
+ .k-button:not(:first-child):not(:last-child) {
12477
+ border-start-end-radius: 0;
12478
+ border-end-end-radius: 0;
12479
+ border-start-start-radius: 0;
12480
+ border-end-start-radius: 0;
12431
12481
  }
12432
- .k-group-end,
12433
- .k-button:last-child {
12434
- @include border-right-radius( $button-border-radius );
12482
+ > .k-button:first-child:not(:only-child) {
12483
+ border-start-end-radius: 0;
12484
+ border-end-end-radius: 0;
12435
12485
  }
12436
- .k-group-start.k-group-end,
12437
- .k-button:first-child:last-child {
12438
- @include border-radius( $button-border-radius );
12486
+ > .k-button:last-child:not(:only-child) {
12487
+ border-start-start-radius: 0;
12488
+ border-end-start-radius: 0;
12489
+ }
12490
+
12491
+ &:disabled,
12492
+ &[disabled],
12493
+ &.k-disabled,
12494
+ &.k-state-disabled {
12495
+ opacity: 1;
12496
+ filter: none;
12439
12497
  }
12440
12498
 
12441
12499
  }
12442
12500
 
12443
12501
  .k-button-group-stretched {
12444
- display: flex;
12502
+ width: 100%;
12445
12503
 
12446
- .k-button {
12447
- display: inline-block;
12504
+ > * {
12448
12505
  flex: 1 0 0%;
12449
12506
  overflow: hidden;
12450
- text-overflow: ellipsis;
12451
-
12452
- > .k-icon {
12453
- vertical-align: text-bottom;
12454
- }
12455
12507
  }
12456
12508
  }
12457
12509
 
@@ -12465,32 +12517,13 @@ $tooltip-error-border: $tooltip-error-bg !default;
12465
12517
  flex-flow: row nowrap;
12466
12518
  vertical-align: middle;
12467
12519
 
12468
- .k-button {
12469
- @include border-radius( 0 );
12470
- }
12471
-
12472
- // .k-button
12473
- > .k-button:first-child {
12474
- @include border-left-radius( $button-border-radius );
12475
- }
12476
- > .k-split-button-arrow,
12477
- > .k-button:last-child {
12478
- @include border-right-radius( $button-border-radius );
12479
- margin-inline-start: if( $button-border-width == 0, null, -$button-border-width );
12520
+ .k-split-button-arrow {
12480
12521
  padding: $button-padding-y;
12481
12522
  width: auto;
12482
12523
  flex: none;
12483
- }
12484
12524
 
12485
- &[dir="rtl"] {
12486
- // k-button
12487
- > .k-button:first-child {
12488
- @include border-left-radius( 0 );
12489
- @include border-right-radius( $button-border-radius );
12490
- }
12491
- > .k-button:last-child {
12492
- @include border-right-radius( 0 );
12493
- @include border-left-radius( $button-border-radius );
12525
+ .k-button-icon {
12526
+ min-width: 0;
12494
12527
  }
12495
12528
  }
12496
12529
  }
@@ -12534,13 +12567,29 @@ $tooltip-error-border: $tooltip-error-bg !default;
12534
12567
  .k-button-outline {
12535
12568
  @include box-shadow( none );
12536
12569
  color: inherit;
12537
- background: none;
12570
+ background-color: transparent;
12571
+ background-image: none !important; // sass-lint:disable-line no-important
12538
12572
  }
12539
12573
  .k-button.k-outline {
12540
12574
  @extend .k-button-outline;
12541
12575
  }
12542
12576
 
12543
12577
 
12578
+ // Link button
12579
+ .k-button-link {
12580
+ @include box-shadow( none );
12581
+ border-color: transparent !important; // sass-lint:disable-line no-important
12582
+ color: inherit;
12583
+ background-color: transparent !important; // sass-lint:disable-line no-important
12584
+ background-image: none !important; // sass-lint:disable-line no-important
12585
+ text-decoration: none;
12586
+ }
12587
+ .k-button-link:hover,
12588
+ .k-button-link.k-state-hover {
12589
+ text-decoration: underline;
12590
+ }
12591
+
12592
+
12544
12593
  // Clear button
12545
12594
  .k-button-clear {
12546
12595
  border-color: transparent !important; // sass-lint:disable-line no-important
@@ -12550,46 +12599,11 @@ $tooltip-error-border: $tooltip-error-bg !default;
12550
12599
  }
12551
12600
 
12552
12601
 
12553
- // RTL
12554
- .k-rtl {
12555
-
12556
- // Button group
12557
- .k-button-group {
12558
-
12559
- .k-button {
12560
- @include border-radius( 0 );
12561
- }
12562
-
12563
- .k-group-start,
12564
- .k-button:first-child {
12565
- @include border-right-radius( $button-border-radius );
12566
- }
12567
- .k-group-end,
12568
- .k-button:last-child {
12569
- @include border-left-radius( $button-border-radius );
12570
- }
12571
- .k-group-start.k-group-end,
12572
- .k-button:first-child:last-child {
12573
- @include border-radius( $button-border-radius );
12574
- }
12575
-
12576
- }
12577
-
12578
- // Split button
12579
- .k-split-button {
12580
-
12581
- .k-button {
12582
- @include border-radius( 0 );
12583
- }
12584
-
12585
- // k-button
12586
- > .k-button:first-child {
12587
- @include border-right-radius( $button-border-radius );
12588
- }
12589
- > .k-split-button-arrow,
12590
- > .k-button:last-child {
12591
- @include border-left-radius( $button-border-radius );
12592
- }
12602
+ // IE
12603
+ .k-ie .k-button-group,
12604
+ .k-ie .k-split-button {
12605
+ .k-button {
12606
+ @include border-radius( 0 );
12593
12607
  }
12594
12608
  }
12595
12609
 
@@ -12738,6 +12752,14 @@ $tooltip-error-border: $tooltip-error-bg !default;
12738
12752
  &::after {
12739
12753
  display: none !important; // sass-lint:disable-line no-important
12740
12754
  }
12755
+
12756
+ &:disabled,
12757
+ &[disabled],
12758
+ &.k-disabled,
12759
+ &.k-state-disabled {
12760
+ opacity: 1;
12761
+ filter: none;
12762
+ }
12741
12763
  }
12742
12764
 
12743
12765
 
@@ -12752,11 +12774,28 @@ $tooltip-error-border: $tooltip-error-bg !default;
12752
12774
  // Outline button
12753
12775
  .k-button-outline {
12754
12776
  background-color: transparent !important; // sass-lint:disable-line no-important
12777
+ box-shadow: none !important; // sass-lint:disable-line no-important
12778
+ }
12755
12779
 
12756
- &::after {
12757
- display: block !important; // sass-lint:disable-line no-important
12758
- box-shadow: inset 0 0 0 1px currentColor;
12759
- opacity: 1;
12780
+
12781
+ // Link button
12782
+ .k-button.k-button-link {
12783
+
12784
+ &:hover,
12785
+ &.k-state-hover,
12786
+ &:active,
12787
+ &.k-state-active,
12788
+ &.k-state-selected {
12789
+ &::before {
12790
+ opacity: 0;
12791
+ }
12792
+ }
12793
+
12794
+ &:focus,
12795
+ &.k-state-focus {
12796
+ &::before {
12797
+ opacity: $flat-button-focus-opacity;
12798
+ }
12760
12799
  }
12761
12800
  }
12762
12801
 
@@ -12794,9 +12833,8 @@ $tooltip-error-border: $tooltip-error-bg !default;
12794
12833
  // #region @import "~@progress/kendo-theme-default/scss/button/_theme.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/button/_theme.scss
12795
12834
  @include exports( "button/theme" ) {
12796
12835
 
12797
- // Default button
12798
- .k-button,
12799
- .k-button-secondary {
12836
+ // Solid button
12837
+ .k-button {
12800
12838
  @include fill(
12801
12839
  $button-text,
12802
12840
  $button-bg,
@@ -12860,75 +12898,70 @@ $tooltip-error-border: $tooltip-error-bg !default;
12860
12898
  }
12861
12899
 
12862
12900
  }
12901
+ .k-button.k-primary {
12902
+ @extend .k-button-solid-primary !optional;
12903
+ }
12863
12904
 
12905
+ $_shade-fn: get-function( $solid-button-shade-function );
12864
12906
 
12865
- // Primary button
12866
- .k-button-primary {
12867
- @include fill(
12868
- $primary-button-text,
12869
- $primary-button-bg,
12870
- $primary-button-border,
12871
- $primary-button-gradient
12872
- );
12873
- @include box-shadow( $primary-button-shadow );
12907
+ @each $name, $color in $button-theme-colors {
12908
+ $_button-text: contrast-wcag( $color );
12909
+ $_button-bg: if( $solid-button-shade-bg-amount, call( $_shade-fn, $color, $solid-button-shade-bg-amount ), null );
12910
+ $_button-border: if( $solid-button-shade-border-amount, call( $_shade-fn, $color, $solid-button-shade-border-amount ), null );
12874
12911
 
12875
- // Hovoer state
12876
- &:hover,
12877
- &.k-state-hover {
12878
- @include fill(
12879
- $primary-button-hovered-text,
12880
- $primary-button-hovered-bg,
12881
- $primary-button-hovered-border,
12882
- $primary-button-hovered-gradient
12883
- );
12884
- @include box-shadow( $primary-button-hovered-shadow );
12885
- }
12912
+ $_button-hover-text: null;
12913
+ $_button-hover-bg: if( $solid-button-hover-shade-bg-amount, call( $_shade-fn, $color, $solid-button-hover-shade-bg-amount ), null );
12914
+ $_button-hover-border: if( $solid-button-hover-shade-border-amount, call( $_shade-fn, $color, $solid-button-hover-shade-border-amount ), null );
12886
12915
 
12887
- // Focused state
12888
- &:focus,
12889
- &.k-state-focus,
12890
- &.k-state-focused {
12891
- @include box-shadow( $primary-button-focused-shadow );
12892
- }
12916
+ $_button-active-text: null;
12917
+ $_button-active-bg: if( $solid-button-active-shade-bg-amount, call( $_shade-fn, $color, $solid-button-active-shade-bg-amount ), null );
12918
+ $_button-active-border: if( $solid-button-active-shade-border-amount, call( $_shade-fn, $color, $solid-button-active-shade-border-amount ), null );
12893
12919
 
12894
- // Active state
12895
- &:active,
12896
- &.k-state-active {
12920
+ .k-button-solid.k-button-solid-#{$name} {
12897
12921
  @include fill(
12898
- $primary-button-active-text,
12899
- $primary-button-active-bg,
12900
- $primary-button-active-border,
12901
- $primary-button-active-gradient
12922
+ $_button-text,
12923
+ $_button-bg,
12924
+ $_button-border,
12925
+ $solid-button-gradient
12902
12926
  );
12903
- @include box-shadow( $primary-button-active-shadow );
12904
- }
12905
12927
 
12906
- // Selected state
12907
- &.k-state-selected {
12908
- @include fill(
12909
- $primary-button-selected-text,
12910
- $primary-button-selected-bg,
12911
- $primary-button-selected-border,
12912
- $primary-button-selected-gradient
12913
- );
12914
- @include box-shadow( $primary-button-selected-shadow );
12915
- }
12928
+ // Hover state
12929
+ &:hover,
12930
+ &.k-state-hover {
12931
+ @include fill(
12932
+ $_button-hover-text,
12933
+ $_button-hover-bg,
12934
+ $_button-hover-border
12935
+ );
12936
+ }
12916
12937
 
12917
- // Disabled state
12918
- &:disabled,
12919
- &.k-state-disabled {
12920
- @include fill(
12921
- $button-disabled-text,
12922
- $button-disabled-bg,
12923
- $button-disabled-border,
12924
- $button-disabled-gradient
12925
- );
12926
- @include box-shadow( $button-disabled-shadow );
12927
- }
12938
+ // Focus state
12939
+ &:focus,
12940
+ &.k-state-focus {
12941
+ @if ( $solid-button-shadow ) {
12942
+ box-shadow: 0 0 $solid-button-shadow-blur $solid-button-shadow-spread rgba( $_button-border, $solid-button-shadow-opacity );
12943
+ }
12944
+ }
12928
12945
 
12929
- }
12930
- .k-button.k-primary {
12931
- @extend .k-button-primary;
12946
+ // Active state
12947
+ &:active,
12948
+ &.k-state-active {
12949
+ @include fill(
12950
+ $_button-active-text,
12951
+ $_button-active-bg,
12952
+ $_button-active-border
12953
+ );
12954
+ }
12955
+
12956
+ // Selected
12957
+ &.k-state-selected {
12958
+ @include fill(
12959
+ $_button-active-text,
12960
+ $_button-active-bg,
12961
+ $_button-active-border
12962
+ );
12963
+ }
12964
+ }
12932
12965
  }
12933
12966
 
12934
12967
 
@@ -12937,18 +12970,7 @@ $tooltip-error-border: $tooltip-error-bg !default;
12937
12970
 
12938
12971
 
12939
12972
  // Button group
12940
- .k-button-group {
12941
-
12942
- .k-button:focus,
12943
- .k-button.k-state-focus,
12944
- .k-button.k-state-focused,
12945
- .k-button-outline:focus,
12946
- .k-button-outline.k-state-focus,
12947
- .k-button-outline.k-state-focused {
12948
- @include box-shadow( $button-group-focus-shadow );
12949
- }
12950
-
12951
- }
12973
+ .k-button-group {}
12952
12974
 
12953
12975
 
12954
12976
  // Split button
@@ -12970,62 +12992,96 @@ $tooltip-error-border: $tooltip-error-bg !default;
12970
12992
  @include box-shadow( none );
12971
12993
  border-color: currentColor;
12972
12994
  color: $button-text;
12973
- background: none;
12995
+ background-color: transparent;
12974
12996
 
12975
12997
  // Hover state
12976
12998
  &:hover,
12977
12999
  &.k-state-hover {
12978
- @include fill( contrast-wcag( $button-text ), $button-text, $button-text, none );
13000
+ @include fill(
13001
+ contrast-wcag( $button-text ),
13002
+ $button-text,
13003
+ $button-text
13004
+ );
12979
13005
  }
12980
13006
 
12981
13007
  // Focused state
12982
13008
  &:focus,
12983
13009
  &.k-state-focus,
12984
13010
  &.k-state-focused {
12985
- box-shadow: $button-focused-shadow;
13011
+ @if ($outline-button-shadow) {
13012
+ box-shadow: 0 0 $outline-button-shadow-blur $outline-button-shadow-spread rgba( $button-text, $outline-button-shadow-opacity );
13013
+ }
12986
13014
  }
12987
13015
 
12988
13016
  // Active state
12989
13017
  &:active,
12990
13018
  &.k-state-active {
12991
- @include fill( contrast-wcag( $button-text ), $button-text, $button-text, none );
13019
+ @include fill(
13020
+ contrast-wcag( $button-text ),
13021
+ $button-text,
13022
+ $button-text
13023
+ );
12992
13024
  }
12993
13025
 
12994
13026
  // Selected state
12995
13027
  &.k-state-selected {
12996
- @include fill( contrast-wcag( $button-text ), $button-text, $button-text, none );
13028
+ @include fill(
13029
+ contrast-wcag( $button-text ),
13030
+ $button-text,
13031
+ $button-text
13032
+ );
12997
13033
  }
12998
13034
  }
12999
13035
  .k-button-outline.k-primary {
13000
- border-color: currentColor;
13001
- color: $primary-button-bg;
13002
- background: none;
13003
- box-shadow: none;
13036
+ @extend .k-button-outline-primary !optional;
13037
+ }
13004
13038
 
13005
- // Hover state
13006
- &:hover,
13007
- &.k-state-hover {
13008
- @include fill( contrast-wcag( $primary-button-bg ), $primary-button-bg, $primary-button-bg, none );
13009
- }
13039
+ @each $name, $color in $button-theme-colors {
13040
+ .k-button-outline.k-button-outline-#{$name} {
13041
+ @include box-shadow( none );
13042
+ border-color: currentColor;
13043
+ color: $color;
13044
+ background-color: transparent;
13010
13045
 
13011
- // Focused state
13012
- &:focus,
13013
- &.k-state-focus,
13014
- &.k-state-focused {
13015
- box-shadow: $primary-button-focused-shadow;
13016
- }
13046
+ // Hover state
13047
+ &:hover,
13048
+ &.k-state-hover {
13049
+ @include fill(
13050
+ contrast-wcag( $color ),
13051
+ $color,
13052
+ $color
13053
+ );
13054
+ }
13017
13055
 
13018
- // Actove state
13019
- &:active,
13020
- &.k-state-active {
13021
- @include fill( contrast-wcag( $primary-button-bg ), $primary-button-bg, $primary-button-bg, none );
13022
- box-shadow: none;
13023
- }
13056
+ // Focused state
13057
+ &:focus,
13058
+ &.k-state-focus,
13059
+ &.k-state-focused {
13060
+ @if ($outline-button-shadow) {
13061
+ box-shadow: 0 0 $outline-button-shadow-blur $outline-button-shadow-spread rgba( $color, $outline-button-shadow-opacity );
13062
+ }
13063
+ }
13024
13064
 
13025
- // Selected state
13026
- &.k-state-selected {
13027
- @include fill( contrast-wcag( $primary-button-bg ), $primary-button-bg, $primary-button-bg, none );
13028
- box-shadow: none;
13065
+ // Active state
13066
+ &:active,
13067
+ &.k-state-active {
13068
+ @include fill(
13069
+ contrast-wcag( $color ),
13070
+ $color,
13071
+ $color
13072
+ );
13073
+ box-shadow: none;
13074
+ }
13075
+
13076
+ // Selected state
13077
+ &.k-state-selected {
13078
+ @include fill(
13079
+ contrast-wcag( $color ),
13080
+ $color,
13081
+ $color
13082
+ );
13083
+ box-shadow: none;
13084
+ }
13029
13085
  }
13030
13086
  }
13031
13087
 
@@ -13048,17 +13104,65 @@ $tooltip-error-border: $tooltip-error-bg !default;
13048
13104
  &.k-state-focus {
13049
13105
  color: inherit;
13050
13106
  }
13107
+
13108
+ // Disabled state
13109
+ &:disabled,
13110
+ &.k-state-disabled {
13111
+ color: $button-disabled-text;
13112
+ }
13051
13113
  }
13052
13114
  .k-button-flat.k-primary {
13115
+ @extend .k-button-flat-primary !optional;
13116
+ }
13053
13117
 
13054
- &,
13055
- &:hover,
13056
- &.k-state-hover,
13057
- &:active,
13058
- &.k-state-active,
13059
- &:focus,
13060
- &.k-state-focus {
13061
- color: $primary;
13118
+ @each $name, $color in $button-theme-colors {
13119
+ .k-button-flat.k-button-flat-#{$name} {
13120
+
13121
+ &,
13122
+ &:hover,
13123
+ &.k-state-hover,
13124
+ &:active,
13125
+ &.k-state-active,
13126
+ &:focus,
13127
+ &.k-state-focus {
13128
+ color: $color;
13129
+ }
13130
+
13131
+ // Disabled state
13132
+ &:disabled,
13133
+ &.k-state-disabled {
13134
+ color: $button-disabled-text;
13135
+ }
13136
+ }
13137
+ }
13138
+
13139
+ }
13140
+
13141
+
13142
+
13143
+
13144
+ @include exports( "link-button/theme" ) {
13145
+
13146
+ @each $name, $color in map-merge( $button-theme-colors, ( "base": $base-text ) ) {
13147
+ .k-button-link.k-button-link-#{$name} {
13148
+ @include box-shadow( none );
13149
+ color: $color;
13150
+
13151
+ &:hover,
13152
+ &.k-state-hover {
13153
+ color: try-shade( $color, 2 );
13154
+ }
13155
+ &:focus,
13156
+ &.k-state-focus {
13157
+ @if ($link-button-shadow) {
13158
+ box-shadow: 0 0 $link-button-shadow-blur $link-button-shadow-spread rgba( $color, $link-button-shadow-opacity );
13159
+ }
13160
+ }
13161
+ &:active,
13162
+ &.k-state-active,
13163
+ &.k-state-selected {
13164
+ color: try-shade( $color, 2 );
13165
+ }
13062
13166
  }
13063
13167
  }
13064
13168
 
@@ -13102,36 +13206,36 @@ $tooltip-error-border: $tooltip-error-bg !default;
13102
13206
 
13103
13207
  @include exports( "button/theme/material" ) {
13104
13208
 
13105
- // Flat button
13106
- .k-button-flat {
13209
+ // Solid button
13210
+ @each $name, $color in $button-theme-colors {
13211
+ .k-button-solid.k-button-solid-#{$name} {
13107
13212
 
13108
- &:disabled,
13109
- &.k-state-disabled {
13110
- color: $button-disabled-text;
13213
+ &:disabled,
13214
+ &.k-state-disabled {
13215
+ @include fill(
13216
+ $button-disabled-text,
13217
+ $button-disabled-bg,
13218
+ $button-disabled-border
13219
+ );
13220
+ }
13111
13221
  }
13112
13222
  }
13113
- .k-button-flat.k-primary {
13114
- color: $primary-button-bg;
13115
13223
 
13116
- &:disabled,
13117
- &.k-state-disabled {
13118
- color: $button-disabled-text;
13119
- }
13120
- }
13224
+ // Flat button
13225
+ .k-button-flat {}
13121
13226
 
13122
13227
 
13123
13228
  // Outline button
13124
13229
  .k-button-outline {
13125
- @include box-shadow( none );
13126
13230
  color: $button-text;
13127
13231
 
13128
13232
  &:hover,
13129
13233
  &.k-state-hover,
13234
+ &:focus,
13235
+ &.k-state-focus,
13130
13236
  &:active,
13131
13237
  &.k-state-active,
13132
- &.k-state-selected,
13133
- &:focus,
13134
- &.k-state-focus {
13238
+ &.k-state-selected {
13135
13239
  color: $button-text;
13136
13240
  }
13137
13241
 
@@ -13140,18 +13244,30 @@ $tooltip-error-border: $tooltip-error-bg !default;
13140
13244
  color: $button-disabled-text;
13141
13245
  }
13142
13246
  }
13143
- .k-button-outline.k-primary {
13144
- color: $primary-button-bg;
13247
+ @each $name, $color in $button-theme-colors {
13248
+ .k-button-outline.k-button-outline-#{$name} {
13249
+ color: $color;
13145
13250
 
13146
- &:hover,
13147
- &.k-state-hover,
13148
- &:active,
13149
- &.k-state-active,
13150
- &.k-state-selected,
13151
- &:focus,
13152
- &.k-state-focus {
13153
- color: $primary-button-bg;
13251
+ &:hover,
13252
+ &.k-state-hover,
13253
+ &:focus,
13254
+ &.k-state-focus,
13255
+ &:active,
13256
+ &.k-state-active,
13257
+ &.k-state-selected {
13258
+ color: $color;
13259
+ }
13260
+
13261
+ &:disabled,
13262
+ &.k-state-disabled {
13263
+ color: $button-disabled-text;
13264
+ }
13154
13265
  }
13266
+ }
13267
+
13268
+
13269
+ // Link button
13270
+ .k-button.k-button-link {
13155
13271
 
13156
13272
  &:disabled,
13157
13273
  &.k-state-disabled {
@@ -13180,46 +13296,21 @@ $tooltip-error-border: $tooltip-error-bg !default;
13180
13296
  }
13181
13297
 
13182
13298
  &:disabled,
13299
+ &[disabled],
13300
+ &.k-disabled,
13183
13301
  &.k-state-disabled {
13184
13302
  @include box-shadow( none );
13185
- opacity: 1;
13186
13303
  }
13187
13304
  }
13188
13305
 
13189
13306
 
13190
13307
  // Split button
13191
- .k-split-button {
13192
- @include box-shadow( $button-shadow );
13193
-
13194
- .k-button {
13195
- @include box-shadow( none );
13196
- }
13197
-
13198
- > .k-button:last-child,
13199
- > .k-split-button-arrow {
13200
- color: $subtle-text;
13201
- }
13202
-
13203
- > .k-button:last-child:hover,
13204
- > .k-split-button-arrow:hover {
13205
- color: $button-text;
13206
- }
13207
-
13208
- &:disabled,
13209
- &.k-state-disabled {
13210
- @include box-shadow( none );
13211
- opacity: 1;
13212
- }
13213
-
13214
- &.k-flat {
13215
- @include box-shadow( none );
13216
- }
13217
- }
13308
+ .k-split-button {}
13218
13309
 
13219
13310
 
13220
13311
  // Variant button group
13221
13312
  .k-button-group-flat,
13222
- .k-button-group-bare,
13313
+ .k-button-group-link,
13223
13314
  .k-button-group-outline {
13224
13315
  @include box-shadow( none );
13225
13316
  }
@@ -13523,6 +13614,7 @@ $tooltip-error-border: $tooltip-error-bg !default;
13523
13614
  .k-toolbar {
13524
13615
  padding: 0;
13525
13616
  border-width: 0;
13617
+ flex-shrink: 1;
13526
13618
  color: inherit;
13527
13619
  background: none;
13528
13620
  }
@@ -13670,13 +13762,11 @@ $tooltip-error-border: $tooltip-error-bg !default;
13670
13762
 
13671
13763
  .k-toolbar {
13672
13764
 
13673
- .k-button,
13674
- .k-button-secondary {
13765
+ .k-button {
13675
13766
  background-color: try-shade( $button-bg );
13676
13767
  }
13677
13768
 
13678
- .k-button-primary,
13679
- .k-button.k-primary {
13769
+ .k-button-primary {
13680
13770
  background-color: $primary-button-bg;
13681
13771
 
13682
13772
  &:disabled,
@@ -13828,8 +13918,7 @@ $actions-gradient: null !default;
13828
13918
  @include exports("action-buttons/theme/material") {
13829
13919
 
13830
13920
  .k-actions {
13831
- .k-button:not(.k-primary),
13832
- .k-button-secondary {
13921
+ .k-button:not(.k-primary) {
13833
13922
  background-color: try-shade( $button-bg );
13834
13923
  }
13835
13924
  }
@@ -15040,7 +15129,7 @@ $textarea-invalid-focus-shadow: null !default;
15040
15129
  // Targets https://github.com/telerik/kendo-react/issues/638.
15041
15130
  box-shadow: none;
15042
15131
  background: none;
15043
- display: inline-flex;
15132
+ display: flex;
15044
15133
  flex-wrap: nowrap;
15045
15134
  vertical-align: middle;
15046
15135
  position: relative;
@@ -15430,9 +15519,18 @@ $listbox-drop-hint-width: 2px !default;
15430
15519
 
15431
15520
  .k-list-scroller {
15432
15521
  width: 100%;
15522
+ height: inherit;
15433
15523
  border-width: $listbox-border-width;
15434
15524
  border-style: solid;
15435
15525
  box-sizing: border-box;
15526
+
15527
+ .k-list-scroller {
15528
+ border-width: 0;
15529
+ }
15530
+
15531
+ .k-list {
15532
+ height: inherit;
15533
+ }
15436
15534
  }
15437
15535
 
15438
15536
  .k-drop-hint {
@@ -16518,42 +16616,11 @@ $slider-disabled-opacity: .65 !default;
16518
16616
  line-height: $slider-line-height;
16519
16617
  background: none;
16520
16618
  display: inline-flex;
16521
- align-items: stretch;
16619
+ align-items: center;
16522
16620
  position: relative;
16523
16621
  -webkit-touch-callout: none;
16524
16622
  -webkit-tap-highlight-color: $rgba-transparent;
16525
16623
 
16526
- .k-button {
16527
- height: $slider-button-size;
16528
- line-height: $slider-button-size;
16529
- margin: 0;
16530
- min-width: 0;
16531
- outline: 0;
16532
- padding: 0;
16533
- position: absolute;
16534
- width: $slider-button-size;
16535
- box-sizing: content-box;
16536
-
16537
- .k-icon,
16538
- .k-button-icon {
16539
- vertical-align: baseline;
16540
- line-height: $slider-button-size;
16541
- height: 100%;
16542
- }
16543
- }
16544
-
16545
- .k-button-increase {
16546
- position: absolute;
16547
- right: 0;
16548
- top: 0;
16549
- }
16550
-
16551
- .k-button-decrease {
16552
- position: absolute;
16553
- left: 0;
16554
- top: 0;
16555
- }
16556
-
16557
16624
  .k-label {
16558
16625
  width: auto;
16559
16626
  font-size: .92em;
@@ -16593,28 +16660,18 @@ $slider-disabled-opacity: .65 !default;
16593
16660
  left: auto;
16594
16661
  right: 0;
16595
16662
  }
16596
-
16597
- .k-button-increase {
16598
- left: 0;
16599
- right: auto;
16600
- }
16601
-
16602
- .k-button-decrease {
16603
- right: 0;
16604
- left: auto;
16605
- }
16606
16663
  }
16607
16664
  }
16608
16665
 
16609
16666
 
16610
16667
  // New rendering
16611
16668
  .k-slider {
16669
+ width: min-content;
16670
+ height: min-content;
16612
16671
  gap: calc( #{$slider-draghandle-size} / 2 );
16613
16672
 
16614
16673
  > .k-button {
16615
- position: relative;
16616
- flex-shrink: 0;
16617
- align-self: center;
16674
+ flex: none;
16618
16675
  }
16619
16676
  > .k-slider-track-wrap {
16620
16677
  flex: 1 1 auto;
@@ -16631,8 +16688,7 @@ $slider-disabled-opacity: .65 !default;
16631
16688
  display: flex;
16632
16689
  flex-flow: inherit;
16633
16690
  justify-content: space-between;
16634
-
16635
- &::after { display: none; }
16691
+ user-select: none;
16636
16692
  }
16637
16693
  .k-tick {
16638
16694
  flex: 0 0 1px;
@@ -16645,6 +16701,7 @@ $slider-disabled-opacity: .65 !default;
16645
16701
 
16646
16702
  &-horizontal {
16647
16703
  > .k-slider-track-wrap {
16704
+ height: 26px;
16648
16705
 
16649
16706
  .k-slider-track {
16650
16707
  width: 100%;
@@ -16697,6 +16754,7 @@ $slider-disabled-opacity: .65 !default;
16697
16754
 
16698
16755
  &-vertical {
16699
16756
  > .k-slider-track-wrap {
16757
+ width: 26px;
16700
16758
 
16701
16759
  .k-slider-track {
16702
16760
  height: 100%;
@@ -16729,14 +16787,8 @@ $slider-disabled-opacity: .65 !default;
16729
16787
  // Slider vertical
16730
16788
  .k-slider-vertical {
16731
16789
  height: $slider-size;
16732
- width: $slider-alt-size;
16733
16790
  flex-flow: column-reverse nowrap;
16734
16791
 
16735
- .k-button-decrease {
16736
- bottom: 0;
16737
- top: auto;
16738
- }
16739
-
16740
16792
  .k-tick {
16741
16793
  text-align: right;
16742
16794
  margin-left: 2px;
@@ -16748,32 +16800,32 @@ $slider-disabled-opacity: .65 !default;
16748
16800
 
16749
16801
  // ticks
16750
16802
 
16751
- .k-tick { background-position: -92px center; }
16752
- .k-slider-topleft .k-tick { background-position: -122px center; }
16753
- .k-slider-bottomright .k-tick { background-position: -152px center; }
16803
+ .k-tick { background-position: -94px center; }
16804
+ .k-slider-topleft .k-tick { background-position: -124px center; }
16805
+ .k-slider-bottomright .k-tick { background-position: -154px center; }
16754
16806
 
16755
16807
  .k-tick-large {
16756
16808
  display: flex;
16757
16809
  align-items: center;
16758
- background-position: -2px center;
16810
+ background-position: -4px center;
16759
16811
  }
16760
16812
 
16761
- .k-slider-topleft .k-tick-large { background-position: -32px center; }
16762
- .k-slider-bottomright .k-tick-large { background-position: -62px center; }
16813
+ .k-slider-topleft .k-tick-large { background-position: -34px center; }
16814
+ .k-slider-bottomright .k-tick-large { background-position: -64px center; }
16763
16815
 
16764
- .k-first { background-position: -92px 100%; }
16765
- .k-tick-large.k-first { background-position: -2px 100%; }
16766
- .k-slider-topleft .k-first { background-position: -122px 100%; }
16767
- .k-slider-topleft .k-tick-large.k-first { background-position: -32px 100%; }
16768
- .k-slider-bottomright .k-first { background-position: -152px 100%; }
16769
- .k-slider-bottomright .k-tick-large.k-first { background-position: -62px 100%; }
16816
+ .k-first { background-position: -94px 100%; }
16817
+ .k-tick-large.k-first { background-position: -4px 100%; }
16818
+ .k-slider-topleft .k-first { background-position: -124px 100%; }
16819
+ .k-slider-topleft .k-tick-large.k-first { background-position: -34px 100%; }
16820
+ .k-slider-bottomright .k-first { background-position: -154px 100%; }
16821
+ .k-slider-bottomright .k-tick-large.k-first { background-position: -64px 100%; }
16770
16822
 
16771
- .k-last { background-position: -92px 0; }
16772
- .k-tick-large.k-last { background-position: -2px 0; }
16773
- .k-slider-topleft .k-last { background-position: -122px 0; }
16774
- .k-slider-topleft .k-tick-large.k-last { background-position: -32px 0; }
16775
- .k-slider-bottomright .k-last { background-position: -152px 0; }
16776
- .k-slider-bottomright .k-tick-large.k-last { background-position: -62px 0; }
16823
+ .k-last { background-position: -94px 0; }
16824
+ .k-tick-large.k-last { background-position: -4px 0; }
16825
+ .k-slider-topleft .k-last { background-position: -124px 0; }
16826
+ .k-slider-topleft .k-tick-large.k-last { background-position: -34px 0; }
16827
+ .k-slider-bottomright .k-last { background-position: -154px 0; }
16828
+ .k-slider-bottomright .k-tick-large.k-last { background-position: -64px 0; }
16777
16829
 
16778
16830
  // labels
16779
16831
 
@@ -16811,17 +16863,9 @@ $slider-disabled-opacity: .65 !default;
16811
16863
 
16812
16864
  // Slider horizontal
16813
16865
  .k-slider-horizontal {
16814
- height: $slider-alt-size;
16815
16866
  width: $slider-size;
16816
16867
  flex-flow: row nowrap;
16817
16868
 
16818
- // ticks
16819
- .k-tick {
16820
- float: left;
16821
- height: 100%;
16822
- text-align: center;
16823
- }
16824
-
16825
16869
  .k-tick { background-position: center -92px; }
16826
16870
  .k-slider-topleft .k-tick { background-position: center -122px; }
16827
16871
  .k-slider-bottomright .k-tick { background-position: center -152px; }
@@ -16867,9 +16911,6 @@ $slider-disabled-opacity: .65 !default;
16867
16911
  right: 0;
16868
16912
  left: auto;
16869
16913
  }
16870
- .k-slider-buttons .k-slider-track {
16871
- right: $slider-button-spacing;
16872
- }
16873
16914
 
16874
16915
  .k-button .k-i-arrow-e,
16875
16916
  .k-button .k-i-arrow-w {
@@ -16878,11 +16919,6 @@ $slider-disabled-opacity: .65 !default;
16878
16919
  }
16879
16920
  }
16880
16921
 
16881
- .k-slider-wrap {
16882
- height: 100%;
16883
- width: 100%;
16884
- }
16885
-
16886
16922
  .k-slider-track,
16887
16923
  .k-slider-selection {
16888
16924
  margin: 0;
@@ -16904,16 +16940,6 @@ $slider-disabled-opacity: .65 !default;
16904
16940
  }
16905
16941
  }
16906
16942
 
16907
- .k-slider-buttons .k-slider-track {
16908
- .k-slider-horizontal & {
16909
- left: $slider-button-spacing;
16910
- }
16911
-
16912
- .k-slider-vertical & {
16913
- bottom: $slider-button-spacing;
16914
- }
16915
- }
16916
-
16917
16943
 
16918
16944
  .k-draghandle {
16919
16945
  background-color: transparent;
@@ -16924,30 +16950,10 @@ $slider-disabled-opacity: .65 !default;
16924
16950
  position: absolute;
16925
16951
  text-align: center;
16926
16952
  text-decoration: none;
16927
- box-sizing: content-box;
16953
+ box-sizing: border-box;
16928
16954
  width: $slider-draghandle-size;
16929
16955
  height: $slider-draghandle-size;
16930
16956
 
16931
- .k-slider-horizontal & {
16932
- top: 50%;
16933
- transform: translateY(-50%);
16934
-
16935
- &:active,
16936
- &.k-pressed {
16937
- transform: translateY(-50%) scale($slider-draghandle-active-scale);
16938
- }
16939
- }
16940
-
16941
- .k-slider-vertical & {
16942
- left: 50%;
16943
- transform: translateX(-50%);
16944
-
16945
- &:active,
16946
- &.k-pressed {
16947
- transform: translateX(-50%) scale($slider-draghandle-active-scale);
16948
- }
16949
- }
16950
-
16951
16957
  .k-slider-transitions.k-slider-horizontal & {
16952
16958
  transition: left $slider-transition-speed $slider-transition-function, background-color $slider-transition-speed $slider-transition-function, transform $slider-draghandle-transition-speed $slider-draghandle-transition-function;
16953
16959
  }
@@ -16976,34 +16982,18 @@ $slider-disabled-opacity: .65 !default;
16976
16982
  }
16977
16983
 
16978
16984
 
16979
- .k-slider-items {
16980
- user-select: none;
16981
-
16982
- .k-slider-buttons & {
16983
- margin-left: $slider-button-spacing;
16984
- }
16985
-
16986
- .k-slider-horizontal & {
16987
- height: 100%;
16988
- padding: 2px 0;
16989
- box-sizing: border-box;
16990
- }
16991
-
16992
- .k-slider-vertical & {
16993
- padding-top: 1px;
16994
- }
16995
-
16996
- .k-slider-vertical .k-slider-buttons & {
16997
- margin: 0;
16998
- padding-top: $slider-button-spacing;
16985
+ // Slider readonly
16986
+ .k-slider.k-readonly {
16987
+ .k-button,
16988
+ .k-slider-track,
16989
+ .k-tick,
16990
+ .k-draghandle {
16991
+ pointer-events: none;
16999
16992
  }
17000
16993
  }
17001
- .k-slider-items::after {
17002
- content: "";
17003
- display: block;
17004
- clear: both;
17005
- }
17006
16994
 
16995
+
16996
+ // Slider tooltip
17007
16997
  .k-slider-tooltip {
17008
16998
  .k-callout-n,
17009
16999
  .k-callout-s {
@@ -17138,12 +17128,6 @@ $slider-disabled-opacity: .65 !default;
17138
17128
  &.k-state-disabled {
17139
17129
  opacity: $slider-disabled-opacity;
17140
17130
  }
17141
-
17142
- .k-slider-wrap {
17143
- &:focus {
17144
- outline: none;
17145
- }
17146
- }
17147
17131
  }
17148
17132
 
17149
17133
  .k-slider-horizontal .k-tick {
@@ -19312,10 +19296,6 @@ $colorgradient-contrast-spacer: map-get( $spacing, 2 ) !default;
19312
19296
  z-index: 1;
19313
19297
  }
19314
19298
 
19315
- .k-slider-wrap > .k-slider-track {
19316
- height: $colorgradient-slider-vertical-size;
19317
- }
19318
-
19319
19299
  .k-slider-selection {
19320
19300
  display: none;
19321
19301
  }
@@ -21551,8 +21531,8 @@ $multiselect-clear-right: calc( #{$icon-size} + #{$input-padding-y} ) !default;
21551
21531
 
21552
21532
  // Token
21553
21533
  .k-button {
21554
- min-height: calc( #{$form-line-height-em} + #{$button-padding-y-sm} + 2px );
21555
- padding: ($button-padding-y-sm / 2) ($button-padding-x / 2);
21534
+ min-height: calc( #{$form-line-height-em} + #{$button-padding-y /2} + 2px );
21535
+ padding: ($button-padding-y / 4) ($button-padding-x / 2);
21556
21536
  margin: $padding-y-sm 0 0 $padding-y-sm;
21557
21537
  cursor: default;
21558
21538
  display: inline-flex;
@@ -22082,6 +22062,16 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
22082
22062
  }
22083
22063
 
22084
22064
 
22065
+ // Treeview filter
22066
+ .k-treeview-filter {
22067
+ padding: map-get( $spacing, 1 );
22068
+ box-sizing: border-box;
22069
+ display: block;
22070
+ position: relative;
22071
+ flex: none;
22072
+ }
22073
+
22074
+
22085
22075
  // Treeview group
22086
22076
  .k-treeview-group,
22087
22077
  .k-treeview .k-group {
@@ -22142,11 +22132,6 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
22142
22132
  .k-treeview .k-i-collapse {
22143
22133
  margin-left: -$treeview-indent;
22144
22134
  cursor: pointer;
22145
-
22146
- + .k-checkbox-wrap,
22147
- + .k-checkbox-wrapper {
22148
- margin-left: $icon-spacing;
22149
- }
22150
22135
  }
22151
22136
 
22152
22137
 
@@ -22159,6 +22144,7 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
22159
22144
  // Checkbox
22160
22145
  .k-treeview .k-checkbox-wrap,
22161
22146
  .k-treeview .k-checkbox-wrapper {
22147
+ margin-left: $icon-spacing;
22162
22148
  margin-right: $icon-spacing;
22163
22149
  align-self: center;
22164
22150
  }
@@ -22222,11 +22208,6 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
22222
22208
  .k-treeview-toggle {
22223
22209
  margin-left: 0;
22224
22210
  margin-right: -$treeview-indent;
22225
-
22226
- + .k-checkbox-wrap,
22227
- + .k-checkbox-wrapper {
22228
- margin-right: $icon-spacing;
22229
- }
22230
22211
  }
22231
22212
 
22232
22213
  // Loading
@@ -22235,13 +22216,6 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
22235
22216
  margin-left: $icon-spacing;
22236
22217
  }
22237
22218
 
22238
- // Checkbox
22239
- .k-checkbox-wrap,
22240
- .k-checkbox-wrapper {
22241
- margin-right: 0;
22242
- margin-left: $icon-spacing;
22243
- }
22244
-
22245
22219
  // Treeview leaf
22246
22220
  .k-treeview-leaf,
22247
22221
  .k-in {
@@ -22252,8 +22226,8 @@ $treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
22252
22226
  margin-left: $icon-spacing;
22253
22227
  }
22254
22228
  }
22255
-
22256
22229
  }
22230
+
22257
22231
  }
22258
22232
 
22259
22233
  // #endregion
@@ -22517,6 +22491,17 @@ $dropdowntree-filter-spacer: 0px !default;
22517
22491
 
22518
22492
  // #endregion
22519
22493
 
22494
+ @include exports( "maskedtextbox/layout/material" ) {
22495
+
22496
+ // Masked textbox
22497
+ .k-maskedtextbox {
22498
+ @include border-bottom-radius( 0 !important ); // sass-lint:disable-line no-important
22499
+ border-width: $input-border-width 0;
22500
+ border-top-color: transparent !important; // sass-lint:disable-line no-important
22501
+ }
22502
+
22503
+ }
22504
+
22520
22505
  // #endregion
22521
22506
  // #region @import "_theme.scss"; -> packages/material/scss/maskedtextbox/_theme.scss
22522
22507
  // #region @import "~@progress/kendo-theme-default/scss/maskedtextbox/_theme.scss"; -> packages/material/node_modules/@progress/kendo-theme-default/scss/maskedtextbox/_theme.scss
@@ -25867,10 +25852,10 @@ $actionsheet-item-disabled-opacity: .42 !default;
25867
25852
  margin-top: -($window-inner-padding-y / 2);
25868
25853
  }
25869
25854
  .k-window-content:first-child {
25870
- padding-top: #{"max( #{$window-inner-padding-y}, #{$window-titlebar-padding-y} )"};
25855
+ padding-top: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
25871
25856
  }
25872
25857
  .k-window-content:last-child {
25873
- padding-bottom: #{"max( #{$window-inner-padding-y}, #{$window-titlebar-padding-y} )"};
25858
+ padding-bottom: clamp( #{$window-inner-padding-y}, #{$window-titlebar-padding-y}, #{$window-titlebar-padding-y} );
25874
25859
  }
25875
25860
 
25876
25861
  .k-window-iframecontent {
@@ -29429,7 +29414,7 @@ $tabstrip-content-border-focused: $component-text !default;
29429
29414
  color: inherit;
29430
29415
  background-color: transparent;
29431
29416
  display: flex;
29432
- flex-direction: column;
29417
+ flex-flow: column nowrap;
29433
29418
  -webkit-touch-callout: none;
29434
29419
  -webkit-tap-highlight-color: $rgba-transparent;
29435
29420
 
@@ -29522,6 +29507,9 @@ $tabstrip-content-border-focused: $component-text !default;
29522
29507
  left: 0;
29523
29508
  transition: width .2s linear;
29524
29509
 
29510
+ // TODO: a better name
29511
+ display: none;
29512
+
29525
29513
  &.k-complete {
29526
29514
  width: 100%;
29527
29515
  border-top-width: 0;
@@ -29535,6 +29523,7 @@ $tabstrip-content-border-focused: $component-text !default;
29535
29523
 
29536
29524
  > .k-tabstrip-items {
29537
29525
  flex: 1 1 auto;
29526
+ flex-wrap: nowrap;
29538
29527
  white-space: nowrap;
29539
29528
  overflow: hidden;
29540
29529
  }
@@ -33307,7 +33296,7 @@ $grid-group-dropclue-top: calc( ( #{$button-calc-size} + #{$grid-grouping-header
33307
33296
  padding: $grid-column-menu-popup-padding-y $grid-column-menu-popup-padding-x;
33308
33297
  }
33309
33298
  .k-popup > & {
33310
- width: 100%;
33299
+ max-width: 100%;
33311
33300
  }
33312
33301
 
33313
33302
  .k-actions {
@@ -33733,12 +33722,6 @@ $grid-group-dropclue-top: calc( ( #{$button-calc-size} + #{$grid-grouping-header
33733
33722
  @include fill( $bg: $grid-sticky-selected-alt-bg );
33734
33723
  }
33735
33724
 
33736
- // Hovered state
33737
- .k-state-hover td,
33738
- tr:hover td {
33739
- @include fill( $bg: $grid-sticky-hovered-bg );
33740
- }
33741
-
33742
33725
  // Selected hover
33743
33726
  .k-state-selected:hover td,
33744
33727
  .k-state-selected.k-state-hover td {
@@ -34730,6 +34713,7 @@ $spreadsheet-drawing-anchor-bg: rgba( $selected-bg, .25 ) !default;
34730
34713
  margin: 0;
34731
34714
  }
34732
34715
  .k-spreadsheet-tabstrip .k-loading {
34716
+ // TODO: better name
34733
34717
  display: none;
34734
34718
  }
34735
34719
  .k-spreadsheet-tabstrip .k-content,
@@ -37390,9 +37374,13 @@ $treelist-footer-row-border-width: 1px !default;
37390
37374
  padding: .4em .6em;
37391
37375
  line-height: 1.6em;
37392
37376
 
37377
+ // TODO: see what this does and use a better name
37393
37378
  .k-loading {
37394
37379
  vertical-align: baseline;
37395
37380
  margin-right: 5px;
37381
+
37382
+ // TODO
37383
+ display: none;
37396
37384
  }
37397
37385
  }
37398
37386
 
@@ -43875,10 +43863,16 @@ $chat-quick-reply-hover-border: $primary !default;
43875
43863
 
43876
43864
  .k-scroll-button {
43877
43865
  height: 100%;
43866
+ aspect-ratio: auto;
43878
43867
  position: absolute;
43879
43868
  z-index: 2;
43880
43869
  top: 50%;
43881
43870
  transform: translateY(-50%);
43871
+
43872
+ .k-button-icon {
43873
+ min-width: auto;
43874
+ min-height: auto;
43875
+ }
43882
43876
  }
43883
43877
  .k-scroll-button-left {
43884
43878
  left: 0;
@@ -44181,6 +44175,9 @@ $mediaplayer-titlebar-gradient: rgba( $mediaplayer-text, .7 ), rgba( $mediaplaye
44181
44175
  padding: 0 (14px / 2);
44182
44176
  align-items: center;
44183
44177
  }
44178
+ .k-mediaplayer-volume {
44179
+ width: 100px;
44180
+ }
44184
44181
 
44185
44182
 
44186
44183
  // Seekbar
@@ -44188,8 +44185,9 @@ $mediaplayer-titlebar-gradient: rgba( $mediaplayer-text, .7 ), rgba( $mediaplaye
44188
44185
  width: 100%;
44189
44186
  position: absolute;
44190
44187
  z-index: 3;
44191
- top: -17px;
44188
+ top: 0;
44192
44189
  left: 0;
44190
+ transform: translateY( -50% );
44193
44191
  }
44194
44192
  .k-mediaplayer-seekbar .k-slider-track {
44195
44193
  // sass-lint:disable no-important
@@ -44197,6 +44195,9 @@ $mediaplayer-titlebar-gradient: rgba( $mediaplayer-text, .7 ), rgba( $mediaplaye
44197
44195
  // sass-lint:enable no-important
44198
44196
  border-radius: 0;
44199
44197
  }
44198
+ .k-mediaplayer-seekbar .k-slider-selection {
44199
+ border-radius: 0;
44200
+ }
44200
44201
 
44201
44202
  .k-mediaplayer-fullscreen {
44202
44203
  z-index: 10000;