@semcore/skeleton 4.3.1 → 4.4.0
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/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [4.
|
|
5
|
+
## [4.4.0] - 2022-12-12
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Added
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- Design tokens based theming.
|
|
10
10
|
|
|
11
11
|
## [4.3.0] - 2022-11-24
|
|
12
12
|
|
package/lib/cjs/Skeleton.js
CHANGED
|
@@ -52,17 +52,17 @@ var style = (
|
|
|
52
52
|
/*__reshadow_css_start__*/
|
|
53
53
|
_core.sstyled.insert(
|
|
54
54
|
/*__inner_css_start__*/
|
|
55
|
-
".
|
|
55
|
+
".___SSkeleton_18myx_gg_{animation-name:pulse_18myx;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:var(--durationAnim_18myx);will-change:opacity}@keyframes pulse_18myx{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.___SSkeleton_18myx_gg_._theme_invert_18myx_gg_{fill:var(--intergalactic-skeleton-bg,rgba(224,225,233,.8))}.___SSkeleton_18myx_gg_._theme_dark_18myx_gg_{fill:var(--intergalactic-skeleton-bg-invert,hsla(0,0%,100%,.3))}.___SText_18myx_gg_{box-sizing:border-box}@media (prefers-reduced-motion){.___SSkeleton_18myx_gg_{animation-name:none}}"
|
|
56
56
|
/*__inner_css_end__*/
|
|
57
|
-
, "
|
|
57
|
+
, "18myx_gg_")
|
|
58
58
|
/*__reshadow_css_end__*/
|
|
59
59
|
, {
|
|
60
|
-
"__SSkeleton": "
|
|
61
|
-
"--durationAnim": "--
|
|
62
|
-
"@pulse": "
|
|
63
|
-
"_theme_invert": "
|
|
64
|
-
"_theme_dark": "
|
|
65
|
-
"__SText": "
|
|
60
|
+
"__SSkeleton": "___SSkeleton_18myx_gg_",
|
|
61
|
+
"--durationAnim": "--durationAnim_18myx",
|
|
62
|
+
"@pulse": "pulse_18myx",
|
|
63
|
+
"_theme_invert": "_theme_invert_18myx_gg_",
|
|
64
|
+
"_theme_dark": "_theme_dark_18myx_gg_",
|
|
65
|
+
"__SText": "___SText_18myx_gg_"
|
|
66
66
|
});
|
|
67
67
|
var MAP_COLOR_THEME = {
|
|
68
68
|
dark: 'rgba(255, 255, 255, 0.3)',
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@import '@semcore/utils/style/var.css';
|
|
2
|
-
|
|
3
1
|
SSkeleton {
|
|
4
2
|
animation-name: pulse;
|
|
5
3
|
animation-iteration-count: infinite;
|
|
@@ -21,11 +19,11 @@ SSkeleton {
|
|
|
21
19
|
}
|
|
22
20
|
|
|
23
21
|
SSkeleton[theme='invert'] {
|
|
24
|
-
fill:
|
|
22
|
+
fill: var(--intergalactic-skeleton-bg, rgba(224, 225, 233, 0.8));
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
SSkeleton[theme='dark'] {
|
|
28
|
-
fill:
|
|
26
|
+
fill: var(--intergalactic-skeleton-bg-invert, rgba(255, 255, 255, 0.3));
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
SText {
|
package/lib/es6/Skeleton.js
CHANGED
|
@@ -28,17 +28,17 @@ var style = (
|
|
|
28
28
|
/*__reshadow_css_start__*/
|
|
29
29
|
_sstyled.insert(
|
|
30
30
|
/*__inner_css_start__*/
|
|
31
|
-
".
|
|
31
|
+
".___SSkeleton_18myx_gg_{animation-name:pulse_18myx;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:var(--durationAnim_18myx);will-change:opacity}@keyframes pulse_18myx{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.___SSkeleton_18myx_gg_._theme_invert_18myx_gg_{fill:var(--intergalactic-skeleton-bg,rgba(224,225,233,.8))}.___SSkeleton_18myx_gg_._theme_dark_18myx_gg_{fill:var(--intergalactic-skeleton-bg-invert,hsla(0,0%,100%,.3))}.___SText_18myx_gg_{box-sizing:border-box}@media (prefers-reduced-motion){.___SSkeleton_18myx_gg_{animation-name:none}}"
|
|
32
32
|
/*__inner_css_end__*/
|
|
33
|
-
, "
|
|
33
|
+
, "18myx_gg_")
|
|
34
34
|
/*__reshadow_css_end__*/
|
|
35
35
|
, {
|
|
36
|
-
"__SSkeleton": "
|
|
37
|
-
"--durationAnim": "--
|
|
38
|
-
"@pulse": "
|
|
39
|
-
"_theme_invert": "
|
|
40
|
-
"_theme_dark": "
|
|
41
|
-
"__SText": "
|
|
36
|
+
"__SSkeleton": "___SSkeleton_18myx_gg_",
|
|
37
|
+
"--durationAnim": "--durationAnim_18myx",
|
|
38
|
+
"@pulse": "pulse_18myx",
|
|
39
|
+
"_theme_invert": "_theme_invert_18myx_gg_",
|
|
40
|
+
"_theme_dark": "_theme_dark_18myx_gg_",
|
|
41
|
+
"__SText": "___SText_18myx_gg_"
|
|
42
42
|
});
|
|
43
43
|
var MAP_COLOR_THEME = {
|
|
44
44
|
dark: 'rgba(255, 255, 255, 0.3)',
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@import '@semcore/utils/style/var.css';
|
|
2
|
-
|
|
3
1
|
SSkeleton {
|
|
4
2
|
animation-name: pulse;
|
|
5
3
|
animation-iteration-count: infinite;
|
|
@@ -21,11 +19,11 @@ SSkeleton {
|
|
|
21
19
|
}
|
|
22
20
|
|
|
23
21
|
SSkeleton[theme='invert'] {
|
|
24
|
-
fill:
|
|
22
|
+
fill: var(--intergalactic-skeleton-bg, rgba(224, 225, 233, 0.8));
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
SSkeleton[theme='dark'] {
|
|
28
|
-
fill:
|
|
26
|
+
fill: var(--intergalactic-skeleton-bg-invert, rgba(255, 255, 255, 0.3));
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
SText {
|