@progress/kendo-theme-utils 8.2.0 → 9.0.0-dev.0
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 +14057 -2649
- package/dist/all.scss +6505 -5328
- package/dist/meta/sassdoc-data.json +2964 -3040
- package/dist/meta/sassdoc-raw-data.json +2668 -2744
- package/dist/meta/variables.json +376 -243
- package/package.json +3 -3
- package/scss/_mixins.scss +24 -0
- package/scss/_variables.scss +41 -53
- package/scss/accessibility/_screen-readers.scss +32 -26
- package/scss/background/_background-clip.scss +9 -3
- package/scss/background/_background-color.scss +9 -3
- package/scss/background/_background-position.scss +9 -3
- package/scss/background/_background-size.scss +9 -3
- package/scss/border/_border-color.scss +8 -3
- package/scss/border/_border-radius.scss +18 -12
- package/scss/border/_border-style.scss +16 -11
- package/scss/border/_border-width.scss +23 -19
- package/scss/border/_outline-color.scss +9 -3
- package/scss/border/_outline-offset.scss +9 -3
- package/scss/border/_outline-style.scss +9 -3
- package/scss/border/_outline-width.scss +6 -0
- package/scss/effects/_opacity.scss +9 -3
- package/scss/elevation/index.import.scss +7 -1
- package/scss/filter/_backdrop.scss +9 -3
- package/scss/flex-grid/_align-content.scss +9 -3
- package/scss/flex-grid/_align-items.scss +9 -3
- package/scss/flex-grid/_align-self.scss +9 -3
- package/scss/flex-grid/_flex-basis.scss +10 -4
- package/scss/flex-grid/_flex-direction.scss +20 -6
- package/scss/flex-grid/_flex-grow.scss +10 -4
- package/scss/flex-grid/_flex-shrink.scss +10 -4
- package/scss/flex-grid/_flex-wrap.scss +9 -3
- package/scss/flex-grid/_flex.scss +9 -3
- package/scss/flex-grid/_gap.scss +20 -4
- package/scss/flex-grid/_grid-auto-columns.scss +9 -3
- package/scss/flex-grid/_grid-auto-flow.scss +9 -3
- package/scss/flex-grid/_grid-auto-rows.scss +9 -3
- package/scss/flex-grid/_grid-column-start-end.scss +26 -6
- package/scss/flex-grid/_grid-row-start-end.scss +31 -13
- package/scss/flex-grid/_grid-template-columns.scss +16 -2
- package/scss/flex-grid/_grid-template-rows.scss +9 -3
- package/scss/flex-grid/_justify-content.scss +12 -6
- package/scss/flex-grid/_justify-items.scss +9 -3
- package/scss/flex-grid/_justify-self.scss +9 -3
- package/scss/flex-grid/_order.scss +9 -3
- package/scss/flex-grid/_place-content.scss +9 -3
- package/scss/flex-grid/_place-items.scss +9 -3
- package/scss/flex-grid/_place-self.scss +9 -3
- package/scss/flex-grid/index.import.scss +8 -0
- package/scss/index.import.scss +11 -0
- package/scss/interactivity/_accent-color.scss +9 -3
- package/scss/interactivity/_appearance.scss +9 -3
- package/scss/interactivity/_caret-color.scss +9 -3
- package/scss/interactivity/_cursor.scss +9 -3
- package/scss/interactivity/_pointer-events.scss +9 -3
- package/scss/interactivity/_resize.scss +9 -3
- package/scss/interactivity/_scroll.scss +38 -34
- package/scss/interactivity/_touch-action.scss +9 -3
- package/scss/interactivity/_user-select.scss +9 -3
- package/scss/interactivity/_will-change.scss +9 -3
- package/scss/layout/_aspect-ratio.scss +11 -5
- package/scss/layout/_box-sizing.scss +9 -3
- package/scss/layout/_clear.scss +9 -3
- package/scss/layout/_columns.scss +9 -3
- package/scss/layout/_display.scss +23 -9
- package/scss/layout/_float.scss +9 -3
- package/scss/layout/_object-fit.scss +9 -3
- package/scss/layout/_object-position.scss +9 -3
- package/scss/layout/_overflow.scss +12 -5
- package/scss/layout/_placement.scss +29 -80
- package/scss/layout/_position.scss +25 -18
- package/scss/layout/_visibility.scss +14 -8
- package/scss/layout/_zindex.scss +9 -3
- package/scss/layout/index.import.scss +4 -0
- package/scss/responsive-layout/_col-gap.scss +28 -0
- package/scss/responsive-layout/_col.scss +48 -0
- package/scss/responsive-layout/_container.scss +22 -0
- package/scss/responsive-layout/_row.scss +21 -0
- package/scss/responsive-layout/index.import.scss +25 -0
- package/scss/sizing/_height.scss +15 -9
- package/scss/sizing/_width.scss +15 -9
- package/scss/spacing/_margin.scss +17 -11
- package/scss/spacing/_padding.scss +23 -8
- package/scss/spacing/_space-between.scss +16 -10
- package/scss/spacing/index.import.scss +4 -0
- package/scss/svg/_fill.scss +9 -3
- package/scss/svg/_stroke.scss +9 -3
- package/scss/table/_border-collapse.scss +9 -3
- package/scss/table/_table-layout.scss +10 -4
- package/scss/transform/_flip.scss +21 -15
- package/scss/transform/_origin.scss +9 -3
- package/scss/transform/_rotate.scss +9 -3
- package/scss/transform/_scale.scss +11 -5
- package/scss/transform/_skew.scss +10 -4
- package/scss/transform/_translate.scss +22 -16
- package/scss/typography/_font-family.scss +7 -2
- package/scss/typography/_font-size.scss +9 -4
- package/scss/typography/_font-style.scss +9 -3
- package/scss/typography/_font-weight.scss +9 -5
- package/scss/typography/_letter-spacing.scss +7 -2
- package/scss/typography/_line-height.scss +7 -2
- package/scss/typography/_list-style.scss +9 -3
- package/scss/typography/_text-align.scss +9 -3
- package/scss/typography/_text-color.scss +11 -6
- package/scss/typography/_text-decoration.scss +9 -3
- package/scss/typography/_text-overflow.scss +23 -17
- package/scss/typography/_text-transform.scss +9 -3
- package/scss/typography/_vertical-align.scss +9 -3
- package/scss/typography/_white-space.scss +12 -6
|
@@ -28,23 +28,30 @@
|
|
|
28
28
|
/// @group position
|
|
29
29
|
/// @contextType css
|
|
30
30
|
|
|
31
|
-
@mixin kendo-utils--layout--position() {
|
|
32
|
-
|
|
33
|
-
// Position utility classes
|
|
34
|
-
$kendo-utils-position: k-map-get( $kendo-utils, "position" ) !default;
|
|
35
|
-
@include generate-utils( pos, position, $kendo-utils-position );
|
|
36
31
|
|
|
32
|
+
// Register
|
|
33
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
34
|
+
@include module-register((name: "utils-layout-position"));
|
|
37
35
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
36
|
+
@mixin kendo-utils--layout--position() {
|
|
37
|
+
@include module-render("utils-layout-position") {
|
|
38
|
+
|
|
39
|
+
// Position utility classes
|
|
40
|
+
$kendo-utils-position: k-map-get( $kendo-utils, "position" ) !default;
|
|
41
|
+
@include generate-utils( pos, position, $kendo-utils-position );
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
// Legacy aliases
|
|
45
|
+
.#{$kendo-prefix}static { @extend .#{$kendo-prefix}pos-static !optional; }
|
|
46
|
+
.\!#{$kendo-prefix}static { @extend .\!#{$kendo-prefix}pos-static !optional; }
|
|
47
|
+
.#{$kendo-prefix}relative { @extend .#{$kendo-prefix}pos-relative !optional; }
|
|
48
|
+
.\!#{$kendo-prefix}relative { @extend .\!#{$kendo-prefix}pos-relative !optional; }
|
|
49
|
+
.#{$kendo-prefix}absolute { @extend .#{$kendo-prefix}pos-absolute !optional; }
|
|
50
|
+
.\!#{$kendo-prefix}absolute { @extend .\!#{$kendo-prefix}pos-absolute !optional; }
|
|
51
|
+
.#{$kendo-prefix}fixed { @extend .#{$kendo-prefix}pos-fixed !optional; }
|
|
52
|
+
.\!#{$kendo-prefix}fixed { @extend .\!#{$kendo-prefix}pos-fixed !optional; }
|
|
53
|
+
.#{$kendo-prefix}sticky { @extend .#{$kendo-prefix}pos-sticky !optional; }
|
|
54
|
+
.\!#{$kendo-prefix}sticky { @extend .\!#{$kendo-prefix}pos-sticky !optional; }
|
|
55
|
+
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -16,16 +16,22 @@
|
|
|
16
16
|
/// @group visibility
|
|
17
17
|
/// @contextType css
|
|
18
18
|
|
|
19
|
+
// Register
|
|
20
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
21
|
+
@include module-register((name: "utils-layout-visibility"));
|
|
22
|
+
|
|
19
23
|
@mixin kendo-utils--layout--visibility() {
|
|
24
|
+
@include module-render("utils-layout-visibility") {
|
|
20
25
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
// Visibility utility classes
|
|
27
|
+
$kendo-utils-visibility: k-map-get( $kendo-utils, "visibility" ) !default;
|
|
28
|
+
@include generate-utils( visibility, visibility, $kendo-utils-visibility );
|
|
24
29
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
// Legacy aliases
|
|
31
|
+
.#{$kendo-prefix}visible { @extend .#{$kendo-prefix}visibility-visible !optional; }
|
|
32
|
+
.\!#{$kendo-prefix}visible { @extend .\!#{$kendo-prefix}visibility-visible !optional; }
|
|
33
|
+
.#{$kendo-prefix}invisible { @extend .#{$kendo-prefix}visibility-hidden !optional; }
|
|
34
|
+
.\!#{$kendo-prefix}invisible { @extend .\!#{$kendo-prefix}visibility-hidden !optional; }
|
|
30
35
|
|
|
36
|
+
}
|
|
31
37
|
}
|
package/scss/layout/_zindex.scss
CHANGED
|
@@ -40,10 +40,16 @@
|
|
|
40
40
|
/// @group zindex
|
|
41
41
|
/// @contextType css
|
|
42
42
|
|
|
43
|
+
// Register
|
|
44
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
45
|
+
@include module-register((name: "utils-layout-zindex"));
|
|
46
|
+
|
|
43
47
|
@mixin kendo-utils--layout--zindex() {
|
|
48
|
+
@include module-render("utils-layout-zindex") {
|
|
44
49
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
50
|
+
// Z-index utility classes
|
|
51
|
+
$kendo-utils-zindex: k-map-get( $kendo-utils, "zindex" ) !default;
|
|
52
|
+
@include generate-utils( z, z-index, $kendo-utils-zindex );
|
|
48
53
|
|
|
54
|
+
}
|
|
49
55
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@mixin kendo-utils--responsive-layout--col-gap() {
|
|
2
|
+
|
|
3
|
+
// Columns gap
|
|
4
|
+
$kendo-utils-col-gap: k-map-get( $kendo-utils, "gap" ) !default;
|
|
5
|
+
|
|
6
|
+
@each $key, $val in $kendo-utils-col-gap {
|
|
7
|
+
$_key: k-escape-class-name( $key );
|
|
8
|
+
.k-col-gap-#{$_key} {
|
|
9
|
+
--kendo-col-gap: #{$val};
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@mixin kendo-utils--responsive-layout--col-gap--responsive($breakpoint) {
|
|
16
|
+
|
|
17
|
+
// Columns gap responsive
|
|
18
|
+
$kendo-utils-col-gap: k-map-get( $kendo-utils, "gap" ) !default;
|
|
19
|
+
|
|
20
|
+
@each $key, $val in $kendo-utils-col-gap {
|
|
21
|
+
$_key: k-escape-class-name( $key );
|
|
22
|
+
.k-col-gap-#{$breakpoint}-#{$_key} {
|
|
23
|
+
--kendo-col-gap: #{$val};
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@mixin kendo-utils--responsive-layout--col() {
|
|
2
|
+
|
|
3
|
+
// Column
|
|
4
|
+
.k-col {
|
|
5
|
+
flex: 1 0 0%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// Column Sizes
|
|
9
|
+
@for $i from 1 through 100 {
|
|
10
|
+
.k-col-size-#{$i} {
|
|
11
|
+
flex: 0 0 auto;
|
|
12
|
+
width: $i * 1%;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@each $i, $n in $kendo-fraction-classes {
|
|
17
|
+
.k-col-size-#{$i} {
|
|
18
|
+
flex: 0 0 auto;
|
|
19
|
+
width: $n;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin kendo-utils--responsive-layout--col--responsive($key) {
|
|
26
|
+
|
|
27
|
+
// Column responsive
|
|
28
|
+
.k-col-#{$key} {
|
|
29
|
+
flex: 1 0 0%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Column Sizes responsive
|
|
33
|
+
@for $i from 1 through 100 {
|
|
34
|
+
.k-col-#{$key}-size-#{$i} {
|
|
35
|
+
flex: 0 0 auto;
|
|
36
|
+
width: $i * 1%;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@each $i, $n in $kendo-fraction-classes {
|
|
41
|
+
.k-col-#{$key}-size-#{$i} {
|
|
42
|
+
flex: 0 0 auto;
|
|
43
|
+
width: $n;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@mixin kendo-utils--responsive-layout--container() {
|
|
2
|
+
|
|
3
|
+
// Page Container
|
|
4
|
+
.k-container,
|
|
5
|
+
.k-container-fluid {
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
width: 100%;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@mixin kendo-utils--responsive-layout--container--responsive($key, $val) {
|
|
16
|
+
|
|
17
|
+
// Page Container responsive
|
|
18
|
+
.k-container {
|
|
19
|
+
max-width: var(--kendo-container-#{$key}-max-width, #{$val});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@mixin kendo-utils--responsive-layout--row() {
|
|
2
|
+
|
|
3
|
+
// Row
|
|
4
|
+
.k-row {
|
|
5
|
+
margin-top: calc( -1 * var(--kendo-col-gap, 0) );
|
|
6
|
+
margin-left: calc( -.5 * var(--kendo-col-gap, 0) );
|
|
7
|
+
margin-right: calc( -.5 * var(--kendo-col-gap, 0) );
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-flow: row wrap;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
|
|
12
|
+
> * {
|
|
13
|
+
margin-top: var(--kendo-col-gap, 0);
|
|
14
|
+
padding-left: calc( var(--kendo-col-gap, 0) * .5 );
|
|
15
|
+
padding-right: calc( var(--kendo-col-gap, 0) * .5 );
|
|
16
|
+
width: 100%;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@import "./_container.scss";
|
|
2
|
+
@import "./_row.scss";
|
|
3
|
+
@import "./_col.scss";
|
|
4
|
+
@import "./_col-gap.scss";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@mixin kendo-utils--responsive-layout() {
|
|
8
|
+
@include kendo-utils--responsive-layout--container();
|
|
9
|
+
@include kendo-utils--responsive-layout--row();
|
|
10
|
+
@include kendo-utils--responsive-layout--col();
|
|
11
|
+
@include kendo-utils--responsive-layout--col-gap();
|
|
12
|
+
|
|
13
|
+
@each $key, $val in $kendo-breakpoints {
|
|
14
|
+
@include kendo-breakpoint-up($key) {
|
|
15
|
+
@include kendo-utils--responsive-layout--col--responsive($key);
|
|
16
|
+
@include kendo-utils--responsive-layout--col-gap--responsive($key);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@each $key, $val in $kendo-container-max-widths {
|
|
21
|
+
@include kendo-breakpoint-up($key) {
|
|
22
|
+
@include kendo-utils--responsive-layout--container--responsive($key, $val);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
package/scss/sizing/_height.scss
CHANGED
|
@@ -142,18 +142,24 @@
|
|
|
142
142
|
/// @group height
|
|
143
143
|
/// @contextType css
|
|
144
144
|
|
|
145
|
+
// Register
|
|
146
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
147
|
+
@include module-register((name: "utils-sizing-height"));
|
|
148
|
+
|
|
145
149
|
@mixin kendo-utils--sizing--height() {
|
|
150
|
+
@include module-render("utils-sizing-height") {
|
|
146
151
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
152
|
+
// Height utility classes
|
|
153
|
+
$kendo-utils-height: k-map-get( $kendo-utils, "height" ) !default;
|
|
154
|
+
@include generate-utils( h, height, $kendo-utils-height );
|
|
150
155
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
156
|
+
// Min height utility classes
|
|
157
|
+
$kendo-utils-min-height: k-map-get( $kendo-utils, "min-height" ) !default;
|
|
158
|
+
@include generate-utils( min-h, min-height, $kendo-utils-min-height );
|
|
154
159
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
160
|
+
// Max height utility classes
|
|
161
|
+
$kendo-utils-max-height: k-map-get( $kendo-utils, "max-height" ) !default;
|
|
162
|
+
@include generate-utils( max-h, max-height, $kendo-utils-max-height );
|
|
158
163
|
|
|
164
|
+
}
|
|
159
165
|
}
|
package/scss/sizing/_width.scss
CHANGED
|
@@ -142,18 +142,24 @@
|
|
|
142
142
|
/// @group width
|
|
143
143
|
/// @contextType css
|
|
144
144
|
|
|
145
|
+
// Register
|
|
146
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
147
|
+
@include module-register((name: "utils-sizing-width"));
|
|
148
|
+
|
|
145
149
|
@mixin kendo-utils--sizing--width() {
|
|
150
|
+
@include module-render("utils-sizing-width") {
|
|
146
151
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
152
|
+
// Width utility classes
|
|
153
|
+
$kendo-utils-width: k-map-get( $kendo-utils, "width" ) !default;
|
|
154
|
+
@include generate-utils( w, width, $kendo-utils-width );
|
|
150
155
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
156
|
+
// Min-width utility classes
|
|
157
|
+
$kendo-utils-min-width: k-map-get( $kendo-utils, "min-width" ) !default;
|
|
158
|
+
@include generate-utils( min-w, min-width, $kendo-utils-min-width );
|
|
154
159
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
160
|
+
// Max-width utility classes
|
|
161
|
+
$kendo-utils-max-width: k-map-get( $kendo-utils, "max-width" ) !default;
|
|
162
|
+
@include generate-utils( max-w, max-width, $kendo-utils-max-width );
|
|
158
163
|
|
|
164
|
+
}
|
|
159
165
|
}
|
|
@@ -544,16 +544,22 @@
|
|
|
544
544
|
/// @group margin
|
|
545
545
|
/// @contextType css
|
|
546
546
|
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
$kendo-utils-margin: k-map-get( $kendo-utils, "margin" ) !default;
|
|
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" );
|
|
547
|
+
// Register
|
|
548
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
549
|
+
@include module-register((name: "utils-spacing-margin"));
|
|
558
550
|
|
|
551
|
+
@mixin kendo-utils--spacing--margin() {
|
|
552
|
+
@include module-render("utils-spacing-margin") {
|
|
553
|
+
|
|
554
|
+
// Margin utility classes
|
|
555
|
+
$kendo-utils-margin: k-map-get( $kendo-utils, "margin" ) !default;
|
|
556
|
+
@include generate-utils( m, margin, $kendo-utils-margin, $css-var: "spacing" );
|
|
557
|
+
@include generate-utils( mt, margin-top, $kendo-utils-margin, $css-var: "spacing" );
|
|
558
|
+
@include generate-utils( mr, margin-right, $kendo-utils-margin, $css-var: "spacing" );
|
|
559
|
+
@include generate-utils( mb, margin-bottom, $kendo-utils-margin, $css-var: "spacing" );
|
|
560
|
+
@include generate-utils( ml, margin-left, $kendo-utils-margin, $css-var: "spacing" );
|
|
561
|
+
@include generate-utils( mx, margin-inline, $kendo-utils-margin, $css-var: "spacing" );
|
|
562
|
+
@include generate-utils( my, margin-block, $kendo-utils-margin, $css-var: "spacing" );
|
|
563
|
+
|
|
564
|
+
}
|
|
559
565
|
}
|
|
@@ -460,16 +460,31 @@
|
|
|
460
460
|
/// @group padding
|
|
461
461
|
/// @contextType css
|
|
462
462
|
|
|
463
|
+
// Register
|
|
464
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
465
|
+
@include module-register((name: "utils-spacing-padding"));
|
|
466
|
+
|
|
463
467
|
@mixin kendo-utils--spacing--padding() {
|
|
468
|
+
@include module-render("utils-spacing-padding") {
|
|
469
|
+
|
|
470
|
+
// Padding utility classes
|
|
471
|
+
$kendo-utils-padding: k-map-get( $kendo-utils, "padding" ) !default;
|
|
472
|
+
@include generate-utils( p, padding, $kendo-utils-padding, $css-var: "spacing" );
|
|
473
|
+
@include generate-utils( pt, padding-top, $kendo-utils-padding, $css-var: "spacing" );
|
|
474
|
+
@include generate-utils( pr, padding-right, $kendo-utils-padding, $css-var: "spacing" );
|
|
475
|
+
@include generate-utils( pb, padding-bottom, $kendo-utils-padding, $css-var: "spacing" );
|
|
476
|
+
@include generate-utils( pl, padding-left, $kendo-utils-padding, $css-var: "spacing" );
|
|
477
|
+
@include generate-utils( px, padding-inline, $kendo-utils-padding, $css-var: "spacing" );
|
|
478
|
+
@include generate-utils( py, padding-block, $kendo-utils-padding, $css-var: "spacing" );
|
|
479
|
+
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
@mixin kendo-utils--spacing--padding--responsive($key) {
|
|
464
484
|
|
|
465
|
-
// Padding utility classes
|
|
485
|
+
// Padding responsive utility classes
|
|
466
486
|
$kendo-utils-padding: k-map-get( $kendo-utils, "padding" ) !default;
|
|
467
|
-
@include generate-utils(
|
|
468
|
-
@include generate-utils(
|
|
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" );
|
|
487
|
+
@include generate-utils( px-#{$key}, padding-inline, $kendo-utils-padding, $css-var: "spacing", $important: false );
|
|
488
|
+
@include generate-utils( py-#{$key}, padding-block, $kendo-utils-padding, $css-var: "spacing", $important: false );
|
|
474
489
|
|
|
475
490
|
}
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
// TODO: docs
|
|
2
2
|
|
|
3
|
+
// Register
|
|
4
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
5
|
+
@include module-register((name: "utils-spacing-space-between"));
|
|
6
|
+
|
|
3
7
|
@mixin kendo-utils--spacing--space-between() {
|
|
8
|
+
@include module-render("utils-spacing-space-between") {
|
|
4
9
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
10
|
+
// Space between utility classes
|
|
11
|
+
$kendo-utils-space-between: k-map-get( $kendo-utils, "space-between" ) !default;
|
|
12
|
+
@each $key, $value in $kendo-utils-space-between {
|
|
13
|
+
$_key: k-escape-class-name( $key );
|
|
9
14
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
.#{$kendo-prefix}space-x-#{$_key} > * + * {
|
|
16
|
+
margin-inline-start: $value;
|
|
17
|
+
}
|
|
18
|
+
.#{$kendo-prefix}space-y-#{$_key} > * + * {
|
|
19
|
+
margin-block-start: $value;
|
|
20
|
+
}
|
|
15
21
|
}
|
|
16
|
-
}
|
|
17
22
|
|
|
23
|
+
}
|
|
18
24
|
}
|
package/scss/svg/_fill.scss
CHANGED
|
@@ -34,10 +34,16 @@
|
|
|
34
34
|
/// @group fill
|
|
35
35
|
/// @contextType css
|
|
36
36
|
|
|
37
|
+
// Register
|
|
38
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
39
|
+
@include module-register((name: "utils-svg-fill"));
|
|
40
|
+
|
|
37
41
|
@mixin kendo-utils--svg--fill() {
|
|
42
|
+
@include module-render("utils-svg-fill") {
|
|
38
43
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
// fill utility classes
|
|
45
|
+
$kendo-utils-fill: k-map-get( $kendo-utils, "fill-stroke" ) !default;
|
|
46
|
+
@include generate-utils( fill, fill, $kendo-utils-fill );
|
|
42
47
|
|
|
48
|
+
}
|
|
43
49
|
}
|
package/scss/svg/_stroke.scss
CHANGED
|
@@ -34,10 +34,16 @@
|
|
|
34
34
|
/// @group stroke
|
|
35
35
|
/// @contextType css
|
|
36
36
|
|
|
37
|
+
// Register
|
|
38
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
39
|
+
@include module-register((name: "utils-svg-stroke"));
|
|
40
|
+
|
|
37
41
|
@mixin kendo-utils--svg--stroke() {
|
|
42
|
+
@include module-render("utils-svg-stroke") {
|
|
38
43
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
// stroke utility classes
|
|
45
|
+
$kendo-utils-stroke: k-map-get( $kendo-utils, "fill-stroke" ) !default;
|
|
46
|
+
@include generate-utils( stroke, stroke, $kendo-utils-stroke );
|
|
42
47
|
|
|
48
|
+
}
|
|
43
49
|
}
|
|
@@ -10,10 +10,16 @@
|
|
|
10
10
|
/// @group border-collapse
|
|
11
11
|
/// @contextType css
|
|
12
12
|
|
|
13
|
+
// Register
|
|
14
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
15
|
+
@include module-register((name: "utils-table-border-collapse"));
|
|
16
|
+
|
|
13
17
|
@mixin kendo-utils--table--border-collapse() {
|
|
18
|
+
@include module-render("utils-table-border-collapse") {
|
|
14
19
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
20
|
+
// Border collapse utility classes
|
|
21
|
+
$kendo-utils-border-collapse: k-map-get( $kendo-utils, "border-collapse" ) !default;
|
|
22
|
+
@include generate-utils( border, border-collapse, $kendo-utils-border-collapse );
|
|
18
23
|
|
|
24
|
+
}
|
|
19
25
|
}
|
|
@@ -10,11 +10,17 @@
|
|
|
10
10
|
/// @group table-layout
|
|
11
11
|
/// @contextType css
|
|
12
12
|
|
|
13
|
+
// Register
|
|
14
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
15
|
+
@include module-register((name: "utils-table-table-layout"));
|
|
16
|
+
|
|
13
17
|
@mixin kendo-utils--table--table-layout() {
|
|
18
|
+
@include module-render("utils-table-table-layout") {
|
|
14
19
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
// Table layout utility classes
|
|
21
|
+
$kendo-utils-table-layout: k-map-get( $kendo-utils, "table-layout" ) !default;
|
|
22
|
+
@include generate-utils( table, table-layout, $kendo-utils-table-layout );
|
|
23
|
+
@include generate-utils( table-layout, table-layout, $kendo-utils-table-layout );
|
|
19
24
|
|
|
25
|
+
}
|
|
20
26
|
}
|
|
@@ -12,23 +12,29 @@
|
|
|
12
12
|
|
|
13
13
|
// TODO: consider globally horizontal vs h vs x
|
|
14
14
|
|
|
15
|
+
// Register
|
|
16
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
17
|
+
@include module-register((name: "utils-transform-flip"));
|
|
18
|
+
|
|
15
19
|
@mixin kendo-utils--transform--flip() {
|
|
20
|
+
@include module-render("utils-transform-flip") {
|
|
16
21
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
// Flip utility classes
|
|
23
|
+
$kendo-utils-flip: k-map-get( $kendo-utils, "flip" ) !default;
|
|
24
|
+
@if $kendo-utils-flip {
|
|
25
|
+
.#{$kendo-prefix}flip-h { transform: scaleX( -1 ); }
|
|
26
|
+
.\!#{$kendo-prefix}flip-h { transform: scaleX( -1 ) !important; } // stylelint-disable-line declaration-no-important
|
|
27
|
+
.#{$kendo-prefix}flip-v { transform: scaleY( -1 ); }
|
|
28
|
+
.\!#{$kendo-prefix}flip-v { transform: scaleY( -1 ) !important; } // stylelint-disable-line declaration-no-important
|
|
29
|
+
.#{$kendo-prefix}flip-h.#{$kendo-prefix}flip-v { transform: scale( -1, -1 ); }
|
|
30
|
+
.\!#{$kendo-prefix}flip-h.\!#{$kendo-prefix}flip-v { transform: scale( -1, -1 ) !important; } // stylelint-disable-line declaration-no-important
|
|
26
31
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
// Legacy aliases
|
|
33
|
+
.#{$kendo-prefix}flip-x { @extend .#{$kendo-prefix}flip-h !optional; }
|
|
34
|
+
.\!#{$kendo-prefix}flip-x { @extend .\!#{$kendo-prefix}flip-h !optional; }
|
|
35
|
+
.#{$kendo-prefix}flip-y { @extend .#{$kendo-prefix}flip-v !optional; }
|
|
36
|
+
.\!#{$kendo-prefix}flip-y { @extend .\!#{$kendo-prefix}flip-v !optional; }
|
|
37
|
+
}
|
|
33
38
|
|
|
39
|
+
}
|
|
34
40
|
}
|
|
@@ -52,10 +52,16 @@
|
|
|
52
52
|
/// @group transform-origin
|
|
53
53
|
/// @contextType css
|
|
54
54
|
|
|
55
|
+
// Register
|
|
56
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
57
|
+
@include module-register((name: "utils-transform-origin"));
|
|
58
|
+
|
|
55
59
|
@mixin kendo-utils--transform--origin() {
|
|
60
|
+
@include module-render("utils-transform-origin") {
|
|
56
61
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
62
|
+
// Transform origin utility classes
|
|
63
|
+
$kendo-utils-origin: k-map-get( $kendo-utils, "origin" ) !default;
|
|
64
|
+
@include generate-utils( origin, transform-origin, $kendo-utils-origin );
|
|
60
65
|
|
|
66
|
+
}
|
|
61
67
|
}
|
|
@@ -46,6 +46,10 @@
|
|
|
46
46
|
/// @group transform
|
|
47
47
|
/// @contextType css
|
|
48
48
|
|
|
49
|
+
// Register
|
|
50
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
51
|
+
@include module-register((name: "utils-transform-rotate"));
|
|
52
|
+
|
|
49
53
|
// stylelint-disable scss/at-function-pattern
|
|
50
54
|
@function _rotate( $val ) {
|
|
51
55
|
@return rotate( $val );
|
|
@@ -53,9 +57,11 @@
|
|
|
53
57
|
// stylelint-enable scss/at-function-pattern
|
|
54
58
|
|
|
55
59
|
@mixin kendo-utils--transform--rotate() {
|
|
60
|
+
@include module-render("utils-transform-rotate") {
|
|
56
61
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
62
|
+
// Rotate utility classes
|
|
63
|
+
$kendo-utils-rotate: k-map-get( $kendo-utils, "rotate" ) !default;
|
|
64
|
+
@include generate-utils( rotate, transform, $kendo-utils-rotate, _rotate );
|
|
60
65
|
|
|
66
|
+
}
|
|
61
67
|
}
|