@progress/kendo-theme-default 4.41.3-dev.3 → 4.42.1-dev.1

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 (63) hide show
  1. package/dist/all.css +2477 -1343
  2. package/dist/all.scss +1002 -807
  3. package/package.json +2 -2
  4. package/scss/action-buttons/_layout.scss +10 -1
  5. package/scss/all.scss +4 -0
  6. package/scss/autocomplete/_layout.scss +0 -20
  7. package/scss/button/_index.scss +1 -1
  8. package/scss/card/_layout.scss +4 -68
  9. package/scss/card/_theme.scss +2 -1
  10. package/scss/chat/_layout.scss +24 -20
  11. package/scss/chat/_variables.scss +5 -5
  12. package/scss/checkbox/_theme.scss +1 -1
  13. package/scss/color-preview/_index.scss +11 -0
  14. package/scss/color-preview/_layout.scss +34 -0
  15. package/scss/color-preview/_theme.scss +31 -0
  16. package/scss/color-preview/_variables.scss +13 -0
  17. package/scss/coloreditor/_index.scss +15 -0
  18. package/scss/coloreditor/_layout.scss +65 -0
  19. package/scss/coloreditor/_theme.scss +19 -0
  20. package/scss/coloreditor/_variables.scss +27 -0
  21. package/scss/colorgradient/_index.scss +18 -0
  22. package/scss/colorgradient/_layout.scss +188 -0
  23. package/scss/colorgradient/_theme.scss +82 -0
  24. package/scss/colorgradient/_variables.scss +51 -0
  25. package/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
  26. package/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
  27. package/scss/colorpalette/_index.scss +12 -0
  28. package/scss/colorpalette/_layout.scss +50 -0
  29. package/scss/colorpalette/_theme.scss +25 -0
  30. package/scss/colorpalette/_variables.scss +10 -0
  31. package/scss/colorpicker/_index.scss +2 -4
  32. package/scss/colorpicker/_layout.scss +4 -340
  33. package/scss/colorpicker/_theme.scss +4 -127
  34. package/scss/colorpicker/_variables.scss +0 -18
  35. package/scss/combobox/_layout.scss +0 -22
  36. package/scss/datetime/_layout.scss +0 -45
  37. package/scss/dropdownlist/_layout.scss +0 -12
  38. package/scss/editor/_layout.scss +89 -0
  39. package/scss/editor/_theme.scss +9 -0
  40. package/scss/editor/_variables.scss +8 -0
  41. package/scss/fab/_layout.scss +2 -0
  42. package/scss/fab/_theme.scss +27 -34
  43. package/scss/fab/_variables.scss +12 -11
  44. package/scss/forms/_layout.scss +2 -1
  45. package/scss/icons/_layout.scss +1 -0
  46. package/scss/icons/font/WebComponentsIcons.scss +1 -1
  47. package/scss/icons/font/WebComponentsIcons.ttf +0 -0
  48. package/scss/input/_layout.scss +3 -16
  49. package/scss/map/_layout.scss +2 -0
  50. package/scss/menu/_layout.scss +0 -1
  51. package/scss/multiselect/_layout.scss +0 -19
  52. package/scss/numerictextbox/_layout.scss +0 -11
  53. package/scss/pivotgrid/_layout.scss +21 -0
  54. package/scss/popup/_layout.scss +0 -9
  55. package/scss/searchbox/_layout.scss +1 -0
  56. package/scss/spreadsheet/_layout.scss +0 -4
  57. package/scss/utils/_border.scss +8 -3
  58. package/scss/utils/_spacing.scss +24 -0
  59. package/scss/window/_layout.scss +1 -0
  60. package/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
  61. package/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
  62. package/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
  63. package/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-default",
3
3
  "description": "SASS resources for the default Kendo UI theme",
4
- "version": "4.41.3-dev.3",
4
+ "version": "4.42.1-dev.1",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -47,5 +47,5 @@
47
47
  "dart:flat": "gulp dart:flat",
48
48
  "prepublishOnly": "echo 'no prebublish for default theme'"
49
49
  },
50
- "gitHead": "fa5c9603df4ce625274a6478de659303b4d7b871"
50
+ "gitHead": "0c0e482d04f4474619507a96d33f9e127c116cd1"
51
51
  }
@@ -43,7 +43,7 @@
43
43
  }
44
44
  }
45
45
 
46
- // Legacy align
46
+ // Actions align
47
47
  .k-actions-start {
48
48
  justify-content: flex-start;
49
49
  }
@@ -57,4 +57,13 @@
57
57
  flex: 1 0 0%;
58
58
  }
59
59
 
60
+ // Actions orientation
61
+ .k-actions-horizontal {
62
+ width: 100%;
63
+ flex-flow: row nowrap;
64
+ }
65
+ .k-actions-vertical {
66
+ flex-flow: column nowrap;
67
+ }
68
+
60
69
  }
package/scss/all.scss CHANGED
@@ -49,6 +49,10 @@
49
49
 
50
50
  // Inputs
51
51
  @import "autocomplete/_index.scss";
52
+ @import "color-preview/_index.scss";
53
+ @import "colorpalette/_index.scss";
54
+ @import "colorgradient/_index.scss";
55
+ @import "coloreditor/_index.scss";
52
56
  @import "colorpicker/_index.scss";
53
57
  @import "combobox/_index.scss";
54
58
  @import "datetime/_index.scss";
@@ -33,26 +33,6 @@
33
33
  height: $input-icon-height;
34
34
  }
35
35
 
36
-
37
- // Clear value
38
- .k-clear-value {
39
- visibility: hidden;
40
- }
41
- &:hover,
42
- // &:focus-within,
43
- &.k-state-hover,
44
- &.k-state-focused,
45
- &.k-state-focus {
46
- .k-clear-value {
47
- visibility: visible;
48
- }
49
- }
50
- &:focus-within {
51
- .k-clear-value {
52
- visibility: visible;
53
- }
54
- }
55
-
56
36
  }
57
37
 
58
38
 
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
  // Dependencies
5
- @import "../common/_index.scss";
6
5
  @import "../badge/_index.scss";
7
6
  @import "../icons/_index.scss";
7
+ @import "../typography/_variables.scss";
8
8
 
9
9
 
10
10
  // Component
@@ -187,13 +187,6 @@
187
187
  flex-shrink: 0;
188
188
  flex-basis: auto;
189
189
  gap: $card-actions-gap;
190
-
191
- > .k-button {
192
- padding-left: calc( #{$card-body-padding-x} - ( #{$card-actions-padding-x} + #{$button-border-width} ) );
193
- padding-right: calc( #{$card-body-padding-x} - ( #{$card-actions-padding-x} + #{$button-border-width} ) );
194
- max-width: 100%;
195
- white-space: normal;
196
- }
197
190
  }
198
191
 
199
192
 
@@ -208,40 +201,9 @@
208
201
  .k-card-actions-vertical { flex-flow: column nowrap; } // stylelint-disable-line block-opening-brace-space-before
209
202
 
210
203
 
211
- // Streched actions
212
- .k-card-actions-stretched {
213
- padding: 0;
214
- gap: 0;
215
-
216
- > .k-button,
217
- > .k-card-action {
218
- flex: 1 1 auto;
219
- }
220
-
221
- // TODO: refactor once we have button size
222
- .k-button {
223
- @include border-radius( 0 );
224
- padding-top: calc( #{$card-actions-padding-y} + #{$button-padding-y} );
225
- padding-bottom: calc( #{$card-actions-padding-y} + #{$button-padding-y} );
226
- }
227
-
228
- .k-card & {
229
- border-top-width: $card-actions-border-width;
230
- }
231
- .k-card-horizontal > & {
232
- border-top-width: 0;
233
- border-inline-start-width: $card-actions-border-width;
234
- }
235
- .k-card-vertical > & {
236
- border-top-width: $card-actions-border-width;
237
- }
238
-
239
- &.k-card-actions-horizontal > .k-card-action + .k-card-action {
240
- border-inline-start-width: $card-actions-border-width;
241
- }
242
- &.k-card-actions-vertical > .k-card-action + .k-card-action {
243
- border-top-width: $card-actions-border-width;
244
- }
204
+ // Stretched actions
205
+ .k-card-actions-stretched > * {
206
+ flex: 1 1 auto;
245
207
  }
246
208
 
247
209
 
@@ -367,6 +329,7 @@
367
329
  height: $card-callout-height;
368
330
  border-width: $card-border-width $card-border-width 0 0;
369
331
  border-style: solid;
332
+ box-sizing: border-box;
370
333
  position: absolute;
371
334
  }
372
335
 
@@ -415,33 +378,6 @@
415
378
 
416
379
 
417
380
 
418
- @include exports("card/layout/rtl") {
419
-
420
- .k-rtl,
421
- [dir="rtl"] {
422
-
423
- .k-card-actions-stretched {
424
- .k-card-action + .k-card-action {
425
- border-right-width: $card-actions-border-width;
426
- border-left-width: 0;
427
- }
428
- }
429
-
430
- .k-card-horizontal {
431
- > .k-card-actions-stretched,
432
- .k-card-actions-vertical {
433
- border-right-width: $card-actions-border-width;
434
- border-left-width: 0;
435
- }
436
- }
437
-
438
- }
439
-
440
- }
441
-
442
-
443
-
444
-
445
381
  @include exports("card/layout/ie11") {
446
382
 
447
383
  .k-ie11 {
@@ -40,7 +40,8 @@
40
40
 
41
41
 
42
42
  // Separator
43
- .k-card-separator {
43
+ .k-card-separator,
44
+ .k-card .k-separator {
44
45
  border-color: $card-border;
45
46
  }
46
47
 
@@ -266,14 +266,24 @@
266
266
 
267
267
  // Message box
268
268
  .k-message-box {
269
+ width: 100%;
270
+ height: auto;
269
271
  padding: $chat-message-box-padding-y $chat-message-box-padding-x;
272
+ box-sizing: border-box;
270
273
  border-width: 1px 0 0;
271
274
  border-style: solid;
272
- flex: 0 0 auto;
275
+ flex: none;
273
276
  display: flex;
274
277
  flex-flow: row nowrap;
275
278
  align-items: center;
276
279
 
280
+ &:focus,
281
+ &.k-state-focus,
282
+ &:focus-within {
283
+ outline: 0;
284
+ box-shadow: none;
285
+ }
286
+
277
287
  // Input
278
288
  .k-input {
279
289
  padding: 0;
@@ -411,11 +421,17 @@
411
421
 
412
422
  .k-chat-toolbar,
413
423
  .k-chat .k-toolbar-box {
424
+ padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
414
425
  width: 100%;
426
+ border-width: 1px 0 0;
415
427
  box-sizing: border-box;
428
+ flex: none;
416
429
  overflow: hidden;
417
430
  position: relative;
418
- flex: 0 0 auto;
431
+
432
+ &::before {
433
+ display: none;
434
+ }
419
435
 
420
436
  .k-button-list {
421
437
  // Needed for native scrolling. Will uncoment when it's implemented.
@@ -426,18 +442,13 @@
426
442
  overflow: hidden;
427
443
  // overflow-x: auto;
428
444
  scroll-behavior: smooth;
429
- padding: $chat-toolbar-padding-y $chat-toolbar-padding-x;
430
-
431
- // fix for flex container disregarding the right padding
432
- &::after {
433
- content: "";
434
- padding-right: $chat-toolbar-padding-x;
435
- }
445
+ }
436
446
 
437
- .k-button + .k-button {
438
- margin-left: $chat-toolbar-spacing;
439
- flex-shrink: 0;
440
- }
447
+ .k-button {
448
+ border-color: transparent;
449
+ color: inherit;
450
+ background: none;
451
+ flex: none;
441
452
  }
442
453
 
443
454
 
@@ -454,13 +465,6 @@
454
465
  right: 0;
455
466
  }
456
467
 
457
- .k-button {
458
- border-width: 0;
459
- color: inherit;
460
- background: none;
461
- flex-shrink: 0;
462
- }
463
-
464
468
 
465
469
  }
466
470
 
@@ -32,12 +32,12 @@ $chat-bubble-border-radius-sm: 2px !default;
32
32
  $chat-avatar-size: 32px !default;
33
33
  $chat-avatar-spacing: $chat-item-spacing-x !default;
34
34
 
35
- $chat-message-box-padding-x: $chat-padding-x !default;
36
- $chat-message-box-padding-y: 10px !default;
35
+ $chat-message-box-padding-x: $input-padding-x !default;
36
+ $chat-message-box-padding-y: $input-padding-y !default;
37
37
 
38
- $chat-toolbar-padding-x: $chat-padding-x !default;
39
- $chat-toolbar-padding-y: 10px !default;
40
- $chat-toolbar-spacing: 20px !default;
38
+ $chat-toolbar-padding-x: $toolbar-padding-x !default;
39
+ $chat-toolbar-padding-y: $toolbar-padding-y !default;
40
+ $chat-toolbar-spacing: $toolbar-spacing !default;
41
41
  $chat-toolbar-bg: $toolbar-bg !default;
42
42
  $chat-toolbar-text: $toolbar-text !default;
43
43
  $chat-toolbar-border: inherit !default;
@@ -11,7 +11,7 @@
11
11
 
12
12
 
13
13
  // Hover state
14
- .k-checkbox:hover
14
+ .k-checkbox:hover,
15
15
  .k-checkbox.k-state-hover {
16
16
  @include fill(
17
17
  $checkbox-hovered-text,
@@ -0,0 +1,11 @@
1
+ @import "../core/_index.scss";
2
+
3
+
4
+ // Dependencies
5
+
6
+
7
+ // Component
8
+ @import "../colorgradient/images/alpha-slider-bgr.scss";
9
+ @import "_variables.scss";
10
+ @import "_layout.scss";
11
+ @import "_theme.scss";
@@ -0,0 +1,34 @@
1
+ @include exports("color-preview/layout") {
2
+
3
+ // Color Preview
4
+ .k-color-preview {
5
+ border-width: $color-preview-border-width;
6
+ border-radius: $color-preview-border-radius;
7
+ border-style: solid;
8
+ display: inline-flex;
9
+ flex-direction: row;
10
+ flex-wrap: nowrap;
11
+ position: relative;
12
+ overflow: hidden;
13
+ cursor: pointer;
14
+ }
15
+ .k-color-preview::before {
16
+ content: "";
17
+ width: 100%;
18
+ height: 100%;
19
+ display: block;
20
+ position: relative;
21
+ z-index: -1;
22
+ }
23
+
24
+ // No Color
25
+ .k-no-color::after {
26
+ content: "";
27
+ width: 100%;
28
+ height: 100%;
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ }
33
+
34
+ }
@@ -0,0 +1,31 @@
1
+ @include exports("color-preview/theme") {
2
+
3
+ // Color Preview
4
+ .k-color-preview {
5
+ @include fill(
6
+ $color-preview-text,
7
+ $color-preview-bg,
8
+ $color-preview-border
9
+ );
10
+
11
+ &::before {
12
+ background: url(map-get($data-uris, "alpha-slider-bgr.png"));
13
+ background-size: contain;
14
+ background-position: 0;
15
+ }
16
+
17
+ &:hover,
18
+ &.k-state-hover,
19
+ &.k-hover {
20
+ @include fill( $border: $color-preview-hover-border );
21
+ }
22
+ }
23
+
24
+ // No Color
25
+ .k-no-color::after {
26
+ background-color: $color-preview-no-color-bg;
27
+ background-image: $color-preview-no-color-image;
28
+ background-size: 100% 100%;
29
+ }
30
+
31
+ }
@@ -0,0 +1,13 @@
1
+ // Color Preview
2
+ $color-preview-border-radius: $border-radius !default;
3
+ $color-preview-border-width: 1px !default;
4
+ $color-preview-bg: null !default;
5
+ $color-preview-text: null !default;
6
+ $color-preview-border: $component-border !default;
7
+ $color-preview-hover-border: $hovered-border !default;
8
+
9
+ $color-preview-no-color-bg: $white !default;
10
+ $color-preview-no-color-text: $error !default;
11
+ $color-preview-no-color-border: null !default;
12
+
13
+ $color-preview-no-color-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' version='1.1'><line x1='0' x2='20' y1='0' y2='20' stroke='#{$color-preview-no-color-text}' stroke-width='1'/></svg>") ) !default;
@@ -0,0 +1,15 @@
1
+ @import "../core/_index.scss";
2
+
3
+
4
+ // Dependencies
5
+ @import "../common/_index.scss";
6
+ @import "../action-buttons/_index.scss";
7
+ @import "../color-preview/_index.scss";
8
+ @import "../colorpalette/_index.scss";
9
+ @import "../colorgradient/_index.scss";
10
+
11
+
12
+ // Component
13
+ @import "_variables.scss";
14
+ @import "_layout.scss";
15
+ @import "_theme.scss";
@@ -0,0 +1,65 @@
1
+ @include exports("coloreditor/layout") {
2
+
3
+ // ColorEditor/FlatColorPicker
4
+ .k-coloreditor {
5
+ @include border-radius( $coloreditor-border-radius );
6
+ min-width: $coloreditor-min-width;
7
+ border-width: $coloreditor-border-width;
8
+ border-style: solid;
9
+ box-sizing: border-box;
10
+ outline: 0;
11
+ font-size: $coloreditor-font-size;
12
+ font-family: $coloreditor-font-family;
13
+ line-height: $coloreditor-line-height;
14
+ display: inline-flex;
15
+ flex-direction: column;
16
+ align-items: stretch;
17
+ }
18
+
19
+ // Header
20
+ .k-coloreditor-header {
21
+ padding: $coloreditor-header-padding-y $coloreditor-header-padding-x 0;
22
+ }
23
+
24
+ .k-coloreditor-header-actions {
25
+ gap: $coloreditor-header-actions-gap;
26
+ }
27
+
28
+ .k-coloreditor-preview {
29
+ position: relative;
30
+ gap: $coloreditor-preview-gap;
31
+ z-index: 1;
32
+ }
33
+ .k-coloreditor-preview .k-color-preview {
34
+ width: $coloreditor-color-preview-width;
35
+ height: $coloreditor-color-preview-height;
36
+ }
37
+
38
+ // Views
39
+ .k-coloreditor-views {
40
+ min-width: calc( var(--kendo-color-preview-width, #{$colorpalette-tile-width}) * var(--kendo-color-preview-columns, 10) );
41
+ padding: $coloreditor-views-padding-y $coloreditor-views-padding-x;
42
+ gap: $coloreditor-views-gap;
43
+
44
+ .k-colorgradient {
45
+ padding: 0;
46
+ width: auto;
47
+ border-width: 0;
48
+ }
49
+
50
+ .k-colorpalette {
51
+ align-self: center;
52
+ }
53
+
54
+ .k-colorpalette-tile {
55
+ width: var(--kendo-color-preview-width, $colorpalette-tile-width);
56
+ height: var(--kendo-color-preview-height, $colorpalette-tile-height);
57
+ }
58
+ }
59
+
60
+ // Footer
61
+ .k-coloreditor-footer.k-actions {
62
+ margin: 0;
63
+ }
64
+
65
+ }
@@ -0,0 +1,19 @@
1
+ @include exports("coloreditor/theme") {
2
+
3
+ // ColorEditor/FlatColorPicker
4
+ .k-coloreditor {
5
+ @include fill(
6
+ $coloreditor-text,
7
+ $coloreditor-bg,
8
+ $coloreditor-border
9
+ );
10
+ }
11
+
12
+ .k-coloreditor:focus,
13
+ .k-coloreditor.k-state-focus,
14
+ .k-coloreditor.k-focus {
15
+ @include fill( $border: $coloreditor-focus-border );
16
+ @include box-shadow( $coloreditor-focus-shadow );
17
+ }
18
+
19
+ }
@@ -0,0 +1,27 @@
1
+ // Coloreditor/FlatColorPicker
2
+ $coloreditor-spacer: map-get( $spacing, 3 ) !default;
3
+
4
+ $coloreditor-min-width: 272px !default;
5
+ $coloreditor-border-width: 1px !default;
6
+ $coloreditor-border-radius: $border-radius !default;
7
+ $coloreditor-font-family: $font-family !default;
8
+ $coloreditor-font-size: $font-size !default;
9
+ $coloreditor-line-height: $line-height !default;
10
+ $coloreditor-bg: $component-bg !default;
11
+ $coloreditor-text: $component-text !default;
12
+ $coloreditor-border: $component-border !default;
13
+
14
+ $coloreditor-focus-border: null !default;
15
+ $coloreditor-focus-shadow: 1px 1px 7px 1px rgba(0, 0, 0, .3) !default;
16
+
17
+ $coloreditor-header-padding-y: $coloreditor-spacer !default;
18
+ $coloreditor-header-padding-x: $coloreditor-header-padding-y !default;
19
+ $coloreditor-header-actions-gap: ( $coloreditor-spacer / 1.5 ) !default;
20
+
21
+ $coloreditor-preview-gap: ( $coloreditor-spacer / 4 ) !default;
22
+ $coloreditor-color-preview-width: 34px !default;
23
+ $coloreditor-color-preview-height: 14px !default;
24
+
25
+ $coloreditor-views-padding-y: $coloreditor-spacer !default;
26
+ $coloreditor-views-padding-x: $coloreditor-views-padding-y !default;
27
+ $coloreditor-views-gap: $coloreditor-spacer !default;
@@ -0,0 +1,18 @@
1
+ @import "../core/_index.scss";
2
+
3
+
4
+ // Dependencies
5
+ @import "../common/_index.scss";
6
+ @import "../utils/_flex.scss";
7
+ @import "../utils/_spacer.scss";
8
+ @import "../icons/_index.scss";
9
+ @import "../button/_index.scss";
10
+ @import "../slider/_index.scss";
11
+ @import "../textbox/_index.scss";
12
+ @import "../numerictextbox/_index.scss";
13
+
14
+ // Component
15
+ @import "images/alpha-slider-bgr.scss";
16
+ @import "_variables.scss";
17
+ @import "_layout.scss";
18
+ @import "_theme.scss";