@progress/kendo-theme-material 12.2.4-dev.1 → 12.3.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.
Files changed (51) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/material-2-dark.css +1 -1
  3. package/dist/material-2.css +1 -1
  4. package/dist/material-aqua-dark.css +1 -1
  5. package/dist/material-arctic.css +1 -1
  6. package/dist/material-burnt-teal.css +1 -1
  7. package/dist/material-dataviz-v4.css +1 -1
  8. package/dist/material-eggplant.css +1 -1
  9. package/dist/material-lime-dark.css +1 -1
  10. package/dist/material-lime.css +1 -1
  11. package/dist/material-main-dark.css +1 -1
  12. package/dist/material-main.css +1 -1
  13. package/dist/material-nova.css +1 -1
  14. package/dist/material-pacific-dark.css +1 -1
  15. package/dist/material-pacific.css +1 -1
  16. package/dist/material-sky-dark.css +1 -1
  17. package/dist/material-sky.css +1 -1
  18. package/dist/material-smoke.css +1 -1
  19. package/dist/meta/sassdoc-data.json +600 -48
  20. package/dist/meta/sassdoc-raw-data.json +143 -10
  21. package/dist/meta/variables.json +309 -21
  22. package/lib/swatches/material-2-dark.json +1 -1
  23. package/lib/swatches/material-2.json +1 -1
  24. package/lib/swatches/material-aqua-dark.json +1 -1
  25. package/lib/swatches/material-arctic.json +1 -1
  26. package/lib/swatches/material-burnt-teal.json +1 -1
  27. package/lib/swatches/material-dataviz-v4.json +1 -1
  28. package/lib/swatches/material-eggplant.json +1 -1
  29. package/lib/swatches/material-lime-dark.json +1 -1
  30. package/lib/swatches/material-lime.json +1 -1
  31. package/lib/swatches/material-main-dark.json +1 -1
  32. package/lib/swatches/material-main.json +1 -1
  33. package/lib/swatches/material-nova.json +1 -1
  34. package/lib/swatches/material-pacific-dark.json +1 -1
  35. package/lib/swatches/material-pacific.json +1 -1
  36. package/lib/swatches/material-sky-dark.json +1 -1
  37. package/lib/swatches/material-sky.json +1 -1
  38. package/lib/swatches/material-smoke.json +1 -1
  39. package/package.json +4 -4
  40. package/scss/button/_variables.scss +2 -2
  41. package/scss/checkbox/_theme.scss +2 -2
  42. package/scss/core/_index.scss +12 -0
  43. package/scss/core/motion/index.scss +174 -1
  44. package/scss/dataviz/_variables.scss +1 -1
  45. package/scss/floating-label/_variables.scss +1 -1
  46. package/scss/input/_layout.scss +2 -1
  47. package/scss/menu/_layout.scss +0 -8
  48. package/scss/radio/_layout.scss +0 -5
  49. package/scss/radio/_theme.scss +2 -2
  50. package/scss/slider/_variables.scss +4 -4
  51. package/scss/stepper/_variables.scss +2 -2
@@ -3,7 +3,7 @@
3
3
  "name": "Material Burnt Teal",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#e0e0e0",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Dataviz v4",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#3f51b5",
9
9
  "#2196f3",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Eggplant",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#e0e0e0",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Lime Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#121212",
9
9
  "#212121",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Lime",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#e0e0e0",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Main Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#141218",
9
9
  "#2B2930",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Main",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#FEFBFF",
9
9
  "#F7F3FA",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Nova",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#e0e0e0",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Pacific Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#121212",
9
9
  "#212121",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Pacific Light",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#e0e0e0",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Sky Dark",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#121212",
9
9
  "#212121",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Sky",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#e0e0e0",
@@ -3,7 +3,7 @@
3
3
  "name": "Material Smoke",
4
4
  "product": "kendo",
5
5
  "base": "@progress/kendo-theme-material",
6
- "version": "12.2.4-dev.1",
6
+ "version": "12.3.0-dev.1",
7
7
  "previewColors": [
8
8
  "#ffffff",
9
9
  "#e0e0e0",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-theme-material",
3
3
  "description": "Material theme for Kendo UI",
4
- "version": "12.2.4-dev.1",
4
+ "version": "12.3.0-dev.1",
5
5
  "author": "Progress",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
@@ -55,12 +55,12 @@
55
55
  },
56
56
  "dependencies": {
57
57
  "@progress/kendo-svg-icons": "^4.5.0",
58
- "@progress/kendo-theme-core": "12.2.4-dev.1",
59
- "@progress/kendo-theme-utils": "12.2.4-dev.1"
58
+ "@progress/kendo-theme-core": "12.3.0-dev.1",
59
+ "@progress/kendo-theme-utils": "12.3.0-dev.1"
60
60
  },
61
61
  "directories": {
62
62
  "doc": "docs",
63
63
  "lib": "lib"
64
64
  },
65
- "gitHead": "fa01827fd3e94ef6e83f67fa2dc9038288d128fc"
65
+ "gitHead": "689804b100fdba0f1c7ef277340b9a47802b2ccc"
66
66
  }
@@ -270,9 +270,9 @@ $kendo-flat-button-selected-opacity: .22 !default;
270
270
  /// @group button
271
271
  $kendo-flat-button-focus-ring-opacity: unset !default;
272
272
 
273
- /// The box-shadow transition of the Button.
273
+ /// The transition of the Button.
274
274
  /// @group button
275
- $kendo-button-transition: box-shadow 280ms cubic-bezier( .4, 0, .2, 1 ) !default;
275
+ $kendo-button-transition: color k-transition(rapid), background-color k-transition(rapid), border-color k-transition(rapid), box-shadow k-transition(rapid), opacity k-transition(rapid) !default;
276
276
 
277
277
  @forward "@progress/kendo-theme-core/scss/components/button/_variables.scss" with (
278
278
  $kendo-button-border-width: $kendo-button-border-width,
@@ -69,14 +69,14 @@
69
69
  /* Checkbox Ripple animation */
70
70
 
71
71
  &::after {
72
- animation: ripple-checkbox 225ms cubic-bezier(0, 0, 0.2, 1);
72
+ animation: ripple-checkbox k-transition(fade-out);
73
73
  }
74
74
 
75
75
  &:checked,
76
76
  &.k-checked,
77
77
  &.k-indeterminate {
78
78
  &::after {
79
- animation: ripple-checkbox-checked 225ms cubic-bezier(0, 0, 0.2, 1);
79
+ animation: ripple-checkbox-checked k-transition(fade-out);
80
80
  }
81
81
  }
82
82
 
@@ -13,6 +13,9 @@
13
13
  // Radii
14
14
  @use "./border-radii/index.scss" as *;
15
15
 
16
+ // Motion
17
+ @use "./motion/index.scss" as *;
18
+
16
19
  // Variables
17
20
  @forward "../_variables.scss";
18
21
 
@@ -45,6 +48,15 @@
45
48
  // Spacing
46
49
  $default-spacing: $kendo-spacing,
47
50
  $kendo-spacing: $kendo-spacing !default,
51
+ // Motion
52
+ $default-easings: $kendo-easings,
53
+ $kendo-easings: $kendo-easings !default,
54
+
55
+ $default-durations: $kendo-durations,
56
+ $kendo-durations: $kendo-durations !default,
57
+
58
+ $default-transitions: $kendo-transitions,
59
+ $kendo-transitions: $kendo-transitions !default,
48
60
  );
49
61
 
50
62
  // Global disabled styles
@@ -1 +1,174 @@
1
- @forward "@progress/kendo-theme-core/scss/motion/index.scss";
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+
4
+ $default-easings: (
5
+ linear: cubic-bezier(0, 0, 1, 1),
6
+ accelerate: cubic-bezier(0.42, 0, 1, 1),
7
+ decelerate: cubic-bezier(0, 0, 0.58, 1),
8
+ standard: cubic-bezier(0.42, 0, 0.58, 1),
9
+ sharp: cubic-bezier(0.75, 0, 0.25, 1),
10
+ bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55),
11
+ elastic: cubic-bezier(0.5, -0.5, 0.5, 1.5),
12
+ ) !default;
13
+
14
+ $default-durations: (
15
+ instant: 0ms,
16
+ immediate: 50ms,
17
+ brief: 100ms,
18
+ quick: 150ms,
19
+ rapid: 200ms,
20
+ swift: 250ms,
21
+ speedy: 300ms,
22
+ brisk: 350ms,
23
+ prompt: 400ms,
24
+ timely: 450ms,
25
+ moderate: 500ms,
26
+ measured: 550ms,
27
+ steady: 600ms,
28
+ leisurely: 700ms,
29
+ slow: 800ms,
30
+ languid: 900ms,
31
+ sluggish: 1000ms
32
+ ) !default;
33
+
34
+ $default-transitions: (
35
+ instant: (
36
+ duration: var(--kendo-duration-instant),
37
+ easing: var(--kendo-easing-linear),
38
+ ),
39
+ rapid: (
40
+ duration: var(--kendo-duration-quick),
41
+ easing: var(--kendo-easing-decelerate),
42
+ ),
43
+ snappy: (
44
+ duration: var(--kendo-duration-swift),
45
+ easing: var(--kendo-easing-decelerate),
46
+ ),
47
+ energetic: (
48
+ duration: var(--kendo-duration-swift),
49
+ easing: var(--kendo-easing-elastic),
50
+ ),
51
+ bouncy: (
52
+ duration: var(--kendo-duration-speedy),
53
+ easing: var(--kendo-easing-bounce),
54
+ ),
55
+ subtle: (
56
+ duration: var(--kendo-duration-brisk),
57
+ easing: var(--kendo-easing-standard),
58
+ ),
59
+ gentle: (
60
+ duration: var(--kendo-duration-prompt),
61
+ easing: var(--kendo-easing-accelerate),
62
+ ),
63
+ enter: (
64
+ duration: var(--kendo-duration-speedy),
65
+ easing: var(--kendo-easing-decelerate),
66
+ ),
67
+ exit: (
68
+ duration: var(--kendo-duration-rapid),
69
+ easing: var(--kendo-easing-accelerate),
70
+ ),
71
+ settle: (
72
+ duration: var(--kendo-duration-brisk),
73
+ easing: var(--kendo-easing-decelerate),
74
+ ),
75
+ scale-out: (
76
+ duration: var(--kendo-duration-quick),
77
+ easing: var(--kendo-easing-accelerate),
78
+ ),
79
+ scale-in: (
80
+ duration: var(--kendo-duration-rapid),
81
+ easing: var(--kendo-easing-decelerate),
82
+ ),
83
+ fade-out: (
84
+ duration: var(--kendo-duration-rapid),
85
+ easing: var(--kendo-easing-standard),
86
+ ),
87
+ fade-in: (
88
+ duration: var(--kendo-duration-swift),
89
+ easing: var(--kendo-easing-standard),
90
+ ),
91
+ slide-out: (
92
+ duration: var(--kendo-duration-swift),
93
+ easing: var(--kendo-easing-accelerate),
94
+ ),
95
+ slide-in: (
96
+ duration: var(--kendo-duration-speedy),
97
+ easing: var(--kendo-easing-decelerate),
98
+ ),
99
+ emphasis: (
100
+ duration: var(--kendo-duration-quick),
101
+ easing: var(--kendo-easing-sharp),
102
+ ),
103
+ collapse: (
104
+ duration: var(--kendo-duration-speedy),
105
+ easing: var(--kendo-easing-accelerate),
106
+ ),
107
+ expand: (
108
+ duration: var(--kendo-duration-prompt),
109
+ easing: var(--kendo-easing-standard),
110
+ ),
111
+ shrink: (
112
+ duration: var(--kendo-duration-brisk),
113
+ easing: var(--kendo-easing-accelerate),
114
+ ),
115
+ grow: (
116
+ duration: var(--kendo-duration-prompt),
117
+ easing: var(--kendo-easing-standard),
118
+ ),
119
+ pulse: (
120
+ duration: var(--kendo-duration-brisk),
121
+ easing: var(--kendo-easing-standard),
122
+ ),
123
+ smooth: (
124
+ duration: var(--kendo-duration-moderate),
125
+ easing: var(--kendo-easing-standard),
126
+ ),
127
+ flip: (
128
+ duration: var(--kendo-duration-measured),
129
+ easing: var(--kendo-easing-standard),
130
+ ),
131
+ fluid: (
132
+ duration: var(--kendo-duration-steady),
133
+ easing: var(--kendo-easing-standard),
134
+ ),
135
+ deliberate: (
136
+ duration: var(--kendo-duration-slow),
137
+ easing: var(--kendo-easing-standard),
138
+ ),
139
+ ) !default;
140
+
141
+ /// The global map of motion easing tokens.
142
+ /// @group motion
143
+ $kendo-easings: $default-easings !default;
144
+ $kendo-easings: map.merge($default-easings, $kendo-easings);
145
+
146
+ /// The global map of motion duration tokens.
147
+ /// @group motion
148
+ $kendo-durations: $default-durations !default;
149
+ $kendo-durations: map.merge($default-durations, $kendo-durations);
150
+
151
+ /// The global map of motion transition tokens.
152
+ /// @group motion
153
+ ///
154
+ /// @subgroup {fast}
155
+ /// [instant, rapid, snappy, energetic]
156
+ /// Speed and Responsiveness
157
+ ///
158
+ /// @subgroup {expressive}
159
+ /// [emphasis, bouncy, pulse, flip]
160
+ /// Personality and Playfulness
161
+ ///
162
+ /// @subgroup {calm}
163
+ /// [subtle, gentle, settle, smooth, fluid, deliberate]
164
+ /// Subtle & Natural
165
+ ///
166
+ /// @subgroup {visibility}
167
+ /// [slide-in, slide-out, fade-in, fade-out, enter, exit]
168
+ /// Visibility & Movement Change
169
+ ///
170
+ /// @subgroup {size}
171
+ /// [scale-in, scale-out, grow, shrink, expand, collapse]
172
+ /// Size & Scale Adjustments
173
+ $kendo-transitions: $default-transitions !default;
174
+ $kendo-transitions: map.merge($default-transitions, $kendo-transitions);
@@ -249,7 +249,7 @@ $kendo-chart-tooltip-padding-y: k-spacing(0.5) !default;
249
249
 
250
250
  /// The transition of the Chart.
251
251
  /// @group charts
252
- $kendo-chart-tooltip-transition: left 300ms cubic-bezier(0, .33, .19, 1), top 300ms cubic-bezier(0, .33, .19, 1) !default;
252
+ $kendo-chart-tooltip-transition: left k-transition(fade-in), top k-transition(fade-in) !default;
253
253
 
254
254
  /// The text color of the chart tooltip.
255
255
  /// @group charts
@@ -37,7 +37,7 @@ $kendo-floating-label-focus-offset-y: 0px !default;
37
37
 
38
38
  /// The transition of the Floating Label.
39
39
  /// @group floating-label
40
- $kendo-floating-label-transition: .15s cubic-bezier( .4, 0, .2, 1 ) !default;
40
+ $kendo-floating-label-transition: k-transition(scale-in) !default;
41
41
 
42
42
  /// The background color of the Floating Label.
43
43
  /// @group floating-label
@@ -1,6 +1,7 @@
1
1
  @use "./_variables.scss" as *;
2
2
  @use "../core/_index.scss" as *;
3
3
  @use "../core/z-index/index.scss" as *;
4
+ @use "../core/motion/index.scss" as *;
4
5
  @use "@progress/kendo-theme-core/scss/components/input/_layout.scss" as *;
5
6
 
6
7
 
@@ -79,7 +80,7 @@
79
80
  inset: -1px;
80
81
  opacity: 0;
81
82
  transform: scaleX(0);
82
- transition: opacity .3s, transform .3s;
83
+ transition: opacity k-transition(slide-in), transform k-transition(slide-in);
83
84
  pointer-events: none;
84
85
  }
85
86
 
@@ -1,6 +1,5 @@
1
1
  @use "../_variables.scss" as *;
2
2
  @use "../core/_index.scss" as *;
3
- @use "../core/motion/index.scss" as *;
4
3
  @use "@progress/kendo-theme-core/scss/components/menu/_layout.scss" as *;
5
4
 
6
5
 
@@ -9,13 +8,6 @@
9
8
  @include kendo-menu--layout-base();
10
9
 
11
10
  // Menubar
12
- .k-menu:not(.k-context-menu) {
13
-
14
- // Root items
15
- > .k-menu-item {
16
- transition: $kendo-transition;
17
- }
18
- }
19
11
 
20
12
  .k-menu-expand-arrow {
21
13
  margin-inline-end: 0;
@@ -41,9 +41,4 @@
41
41
  }
42
42
  }
43
43
 
44
- .k-radio::before {
45
- transition: transform linear 280ms;
46
- transform-origin: 0 0;
47
- }
48
-
49
44
  }
@@ -66,13 +66,13 @@
66
66
  /* Radio Ripple animation */
67
67
 
68
68
  &::after {
69
- animation: ripple-radio 225ms cubic-bezier(0, 0, 0.2, 1);
69
+ animation: ripple-radio k-transition(fade-out);
70
70
  }
71
71
 
72
72
  &:checked,
73
73
  &.k-checked {
74
74
  &::after {
75
- animation: ripple-radio-checked 225ms cubic-bezier(0, 0, 0.2, 1);
75
+ animation: ripple-radio-checked k-transition(fade-out);
76
76
  }
77
77
  }
78
78
 
@@ -90,16 +90,16 @@ $kendo-slider-draghandle-focus-shadow: 0 0 0 k-spacing(2.5) color-mix(in srgb, k
90
90
 
91
91
  /// The transition speed of the Slider.
92
92
  /// @group slider
93
- $kendo-slider-transition-speed: .3s !default;
93
+ $kendo-slider-transition-speed: k-duration(brisk) !default;
94
94
  /// The transition function of the Slider.
95
95
  /// @group slider
96
- $kendo-slider-transition-function: ease-out !default;
96
+ $kendo-slider-transition-function: k-easing(standard) !default;
97
97
  /// The transition speed of the Slider drag handle.
98
98
  /// @group slider
99
- $kendo-slider-draghandle-transition-speed: .4s !default;
99
+ $kendo-slider-draghandle-transition-speed: k-duration(quick) !default;
100
100
  /// The transition function of the Slider drag handle.
101
101
  /// @group slider
102
- $kendo-slider-draghandle-transition-function: cubic-bezier(.25, .8, .25, 1) !default;
102
+ $kendo-slider-draghandle-transition-function: k-easing(decelerate) !default;
103
103
 
104
104
  /// The background color of the Slider track.
105
105
  /// @group slider
@@ -227,10 +227,10 @@ $kendo-stepper-progressbar-fill-text: null !default;
227
227
  $kendo-stepper-content-transition-property: height !default;
228
228
  /// The duration of the Stepper transition.
229
229
  /// @group stepper
230
- $kendo-stepper-content-transition-duration: 300ms !default;
230
+ $kendo-stepper-content-transition-duration: k-duration(speedy) !default;
231
231
  /// The timing function of the Stepper transition.
232
232
  /// @group stepper
233
- $kendo-stepper-content-transition-timing-function: cubic-bezier(.4, 0, .2, 1) 0ms !default;
233
+ $kendo-stepper-content-transition-timing-function: k-easing(standard) !default;
234
234
 
235
235
  @forward "@progress/kendo-theme-core/scss/components/stepper/_variables.scss" with (
236
236
  $kendo-stepper-margin-x: $kendo-stepper-margin-x,