@progress/kendo-theme-default 5.2.1-dev.4 → 5.3.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.
Files changed (36) hide show
  1. package/dist/all.css +148 -20
  2. package/dist/all.scss +108 -23
  3. package/dist/default-ocean-blue.scss +44 -0
  4. package/lib/swatches/default-blue.json +1 -1
  5. package/lib/swatches/default-dataviz-v4.json +1 -1
  6. package/lib/swatches/default-green.json +1 -1
  7. package/lib/swatches/default-main-dark.json +1 -1
  8. package/lib/swatches/default-main.json +1 -1
  9. package/lib/swatches/default-nordic.json +1 -1
  10. package/lib/swatches/default-ocean-blue.json +272 -0
  11. package/lib/swatches/default-orange.json +1 -1
  12. package/lib/swatches/default-purple.json +1 -1
  13. package/lib/swatches/default-turquoise.json +1 -1
  14. package/lib/swatches/default-urban.json +1 -1
  15. package/lib/swatches/index.js +1 -0
  16. package/package.json +2 -2
  17. package/scss/action-sheet/_layout.scss +0 -1
  18. package/scss/action-sheet/_theme.scss +6 -0
  19. package/scss/action-sheet/_variables.scss +2 -1
  20. package/scss/button/_layout.scss +0 -1
  21. package/scss/button/_variables.scss +1 -1
  22. package/scss/chat/_layout.scss +1 -0
  23. package/scss/colorgradient/_variables.scss +1 -1
  24. package/scss/colorpalette/_theme.scss +3 -1
  25. package/scss/dropzone/_variables.scss +1 -1
  26. package/scss/expansion-panel/_theme.scss +1 -1
  27. package/scss/expansion-panel/_variables.scss +1 -1
  28. package/scss/floating-label/_layout.scss +10 -5
  29. package/scss/grid/_layout.scss +5 -4
  30. package/scss/pager/_layout.scss +1 -0
  31. package/scss/scheduler/_theme.scss +3 -0
  32. package/scss/scheduler/_variables.scss +2 -0
  33. package/scss/taskboard/_variables.scss +1 -1
  34. package/scss/utils/_aspect-ratio.scss +27 -0
  35. package/scss/utils/_index.scss +1 -0
  36. package/scss/utils/_text.scss +39 -4
@@ -40,6 +40,8 @@ $scheduler-event-selected-border: null !default;
40
40
  $scheduler-event-selected-gradient: null !default;
41
41
  $scheduler-event-selected-shadow: inset 0 0 0 2px rgba(0, 0, 0, .13) !default;
42
42
 
43
+ $scheduler-event-ongoing-shadow: inset 0px 0px 0px 1px #ff0000 !default;
44
+
43
45
  $scheduler-cell-padding-x: map-get( $spacing, 2 ) !default;
44
46
  $scheduler-cell-padding-y: map-get( $spacing, 2 ) !default;
45
47
  $scheduler-cell-height: $line-height-em !default;
@@ -86,7 +86,7 @@ $taskboard-card-selected-shadow: none !default;
86
86
 
87
87
  $taskboard-card-header-text: $primary !default;
88
88
  $taskboard-card-header-focus-text: $primary-darker !default;
89
- $taskboard-card-header-hover-text: $primary-lighter !default;
89
+ $taskboard-card-header-hover-text: $primary-darker !default;
90
90
 
91
91
  $taskboard-drag-placeholder-border-width: 1px !default;
92
92
  $taskboard-drag-placeholder-border-radius: $taskboard-card-border-radius !default;
@@ -0,0 +1,27 @@
1
+ @include exports( "utils/aspect-ratio" ) {
2
+
3
+ // Aspect-ratio documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio.
4
+
5
+ // @name k-aspect-ratio-auto
6
+ // @description This is equivalent to `aspect-ratio: auto;`. Replaced elements with an intrinsic aspect ratio use that aspect ratio, otherwise the box has no preferred aspect ratio. Size calculations involving intrinsic aspect ratio always work with the content box dimensions.
7
+ // @group aspect-ratio
8
+
9
+ // @name k-aspect-ratio-1
10
+ // @description This is equivalent to `aspect-ratio: 1;`. The box's preferred aspect ratio is the specified ratio of 1. Size calculations involving preferred aspect ratio work with the dimensions of the box specified by box-sizing.
11
+ // @group aspect-ratio
12
+
13
+ $utils-aspect-ratio: (
14
+ auto,
15
+ 1
16
+ ) !default;
17
+
18
+ @if $utils-aspect-ratio {
19
+ @each $aspect-ratio in $utils-aspect-ratio {
20
+ .k-aspect-ratio-#{$aspect-ratio} { aspect-ratio: $aspect-ratio; }
21
+
22
+ // sass-lint:disable-block no-important
23
+ .\!k-aspect-ratio-#{$aspect-ratio} { aspect-ratio: $aspect-ratio !important; }
24
+ }
25
+ }
26
+
27
+ }
@@ -6,6 +6,7 @@
6
6
 
7
7
 
8
8
  // Component
9
+ @import "_aspect-ratio.scss";
9
10
  @import "_border.scss";
10
11
  @import "_display.scss";
11
12
  @import "_flex.scss";
@@ -1,6 +1,7 @@
1
1
  @include exports( "utils/text" ) {
2
2
 
3
3
  // stylelint-disable block-opening-brace-space-before
4
+ // sass-lint:disable class-name-format
4
5
 
5
6
  // White-space documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/white-space.
6
7
  // Text-align documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/text-align.
@@ -8,6 +9,7 @@
8
9
 
9
10
  $text-align: ( left, right, center, justify ) !default;
10
11
  $text-transform: ( lowercase, uppercase, capitalize ) !default;
12
+ $white-space: ( normal, nowrap, pre, pre-wrap, pre-line, break-spaces ) !default;
11
13
 
12
14
  $kendo-font-sizes: (
13
15
  xs: $font-size-xs,
@@ -22,12 +24,42 @@
22
24
  /// @name k-text-nowrap
23
25
  /// @description This is equivalent to `white-space: nowrap;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
24
26
  /// @group text
25
- .k-text-nowrap { white-space: nowrap !important; } // sass-lint:disable-line no-important
27
+ .k-text-nowrap { white-space: nowrap; }
28
+ .\!k-text-nowrap { white-space: nowrap !important; } // sass-lint:disable-line no-important
26
29
  /// @name k-text-ellipsis
27
30
  /// @description This is equivalent to `white-space: nowrap; overflow: hidden; text-overflow: ellipsis;`.
28
31
  /// @group text
29
32
  .k-text-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } // sass-lint:disable-line one-declaration-per-line
30
33
 
34
+ /// @name k-white-space-normal
35
+ /// @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.
36
+ /// @group text
37
+
38
+ /// @name k-white-space-nowrap
39
+ /// @description This is equivalent to `white-space: nowrap;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
40
+ /// @group text
41
+
42
+ /// @name k-white-space-pre
43
+ /// @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.
44
+ /// @group text
45
+
46
+ /// @name k-white-space-pre-wrap
47
+ /// @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.
48
+ /// @group text
49
+
50
+ /// @name k-white-space-pre-line
51
+ /// @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.
52
+ /// @group text
53
+
54
+ /// @name k-white-space-break-spaces
55
+ /// @description This is equivalent to `white-space: break-spaces;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
56
+ /// @group text
57
+
58
+ @each $wrap in $white-space {
59
+ .k-white-space-#{$wrap} { white-space: $wrap; }
60
+ .\!k-white-space-#{$wrap} { white-space: $wrap !important; } // sass-lint:disable-line no-important
61
+ }
62
+
31
63
 
32
64
  // Align
33
65
 
@@ -48,7 +80,8 @@
48
80
  /// @group text
49
81
 
50
82
  @each $align in $text-align {
51
- .k-text-#{$align} { text-align: $align !important; } // sass-lint:disable-line no-important
83
+ .k-text-#{$align} { text-align: $align; }
84
+ .\!k-text-#{$align} { text-align: $align !important; } // sass-lint:disable-line no-important
52
85
  }
53
86
 
54
87
 
@@ -67,12 +100,14 @@
67
100
  /// @group text
68
101
 
69
102
  @each $transform in $text-transform {
70
- .k-text-#{$transform} { text-transform: $transform !important; } // sass-lint:disable-line no-important
103
+ .k-text-#{$transform} { text-transform: $transform; }
104
+ .\!k-text-#{$transform} { text-transform: $transform !important; } // sass-lint:disable-line no-important
71
105
  }
72
106
 
73
107
  // Font Size
74
108
  @each $name, $size in $kendo-font-sizes {
75
- .k-fs-#{$name} { font-size: $size !important; } // sass-lint:disable-line no-important
109
+ .k-fs-#{$name} { font-size: $size; }
110
+ .\!k-fs-#{$name} { font-size: $size !important; } // sass-lint:disable-line no-important
76
111
  }
77
112
 
78
113
  // Named font-weight