@progress/kendo-theme-classic 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 (40) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/classic-green-dark.css +1 -1
  3. package/dist/classic-green.css +1 -1
  4. package/dist/classic-lavender-dark.css +1 -1
  5. package/dist/classic-lavender.css +1 -1
  6. package/dist/classic-main-dark.css +1 -1
  7. package/dist/classic-main.css +1 -1
  8. package/dist/classic-metro-dark.css +1 -1
  9. package/dist/classic-metro.css +1 -1
  10. package/dist/classic-moonlight.css +1 -1
  11. package/dist/classic-opal-dark.css +1 -1
  12. package/dist/classic-opal.css +1 -1
  13. package/dist/classic-silver-dark.css +1 -1
  14. package/dist/classic-silver.css +1 -1
  15. package/dist/classic-uniform.css +1 -1
  16. package/dist/meta/sassdoc-data.json +720 -168
  17. package/dist/meta/sassdoc-raw-data.json +203 -70
  18. package/dist/meta/variables.json +309 -21
  19. package/lib/swatches/classic-green-dark.json +1 -1
  20. package/lib/swatches/classic-green.json +1 -1
  21. package/lib/swatches/classic-lavender-dark.json +1 -1
  22. package/lib/swatches/classic-lavender.json +1 -1
  23. package/lib/swatches/classic-main-dark.json +1 -1
  24. package/lib/swatches/classic-main.json +1 -1
  25. package/lib/swatches/classic-metro-dark.json +1 -1
  26. package/lib/swatches/classic-metro.json +1 -1
  27. package/lib/swatches/classic-moonlight.json +1 -1
  28. package/lib/swatches/classic-opal-dark.json +1 -1
  29. package/lib/swatches/classic-opal.json +1 -1
  30. package/lib/swatches/classic-silver-dark.json +1 -1
  31. package/lib/swatches/classic-silver.json +1 -1
  32. package/lib/swatches/classic-uniform.json +1 -1
  33. package/package.json +4 -4
  34. package/scss/button/_variables.scss +2 -2
  35. package/scss/core/_index.scss +12 -0
  36. package/scss/core/motion/index.scss +174 -1
  37. package/scss/dataviz/_variables.scss +1 -1
  38. package/scss/floating-label/_variables.scss +2 -1
  39. package/scss/slider/_variables.scss +4 -4
  40. package/scss/stepper/_variables.scss +2 -2
@@ -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);
@@ -250,7 +250,7 @@ $kendo-chart-tooltip-padding-y: k-spacing(0.5) !default;
250
250
 
251
251
  /// The transition of the Chart.
252
252
  /// @group charts
253
- $kendo-chart-tooltip-transition: left 300ms cubic-bezier(0, .33, .19, 1), top 300ms cubic-bezier(0, .33, .19, 1) !default;
253
+ $kendo-chart-tooltip-transition: left k-transition(fade-in), top k-transition(fade-in) !default;
254
254
 
255
255
  /// The text color of the chart tooltip.
256
256
  /// @group charts
@@ -1,4 +1,5 @@
1
1
  @use "../input/_variables.scss" as *;
2
+ @use "../core/index.scss" as *;
2
3
 
3
4
  // Floating label
4
5
 
@@ -36,7 +37,7 @@ $kendo-floating-label-focus-offset-y: 0 !default;
36
37
 
37
38
  /// The transition of the Floating Label.
38
39
  /// @group floating-label
39
- $kendo-floating-label-transition: .2s ease-out !default;
40
+ $kendo-floating-label-transition: k-transition(scale-in) !default;
40
41
 
41
42
  /// The background color of the Floating Label.
42
43
  /// @group floating-label
@@ -87,16 +87,16 @@ $kendo-slider-draghandle-focus-shadow: 0 0 4px 0 color-mix(in srgb, k-color(prim
87
87
 
88
88
  /// The transition speed of the Slider.
89
89
  /// @group slider
90
- $kendo-slider-transition-speed: .3s !default;
90
+ $kendo-slider-transition-speed: k-duration(brisk) !default;
91
91
  /// The transition function of the Slider.
92
92
  /// @group slider
93
- $kendo-slider-transition-function: ease-out !default;
93
+ $kendo-slider-transition-function: k-easing(standard) !default;
94
94
  /// The transition speed of the Slider drag handle.
95
95
  /// @group slider
96
- $kendo-slider-draghandle-transition-speed: .4s !default;
96
+ $kendo-slider-draghandle-transition-speed: k-duration(quick) !default;
97
97
  /// The transition function of the Slider drag handle.
98
98
  /// @group slider
99
- $kendo-slider-draghandle-transition-function: cubic-bezier(.25, .8, .25, 1) !default;
99
+ $kendo-slider-draghandle-transition-function: k-easing(decelerate) !default;
100
100
 
101
101
  /// The background color of the Slider track.
102
102
  /// @group slider
@@ -225,10 +225,10 @@ $kendo-stepper-progressbar-fill-text: null !default;
225
225
  $kendo-stepper-content-transition-property: height !default;
226
226
  /// The duration of the Stepper transition.
227
227
  /// @group stepper
228
- $kendo-stepper-content-transition-duration: 300ms !default;
228
+ $kendo-stepper-content-transition-duration: k-duration(speedy) !default;
229
229
  /// The timing function of the Stepper transition.
230
230
  /// @group stepper
231
- $kendo-stepper-content-transition-timing-function: cubic-bezier(.4, 0, .2, 1) 0ms !default;
231
+ $kendo-stepper-content-transition-timing-function: k-easing(standard) !default;
232
232
 
233
233
 
234
234
  @forward "@progress/kendo-theme-core/scss/components/stepper/_variables.scss" with (