@progress/kendo-theme-utils 5.12.1-dev.0 → 5.12.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.
- package/dist/all.css +4038 -774
- package/dist/all.scss +1458 -217
- package/package.json +6 -3
- package/scss/_functions.scss +1 -37
- package/scss/_mixins.scss +7 -7
- package/scss/_variables.scss +35 -20
- package/scss/accessibility/_screen-readers.scss +2 -2
- package/scss/border/_border-color.scss +1 -1
- package/scss/border/_border-radius.scss +1 -1
- package/scss/border/_border-style.scss +1 -1
- package/scss/border/_border-width.scss +1 -1
- package/scss/border/_outline-color.scss +1 -1
- package/scss/border/_outline-offset.scss +1 -1
- package/scss/border/_outline-style.scss +1 -1
- package/scss/border/_outline-width.scss +1 -1
- package/scss/flex-grid/_align-content.scss +1 -1
- package/scss/flex-grid/_align-items.scss +1 -1
- package/scss/flex-grid/_align-self.scss +1 -1
- package/scss/flex-grid/_flex-basis.scss +6 -5
- package/scss/flex-grid/_flex-direction.scss +10 -5
- package/scss/flex-grid/_flex-grow.scss +6 -3
- package/scss/flex-grid/_flex-shrink.scss +6 -3
- package/scss/flex-grid/_flex-wrap.scss +8 -4
- package/scss/flex-grid/_flex.scss +10 -5
- package/scss/flex-grid/_gap.scss +1 -1
- package/scss/flex-grid/_grid-auto-columns.scss +1 -1
- package/scss/flex-grid/_grid-auto-flow.scss +1 -1
- package/scss/flex-grid/_grid-auto-rows.scss +1 -1
- package/scss/flex-grid/_grid-column-start-end.scss +3 -3
- package/scss/flex-grid/_grid-row-start-end.scss +4 -3
- package/scss/flex-grid/_grid-template-columns.scss +1 -1
- package/scss/flex-grid/_grid-template-rows.scss +1 -1
- package/scss/flex-grid/_justify-content.scss +1 -1
- package/scss/flex-grid/_justify-items.scss +1 -1
- package/scss/flex-grid/_justify-self.scss +1 -1
- package/scss/flex-grid/_order.scss +20 -2
- package/scss/flex-grid/_place-content.scss +1 -1
- package/scss/flex-grid/_place-items.scss +1 -1
- package/scss/flex-grid/_place-self.scss +1 -1
- package/scss/interactivity/_accent-color.scss +1 -1
- package/scss/interactivity/_appearance.scss +6 -3
- package/scss/interactivity/_caret-color.scss +1 -1
- package/scss/interactivity/_cursor.scss +1 -1
- package/scss/interactivity/_pointer-events.scss +6 -3
- package/scss/interactivity/_resize.scss +10 -5
- package/scss/interactivity/_scroll.scss +6 -6
- package/scss/interactivity/_touch-action.scss +6 -3
- package/scss/interactivity/_user-select.scss +16 -8
- package/scss/interactivity/_will-change.scss +1 -1
- package/scss/layout/_aspect-ratio.scss +22 -2
- package/scss/layout/_clear.scss +22 -2
- package/scss/layout/_display.scss +27 -12
- package/scss/layout/_float.scss +17 -2
- package/scss/layout/_overflow.scss +32 -16
- package/scss/layout/_position.scss +49 -4
- package/scss/layout/_visibility.scss +1 -1
- package/scss/layout/_zindex.scss +1 -1
- package/scss/sizing/_height.scss +3 -3
- package/scss/sizing/_width.scss +3 -3
- package/scss/spacing/_margin.scss +1 -1
- package/scss/spacing/_padding.scss +1 -1
- package/scss/table/_border-collapse.scss +1 -1
- package/scss/table/_table-layout.scss +8 -3
- package/scss/transform/_flip.scss +6 -3
- package/scss/transform/_origin.scss +1 -1
- package/scss/transform/_rotate.scss +40 -2
- package/scss/transform/_scale.scss +18 -5
- package/scss/transform/_skew.scss +1 -1
- package/scss/transform/_translate.scss +60 -2
- package/scss/typography/_font-size.scss +1 -1
- package/scss/typography/_font-style.scss +1 -1
- package/scss/typography/_font-weight.scss +1 -1
- package/scss/typography/_text-align.scss +10 -5
- package/scss/typography/_text-transform.scss +8 -4
- package/scss/typography/_white-space.scss +14 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// TODO DOCS
|
|
2
2
|
|
|
3
|
-
$kendo-utils-border-collapse: map-get( $kendo-utils, "border-collapse" ) !default;
|
|
3
|
+
$kendo-utils-border-collapse: k-map-get( $kendo-utils, "border-collapse" ) !default;
|
|
4
4
|
|
|
5
5
|
@include generate-utils( border, border-collapse, $kendo-utils-border-collapse );
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
+
// Table-layout documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout.
|
|
2
|
+
|
|
3
|
+
/// This is equivalent to `table-layout: auto;`. By default, most browsers use an automatic table layout algorithm. The widths of the table and its cells are adjusted to fit the content.
|
|
1
4
|
/// @name .k-table-layout-auto
|
|
2
|
-
/// @description This is equivalent to `table-layout: auto;`. By default, most browsers use an automatic table layout algorithm. The widths of the table and its cells are adjusted to fit the content.
|
|
3
5
|
/// @group table-layout
|
|
6
|
+
/// @contextType css
|
|
4
7
|
|
|
8
|
+
/// This is equivalent to `table-layout: fixed;`. Table and column widths are set by the widths of table and col elements or by the width of the first row of cells. Cells in subsequent rows do not affect column widths.
|
|
5
9
|
/// @name .k-table-layout-fixed
|
|
6
|
-
/// @description This is equivalent to `table-layout: fixed;`. Table and column widths are set by the widths of table and col elements or by the width of the first row of cells. Cells in subsequent rows do not affect column widths.
|
|
7
10
|
/// @group table-layout
|
|
11
|
+
/// @contextType css
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
// Table layout utility classes
|
|
14
|
+
$kendo-utils-table-layout: k-map-get( $kendo-utils, "table-layout" ) !default;
|
|
10
15
|
|
|
11
16
|
@include generate-utils( table, table-layout, $kendo-utils-table-layout );
|
|
12
17
|
@include generate-utils( table-layout, table-layout, $kendo-utils-table-layout );
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
/// This is equivalent to `transform: scaleX( -1 );`. Flips the element horizontally.
|
|
1
2
|
/// @name .k-flip-h
|
|
2
|
-
/// @description This is equivalent to `transform: scaleX( -1 );`. Flips the element horizontally.
|
|
3
3
|
/// @group transform
|
|
4
|
+
/// @contextType css
|
|
4
5
|
|
|
6
|
+
/// This is equivalent to `transform: scaleY( -1 );`. Flips the element vertically.
|
|
5
7
|
/// @name .k-flip-v
|
|
6
|
-
/// @description This is equivalent to `transform: scaleY( -1 );`. Flips the element vertically.
|
|
7
8
|
/// @group transform
|
|
9
|
+
/// @contextType css
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
// Flip utility classes
|
|
12
|
+
$kendo-utils-flip: k-map-get( $kendo-utils, "flip" ) !default;
|
|
10
13
|
|
|
11
14
|
@if $kendo-utils-flip {
|
|
12
15
|
.#{$kendo-prefix}flip-h { transform: scaleX( -1 ); }
|
|
@@ -1,6 +1,44 @@
|
|
|
1
|
-
|
|
1
|
+
/// This is equivalent to `transform: rotate( 0 );`. Does not rotate the element.
|
|
2
|
+
/// @name .k-rotate-0
|
|
3
|
+
/// @group transform
|
|
4
|
+
/// @contextType css
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
/// This is equivalent to `transform: rotate( 45deg );`. Rotates the element by 45 degrees.
|
|
7
|
+
/// @name .k-rotate-45
|
|
8
|
+
/// @group transform
|
|
9
|
+
/// @contextType css
|
|
10
|
+
|
|
11
|
+
/// This is equivalent to `transform: rotate( 90deg );`. Rotates the element by 90 degrees.
|
|
12
|
+
/// @name .k-rotate-90
|
|
13
|
+
/// @group transform
|
|
14
|
+
/// @contextType css
|
|
15
|
+
|
|
16
|
+
/// This is equivalent to `transform: rotate( 135deg );`. Rotates the element by 135 degrees.
|
|
17
|
+
/// @name .k-rotate-135
|
|
18
|
+
/// @group transform
|
|
19
|
+
/// @contextType css
|
|
20
|
+
|
|
21
|
+
/// This is equivalent to `transform: rotate( 180deg );`. Rotates the element by 180 degrees.
|
|
22
|
+
/// @name .k-rotate-180
|
|
23
|
+
/// @group transform
|
|
24
|
+
/// @contextType css
|
|
25
|
+
|
|
26
|
+
/// This is equivalent to `transform: rotate( 225deg );`. Rotates the element by 225 degrees.
|
|
27
|
+
/// @name .k-rotate-225
|
|
28
|
+
/// @group transform
|
|
29
|
+
/// @contextType css
|
|
30
|
+
|
|
31
|
+
/// This is equivalent to `transform: rotate( 270deg );`. Rotates the element by 270 degrees.
|
|
32
|
+
/// @name .k-rotate-270
|
|
33
|
+
/// @group transform
|
|
34
|
+
/// @contextType css
|
|
35
|
+
|
|
36
|
+
/// This is equivalent to `transform: rotate( 315deg );`. Rotates the element by 315 degrees.
|
|
37
|
+
/// @name .k-rotate-315
|
|
38
|
+
/// @group transform
|
|
39
|
+
/// @contextType css
|
|
40
|
+
|
|
41
|
+
$kendo-utils-rotate: k-map-get( $kendo-utils, "rotate" ) !default;
|
|
4
42
|
|
|
5
43
|
// sass-lint:disable function-name-format
|
|
6
44
|
@function __rotate( $val ) {
|
|
@@ -1,16 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
/// This is equivalent to `transform: scale( 0, 0 );`. The element is shrunk and no longer visible.
|
|
2
|
+
/// @name .k-scale-0
|
|
3
|
+
/// @group transform
|
|
4
|
+
/// @contextType css
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
/// This is equivalent to `transform: scale( 1, 1 );`. The element has its default scale.
|
|
7
|
+
/// @name .k-scale-1
|
|
8
|
+
/// @group transform
|
|
9
|
+
/// @contextType css
|
|
10
|
+
|
|
11
|
+
/// This is equivalent to `transform: scale( 2, 2 );`. The element is scaling two times in both directions.
|
|
12
|
+
/// @name .k-scale-2
|
|
13
|
+
/// @group transform
|
|
14
|
+
/// @contextType css
|
|
15
|
+
|
|
16
|
+
$kendo-utils-scale: k-map-get( $kendo-utils, "scale" ) !default;
|
|
4
17
|
|
|
5
18
|
// sass-lint:disable function-name-format
|
|
6
19
|
@function __scale( $val ) {
|
|
7
|
-
@return scale(
|
|
20
|
+
@return scale( $val );
|
|
8
21
|
}
|
|
9
22
|
@function __scale-x( $val ) {
|
|
10
|
-
@return scaleX(
|
|
23
|
+
@return scaleX( $val );
|
|
11
24
|
}
|
|
12
25
|
@function __scale-y( $val ) {
|
|
13
|
-
@return scaleY(
|
|
26
|
+
@return scaleY( $val );
|
|
14
27
|
}
|
|
15
28
|
// sass-lint:enable function-name-format
|
|
16
29
|
|
|
@@ -1,8 +1,65 @@
|
|
|
1
|
-
|
|
1
|
+
/// This is equivalent to `transform: translate( 0, 0 );`. The element does not move.
|
|
2
|
+
/// @name .k-translate-0
|
|
3
|
+
/// @group transform
|
|
4
|
+
/// @contextType css
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
/// This is equivalent to `transform: translate( 0, 50% );`. The element moves vertically by 50% of its height.
|
|
7
|
+
/// @name .k-translate-0-50
|
|
8
|
+
/// @group transform
|
|
9
|
+
/// @contextType css
|
|
10
|
+
|
|
11
|
+
/// This is equivalent to `transform: translate( 0, 100% );`. The element moves vertically by 100% of its height.
|
|
12
|
+
/// @name .k-translate-0-100
|
|
13
|
+
/// @group transform
|
|
14
|
+
/// @contextType css
|
|
15
|
+
|
|
16
|
+
/// This is equivalent to `transform: translate( 50%, 0 );`. The element moves horizontally by 50% of its width.
|
|
17
|
+
/// @name .k-translate-50-0
|
|
18
|
+
/// @group transform
|
|
19
|
+
/// @contextType css
|
|
20
|
+
|
|
21
|
+
/// This is equivalent to `transform: translate( 50%, 50% );`. The element moves horizontally by 50% of its width and vertically by 50% of its height.
|
|
22
|
+
/// @name .k-translate-50-50
|
|
23
|
+
/// @group transform
|
|
24
|
+
/// @contextType css
|
|
25
|
+
|
|
26
|
+
/// This is equivalent to `transform: translate( 50%, 100% );`. The element moves horizontally by 50% of its width and vertically by 100% of its height.
|
|
27
|
+
/// @name .k-translate-50-100
|
|
28
|
+
/// @group transform
|
|
29
|
+
/// @contextType css
|
|
30
|
+
|
|
31
|
+
/// This is equivalent to `transform: translate( 100%, 0 );`. The element moves horizontally by 100% of its width.
|
|
32
|
+
/// @name .k-translate-100-0
|
|
33
|
+
/// @group transform
|
|
34
|
+
/// @contextType css
|
|
35
|
+
|
|
36
|
+
/// This is equivalent to `transform: translate( 100%, 50% );`. The element moves horizontally by 100% of its width and vertically by 50% of its height.
|
|
37
|
+
/// @name .k-translate-100-50
|
|
38
|
+
/// @group transform
|
|
39
|
+
/// @contextType css
|
|
40
|
+
|
|
41
|
+
/// This is equivalent to `transform: translate( 100%, 100% );`. The element moves horizontally by 100% of its width and vertically by 100% of its height.
|
|
42
|
+
/// @name .k-translate-100-100
|
|
43
|
+
/// @group transform
|
|
44
|
+
/// @contextType css
|
|
45
|
+
|
|
46
|
+
$kendo-utils-translate: k-map-get( $kendo-utils, "translate" ) !default;
|
|
47
|
+
$kendo-utils-translate-xy: (
|
|
48
|
+
"0": ( 0, 0 ),
|
|
49
|
+
"0-50": ( 0, 50% ),
|
|
50
|
+
"0-100": ( 0, 100% ),
|
|
51
|
+
"50-0": ( 50%, 0 ),
|
|
52
|
+
"50-50": ( 50%, 50% ),
|
|
53
|
+
"50-100": ( 50%, 100% ),
|
|
54
|
+
"100-0": ( 100%, 0 ),
|
|
55
|
+
"100-50": ( 100%, 50% ),
|
|
56
|
+
"100-100": ( 100%, 100% )
|
|
57
|
+
) !default;
|
|
4
58
|
|
|
5
59
|
// sass-lint:disable function-name-format
|
|
60
|
+
@function __translate( $val ) {
|
|
61
|
+
@return translate( $val );
|
|
62
|
+
}
|
|
6
63
|
@function __translate-x( $val ) {
|
|
7
64
|
@return translateX( $val );
|
|
8
65
|
}
|
|
@@ -11,5 +68,6 @@ $kendo-utils-translate: map-get( $kendo-utils, "translate" ) !default;
|
|
|
11
68
|
}
|
|
12
69
|
// sass-lint:enable function-name-format
|
|
13
70
|
|
|
71
|
+
@include generate-utils( translate, transform, $kendo-utils-translate-xy, __translate );
|
|
14
72
|
@include generate-utils( translate-x, transform, $kendo-utils-translate, __translate-x );
|
|
15
73
|
@include generate-utils( translate-y, transform, $kendo-utils-translate, __translate-y );
|
|
@@ -1,19 +1,24 @@
|
|
|
1
|
+
/// This is equivalent to `text-align: left;`. The inline contents are aligned to the left edge of the line box.
|
|
1
2
|
/// @name .k-text-left
|
|
2
|
-
/// @description This is equivalent to `text-align: left;`. The inline contents are aligned to the left edge of the line box.
|
|
3
3
|
/// @group text-align
|
|
4
|
+
/// @contextType css
|
|
4
5
|
|
|
6
|
+
/// This is equivalent to `text-align: right;`. The inline contents are aligned to the right edge of the line box.
|
|
5
7
|
/// @name .k-text-right
|
|
6
|
-
/// @description This is equivalent to `text-align: right;`. The inline contents are aligned to the right edge of the line box.
|
|
7
8
|
/// @group text-align
|
|
9
|
+
/// @contextType css
|
|
8
10
|
|
|
11
|
+
/// This is equivalent to `text-align: center;`. The inline contents are centered within the line box.
|
|
9
12
|
/// @name .k-text-center
|
|
10
|
-
/// @description This is equivalent to `text-align: center;`. The inline contents are centered within the line box.
|
|
11
13
|
/// @group text-align
|
|
14
|
+
/// @contextType css
|
|
12
15
|
|
|
16
|
+
/// This is equivalent to `text-align: justify;`. The inline contents are justified. Text should be spaced to line up its left and right edges to the left and right edges of the line box, except for the last line.
|
|
13
17
|
/// @name .k-text-justify
|
|
14
|
-
/// @description This is equivalent to `text-align: justify;`. The inline contents are justified. Text should be spaced to line up its left and right edges to the left and right edges of the line box, except for the last line.
|
|
15
18
|
/// @group text-align
|
|
19
|
+
/// @contextType css
|
|
16
20
|
|
|
17
|
-
|
|
21
|
+
// Text align utility classes
|
|
22
|
+
$kendo-utils-text-align: k-map-get( $kendo-utils, "text-align" ) !default;
|
|
18
23
|
|
|
19
24
|
@include generate-utils( text, text-align, $kendo-utils-text-align );
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
// TODO DOCS
|
|
2
2
|
|
|
3
|
+
/// This is equivalent to `text-transform: lowercase;`. Is a keyword that converts all characters to lowercase.
|
|
3
4
|
/// @name k-text-lowercase
|
|
4
|
-
/// @description This is equivalent to `text-transform: lowercase;`. Is a keyword that converts all characters to lowercase.
|
|
5
5
|
/// @group text-transform
|
|
6
|
+
/// @contextType css
|
|
6
7
|
|
|
8
|
+
/// This is equivalent to `text-transform: uppercase;`. Is a keyword that converts all characters to uppercase.
|
|
7
9
|
/// @name k-text-uppercase
|
|
8
|
-
/// @description This is equivalent to `text-transform: uppercase;`. Is a keyword that converts all characters to uppercase.
|
|
9
10
|
/// @group text-transform
|
|
11
|
+
/// @contextType css
|
|
10
12
|
|
|
13
|
+
/// This is equivalent to `text-transform: capitalize;`. Is a keyword that converts the first letter of each word to uppercase. Other characters remain unchanged (they retain their original case as written in the element's text).
|
|
11
14
|
/// @name k-text-capitalize
|
|
12
|
-
/// @description This is equivalent to `text-transform: capitalize;`. Is a keyword that converts the first letter of each word to uppercase. Other characters remain unchanged (they retain their original case as written in the element's text).
|
|
13
15
|
/// @group text-transform
|
|
16
|
+
/// @contextType css
|
|
14
17
|
|
|
15
|
-
|
|
18
|
+
// Text transform utility classes
|
|
19
|
+
$kendo-utils-text-transform: k-map-get( $kendo-utils, "text-transform" ) !default;
|
|
16
20
|
|
|
17
21
|
@include generate-utils( text, text-transform, $kendo-utils-text-transform );
|
|
@@ -1,27 +1,34 @@
|
|
|
1
|
+
/// This is equivalent to `white-space: normal;`. Sequences of white space are collapsed. Newline characters in the source are handled the same as other white space. Lines are broken as necessary to fill line boxes.
|
|
1
2
|
/// @name .k-white-space-normal
|
|
2
|
-
/// @description This is equivalent to `white-space: normal;`. Sequences of white space are collapsed. Newline characters in the source are handled the same as other white space. Lines are broken as necessary to fill line boxes.
|
|
3
3
|
/// @group white-space
|
|
4
|
+
/// @contextType css
|
|
4
5
|
|
|
6
|
+
/// This is equivalent to `white-space: nowrap;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
|
|
5
7
|
/// @name .k-white-space-nowrap
|
|
6
|
-
/// @description This is equivalent to `white-space: nowrap;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
|
|
7
8
|
/// @group white-space
|
|
9
|
+
/// @contextType css
|
|
8
10
|
|
|
11
|
+
/// This is equivalent to `white-space: pre;`. Sequences of white space are preserved. Lines are only broken at newline characters in the source and at <br> elements.
|
|
9
12
|
/// @name .k-white-space-pre
|
|
10
|
-
/// @description This is equivalent to `white-space: pre;`. Sequences of white space are preserved. Lines are only broken at newline characters in the source and at <br> elements.
|
|
11
13
|
/// @group white-space
|
|
14
|
+
/// @contextType css
|
|
12
15
|
|
|
16
|
+
/// This is equivalent to `white-space: pre-wrap;`. Sequences of white space are preserved. Lines are broken at newline characters, at <br>, and as necessary to fill line boxes.
|
|
13
17
|
/// @name .k-white-space-pre-wrap
|
|
14
|
-
/// @description This is equivalent to `white-space: pre-wrap;`. Sequences of white space are preserved. Lines are broken at newline characters, at <br>, and as necessary to fill line boxes.
|
|
15
18
|
/// @group white-space
|
|
19
|
+
/// @contextType css
|
|
16
20
|
|
|
21
|
+
/// This is equivalent to `white-space: pre-line;`. Sequences of white space are collapsed. Lines are broken at newline characters, at <br>, and as necessary to fill line boxes.
|
|
17
22
|
/// @name .k-white-space-pre-line
|
|
18
|
-
/// @description This is equivalent to `white-space: pre-line;`. Sequences of white space are collapsed. Lines are broken at newline characters, at <br>, and as necessary to fill line boxes.
|
|
19
23
|
/// @group white-space
|
|
24
|
+
/// @contextType css
|
|
20
25
|
|
|
26
|
+
/// This is equivalent to `white-space: break-spaces;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
|
|
21
27
|
/// @name .k-white-space-break-spaces
|
|
22
|
-
/// @description This is equivalent to `white-space: break-spaces;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
|
|
23
28
|
/// @group white-space
|
|
29
|
+
/// @contextType css
|
|
24
30
|
|
|
25
|
-
|
|
31
|
+
// White space utility classes
|
|
32
|
+
$kendo-utils-white-space: k-map-get( $kendo-utils, "white-space" ) !default;
|
|
26
33
|
|
|
27
34
|
@include generate-utils( white-space, white-space, $kendo-utils-white-space );
|