@progress/kendo-theme-utils 5.4.2-dev.5

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.
Files changed (89) hide show
  1. package/LICENSE.md +17 -0
  2. package/dist/all.css +13183 -0
  3. package/dist/all.scss +1963 -0
  4. package/package.json +45 -0
  5. package/scss/_functions.scss +37 -0
  6. package/scss/_mixins.scss +28 -0
  7. package/scss/_variables.scss +754 -0
  8. package/scss/accessibility/_screen-readers.scss +28 -0
  9. package/scss/accessibility/index.import.scss +1 -0
  10. package/scss/all.scss +1 -0
  11. package/scss/border/_border-color.scss +11 -0
  12. package/scss/border/_border-radius.scss +13 -0
  13. package/scss/border/_border-style.scss +11 -0
  14. package/scss/border/_border-width.scss +11 -0
  15. package/scss/border/_outline-color.scss +5 -0
  16. package/scss/border/_outline-offset.scss +5 -0
  17. package/scss/border/_outline-style.scss +5 -0
  18. package/scss/border/_outline-width.scss +5 -0
  19. package/scss/border/index.import.scss +8 -0
  20. package/scss/flex-grid/_align-content.scss +5 -0
  21. package/scss/flex-grid/_align-items.scss +5 -0
  22. package/scss/flex-grid/_align-self.scss +5 -0
  23. package/scss/flex-grid/_flex-basis.scss +13 -0
  24. package/scss/flex-grid/_flex-direction.scss +19 -0
  25. package/scss/flex-grid/_flex-grow.scss +11 -0
  26. package/scss/flex-grid/_flex-shrink.scss +11 -0
  27. package/scss/flex-grid/_flex-wrap.scss +15 -0
  28. package/scss/flex-grid/_flex.scss +19 -0
  29. package/scss/flex-grid/_gap.scss +5 -0
  30. package/scss/flex-grid/_grid-auto-columns.scss +5 -0
  31. package/scss/flex-grid/_grid-auto-flow.scss +5 -0
  32. package/scss/flex-grid/_grid-auto-rows.scss +5 -0
  33. package/scss/flex-grid/_grid-column-start-end.scss +15 -0
  34. package/scss/flex-grid/_grid-row-start-end.scss +15 -0
  35. package/scss/flex-grid/_grid-template-columns.scss +5 -0
  36. package/scss/flex-grid/_grid-template-rows.scss +5 -0
  37. package/scss/flex-grid/_justify-content.scss +8 -0
  38. package/scss/flex-grid/_justify-items.scss +5 -0
  39. package/scss/flex-grid/_justify-self.scss +5 -0
  40. package/scss/flex-grid/_order.scss +5 -0
  41. package/scss/flex-grid/_place-content.scss +5 -0
  42. package/scss/flex-grid/_place-items.scss +5 -0
  43. package/scss/flex-grid/_place-self.scss +5 -0
  44. package/scss/flex-grid/index.import.scss +24 -0
  45. package/scss/index.import.scss +18 -0
  46. package/scss/interactivity/_accent-color.scss +5 -0
  47. package/scss/interactivity/_appearance.scss +11 -0
  48. package/scss/interactivity/_caret-color.scss +5 -0
  49. package/scss/interactivity/_cursor.scss +5 -0
  50. package/scss/interactivity/_pointer-events.scss +11 -0
  51. package/scss/interactivity/_resize.scss +19 -0
  52. package/scss/interactivity/_scroll.scss +45 -0
  53. package/scss/interactivity/_touch-action.scss +13 -0
  54. package/scss/interactivity/_user-select.scss +23 -0
  55. package/scss/interactivity/_will-change.scss +5 -0
  56. package/scss/interactivity/index.import.scss +10 -0
  57. package/scss/layout/_aspect-ratio.scss +5 -0
  58. package/scss/layout/_clear.scss +5 -0
  59. package/scss/layout/_display.scss +47 -0
  60. package/scss/layout/_float.scss +5 -0
  61. package/scss/layout/_overflow.scss +63 -0
  62. package/scss/layout/_position.scss +60 -0
  63. package/scss/layout/_visibility.scss +11 -0
  64. package/scss/layout/_zindex.scss +5 -0
  65. package/scss/layout/index.import.scss +8 -0
  66. package/scss/sizing/_height.scss +15 -0
  67. package/scss/sizing/_width.scss +15 -0
  68. package/scss/sizing/index.import.scss +2 -0
  69. package/scss/spacing/_margin.scss +11 -0
  70. package/scss/spacing/_padding.scss +11 -0
  71. package/scss/spacing/_space-between.scss +0 -0
  72. package/scss/spacing/index.import.scss +3 -0
  73. package/scss/table/_border-collapse.scss +5 -0
  74. package/scss/table/_table-layout.scss +11 -0
  75. package/scss/table/index.import.scss +2 -0
  76. package/scss/transform/_flip.scss +24 -0
  77. package/scss/transform/_origin.scss +5 -0
  78. package/scss/transform/_rotate.scss +11 -0
  79. package/scss/transform/_scale.scss +19 -0
  80. package/scss/transform/_skew.scss +15 -0
  81. package/scss/transform/_translate.scss +15 -0
  82. package/scss/transform/index.import.scss +6 -0
  83. package/scss/typography/_font-size.scss +5 -0
  84. package/scss/typography/_font-style.scss +5 -0
  85. package/scss/typography/_font-weight.scss +5 -0
  86. package/scss/typography/_text-align.scss +19 -0
  87. package/scss/typography/_text-transform.scss +17 -0
  88. package/scss/typography/_white-space.scss +27 -0
  89. package/scss/typography/index.import.scss +17 -0
@@ -0,0 +1,47 @@
1
+ /// @name .k-d-none
2
+ /// @description 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.
3
+ /// @group display
4
+
5
+ /// @name .k-d-block
6
+ /// @description This is equivalent to `display: block;`. The element generates a block element box, generating line breaks both before and after the element when in the normal flow.
7
+ /// @group display
8
+
9
+ /// @name .k-d-inline
10
+ /// @description This is equivalent to `display: inline;`. The element generates one or more inline element boxes that do not generate line breaks before or after themselves. In normal flow, the next element will be on the same line if there is space.
11
+ /// @group display
12
+
13
+ /// @name .k-d-inline-block
14
+ /// @description This is equivalent to `display: inline-block;`. The element generates a block element box that will be flowed with surrounding content as if it were a single inline box (behaving much like a replaced element would).
15
+ /// @group display
16
+
17
+ /// @name .k-d-flex
18
+ /// @description This is equivalent to `display: flex;`. The element behaves like a block element and lays out its content according to the flexbox model.
19
+ /// @group display
20
+
21
+ /// @name .k-d-inline-flex
22
+ /// @description This is equivalent to `display: inline-flex;`. The element behaves like an inline element and lays out its content according to the flexbox model.
23
+ /// @group display
24
+
25
+ /// @name .k-d-grid
26
+ /// @description This is equivalent to `display: grid`. It defines the element as a grid container and establishes a new grid formatting context for its contents.
27
+ /// @group display
28
+
29
+ /// @name .k-d-inline-grid
30
+ /// @description This is equivalent to `display: inline-grid`. It defines the element as a grid container and establishes a new grid formatting context for its contents.
31
+ /// @group display
32
+
33
+ /// @name .k-d-table
34
+ /// @description This is equivalent to `display: table;`. These elements behave like HTML `<table>` elements. It defines a block-level box.
35
+ /// @group display
36
+
37
+ /// @name .k-d-inline-table
38
+ /// @description This is equivalent to `display: inline-table;`. The inline-table value does not have a direct mapping in HTML. It behaves like an HTML `<table>` element, but as an inline box, rather than a block-level box. Inside the table box is a block-level context.
39
+ /// @group display
40
+
41
+ /// @name .k-d-list-item
42
+ /// @description This is equivalent to `display: list-item;`. These elements behave like HTML `<LI>` elements. It defines a block-level box.
43
+ /// @group display
44
+
45
+ $kendo-utils-display: map-get( $kendo-utils, "display" ) !default;
46
+
47
+ @include generate-utils( d, display, $kendo-utils-display );
@@ -0,0 +1,5 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-float: map-get( $kendo-utils, "float" ) !default;
4
+
5
+ @include generate-utils( float, float, $kendo-utils-float );
@@ -0,0 +1,63 @@
1
+ /// @name .k-overflow-auto
2
+ /// @description This is equivalent to `overflow: auto;`. Depends on the user agent. If content fits inside the padding box, it looks the same as visible, but still establishes a new block formatting context. Desktop browsers provide scrollbar if content overflows.
3
+ /// @group overflow
4
+
5
+ /// @name .k-overflow-hidden
6
+ /// @description This is equivalent to `overflow: hidden;`. Content is clipped if necessary to fit the padding box. No scrollbar is provided, and no support for allowing the user to scroll (such as by dragging or using a scroll wheel) is allowed. The content can be scrolled programmatically (for example, by setting the value of a property such as offsetLeft), so the element is still a scroll container.
7
+ /// @group overflow
8
+
9
+ /// @name .k-overflow-visible
10
+ /// @description This is equivalent to `overflow: visible;`. Content is not clipped and may be rendered outside the padding box.
11
+ /// @group overflow
12
+
13
+ /// @name .k-overflow-scroll
14
+ /// @description This is equivalent to `overflow: scroll;`. Content is clipped if necessary to fit the padding box. Browsers always display scrollbar whether or not any content is actually clipped, preventing scrollbar from appearing or disappearing as content changes. Printers may still print overflowing content.
15
+ /// @group overflow
16
+
17
+ /// @name .k-overflow-clip
18
+ /// @description This is equivalent to `overflow: clip;`. Like for hidden, the content is clipped to the element's padding box. The difference between clip and hidden is that the clip keyword also forbids all scrolling, including programmatic scrolling.
19
+ /// @group overflow
20
+
21
+ /// @name .k-overflow-x-auto
22
+ /// @description This is equivalent to `overflow-x: auto;`.
23
+ /// @group overflow
24
+
25
+ /// @name .k-overflow-x-hidden
26
+ /// @description This is equivalent to `overflow-x: hidden;`.
27
+ /// @group overflow
28
+
29
+ /// @name .k-overflow-x-visible
30
+ /// @description This is equivalent to `overflow-x: visible;`.
31
+ /// @group overflow
32
+
33
+ /// @name .k-overflow-x-scroll
34
+ /// @description This is equivalent to `overflow-x: scroll;`.
35
+ /// @group overflow
36
+
37
+ /// @name .k-overflow-x-clip
38
+ /// @description This is equivalent to `overflow-x: clip;`.
39
+ /// @group overflow
40
+
41
+ /// @name .k-overflow-y-auto
42
+ /// @description This is equivalent to `overflow-y: auto;`.
43
+ /// @group overflow
44
+
45
+ /// @name .k-overflow-y-hidden
46
+ /// @description This is equivalent to `overflow-y: hidden;`.
47
+ /// @group overflow
48
+
49
+ /// @name .k-overflow-y-visible
50
+ /// @description This is equivalent to `overflow-y: visible;`.
51
+ /// @group overflow
52
+
53
+ /// @name .k-overflow-y-scroll
54
+ /// @description This is equivalent to `overflow-y: scroll;`.
55
+ /// @group overflow
56
+
57
+ /// @name .k-overflow-y-clip
58
+ /// @description This is equivalent to `overflow-y: clip;`.
59
+ /// @group overflow
60
+
61
+ $kendo-utils-overflow: map-get( $kendo-utils, "overflow" ) !default;
62
+
63
+ @include generate-utils( overflow, overflow, $kendo-utils-overflow );
@@ -0,0 +1,60 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-position: map-get( $kendo-utils, "position" ) !default;
4
+
5
+ @include generate-utils( pos, position, $kendo-utils-position );
6
+
7
+ // Aliases
8
+ .#{$kendo-prefix}static { @extend .#{$kendo-prefix}pos-static !optional; }
9
+ .\!#{$kendo-prefix}static { @extend .\!#{$kendo-prefix}pos-static !optional; }
10
+ .#{$kendo-prefix}relative { @extend .#{$kendo-prefix}pos-relative !optional; }
11
+ .\!#{$kendo-prefix}relative { @extend .\!#{$kendo-prefix}pos-relative !optional; }
12
+ .#{$kendo-prefix}absolute { @extend .#{$kendo-prefix}pos-absolute !optional; }
13
+ .\!#{$kendo-prefix}absolute { @extend .\!#{$kendo-prefix}pos-absolute !optional; }
14
+ .#{$kendo-prefix}fixed { @extend .#{$kendo-prefix}pos-fixed !optional; }
15
+ .\!#{$kendo-prefix}fixed { @extend .\!#{$kendo-prefix}pos-fixed !optional; }
16
+ .#{$kendo-prefix}sticky { @extend .#{$kendo-prefix}pos-sticky !optional; }
17
+ .\!#{$kendo-prefix}sticky { @extend .\!#{$kendo-prefix}pos-sticky !optional; }
18
+
19
+
20
+ // TODO DOCS
21
+
22
+ $kendo-utils-inset: map-get( $kendo-utils, "inset" ) !default;
23
+
24
+ @include generate-utils( inset, inset, $kendo-utils-inset );
25
+ @include generate-utils( inset-x, inset-inline, $kendo-utils-inset );
26
+ @include generate-utils( inset-y, inset-block, $kendo-utils-inset );
27
+ @include generate-utils( top, top, $kendo-utils-inset );
28
+ @include generate-utils( right, right, $kendo-utils-inset );
29
+ @include generate-utils( bottom, bottom, $kendo-utils-inset );
30
+ @include generate-utils( left, left, $kendo-utils-inset );
31
+ @include generate-utils( top-left, ( top, left ), $kendo-utils-inset );
32
+ @include generate-utils( top-right, ( top, right ), $kendo-utils-inset );
33
+ @include generate-utils( bottom-left, ( bottom, left ), $kendo-utils-inset );
34
+ @include generate-utils( bottom-right, ( bottom, right), $kendo-utils-inset );
35
+
36
+ .#{$kendo-prefix}top-center {
37
+ top: 0;
38
+ left: 50%;
39
+ transform: translateX(-50%);
40
+ }
41
+ .#{$kendo-prefix}middle-left {
42
+ top: 50%;
43
+ left: 0;
44
+ transform: translateY(-50%);
45
+ }
46
+ .#{$kendo-prefix}middle-center {
47
+ top: 50%;
48
+ left: 50%;
49
+ transform: translateY(-50%);
50
+ }
51
+ .#{$kendo-prefix}middle-right {
52
+ top: 50%;
53
+ right: 0;
54
+ transform: translateY(-50%);
55
+ }
56
+ .#{$kendo-prefix}bottom-center {
57
+ bottom: 0;
58
+ left: 50%;
59
+ transform: translateX(-50%);
60
+ }
@@ -0,0 +1,11 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-visibility: map-get( $kendo-utils, "visibility" ) !default;
4
+
5
+ @include generate-utils( visibility, visibility, $kendo-utils-visibility );
6
+
7
+ // Aliases
8
+ .#{$kendo-prefix}visible { @extend .#{$kendo-prefix}visibility-visible !optional; }
9
+ .\!#{$kendo-prefix}visible { @extend .\!#{$kendo-prefix}visibility-visible !optional; }
10
+ .#{$kendo-prefix}invisible { @extend .#{$kendo-prefix}visibility-hidden !optional; }
11
+ .\!#{$kendo-prefix}invisible { @extend .\!#{$kendo-prefix}visibility-hidden !optional; }
@@ -0,0 +1,5 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-zindex: map-get( $kendo-utils, "zindex" ) !default;
4
+
5
+ @include generate-utils( z, z-index, $kendo-utils-zindex );
@@ -0,0 +1,8 @@
1
+ @import "./_aspect-ratio.scss";
2
+ @import "./_display.scss";
3
+ @import "./_float.scss";
4
+ @import "./_clear.scss";
5
+ @import "./_overflow.scss";
6
+ @import "./_position.scss";
7
+ @import "./_visibility.scss";
8
+ @import "./_zindex.scss";
@@ -0,0 +1,15 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-height: map-get( $kendo-utils, "height" ) !default;
4
+
5
+ @include generate-utils( h, height, $kendo-utils-height );
6
+
7
+
8
+ $kendo-utils-min-height: map-get( $kendo-utils, "min-height" ) !default;
9
+
10
+ @include generate-utils( min-h, min-height, $kendo-utils-min-height );
11
+
12
+
13
+ $kendo-utils-max-height: map-get( $kendo-utils, "max-height" ) !default;
14
+
15
+ @include generate-utils( max-h, max-height, $kendo-utils-max-height );
@@ -0,0 +1,15 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-width: map-get( $kendo-utils, "width" ) !default;
4
+
5
+ @include generate-utils( w, width, $kendo-utils-width );
6
+
7
+
8
+ $kendo-utils-min-width: map-get( $kendo-utils, "min-width" ) !default;
9
+
10
+ @include generate-utils( min-w, min-width, $kendo-utils-min-width );
11
+
12
+
13
+ $kendo-utils-max-width: map-get( $kendo-utils, "max-width" ) !default;
14
+
15
+ @include generate-utils( max-w, max-width, $kendo-utils-max-width );
@@ -0,0 +1,2 @@
1
+ @import "./_width.scss";
2
+ @import "./_height.scss";
@@ -0,0 +1,11 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-margin: map-get( $kendo-utils, "margin" ) !default;
4
+
5
+ @include generate-utils( m, margin, $kendo-utils-margin );
6
+ @include generate-utils( mt, margin-top, $kendo-utils-margin );
7
+ @include generate-utils( mr, margin-right, $kendo-utils-margin );
8
+ @include generate-utils( mb, margin-bottom, $kendo-utils-margin );
9
+ @include generate-utils( ml, margin-left, $kendo-utils-margin );
10
+ @include generate-utils( mx, margin-inline, $kendo-utils-margin );
11
+ @include generate-utils( my, margin-block, $kendo-utils-margin );
@@ -0,0 +1,11 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-padding: map-get( $kendo-utils, "padding" ) !default;
4
+
5
+ @include generate-utils( p, padding, $kendo-utils-padding );
6
+ @include generate-utils( pt, padding-top, $kendo-utils-padding );
7
+ @include generate-utils( pr, padding-right, $kendo-utils-padding );
8
+ @include generate-utils( pb, padding-bottom, $kendo-utils-padding );
9
+ @include generate-utils( pl, padding-left, $kendo-utils-padding );
10
+ @include generate-utils( px, padding-inline, $kendo-utils-padding );
11
+ @include generate-utils( py, padding-block, $kendo-utils-padding );
File without changes
@@ -0,0 +1,3 @@
1
+ @import "./_margin.scss";
2
+ @import "./_padding.scss";
3
+ @import "./_space-between.scss";
@@ -0,0 +1,5 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-border-collapse: map-get( $kendo-utils, "border-collapse" ) !default;
4
+
5
+ @include generate-utils( border, border-collapse, $kendo-utils-border-collapse );
@@ -0,0 +1,11 @@
1
+ /// @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
+ /// @group table-layout
4
+
5
+ /// @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
+ /// @group table-layout
8
+
9
+ $kendo-utils-table-layout: map-get( $kendo-utils, "table-layout" ) !default;
10
+
11
+ @include generate-utils( table, table-layout, $kendo-utils-table-layout );
@@ -0,0 +1,2 @@
1
+ @import "./_border-collapse.scss";
2
+ @import "./_table-layout.scss";
@@ -0,0 +1,24 @@
1
+ /// @name .k-flip-h
2
+ /// @description This is equivalent to `transform: scaleX( -1 );`. Flips the element horizontally.
3
+ /// @group transform
4
+
5
+ /// @name .k-flip-v
6
+ /// @description This is equivalent to `transform: scaleY( -1 );`. Flips the element vertically.
7
+ /// @group transform
8
+
9
+ $kendo-utils-flip: map-get( $kendo-utils, "flip" ) !default;
10
+
11
+ @if $kendo-utils-flip {
12
+ .#{$kendo-prefix}flip-h { transform: scaleX( -1 ); }
13
+ .\!#{$kendo-prefix}flip-h { transform: scaleX( -1 ) !important; } // sass-lint:disable-line no-important
14
+ .#{$kendo-prefix}flip-v { transform: scaleY( -1 ); }
15
+ .\!#{$kendo-prefix}flip-v { transform: scaleY( -1 ) !important; } // sass-lint:disable-line no-important
16
+ .#{$kendo-prefix}flip-h.#{$kendo-prefix}flip-v { transform: scale( -1, -1 ); }
17
+ .\!#{$kendo-prefix}flip-h.\!#{$kendo-prefix}flip-v { transform: scale( -1, -1 ) !important; } // sass-lint:disable-line no-important
18
+
19
+ // Aliases
20
+ .#{$kendo-prefix}flip-x { @extend .#{$kendo-prefix}flip-h !optional; }
21
+ .\!#{$kendo-prefix}flip-x { @extend .\!#{$kendo-prefix}flip-h !optional; }
22
+ .#{$kendo-prefix}flip-y { @extend .#{$kendo-prefix}flip-v !optional; }
23
+ .\!#{$kendo-prefix}flip-y { @extend .\!#{$kendo-prefix}flip-v !optional; }
24
+ }
@@ -0,0 +1,5 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-origin: map-get( $kendo-utils, "origin" ) !default;
4
+
5
+ @include generate-utils( origin, transform-origin, $kendo-utils-origin );
@@ -0,0 +1,11 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-rotate: map-get( $kendo-utils, "rotate" ) !default;
4
+
5
+ // sass-lint:disable function-name-format
6
+ @function __rotate( $val ) {
7
+ @return rotate( $val );
8
+ }
9
+ // sass-lint:enable function-name-format
10
+
11
+ @include generate-utils( rotate, transform, $kendo-utils-rotate, __rotate );
@@ -0,0 +1,19 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-scale: map-get( $kendo-utils, "scale" ) !default;
4
+
5
+ // sass-lint:disable function-name-format
6
+ @function __scale( $val ) {
7
+ @return scale( $val );
8
+ }
9
+ @function __scale-x( $val ) {
10
+ @return scaleX( $val );
11
+ }
12
+ @function __scale-y( $val ) {
13
+ @return scaleY( $val );
14
+ }
15
+ // sass-lint:enable function-name-format
16
+
17
+ @include generate-utils( scale, transform, $kendo-utils-scale, __scale );
18
+ @include generate-utils( scale-x, transform, $kendo-utils-scale, __scale-x );
19
+ @include generate-utils( scale-y, transform, $kendo-utils-scale, __scale-y );
@@ -0,0 +1,15 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-skew: map-get( $kendo-utils, "skew" ) !default;
4
+
5
+ // sass-lint:disable function-name-format
6
+ @function __skew-x( $val ) {
7
+ @return skewX( $val );
8
+ }
9
+ @function __skew-y( $val ) {
10
+ @return skewY( $val );
11
+ }
12
+ // sass-lint:enable function-name-format
13
+
14
+ @include generate-utils( skew-x, transform, $kendo-utils-skew, __skew-x );
15
+ @include generate-utils( skew-y, transform, $kendo-utils-skew, __skew-y );
@@ -0,0 +1,15 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-translate: map-get( $kendo-utils, "translate" ) !default;
4
+
5
+ // sass-lint:disable function-name-format
6
+ @function __translate-x( $val ) {
7
+ @return translateX( $val );
8
+ }
9
+ @function __translate-y( $val ) {
10
+ @return translateY( $val );
11
+ }
12
+ // sass-lint:enable function-name-format
13
+
14
+ @include generate-utils( translate-x, transform, $kendo-utils-translate, __translate-x );
15
+ @include generate-utils( translate-y, transform, $kendo-utils-translate, __translate-y );
@@ -0,0 +1,6 @@
1
+ @import "./_flip.scss";
2
+ @import "./_scale.scss";
3
+ @import "./_rotate.scss";
4
+ @import "./_translate.scss";
5
+ @import "./_skew.scss";
6
+ @import "./_origin.scss";
@@ -0,0 +1,5 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-font-size: map-get( $kendo-utils, "font-size" ) !default;
4
+
5
+ @include generate-utils( font-size, font-size, $kendo-utils-font-size );
@@ -0,0 +1,5 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-font-style: map-get( $kendo-utils, "font-style" ) !default;
4
+
5
+ @include generate-utils( font, font-style, $kendo-utils-font-style );
@@ -0,0 +1,5 @@
1
+ // TODO DOCS
2
+
3
+ $kendo-utils-font-weight: map-get( $kendo-utils, "font-weight" ) !default;
4
+
5
+ @include generate-utils( font, font-weight, $kendo-utils-font-weight );
@@ -0,0 +1,19 @@
1
+ /// @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
+ /// @group text-align
4
+
5
+ /// @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
+ /// @group text-align
8
+
9
+ /// @name .k-text-center
10
+ /// @description This is equivalent to `text-align: center;`. The inline contents are centered within the line box.
11
+ /// @group text-align
12
+
13
+ /// @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
+ /// @group text-align
16
+
17
+ $kendo-utils-text-align: map-get( $kendo-utils, "text-align" ) !default;
18
+
19
+ @include generate-utils( text, text-align, $kendo-utils-text-align );
@@ -0,0 +1,17 @@
1
+ // TODO DOCS
2
+
3
+ /// @name k-text-lowercase
4
+ /// @description This is equivalent to `text-transform: lowercase;`. Is a keyword that converts all characters to lowercase.
5
+ /// @group text-transform
6
+
7
+ /// @name k-text-uppercase
8
+ /// @description This is equivalent to `text-transform: uppercase;`. Is a keyword that converts all characters to uppercase.
9
+ /// @group text-transform
10
+
11
+ /// @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
+ /// @group text-transform
14
+
15
+ $kendo-utils-text-transform: map-get( $kendo-utils, "text-transform" ) !default;
16
+
17
+ @include generate-utils( text, text-transform, $kendo-utils-text-transform );
@@ -0,0 +1,27 @@
1
+ /// @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
+ /// @group white-space
4
+
5
+ /// @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
+ /// @group white-space
8
+
9
+ /// @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
+ /// @group white-space
12
+
13
+ /// @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
+ /// @group white-space
16
+
17
+ /// @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
+ /// @group white-space
20
+
21
+ /// @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
+ /// @group white-space
24
+
25
+ $kendo-utils-white-space: map-get( $kendo-utils, "white-space" ) !default;
26
+
27
+ @include generate-utils( white-space, white-space, $kendo-utils-white-space );
@@ -0,0 +1,17 @@
1
+ // font family
2
+ @import "./_font-size.scss";
3
+ // font smoothing
4
+ @import "./_font-style.scss";
5
+ @import "./_font-weight.scss";
6
+ // font variant
7
+ // letter spacing
8
+ // line height
9
+ // list style
10
+ @import "./_text-align.scss";
11
+ // text color
12
+ // text decoration
13
+ @import "./_text-transform.scss";
14
+ // text overflow
15
+ // text indent
16
+ // vertical align
17
+ @import "./_white-space.scss";