@progress/kendo-theme-core 12.3.1-dev.9 → 13.0.0-dev.1
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 +2911 -446
- package/dist/meta/sassdoc-raw-data.json +1143 -2
- package/package.json +2 -2
- package/scss/border-radii/index.scss +0 -8
- package/scss/components/action-sheet/_layout.scss +1 -1
- package/scss/components/appbar/_theme.scss +20 -18
- package/scss/components/appbar/_variables.scss +4 -1
- package/scss/components/avatar/_layout.scss +22 -9
- package/scss/components/avatar/_theme.scss +36 -14
- package/scss/components/avatar/_variables.scss +23 -2
- package/scss/components/badge/_layout.scss +33 -22
- package/scss/components/badge/_theme.scss +36 -16
- package/scss/components/badge/_variables.scss +36 -3
- package/scss/components/bottom-navigation/_theme.scss +45 -40
- package/scss/components/bottom-navigation/_variables.scss +6 -1
- package/scss/components/breadcrumb/_layout.scss +29 -27
- package/scss/components/breadcrumb/_variables.scss +30 -1
- package/scss/components/button/_layout.scss +110 -123
- package/scss/components/button/_theme.scss +298 -242
- package/scss/components/button/_variables.scss +34 -4
- package/scss/components/calendar/_layout.scss +44 -46
- package/scss/components/calendar/_variables.scss +27 -1
- package/scss/components/card/_theme.scss +16 -15
- package/scss/components/card/_variables.scss +5 -1
- package/scss/components/checkbox/_layout.scss +35 -20
- package/scss/components/checkbox/_variables.scss +23 -2
- package/scss/components/chip/_layout.scss +42 -34
- package/scss/components/chip/_theme.scss +125 -113
- package/scss/components/chip/_variables.scss +46 -2
- package/scss/components/coloreditor/_layout.scss +37 -36
- package/scss/components/coloreditor/_variables.scss +37 -1
- package/scss/components/colorgradient/_layout.scss +47 -46
- package/scss/components/colorgradient/_variables.scss +36 -1
- package/scss/components/colorpalette/_layout.scss +15 -13
- package/scss/components/colorpalette/_variables.scss +18 -1
- package/scss/components/column-menu/_layout.scss +31 -20
- package/scss/components/column-menu/_variables.scss +7 -3
- package/scss/components/datetimepicker/_layout.scss +11 -7
- package/scss/components/datetimepicker/_variables.scss +16 -1
- package/scss/components/dialog/_theme.scss +12 -9
- package/scss/components/dialog/_variables.scss +5 -1
- package/scss/components/fab/_layout.scss +22 -12
- package/scss/components/fab/_theme.scss +79 -73
- package/scss/components/fab/_variables.scss +29 -4
- package/scss/components/forms/_layout.scss +8 -4
- package/scss/components/forms/_variables.scss +15 -1
- package/scss/components/gantt/_layout.scss +1 -1
- package/scss/components/grid/_layout.scss +155 -105
- package/scss/components/grid/_theme.scss +9 -0
- package/scss/components/grid/_variables.scss +47 -4
- package/scss/components/icons/_layout.scss +2 -1
- package/scss/components/icons/_variables.scss +1 -0
- package/scss/components/input/_layout.scss +162 -94
- package/scss/components/input/_theme.scss +431 -418
- package/scss/components/input/_variables.scss +40 -1
- package/scss/components/list/_layout.scss +68 -66
- package/scss/components/list/_variables.scss +72 -1
- package/scss/components/loader/_layout.scss +75 -61
- package/scss/components/loader/_theme.scss +10 -10
- package/scss/components/loader/_variables.scss +7 -1
- package/scss/components/menu/_layout.scss +36 -70
- package/scss/components/menu/_variables.scss +34 -0
- package/scss/components/messagebox/_theme.scss +17 -14
- package/scss/components/messagebox/_variables.scss +6 -1
- package/scss/components/notification/_theme.scss +10 -8
- package/scss/components/notification/_variables.scss +3 -16
- package/scss/components/otp/_layout.scss +16 -13
- package/scss/components/otp/_variables.scss +19 -1
- package/scss/components/overlay/_theme.scss +12 -4
- package/scss/components/overlay/_variables.scss +5 -1
- package/scss/components/pager/_layout.scss +32 -26
- package/scss/components/pager/_variables.scss +24 -1
- package/scss/components/radio/_layout.scss +27 -18
- package/scss/components/radio/_variables.scss +21 -1
- package/scss/components/scheduler/_layout.scss +0 -1
- package/scss/components/signature/_layout.scss +26 -21
- package/scss/components/signature/_variables.scss +19 -1
- package/scss/components/split-button/_layout.scss +8 -2
- package/scss/components/spreadsheet/_layout.scss +1 -0
- package/scss/components/suggestion/_theme.scss +34 -60
- package/scss/components/suggestion/_variables.scss +5 -12
- package/scss/components/switch/_layout.scss +60 -41
- package/scss/components/switch/_variables.scss +38 -1
- package/scss/components/table/_layout.scss +31 -26
- package/scss/components/table/_variables.scss +24 -1
- package/scss/components/tabstrip/_layout.scss +27 -23
- package/scss/components/tabstrip/_variables.scss +23 -1
- package/scss/components/timeselector/_layout.scss +34 -34
- package/scss/components/timeselector/_variables.scss +24 -1
- package/scss/components/toolbar/_layout.scss +63 -65
- package/scss/components/toolbar/_theme.scss +80 -70
- package/scss/components/toolbar/_variables.scss +25 -1
- package/scss/components/tooltip/_variables.scss +0 -14
- package/scss/components/treeview/_layout.scss +29 -26
- package/scss/components/treeview/_variables.scss +30 -1
- package/scss/components/window/_layout.scss +8 -12
- package/scss/components/window/_theme.scss +12 -8
- package/scss/components/window/_variables.scss +15 -3
- package/scss/functions/_default.scss +16 -0
- package/scss/functions/index.scss +1 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// TreeView
|
|
2
2
|
|
|
3
|
+
$kendo-treeview-default-size: null !default;
|
|
4
|
+
|
|
3
5
|
$kendo-treeview-font-family: null !default;
|
|
4
6
|
$kendo-treeview-font-size: null !default;
|
|
5
7
|
$kendo-treeview-sm-font-size: null !default;
|
|
@@ -28,7 +30,34 @@ $kendo-treeview-md-checkbox-padding-y: null !default;
|
|
|
28
30
|
$kendo-treeview-lg-checkbox-padding-y: null !default;
|
|
29
31
|
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
/// The sizes map of the TreeView.
|
|
34
|
+
/// @group treeview
|
|
35
|
+
$kendo-treeview-sizes: (
|
|
36
|
+
sm: (
|
|
37
|
+
font-size: $kendo-treeview-sm-font-size,
|
|
38
|
+
line-height: $kendo-treeview-sm-line-height,
|
|
39
|
+
item-padding-x: $kendo-treeview-sm-item-padding-x,
|
|
40
|
+
item-padding-y: $kendo-treeview-sm-item-padding-y,
|
|
41
|
+
checkbox-padding-x: $kendo-treeview-sm-checkbox-padding-x,
|
|
42
|
+
checkbox-padding-y: $kendo-treeview-sm-checkbox-padding-y
|
|
43
|
+
),
|
|
44
|
+
md: (
|
|
45
|
+
font-size: $kendo-treeview-md-font-size,
|
|
46
|
+
line-height: $kendo-treeview-md-line-height,
|
|
47
|
+
item-padding-x: $kendo-treeview-md-item-padding-x,
|
|
48
|
+
item-padding-y: $kendo-treeview-md-item-padding-y,
|
|
49
|
+
checkbox-padding-x: $kendo-treeview-md-checkbox-padding-x,
|
|
50
|
+
checkbox-padding-y: $kendo-treeview-md-checkbox-padding-y
|
|
51
|
+
),
|
|
52
|
+
lg: (
|
|
53
|
+
font-size: $kendo-treeview-lg-font-size,
|
|
54
|
+
line-height: $kendo-treeview-lg-line-height,
|
|
55
|
+
item-padding-x: $kendo-treeview-lg-item-padding-x,
|
|
56
|
+
item-padding-y: $kendo-treeview-lg-item-padding-y,
|
|
57
|
+
checkbox-padding-x: $kendo-treeview-lg-checkbox-padding-x,
|
|
58
|
+
checkbox-padding-y: $kendo-treeview-lg-checkbox-padding-y
|
|
59
|
+
)
|
|
60
|
+
) !default;
|
|
32
61
|
|
|
33
62
|
|
|
34
63
|
$kendo-treeview-bg: null !default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "sass:list";
|
|
2
2
|
@use "../../mixins/index.scss" as *;
|
|
3
|
+
@use "../../functions/index.scss" as *;
|
|
3
4
|
@use "../../color-system/_constants.scss" as *;
|
|
4
5
|
@use "../../z-index/index.scss" as *;
|
|
5
6
|
@use "./variables.scss" as *;
|
|
@@ -23,11 +24,13 @@
|
|
|
23
24
|
-webkit-touch-callout: none;
|
|
24
25
|
-webkit-tap-highlight-color: $kendo-color-rgba-transparent;
|
|
25
26
|
|
|
26
|
-
//
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
// Window sizes
|
|
28
|
+
@each $size, $width in $kendo-window-sizes {
|
|
29
|
+
#{k-when-default( $kendo-window-default-size, $size )}
|
|
30
|
+
&.k-window-#{$size} {
|
|
31
|
+
width: $width;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
31
34
|
}
|
|
32
35
|
.k-window.k-window-maximized {
|
|
33
36
|
max-width: 100vw;
|
|
@@ -35,13 +38,6 @@
|
|
|
35
38
|
box-shadow: none;
|
|
36
39
|
}
|
|
37
40
|
|
|
38
|
-
|
|
39
|
-
// Window sizes
|
|
40
|
-
@each $size, $width in $kendo-window-sizes {
|
|
41
|
-
.k-window-#{$size} { width: $width; }
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
41
|
// Title bar
|
|
46
42
|
.k-window-titlebar {
|
|
47
43
|
@include border-top-radius( $kendo-window-border-radius );
|
|
@@ -14,6 +14,18 @@
|
|
|
14
14
|
$kendo-window-border
|
|
15
15
|
);
|
|
16
16
|
@include box-shadow( $kendo-window-shadow );
|
|
17
|
+
|
|
18
|
+
// Window theme colors
|
|
19
|
+
@each $name in $kendo-window-theme-colors {
|
|
20
|
+
|
|
21
|
+
#{k-when-default($kendo-window-default-theme-color, $name)}
|
|
22
|
+
&.k-window-#{$name} {
|
|
23
|
+
.k-window-titlebar {
|
|
24
|
+
color: k-color(on-#{$name});
|
|
25
|
+
background-color: k-color(#{$name});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
17
29
|
}
|
|
18
30
|
|
|
19
31
|
.k-window:focus,
|
|
@@ -32,12 +44,4 @@
|
|
|
32
44
|
);
|
|
33
45
|
}
|
|
34
46
|
|
|
35
|
-
// Window theme colors
|
|
36
|
-
@each $name, $color in $kendo-window-theme-colors {
|
|
37
|
-
.k-window-#{$name} .k-window-titlebar {
|
|
38
|
-
color: k-color(on-#{$name});
|
|
39
|
-
background-color: $color;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
47
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// Window
|
|
2
2
|
|
|
3
|
+
$kendo-window-default-theme-color: null !default;
|
|
4
|
+
$kendo-window-default-size: null !default;
|
|
5
|
+
|
|
3
6
|
$kendo-window-border-width: null !default;
|
|
4
7
|
$kendo-window-border-radius: null !default;
|
|
5
8
|
$kendo-window-font-family: null !default;
|
|
@@ -36,6 +39,15 @@ $kendo-window-titlebar-text: null !default;
|
|
|
36
39
|
$kendo-window-titlebar-border: null !default;
|
|
37
40
|
$kendo-window-titlebar-gradient: null !default;
|
|
38
41
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
$kendo-window-
|
|
42
|
+
/// The sizes map of the Window.
|
|
43
|
+
/// @group window
|
|
44
|
+
$kendo-window-sizes: (
|
|
45
|
+
auto: null,
|
|
46
|
+
sm: 300px,
|
|
47
|
+
md: 800px,
|
|
48
|
+
lg: 1200px
|
|
49
|
+
) !default;
|
|
50
|
+
|
|
51
|
+
/// The theme colors map of the Window.
|
|
52
|
+
/// @group window
|
|
53
|
+
$kendo-window-theme-colors: ("primary", "light", "dark") !default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
@use "sass:meta";
|
|
3
|
+
|
|
4
|
+
/// Returns a SCSS selector self-reference ("&") when the current value matches the default value,
|
|
5
|
+
/// otherwise returns null. This is useful for conditionally applying styles only when a component
|
|
6
|
+
/// option is set to its default value, allowing default styles to be grouped together.
|
|
7
|
+
/// @param {String} $default - The default value to compare against.
|
|
8
|
+
/// @param {String | List} $current - The current value to check. Can be a single value or a list of values.
|
|
9
|
+
/// @return {String | Null} - Returns "&," when values match, null otherwise.
|
|
10
|
+
|
|
11
|
+
@function k-when-default($default, $current) {
|
|
12
|
+
@if meta.type-of($current) == "list" {
|
|
13
|
+
@return if(list.index($current, $default) != null, "&,", null);
|
|
14
|
+
}
|
|
15
|
+
@return if($default == $current, "&,", null);
|
|
16
|
+
}
|