@progress/kendo-theme-default 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
@@ -16841,6 +16841,7 @@ $kendo-popup-shadow: k-elevation(4) !default;
16841
16841
  .k-popup.k-popup-transparent {
16842
16842
  border-width: 0;
16843
16843
  background-color: transparent;
16844
+ box-shadow: none;
16844
16845
  }
16845
16846
 
16846
16847
  // Flush popup
@@ -22702,43 +22703,75 @@ $kendo-picker-flat-hover-focus-border: null !default;
22702
22703
  // #endregion
22703
22704
  // #region @import "../tooltip/_variables.scss"; -> scss/tooltip/_variables.scss
22704
22705
  // Tooltip
22706
+
22707
+ /// The vertical padding of the Tooltip.
22708
+ /// @group tooltip
22705
22709
  $kendo-tooltip-padding-y: $kendo-padding-md-y !default;
22710
+ /// The horizontal padding of the Tooltip.
22711
+ /// @group tooltip
22706
22712
  $kendo-tooltip-padding-x: $kendo-padding-md-x !default;
22707
- $kendo-tooltip-max-width: null !default;
22713
+ /// The width of the border around the Tooltip.
22714
+ /// @group tooltip
22708
22715
  $kendo-tooltip-border-width: 0px !default;
22716
+ /// The border radius of the Tooltip.
22717
+ /// @group tooltip
22709
22718
  $kendo-tooltip-border-radius: $kendo-border-radius-md !default;
22710
22719
 
22720
+ /// The font family of the Tooltip.
22721
+ /// @group tooltip
22711
22722
  $kendo-tooltip-font-family: $kendo-font-family !default;
22723
+ /// The font size of the Tooltip.
22724
+ /// @group tooltip
22712
22725
  $kendo-tooltip-font-size: $kendo-font-size-md !default;
22726
+ /// The line height of the Tooltip.
22727
+ /// @group tooltip
22713
22728
  $kendo-tooltip-line-height: 1.25 !default;
22714
22729
 
22730
+ /// The font size of the Tooltip title.
22731
+ /// @group tooltip
22715
22732
  $kendo-tooltip-title-font-size: ($kendo-tooltip-font-size * 1.25) !default;
22733
+ /// The line height of the Tooltip title.
22734
+ /// @group tooltip
22716
22735
  $kendo-tooltip-title-line-height: 1 !default;
22717
22736
 
22737
+ /// The size of the Tooltip callout.
22738
+ /// @group tooltip
22718
22739
  $kendo-tooltip-callout-size: 6px !default;
22719
22740
 
22741
+ /// The default background of the Tooltip.
22742
+ /// @group tooltip
22720
22743
  $kendo-tooltip-bg: rgba( k-contrast-legacy( $kendo-body-bg ), .75 ) !default;
22744
+ /// The default text color of the Tooltip.
22745
+ /// @group tooltip
22721
22746
  $kendo-tooltip-text: k-contrast-legacy( $kendo-tooltip-bg ) !default;
22747
+ /// The default border color of the Tooltip.
22748
+ /// @group tooltip
22722
22749
  $kendo-tooltip-border: $kendo-tooltip-bg !default;
22723
22750
 
22751
+ /// The box-shadow of the Tooltip.
22752
+ /// @group tooltip
22724
22753
  $kendo-tooltip-shadow: k-elevation(2) !default;
22725
22754
 
22726
- $kendo-tooltip-primary-bg: $kendo-color-primary !default;
22727
- $kendo-tooltip-primary-text: k-contrast-legacy( $kendo-tooltip-primary-bg ) !default;
22728
- $kendo-tooltip-primary-border: $kendo-tooltip-primary-bg !default;
22729
- $kendo-tooltip-info-bg: $kendo-color-info !default;
22730
- $kendo-tooltip-info-text: k-contrast-legacy( $kendo-tooltip-info-bg ) !default;
22731
- $kendo-tooltip-info-border: $kendo-tooltip-info-bg !default;
22732
- $kendo-tooltip-success-bg: $kendo-color-success !default;
22733
- $kendo-tooltip-success-text: k-contrast-legacy( $kendo-tooltip-success-bg ) !default;
22734
- $kendo-tooltip-success-border: $kendo-tooltip-success-bg !default;
22735
- $kendo-tooltip-warning-bg: $kendo-color-warning !default;
22736
- $kendo-tooltip-warning-text: k-contrast-legacy( $kendo-tooltip-warning-bg ) !default;
22737
- $kendo-tooltip-warning-border: $kendo-tooltip-warning-bg !default;
22738
- $kendo-tooltip-error-bg: $kendo-color-error !default;
22739
- $kendo-tooltip-error-text: k-contrast-legacy( $kendo-tooltip-error-bg ) !default;
22740
- $kendo-tooltip-error-border: $kendo-tooltip-error-bg !default;
22755
+ @function tooltip-theme( $colors ) {
22756
+ $_theme: ();
22741
22757
 
22758
+ @each $name, $color in $colors {
22759
+ $_theme: k-map-merge(( $name: (
22760
+ color: k-contrast-legacy( $color ),
22761
+ background-color: $color,
22762
+ border: $color,
22763
+ )), $_theme );
22764
+ }
22765
+
22766
+ @return $_theme;
22767
+ }
22768
+
22769
+ /// The theme colors map for the Tooltip.
22770
+ /// @group tooltip
22771
+ $kendo-tooltip-theme-colors: $kendo-theme-colors !default;
22772
+ /// The generated theme colors map for the Tooltip.
22773
+ /// @group tooltip
22774
+ $kendo-tooltip-theme: tooltip-theme( $kendo-tooltip-theme-colors ) !default;
22742
22775
  // #endregion
22743
22776
  // #region @import "../typography/_variables.scss"; -> scss/typography/_variables.scss
22744
22777
  // File already imported_once. Skipping output.
@@ -23560,7 +23593,6 @@ $_kendo-module-meta: (
23560
23593
  margin: 0;
23561
23594
  padding-block: $kendo-tooltip-padding-y;
23562
23595
  padding-inline: $kendo-tooltip-padding-x;
23563
- // max-width: $kendo-tooltip-max-width;
23564
23596
  border-width: $kendo-tooltip-border-width;
23565
23597
  border-style: solid;
23566
23598
  box-sizing: border-box;
@@ -23675,14 +23707,6 @@ $_kendo-module-meta: (
23675
23707
  // #endregion
23676
23708
  // #region @import "./_theme.scss"; -> scss/tooltip/_theme.scss
23677
23709
  @mixin kendo-tooltip--theme-base() {
23678
-
23679
- .k-tooltip-wrapper {
23680
- .k-tooltip {
23681
- box-shadow: $kendo-tooltip-shadow;
23682
- }
23683
- }
23684
-
23685
-
23686
23710
  // Default tooltip
23687
23711
  .k-tooltip {
23688
23712
  @include fill(
@@ -23690,67 +23714,26 @@ $_kendo-module-meta: (
23690
23714
  $kendo-tooltip-bg,
23691
23715
  $kendo-tooltip-border
23692
23716
  );
23717
+
23718
+ @include box-shadow( $kendo-tooltip-shadow );
23693
23719
 
23694
23720
  .k-callout {
23695
23721
  color: $kendo-tooltip-bg;
23696
23722
  }
23697
23723
  }
23698
23724
 
23699
-
23700
23725
  // Tooltip variants
23701
- .k-tooltip-primary {
23702
- @include fill(
23703
- $kendo-tooltip-primary-text,
23704
- $kendo-tooltip-primary-bg,
23705
- $kendo-tooltip-primary-border
23706
- );
23707
-
23708
- .k-callout {
23709
- color: $kendo-tooltip-primary-bg;
23710
- }
23711
- }
23712
- .k-tooltip-info {
23713
- @include fill(
23714
- $kendo-tooltip-info-text,
23715
- $kendo-tooltip-info-bg,
23716
- $kendo-tooltip-info-border
23717
- );
23718
-
23719
- .k-callout {
23720
- color: $kendo-tooltip-info-bg;
23721
- }
23722
- }
23723
- .k-tooltip-success {
23724
- @include fill(
23725
- $kendo-tooltip-success-text,
23726
- $kendo-tooltip-success-bg,
23727
- $kendo-tooltip-success-border
23728
- );
23729
-
23730
- .k-callout {
23731
- color: $kendo-tooltip-success-bg;
23732
- }
23733
- }
23734
- .k-tooltip-warning {
23735
- @include fill(
23736
- $kendo-tooltip-warning-text,
23737
- $kendo-tooltip-warning-bg,
23738
- $kendo-tooltip-warning-border
23739
- );
23740
-
23741
- .k-callout {
23742
- color: $kendo-tooltip-warning-bg;
23743
- }
23744
- }
23745
- .k-tooltip-error {
23746
- @include fill(
23747
- $kendo-tooltip-error-text,
23748
- $kendo-tooltip-error-bg,
23749
- $kendo-tooltip-error-border
23750
- );
23751
-
23752
- .k-callout {
23753
- color: $kendo-tooltip-error-bg;
23726
+ @each $name, $props in $kendo-tooltip-theme {
23727
+ .k-tooltip-#{$name} {
23728
+ @include fill(
23729
+ k-map-get( $props, color ),
23730
+ k-map-get( $props, background-color ),
23731
+ k-map-get( $props, border )
23732
+ );
23733
+
23734
+ .k-callout {
23735
+ color: k-map-get( $props, background-color );
23736
+ }
23754
23737
  }
23755
23738
  }
23756
23739
 
@@ -26938,19 +26921,6 @@ $kendo-slider-disabled-opacity: null !default;
26938
26921
  }
26939
26922
  }
26940
26923
 
26941
-
26942
- // Slider wrap
26943
- .k-slider-wrap {
26944
- width: 100%;
26945
- height: 100%;
26946
- display: flex;
26947
- flex-flow: inherit;
26948
- align-items: inherit;
26949
- gap: inherit;
26950
- position: relative;
26951
- }
26952
-
26953
-
26954
26924
  // New rendering
26955
26925
  .k-slider {
26956
26926
  width: min-content;
@@ -27282,15 +27252,7 @@ $kendo-slider-disabled-opacity: null !default;
27282
27252
  .k-slider kendo-resize-sensor {
27283
27253
  position: absolute;
27284
27254
  }
27285
- .k-slider-horizontal .k-slider-wrap:not(.k-slider-buttons) {
27286
- padding-inline-start: calc( #{$kendo-slider-draghandle-size} / 2 );
27287
- padding-inline-end: calc( #{$kendo-slider-draghandle-size} / 2 );
27288
- }
27289
- .k-slider-vertical .k-slider-wrap:not(.k-slider-buttons) {
27290
- padding-top: calc( #{$kendo-slider-draghandle-size} / 2 );
27291
- padding-bottom: calc( #{$kendo-slider-draghandle-size} / 2 );
27292
- }
27293
-
27255
+
27294
27256
  // Aliases
27295
27257
  .k-draghandle { @extend .k-slider-thumb !optional; }
27296
27258
  .k-draghandle-start { @extend .k-slider-thumb-start !optional; }
@@ -29714,7 +29676,6 @@ $kendo-color-gradient-contrast-spacer: k-math-div( $kendo-color-gradient-spacer,
29714
29676
  z-index: -1;
29715
29677
  }
29716
29678
 
29717
- .k-slider-wrap,
29718
29679
  .k-slider-track-wrap {
29719
29680
  z-index: 1;
29720
29681
  }
@@ -36591,6 +36552,15 @@ $kendo-card-callout-height: 20px !default;
36591
36552
  *::after {
36592
36553
  box-sizing: border-box;
36593
36554
  }
36555
+
36556
+ // Card avatar
36557
+ .k-card-avatar,
36558
+ .k-avatar {
36559
+ margin-right: $kendo-card-avatar-spacing;
36560
+ width: $kendo-card-avatar-size;
36561
+ height: $kendo-card-avatar-size;
36562
+ flex-basis: $kendo-card-avatar-size;
36563
+ }
36594
36564
  }
36595
36565
  .k-card > .k-card-inner {
36596
36566
  @include border-radius( $kendo-card-inner-border-radius );
@@ -36600,11 +36570,9 @@ $kendo-card-callout-height: 20px !default;
36600
36570
  position: relative;
36601
36571
  }
36602
36572
 
36603
-
36604
36573
  // Card orientation
36605
- .k-card-horizontal { flex-flow: row nowrap; } // stylelint-disable-line block-opening-brace-space-before
36606
- .k-card-vertical { flex-flow: column nowrap; } // stylelint-disable-line block-opening-brace-space-before
36607
-
36574
+ .k-card-horizontal { flex-flow: row nowrap; } // stylelint-disable-line block-opening-brace-space-before
36575
+ .k-card-vertical { flex-flow: column nowrap; } // stylelint-disable-line block-opening-brace-space-before
36608
36576
 
36609
36577
  // Header
36610
36578
  .k-card-header {
@@ -36661,30 +36629,13 @@ $kendo-card-callout-height: 20px !default;
36661
36629
  }
36662
36630
  }
36663
36631
 
36664
-
36665
- // Card avatar
36666
- .k-card-avatar,
36667
- .k-card .k-avatar {
36668
- margin-right: $kendo-card-avatar-spacing;
36669
- width: $kendo-card-avatar-size;
36670
- height: $kendo-card-avatar-size;
36671
- flex-basis: $kendo-card-avatar-size;
36672
- }
36673
-
36674
-
36675
- // Card image
36676
- .k-card-image,
36632
+ // Card media
36677
36633
  .k-card-media {
36678
36634
  border: 0;
36679
36635
  max-width: 100%;
36680
36636
  flex-shrink: 0;
36681
36637
  overflow: hidden;
36682
36638
 
36683
- > img {
36684
- border: 0;
36685
- max-width: 100%;
36686
- }
36687
-
36688
36639
  .k-card-horizontal & {
36689
36640
  max-width: $kendo-card-img-max-width;
36690
36641
  object-fit: cover;
@@ -36728,22 +36679,23 @@ $kendo-card-callout-height: 20px !default;
36728
36679
  flex: 0 0 auto;
36729
36680
  align-self: stretch;
36730
36681
  }
36731
- .k-card-separator.k-separator-vertical,
36732
- .k-card-horizontal > .k-card-separator {
36733
- border-left-width: 1px;
36734
- }
36682
+
36735
36683
  .k-card-separator.k-separator-horizontal,
36736
36684
  .k-card-vertical > .k-card-separator {
36737
36685
  border-top-width: 1px;
36738
36686
  }
36739
36687
 
36688
+ .k-card-separator.k-separator-vertical,
36689
+ .k-card-horizontal > .k-card-separator {
36690
+ border-left-width: 1px;
36691
+ }
36692
+
36740
36693
  .k-card > .k-hr {
36741
36694
  margin: 0;
36742
36695
  flex: 0 0 auto;
36743
36696
  border-color: inherit;
36744
36697
  }
36745
36698
 
36746
-
36747
36699
  // Card actions
36748
36700
  .k-card-actions {
36749
36701
  padding-block: $kendo-card-actions-padding-y;
@@ -36758,33 +36710,6 @@ $kendo-card-callout-height: 20px !default;
36758
36710
  gap: $kendo-card-actions-gap;
36759
36711
  }
36760
36712
 
36761
-
36762
- // Actions align
36763
- .k-card-actions-start { justify-content: flex-start; } // stylelint-disable-line block-opening-brace-space-before
36764
- .k-card-actions-end { justify-content: flex-end; } // stylelint-disable-line block-opening-brace-space-before
36765
- .k-card-actions-center { justify-content: center; } // stylelint-disable-line block-opening-brace-space-before
36766
-
36767
-
36768
- // Actions orientation
36769
- .k-card-actions-horizontal { flex-flow: row nowrap; } // stylelint-disable-line block-opening-brace-space-before
36770
- .k-card-actions-vertical { flex-flow: column nowrap; } // stylelint-disable-line block-opening-brace-space-before
36771
-
36772
-
36773
- // Stretched actions
36774
- .k-card-actions-stretched > * {
36775
- flex: 1 1 auto;
36776
- }
36777
-
36778
-
36779
- // Card action
36780
- .k-card-action {
36781
- border-width: 0;
36782
- border-style: solid;
36783
- border-color: inherit;
36784
- display: inline-flex;
36785
- }
36786
-
36787
-
36788
36713
  // List
36789
36714
  .k-card-list {
36790
36715
  display: flex;
@@ -36876,9 +36801,6 @@ $kendo-card-callout-height: 20px !default;
36876
36801
  }
36877
36802
  }
36878
36803
 
36879
-
36880
-
36881
-
36882
36804
  // Card with callout
36883
36805
  .k-card-with-callout {
36884
36806
  overflow: visible;
@@ -44045,6 +43967,7 @@ $kendo-grid-row-resizer-height: k-map-get( $kendo-spacing, .5 ) !default;
44045
43967
  $_selection-aggregates-padding-x: k-map-get( $size-props, selection-aggregates-padding-x );
44046
43968
  $_selection-aggregates-padding-y: k-map-get( $size-props, selection-aggregates-padding-y );
44047
43969
 
43970
+ .k-grid .k-grid-#{$size},
44048
43971
  .k-grid-#{$size} {
44049
43972
 
44050
43973
  .k-table-th {