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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/all.scss CHANGED
@@ -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: ();
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
+ }
24463
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
  }
@@ -39307,6 +39267,10 @@ $_kendo-module-meta: (
39307
39267
  // #region @import "./_variables.scss"; -> scss/notification/_variables.scss
39308
39268
  // Notification
39309
39269
 
39270
+ /// The row-gap between the elements in the Notification group.
39271
+ /// @group notification
39272
+ $kendo-notification-group-gap: k-map-get( $kendo-spacing, 2 ) !default;
39273
+
39310
39274
  /// The horizontal padding of the Notification.
39311
39275
  /// @group notification
39312
39276
  $kendo-notification-padding-x: 16px !default;
@@ -39345,7 +39309,6 @@ $kendo-notification-shadow: $kendo-popup-shadow !default;
39345
39309
  /// @group notification
39346
39310
  $kendo-notification-icon-spacing: $kendo-icon-spacing !default;
39347
39311
 
39348
-
39349
39312
  @function notification-theme( $colors ) {
39350
39313
  $_theme: ();
39351
39314
 
@@ -39379,17 +39342,12 @@ $kendo-notification-theme: notification-theme( $kendo-notification-theme-colors
39379
39342
  flex-flow: column-reverse wrap;
39380
39343
  position: fixed;
39381
39344
  z-index: 1000;
39345
+ gap: $kendo-notification-group-gap 0;
39382
39346
  }
39383
39347
 
39384
- .k-notification-container {
39385
- margin-block: k-math-div( $kendo-notification-padding-y, 2 );
39386
- margin-inline: 0;
39387
- display: inline-flex;
39388
- vertical-align: top;
39389
-
39390
- &-animating {
39391
- overflow: hidden;
39392
- }
39348
+ // Needed due to the specifics in the implementation of animations in Angular
39349
+ .k-notification-container-animating {
39350
+ overflow: hidden;
39393
39351
  }
39394
39352
 
39395
39353
  .k-notification {
@@ -39803,6 +39761,15 @@ $kendo-card-callout-height: 20px !default;
39803
39761
  *::after {
39804
39762
  box-sizing: border-box;
39805
39763
  }
39764
+
39765
+ // Card avatar
39766
+ .k-card-avatar,
39767
+ .k-avatar {
39768
+ margin-right: $kendo-card-avatar-spacing;
39769
+ width: $kendo-card-avatar-size;
39770
+ height: $kendo-card-avatar-size;
39771
+ flex-basis: $kendo-card-avatar-size;
39772
+ }
39806
39773
  }
39807
39774
  .k-card > .k-card-inner {
39808
39775
  @include border-radius( $kendo-card-inner-border-radius );
@@ -39812,11 +39779,9 @@ $kendo-card-callout-height: 20px !default;
39812
39779
  position: relative;
39813
39780
  }
39814
39781
 
39815
-
39816
39782
  // 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
-
39783
+ .k-card-horizontal { flex-flow: row nowrap; } // stylelint-disable-line block-opening-brace-space-before
39784
+ .k-card-vertical { flex-flow: column nowrap; } // stylelint-disable-line block-opening-brace-space-before
39820
39785
 
39821
39786
  // Header
39822
39787
  .k-card-header {
@@ -39873,30 +39838,13 @@ $kendo-card-callout-height: 20px !default;
39873
39838
  }
39874
39839
  }
39875
39840
 
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,
39841
+ // Card media
39889
39842
  .k-card-media {
39890
39843
  border: 0;
39891
39844
  max-width: 100%;
39892
39845
  flex-shrink: 0;
39893
39846
  overflow: hidden;
39894
39847
 
39895
- > img {
39896
- border: 0;
39897
- max-width: 100%;
39898
- }
39899
-
39900
39848
  .k-card-horizontal & {
39901
39849
  max-width: $kendo-card-img-max-width;
39902
39850
  object-fit: cover;
@@ -39940,22 +39888,23 @@ $kendo-card-callout-height: 20px !default;
39940
39888
  flex: 0 0 auto;
39941
39889
  align-self: stretch;
39942
39890
  }
39943
- .k-card-separator.k-separator-vertical,
39944
- .k-card-horizontal > .k-card-separator {
39945
- border-left-width: 1px;
39946
- }
39891
+
39947
39892
  .k-card-separator.k-separator-horizontal,
39948
39893
  .k-card-vertical > .k-card-separator {
39949
39894
  border-top-width: 1px;
39950
39895
  }
39951
39896
 
39897
+ .k-card-separator.k-separator-vertical,
39898
+ .k-card-horizontal > .k-card-separator {
39899
+ border-left-width: 1px;
39900
+ }
39901
+
39952
39902
  .k-card > .k-hr {
39953
39903
  margin: 0;
39954
39904
  flex: 0 0 auto;
39955
39905
  border-color: inherit;
39956
39906
  }
39957
39907
 
39958
-
39959
39908
  // Card actions
39960
39909
  .k-card-actions {
39961
39910
  padding-block: $kendo-card-actions-padding-y;
@@ -39970,33 +39919,6 @@ $kendo-card-callout-height: 20px !default;
39970
39919
  gap: $kendo-card-actions-gap;
39971
39920
  }
39972
39921
 
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
39922
  // List
40001
39923
  .k-card-list {
40002
39924
  display: flex;
@@ -40088,9 +40010,6 @@ $kendo-card-callout-height: 20px !default;
40088
40010
  }
40089
40011
  }
40090
40012
 
40091
-
40092
-
40093
-
40094
40013
  // Card with callout
40095
40014
  .k-card-with-callout {
40096
40015
  overflow: visible;
@@ -47543,6 +47462,7 @@ $kendo-grid-row-resizer-height: k-map-get( $kendo-spacing, .5 ) !default;
47543
47462
  $_selection-aggregates-padding-x: k-map-get( $size-props, selection-aggregates-padding-x );
47544
47463
  $_selection-aggregates-padding-y: k-map-get( $size-props, selection-aggregates-padding-y );
47545
47464
 
47465
+ .k-grid .k-grid-#{$size},
47546
47466
  .k-grid-#{$size} {
47547
47467
 
47548
47468
  .k-table-th {
@@ -58917,10 +58837,6 @@ $kendo-timeline-event-min-height-calc: calc(2 * (#{$kendo-timeline-track-event-o
58917
58837
  }
58918
58838
  }
58919
58839
 
58920
- .k-event-collapse {
58921
- display: none;
58922
- }
58923
-
58924
58840
  &.k-timeline-collapsible {
58925
58841
  .k-card-header {
58926
58842
  cursor: pointer;