@progress/kendo-theme-default 4.41.3-dev.1 → 4.41.3-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.
- package/dist/all.css +414 -91
- package/dist/all.scss +502 -191
- package/package.json +2 -2
- package/scss/chip/_layout.scss +9 -15
- package/scss/chip/_theme.scss +302 -85
- package/scss/chip/_variables.scss +139 -50
- package/scss/core/mixins/_index.scss +1 -1
- package/scss/scheduler/_layout.scss +3 -0
- package/scss/styling/_index.scss +1 -1
- package/scss/utils/_border.scss +11 -2
- package/scss/utils/_index.scss +1 -0
- package/scss/{common/_decoration.scss → utils/_theme-colors.scss} +15 -19
|
@@ -21,81 +21,170 @@ $chip-remove-icon-font-size: 14px !default;
|
|
|
21
21
|
|
|
22
22
|
$chip-avatar-size: 16px !default;
|
|
23
23
|
|
|
24
|
-
$chip-
|
|
25
|
-
$chip-filled-text: $body-text !default;
|
|
26
|
-
$chip-filled-border: rgba( black, .08 ) !default;
|
|
24
|
+
$chip-base-bg: get-base-hue( gray, 800 ) !default;
|
|
27
25
|
|
|
28
|
-
$chip-
|
|
29
|
-
$chip-
|
|
30
|
-
$chip-
|
|
26
|
+
$chip-solid-bg: rgba( $chip-base-bg, .08 ) !default;
|
|
27
|
+
$chip-solid-text: $chip-base-bg !default;
|
|
28
|
+
$chip-solid-border: rgba( $chip-base-bg, .3 ) !default;
|
|
31
29
|
|
|
32
|
-
$chip-
|
|
33
|
-
$chip-
|
|
30
|
+
$chip-solid-hover-bg: rgba( $chip-base-bg, .16 ) !default;
|
|
31
|
+
$chip-solid-hover-text: null !default;
|
|
32
|
+
$chip-solid-hover-border: null !default;
|
|
34
33
|
|
|
35
|
-
$chip-
|
|
36
|
-
$chip-
|
|
37
|
-
$chip-filled-selected-border: null !default;
|
|
34
|
+
$chip-solid-focus-bg: $chip-solid-bg !default;
|
|
35
|
+
$chip-solid-focus-shadow: 0 0 0 2px rgba( $chip-base-bg, .16 ) !default;
|
|
38
36
|
|
|
39
|
-
$chip-
|
|
40
|
-
$chip-
|
|
41
|
-
$chip-
|
|
37
|
+
$chip-solid-selected-bg: rgba( $chip-base-bg, .24 ) !default;
|
|
38
|
+
$chip-solid-selected-text: null !default;
|
|
39
|
+
$chip-solid-selected-border: null !default;
|
|
42
40
|
|
|
43
|
-
$chip-
|
|
44
|
-
$chip-
|
|
45
|
-
$chip-
|
|
41
|
+
$chip-solid-success-bg: rgba( $success, .08 ) !default;
|
|
42
|
+
$chip-solid-success-text: $success !default;
|
|
43
|
+
$chip-solid-success-border: rgba( $success, .3 ) !default;
|
|
46
44
|
|
|
47
|
-
$chip-
|
|
48
|
-
$chip-
|
|
49
|
-
$chip-
|
|
45
|
+
$chip-solid-success-hover-bg: rgba( $success, .16 ) !default;
|
|
46
|
+
$chip-solid-success-hover-text: null !default;
|
|
47
|
+
$chip-solid-success-hover-border: null !default;
|
|
50
48
|
|
|
51
|
-
$chip-
|
|
52
|
-
$chip-
|
|
53
|
-
$chip-
|
|
49
|
+
$chip-solid-success-focus-bg: null !default;
|
|
50
|
+
$chip-solid-success-focus-text: null !default;
|
|
51
|
+
$chip-solid-success-focus-border: null !default;
|
|
54
52
|
|
|
55
|
-
$chip-
|
|
56
|
-
$chip-
|
|
57
|
-
$chip-
|
|
53
|
+
$chip-solid-success-selected-bg: rgba( $success, .24 ) !default;
|
|
54
|
+
$chip-solid-success-selected-text: null !default;
|
|
55
|
+
$chip-solid-success-selected-border: null !default;
|
|
58
56
|
|
|
59
|
-
$chip-
|
|
60
|
-
$chip-
|
|
61
|
-
$chip-
|
|
57
|
+
$chip-solid-warning-bg: rgba( $warning, .08 ) !default;
|
|
58
|
+
$chip-solid-warning-text: $warning !default;
|
|
59
|
+
$chip-solid-warning-border: rgba( $warning, .3 ) !default;
|
|
62
60
|
|
|
63
|
-
$chip-
|
|
64
|
-
$chip-
|
|
65
|
-
$chip-
|
|
66
|
-
$chip-outline-focused-shadow: 0 0 0 2px rgba(0, 0, 0, .08) !default;
|
|
61
|
+
$chip-solid-warning-hover-bg: rgba( $warning, .16 ) !default;
|
|
62
|
+
$chip-solid-warning-hover-text: null !default;
|
|
63
|
+
$chip-solid-warning-hover-border: null !default;
|
|
67
64
|
|
|
68
|
-
$chip-
|
|
69
|
-
$chip-
|
|
65
|
+
$chip-solid-warning-focus-bg: null !default;
|
|
66
|
+
$chip-solid-warning-focus-text: null !default;
|
|
67
|
+
$chip-solid-warning-focus-border: null !default;
|
|
70
68
|
|
|
71
|
-
$chip-
|
|
69
|
+
$chip-solid-warning-selected-bg: rgba( $warning, .24 ) !default;
|
|
70
|
+
$chip-solid-warning-selected-text: null !default;
|
|
71
|
+
$chip-solid-warning-selected-border: null !default;
|
|
72
|
+
|
|
73
|
+
$chip-solid-error-bg: rgba( $error, .08 ) !default;
|
|
74
|
+
$chip-solid-error-text: $error !default;
|
|
75
|
+
$chip-solid-error-border: rgba( $error, .3 ) !default;
|
|
76
|
+
|
|
77
|
+
$chip-solid-error-hover-bg: rgba( $error, .16 ) !default;
|
|
78
|
+
$chip-solid-error-hover-text: null !default;
|
|
79
|
+
$chip-solid-error-hover-border: null !default;
|
|
80
|
+
|
|
81
|
+
$chip-solid-error-focus-bg: null !default;
|
|
82
|
+
$chip-solid-error-focus-text: null !default;
|
|
83
|
+
$chip-solid-error-focus-border: null !default;
|
|
84
|
+
|
|
85
|
+
$chip-solid-error-selected-bg: rgba( $error, .24 ) !default;
|
|
86
|
+
$chip-solid-error-selected-text: null !default;
|
|
87
|
+
$chip-solid-error-selected-border: null !default;
|
|
88
|
+
|
|
89
|
+
$chip-solid-info-bg: rgba( $info, .08 ) !default;
|
|
90
|
+
$chip-solid-info-text: $info !default;
|
|
91
|
+
$chip-solid-info-border: rgba( $info, .3 ) !default;
|
|
92
|
+
|
|
93
|
+
$chip-solid-info-hover-bg: rgba( $info, .16 ) !default;
|
|
94
|
+
$chip-solid-info-hover-text: null !default;
|
|
95
|
+
$chip-solid-info-hover-border: null !default;
|
|
96
|
+
|
|
97
|
+
$chip-solid-info-focus-bg: null !default;
|
|
98
|
+
$chip-solid-info-focus-text: null !default;
|
|
99
|
+
$chip-solid-info-focus-border: null !default;
|
|
100
|
+
|
|
101
|
+
$chip-solid-info-selected-bg: rgba( $info, .24 ) !default;
|
|
102
|
+
$chip-solid-info-selected-text: null !default;
|
|
103
|
+
$chip-solid-info-selected-border: null !default;
|
|
104
|
+
|
|
105
|
+
$chip-outline-bg: $body-bg !default;
|
|
106
|
+
$chip-outline-text: $chip-base-bg !default;
|
|
107
|
+
$chip-outline-border: $chip-base-bg !default;
|
|
108
|
+
|
|
109
|
+
$chip-outline-hover-bg: $chip-base-bg !default;
|
|
110
|
+
$chip-outline-hover-text: contrast-wcag( $chip-outline-hover-bg ) !default;
|
|
111
|
+
$chip-outline-hover-border: null !default;
|
|
112
|
+
|
|
113
|
+
$chip-outline-focus-bg: null !default;
|
|
114
|
+
$chip-outline-focus-text: null !default;
|
|
115
|
+
$chip-outline-focus-border: null !default;
|
|
116
|
+
$chip-outline-focus-shadow: 0 0 0 2px rgba( $black, .08 ) !default;
|
|
117
|
+
|
|
118
|
+
$chip-outline-selected-bg: $chip-outline-hover-bg !default;
|
|
119
|
+
$chip-outline-selected-text: $chip-outline-hover-text !default;
|
|
120
|
+
|
|
121
|
+
$chip-outline-success-bg: null !default;
|
|
72
122
|
$chip-outline-success-text: $success !default;
|
|
73
|
-
$chip-outline-success-border:
|
|
123
|
+
$chip-outline-success-border: $success !default;
|
|
124
|
+
|
|
125
|
+
$chip-outline-success-hover-bg: $success !default;
|
|
126
|
+
$chip-outline-success-hover-text: contrast-wcag( $chip-outline-success-hover-bg ) !default;
|
|
127
|
+
$chip-outline-success-hover-border: null !default;
|
|
128
|
+
|
|
129
|
+
$chip-outline-success-focus-bg: nul !default;
|
|
130
|
+
$chip-outline-success-focus-text: null !default;
|
|
131
|
+
$chip-outline-success-focus-border: null !default;
|
|
74
132
|
|
|
75
|
-
$chip-outline-
|
|
133
|
+
$chip-outline-success-selected-bg: $chip-outline-success-hover-bg !default;
|
|
134
|
+
$chip-outline-success-selected-text: $chip-outline-success-hover-text !default;
|
|
135
|
+
$chip-outline-success-selected-border: null !default;
|
|
136
|
+
|
|
137
|
+
$chip-outline-warning-bg: null !default;
|
|
76
138
|
$chip-outline-warning-text: $warning !default;
|
|
77
|
-
$chip-outline-warning-border:
|
|
139
|
+
$chip-outline-warning-border: $warning !default;
|
|
140
|
+
|
|
141
|
+
$chip-outline-warning-hover-bg: $warning !default;
|
|
142
|
+
$chip-outline-warning-hover-text: $white !default;
|
|
143
|
+
$chip-outline-warning-hover-border: null !default;
|
|
144
|
+
|
|
145
|
+
$chip-outline-warning-focus-bg: nul !default;
|
|
146
|
+
$chip-outline-warning-focus-text: null !default;
|
|
147
|
+
$chip-outline-warning-focus-border: null !default;
|
|
78
148
|
|
|
79
|
-
$chip-outline-
|
|
149
|
+
$chip-outline-warning-selected-bg: $chip-outline-warning-hover-bg !default;
|
|
150
|
+
$chip-outline-warning-selected-text: $chip-outline-warning-hover-text !default;
|
|
151
|
+
$chip-outline-warning-selected-border: null !default;
|
|
152
|
+
|
|
153
|
+
$chip-outline-error-bg: null !default;
|
|
80
154
|
$chip-outline-error-text: $error !default;
|
|
81
|
-
$chip-outline-error-border:
|
|
155
|
+
$chip-outline-error-border: $error !default;
|
|
156
|
+
|
|
157
|
+
$chip-outline-error-hover-bg: $error !default;
|
|
158
|
+
$chip-outline-error-hover-text: contrast-wcag( $chip-outline-error-hover-bg ) !default;
|
|
159
|
+
$chip-outline-error-hover-border: null !default;
|
|
160
|
+
|
|
161
|
+
$chip-outline-error-focus-bg: nul !default;
|
|
162
|
+
$chip-outline-error-focus-text: null !default;
|
|
163
|
+
$chip-outline-error-focus-border: null !default;
|
|
82
164
|
|
|
83
|
-
$chip-outline-
|
|
165
|
+
$chip-outline-error-selected-bg: $chip-outline-error-hover-bg !default;
|
|
166
|
+
$chip-outline-error-selected-text: $chip-outline-error-hover-text !default;
|
|
167
|
+
$chip-outline-error-selected-border: null !default;
|
|
168
|
+
|
|
169
|
+
$chip-outline-info-bg: null !default;
|
|
84
170
|
$chip-outline-info-text: $info !default;
|
|
85
|
-
$chip-outline-info-border:
|
|
171
|
+
$chip-outline-info-border: $info !default;
|
|
172
|
+
|
|
173
|
+
$chip-outline-info-hover-bg: $info !default;
|
|
174
|
+
$chip-outline-info-hover-text: contrast-wcag( $chip-outline-info-hover-bg ) !default;
|
|
175
|
+
$chip-outline-info-hover-border: null !default;
|
|
86
176
|
|
|
87
|
-
$chip-
|
|
88
|
-
$chip-
|
|
89
|
-
$chip-
|
|
177
|
+
$chip-outline-info-focus-bg: nul !default;
|
|
178
|
+
$chip-outline-info-focus-text: null !default;
|
|
179
|
+
$chip-outline-info-focus-border: null !default;
|
|
90
180
|
|
|
91
|
-
$chip-outline-
|
|
92
|
-
$chip-outline-
|
|
93
|
-
$chip-outline-
|
|
181
|
+
$chip-outline-info-selected-bg: $chip-outline-info-hover-bg !default;
|
|
182
|
+
$chip-outline-info-selected-text: $chip-outline-info-hover-text !default;
|
|
183
|
+
$chip-outline-info-selected-border: null !default;
|
|
94
184
|
|
|
95
185
|
$chip-multiple-selected-icon-bg: rgba( black, .44 ) !default;
|
|
96
186
|
$chip-multiple-selected-icon-text: #ffffff !default;
|
|
97
187
|
|
|
98
|
-
|
|
99
188
|
$chip-primary-focus-shadow: 0 0 0 2px rgba( $primary, .16 ) !default;
|
|
100
189
|
$chip-secondary-focus-shadow: 0 0 0 2px rgba( $secondary, .16 ) !default;
|
|
101
190
|
$chip-info-focus-shadow: 0 0 0 2px rgba( $info, .16 ) !default;
|
package/scss/styling/_index.scss
CHANGED
package/scss/utils/_border.scss
CHANGED
|
@@ -33,12 +33,21 @@
|
|
|
33
33
|
top: ( border-top-left-radius, border-top-right-radius ),
|
|
34
34
|
right: ( border-top-right-radius, border-bottom-right-radius ),
|
|
35
35
|
bottom: ( border-bottom-left-radius, border-bottom-right-radius ),
|
|
36
|
-
left: ( border-bottom-left-radius, border-top-left-radius )
|
|
36
|
+
left: ( border-bottom-left-radius, border-top-left-radius ),
|
|
37
|
+
top-left: border-top-left-radius,
|
|
38
|
+
top-right: border-top-right-radius,
|
|
39
|
+
bottom-left: border-bottom-left-radius,
|
|
40
|
+
bottom-right: border-bottom-right-radius
|
|
37
41
|
) !default;
|
|
38
42
|
|
|
39
43
|
$utils-border-radius: (
|
|
40
44
|
default: map-get( $spacing, 1 ),
|
|
41
|
-
0: 0
|
|
45
|
+
0: 0,
|
|
46
|
+
sm: map-get( $spacing, 1 ) / 2,
|
|
47
|
+
md: map-get( $spacing, 1 ),
|
|
48
|
+
lg: map-get( $spacing, 2 ),
|
|
49
|
+
circle: 50%,
|
|
50
|
+
pill: 9999px
|
|
42
51
|
) !default;
|
|
43
52
|
|
|
44
53
|
|
package/scss/utils/_index.scss
CHANGED
|
@@ -3,15 +3,12 @@
|
|
|
3
3
|
// sass-lint:disable-block no-important
|
|
4
4
|
// stylelint-disable block-opening-brace-space-before
|
|
5
5
|
|
|
6
|
-
.k-text-
|
|
7
|
-
.k-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
.k-text-error { color: $error !important; }
|
|
11
|
-
|
|
12
|
-
.k-text-base { color: $base-text; }
|
|
6
|
+
.k-text-base,
|
|
7
|
+
.k-color-base {
|
|
8
|
+
color: $base-text;
|
|
9
|
+
}
|
|
13
10
|
|
|
14
|
-
.k-color-inherit
|
|
11
|
+
.k-color-inherit { color: inherit; }
|
|
15
12
|
|
|
16
13
|
@each $name, $color in $theme-colors {
|
|
17
14
|
.k-text-#{$name},
|
|
@@ -27,11 +24,11 @@
|
|
|
27
24
|
|
|
28
25
|
// sass-lint:disable-block no-important
|
|
29
26
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
@each $name, $bg-color in $theme-colors {
|
|
28
|
+
.k-bg-#{$name} {
|
|
29
|
+
background-color: $bg-color !important;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
35
32
|
|
|
36
33
|
}
|
|
37
34
|
|
|
@@ -44,12 +41,11 @@
|
|
|
44
41
|
|
|
45
42
|
@include exports( "common/decoration/variant" ) {
|
|
46
43
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
44
|
+
@each $name, $variant in $theme-colors {
|
|
45
|
+
.k-state-#{$name} {
|
|
46
|
+
@include variant( $variant );
|
|
47
|
+
}
|
|
48
|
+
}
|
|
53
49
|
}
|
|
54
50
|
|
|
55
51
|
|