@progress/kendo-theme-default 4.43.1-dev.3 → 4.43.1-dev.4

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 (39) hide show
  1. package/README.md +5 -8
  2. package/dist/all.css +567 -591
  3. package/dist/all.scss +849 -899
  4. package/package.json +2 -2
  5. package/scss/appbar/_layout.scss +13 -0
  6. package/scss/autocomplete/_layout.scss +4 -4
  7. package/scss/button/_layout.scss +1 -7
  8. package/scss/checkbox/_index.scss +1 -0
  9. package/scss/checkbox/_layout.scss +2 -1
  10. package/scss/color-preview/_layout.scss +49 -7
  11. package/scss/color-preview/_theme.scss +0 -14
  12. package/scss/coloreditor/_layout.scss +5 -1
  13. package/scss/coloreditor/_variables.scss +3 -3
  14. package/scss/colorpicker/_layout.scss +6 -0
  15. package/scss/combobox/_layout.scss +22 -29
  16. package/scss/combobox/_theme.scss +59 -99
  17. package/scss/combobox/_variables.scss +1 -32
  18. package/scss/dropdowngrid/_layout.scss +1 -0
  19. package/scss/dropdownlist/_layout.scss +37 -55
  20. package/scss/dropdownlist/_theme.scss +33 -75
  21. package/scss/editor/_layout.scss +9 -16
  22. package/scss/fab/index.md +0 -0
  23. package/scss/forms/_layout.scss +0 -4
  24. package/scss/grid/_variables.scss +6 -6
  25. package/scss/imageeditor/_layout.scss +4 -8
  26. package/scss/imageeditor/_variables.scss +1 -0
  27. package/scss/input/_variables.scss +1 -1
  28. package/scss/list/_index.scss +1 -0
  29. package/scss/list/_layout.scss +15 -3
  30. package/scss/list/_variables.scss +4 -0
  31. package/scss/map/_layout.scss +4 -7
  32. package/scss/maskedtextbox/_layout.scss +17 -31
  33. package/scss/maskedtextbox/_theme.scss +44 -14
  34. package/scss/mediaplayer/_layout.scss +5 -0
  35. package/scss/radio/_index.scss +1 -0
  36. package/scss/radio/_layout.scss +2 -1
  37. package/scss/scheduler/_layout.scss +1 -1
  38. package/scss/spreadsheet/_layout.scss +4 -8
  39. package/scss/toolbar/_layout.scss +15 -0
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.43.1-dev.3",
4
+ "version": "4.43.1-dev.4",
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": "17b6139d64d5dab2c8687e0f2e50fda466679766"
50
+ "gitHead": "f0dfb6acb8fcf7694986e41e4b08d242c4b47add"
51
51
  }
@@ -50,6 +50,19 @@
50
50
  border-width: 0 0 0 1px;
51
51
  display: inline-block;
52
52
  }
53
+
54
+
55
+ // Appbar child components
56
+ .k-textbox,
57
+ .k-combobox,
58
+ .k-dropdown,
59
+ .k-searchbox,
60
+ .k-numerictextbox,
61
+ .k-datepicker,
62
+ .k-timepicker,
63
+ .k-datetimepicker {
64
+ width: 10em;
65
+ }
53
66
  }
54
67
 
55
68
  .k-appbar-static {
@@ -6,19 +6,19 @@
6
6
  width: $input-default-width;
7
7
  border-width: $input-border-width;
8
8
  border-style: solid;
9
- outline: 0;
10
9
  box-sizing: border-box;
10
+ outline: 0;
11
11
  font-family: $input-font-family;
12
12
  font-size: $input-font-size;
13
13
  line-height: $input-line-height;
14
+ text-align: start;
14
15
  white-space: nowrap;
15
16
  display: inline-flex;
16
17
  flex-flow: row nowrap;
17
- align-items: stretch;
18
18
  vertical-align: middle;
19
- transition: all .1s ease; // sass-lint:disable-block no-transition-all
20
19
  position: relative;
21
- cursor: default;
20
+ overflow: hidden;
21
+ transition: all .1s ease; // sass-lint:disable-line no-transition-all
22
22
  -webkit-touch-callout: none;
23
23
  -webkit-tap-highlight-color: $rgba-transparent;
24
24
 
@@ -396,7 +396,7 @@
396
396
  .k-button {
397
397
 
398
398
  &::after {
399
- @include border-radius( $button-border-radius );
399
+ @include border-radius( inherit );
400
400
  content: "";
401
401
  opacity: 0;
402
402
  display: none;
@@ -419,12 +419,6 @@
419
419
 
420
420
  .k-ie {
421
421
 
422
- .k-button,
423
- .k-button-group {
424
- display: inline-block;
425
- overflow: visible; // IE9
426
- }
427
-
428
422
  .k-button-icontext {
429
423
 
430
424
  .k-icon,
@@ -2,6 +2,7 @@
2
2
 
3
3
 
4
4
  // Dependencies
5
+ @import "../typography/_variables.scss";
5
6
  @import "../list/_variables.scss";
6
7
 
7
8
 
@@ -16,6 +16,7 @@
16
16
  background-repeat: no-repeat;
17
17
  background-size: contain;
18
18
  display: inline-block;
19
+ flex: none;
19
20
  vertical-align: middle;
20
21
  position: relative;
21
22
  cursor: pointer;
@@ -168,7 +169,7 @@
168
169
 
169
170
  // Empty label
170
171
  .k-checkbox-label:empty {
171
- display: none;
172
+ display: none !important; // sass-lint:disable-line no-important
172
173
  }
173
174
 
174
175
 
@@ -4,6 +4,7 @@
4
4
  .k-color-preview {
5
5
  border-width: $color-preview-border-width;
6
6
  border-radius: $color-preview-border-radius;
7
+ box-sizing: border-box;
7
8
  border-style: solid;
8
9
  display: inline-flex;
9
10
  flex-direction: row;
@@ -11,21 +12,62 @@
11
12
  position: relative;
12
13
  overflow: hidden;
13
14
  }
14
- .k-color-preview::before {
15
- content: "";
15
+
16
+
17
+ // Current Color
18
+ .k-coloreditor-current-color {
19
+ cursor: pointer;
20
+ }
21
+
22
+
23
+ // Icon color preview
24
+ .k-icon-color-preview {
25
+ border-width: 0;
26
+ border-radius: 0;
27
+ display: flex;
28
+ flex-flow: column nowrap;
29
+ align-items: center;
30
+ justify-content: center;
31
+ gap: 2px;
32
+
33
+ .k-color-preview-mask {
34
+ width: calc( #{$icon-size} - 2px );
35
+ height: 2px;
36
+ }
37
+ }
38
+
39
+
40
+ // Color Preview Mask
41
+ .k-color-preview-mask {
16
42
  width: 100%;
17
43
  height: 100%;
18
- display: block;
19
44
  position: relative;
45
+ }
46
+ .k-color-preview-mask::before {
47
+ content: "";
48
+ width: 100%;
49
+ height: 100%;
50
+ position: absolute;
51
+ top: 0;
52
+ left: 0;
20
53
  z-index: -1;
54
+ background: $color-preview-transparent-color-image;
55
+ background-size: contain;
56
+ background-position: 0 0;
21
57
  }
22
58
 
23
- // Current Color
24
- .k-coloreditor-current-color {
25
- cursor: pointer;
26
- }
27
59
 
28
60
  // No Color
61
+ .k-no-color .k-color-preview-mask::before {
62
+ content: "";
63
+ background-color: $color-preview-no-color-bg;
64
+ background-image: $color-preview-no-color-image;
65
+ background-size: 100% 100%;
66
+ background-position: 0 0;
67
+ }
68
+
69
+
70
+ // No Color (legacy)
29
71
  .k-no-color::before {
30
72
  content: "";
31
73
  width: 100%;
@@ -8,12 +8,6 @@
8
8
  $color-preview-border
9
9
  );
10
10
 
11
- &::before {
12
- background: $color-preview-transparent-color-image;
13
- background-size: contain;
14
- background-position: 0;
15
- }
16
-
17
11
  &:hover,
18
12
  &.k-state-hover,
19
13
  &.k-hover {
@@ -21,12 +15,4 @@
21
15
  }
22
16
  }
23
17
 
24
- // No Color
25
- .k-no-color::before {
26
- background-color: $color-preview-no-color-bg;
27
- background-image: $color-preview-no-color-image;
28
- background-size: 100% 100%;
29
- background-position: 0 0;
30
- }
31
-
32
18
  }
@@ -26,8 +26,12 @@
26
26
  }
27
27
 
28
28
  .k-coloreditor-preview {
29
- position: relative;
29
+ display: flex;
30
+ flex-flow: column nowrap;
31
+ align-items: stretch;
32
+ justify-content: center;
30
33
  gap: $coloreditor-preview-gap;
34
+ position: relative;
31
35
  z-index: 1;
32
36
  }
33
37
  .k-coloreditor-preview .k-color-preview {
@@ -18,9 +18,9 @@ $coloreditor-header-padding-y: $coloreditor-spacer !default;
18
18
  $coloreditor-header-padding-x: $coloreditor-header-padding-y !default;
19
19
  $coloreditor-header-actions-gap: ( $coloreditor-spacer / 1.5 ) !default;
20
20
 
21
- $coloreditor-preview-gap: ( $coloreditor-spacer / 4 ) !default;
22
- $coloreditor-color-preview-width: 34px !default;
23
- $coloreditor-color-preview-height: 14px !default;
21
+ $coloreditor-preview-gap: map-get( $spacing, 1 ) !default;
22
+ $coloreditor-color-preview-width: 32px !default;
23
+ $coloreditor-color-preview-height: 12px !default;
24
24
 
25
25
  $coloreditor-views-padding-y: $coloreditor-spacer !default;
26
26
  $coloreditor-views-padding-x: $coloreditor-views-padding-y !default;
@@ -34,6 +34,12 @@
34
34
  position: relative;
35
35
  overflow: hidden;
36
36
  }
37
+ .k-color-preview {
38
+ margin: $button-padding-y;
39
+ width: calc( #{$button-inner-calc-size} - #{$button-padding-y * 2} );
40
+ height: calc( #{$button-inner-calc-size} - #{$button-padding-y * 2} );
41
+ z-index: 1;
42
+ }
37
43
 
38
44
  .k-tool-icon {
39
45
  padding: $button-padding-y;
@@ -1,62 +1,55 @@
1
- @include exports("combobox/layout") {
1
+ @include exports( "combobox/layout" ) {
2
2
 
3
3
  // Combobox
4
4
  .k-combobox {
5
+ @include border-radius( $input-border-radius );
5
6
  width: $input-default-width;
6
- border-width: 0;
7
+ border-width: $input-border-width;
8
+ border-style: solid;
7
9
  box-sizing: border-box;
8
10
  outline: 0;
9
- background: none;
10
11
  font-family: $input-font-family;
11
12
  font-size: $input-font-size;
12
13
  line-height: $input-line-height;
13
- text-align: left;
14
+ text-align: start;
14
15
  white-space: nowrap;
15
16
  display: inline-flex;
17
+ flex-flow: row nowrap;
16
18
  vertical-align: middle;
17
19
  position: relative;
20
+ overflow: hidden;
21
+ transition: all .1s ease; // sass-lint:disable-line no-transition-all
18
22
  -webkit-touch-callout: none;
19
23
  -webkit-tap-highlight-color: $rgba-transparent;
20
24
 
21
- .k-dropdown-wrap {
22
- @include border-radius( $input-border-radius );
23
- padding: 0;
24
- width: 100%;
25
- border-width: 1px;
26
- border-style: solid;
27
- box-sizing: border-box;
28
- position: relative;
29
- display: flex;
30
- flex-flow: row nowrap;
31
- transition: all .1s ease; // sass-lint:disable-line no-transition-all
32
- outline: 0;
33
- cursor: initial;
34
- overflow: hidden;
35
- }
36
-
37
25
 
38
26
  // Input
39
27
  .k-input {}
40
28
 
29
+
30
+ // Loading icon
31
+ .k-i-loading {
32
+ width: $input-icon-width;
33
+ height: $input-icon-height;
34
+ }
35
+
36
+
41
37
  // Select
42
38
  .k-select {
43
- padding: $combobox-select-padding-y $combobox-select-padding-x;
44
- width: if( $use-picker-select-width, $combobox-select-width, null );
39
+ padding: $picker-select-padding-y $picker-select-padding-x;
40
+ width: if( $use-picker-select-width, $spinner-width, null );
45
41
  border-width: 0;
46
42
  border-inline-start-width: $picker-select-border-width;
47
- box-sizing: border-box;
48
43
  border-style: solid;
44
+ box-sizing: border-box;
45
+ outline: 0;
49
46
  display: flex;
47
+ flex-flow: row nowrap;
50
48
  align-items: center;
51
49
  justify-content: center;
52
50
  flex: 0 0 auto;
53
- text-align: center;
54
51
  cursor: pointer;
55
52
  }
56
-
57
- &[dir="rtl"],
58
- .k-rtl & {
59
- text-align: right;
60
- }
61
53
  }
54
+
62
55
  }
@@ -1,125 +1,85 @@
1
- @include exports("combobox/theme") {
1
+ @include exports( "combobox/theme" ) {
2
2
 
3
3
  .k-combobox {
4
-
5
- // Normal state
6
- .k-dropdown-wrap {
7
- @include fill(
8
- $combobox-text,
9
- $combobox-bg,
10
- $combobox-border
11
- );
12
-
13
- // Invalid state
14
- &.k-invalid,
15
- &.k-invalid:hover,
16
- &.k-state-invalid {
17
- border-color: $invalid-border;
18
-
19
- .k-input-validation-icon {
20
- color: $invalid-text;
21
- }
22
-
23
- &:focus,
24
- &.k-state-focused {
25
- @include box-shadow($invalid-shadow);
26
- }
27
- }
28
- }
29
-
30
- .k-select {
31
- @include fill(
32
- $combobox-select-text,
33
- $combobox-select-bg,
34
- $combobox-select-border,
35
- $combobox-select-gradient
36
- );
37
- }
4
+ @include fill(
5
+ $input-text,
6
+ $input-bg,
7
+ $input-border
8
+ );
38
9
 
39
10
  // Hover state
40
- > :hover,
41
- .k-state-hover {
11
+ &:hover,
12
+ &.k-state-hover {
42
13
  @include fill(
43
- $combobox-hovered-text,
44
- $combobox-hovered-bg,
45
- $combobox-hovered-border
14
+ $input-hovered-text,
15
+ $input-hovered-bg,
16
+ $input-hovered-border
46
17
  );
47
18
  }
48
- .k-select:hover {
19
+
20
+ // Focus state
21
+ &:focus,
22
+ &.k-state-focus {
49
23
  @include fill(
50
- $combobox-select-hovered-text,
51
- $combobox-select-hovered-bg,
52
- $combobox-select-hovered-border,
53
- $combobox-select-hovered-gradient
24
+ $input-focused-text,
25
+ $input-focused-bg,
26
+ $input-focused-border
54
27
  );
28
+ @include box-shadow( $input-focused-shadow );
55
29
  }
56
-
57
- // Focus state
58
- > .k-state-focused {
30
+ &:focus-within {
59
31
  @include fill(
60
- $combobox-focused-text,
61
- $combobox-focused-bg,
62
- $combobox-focused-border
32
+ $input-focused-text,
33
+ $input-focused-bg,
34
+ $input-focused-border
63
35
  );
64
- @include box-shadow($combobox-focused-shadow);
36
+ @include box-shadow( $input-focused-shadow );
65
37
  }
66
38
 
67
- // Invalid
68
- &.k-state-invalid,
69
- &.ng-invalid.ng-touched,
70
- &.ng-invalid.ng-dirty {
71
- .k-dropdown-wrap {
72
- border-color: $invalid-border;
73
-
74
- .k-input-validation-icon {
75
- color: $invalid-text;
76
- }
77
39
 
78
- &:focus,
79
- &.k-state-focused {
80
- @include box-shadow($invalid-shadow);
81
- }
82
- }
83
- }
84
- }
40
+ // Invalid state
41
+ &.k-invalid,
42
+ &.ng-invalid,
43
+ &.k-state-invalid {
44
+ border-color: $invalid-border;
85
45
 
86
- // Universal rendering
87
- .k-combobox {
88
- &.k-state-hover {
89
- .k-dropdown-wrap {
90
- @include fill(
91
- $combobox-hovered-text,
92
- $combobox-hovered-bg,
93
- $combobox-hovered-border
94
- );
46
+ .k-input-validation-icon {
47
+ color: $invalid-text;
95
48
  }
96
- }
97
49
 
98
- &.k-state-focus {
99
- .k-dropdown-wrap {
100
- @include fill(
101
- $combobox-focused-text,
102
- $combobox-focused-bg,
103
- $combobox-focused-border
104
- );
105
- @include box-shadow($combobox-focused-shadow);
50
+ &:focus-within,
51
+ &.k-state-focus {
52
+ @include box-shadow($invalid-shadow);
106
53
  }
107
54
  }
108
55
 
109
- &.k-invalid {
110
- .k-dropdown-wrap {
111
- border-color: $invalid-border;
112
56
 
113
- .k-input-validation-icon {
114
- color: $invalid-text;
115
- }
116
- }
57
+ // Select
58
+ .k-select {
59
+ @include fill(
60
+ $picker-select-text,
61
+ $picker-select-bg,
62
+ $picker-select-border,
63
+ $picker-select-gradient
64
+ );
117
65
  }
118
-
119
- &.k-invalid.k-state-focus {
120
- .k-dropdown-wrap {
121
- @include box-shadow($invalid-shadow);
122
- }
66
+ .k-select:hover,
67
+ .k-select.k-state-hover {
68
+ @include fill(
69
+ $picker-select-hovered-text,
70
+ $picker-select-hovered-bg,
71
+ $picker-select-hovered-border,
72
+ $picker-select-hovered-gradient
73
+ );
74
+ }
75
+ .k-select:active,
76
+ .k-select.k-state-active {
77
+ @include fill(
78
+ $picker-select-pressed-text,
79
+ $picker-select-pressed-bg,
80
+ $picker-select-pressed-border,
81
+ $picker-select-pressed-gradient
82
+ );
123
83
  }
124
84
  }
125
85
 
@@ -1,32 +1 @@
1
- // Comboboxes
2
- $combobox-select-padding-x: 0px !default;
3
- $combobox-select-padding-y: 0px !default;
4
- $combobox-select-width: $button-inner-calc-size !default;
5
-
6
- $combobox-bg: $input-bg !default;
7
- $combobox-text: $input-text !default;
8
- $combobox-border: $input-border !default;
9
-
10
- $combobox-hovered-bg: $input-hovered-bg !default;
11
- $combobox-hovered-text: $input-hovered-text !default;
12
- $combobox-hovered-border: $input-hovered-border !default;
13
-
14
- $combobox-focused-bg: $input-focused-bg !default;
15
- $combobox-focused-text: $input-focused-text !default;
16
- $combobox-focused-border: $input-focused-border !default;
17
- $combobox-focused-shadow: $input-focused-shadow !default;
18
-
19
- $combobox-select-bg: $button-bg !default;
20
- $combobox-select-text: $button-text !default;
21
- $combobox-select-border: $button-border !default;
22
- $combobox-select-gradient: $button-gradient !default;
23
-
24
- $combobox-select-hovered-bg: $button-hovered-bg !default;
25
- $combobox-select-hovered-text: $button-hovered-text !default;
26
- $combobox-select-hovered-border: $button-hovered-border !default;
27
- $combobox-select-hovered-gradient: $button-hovered-gradient !default;
28
-
29
- $combobox-select-pressed-bg: $button-active-bg !default;
30
- $combobox-select-pressed-text: $button-active-text !default;
31
- $combobox-select-pressed-border: $button-active-border !default;
32
- $combobox-select-pressed-gradient: $button-active-gradient !default;
1
+ // Combobox
@@ -1,4 +1,5 @@
1
1
  @include exports("dropdowngrid/layout") {
2
+
2
3
  .k-dropdowngrid-popup {
3
4
  overflow: hidden;
4
5
  }