@progress/kendo-theme-fluent 12.3.1-dev.8 → 13.0.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.
Files changed (82) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/fluent-1-dark.css +1 -1
  3. package/dist/fluent-1.css +1 -1
  4. package/dist/fluent-main-dark.css +1 -1
  5. package/dist/fluent-main.css +1 -1
  6. package/dist/meta/sassdoc-data.json +39709 -35083
  7. package/dist/meta/sassdoc-raw-data.json +14965 -12673
  8. package/dist/meta/variables.json +896 -765
  9. package/lib/swatches/all.json +1 -1
  10. package/lib/swatches/fluent-1-dark.json +1 -1
  11. package/lib/swatches/fluent-1.json +1 -1
  12. package/lib/swatches/fluent-main-dark.json +1 -1
  13. package/lib/swatches/fluent-main.json +1 -1
  14. package/package.json +5 -5
  15. package/scss/appbar/_variables.scss +6 -16
  16. package/scss/avatar/_variables.scss +37 -23
  17. package/scss/badge/_theme.scss +25 -11
  18. package/scss/badge/_variables.scss +22 -43
  19. package/scss/bottom-navigation/_theme.scss +68 -53
  20. package/scss/bottom-navigation/_variables.scss +12 -18
  21. package/scss/breadcrumb/_variables.scss +6 -30
  22. package/scss/button/_layout.scss +165 -156
  23. package/scss/button/_theme.scss +183 -135
  24. package/scss/button/_variables.scss +28 -42
  25. package/scss/calendar/_layout.scss +12 -8
  26. package/scss/calendar/_variables.scss +8 -2
  27. package/scss/card/_variables.scss +7 -16
  28. package/scss/checkbox/_layout.scss +15 -11
  29. package/scss/checkbox/_variables.scss +13 -1
  30. package/scss/chip/_layout.scss +6 -7
  31. package/scss/chip/_theme.scss +94 -76
  32. package/scss/chip/_variables.scss +32 -43
  33. package/scss/coloreditor/_layout.scss +17 -13
  34. package/scss/coloreditor/_variables.scss +17 -48
  35. package/scss/colorgradient/_layout.scss +1 -1
  36. package/scss/colorgradient/_variables.scss +30 -60
  37. package/scss/colorpalette/_layout.scss +0 -12
  38. package/scss/colorpalette/_variables.scss +7 -19
  39. package/scss/column-menu/_layout.scss +16 -12
  40. package/scss/column-menu/_variables.scss +6 -24
  41. package/scss/datetimepicker/_variables.scss +6 -15
  42. package/scss/dialog/_variables.scss +7 -9
  43. package/scss/fab/_layout.scss +13 -10
  44. package/scss/fab/_theme.scss +11 -6
  45. package/scss/fab/_variables.scss +21 -17
  46. package/scss/forms/_layout.scss +8 -6
  47. package/scss/forms/_variables.scss +7 -16
  48. package/scss/grid/_layout.scss +15 -11
  49. package/scss/grid/_variables.scss +6 -42
  50. package/scss/icons/_variables.scss +6 -0
  51. package/scss/input/_layout.scss +113 -54
  52. package/scss/input/_theme.scss +97 -62
  53. package/scss/input/_variables.scss +81 -43
  54. package/scss/list/_variables.scss +6 -70
  55. package/scss/loader/_variables.scss +13 -17
  56. package/scss/menu/_variables.scss +6 -32
  57. package/scss/messagebox/_variables.scss +7 -17
  58. package/scss/notification/_functions.scss +2 -2
  59. package/scss/notification/_variables.scss +9 -15
  60. package/scss/otp/_variables.scss +1 -22
  61. package/scss/overlay/_theme.scss +0 -9
  62. package/scss/overlay/_variables.scss +9 -7
  63. package/scss/pager/_layout.scss +7 -2
  64. package/scss/pager/_variables.scss +7 -22
  65. package/scss/radio/_layout.scss +16 -11
  66. package/scss/radio/_variables.scss +7 -1
  67. package/scss/signature/_variables.scss +0 -21
  68. package/scss/split-button/_variables.scss +0 -8
  69. package/scss/suggestion/_variables.scss +4 -45
  70. package/scss/switch/_variables.scss +103 -7
  71. package/scss/table/_variables.scss +6 -33
  72. package/scss/tabstrip/_variables.scss +7 -25
  73. package/scss/timeselector/_variables.scss +21 -39
  74. package/scss/toolbar/_layout.scss +25 -12
  75. package/scss/toolbar/_theme.scss +7 -5
  76. package/scss/toolbar/_variables.scss +12 -25
  77. package/scss/tooltip/_functions.scss +15 -6
  78. package/scss/tooltip/_theme.scss +0 -21
  79. package/scss/tooltip/_variables.scss +3 -14
  80. package/scss/treeview/_variables.scss +6 -32
  81. package/scss/window/_theme.scss +0 -15
  82. package/scss/window/_variables.scss +12 -18
@@ -1,5 +1,6 @@
1
1
  @use "sass:map";
2
2
  @use "../core/_index.scss" as *;
3
+ @use "../core/functions/index.scss" as *;
3
4
  @use "../button/_variables.scss" as *;
4
5
  @use "./_variables.scss" as *;
5
6
  @use "@progress/kendo-theme-core/scss/components/toolbar/_layout.scss" as *;
@@ -16,19 +17,31 @@
16
17
  outline-style: $kendo-toolbar-item-focus-outline-style;
17
18
  }
18
19
 
19
- }
20
- .k-toolbar::before {
21
- height: $kendo-button-inner-calc-size;
22
- }
20
+ &::before {
21
+ height: $kendo-button-inner-calc-size;
22
+ }
23
+
24
+ #{k-when-default($kendo-toolbar-default-size, "sm")}
25
+ &.k-toolbar-sm{
26
+ &::before {
27
+ height: $kendo-button-sm-inner-calc-size;
28
+ }
29
+ }
30
+
31
+ #{k-when-default($kendo-toolbar-default-size, "md")}
32
+ &.k-toolbar-md {
33
+ &::before {
34
+ height: $kendo-button-md-inner-calc-size;
35
+ }
36
+ }
37
+
38
+ #{k-when-default($kendo-toolbar-default-size, "lg")}
39
+ &.k-toolbar-lg {
40
+ &::before {
41
+ height: $kendo-button-lg-inner-calc-size;
42
+ }
43
+ }
23
44
 
24
- .k-toolbar-sm::before {
25
- height: $kendo-button-sm-inner-calc-size;
26
- }
27
- .k-toolbar-md::before {
28
- height: $kendo-button-md-inner-calc-size;
29
- }
30
- .k-toolbar-lg::before {
31
- height: $kendo-button-lg-inner-calc-size;
32
45
  }
33
46
 
34
47
  .k-overflow-container .k-overflow-button {
@@ -1,5 +1,6 @@
1
1
  @use "../core/_index.scss" as *;
2
2
  @use "./_variables.scss" as *;
3
+ @use "../core/functions/index.scss" as *;
3
4
  @use "@progress/kendo-theme-core/scss/components/toolbar/_theme.scss" as *;
4
5
 
5
6
  @mixin kendo-toolbar--theme() {
@@ -10,12 +11,13 @@
10
11
  .k-toolbar-item.k-focus {
11
12
  outline-color: $kendo-toolbar-item-focus-outline-color;
12
13
  }
13
- }
14
14
 
15
- .k-toolbar-flat {
16
- > .k-separator,
17
- .k-toolbar-separator {
18
- border-inline-color: $kendo-toolbar-separator-border;
15
+ #{k-when-default($kendo-toolbar-default-fill-mode, "flat")}
16
+ &.k-toolbar-flat {
17
+ > .k-separator,
18
+ .k-toolbar-separator {
19
+ border-inline-color: $kendo-toolbar-separator-border;
20
+ }
19
21
  }
20
22
  }
21
23
  }
@@ -2,6 +2,15 @@
2
2
  @use "../core/_index.scss" as *;
3
3
  @use "../button/_variables.scss" as *;
4
4
 
5
+ /// The default fill mode of the Toolbar.
6
+ /// @group toolbar
7
+ /// @role default
8
+ $kendo-toolbar-default-fill-mode: "solid" !default;
9
+ /// The default size of the Toolbar.
10
+ /// @group toolbar
11
+ /// @role default
12
+ $kendo-toolbar-default-size: "md" !default;
13
+
5
14
  /// The horizontal padding of the small Toolbar.
6
15
  /// @group toolbar
7
16
  $kendo-toolbar-sm-padding-x: calc( var( --kendo-toolbar-sm-padding-x, #{k-spacing(2)} ) + 1px ) !default;
@@ -113,30 +122,9 @@ $kendo-toolbar-item-focus-outline-style: var( --kendo-toolbar-item-focus-outline
113
122
  /// @group toolbar
114
123
  $kendo-toolbar-item-focus-outline-color: var( --kendo-toolbar-item-focus-outline-color, #{k-color(base-emphasis)} ) !default;
115
124
 
116
- /// The sizes map for the Toolbar.
117
- /// @group toolbar
118
- $kendo-toolbar-sizes: (
119
- sm: (
120
- padding-x: $kendo-toolbar-sm-padding-x,
121
- padding-y: $kendo-toolbar-sm-padding-y,
122
- spacing: $kendo-toolbar-sm-spacing,
123
- separator-height: $kendo-toolbar-sm-separator-height
124
- ),
125
- md: (
126
- padding-x: $kendo-toolbar-md-padding-x,
127
- padding-y: $kendo-toolbar-md-padding-y,
128
- spacing: $kendo-toolbar-md-spacing,
129
- separator-height: $kendo-toolbar-md-separator-height
130
- ),
131
- lg: (
132
- padding-x: $kendo-toolbar-lg-padding-x,
133
- padding-y: $kendo-toolbar-lg-padding-y,
134
- spacing: $kendo-toolbar-lg-spacing,
135
- separator-height: $kendo-toolbar-lg-separator-height
136
- )
137
- ) !default;
138
-
139
125
  @forward "@progress/kendo-theme-core/scss/components/toolbar/_variables.scss" with (
126
+ $kendo-toolbar-default-fill-mode: $kendo-toolbar-default-fill-mode,
127
+ $kendo-toolbar-default-size: $kendo-toolbar-default-size,
140
128
  $kendo-toolbar-sm-padding-x: $kendo-toolbar-sm-padding-x,
141
129
  $kendo-toolbar-md-padding-x: $kendo-toolbar-md-padding-x,
142
130
  $kendo-toolbar-lg-padding-x: $kendo-toolbar-lg-padding-x,
@@ -165,6 +153,5 @@ $kendo-toolbar-sizes: (
165
153
  $kendo-toolbar-flat-border: $kendo-toolbar-flat-border,
166
154
  $kendo-toolbar-flat-scroll-overlay: $kendo-toolbar-flat-scroll-overlay,
167
155
  $kendo-toolbar-separator-border: $kendo-toolbar-separator-border,
168
- $kendo-toolbar-input-width: $kendo-toolbar-input-width,
169
- $kendo-toolbar-sizes: $kendo-toolbar-sizes
156
+ $kendo-toolbar-input-width: $kendo-toolbar-input-width
170
157
  );
@@ -4,13 +4,22 @@
4
4
 
5
5
  @function tooltip-theme( $colors ) {
6
6
  $_theme: ();
7
+ $_solid-colors: ("primary", "dark", "light", "inverse");
7
8
 
8
- @each $name, $color in $colors {
9
- $_theme: map.merge(( $name: (
10
- color: k-color(on-#{$name}),
11
- background-color: $color,
12
- border: $color,
13
- )), $_theme );
9
+ @each $name in $colors {
10
+ @if index($_solid-colors, $name) {
11
+ $_theme: map.merge(( $name: (
12
+ color: k-color(on-#{$name}),
13
+ background-color: k-color(#{$name}),
14
+ border: k-color(#{$name}),
15
+ )), $_theme );
16
+ } @else {
17
+ $_theme: map.merge(( $name: (
18
+ color: k-color(#{$name}-on-subtle),
19
+ background-color: k-color(#{$name}-subtle),
20
+ border: k-color(#{$name}-subtle),
21
+ )), $_theme );
22
+ }
14
23
  }
15
24
 
16
25
  @return $_theme;
@@ -9,25 +9,4 @@
9
9
  .k-tooltip-button {
10
10
  color: $kendo-tooltip-button-text;
11
11
  }
12
-
13
- @each $name, $color in $kendo-tooltip-theme-colors {
14
- @if($name == "primary" or $name == "dark" or $name == "light" or $name == "inverse") {
15
- .k-tooltip-#{$name} {
16
- color: k-color(on-#{$name});
17
- background-color: k-color(#{$name});
18
- border-color: k-color(#{$name});
19
-
20
- .k-tooltip-button {
21
-
22
- color: k-color(on-#{$name});
23
- }
24
- }
25
- } @else {
26
- .k-tooltip-#{$name} {
27
- color: k-color(#{$name}-on-subtle);
28
- background-color: k-color(#{$name}-subtle);
29
- border-color: k-color(#{$name}-subtle);
30
- }
31
- }
32
- }
33
12
  }
@@ -55,19 +55,9 @@ $kendo-tooltip-shadow: var( --kendo-tooltip-shadow, k-elevation(4) ) !default;
55
55
  /// @group tooltip
56
56
  $kendo-tooltip-button-text: var( --kendo-tooltip-button-text, #{k-color(subtle)} ) !default;
57
57
 
58
- /// Theme colors map for the tooltip variations.
59
- $kendo-tooltip-theme-colors: (
60
- "primary": k-color(primary),
61
- "secondary": k-color(secondary-subtle),
62
- "tertiary": k-color(tertiary-subtle),
63
- "info": k-color(info-subtle),
64
- "success": k-color(success-subtle),
65
- "warning": k-color(warning-subtle),
66
- "error": k-color(error-subtle),
67
- "dark": k-color(dark),
68
- "light": k-color(light),
69
- "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
70
- ) !default;
58
+ /// The theme colors map for the Tooltip.
59
+ /// @group tooltip
60
+ $kendo-tooltip-theme-colors: ("base", "primary", "secondary", "tertiary", "info", "success", "warning", "error", "dark", "light", "inverse") !default;
71
61
 
72
62
  /// The generated theme colors map for the Tooltip.
73
63
  /// @group tooltip
@@ -88,6 +78,5 @@ $kendo-tooltip-theme: tooltip-theme( $kendo-tooltip-theme-colors ) !default;
88
78
  $kendo-tooltip-text: $kendo-tooltip-text,
89
79
  $kendo-tooltip-border: $kendo-tooltip-border,
90
80
  $kendo-tooltip-shadow: $kendo-tooltip-shadow,
91
- $kendo-tooltip-theme-colors: $kendo-tooltip-theme-colors,
92
81
  $kendo-tooltip-theme: $kendo-tooltip-theme
93
82
  );
@@ -1,6 +1,11 @@
1
1
  @use "sass:map";
2
2
  @use "../core/_index.scss" as *;
3
3
 
4
+ /// The default size of the TreeView.
5
+ /// @group treeview
6
+ /// @role default
7
+ $kendo-treeview-default-size: "md" !default;
8
+
4
9
  /// The font family of the TreeView.
5
10
  /// @group treeview
6
11
  $kendo-treeview-font-family: var( --kendo-treeview-font-family, var( --kendo-font-family, normal ) ) !default;
@@ -78,37 +83,6 @@ $kendo-treeview-filter-padding-x: var( --kendo-treeview-filter-padding-x, k-spac
78
83
  $kendo-treeview-filter-padding-y: var( --kendo-treeview-filter-padding-y, k-spacing(2) ) !default;
79
84
 
80
85
 
81
- /// The sizes map of the TreeView.
82
- /// @group treeview
83
- $kendo-treeview-sizes: (
84
- sm: (
85
- font-size: $kendo-treeview-sm-font-size,
86
- line-height: $kendo-treeview-sm-line-height,
87
- item-padding-x: $kendo-treeview-sm-item-padding-x,
88
- item-padding-y: $kendo-treeview-sm-item-padding-y,
89
- checkbox-padding-x: $kendo-treeview-sm-checkbox-padding-x,
90
- checkbox-padding-y: $kendo-treeview-sm-checkbox-padding-y
91
- ),
92
- md: (
93
- font-size: $kendo-treeview-md-font-size,
94
- line-height: $kendo-treeview-md-line-height,
95
- item-padding-x: $kendo-treeview-md-item-padding-x,
96
- item-padding-y: $kendo-treeview-md-item-padding-y,
97
- checkbox-padding-x: $kendo-treeview-md-checkbox-padding-x,
98
- checkbox-padding-y: $kendo-treeview-md-checkbox-padding-y
99
-
100
- ),
101
- lg: (
102
- font-size: $kendo-treeview-lg-font-size,
103
- line-height: $kendo-treeview-lg-line-height,
104
- item-padding-x: $kendo-treeview-lg-item-padding-x,
105
- item-padding-y: $kendo-treeview-lg-item-padding-y,
106
- checkbox-padding-x: $kendo-treeview-lg-checkbox-padding-x,
107
- checkbox-padding-y: $kendo-treeview-lg-checkbox-padding-y
108
- )
109
- ) !default;
110
-
111
-
112
86
  /// The background color of the TreeView.
113
87
  /// @group treeview
114
88
  $kendo-treeview-bg: var( --kendo-treeview-bg, transparent ) !default;
@@ -198,6 +172,7 @@ $kendo-treeview-loadmore-focus-shadow: var( --kendo-treeview-loadmore-focus-shad
198
172
 
199
173
 
200
174
  @forward "@progress/kendo-theme-core/scss/components/treeview/_variables.scss" with (
175
+ $kendo-treeview-default-size: $kendo-treeview-default-size,
201
176
  $kendo-treeview-font-family: $kendo-treeview-font-family,
202
177
  $kendo-treeview-sm-font-size: $kendo-treeview-sm-font-size,
203
178
  $kendo-treeview-md-font-size: $kendo-treeview-md-font-size,
@@ -220,7 +195,6 @@ $kendo-treeview-loadmore-focus-shadow: var( --kendo-treeview-loadmore-focus-shad
220
195
  $kendo-treeview-sm-checkbox-padding-y: $kendo-treeview-sm-checkbox-padding-y,
221
196
  $kendo-treeview-md-checkbox-padding-y: $kendo-treeview-md-checkbox-padding-y,
222
197
  $kendo-treeview-lg-checkbox-padding-y: $kendo-treeview-lg-checkbox-padding-y,
223
- $kendo-treeview-sizes: $kendo-treeview-sizes,
224
198
  $kendo-treeview-bg: $kendo-treeview-bg,
225
199
  $kendo-treeview-text: $kendo-treeview-text,
226
200
  $kendo-treeview-border: $kendo-treeview-border,
@@ -12,19 +12,4 @@
12
12
  outline-color: k-color(on-base);
13
13
  }
14
14
  }
15
-
16
- // Titlebar
17
- .k-window-titlebar {
18
- color: inherit;
19
- }
20
-
21
- .k-window-title {
22
- color: $kendo-window-titlebar-text,
23
- }
24
-
25
- @each $name, $color in $kendo-window-theme-colors {
26
- .k-window-#{$name} .k-window-title {
27
- color: k-color(on-#{$name});
28
- }
29
- }
30
15
  }
@@ -1,6 +1,16 @@
1
1
  @use "sass:map";
2
2
  @use "../core/_index.scss" as *;
3
3
 
4
+ /// The default size of the Window.
5
+ /// @group window
6
+ /// @role default
7
+ $kendo-window-default-size: "auto" !default;
8
+
9
+ /// The default theme color of the Window.
10
+ /// @group window
11
+ /// @role default
12
+ $kendo-window-default-theme-color: null !default;
13
+
4
14
  /// The width of the border around the Window.
5
15
  /// @group window
6
16
  $kendo-window-border-width: var(--kendo-window-border-width, 0) !default;
@@ -96,23 +106,8 @@ $kendo-window-titlebar-text: var( --kendo-window-titlebar-text, k-color(on-app-s
96
106
  /// @group window
97
107
  $kendo-window-titlebar-border: var( --kendo-window-titlebar-border, k-color(primary) ) !default;
98
108
 
99
- /// The map of the width of the different Window sizes.
100
- /// @group window
101
- $kendo-window-sizes: (
102
- sm: 300px,
103
- md: 800px,
104
- lg: 1200px
105
- ) !default;
106
-
107
- /// The theme colors map for the Window.
108
- /// @group window
109
- $kendo-window-theme-colors: (
110
- "primary": k-color(primary),
111
- "light": k-color(light),
112
- "dark": k-color(dark)
113
- ) !default;
114
-
115
109
  @forward "@progress/kendo-theme-core/scss/components/window/_variables.scss" with (
110
+ $kendo-window-default-theme-color: $kendo-window-default-theme-color,
116
111
  $kendo-window-border-width: $kendo-window-border-width,
117
112
  $kendo-window-border-radius: $kendo-window-border-radius,
118
113
  $kendo-window-font-family: $kendo-window-font-family,
@@ -140,7 +135,6 @@ $kendo-window-theme-colors: (
140
135
  $kendo-window-titlebar-bg: $kendo-window-titlebar-bg,
141
136
  $kendo-window-titlebar-text: $kendo-window-titlebar-text,
142
137
  $kendo-window-titlebar-border: $kendo-window-titlebar-border,
143
- $kendo-window-sizes: $kendo-window-sizes,
144
- $kendo-window-theme-colors: $kendo-window-theme-colors
138
+ $kendo-window-default-size: $kendo-window-default-size
145
139
  );
146
140