@progress/kendo-theme-core 13.0.0-dev.1 → 13.0.0-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.
Files changed (40) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/meta/sassdoc-data.json +186 -72
  3. package/dist/meta/sassdoc-raw-data.json +82 -32
  4. package/dist/meta/variables.json +10 -8
  5. package/package.json +2 -2
  6. package/scss/components/bubble/_layout.scss +1 -2
  7. package/scss/components/chat/_layout.scss +87 -131
  8. package/scss/components/chat/_theme.scss +25 -16
  9. package/scss/components/chat/_variables.scss +12 -18
  10. package/scss/components/dropdowntree/_layout.scss +7 -7
  11. package/scss/components/dropdowntree/_variables.scss +3 -0
  12. package/scss/components/file-box/_layout.scss +122 -0
  13. package/scss/components/file-box/_theme.scss +22 -0
  14. package/scss/components/file-box/_variables.scss +19 -0
  15. package/scss/components/icons/_theme.scss +7 -1
  16. package/scss/components/icons/_variables.scss +2 -0
  17. package/scss/components/list/_layout.scss +63 -3
  18. package/scss/components/list/_theme.scss +8 -0
  19. package/scss/components/list/_variables.scss +11 -0
  20. package/scss/components/prompt-box/_layout.scss +63 -0
  21. package/scss/components/prompt-box/_theme.scss +7 -0
  22. package/scss/components/prompt-box/_variables.scss +11 -0
  23. package/scss/components/segmented-control/_layout.scss +85 -0
  24. package/scss/components/segmented-control/_theme.scss +38 -0
  25. package/scss/components/segmented-control/_variables.scss +73 -0
  26. package/scss/components/smart-box/_layout.scss +85 -0
  27. package/scss/components/smart-box/_theme.scss +5 -0
  28. package/scss/components/smart-box/_variables.scss +40 -0
  29. package/scss/components/suggestion/_layout.scss +33 -11
  30. package/scss/components/suggestion/_theme.scss +23 -0
  31. package/scss/components/suggestion/_variables.scss +3 -0
  32. package/scss/components/tabstrip/_layout.scss +30 -0
  33. package/scss/components/tabstrip/_theme.scss +8 -0
  34. package/scss/components/toolbar/_layout.scss +3 -0
  35. package/scss/components/toolbar/_variables.scss +1 -0
  36. package/scss/components/treeview/_layout.scss +14 -10
  37. package/scss/components/treeview/_theme.scss +7 -6
  38. package/scss/components/treeview/_variables.scss +4 -0
  39. package/scss/elevation/index.scss +1 -2
  40. package/scss/motion/index.scss +1 -0
@@ -5,6 +5,7 @@ $kendo-suggestion-spacing: null !default;
5
5
  $kendo-suggestion-border-width: null !default;
6
6
  $kendo-suggestion-border-style: null !default;
7
7
 
8
+ $kendo-suggestion-font-size: null !default;
8
9
  $kendo-suggestion-line-height: null !default;
9
10
  $kendo-suggestion-border-radius: null !default;
10
11
 
@@ -17,3 +18,5 @@ $kendo-suggestion-focus-shadow-color: null !default;
17
18
  $kendo-suggestion-theme-colors: ("base", "primary", "secondary") !default;
18
19
 
19
20
  $kendo-suggestion-default-theme-color: null !default;
21
+
22
+ $kendo-suggestion-scroll-gradient: null !default;
@@ -6,6 +6,8 @@
6
6
  @use "./_variables.scss" as *;
7
7
  @use "../../z-index/index.scss" as *;
8
8
  @use "../../motion/index.scss" as *;
9
+ @use "../../spacing/index.scss" as *;
10
+ @use "../../typography/index.scss" as *;
9
11
 
10
12
  @mixin kendo-tabstrip--layout-base() {
11
13
 
@@ -299,6 +301,34 @@
299
301
  }
300
302
 
301
303
 
304
+ // Overflow
305
+ .k-tabstrip-overflow {
306
+ > .k-tabstrip-items-wrapper {
307
+ > .k-tabstrip-items {
308
+ flex-wrap: nowrap;
309
+ white-space: nowrap;
310
+ }
311
+ }
312
+
313
+ .k-tabstrip-overflow-button {
314
+ flex-shrink: 0;
315
+ }
316
+ }
317
+
318
+
319
+ // Actions container
320
+ .k-tabstrip-actions {
321
+ flex-shrink: 0;
322
+ gap: k-spacing(0.5);
323
+ align-items: center;
324
+
325
+ > .k-separator-vertical {
326
+ height: $kendo-line-height-em;
327
+ align-self: center;
328
+ }
329
+ }
330
+
331
+
302
332
  // Tabstrip orientation
303
333
  .k-tabstrip-horizontal {
304
334
  flex-direction: row;
@@ -76,6 +76,14 @@
76
76
  }
77
77
 
78
78
 
79
+ // Actions
80
+ .k-tabstrip-actions {
81
+ > .k-separator {
82
+ border-color: $kendo-tabstrip-border;
83
+ }
84
+ }
85
+
86
+
79
87
  // Content
80
88
  .k-tabstrip-content,
81
89
  .k-tabstrip > .k-content {
@@ -91,6 +91,9 @@
91
91
  .k-color-picker {
92
92
  width: min-content;
93
93
  }
94
+ .k-smart-box {
95
+ min-width: $kendo-toolbar-smart-box-min-width;
96
+ }
94
97
 
95
98
 
96
99
  // Overflow anchor
@@ -47,6 +47,7 @@ $kendo-toolbar-flat-scroll-overlay: null !default;
47
47
  $kendo-toolbar-separator-border: null !default;
48
48
 
49
49
  $kendo-toolbar-input-width: null !default;
50
+ $kendo-toolbar-smart-box-min-width: null !default;
50
51
 
51
52
  $kendo-toolbar-item-shadow: null !default;
52
53
 
@@ -3,6 +3,7 @@
3
3
  @use "../../mixins/index.scss" as *;
4
4
  @use "../../functions/index.scss" as *;
5
5
  @use "../../spacing/index.scss" as *;
6
+ @use "../../border-radii/index.scss" as *;
6
7
  @use "../../motion/index.scss" as *;
7
8
  @use "./variables.scss" as *;
8
9
  @use "../icons/_variables.scss" as *;
@@ -12,7 +13,7 @@
12
13
 
13
14
  // Treeview
14
15
  .k-treeview {
15
- padding: 0;
16
+ border-radius: $kendo-treeview-border-radius;
16
17
  border-width: 0;
17
18
  background: none;
18
19
  box-sizing: border-box;
@@ -72,6 +73,11 @@
72
73
 
73
74
  // Treeview group
74
75
  .k-treeview-group {
76
+ display: flex;
77
+ flex-direction: column;
78
+ gap: $kendo-treeview-gap;
79
+ min-width: fit-content;
80
+
75
81
  margin: 0;
76
82
  padding: 0;
77
83
  list-style: none;
@@ -83,17 +89,21 @@
83
89
  &.ng-animating {
84
90
  overflow: hidden;
85
91
  }
92
+
93
+ .k-treeview-group {
94
+ margin-top: $kendo-treeview-gap;
95
+ }
86
96
  }
87
97
 
88
98
 
89
99
  // Treeview wrappers
90
- .k-treeview-top,
91
- .k-treeview-mid,
92
- .k-treeview-bot {
100
+ .k-treeview-item-content {
101
+ @include border-radius( $kendo-treeview-item-border-radius );
93
102
  display: flex;
94
103
  flex-direction: row;
95
104
  align-items: center;
96
105
  align-content: center;
106
+ padding-inline-start: calc( var(--kendo-treeview-level, 0) * #{$kendo-treeview-indent} );
97
107
  }
98
108
 
99
109
 
@@ -102,7 +112,6 @@
102
112
  outline-style: none;
103
113
  margin: 0;
104
114
  padding: 0;
105
- padding-inline-start: $kendo-treeview-indent;
106
115
  border-width: 0;
107
116
  display: block;
108
117
  }
@@ -138,7 +147,6 @@
138
147
 
139
148
  // Treeview leaf
140
149
  .k-treeview-leaf {
141
- @include border-radius( $kendo-treeview-item-border-radius );
142
150
  padding-block: $kendo-treeview-md-item-padding-y;
143
151
  padding-inline: $kendo-treeview-md-item-padding-x;
144
152
  border: $kendo-treeview-item-border-width solid transparent;
@@ -155,10 +163,6 @@
155
163
  .k-sprite {
156
164
  margin-inline-end: $kendo-icon-spacing;
157
165
  }
158
-
159
- &.k-focus {
160
- z-index: k-z-index("base", 1);
161
- }
162
166
  }
163
167
 
164
168
 
@@ -13,12 +13,8 @@
13
13
  }
14
14
 
15
15
 
16
- // Treeview item
17
- .k-treeview-item {}
18
-
19
-
20
- // Treeview leaf
21
- .k-treeview-leaf {
16
+ // Treeview wrappers
17
+ .k-treeview-item-content {
22
18
 
23
19
  // Hover state
24
20
  &:hover,
@@ -45,6 +41,11 @@
45
41
  $kendo-treeview-item-selected-border,
46
42
  $kendo-treeview-item-selected-gradient
47
43
  );
44
+
45
+ &:hover,
46
+ &.k-hover {
47
+ background-color: $kendo-treeview-item-selected-hover-bg;
48
+ }
48
49
  }
49
50
  }
50
51
 
@@ -1,6 +1,8 @@
1
1
  // TreeView
2
2
 
3
3
  $kendo-treeview-default-size: null !default;
4
+ $kendo-treeview-gap: null !default;
5
+ $kendo-treeview-border-radius: null !default;
4
6
 
5
7
  $kendo-treeview-font-family: null !default;
6
8
  $kendo-treeview-font-size: null !default;
@@ -74,6 +76,8 @@ $kendo-treeview-item-selected-text: null !default;
74
76
  $kendo-treeview-item-selected-border: null !default;
75
77
  $kendo-treeview-item-selected-gradient: null !default;
76
78
 
79
+ $kendo-treeview-item-selected-hover-bg: null !default;
80
+
77
81
  $kendo-treeview-item-focus-shadow: null !default;
78
82
 
79
83
  $kendo-treeview-loadmore-bg: null !default;
@@ -2,8 +2,7 @@
2
2
 
3
3
  $default-elevation: (
4
4
  1: (
5
- 0 2px 3px rgba(0, 0, 0, .04),
6
- 0 4px 16px rgba(0, 0, 0, .12)
5
+ 0 2px 3px rgba(0, 0, 0, .04)
7
6
  ),
8
7
  2: (
9
8
  0 4px 6px rgba(0, 0, 0, .06),
@@ -9,6 +9,7 @@ $default-easings: (
9
9
  sharp: cubic-bezier(0.75, 0, 0.25, 1),
10
10
  bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55),
11
11
  elastic: cubic-bezier(0.5, -0.5, 0.5, 1.5),
12
+ stretchy: cubic-bezier(.07, 1.81, .3, .81)
12
13
  ) !default;
13
14
 
14
15
  $default-durations: (