@progress/kendo-theme-core 12.0.2-dev.1 → 12.1.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/meta/sassdoc-data.json +51 -0
  2. package/dist/meta/sassdoc-raw-data.json +49 -0
  3. package/dist/meta/variables.json +25 -0
  4. package/package.json +2 -2
  5. package/scss/components/action-sheet/_layout.scss +5 -4
  6. package/scss/components/appbar/_layout.scss +2 -1
  7. package/scss/components/badge/_layout.scss +2 -1
  8. package/scss/components/bottom-navigation/_layout.scss +2 -1
  9. package/scss/components/button/_layout.scss +4 -3
  10. package/scss/components/calendar/_layout.scss +9 -8
  11. package/scss/components/card/_layout.scss +3 -2
  12. package/scss/components/chat/_layout.scss +1 -0
  13. package/scss/components/checkbox/_layout.scss +2 -1
  14. package/scss/components/color-preview/_layout.scss +2 -1
  15. package/scss/components/coloreditor/_layout.scss +3 -1
  16. package/scss/components/colorgradient/_layout.scss +4 -3
  17. package/scss/components/colorpalette/_layout.scss +3 -2
  18. package/scss/components/dataviz/_layout.scss +4 -3
  19. package/scss/components/dialog/_layout.scss +2 -1
  20. package/scss/components/dock-manager/_layout.scss +5 -3
  21. package/scss/components/draggable/_layout.scss +3 -2
  22. package/scss/components/drawer/_layout.scss +2 -1
  23. package/scss/components/editor/_layout.scss +6 -5
  24. package/scss/components/filemanager/_layout.scss +2 -1
  25. package/scss/components/gantt/_layout.scss +17 -16
  26. package/scss/components/grid/_layout.scss +14 -14
  27. package/scss/components/input/_layout.scss +3 -2
  28. package/scss/components/loader/_layout.scss +4 -3
  29. package/scss/components/map/_layout.scss +2 -1
  30. package/scss/components/marquee/_layout.scss +3 -1
  31. package/scss/components/mediaplayer/_layout.scss +5 -4
  32. package/scss/components/menu/_layout.scss +2 -1
  33. package/scss/components/notification/_layout.scss +2 -1
  34. package/scss/components/orgchart/_layout.scss +2 -1
  35. package/scss/components/overlay/_layout.scss +2 -1
  36. package/scss/components/pager/_layout.scss +3 -2
  37. package/scss/components/pdf-viewer/_layout.scss +9 -8
  38. package/scss/components/pivotgrid/_layout.scss +3 -2
  39. package/scss/components/popover/_layout.scss +2 -1
  40. package/scss/components/popup/_layout.scss +6 -5
  41. package/scss/components/prompt/_layout.scss +2 -1
  42. package/scss/components/radio/_layout.scss +2 -1
  43. package/scss/components/ripple/_layout.scss +3 -1
  44. package/scss/components/scheduler/_layout.scss +9 -8
  45. package/scss/components/scroller/_layout.scss +4 -2
  46. package/scss/components/signature/_layout.scss +4 -3
  47. package/scss/components/splitter/_layout.scss +3 -2
  48. package/scss/components/spreadsheet/_layout.scss +14 -13
  49. package/scss/components/stepper/_layout.scss +8 -7
  50. package/scss/components/tabstrip/_layout.scss +4 -3
  51. package/scss/components/taskboard/_layout.scss +2 -1
  52. package/scss/components/tilelayout/_layout.scss +4 -3
  53. package/scss/components/timeline/_layout.scss +5 -4
  54. package/scss/components/timeselector/_layout.scss +5 -4
  55. package/scss/components/toolbar/_layout.scss +2 -1
  56. package/scss/components/tooltip/_layout.scss +2 -1
  57. package/scss/components/treelist/_layout.scss +4 -3
  58. package/scss/components/treeview/_layout.scss +2 -1
  59. package/scss/components/upload/_layout.scss +2 -1
  60. package/scss/components/validator/_layout.scss +2 -1
  61. package/scss/components/virtual-scroller/_layout.scss +4 -2
  62. package/scss/components/window/_layout.scss +2 -1
  63. package/scss/index.scss +1 -0
  64. package/scss/z-index/index.import.scss +36 -0
@@ -10826,6 +10826,57 @@
10826
10826
  "description": "The string to escape"
10827
10827
  }
10828
10828
  ]
10829
+ },
10830
+ {
10831
+ "description": "Return a z-index value based on layer and number of steps.\n",
10832
+ "commentRange": {
10833
+ "start": 23,
10834
+ "end": 27
10835
+ },
10836
+ "context": {
10837
+ "type": "function",
10838
+ "name": "k-z-index",
10839
+ "code": "\n $layer-value: map.get($kendo-z-layers, $layer);\n\n @if not $layer-value {\n @error \"Layer '#{$layer}' not found in $kendo-z-layers map.\";\n }\n\n @return $layer-value + ($n * $kendo-z-step) + $delta;\n",
10840
+ "line": {
10841
+ "start": 28,
10842
+ "end": 36
10843
+ },
10844
+ "signature": "k-z-index($layer, $Number, $Balancing)"
10845
+ },
10846
+ "return": {
10847
+ "type": "Number",
10848
+ "description": "Calculated z-index value."
10849
+ },
10850
+ "access": "public",
10851
+ "group": [
10852
+ "undefined"
10853
+ ],
10854
+ "require": [],
10855
+ "throw": [
10856
+ "Layer "
10857
+ ],
10858
+ "file": {
10859
+ "path": "core/scss/z-index/index.import.scss",
10860
+ "name": "index.import.scss"
10861
+ },
10862
+ "examples": [],
10863
+ "parameters": [
10864
+ {
10865
+ "type": "String",
10866
+ "name": "layer",
10867
+ "description": "The layer key from the $kendo-z-layers map."
10868
+ },
10869
+ {
10870
+ "type": "Number} $n [0] - {Optional",
10871
+ "name": "Number",
10872
+ "description": "of steps above the base layer."
10873
+ },
10874
+ {
10875
+ "type": "Number} $delta [0] - {Deprecated, Optional",
10876
+ "name": "Balancing",
10877
+ "description": "value."
10878
+ }
10879
+ ]
10829
10880
  }
10830
10881
  ],
10831
10882
  "placeholders": [],
@@ -10041,5 +10041,54 @@
10041
10041
  "path": "styles/_accessibility.scss",
10042
10042
  "name": "_accessibility.scss"
10043
10043
  }
10044
+ },
10045
+ {
10046
+ "description": "Return a z-index value based on layer and number of steps.\n",
10047
+ "commentRange": {
10048
+ "start": 23,
10049
+ "end": 27
10050
+ },
10051
+ "context": {
10052
+ "type": "function",
10053
+ "name": "k-z-index",
10054
+ "code": "\n $layer-value: map.get($kendo-z-layers, $layer);\n\n @if not $layer-value {\n @error \"Layer '#{$layer}' not found in $kendo-z-layers map.\";\n }\n\n @return $layer-value + ($n * $kendo-z-step) + $delta;\n",
10055
+ "line": {
10056
+ "start": 28,
10057
+ "end": 36
10058
+ }
10059
+ },
10060
+ "parameter": [
10061
+ {
10062
+ "type": "String",
10063
+ "name": "layer",
10064
+ "description": "The layer key from the $kendo-z-layers map."
10065
+ },
10066
+ {
10067
+ "type": "Number} $n [0] - {Optional",
10068
+ "name": "Number",
10069
+ "description": "of steps above the base layer."
10070
+ },
10071
+ {
10072
+ "type": "Number} $delta [0] - {Deprecated, Optional",
10073
+ "name": "Balancing",
10074
+ "description": "value."
10075
+ }
10076
+ ],
10077
+ "return": {
10078
+ "type": "Number",
10079
+ "description": "Calculated z-index value."
10080
+ },
10081
+ "access": "public",
10082
+ "group": [
10083
+ "undefined"
10084
+ ],
10085
+ "require": [],
10086
+ "throw": [
10087
+ "Layer "
10088
+ ],
10089
+ "file": {
10090
+ "path": "z-index/index.import.scss",
10091
+ "name": "index.import.scss"
10092
+ }
10044
10093
  }
10045
10094
  ]
@@ -886,5 +886,30 @@
886
886
  "kendo-transition": {
887
887
  "type": "List",
888
888
  "value": "(color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out)"
889
+ },
890
+ "kendo-z-step": {
891
+ "type": "Number",
892
+ "value": "1"
893
+ },
894
+ "kendo-z-layers": {
895
+ "type": "Map",
896
+ "value": "(bottom: -1, base: 0, handle: 10, selection: 100, badge: 300, animation: 600, banner: 1000, floating: 5000, overlay: 10000, drawer: 11000, modal: 11500, popup: 12000, loading: 20000, top: 100000, scroll: 200000)",
897
+ "prettyValue": {
898
+ "bottom": -1,
899
+ "base": 0,
900
+ "handle": 10,
901
+ "selection": 100,
902
+ "badge": 300,
903
+ "animation": 600,
904
+ "banner": 1000,
905
+ "floating": 5000,
906
+ "overlay": 10000,
907
+ "drawer": 11000,
908
+ "modal": 11500,
909
+ "popup": 12000,
910
+ "loading": 20000,
911
+ "top": 100000,
912
+ "scroll": 200000
913
+ }
889
914
  }
890
915
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-core",
3
3
  "description": "A collection of functions and mixins used for building themes for Kendo UI",
4
- "version": "12.0.2-dev.1",
4
+ "version": "12.1.0-dev.0",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -46,5 +46,5 @@
46
46
  "directories": {
47
47
  "doc": "docs"
48
48
  },
49
- "gitHead": "d445807a67dc48f595ab5f34026a6b1da89ff9e8"
49
+ "gitHead": "b1609a5c919e4965dd210cd03499604f10582cf9"
50
50
  }
@@ -1,5 +1,6 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
2
  @use "./variables.scss" as *;
3
+ @use "../../z-index/index.import.scss" as *;
3
4
 
4
5
  @mixin kendo-action-sheet--layout-base() {
5
6
 
@@ -12,14 +13,14 @@
12
13
  position: fixed;
13
14
  inset-block-start: 0;
14
15
  inset-inline-start: 0;
15
- z-index: 9999;
16
+ z-index: k-z-index("overlay");
16
17
  overflow: hidden;
17
18
  transform: translateZ(0);
18
19
 
19
20
  // Overlay
20
21
  > .k-overlay {
21
22
  position: absolute;
22
- z-index: 1;
23
+ z-index: k-z-index("base", 1);
23
24
  }
24
25
 
25
26
  // Nested animation container
@@ -29,7 +30,7 @@
29
30
  border-radius: 0;
30
31
  overflow: hidden;
31
32
  position: absolute;
32
- z-index: 2;
33
+ z-index: k-z-index("base", 2);
33
34
  inset-block-start: 0;
34
35
  inset-inline-start: 0;
35
36
  pointer-events: none;
@@ -42,7 +43,7 @@
42
43
  // No animation container
43
44
  > .k-actionsheet {
44
45
  position: absolute;
45
- z-index: 2;
46
+ z-index: k-z-index("base", 2);
46
47
  }
47
48
 
48
49
  // Enable mouse events for action sheet
@@ -1,5 +1,6 @@
1
1
  @use "../../color-system/_constants.scss" as *;
2
2
  @use "./variables.scss" as *;
3
+ @use "../../z-index/index.import.scss" as *;
3
4
 
4
5
  @mixin kendo-appbar--layout-base() {
5
6
 
@@ -94,7 +95,7 @@
94
95
  .k-appbar-fixed {
95
96
  width: 100%;
96
97
  position: fixed;
97
- z-index: 1;
98
+ z-index: k-z-index("floating");
98
99
  }
99
100
 
100
101
 
@@ -1,6 +1,7 @@
1
1
  @use "sass:map";
2
2
  @use "../../color-system/_functions.import.scss" as *;
3
3
  @use "./_variables.scss" as *;
4
+ @use "../../z-index/index.import.scss" as *;
4
5
 
5
6
  @mixin kendo-badge--layout-base() {
6
7
 
@@ -90,7 +91,7 @@
90
91
 
91
92
  .k-badge-#{$placement} {
92
93
  position: absolute;
93
- z-index: 9999;
94
+ z-index: k-z-index("badge");
94
95
 
95
96
  &.k-top-start {
96
97
  @if $translate {
@@ -1,4 +1,5 @@
1
1
  @use "../../color-system/_constants.scss" as *;
2
+ @use "../../z-index/index.import.scss" as *;
2
3
  @use "./variables.scss" as *;
3
4
 
4
5
  @mixin kendo-bottom-navigation--layout-base() {
@@ -111,7 +112,7 @@
111
112
  // Positioning
112
113
  .k-bottom-nav.k-pos-fixed {
113
114
  inset-block-end: 0;
114
- z-index: 1;
115
+ z-index: k-z-index("floating");
115
116
  }
116
117
 
117
118
  }
@@ -3,6 +3,7 @@
3
3
  @use "../../color-system/_constants.scss" as *;
4
4
  @use "./_variables.scss" as *;
5
5
  @use "../icons/_variables.scss" as *;
6
+ @use "../../z-index/index.import.scss" as *;
6
7
 
7
8
  @mixin kendo-button--layout-base() {
8
9
 
@@ -172,7 +173,7 @@
172
173
  > .k-button:active,
173
174
  > .k-button.k-active,
174
175
  > .k-button.k-selected {
175
- z-index: 2;
176
+ z-index: k-z-index("base", 2);
176
177
  }
177
178
 
178
179
  .k-button:not(:first-child):not(:last-child) {
@@ -272,7 +273,7 @@
272
273
  inset-inline-end: calc( -1 * $kendo-button-border-width );
273
274
  inset-block-start: calc( -1 * $kendo-button-border-width );
274
275
  inset-block-end: calc( -1 * $kendo-button-border-width );
275
- z-index: 0;
276
+ z-index: k-z-index("base");
276
277
  transition: opacity .2s ease-in-out;
277
278
  }
278
279
 
@@ -337,7 +338,7 @@
337
338
  inset-inline-end: calc( -1 * $kendo-button-border-width );
338
339
  inset-block-start: calc( -1 * $kendo-button-border-width );
339
340
  inset-block-end: calc( -1 * $kendo-button-border-width );
340
- z-index: 0;
341
+ z-index: k-z-index("base");
341
342
  transition: opacity .2s ease-in-out;
342
343
  }
343
344
  }
@@ -2,6 +2,7 @@
2
2
  @use "sass:math";
3
3
  @use "../../color-system/_constants.scss" as *;
4
4
  @use "../../mixins/index.import.scss" as *;
5
+ @use "../../z-index/index.import.scss" as *;
5
6
  @use "./variables.scss" as *;
6
7
 
7
8
  @mixin kendo-calendar--layout-base() {
@@ -47,7 +48,7 @@
47
48
  outline: 0;
48
49
  display: table;
49
50
  position: relative;
50
- z-index: 1;
51
+ z-index: k-z-index("base", 1);
51
52
  }
52
53
  .k-calendar-caption,
53
54
  .k-calendar-caption.k-calendar-th,
@@ -128,7 +129,7 @@
128
129
  gap: $kendo-calendar-nav-gap;
129
130
  align-items: center;
130
131
  position: relative;
131
- z-index: 2;
132
+ z-index: k-z-index("base", 2);
132
133
  }
133
134
 
134
135
 
@@ -174,7 +175,7 @@
174
175
  box-sizing: content-box;
175
176
  gap: $kendo-calendar-view-gap;
176
177
  position: relative;
177
- z-index: 1;
178
+ z-index: k-z-index("base", 1);
178
179
  overflow: hidden;
179
180
 
180
181
  .k-today {
@@ -219,7 +220,7 @@
219
220
 
220
221
  .k-calendar-td {
221
222
  width: var( --INTERNAL--kendo-calendar-cell-size, #{$_decade-cell-size} );
222
- height: var( --INTERNAL--kendo-calendar-cell-size, #{$_decade-cell-size} );;
223
+ height: var( --INTERNAL--kendo-calendar-cell-size, #{$_decade-cell-size} );
223
224
  inline-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_decade-cell-size} );
224
225
  block-size: var( --INTERNAL--kendo-calendar-cell-size, #{$_decade-cell-size} );
225
226
  }
@@ -272,7 +273,7 @@
272
273
  // scoped in calendar until it is used elsewhere
273
274
  .k-calendar .k-scrollable-placeholder {
274
275
  position: absolute;
275
- z-index: -1;
276
+ z-index: k-z-index("bottom");
276
277
  width: 1px;
277
278
  inset-block-start: 0;
278
279
  inset-inline-end: 0;
@@ -358,7 +359,7 @@
358
359
  content: "\200b";
359
360
  height: 0;
360
361
  line-height: 0;
361
- z-index: 1;
362
+ z-index: k-z-index("base", 1);
362
363
  width: 150%;
363
364
  inset-inline-start: -25%;
364
365
  box-shadow: 0 0 $kendo-calendar-cell-size calc( #{$kendo-calendar-cell-size} / 2 ) $kendo-calendar-bg;
@@ -388,7 +389,7 @@
388
389
  display: block;
389
390
  overflow: hidden;
390
391
  position: relative;
391
- z-index: 1;
392
+ z-index: k-z-index("base", 1);
392
393
 
393
394
  &::before,
394
395
  &::after {
@@ -397,7 +398,7 @@
397
398
  content: "\200b";
398
399
  height: 0;
399
400
  line-height: 0;
400
- z-index: 1;
401
+ z-index: k-z-index("base", 1);
401
402
  width: 200%;
402
403
  inset-inline-start: -50%;
403
404
  $shadow-size: calc( 3 * #{$kendo-calendar-navigation-item-height} );
@@ -1,6 +1,7 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
2
  @use "../../color-system/_constants.scss" as *;
3
3
  @use "../../typography/index.import.scss" as *;
4
+ @use "../../z-index/index.import.scss" as *;
4
5
  @use "./variables.scss" as *;
5
6
  @use "../typography/_variables.scss" as *;
6
7
 
@@ -71,7 +72,7 @@
71
72
  flex-shrink: 0;
72
73
  overflow: hidden;
73
74
  position: relative;
74
- z-index: 1;
75
+ z-index: k-z-index("base", 1);
75
76
 
76
77
  .k-card-title,
77
78
  .k-card-subtitle {
@@ -242,7 +243,7 @@
242
243
  @include border-radius( $kendo-card-deck-scroll-button-radius );
243
244
  flex: 0 0 auto;
244
245
  position: absolute;
245
- z-index: 1;
246
+ z-index: k-z-index("base", 1);
246
247
 
247
248
  &:first-child {
248
249
  inset-inline-start: $kendo-card-deck-scroll-button-offset;
@@ -2,6 +2,7 @@
2
2
  @use "../../spacing/index.import.scss" as *;
3
3
  @use "../../border-radii/index.import.scss" as *;
4
4
  @use "../../mixins/index.import.scss" as *;
5
+ @use "../../z-index/index.import.scss" as *;
5
6
  @use "./variables.scss" as *;
6
7
  @use "../toolbar/_variables.scss" as *;
7
8
  @use "../bubble/_variables.scss" as *;
@@ -1,6 +1,7 @@
1
1
  @use "sass:map";
2
2
  @use "../../mixins/index.import.scss" as *;
3
3
  @use "../../spacing/index.import.scss" as *;
4
+ @use "../../z-index/index.import.scss" as *;
4
5
  @use "../../_variables.scss" as *;
5
6
  @use "./_variables.scss" as *;
6
7
 
@@ -182,7 +183,7 @@
182
183
  top: 50%;
183
184
  left: 50%;
184
185
  border-radius: 100%;
185
- z-index: -1;
186
+ z-index: k-z-index("bottom");
186
187
  transition: opacity 100ms linear, transform 150ms cubic-bezier(.4, 0, .2, 1);
187
188
  transform: translate(-50%, -50%) scale(0);
188
189
  transform-origin: center center;
@@ -1,5 +1,6 @@
1
1
  @use "./_variables.scss" as *;
2
2
  @use "../icons/_variables.scss" as *;
3
+ @use "../../z-index/index.import.scss" as *;
3
4
 
4
5
  @mixin kendo-color-preview--layout-base() {
5
6
 
@@ -60,7 +61,7 @@
60
61
  position: absolute;
61
62
  inset-block-start: 0;
62
63
  inset-inline-start: 0;
63
- z-index: -1;
64
+ z-index: k-z-index("bottom");
64
65
  background: $kendo-color-preview-transparent-color-image;
65
66
  background-size: contain;
66
67
  background-position: 0 0;
@@ -2,6 +2,8 @@
2
2
  @use "../../mixins/index.import.scss" as *;
3
3
  @use "./variables.scss" as *;
4
4
  @use "../colorpalette/_variables.scss" as *;
5
+ @use "../../z-index/index.import.scss" as *;
6
+
5
7
 
6
8
  @mixin kendo-color-editor--layout-base() {
7
9
 
@@ -43,7 +45,7 @@
43
45
  justify-content: center;
44
46
  gap: $kendo-color-editor-preview-gap;
45
47
  position: relative;
46
- z-index: 1;
48
+ z-index: k-z-index("base", 1);
47
49
  }
48
50
 
49
51
  .k-coloreditor-preview .k-color-preview {
@@ -2,6 +2,7 @@
2
2
  @use "sass:math";
3
3
  @use "../../mixins/index.import.scss" as *;
4
4
  @use "../../color-system/_constants.scss" as *;
5
+ @use "../../z-index/index.import.scss" as *;
5
6
  @use "./variables.scss" as *;
6
7
 
7
8
  @mixin kendo-color-gradient--layout-base() {
@@ -55,7 +56,7 @@
55
56
  position: absolute;
56
57
  top: 50%;
57
58
  left: 50%;
58
- z-index: 1;
59
+ z-index: k-z-index("base", 1);
59
60
  cursor: pointer;
60
61
  }
61
62
 
@@ -113,11 +114,11 @@
113
114
  display: block;
114
115
  border-radius: 10px;
115
116
  position: relative;
116
- z-index: -1;
117
+ z-index: k-z-index("bottom");
117
118
  }
118
119
 
119
120
  .k-slider-track-wrap {
120
- z-index: 1;
121
+ z-index: k-z-index("base", 1);
121
122
  }
122
123
 
123
124
  .k-slider-selection {
@@ -1,6 +1,7 @@
1
1
  @use "sass:map";
2
2
  @use "../../color-system/_constants.scss" as *;
3
3
  @use "./variables.scss" as *;
4
+ @use "../../z-index/index.import.scss" as *;
4
5
 
5
6
  @mixin kendo-color-palette--layout-base() {
6
7
 
@@ -43,7 +44,7 @@
43
44
  &:hover,
44
45
  &.k-hover {
45
46
  position: relative;
46
- z-index: 101;
47
+ z-index: k-z-index("base", 2);
47
48
  }
48
49
 
49
50
  &:focus,
@@ -51,7 +52,7 @@
51
52
  &.k-selected,
52
53
  &.k-selected:hover {
53
54
  position: relative;
54
- z-index: 100;
55
+ z-index: k-z-index("base", 1);
55
56
  }
56
57
  }
57
58
 
@@ -5,6 +5,7 @@
5
5
  @use "../../color-system/_constants.scss" as *;
6
6
  @use "../../typography/index.import.scss" as *;
7
7
  @use "../../border-radii/index.import.scss" as *;
8
+ @use "../../z-index/index.import.scss" as *;
8
9
  @use "../../mixins/index.import.scss" as *;
9
10
  @use "../../functions/index.import.scss" as *;
10
11
  @use "../../_variables.scss" as *;
@@ -59,7 +60,7 @@
59
60
 
60
61
  .k-sparkline-tooltip-wrapper,
61
62
  .k-chart-tooltip-wrapper {
62
- z-index: 12000;
63
+ z-index: k-z-index("popup");
63
64
 
64
65
  .k-popup {
65
66
  @include border-radius( k-border-radius(md) );
@@ -136,7 +137,7 @@
136
137
  height: $kendo-chart-selection-handle-size;
137
138
  border-width: 1px;
138
139
  border-style: solid;
139
- z-index: 1;
140
+ z-index: k-z-index("handle");
140
141
  position: absolute;
141
142
  box-sizing: content-box;
142
143
  }
@@ -245,7 +246,7 @@
245
246
  inset-block-start: 0;
246
247
  inset-inline-start: 0;
247
248
  opacity: 1;
248
- z-index: 10001;
249
+ z-index: k-z-index("overlay");
249
250
 
250
251
  &-top {
251
252
  inset-block-start: var( --kendo-chart-computed-title-height, #{$kendo-chart-computed-title-height} );
@@ -1,6 +1,7 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
2
  @use "./variables.scss" as *;
3
3
  @use "../window/_variables.scss" as *;
4
+ @use "../../z-index/index.import.scss" as *;
4
5
 
5
6
  @mixin kendo-dialog--layout-base() {
6
7
 
@@ -15,7 +16,7 @@
15
16
  inset-inline-start: 0;
16
17
  width: 100%;
17
18
  height: 100%;
18
- z-index: 10001;
19
+ z-index: k-z-index("overlay", 1);
19
20
 
20
21
  .k-dialog {
21
22
  position: relative;
@@ -1,5 +1,6 @@
1
1
  @use "../../typography/index.import.scss" as *;
2
2
  @use "./variables.scss" as *;
3
+ @use "../../z-index/index.import.scss" as *;
3
4
 
4
5
  @mixin kendo-dock-manager--layout-base() {
5
6
 
@@ -126,7 +127,7 @@
126
127
  display: flex;
127
128
  height: 100%;
128
129
  border-color: inherit;
129
- z-index: 20;
130
+ z-index: k-z-index("floating");
130
131
 
131
132
  .k-pane {
132
133
  display: inline-flex;
@@ -155,7 +156,7 @@
155
156
  border-width: $kendo-dock-manager-dock-preview-border-width;
156
157
  border-style: $kendo-dock-manager-dock-preview-border-style;
157
158
  border-radius: $kendo-dock-manager-dock-preview-border-radius;
158
- z-index: 10;
159
+ z-index: k-z-index("top");
159
160
  }
160
161
 
161
162
  .k-dock-manager-window:has(.k-pane) .k-window-content {
@@ -174,7 +175,7 @@
174
175
  flex-direction: column;
175
176
  align-items: center;
176
177
  position: absolute;
177
- z-index: 10001;
178
+ z-index: k-z-index("overlay", 1);
178
179
  pointer-events: none;
179
180
  }
180
181
 
@@ -196,6 +197,7 @@
196
197
  pointer-events: all;
197
198
  outline-width: $kendo-dock-indicator-outline-width;
198
199
  outline-style: $kendo-dock-indicator-outline-style;
200
+ z-index: k-z-index("top", 1);
199
201
 
200
202
  &.k-dock-indicator-middle {
201
203
  filter: none;
@@ -2,6 +2,7 @@
2
2
  @use "../../mixins/index.import.scss" as *;
3
3
  @use "./_variables.scss" as *;
4
4
  @use "../../_variables.scss" as *;
5
+ @use "../../z-index/index.import.scss" as *;
5
6
 
6
7
  @mixin kendo-draggable--layout-base() {
7
8
 
@@ -24,7 +25,7 @@
24
25
  opacity: $kendo-drag-hint-opacity;
25
26
  overflow: hidden;
26
27
  position: absolute;
27
- z-index: 20000;
28
+ z-index: k-z-index("floating");
28
29
  cursor: move;
29
30
  }
30
31
  .k-drag-status,
@@ -41,7 +42,7 @@
41
42
  justify-content: space-between;
42
43
  align-items: center;
43
44
  position: absolute;
44
- z-index: 1000;
45
+ z-index: k-z-index("floating");
45
46
  transform: translate(-50%, -50%);
46
47
  }
47
48
 
@@ -1,5 +1,6 @@
1
1
  @use "../../color-system/_constants.scss" as *;
2
2
  @use "./variables.scss" as *;
3
+ @use "../../z-index/index.import.scss" as *;
3
4
 
4
5
  @mixin kendo-drawer--layout-base() {
5
6
 
@@ -78,7 +79,7 @@
78
79
  .k-drawer {
79
80
  max-width: 80vw; // limit width
80
81
  position: fixed;
81
- z-index: 10002;
82
+ z-index: k-z-index("drawer");
82
83
  border: 0;
83
84
  }
84
85