@semcore/skeleton 16.0.0-prerelease.2 → 16.0.0-prerelease.20

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 (75) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/lib/cjs/Charts/Area.js +4 -2
  3. package/lib/cjs/Charts/Area.js.map +1 -1
  4. package/lib/cjs/Charts/Bar.js +4 -2
  5. package/lib/cjs/Charts/Bar.js.map +1 -1
  6. package/lib/cjs/Charts/Bubble.js +4 -2
  7. package/lib/cjs/Charts/Bubble.js.map +1 -1
  8. package/lib/cjs/Charts/CompactHorizontalBar.js +4 -2
  9. package/lib/cjs/Charts/CompactHorizontalBar.js.map +1 -1
  10. package/lib/cjs/Charts/Donut.js +4 -2
  11. package/lib/cjs/Charts/Donut.js.map +1 -1
  12. package/lib/cjs/Charts/Histogram.js +4 -2
  13. package/lib/cjs/Charts/Histogram.js.map +1 -1
  14. package/lib/cjs/Charts/Line.js +4 -2
  15. package/lib/cjs/Charts/Line.js.map +1 -1
  16. package/lib/cjs/Charts/RadialTree.js +4 -2
  17. package/lib/cjs/Charts/RadialTree.js.map +1 -1
  18. package/lib/cjs/Charts/ScatterPlot.js +4 -2
  19. package/lib/cjs/Charts/ScatterPlot.js.map +1 -1
  20. package/lib/cjs/Charts/Venn.js +4 -2
  21. package/lib/cjs/Charts/Venn.js.map +1 -1
  22. package/lib/cjs/Skeleton.js +4 -2
  23. package/lib/cjs/Skeleton.js.map +1 -1
  24. package/lib/es6/Charts/Area.js +4 -2
  25. package/lib/es6/Charts/Area.js.map +1 -1
  26. package/lib/es6/Charts/Bar.js +4 -2
  27. package/lib/es6/Charts/Bar.js.map +1 -1
  28. package/lib/es6/Charts/Bubble.js +4 -2
  29. package/lib/es6/Charts/Bubble.js.map +1 -1
  30. package/lib/es6/Charts/CompactHorizontalBar.js +4 -2
  31. package/lib/es6/Charts/CompactHorizontalBar.js.map +1 -1
  32. package/lib/es6/Charts/Donut.js +4 -2
  33. package/lib/es6/Charts/Donut.js.map +1 -1
  34. package/lib/es6/Charts/Histogram.js +4 -2
  35. package/lib/es6/Charts/Histogram.js.map +1 -1
  36. package/lib/es6/Charts/Line.js +4 -2
  37. package/lib/es6/Charts/Line.js.map +1 -1
  38. package/lib/es6/Charts/RadialTree.js +4 -2
  39. package/lib/es6/Charts/RadialTree.js.map +1 -1
  40. package/lib/es6/Charts/ScatterPlot.js +4 -2
  41. package/lib/es6/Charts/ScatterPlot.js.map +1 -1
  42. package/lib/es6/Charts/Venn.js +4 -2
  43. package/lib/es6/Charts/Venn.js.map +1 -1
  44. package/lib/es6/Skeleton.js +4 -2
  45. package/lib/es6/Skeleton.js.map +1 -1
  46. package/lib/esm/Charts/Area.mjs +32 -24
  47. package/lib/esm/Charts/Bar.mjs +36 -27
  48. package/lib/esm/Charts/Bubble.mjs +27 -21
  49. package/lib/esm/Charts/CompactHorizontalBar.mjs +27 -21
  50. package/lib/esm/Charts/Donut.mjs +36 -27
  51. package/lib/esm/Charts/Histogram.mjs +36 -27
  52. package/lib/esm/Charts/Line.mjs +32 -24
  53. package/lib/esm/Charts/RadialTree.mjs +27 -21
  54. package/lib/esm/Charts/ScatterPlot.mjs +27 -21
  55. package/lib/esm/Charts/Venn.mjs +27 -21
  56. package/lib/esm/Skeleton.mjs +136 -109
  57. package/lib/esm/index.mjs +22 -22
  58. package/lib/esm/style/chart.shadow.css +17 -0
  59. package/lib/esm/style/skeleton.shadow.css +39 -0
  60. package/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
  61. package/lib/esm/translations/de.json.mjs +5 -4
  62. package/lib/esm/translations/en.json.mjs +5 -4
  63. package/lib/esm/translations/es.json.mjs +5 -4
  64. package/lib/esm/translations/fr.json.mjs +5 -4
  65. package/lib/esm/translations/it.json.mjs +5 -4
  66. package/lib/esm/translations/ja.json.mjs +5 -4
  67. package/lib/esm/translations/ko.json.mjs +5 -4
  68. package/lib/esm/translations/nl.json.mjs +5 -4
  69. package/lib/esm/translations/pl.json.mjs +5 -4
  70. package/lib/esm/translations/pt.json.mjs +5 -4
  71. package/lib/esm/translations/sv.json.mjs +5 -4
  72. package/lib/esm/translations/tr.json.mjs +5 -4
  73. package/lib/esm/translations/vi.json.mjs +5 -4
  74. package/lib/esm/translations/zh.json.mjs +5 -4
  75. package/package.json +3 -3
@@ -1,152 +1,179 @@
1
- import z from "@babel/runtime/helpers/esm/toConsumableArray";
2
- import M from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
- import y from "@babel/runtime/helpers/esm/assertThisInitialized";
4
- import g from "@babel/runtime/helpers/esm/objectSpread2";
5
- import b from "@babel/runtime/helpers/esm/classCallCheck";
6
- import x from "@babel/runtime/helpers/esm/createClass";
7
- import R from "@babel/runtime/helpers/esm/inherits";
8
- import P from "@babel/runtime/helpers/esm/createSuper";
9
- import _ from "@babel/runtime/helpers/esm/defineProperty";
10
- import { createComponent as C, sstyled as p, assignProps as E, Component as w } from "@semcore/core";
11
- import s from "react";
12
- import { Box as $ } from "@semcore/flex-box";
13
- import D from "@semcore/core/lib/utils/uniqueID";
14
- import I from "@semcore/core/lib/utils/canUseDOM";
15
- import O from "@semcore/core/lib/utils/enhances/i18nEnhance";
16
- import { localizedMessages as U } from "./translations/__intergalactic-dynamic-locales.mjs";
17
- var N = ["y", "x", "amount", "width", "styles", "forwardRef"], A = (
1
+ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
4
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
5
+ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
6
+ import _createClass from "@babel/runtime/helpers/esm/createClass";
7
+ import _inherits from "@babel/runtime/helpers/esm/inherits";
8
+ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
9
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
10
+ import { createComponent, sstyled, assignProps, Component } from "@semcore/core";
11
+ import React from "react";
12
+ import { Box } from "@semcore/flex-box";
13
+ import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
14
+ import canUseDOM from "@semcore/core/lib/utils/canUseDOM";
15
+ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
16
+ import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
17
+ var _excluded = ["y", "x", "amount", "width", "styles", "forwardRef"];
18
+ /*!__reshadow-styles__:"./style/skeleton.shadow.css"*/
19
+ var style = (
18
20
  /*__reshadow_css_start__*/
19
- (p.insert(
21
+ (sstyled.insert(
20
22
  /*__inner_css_start__*/
21
23
  "@keyframes pulse_1aad7{0%,to{opacity:1}50%{opacity:.4}}.___SSkeleton_1aad7_gg_{animation-name:pulse_1aad7;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:var(--durationAnim_1aad7);will-change:opacity}.___SSkeletonSVG_1aad7_gg_._theme_invert_1aad7_gg_{fill:var(--intergalactic-skeleton-bg, rgba(224, 225, 233, 0.8))}.___SSkeletonSVG_1aad7_gg_._theme_dark_1aad7_gg_{fill:var(--intergalactic-skeleton-bg-invert, rgba(255, 255, 255, 0.3))}.___SText_1aad7_gg_{box-sizing:border-box}@media (prefers-reduced-motion){.___SSkeleton_1aad7_gg_{animation-name:none}}",
24
+ /*__inner_css_end__*/
22
25
  "1aad7_gg_"
23
- ), {
24
- __SSkeleton: "___SSkeleton_1aad7_gg_",
26
+ ), /*__reshadow_css_end__*/
27
+ {
28
+ "__SSkeleton": "___SSkeleton_1aad7_gg_",
25
29
  "--durationAnim": "--durationAnim_1aad7",
26
30
  "@pulse": "pulse_1aad7",
27
- __SSkeletonSVG: "___SSkeletonSVG_1aad7_gg_",
28
- _theme_invert: "_theme_invert_1aad7_gg_",
29
- _theme_dark: "_theme_dark_1aad7_gg_",
30
- __SText: "___SText_1aad7_gg_"
31
+ "__SSkeletonSVG": "___SSkeletonSVG_1aad7_gg_",
32
+ "_theme_invert": "_theme_invert_1aad7_gg_",
33
+ "_theme_dark": "_theme_dark_1aad7_gg_",
34
+ "__SText": "___SText_1aad7_gg_"
31
35
  })
32
- ), W = {
36
+ );
37
+ var MAP_COLOR_THEME = {
33
38
  dark: "rgba(255, 255, 255, 0.3)",
34
39
  invert: "rgba(224, 225, 233, 0.8)"
35
- }, v = /* @__PURE__ */ function(a) {
36
- R(r, a);
37
- var m = P(r);
38
- function r() {
39
- return b(this, r), m.apply(this, arguments);
40
+ };
41
+ var SkeletonRoot = /* @__PURE__ */ function(_Component) {
42
+ _inherits(SkeletonRoot2, _Component);
43
+ var _super = _createSuper(SkeletonRoot2);
44
+ function SkeletonRoot2() {
45
+ _classCallCheck(this, SkeletonRoot2);
46
+ return _super.apply(this, arguments);
40
47
  }
41
- return x(r, [{
48
+ _createClass(SkeletonRoot2, [{
42
49
  key: "render",
43
- value: function() {
44
- var e = this.asProps, t, n = $, i = this.asProps;
45
- i.Children;
46
- var l = i.styles, d = i.duration, u = i.hidden, c = i.getI18nText;
47
- return i.tag, u ? null : (t = p(l), /* @__PURE__ */ s.createElement(n, t.cn("SSkeleton", g({}, E({
48
- durationAnim: "".concat(d, "ms"),
49
- role: "img",
50
- "aria-label": c("loading")
51
- }, e)))));
50
+ value: function render() {
51
+ var _ref = this.asProps, _ref3;
52
+ var SSkeleton = Box;
53
+ var _this$asProps = this.asProps;
54
+ _this$asProps.Children;
55
+ var styles = _this$asProps.styles, duration = _this$asProps.duration, hidden = _this$asProps.hidden, getI18nText = _this$asProps.getI18nText;
56
+ _this$asProps.tag;
57
+ if (hidden) return null;
58
+ return _ref3 = sstyled(styles), /* @__PURE__ */ React.createElement(SSkeleton, _ref3.cn("SSkeleton", _objectSpread({}, assignProps({
59
+ "durationAnim": "".concat(duration, "ms"),
60
+ "role": "img",
61
+ "aria-label": getI18nText("loading")
62
+ }, _ref))));
52
63
  }
53
- }]), r;
54
- }(w);
55
- _(v, "displayName", "Skeleton");
56
- _(v, "style", A);
57
- _(v, "enhance", [O(U)]);
58
- _(v, "defaultProps", {
64
+ }]);
65
+ return SkeletonRoot2;
66
+ }(Component);
67
+ _defineProperty(SkeletonRoot, "displayName", "Skeleton");
68
+ _defineProperty(SkeletonRoot, "style", style);
69
+ _defineProperty(SkeletonRoot, "enhance", [i18nEnhance(localizedMessages)]);
70
+ _defineProperty(SkeletonRoot, "defaultProps", {
59
71
  width: "100%",
60
72
  height: "100%",
61
73
  duration: 2e3
62
74
  });
63
- var h = /* @__PURE__ */ function(a) {
64
- R(r, a);
65
- var m = P(r);
66
- function r(o) {
67
- var e;
68
- return b(this, r), e = m.call(this, o), _(y(e), "svgRef", /* @__PURE__ */ s.createRef()), I() && o.observeParentSize && (e.observer = new ResizeObserver(e.handleResize.bind(y(e)))), e;
75
+ var SkeletonSVG = /* @__PURE__ */ function(_Component2) {
76
+ _inherits(SkeletonSVG2, _Component2);
77
+ var _super2 = _createSuper(SkeletonSVG2);
78
+ function SkeletonSVG2(props) {
79
+ var _this;
80
+ _classCallCheck(this, SkeletonSVG2);
81
+ _this = _super2.call(this, props);
82
+ _defineProperty(_assertThisInitialized(_this), "svgRef", /* @__PURE__ */ React.createRef());
83
+ if (canUseDOM() && props.observeParentSize) {
84
+ _this.observer = new ResizeObserver(_this.handleResize.bind(_assertThisInitialized(_this)));
85
+ }
86
+ return _this;
69
87
  }
70
- return x(r, [{
88
+ _createClass(SkeletonSVG2, [{
71
89
  key: "componentDidMount",
72
- value: function() {
73
- var e, t;
74
- (e = this.observer) === null || e === void 0 || e.observe((t = this.svgRef.current) === null || t === void 0 ? void 0 : t.parentElement);
90
+ value: function componentDidMount() {
91
+ var _this$observer, _this$svgRef$current;
92
+ (_this$observer = this.observer) === null || _this$observer === void 0 ? void 0 : _this$observer.observe((_this$svgRef$current = this.svgRef.current) === null || _this$svgRef$current === void 0 ? void 0 : _this$svgRef$current.parentElement);
75
93
  }
76
94
  }, {
77
95
  key: "componentWillUnmount",
78
- value: function() {
79
- var e;
80
- (e = this.observer) === null || e === void 0 || e.disconnect();
96
+ value: function componentWillUnmount() {
97
+ var _this$observer2;
98
+ (_this$observer2 = this.observer) === null || _this$observer2 === void 0 ? void 0 : _this$observer2.disconnect();
81
99
  }
82
100
  }, {
83
101
  key: "handleResize",
84
- value: function(e) {
85
- var t = e[0].target, n = this.svgRef.current;
86
- t && n && n.setAttribute("width", "100%");
102
+ value: function handleResize(data) {
103
+ var target = data[0].target;
104
+ var svg = this.svgRef.current;
105
+ if (target && svg) {
106
+ svg.setAttribute("width", "100%");
107
+ }
87
108
  }
88
109
  }, {
89
110
  key: "setContext",
90
- value: function() {
91
- var e = this.asProps.theme;
111
+ value: function setContext() {
112
+ var theme = this.asProps.theme;
92
113
  return {
93
- gradientUrl: W[e]
114
+ gradientUrl: MAP_COLOR_THEME[theme]
94
115
  };
95
116
  }
96
117
  }, {
97
118
  key: "render",
98
- value: function() {
99
- var e = this.asProps, t, n = this.asProps, i = n.Children, l = n.styles, d = n.uid, u = n.theme, c = n.duration, S = L;
100
- return t = p(l), /* @__PURE__ */ s.createElement(S, t.cn("SSkeletonSVG", g({}, E({
101
- tag: "svg",
102
- ref: this.svgRef,
103
- preserveAspectRatio: "none",
104
- theme: u,
105
- durationAnim: "".concat(c, "ms")
106
- }, e))), /* @__PURE__ */ s.createElement("defs", t.cn("defs", {}), /* @__PURE__ */ s.createElement("mask", t.cn("mask", {
107
- id: d
108
- }), /* @__PURE__ */ s.createElement(i, t.cn("Children", {})))), /* @__PURE__ */ s.createElement("rect", t.cn("rect", {
109
- x: "0",
110
- y: "0",
111
- width: "100%",
112
- height: "100%",
113
- mask: "url(#".concat(d, ")")
119
+ value: function render() {
120
+ var _ref2 = this.asProps, _ref4;
121
+ var _this$asProps2 = this.asProps, Children = _this$asProps2.Children, styles = _this$asProps2.styles, uid = _this$asProps2.uid, theme = _this$asProps2.theme, duration = _this$asProps2.duration;
122
+ var SSkeletonSVG = Skeleton;
123
+ return _ref4 = sstyled(styles), /* @__PURE__ */ React.createElement(SSkeletonSVG, _ref4.cn("SSkeletonSVG", _objectSpread({}, assignProps({
124
+ "tag": "svg",
125
+ "ref": this.svgRef,
126
+ "preserveAspectRatio": "none",
127
+ "theme": theme,
128
+ "durationAnim": "".concat(duration, "ms")
129
+ }, _ref2))), /* @__PURE__ */ React.createElement("defs", _ref4.cn("defs", {}), /* @__PURE__ */ React.createElement("mask", _ref4.cn("mask", {
130
+ "id": uid
131
+ }), /* @__PURE__ */ React.createElement(Children, _ref4.cn("Children", {})))), /* @__PURE__ */ React.createElement("rect", _ref4.cn("rect", {
132
+ "x": "0",
133
+ "y": "0",
134
+ "width": "100%",
135
+ "height": "100%",
136
+ "mask": "url(#".concat(uid, ")")
114
137
  })));
115
138
  }
116
- }]), r;
117
- }(w);
118
- _(h, "displayName", "SkeletonSVG");
119
- _(h, "enhance", [D()]);
120
- _(h, "style", A);
121
- _(h, "defaultProps", {
139
+ }]);
140
+ return SkeletonSVG2;
141
+ }(Component);
142
+ _defineProperty(SkeletonSVG, "displayName", "SkeletonSVG");
143
+ _defineProperty(SkeletonSVG, "enhance", [uniqueIDEnhancement()]);
144
+ _defineProperty(SkeletonSVG, "style", style);
145
+ _defineProperty(SkeletonSVG, "defaultProps", {
122
146
  theme: "invert",
123
147
  duration: 2e3
124
148
  });
125
- function j(a) {
126
- var m = $, r = a.y, o = r === void 0 ? 0 : r, e = a.x, t = e === void 0 ? 0 : e, n = a.amount, i = n === void 0 ? 1 : n, l = a.width, d = l === void 0 ? "100%" : l, u = a.styles, c = a.forwardRef, S = M(a, N), T = Number(i), G = function(f) {
127
- var k;
128
- return k = p(u), /* @__PURE__ */ s.createElement(m, k.cn("SText", g({
129
- tag: "rect",
130
- rx: "4",
131
- ry: "4",
132
- height: "8"
133
- }, f)));
149
+ function Text(props) {
150
+ var SText = Box;
151
+ var _props$y = props.y, y = _props$y === void 0 ? 0 : _props$y, _props$x = props.x, x = _props$x === void 0 ? 0 : _props$x, _props$amount = props.amount, amount = _props$amount === void 0 ? 1 : _props$amount, _props$width = props.width, width = _props$width === void 0 ? "100%" : _props$width, styles = props.styles, forwardRef = props.forwardRef, other = _objectWithoutProperties(props, _excluded);
152
+ var amountLine = Number(amount);
153
+ var renderRect = function renderRect2(props2) {
154
+ var _ref5;
155
+ return _ref5 = sstyled(styles), /* @__PURE__ */ React.createElement(SText, _ref5.cn("SText", _objectSpread({
156
+ "tag": "rect",
157
+ "rx": "4",
158
+ "ry": "4",
159
+ "height": "8"
160
+ }, props2)));
134
161
  };
135
- return /* @__PURE__ */ s.createElement(s.Fragment, null, z(Array(T)).map(function(V, f) {
136
- return G(g({
137
- key: f,
138
- y: o || 20 * f,
139
- x: t,
140
- ref: c,
141
- width: d
142
- }, S));
162
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, _toConsumableArray(Array(amountLine)).map(function(el, index) {
163
+ return renderRect(_objectSpread({
164
+ key: index,
165
+ y: y || 20 * index,
166
+ x,
167
+ ref: forwardRef,
168
+ width
169
+ }, other));
143
170
  }));
144
171
  }
145
- var L = C(v);
146
- const ie = C(h, {
147
- Text: j
172
+ var Skeleton = createComponent(SkeletonRoot);
173
+ const Skeleton$1 = createComponent(SkeletonSVG, {
174
+ Text
148
175
  });
149
176
  export {
150
- L as Skeleton,
151
- ie as default
177
+ Skeleton,
178
+ Skeleton$1 as default
152
179
  };
package/lib/esm/index.mjs CHANGED
@@ -1,24 +1,24 @@
1
- import { default as a } from "./Skeleton.mjs";
2
- import { default as o } from "./Charts/Histogram.mjs";
3
- import { default as f } from "./Charts/Donut.mjs";
4
- import { default as m } from "./Charts/Bar.mjs";
5
- import { default as d } from "./Charts/CompactHorizontalBar.mjs";
6
- import { default as s } from "./Charts/Area.mjs";
7
- import { default as C } from "./Charts/Line.mjs";
8
- import { default as h } from "./Charts/Venn.mjs";
9
- import { default as i } from "./Charts/ScatterPlot.mjs";
10
- import { default as b } from "./Charts/Bubble.mjs";
11
- import { default as H } from "./Charts/RadialTree.mjs";
1
+ import { default as default2 } from "./Skeleton.mjs";
2
+ import { default as default3 } from "./Charts/Histogram.mjs";
3
+ import { default as default4 } from "./Charts/Donut.mjs";
4
+ import { default as default5 } from "./Charts/Bar.mjs";
5
+ import { default as default6 } from "./Charts/CompactHorizontalBar.mjs";
6
+ import { default as default7 } from "./Charts/Area.mjs";
7
+ import { default as default8 } from "./Charts/Line.mjs";
8
+ import { default as default9 } from "./Charts/Venn.mjs";
9
+ import { default as default10 } from "./Charts/ScatterPlot.mjs";
10
+ import { default as default11 } from "./Charts/Bubble.mjs";
11
+ import { default as default12 } from "./Charts/RadialTree.mjs";
12
12
  export {
13
- s as AreaChartSkeleton,
14
- m as BarChartSkeleton,
15
- b as BubbleChartSkeleton,
16
- d as CompactHorizontalBarChartSkeleton,
17
- f as DonutChartSkeleton,
18
- o as HistogramChartSkeleton,
19
- C as LineChartSkeleton,
20
- H as RadialTreeChartSkeleton,
21
- i as ScatterPlotChartSkeleton,
22
- h as VennChartSkeleton,
23
- a as default
13
+ default7 as AreaChartSkeleton,
14
+ default5 as BarChartSkeleton,
15
+ default11 as BubbleChartSkeleton,
16
+ default6 as CompactHorizontalBarChartSkeleton,
17
+ default4 as DonutChartSkeleton,
18
+ default3 as HistogramChartSkeleton,
19
+ default8 as LineChartSkeleton,
20
+ default12 as RadialTreeChartSkeleton,
21
+ default10 as ScatterPlotChartSkeleton,
22
+ default9 as VennChartSkeleton,
23
+ default2 as default
24
24
  };
@@ -0,0 +1,17 @@
1
+ SChartSkeleton {
2
+ height: 200px;
3
+ width: 100%;
4
+ background-image: var(--bgPattern);
5
+ }
6
+
7
+ SChartSkeleton[bgPosition] {
8
+ background-position: var(--bgPosition);
9
+ }
10
+
11
+ SChartSkeleton[bgSize] {
12
+ background-size: var(--bgSize);
13
+ }
14
+
15
+ SChartSkeleton[bgRepeat] {
16
+ background-repeat: var(--bgRepeat);
17
+ }
@@ -0,0 +1,39 @@
1
+ SSkeleton {
2
+ animation-name: pulse;
3
+ animation-iteration-count: infinite;
4
+ animation-timing-function: ease-in-out;
5
+ animation-duration: var(--durationAnim);
6
+ will-change: opacity;
7
+ }
8
+
9
+ @keyframes pulse {
10
+ 0% {
11
+ opacity: 1;
12
+ }
13
+
14
+ 50% {
15
+ opacity: 0.4;
16
+ }
17
+
18
+ 100% {
19
+ opacity: 1;
20
+ }
21
+ }
22
+
23
+ SSkeletonSVG[theme='invert'] {
24
+ fill: var(--intergalactic-skeleton-bg, rgba(224, 225, 233, 0.8));
25
+ }
26
+
27
+ SSkeletonSVG[theme='dark'] {
28
+ fill: var(--intergalactic-skeleton-bg-invert, rgba(255, 255, 255, 0.3));
29
+ }
30
+
31
+ SText {
32
+ box-sizing: border-box;
33
+ }
34
+
35
+ @media (prefers-reduced-motion) {
36
+ SSkeleton {
37
+ animation-name: none;
38
+ }
39
+ }
@@ -1,33 +1,33 @@
1
- import r from "./de.json.mjs";
2
- import o from "./en.json.mjs";
3
- import m from "./es.json.mjs";
4
- import t from "./fr.json.mjs";
5
- import i from "./it.json.mjs";
6
- import p from "./ja.json.mjs";
7
- import f from "./ko.json.mjs";
8
- import e from "./nl.json.mjs";
9
- import s from "./pt.json.mjs";
10
- import a from "./tr.json.mjs";
11
- import l from "./vi.json.mjs";
12
- import v from "./zh.json.mjs";
13
- import d from "./pl.json.mjs";
14
- import n from "./sv.json.mjs";
15
- var B = {
16
- de: r,
17
- en: o,
18
- es: m,
19
- fr: t,
20
- it: i,
21
- ja: p,
22
- ko: f,
23
- nl: e,
24
- pt: s,
25
- tr: a,
26
- vi: l,
27
- zh: v,
28
- pl: d,
29
- sv: n
1
+ import de from "./de.json.mjs";
2
+ import en from "./en.json.mjs";
3
+ import es from "./es.json.mjs";
4
+ import fr from "./fr.json.mjs";
5
+ import it from "./it.json.mjs";
6
+ import ja from "./ja.json.mjs";
7
+ import ko from "./ko.json.mjs";
8
+ import nl from "./nl.json.mjs";
9
+ import pt from "./pt.json.mjs";
10
+ import tr from "./tr.json.mjs";
11
+ import vi from "./vi.json.mjs";
12
+ import zh from "./zh.json.mjs";
13
+ import pl from "./pl.json.mjs";
14
+ import sv from "./sv.json.mjs";
15
+ var localizedMessages = {
16
+ de,
17
+ en,
18
+ es,
19
+ fr,
20
+ it,
21
+ ja,
22
+ ko,
23
+ nl,
24
+ pt,
25
+ tr,
26
+ vi,
27
+ zh,
28
+ pl,
29
+ sv
30
30
  };
31
31
  export {
32
- B as localizedMessages
32
+ localizedMessages
33
33
  };
@@ -1,7 +1,8 @@
1
- const d = "Wird geladen …", a = {
2
- loading: d
1
+ const loading = "Wird geladen …";
2
+ const de = {
3
+ loading
3
4
  };
4
5
  export {
5
- a as default,
6
- d as loading
6
+ de as default,
7
+ loading
7
8
  };
@@ -1,7 +1,8 @@
1
- const n = "Loading…", o = {
2
- loading: n
1
+ const loading = "Loading…";
2
+ const en = {
3
+ loading
3
4
  };
4
5
  export {
5
- o as default,
6
- n as loading
6
+ en as default,
7
+ loading
7
8
  };
@@ -1,7 +1,8 @@
1
- const a = "Cargando", o = {
2
- loading: a
1
+ const loading = "Cargando";
2
+ const es = {
3
+ loading
3
4
  };
4
5
  export {
5
- o as default,
6
- a as loading
6
+ es as default,
7
+ loading
7
8
  };
@@ -1,7 +1,8 @@
1
- const n = "Chargement en cours", o = {
2
- loading: n
1
+ const loading = "Chargement en cours";
2
+ const fr = {
3
+ loading
3
4
  };
4
5
  export {
5
- o as default,
6
- n as loading
6
+ fr as default,
7
+ loading
7
8
  };
@@ -1,7 +1,8 @@
1
- const a = "Caricamento", o = {
2
- loading: a
1
+ const loading = "Caricamento";
2
+ const it = {
3
+ loading
3
4
  };
4
5
  export {
5
- o as default,
6
- a as loading
6
+ it as default,
7
+ loading
7
8
  };
@@ -1,7 +1,8 @@
1
- const a = "読み込み中", o = {
2
- loading: a
1
+ const loading = "読み込み中";
2
+ const ja = {
3
+ loading
3
4
  };
4
5
  export {
5
- o as default,
6
- a as loading
6
+ ja as default,
7
+ loading
7
8
  };
@@ -1,7 +1,8 @@
1
- const o = "로딩 중", a = {
2
- loading: o
1
+ const loading = "로딩 중";
2
+ const ko = {
3
+ loading
3
4
  };
4
5
  export {
5
- a as default,
6
- o as loading
6
+ ko as default,
7
+ loading
7
8
  };
@@ -1,7 +1,8 @@
1
- const n = "Bezig met laden...", a = {
2
- loading: n
1
+ const loading = "Bezig met laden...";
2
+ const nl = {
3
+ loading
3
4
  };
4
5
  export {
5
- a as default,
6
- n as loading
6
+ nl as default,
7
+ loading
7
8
  };
@@ -1,7 +1,8 @@
1
- const a = "Ładowanie…", o = {
2
- loading: a
1
+ const loading = "Ładowanie…";
2
+ const pl = {
3
+ loading
3
4
  };
4
5
  export {
5
- o as default,
6
- a as loading
6
+ pl as default,
7
+ loading
7
8
  };
@@ -1,7 +1,8 @@
1
- const a = "Carregando", o = {
2
- loading: a
1
+ const loading = "Carregando";
2
+ const pt = {
3
+ loading
3
4
  };
4
5
  export {
5
- o as default,
6
- a as loading
6
+ pt as default,
7
+ loading
7
8
  };
@@ -1,7 +1,8 @@
1
- const a = "Laddar…", d = {
2
- loading: a
1
+ const loading = "Laddar…";
2
+ const sv = {
3
+ loading
3
4
  };
4
5
  export {
5
- d as default,
6
- a as loading
6
+ sv as default,
7
+ loading
7
8
  };
@@ -1,7 +1,8 @@
1
- const o = "Yükleniyor", n = {
2
- loading: o
1
+ const loading = "Yükleniyor";
2
+ const tr = {
3
+ loading
3
4
  };
4
5
  export {
5
- n as default,
6
- o as loading
6
+ tr as default,
7
+ loading
7
8
  };
@@ -1,7 +1,8 @@
1
- const a = "Đang tải…", n = {
2
- loading: a
1
+ const loading = "Đang tải…";
2
+ const vi = {
3
+ loading
3
4
  };
4
5
  export {
5
- n as default,
6
- a as loading
6
+ vi as default,
7
+ loading
7
8
  };