@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.
@@ -1,3 +1,5 @@
1
+ // White-space documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/white-space.
2
+
1
3
  /// 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.
2
4
  /// @name .k-white-space-normal
3
5
  /// @group white-space
@@ -32,3 +34,8 @@
32
34
  $kendo-utils-white-space: k-map-get( $kendo-utils, "white-space" ) !default;
33
35
 
34
36
  @include generate-utils( white-space, white-space, $kendo-utils-white-space );
37
+ @include generate-utils( whitespace, white-space, $kendo-utils-white-space );
38
+
39
+
40
+ // Legacy aliases
41
+ .#{$kendo-prefix}text-nowrap { @extend .#{$kendo-prefix}white-space-nowrap !optional; }
@@ -8,10 +8,16 @@
8
8
  // line height
9
9
  // list style
10
10
  @import "./_text-align.scss";
11
- // text color
11
+ @import "./_text-color.scss";
12
12
  // text decoration
13
13
  @import "./_text-transform.scss";
14
14
  // text overflow
15
15
  // text indent
16
16
  // vertical align
17
17
  @import "./_white-space.scss";
18
+
19
+
20
+ /// This is equivalent to `white-space: nowrap; overflow: hidden; text-overflow: ellipsis;`.
21
+ /// @name .k-text-ellipsis
22
+ /// @group text
23
+ .#{$kendo-prefix}text-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } // sass-lint:disable-line one-declaration-per-line