@semcore/skeleton 16.0.6 → 16.0.7-prerelease.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 (38) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/lib/cjs/Charts/Area.js +9 -9
  3. package/lib/cjs/Charts/Bar.js +9 -9
  4. package/lib/cjs/Charts/Bubble.js +9 -9
  5. package/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
  6. package/lib/cjs/Charts/Donut.js +9 -9
  7. package/lib/cjs/Charts/Histogram.js +9 -9
  8. package/lib/cjs/Charts/Line.js +9 -9
  9. package/lib/cjs/Charts/RadialTree.js +9 -9
  10. package/lib/cjs/Charts/ScatterPlot.js +9 -9
  11. package/lib/cjs/Charts/Venn.js +9 -9
  12. package/lib/cjs/Skeleton.js +8 -8
  13. package/lib/cjs/index.d.js.map +1 -1
  14. package/lib/es6/Charts/Area.js +9 -9
  15. package/lib/es6/Charts/Bar.js +9 -9
  16. package/lib/es6/Charts/Bubble.js +9 -9
  17. package/lib/es6/Charts/CompactHorizontalBar.js +9 -9
  18. package/lib/es6/Charts/Donut.js +9 -9
  19. package/lib/es6/Charts/Histogram.js +9 -9
  20. package/lib/es6/Charts/Line.js +9 -9
  21. package/lib/es6/Charts/RadialTree.js +9 -9
  22. package/lib/es6/Charts/ScatterPlot.js +9 -9
  23. package/lib/es6/Charts/Venn.js +9 -9
  24. package/lib/es6/Skeleton.js +8 -8
  25. package/lib/es6/index.d.js.map +1 -1
  26. package/lib/esm/Charts/Area.mjs +10 -10
  27. package/lib/esm/Charts/Bar.mjs +10 -10
  28. package/lib/esm/Charts/Bubble.mjs +10 -10
  29. package/lib/esm/Charts/CompactHorizontalBar.mjs +10 -10
  30. package/lib/esm/Charts/Donut.mjs +10 -10
  31. package/lib/esm/Charts/Histogram.mjs +10 -10
  32. package/lib/esm/Charts/Line.mjs +10 -10
  33. package/lib/esm/Charts/RadialTree.mjs +10 -10
  34. package/lib/esm/Charts/ScatterPlot.mjs +10 -10
  35. package/lib/esm/Charts/Venn.mjs +10 -10
  36. package/lib/esm/Skeleton.mjs +9 -9
  37. package/lib/types/index.d.ts +5 -2
  38. package/package.json +4 -4
@@ -24,18 +24,18 @@ var style = (
24
24
  /*__reshadow_css_start__*/
25
25
  (sstyled.insert(
26
26
  /*__inner_css_start__*/
27
- "@keyframes pulse_1lvsx{0%,to{opacity:1}50%{opacity:.4}}.___SSkeleton_1lvsx_gg_{animation-name:pulse_1lvsx;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:var(--durationAnim_1lvsx);will-change:opacity}.___SSkeletonSVG_1lvsx_gg_._theme_invert_1lvsx_gg_{fill:var(--intergalactic-skeleton-bg, rgba(224, 225, 233, 0.8))}.___SSkeletonSVG_1lvsx_gg_._theme_dark_1lvsx_gg_{fill:var(--intergalactic-skeleton-bg-invert, rgba(255, 255, 255, 0.3))}.___SText_1lvsx_gg_{box-sizing:border-box}@media (prefers-reduced-motion){.___SSkeleton_1lvsx_gg_{animation-name:none}}",
27
+ "@keyframes pulse_1niqr{0%,to{opacity:1}50%{opacity:.4}}.___SSkeleton_1niqr_gg_{animation-name:pulse_1niqr;animation-iteration-count:infinite;animation-timing-function:ease-in-out;animation-duration:var(--durationAnim_1niqr);will-change:opacity}.___SSkeletonSVG_1niqr_gg_._theme_invert_1niqr_gg_{fill:var(--intergalactic-skeleton-bg, rgba(224, 225, 233, 0.8))}.___SSkeletonSVG_1niqr_gg_._theme_dark_1niqr_gg_{fill:var(--intergalactic-skeleton-bg-invert, rgba(255, 255, 255, 0.3))}.___SText_1niqr_gg_{box-sizing:border-box}@media (prefers-reduced-motion){.___SSkeleton_1niqr_gg_{animation-name:none}}",
28
28
  /*__inner_css_end__*/
29
- "1lvsx_gg_"
29
+ "1niqr_gg_"
30
30
  ), /*__reshadow_css_end__*/
31
31
  {
32
- "__SSkeleton": "___SSkeleton_1lvsx_gg_",
33
- "--durationAnim": "--durationAnim_1lvsx",
34
- "@pulse": "pulse_1lvsx",
35
- "__SSkeletonSVG": "___SSkeletonSVG_1lvsx_gg_",
36
- "_theme_invert": "_theme_invert_1lvsx_gg_",
37
- "_theme_dark": "_theme_dark_1lvsx_gg_",
38
- "__SText": "___SText_1lvsx_gg_"
32
+ "__SSkeleton": "___SSkeleton_1niqr_gg_",
33
+ "--durationAnim": "--durationAnim_1niqr",
34
+ "@pulse": "pulse_1niqr",
35
+ "__SSkeletonSVG": "___SSkeletonSVG_1niqr_gg_",
36
+ "_theme_invert": "_theme_invert_1niqr_gg_",
37
+ "_theme_dark": "_theme_dark_1niqr_gg_",
38
+ "__SText": "___SText_1niqr_gg_"
39
39
  })
40
40
  );
41
41
  var MAP_COLOR_THEME = {
@@ -20,9 +20,8 @@ export type SkeletonProps = BoxProps &
20
20
  * @default invert
21
21
  */
22
22
  theme?: 'dark' | 'invert';
23
-
23
+ /** Specifies the locale for i18n support */
24
24
  locale?: string;
25
-
26
25
  /**
27
26
  * Enable ResizeObserver for parent Element to recalculate skeleton size.
28
27
  * @default false
@@ -47,18 +46,22 @@ export type SkeletonTextProps = BoxProps & {
47
46
  };
48
47
 
49
48
  export type AreaChartSkeletonProps = SkeletonProps & {
49
+ /** Controls the area curve interpolation style for the skeleton pattern */
50
50
  type?: 'linear' | 'monotone';
51
51
  };
52
52
 
53
53
  export type BarChartSkeletonProps = SkeletonProps & {
54
+ /** Controls the orientation of the bar chart skeleton */
54
55
  layout?: 'horizontal' | 'vertical';
55
56
  };
56
57
 
57
58
  export type HistogramChartSkeletonProps = SkeletonProps & {
59
+ /** Controls the orientation of the histogram chart skeleton */
58
60
  layout?: 'horizontal' | 'vertical';
59
61
  };
60
62
 
61
63
  export type LineChartSkeletonProps = SkeletonProps & {
64
+ /** Controls the line interpolation style for the skeleton pattern */
62
65
  type?: 'linear' | 'monotone';
63
66
  };
64
67
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/skeleton",
3
3
  "description": "Semrush Skeleton Component",
4
- "version": "16.0.6",
4
+ "version": "16.0.7-prerelease.1",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "types": "lib/types/index.d.ts",
@@ -14,10 +14,10 @@
14
14
  "types": "./lib/types/index.d.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/flex-box": "16.0.6"
17
+ "@semcore/flex-box": "16.0.7-prerelease.1"
18
18
  },
19
19
  "peerDependencies": {
20
- "@semcore/base-components": "^16.0.0"
20
+ "@semcore/base-components": "^16.2.1-prerelease.1"
21
21
  },
22
22
  "repository": {
23
23
  "type": "git",
@@ -25,7 +25,7 @@
25
25
  "directory": "semcore/skeleton"
26
26
  },
27
27
  "devDependencies": {
28
- "@semcore/core": "16.0.4",
28
+ "@semcore/core": "16.1.0-prerelease.1",
29
29
  "@semcore/testing-utils": "1.0.0"
30
30
  },
31
31
  "scripts": {