@progress/kendo-theme-default 10.1.0-dev.5 → 10.1.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 (54) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/default-blue.css +1 -1
  3. package/dist/default-dataviz-v4.css +1 -1
  4. package/dist/default-green.css +1 -1
  5. package/dist/default-main-dark.css +1 -1
  6. package/dist/default-main.css +1 -1
  7. package/dist/default-nordic.css +1 -1
  8. package/dist/default-ocean-blue-a11y.css +1 -1
  9. package/dist/default-ocean-blue.css +1 -1
  10. package/dist/default-orange.css +1 -1
  11. package/dist/default-purple.css +1 -1
  12. package/dist/default-turquoise.css +1 -1
  13. package/dist/default-urban.css +1 -1
  14. package/dist/meta/sassdoc-data.json +6854 -1906
  15. package/dist/meta/sassdoc-raw-data.json +3375 -1175
  16. package/dist/meta/variables.json +513 -33
  17. package/lib/swatches/default-blue.json +1 -1
  18. package/lib/swatches/default-dataviz-v4.json +1 -1
  19. package/lib/swatches/default-green.json +1 -1
  20. package/lib/swatches/default-main-dark.json +1 -1
  21. package/lib/swatches/default-main.json +1 -1
  22. package/lib/swatches/default-nordic.json +1 -1
  23. package/lib/swatches/default-ocean-blue-a11y.json +1 -1
  24. package/lib/swatches/default-ocean-blue.json +1 -1
  25. package/lib/swatches/default-orange.json +1 -1
  26. package/lib/swatches/default-purple.json +1 -1
  27. package/lib/swatches/default-turquoise.json +1 -1
  28. package/lib/swatches/default-urban.json +1 -1
  29. package/package.json +4 -4
  30. package/scss/action-sheet/_layout.scss +27 -0
  31. package/scss/button/_variables.scss +8 -8
  32. package/scss/checkbox/_layout.scss +15 -3
  33. package/scss/checkbox/_variables.scss +2 -2
  34. package/scss/coloreditor/_layout.scss +50 -1
  35. package/scss/coloreditor/_variables.scss +119 -1
  36. package/scss/colorgradient/_layout.scss +39 -2
  37. package/scss/colorgradient/_variables.scss +88 -1
  38. package/scss/colorpalette/_variables.scss +36 -0
  39. package/scss/dock-manager/_layout.scss +4 -0
  40. package/scss/index.scss +3 -0
  41. package/scss/input/_layout.scss +52 -0
  42. package/scss/input/_variables.scss +7 -0
  43. package/scss/otp/_index.scss +18 -0
  44. package/scss/otp/_layout.scss +41 -0
  45. package/scss/otp/_theme.scss +12 -0
  46. package/scss/otp/_variables.scss +61 -0
  47. package/scss/radio/_layout.scss +12 -1
  48. package/scss/radio/_variables.scss +1 -1
  49. package/scss/tabstrip/_layout.scss +109 -1
  50. package/scss/tabstrip/_theme.scss +47 -0
  51. package/scss/tabstrip/_variables.scss +64 -0
  52. package/scss/toolbar/_layout.scss +99 -9
  53. package/scss/toolbar/_theme.scss +89 -8
  54. package/scss/toolbar/_variables.scss +34 -9
@@ -27,6 +27,25 @@ $kendo-tabstrip-line-height: var( --kendo-line-height, normal ) !default;
27
27
  /// @group tabstrip
28
28
  $kendo-tabstrip-border-width: 1px !default;
29
29
 
30
+ /// The font size of the small TabStrip.
31
+ /// @group tabstrip
32
+ $kendo-tabstrip-sm-font-size: $kendo-tabstrip-font-size !default;
33
+ /// The line height of the small TabStrip.
34
+ /// @group tabstrip
35
+ $kendo-tabstrip-sm-line-height: $kendo-tabstrip-line-height !default;
36
+ /// The font size of the medium TabStrip.
37
+ /// @group tabstrip
38
+ $kendo-tabstrip-md-font-size: $kendo-tabstrip-font-size !default;
39
+ /// The line height of the medium TabStrip.
40
+ /// @group tabstrip
41
+ $kendo-tabstrip-md-line-height: $kendo-tabstrip-line-height !default;
42
+ /// The font size of the large TabStrip.
43
+ /// @group tabstrip
44
+ $kendo-tabstrip-lg-font-size: var( --kendo-font-size-lg, inherit ) !default;
45
+ /// The line height of the large TabStrip.
46
+ /// @group tabstrip
47
+ $kendo-tabstrip-lg-line-height: var( --kendo-line-height-lg, normal ) !default;
48
+
30
49
  /// The background color of the TabStrip wrapper.
31
50
  /// @group tabstrip
32
51
  $kendo-tabstrip-wrapper-bg: null !default;
@@ -62,6 +81,24 @@ $kendo-tabstrip-item-border-radius: k-border-radius(md) !default;
62
81
  /// The gap between the TabStrip items.
63
82
  /// @group tabstrip
64
83
  $kendo-tabstrip-item-gap: k-spacing(0) !default;
84
+ /// The horizontal padding of the small TabStrip items.
85
+ /// @group tabstrip
86
+ $kendo-tabstrip-sm-item-padding-x: k-spacing(3) !default;
87
+ /// The vertical padding of the small TabStrip items.
88
+ /// @group tabstrip
89
+ $kendo-tabstrip-sm-item-padding-y: k-spacing(1) !default;
90
+ /// The horizontal padding of the medium TabStrip items.
91
+ /// @group tabstrip
92
+ $kendo-tabstrip-md-item-padding-x: $kendo-tabstrip-item-padding-x !default;
93
+ /// The vertical padding of the medium TabStrip items.
94
+ /// @group tabstrip
95
+ $kendo-tabstrip-md-item-padding-y: $kendo-tabstrip-item-padding-y !default;
96
+ /// The horizontal padding of the large TabStrip items.
97
+ /// @group tabstrip
98
+ $kendo-tabstrip-lg-item-padding-x: k-spacing(3) !default;
99
+ /// The vertical padding of the large TabStrip items.
100
+ /// @group tabstrip
101
+ $kendo-tabstrip-lg-item-padding-y: k-spacing(2.5) !default;
65
102
 
66
103
  /// The background color of the TabStrip items.
67
104
  /// @group tabstrip
@@ -162,3 +199,30 @@ $kendo-tabstrip-content-border: $kendo-component-border !default;
162
199
  /// The border color of the focused TabStrip content.
163
200
  /// @group tabstrip
164
201
  $kendo-tabstrip-content-focus-border: $kendo-component-text !default;
202
+
203
+ /// The left and right scroll overlay of the TabStrip.
204
+ /// @group tabstrip
205
+ $kendo-tabstrip-scroll-overlay: if($kendo-enable-color-system, k-color( app-surface ), rgba( $kendo-color-white, 0)), if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
206
+
207
+ /// The size map of the TabStrip.
208
+ /// @group tabstrip
209
+ $kendo-tabstrip-sizes: (
210
+ sm: (
211
+ font-size: $kendo-tabstrip-sm-font-size,
212
+ line-height: $kendo-tabstrip-sm-line-height,
213
+ item-padding-x: $kendo-tabstrip-sm-item-padding-x,
214
+ item-padding-y: $kendo-tabstrip-sm-item-padding-y
215
+ ),
216
+ md: (
217
+ font-size: $kendo-tabstrip-md-font-size,
218
+ line-height: $kendo-tabstrip-md-line-height,
219
+ item-padding-x: $kendo-tabstrip-md-item-padding-x,
220
+ item-padding-y: $kendo-tabstrip-md-item-padding-y
221
+ ),
222
+ lg: (
223
+ font-size: $kendo-tabstrip-lg-font-size,
224
+ line-height: $kendo-tabstrip-lg-line-height,
225
+ item-padding-x: $kendo-tabstrip-lg-item-padding-x,
226
+ item-padding-y: $kendo-tabstrip-lg-item-padding-y
227
+ )
228
+ ) !default;
@@ -39,6 +39,37 @@
39
39
  flex-wrap: nowrap;
40
40
  }
41
41
 
42
+ &.k-toolbar-scrollable {
43
+ flex-wrap: nowrap;
44
+ position: relative;
45
+
46
+ &.k-toolbar-scrollable-overlay {
47
+ &::before {
48
+ content: '';
49
+ height: 100%;
50
+ aspect-ratio: 1;
51
+ position: absolute;
52
+ inset-inline-start: 0;
53
+ z-index: 3;
54
+ }
55
+
56
+ &::after {
57
+ content: '';
58
+ height: 100%;
59
+ aspect-ratio: 1;
60
+ position: absolute;
61
+ inset-inline-end: 0;
62
+ z-index: 3;
63
+ }
64
+
65
+ &.k-toolbar-scrollable-start::before,
66
+ &.k-toolbar-scrollable-end::after {
67
+ display: none;
68
+ }
69
+ }
70
+
71
+ }
72
+
42
73
  > * {
43
74
  flex-shrink: 0;
44
75
  display: inline-flex;
@@ -77,23 +108,22 @@
77
108
  width: min-content;
78
109
  }
79
110
 
111
+
80
112
  // Overflow anchor
81
113
  .k-toolbar-overflow-button {
82
114
  margin-inline-start: auto;
83
115
  }
84
116
 
117
+ // Overflow separator
118
+ .k-toolbar-button-separator {
119
+ height: $kendo-toolbar-separator-height;
120
+ margin-inline-start: auto;
85
121
 
86
- // Separator
87
- .k-separator,
88
- .k-toolbar-separator {
89
- width: 0;
90
- height: $kendo-line-height-em;
91
- border-width: 0 0 0 1px;
92
- border-style: solid;
93
- align-self: center;
122
+ + .k-toolbar-overflow-button {
123
+ margin-inline-start: 0;
124
+ }
94
125
  }
95
126
 
96
-
97
127
  // Spacer
98
128
  .k-toolbar-spacer {
99
129
  height: $kendo-line-height-em;
@@ -109,6 +139,45 @@
109
139
  }
110
140
  }
111
141
 
142
+ // Separator
143
+ .k-toolbar .k-separator,
144
+ .k-toolbar-separator {
145
+ width: 0;
146
+ height: $kendo-line-height-em;
147
+ border-width: 0 0 0 1px;
148
+ border-style: solid;
149
+ align-self: center;
150
+ }
151
+
152
+ .k-toolbar-items {
153
+ display: flex;
154
+ flex-flow: row nowrap;
155
+ gap: $kendo-toolbar-spacing;
156
+ align-items: center;
157
+ justify-content: flex-start;
158
+ flex: 1 1 auto;
159
+ overflow: hidden;
160
+ }
161
+
162
+ .k-toolbar-items-scroll {
163
+ overflow-x: auto;
164
+ scrollbar-width: none;
165
+
166
+ &::-webkit-scrollbar {
167
+ display: none;
168
+ }
169
+ }
170
+
171
+ .k-toolbar-items-list {
172
+ display: flex;
173
+ flex-flow: row wrap;
174
+ gap: $kendo-toolbar-spacing;
175
+ align-items: center;
176
+ justify-content: flex-start;
177
+ flex: 1 1 auto;
178
+ overflow: hidden;
179
+ }
180
+
112
181
  // Outline Toolbar
113
182
  .k-toolbar-outline {
114
183
  border-width: $kendo-toolbar-outline-border-width;
@@ -137,6 +206,7 @@
137
206
  $_padding-x: map.get( $size-props, padding-x );
138
207
  $_padding-y: map.get( $size-props, padding-y );
139
208
  $_spacing: map.get( $size-props, spacing );
209
+ $_separator-height: map.get( $size-props, separator-height );
140
210
 
141
211
  .k-toolbar-#{$size} {
142
212
  padding-block: $_padding-y;
@@ -148,11 +218,31 @@
148
218
  margin-inline-start: calc( #{$_spacing} * -1 );
149
219
  }
150
220
 
221
+ &.k-toolbar-scrollable-overlay::before {
222
+ inset-inline-start: $_spacing;
223
+ }
224
+
151
225
  > * > label {
152
226
  margin-inline-end: $_spacing;
153
227
  }
228
+
229
+ .k-toolbar-items {
230
+ gap: $_spacing;
231
+ }
232
+
233
+ .k-toolbar-button-separator {
234
+ height: $_separator-height;
235
+ }
236
+
237
+ }
238
+
239
+ .k-toolbar-items-list-#{$size} {
240
+ padding-block: $_padding-y;
241
+ padding-inline: $_padding-x;
242
+ gap: $_spacing;
154
243
  }
155
244
  }
245
+
156
246
  // Remove once we decide to not size empty containers
157
247
  .k-toolbar-sm::before {
158
248
  height: $kendo-button-sm-calc-size;
@@ -6,13 +6,6 @@
6
6
 
7
7
  // Theme
8
8
  .k-toolbar {
9
- // Separator
10
- .k-separator,
11
- .k-toolbar-separator {
12
- border-color: $kendo-toolbar-separator-border;
13
- }
14
-
15
-
16
9
  // Template item
17
10
  .k-toolbar-item:focus,
18
11
  .k-toolbar-item.k-focus {
@@ -25,6 +18,16 @@
25
18
 
26
19
  }
27
20
 
21
+ .k-toolbar-items {
22
+ border-color: inherit;
23
+ }
24
+
25
+ // Separator
26
+ .k-toolbar .k-separator,
27
+ .k-toolbar-separator {
28
+ border-color: $kendo-toolbar-separator-border;
29
+ }
30
+
28
31
  // Solid Toolbar
29
32
  .k-toolbar-solid {
30
33
  @include fill(
@@ -34,6 +37,20 @@
34
37
  $kendo-toolbar-gradient
35
38
  );
36
39
  @include box-shadow( $kendo-toolbar-shadow );
40
+
41
+ &.k-toolbar-scrollable-overlay {
42
+ &::before {
43
+ background: linear-gradient(90deg, $kendo-toolbar-scroll-overlay);
44
+ }
45
+
46
+ &::after {
47
+ background: linear-gradient(270deg, $kendo-toolbar-scroll-overlay);
48
+ }
49
+ }
50
+ }
51
+
52
+ .k-toolbar-items-list-solid {
53
+ border-color: $kendo-toolbar-border;
37
54
  }
38
55
 
39
56
  // Outline Toolbar
@@ -43,6 +60,20 @@
43
60
  $border: $kendo-toolbar-outline-border
44
61
  );
45
62
  @include box-shadow( $kendo-toolbar-outline-shadow );
63
+
64
+ &.k-toolbar-scrollable-overlay {
65
+ &::before {
66
+ background: linear-gradient(90deg, $kendo-toolbar-outline-scroll-overlay);
67
+ }
68
+
69
+ &::after {
70
+ background: linear-gradient(270deg, $kendo-toolbar-outline-scroll-overlay);
71
+ }
72
+ }
73
+ }
74
+
75
+ .k-toolbar-items-list-outline {
76
+ border-color: $kendo-toolbar-outline-border;
46
77
  }
47
78
 
48
79
  // Flat Toolbar
@@ -53,9 +84,25 @@
53
84
  );
54
85
  @include box-shadow( $kendo-toolbar-flat-shadow );
55
86
 
56
- > .k-separator {
87
+
88
+ > .k-separator,
89
+ .k-toolbar-separator {
57
90
  border-inline-color: $kendo-toolbar-flat-border;
58
91
  }
92
+
93
+ &.k-toolbar-scrollable-overlay {
94
+ &::before {
95
+ background: linear-gradient(90deg, $kendo-toolbar-flat-scroll-overlay);
96
+ }
97
+
98
+ &::after {
99
+ background: linear-gradient(270deg, $kendo-toolbar-flat-scroll-overlay);
100
+ }
101
+ }
102
+ }
103
+
104
+ .k-toolbar-items-list-flat {
105
+ border-color: $kendo-toolbar-flat-border;
59
106
  }
60
107
 
61
108
  .k-floating-toolbar,
@@ -108,6 +155,40 @@
108
155
 
109
156
  }
110
157
 
158
+ // RTL
159
+ .k-rtl,
160
+ [dir="rtl"] {
161
+ .k-toolbar-scrollable-overlay {
162
+ &::before {
163
+ background: linear-gradient(270deg, $kendo-toolbar-scroll-overlay);
164
+ }
165
+
166
+ &::after {
167
+ background: linear-gradient(90deg, $kendo-toolbar-scroll-overlay);
168
+ }
169
+
170
+ &.k-toolbar-outline {
171
+ &::before {
172
+ background: linear-gradient(270deg, $kendo-toolbar-outline-scroll-overlay);
173
+ }
174
+
175
+ &::after {
176
+ background: linear-gradient(90deg, $kendo-toolbar-outline-scroll-overlay);
177
+ }
178
+ }
179
+
180
+ &.k-toolbar-flat {
181
+ &::before {
182
+ background: linear-gradient(270deg, $kendo-toolbar-flat-scroll-overlay);
183
+ }
184
+
185
+ &::after {
186
+ background: linear-gradient(90deg, $kendo-toolbar-flat-scroll-overlay);
187
+ }
188
+ }
189
+ }
190
+ }
191
+
111
192
  }
112
193
 
113
194
 
@@ -6,43 +6,56 @@
6
6
 
7
7
  /// The horizontal padding of the Toolbar.
8
8
  /// @group toolbar
9
- $kendo-toolbar-padding-x: null !default;
9
+ $kendo-toolbar-padding-x: k-spacing(2) !default;
10
10
  /// The horizontal padding of the small Toolbar.
11
11
  /// @group toolbar
12
12
  $kendo-toolbar-sm-padding-x: k-spacing(1) !default;
13
13
  /// The horizontal padding of the medium Toolbar.
14
14
  /// @group toolbar
15
- $kendo-toolbar-md-padding-x: k-spacing(2) !default;
15
+ $kendo-toolbar-md-padding-x: $kendo-toolbar-padding-x !default;
16
16
  /// The horizontal padding of the large Toolbar.
17
17
  /// @group toolbar
18
18
  $kendo-toolbar-lg-padding-x: k-spacing(2.5) !default;
19
19
 
20
20
  /// The vertical padding of the Toolbar.
21
21
  /// @group toolbar
22
- $kendo-toolbar-padding-y: null !default;
22
+ $kendo-toolbar-padding-y: k-spacing(2) !default;
23
23
  /// The vertical padding of the small Toolbar.
24
24
  /// @group toolbar
25
25
  $kendo-toolbar-sm-padding-y: k-spacing(1) !default;
26
26
  /// The vertical padding of the medium Toolbar.
27
27
  /// @group toolbar
28
- $kendo-toolbar-md-padding-y: k-spacing(2) !default;
28
+ $kendo-toolbar-md-padding-y: $kendo-toolbar-padding-y !default;
29
29
  /// The vertical padding of the large Toolbar.
30
30
  /// @group toolbar
31
31
  $kendo-toolbar-lg-padding-y: k-spacing(2.5) !default;
32
32
 
33
33
  /// The spacing between the Toolbar tools.
34
34
  /// @group toolbar
35
- $kendo-toolbar-spacing: null !default;
35
+ $kendo-toolbar-spacing: k-spacing(2) !default;
36
36
  /// The spacing between the tools of the small Toolbar.
37
37
  /// @group toolbar
38
38
  $kendo-toolbar-sm-spacing: k-spacing(1.5) !default;
39
39
  /// The spacing between the tools of the medium Toolbar.
40
40
  /// @group toolbar
41
- $kendo-toolbar-md-spacing: k-spacing(2) !default;
41
+ $kendo-toolbar-md-spacing: $kendo-toolbar-spacing !default;
42
42
  /// The spacing between the tools of the large Toolbar.
43
43
  /// @group toolbar
44
44
  $kendo-toolbar-lg-spacing: k-spacing(2.5) !default;
45
45
 
46
+ /// The height of the Toolbar button separator.
47
+ /// @group toolbar
48
+ $kendo-toolbar-separator-height: $kendo-button-md-calc-size !default;
49
+ /// The height of the small Toolbar button separator.
50
+ /// @group toolbar
51
+ $kendo-toolbar-sm-separator-height: $kendo-button-sm-calc-size !default;
52
+ /// The height of the medium Toolbar button separator.
53
+ /// @group toolbar
54
+ $kendo-toolbar-md-separator-height: $kendo-toolbar-separator-height !default;
55
+ /// The height of the large Toolbar button separator.
56
+ /// @group toolbar
57
+ $kendo-toolbar-lg-separator-height: $kendo-button-lg-calc-size !default;
58
+
46
59
  /// The width of the border around the Toolbar.
47
60
  /// @group toolbar
48
61
  $kendo-toolbar-border-width: 1px !default;
@@ -75,6 +88,9 @@ $kendo-toolbar-gradient: null !default;
75
88
  /// The box shadow of the Toolbar.
76
89
  /// @group toolbar
77
90
  $kendo-toolbar-shadow: null !default;
91
+ /// The left and right scroll overlay of the Toolbar.
92
+ /// @group toolbar
93
+ $kendo-toolbar-scroll-overlay: $kendo-toolbar-bg, if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
78
94
 
79
95
  /// The text color of the outline Toolbar.
80
96
  /// @group toolbar
@@ -91,6 +107,9 @@ $kendo-toolbar-outline-shadow: null !default;
91
107
  /// The width of the border around the outline Toolbar.
92
108
  /// @group toolbar
93
109
  $kendo-toolbar-outline-border-width: $kendo-toolbar-border-width !default;
110
+ /// The left and right scroll overlay of the outline Toolbar.
111
+ /// @group toolbar
112
+ $kendo-toolbar-outline-scroll-overlay: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white), if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
94
113
 
95
114
  /// The text color of the flat Toolbar.
96
115
  /// @group toolbar
@@ -107,6 +126,9 @@ $kendo-toolbar-flat-shadow: null !default;
107
126
  /// Border width of the flat Toolbar.
108
127
  /// @group toolbar
109
128
  $kendo-toolbar-flat-border-width: 1px !default;
129
+ /// The left and right scroll overlay of the flat Toolbar.
130
+ /// @group toolbar
131
+ $kendo-toolbar-flat-scroll-overlay: if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white), if($kendo-enable-color-system, color-mix(in srgb, k-color( app-surface ) 0%, transparent), rgba( $kendo-color-white, 0)) !default;
110
132
 
111
133
  /// The color of the separator border of the Toolbar.
112
134
  /// @group toolbar
@@ -139,16 +161,19 @@ $kendo-toolbar-sizes: (
139
161
  sm: (
140
162
  padding-x: $kendo-toolbar-sm-padding-x,
141
163
  padding-y: $kendo-toolbar-sm-padding-y,
142
- spacing: $kendo-toolbar-sm-spacing
164
+ spacing: $kendo-toolbar-sm-spacing,
165
+ separator-height: $kendo-toolbar-sm-separator-height
143
166
  ),
144
167
  md: (
145
168
  padding-x: $kendo-toolbar-md-padding-x,
146
169
  padding-y: $kendo-toolbar-md-padding-y,
147
- spacing: $kendo-toolbar-md-spacing
170
+ spacing: $kendo-toolbar-md-spacing,
171
+ separator-height: $kendo-toolbar-md-separator-height
148
172
  ),
149
173
  lg: (
150
174
  padding-x: $kendo-toolbar-lg-padding-x,
151
175
  padding-y: $kendo-toolbar-lg-padding-y,
152
- spacing: $kendo-toolbar-lg-spacing
176
+ spacing: $kendo-toolbar-lg-spacing,
177
+ separator-height: $kendo-toolbar-lg-separator-height
153
178
  )
154
179
  ) !default;