@progress/kendo-theme-default 4.43.1-dev.1 → 4.43.1-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 (60) hide show
  1. package/dist/all.css +695 -747
  2. package/dist/all.scss +1405 -1200
  3. package/package.json +2 -2
  4. package/scss/avatar/index.md +0 -0
  5. package/scss/calendar/_theme.scss +0 -21
  6. package/scss/checkbox/index.md +0 -0
  7. package/scss/chip/_layout.scss +103 -123
  8. package/scss/chip/_theme.scss +289 -300
  9. package/scss/chip/_variables.scss +7 -9
  10. package/scss/chip/index.md +0 -0
  11. package/scss/color-preview/_layout.scss +1 -1
  12. package/scss/color-preview/_theme.scss +3 -2
  13. package/scss/color-preview/_variables.scss +2 -1
  14. package/scss/colorpicker/_layout.scss +17 -45
  15. package/scss/colorpicker/_theme.scss +33 -42
  16. package/scss/dateinput/_index.scss +11 -0
  17. package/scss/dateinput/_layout.scss +81 -0
  18. package/scss/dateinput/_theme.scss +86 -0
  19. package/scss/dateinput/_variables.scss +1 -0
  20. package/scss/datepicker/_index.scss +13 -0
  21. package/scss/datepicker/_layout.scss +48 -0
  22. package/scss/datepicker/_theme.scss +87 -0
  23. package/scss/datepicker/_variables.scss +1 -0
  24. package/scss/{datetime → datetimepicker}/_index.scss +5 -4
  25. package/scss/datetimepicker/_layout.scss +120 -0
  26. package/scss/datetimepicker/_theme.scss +89 -0
  27. package/scss/datetimepicker/_variables.scss +2 -0
  28. package/scss/dropdowngrid/index.md +0 -0
  29. package/scss/filter/_index.scss +1 -1
  30. package/scss/filter/_layout.scss +9 -2
  31. package/scss/filter/_theme.scss +3 -1
  32. package/scss/gantt/_index.scss +1 -1
  33. package/scss/grid/_index.scss +1 -1
  34. package/scss/grid/_layout.scss +0 -4
  35. package/scss/index.scss +5 -1
  36. package/scss/input/_layout.scss +25 -26
  37. package/scss/input/_variables.scss +15 -0
  38. package/scss/list/index.md +0 -0
  39. package/scss/panelbar/_theme.scss +9 -2
  40. package/scss/panelbar/_variables.scss +4 -0
  41. package/scss/pivotgrid/_layout.scss +0 -16
  42. package/scss/pivotgrid/_variables.scss +0 -3
  43. package/scss/radio/index.md +0 -0
  44. package/scss/scheduler/_index.scss +1 -1
  45. package/scss/scrollview/_layout.scss +6 -1
  46. package/scss/spreadsheet/_index.scss +1 -1
  47. package/scss/switch/index.md +0 -0
  48. package/scss/table/_layout.scss +35 -3
  49. package/scss/timepicker/_index.scss +15 -0
  50. package/scss/timepicker/_layout.scss +48 -0
  51. package/scss/timepicker/_theme.scss +87 -0
  52. package/scss/timepicker/_variables.scss +1 -0
  53. package/scss/timeselector/_index.scss +13 -0
  54. package/scss/timeselector/_layout.scss +207 -0
  55. package/scss/timeselector/_theme.scss +70 -0
  56. package/scss/timeselector/_variables.scss +32 -0
  57. package/scss/utils/_border.scss +1 -2
  58. package/scss/datetime/_layout.scss +0 -462
  59. package/scss/datetime/_theme.scss +0 -321
  60. package/scss/datetime/_variables.scss +0 -53
@@ -0,0 +1,48 @@
1
+ @include exports( "timepicker/layout" ) {
2
+
3
+ // Time picker
4
+ .k-timepicker {
5
+ @include border-radius( $input-border-radius );
6
+ width: $input-default-width;
7
+ border-width: $input-border-width;
8
+ border-style: solid;
9
+ box-sizing: border-box;
10
+ outline: 0;
11
+ font-family: $input-font-family;
12
+ font-size: $input-font-size;
13
+ line-height: $input-line-height;
14
+ text-align: start;
15
+ white-space: nowrap;
16
+ display: inline-flex;
17
+ flex-flow: row nowrap;
18
+ vertical-align: middle;
19
+ position: relative;
20
+ overflow: hidden;
21
+ transition: all .1s ease; // sass-lint:disable-line no-transition-all
22
+ -webkit-touch-callout: none;
23
+ -webkit-tap-highlight-color: $rgba-transparent;
24
+
25
+
26
+ // Input
27
+ .k-input {}
28
+
29
+
30
+ // Select
31
+ .k-select {
32
+ padding: $picker-select-padding-y $picker-select-padding-x;
33
+ width: if( $use-picker-select-width, $spinner-width, null );
34
+ border-width: 0;
35
+ border-inline-start-width: $picker-select-border-width;
36
+ border-style: solid;
37
+ box-sizing: border-box;
38
+ outline: 0;
39
+ display: flex;
40
+ flex-flow: row nowrap;
41
+ align-items: center;
42
+ justify-content: center;
43
+ flex: 0 0 auto;
44
+ cursor: pointer;
45
+ }
46
+ }
47
+
48
+ }
@@ -0,0 +1,87 @@
1
+ @include exports( "timepicker/theme" ) {
2
+
3
+ // Time picker
4
+ .k-timepicker {
5
+ @include fill(
6
+ $input-text,
7
+ $input-bg,
8
+ $input-border
9
+ );
10
+
11
+ // Hover state
12
+ &:hover,
13
+ &.k-state-hover {
14
+ @include fill(
15
+ $input-hovered-text,
16
+ $input-hovered-bg,
17
+ $input-hovered-border
18
+ );
19
+ }
20
+
21
+ // Focus state
22
+ &:focus,
23
+ &.k-state-focus {
24
+ @include fill(
25
+ $input-focused-text,
26
+ $input-focused-bg,
27
+ $input-focused-border
28
+ );
29
+ @include box-shadow( $input-focused-shadow );
30
+ }
31
+ &:focus-within {
32
+ @include fill(
33
+ $input-focused-text,
34
+ $input-focused-bg,
35
+ $input-focused-border
36
+ );
37
+ @include box-shadow( $input-focused-shadow );
38
+ }
39
+
40
+
41
+ // Invalid state
42
+ &.k-invalid,
43
+ &.ng-invalid,
44
+ &.k-state-invalid {
45
+ border-color: $invalid-border;
46
+
47
+ .k-input-validation-icon {
48
+ color: $invalid-text;
49
+ }
50
+
51
+ &:focus-within,
52
+ &.k-state-focus {
53
+ @include box-shadow($invalid-shadow);
54
+ }
55
+ }
56
+
57
+
58
+ // Spinner
59
+ .k-select {
60
+ @include fill(
61
+ $picker-select-text,
62
+ $picker-select-bg,
63
+ $picker-select-border,
64
+ $picker-select-gradient
65
+ );
66
+ }
67
+ .k-select:hover,
68
+ .k-select.k-state-hover {
69
+ @include fill(
70
+ $picker-select-hovered-text,
71
+ $picker-select-hovered-bg,
72
+ $picker-select-hovered-border,
73
+ $picker-select-hovered-gradient
74
+ );
75
+ }
76
+ .k-select:active,
77
+ .k-select.k-state-active {
78
+ @include fill(
79
+ $picker-select-pressed-text,
80
+ $picker-select-pressed-bg,
81
+ $picker-select-pressed-border,
82
+ $picker-select-pressed-gradient
83
+ );
84
+ }
85
+ }
86
+
87
+ }
@@ -0,0 +1 @@
1
+ // Time picker
@@ -0,0 +1,13 @@
1
+ @import "../core/_index.scss";
2
+
3
+
4
+ // Dependencies
5
+ @import "../list/_index.scss";
6
+ @import "../action-buttons/_index.scss";
7
+ @import "../button/_index.scss";
8
+
9
+
10
+ // Component
11
+ @import "_variables.scss";
12
+ @import "_layout.scss";
13
+ @import "_theme.scss";
@@ -0,0 +1,207 @@
1
+ @include exports( "timeselector/layout" ) {
2
+
3
+ // Time selector
4
+ .k-timeselector {
5
+ border-width: $time-selector-border-width;
6
+ border-style: solid;
7
+ box-sizing: border-box;
8
+ outline: 0;
9
+ font-family: $time-selector-font-family;
10
+ font-size: $time-selector-font-size;
11
+ line-height: $time-selector-line-height;
12
+ position: relative;
13
+ overflow: hidden;
14
+ display: flex;
15
+ flex-flow: column nowrap;
16
+ user-select: none;
17
+ -webkit-touch-callout: none;
18
+ -webkit-tap-highlight-color: $rgba-transparent;
19
+
20
+ .k-popup > & {
21
+ border-width: 0;
22
+ }
23
+ }
24
+
25
+
26
+ // Time selector header
27
+ .k-time-header,
28
+ .k-time-selector-header {
29
+ padding: $time-selector-header-padding-y $time-selector-header-padding-x;
30
+ box-sizing: border-box;
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: space-between;
34
+ flex: 0 0 auto;
35
+
36
+ .k-title,
37
+ .k-time-selector-header-title {
38
+ padding: $button-padding-y $button-padding-x;
39
+ font-weight: bold;
40
+ display: inline-block;
41
+ }
42
+
43
+ .k-time-now {
44
+ border-width: 0;
45
+ line-height: inherit;
46
+ cursor: pointer;
47
+ }
48
+ }
49
+
50
+
51
+ // Time selector footer
52
+ // .k-time-footer {}
53
+ // .k-time-selector-footer {}
54
+
55
+
56
+ // Time list container
57
+ .k-time-list-container {
58
+ display: flex;
59
+ position: relative;
60
+ flex: 1 1 auto;
61
+ }
62
+
63
+
64
+ // Time list highlight
65
+ .k-time-highlight,
66
+ .k-time-list-highlight {
67
+ width: 100%;
68
+ height: $time-list-highlight-height;
69
+ border-width: $time-list-highlight-border-width;
70
+ border-style: solid;
71
+ box-sizing: border-box;
72
+ position: absolute;
73
+ top: calc( 50% + #{$time-list-title-height / 2});
74
+ left: 0;
75
+ right: 0;
76
+ transform: translateY(-50%);
77
+ z-index: 1;
78
+ }
79
+
80
+
81
+ // Time list wrapper
82
+ .k-time-list-wrapper {
83
+ min-width: $time-list-width;
84
+ height: $time-list-height;
85
+ box-sizing: content-box;
86
+ display: inline-flex;
87
+ flex-flow: column nowrap;
88
+ align-items: stretch;
89
+ overflow: hidden;
90
+ position: relative;
91
+ text-align: center;
92
+ flex: 1 1 auto;
93
+
94
+ .k-title {
95
+ font-size: $time-list-title-font-size;
96
+ line-height: $time-list-title-line-height;
97
+ font-weight: bold;
98
+ text-align: center;
99
+ text-transform: capitalize;
100
+ display: block;
101
+ }
102
+
103
+ &.k-state-focused {
104
+ &::before,
105
+ &::after {
106
+ display: block;
107
+ content: " ";
108
+ position: absolute;
109
+ width: 100%;
110
+ left: 0;
111
+ pointer-events: none;
112
+ height: calc( 50% - #{$time-list-highlight-height / 2} );
113
+ box-sizing: border-box;
114
+ border-width: 0;
115
+ border-style: solid;
116
+ }
117
+
118
+ &::before {
119
+ top: $time-list-title-height;
120
+ }
121
+
122
+ &::after {
123
+ bottom: 0;
124
+ }
125
+ }
126
+ }
127
+
128
+
129
+ // Time list
130
+ .k-time-list {
131
+ display: flex;
132
+ flex-flow: row nowrap;
133
+ align-items: stretch;
134
+ flex: 1;
135
+ position: relative;
136
+ z-index: 1;
137
+ overflow: hidden;
138
+
139
+ &::before,
140
+ &::after {
141
+ display: block;
142
+ position: absolute;
143
+ content: " ";
144
+ height: 0;
145
+ line-height: 0;
146
+ z-index: 1;
147
+ width: 200%;
148
+ left: -50%;
149
+ }
150
+
151
+ &::before { top: 0; }
152
+ &::after { bottom: 0; }
153
+ }
154
+
155
+
156
+ // Time list content
157
+ .k-time-container,
158
+ .k-time-list-content {
159
+ position: relative;
160
+ flex: 1 1 auto;
161
+ display: block;
162
+ overflow-x: hidden;
163
+ overflow-y: scroll;
164
+
165
+ @include hide-scrollbar("right");
166
+
167
+ > ul {
168
+ height: auto;
169
+ width: $time-list-width;
170
+ margin: auto;
171
+ }
172
+
173
+ .k-rtl &
174
+ [dir="rtl"] & {
175
+ @include hide-scrollbar("left");
176
+ }
177
+
178
+ .k-scrollable-placeholder {
179
+ position: absolute;
180
+ width: 1px;
181
+ top: 0;
182
+ right: 0;
183
+ }
184
+ }
185
+
186
+
187
+ // Time list item
188
+ .k-time-list-item,
189
+ .k-time-list .k-item {
190
+ padding: $time-list-item-padding-y $time-list-item-padding-x;
191
+ }
192
+
193
+
194
+ // Time separator
195
+ .k-time-separator {
196
+ width: 0;
197
+ height: $time-list-highlight-height;
198
+ align-self: center;
199
+ display: inline-flex;
200
+ justify-content: center;
201
+ align-items: center;
202
+ position: relative;
203
+ z-index: 11;
204
+ top: calc( #{$time-list-title-height / 2} );
205
+ }
206
+
207
+ }
@@ -0,0 +1,70 @@
1
+ @include exports( "timeselector/theme" ) {
2
+
3
+ // Time selector
4
+ .k-timeselector {
5
+ @include fill(
6
+ $time-selector-text,
7
+ $time-selector-bg,
8
+ $time-selector-border
9
+ );
10
+ }
11
+
12
+
13
+ // Time selector header
14
+ .k-time-header,
15
+ .k-time-selector-header {
16
+
17
+ .k-time-now {
18
+ color: $link-text;
19
+ }
20
+ .k-time-now:hover {
21
+ color: $link-hover-text;
22
+ }
23
+ }
24
+
25
+
26
+ // Time list wrapper
27
+ .k-time-list-wrapper {
28
+
29
+ .k-title {
30
+ color: $time-list-title-text;
31
+ }
32
+
33
+ &.k-state-focused {
34
+ .k-title {
35
+ color: $time-list-title-focus-text;
36
+ }
37
+
38
+ &::before,
39
+ &::after {
40
+ background-color: $time-list-focused-bg;
41
+ }
42
+ }
43
+ }
44
+
45
+
46
+ // Time list
47
+ .k-time-list {
48
+ &::before,
49
+ &::after {
50
+ $shadow-size: 3em;
51
+ box-shadow: 0 0 $shadow-size ($shadow-size / 2) $time-selector-bg;
52
+ }
53
+
54
+ .k-item:hover {
55
+ color: $primary;
56
+ }
57
+ }
58
+
59
+ .k-time-container {
60
+ background: transparent;
61
+ }
62
+
63
+ .k-time-highlight {
64
+ @include fill(
65
+ $bg: $time-list-highlight-bg,
66
+ $border: $time-list-highlight-border
67
+ );
68
+ }
69
+
70
+ }
@@ -0,0 +1,32 @@
1
+ // Time selector
2
+ $time-selector-border-width: 1px !default;
3
+ $time-selector-font-family: $font-family !default;
4
+ $time-selector-font-size: $font-size !default;
5
+ $time-selector-line-height: $line-height !default;
6
+
7
+ $time-selector-bg: $component-bg !default;
8
+ $time-selector-text: $component-text !default;
9
+ $time-selector-border: $component-border !default;
10
+
11
+ $time-selector-header-padding-x: map-get( $spacing, 1 ) !default;
12
+ $time-selector-header-padding-y: map-get( $spacing, 1 ) !default;
13
+ $time-selector-header-border-width: 0px !default;
14
+
15
+ $time-list-width: 4em !default;
16
+ $time-list-height: 240px !default;
17
+
18
+ $time-list-title-font-size: $font-size-sm !default;
19
+ $time-list-title-line-height: 1.5 !default;
20
+ $time-list-title-height: ( $time-list-title-font-size * $time-list-title-line-height) !default;
21
+ $time-list-title-text: $subtle-text !default;
22
+ $time-list-title-focus-text: $component-text !default;
23
+
24
+ $time-list-item-padding-x: $list-item-padding-x !default;
25
+ $time-list-item-padding-y: $list-item-padding-y !default;
26
+
27
+ $time-list-highlight-border-width: 1px 0px !default;
28
+ $time-list-highlight-height: calc( #{$time-selector-font-size * $time-selector-line-height} + #{ $time-list-item-padding-y * 2} ) !default;
29
+ $time-list-highlight-bg: $component-bg !default;
30
+ $time-list-highlight-border: $component-border !default;
31
+
32
+ $time-list-focused-bg: rgba(0, 0, 0, .04) !default;
@@ -46,8 +46,7 @@
46
46
  sm: ( map-get( $spacing, 1 ) / 4 ),
47
47
  md: ( map-get( $spacing, 1 ) / 2 ),
48
48
  lg: map-get( $spacing, 1 ),
49
- circle: 50%,
50
- pill: 9999px
49
+ full: 9999px
51
50
  ) !default;
52
51
 
53
52