@progress/kendo-theme-fluent 11.2.1-dev.0 → 11.3.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 (341) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/fluent-main-dark.css +1 -1
  3. package/dist/fluent-main.css +1 -1
  4. package/dist/meta/sassdoc-data.json +24099 -27323
  5. package/dist/meta/sassdoc-raw-data.json +8421 -7718
  6. package/dist/meta/variables.json +7880 -8036
  7. package/lib/swatches/all.json +1 -1
  8. package/lib/swatches/fluent-main-dark.json +1 -1
  9. package/lib/swatches/fluent-main.json +1 -1
  10. package/package.json +4 -4
  11. package/scss/action-buttons/_layout.scss +2 -55
  12. package/scss/action-buttons/_theme.scss +2 -11
  13. package/scss/action-buttons/_variables.scss +17 -7
  14. package/scss/action-sheet/_layout.scss +11 -399
  15. package/scss/action-sheet/_theme.scss +14 -69
  16. package/scss/action-sheet/_variables.scss +129 -66
  17. package/scss/adaptive/_index.scss +0 -3
  18. package/scss/adaptive/_layout.scss +2 -457
  19. package/scss/adaptive/_theme.scss +2 -75
  20. package/scss/adaptive/_variables.scss +39 -18
  21. package/scss/appbar/_layout.scss +2 -114
  22. package/scss/appbar/_theme.scss +9 -20
  23. package/scss/appbar/_variables.scss +38 -71
  24. package/scss/avatar/_layout.scss +2 -73
  25. package/scss/avatar/_theme.scss +2 -16
  26. package/scss/avatar/_variables.scss +24 -82
  27. package/scss/badge/_layout.scss +3 -146
  28. package/scss/badge/_theme.scss +8 -21
  29. package/scss/badge/_variables.scss +41 -88
  30. package/scss/bottom-navigation/_layout.scss +5 -108
  31. package/scss/bottom-navigation/_theme.scss +73 -74
  32. package/scss/bottom-navigation/_variables.scss +58 -117
  33. package/scss/breadcrumb/_layout.scss +8 -132
  34. package/scss/breadcrumb/_theme.scss +15 -71
  35. package/scss/breadcrumb/_variables.scss +133 -71
  36. package/scss/button/_layout.scss +18 -182
  37. package/scss/button/_theme.scss +132 -113
  38. package/scss/button/_variables.scss +156 -301
  39. package/scss/calendar/_layout.scss +27 -383
  40. package/scss/calendar/_theme.scss +55 -127
  41. package/scss/calendar/_variables.scss +185 -100
  42. package/scss/captcha/_layout.scss +2 -59
  43. package/scss/captcha/_theme.scss +2 -9
  44. package/scss/captcha/_variables.scss +25 -9
  45. package/scss/card/_layout.scss +9 -314
  46. package/scss/card/_theme.scss +3 -103
  47. package/scss/card/_variables.scss +110 -60
  48. package/scss/chart-wizard/_layout.scss +2 -38
  49. package/scss/chart-wizard/_theme.scss +2 -28
  50. package/scss/chart-wizard/_variables.scss +25 -11
  51. package/scss/chat/_index.scss +0 -3
  52. package/scss/chat/_layout.scss +26 -450
  53. package/scss/chat/_theme.scss +9 -80
  54. package/scss/chat/_variables.scss +143 -71
  55. package/scss/checkbox/_layout.scss +14 -191
  56. package/scss/checkbox/_theme.scss +11 -100
  57. package/scss/checkbox/_variables.scss +165 -78
  58. package/scss/chip/_layout.scss +11 -137
  59. package/scss/chip/_theme.scss +56 -57
  60. package/scss/chip/_variables.scss +99 -94
  61. package/scss/color-preview/_layout.scss +4 -64
  62. package/scss/color-preview/_theme.scss +2 -27
  63. package/scss/color-preview/_variables.scss +23 -9
  64. package/scss/coloreditor/_layout.scss +21 -109
  65. package/scss/coloreditor/_theme.scss +3 -24
  66. package/scss/coloreditor/_variables.scss +92 -57
  67. package/scss/colorgradient/_layout.scss +12 -196
  68. package/scss/colorgradient/_theme.scss +27 -65
  69. package/scss/colorgradient/_variables.scss +134 -76
  70. package/scss/colorpalette/_layout.scss +6 -40
  71. package/scss/colorpalette/_theme.scss +10 -20
  72. package/scss/colorpalette/_variables.scss +39 -21
  73. package/scss/colorpicker/_layout.scss +2 -11
  74. package/scss/colorpicker/_theme.scss +2 -1
  75. package/scss/column-menu/_layout.scss +5 -56
  76. package/scss/column-menu/_theme.scss +1 -24
  77. package/scss/column-menu/_variables.scss +38 -17
  78. package/scss/combobox/_layout.scss +4 -2
  79. package/scss/combobox/_theme.scss +4 -2
  80. package/scss/core/functions/index.import.scss +1 -0
  81. package/scss/dataviz/_layout.scss +6 -543
  82. package/scss/dataviz/_theme.scss +12 -76
  83. package/scss/dataviz/_variables.scss +152 -33
  84. package/scss/daterangepicker/_layout.scss +2 -37
  85. package/scss/daterangepicker/_theme.scss +16 -7
  86. package/scss/daterangepicker/_variables.scss +9 -0
  87. package/scss/datetimepicker/_layout.scss +3 -41
  88. package/scss/datetimepicker/_theme.scss +3 -2
  89. package/scss/datetimepicker/_variables.scss +5 -1
  90. package/scss/dialog/_layout.scss +8 -53
  91. package/scss/dialog/_theme.scss +5 -25
  92. package/scss/dialog/_variables.scss +31 -60
  93. package/scss/dock-manager/_layout.scss +9 -193
  94. package/scss/dock-manager/_theme.scss +6 -28
  95. package/scss/dock-manager/_variables.scss +74 -36
  96. package/scss/draggable/_layout.scss +13 -59
  97. package/scss/draggable/_theme.scss +10 -15
  98. package/scss/draggable/_variables.scss +45 -23
  99. package/scss/drawer/_layout.scss +7 -198
  100. package/scss/drawer/_theme.scss +25 -52
  101. package/scss/drawer/_variables.scss +73 -45
  102. package/scss/dropdowngrid/_layout.scss +3 -11
  103. package/scss/dropdowngrid/_theme.scss +3 -3
  104. package/scss/dropdownlist/_layout.scss +4 -28
  105. package/scss/dropdownlist/_theme.scss +3 -7
  106. package/scss/dropdowntree/_layout.scss +2 -35
  107. package/scss/dropdowntree/_theme.scss +3 -4
  108. package/scss/dropdowntree/_variables.scss +4 -3
  109. package/scss/dropzone/_layout.scss +7 -31
  110. package/scss/dropzone/_theme.scss +2 -30
  111. package/scss/dropzone/_variables.scss +43 -21
  112. package/scss/editor/_layout.scss +3 -588
  113. package/scss/editor/_theme.scss +12 -78
  114. package/scss/editor/_variables.scss +45 -26
  115. package/scss/expansion-panel/_layout.scss +22 -57
  116. package/scss/expansion-panel/_theme.scss +13 -36
  117. package/scss/expansion-panel/_variables.scss +49 -28
  118. package/scss/fab/_layout.scss +11 -134
  119. package/scss/fab/_theme.scss +37 -126
  120. package/scss/fab/_variables.scss +104 -56
  121. package/scss/filemanager/_layout.scss +2 -240
  122. package/scss/filemanager/_theme.scss +8 -89
  123. package/scss/filemanager/_variables.scss +109 -56
  124. package/scss/filter/_layout.scss +8 -71
  125. package/scss/filter/_theme.scss +5 -14
  126. package/scss/filter/_variables.scss +20 -10
  127. package/scss/floating-label/_layout.scss +3 -75
  128. package/scss/floating-label/_theme.scss +4 -20
  129. package/scss/floating-label/_variables.scss +35 -17
  130. package/scss/forms/_index.scss +0 -1
  131. package/scss/forms/_layout.scss +5 -302
  132. package/scss/forms/_theme.scss +5 -24
  133. package/scss/forms/_variables.scss +73 -39
  134. package/scss/gantt/_layout.scss +5 -801
  135. package/scss/gantt/_theme.scss +17 -236
  136. package/scss/gantt/_variables.scss +142 -73
  137. package/scss/grid/_layout.scss +60 -1276
  138. package/scss/grid/_theme.scss +35 -343
  139. package/scss/grid/_variables.scss +306 -183
  140. package/scss/gridlayout/_layout.scss +1 -6
  141. package/scss/gridlayout/_theme.scss +1 -6
  142. package/scss/icons/_layout.scss +4 -33
  143. package/scss/icons/_theme.scss +7 -1
  144. package/scss/icons/_variables.scss +35 -9
  145. package/scss/imageeditor/_layout.scss +2 -152
  146. package/scss/imageeditor/_theme.scss +5 -42
  147. package/scss/imageeditor/_variables.scss +66 -32
  148. package/scss/index.scss +2 -1
  149. package/scss/input/_layout.scss +36 -468
  150. package/scss/input/_theme.scss +52 -128
  151. package/scss/input/_variables.scss +153 -208
  152. package/scss/list/_layout.scss +3 -252
  153. package/scss/list/_theme.scss +10 -81
  154. package/scss/list/_variables.scss +176 -92
  155. package/scss/listbox/_layout.scss +2 -80
  156. package/scss/listbox/_theme.scss +5 -8
  157. package/scss/listbox/_variables.scss +28 -13
  158. package/scss/listgroup/_layout.scss +2 -174
  159. package/scss/listgroup/_theme.scss +2 -8
  160. package/scss/listgroup/_variables.scss +23 -10
  161. package/scss/listview/_layout.scss +6 -133
  162. package/scss/listview/_theme.scss +8 -37
  163. package/scss/listview/_variables.scss +66 -39
  164. package/scss/loader/_layout.scss +15 -572
  165. package/scss/loader/_theme.scss +2 -14
  166. package/scss/loader/_variables.scss +90 -92
  167. package/scss/map/_layout.scss +7 -121
  168. package/scss/map/_theme.scss +5 -17
  169. package/scss/map/_variables.scss +40 -22
  170. package/scss/maskedtextbox/_layout.scss +3 -3
  171. package/scss/maskedtextbox/_theme.scss +3 -3
  172. package/scss/mediaplayer/_layout.scss +5 -72
  173. package/scss/mediaplayer/_theme.scss +5 -15
  174. package/scss/mediaplayer/_variables.scss +27 -14
  175. package/scss/menu/_layout.scss +25 -267
  176. package/scss/menu/_theme.scss +14 -73
  177. package/scss/menu/_variables.scss +135 -76
  178. package/scss/menu-button/_layout.scss +9 -14
  179. package/scss/menu-button/_theme.scss +5 -1
  180. package/scss/menu-button/_variables.scss +10 -0
  181. package/scss/messagebox/_layout.scss +2 -18
  182. package/scss/messagebox/_theme.scss +4 -19
  183. package/scss/messagebox/_variables.scss +33 -37
  184. package/scss/multiselect/_layout.scss +3 -4
  185. package/scss/multiselect/_theme.scss +3 -4
  186. package/scss/no-data/_layout.scss +2 -17
  187. package/scss/no-data/_theme.scss +2 -5
  188. package/scss/no-data/_variables.scss +7 -2
  189. package/scss/notification/_functions.scss +17 -0
  190. package/scss/notification/_layout.scss +2 -68
  191. package/scss/notification/_theme.scss +4 -28
  192. package/scss/notification/_variables.scss +50 -91
  193. package/scss/numerictextbox/_layout.scss +3 -7
  194. package/scss/numerictextbox/_theme.scss +3 -3
  195. package/scss/orgchart/_layout.scss +8 -99
  196. package/scss/orgchart/_theme.scss +4 -45
  197. package/scss/orgchart/_variables.scss +87 -45
  198. package/scss/otp/_layout.scss +1 -34
  199. package/scss/otp/_theme.scss +1 -7
  200. package/scss/otp/_variables.scss +25 -12
  201. package/scss/overlay/_layout.scss +2 -11
  202. package/scss/overlay/_theme.scss +4 -3
  203. package/scss/overlay/_variables.scss +7 -3
  204. package/scss/pager/_layout.scss +11 -145
  205. package/scss/pager/_theme.scss +7 -15
  206. package/scss/pager/_variables.scss +49 -26
  207. package/scss/panel/_layout.scss +2 -24
  208. package/scss/panel/_theme.scss +10 -13
  209. package/scss/panel/_variables.scss +23 -10
  210. package/scss/panelbar/_layout.scss +17 -95
  211. package/scss/panelbar/_theme.scss +15 -164
  212. package/scss/panelbar/_variables.scss +134 -68
  213. package/scss/pdf-viewer/_layout.scss +3 -327
  214. package/scss/pdf-viewer/_theme.scss +2 -80
  215. package/scss/pdf-viewer/_variables.scss +75 -36
  216. package/scss/pivotgrid/_index.scss +0 -6
  217. package/scss/pivotgrid/_layout.scss +44 -579
  218. package/scss/pivotgrid/_theme.scss +5 -192
  219. package/scss/pivotgrid/_variables.scss +144 -70
  220. package/scss/popover/_layout.scss +6 -73
  221. package/scss/popover/_theme.scss +2 -36
  222. package/scss/popover/_variables.scss +54 -27
  223. package/scss/popup/_layout.scss +5 -70
  224. package/scss/popup/_theme.scss +2 -9
  225. package/scss/popup/_variables.scss +25 -12
  226. package/scss/progressbar/_layout.scss +10 -196
  227. package/scss/progressbar/_theme.scss +11 -46
  228. package/scss/progressbar/_variables.scss +57 -34
  229. package/scss/prompt/_layout.scss +2 -75
  230. package/scss/prompt/_theme.scss +2 -35
  231. package/scss/prompt/_variables.scss +43 -20
  232. package/scss/radio/_layout.scss +12 -178
  233. package/scss/radio/_theme.scss +7 -75
  234. package/scss/radio/_variables.scss +72 -36
  235. package/scss/rating/_layout.scss +11 -57
  236. package/scss/rating/_theme.scss +8 -6
  237. package/scss/rating/_variables.scss +21 -13
  238. package/scss/responsivepanel/_layout.scss +2 -45
  239. package/scss/responsivepanel/_theme.scss +3 -3
  240. package/scss/ripple/_layout.scss +2 -50
  241. package/scss/ripple/_theme.scss +2 -2
  242. package/scss/scheduler/_layout.scss +11 -773
  243. package/scss/scheduler/_theme.scss +32 -167
  244. package/scss/scheduler/_variables.scss +149 -77
  245. package/scss/scroller/_layout.scss +2 -80
  246. package/scss/scroller/_theme.scss +2 -5
  247. package/scss/scrollview/_layout.scss +2 -159
  248. package/scss/scrollview/_theme.scss +11 -35
  249. package/scss/scrollview/_variables.scss +52 -29
  250. package/scss/searchbox/_layout.scss +2 -0
  251. package/scss/searchbox/_theme.scss +4 -1
  252. package/scss/searchbox/_variables.scss +1 -1
  253. package/scss/signature/_layout.scss +3 -67
  254. package/scss/signature/_theme.scss +3 -8
  255. package/scss/signature/_variables.scss +46 -25
  256. package/scss/skeleton/_layout.scss +2 -79
  257. package/scss/skeleton/_theme.scss +2 -17
  258. package/scss/skeleton/_variables.scss +15 -6
  259. package/scss/slider/_layout.scss +18 -203
  260. package/scss/slider/_theme.scss +31 -40
  261. package/scss/slider/_variables.scss +58 -41
  262. package/scss/speech-to-text-button/_layout.scss +1 -9
  263. package/scss/speech-to-text-button/_theme.scss +1 -3
  264. package/scss/split-button/_layout.scss +22 -18
  265. package/scss/split-button/_theme.scss +2 -1
  266. package/scss/split-button/_variables.scss +18 -9
  267. package/scss/splitter/_layout.scss +8 -171
  268. package/scss/splitter/_theme.scss +2 -31
  269. package/scss/splitter/_variables.scss +42 -20
  270. package/scss/spreadsheet/_layout.scss +50 -724
  271. package/scss/spreadsheet/_theme.scss +14 -182
  272. package/scss/spreadsheet/_variables.scss +172 -99
  273. package/scss/stacklayout/_layout.scss +1 -5
  274. package/scss/stacklayout/_theme.scss +1 -5
  275. package/scss/stepper/_layout.scss +9 -255
  276. package/scss/stepper/_theme.scss +4 -186
  277. package/scss/stepper/_variables.scss +125 -60
  278. package/scss/suggestion/_layout.scss +2 -38
  279. package/scss/suggestion/_theme.scss +3 -66
  280. package/scss/suggestion/_variables.scss +42 -19
  281. package/scss/switch/_layout.scss +2 -138
  282. package/scss/switch/_theme.scss +2 -136
  283. package/scss/switch/_variables.scss +99 -49
  284. package/scss/table/_layout.scss +6 -249
  285. package/scss/table/_theme.scss +9 -95
  286. package/scss/table/_variables.scss +100 -64
  287. package/scss/tabstrip/_layout.scss +2 -421
  288. package/scss/tabstrip/_theme.scss +12 -123
  289. package/scss/tabstrip/_variables.scss +113 -61
  290. package/scss/taskboard/_layout.scss +28 -178
  291. package/scss/taskboard/_theme.scss +20 -55
  292. package/scss/taskboard/_variables.scss +122 -63
  293. package/scss/textarea/_layout.scss +3 -6
  294. package/scss/textarea/_theme.scss +3 -4
  295. package/scss/textbox/_layout.scss +3 -4
  296. package/scss/textbox/_theme.scss +3 -4
  297. package/scss/tilelayout/_layout.scss +2 -36
  298. package/scss/tilelayout/_theme.scss +13 -10
  299. package/scss/tilelayout/_variables.scss +19 -8
  300. package/scss/time-marker/_layout.scss +2 -15
  301. package/scss/time-marker/_theme.scss +2 -17
  302. package/scss/time-marker/_variables.scss +7 -2
  303. package/scss/timedurationpicker/_layout.scss +3 -4
  304. package/scss/timedurationpicker/_theme.scss +3 -4
  305. package/scss/timeline/_layout.scss +8 -423
  306. package/scss/timeline/_theme.scss +11 -34
  307. package/scss/timeline/_variables.scss +108 -61
  308. package/scss/timepicker/_layout.scss +7 -3
  309. package/scss/timepicker/_theme.scss +3 -4
  310. package/scss/timeselector/_layout.scss +3 -223
  311. package/scss/timeselector/_theme.scss +5 -55
  312. package/scss/timeselector/_variables.scss +84 -41
  313. package/scss/toolbar/_layout.scss +11 -297
  314. package/scss/toolbar/_theme.scss +3 -167
  315. package/scss/toolbar/_variables.scss +65 -32
  316. package/scss/tooltip/_functions.scss +17 -0
  317. package/scss/tooltip/_layout.scss +13 -74
  318. package/scss/tooltip/_theme.scss +17 -23
  319. package/scss/tooltip/_variables.scss +50 -72
  320. package/scss/treelist/_layout.scss +3 -82
  321. package/scss/treelist/_theme.scss +4 -6
  322. package/scss/treelist/_variables.scss +7 -2
  323. package/scss/treeview/_layout.scss +8 -137
  324. package/scss/treeview/_theme.scss +20 -65
  325. package/scss/treeview/_variables.scss +88 -48
  326. package/scss/typography/_layout.scss +3 -113
  327. package/scss/typography/_theme.scss +2 -17
  328. package/scss/typography/_variables.scss +84 -3
  329. package/scss/upload/_layout.scss +7 -219
  330. package/scss/upload/_theme.scss +4 -90
  331. package/scss/upload/_variables.scss +66 -29
  332. package/scss/validator/_layout.scss +2 -16
  333. package/scss/validator/_theme.scss +2 -2
  334. package/scss/virtual-scroller/_layout.scss +2 -34
  335. package/scss/virtual-scroller/_theme.scss +2 -2
  336. package/scss/window/_layout.scss +9 -141
  337. package/scss/window/_theme.scss +7 -35
  338. package/scss/window/_variables.scss +65 -70
  339. package/scss/wizard/_layout.scss +8 -95
  340. package/scss/wizard/_theme.scss +4 -7
  341. package/scss/wizard/_variables.scss +24 -11
@@ -1,9 +1,6 @@
1
- @use "./_variables.scss" as *;
1
+ @use "@progress/kendo-theme-core/scss/components/no-data/_theme.scss" as *;
2
2
 
3
3
  @mixin kendo-no-data--theme() {
4
-
5
- .k-no-data {
6
- color: var( --kendo-no-data-text, #{$kendo-no-data-text} );
7
- }
4
+ @include kendo-no-data--theme-base();
8
5
 
9
6
  }
@@ -2,7 +2,12 @@
2
2
 
3
3
  /// The minimum height of the 'No Data' text container.
4
4
  /// @group no-data
5
- $kendo-no-data-min-height: 140px !default;
5
+ $kendo-no-data-min-height: var( --kendo-no-data-min-height, 140px ) !default;
6
6
  /// The text color of the 'No Data' text.
7
7
  /// @group no-data
8
- $kendo-no-data-text: k-color(on-app-surface) !default;
8
+ $kendo-no-data-text: var( --kendo-no-data-text, k-color(on-app-surface) ) !default;
9
+
10
+ @forward "@progress/kendo-theme-core/scss/components/no-data/_variables.scss" with (
11
+ $kendo-no-data-min-height: $kendo-no-data-min-height,
12
+ $kendo-no-data-text: $kendo-no-data-text
13
+ );
@@ -0,0 +1,17 @@
1
+ @use "sass:map";
2
+ @use "../core/_index.scss" as *;
3
+ @use "../core/functions/index.import.scss" as *;
4
+
5
+ @function notification-theme( $colors ) {
6
+ $_theme: ();
7
+
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 );
14
+ }
15
+
16
+ @return $_theme;
17
+ }
@@ -1,74 +1,8 @@
1
1
  @use "./_variables.scss" as *;
2
2
  @use "../core/_index.scss" as *;
3
+ @use "@progress/kendo-theme-core/scss/components/notification/_layout.scss" as *;
3
4
 
4
5
  @mixin kendo-notification--layout() {
5
-
6
- // Base
7
- .k-notification-group {
8
- max-height: 100%;
9
- display: inline-flex;
10
- flex-flow: column-reverse wrap;
11
- position: fixed;
12
- z-index: 1000;
13
- gap: var( --kendo-notificaiton-group-gap, #{$kendo-notification-group-gap} ) 0;
14
- }
15
-
16
- // Needed due to the specifics in the implementation of animations in Angular
17
- .k-notification-container-animating {
18
- overflow: hidden;
19
- }
20
-
21
- .k-notification {
22
- @include border-radius( var( --kendo-notification-border-radius, #{$kendo-notification-border-radius} ) );
23
- padding-inline: var( --kendo-notification-padding-x, #{$kendo-notification-padding-x} );
24
- padding-block: var( --kendo-notification-padding-y, #{$kendo-notification-padding-y} );
25
- border-width: var( --kendo-notification-border-width, #{$kendo-notification-border-width} );
26
- border-style: solid;
27
- box-sizing: border-box;
28
- outline: 0;
29
- font-family: var( --kendo-notification-font-family, #{$kendo-notification-font-family} );
30
- font-size: var( --kendo-notification-font-size, #{$kendo-notification-font-size} );
31
- line-height: var( --kendo-notification-line-height, #{$kendo-notification-line-height} );
32
- cursor: default;
33
- position: relative;
34
- display: flex;
35
- align-items: center;
36
- justify-content: center;
37
- gap: var( --kendo-notification-icon-spacing, #{$kendo-notification-icon-spacing} );
38
- -webkit-touch-callout: none;
39
- -webkit-tap-highlight-color: $kendo-color-rgba-transparent;
40
-
41
- *,
42
- *::before,
43
- *::after {
44
- box-sizing: border-box;
45
- }
46
-
47
- > .k-notification-content {
48
- flex: 1 1 auto;
49
- }
50
-
51
- > .k-notification-status {
52
- flex-shrink: 0;
53
- }
54
- }
55
-
56
- .k-notification-actions {
57
- padding-inline: var( --kendo-notification-actions-padding-x, #{$kendo-notification-actions-padding-x} );
58
- padding-block: var( --kendo-notification-actions-padding-y, #{$kendo-notification-actions-padding-y} );
59
- flex: none;
60
- display: flex;
61
- gap: var( --kendo-notification-icon-spacing, #{$kendo-notification-icon-spacing} );
62
- flex-flow: row nowrap;
63
- align-items: center;
64
- cursor: pointer;
65
- }
66
- .k-notification-action {
67
- flex: none;
68
- display: flex;
69
- flex-flow: row nowrap;
70
- align-items: center;
71
- align-self: center;
72
- }
6
+ @include kendo-notification--layout-base();
73
7
 
74
8
  }
@@ -1,37 +1,13 @@
1
1
  @use "sass:map";
2
2
  @use "../core/_index.scss" as *;
3
3
  @use "./_variables.scss" as *;
4
+ @use "@progress/kendo-theme-core/scss/components/notification/_theme.scss" as *;
4
5
 
5
6
  @mixin kendo-notification--theme() {
7
+ @include kendo-notification--theme-base();
6
8
 
7
- // Theme
8
- .k-notification {
9
- color: var( --kendo-notification-text, #{$kendo-notification-text} );
10
- background-color: var( --kendo-notification-bg, #{$kendo-notification-bg} );
11
- border-color: var( --kendo-notification-border, #{$kendo-notification-border} );
12
- box-shadow: var( --kendo-notification-box-shadow, #{$kendo-notification-box-shadow} );
13
- }
14
-
15
- @each $theme-color, $color-props in $kendo-notification-theme-colors {
16
- $_text: inherit;
17
- $_bg: map.get( $color-props, bg );
18
- $_border: map.get( $color-props, border );
19
- $_icon: map.get( $color-props, text );
20
-
21
- .k-notification-#{$theme-color} {
22
- --kendo-notification-text: var( --kendo-notification-#{$theme-color}-text, #{$_text} );
23
- --kendo-notification-bg: var( --kendo-notification-#{$theme-color}-bg, #{$_bg} );
24
- --kendo-notification-border: var( --kendo-notification-#{$theme-color}-border, #{$_border} );
25
-
26
- .k-notification-wrap > .k-icon {
27
- --kendo-notification-icon-text: var( --kendo-notification-#{$theme-color}-icon-text, #{$_icon} );
28
- }
29
- }
30
- }
31
-
32
- // Fix for dark notification text color
33
- .k-notification-dark {
34
- --kendo-notification-text: white;
9
+ .k-notification:not(.k-notification-inverse, .k-notification-dark) {
10
+ color: inherit;
35
11
  }
36
12
 
37
13
  }
@@ -1,103 +1,62 @@
1
1
  @use "sass:map";
2
+ @use "./_functions.scss" as *;
2
3
  @use "../core/_index.scss" as *;
3
4
 
4
5
  /// The row-gap between the elements in the Notification group.
5
6
  /// @group notification
6
- $kendo-notification-group-gap: k-spacing(2) !default;
7
+ $kendo-notification-group-gap: var( --kendo-notification-group-gap, #{k-spacing(2)} ) !default;
7
8
 
8
- /// The horizontal padding of the Notification.
9
- /// @group notification
10
- $kendo-notification-padding-x: k-spacing(3) !default;
11
- /// The vertical padding of the Notification.
12
- /// @group notification
13
- $kendo-notification-padding-y: k-spacing(2) !default;
14
- // The width of the border around the Notification.
15
- /// @group notification
16
- $kendo-notification-border-width: 1px !default;
17
- /// The border radius of the Notification.
18
- /// @group notification
19
- $kendo-notification-border-radius: k-spacing(0.5) !default;
20
- /// The font family of the Notification.
21
- /// @group notification
22
- $kendo-notification-font-family: var( --kendo-font-family, inherit ) !default;
23
- /// The font size of the Notification.
24
- /// @group notification
25
- $kendo-notification-font-size: var( --kendo-font-size-sm, inherit ) !default;
26
- /// The line height of the Notification.
27
- /// @group notification
28
- $kendo-notification-line-height: var( --kendo-line-height, normal ) !default;
29
- /// The horizontal padding of the Notification actions.
30
- /// @group notification
31
- $kendo-notification-actions-padding-x: null !default;
32
- /// The vertical padding of the Notification actions.
33
- /// @group notification
34
- $kendo-notification-actions-padding-y: $kendo-notification-actions-padding-x !default;
35
-
36
- /// The background color of the Notification.
37
- /// @group notification
38
- $kendo-notification-bg: k-color(surface-alt) !default;
39
- /// The text color of the Notification.
40
- /// @group notification
41
- $kendo-notification-text: k-color(on-app-surface) !default;
42
- /// The border color of the Notification.
43
- /// @group notification
44
- $kendo-notification-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
45
- /// The box shadow of the Notification.
46
- /// @group notification
47
- $kendo-notification-box-shadow: none !default;
9
+ $kendo-notification-padding-x: var( --kendo-notification-padding-x, #{k-spacing(3)} ) !default;
10
+ $kendo-notification-padding-y: var( --kendo-notification-padding-y, #{k-spacing(2)} ) !default;
11
+ $kendo-notification-border-width: var( --kendo-notification-border-width, 1px ) !default;
12
+ $kendo-notification-border-radius: var( --kendo-notification-border-radius, #{k-spacing(0.5)} ) !default;
13
+ $kendo-notification-font-family: var( --kendo-notification-font-family, var( --kendo-font-family, inherit ) ) !default;
14
+ $kendo-notification-font-size: var( --kendo-notification-font-size, var( --kendo-font-size-sm, inherit ) ) !default;
15
+ $kendo-notification-line-height: var( --kendo-notification-line-height, var( --kendo-line-height, normal ) ) !default;
16
+ $kendo-notification-actions-padding-x: var( --kendo-notification-actions-padding-x, null ) !default;
17
+ $kendo-notification-actions-padding-y: var( --kendo-notification-actions-padding-y, #{$kendo-notification-actions-padding-x} ) !default;
48
18
 
49
- /// The horizontal spacing of the Notification icon.
50
- /// @group notification
51
- $kendo-notification-icon-spacing: k-spacing(2) !default;
19
+ $kendo-notification-bg: var( --kendo-notification-bg, #{k-color(surface-alt)} ) !default;
20
+ $kendo-notification-text: var( --kendo-notification-text, #{k-color(on-app-surface)} ) !default;
21
+ $kendo-notification-border: var( --kendo-notification-border, #{color-mix(in srgb, k-color(border) 16%, transparent)} ) !default;
22
+ $kendo-notification-box-shadow: var( --kendo-notification-box-shadow, none ) !default;
52
23
 
53
- /// The theme variations for the Notification.
54
- /// @group notification
55
- $kendo-notification-brand-colors: (
56
- primary: primary,
57
- error: error,
58
- warning: warning,
59
- success: success,
60
- info: info,
61
- secondary: secondary,
62
- tertiary: tertiary,
63
- ) !default;
64
-
65
- // Matrix with notification theme colors in the order: bg, color, border
66
- $_tc-notification-matrix: (
67
- (normal: (color-subtle, color-on-subtle, color-subtle)),
68
- ) !default;
69
-
70
- $_tc-notification-dark-matrix: (
71
- (normal: (color, on-color, color)),
72
- ) !default;
73
-
74
- $_tc-notification-light-matrix: (
75
- (normal: (color, on-color, color)),
76
- ) !default;
24
+ $kendo-notification-icon-spacing: var( --kendo-notification-icon-spacing, #{k-spacing(2)} ) !default;
77
25
 
78
26
  /// The theme colors map for the Notification variations.
79
27
  /// @group notification
80
- $kendo-notification-theme-colors: () !default;
81
-
82
- @each $ui-states in $_tc-notification-matrix {
83
- @each $brand-color, $palette in $kendo-notification-brand-colors {
84
- $kendo-notification-theme-colors: map.deep-merge(
85
- $kendo-notification-theme-colors,
86
- k-generate-theme-variation( $brand-color, $palette, $ui-states )
87
- );
88
- };
89
- }
90
-
91
- @each $ui-states in $_tc-notification-dark-matrix {
92
- $kendo-notification-theme-colors: map.deep-merge(
93
- $kendo-notification-theme-colors,
94
- k-generate-theme-variation( dark, dark, $ui-states )
95
- );
96
- }
28
+ $kendo-notification-theme-colors: (
29
+ "primary": k-color(primary-subtle),
30
+ "secondary": k-color(secondary-subtle),
31
+ "tertiary": k-color(tertiary-subtle),
32
+ "info": k-color(info-subtle),
33
+ "success": k-color(success-subtle),
34
+ "warning": k-color(warning-subtle),
35
+ "error": k-color(error-subtle),
36
+ "dark": k-color(dark),
37
+ "light": k-color(light),
38
+ "inverse": if($kendo-is-dark-theme, k-color(light), k-color(dark))
39
+ ) !default;
97
40
 
98
- @each $ui-states in $_tc-notification-light-matrix {
99
- $kendo-notification-theme-colors: map.deep-merge(
100
- $kendo-notification-theme-colors,
101
- k-generate-theme-variation( light, light, $ui-states )
102
- );
103
- }
41
+ /// The generated theme colors map for the Notification.
42
+ /// @group notification
43
+ $kendo-notification-theme: notification-theme( $kendo-notification-theme-colors ) !default;
44
+
45
+ @forward "@progress/kendo-theme-core/scss/components/notification/_variables.scss" with (
46
+ $kendo-notification-group-gap: $kendo-notification-group-gap,
47
+ $kendo-notification-padding-x: $kendo-notification-padding-x,
48
+ $kendo-notification-padding-y: $kendo-notification-padding-y,
49
+ $kendo-notification-border-width: $kendo-notification-border-width,
50
+ $kendo-notification-border-radius: $kendo-notification-border-radius,
51
+ $kendo-notification-font-family: $kendo-notification-font-family,
52
+ $kendo-notification-font-size: $kendo-notification-font-size,
53
+ $kendo-notification-line-height: $kendo-notification-line-height,
54
+ $kendo-notification-actions-padding-x: $kendo-notification-actions-padding-x,
55
+ $kendo-notification-actions-padding-y: $kendo-notification-actions-padding-y,
56
+ $kendo-notification-bg: $kendo-notification-bg,
57
+ $kendo-notification-text: $kendo-notification-text,
58
+ $kendo-notification-border: $kendo-notification-border,
59
+ $kendo-notification-icon-spacing: $kendo-notification-icon-spacing,
60
+ $kendo-notification-theme-colors: $kendo-notification-theme-colors,
61
+ $kendo-notification-theme: $kendo-notification-theme
62
+ );
@@ -1,10 +1,6 @@
1
- @mixin kendo-numeric-textbox--layout() {
2
-
3
- // Numeric textbox
4
- .k-numeric-textbox {}
1
+ @use "@progress/kendo-theme-core/scss/components/numerictextbox/_layout.scss" as *;
5
2
 
6
3
 
7
- // Alias
8
- .k-numerictextbox { @extend .k-numeric-textbox !optional; }
9
-
4
+ @mixin kendo-numeric-textbox--layout() {
5
+ @include kendo-numeric-textbox--layout-base();
10
6
  }
@@ -1,6 +1,6 @@
1
- @mixin kendo-numeric-textbox--theme() {
1
+ @use "@progress/kendo-theme-core/scss/components/numerictextbox/_theme.scss" as *;
2
2
 
3
- // Numeric textbox
4
- .k-numeric-textbox {}
5
3
 
4
+ @mixin kendo-numeric-textbox--theme() {
5
+ @include kendo-numeric-textbox--theme-base();
6
6
  }
@@ -1,123 +1,32 @@
1
1
  @use "./_variables.scss" as *;
2
+ @use "@progress/kendo-theme-core/scss/components/orgchart/_layout.scss" as *;
2
3
 
3
4
  @mixin kendo-orgchart--layout() {
5
+ @include kendo-orgchart--layout-base();
4
6
 
5
- .k-orgchart {
6
- width: 100%;
7
- padding-inline: var( --kendo-orgchart-padding-x, #{$kendo-orgchart-padding-x} );
8
- padding-block: var( --kendo-orgchart-padding-y, #{$kendo-orgchart-padding-y} );
9
- box-sizing: border-box;
10
- font-family: var( --kendo-orgchart-font-family, #{$kendo-orgchart-font-family} );
11
- font-size: var( --kendo-orgchart-font-size, #{$kendo-orgchart-font-size} );
12
- line-height: var( --kendo-orgchart-line-height, #{$kendo-orgchart-line-height} );
13
- overflow: auto;
14
7
 
15
- *,
16
- *::before,
17
- *::after {
18
- box-sizing: border-box;
19
- }
20
- }
21
-
22
- .k-orgchart-container {
23
- margin-block: 0;
24
- margin-inline: auto;
25
- width: 100%;
26
- height: 100%;
27
- position: relative;
28
- }
29
-
30
- // Nodes
31
8
  .k-orgchart-group {
32
- gap: var( --kendo-orgchart-group-spacing, #{$kendo-orgchart-group-spacing} );
33
- }
34
-
35
- .k-orgchart-group.k-vstack > .k-orgchart-node-container {
36
- gap: 0;
9
+ gap: $kendo-orgchart-group-spacing;
37
10
  }
38
11
 
39
12
  .k-orgchart-node-container {
40
- gap: var( --kendo-orgchart-node-spacing, #{$kendo-orgchart-node-spacing} );
41
- }
42
-
43
- .k-orgchart-node-group-container {
44
- border-radius: var( --kendo-orgchart-node-group-border-radius, #{$kendo-orgchart-node-group-border-radius} );
45
- padding-inline: var( --kendo-orgchart-node-group-padding-x, #{$kendo-orgchart-node-group-padding-x} );
46
- padding-block: var( --kendo-orgchart-node-group-padding-y, #{$kendo-orgchart-node-group-padding-y} );
47
- border-width: var( --kendo-orgchart-node-group-border-width, #{$kendo-orgchart-node-group-border-width} );
48
- border-style: solid;
49
- outline: 0;
50
- }
51
-
52
- .k-orgchart-node-group-title {
53
- margin-inline: 0;
54
- margin-block-start: 0;
55
- margin-block-end: var( --kendo-orgchart-node-group-title-margin-y, #{$kendo-orgchart-node-group-title-margin-y} );
56
- font-size: var( --kendo-orgchart-node-group-title-font-size, #{$kendo-orgchart-node-group-title-font-size} );
57
- line-height: var( --kendo-orgchart-node-group-title-line-height, #{$kendo-orgchart-node-group-title-line-height} );
58
- }
59
-
60
- .k-orgchart-node-group-subtitle {
61
- margin-inline: 0;
62
- margin-block-start: 0;
63
- margin-block-end: var( --kendo-orgchart-node-group-subtitle-margin-y, #{$kendo-orgchart-node-group-subtitle-margin-y} );
64
- font-size: var( --kendo-orgchart-node-group-subtitle-font-size, #{$kendo-orgchart-node-group-subtitle-font-size} );
13
+ gap: $kendo-orgchart-node-spacing;
65
14
  }
66
15
 
67
- // Card
68
16
  .k-orgchart-card {
69
- width: var( --kendo-orgchart-card-width, #{$kendo-orgchart-card-width} );
70
- border-width: var( --kendo-orgchart-card-border-width, #{$kendo-orgchart-card-border-width} );
71
17
 
72
18
  .k-card-title {
73
- margin-block-end: var( --kendo-orgchart-card-title-margin-y, #{$kendo-orgchart-card-title-margin-y} );
74
- font-size: var( --kendo-orgchart-card-title-font-size, #{$kendo-orgchart-card-title-font-size} );
75
- line-height: var( --kendo-orgchart-card-title-line-height, #{$kendo-orgchart-card-title-line-height} );
19
+ line-height: $kendo-orgchart-card-title-line-height;
76
20
  }
77
-
78
21
  .k-card-subtitle {
79
- margin-block-end: var( --kendo-orgchart-card-subtitle-margin-y, #{$kendo-orgchart-card-subtitle-margin-y} );
80
- font-size: var( --kendo-orgchart-card-subtitle-font-size, #{$kendo-orgchart-card-subtitle-font-size} );
81
- line-height: var( --kendo-orgchart-card-subtitle-line-height, #{$kendo-orgchart-card-subtitle-line-height} );
22
+ line-height: $kendo-orgchart-card-subtitle-line-height;
82
23
  }
83
-
84
24
  .k-card-body {
85
- padding-inline: var( --kendo-orgchart-card-body-padding-x, #{$kendo-orgchart-card-body-padding-x} );
86
- padding-block: var( --kendo-orgchart-card-body-padding-y, #{$kendo-orgchart-card-body-padding-y} );
87
- border-width: var( --kendo-orgchart-card-body-border-width, #{$kendo-orgchart-card-body-border-width} );
88
- border-style: solid;
89
- flex-grow: 0;
25
+ padding-inline: $kendo-orgchart-card-body-padding-x;
26
+ padding-block: $kendo-orgchart-card-body-padding-y;
90
27
  }
91
- .k-card-body .k-card-title-wrap {
92
- margin-inline-end: var( --kendo-orgchart-card-body-vbox-margin-x, #{$kendo-orgchart-card-body-vbox-margin-x} );
93
- min-width: 0;
94
- min-height: var( --kendo-orgchart-card-body-vbox-min-height, #{$kendo-orgchart-card-body-vbox-min-height} );
95
- }
96
-
97
28
  .k-card-title-wrap .k-card-title + .k-spacer {
98
29
  flex: 0;
99
30
  }
100
31
  }
101
-
102
- // Lines
103
- .k-orgchart-line {
104
- background-color: currentColor;
105
- }
106
-
107
- .k-orgchart-line-h {
108
- height: var( --kendo-orgchart-line-size, #{$kendo-orgchart-line-size} );
109
- }
110
-
111
- .k-orgchart-line-v {
112
- margin-block: 0;
113
- margin-inline: auto;
114
- width: var( --kendo-orgchart-line-size, #{$kendo-orgchart-line-size} );
115
- height: var( --kendo-orgchart-line-v-height, #{$kendo-orgchart-line-v-height} );
116
- }
117
-
118
- // Buttons
119
- .k-orgchart-button {
120
- z-index: 1;
121
- }
122
-
123
32
  }
@@ -1,60 +1,19 @@
1
1
  @use "../core/_index.scss" as *;
2
2
  @use "./_variables.scss" as *;
3
+ @use "@progress/kendo-theme-core/scss/components/orgchart/_theme.scss" as *;
3
4
 
4
5
  @mixin kendo-orgchart--theme() {
6
+ @include kendo-orgchart--theme-base();
5
7
 
6
- .k-orgchart {
7
- @include fill (
8
- var( --kendo-orgchart-text, #{$kendo-orgchart-text} ),
9
- var( --kendo-orgchart-bg, #{$kendo-orgchart-bg} ),
10
- var( --kendo-orgchart-border, #{$kendo-orgchart-border} )
11
- );
12
- }
13
-
14
- // Card
15
8
  .k-orgchart-card {
16
- @include box-shadow( var( --kendo-orgchart-card-shadow, #{$kendo-orgchart-card-shadow} ) );
17
-
18
- .k-card-body {
19
- @include fill(
20
- $border: var( --kendo-orgchart-card-body-border-color, #{$kendo-orgchart-card-body-border-color} )
21
- );
22
- }
23
-
24
9
  &:focus,
25
10
  &.k-focus {
26
- @include box-shadow( var( --kendo-orgchart-card-focus-shadow, #{$kendo-orgchart-card-focus-shadow} ) );
11
+ @include box-shadow( $kendo-orgchart-card-focus-shadow );
27
12
  }
28
13
  }
29
14
 
30
- // Group
31
- .k-orgchart-node-group-container {
32
- @include fill (
33
- var( --kendo-orgchart-node-group-text, #{$kendo-orgchart-node-group-text} ),
34
- var( --kendo-orgchart-node-group-bg, #{$kendo-orgchart-node-group-bg} ),
35
- var( --kendo-orgchart-node-group-border, #{$kendo-orgchart-node-group-border} )
36
- );
37
- }
38
15
  .k-orgchart-node-group-container:focus,
39
16
  .k-orgchart-node-group-container.k-focus {
40
- @include box-shadow( var( --kendo-orgchart-node-group-focus-shadow, #{$kendo-orgchart-node-group-focus-shadow} ) );
41
- @include fill (
42
- $border: var( --kendo-orgchart-node-group-focus-border, #{$kendo-orgchart-node-group-focus-border} )
43
- );
17
+ @include box-shadow( $kendo-orgchart-node-group-focus-shadow );
44
18
  }
45
-
46
- .k-orgchart-node-group-subtitle {
47
- @include fill(
48
- $color: var( --kendo-orgchart-node-group-subtitle-text, #{$kendo-orgchart-node-group-subtitle-text} )
49
- );
50
- }
51
-
52
- // Lines
53
- .k-orgchart-line-h,
54
- .k-orgchart-line-v {
55
- @include fill(
56
- $color: var( --kendo-orgchart-line-text, #{$kendo-orgchart-line-text} )
57
- );
58
- }
59
-
60
19
  }