@progress/kendo-theme-utils 5.12.1-dev.1 → 5.12.1-dev.3
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 +733 -95
- package/dist/all.scss +134 -28
- package/package.json +3 -3
- package/scss/_variables.scss +40 -13
- package/scss/background/_background-color.scss +5 -0
- package/scss/background/index.import.scss +1 -0
- package/scss/border/_border-width.scss +7 -0
- package/scss/flex-grid/_flex-direction.scss +5 -0
- package/scss/flex-grid/_grid-column-start-end.scss +5 -0
- package/scss/flex-grid/_grid-row-start-end.scss +5 -0
- package/scss/index.import.scss +1 -1
- package/scss/interactivity/_pointer-events.scss +2 -0
- package/scss/interactivity/_resize.scss +2 -0
- package/scss/layout/_aspect-ratio.scss +4 -0
- package/scss/layout/_display.scss +5 -0
- package/scss/layout/_position.scss +4 -4
- package/scss/typography/_font-size.scss +4 -0
- package/scss/typography/_font-weight.scss +4 -0
- package/scss/typography/_text-align.scss +2 -0
- package/scss/typography/_text-color.scss +9 -0
- package/scss/typography/_text-transform.scss +1 -1
- package/scss/typography/_white-space.scss +7 -0
- package/scss/typography/index.import.scss +7 -1
package/dist/all.scss
CHANGED
|
@@ -92,7 +92,7 @@ $equilateral-height: .8660254038 !default;
|
|
|
92
92
|
//
|
|
93
93
|
// This lookup table is needed since there is no `pow` in SASS.
|
|
94
94
|
// stylelint-disable-next-line scss/dollar-variable-default
|
|
95
|
-
$
|
|
95
|
+
$_linear-channel-values: (
|
|
96
96
|
0
|
|
97
97
|
.0003035269835488375
|
|
98
98
|
.000607053967097675
|
|
@@ -363,9 +363,9 @@ $wcag-light: white !default;
|
|
|
363
363
|
// See https://www.w3.org/TR/WCAG/#dfn-relative-luminance
|
|
364
364
|
// See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
365
365
|
@function k-color-luminance( $color ) {
|
|
366
|
-
$red: k-list-nth( $
|
|
367
|
-
$green: k-list-nth( $
|
|
368
|
-
$blue: k-list-nth( $
|
|
366
|
+
$red: k-list-nth( $_linear-channel-values, k-color-red( $color ) + 1 );
|
|
367
|
+
$green: k-list-nth( $_linear-channel-values, k-color-green( $color ) + 1 );
|
|
368
|
+
$blue: k-list-nth( $_linear-channel-values, k-color-blue( $color ) + 1 );
|
|
369
369
|
|
|
370
370
|
@return .2126 * $red + .7152 * $green + .0722 * $blue;
|
|
371
371
|
}
|
|
@@ -468,7 +468,7 @@ $kendo-color-level-step: 8% !default;
|
|
|
468
468
|
}
|
|
469
469
|
|
|
470
470
|
@function k-try-shade( $color, $level: 1 ) {
|
|
471
|
-
$_dark-theme: if( k-meta-variable-exists( dark-theme ), $dark-theme, false );
|
|
471
|
+
$_dark-theme: if( k-meta-variable-exists( dark-theme ), $kendo-is-dark-theme, false );
|
|
472
472
|
|
|
473
473
|
@if $_dark-theme {
|
|
474
474
|
@return k-color-tint( $color, $level );
|
|
@@ -477,7 +477,7 @@ $kendo-color-level-step: 8% !default;
|
|
|
477
477
|
@return k-color-shade( $color, $level );
|
|
478
478
|
}
|
|
479
479
|
@function k-try-tint( $color, $level: 1 ) {
|
|
480
|
-
$_dark-theme: if( k-meta-variable-exists( dark-theme ), $dark-theme, false );
|
|
480
|
+
$_dark-theme: if( k-meta-variable-exists( dark-theme ), $kendo-is-dark-theme, false );
|
|
481
481
|
|
|
482
482
|
@if $_dark-theme {
|
|
483
483
|
@return k-color-shade( $color, $level );
|
|
@@ -488,7 +488,7 @@ $kendo-color-level-step: 8% !default;
|
|
|
488
488
|
|
|
489
489
|
|
|
490
490
|
@function k-try-darken( $color, $amount ) {
|
|
491
|
-
$_dark-theme: if( k-meta-variable-exists( dark-theme ), $dark-theme, false );
|
|
491
|
+
$_dark-theme: if( k-meta-variable-exists( dark-theme ), $kendo-is-dark-theme, false );
|
|
492
492
|
|
|
493
493
|
@if $_dark-theme {
|
|
494
494
|
@return k-color-lighten( $color, $amount );
|
|
@@ -497,7 +497,7 @@ $kendo-color-level-step: 8% !default;
|
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
@function k-try-lighten( $color, $amount ) {
|
|
500
|
-
$_dark-theme: if( k-meta-variable-exists( dark-theme ), $dark-theme, false );
|
|
500
|
+
$_dark-theme: if( k-meta-variable-exists( dark-theme ), $kendo-is-dark-theme, false );
|
|
501
501
|
|
|
502
502
|
@if $_dark-theme {
|
|
503
503
|
@return k-color-darken( $color, $amount );
|
|
@@ -945,7 +945,11 @@ $_kendo-escape-class-name: (
|
|
|
945
945
|
// #region @import "./_variables.scss"; -> packages/utils/scss/_variables.scss
|
|
946
946
|
$kendo-prefix: k- !default;
|
|
947
947
|
$kendo-important: true !default;
|
|
948
|
-
|
|
948
|
+
|
|
949
|
+
$kendo-theme-colors: () !default;
|
|
950
|
+
|
|
951
|
+
$kendo-font-sizes: () !default;
|
|
952
|
+
|
|
949
953
|
$kendo-spacing: (
|
|
950
954
|
// sass-lint:disable-block leading-zero
|
|
951
955
|
0: 0,
|
|
@@ -1019,6 +1023,15 @@ $kendo-sizing: k-map-merge( $kendo-spacing, (
|
|
|
1019
1023
|
"fit": fit-content
|
|
1020
1024
|
)) !default;
|
|
1021
1025
|
|
|
1026
|
+
$kendo-border-radii: (
|
|
1027
|
+
DEFAULT: .25rem,
|
|
1028
|
+
0: 0,
|
|
1029
|
+
sm: .125rem,
|
|
1030
|
+
md: .25rem,
|
|
1031
|
+
lg: .5rem,
|
|
1032
|
+
full: 9999px
|
|
1033
|
+
) !default;
|
|
1034
|
+
|
|
1022
1035
|
//
|
|
1023
1036
|
|
|
1024
1037
|
$kendo-utils: (
|
|
@@ -1285,7 +1298,8 @@ $kendo-utils: (
|
|
|
1285
1298
|
row: row,
|
|
1286
1299
|
col: column,
|
|
1287
1300
|
row-dense: row dense,
|
|
1288
|
-
col-dense: column dense
|
|
1301
|
+
col-dense: column dense,
|
|
1302
|
+
unset: unset
|
|
1289
1303
|
),
|
|
1290
1304
|
"grid-auto-columns": (
|
|
1291
1305
|
auto: auto,
|
|
@@ -1455,7 +1469,14 @@ $kendo-utils: (
|
|
|
1455
1469
|
center,
|
|
1456
1470
|
justify
|
|
1457
1471
|
),
|
|
1458
|
-
"text-color": (
|
|
1472
|
+
"text-color": k-map-merge( $kendo-theme-colors, (
|
|
1473
|
+
// sass-lint:disable-block indentation
|
|
1474
|
+
"inherit": inherit,
|
|
1475
|
+
"current": currentColor,
|
|
1476
|
+
"transparent": transparent,
|
|
1477
|
+
"black": black,
|
|
1478
|
+
"white": white
|
|
1479
|
+
)),
|
|
1459
1480
|
"text-decoration": (),
|
|
1460
1481
|
"text-decoration-width": (),
|
|
1461
1482
|
"text-decoration-style": (),
|
|
@@ -1481,6 +1502,13 @@ $kendo-utils: (
|
|
|
1481
1502
|
"word-break": (),
|
|
1482
1503
|
|
|
1483
1504
|
// Background
|
|
1505
|
+
"background-color": k-map-merge( $kendo-theme-colors, (
|
|
1506
|
+
// sass-lint:disable-block indentation
|
|
1507
|
+
"inherit": inherit,
|
|
1508
|
+
"transparent": transparent,
|
|
1509
|
+
"black": black,
|
|
1510
|
+
"white": white
|
|
1511
|
+
)),
|
|
1484
1512
|
|
|
1485
1513
|
// Border
|
|
1486
1514
|
"border-width": (
|
|
@@ -1498,16 +1526,15 @@ $kendo-utils: (
|
|
|
1498
1526
|
hidden,
|
|
1499
1527
|
none
|
|
1500
1528
|
),
|
|
1501
|
-
"border-color": (
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
),
|
|
1529
|
+
"border-color": k-map-merge( $kendo-theme-colors, (
|
|
1530
|
+
// sass-lint:disable-block indentation
|
|
1531
|
+
"inherit": inherit,
|
|
1532
|
+
"current": currentColor,
|
|
1533
|
+
"transparent": transparent,
|
|
1534
|
+
"black": black,
|
|
1535
|
+
"white": white
|
|
1536
|
+
)),
|
|
1537
|
+
"border-radius": $kendo-border-radii,
|
|
1511
1538
|
"outline-width": (
|
|
1512
1539
|
DEFAULT: 1px,
|
|
1513
1540
|
0: 0,
|
|
@@ -1802,6 +1829,10 @@ $kendo-utils-aspect-ratio: k-map-get( $kendo-utils, "aspect-ratio" ) !default;
|
|
|
1802
1829
|
|
|
1803
1830
|
@include generate-utils( ratio, aspect-ratio, $kendo-utils-aspect-ratio );
|
|
1804
1831
|
|
|
1832
|
+
|
|
1833
|
+
// Legacy aliases
|
|
1834
|
+
@include generate-utils( aspect-ratio, aspect-ratio, $kendo-utils-aspect-ratio );
|
|
1835
|
+
|
|
1805
1836
|
// #endregion
|
|
1806
1837
|
// #region @import "./_display.scss"; -> packages/utils/scss/layout/_display.scss
|
|
1807
1838
|
/// This is equivalent to `display: none;`. Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off.
|
|
@@ -1864,8 +1895,13 @@ $kendo-utils-display: k-map-get( $kendo-utils, "display" ) !default;
|
|
|
1864
1895
|
|
|
1865
1896
|
@include generate-utils( d, display, $kendo-utils-display );
|
|
1866
1897
|
|
|
1898
|
+
|
|
1867
1899
|
// Legacy alias
|
|
1868
1900
|
@include generate-utils( display, display, $kendo-utils-display );
|
|
1901
|
+
.#{$kendo-prefix}d-flex-row { @extend .#{$kendo-prefix}d-flex, .#{$kendo-prefix}flex-row !optional; }
|
|
1902
|
+
.\!#{$kendo-prefix}d-flex-row { @extend .\!#{$kendo-prefix}d-flex, .\!#{$kendo-prefix}flex-row !optional; } // sass-lint:disable-line class-name-format
|
|
1903
|
+
.#{$kendo-prefix}d-flex-col { @extend .#{$kendo-prefix}d-flex, .#{$kendo-prefix}flex-col !optional; }
|
|
1904
|
+
.\!#{$kendo-prefix}d-flex-col { @extend .\!#{$kendo-prefix}d-flex, .\!#{$kendo-prefix}flex-row !optional; } // sass-lint:disable-line class-name-format
|
|
1869
1905
|
|
|
1870
1906
|
// #endregion
|
|
1871
1907
|
// #region @import "./_float.scss"; -> packages/utils/scss/layout/_float.scss
|
|
@@ -2065,25 +2101,25 @@ $kendo-utils-inset: k-map-get( $kendo-utils, "inset" ) !default;
|
|
|
2065
2101
|
.#{$kendo-prefix}top-start,
|
|
2066
2102
|
.#{$kendo-prefix}pos-top-start {
|
|
2067
2103
|
top: 0;
|
|
2068
|
-
|
|
2104
|
+
inset-inline-start: 0;
|
|
2069
2105
|
}
|
|
2070
2106
|
|
|
2071
2107
|
.#{$kendo-prefix}top-end,
|
|
2072
2108
|
.#{$kendo-prefix}pos-top-end {
|
|
2073
2109
|
top: 0;
|
|
2074
|
-
|
|
2110
|
+
inset-inline-end: 0;
|
|
2075
2111
|
}
|
|
2076
2112
|
|
|
2077
2113
|
.#{$kendo-prefix}bottom-start,
|
|
2078
2114
|
.#{$kendo-prefix}pos-bottom-start {
|
|
2079
2115
|
bottom: 0;
|
|
2080
|
-
|
|
2116
|
+
inset-inline-start: 0;
|
|
2081
2117
|
}
|
|
2082
2118
|
|
|
2083
2119
|
.#{$kendo-prefix}bottom-end,
|
|
2084
2120
|
.#{$kendo-prefix}pos-bottom-end {
|
|
2085
2121
|
bottom: 0;
|
|
2086
|
-
|
|
2122
|
+
inset-inline-end: 0;
|
|
2087
2123
|
}
|
|
2088
2124
|
|
|
2089
2125
|
.#{$kendo-prefix}top-center,
|
|
@@ -2196,6 +2232,11 @@ $kendo-utils-flex-direction: k-map-get( $kendo-utils, "flex-direction" ) !defaul
|
|
|
2196
2232
|
|
|
2197
2233
|
@include generate-utils( flex, flex-direction, $kendo-utils-flex-direction );
|
|
2198
2234
|
|
|
2235
|
+
|
|
2236
|
+
// Legacy aliases
|
|
2237
|
+
.#{$kendo-prefix}flex-column { @extend .#{$kendo-prefix}flex-col !optional; }
|
|
2238
|
+
.#{$kendo-prefix}flex-column-reverse { @extend .#{$kendo-prefix}flex-col-reverse !optional; }
|
|
2239
|
+
|
|
2199
2240
|
// #endregion
|
|
2200
2241
|
// #region @import "./_flex-wrap.scss"; -> packages/utils/scss/flex-grid/_flex-wrap.scss
|
|
2201
2242
|
/// This is equivalent to `flex-wrap: wrap`. It allows flex items to wrap as needed onto multiple lines, from top to bottom.
|
|
@@ -2358,7 +2399,12 @@ $kendo-utils-grid-column-end: k-map-get( $kendo-utils, "grid-column-end" ) !defa
|
|
|
2358
2399
|
$kendo-utils-grid-column-span: k-map-get( $kendo-utils, "grid-column-span" ) !default;
|
|
2359
2400
|
|
|
2360
2401
|
@include generate-utils( col-span, grid-column, $kendo-utils-grid-column-span );
|
|
2402
|
+
|
|
2403
|
+
|
|
2404
|
+
// Legacy aliases
|
|
2361
2405
|
@include generate-utils( colspan, grid-column, $kendo-utils-grid-column-span );
|
|
2406
|
+
.#{$kendo-prefix}colspan-all { @extend .#{$kendo-prefix}colspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
2407
|
+
.\!#{$kendo-prefix}colspan-all { @extend .\!#{$kendo-prefix}colspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
2362
2408
|
|
|
2363
2409
|
// #endregion
|
|
2364
2410
|
// #region @import "./_grid-row-start-end.scss"; -> packages/utils/scss/flex-grid/_grid-row-start-end.scss
|
|
@@ -2377,7 +2423,12 @@ $kendo-utils-grid-row-end: k-map-get( $kendo-utils, "grid-row-end" ) !default;
|
|
|
2377
2423
|
$kendo-utils-grid-row-span: k-map-get( $kendo-utils, "grid-row-span" ) !default;
|
|
2378
2424
|
|
|
2379
2425
|
@include generate-utils( row-span, grid-row, $kendo-utils-grid-row-span );
|
|
2426
|
+
|
|
2427
|
+
|
|
2428
|
+
// Legacy aliases
|
|
2380
2429
|
@include generate-utils( rowspan, grid-row, $kendo-utils-grid-row-span );
|
|
2430
|
+
.#{$kendo-prefix}rowspan-all { @extend .#{$kendo-prefix}rowspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
2431
|
+
.\!#{$kendo-prefix}rowspan-all { @extend .\!#{$kendo-prefix}rowspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
2381
2432
|
|
|
2382
2433
|
// #endregion
|
|
2383
2434
|
// #region @import "./_grid-auto-flow.scss"; -> packages/utils/scss/flex-grid/_grid-auto-flow.scss
|
|
@@ -2573,6 +2624,10 @@ $kendo-utils-font-size: k-map-get( $kendo-utils, "font-size" ) !default;
|
|
|
2573
2624
|
|
|
2574
2625
|
@include generate-utils( font-size, font-size, $kendo-utils-font-size );
|
|
2575
2626
|
|
|
2627
|
+
|
|
2628
|
+
// Legacy aliases
|
|
2629
|
+
@include generate-utils( fs, font-size, $kendo-utils-font-size );
|
|
2630
|
+
|
|
2576
2631
|
// #endregion
|
|
2577
2632
|
// font smoothing
|
|
2578
2633
|
// #region @import "./_font-style.scss"; -> packages/utils/scss/typography/_font-style.scss
|
|
@@ -2590,12 +2645,18 @@ $kendo-utils-font-weight: k-map-get( $kendo-utils, "font-weight" ) !default;
|
|
|
2590
2645
|
|
|
2591
2646
|
@include generate-utils( font, font-weight, $kendo-utils-font-weight );
|
|
2592
2647
|
|
|
2648
|
+
|
|
2649
|
+
// Legacy aliases
|
|
2650
|
+
@include generate-utils( font-weight, font-weight, $kendo-utils-font-weight );
|
|
2651
|
+
|
|
2593
2652
|
// #endregion
|
|
2594
2653
|
// font variant
|
|
2595
2654
|
// letter spacing
|
|
2596
2655
|
// line height
|
|
2597
2656
|
// list style
|
|
2598
2657
|
// #region @import "./_text-align.scss"; -> packages/utils/scss/typography/_text-align.scss
|
|
2658
|
+
// Text-align documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/text-align.
|
|
2659
|
+
|
|
2599
2660
|
/// This is equivalent to `text-align: left;`. The inline contents are aligned to the left edge of the line box.
|
|
2600
2661
|
/// @name .k-text-left
|
|
2601
2662
|
/// @group text-align
|
|
@@ -2622,10 +2683,21 @@ $kendo-utils-text-align: k-map-get( $kendo-utils, "text-align" ) !default;
|
|
|
2622
2683
|
@include generate-utils( text, text-align, $kendo-utils-text-align );
|
|
2623
2684
|
|
|
2624
2685
|
// #endregion
|
|
2625
|
-
//
|
|
2686
|
+
// #region @import "./_text-color.scss"; -> packages/utils/scss/typography/_text-color.scss
|
|
2687
|
+
// TODO DOCS
|
|
2688
|
+
|
|
2689
|
+
$kendo-utils-text-color: k-map-get( $kendo-utils, "text-color" ) !default;
|
|
2690
|
+
|
|
2691
|
+
@include generate-utils( text, color, $kendo-utils-text-color );
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
// Legacy aliases
|
|
2695
|
+
@include generate-utils( color, color, $kendo-utils-text-color );
|
|
2696
|
+
|
|
2697
|
+
// #endregion
|
|
2626
2698
|
// text decoration
|
|
2627
2699
|
// #region @import "./_text-transform.scss"; -> packages/utils/scss/typography/_text-transform.scss
|
|
2628
|
-
//
|
|
2700
|
+
// Text-transform documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform.
|
|
2629
2701
|
|
|
2630
2702
|
/// This is equivalent to `text-transform: lowercase;`. Is a keyword that converts all characters to lowercase.
|
|
2631
2703
|
/// @name k-text-lowercase
|
|
@@ -2652,6 +2724,8 @@ $kendo-utils-text-transform: k-map-get( $kendo-utils, "text-transform" ) !defaul
|
|
|
2652
2724
|
// text indent
|
|
2653
2725
|
// vertical align
|
|
2654
2726
|
// #region @import "./_white-space.scss"; -> packages/utils/scss/typography/_white-space.scss
|
|
2727
|
+
// White-space documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/white-space.
|
|
2728
|
+
|
|
2655
2729
|
/// 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.
|
|
2656
2730
|
/// @name .k-white-space-normal
|
|
2657
2731
|
/// @group white-space
|
|
@@ -2686,11 +2760,32 @@ $kendo-utils-text-transform: k-map-get( $kendo-utils, "text-transform" ) !defaul
|
|
|
2686
2760
|
$kendo-utils-white-space: k-map-get( $kendo-utils, "white-space" ) !default;
|
|
2687
2761
|
|
|
2688
2762
|
@include generate-utils( white-space, white-space, $kendo-utils-white-space );
|
|
2763
|
+
@include generate-utils( whitespace, white-space, $kendo-utils-white-space );
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
// Legacy aliases
|
|
2767
|
+
.#{$kendo-prefix}text-nowrap { @extend .#{$kendo-prefix}white-space-nowrap !optional; }
|
|
2768
|
+
|
|
2769
|
+
// #endregion
|
|
2770
|
+
|
|
2771
|
+
|
|
2772
|
+
/// This is equivalent to `white-space: nowrap; overflow: hidden; text-overflow: ellipsis;`.
|
|
2773
|
+
/// @name .k-text-ellipsis
|
|
2774
|
+
/// @group text
|
|
2775
|
+
.#{$kendo-prefix}text-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } // sass-lint:disable-line one-declaration-per-line
|
|
2776
|
+
|
|
2777
|
+
// #endregion
|
|
2778
|
+
// #region @import "./background/index.import.scss"; -> packages/utils/scss/background/index.import.scss
|
|
2779
|
+
// #region @import "./_background-color.scss"; -> packages/utils/scss/background/_background-color.scss
|
|
2780
|
+
// TODO DOCS
|
|
2781
|
+
|
|
2782
|
+
$kendo-utils-background-color: k-map-get( $kendo-utils, "background-color" ) !default;
|
|
2783
|
+
|
|
2784
|
+
@include generate-utils( bg, background-color, $kendo-utils-background-color );
|
|
2689
2785
|
|
|
2690
2786
|
// #endregion
|
|
2691
2787
|
|
|
2692
2788
|
// #endregion
|
|
2693
|
-
// background
|
|
2694
2789
|
// #region @import "./border/index.import.scss"; -> packages/utils/scss/border/index.import.scss
|
|
2695
2790
|
// #region @import "./_border-width.scss"; -> packages/utils/scss/border/_border-width.scss
|
|
2696
2791
|
// TODO DOCS
|
|
@@ -2705,6 +2800,13 @@ $kendo-utils-border-width: k-map-get( $kendo-utils, "border-width" ) !default;
|
|
|
2705
2800
|
@include generate-utils( border-x, border-inline-width, $kendo-utils-border-width );
|
|
2706
2801
|
@include generate-utils( border-y, border-block-width, $kendo-utils-border-width );
|
|
2707
2802
|
|
|
2803
|
+
|
|
2804
|
+
// Legacy aliases
|
|
2805
|
+
@include generate-utils( border-top, border-top-width, $kendo-utils-border-width );
|
|
2806
|
+
@include generate-utils( border-right, border-right-width, $kendo-utils-border-width );
|
|
2807
|
+
@include generate-utils( border-bottom, border-bottom-width, $kendo-utils-border-width );
|
|
2808
|
+
@include generate-utils( border-left, border-left-width, $kendo-utils-border-width );
|
|
2809
|
+
|
|
2708
2810
|
// #endregion
|
|
2709
2811
|
// #region @import "./_border-style.scss"; -> packages/utils/scss/border/_border-style.scss
|
|
2710
2812
|
// TODO DOCS
|
|
@@ -3083,6 +3185,8 @@ $kendo-utils-caret-color: k-map-get( $kendo-utils, "caret-color" ) !default;
|
|
|
3083
3185
|
|
|
3084
3186
|
// #endregion
|
|
3085
3187
|
// #region @import "./_pointer-events.scss"; -> packages/utils/scss/interactivity/_pointer-events.scss
|
|
3188
|
+
// Pointer-events documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events.
|
|
3189
|
+
|
|
3086
3190
|
/// This is equivalent to `pointer-events: none;`. The element is never the target of pointer events; however, pointer events may target its descendant elements if those descendants have pointer-events set to some other value. In these circumstances, pointer events will trigger event listeners on this parent element as appropriate on their way to/from the descendant during the event capture/bubble phases.
|
|
3087
3191
|
/// @name .k-pointer-events-none
|
|
3088
3192
|
/// @group pointer-events
|
|
@@ -3100,6 +3204,8 @@ $kendo-utils-pointer-events: k-map-get( $kendo-utils, "pointer-events" ) !defaul
|
|
|
3100
3204
|
|
|
3101
3205
|
// #endregion
|
|
3102
3206
|
// #region @import "./_resize.scss"; -> packages/utils/scss/interactivity/_resize.scss
|
|
3207
|
+
// Resize documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/resize.
|
|
3208
|
+
|
|
3103
3209
|
/// This is equivalent to `resize: both;`. The element displays a mechanism for allowing the user to resize it, which may be resized both horizontally and vertically.
|
|
3104
3210
|
/// @name .k-resize
|
|
3105
3211
|
/// @group resize
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-utils",
|
|
3
3
|
"description": "Utility first library alongside Kendo UI",
|
|
4
|
-
"version": "5.12.1-dev.
|
|
4
|
+
"version": "5.12.1-dev.3",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"postpublish": "echo 'no postpublish for utils'"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@progress/kendo-theme-core": "^5.12.1-dev.
|
|
44
|
+
"@progress/kendo-theme-core": "^5.12.1-dev.3"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "8c82f49a750901799f12f09ca977f65b74ff9577"
|
|
47
47
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
$kendo-prefix: k- !default;
|
|
2
2
|
$kendo-important: true !default;
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
$kendo-theme-colors: () !default;
|
|
5
|
+
|
|
6
|
+
$kendo-font-sizes: () !default;
|
|
7
|
+
|
|
4
8
|
$kendo-spacing: (
|
|
5
9
|
// sass-lint:disable-block leading-zero
|
|
6
10
|
0: 0,
|
|
@@ -74,6 +78,15 @@ $kendo-sizing: k-map-merge( $kendo-spacing, (
|
|
|
74
78
|
"fit": fit-content
|
|
75
79
|
)) !default;
|
|
76
80
|
|
|
81
|
+
$kendo-border-radii: (
|
|
82
|
+
DEFAULT: .25rem,
|
|
83
|
+
0: 0,
|
|
84
|
+
sm: .125rem,
|
|
85
|
+
md: .25rem,
|
|
86
|
+
lg: .5rem,
|
|
87
|
+
full: 9999px
|
|
88
|
+
) !default;
|
|
89
|
+
|
|
77
90
|
//
|
|
78
91
|
|
|
79
92
|
$kendo-utils: (
|
|
@@ -340,7 +353,8 @@ $kendo-utils: (
|
|
|
340
353
|
row: row,
|
|
341
354
|
col: column,
|
|
342
355
|
row-dense: row dense,
|
|
343
|
-
col-dense: column dense
|
|
356
|
+
col-dense: column dense,
|
|
357
|
+
unset: unset
|
|
344
358
|
),
|
|
345
359
|
"grid-auto-columns": (
|
|
346
360
|
auto: auto,
|
|
@@ -510,7 +524,14 @@ $kendo-utils: (
|
|
|
510
524
|
center,
|
|
511
525
|
justify
|
|
512
526
|
),
|
|
513
|
-
"text-color": (
|
|
527
|
+
"text-color": k-map-merge( $kendo-theme-colors, (
|
|
528
|
+
// sass-lint:disable-block indentation
|
|
529
|
+
"inherit": inherit,
|
|
530
|
+
"current": currentColor,
|
|
531
|
+
"transparent": transparent,
|
|
532
|
+
"black": black,
|
|
533
|
+
"white": white
|
|
534
|
+
)),
|
|
514
535
|
"text-decoration": (),
|
|
515
536
|
"text-decoration-width": (),
|
|
516
537
|
"text-decoration-style": (),
|
|
@@ -536,6 +557,13 @@ $kendo-utils: (
|
|
|
536
557
|
"word-break": (),
|
|
537
558
|
|
|
538
559
|
// Background
|
|
560
|
+
"background-color": k-map-merge( $kendo-theme-colors, (
|
|
561
|
+
// sass-lint:disable-block indentation
|
|
562
|
+
"inherit": inherit,
|
|
563
|
+
"transparent": transparent,
|
|
564
|
+
"black": black,
|
|
565
|
+
"white": white
|
|
566
|
+
)),
|
|
539
567
|
|
|
540
568
|
// Border
|
|
541
569
|
"border-width": (
|
|
@@ -553,16 +581,15 @@ $kendo-utils: (
|
|
|
553
581
|
hidden,
|
|
554
582
|
none
|
|
555
583
|
),
|
|
556
|
-
"border-color": (
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
),
|
|
584
|
+
"border-color": k-map-merge( $kendo-theme-colors, (
|
|
585
|
+
// sass-lint:disable-block indentation
|
|
586
|
+
"inherit": inherit,
|
|
587
|
+
"current": currentColor,
|
|
588
|
+
"transparent": transparent,
|
|
589
|
+
"black": black,
|
|
590
|
+
"white": white
|
|
591
|
+
)),
|
|
592
|
+
"border-radius": $kendo-border-radii,
|
|
566
593
|
"outline-width": (
|
|
567
594
|
DEFAULT: 1px,
|
|
568
595
|
0: 0,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./_background-color.scss";
|
|
@@ -9,3 +9,10 @@ $kendo-utils-border-width: k-map-get( $kendo-utils, "border-width" ) !default;
|
|
|
9
9
|
@include generate-utils( border-l, border-left-width, $kendo-utils-border-width );
|
|
10
10
|
@include generate-utils( border-x, border-inline-width, $kendo-utils-border-width );
|
|
11
11
|
@include generate-utils( border-y, border-block-width, $kendo-utils-border-width );
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
// Legacy aliases
|
|
15
|
+
@include generate-utils( border-top, border-top-width, $kendo-utils-border-width );
|
|
16
|
+
@include generate-utils( border-right, border-right-width, $kendo-utils-border-width );
|
|
17
|
+
@include generate-utils( border-bottom, border-bottom-width, $kendo-utils-border-width );
|
|
18
|
+
@include generate-utils( border-left, border-left-width, $kendo-utils-border-width );
|
|
@@ -22,3 +22,8 @@
|
|
|
22
22
|
$kendo-utils-flex-direction: k-map-get( $kendo-utils, "flex-direction" ) !default;
|
|
23
23
|
|
|
24
24
|
@include generate-utils( flex, flex-direction, $kendo-utils-flex-direction );
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
// Legacy aliases
|
|
28
|
+
.#{$kendo-prefix}flex-column { @extend .#{$kendo-prefix}flex-col !optional; }
|
|
29
|
+
.#{$kendo-prefix}flex-column-reverse { @extend .#{$kendo-prefix}flex-col-reverse !optional; }
|
|
@@ -13,4 +13,9 @@ $kendo-utils-grid-column-end: k-map-get( $kendo-utils, "grid-column-end" ) !defa
|
|
|
13
13
|
$kendo-utils-grid-column-span: k-map-get( $kendo-utils, "grid-column-span" ) !default;
|
|
14
14
|
|
|
15
15
|
@include generate-utils( col-span, grid-column, $kendo-utils-grid-column-span );
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
// Legacy aliases
|
|
16
19
|
@include generate-utils( colspan, grid-column, $kendo-utils-grid-column-span );
|
|
20
|
+
.#{$kendo-prefix}colspan-all { @extend .#{$kendo-prefix}colspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
21
|
+
.\!#{$kendo-prefix}colspan-all { @extend .\!#{$kendo-prefix}colspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
@@ -13,4 +13,9 @@ $kendo-utils-grid-row-end: k-map-get( $kendo-utils, "grid-row-end" ) !default;
|
|
|
13
13
|
$kendo-utils-grid-row-span: k-map-get( $kendo-utils, "grid-row-span" ) !default;
|
|
14
14
|
|
|
15
15
|
@include generate-utils( row-span, grid-row, $kendo-utils-grid-row-span );
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
// Legacy aliases
|
|
16
19
|
@include generate-utils( rowspan, grid-row, $kendo-utils-grid-row-span );
|
|
20
|
+
.#{$kendo-prefix}rowspan-all { @extend .#{$kendo-prefix}rowspan-full !optional; } // sass-lint:disable-line class-name-format
|
|
21
|
+
.\!#{$kendo-prefix}rowspan-all { @extend .\!#{$kendo-prefix}rowspan-full !optional; } // sass-lint:disable-line class-name-format
|
package/scss/index.import.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Pointer-events documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events.
|
|
2
|
+
|
|
1
3
|
/// This is equivalent to `pointer-events: none;`. The element is never the target of pointer events; however, pointer events may target its descendant elements if those descendants have pointer-events set to some other value. In these circumstances, pointer events will trigger event listeners on this parent element as appropriate on their way to/from the descendant during the event capture/bubble phases.
|
|
2
4
|
/// @name .k-pointer-events-none
|
|
3
5
|
/// @group pointer-events
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// Resize documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/resize.
|
|
2
|
+
|
|
1
3
|
/// This is equivalent to `resize: both;`. The element displays a mechanism for allowing the user to resize it, which may be resized both horizontally and vertically.
|
|
2
4
|
/// @name .k-resize
|
|
3
5
|
/// @group resize
|
|
@@ -23,3 +23,7 @@
|
|
|
23
23
|
$kendo-utils-aspect-ratio: k-map-get( $kendo-utils, "aspect-ratio" ) !default;
|
|
24
24
|
|
|
25
25
|
@include generate-utils( ratio, aspect-ratio, $kendo-utils-aspect-ratio );
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
// Legacy aliases
|
|
29
|
+
@include generate-utils( aspect-ratio, aspect-ratio, $kendo-utils-aspect-ratio );
|
|
@@ -58,5 +58,10 @@ $kendo-utils-display: k-map-get( $kendo-utils, "display" ) !default;
|
|
|
58
58
|
|
|
59
59
|
@include generate-utils( d, display, $kendo-utils-display );
|
|
60
60
|
|
|
61
|
+
|
|
61
62
|
// Legacy alias
|
|
62
63
|
@include generate-utils( display, display, $kendo-utils-display );
|
|
64
|
+
.#{$kendo-prefix}d-flex-row { @extend .#{$kendo-prefix}d-flex, .#{$kendo-prefix}flex-row !optional; }
|
|
65
|
+
.\!#{$kendo-prefix}d-flex-row { @extend .\!#{$kendo-prefix}d-flex, .\!#{$kendo-prefix}flex-row !optional; } // sass-lint:disable-line class-name-format
|
|
66
|
+
.#{$kendo-prefix}d-flex-col { @extend .#{$kendo-prefix}d-flex, .#{$kendo-prefix}flex-col !optional; }
|
|
67
|
+
.\!#{$kendo-prefix}d-flex-col { @extend .\!#{$kendo-prefix}d-flex, .\!#{$kendo-prefix}flex-row !optional; } // sass-lint:disable-line class-name-format
|
|
@@ -61,25 +61,25 @@ $kendo-utils-inset: k-map-get( $kendo-utils, "inset" ) !default;
|
|
|
61
61
|
.#{$kendo-prefix}top-start,
|
|
62
62
|
.#{$kendo-prefix}pos-top-start {
|
|
63
63
|
top: 0;
|
|
64
|
-
|
|
64
|
+
inset-inline-start: 0;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.#{$kendo-prefix}top-end,
|
|
68
68
|
.#{$kendo-prefix}pos-top-end {
|
|
69
69
|
top: 0;
|
|
70
|
-
|
|
70
|
+
inset-inline-end: 0;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.#{$kendo-prefix}bottom-start,
|
|
74
74
|
.#{$kendo-prefix}pos-bottom-start {
|
|
75
75
|
bottom: 0;
|
|
76
|
-
|
|
76
|
+
inset-inline-start: 0;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.#{$kendo-prefix}bottom-end,
|
|
80
80
|
.#{$kendo-prefix}pos-bottom-end {
|
|
81
81
|
bottom: 0;
|
|
82
|
-
|
|
82
|
+
inset-inline-end: 0;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.#{$kendo-prefix}top-center,
|