@progress/kendo-theme-utils 8.0.0-dev.0 → 8.0.0-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 +4744 -2008
- package/dist/all.scss +5636 -3928
- package/dist/meta/sassdoc-data.json +804 -1240
- package/dist/meta/sassdoc-raw-data.json +804 -1240
- package/dist/meta/variables.json +250 -14
- package/package.json +3 -3
- package/scss/_variables.scss +39 -111
- package/scss/border/_border-radius.scss +11 -10
- package/scss/elevation/index.import.scss +1 -1
- package/scss/spacing/_margin.scss +7 -7
- package/scss/spacing/_padding.scss +7 -91
- package/scss/spacing/index.import.scss +2 -0
- package/scss/typography/_font-family.scss +8 -0
- package/scss/typography/_font-size.scss +9 -8
- package/scss/typography/_font-style.scss +1 -1
- package/scss/typography/_font-weight.scss +4 -3
- package/scss/typography/_letter-spacing.scss +9 -0
- package/scss/typography/_line-height.scss +8 -0
- package/scss/typography/index.import.scss +6 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@import "@progress/kendo-theme-core/scss/elevation/index.import.scss";
|
|
2
2
|
|
|
3
3
|
@mixin kendo-utils--elevation {
|
|
4
|
-
@include generate-utils(elevation, box-shadow, $kendo-elevation, $css-var:
|
|
4
|
+
@include generate-utils(elevation, box-shadow, $kendo-elevation, $css-var: "elevation");
|
|
5
5
|
}
|
|
@@ -548,12 +548,12 @@
|
|
|
548
548
|
|
|
549
549
|
// Margin utility classes
|
|
550
550
|
$kendo-utils-margin: k-map-get( $kendo-utils, "margin" ) !default;
|
|
551
|
-
@include generate-utils( m, margin, $kendo-utils-margin );
|
|
552
|
-
@include generate-utils( mt, margin-top, $kendo-utils-margin );
|
|
553
|
-
@include generate-utils( mr, margin-right, $kendo-utils-margin );
|
|
554
|
-
@include generate-utils( mb, margin-bottom, $kendo-utils-margin );
|
|
555
|
-
@include generate-utils( ml, margin-left, $kendo-utils-margin );
|
|
556
|
-
@include generate-utils( mx, margin-inline, $kendo-utils-margin );
|
|
557
|
-
@include generate-utils( my, margin-block, $kendo-utils-margin );
|
|
551
|
+
@include generate-utils( m, margin, $kendo-utils-margin, $css-var: "spacing" );
|
|
552
|
+
@include generate-utils( mt, margin-top, $kendo-utils-margin, $css-var: "spacing" );
|
|
553
|
+
@include generate-utils( mr, margin-right, $kendo-utils-margin, $css-var: "spacing" );
|
|
554
|
+
@include generate-utils( mb, margin-bottom, $kendo-utils-margin, $css-var: "spacing" );
|
|
555
|
+
@include generate-utils( ml, margin-left, $kendo-utils-margin, $css-var: "spacing" );
|
|
556
|
+
@include generate-utils( mx, margin-inline, $kendo-utils-margin, $css-var: "spacing" );
|
|
557
|
+
@include generate-utils( my, margin-block, $kendo-utils-margin, $css-var: "spacing" );
|
|
558
558
|
|
|
559
559
|
}
|
|
@@ -16,18 +16,6 @@
|
|
|
16
16
|
/// @group padding
|
|
17
17
|
/// @contextType css
|
|
18
18
|
|
|
19
|
-
/// This is equivalent to `padding: -1px;`.
|
|
20
|
-
/// @example padding: -1px;
|
|
21
|
-
/// @name .k-p--1px
|
|
22
|
-
/// @group padding
|
|
23
|
-
/// @contextType css
|
|
24
|
-
|
|
25
|
-
/// This is equivalent to `padding: -0.25rem;`.
|
|
26
|
-
/// @example padding: -0.25rem;
|
|
27
|
-
/// @name .k-p--1
|
|
28
|
-
/// @group padding
|
|
29
|
-
/// @contextType css
|
|
30
|
-
|
|
31
19
|
/// This is equivalent to `padding: 0.25rem;`.
|
|
32
20
|
/// @example padding: 0.25rem;
|
|
33
21
|
/// @name .k-p-xs
|
|
@@ -94,18 +82,6 @@
|
|
|
94
82
|
/// @group padding
|
|
95
83
|
/// @contextType css
|
|
96
84
|
|
|
97
|
-
/// This is equivalent to `padding-top: -1px;`.
|
|
98
|
-
/// @example padding-top: -1px;
|
|
99
|
-
/// @name .k-pt--1px
|
|
100
|
-
/// @group padding
|
|
101
|
-
/// @contextType css
|
|
102
|
-
|
|
103
|
-
/// This is equivalent to `padding-top: -0.25rem;`.
|
|
104
|
-
/// @example padding-top: -0.25rem;
|
|
105
|
-
/// @name .k-pt--1
|
|
106
|
-
/// @group padding
|
|
107
|
-
/// @contextType css
|
|
108
|
-
|
|
109
85
|
/// This is equivalent to `padding-top: 0.25rem;`.
|
|
110
86
|
/// @example padding-top: 0.25rem;
|
|
111
87
|
/// @name .k-pt-xs
|
|
@@ -172,18 +148,6 @@
|
|
|
172
148
|
/// @group padding
|
|
173
149
|
/// @contextType css
|
|
174
150
|
|
|
175
|
-
/// This is equivalent to `padding-right: -1px;`.
|
|
176
|
-
/// @example padding-right: -1px;
|
|
177
|
-
/// @name .k-pr--1px
|
|
178
|
-
/// @group padding
|
|
179
|
-
/// @contextType css
|
|
180
|
-
|
|
181
|
-
/// This is equivalent to `padding-right: -0.25rem;`.
|
|
182
|
-
/// @example padding-right: -0.25rem;
|
|
183
|
-
/// @name .k-pr--1
|
|
184
|
-
/// @group padding
|
|
185
|
-
/// @contextType css
|
|
186
|
-
|
|
187
151
|
/// This is equivalent to `padding-right: 0.25rem;`.
|
|
188
152
|
/// @example padding-right: 0.25rem;
|
|
189
153
|
/// @name .k-pr-xs
|
|
@@ -250,18 +214,6 @@
|
|
|
250
214
|
/// @group padding
|
|
251
215
|
/// @contextType css
|
|
252
216
|
|
|
253
|
-
/// This is equivalent to `padding-bottom: -1px;`.
|
|
254
|
-
/// @example padding-bottom: -1px;
|
|
255
|
-
/// @name .k-pb--1px
|
|
256
|
-
/// @group padding
|
|
257
|
-
/// @contextType css
|
|
258
|
-
|
|
259
|
-
/// This is equivalent to `padding-bottom: -0.25rem;`.
|
|
260
|
-
/// @example padding-bottom: -0.25rem;
|
|
261
|
-
/// @name .k-pb--1
|
|
262
|
-
/// @group padding
|
|
263
|
-
/// @contextType css
|
|
264
|
-
|
|
265
217
|
/// This is equivalent to `padding-bottom: 0.25rem;`.
|
|
266
218
|
/// @example padding-bottom: 0.25rem;
|
|
267
219
|
/// @name .k-pb-xs
|
|
@@ -328,18 +280,6 @@
|
|
|
328
280
|
/// @group padding
|
|
329
281
|
/// @contextType css
|
|
330
282
|
|
|
331
|
-
/// This is equivalent to `padding-left: -1px;`.
|
|
332
|
-
/// @example padding-left: -1px;
|
|
333
|
-
/// @name .k-pl--1px
|
|
334
|
-
/// @group padding
|
|
335
|
-
/// @contextType css
|
|
336
|
-
|
|
337
|
-
/// This is equivalent to `padding-left: -0.25rem;`.
|
|
338
|
-
/// @example padding-left: -0.25rem;
|
|
339
|
-
/// @name .k-pl--1
|
|
340
|
-
/// @group padding
|
|
341
|
-
/// @contextType css
|
|
342
|
-
|
|
343
283
|
/// This is equivalent to `padding-left: 0.25rem;`.
|
|
344
284
|
/// @example padding-left: 0.25rem;
|
|
345
285
|
/// @name .k-pl-xs
|
|
@@ -406,18 +346,6 @@
|
|
|
406
346
|
/// @group padding
|
|
407
347
|
/// @contextType css
|
|
408
348
|
|
|
409
|
-
/// This is equivalent to `padding-inline: -1px;`.
|
|
410
|
-
/// @example padding-inline: -1px;
|
|
411
|
-
/// @name .k-px--1px
|
|
412
|
-
/// @group padding
|
|
413
|
-
/// @contextType css
|
|
414
|
-
|
|
415
|
-
/// This is equivalent to `padding-inline: -0.25rem;`.
|
|
416
|
-
/// @example padding-inline: -0.25rem;
|
|
417
|
-
/// @name .k-px--1
|
|
418
|
-
/// @group padding
|
|
419
|
-
/// @contextType css
|
|
420
|
-
|
|
421
349
|
/// This is equivalent to `padding-inline: 0.25rem;`.
|
|
422
350
|
/// @example padding-inline: 0.25rem;
|
|
423
351
|
/// @name .k-px-xs
|
|
@@ -484,18 +412,6 @@
|
|
|
484
412
|
/// @group padding
|
|
485
413
|
/// @contextType css
|
|
486
414
|
|
|
487
|
-
/// This is equivalent to `padding-block: -1px;`.
|
|
488
|
-
/// @example padding-block: -1px;
|
|
489
|
-
/// @name .k-py--1px
|
|
490
|
-
/// @group padding
|
|
491
|
-
/// @contextType css
|
|
492
|
-
|
|
493
|
-
/// This is equivalent to `padding-block: -0.25rem;`.
|
|
494
|
-
/// @example padding-block: -0.25rem;
|
|
495
|
-
/// @name .k-py--1
|
|
496
|
-
/// @group padding
|
|
497
|
-
/// @contextType css
|
|
498
|
-
|
|
499
415
|
/// This is equivalent to `padding-block: 0.25rem;`.
|
|
500
416
|
/// @example padding-block: 0.25rem;
|
|
501
417
|
/// @name .k-py-xs
|
|
@@ -548,12 +464,12 @@
|
|
|
548
464
|
|
|
549
465
|
// Padding utility classes
|
|
550
466
|
$kendo-utils-padding: k-map-get( $kendo-utils, "padding" ) !default;
|
|
551
|
-
@include generate-utils( p, padding, $kendo-utils-padding );
|
|
552
|
-
@include generate-utils( pt, padding-top, $kendo-utils-padding );
|
|
553
|
-
@include generate-utils( pr, padding-right, $kendo-utils-padding );
|
|
554
|
-
@include generate-utils( pb, padding-bottom, $kendo-utils-padding );
|
|
555
|
-
@include generate-utils( pl, padding-left, $kendo-utils-padding );
|
|
556
|
-
@include generate-utils( px, padding-inline, $kendo-utils-padding );
|
|
557
|
-
@include generate-utils( py, padding-block, $kendo-utils-padding );
|
|
467
|
+
@include generate-utils( p, padding, $kendo-utils-padding, $css-var: "spacing" );
|
|
468
|
+
@include generate-utils( pt, padding-top, $kendo-utils-padding, $css-var: "spacing" );
|
|
469
|
+
@include generate-utils( pr, padding-right, $kendo-utils-padding, $css-var: "spacing" );
|
|
470
|
+
@include generate-utils( pb, padding-bottom, $kendo-utils-padding, $css-var: "spacing" );
|
|
471
|
+
@include generate-utils( pl, padding-left, $kendo-utils-padding, $css-var: "spacing" );
|
|
472
|
+
@include generate-utils( px, padding-inline, $kendo-utils-padding, $css-var: "spacing" );
|
|
473
|
+
@include generate-utils( py, padding-block, $kendo-utils-padding, $css-var: "spacing" );
|
|
558
474
|
|
|
559
475
|
}
|
|
@@ -1,40 +1,41 @@
|
|
|
1
|
+
@import "@progress/kendo-theme-core/scss/index.import.scss";
|
|
2
|
+
|
|
1
3
|
/// This is equivalent to `font-size: 10px;`.
|
|
2
4
|
/// @example font-size: 10px;
|
|
3
|
-
/// @name .k-font-xs
|
|
5
|
+
/// @name .k-font-size-xs
|
|
4
6
|
/// @group font-size
|
|
5
7
|
/// @contextType css
|
|
6
8
|
|
|
7
9
|
/// This is equivalent to `font-size: 12px;`.
|
|
8
10
|
/// @example font-size: 12px;
|
|
9
|
-
/// @name .k-font-sm
|
|
11
|
+
/// @name .k-font-size-sm
|
|
10
12
|
/// @group font-size
|
|
11
13
|
/// @contextType css
|
|
12
14
|
|
|
13
15
|
/// This is equivalent to `font-size: 14px;`.
|
|
14
16
|
/// @example font-size: 14px;
|
|
15
|
-
/// @name .k-font-md
|
|
17
|
+
/// @name .k-font-size-md
|
|
16
18
|
/// @group font-size
|
|
17
19
|
/// @contextType css
|
|
18
20
|
|
|
19
21
|
/// This is equivalent to `font-size: 16px;`.
|
|
20
22
|
/// @example font-size: 16px;
|
|
21
|
-
/// @name .k-font-lg
|
|
23
|
+
/// @name .k-font-size-lg
|
|
22
24
|
/// @group font-size
|
|
23
25
|
/// @contextType css
|
|
24
26
|
|
|
25
27
|
/// This is equivalent to `font-size: 20px;`.
|
|
26
28
|
/// @example font-size: 20px;
|
|
27
|
-
/// @name .k-font-xl
|
|
29
|
+
/// @name .k-font-size-xl
|
|
28
30
|
/// @group font-size
|
|
29
31
|
/// @contextType css
|
|
30
32
|
|
|
31
33
|
@mixin kendo-utils--typography--font-size() {
|
|
32
34
|
|
|
33
35
|
// Font size utility classes
|
|
34
|
-
|
|
35
|
-
@include generate-utils( font-size, font-size, $kendo-utils-font-size );
|
|
36
|
+
@include generate-utils( font-size, font-size, $kendo-font-sizes, $css-var: "font-size" );
|
|
36
37
|
|
|
37
38
|
// Legacy aliases
|
|
38
|
-
@include generate-utils( fs, font-size, $kendo-
|
|
39
|
+
@include generate-utils( fs, font-size, $kendo-font-sizes, $css-var: "fs" );
|
|
39
40
|
|
|
40
41
|
}
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
// Font style utility classes
|
|
16
16
|
$kendo-utils-font-style: k-map-get( $kendo-utils, "font-style" ) !default;
|
|
17
|
-
@include generate-utils( font, font-style, $kendo-utils-font-style );
|
|
17
|
+
@include generate-utils( font-style, font-style, $kendo-utils-font-style, $css-var: "font-style" );
|
|
18
18
|
|
|
19
19
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import "@progress/kendo-theme-core/scss/index.import.scss";
|
|
2
|
+
|
|
1
3
|
/// This is equivalent to `font-weight: 100;`.
|
|
2
4
|
/// @example font-weight: 100;
|
|
3
5
|
/// @name .k-font-thin
|
|
@@ -55,11 +57,10 @@
|
|
|
55
57
|
@mixin kendo-utils--typography--font-weight() {
|
|
56
58
|
|
|
57
59
|
// Font weight utility classes
|
|
58
|
-
|
|
59
|
-
@include generate-utils( font, font-weight, $kendo-utils-font-weight );
|
|
60
|
+
@include generate-utils( font, font-weight, $kendo-font-weights, $css-var: "font" );
|
|
60
61
|
|
|
61
62
|
|
|
62
63
|
// Legacy aliases
|
|
63
|
-
@include generate-utils( font-weight, font-weight, $kendo-
|
|
64
|
+
@include generate-utils( font-weight, font-weight, $kendo-font-weights, $css-var: "font-weight" );
|
|
64
65
|
|
|
65
66
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@import "@progress/kendo-theme-core/scss/index.import.scss";
|
|
2
|
+
|
|
3
|
+
@mixin kendo-utils--typography--letter-spacing() {
|
|
4
|
+
|
|
5
|
+
// Letter spacing utility classes
|
|
6
|
+
@include generate-utils( letter-spacing, letter-spacing, $kendo-letter-spacings, $css-var: "letter-spacing" );
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
// font family
|
|
2
|
+
@import "./_font-family.scss";
|
|
2
3
|
@import "./_font-size.scss";
|
|
3
4
|
// font smoothing
|
|
4
5
|
@import "./_font-style.scss";
|
|
5
6
|
@import "./_font-weight.scss";
|
|
6
7
|
// font variant
|
|
7
8
|
// letter spacing
|
|
9
|
+
@import "./_letter-spacing.scss";
|
|
8
10
|
// line height
|
|
11
|
+
@import "./_line-height.scss";
|
|
9
12
|
@import "./_list-style.scss";
|
|
10
13
|
@import "./_text-align.scss";
|
|
11
14
|
@import "./_text-color.scss";
|
|
@@ -18,9 +21,12 @@
|
|
|
18
21
|
|
|
19
22
|
|
|
20
23
|
@mixin kendo-utils--typography() {
|
|
24
|
+
@include kendo-utils--typography--font-family();
|
|
21
25
|
@include kendo-utils--typography--font-size();
|
|
22
26
|
@include kendo-utils--typography--font-style();
|
|
23
27
|
@include kendo-utils--typography--font-weight();
|
|
28
|
+
@include kendo-utils--typography--letter-spacing();
|
|
29
|
+
@include kendo-utils--typography--line-height();
|
|
24
30
|
@include kendo-utils--typography--list-style-type();
|
|
25
31
|
@include kendo-utils--typography--text-align();
|
|
26
32
|
@include kendo-utils--typography--text-color();
|