@progress/kendo-theme-utils 8.2.0 → 9.0.0-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 +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
|
@@ -1,9 +1,15 @@
|
|
|
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-interactivity-accent-color"));
|
|
6
|
+
|
|
3
7
|
@mixin kendo-utils--interactivity--accent-color() {
|
|
8
|
+
@include module-render("utils-interactivity-accent-color") {
|
|
4
9
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
// Accent color utility classes
|
|
11
|
+
$kendo-utils-accent-color: k-map-get( $kendo-utils, "accent-color" ) !default;
|
|
12
|
+
@include generate-utils( accent-color, accent-color, $kendo-utils-accent-color );
|
|
8
13
|
|
|
14
|
+
}
|
|
9
15
|
}
|
|
@@ -10,10 +10,16 @@
|
|
|
10
10
|
/// @group appearance
|
|
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-interactivity-appearance"));
|
|
16
|
+
|
|
13
17
|
@mixin kendo-utils--interactivity--appearance() {
|
|
18
|
+
@include module-render("utils-interactivity-appearance") {
|
|
14
19
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
20
|
+
// Appearance utility classes
|
|
21
|
+
$kendo-utils-appearance: k-map-get( $kendo-utils, "appearance" ) !default;
|
|
22
|
+
@include generate-utils( appearance, appearance, $kendo-utils-appearance );
|
|
18
23
|
|
|
24
|
+
}
|
|
19
25
|
}
|
|
@@ -1,9 +1,15 @@
|
|
|
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-interactivity-caret-color"));
|
|
6
|
+
|
|
3
7
|
@mixin kendo-utils--interactivity--caret-color() {
|
|
8
|
+
@include module-render("utils-interactivity-caret-color") {
|
|
4
9
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
// Caret color utility classes
|
|
11
|
+
$kendo-utils-caret-color: k-map-get( $kendo-utils, "caret-color" ) !default;
|
|
12
|
+
@include generate-utils( caret, caret-color, $kendo-utils-caret-color );
|
|
8
13
|
|
|
14
|
+
}
|
|
9
15
|
}
|
|
@@ -22,10 +22,16 @@
|
|
|
22
22
|
/// @group cursor
|
|
23
23
|
/// @contextType css
|
|
24
24
|
|
|
25
|
+
// Register
|
|
26
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
27
|
+
@include module-register((name: "utils-interactivity-cursor"));
|
|
28
|
+
|
|
25
29
|
@mixin kendo-utils--interactivity--cursor() {
|
|
30
|
+
@include module-render("utils-interactivity-cursor") {
|
|
26
31
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
32
|
+
// Cursor utility classes
|
|
33
|
+
$kendo-utils-cursor: k-map-get( $kendo-utils, "cursor" ) !default;
|
|
34
|
+
@include generate-utils( cursor, cursor, $kendo-utils-cursor );
|
|
30
35
|
|
|
36
|
+
}
|
|
31
37
|
}
|
|
@@ -10,10 +10,16 @@
|
|
|
10
10
|
/// @group pointer-events
|
|
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-interactivity-pointer-events"));
|
|
16
|
+
|
|
13
17
|
@mixin kendo-utils--interactivity--pointer-events() {
|
|
18
|
+
@include module-render("utils-interactivity-pointer-events") {
|
|
14
19
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
20
|
+
// Pointer events utility classes
|
|
21
|
+
$kendo-utils-pointer-events: k-map-get( $kendo-utils, "pointer-events" ) !default;
|
|
22
|
+
@include generate-utils( pointer-events, pointer-events, $kendo-utils-pointer-events );
|
|
18
23
|
|
|
24
|
+
}
|
|
19
25
|
}
|
|
@@ -22,10 +22,16 @@
|
|
|
22
22
|
/// @group resize
|
|
23
23
|
/// @contextType css
|
|
24
24
|
|
|
25
|
+
// Register
|
|
26
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
27
|
+
@include module-register((name: "utils-interactivity-resize"));
|
|
28
|
+
|
|
25
29
|
@mixin kendo-utils--interactivity--resize() {
|
|
30
|
+
@include module-render("utils-interactivity-resize") {
|
|
26
31
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
32
|
+
// Resize utility classes
|
|
33
|
+
$kendo-utils-resize: k-map-get( $kendo-utils, "resize" ) !default;
|
|
34
|
+
@include generate-utils( resize, resize, $kendo-utils-resize );
|
|
30
35
|
|
|
36
|
+
}
|
|
31
37
|
}
|
|
@@ -322,53 +322,57 @@
|
|
|
322
322
|
/// @group scroll
|
|
323
323
|
/// @contextType css
|
|
324
324
|
|
|
325
|
-
|
|
325
|
+
// Register
|
|
326
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
327
|
+
@include module-register((name: "utils-interactivity-scroll"));
|
|
326
328
|
|
|
327
329
|
@mixin kendo-utils--interactivity--scroll() {
|
|
330
|
+
@include module-render("utils-interactivity-scroll") {
|
|
328
331
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
+
// Scroll behavior utility classes
|
|
333
|
+
$kendo-utils-scroll-behavior: k-map-get( $kendo-utils, "scroll-behavior" ) !default;
|
|
334
|
+
@include generate-utils( scroll, scroll-behavior, $kendo-utils-scroll-behavior );
|
|
332
335
|
|
|
333
336
|
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
+
// Scroll snap type utility classes
|
|
338
|
+
$kendo-utils-scroll-snap-type: k-map-get( $kendo-utils, "scroll-snap-type" ) !default;
|
|
339
|
+
@include generate-utils( scroll-snap, scroll-snap-type, $kendo-utils-scroll-snap-type );
|
|
337
340
|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
+
// Custom scroll snap type utility classes
|
|
342
|
+
.#{$kendo-prefix}scroll-snap-mandatory { #{--#{$kendo-prefix}scroll-snap-strictness}: mandatory; }
|
|
343
|
+
.#{$kendo-prefix}scroll-snap-proximity { #{--#{$kendo-prefix}scroll-snap-strictness}: proximity; }
|
|
341
344
|
|
|
342
345
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
+
// Scroll snap stop utility classes
|
|
347
|
+
$kendo-utils-scroll-snap-stop: k-map-get( $kendo-utils, "scroll-snap-stop" ) !default;
|
|
348
|
+
@include generate-utils( scroll-snap-stop, scroll-snap-stop, $kendo-utils-scroll-snap-stop );
|
|
346
349
|
|
|
347
350
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
+
// Scroll snap align utility classes
|
|
352
|
+
$kendo-utils-scroll-snap-align: k-map-get( $kendo-utils, "scroll-snap-align" ) !default;
|
|
353
|
+
@include generate-utils( scroll-snap-align, scroll-snap-align, $kendo-utils-scroll-snap-align );
|
|
351
354
|
|
|
352
355
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
356
|
+
// Scroll margin utility classes
|
|
357
|
+
$kendo-utils-scroll-margin: k-map-get( $kendo-utils, "scroll-margin" ) !default;
|
|
358
|
+
@include generate-utils( scroll-m, scroll-margin, $kendo-utils-scroll-margin );
|
|
359
|
+
@include generate-utils( scroll-mt, scroll-margin-top, $kendo-utils-scroll-margin );
|
|
360
|
+
@include generate-utils( scroll-mr, scroll-margin-right, $kendo-utils-scroll-margin );
|
|
361
|
+
@include generate-utils( scroll-mb, scroll-margin-bottom, $kendo-utils-scroll-margin );
|
|
362
|
+
@include generate-utils( scroll-ml, scroll-margin-left, $kendo-utils-scroll-margin );
|
|
363
|
+
@include generate-utils( scroll-mx, scroll-margin-inline, $kendo-utils-scroll-margin );
|
|
364
|
+
@include generate-utils( scroll-my, scroll-margin-block, $kendo-utils-scroll-margin );
|
|
362
365
|
|
|
363
366
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
367
|
+
// Scroll padding utility classes
|
|
368
|
+
$kendo-utils-scroll-padding: k-map-get( $kendo-utils, "scroll-padding" ) !default;
|
|
369
|
+
@include generate-utils( scroll-p, scroll-padding, $kendo-utils-scroll-padding );
|
|
370
|
+
@include generate-utils( scroll-pt, scroll-padding-top, $kendo-utils-scroll-padding );
|
|
371
|
+
@include generate-utils( scroll-pr, scroll-padding-right, $kendo-utils-scroll-padding );
|
|
372
|
+
@include generate-utils( scroll-pb, scroll-padding-bottom, $kendo-utils-scroll-padding );
|
|
373
|
+
@include generate-utils( scroll-pl, scroll-padding-left, $kendo-utils-scroll-padding );
|
|
374
|
+
@include generate-utils( scroll-px, scroll-padding-inline, $kendo-utils-scroll-padding );
|
|
375
|
+
@include generate-utils( scroll-py, scroll-padding-block, $kendo-utils-scroll-padding );
|
|
373
376
|
|
|
377
|
+
}
|
|
374
378
|
}
|
|
@@ -58,10 +58,16 @@
|
|
|
58
58
|
/// @group touch-action
|
|
59
59
|
/// @contextType css
|
|
60
60
|
|
|
61
|
+
// Register
|
|
62
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
63
|
+
@include module-register((name: "utils-interactivity-touch-action"));
|
|
64
|
+
|
|
61
65
|
@mixin kendo-utils--interactivity--touch-action() {
|
|
66
|
+
@include module-render("utils-interactivity-touch-action") {
|
|
62
67
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
68
|
+
// Touch-action utility classes
|
|
69
|
+
$kendo-utils-touch-action: k-map-get( $kendo-utils, "touch-action" ) !default;
|
|
70
|
+
@include generate-utils( touch-action, touch-action, $kendo-utils-touch-action );
|
|
66
71
|
|
|
72
|
+
}
|
|
67
73
|
}
|
|
@@ -28,10 +28,16 @@
|
|
|
28
28
|
/// @group user-select
|
|
29
29
|
/// @contextType css
|
|
30
30
|
|
|
31
|
+
// Register
|
|
32
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
33
|
+
@include module-register((name: "utils-interactivity-user-select"));
|
|
34
|
+
|
|
31
35
|
@mixin kendo-utils--interactivity--user-select() {
|
|
36
|
+
@include module-render("utils-interactivity-user-select") {
|
|
32
37
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
// User select utility classes
|
|
39
|
+
$kendo-utils-user-select: k-map-get( $kendo-utils, "user-select" ) !default;
|
|
40
|
+
@include generate-utils( user-select, user-select, $kendo-utils-user-select );
|
|
36
41
|
|
|
42
|
+
}
|
|
37
43
|
}
|
|
@@ -1,9 +1,15 @@
|
|
|
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-interactivity-will-change"));
|
|
6
|
+
|
|
3
7
|
@mixin kendo-utils--interactivity--will-change() {
|
|
8
|
+
@include module-render("utils-interactivity-will-change") {
|
|
4
9
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
// Will change utility classes
|
|
11
|
+
$kendo-utils-will-change: k-map-get( $kendo-utils, "will-change" ) !default;
|
|
12
|
+
@include generate-utils( will-change, will-change, $kendo-utils-will-change );
|
|
8
13
|
|
|
14
|
+
}
|
|
9
15
|
}
|
|
@@ -22,14 +22,20 @@
|
|
|
22
22
|
/// @group aspect-ratio
|
|
23
23
|
/// @contextType css
|
|
24
24
|
|
|
25
|
+
// Register
|
|
26
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
27
|
+
@include module-register((name: "utils-layout-aspect-ratio"));
|
|
28
|
+
|
|
25
29
|
@mixin kendo-utils--layout--aspect-ratio() {
|
|
30
|
+
@include module-render("utils-layout-aspect-ratio") {
|
|
26
31
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
32
|
+
// Aspect ratio utility classes
|
|
33
|
+
$kendo-utils-aspect-ratio: k-map-get( $kendo-utils, "aspect-ratio" ) !default;
|
|
34
|
+
@include generate-utils( ratio, aspect-ratio, $kendo-utils-aspect-ratio );
|
|
30
35
|
|
|
31
36
|
|
|
32
|
-
|
|
33
|
-
|
|
37
|
+
// Legacy aliases
|
|
38
|
+
@include generate-utils( aspect-ratio, aspect-ratio, $kendo-utils-aspect-ratio );
|
|
34
39
|
|
|
40
|
+
}
|
|
35
41
|
}
|
|
@@ -10,10 +10,16 @@
|
|
|
10
10
|
/// @group box-sizing
|
|
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-layout-box-sizing"));
|
|
16
|
+
|
|
13
17
|
@mixin kendo-utils--layout--box-sizing() {
|
|
18
|
+
@include module-render("utils-layout-box-sizing") {
|
|
14
19
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
20
|
+
// box-sizing utility classes
|
|
21
|
+
$kendo-utils-box-sizing: k-map-get( $kendo-utils, "box-sizing" ) !default;
|
|
22
|
+
@include generate-utils( box-sizing, box-sizing, $kendo-utils-box-sizing );
|
|
18
23
|
|
|
24
|
+
}
|
|
19
25
|
}
|
package/scss/layout/_clear.scss
CHANGED
|
@@ -22,10 +22,16 @@
|
|
|
22
22
|
/// @group clear
|
|
23
23
|
/// @contextType css
|
|
24
24
|
|
|
25
|
+
// Register
|
|
26
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
27
|
+
@include module-register((name: "utils-layout-clear"));
|
|
28
|
+
|
|
25
29
|
@mixin kendo-utils--layout--clear() {
|
|
30
|
+
@include module-render("utils-layout-clear") {
|
|
26
31
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
32
|
+
// Clear utility classes
|
|
33
|
+
$kendo-utils-clear: k-map-get( $kendo-utils, "clear" ) !default;
|
|
34
|
+
@include generate-utils( clear, clear, $kendo-utils-clear );
|
|
30
35
|
|
|
36
|
+
}
|
|
31
37
|
}
|
|
@@ -76,10 +76,16 @@
|
|
|
76
76
|
/// @group columns
|
|
77
77
|
/// @contextType css
|
|
78
78
|
|
|
79
|
+
// Register
|
|
80
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
81
|
+
@include module-register((name: "utils-layout-columns"));
|
|
82
|
+
|
|
79
83
|
@mixin kendo-utils--layout--columns() {
|
|
84
|
+
@include module-render("utils-layout-columns") {
|
|
80
85
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
86
|
+
// columns utility classes
|
|
87
|
+
$kendo-utils-columns: k-map-get( $kendo-utils, "columns" ) !default;
|
|
88
|
+
@include generate-utils( columns, columns, $kendo-utils-columns );
|
|
84
89
|
|
|
90
|
+
}
|
|
85
91
|
}
|
|
@@ -82,18 +82,32 @@
|
|
|
82
82
|
/// @group display
|
|
83
83
|
/// @contextType css
|
|
84
84
|
|
|
85
|
+
// Register
|
|
86
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
87
|
+
@include module-register((name: "utils-layout-display"));
|
|
88
|
+
|
|
85
89
|
@mixin kendo-utils--layout--display() {
|
|
90
|
+
@include module-render("utils-layout-display") {
|
|
86
91
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
92
|
+
// Display utility classes
|
|
93
|
+
$kendo-utils-display: k-map-get( $kendo-utils, "display" ) !default;
|
|
94
|
+
@include generate-utils( d, display, $kendo-utils-display );
|
|
90
95
|
|
|
91
96
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
97
|
+
// Legacy aliases
|
|
98
|
+
@include generate-utils( display, display, $kendo-utils-display );
|
|
99
|
+
.#{$kendo-prefix}d-flex-row { @extend .#{$kendo-prefix}d-flex, .#{$kendo-prefix}flex-row !optional; }
|
|
100
|
+
.\!#{$kendo-prefix}d-flex-row { @extend .\!#{$kendo-prefix}d-flex, .\!#{$kendo-prefix}flex-row !optional; }
|
|
101
|
+
.#{$kendo-prefix}d-flex-col { @extend .#{$kendo-prefix}d-flex, .#{$kendo-prefix}flex-col !optional; }
|
|
102
|
+
.\!#{$kendo-prefix}d-flex-col { @extend .\!#{$kendo-prefix}d-flex, .\!#{$kendo-prefix}flex-row !optional; }
|
|
103
|
+
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@mixin kendo-utils--layout--display--responsive($key) {
|
|
108
|
+
|
|
109
|
+
// Display responsive utility classes
|
|
110
|
+
$kendo-utils-display: k-map-get( $kendo-utils, "display" ) !default;
|
|
111
|
+
@include generate-utils( d-#{$key}, display, $kendo-utils-display, $important: false );
|
|
98
112
|
|
|
99
113
|
}
|
package/scss/layout/_float.scss
CHANGED
|
@@ -16,10 +16,16 @@
|
|
|
16
16
|
/// @group float
|
|
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-float"));
|
|
22
|
+
|
|
19
23
|
@mixin kendo-utils--layout--float() {
|
|
24
|
+
@include module-render("utils-layout-float") {
|
|
20
25
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
// Float utility classes
|
|
27
|
+
$kendo-utils-float: k-map-get( $kendo-utils, "float" ) !default;
|
|
28
|
+
@include generate-utils( float, float, $kendo-utils-float );
|
|
24
29
|
|
|
30
|
+
}
|
|
25
31
|
}
|
|
@@ -34,10 +34,16 @@
|
|
|
34
34
|
/// @group object-fit
|
|
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-layout-object-fit"));
|
|
40
|
+
|
|
37
41
|
@mixin kendo-utils--layout--object-fit() {
|
|
42
|
+
@include module-render("utils-layout-object-fit") {
|
|
38
43
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
// object-fit utility classes
|
|
45
|
+
$kendo-utils-object-fit: k-map-get( $kendo-utils, "object-fit" ) !default;
|
|
46
|
+
@include generate-utils( object-fit, object-fit, $kendo-utils-object-fit );
|
|
42
47
|
|
|
48
|
+
}
|
|
43
49
|
}
|
|
@@ -52,10 +52,16 @@
|
|
|
52
52
|
/// @group object-position
|
|
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-layout-object-position"));
|
|
58
|
+
|
|
55
59
|
@mixin kendo-utils--layout--object-position() {
|
|
60
|
+
@include module-render("utils-layout-object-position") {
|
|
56
61
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
62
|
+
// object-position utility classes
|
|
63
|
+
$kendo-utils-object-position: k-map-get( $kendo-utils, "object-position" ) !default;
|
|
64
|
+
@include generate-utils( object-position, object-position, $kendo-utils-object-position );
|
|
60
65
|
|
|
66
|
+
}
|
|
61
67
|
}
|
|
@@ -88,11 +88,18 @@
|
|
|
88
88
|
/// @group overflow
|
|
89
89
|
/// @contextType css
|
|
90
90
|
|
|
91
|
+
// Register
|
|
92
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
93
|
+
@include module-register((name: "utils-layout-overflow"));
|
|
94
|
+
|
|
91
95
|
@mixin kendo-utils--layout--overflow() {
|
|
96
|
+
@include module-render("utils-layout-overflow") {
|
|
97
|
+
|
|
98
|
+
// Overflow utility classes
|
|
99
|
+
$kendo-utils-overflow: k-map-get( $kendo-utils, "overflow" ) !default;
|
|
100
|
+
@include generate-utils( overflow, overflow, $kendo-utils-overflow );
|
|
101
|
+
@include generate-utils( overflow-x, overflow-x, $kendo-utils-overflow );
|
|
102
|
+
@include generate-utils( overflow-y, overflow-y, $kendo-utils-overflow );
|
|
92
103
|
|
|
93
|
-
|
|
94
|
-
$kendo-utils-overflow: k-map-get( $kendo-utils, "overflow" ) !default;
|
|
95
|
-
@include generate-utils( overflow, overflow, $kendo-utils-overflow );
|
|
96
|
-
@include generate-utils( overflow-x, overflow-x, $kendo-utils-overflow );
|
|
97
|
-
@include generate-utils( overflow-y, overflow-y, $kendo-utils-overflow );
|
|
104
|
+
}
|
|
98
105
|
}
|
|
@@ -88,87 +88,36 @@
|
|
|
88
88
|
/// @group placement
|
|
89
89
|
/// @contextType css
|
|
90
90
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
@include generate-utils( top, top, $kendo-utils-placement );
|
|
95
|
-
@include generate-utils( right, right, $kendo-utils-placement );
|
|
96
|
-
@include generate-utils( bottom, bottom, $kendo-utils-placement );
|
|
97
|
-
@include generate-utils( left, left, $kendo-utils-placement );
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
// placement length utility classes
|
|
101
|
-
@each $side in (top, right, bottom, left) {
|
|
102
|
-
.#{$kendo-prefix}#{$side},
|
|
103
|
-
.#{$kendo-prefix}pos-#{$side} { #{$side}: 0; }
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Inset utility classes
|
|
107
|
-
$kendo-utils-inset: k-map-get( $kendo-utils, "inset" ) !default;
|
|
108
|
-
@include generate-utils( inset, inset, $kendo-utils-inset );
|
|
109
|
-
@include generate-utils( inset-x, inset-inline, $kendo-utils-inset );
|
|
110
|
-
@include generate-utils( inset-y, inset-block, $kendo-utils-inset );
|
|
111
|
-
@include generate-utils( top-left, ( top, left ), $kendo-utils-inset );
|
|
112
|
-
@include generate-utils( top-right, ( top, right ), $kendo-utils-inset );
|
|
113
|
-
@include generate-utils( bottom-left, ( bottom, left ), $kendo-utils-inset );
|
|
114
|
-
@include generate-utils( bottom-right, ( bottom, right ), $kendo-utils-inset );
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
// Legacy aliases
|
|
118
|
-
.#{$kendo-prefix}top-start,
|
|
119
|
-
.#{$kendo-prefix}pos-top-start {
|
|
120
|
-
top: 0;
|
|
121
|
-
inset-inline-start: 0;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.#{$kendo-prefix}top-end,
|
|
125
|
-
.#{$kendo-prefix}pos-top-end {
|
|
126
|
-
top: 0;
|
|
127
|
-
inset-inline-end: 0;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.#{$kendo-prefix}bottom-start,
|
|
131
|
-
.#{$kendo-prefix}pos-bottom-start {
|
|
132
|
-
bottom: 0;
|
|
133
|
-
inset-inline-start: 0;
|
|
134
|
-
}
|
|
91
|
+
// Register
|
|
92
|
+
@import "@progress/kendo-theme-core/scss/module-system/index.import.scss";
|
|
93
|
+
@include module-register((name: "utils-layout-placement"));
|
|
135
94
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
95
|
+
@mixin kendo-utils--layout--placement() {
|
|
96
|
+
@include module-render("utils-layout-placement") {
|
|
97
|
+
|
|
98
|
+
// Top / right / bottom / left
|
|
99
|
+
$kendo-utils-placement: k-map-get( $kendo-utils, "placement" ) !default;
|
|
100
|
+
@include generate-utils( top, top, $kendo-utils-placement );
|
|
101
|
+
@include generate-utils( right, right, $kendo-utils-placement );
|
|
102
|
+
@include generate-utils( bottom, bottom, $kendo-utils-placement );
|
|
103
|
+
@include generate-utils( left, left, $kendo-utils-placement );
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
// placement length utility classes
|
|
107
|
+
@each $side in (top, right, bottom, left) {
|
|
108
|
+
.#{$kendo-prefix}#{$side},
|
|
109
|
+
.#{$kendo-prefix}pos-#{$side} { #{$side}: 0; }
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// Inset utility classes
|
|
113
|
+
$kendo-utils-inset: k-map-get( $kendo-utils, "inset" ) !default;
|
|
114
|
+
@include generate-utils( inset, inset, $kendo-utils-inset );
|
|
115
|
+
@include generate-utils( inset-x, inset-inline, $kendo-utils-inset );
|
|
116
|
+
@include generate-utils( inset-y, inset-block, $kendo-utils-inset );
|
|
117
|
+
@include generate-utils( top-left, ( top, left ), $kendo-utils-inset );
|
|
118
|
+
@include generate-utils( top-right, ( top, right ), $kendo-utils-inset );
|
|
119
|
+
@include generate-utils( bottom-left, ( bottom, left ), $kendo-utils-inset );
|
|
120
|
+
@include generate-utils( bottom-right, ( bottom, right ), $kendo-utils-inset );
|
|
141
121
|
|
|
142
|
-
.#{$kendo-prefix}top-center,
|
|
143
|
-
.#{$kendo-prefix}pos-top-center {
|
|
144
|
-
top: 0;
|
|
145
|
-
left: 50%;
|
|
146
|
-
transform: translateX(-50%);
|
|
147
|
-
}
|
|
148
|
-
.#{$kendo-prefix}middle-left,
|
|
149
|
-
.#{$kendo-prefix}middle-start,
|
|
150
|
-
.#{$kendo-prefix}pos-middle-start {
|
|
151
|
-
top: 50%;
|
|
152
|
-
left: 0;
|
|
153
|
-
transform: translateY(-50%);
|
|
154
|
-
}
|
|
155
|
-
.#{$kendo-prefix}middle-center {
|
|
156
|
-
top: 50%;
|
|
157
|
-
left: 50%;
|
|
158
|
-
transform: translateY(-50%);
|
|
159
122
|
}
|
|
160
|
-
.#{$kendo-prefix}middle-right,
|
|
161
|
-
.#{$kendo-prefix}middle-end,
|
|
162
|
-
.#{$kendo-prefix}pos-middle-end {
|
|
163
|
-
top: 50%;
|
|
164
|
-
right: 0;
|
|
165
|
-
transform: translateY(-50%);
|
|
166
|
-
}
|
|
167
|
-
.#{$kendo-prefix}bottom-center,
|
|
168
|
-
.#{$kendo-prefix}pos-bottom-center {
|
|
169
|
-
bottom: 0;
|
|
170
|
-
left: 50%;
|
|
171
|
-
transform: translateX(-50%);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
123
|
}
|