@progress/kendo-theme-material 7.0.3-dev.3 → 7.1.0-dev.0

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
@@ -17861,6 +17861,7 @@ $kendo-popup-shadow: $box-shadow-depth-4 !default;
17861
17861
  .k-popup.k-popup-transparent {
17862
17862
  border-width: 0;
17863
17863
  background-color: transparent;
17864
+ box-shadow: none;
17864
17865
  }
17865
17866
 
17866
17867
  // Flush popup
@@ -24424,43 +24425,74 @@ $kendo-picker-flat-hover-focus-border: null !default;
24424
24425
  // #region @import "../tooltip/_variables.scss"; -> scss/tooltip/_variables.scss
24425
24426
  // Tooltip
24426
24427
 
24428
+ /// The vertical padding of the Tooltip.
24429
+ /// @group tooltip
24427
24430
  $kendo-tooltip-padding-y: ($kendo-padding-md-y * .75) !default;
24431
+ /// The horizontal padding of the Tooltip.
24432
+ /// @group tooltip
24428
24433
  $kendo-tooltip-padding-x: k-math-div( $kendo-padding-md-x, 2 ) !default;
24429
- $kendo-tooltip-max-width: null !default;
24434
+ /// The width of the border around the Tooltip.
24435
+ /// @group tooltip
24430
24436
  $kendo-tooltip-border-width: 0px !default;
24437
+ /// The border radius of the Tooltip.
24438
+ /// @group tooltip
24431
24439
  $kendo-tooltip-border-radius: $kendo-border-radius-md !default;
24432
24440
 
24441
+ /// The font family of the Tooltip.
24442
+ /// @group tooltip
24433
24443
  $kendo-tooltip-font-family: $kendo-font-family !default;
24444
+ /// The font size of the Tooltip.
24445
+ /// @group tooltip
24434
24446
  $kendo-tooltip-font-size: $kendo-font-size-sm !default;
24447
+ /// The line height of the Tooltip.
24448
+ /// @group tooltip
24435
24449
  $kendo-tooltip-line-height: k-math-div( 20, 14 ) !default;
24436
24450
 
24451
+ /// The font size of the Tooltip title.
24452
+ /// @group tooltip
24437
24453
  $kendo-tooltip-title-font-size: ($kendo-tooltip-font-size * 1.25) !default;
24454
+ /// The line height of the Tooltip title.
24455
+ /// @group tooltip
24438
24456
  $kendo-tooltip-title-line-height: 1 !default;
24439
24457
 
24458
+ /// The size of the Tooltip callout.
24459
+ /// @group tooltip
24440
24460
  $kendo-tooltip-callout-size: 6px !default;
24441
24461
 
24462
+ /// The default background of the Tooltip.
24463
+ /// @group tooltip
24442
24464
  $kendo-tooltip-bg: material-color( gray, 700, .9 ) !default;
24465
+ /// The default text color of the Tooltip.
24466
+ /// @group tooltip
24443
24467
  $kendo-tooltip-text: get-base-contrast( gray, 700 ) !default;
24468
+ /// The default border color of the Tooltip.
24469
+ /// @group tooltip
24444
24470
  $kendo-tooltip-border: $kendo-tooltip-bg !default;
24445
24471
 
24472
+ /// The box-shadow of the Tooltip.
24473
+ /// @group tooltip
24446
24474
  $kendo-tooltip-shadow: $box-shadow-depth-2 !default;
24447
24475
 
24448
- $kendo-tooltip-primary-bg: $kendo-color-primary !default;
24449
- $kendo-tooltip-primary-text: k-contrast-color( $kendo-tooltip-primary-bg ) !default;
24450
- $kendo-tooltip-primary-border: $kendo-tooltip-primary-bg !default;
24451
- $kendo-tooltip-info-bg: $kendo-color-info !default;
24452
- $kendo-tooltip-info-text: k-contrast-color( $kendo-tooltip-info-bg ) !default;
24453
- $kendo-tooltip-info-border: $kendo-tooltip-info-bg !default;
24454
- $kendo-tooltip-success-bg: $kendo-color-success !default;
24455
- $kendo-tooltip-success-text: k-contrast-color( $kendo-tooltip-success-bg ) !default;
24456
- $kendo-tooltip-success-border: $kendo-tooltip-success-bg !default;
24457
- $kendo-tooltip-warning-bg: $kendo-color-warning !default;
24458
- $kendo-tooltip-warning-text: k-contrast-color( $kendo-tooltip-warning-bg ) !default;
24459
- $kendo-tooltip-warning-border: $kendo-tooltip-warning-bg !default;
24460
- $kendo-tooltip-error-bg: $kendo-color-error !default;
24461
- $kendo-tooltip-error-text: k-contrast-color( $kendo-tooltip-error-bg ) !default;
24462
- $kendo-tooltip-error-border: $kendo-tooltip-error-bg !default;
24476
+ @function tooltip-theme( $colors ) {
24477
+ $_theme: ();
24463
24478
 
24479
+ @each $name, $color in $colors {
24480
+ $_theme: k-map-merge(( $name: (
24481
+ color: k-contrast-color( $color ),
24482
+ background-color: $color,
24483
+ border: $color,
24484
+ )), $_theme );
24485
+ }
24486
+
24487
+ @return $_theme;
24488
+ }
24489
+
24490
+ /// The theme colors map for the Tooltip.
24491
+ /// @group tooltip
24492
+ $kendo-tooltip-theme-colors: $kendo-theme-colors !default;
24493
+ /// The generated theme colors map for the Tooltip.
24494
+ /// @group tooltip
24495
+ $kendo-tooltip-theme: tooltip-theme( $kendo-tooltip-theme-colors ) !default;
24464
24496
  // #endregion
24465
24497
  // #region @import "../typography/_variables.scss"; -> scss/typography/_variables.scss
24466
24498
  // File already imported_once. Skipping output.
@@ -25336,7 +25368,6 @@ $_kendo-module-meta: (
25336
25368
  margin: 0;
25337
25369
  padding-block: $kendo-tooltip-padding-y;
25338
25370
  padding-inline: $kendo-tooltip-padding-x;
25339
- // max-width: $kendo-tooltip-max-width;
25340
25371
  border-width: $kendo-tooltip-border-width;
25341
25372
  border-style: solid;
25342
25373
  box-sizing: border-box;
@@ -25459,14 +25490,6 @@ $_kendo-module-meta: (
25459
25490
  // #region @import "./_theme.scss"; -> scss/tooltip/_theme.scss
25460
25491
  // #region @import "@progress/kendo-theme-default/scss/tooltip/_theme.scss"; -> /home/runner/work/kendo-themes/kendo-themes/node_modules/@progress/kendo-theme-default/scss/tooltip/_theme.scss
25461
25492
  @mixin kendo-tooltip--theme-base() {
25462
-
25463
- .k-tooltip-wrapper {
25464
- .k-tooltip {
25465
- box-shadow: $kendo-tooltip-shadow;
25466
- }
25467
- }
25468
-
25469
-
25470
25493
  // Default tooltip
25471
25494
  .k-tooltip {
25472
25495
  @include fill(
@@ -25474,67 +25497,26 @@ $_kendo-module-meta: (
25474
25497
  $kendo-tooltip-bg,
25475
25498
  $kendo-tooltip-border
25476
25499
  );
25500
+
25501
+ @include box-shadow( $kendo-tooltip-shadow );
25477
25502
 
25478
25503
  .k-callout {
25479
25504
  color: $kendo-tooltip-bg;
25480
25505
  }
25481
25506
  }
25482
25507
 
25483
-
25484
25508
  // Tooltip variants
25485
- .k-tooltip-primary {
25486
- @include fill(
25487
- $kendo-tooltip-primary-text,
25488
- $kendo-tooltip-primary-bg,
25489
- $kendo-tooltip-primary-border
25490
- );
25491
-
25492
- .k-callout {
25493
- color: $kendo-tooltip-primary-bg;
25494
- }
25495
- }
25496
- .k-tooltip-info {
25497
- @include fill(
25498
- $kendo-tooltip-info-text,
25499
- $kendo-tooltip-info-bg,
25500
- $kendo-tooltip-info-border
25501
- );
25502
-
25503
- .k-callout {
25504
- color: $kendo-tooltip-info-bg;
25505
- }
25506
- }
25507
- .k-tooltip-success {
25508
- @include fill(
25509
- $kendo-tooltip-success-text,
25510
- $kendo-tooltip-success-bg,
25511
- $kendo-tooltip-success-border
25512
- );
25513
-
25514
- .k-callout {
25515
- color: $kendo-tooltip-success-bg;
25516
- }
25517
- }
25518
- .k-tooltip-warning {
25519
- @include fill(
25520
- $kendo-tooltip-warning-text,
25521
- $kendo-tooltip-warning-bg,
25522
- $kendo-tooltip-warning-border
25523
- );
25524
-
25525
- .k-callout {
25526
- color: $kendo-tooltip-warning-bg;
25527
- }
25528
- }
25529
- .k-tooltip-error {
25530
- @include fill(
25531
- $kendo-tooltip-error-text,
25532
- $kendo-tooltip-error-bg,
25533
- $kendo-tooltip-error-border
25534
- );
25535
-
25536
- .k-callout {
25537
- color: $kendo-tooltip-error-bg;
25509
+ @each $name, $props in $kendo-tooltip-theme {
25510
+ .k-tooltip-#{$name} {
25511
+ @include fill(
25512
+ k-map-get( $props, color ),
25513
+ k-map-get( $props, background-color ),
25514
+ k-map-get( $props, border )
25515
+ );
25516
+
25517
+ .k-callout {
25518
+ color: k-map-get( $props, background-color );
25519
+ }
25538
25520
  }
25539
25521
  }
25540
25522
 
@@ -29185,19 +29167,6 @@ $kendo-slider-disabled-opacity: .65 !default;
29185
29167
  }
29186
29168
  }
29187
29169
 
29188
-
29189
- // Slider wrap
29190
- .k-slider-wrap {
29191
- width: 100%;
29192
- height: 100%;
29193
- display: flex;
29194
- flex-flow: inherit;
29195
- align-items: inherit;
29196
- gap: inherit;
29197
- position: relative;
29198
- }
29199
-
29200
-
29201
29170
  // New rendering
29202
29171
  .k-slider {
29203
29172
  width: min-content;
@@ -29529,15 +29498,7 @@ $kendo-slider-disabled-opacity: .65 !default;
29529
29498
  .k-slider kendo-resize-sensor {
29530
29499
  position: absolute;
29531
29500
  }
29532
- .k-slider-horizontal .k-slider-wrap:not(.k-slider-buttons) {
29533
- padding-inline-start: calc( #{$kendo-slider-draghandle-size} / 2 );
29534
- padding-inline-end: calc( #{$kendo-slider-draghandle-size} / 2 );
29535
- }
29536
- .k-slider-vertical .k-slider-wrap:not(.k-slider-buttons) {
29537
- padding-top: calc( #{$kendo-slider-draghandle-size} / 2 );
29538
- padding-bottom: calc( #{$kendo-slider-draghandle-size} / 2 );
29539
- }
29540
-
29501
+
29541
29502
  // Aliases
29542
29503
  .k-draghandle { @extend .k-slider-thumb !optional; }
29543
29504
  .k-draghandle-start { @extend .k-slider-thumb-start !optional; }
@@ -32221,7 +32182,6 @@ $kendo-color-gradient-contrast-spacer: k-map-get( $kendo-spacing, 2 ) !default;
32221
32182
  z-index: -1;
32222
32183
  }
32223
32184
 
32224
- .k-slider-wrap,
32225
32185
  .k-slider-track-wrap {
32226
32186
  z-index: 1;
32227
32187
  }
@@ -39803,6 +39763,15 @@ $kendo-card-callout-height: 20px !default;
39803
39763
  *::after {
39804
39764
  box-sizing: border-box;
39805
39765
  }
39766
+
39767
+ // Card avatar
39768
+ .k-card-avatar,
39769
+ .k-avatar {
39770
+ margin-right: $kendo-card-avatar-spacing;
39771
+ width: $kendo-card-avatar-size;
39772
+ height: $kendo-card-avatar-size;
39773
+ flex-basis: $kendo-card-avatar-size;
39774
+ }
39806
39775
  }
39807
39776
  .k-card > .k-card-inner {
39808
39777
  @include border-radius( $kendo-card-inner-border-radius );
@@ -39812,11 +39781,9 @@ $kendo-card-callout-height: 20px !default;
39812
39781
  position: relative;
39813
39782
  }
39814
39783
 
39815
-
39816
39784
  // Card orientation
39817
- .k-card-horizontal { flex-flow: row nowrap; } // stylelint-disable-line block-opening-brace-space-before
39818
- .k-card-vertical { flex-flow: column nowrap; } // stylelint-disable-line block-opening-brace-space-before
39819
-
39785
+ .k-card-horizontal { flex-flow: row nowrap; } // stylelint-disable-line block-opening-brace-space-before
39786
+ .k-card-vertical { flex-flow: column nowrap; } // stylelint-disable-line block-opening-brace-space-before
39820
39787
 
39821
39788
  // Header
39822
39789
  .k-card-header {
@@ -39873,30 +39840,13 @@ $kendo-card-callout-height: 20px !default;
39873
39840
  }
39874
39841
  }
39875
39842
 
39876
-
39877
- // Card avatar
39878
- .k-card-avatar,
39879
- .k-card .k-avatar {
39880
- margin-right: $kendo-card-avatar-spacing;
39881
- width: $kendo-card-avatar-size;
39882
- height: $kendo-card-avatar-size;
39883
- flex-basis: $kendo-card-avatar-size;
39884
- }
39885
-
39886
-
39887
- // Card image
39888
- .k-card-image,
39843
+ // Card media
39889
39844
  .k-card-media {
39890
39845
  border: 0;
39891
39846
  max-width: 100%;
39892
39847
  flex-shrink: 0;
39893
39848
  overflow: hidden;
39894
39849
 
39895
- > img {
39896
- border: 0;
39897
- max-width: 100%;
39898
- }
39899
-
39900
39850
  .k-card-horizontal & {
39901
39851
  max-width: $kendo-card-img-max-width;
39902
39852
  object-fit: cover;
@@ -39940,22 +39890,23 @@ $kendo-card-callout-height: 20px !default;
39940
39890
  flex: 0 0 auto;
39941
39891
  align-self: stretch;
39942
39892
  }
39943
- .k-card-separator.k-separator-vertical,
39944
- .k-card-horizontal > .k-card-separator {
39945
- border-left-width: 1px;
39946
- }
39893
+
39947
39894
  .k-card-separator.k-separator-horizontal,
39948
39895
  .k-card-vertical > .k-card-separator {
39949
39896
  border-top-width: 1px;
39950
39897
  }
39951
39898
 
39899
+ .k-card-separator.k-separator-vertical,
39900
+ .k-card-horizontal > .k-card-separator {
39901
+ border-left-width: 1px;
39902
+ }
39903
+
39952
39904
  .k-card > .k-hr {
39953
39905
  margin: 0;
39954
39906
  flex: 0 0 auto;
39955
39907
  border-color: inherit;
39956
39908
  }
39957
39909
 
39958
-
39959
39910
  // Card actions
39960
39911
  .k-card-actions {
39961
39912
  padding-block: $kendo-card-actions-padding-y;
@@ -39970,33 +39921,6 @@ $kendo-card-callout-height: 20px !default;
39970
39921
  gap: $kendo-card-actions-gap;
39971
39922
  }
39972
39923
 
39973
-
39974
- // Actions align
39975
- .k-card-actions-start { justify-content: flex-start; } // stylelint-disable-line block-opening-brace-space-before
39976
- .k-card-actions-end { justify-content: flex-end; } // stylelint-disable-line block-opening-brace-space-before
39977
- .k-card-actions-center { justify-content: center; } // stylelint-disable-line block-opening-brace-space-before
39978
-
39979
-
39980
- // Actions orientation
39981
- .k-card-actions-horizontal { flex-flow: row nowrap; } // stylelint-disable-line block-opening-brace-space-before
39982
- .k-card-actions-vertical { flex-flow: column nowrap; } // stylelint-disable-line block-opening-brace-space-before
39983
-
39984
-
39985
- // Stretched actions
39986
- .k-card-actions-stretched > * {
39987
- flex: 1 1 auto;
39988
- }
39989
-
39990
-
39991
- // Card action
39992
- .k-card-action {
39993
- border-width: 0;
39994
- border-style: solid;
39995
- border-color: inherit;
39996
- display: inline-flex;
39997
- }
39998
-
39999
-
40000
39924
  // List
40001
39925
  .k-card-list {
40002
39926
  display: flex;
@@ -40088,9 +40012,6 @@ $kendo-card-callout-height: 20px !default;
40088
40012
  }
40089
40013
  }
40090
40014
 
40091
-
40092
-
40093
-
40094
40015
  // Card with callout
40095
40016
  .k-card-with-callout {
40096
40017
  overflow: visible;
@@ -47543,6 +47464,7 @@ $kendo-grid-row-resizer-height: k-map-get( $kendo-spacing, .5 ) !default;
47543
47464
  $_selection-aggregates-padding-x: k-map-get( $size-props, selection-aggregates-padding-x );
47544
47465
  $_selection-aggregates-padding-y: k-map-get( $size-props, selection-aggregates-padding-y );
47545
47466
 
47467
+ .k-grid .k-grid-#{$size},
47546
47468
  .k-grid-#{$size} {
47547
47469
 
47548
47470
  .k-table-th {