@progress/kendo-theme-core 13.2.0-dev.3 → 14.0.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.
Files changed (103) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/meta/sassdoc-data.json +126 -648
  3. package/dist/meta/sassdoc-raw-data.json +62 -294
  4. package/dist/meta/variables.json +12 -44
  5. package/package.json +2 -2
  6. package/scss/color-system/_swatch.scss +0 -56
  7. package/scss/components/action-sheet/_layout.scss +2 -0
  8. package/scss/components/action-sheet/_variables.scss +2 -0
  9. package/scss/components/appbar/_layout.scss +1 -0
  10. package/scss/components/appbar/_theme.scss +1 -6
  11. package/scss/components/appbar/_variables.scss +2 -7
  12. package/scss/components/avatar/_variables.scss +1 -1
  13. package/scss/components/badge/_variables.scss +1 -1
  14. package/scss/components/bottom-navigation/_layout.scss +1 -0
  15. package/scss/components/bottom-navigation/_theme.scss +11 -10
  16. package/scss/components/bottom-navigation/_variables.scss +2 -1
  17. package/scss/components/button/_layout.scss +1 -1
  18. package/scss/components/button/_variables.scss +3 -1
  19. package/scss/components/card/_theme.scss +0 -15
  20. package/scss/components/card/_variables.scss +0 -6
  21. package/scss/components/chart-wizard/_layout.scss +6 -1
  22. package/scss/components/chart-wizard/_theme.scss +3 -0
  23. package/scss/components/chart-wizard/_variables.scss +4 -0
  24. package/scss/components/chat/_layout.scss +5 -0
  25. package/scss/components/chat/_variables.scss +1 -0
  26. package/scss/components/column-menu/_layout.scss +9 -0
  27. package/scss/components/column-menu/_variables.scss +4 -0
  28. package/scss/components/dataviz/_layout.scss +3 -0
  29. package/scss/components/dataviz/_variables.scss +2 -0
  30. package/scss/components/dialog/_theme.scss +0 -12
  31. package/scss/components/dialog/_variables.scss +0 -6
  32. package/scss/components/dock-manager/_layout.scss +1 -0
  33. package/scss/components/dock-manager/_variables.scss +1 -0
  34. package/scss/components/dropzone/_layout.scss +1 -0
  35. package/scss/components/dropzone/_variables.scss +1 -0
  36. package/scss/components/editor/_layout.scss +1 -0
  37. package/scss/components/editor/_variables.scss +1 -0
  38. package/scss/components/expansion-panel/_layout.scss +3 -2
  39. package/scss/components/expansion-panel/_variables.scss +4 -0
  40. package/scss/components/fab/_variables.scss +1 -1
  41. package/scss/components/file-box/_layout.scss +1 -0
  42. package/scss/components/file-box/_theme.scss +4 -0
  43. package/scss/components/file-box/_variables.scss +3 -0
  44. package/scss/components/filemanager/_layout.scss +3 -0
  45. package/scss/components/filemanager/_variables.scss +1 -0
  46. package/scss/components/filter/_theme.scss +4 -0
  47. package/scss/components/filter/_variables.scss +2 -0
  48. package/scss/components/forms/_layout.scss +5 -0
  49. package/scss/components/forms/_variables.scss +6 -0
  50. package/scss/components/gantt/_layout.scss +6 -0
  51. package/scss/components/gantt/_variables.scss +1 -0
  52. package/scss/components/grid/_layout.scss +11 -1
  53. package/scss/components/grid/_theme.scss +13 -4
  54. package/scss/components/grid/_variables.scss +5 -0
  55. package/scss/components/imageeditor/_layout.scss +1 -0
  56. package/scss/components/imageeditor/_variables.scss +1 -0
  57. package/scss/components/listbox/_layout.scss +4 -0
  58. package/scss/components/listbox/_variables.scss +4 -0
  59. package/scss/components/listview/_layout.scss +1 -0
  60. package/scss/components/listview/_variables.scss +2 -0
  61. package/scss/components/loader/_layout.scss +9 -6
  62. package/scss/components/loader/_variables.scss +1 -1
  63. package/scss/components/mediaplayer/_layout.scss +4 -0
  64. package/scss/components/mediaplayer/_variables.scss +4 -0
  65. package/scss/components/messagebox/_layout.scss +2 -0
  66. package/scss/components/messagebox/_theme.scss +5 -13
  67. package/scss/components/messagebox/_variables.scss +2 -1
  68. package/scss/components/overlay/_theme.scss +0 -17
  69. package/scss/components/overlay/_variables.scss +0 -5
  70. package/scss/components/pdf-viewer/_layout.scss +1 -0
  71. package/scss/components/pdf-viewer/_variables.scss +1 -0
  72. package/scss/components/pivotgrid/_layout.scss +8 -0
  73. package/scss/components/pivotgrid/_variables.scss +1 -0
  74. package/scss/components/progressbar/_layout.scss +1 -0
  75. package/scss/components/progressbar/_variables.scss +3 -0
  76. package/scss/components/prompt/_theme.scss +8 -0
  77. package/scss/components/prompt/_variables.scss +4 -0
  78. package/scss/components/scheduler/_layout.scss +2 -0
  79. package/scss/components/scheduler/_variables.scss +1 -0
  80. package/scss/components/scrollview/_layout.scss +1 -0
  81. package/scss/components/scrollview/_theme.scss +10 -0
  82. package/scss/components/scrollview/_variables.scss +2 -0
  83. package/scss/components/spreadsheet/_layout.scss +7 -0
  84. package/scss/components/spreadsheet/_variables.scss +1 -0
  85. package/scss/components/stepper/_layout.scss +1 -1
  86. package/scss/components/stepper/_variables.scss +1 -0
  87. package/scss/components/suggestion/_layout.scss +7 -1
  88. package/scss/components/suggestion/_variables.scss +2 -1
  89. package/scss/components/table/_variables.scss +15 -6
  90. package/scss/components/taskboard/_layout.scss +1 -0
  91. package/scss/components/taskboard/_variables.scss +1 -0
  92. package/scss/components/timeline/_theme.scss +4 -0
  93. package/scss/components/timeline/_variables.scss +2 -0
  94. package/scss/components/toolbar/_layout.scss +1 -0
  95. package/scss/components/toolbar/_variables.scss +1 -0
  96. package/scss/components/upload/_layout.scss +2 -0
  97. package/scss/components/upload/_variables.scss +1 -0
  98. package/scss/components/window/_theme.scss +0 -12
  99. package/scss/components/window/_variables.scss +0 -5
  100. package/scss/elevation/index.scss +0 -13
  101. package/scss/index.scss +2 -0
  102. package/scss/mixins/_focus-indicator.scss +5 -2
  103. package/scss/translucency/index.scss +20 -0
@@ -1,25 +1,8 @@
1
- @use "../../color-system/_functions.scss" as *;
2
- @use "../../functions/default.scss" as *;
3
1
  @use "./_variables.scss" as *;
4
2
 
5
3
  @mixin kendo-overlay--theme-base() {
6
4
  // Overlay
7
5
  .k-overlay {
8
- @each $name in $kendo-overlay-theme-colors {
9
- #{k-when-default($kendo-overlay-default-theme-color, $name)}
10
- &.k-overlay-#{$name} {
11
- background-color: k-color(#{$name});
12
- }
13
- }
14
-
15
6
  background-color: $kendo-overlay-bg;
16
7
  }
17
-
18
- // Where single k-overlay-{color} is used as a theme element
19
- @each $name in $kendo-overlay-theme-colors {
20
- .k-overlay-#{$name} {
21
- background-color: k-color(#{$name});
22
- }
23
- }
24
-
25
8
  }
@@ -1,8 +1,3 @@
1
- $kendo-overlay-default-theme-color: null !default;
2
-
3
1
  $kendo-overlay-bg: null !default;
4
2
  $kendo-overlay-opacity: null !default;
5
3
 
6
- /// The theme colors map of the Overlay.
7
- /// @group overlay
8
- $kendo-overlay-theme-colors: ("dark", "light", "inverse") !default;
@@ -8,6 +8,7 @@
8
8
  // PDF Viewer
9
9
  .k-pdf-viewer {
10
10
  border-width: $kendo-pdf-viewer-border-width;
11
+ border-radius: $kendo-pdf-viewer-border-radius;
11
12
  border-style: solid;
12
13
  box-sizing: border-box;
13
14
  position: relative;
@@ -1,6 +1,7 @@
1
1
  // PDFViewer
2
2
 
3
3
  $kendo-pdf-viewer-border-width: null !default;
4
+ $kendo-pdf-viewer-border-radius: null !default;
4
5
  $kendo-pdf-viewer-font-family: null !default;
5
6
  $kendo-pdf-viewer-font-size: null !default;
6
7
  $kendo-pdf-viewer-line-height: null !default;
@@ -12,6 +12,7 @@
12
12
  padding-inline: $kendo-pivotgrid-padding-x;
13
13
  border-width: $kendo-pivotgrid-border-width;
14
14
  border-style: solid;
15
+ border-radius: $kendo-pivotgrid-border-radius;
15
16
  box-sizing: content-box;
16
17
  font-size: $kendo-pivotgrid-font-size;
17
18
  font-family: $kendo-pivotgrid-font-family;
@@ -22,6 +23,7 @@
22
23
  grid-template-columns: $kendo-pivotgrid-row-header-width auto;
23
24
  grid-template-rows: $kendo-pivotgrid-column-header-height auto;
24
25
  position: relative;
26
+ overflow: hidden;
25
27
 
26
28
  table {
27
29
  margin: 0;
@@ -170,6 +172,7 @@
170
172
  // Pivotgrid configurator
171
173
  .k-pivotgrid-configurator {
172
174
  display: flex;
175
+ border-radius: $kendo-pivotgrid-border-radius;
173
176
  }
174
177
 
175
178
  .k-pivotgrid-configurator-panel {
@@ -182,6 +185,7 @@
182
185
  flex-direction: column;
183
186
  overflow: hidden;
184
187
  z-index: k-z-index("base", 2);
188
+ border-radius: inherit;
185
189
  }
186
190
 
187
191
  // Configurator Button
@@ -190,6 +194,7 @@
190
194
  padding-inline: $kendo-pivotgrid-configurator-button-padding-x;
191
195
  border-width: $kendo-pivotgrid-configurator-button-border-width;
192
196
  border-style: solid;
197
+ border-radius: $kendo-pivotgrid-border-radius;
193
198
  box-sizing: border-box;
194
199
  cursor: pointer;
195
200
  user-select: none;
@@ -228,6 +233,7 @@
228
233
  padding-inline: $kendo-pivotgrid-configurator-content-padding-x;
229
234
  flex: 1 1 auto;
230
235
  overflow: auto;
236
+ border-radius: inherit;
231
237
 
232
238
  .k-form {
233
239
  .k-label {
@@ -470,9 +476,11 @@
470
476
  // Legacy pivotgrid
471
477
  // TODO: remove
472
478
  .k-pivot {
479
+ border-radius: $kendo-pivotgrid-border-radius;
473
480
  border-width: $kendo-pivotgrid-border-width;
474
481
  border-style: solid;
475
482
  position: relative;
483
+ overflow: hidden;
476
484
 
477
485
  .k-grid td {
478
486
  white-space: nowrap;
@@ -6,6 +6,7 @@ $kendo-pivotgrid-font-family: null !default;
6
6
  $kendo-pivotgrid-font-size: null !default;
7
7
  $kendo-pivotgrid-line-height: null !default;
8
8
  $kendo-pivotgrid-border-width: null !default;
9
+ $kendo-pivotgrid-border-radius: null !default;
9
10
  $kendo-pivotgrid-icon-spacing: null !default;
10
11
 
11
12
  $kendo-pivotgrid-row-header-width: null !default;
@@ -56,6 +56,7 @@
56
56
  grid-row: 1 / -1;
57
57
  }
58
58
  .k-progressbar-chunk {
59
+ border-radius: $kendo-progressbar-chunk-border-radius;
59
60
  display: block;
60
61
  border-width: 0;
61
62
  flex: 1;
@@ -22,6 +22,9 @@ $kendo-progressbar-indeterminate-bg: null !default;
22
22
  $kendo-progressbar-indeterminate-text: null !default;
23
23
  $kendo-progressbar-indeterminate-border: null !default;
24
24
 
25
+ // Chunk Progressbar
26
+ $kendo-progressbar-chunk-border-radius: null !default;
27
+
25
28
  // Circular Progressbar
26
29
  $kendo-circular-progressbar-arc-stroke: null !default;
27
30
  $kendo-circular-progressbar-scale-stroke: null !default;
@@ -37,4 +37,12 @@
37
37
  @include box-shadow( $kendo-prompt-suggestion-shadow );
38
38
  }
39
39
 
40
+ .k-prompt-footer {
41
+ @include fill(
42
+ $kendo-prompt-footer-text,
43
+ $kendo-prompt-footer-bg,
44
+ $kendo-prompt-footer-border
45
+ );
46
+ }
47
+
40
48
  }
@@ -24,3 +24,7 @@ $kendo-prompt-suggestion-text: null !default;
24
24
  $kendo-prompt-suggestion-bg: null !default;
25
25
  $kendo-prompt-suggestion-border: null !default;
26
26
  $kendo-prompt-suggestion-shadow: null !default;
27
+
28
+ $kendo-prompt-footer-text: null !default;
29
+ $kendo-prompt-footer-bg: null !default;
30
+ $kendo-prompt-footer-border: null !default;
@@ -13,6 +13,7 @@
13
13
  // Layout
14
14
  .k-scheduler {
15
15
  border-width: $kendo-scheduler-border-width;
16
+ border-radius: $kendo-scheduler-border-radius;
16
17
  border-style: solid;
17
18
  box-sizing: border-box;
18
19
  outline: 0;
@@ -22,6 +23,7 @@
22
23
  display: flex;
23
24
  flex-direction: column;
24
25
  position: relative;
26
+ overflow: hidden;
25
27
  -webkit-touch-callout: none;
26
28
  -webkit-tap-highlight-color: $kendo-color-rgba-transparent;
27
29
 
@@ -1,6 +1,7 @@
1
1
  // Scheduler
2
2
 
3
3
  $kendo-scheduler-border-width: null !default;
4
+ $kendo-scheduler-border-radius: null !default;
4
5
  $kendo-scheduler-font-family: null !default;
5
6
  $kendo-scheduler-font-size: null !default;
6
7
  $kendo-scheduler-line-height: null !default;
@@ -7,6 +7,7 @@
7
7
  .k-scrollview {
8
8
  border-width: $kendo-scrollview-border-width;
9
9
  border-style: solid;
10
+ border-radius: $kendo-scrollview-border-radius;
10
11
  box-sizing: border-box;
11
12
  outline: 0;
12
13
  font-family: $kendo-scrollview-font-family;
@@ -74,6 +74,16 @@
74
74
  &.k-primary {
75
75
  background: $kendo-scrollview-pagebutton-primary-bg;
76
76
  border: $kendo-scrollview-pagebutton-primary-border;
77
+
78
+ &:focus,
79
+ &.k-focus {
80
+ @include focus-indicator( $kendo-scrollview-pagebutton-primary-shadow );
81
+ }
82
+
83
+ &:hover,
84
+ &.k-hover {
85
+ box-shadow: $kendo-scrollview-pagebutton-primary-shadow;
86
+ }
77
87
  }
78
88
 
79
89
  &:focus,
@@ -1,6 +1,7 @@
1
1
  // ScrollView
2
2
 
3
3
  $kendo-scrollview-border-width: null !default;
4
+ $kendo-scrollview-border-radius: null !default;
4
5
  $kendo-scrollview-font-family: null !default;
5
6
  $kendo-scrollview-font-size: null !default;
6
7
  $kendo-scrollview-line-height: null !default;
@@ -15,6 +16,7 @@ $kendo-scrollview-pagebutton-border: null !default;
15
16
  $kendo-scrollview-pagebutton-primary-bg: null !default;
16
17
  $kendo-scrollview-pagebutton-primary-border: null !default;
17
18
  $kendo-scrollview-pagebutton-shadow: null !default;
19
+ $kendo-scrollview-pagebutton-primary-shadow: null !default;
18
20
 
19
21
  $kendo-scrollview-pager-offset: null !default;
20
22
  $kendo-scrollview-pager-item-spacing: null !default;
@@ -18,6 +18,7 @@
18
18
  height: 600px;
19
19
  border-width: $kendo-spreadsheet-border-width;
20
20
  border-style: solid;
21
+ border-radius: $kendo-spreadsheet-border-radius;
21
22
  box-sizing: border-box;
22
23
  outline: 0;
23
24
  font-family: $kendo-spreadsheet-font-family;
@@ -42,6 +43,11 @@
42
43
  }
43
44
  }
44
45
 
46
+ // Header
47
+ .k-spreadsheet-header {
48
+ @include border-top-radius(inherit);
49
+ }
50
+
45
51
  // Toolbar
46
52
  .k-spreadsheet-toolbar {
47
53
  border-block-start-width: 0;
@@ -168,6 +174,7 @@
168
174
  border-width: $kendo-spreadsheet-sheets-bar-border-width 0 0;
169
175
  border-style: solid;
170
176
  border-color: inherit;
177
+ @include border-bottom-radius(inherit);
171
178
  display: flex;
172
179
  flex-direction: row;
173
180
  align-items: center;
@@ -1,6 +1,7 @@
1
1
  // Spreadsheet
2
2
 
3
3
  $kendo-spreadsheet-border-width: null !default;
4
+ $kendo-spreadsheet-border-radius: null !default;
4
5
  $kendo-spreadsheet-font-family: null !default;
5
6
  $kendo-spreadsheet-font-size: null !default;
6
7
  $kendo-spreadsheet-line-height: null !default;
@@ -140,7 +140,7 @@
140
140
  }
141
141
 
142
142
  .k-step-current .k-step-label {
143
- font-weight: bold;
143
+ font-weight: $kendo-stepper-label-current-font-weight;
144
144
  }
145
145
 
146
146
 
@@ -71,6 +71,7 @@ $kendo-stepper-indicator-current-disabled-text: null !default;
71
71
  $kendo-stepper-indicator-current-disabled-border: null !default;
72
72
 
73
73
  $kendo-stepper-label-text: null !default;
74
+ $kendo-stepper-label-current-font-weight: null !default;
74
75
  $kendo-stepper-label-success-text: null !default;
75
76
  $kendo-stepper-label-error-text: null !default;
76
77
  $kendo-stepper-label-hover-text: null !default;
@@ -16,6 +16,7 @@
16
16
 
17
17
  .k-suggestion-group {
18
18
  padding-block: calc( #{$kendo-suggestion-padding-y} / 2 );
19
+ margin-inline: calc( #{$kendo-suggestion-padding-y} / -2 );
19
20
  display: flex;
20
21
  flex: 1;
21
22
  flex-wrap: wrap;
@@ -27,8 +28,12 @@
27
28
  flex-wrap: nowrap;
28
29
  }
29
30
 
31
+ &:not(:has(.k-suggestions-scroll)) {
32
+ padding-inline: calc( #{$kendo-suggestion-padding-y} / 2 );
33
+ }
34
+
30
35
  .k-suggestions-scroll {
31
- padding-block: calc( #{$kendo-suggestion-padding-y} / 2 );
36
+ padding: calc( #{$kendo-suggestion-padding-y} / 2 );
32
37
  margin-block: calc( #{$kendo-suggestion-padding-y} / -2 );
33
38
  display: flex;
34
39
  overflow-x: auto;
@@ -62,6 +67,7 @@
62
67
  border-style: $kendo-suggestion-border-style;
63
68
  font-size: $kendo-suggestion-font-size;
64
69
  line-height: $kendo-suggestion-line-height;
70
+ font-weight: $kendo-suggestion-font-weight;
65
71
  flex: 0 0 auto;
66
72
  transition: background-color k-transition(rapid), box-shadow k-transition(rapid);
67
73
  cursor: pointer;
@@ -7,6 +7,7 @@ $kendo-suggestion-border-style: null !default;
7
7
 
8
8
  $kendo-suggestion-font-size: null !default;
9
9
  $kendo-suggestion-line-height: null !default;
10
+ $kendo-suggestion-font-weight: null !default;
10
11
  $kendo-suggestion-border-radius: null !default;
11
12
 
12
13
  $kendo-suggestion-focus-shadow-blur: null !default;
@@ -15,7 +16,7 @@ $kendo-suggestion-focus-shadow-color: null !default;
15
16
 
16
17
  /// The theme colors map of the Suggestion.
17
18
  /// @group suggestion
18
- $kendo-suggestion-theme-colors: ("base", "primary", "secondary") !default;
19
+ $kendo-suggestion-theme-colors: ("base", "primary", "secondary", "tertiary") !default;
19
20
 
20
21
  $kendo-suggestion-default-theme-color: null !default;
21
22
 
@@ -19,24 +19,33 @@ $kendo-table-md-cell-padding-y: null !default;
19
19
  $kendo-table-lg-cell-padding-x: null !default;
20
20
  $kendo-table-lg-cell-padding-y: null !default;
21
21
 
22
+ $kendo-table-sm-font-size: null !default;
23
+ $kendo-table-sm-line-height: null !default;
24
+
25
+ $kendo-table-md-font-size: null !default;
26
+ $kendo-table-md-line-height: null !default;
27
+
28
+ $kendo-table-lg-font-size: null !default;
29
+ $kendo-table-lg-line-height: null !default;
30
+
22
31
  /// The sizes map of the Table.
23
32
  /// @group table
24
33
  $kendo-table-sizes: (
25
34
  sm: (
26
- font-size: var(--kendo-font-size),
27
- line-height: var(--kendo-line-height),
35
+ font-size: $kendo-table-sm-font-size,
36
+ line-height: $kendo-table-sm-line-height,
28
37
  cell-padding-x: $kendo-table-sm-cell-padding-x,
29
38
  cell-padding-y: $kendo-table-sm-cell-padding-y
30
39
  ),
31
40
  md: (
32
- font-size: var(--kendo-font-size),
33
- line-height: var(--kendo-line-height),
41
+ font-size: $kendo-table-md-font-size,
42
+ line-height: $kendo-table-md-line-height,
34
43
  cell-padding-x: $kendo-table-md-cell-padding-x,
35
44
  cell-padding-y: $kendo-table-md-cell-padding-y
36
45
  ),
37
46
  lg: (
38
- font-size: var(--kendo-font-size),
39
- line-height: var(--kendo-line-height),
47
+ font-size: $kendo-table-lg-font-size,
48
+ line-height: $kendo-table-lg-line-height,
40
49
  cell-padding-x: $kendo-table-lg-cell-padding-x,
41
50
  cell-padding-y: $kendo-table-lg-cell-padding-y
42
51
  )
@@ -121,6 +121,7 @@
121
121
  padding-inline: $kendo-taskboard-pane-padding-x;
122
122
  width: $kendo-taskboard-pane-width;
123
123
  border-width: $kendo-taskboard-pane-border-width;
124
+ border-radius: $kendo-taskboard-pane-border-radius;
124
125
  border-style: solid;
125
126
  display: flex;
126
127
  flex-direction: column;
@@ -50,6 +50,7 @@ $kendo-taskboard-pane-width: null !default;
50
50
  $kendo-taskboard-pane-padding-y: null !default;
51
51
  $kendo-taskboard-pane-padding-x: null !default;
52
52
  $kendo-taskboard-pane-border-width: null !default;
53
+ $kendo-taskboard-pane-border-radius: null !default;
53
54
  $kendo-taskboard-pane-bg: null !default;
54
55
  $kendo-taskboard-pane-text: null !default;
55
56
  $kendo-taskboard-pane-border: null !default;
@@ -16,6 +16,10 @@
16
16
  }
17
17
 
18
18
  .k-timeline-card {
19
+ .k-card {
20
+ box-shadow: $kendo-timeline-card-shadow;
21
+ }
22
+
19
23
  .k-card-header {
20
24
  background-color: $kendo-card-bg;
21
25
  color: $kendo-card-text;
@@ -62,6 +62,8 @@ $kendo-timeline-circle-bg: null !default;
62
62
 
63
63
  $kendo-timeline-collapse-arrow-padding-x: null !default;
64
64
 
65
+ $kendo-timeline-card-shadow: null !default;
66
+
65
67
  $kendo-timeline-event-width: null !default;
66
68
  $kendo-timeline-event-height: null !default;
67
69
  $kendo-timeline-event-min-height-calc: null !default;
@@ -16,6 +16,7 @@
16
16
  margin: 0;
17
17
  border-width: $kendo-toolbar-border-width;
18
18
  border-style: solid;
19
+ border-radius: $kendo-toolbar-border-radius;
19
20
  box-sizing: border-box;
20
21
  outline: 0;
21
22
  font-family: $kendo-toolbar-font-family;
@@ -21,6 +21,7 @@ $kendo-toolbar-md-separator-height: null !default;
21
21
  $kendo-toolbar-lg-separator-height: null !default;
22
22
 
23
23
  $kendo-toolbar-border-width: null !default;
24
+ $kendo-toolbar-border-radius: null !default;
24
25
 
25
26
  $kendo-toolbar-font-family: null !default;
26
27
  $kendo-toolbar-font-size: null !default;
@@ -9,8 +9,10 @@
9
9
  .k-upload {
10
10
  border-width: $kendo-upload-border-width;
11
11
  border-style: solid;
12
+ border-radius: $kendo-upload-border-radius;
12
13
  box-sizing: border-box;
13
14
  outline: 0;
15
+ overflow: clip;
14
16
  font-family: $kendo-upload-font-family;
15
17
  font-size: $kendo-upload-font-size;
16
18
  line-height: $kendo-upload-line-height;
@@ -1,6 +1,7 @@
1
1
  // Upload
2
2
 
3
3
  $kendo-upload-border-width: null !default;
4
+ $kendo-upload-border-radius: null !default;
4
5
  $kendo-upload-font-family: null !default;
5
6
  $kendo-upload-font-size: null !default;
6
7
  $kendo-upload-line-height: null !default;
@@ -14,18 +14,6 @@
14
14
  $kendo-window-border
15
15
  );
16
16
  @include box-shadow( $kendo-window-shadow );
17
-
18
- // Window theme colors
19
- @each $name in $kendo-window-theme-colors {
20
-
21
- #{k-when-default($kendo-window-default-theme-color, $name)}
22
- &.k-window-#{$name} {
23
- .k-window-titlebar {
24
- color: k-color(on-#{$name});
25
- background-color: k-color(#{$name});
26
- }
27
- }
28
- }
29
17
  }
30
18
 
31
19
  .k-window:focus,
@@ -1,6 +1,5 @@
1
1
  // Window
2
2
 
3
- $kendo-window-default-theme-color: null !default;
4
3
  $kendo-window-default-size: null !default;
5
4
 
6
5
  $kendo-window-border-width: null !default;
@@ -47,7 +46,3 @@ $kendo-window-sizes: (
47
46
  md: 800px,
48
47
  lg: 1200px
49
48
  ) !default;
50
-
51
- /// The theme colors map of the Window.
52
- /// @group window
53
- $kendo-window-theme-colors: ("primary", "light", "dark") !default;
@@ -71,19 +71,6 @@ $kendo-elevation-bg-chroma-step: 0.001 !default;
71
71
  @return #{$_result};
72
72
  }
73
73
 
74
- // Each elevation-border level increases border opacity by level * this value (in %).
75
- $kendo-elevation-border-opacity-step: 10 !default;
76
-
77
- // The border color for a given elevation level is calculated by increasing the alpha of the base border color
78
- // by a step multiplied by the elevation level, but only if the base border color is light (for dark themes) or dark (for light themes).
79
- // This is achieved by multiplying the step by a clamp function that returns 1 when the border color is in the appropriate range and 0 otherwise.
80
- // clamp(0, (l - 0.5) * 99999, 1) → 1 when border is light (dark theme), 0 when dark (light theme)
81
- // alpha is a <number> (0..1), so we divide the step by 100 instead of multiplying by 1%
82
- @function k-elevation-border($level, $color) {
83
- $_result: "oklch(from #{$color} l c h / calc(alpha + #{$level} * #{$kendo-elevation-border-opacity-step} / 100 * clamp(0, (l - 0.5) * 99999, 1)))";
84
- @return #{$_result};
85
- }
86
-
87
74
 
88
75
  @mixin kendo-elevation--styles() {
89
76
  :root {
package/scss/index.scss CHANGED
@@ -3,6 +3,7 @@
3
3
  @forward "./mixins/index.scss";
4
4
  @forward "./spacing/index.scss";
5
5
  @forward "./elevation/index.scss";
6
+ @forward "./translucency/index.scss";
6
7
  @forward "./typography/index.scss";
7
8
  @forward "./border-radii/index.scss";
8
9
  @forward "./motion/index.scss";
@@ -12,6 +13,7 @@
12
13
  @use "./color-system/index.scss" as *;
13
14
  @use "./mixins/index.scss" as *;
14
15
  @use "./elevation/index.scss" as *;
16
+ @use "./translucency/index.scss" as *;
15
17
  @use "./typography/index.scss" as *;
16
18
  @use "./spacing/index.scss" as *;
17
19
  @use "./motion/index.scss" as *;
@@ -2,8 +2,11 @@
2
2
  @use "../_variables.scss" as *;
3
3
  @use "./_box-shadow.scss" as *;
4
4
 
5
- @mixin focus-indicator( $indicator, $inset: false, $themeable: false, $type: "box-shadow" ) {
6
- @if $kendo-enable-focus-contrast and list.nth($indicator, 1) {
5
+ @mixin focus-indicator( $indicator, $inset: false, $themeable: false, $type: "box-shadow", $outline-width: 1px, $outline-offset: 0px ) {
6
+ @if $type == "outline" {
7
+ outline: var(--kendo-focus-outline-width, $outline-width) solid $indicator;
8
+ outline-offset: if( $inset, calc(-1 * var(--kendo-focus-outline-offset, $outline-offset)), var(--kendo-focus-outline-offset, $outline-offset));
9
+ } @else if $kendo-enable-focus-contrast and list.nth($indicator, 1) {
7
10
  @include box-shadow( if( $inset, inset, null ) 0 0 0 2px if( $themeable, currentColor, rgb( 0, 0, 0 ) ) );
8
11
  } @else {
9
12
  @include box-shadow( $indicator... );
@@ -0,0 +1,20 @@
1
+ $kendo-translucency-base: 0% !default;
2
+
3
+ @function k-translucency-bg($color) {
4
+ $_result: "oklch(from #{$color} l c h / calc(100% - calc(var(--kendo-translucency-base))))";
5
+ @return #{$_result};
6
+ }
7
+
8
+ $kendo-translucency-blur-base: 6px !default;
9
+ $kendo-translucency-blur-step: 2px !default;
10
+
11
+ @function k-translucency-blur($level: 1) {
12
+ $_result: "blur(calc(#{$kendo-translucency-blur-base} + calc(#{$level} * #{$kendo-translucency-blur-step})))";
13
+ @return #{$_result};
14
+ }
15
+
16
+ @mixin kendo-translucency--styles() {
17
+ :root {
18
+ --kendo-translucency-base: #{$kendo-translucency-base};
19
+ }
20
+ }