@progress/kendo-theme-default 5.5.1-dev.0 → 5.6.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
@@ -6036,14 +6036,14 @@ $message-box-link-text-decoration: underline !default;
6036
6036
  $kendo-list-font-size: null !default;
6037
6037
  $kendo-list-font-size-sm: $font-size-md !default;
6038
6038
  $kendo-list-font-size-md: $font-size-md !default;
6039
- $kendo-list-font-size-lg: $font-size-md !default;
6039
+ $kendo-list-font-size-lg: $font-size-lg !default;
6040
6040
 
6041
6041
  /// Line height of the list component, if no size is set.
6042
6042
  /// @group list
6043
6043
  $kendo-list-line-height: null !default;
6044
- $kendo-list-line-height-sm: null !default;
6045
- $kendo-list-line-height-md: null !default;
6046
- $kendo-list-line-height-lg: null !default;
6044
+ $kendo-list-line-height-sm: $line-height-md !default;
6045
+ $kendo-list-line-height-md: $line-height-md !default;
6046
+ $kendo-list-line-height-lg: $line-height-lg !default;
6047
6047
 
6048
6048
  /// Horizontal padding of list header, if no size is set.
6049
6049
  /// @group list
@@ -6089,7 +6089,7 @@ $kendo-list-item-padding-x: null !default;
6089
6089
  $kendo-list-item-padding-x-base: map-get( $spacing, 2 ) !default;
6090
6090
  $kendo-list-item-padding-x-sm: map-get( $spacing, 2 ) !default;
6091
6091
  $kendo-list-item-padding-x-md: map-get( $spacing, 2 ) !default;
6092
- $kendo-list-item-padding-x-lg: map-get( $spacing, 2 ) !default;
6092
+ $kendo-list-item-padding-x-lg: map-get( $spacing, 3 ) !default;
6093
6093
 
6094
6094
  /// Vertical padding of list items, when no size is set.
6095
6095
  /// @group list
@@ -6097,7 +6097,7 @@ $kendo-list-item-padding-y: null !default;
6097
6097
  $kendo-list-item-padding-y-base: map-get( $spacing, 1 ) !default;
6098
6098
  $kendo-list-item-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
6099
6099
  $kendo-list-item-padding-y-md: map-get( $spacing, 1 ) !default;
6100
- $kendo-list-item-padding-y-lg: map-get( $spacing, 1 ) + map-get( $spacing, thin ) !default;
6100
+ $kendo-list-item-padding-y-lg: map-get( $spacing, 2 ) !default;
6101
6101
 
6102
6102
  /// Font size of list items, if no size is set.
6103
6103
  /// @group list
@@ -7955,34 +7955,33 @@ $kendo-button-border-radius: null !default;
7955
7955
  /// Horizontal padding of the button.
7956
7956
  /// @group button
7957
7957
  $kendo-button-padding-x: map-get( $spacing, 2 ) !default;
7958
- $kendo-button-padding-x-sm: map-get( $spacing, 2 ) !default;
7959
- $kendo-button-padding-x-md: map-get( $spacing, 2 ) !default;
7960
- $kendo-button-padding-x-lg: map-get( $spacing, 2 ) !default;
7961
-
7962
7958
  /// Vertical padding of the button.
7963
7959
  /// @group button
7964
7960
  $kendo-button-padding-y: map-get( $spacing, 1 ) !default;
7965
- $kendo-button-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
7966
- $kendo-button-padding-y-md: map-get( $spacing, 1 ) !default;
7967
- $kendo-button-padding-y-lg: map-get( $spacing, 1 ) + map-get( $spacing, thin ) !default;
7968
-
7969
7961
  /// Font family of the button.
7970
7962
  /// @group button
7971
7963
  $kendo-button-font-family: $font-family !default;
7972
-
7973
7964
  /// Font sizes of the button.
7974
7965
  /// @group button
7975
7966
  $kendo-button-font-size: $font-size-md !default;
7976
- $kendo-button-font-size-sm: $font-size-md !default;
7977
- $kendo-button-font-size-md: $font-size-md !default;
7978
- $kendo-button-font-size-lg: $font-size-md !default;
7979
-
7980
7967
  /// Line heights used along with $font-size.
7981
7968
  /// @group button
7982
7969
  $kendo-button-line-height: $line-height-md !default;
7970
+
7971
+ $kendo-button-padding-x-sm: map-get( $spacing, 2 ) !default;
7972
+ $kendo-button-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
7973
+ $kendo-button-font-size-sm: $font-size-md !default;
7983
7974
  $kendo-button-line-height-sm: $line-height-md !default;
7975
+
7976
+ $kendo-button-padding-x-md: map-get( $spacing, 2 ) !default;
7977
+ $kendo-button-padding-y-md: map-get( $spacing, 1 ) !default;
7978
+ $kendo-button-font-size-md: $font-size-md !default;
7984
7979
  $kendo-button-line-height-md: $line-height-md !default;
7985
- $kendo-button-line-height-lg: $line-height-md !default;
7980
+
7981
+ $kendo-button-padding-x-lg: map-get( $spacing, 3 ) !default;
7982
+ $kendo-button-padding-y-lg: map-get( $spacing, 2 );
7983
+ $kendo-button-font-size-lg: $font-size-lg !default;
7984
+ $kendo-button-line-height-lg: $line-height-lg !default;
7986
7985
 
7987
7986
  /// Calculated height of the button.
7988
7987
  /// @group button
@@ -7992,6 +7991,27 @@ $kendo-button-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-but
7992
7991
  /// @group button
7993
7992
  $kendo-button-inner-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} ) !default;
7994
7993
 
7994
+ $kendo-button-sizes: (
7995
+ sm: (
7996
+ padding-x: $kendo-button-padding-x-sm,
7997
+ padding-y: $kendo-button-padding-y-sm,
7998
+ font-size: $kendo-button-font-size-sm,
7999
+ line-height: $kendo-button-line-height-sm
8000
+ ),
8001
+ md: (
8002
+ padding-x: $kendo-button-padding-x-md,
8003
+ padding-y: $kendo-button-padding-y-md,
8004
+ font-size: $kendo-button-font-size-md,
8005
+ line-height: $kendo-button-line-height-md
8006
+ ),
8007
+ lg: (
8008
+ padding-x: $kendo-button-padding-x-lg,
8009
+ padding-y: $kendo-button-padding-y-lg,
8010
+ font-size: $kendo-button-font-size-lg,
8011
+ line-height: $kendo-button-line-height-lg
8012
+ )
8013
+ ) !default;
8014
+
7995
8015
  /// Theme colors map for the button.
7996
8016
  /// @group button
7997
8017
  $kendo-button-theme-colors: map-merge(
@@ -8216,45 +8236,27 @@ $kendo-button-transition: color .2s ease-in-out !default;
8216
8236
 
8217
8237
  .k-button-text {}
8218
8238
 
8219
- // Sizes
8220
- .k-button-sm {
8221
- padding: $kendo-button-padding-y-sm $kendo-button-padding-x-sm;
8222
- font-size: $kendo-button-font-size-sm;
8223
- line-height: $kendo-button-line-height-sm;
8224
- }
8225
- .k-button-md {
8226
- padding: $kendo-button-padding-y-md $kendo-button-padding-x-md;
8227
- font-size: $kendo-button-font-size-md;
8228
- line-height: $kendo-button-line-height-md;
8229
- }
8230
- .k-button-lg {
8231
- padding: $kendo-button-padding-y-lg $kendo-button-padding-x-lg;
8232
- font-size: $kendo-button-font-size-lg;
8233
- line-height: $kendo-button-line-height-lg;
8234
- }
8235
8239
 
8236
- .k-icon-button.k-button-sm {
8237
- padding: $kendo-button-padding-y-sm;
8240
+ // Sizes
8241
+ @each $size, $size-props in $kendo-button-sizes {
8242
+ $_padding-x: map-get( $size-props, padding-x );
8243
+ $_padding-y: map-get( $size-props, padding-y );
8244
+ $_font-size: map-get( $size-props, font-size );
8245
+ $_line-height: map-get( $size-props, line-height );
8238
8246
 
8239
- > .k-button-icon {
8240
- min-width: calc( #{$kendo-button-font-size-sm} * #{$kendo-button-line-height-sm} );
8241
- min-height: calc( #{$kendo-button-font-size-sm} * #{$kendo-button-line-height-sm} );
8247
+ .k-button-#{$size} {
8248
+ padding: $_padding-y $_padding-x;
8249
+ font-size: $_font-size;
8250
+ line-height: $_line-height;
8242
8251
  }
8243
- }
8244
- .k-icon-button.k-button-md {
8245
- padding: $kendo-button-padding-y-md;
8246
8252
 
8247
- > .k-button-icon {
8248
- min-width: calc( #{$kendo-button-font-size-md} * #{$kendo-button-line-height-md} );
8249
- min-height: calc( #{$kendo-button-font-size-md} * #{$kendo-button-line-height-md} );
8250
- }
8251
- }
8252
- .k-icon-button.k-button-lg {
8253
- padding: $kendo-button-padding-y-lg;
8253
+ .k-button-#{$size}.k-icon-button {
8254
+ padding: $_padding-y;
8254
8255
 
8255
- > .k-button-icon {
8256
- min-width: calc( #{$kendo-button-font-size-lg} * #{$kendo-button-line-height-lg} );
8257
- min-height: calc( #{$kendo-button-font-size-lg} * #{$kendo-button-line-height-lg} );
8256
+ > .k-button-icon {
8257
+ min-width: calc( #{$_font-size} * #{$_line-height} );
8258
+ min-height: calc( #{$_font-size} * #{$_line-height} );
8259
+ }
8258
8260
  }
8259
8261
  }
8260
8262
 
@@ -8777,16 +8779,33 @@ $kendo-button-transition: color .2s ease-in-out !default;
8777
8779
  // Component
8778
8780
  // #region @import "_variables.scss"; -> packages/default/scss/input/_variables.scss
8779
8781
  // Input
8782
+
8783
+ /// Default width of input components.
8784
+ /// @group input
8780
8785
  $kendo-input-default-width: 100% !default;
8781
8786
 
8787
+ /// Border width of input components.
8788
+ /// @group input
8782
8789
  $kendo-input-border-width: 1px !default;
8783
8790
  $kendo-input-border-height: ( $kendo-input-border-width * 2 ) !default;
8791
+ /// Border radius of input components.
8792
+ /// @group input
8784
8793
  $kendo-input-border-radius: null !default;
8785
8794
 
8795
+ /// Horizontal padding of input components.
8796
+ /// @group input
8786
8797
  $kendo-input-padding-x: map-get( $spacing, 2 ) !default;
8798
+ /// Vertical padding of input components.
8799
+ /// @group input
8787
8800
  $kendo-input-padding-y: map-get( $spacing, 1 ) !default;
8801
+ /// Font family of input components.
8802
+ /// @group input
8788
8803
  $kendo-input-font-family: $font-family !default;
8804
+ /// Font size of input components.
8805
+ /// @group input
8789
8806
  $kendo-input-font-size: $font-size-md !default;
8807
+ /// Line height of input components.
8808
+ /// @group input
8790
8809
  $kendo-input-line-height: $line-height-md !default;
8791
8810
 
8792
8811
  $kendo-input-padding-x-sm: map-get( $spacing, 2 ) !default;
@@ -8799,10 +8818,10 @@ $kendo-input-padding-y-md: map-get( $spacing, 1 ) !default;
8799
8818
  $kendo-input-font-size-md: $font-size-md !default;
8800
8819
  $kendo-input-line-height-md: $line-height-md !default;
8801
8820
 
8802
- $kendo-input-padding-x-lg: map-get( $spacing, 2 ) !default;
8803
- $kendo-input-padding-y-lg: map-get( $spacing, 1 ) + map-get( $spacing, thin ) !default;
8804
- $kendo-input-font-size-lg: $font-size-md !default;
8805
- $kendo-input-line-height-lg: $line-height-md !default;
8821
+ $kendo-input-padding-x-lg: map-get( $spacing, 3 ) !default;
8822
+ $kendo-input-padding-y-lg: map-get( $spacing, 2 ) !default;
8823
+ $kendo-input-font-size-lg: $font-size-lg !default;
8824
+ $kendo-input-line-height-lg: $line-height-lg !default;
8806
8825
 
8807
8826
  $kendo-input-sizes: (
8808
8827
  sm: (
@@ -14911,6 +14930,10 @@ $progressbar-indeterminate-gradient: null !default;
14911
14930
 
14912
14931
  $progressbar-chunk-border: $body-bg !default;
14913
14932
 
14933
+ // Circular Progressbar
14934
+ $kendo-circular-progressbar-arc-stroke: $primary !default;
14935
+ $kendo-circular-progressbar-scale-stroke: $progressbar-bg !default;
14936
+
14914
14937
  // #endregion
14915
14938
  // #region @import "_layout.scss"; -> packages/default/scss/progressbar/_layout.scss
14916
14939
  @include exports("progressbar/layout") {
@@ -15180,6 +15203,49 @@ $progressbar-chunk-border: $body-bg !default;
15180
15203
 
15181
15204
  }
15182
15205
 
15206
+ @include exports("circular-progressbar/layout") {
15207
+
15208
+ .k-circular-progressbar {
15209
+ display: inline-block;
15210
+ text-align: left;
15211
+ position: relative;
15212
+ }
15213
+
15214
+ .k-circular-progressbar-surface {
15215
+ height: 100%;
15216
+
15217
+ & > div {
15218
+ width: 100%;
15219
+ height: 100%;
15220
+ }
15221
+
15222
+ svg {
15223
+ width: 100%;
15224
+ height: 100%;
15225
+ }
15226
+ }
15227
+
15228
+ .k-circular-progressbar-scale {
15229
+ fill: none;
15230
+ }
15231
+
15232
+ .k-circular-progressbar-arc {
15233
+ transform-box: fill-box;
15234
+ transform-origin: center center;
15235
+ transform: rotate(-90deg);
15236
+ stroke-linecap: round;
15237
+ fill: none;
15238
+ }
15239
+
15240
+ .k-circular-progressbar-label {
15241
+ position: absolute;
15242
+ text-align: center;
15243
+ padding: 0;
15244
+ margin: 0;
15245
+ }
15246
+
15247
+ }
15248
+
15183
15249
  // #endregion
15184
15250
  // #region @import "_theme.scss"; -> packages/default/scss/progressbar/_theme.scss
15185
15251
  @include exports("progressbar/theme") {
@@ -15211,6 +15277,19 @@ $progressbar-chunk-border: $body-bg !default;
15211
15277
 
15212
15278
  }
15213
15279
 
15280
+ @include exports("circular-progressbar/theme") {
15281
+
15282
+ .k-circular-progressbar-scale {
15283
+ stroke: $kendo-circular-progressbar-scale-stroke;
15284
+ }
15285
+
15286
+ .k-circular-progressbar-arc {
15287
+ stroke: $kendo-circular-progressbar-arc-stroke;
15288
+ transition: stroke .5s ease;
15289
+ }
15290
+
15291
+ }
15292
+
15214
15293
  // #endregion
15215
15294
 
15216
15295
  // #endregion
@@ -16358,7 +16437,6 @@ $calendar-border: $component-border !default;
16358
16437
  $calendar-header-padding-x: map-get( $spacing, 1 ) !default;
16359
16438
  $calendar-header-padding-y: map-get( $spacing, 1 ) !default;
16360
16439
  $calendar-header-border-width: 1px !default;
16361
- $calendar-header-min-width: ($calendar-cell-size * 8) !default;
16362
16440
 
16363
16441
  $calendar-header-bg: $header-bg !default;
16364
16442
  $calendar-header-text: $header-text !default;
@@ -16456,12 +16534,58 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16456
16534
 
16457
16535
  // Multiview calendar
16458
16536
 
16537
+
16538
+ // Calendar sizes
16539
+ $kendo-calendar-sm-font-size: $font-size-md !default;
16540
+ $kendo-calendar-sm-line-height: $line-height-md !default;
16541
+ $kendo-calendar-sm-cell-size: 28px !default;
16542
+ $kendo-calendar-sm-cell-padding-x: map-get( $spacing, 1) - map-get( $spacing, thin ) !default;
16543
+ $kendo-calendar-sm-cell-padding-y: map-get( $spacing, 1) - map-get( $spacing, thin ) !default;
16544
+
16545
+ $kendo-calendar-md-font-size: $font-size-md !default;
16546
+ $kendo-calendar-md-line-height: $line-height-md !default;
16547
+ $kendo-calendar-md-cell-size: 32px !default;
16548
+ $kendo-calendar-md-cell-padding-x: map-get( $spacing, 1 ) !default;
16549
+ $kendo-calendar-md-cell-padding-y: map-get( $spacing, 1 ) !default;
16550
+
16551
+ $kendo-calendar-lg-font-size: $font-size-lg !default;
16552
+ $kendo-calendar-lg-line-height: $line-height-lg !default;
16553
+ $kendo-calendar-lg-cell-size: 40px !default;
16554
+ $kendo-calendar-lg-cell-padding-x: map-get( $spacing, 2 ) !default;
16555
+ $kendo-calendar-lg-cell-padding-y: map-get( $spacing, 2 ) !default;
16556
+
16557
+ $kendo-calendar-sizes: (
16558
+ sm: (
16559
+ font-size: $kendo-calendar-sm-font-size,
16560
+ line-height: $kendo-calendar-sm-line-height,
16561
+ cell-size: $kendo-calendar-sm-cell-size,
16562
+ cell-padding-x: $kendo-calendar-sm-cell-padding-y,
16563
+ cell-padding-y: $kendo-calendar-sm-cell-padding-x
16564
+ ),
16565
+ md: (
16566
+ font-size: $kendo-calendar-md-font-size,
16567
+ line-height: $kendo-calendar-md-line-height,
16568
+ cell-size: $kendo-calendar-md-cell-size,
16569
+ cell-padding-x: $kendo-calendar-md-cell-padding-y,
16570
+ cell-padding-y: $kendo-calendar-md-cell-padding-x
16571
+ ),
16572
+ lg: (
16573
+ font-size: $kendo-calendar-lg-font-size,
16574
+ line-height: $kendo-calendar-lg-line-height,
16575
+ cell-size: $kendo-calendar-lg-cell-size,
16576
+ cell-padding-x: $kendo-calendar-lg-cell-padding-y,
16577
+ cell-padding-y: $kendo-calendar-lg-cell-padding-x
16578
+ )
16579
+ ) !default;
16580
+
16459
16581
  // #endregion
16460
16582
  // #region @import "_layout.scss"; -> packages/default/scss/calendar/_layout.scss
16461
16583
  @include exports("calendar/layout") {
16462
16584
 
16463
16585
  // Base
16464
16586
  .k-calendar {
16587
+ inline-size: var( --INTERNAL--kendo-calendar-width, min-content );
16588
+ block-size: var( --INTERNAL--kendo-calendar-height, min-content );
16465
16589
  border-width: $calendar-border-width;
16466
16590
  border-style: solid;
16467
16591
  box-sizing: border-box;
@@ -16482,19 +16606,12 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16482
16606
  > .k-calendar {
16483
16607
  border: 0;
16484
16608
  }
16485
-
16486
- // Common
16487
- .k-link {
16488
- white-space: normal;
16489
- position: relative;
16490
- overflow: hidden;
16491
- }
16492
16609
  }
16493
16610
 
16494
16611
 
16495
16612
  // Calendar table
16496
16613
  .k-calendar-table {
16497
- margin: 0;
16614
+ margin: 0 auto;
16498
16615
  border-width: 0;
16499
16616
  border-color: inherit;
16500
16617
  border-spacing: 0;
@@ -16502,8 +16619,7 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16502
16619
  table-layout: fixed;
16503
16620
  text-align: center;
16504
16621
  outline: 0;
16505
- display: inline-table;
16506
- vertical-align: top;
16622
+ display: table;
16507
16623
  position: relative;
16508
16624
  z-index: 1;
16509
16625
  }
@@ -16521,6 +16637,9 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16521
16637
  font-weight: $calendar-caption-font-weight;
16522
16638
  cursor: default;
16523
16639
  }
16640
+
16641
+
16642
+ // Calendar cell
16524
16643
  .k-calendar-th,
16525
16644
  .k-calendar-td {
16526
16645
  border-width: 0;
@@ -16542,10 +16661,32 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16542
16661
  }
16543
16662
  .k-calendar-td {
16544
16663
  @include border-radius( $calendar-cell-border-radius );
16664
+ inline-size: var( --INTERNAL--kendo-calendar-cell-size, min-content );
16665
+ block-size: var( --INTERNAL--kendo-calendar-cell-size, min-content );
16545
16666
  border-color: transparent;
16546
16667
  }
16547
16668
 
16548
16669
 
16670
+ // Calendar cell inner
16671
+ // Remove .k-calendar once we remove k-link
16672
+ .k-calendar .k-calendar-cell-inner {
16673
+ @include border-radius( $calendar-cell-border-radius );
16674
+ padding: $calendar-cell-padding-y $calendar-cell-padding-x;
16675
+ padding-inline: var( --INTERNAL--kendo-calendar-cell-padding-x, #{$calendar-cell-padding-x} );
16676
+ padding-block: var( --INTERNAL--kendo-calendar-cell-padding-y, #{$calendar-cell-padding-y} );
16677
+ width: 100%;
16678
+ height: 100%;
16679
+ box-sizing: border-box;
16680
+ display: flex;
16681
+ flex-direction: row;
16682
+ align-items: center;
16683
+ justify-content: center;
16684
+ white-space: normal;
16685
+ position: relative;
16686
+ overflow: hidden;
16687
+ }
16688
+
16689
+
16549
16690
  // Calendar header
16550
16691
  .k-calendar .k-header {
16551
16692
  padding: $calendar-header-padding-y $calendar-header-padding-x;
@@ -16563,7 +16704,7 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16563
16704
  // Calendar header
16564
16705
  .k-calendar-header {
16565
16706
  padding: $calendar-header-padding-y $calendar-header-padding-x;
16566
- min-width: $calendar-header-min-width;
16707
+ min-width: ($calendar-cell-size * 8);
16567
16708
  box-sizing: border-box;
16568
16709
  display: flex;
16569
16710
  align-items: center;
@@ -16605,22 +16746,13 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16605
16746
  padding: 0 $calendar-header-padding-x;
16606
16747
  // setting width / height prevents layout changes in meta views
16607
16748
  width: $calendar-view-width;
16749
+ inline-size: var( --INTERNAL--kendo-calendar-view-width, #{$calendar-view-width});
16608
16750
  min-height: $calendar-view-height;
16609
16751
  box-sizing: content-box;
16610
16752
  gap: $calendar-view-gap;
16611
16753
  position: relative;
16612
16754
  z-index: 1;
16613
16755
  overflow: hidden;
16614
-
16615
- .k-link {
16616
- @include border-radius( $calendar-cell-border-radius );
16617
- padding: $calendar-cell-padding-y $calendar-cell-padding-x;
16618
- box-sizing: border-box;
16619
- display: flex;
16620
- flex-direction: row;
16621
- align-items: center;
16622
- justify-content: center;
16623
- }
16624
16756
  }
16625
16757
  .k-week-number .k-calendar-view {
16626
16758
  width: (8 * $calendar-cell-size);
@@ -16628,61 +16760,59 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16628
16760
 
16629
16761
 
16630
16762
  // Month view
16763
+ .k-month-calendar,
16631
16764
  .k-calendar-monthview {
16632
16765
  $_month-cell-size: $calendar-cell-size;
16633
16766
 
16634
16767
  .k-calendar-td {
16635
16768
  width: $_month-cell-size;
16636
16769
  height: $_month-cell-size;
16637
- }
16638
- .k-link {
16639
- width: $_month-cell-size;
16640
- height: $_month-cell-size;
16770
+ inline-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_month-cell-size} );
16771
+ block-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_month-cell-size} );
16641
16772
  }
16642
16773
  }
16643
16774
 
16644
16775
 
16645
16776
  // Year view
16777
+ .k-year-calendar,
16646
16778
  .k-calendar-yearview {
16647
- $_year-cell-size: ( (7 / 4) * $calendar-cell-size);
16779
+ $_year-cell-size: ( 1.75 * $calendar-cell-size ); // 7 / 4 => 1.75
16648
16780
 
16649
16781
  .k-calendar-td {
16650
- width: auto;
16651
- height: auto;
16652
- }
16653
- .k-link {
16654
16782
  width: $_year-cell-size;
16655
16783
  height: $_year-cell-size;
16784
+ inline-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_year-cell-size} );
16785
+ block-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_year-cell-size} );
16656
16786
  }
16657
16787
  }
16658
16788
 
16659
16789
 
16660
16790
  // Decade view
16791
+ .k-decade-calendar,
16661
16792
  .k-calendar-decadeview {
16662
- $_decade-cell-size: ( (7 / 4) * $calendar-cell-size);
16793
+ $_decade-cell-size: ( 1.75 * $calendar-cell-size ); // 7 / 4 => 1.75
16663
16794
 
16664
16795
  .k-calendar-td {
16665
- width: auto;
16666
- height: auto;
16667
- }
16668
- .k-link {
16669
16796
  width: $_decade-cell-size;
16670
16797
  height: $_decade-cell-size;
16798
+ inline-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_decade-cell-size} );
16799
+ block-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_decade-cell-size} );
16671
16800
  }
16672
16801
  }
16673
16802
 
16674
16803
 
16675
16804
  // Century view
16805
+ .k-century-calendar,
16676
16806
  .k-calendar-centuryview {
16677
- $_century-cell-size: ( (7 / 4) * $calendar-cell-size);
16807
+ $_century-cell-size: ( 1.75 * $calendar-cell-size ); // 7 / 4 => 1.75
16678
16808
 
16679
16809
  .k-calendar-td {
16680
- width: auto;
16681
- height: auto;
16682
- }
16683
- .k-link {
16684
16810
  width: $_century-cell-size;
16685
16811
  height: $_century-cell-size;
16812
+ inline-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_century-cell-size} );
16813
+ block-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_century-cell-size} );
16814
+ }
16815
+ .k-calendar-cell-inner {
16686
16816
  text-align: left;
16687
16817
  }
16688
16818
  }
@@ -16722,6 +16852,56 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16722
16852
  top: 0;
16723
16853
  right: 0;
16724
16854
  }
16855
+
16856
+
16857
+
16858
+
16859
+ // Calendar sizes
16860
+ @each $size, $size-props in $kendo-calendar-sizes {
16861
+ $_font-size: map-get( $size-props, font-size );
16862
+ $_line-height: map-get( $size-props, line-height );
16863
+ $_cell-size: map-get( $size-props, cell-size );
16864
+ $_cell-padding-x: map-get( $size-props, cell-padding-x );
16865
+ $_cell-padding-y: map-get( $size-props, cell-padding-y );
16866
+
16867
+ $_month-cell-size: $_cell-size;
16868
+ $_year-cell-size: ( 1.75 * $_cell-size ); // 7 / 4 => 1.75
16869
+ $_decade-cell-size: ( 1.75 * $_cell-size ); // 7 / 4 => 1.75
16870
+ $_century-cell-size: ( 1.75 * $_cell-size ); // 7 / 4 => 1.75
16871
+
16872
+ .k-calendar-#{$size} {
16873
+ --INTERNAL--kendo-calendar-view-width: #{8 * $_cell-size};
16874
+ --INTERNAL--kendo-calendar-cell-padding-x: var( --kendo-calendar-#{$size}-cell-padding-x, #{$_cell-padding-x} );
16875
+ --INTERNAL--kendo-calendar-cell-padding-y: var( --kendo-calendar-#{$size}-cell-padding-y, #{$_cell-padding-y} );
16876
+ font-size: $_font-size;
16877
+ line-height: $_line-height;
16878
+
16879
+ &.k-month-calendar,
16880
+ .k-calendar-monthview {
16881
+ --INTERNAL--kendo-calendar-cell-size: var( --kendo-calendar-#{$size}-month-cell-size, #{$_month-cell-size} );
16882
+ }
16883
+ &.k-year-calendar,
16884
+ .k-calendar-yearview {
16885
+ --INTERNAL--kendo-calendar-cell-size: var( --kendo-calendar-#{$size}-year-cell-size, #{$_year-cell-size} );
16886
+ }
16887
+ &.k-decade-calendar,
16888
+ .k-calendar-decadeview {
16889
+ --INTERNAL--kendo-calendar-cell-size: var( --kendo-calendar-#{$size}-decade-cell-size, #{$_decade-cell-size} );
16890
+ }
16891
+ &.k-century-calendar,
16892
+ .k-calendar-centuryview {
16893
+ --INTERNAL--kendo-calendar-cell-size: var( --kendo-calendar-#{$size}-century-cell-size, #{$_century-cell-size} );
16894
+ }
16895
+ }
16896
+ }
16897
+
16898
+
16899
+
16900
+
16901
+ // Alias
16902
+ .k-link {
16903
+ @extend .k-calendar-cell-inner;
16904
+ }
16725
16905
  }
16726
16906
 
16727
16907
 
@@ -16970,8 +17150,8 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16970
17150
  &.k-hover,
16971
17151
  &.k-state-hover,
16972
17152
  &:focus,
16973
- &.k-state-focus,
16974
- &.k-focus {
17153
+ &.k-focus,
17154
+ &.k-state-focus {
16975
17155
  color: $calendar-today-nav-hover-text;
16976
17156
  }
16977
17157
  }
@@ -16989,11 +17169,11 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16989
17169
  // Special days
16990
17170
  .k-calendar-view .k-today {
16991
17171
  @if $calendar-today-style == box {
16992
- .k-link {
17172
+ .k-calendar-cell-inner {
16993
17173
  box-shadow: inset 0 0 0 1px $calendar-today-color;
16994
17174
  }
16995
- &.k-state-focused .k-link,
16996
- &.k-focus .k-link {
17175
+ &.k-focus .k-calendar-cell-inner,
17176
+ &.k-state-focused .k-calendar-cell-inner {
16997
17177
  box-shadow: inset 0 0 0 1px $calendar-today-color, $calendar-cell-focused-shadow;
16998
17178
  }
16999
17179
  } @else if $calendar-today-style == color {
@@ -17027,9 +17207,9 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17027
17207
 
17028
17208
 
17029
17209
  // Interactive states
17030
- .k-calendar-td:hover .k-link,
17031
- .k-calendar-td.k-state-hover .k-link,
17032
- .k-calendar-td.k-hover .k-link {
17210
+ .k-calendar-td:hover .k-calendar-cell-inner,
17211
+ .k-calendar-td.k-hover .k-calendar-cell-inner,
17212
+ .k-calendar-td.k-state-hover .k-calendar-cell-inner {
17033
17213
  @include fill(
17034
17214
  $calendar-cell-hover-text,
17035
17215
  $calendar-cell-hover-bg,
@@ -17037,8 +17217,8 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17037
17217
  $calendar-cell-hover-gradient
17038
17218
  );
17039
17219
  }
17040
- .k-calendar-td.k-state-selected .k-link,
17041
- .k-calendar-td.k-selected .k-link {
17220
+ .k-calendar-td.k-selected .k-calendar-cell-inner,
17221
+ .k-calendar-td.k-state-selected .k-calendar-cell-inner {
17042
17222
  @include fill(
17043
17223
  $calendar-cell-selected-text,
17044
17224
  $calendar-cell-selected-bg,
@@ -17046,12 +17226,9 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17046
17226
  $calendar-cell-selected-gradient
17047
17227
  );
17048
17228
  }
17049
- .k-calendar-td.k-state-selected:hover .k-link,
17050
- .k-calendar-td.k-selected:hover .k-link,
17051
- .k-calendar-td.k-state-selected.k-state-hover .k-link,
17052
- .k-calendar-td.k-selected.k-hover .k-link,
17053
- .k-calendar-td.k-selected:hover .k-link,
17054
- .k-calendar-td.k-selected.k-hover .k-link {
17229
+ .k-calendar-td.k-selected:hover .k-calendar-cell-inner,
17230
+ .k-calendar-td.k-selected.k-hover .k-calendar-cell-inner,
17231
+ .k-calendar-td.k-state-selected:hover .k-calendar-cell-inner {
17055
17232
  @include fill(
17056
17233
  $calendar-cell-selected-hover-text,
17057
17234
  $calendar-cell-selected-hover-bg,
@@ -17059,18 +17236,15 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17059
17236
  $calendar-cell-selected-hover-gradient
17060
17237
  );
17061
17238
  }
17062
- .k-calendar-td.k-state-focused .k-link,
17063
- .k-calendar-td.k-focus .k-link,
17064
- .k-calendar-td.k-state-focus .k-link,
17065
- .k-calendar-td.k-focus .k-link {
17239
+ .k-calendar-td:focus .k-calendar-cell-inner,
17240
+ .k-calendar-td.k-focus .k-calendar-cell-inner,
17241
+ .k-calendar-td.k-state-focus .k-calendar-cell-inner,
17242
+ .k-calendar-td.k-state-focused .k-calendar-cell-inner {
17066
17243
  box-shadow: $calendar-cell-focused-shadow;
17067
17244
  }
17068
- .k-calendar-td.k-state-selected.k-state-focused .k-link,
17069
- .k-calendar-td.k-selected.k-focused .k-link,
17070
- .k-calendar-td.k-state-selected.k-state-focus .k-link,
17071
- .k-calendar-td.k-selected.k-focus .k-link,
17072
- .k-calendar-td.k-selected:focus .k-link,
17073
- .k-calendar-td.k-selected.k-focus .k-link {
17245
+ .k-calendar-td.k-selected:focus .k-calendar-cell-inner,
17246
+ .k-calendar-td.k-selected.k-focus .k-calendar-cell-inner,
17247
+ .k-calendar-td.k-state-selected.k-state-focus .k-calendar-cell-inner {
17074
17248
  box-shadow: $calendar-cell-selected-focus-shadow;
17075
17249
  }
17076
17250
 
@@ -17084,8 +17258,8 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17084
17258
  box-shadow: inset -1px 0 $calendar-navigation-border;
17085
17259
 
17086
17260
  li:hover,
17087
- li.k-state-hover,
17088
- li.k-hover {
17261
+ li.k-hover,
17262
+ li.k-state-hover {
17089
17263
  color: $calendar-today-nav-hover-text;
17090
17264
  }
17091
17265
  }
@@ -17140,19 +17314,7 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17140
17314
  .k-range-start,
17141
17315
  .k-range-end,
17142
17316
  .k-range-mid {
17143
- // sass-lint:disable-block indentation
17144
- background-image:
17145
- linear-gradient(
17146
- transparent $calendar-range-gap,
17147
- $calendar-range-bg $calendar-range-gap,
17148
- $calendar-range-bg calc(100% - #{$calendar-range-gap}),
17149
- transparent calc(100% - #{$calendar-range-gap})
17150
- );
17151
-
17152
- .k-ie & {
17153
- background-image: none;
17154
- background-color: $calendar-range-bg;
17155
- }
17317
+ background-color: $calendar-range-bg;
17156
17318
  }
17157
17319
 
17158
17320
  .k-range-start.k-range-end {
@@ -17162,16 +17324,16 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17162
17324
 
17163
17325
  .k-range-start,
17164
17326
  .k-range-end {
17165
- .k-link {
17327
+ .k-calendar-cell-inner {
17166
17328
  background-color: $calendar-cell-selected-bg;
17167
17329
  }
17168
17330
  }
17169
17331
 
17170
- .k-range-start.k-state-active,
17171
17332
  .k-range-start.k-active,
17172
- .k-range-end.k-state-active,
17173
- .k-range-end.k-active {
17174
- .k-link {
17333
+ .k-range-start.k-state-active,
17334
+ .k-range-end.k-active,
17335
+ .k-range-end.k-state-active {
17336
+ .k-calendar-cell-inner {
17175
17337
  box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, .2);
17176
17338
  }
17177
17339
  }
@@ -17184,8 +17346,8 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17184
17346
  content: "";
17185
17347
  display: block;
17186
17348
  position: absolute;
17187
- top: $calendar-range-gap;
17188
- bottom: $calendar-range-gap;
17349
+ top: 0;
17350
+ bottom: 0;
17189
17351
  width: $calendar-range-split-size;
17190
17352
  }
17191
17353
  }
@@ -17261,6 +17423,44 @@ $time-list-highlight-border: $component-border !default;
17261
17423
 
17262
17424
  $time-list-focused-bg: rgba(0, 0, 0, .04) !default;
17263
17425
 
17426
+
17427
+ // Time selector sizes
17428
+ $kendo-time-selector-sm-font-size: $kendo-list-font-size-sm !default;
17429
+ $kendo-time-selector-sm-line-height: $kendo-list-line-height-sm !default;
17430
+ $kendo-time-selector-sm-list-item-padding-x: $kendo-list-item-padding-x-sm !default;
17431
+ $kendo-time-selector-sm-list-item-padding-y: $kendo-list-item-padding-y-sm !default;
17432
+
17433
+ $kendo-time-selector-md-font-size: $kendo-list-font-size-md !default;
17434
+ $kendo-time-selector-md-line-height: $kendo-list-line-height-md !default;
17435
+ $kendo-time-selector-md-list-item-padding-x: $kendo-list-item-padding-x-md !default;
17436
+ $kendo-time-selector-md-list-item-padding-y: $kendo-list-item-padding-y-md !default;
17437
+
17438
+ $kendo-time-selector-lg-font-size: $kendo-list-font-size-lg !default;
17439
+ $kendo-time-selector-lg-line-height: $kendo-list-line-height-lg !default;
17440
+ $kendo-time-selector-lg-list-item-padding-x: $kendo-list-item-padding-x-lg !default;
17441
+ $kendo-time-selector-lg-list-item-padding-y: $kendo-list-item-padding-y-lg !default;
17442
+
17443
+ $kendo-time-selector-sizes: (
17444
+ sm: (
17445
+ font-size: $kendo-time-selector-sm-font-size,
17446
+ line-height: $kendo-time-selector-sm-line-height,
17447
+ list-item-padding-x: $kendo-time-selector-sm-list-item-padding-x,
17448
+ list-item-padding-y: $kendo-time-selector-sm-list-item-padding-y
17449
+ ),
17450
+ md: (
17451
+ font-size: $kendo-time-selector-md-font-size,
17452
+ line-height: $kendo-time-selector-md-line-height,
17453
+ list-item-padding-x: $kendo-time-selector-md-list-item-padding-x,
17454
+ list-item-padding-y: $kendo-time-selector-md-list-item-padding-y
17455
+ ),
17456
+ lg: (
17457
+ font-size: $kendo-time-selector-lg-font-size,
17458
+ line-height: $kendo-time-selector-lg-line-height,
17459
+ list-item-padding-x: $kendo-time-selector-lg-list-item-padding-x,
17460
+ list-item-padding-y: $kendo-time-selector-lg-list-item-padding-y
17461
+ )
17462
+ ) !default;
17463
+
17264
17464
  // #endregion
17265
17465
  // #region @import "_layout.scss"; -> packages/default/scss/timeselector/_layout.scss
17266
17466
  @include exports( "timeselector/layout" ) {
@@ -17471,6 +17671,36 @@ $time-list-focused-bg: rgba(0, 0, 0, .04) !default;
17471
17671
  top: calc( #{$time-list-title-height / 2} );
17472
17672
  }
17473
17673
 
17674
+
17675
+ // Time selector sizes
17676
+ @each $size, $size-props in $kendo-time-selector-sizes {
17677
+ $_font-size: map-get( $size-props, font-size );
17678
+ $_line-height: map-get( $size-props, line-height );
17679
+ $_list-item-padding-x: map-get( $size-props, list-item-padding-x );
17680
+ $_list-item-padding-y: map-get( $size-props, list-item-padding-y );
17681
+ $_highlight-height: calc( #{$_font-size * $_line-height} + #{ $_list-item-padding-y * 2} );
17682
+
17683
+
17684
+ .k-timeselector-#{$size} {
17685
+ font-size: $_font-size;
17686
+ line-height: $_line-height;
17687
+
17688
+ .k-time-highlight,
17689
+ .k-time-list-highlight {
17690
+ height: $_highlight-height;
17691
+ }
17692
+
17693
+ .k-time-separator {
17694
+ height: $_highlight-height;
17695
+ }
17696
+
17697
+ .k-time-list-item,
17698
+ .k-time-list .k-item {
17699
+ padding: $_list-item-padding-y $_list-item-padding-x;
17700
+ }
17701
+ }
17702
+ }
17703
+
17474
17704
  }
17475
17705
 
17476
17706
  // #endregion
@@ -19095,13 +19325,13 @@ $kendo-treeview-font-family: $font-family !default;
19095
19325
  $kendo-treeview-font-size: $font-size-md !default;
19096
19326
  $kendo-treeview-font-size-sm: $font-size-md !default;
19097
19327
  $kendo-treeview-font-size-md: $font-size-md !default;
19098
- $kendo-treeview-font-size-lg: $font-size-md !default;
19328
+ $kendo-treeview-font-size-lg: $font-size-lg !default;
19099
19329
  /// Line height of the treeview component.
19100
19330
  /// @group treeview
19101
19331
  $kendo-treeview-line-height: $line-height-md !default;
19102
19332
  $kendo-treeview-line-height-sm: $line-height-md !default;
19103
19333
  $kendo-treeview-line-height-md: $line-height-md !default;
19104
- $kendo-treeview-line-height-lg: $line-height-md !default;
19334
+ $kendo-treeview-line-height-lg: $line-height-lg !default;
19105
19335
  /// Indentation of child groups in treeview component.
19106
19336
  /// @group treeview
19107
19337
  $kendo-treeview-indent: 16px !default;
@@ -19111,13 +19341,13 @@ $kendo-treeview-indent: 16px !default;
19111
19341
  $kendo-treeview-item-padding-x: map-get( $spacing, 2 ) !default;
19112
19342
  $kendo-treeview-item-padding-x-sm: map-get( $spacing, 2 ) !default;
19113
19343
  $kendo-treeview-item-padding-x-md: map-get( $spacing, 2 ) !default;
19114
- $kendo-treeview-item-padding-x-lg: map-get( $spacing, 2 ) !default;
19344
+ $kendo-treeview-item-padding-x-lg: map-get( $spacing, 3 ) !default;
19115
19345
  /// Vertical padding of treeview items.
19116
19346
  /// @group treeview
19117
19347
  $kendo-treeview-item-padding-y: map-get( $spacing, 1 ) !default;
19118
19348
  $kendo-treeview-item-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
19119
19349
  $kendo-treeview-item-padding-y-md: map-get( $spacing, 1 ) !default;
19120
- $kendo-treeview-item-padding-y-lg: map-get( $spacing, 1 ) + map-get( $spacing, thin ) !default;
19350
+ $kendo-treeview-item-padding-y-lg: map-get( $spacing, 2 ) !default;
19121
19351
  /// Border width of treeview items.
19122
19352
  /// @group treeview
19123
19353
  $kendo-treeview-item-border-width: 0px !default;
@@ -21913,6 +22143,10 @@ $actionsheet-item-disabled-shadow: null !default;
21913
22143
  box-sizing: border-box;
21914
22144
  }
21915
22145
  }
22146
+ .k-actionsheet-fullscreen {
22147
+ max-height: 100%;
22148
+ height: 100%;
22149
+ }
21916
22150
 
21917
22151
 
21918
22152
  // Actionsheet header
@@ -21926,6 +22160,35 @@ $actionsheet-item-disabled-shadow: null !default;
21926
22160
  font-size: $actionsheet-header-font-size;
21927
22161
  font-family: $actionsheet-header-font-family;
21928
22162
  line-height: $actionsheet-header-line-height;
22163
+ flex: none;
22164
+ }
22165
+
22166
+
22167
+ // Actionsheet titlebar
22168
+ .k-actionsheet-titlebar {
22169
+ @extend .k-actionsheet-header !optional;
22170
+ display: flex;
22171
+ flex-flow: row nowrap;
22172
+ align-items: center;
22173
+ }
22174
+ .k-actionsheet-title {
22175
+ flex: 1;
22176
+ }
22177
+ .k-actionsheet-actions {
22178
+ flex: none;
22179
+ }
22180
+
22181
+
22182
+ // Actionsheet content
22183
+ .k-actionsheet-content {
22184
+ flex: 1;
22185
+ overflow: auto;
22186
+ }
22187
+
22188
+
22189
+ // Actionsheet footer
22190
+ .k-actionsheet-footer {
22191
+ flex: none;
21929
22192
  }
21930
22193
 
21931
22194
 
@@ -22022,6 +22285,37 @@ $actionsheet-item-disabled-shadow: null !default;
22022
22285
  transform: none;
22023
22286
  }
22024
22287
 
22288
+
22289
+ // Adaptive action sheet
22290
+ .k-adaptive-actionsheet {
22291
+ max-width: 100%;
22292
+ width: 100%;
22293
+
22294
+ // TMP: this should be moved to action sheet
22295
+ display: flex;
22296
+ flex-flow: column nowrap;
22297
+
22298
+ .k-calendar {
22299
+ margin-inline: auto;
22300
+ border-width: 0;
22301
+ display: flex;
22302
+ }
22303
+
22304
+ .k-timeselector {
22305
+ height: 100%;
22306
+ border-width: 0;
22307
+ overflow: hidden;
22308
+
22309
+ .k-time-part {
22310
+ display: contents;
22311
+ }
22312
+
22313
+ .k-time-list-wrapper {
22314
+ height: 100%;
22315
+ }
22316
+ }
22317
+ }
22318
+
22025
22319
  }
22026
22320
 
22027
22321
  // #endregion
@@ -41267,8 +41561,6 @@ $treemap-line-height: $line-height !default;
41267
41561
  }
41268
41562
 
41269
41563
 
41270
-
41271
-
41272
41564
  @include exports("dataviz/treemap/theme") {
41273
41565
 
41274
41566
  // Treemap