@progress/kendo-theme-core 13.0.0-dev.0 → 13.0.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 +1 -1
- package/dist/meta/sassdoc-data.json +186 -72
- package/dist/meta/sassdoc-raw-data.json +82 -32
- package/dist/meta/variables.json +10 -8
- package/package.json +2 -2
- package/scss/components/bubble/_layout.scss +1 -2
- package/scss/components/chat/_layout.scss +87 -131
- package/scss/components/chat/_theme.scss +25 -16
- package/scss/components/chat/_variables.scss +12 -18
- package/scss/components/dropdowntree/_layout.scss +7 -7
- package/scss/components/dropdowntree/_variables.scss +3 -0
- package/scss/components/file-box/_layout.scss +122 -0
- package/scss/components/file-box/_theme.scss +22 -0
- package/scss/components/file-box/_variables.scss +19 -0
- package/scss/components/grid/_layout.scss +43 -0
- package/scss/components/grid/_theme.scss +9 -0
- package/scss/components/grid/_variables.scss +4 -0
- package/scss/components/icons/_theme.scss +7 -1
- package/scss/components/icons/_variables.scss +2 -0
- package/scss/components/list/_layout.scss +63 -3
- package/scss/components/list/_theme.scss +8 -0
- package/scss/components/list/_variables.scss +11 -0
- package/scss/components/prompt-box/_layout.scss +63 -0
- package/scss/components/prompt-box/_theme.scss +7 -0
- package/scss/components/prompt-box/_variables.scss +11 -0
- package/scss/components/segmented-control/_layout.scss +85 -0
- package/scss/components/segmented-control/_theme.scss +38 -0
- package/scss/components/segmented-control/_variables.scss +73 -0
- package/scss/components/smart-box/_layout.scss +85 -0
- package/scss/components/smart-box/_theme.scss +5 -0
- package/scss/components/smart-box/_variables.scss +40 -0
- package/scss/components/spreadsheet/_layout.scss +1 -0
- package/scss/components/suggestion/_layout.scss +33 -11
- package/scss/components/suggestion/_theme.scss +23 -0
- package/scss/components/suggestion/_variables.scss +3 -0
- package/scss/components/tabstrip/_layout.scss +30 -0
- package/scss/components/tabstrip/_theme.scss +8 -0
- package/scss/components/toolbar/_layout.scss +3 -0
- package/scss/components/toolbar/_variables.scss +1 -0
- package/scss/components/treeview/_layout.scss +14 -10
- package/scss/components/treeview/_theme.scss +7 -6
- package/scss/components/treeview/_variables.scss +4 -0
- package/scss/elevation/index.scss +1 -2
- package/scss/motion/index.scss +1 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// Smart box
|
|
2
|
+
$kendo-smart-box-default-size: null !default;
|
|
3
|
+
$kendo-smart-box-default-roundness: null !default;
|
|
4
|
+
|
|
5
|
+
$kendo-smart-box-roundness: ( "none", "sm", "md", "lg", "full" ) !default;
|
|
6
|
+
|
|
7
|
+
$kendo-smart-box-suffix-spacing: null !default;
|
|
8
|
+
|
|
9
|
+
$kendo-smart-box-sm-padding-x: null !default;
|
|
10
|
+
$kendo-smart-box-md-padding-x: null !default;
|
|
11
|
+
$kendo-smart-box-lg-padding-x: null !default;
|
|
12
|
+
|
|
13
|
+
$kendo-smart-box-sm-prefix-margin-x: null !default;
|
|
14
|
+
$kendo-smart-box-md-prefix-margin-x: null !default;
|
|
15
|
+
$kendo-smart-box-lg-prefix-margin-x: null !default;
|
|
16
|
+
|
|
17
|
+
$kendo-smart-box-popup-padding-inline: null !default;
|
|
18
|
+
$kendo-smart-box-popup-padding-block: null !default;
|
|
19
|
+
$kendo-smart-box-popup-border-radius: null !default;
|
|
20
|
+
$kendo-smart-box-popup-spacing: null !default;
|
|
21
|
+
|
|
22
|
+
$kendo-smart-box-popup-segmented-control-margin: null !default;
|
|
23
|
+
|
|
24
|
+
/// The sizes map for the Smart box components.
|
|
25
|
+
/// @group smart-box
|
|
26
|
+
$kendo-smart-box-sizes: (
|
|
27
|
+
sm: (
|
|
28
|
+
padding-x: $kendo-smart-box-sm-padding-x,
|
|
29
|
+
prefix-margin-x: $kendo-smart-box-sm-prefix-margin-x,
|
|
30
|
+
),
|
|
31
|
+
md: (
|
|
32
|
+
padding-x: $kendo-smart-box-md-padding-x,
|
|
33
|
+
prefix-margin-x: $kendo-smart-box-md-prefix-margin-x,
|
|
34
|
+
),
|
|
35
|
+
lg: (
|
|
36
|
+
padding-x: $kendo-smart-box-lg-padding-x,
|
|
37
|
+
prefix-margin-x: $kendo-smart-box-lg-prefix-margin-x,
|
|
38
|
+
|
|
39
|
+
)
|
|
40
|
+
) !default;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use "../../mixins/index.scss" as *;
|
|
3
3
|
@use "../../motion/index.scss" as *;
|
|
4
4
|
@use "../../spacing/index.scss" as *;
|
|
5
|
+
@use "../../z-index/index.scss" as *;
|
|
5
6
|
|
|
6
7
|
@mixin kendo-suggestion--layout-base() {
|
|
7
8
|
.k-suggestion-scrollwrap {
|
|
@@ -10,16 +11,7 @@
|
|
|
10
11
|
display: flex;
|
|
11
12
|
align-items: center;
|
|
12
13
|
position: relative;
|
|
13
|
-
gap:
|
|
14
|
-
|
|
15
|
-
.k-suggestion-group {
|
|
16
|
-
padding-block: calc( #{$kendo-suggestion-padding-y} / 2 );
|
|
17
|
-
flex: 1 1 auto;
|
|
18
|
-
flex-wrap: nowrap;
|
|
19
|
-
overflow-x: auto;
|
|
20
|
-
scrollbar-width: none;
|
|
21
|
-
white-space: nowrap;
|
|
22
|
-
}
|
|
14
|
+
gap: k-spacing(.5);
|
|
23
15
|
}
|
|
24
16
|
|
|
25
17
|
.k-suggestion-group {
|
|
@@ -27,12 +19,20 @@
|
|
|
27
19
|
flex-wrap: wrap;
|
|
28
20
|
gap: $kendo-suggestion-spacing;
|
|
29
21
|
align-self: normal;
|
|
22
|
+
overflow: hidden;
|
|
30
23
|
|
|
31
24
|
&.k-suggestion-group-scrollable {
|
|
32
25
|
flex-wrap: nowrap;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.k-suggestions-scroll {
|
|
29
|
+
padding-block: calc( #{$kendo-suggestion-padding-y} / 2 );
|
|
30
|
+
display: flex;
|
|
33
31
|
overflow-x: auto;
|
|
34
32
|
scrollbar-width: none;
|
|
35
|
-
|
|
33
|
+
flex-wrap: nowrap;
|
|
34
|
+
white-space: nowrap;
|
|
35
|
+
gap: $kendo-suggestion-spacing;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -44,6 +44,11 @@
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
.k-suggestion-group-scrollable,
|
|
48
|
+
.k-suggestion-scrollwrap .k-suggestion-group {
|
|
49
|
+
position: relative;
|
|
50
|
+
}
|
|
51
|
+
|
|
47
52
|
.k-suggestion {
|
|
48
53
|
@include border-radius( $kendo-suggestion-border-radius );
|
|
49
54
|
max-width: 100%;
|
|
@@ -52,6 +57,7 @@
|
|
|
52
57
|
box-sizing: border-box;
|
|
53
58
|
border-width: $kendo-suggestion-border-width;
|
|
54
59
|
border-style: $kendo-suggestion-border-style;
|
|
60
|
+
font-size: $kendo-suggestion-font-size;
|
|
55
61
|
line-height: $kendo-suggestion-line-height;
|
|
56
62
|
flex: 0 0 auto;
|
|
57
63
|
transition: background-color k-transition(rapid), box-shadow k-transition(rapid);
|
|
@@ -60,6 +66,22 @@
|
|
|
60
66
|
white-space: normal;
|
|
61
67
|
}
|
|
62
68
|
|
|
69
|
+
.k-suggestion-group-scrollable-end::before,
|
|
70
|
+
.k-suggestion-group-scrollable-start::after,
|
|
71
|
+
.k-suggestion-scrollwrap .k-suggestion-group-scrollable-end::before,
|
|
72
|
+
.k-suggestion-scrollwrap .k-suggestion-group-scrollable-start::after {
|
|
73
|
+
content: '';
|
|
74
|
+
aspect-ratio: .3;
|
|
75
|
+
position: absolute;
|
|
76
|
+
top: 0;
|
|
77
|
+
z-index: k-z-index("base", 3);
|
|
78
|
+
height: calc( #{$kendo-suggestion-font-size} * #{$kendo-suggestion-line-height} + #{$kendo-suggestion-padding-y} * 2 + #{$kendo-suggestion-padding-y} + #{$kendo-suggestion-border-width} * 2);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.k-suggestion-group-scrollable-start::after,
|
|
82
|
+
.k-suggestion-scrollwrap .k-suggestion-group-scrollable-start::after {
|
|
83
|
+
inset-inline-end: 0;
|
|
84
|
+
}
|
|
63
85
|
|
|
64
86
|
}
|
|
65
87
|
|
|
@@ -53,4 +53,27 @@
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
.k-suggestion-group-scrollable-end::before,
|
|
57
|
+
.k-suggestion-scrollwrap .k-suggestion-group-scrollable-end::before {
|
|
58
|
+
background: linear-gradient(270deg, $kendo-suggestion-scroll-gradient);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.k-suggestion-group-scrollable-start::after,
|
|
62
|
+
.k-suggestion-scrollwrap .k-suggestion-group-scrollable-start::after {
|
|
63
|
+
background: linear-gradient(90deg, $kendo-suggestion-scroll-gradient);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.k-rtl,
|
|
67
|
+
[dir="rtl"] {
|
|
68
|
+
.k-suggestion-group-scrollable-end::before,
|
|
69
|
+
.k-suggestion-scrollwrap .k-suggestion-group-scrollable-end::before {
|
|
70
|
+
background: linear-gradient(90deg, $kendo-suggestion-scroll-gradient);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.k-suggestion-group-scrollable-start::after,
|
|
74
|
+
.k-suggestion-scrollwrap .k-suggestion-group-scrollable-start::after {
|
|
75
|
+
background: linear-gradient(270deg, $kendo-suggestion-scroll-gradient);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
56
79
|
}
|
|
@@ -5,6 +5,7 @@ $kendo-suggestion-spacing: null !default;
|
|
|
5
5
|
$kendo-suggestion-border-width: null !default;
|
|
6
6
|
$kendo-suggestion-border-style: null !default;
|
|
7
7
|
|
|
8
|
+
$kendo-suggestion-font-size: null !default;
|
|
8
9
|
$kendo-suggestion-line-height: null !default;
|
|
9
10
|
$kendo-suggestion-border-radius: null !default;
|
|
10
11
|
|
|
@@ -17,3 +18,5 @@ $kendo-suggestion-focus-shadow-color: null !default;
|
|
|
17
18
|
$kendo-suggestion-theme-colors: ("base", "primary", "secondary") !default;
|
|
18
19
|
|
|
19
20
|
$kendo-suggestion-default-theme-color: null !default;
|
|
21
|
+
|
|
22
|
+
$kendo-suggestion-scroll-gradient: null !default;
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
@use "./_variables.scss" as *;
|
|
7
7
|
@use "../../z-index/index.scss" as *;
|
|
8
8
|
@use "../../motion/index.scss" as *;
|
|
9
|
+
@use "../../spacing/index.scss" as *;
|
|
10
|
+
@use "../../typography/index.scss" as *;
|
|
9
11
|
|
|
10
12
|
@mixin kendo-tabstrip--layout-base() {
|
|
11
13
|
|
|
@@ -299,6 +301,34 @@
|
|
|
299
301
|
}
|
|
300
302
|
|
|
301
303
|
|
|
304
|
+
// Overflow
|
|
305
|
+
.k-tabstrip-overflow {
|
|
306
|
+
> .k-tabstrip-items-wrapper {
|
|
307
|
+
> .k-tabstrip-items {
|
|
308
|
+
flex-wrap: nowrap;
|
|
309
|
+
white-space: nowrap;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.k-tabstrip-overflow-button {
|
|
314
|
+
flex-shrink: 0;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
// Actions container
|
|
320
|
+
.k-tabstrip-actions {
|
|
321
|
+
flex-shrink: 0;
|
|
322
|
+
gap: k-spacing(0.5);
|
|
323
|
+
align-items: center;
|
|
324
|
+
|
|
325
|
+
> .k-separator-vertical {
|
|
326
|
+
height: $kendo-line-height-em;
|
|
327
|
+
align-self: center;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
|
|
302
332
|
// Tabstrip orientation
|
|
303
333
|
.k-tabstrip-horizontal {
|
|
304
334
|
flex-direction: row;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@use "../../mixins/index.scss" as *;
|
|
4
4
|
@use "../../functions/index.scss" as *;
|
|
5
5
|
@use "../../spacing/index.scss" as *;
|
|
6
|
+
@use "../../border-radii/index.scss" as *;
|
|
6
7
|
@use "../../motion/index.scss" as *;
|
|
7
8
|
@use "./variables.scss" as *;
|
|
8
9
|
@use "../icons/_variables.scss" as *;
|
|
@@ -12,7 +13,7 @@
|
|
|
12
13
|
|
|
13
14
|
// Treeview
|
|
14
15
|
.k-treeview {
|
|
15
|
-
|
|
16
|
+
border-radius: $kendo-treeview-border-radius;
|
|
16
17
|
border-width: 0;
|
|
17
18
|
background: none;
|
|
18
19
|
box-sizing: border-box;
|
|
@@ -72,6 +73,11 @@
|
|
|
72
73
|
|
|
73
74
|
// Treeview group
|
|
74
75
|
.k-treeview-group {
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
gap: $kendo-treeview-gap;
|
|
79
|
+
min-width: fit-content;
|
|
80
|
+
|
|
75
81
|
margin: 0;
|
|
76
82
|
padding: 0;
|
|
77
83
|
list-style: none;
|
|
@@ -83,17 +89,21 @@
|
|
|
83
89
|
&.ng-animating {
|
|
84
90
|
overflow: hidden;
|
|
85
91
|
}
|
|
92
|
+
|
|
93
|
+
.k-treeview-group {
|
|
94
|
+
margin-top: $kendo-treeview-gap;
|
|
95
|
+
}
|
|
86
96
|
}
|
|
87
97
|
|
|
88
98
|
|
|
89
99
|
// Treeview wrappers
|
|
90
|
-
.k-treeview-
|
|
91
|
-
|
|
92
|
-
.k-treeview-bot {
|
|
100
|
+
.k-treeview-item-content {
|
|
101
|
+
@include border-radius( $kendo-treeview-item-border-radius );
|
|
93
102
|
display: flex;
|
|
94
103
|
flex-direction: row;
|
|
95
104
|
align-items: center;
|
|
96
105
|
align-content: center;
|
|
106
|
+
padding-inline-start: calc( var(--kendo-treeview-level, 0) * #{$kendo-treeview-indent} );
|
|
97
107
|
}
|
|
98
108
|
|
|
99
109
|
|
|
@@ -102,7 +112,6 @@
|
|
|
102
112
|
outline-style: none;
|
|
103
113
|
margin: 0;
|
|
104
114
|
padding: 0;
|
|
105
|
-
padding-inline-start: $kendo-treeview-indent;
|
|
106
115
|
border-width: 0;
|
|
107
116
|
display: block;
|
|
108
117
|
}
|
|
@@ -138,7 +147,6 @@
|
|
|
138
147
|
|
|
139
148
|
// Treeview leaf
|
|
140
149
|
.k-treeview-leaf {
|
|
141
|
-
@include border-radius( $kendo-treeview-item-border-radius );
|
|
142
150
|
padding-block: $kendo-treeview-md-item-padding-y;
|
|
143
151
|
padding-inline: $kendo-treeview-md-item-padding-x;
|
|
144
152
|
border: $kendo-treeview-item-border-width solid transparent;
|
|
@@ -155,10 +163,6 @@
|
|
|
155
163
|
.k-sprite {
|
|
156
164
|
margin-inline-end: $kendo-icon-spacing;
|
|
157
165
|
}
|
|
158
|
-
|
|
159
|
-
&.k-focus {
|
|
160
|
-
z-index: k-z-index("base", 1);
|
|
161
|
-
}
|
|
162
166
|
}
|
|
163
167
|
|
|
164
168
|
|
|
@@ -13,12 +13,8 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
// Treeview
|
|
17
|
-
.k-treeview-item {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
// Treeview leaf
|
|
21
|
-
.k-treeview-leaf {
|
|
16
|
+
// Treeview wrappers
|
|
17
|
+
.k-treeview-item-content {
|
|
22
18
|
|
|
23
19
|
// Hover state
|
|
24
20
|
&:hover,
|
|
@@ -45,6 +41,11 @@
|
|
|
45
41
|
$kendo-treeview-item-selected-border,
|
|
46
42
|
$kendo-treeview-item-selected-gradient
|
|
47
43
|
);
|
|
44
|
+
|
|
45
|
+
&:hover,
|
|
46
|
+
&.k-hover {
|
|
47
|
+
background-color: $kendo-treeview-item-selected-hover-bg;
|
|
48
|
+
}
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
51
|
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// TreeView
|
|
2
2
|
|
|
3
3
|
$kendo-treeview-default-size: null !default;
|
|
4
|
+
$kendo-treeview-gap: null !default;
|
|
5
|
+
$kendo-treeview-border-radius: null !default;
|
|
4
6
|
|
|
5
7
|
$kendo-treeview-font-family: null !default;
|
|
6
8
|
$kendo-treeview-font-size: null !default;
|
|
@@ -74,6 +76,8 @@ $kendo-treeview-item-selected-text: null !default;
|
|
|
74
76
|
$kendo-treeview-item-selected-border: null !default;
|
|
75
77
|
$kendo-treeview-item-selected-gradient: null !default;
|
|
76
78
|
|
|
79
|
+
$kendo-treeview-item-selected-hover-bg: null !default;
|
|
80
|
+
|
|
77
81
|
$kendo-treeview-item-focus-shadow: null !default;
|
|
78
82
|
|
|
79
83
|
$kendo-treeview-loadmore-bg: null !default;
|
package/scss/motion/index.scss
CHANGED