@progress/kendo-theme-fluent 7.0.3-dev.2 → 7.1.0-dev.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.
@@ -3,99 +3,99 @@
3
3
  @use "../button/_variables.scss" as *;
4
4
  @use "../dropzone/_variables.scss" as *;
5
5
 
6
- /// Border width of the PDF viewer.
6
+ /// The border width of the PDFViewer.
7
7
  /// @group pdf-viewer
8
8
  $kendo-pdf-viewer-border-width: 1px !default;
9
- /// Font family of the PDF viewer.
9
+ /// The font family of the PDFViewer.
10
10
  /// @group pdf-viewer
11
11
  $kendo-pdf-viewer-font-family: var( --kendo-font-family, inherit ) !default;
12
- /// Font size of the PDF viewer.
12
+ /// The font size of the PDFViewer.
13
13
  /// @group pdf-viewer
14
14
  $kendo-pdf-viewer-font-size: var( --kendo-font-size, inherit ) !default;
15
- /// Line height of the PDF viewer.
15
+ /// The line height of the PDFViewer.
16
16
  /// @group pdf-viewer
17
17
  $kendo-pdf-viewer-line-height: var( --kendo-line-height, normal ) !default;
18
- /// Background color of the PDF viewer.
18
+ /// The background color of the PDFViewer.
19
19
  /// @group pdf-viewer
20
20
  $kendo-pdf-viewer-bg: var( --kendo-component-bg, initial ) !default;
21
- /// Text color of the PDF viewer.
21
+ /// The text color of the PDFViewer.
22
22
  /// @group pdf-viewer
23
23
  $kendo-pdf-viewer-text: var( --kendo-component-text, initial ) !default;
24
- /// Border color of the PDF viewer.
24
+ /// The border color of the PDFViewer.
25
25
  /// @group pdf-viewer
26
26
  $kendo-pdf-viewer-border: var( --kendo-component-border, initial ) !default;
27
27
 
28
- /// Background color of the PDF viewer canvas.
28
+ /// The background color of the PDFViewer canvas.
29
29
  /// @group pdf-viewer
30
30
  $kendo-pdf-viewer-canvas-bg: k-get-theme-color-var( neutral-10 ) !default;
31
- /// Text color of the PDF viewer canvas.
31
+ /// The text color of the PDFViewer canvas.
32
32
  /// @group pdf-viewer
33
33
  $kendo-pdf-viewer-canvas-text: var( --kendo-component-text, inherit ) !default;
34
- /// Border color of the PDF viewer canvas.
34
+ /// The border color of the PDFViewer canvas.
35
35
  /// @group pdf-viewer
36
36
  $kendo-pdf-viewer-canvas-border: var( --kendo-component-border, inherit ) !default;
37
37
 
38
- /// Spacing of the PDF viewer page.
38
+ /// The spacing of the PDFViewer page.
39
39
  /// @group pdf-viewer
40
40
  $kendo-pdf-viewer-page-spacing: map.get( $kendo-spacing, 7.5 ) !default;
41
- /// Background color of the PDF viewer page.
41
+ /// The background color of the PDFViewer page.
42
42
  /// @group pdf-viewer
43
43
  $kendo-pdf-viewer-page-bg: var( --kendo-component-bg, inherit ) !default;
44
- /// Text color of the PDF viewer page.
44
+ /// The text color of the PDFViewer page.
45
45
  /// @group pdf-viewer
46
46
  $kendo-pdf-viewer-page-text: var( --kendo-component-text, inherit )!default;
47
- /// Border color of the PDF viewer page.
47
+ /// The border color of the PDFViewer page.
48
48
  /// @group pdf-viewer
49
49
  $kendo-pdf-viewer-page-border: var( --kendo-component-border, inherit ) !default;
50
- /// Shadow of the PDF viewer page.
50
+ /// The shadow of the PDFViewer page.
51
51
  /// @group pdf-viewer
52
52
  $kendo-pdf-viewer-page-shadow: var( --kendo-box-shadow-depth-3, none ) !default;
53
53
 
54
- /// Horizontal padding of the PDF viewer search panel.
54
+ /// The horizontal padding of the PDFViewer search panel.
55
55
  /// @group pdf-viewer
56
56
  $kendo-pdf-viewer-search-panel-padding-x: map.get( $kendo-spacing, 3 ) !default;
57
- /// Vertical padding of the PDF viewer search panel.
57
+ /// The vertical padding of the PDFViewer search panel.
58
58
  /// @group pdf-viewer
59
59
  $kendo-pdf-viewer-search-panel-padding-y: $kendo-pdf-viewer-search-panel-padding-x !default;
60
- /// Spacing of the PDF viewer search panel.
60
+ /// The spacing of the PDFViewer search panel.
61
61
  /// @group pdf-viewer
62
62
  $kendo-pdf-viewer-search-panel-spacing: map.get( $kendo-spacing, 2 ) !default;
63
- /// Border width of the PDF viewer search panel.
63
+ /// The border width of the PDFViewer search panel.
64
64
  /// @group pdf-viewer
65
65
  $kendo-pdf-viewer-search-panel-border-width: 1px !default;
66
- /// Border radius of the PDF viewer search panel.
66
+ /// The border radius of the PDFViewer search panel.
67
67
  /// @group pdf-viewer
68
68
  $kendo-pdf-viewer-search-panel-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
69
- /// Background color of the PDF viewer search panel.
69
+ /// The background color of the PDFViewer search panel.
70
70
  /// @group pdf-viewer
71
71
  $kendo-pdf-viewer-search-panel-bg: var( --kendo-component-bg, inherit ) !default;
72
- /// Text color of the PDF viewer search panel.
72
+ /// The text color of the PDFViewer search panel.
73
73
  /// @group pdf-viewer
74
74
  $kendo-pdf-viewer-search-panel-text: var( --kendo-component-text, inherit ) !default;
75
- /// Border color of the PDF viewer search panel.
75
+ /// The border color of the PDFViewer search panel.
76
76
  /// @group pdf-viewer
77
77
  $kendo-pdf-viewer-search-panel-border: var( --kendo-component-border, inherit )!default;
78
- /// Shadow of the PDF viewer search panel.
78
+ /// The shadow of the PDFViewer search panel.
79
79
  /// @group pdf-viewer
80
80
  $kendo-pdf-viewer-search-panel-shadow: none !default;
81
- /// Spacing of the PDF viewer search panel matches container.
81
+ /// The spacing of the matches container in the PDFViewer search panel.
82
82
  /// @group pdf-viewer
83
83
  $kendo-pdf-viewer-search-panel-matches-spacing: var( --kendo-icon-spacing, .5rem ) !default;
84
- /// Vertical margin of the PDF viewer search panel.
84
+ /// The vertical margin of the PDFViewer search panel.
85
85
  /// @group pdf-viewer
86
86
  $kendo-pdf-viewer-search-panel-margin-y: calc( ( #{$kendo-button-calc-size} + ( 2 * #{$kendo-pdf-viewer-search-panel-border-width} ) + ( 2 * #{$kendo-pdf-viewer-search-panel-padding-y} ) ) * -1 ) !default;
87
87
 
88
- /// Line height of the PDF viewer selection.
88
+ /// The line height of the PDFViewer selection.
89
89
  /// @group pdf-viewer
90
90
  $kendo-pdf-viewer-selection-line-height: var( --kendo-line-height-sm, normal ) !default;
91
91
 
92
- /// Background-color of the PDF viewer highlight.
92
+ /// The background color of the PDFViewer highlight.
93
93
  /// @group pdf-viewer
94
94
  $kendo-pdf-viewer-search-highlight-bg: var( --kendo-component-text, inherit ) !default;
95
- /// Background-color of the PDF viewer highlight mark.
95
+ /// The background color of the PDFViewer highlight mark.
96
96
  /// @group pdf-viewer
97
97
  $kendo-pdf-viewer-search-highlight-mark-bg: yellow !default;
98
98
 
99
- /// Text color of the PDF viewer icon.
99
+ /// The text color of the PDFViewer icon.
100
100
  /// @group pdf-viewer
101
101
  $kendo-pdf-viewer-icon-text: $kendo-dropzone-icon-text !default;
@@ -39,6 +39,7 @@
39
39
  .k-popup.k-popup-transparent {
40
40
  border-width: 0;
41
41
  background-color: transparent;
42
+ box-shadow: none;
42
43
  }
43
44
 
44
45
  // Flush popup
@@ -1,47 +1,47 @@
1
1
  @use "sass:map";
2
2
  @use "../core/" as *;
3
3
 
4
- /// Font family of the rating.
4
+ /// The font family of the Rating.
5
5
  /// @group rating
6
6
  $kendo-rating-font-family: var( --kendo-font-family, inherit ) !default;
7
- /// Font size of the rating.
7
+ /// The font size of the Rating.
8
8
  /// @group rating
9
9
  $kendo-rating-font-size: var( --kendo-font-size-sm, inherit ) !default;
10
- /// Line height of the rating.
10
+ /// The line height of the Rating.
11
11
  /// @group rating
12
12
  $kendo-rating-line-height: var( --kendo-line-height, normal ) !default;
13
13
 
14
- /// Content spacing of the rating.
14
+ /// The content spacing of the Rating.
15
15
  /// @group rating
16
16
  $kendo-rating-spacing: map.get( $kendo-spacing, 1 ) !default;
17
17
 
18
- /// Horizontal padding of the rating item.
18
+ /// The horizontal padding of the Rating item.
19
19
  /// @group rating
20
20
  $kendo-rating-item-padding-x: map.get( $kendo-spacing, 0.5 ) !default;
21
- /// Vertical padding of the rating item.
21
+ /// The vertical padding of the Rating item.
22
22
  /// @group rating
23
23
  $kendo-rating-item-padding-y: map.get( $kendo-spacing, 2 ) !default;
24
- /// Normal color of the rating item.
24
+ /// The text color of the Rating item.
25
25
  /// @group rating
26
26
  $kendo-rating-item-text: k-get-theme-color-var( neutral-130 ) !default;
27
- /// Hover color of the rating item.
27
+ /// The text color of the hovered Rating item.
28
28
  /// @group rating
29
29
  $kendo-rating-item-hover-text: k-get-theme-color-var( primary-100 ) !default;
30
- /// Focus color of the rating item.
30
+ /// The text color of the focused Rating item.
31
31
  /// @group rating
32
32
  $kendo-rating-item-focus-text: $kendo-rating-item-text !default;
33
- /// Outline width of the focused rating item.
33
+ /// The outline width of the focused Rating item.
34
34
  /// @group rating
35
35
  $kendo-rating-item-focus-outline-width: 1px !default;
36
- /// Outline style of the focused rating item.
36
+ /// The outline style of the focused Rating item.
37
37
  /// @group rating
38
38
  $kendo-rating-item-focus-outline-style: solid !default;
39
- /// Outline color of the focused rating item.
39
+ /// The outline color of the focused Rating item.
40
40
  /// @group rating
41
41
  $kendo-rating-item-focus-outline: currentColor !default;
42
- /// Selected color of the rating item.
42
+ /// The text color of the selected Rating item.
43
43
  /// @group rating
44
44
  $kendo-rating-item-selected-text: k-get-theme-color-var( neutral-160 ) !default;
45
- /// Selected hover color of the rating item.
45
+ /// The text color of the selected and hovered Rating item.
46
46
  /// @group rating
47
47
  $kendo-rating-item-selected-hover-text: k-get-theme-color-var( primary-120 ) !default;
@@ -1,22 +1,23 @@
1
1
  @use "../core/" as *;
2
2
 
3
- /// Text transform scale of the skeleton.
3
+ /// The transform scale of the Skeleton text.
4
4
  /// @group skeleton
5
5
  $kendo-skeleton-text-transform: scale( 1, .6 ) !default;
6
- /// Border radius of the skeleton text.
6
+ /// The border radius of the Skeleton text.
7
7
  /// @group skeleton
8
8
  $kendo-skeleton-text-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
9
9
 
10
- /// Border radius of the rectangle skeleton.
10
+ /// The border radius of the rectangular Skeleton.
11
11
  /// @group skeleton
12
12
  $kendo-skeleton-rect-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
13
- /// Border radius of the circle skeleton.
13
+
14
+ /// The border radius of the circular Skeleton.
14
15
  /// @group skeleton
15
16
  $kendo-skeleton-circle-border-radius: 9999px !default;
16
17
 
17
- /// Background color of the skeleton item.
18
+ /// The background color of the Skeleton item.
18
19
  /// @group skeleton
19
20
  $kendo-skeleton-item-bg: k-get-theme-color-var( neutral-50 ) !default;
20
- /// Background color of the skeleton wave animation.
21
+ /// The background color of the Skeleton wave animation.
21
22
  /// @group skeleton
22
23
  $kendo-skeleton-wave-bg: k-get-theme-color-var( neutral-20 ) !default;
@@ -48,19 +48,6 @@
48
48
  }
49
49
  }
50
50
 
51
-
52
- // Slider wrap
53
- .k-slider-wrap {
54
- width: 100%;
55
- height: 100%;
56
- display: flex;
57
- flex-flow: inherit;
58
- align-items: inherit;
59
- gap: inherit;
60
- position: relative;
61
- }
62
-
63
-
64
51
  // Slider button
65
52
  .k-slider-button {
66
53
  flex: none;
@@ -365,13 +352,6 @@
365
352
  .k-slider kendo-resize-sensor {
366
353
  position: absolute;
367
354
  }
368
- .k-slider-horizontal .k-slider-wrap:not(.k-slider-buttons) {
369
- padding-inline: var( --kendo-slider-spacing, #{$kendo-slider-spacing} );
370
- }
371
- .k-slider-vertical .k-slider-wrap:not(.k-slider-buttons) {
372
- padding-block: var( --kendo-slider-spacing, #{$kendo-slider-spacing} );
373
- }
374
-
375
355
 
376
356
  // Aliases
377
357
  .k-slider .k-button { @extend .k-slider-button !optional; }
@@ -3,11 +3,6 @@
3
3
  @use "./_variables.scss" as *;
4
4
 
5
5
  @mixin kendo-tooltip--theme() {
6
-
7
- .k-tooltip-wrapper .k-tooltip {
8
- @include box-shadow( var( --kendo-tooltip-shadow, #{$kendo-tooltip-shadow} ) );
9
- }
10
-
11
6
  .k-tooltip {
12
7
  @include box-shadow( var( --kendo-tooltip-shadow, #{$kendo-tooltip-shadow} ) );
13
8
 
@@ -1,71 +1,68 @@
1
1
  @use "sass:map";
2
2
  @use "../core/" as *;
3
3
 
4
- /// The radius of the border around the tooltip
4
+ /// The border radius of the Tooltip.
5
5
  /// @group tooltip
6
6
  $kendo-tooltip-border-radius: $kendo-border-radius !default;
7
- /// The horizontal padding of the tooltip
7
+ /// The horizontal padding of the Tooltip.
8
8
  /// @group tooltip
9
9
  $kendo-tooltip-padding-x: map.get( $kendo-spacing, 2 ) !default;
10
- /// The vertical padding of the tooltip
10
+ /// The vertical padding of the Tooltip.
11
11
  /// @group tooltip
12
12
  $kendo-tooltip-padding-y: map.get( $kendo-spacing, 2 ) !default;
13
- /// The width of the border around the tooltip
13
+ /// The width of the border around the Tooltip.
14
14
  /// @group tooltip
15
15
  $kendo-tooltip-border-width: 0px !default;
16
- /// The font family of the tooltip
16
+ /// The font family of the Tooltip.
17
17
  /// @group tooltip
18
18
  $kendo-tooltip-font-family: var( --kendo-font-family, inherit ) !default;
19
- /// The font size of the tooltip
19
+ /// The font size of the Tooltip.
20
20
  /// @group tooltip
21
21
  $kendo-tooltip-font-size: var( --kendo-font-size-sm, inherit ) !default;
22
- /// The line height of the tooltip
22
+ /// The line height of the Tooltip.
23
23
  /// @group tooltip
24
24
  $kendo-tooltip-line-height: var( --kendo-line-height, normal ) !default;
25
25
 
26
- /// The font size of the tooltip title
26
+ /// The font size of the Tooltip title.
27
27
  /// @group tooltip
28
28
  $kendo-tooltip-title-font-size: calc( #{$kendo-tooltip-font-size} * 1.25 ) !default;
29
- /// The line height of the tooltip title
29
+ /// The line height of the Tooltip title.
30
30
  /// @group tooltip
31
31
  $kendo-tooltip-title-line-height: var( --kendo-line-heigh-xs, normal ) !default;
32
- /// The margin of the tooltip title
32
+ /// The margin of the Tooltip title.
33
33
  /// @group tooltip
34
34
  $kendo-tooltip-title-margin: map.get( $kendo-spacing, 1 ) !default;
35
35
 
36
- /// The size of the tooltip callout
36
+ /// The size of the Tooltip callout.
37
37
  /// @group tooltip
38
38
  $kendo-tooltip-callout-size: map.get( $kendo-spacing, 2 ) !default;
39
39
 
40
- /// The background of the tooltip
40
+ /// The default background of the Tooltip.
41
41
  /// @group tooltip
42
42
  $kendo-tooltip-bg: $kendo-color-white !default;
43
- /// The text color of the tooltip
43
+ /// The default text color of the Tooltip.
44
44
  /// @group tooltip
45
45
  $kendo-tooltip-text: var( --kendo-component-text, initial ) !default;
46
- /// The border color of the tooltip
46
+ /// The default border color of the Tooltip.
47
47
  /// @group tooltip
48
48
  $kendo-tooltip-border: transparent !default;
49
- /// The box-shadow of the tooltip
49
+ /// The box-shadow of the Tooltip.
50
50
  /// @group tooltip
51
51
  $kendo-tooltip-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
52
52
 
53
- /// The text color of the tooltip button
53
+ /// The text color of the Tooltip button.
54
54
  /// @group tooltip
55
55
  $kendo-tooltip-button-text: k-get-theme-color-var( neutral-130, initial ) !default;
56
56
 
57
- /// The primary background color of the tooltip
58
- /// @group tooltip
59
- $kendo-tooltip-primary-bg: k-get-theme-color-var( primary-100 ) !default;
60
- /// The primary text color of the tooltip
61
- /// @group tooltip
62
- $kendo-tooltip-primary-text: $kendo-color-white !default;
63
- /// The primary border color of the tooltip
64
- /// @group tooltip
65
- $kendo-tooltip-primary-border: initial !default;
66
-
67
57
  /// Theme variations for the tooltip.
68
- $kendo-tooltip-brand-colors: (error, warning, success, info ) !default;
58
+ $kendo-tooltip-brand-colors: (
59
+ secondary: neutral,
60
+ tertiary: tertiary,
61
+ success: success,
62
+ warning: warning,
63
+ error: error,
64
+ info: info
65
+ ) !default;
69
66
 
70
67
  // Matrix with tooltip theme colors in the order: bg, color, border
71
68
  $_tc-tooltip-matrix: (
@@ -76,6 +73,14 @@ $_tc-tooltip-primary-matrix: (
76
73
  (normal: (100, $kendo-color-white, 100)),
77
74
  ) !default;
78
75
 
76
+ $_tc-tooltip-dark-matrix: (
77
+ (normal: (160, $kendo-color-white, 160)),
78
+ ) !default;
79
+
80
+ $_tc-tooltip-light-matrix: (
81
+ (normal: (50, 160, 50)),
82
+ ) !default;
83
+
79
84
  /// Theme colors map for the tooltip variations.
80
85
  $kendo-tooltip-theme-colors: () !default;
81
86
 
@@ -87,10 +92,24 @@ $kendo-tooltip-theme-colors: () !default;
87
92
  }
88
93
 
89
94
  @each $ui-states in $_tc-tooltip-matrix {
90
- @each $brand-color in $kendo-tooltip-brand-colors {
95
+ @each $brand-color, $palette in $kendo-tooltip-brand-colors {
91
96
  $kendo-tooltip-theme-colors: map.deep-merge(
92
97
  $kendo-tooltip-theme-colors,
93
- k-generate-theme-variation( $brand-color, $brand-color, $ui-states )
98
+ k-generate-theme-variation( $brand-color, $palette, $ui-states )
94
99
  );
95
100
  };
96
101
  }
102
+
103
+ @each $ui-states in $_tc-tooltip-dark-matrix {
104
+ $kendo-tooltip-theme-colors: map.deep-merge(
105
+ $kendo-tooltip-theme-colors,
106
+ k-generate-theme-variation( dark, neutral, $ui-states )
107
+ );
108
+ }
109
+
110
+ @each $ui-states in $_tc-tooltip-light-matrix {
111
+ $kendo-tooltip-theme-colors: map.deep-merge(
112
+ $kendo-tooltip-theme-colors,
113
+ k-generate-theme-variation( light, neutral, $ui-states )
114
+ );
115
+ }