@semcore/skeleton 17.0.0-prerelease.36 → 17.0.0-prerelease.37
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 +1 -1
- package/lib/esm/Charts/Area.mjs +1 -2
- package/lib/esm/Charts/Bar.mjs +1 -2
- package/lib/esm/Charts/Bubble.mjs +1 -2
- package/lib/esm/Charts/CompactHorizontalBar.mjs +1 -2
- package/lib/esm/Charts/Donut.mjs +1 -2
- package/lib/esm/Charts/Histogram.mjs +1 -2
- package/lib/esm/Charts/Line.mjs +1 -2
- package/lib/esm/Charts/RadialTree.mjs +1 -2
- package/lib/esm/Charts/ScatterPlot.mjs +1 -2
- package/lib/esm/Charts/Venn.mjs +1 -2
- package/lib/esm/Charts/index.mjs +22 -0
- package/lib/esm/Skeleton.mjs +3 -6
- package/lib/esm/index.mjs +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/lib/esm/Charts/Area.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sstyled, assignProps, createComponent } from "@semcore/core";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Skeleton } from "../Skeleton.mjs";
|
|
4
|
-
/*!__reshadow-styles__:"../style/chart.shadow.css"*/
|
|
5
4
|
const styles = (
|
|
6
5
|
/*__reshadow_css_start__*/
|
|
7
6
|
(sstyled.insert(
|
package/lib/esm/Charts/Bar.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sstyled, assignProps, createComponent } from "@semcore/core";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Skeleton } from "../Skeleton.mjs";
|
|
4
|
-
/*!__reshadow-styles__:"../style/chart.shadow.css"*/
|
|
5
4
|
const styles = (
|
|
6
5
|
/*__reshadow_css_start__*/
|
|
7
6
|
(sstyled.insert(
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sstyled, assignProps, createComponent } from "@semcore/core";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Skeleton } from "../Skeleton.mjs";
|
|
4
|
-
/*!__reshadow-styles__:"../style/chart.shadow.css"*/
|
|
5
4
|
const styles = (
|
|
6
5
|
/*__reshadow_css_start__*/
|
|
7
6
|
(sstyled.insert(
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sstyled, assignProps, createComponent } from "@semcore/core";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Skeleton } from "../Skeleton.mjs";
|
|
4
|
-
/*!__reshadow-styles__:"../style/chart.shadow.css"*/
|
|
5
4
|
const styles = (
|
|
6
5
|
/*__reshadow_css_start__*/
|
|
7
6
|
(sstyled.insert(
|
package/lib/esm/Charts/Donut.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sstyled, assignProps, createComponent } from "@semcore/core";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Skeleton } from "../Skeleton.mjs";
|
|
4
|
-
/*!__reshadow-styles__:"../style/chart.shadow.css"*/
|
|
5
4
|
const styles = (
|
|
6
5
|
/*__reshadow_css_start__*/
|
|
7
6
|
(sstyled.insert(
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sstyled, assignProps, createComponent } from "@semcore/core";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Skeleton } from "../Skeleton.mjs";
|
|
4
|
-
/*!__reshadow-styles__:"../style/chart.shadow.css"*/
|
|
5
4
|
const styles = (
|
|
6
5
|
/*__reshadow_css_start__*/
|
|
7
6
|
(sstyled.insert(
|
package/lib/esm/Charts/Line.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sstyled, assignProps, createComponent } from "@semcore/core";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Skeleton } from "../Skeleton.mjs";
|
|
4
|
-
/*!__reshadow-styles__:"../style/chart.shadow.css"*/
|
|
5
4
|
const styles = (
|
|
6
5
|
/*__reshadow_css_start__*/
|
|
7
6
|
(sstyled.insert(
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sstyled, assignProps, createComponent } from "@semcore/core";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Skeleton } from "../Skeleton.mjs";
|
|
4
|
-
/*!__reshadow-styles__:"../style/chart.shadow.css"*/
|
|
5
4
|
const styles = (
|
|
6
5
|
/*__reshadow_css_start__*/
|
|
7
6
|
(sstyled.insert(
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sstyled, assignProps, createComponent } from "@semcore/core";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Skeleton } from "../Skeleton.mjs";
|
|
4
|
-
/*!__reshadow-styles__:"../style/chart.shadow.css"*/
|
|
5
4
|
const styles = (
|
|
6
5
|
/*__reshadow_css_start__*/
|
|
7
6
|
(sstyled.insert(
|
package/lib/esm/Charts/Venn.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { sstyled, assignProps, createComponent } from "@semcore/core";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Skeleton } from "../Skeleton.mjs";
|
|
4
|
-
/*!__reshadow-styles__:"../style/chart.shadow.css"*/
|
|
5
4
|
const styles = (
|
|
6
5
|
/*__reshadow_css_start__*/
|
|
7
6
|
(sstyled.insert(
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as default2 } from "./Histogram.mjs";
|
|
2
|
+
import { default as default3 } from "./Donut.mjs";
|
|
3
|
+
import { default as default4 } from "./Bar.mjs";
|
|
4
|
+
import { default as default5 } from "./CompactHorizontalBar.mjs";
|
|
5
|
+
import { default as default6 } from "./Area.mjs";
|
|
6
|
+
import { default as default7 } from "./Line.mjs";
|
|
7
|
+
import { default as default8 } from "./Venn.mjs";
|
|
8
|
+
import { default as default9 } from "./ScatterPlot.mjs";
|
|
9
|
+
import { default as default10 } from "./Bubble.mjs";
|
|
10
|
+
import { default as default11 } from "./RadialTree.mjs";
|
|
11
|
+
export {
|
|
12
|
+
default6 as AreaChartSkeleton,
|
|
13
|
+
default4 as BarChartSkeleton,
|
|
14
|
+
default10 as BubbleChartSkeleton,
|
|
15
|
+
default5 as CompactHorizontalBarChartSkeleton,
|
|
16
|
+
default3 as DonutChartSkeleton,
|
|
17
|
+
default2 as HistogramChartSkeleton,
|
|
18
|
+
default7 as LineChartSkeleton,
|
|
19
|
+
default11 as RadialTreeChartSkeleton,
|
|
20
|
+
default9 as ScatterPlotChartSkeleton,
|
|
21
|
+
default8 as VennChartSkeleton
|
|
22
|
+
};
|
package/lib/esm/Skeleton.mjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
import {
|
|
2
|
+
import { sstyled, Component, assignProps, createComponent } from "@semcore/core";
|
|
3
3
|
import { Box } from "@semcore/base-components";
|
|
4
4
|
import canUseDOM from "@semcore/core/lib/utils/canUseDOM";
|
|
5
5
|
import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
|
|
6
6
|
import uniqueIDEnhancement from "@semcore/core/lib/utils/uniqueID";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
|
|
9
|
-
/*!__reshadow-styles__:"./style/skeleton.shadow.css"*/
|
|
10
9
|
const style = (
|
|
11
10
|
/*__reshadow_css_start__*/
|
|
12
11
|
(sstyled.insert(
|
|
@@ -66,12 +65,10 @@ class SkeletonSVG extends Component {
|
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
67
|
componentDidMount() {
|
|
69
|
-
|
|
70
|
-
(_b = this.observer) == null ? void 0 : _b.observe((_a = this.svgRef.current) == null ? void 0 : _a.parentElement);
|
|
68
|
+
this.observer?.observe(this.svgRef.current?.parentElement);
|
|
71
69
|
}
|
|
72
70
|
componentWillUnmount() {
|
|
73
|
-
|
|
74
|
-
(_a = this.observer) == null ? void 0 : _a.disconnect();
|
|
71
|
+
this.observer?.disconnect();
|
|
75
72
|
}
|
|
76
73
|
handleResize(data) {
|
|
77
74
|
const target = data[0].target;
|
package/lib/esm/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/skeleton",
|
|
3
3
|
"description": "Semrush Skeleton Component",
|
|
4
|
-
"version": "17.0.0-prerelease.
|
|
4
|
+
"version": "17.0.0-prerelease.37",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"directory": "semcore/skeleton"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@semcore/
|
|
26
|
-
"@semcore/
|
|
27
|
-
"@semcore/
|
|
25
|
+
"@semcore/base-components": "17.0.0-prerelease.37",
|
|
26
|
+
"@semcore/core": "17.0.0-prerelease.37",
|
|
27
|
+
"@semcore/testing-utils": "1.0.0"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "pnpm semcore-builder --source=js && pnpm vite build"
|