@progress/kendo-theme-fluent 6.5.0-dev.0 → 6.5.0-dev.2
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.
- package/dist/all.css +13080 -13001
- package/dist/meta/sassdoc-data.json +6515 -4671
- package/dist/meta/sassdoc-raw-data.json +8442 -7517
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +4 -4
- package/scss/action-sheet/_layout.scss +7 -0
- package/scss/action-sheet/_variables.scss +4 -1
- package/scss/adaptive/_variables.scss +4 -4
- package/scss/appbar/_variables.scss +35 -34
- package/scss/avatar/_variables.scss +5 -5
- package/scss/badge/_variables.scss +5 -5
- package/scss/bottom-navigation/_variables.scss +44 -48
- package/scss/breadcrumb/_layout.scss +37 -10
- package/scss/breadcrumb/_variables.scss +126 -35
- package/scss/button/_variables.scss +11 -11
- package/scss/calendar/_layout.scss +1 -1
- package/scss/calendar/_variables.scss +11 -11
- package/scss/card/_variables.scss +2 -2
- package/scss/chat/_variables.scss +8 -8
- package/scss/checkbox/_variables.scss +16 -16
- package/scss/chip/_variables.scss +12 -12
- package/scss/color-preview/_variables.scss +4 -4
- package/scss/coloreditor/_variables.scss +31 -32
- package/scss/colorgradient/_variables.scss +74 -74
- package/scss/colorpalette/_variables.scss +17 -17
- package/scss/core/_index.scss +6 -11
- package/scss/core/_variables.scss +1 -79
- package/scss/core/color-system/_index.scss +0 -2
- package/scss/core/color-system/utils/_functions.scss +4 -66
- package/scss/core/helpers/_index.scss +0 -4
- package/scss/dataviz/_layout.scss +5 -5
- package/scss/dataviz/_variables.scss +37 -37
- package/scss/daterangepicker/_theme.scss +1 -1
- package/scss/dialog/_variables.scss +20 -20
- package/scss/draggable/_variables.scss +2 -2
- package/scss/drawer/_variables.scss +9 -9
- package/scss/dropzone/_variables.scss +3 -3
- package/scss/editor/_variables.scss +38 -32
- package/scss/expansion-panel/_variables.scss +41 -38
- package/scss/fab/_theme.scss +1 -1
- package/scss/fab/_variables.scss +8 -8
- package/scss/filter/_variables.scss +15 -15
- package/scss/forms/_variables.scss +2 -2
- package/scss/gantt/_layout.scss +2 -2
- package/scss/gantt/_variables.scss +22 -22
- package/scss/grid/_theme.scss +2 -2
- package/scss/grid/_variables.scss +11 -11
- package/scss/imageeditor/_variables.scss +2 -2
- package/scss/index.scss +3 -0
- package/scss/input/_variables.scss +42 -42
- package/scss/list/_variables.scss +14 -14
- package/scss/listbox/_variables.scss +16 -17
- package/scss/listgroup/_variables.scss +1 -1
- package/scss/listview/_variables.scss +37 -37
- package/scss/loader/_variables.scss +70 -24
- package/scss/map/_variables.scss +4 -4
- package/scss/mediaplayer/_variables.scss +2 -2
- package/scss/menu/_variables.scss +3 -3
- package/scss/notification/_variables.scss +22 -20
- package/scss/orgchart/_variables.scss +5 -5
- package/scss/pager/_variables.scss +4 -4
- package/scss/panelbar/_variables.scss +3 -3
- package/scss/pdf-viewer/_variables.scss +2 -2
- package/scss/pivotgrid/_variables.scss +4 -4
- package/scss/popover/_variables.scss +34 -34
- package/scss/popup/_variables.scss +1 -1
- package/scss/progressbar/_variables.scss +51 -55
- package/scss/radio/_variables.scss +10 -10
- package/scss/rating/_theme.scss +1 -1
- package/scss/rating/_variables.scss +4 -4
- package/scss/scheduler/_theme.scss +1 -1
- package/scss/scheduler/_variables.scss +9 -9
- package/scss/scrollview/_variables.scss +42 -52
- package/scss/searchbox/_variables.scss +1 -1
- package/scss/signature/_variables.scss +2 -2
- package/scss/skeleton/_variables.scss +4 -4
- package/scss/slider/_variables.scss +11 -11
- package/scss/split-button/_variables.scss +1 -1
- package/scss/splitter/_variables.scss +3 -3
- package/scss/spreadsheet/_variables.scss +17 -17
- package/scss/stepper/_variables.scss +8 -8
- package/scss/switch/_variables.scss +17 -17
- package/scss/table/_variables.scss +3 -3
- package/scss/tabstrip/_variables.scss +5 -5
- package/scss/taskboard/_variables.scss +5 -5
- package/scss/tilelayout/_variables.scss +9 -9
- package/scss/timeline/_variables.scss +7 -7
- package/scss/timeselector/_layout.scss +1 -1
- package/scss/timeselector/_theme.scss +1 -1
- package/scss/toolbar/_variables.scss +3 -3
- package/scss/tooltip/_variables.scss +4 -4
- package/scss/treeview/_variables.scss +2 -2
- package/scss/upload/_variables.scss +39 -39
- package/scss/utils/_layout.scss +6 -4
- package/scss/window/_variables.scss +45 -45
- package/scss/wizard/_variables.scss +1 -1
- package/scss/core/_layout.scss +0 -13
- package/scss/core/_theme.scss +0 -9
- package/scss/core/color-system/_variables.scss +0 -172
- package/scss/core/functions/_index.scss +0 -3
- package/scss/core/functions/_strings.scss +0 -37
- package/scss/core/helpers/_base.scss +0 -136
- package/scss/core/helpers/_layout.scss +0 -64
- package/scss/core/helpers/_loading.scss +0 -120
- package/scss/core/helpers/_selection.scss +0 -27
- package/scss/core/mixins/_border-radius.scss +0 -60
- package/scss/core/mixins/_box-shadow.scss +0 -8
- package/scss/core/mixins/_decoration.scss +0 -30
- package/scss/core/mixins/_disabled.scss +0 -10
- package/scss/core/mixins/_hide-scrollbar.scss +0 -14
- package/scss/core/mixins/_index.scss +0 -6
- package/scss/core/mixins/_typography.scss +0 -7
package/lib/swatches/all.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-fluent",
|
|
3
3
|
"description": "A css variables based theme for Kendo UI that follows the Fluent design system guidelines.",
|
|
4
|
-
"version": "6.5.0-dev.
|
|
4
|
+
"version": "6.5.0-dev.2",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@progress/kendo-font-icons": "1.5.0",
|
|
55
|
-
"@progress/kendo-theme-core": "6.5.0-dev.
|
|
56
|
-
"@progress/kendo-theme-utils": "6.5.0-dev.
|
|
55
|
+
"@progress/kendo-theme-core": "6.5.0-dev.2",
|
|
56
|
+
"@progress/kendo-theme-utils": "6.5.0-dev.2"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "a2917c47e4830e54fac051c80e5ae9d26f894fa7"
|
|
59
59
|
}
|
|
@@ -260,6 +260,7 @@
|
|
|
260
260
|
.k-adaptive-actionsheet {
|
|
261
261
|
max-width: 100%;
|
|
262
262
|
width: 100%;
|
|
263
|
+
font-size: $kendo-adaptive-actionsheet-font-size;
|
|
263
264
|
|
|
264
265
|
// TMP: this should be moved to action sheet
|
|
265
266
|
display: flex;
|
|
@@ -299,6 +300,12 @@
|
|
|
299
300
|
padding-inline: 0;
|
|
300
301
|
}
|
|
301
302
|
|
|
303
|
+
.k-menu-group {
|
|
304
|
+
height: 100%;
|
|
305
|
+
overflow: auto;
|
|
306
|
+
position: static;
|
|
307
|
+
}
|
|
308
|
+
|
|
302
309
|
.k-calendar {
|
|
303
310
|
margin-inline: auto;
|
|
304
311
|
border-width: 0;
|
|
@@ -114,7 +114,7 @@ $kendo-actionsheet-item-spacing: map.get( $kendo-spacing, 2 ) !default;
|
|
|
114
114
|
|
|
115
115
|
/// Color of the action sheet item icon.
|
|
116
116
|
/// @group action-sheet
|
|
117
|
-
$kendo-actionsheet-item-icon-color: get-theme-color-var( primary-110 ) !default;
|
|
117
|
+
$kendo-actionsheet-item-icon-color: k-get-theme-color-var( primary-110 ) !default;
|
|
118
118
|
|
|
119
119
|
/// Font weight of the action sheet item text.
|
|
120
120
|
/// @group action-sheet
|
|
@@ -179,6 +179,9 @@ $kendo-actionsheet-item-disabled-border: var( --kendo-disabled-border, inherit )
|
|
|
179
179
|
|
|
180
180
|
// Adaptive Actionsheet
|
|
181
181
|
|
|
182
|
+
/// Font size of the adaptive action sheet.
|
|
183
|
+
$kendo-adaptive-actionsheet-font-size: $kendo-font-size-lg !default;
|
|
184
|
+
|
|
182
185
|
/// Border width of the adaptive action sheet titlebar.
|
|
183
186
|
/// @group action-sheet
|
|
184
187
|
$kendo-adaptive-actionsheet-header-border-width: 1px !default;
|
|
@@ -9,10 +9,10 @@ $kendo-adaptive-border: var( --kendo-component-border, inherit ) !default;
|
|
|
9
9
|
$kendo-adaptive-content-bg: var( --kendo-component-bg, inherit ) !default;
|
|
10
10
|
$kendo-adaptive-content-text: var( --kendo-component-text, inherit ) !default;
|
|
11
11
|
|
|
12
|
-
$kendo-adaptive-menu-bg: get-theme-color-var( primary-100 ) !default;
|
|
12
|
+
$kendo-adaptive-menu-bg: k-get-theme-color-var( primary-100 ) !default;
|
|
13
13
|
$kendo-adaptive-menu-text: $kendo-color-white !default;
|
|
14
14
|
|
|
15
|
-
$kendo-adaptive-menu-clear-text: get-theme-color-var( primary-100 ) !default;
|
|
15
|
+
$kendo-adaptive-menu-clear-text: k-get-theme-color-var( primary-100 ) !default;
|
|
16
16
|
|
|
17
17
|
$kendo-adaptive-menu-item-border: var( --kendo-component-border, inherit ) !default;
|
|
18
18
|
$kendo-adaptive-menu-title-text: var( --kendo-component-text, inherit ) !default;
|
|
@@ -24,10 +24,10 @@ $kendo-adaptive-line-height: var( --kendo-line-height, normal ) !default;
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
// Adaptive Grid
|
|
27
|
-
$kendo-adaptive-grid-sort-text: get-theme-color-var( primary-100 ) !default;
|
|
27
|
+
$kendo-adaptive-grid-sort-text: k-get-theme-color-var( primary-100 ) !default;
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
// Adaptive Scheduler
|
|
31
|
-
$kendo-adaptive-scheduler-current-text: get-theme-color-var( primary-100 ) !default;
|
|
31
|
+
$kendo-adaptive-scheduler-current-text: k-get-theme-color-var( primary-100 ) !default;
|
|
32
32
|
$kendo-adaptive-scheduler-base-text: inherit !default;
|
|
33
33
|
$kendo-adaptive-scheduler-subtle-text: var( --kendo-subtle-text, inherit ) !default;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/" as *;
|
|
3
3
|
|
|
4
|
-
///
|
|
4
|
+
/// The horizontal margin of the AppBar.
|
|
5
5
|
/// @group appbar
|
|
6
|
-
$kendo-appbar-
|
|
7
|
-
///
|
|
8
|
-
/// @group appbar
|
|
9
|
-
$kendo-appbar-text: var( --kendo-component-text, initial ) !default;
|
|
10
|
-
/// Border color of the appbar.
|
|
11
|
-
/// @group appbar
|
|
12
|
-
$kendo-appbar-border: var( --kendo-component-border, initial ) !default;
|
|
13
|
-
|
|
14
|
-
/// Vertical margin of the appbar.
|
|
6
|
+
$kendo-appbar-margin-x: 0 !default;
|
|
7
|
+
/// The vertical margin of the AppBar.
|
|
15
8
|
/// @group appbar
|
|
16
9
|
$kendo-appbar-margin-y: 0 !default;
|
|
17
|
-
///
|
|
10
|
+
/// The horizontal padding of the AppBar.
|
|
18
11
|
/// @group appbar
|
|
19
|
-
$kendo-appbar-
|
|
20
|
-
///
|
|
12
|
+
$kendo-appbar-padding-x: map.get( $kendo-spacing, 2 ) !default;
|
|
13
|
+
/// The vertical padding of the AppBar.
|
|
21
14
|
/// @group appbar
|
|
22
15
|
$kendo-appbar-padding-y: map.get( $kendo-spacing, 2 ) !default;
|
|
23
|
-
///
|
|
24
|
-
/// @group appbar
|
|
25
|
-
$kendo-appbar-padding-x: map.get( $kendo-spacing, 2 ) !default;
|
|
26
|
-
/// Width of the border around the appbar.
|
|
16
|
+
/// The width of the border around the AppBar.
|
|
27
17
|
/// @group appbar
|
|
28
18
|
$kendo-appbar-border-width: 0px !default;
|
|
29
|
-
|
|
30
|
-
/// Z-index of the appbar.
|
|
19
|
+
/// The z-index of the AppBar.
|
|
31
20
|
/// @group appbar
|
|
32
21
|
$kendo-appbar-zindex: 1000 !default;
|
|
33
|
-
|
|
34
|
-
///
|
|
22
|
+
/// The font family of the AppBar.
|
|
23
|
+
/// @group appbar
|
|
24
|
+
$kendo-appbar-font-family: var( --kendo-font-family, inherit ) !default;
|
|
25
|
+
/// The font size of the AppBar.
|
|
35
26
|
/// @group appbar
|
|
36
27
|
$kendo-appbar-font-size: var( --kendo-font-size, inherit ) !default;
|
|
37
|
-
///
|
|
28
|
+
/// The line height of the AppBar.
|
|
38
29
|
/// @group appbar
|
|
39
30
|
$kendo-appbar-line-height: var( --kendo-line-height, normal ) !default;
|
|
40
|
-
|
|
41
|
-
///
|
|
42
|
-
$kendo-appbar-font-family: var( --kendo-font-family, inherit ) !default;
|
|
43
|
-
/// Content spacing of the appbar.
|
|
31
|
+
|
|
32
|
+
/// The spacing between the AppBar sections.
|
|
44
33
|
/// @group appbar
|
|
45
34
|
$kendo-appbar-spacing: map.get( $kendo-spacing, 2 ) !default;
|
|
46
35
|
|
|
47
|
-
///
|
|
36
|
+
/// The text color of the AppBar.
|
|
37
|
+
/// @group appbar
|
|
38
|
+
$kendo-appbar-text: var( --kendo-component-text, initial ) !default;
|
|
39
|
+
/// The background color of the AppBar.
|
|
40
|
+
/// @group appbar
|
|
41
|
+
$kendo-appbar-bg: k-get-theme-color-var( neutral-10 ) !default;
|
|
42
|
+
/// The border color of the AppBar.
|
|
43
|
+
/// @group appbar
|
|
44
|
+
$kendo-appbar-border: var( --kendo-component-border, initial ) !default;
|
|
45
|
+
|
|
46
|
+
/// The theme variations for the AppBar.
|
|
47
|
+
/// @group appbar
|
|
48
48
|
$kendo-appbar-brand-colors: (
|
|
49
49
|
primary: primary,
|
|
50
50
|
error: error,
|
|
@@ -60,7 +60,7 @@ $_tc-appbar-matrix: (
|
|
|
60
60
|
) !default;
|
|
61
61
|
|
|
62
62
|
$_tc-appbar-warning-matrix: (
|
|
63
|
-
(normal: (100, get-theme-color-var( neutral-160 ), 100)),
|
|
63
|
+
(normal: (100, k-get-theme-color-var( neutral-160 ), 100)),
|
|
64
64
|
) !default;
|
|
65
65
|
|
|
66
66
|
$_tc-appbar-dark-matrix: (
|
|
@@ -71,14 +71,15 @@ $_tc-appbar-light-matrix: (
|
|
|
71
71
|
(normal: (50, 160, 50)),
|
|
72
72
|
) !default;
|
|
73
73
|
|
|
74
|
-
///
|
|
74
|
+
/// The theme colors map for the AppBar variations.
|
|
75
|
+
/// @group appbar
|
|
75
76
|
$kendo-appbar-theme-colors: () !default;
|
|
76
77
|
|
|
77
78
|
@each $ui-states in $_tc-appbar-matrix {
|
|
78
79
|
@each $brand-color, $palette in $kendo-appbar-brand-colors {
|
|
79
80
|
$kendo-appbar-theme-colors: map.deep-merge(
|
|
80
81
|
$kendo-appbar-theme-colors,
|
|
81
|
-
generate-theme-variation( $brand-color, $palette, $ui-states )
|
|
82
|
+
k-generate-theme-variation( $brand-color, $palette, $ui-states )
|
|
82
83
|
);
|
|
83
84
|
};
|
|
84
85
|
}
|
|
@@ -86,20 +87,20 @@ $kendo-appbar-theme-colors: () !default;
|
|
|
86
87
|
@each $ui-states in $_tc-appbar-warning-matrix {
|
|
87
88
|
$kendo-appbar-theme-colors: map.deep-merge(
|
|
88
89
|
$kendo-appbar-theme-colors,
|
|
89
|
-
generate-theme-variation( warning, warning, $ui-states )
|
|
90
|
+
k-generate-theme-variation( warning, warning, $ui-states )
|
|
90
91
|
);
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
@each $ui-states in $_tc-appbar-dark-matrix {
|
|
94
95
|
$kendo-appbar-theme-colors: map.deep-merge(
|
|
95
96
|
$kendo-appbar-theme-colors,
|
|
96
|
-
generate-theme-variation( dark, neutral, $ui-states )
|
|
97
|
+
k-generate-theme-variation( dark, neutral, $ui-states )
|
|
97
98
|
);
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
@each $ui-states in $_tc-appbar-light-matrix {
|
|
101
102
|
$kendo-appbar-theme-colors: map.deep-merge(
|
|
102
103
|
$kendo-appbar-theme-colors,
|
|
103
|
-
generate-theme-variation( light, neutral, $ui-states )
|
|
104
|
+
k-generate-theme-variation( light, neutral, $ui-states )
|
|
104
105
|
);
|
|
105
|
-
}
|
|
106
|
+
}
|
|
@@ -46,7 +46,7 @@ $_tc-avatar-matrix: (
|
|
|
46
46
|
|
|
47
47
|
$_tc-avatar-warning-matrix: (
|
|
48
48
|
solid: (
|
|
49
|
-
normal: (100, get-theme-color-var( neutral-160 ), 100)
|
|
49
|
+
normal: (100, k-get-theme-color-var( neutral-160 ), 100)
|
|
50
50
|
),
|
|
51
51
|
outline: (
|
|
52
52
|
normal: ($kendo-color-white, 100, 100)
|
|
@@ -79,7 +79,7 @@ $kendo-avatar-theme-colors: () !default;
|
|
|
79
79
|
@each $brand-color, $palette in $kendo-avatar-brand-colors {
|
|
80
80
|
$kendo-avatar-theme-colors: map.deep-merge(
|
|
81
81
|
$kendo-avatar-theme-colors,
|
|
82
|
-
generate-fill-mode-theme-variation( $fill-mode, $brand-color, $palette, $ui-states )
|
|
82
|
+
k-generate-fill-mode-theme-variation( $fill-mode, $brand-color, $palette, $ui-states )
|
|
83
83
|
);
|
|
84
84
|
};
|
|
85
85
|
}
|
|
@@ -87,20 +87,20 @@ $kendo-avatar-theme-colors: () !default;
|
|
|
87
87
|
@each $fill-mode, $ui-states in $_tc-avatar-warning-matrix {
|
|
88
88
|
$kendo-avatar-theme-colors: map.deep-merge(
|
|
89
89
|
$kendo-avatar-theme-colors,
|
|
90
|
-
generate-fill-mode-theme-variation( $fill-mode, warning, warning, $ui-states )
|
|
90
|
+
k-generate-fill-mode-theme-variation( $fill-mode, warning, warning, $ui-states )
|
|
91
91
|
);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@each $fill-mode, $ui-states in $_tc-avatar-dark-matrix {
|
|
95
95
|
$kendo-avatar-theme-colors: map.deep-merge(
|
|
96
96
|
$kendo-avatar-theme-colors,
|
|
97
|
-
generate-fill-mode-theme-variation( $fill-mode, dark, neutral, $ui-states )
|
|
97
|
+
k-generate-fill-mode-theme-variation( $fill-mode, dark, neutral, $ui-states )
|
|
98
98
|
);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
@each $fill-mode, $ui-states in $_tc-avatar-light-matrix {
|
|
102
102
|
$kendo-avatar-theme-colors: map.deep-merge(
|
|
103
103
|
$kendo-avatar-theme-colors,
|
|
104
|
-
generate-fill-mode-theme-variation( $fill-mode, light, neutral, $ui-states )
|
|
104
|
+
k-generate-fill-mode-theme-variation( $fill-mode, light, neutral, $ui-states )
|
|
105
105
|
);
|
|
106
106
|
}
|
|
@@ -120,7 +120,7 @@ $_tc-badge-matrix: (
|
|
|
120
120
|
|
|
121
121
|
$_tc-badge-warning-matrix: (
|
|
122
122
|
solid: (
|
|
123
|
-
normal: (100, get-theme-color-var( neutral-160 ), 100)
|
|
123
|
+
normal: (100, k-get-theme-color-var( neutral-160 ), 100)
|
|
124
124
|
),
|
|
125
125
|
outline: (
|
|
126
126
|
normal: ($kendo-color-white, 100, 100)
|
|
@@ -153,7 +153,7 @@ $kendo-badge-theme-colors: () !default;
|
|
|
153
153
|
@each $brand-color, $palette in $kendo-badge-brand-colors {
|
|
154
154
|
$kendo-badge-theme-colors: map.deep-merge(
|
|
155
155
|
$kendo-badge-theme-colors,
|
|
156
|
-
generate-fill-mode-theme-variation( $fill-mode, $brand-color, $palette, $ui-states )
|
|
156
|
+
k-generate-fill-mode-theme-variation( $fill-mode, $brand-color, $palette, $ui-states )
|
|
157
157
|
);
|
|
158
158
|
};
|
|
159
159
|
}
|
|
@@ -161,20 +161,20 @@ $kendo-badge-theme-colors: () !default;
|
|
|
161
161
|
@each $fill-mode, $ui-states in $_tc-badge-warning-matrix {
|
|
162
162
|
$kendo-badge-theme-colors: map.deep-merge(
|
|
163
163
|
$kendo-badge-theme-colors,
|
|
164
|
-
generate-fill-mode-theme-variation( $fill-mode, warning, warning, $ui-states )
|
|
164
|
+
k-generate-fill-mode-theme-variation( $fill-mode, warning, warning, $ui-states )
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
@each $fill-mode, $ui-states in $_tc-badge-dark-matrix {
|
|
169
169
|
$kendo-badge-theme-colors: map.deep-merge(
|
|
170
170
|
$kendo-badge-theme-colors,
|
|
171
|
-
generate-fill-mode-theme-variation( $fill-mode, dark, neutral, $ui-states )
|
|
171
|
+
k-generate-fill-mode-theme-variation( $fill-mode, dark, neutral, $ui-states )
|
|
172
172
|
);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
@each $fill-mode, $ui-states in $_tc-badge-light-matrix {
|
|
176
176
|
$kendo-badge-theme-colors: map.deep-merge(
|
|
177
177
|
$kendo-badge-theme-colors,
|
|
178
|
-
generate-fill-mode-theme-variation( $fill-mode, light, neutral, $ui-states )
|
|
178
|
+
k-generate-fill-mode-theme-variation( $fill-mode, light, neutral, $ui-states )
|
|
179
179
|
);
|
|
180
180
|
}
|
|
@@ -1,74 +1,69 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/" as *;
|
|
3
3
|
|
|
4
|
-
///
|
|
4
|
+
/// The horizontal padding of the BottomNavigation.
|
|
5
5
|
/// @group bottom-navigation
|
|
6
6
|
$kendo-bottom-nav-padding-x: map.get( $kendo-spacing, 1.5 ) !default;
|
|
7
|
-
///
|
|
7
|
+
/// The vertical padding of the BottomNavigation.
|
|
8
8
|
/// @group bottom-navigation
|
|
9
9
|
$kendo-bottom-nav-padding-y: $kendo-bottom-nav-padding-x !default;
|
|
10
|
-
///
|
|
10
|
+
/// The spacing between the BottomNavigation items.
|
|
11
11
|
/// @group bottom-navigation
|
|
12
12
|
$kendo-bottom-nav-gap: $kendo-bottom-nav-padding-x !default;
|
|
13
|
-
///
|
|
13
|
+
/// The width of the border around the BottomNavigation.
|
|
14
14
|
/// @group bottom-navigation
|
|
15
15
|
$kendo-bottom-nav-border-width: 1px 0px 0px 0px !default;
|
|
16
|
-
///
|
|
16
|
+
/// The font family of the BottomNavigation.
|
|
17
17
|
/// @group bottom-navigation
|
|
18
18
|
$kendo-bottom-nav-font-family: var( --kendo-font-family, inherit) !default;
|
|
19
|
-
///
|
|
19
|
+
/// The font size of the BottomNavigation.
|
|
20
20
|
/// @group bottom-navigation
|
|
21
21
|
$kendo-bottom-nav-font-size: var( --kendo-font-size-md, 1rem ) !default;
|
|
22
|
-
///
|
|
22
|
+
/// The line height of the BottomNavigation.
|
|
23
23
|
/// @group bottom-navigation
|
|
24
24
|
$kendo-bottom-nav-line-height: var( --kendo-line-height-md, normal ) !default;
|
|
25
|
-
///
|
|
25
|
+
/// The letter spacing of the BottomNavigation.
|
|
26
26
|
/// @group bottom-navigation
|
|
27
27
|
$kendo-bottom-nav-letter-spacing: .2px !default;
|
|
28
28
|
|
|
29
|
-
///
|
|
29
|
+
/// The horizontal padding of the BottomNavigation item.
|
|
30
30
|
/// @group bottom-navigation
|
|
31
31
|
$kendo-bottom-nav-item-padding-x: map.get( $kendo-spacing, 2 ) !default;
|
|
32
|
-
///
|
|
32
|
+
/// The vertical padding of the BottomNavigation item.
|
|
33
33
|
/// @group bottom-navigation
|
|
34
34
|
$kendo-bottom-nav-item-padding-y: map.get( $kendo-spacing, 0.5 ) !default;
|
|
35
|
-
///
|
|
35
|
+
/// The minimum width of the BottomNavigation item.
|
|
36
36
|
/// @group bottom-navigation
|
|
37
37
|
$kendo-bottom-nav-item-min-width: 72px !default;
|
|
38
|
-
///
|
|
38
|
+
/// The maximum width of the BottomNavigation item.
|
|
39
39
|
/// @group bottom-navigation
|
|
40
40
|
$kendo-bottom-nav-item-max-width: none !default;
|
|
41
|
-
///
|
|
41
|
+
/// The minimum height of the BottomNavigation item.
|
|
42
42
|
/// @group bottom-navigation
|
|
43
43
|
$kendo-bottom-nav-item-min-height: calc( var( --kendo-icon-size, 1.5rem ) * 2 + (#{$kendo-bottom-nav-item-padding-y} * 2) ) !default;
|
|
44
|
-
///
|
|
44
|
+
/// The border radius of the BottomNavigation item.
|
|
45
45
|
/// @group bottom-navigation
|
|
46
|
-
$kendo-bottom-nav-item-border-radius: var( --kendo-border-radius-md,
|
|
47
|
-
///
|
|
46
|
+
$kendo-bottom-nav-item-border-radius: var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) !default;
|
|
47
|
+
/// The spacing of the BottomNavigation item.
|
|
48
48
|
/// @group bottom-navigation
|
|
49
49
|
$kendo-bottom-nav-item-gap: map.get( $kendo-spacing, 1 ) !default;
|
|
50
|
-
|
|
51
|
-
///
|
|
50
|
+
|
|
51
|
+
/// The offset of the focused BottomNavigation item.
|
|
52
|
+
/// @group bottom-navigation
|
|
52
53
|
$kendo-bottom-nav-item-focus-offset: map.get( $kendo-spacing, 0.5 ) !default;
|
|
53
|
-
///
|
|
54
|
-
/// @group bottom-
|
|
54
|
+
/// The outline width of the focused BottomNavigation item.
|
|
55
|
+
/// @group bottom-navigation
|
|
55
56
|
$kendo-bottom-nav-item-focus-outline-width: 1px !default;
|
|
56
|
-
///
|
|
57
|
-
/// @group bottom-
|
|
57
|
+
/// The outline style of the focused BottomNavigation item.
|
|
58
|
+
/// @group bottom-navigation
|
|
58
59
|
$kendo-bottom-nav-item-focus-outline-style: solid !default;
|
|
59
60
|
|
|
60
|
-
///
|
|
61
|
-
/// @group bottom-
|
|
62
|
-
$kendo-bottom-nav-item-icon-margin-y: map.get( $kendo-spacing, 2 ) !default;
|
|
63
|
-
/// Horizontal margin of the focused bottom navigation item icon.
|
|
64
|
-
/// @group bottom-nav
|
|
65
|
-
$kendo-bottom-nav-item-icon-margin-x: $kendo-bottom-nav-item-icon-margin-y !default;
|
|
66
|
-
|
|
67
|
-
/// Box shadow of the bottom navigation.
|
|
68
|
-
/// @group bottom-nav
|
|
61
|
+
/// The box shadow of the BottomNavigation.
|
|
62
|
+
/// @group bottom-navigation
|
|
69
63
|
$kendo-bottom-nav-shadow: var( --kendo-box-shadow-depth-1, none ) !default;
|
|
70
64
|
|
|
71
|
-
|
|
65
|
+
/// The theme variations for the BottomNavigation.
|
|
66
|
+
/// @group bottom-navigation
|
|
72
67
|
$kendo-bottom-nav-brand-colors: (
|
|
73
68
|
primary: primary,
|
|
74
69
|
error: error,
|
|
@@ -78,7 +73,7 @@ $kendo-bottom-nav-brand-colors: (
|
|
|
78
73
|
tertiary: tertiary,
|
|
79
74
|
) !default;
|
|
80
75
|
|
|
81
|
-
// Matrix with
|
|
76
|
+
// Matrix with BottomNavigation theme colors in the order: bg, color, border
|
|
82
77
|
$_tc-bottom-nav-matrix: (
|
|
83
78
|
solid: (
|
|
84
79
|
normal: (100, $kendo-color-white, 100),
|
|
@@ -87,7 +82,7 @@ $_tc-bottom-nav-matrix: (
|
|
|
87
82
|
disabled: ( inherit, 40, var( --kendo-disabled-border, inherit ))
|
|
88
83
|
),
|
|
89
84
|
flat: (
|
|
90
|
-
normal: ($kendo-color-white, get-theme-color-var( neutral-130 ), get-theme-color-var( neutral-30 )),
|
|
85
|
+
normal: ($kendo-color-white, k-get-theme-color-var( neutral-130 ), k-get-theme-color-var( neutral-30 )),
|
|
91
86
|
focus: (inherit, 100, transparent, 100),
|
|
92
87
|
active: (inherit, 100, transparent),
|
|
93
88
|
disabled: (initial, var( --kendo-disabled-text, inherit ), initial)
|
|
@@ -96,13 +91,13 @@ $_tc-bottom-nav-matrix: (
|
|
|
96
91
|
|
|
97
92
|
$_tc-bottom-nav-warning-matrix: (
|
|
98
93
|
solid: (
|
|
99
|
-
normal: (100, get-theme-color-var( neutral-160 ), 100),
|
|
100
|
-
focus: (100, get-theme-color-var( neutral-160 ), 100, $kendo-color-white),
|
|
101
|
-
active: (120, get-theme-color-var( neutral-190 ), 120),
|
|
102
|
-
disabled: (inherit, get-theme-color-var( neutral-120 ), var( --kendo-disabled-border, inherit ))
|
|
94
|
+
normal: (100, k-get-theme-color-var( neutral-160 ), 100),
|
|
95
|
+
focus: (100, k-get-theme-color-var( neutral-160 ), 100, $kendo-color-white),
|
|
96
|
+
active: (120, k-get-theme-color-var( neutral-190 ), 120),
|
|
97
|
+
disabled: (inherit, k-get-theme-color-var( neutral-120 ), var( --kendo-disabled-border, inherit ))
|
|
103
98
|
),
|
|
104
99
|
flat: (
|
|
105
|
-
normal: ($kendo-color-white, get-theme-color-var( neutral-130 ), 100),
|
|
100
|
+
normal: ($kendo-color-white, k-get-theme-color-var( neutral-130 ), 100),
|
|
106
101
|
focus: (inherit, 100, transparent, 100),
|
|
107
102
|
active: (inherit, 100, transparent),
|
|
108
103
|
disabled: (initial, var( --kendo-disabled-text, inherit ), initial)
|
|
@@ -117,7 +112,7 @@ $_tc-bottom-nav-dark-matrix: (
|
|
|
117
112
|
disabled: (inherit, 60 , var( --kendo-disabled-border, inherit ))
|
|
118
113
|
),
|
|
119
114
|
flat: (
|
|
120
|
-
normal: ($kendo-color-white, get-theme-color-var( neutral-130 ), get-theme-color-var( neutral-140 )),
|
|
115
|
+
normal: ($kendo-color-white, k-get-theme-color-var( neutral-130 ), k-get-theme-color-var( neutral-140 )),
|
|
121
116
|
focus: (inherit, 160, transparent, 130),
|
|
122
117
|
active: (inherit, 170, transparent),
|
|
123
118
|
disabled: (inherit, var( --kendo-disabled-text, inherit ), initial)
|
|
@@ -126,27 +121,28 @@ $_tc-bottom-nav-dark-matrix: (
|
|
|
126
121
|
|
|
127
122
|
$_tc-bottom-nav-light-matrix: (
|
|
128
123
|
solid: (
|
|
129
|
-
normal: (50, get-theme-color-var( neutral-160 ), 50),
|
|
124
|
+
normal: (50, k-get-theme-color-var( neutral-160 ), 50),
|
|
130
125
|
focus: (50, 190, 50, $kendo-color-white),
|
|
131
126
|
active: (70, 190, 70),
|
|
132
127
|
disabled: (inherit, 120 , var( --kendo-disabled-border, inherit ))
|
|
133
128
|
),
|
|
134
129
|
flat: (
|
|
135
|
-
normal: ($kendo-color-white, get-theme-color-var( neutral-130 ), transparent),
|
|
130
|
+
normal: ($kendo-color-white, k-get-theme-color-var( neutral-130 ), transparent),
|
|
136
131
|
focus: (inherit, 130, transparent, 130),
|
|
137
132
|
active: (inherit, 130, transparent),
|
|
138
133
|
disabled: (inherit, var( --kendo-disabled-text, inherit ), initial)
|
|
139
134
|
)
|
|
140
135
|
) !default;
|
|
141
136
|
|
|
142
|
-
///
|
|
137
|
+
/// The theme colors map for the BottomNavigation variations.
|
|
138
|
+
/// @group bottom-navigation
|
|
143
139
|
$kendo-bottom-nav-theme-colors: () !default;
|
|
144
140
|
|
|
145
141
|
@each $fill-mode, $ui-states in $_tc-bottom-nav-matrix {
|
|
146
142
|
@each $brand-color, $palette in $kendo-bottom-nav-brand-colors {
|
|
147
143
|
$kendo-bottom-nav-theme-colors: map.deep-merge(
|
|
148
144
|
$kendo-bottom-nav-theme-colors,
|
|
149
|
-
generate-fill-mode-theme-variation( $fill-mode, $brand-color, $palette, $ui-states )
|
|
145
|
+
k-generate-fill-mode-theme-variation( $fill-mode, $brand-color, $palette, $ui-states )
|
|
150
146
|
);
|
|
151
147
|
};
|
|
152
148
|
}
|
|
@@ -154,20 +150,20 @@ $kendo-bottom-nav-theme-colors: () !default;
|
|
|
154
150
|
@each $fill-mode, $ui-states in $_tc-bottom-nav-warning-matrix {
|
|
155
151
|
$kendo-bottom-nav-theme-colors: map.deep-merge(
|
|
156
152
|
$kendo-bottom-nav-theme-colors,
|
|
157
|
-
generate-fill-mode-theme-variation( $fill-mode, warning, warning, $ui-states )
|
|
153
|
+
k-generate-fill-mode-theme-variation( $fill-mode, warning, warning, $ui-states )
|
|
158
154
|
);
|
|
159
155
|
}
|
|
160
156
|
|
|
161
157
|
@each $fill-mode, $ui-states in $_tc-bottom-nav-dark-matrix {
|
|
162
158
|
$kendo-bottom-nav-theme-colors: map.deep-merge(
|
|
163
159
|
$kendo-bottom-nav-theme-colors,
|
|
164
|
-
generate-fill-mode-theme-variation( $fill-mode, dark, neutral, $ui-states )
|
|
160
|
+
k-generate-fill-mode-theme-variation( $fill-mode, dark, neutral, $ui-states )
|
|
165
161
|
);
|
|
166
162
|
}
|
|
167
163
|
|
|
168
164
|
@each $fill-mode, $ui-states in $_tc-bottom-nav-light-matrix {
|
|
169
165
|
$kendo-bottom-nav-theme-colors: map.deep-merge(
|
|
170
166
|
$kendo-bottom-nav-theme-colors,
|
|
171
|
-
generate-fill-mode-theme-variation( $fill-mode, light, neutral, $ui-states )
|
|
167
|
+
k-generate-fill-mode-theme-variation( $fill-mode, light, neutral, $ui-states )
|
|
172
168
|
);
|
|
173
|
-
}
|
|
169
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use "sass:map";
|
|
1
2
|
@use "../core/" as *;
|
|
2
3
|
@use "./_variables.scss" as *;
|
|
3
4
|
|
|
@@ -14,8 +15,8 @@
|
|
|
14
15
|
box-sizing: border-box;
|
|
15
16
|
outline: 0;
|
|
16
17
|
font-family: var( --kendo-breadcrumb-font-family, #{$kendo-breadcrumb-font-family} );
|
|
17
|
-
font-size: var( --kendo-breadcrumb-font-size, #{$kendo-breadcrumb-font-size} );
|
|
18
|
-
line-height: var( --kendo-breadcrumb-line-height, #{$kendo-breadcrumb-line-height} );
|
|
18
|
+
font-size: var( --INTERNAL--kendo-breadcrumb-font-size, #{$kendo-breadcrumb-font-size} );
|
|
19
|
+
line-height: var( --INTERNAL--kendo-breadcrumb-line-height, #{$kendo-breadcrumb-line-height} );
|
|
19
20
|
display: flex;
|
|
20
21
|
flex-direction: row;
|
|
21
22
|
-webkit-touch-callout: none;
|
|
@@ -67,8 +68,8 @@
|
|
|
67
68
|
.k-breadcrumb-link,
|
|
68
69
|
.k-breadcrumb-root-link {
|
|
69
70
|
@include border-radius( var( --kendo-breadcrumb-border-radius, #{$kendo-breadcrumb-link-border-radius} ) );
|
|
70
|
-
padding-inline: var( --kendo-breadcrumb-link-padding-x, #{$kendo-breadcrumb-link-padding-x} );
|
|
71
|
-
padding-block: var( --kendo-breadcrumb-link-padding-y, #{$kendo-breadcrumb-link-padding-y} );
|
|
71
|
+
padding-inline: var( --INTERNAL--kendo-breadcrumb-link-padding-x, #{$kendo-breadcrumb-link-padding-x} );
|
|
72
|
+
padding-block: var( --INTERNAL--kendo-breadcrumb-link-padding-y, #{$kendo-breadcrumb-link-padding-y} );
|
|
72
73
|
color: var( --kendo-breadcrumb-link-initial-text, #{$kendo-breadcrumb-link-initial-text} );
|
|
73
74
|
text-decoration: none;
|
|
74
75
|
white-space: nowrap;
|
|
@@ -92,10 +93,6 @@
|
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
95
|
|
|
95
|
-
.k-breadcrumb-root-link {
|
|
96
|
-
margin-inline-end: var( --kendo-breadcrumb-root-link-spacing, #{$kendo-breadcrumb-root-link-spacing} );
|
|
97
|
-
}
|
|
98
|
-
|
|
99
96
|
.k-breadcrumb-link > .k-image,
|
|
100
97
|
.k-breadcrumb-icontext-link .k-icon,
|
|
101
98
|
.k-breadcrumb-icontext-link .k-svg-icon {
|
|
@@ -103,8 +100,8 @@
|
|
|
103
100
|
}
|
|
104
101
|
|
|
105
102
|
.k-breadcrumb-icon-link {
|
|
106
|
-
padding-inline: var( --kendo-breadcrumb-icon-link-padding-x, #{$kendo-breadcrumb-icon-link-padding-x} );
|
|
107
|
-
padding-block: var( --kendo-breadcrumb-icon-link-padding-y, #{$kendo-breadcrumb-icon-link-padding-y} );
|
|
103
|
+
padding-inline: var( --INTERNAL--kendo-breadcrumb-icon-link-padding-x, #{$kendo-breadcrumb-icon-link-padding-x} );
|
|
104
|
+
padding-block: var( --INTERNAL--kendo-breadcrumb-icon-link-padding-y, #{$kendo-breadcrumb-icon-link-padding-y} );
|
|
108
105
|
}
|
|
109
106
|
|
|
110
107
|
|
|
@@ -124,4 +121,34 @@
|
|
|
124
121
|
}
|
|
125
122
|
}
|
|
126
123
|
|
|
124
|
+
|
|
125
|
+
// Sizing
|
|
126
|
+
@each $size, $size-props in $kendo-breadcrumb-sizes {
|
|
127
|
+
$_link-padding-x: map.get( $size-props, link-padding-x );
|
|
128
|
+
$_link-padding-y: map.get( $size-props, link-padding-y );
|
|
129
|
+
$_icon-link-padding-x: map.get( $size-props, icon-link-padding-x );
|
|
130
|
+
$_icon-link-padding-y: map.get( $size-props, icon-link-padding-y );
|
|
131
|
+
$_font-size: map.get( $size-props, font-size );
|
|
132
|
+
$_line-height: map.get( $size-props, line-height );
|
|
133
|
+
|
|
134
|
+
// Breadcrumb sizes
|
|
135
|
+
.k-breadcrumb-#{$size} {
|
|
136
|
+
--INTERNAL--kendo-breadcrumb-font-size: var( --kendo-breadcrumb-#{$size}-font-size, #{$_font-size} );
|
|
137
|
+
--INTERNAL--kendo-breadcrumb-line-height: var( --kendo-breadcrumb-#{$size}-line-height, #{$_line-height} );
|
|
138
|
+
|
|
139
|
+
// Breadcrumb links
|
|
140
|
+
.k-breadcrumb-link,
|
|
141
|
+
.k-breadcrumb-root-link {
|
|
142
|
+
--INTERNAL--kendo-breadcrumb-link-padding-x: var( --kendo-breadcrumb-#{$size}-link-padding-x, #{$_link-padding-x} );
|
|
143
|
+
--INTERNAL--kendo-breadcrumb-link-padding-y: var( --kendo-breadcrumb-#{$size}-link-padding-y, #{$_link-padding-y} );
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// Breadcrumb icon links
|
|
147
|
+
.k-breadcrumb-icon-link {
|
|
148
|
+
--INTERNAL--kendo-breadcrumb-icon-link-padding-x: var( --kendo-breadcrumb-#{$size}-icon-link-padding-x, #{$_icon-link-padding-x} );
|
|
149
|
+
--INTERNAL--kendo-breadcrumb-icon-link-padding-y: var( --kendo-breadcrumb-#{$size}-icon-link-padding-y, #{$_icon-link-padding-y} );
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
127
154
|
}
|