@progress/kendo-theme-default 5.5.1-dev.1 → 5.5.1-dev.2

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
@@ -6041,8 +6041,8 @@ $kendo-list-font-size-lg: $font-size-lg !default;
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;
6044
+ $kendo-list-line-height-sm: $line-height-md !default;
6045
+ $kendo-list-line-height-md: $line-height-md !default;
6046
6046
  $kendo-list-line-height-lg: $line-height-lg !default;
6047
6047
 
6048
6048
  /// Horizontal padding of list header, if no size is set.
@@ -14930,6 +14930,10 @@ $progressbar-indeterminate-gradient: null !default;
14930
14930
 
14931
14931
  $progressbar-chunk-border: $body-bg !default;
14932
14932
 
14933
+ // Circular Progressbar
14934
+ $kendo-circular-progressbar-arc-stroke: $primary !default;
14935
+ $kendo-circular-progressbar-scale-stroke: $progressbar-bg !default;
14936
+
14933
14937
  // #endregion
14934
14938
  // #region @import "_layout.scss"; -> packages/default/scss/progressbar/_layout.scss
14935
14939
  @include exports("progressbar/layout") {
@@ -15199,6 +15203,49 @@ $progressbar-chunk-border: $body-bg !default;
15199
15203
 
15200
15204
  }
15201
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
+
15202
15249
  // #endregion
15203
15250
  // #region @import "_theme.scss"; -> packages/default/scss/progressbar/_theme.scss
15204
15251
  @include exports("progressbar/theme") {
@@ -15230,6 +15277,19 @@ $progressbar-chunk-border: $body-bg !default;
15230
15277
 
15231
15278
  }
15232
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
+
15233
15293
  // #endregion
15234
15294
 
15235
15295
  // #endregion
@@ -16377,7 +16437,6 @@ $calendar-border: $component-border !default;
16377
16437
  $calendar-header-padding-x: map-get( $spacing, 1 ) !default;
16378
16438
  $calendar-header-padding-y: map-get( $spacing, 1 ) !default;
16379
16439
  $calendar-header-border-width: 1px !default;
16380
- $calendar-header-min-width: ($calendar-cell-size * 8) !default;
16381
16440
 
16382
16441
  $calendar-header-bg: $header-bg !default;
16383
16442
  $calendar-header-text: $header-text !default;
@@ -16475,12 +16534,58 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16475
16534
 
16476
16535
  // Multiview calendar
16477
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
+
16478
16581
  // #endregion
16479
16582
  // #region @import "_layout.scss"; -> packages/default/scss/calendar/_layout.scss
16480
16583
  @include exports("calendar/layout") {
16481
16584
 
16482
16585
  // Base
16483
16586
  .k-calendar {
16587
+ inline-size: var( --INTERNAL--kendo-calendar-width, min-content );
16588
+ block-size: var( --INTERNAL--kendo-calendar-height, min-content );
16484
16589
  border-width: $calendar-border-width;
16485
16590
  border-style: solid;
16486
16591
  box-sizing: border-box;
@@ -16501,19 +16606,12 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16501
16606
  > .k-calendar {
16502
16607
  border: 0;
16503
16608
  }
16504
-
16505
- // Common
16506
- .k-link {
16507
- white-space: normal;
16508
- position: relative;
16509
- overflow: hidden;
16510
- }
16511
16609
  }
16512
16610
 
16513
16611
 
16514
16612
  // Calendar table
16515
16613
  .k-calendar-table {
16516
- margin: 0;
16614
+ margin: 0 auto;
16517
16615
  border-width: 0;
16518
16616
  border-color: inherit;
16519
16617
  border-spacing: 0;
@@ -16521,8 +16619,7 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16521
16619
  table-layout: fixed;
16522
16620
  text-align: center;
16523
16621
  outline: 0;
16524
- display: inline-table;
16525
- vertical-align: top;
16622
+ display: table;
16526
16623
  position: relative;
16527
16624
  z-index: 1;
16528
16625
  }
@@ -16540,6 +16637,9 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16540
16637
  font-weight: $calendar-caption-font-weight;
16541
16638
  cursor: default;
16542
16639
  }
16640
+
16641
+
16642
+ // Calendar cell
16543
16643
  .k-calendar-th,
16544
16644
  .k-calendar-td {
16545
16645
  border-width: 0;
@@ -16561,10 +16661,32 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16561
16661
  }
16562
16662
  .k-calendar-td {
16563
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 );
16564
16666
  border-color: transparent;
16565
16667
  }
16566
16668
 
16567
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
+
16568
16690
  // Calendar header
16569
16691
  .k-calendar .k-header {
16570
16692
  padding: $calendar-header-padding-y $calendar-header-padding-x;
@@ -16582,7 +16704,7 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16582
16704
  // Calendar header
16583
16705
  .k-calendar-header {
16584
16706
  padding: $calendar-header-padding-y $calendar-header-padding-x;
16585
- min-width: $calendar-header-min-width;
16707
+ min-width: ($calendar-cell-size * 8);
16586
16708
  box-sizing: border-box;
16587
16709
  display: flex;
16588
16710
  align-items: center;
@@ -16624,22 +16746,13 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16624
16746
  padding: 0 $calendar-header-padding-x;
16625
16747
  // setting width / height prevents layout changes in meta views
16626
16748
  width: $calendar-view-width;
16749
+ inline-size: var( --INTERNAL--kendo-calendar-view-width, #{$calendar-view-width});
16627
16750
  min-height: $calendar-view-height;
16628
16751
  box-sizing: content-box;
16629
16752
  gap: $calendar-view-gap;
16630
16753
  position: relative;
16631
16754
  z-index: 1;
16632
16755
  overflow: hidden;
16633
-
16634
- .k-link {
16635
- @include border-radius( $calendar-cell-border-radius );
16636
- padding: $calendar-cell-padding-y $calendar-cell-padding-x;
16637
- box-sizing: border-box;
16638
- display: flex;
16639
- flex-direction: row;
16640
- align-items: center;
16641
- justify-content: center;
16642
- }
16643
16756
  }
16644
16757
  .k-week-number .k-calendar-view {
16645
16758
  width: (8 * $calendar-cell-size);
@@ -16647,61 +16760,59 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16647
16760
 
16648
16761
 
16649
16762
  // Month view
16763
+ .k-month-calendar,
16650
16764
  .k-calendar-monthview {
16651
16765
  $_month-cell-size: $calendar-cell-size;
16652
16766
 
16653
16767
  .k-calendar-td {
16654
16768
  width: $_month-cell-size;
16655
16769
  height: $_month-cell-size;
16656
- }
16657
- .k-link {
16658
- width: $_month-cell-size;
16659
- 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} );
16660
16772
  }
16661
16773
  }
16662
16774
 
16663
16775
 
16664
16776
  // Year view
16777
+ .k-year-calendar,
16665
16778
  .k-calendar-yearview {
16666
- $_year-cell-size: ( (7 / 4) * $calendar-cell-size);
16779
+ $_year-cell-size: ( 1.75 * $calendar-cell-size ); // 7 / 4 => 1.75
16667
16780
 
16668
16781
  .k-calendar-td {
16669
- width: auto;
16670
- height: auto;
16671
- }
16672
- .k-link {
16673
16782
  width: $_year-cell-size;
16674
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} );
16675
16786
  }
16676
16787
  }
16677
16788
 
16678
16789
 
16679
16790
  // Decade view
16791
+ .k-decade-calendar,
16680
16792
  .k-calendar-decadeview {
16681
- $_decade-cell-size: ( (7 / 4) * $calendar-cell-size);
16793
+ $_decade-cell-size: ( 1.75 * $calendar-cell-size ); // 7 / 4 => 1.75
16682
16794
 
16683
16795
  .k-calendar-td {
16684
- width: auto;
16685
- height: auto;
16686
- }
16687
- .k-link {
16688
16796
  width: $_decade-cell-size;
16689
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} );
16690
16800
  }
16691
16801
  }
16692
16802
 
16693
16803
 
16694
16804
  // Century view
16805
+ .k-century-calendar,
16695
16806
  .k-calendar-centuryview {
16696
- $_century-cell-size: ( (7 / 4) * $calendar-cell-size);
16807
+ $_century-cell-size: ( 1.75 * $calendar-cell-size ); // 7 / 4 => 1.75
16697
16808
 
16698
16809
  .k-calendar-td {
16699
- width: auto;
16700
- height: auto;
16701
- }
16702
- .k-link {
16703
16810
  width: $_century-cell-size;
16704
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 {
16705
16816
  text-align: left;
16706
16817
  }
16707
16818
  }
@@ -16741,6 +16852,56 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16741
16852
  top: 0;
16742
16853
  right: 0;
16743
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
+ }
16744
16905
  }
16745
16906
 
16746
16907
 
@@ -16989,8 +17150,8 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
16989
17150
  &.k-hover,
16990
17151
  &.k-state-hover,
16991
17152
  &:focus,
16992
- &.k-state-focus,
16993
- &.k-focus {
17153
+ &.k-focus,
17154
+ &.k-state-focus {
16994
17155
  color: $calendar-today-nav-hover-text;
16995
17156
  }
16996
17157
  }
@@ -17008,11 +17169,11 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17008
17169
  // Special days
17009
17170
  .k-calendar-view .k-today {
17010
17171
  @if $calendar-today-style == box {
17011
- .k-link {
17172
+ .k-calendar-cell-inner {
17012
17173
  box-shadow: inset 0 0 0 1px $calendar-today-color;
17013
17174
  }
17014
- &.k-state-focused .k-link,
17015
- &.k-focus .k-link {
17175
+ &.k-focus .k-calendar-cell-inner,
17176
+ &.k-state-focused .k-calendar-cell-inner {
17016
17177
  box-shadow: inset 0 0 0 1px $calendar-today-color, $calendar-cell-focused-shadow;
17017
17178
  }
17018
17179
  } @else if $calendar-today-style == color {
@@ -17046,9 +17207,9 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17046
17207
 
17047
17208
 
17048
17209
  // Interactive states
17049
- .k-calendar-td:hover .k-link,
17050
- .k-calendar-td.k-state-hover .k-link,
17051
- .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 {
17052
17213
  @include fill(
17053
17214
  $calendar-cell-hover-text,
17054
17215
  $calendar-cell-hover-bg,
@@ -17056,8 +17217,8 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17056
17217
  $calendar-cell-hover-gradient
17057
17218
  );
17058
17219
  }
17059
- .k-calendar-td.k-state-selected .k-link,
17060
- .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 {
17061
17222
  @include fill(
17062
17223
  $calendar-cell-selected-text,
17063
17224
  $calendar-cell-selected-bg,
@@ -17065,12 +17226,9 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17065
17226
  $calendar-cell-selected-gradient
17066
17227
  );
17067
17228
  }
17068
- .k-calendar-td.k-state-selected:hover .k-link,
17069
- .k-calendar-td.k-selected:hover .k-link,
17070
- .k-calendar-td.k-state-selected.k-state-hover .k-link,
17071
- .k-calendar-td.k-selected.k-hover .k-link,
17072
- .k-calendar-td.k-selected:hover .k-link,
17073
- .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 {
17074
17232
  @include fill(
17075
17233
  $calendar-cell-selected-hover-text,
17076
17234
  $calendar-cell-selected-hover-bg,
@@ -17078,18 +17236,15 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17078
17236
  $calendar-cell-selected-hover-gradient
17079
17237
  );
17080
17238
  }
17081
- .k-calendar-td.k-state-focused .k-link,
17082
- .k-calendar-td.k-focus .k-link,
17083
- .k-calendar-td.k-state-focus .k-link,
17084
- .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 {
17085
17243
  box-shadow: $calendar-cell-focused-shadow;
17086
17244
  }
17087
- .k-calendar-td.k-state-selected.k-state-focused .k-link,
17088
- .k-calendar-td.k-selected.k-focused .k-link,
17089
- .k-calendar-td.k-state-selected.k-state-focus .k-link,
17090
- .k-calendar-td.k-selected.k-focus .k-link,
17091
- .k-calendar-td.k-selected:focus .k-link,
17092
- .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 {
17093
17248
  box-shadow: $calendar-cell-selected-focus-shadow;
17094
17249
  }
17095
17250
 
@@ -17103,8 +17258,8 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17103
17258
  box-shadow: inset -1px 0 $calendar-navigation-border;
17104
17259
 
17105
17260
  li:hover,
17106
- li.k-state-hover,
17107
- li.k-hover {
17261
+ li.k-hover,
17262
+ li.k-state-hover {
17108
17263
  color: $calendar-today-nav-hover-text;
17109
17264
  }
17110
17265
  }
@@ -17159,19 +17314,7 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17159
17314
  .k-range-start,
17160
17315
  .k-range-end,
17161
17316
  .k-range-mid {
17162
- // sass-lint:disable-block indentation
17163
- background-image:
17164
- linear-gradient(
17165
- transparent $calendar-range-gap,
17166
- $calendar-range-bg $calendar-range-gap,
17167
- $calendar-range-bg calc(100% - #{$calendar-range-gap}),
17168
- transparent calc(100% - #{$calendar-range-gap})
17169
- );
17170
-
17171
- .k-ie & {
17172
- background-image: none;
17173
- background-color: $calendar-range-bg;
17174
- }
17317
+ background-color: $calendar-range-bg;
17175
17318
  }
17176
17319
 
17177
17320
  .k-range-start.k-range-end {
@@ -17181,16 +17324,16 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17181
17324
 
17182
17325
  .k-range-start,
17183
17326
  .k-range-end {
17184
- .k-link {
17327
+ .k-calendar-cell-inner {
17185
17328
  background-color: $calendar-cell-selected-bg;
17186
17329
  }
17187
17330
  }
17188
17331
 
17189
- .k-range-start.k-state-active,
17190
17332
  .k-range-start.k-active,
17191
- .k-range-end.k-state-active,
17192
- .k-range-end.k-active {
17193
- .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 {
17194
17337
  box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, .2);
17195
17338
  }
17196
17339
  }
@@ -17203,8 +17346,8 @@ $infinite-calendar-view-height: ( $calendar-cell-size * 9 ) !default;
17203
17346
  content: "";
17204
17347
  display: block;
17205
17348
  position: absolute;
17206
- top: $calendar-range-gap;
17207
- bottom: $calendar-range-gap;
17349
+ top: 0;
17350
+ bottom: 0;
17208
17351
  width: $calendar-range-split-size;
17209
17352
  }
17210
17353
  }
@@ -17280,6 +17423,44 @@ $time-list-highlight-border: $component-border !default;
17280
17423
 
17281
17424
  $time-list-focused-bg: rgba(0, 0, 0, .04) !default;
17282
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
+
17283
17464
  // #endregion
17284
17465
  // #region @import "_layout.scss"; -> packages/default/scss/timeselector/_layout.scss
17285
17466
  @include exports( "timeselector/layout" ) {
@@ -17490,6 +17671,36 @@ $time-list-focused-bg: rgba(0, 0, 0, .04) !default;
17490
17671
  top: calc( #{$time-list-title-height / 2} );
17491
17672
  }
17492
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
+
17493
17704
  }
17494
17705
 
17495
17706
  // #endregion
@@ -21932,6 +22143,10 @@ $actionsheet-item-disabled-shadow: null !default;
21932
22143
  box-sizing: border-box;
21933
22144
  }
21934
22145
  }
22146
+ .k-actionsheet-fullscreen {
22147
+ max-height: 100%;
22148
+ height: 100%;
22149
+ }
21935
22150
 
21936
22151
 
21937
22152
  // Actionsheet header
@@ -21945,6 +22160,35 @@ $actionsheet-item-disabled-shadow: null !default;
21945
22160
  font-size: $actionsheet-header-font-size;
21946
22161
  font-family: $actionsheet-header-font-family;
21947
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;
21948
22192
  }
21949
22193
 
21950
22194
 
@@ -22041,6 +22285,37 @@ $actionsheet-item-disabled-shadow: null !default;
22041
22285
  transform: none;
22042
22286
  }
22043
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
+
22044
22319
  }
22045
22320
 
22046
22321
  // #endregion
@@ -41286,8 +41561,6 @@ $treemap-line-height: $line-height !default;
41286
41561
  }
41287
41562
 
41288
41563
 
41289
-
41290
-
41291
41564
  @include exports("dataviz/treemap/theme") {
41292
41565
 
41293
41566
  // Treemap