@spark-web/spinner 2.0.0-rc.1 → 2.0.0-rc.2

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
@@ -1,5 +1,19 @@
1
1
  # @spark-web/spinner
2
2
 
3
+ ## 2.0.0-rc.2
4
+
5
+ ### Major Changes
6
+
7
+ - add parser
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies []:
12
+ - @spark-web/utils@2.0.0-rc.2
13
+ - @spark-web/a11y@2.0.0-rc.2
14
+ - @spark-web/icon@2.0.0-rc.2
15
+ - @spark-web/box@2.0.0-rc.2
16
+
3
17
  ## 2.0.0-rc.1
4
18
 
5
19
  ### Major Changes
@@ -7,7 +7,7 @@ var a11y = require('@spark-web/a11y');
7
7
  var box = require('@spark-web/box');
8
8
  var icon = require('@spark-web/icon');
9
9
  var utils = require('@spark-web/utils');
10
- var jsxRuntime = require('react/jsx-runtime');
10
+ var jsxRuntime = require('@emotion/react/jsx-runtime');
11
11
 
12
12
  function Spinner(_ref) {
13
13
  var tone = _ref.tone,
@@ -17,7 +17,7 @@ function Spinner(_ref) {
17
17
  var spinAnimationRef = utils.useSynchronizedAnimation(spinAnimation);
18
18
  var strokeAnimationRef = utils.useSynchronizedAnimation(strokeDashAnimation);
19
19
  var styles = useSpinnerStyles();
20
- return /*#__PURE__*/jsxRuntime.jsxs(box.Box, {
20
+ return jsxRuntime.jsxs(box.Box, {
21
21
  as: "span",
22
22
  ref: spinAnimationRef,
23
23
  css: react.css(styles),
@@ -27,9 +27,9 @@ function Spinner(_ref) {
27
27
  alignItems: "center",
28
28
  justifyContent: "center",
29
29
  data: data,
30
- children: [/*#__PURE__*/jsxRuntime.jsx(a11y.VisuallyHidden, {
30
+ children: [jsxRuntime.jsx(a11y.VisuallyHidden, {
31
31
  children: "Image of a partial circle indicating \"loading\"."
32
- }), /*#__PURE__*/jsxRuntime.jsx(SpinnerIcon, {
32
+ }), jsxRuntime.jsx(SpinnerIcon, {
33
33
  size: size,
34
34
  tone: tone,
35
35
  ref: strokeAnimationRef,
@@ -38,7 +38,7 @@ function Spinner(_ref) {
38
38
  });
39
39
  }
40
40
  Spinner.displayName = 'Spinner';
41
- var SpinnerIcon = icon.createIcon( /*#__PURE__*/jsxRuntime.jsx("circle", {
41
+ var SpinnerIcon = icon.createIcon(jsxRuntime.jsx("circle", {
42
42
  cx: 12,
43
43
  cy: 12,
44
44
  r: 9
@@ -7,7 +7,7 @@ var a11y = require('@spark-web/a11y');
7
7
  var box = require('@spark-web/box');
8
8
  var icon = require('@spark-web/icon');
9
9
  var utils = require('@spark-web/utils');
10
- var jsxRuntime = require('react/jsx-runtime');
10
+ var jsxRuntime = require('@emotion/react/jsx-runtime');
11
11
 
12
12
  function Spinner(_ref) {
13
13
  var tone = _ref.tone,
@@ -17,7 +17,7 @@ function Spinner(_ref) {
17
17
  var spinAnimationRef = utils.useSynchronizedAnimation(spinAnimation);
18
18
  var strokeAnimationRef = utils.useSynchronizedAnimation(strokeDashAnimation);
19
19
  var styles = useSpinnerStyles();
20
- return /*#__PURE__*/jsxRuntime.jsxs(box.Box, {
20
+ return jsxRuntime.jsxs(box.Box, {
21
21
  as: "span",
22
22
  ref: spinAnimationRef,
23
23
  css: react.css(styles),
@@ -27,9 +27,9 @@ function Spinner(_ref) {
27
27
  alignItems: "center",
28
28
  justifyContent: "center",
29
29
  data: data,
30
- children: [/*#__PURE__*/jsxRuntime.jsx(a11y.VisuallyHidden, {
30
+ children: [jsxRuntime.jsx(a11y.VisuallyHidden, {
31
31
  children: "Image of a partial circle indicating \"loading\"."
32
- }), /*#__PURE__*/jsxRuntime.jsx(SpinnerIcon, {
32
+ }), jsxRuntime.jsx(SpinnerIcon, {
33
33
  size: size,
34
34
  tone: tone,
35
35
  ref: strokeAnimationRef,
@@ -38,7 +38,7 @@ function Spinner(_ref) {
38
38
  });
39
39
  }
40
40
  Spinner.displayName = 'Spinner';
41
- var SpinnerIcon = icon.createIcon( /*#__PURE__*/jsxRuntime.jsx("circle", {
41
+ var SpinnerIcon = icon.createIcon(jsxRuntime.jsx("circle", {
42
42
  cx: 12,
43
43
  cy: 12,
44
44
  r: 9
@@ -3,7 +3,7 @@ import { VisuallyHidden } from '@spark-web/a11y';
3
3
  import { Box } from '@spark-web/box';
4
4
  import { createIcon } from '@spark-web/icon';
5
5
  import { useSynchronizedAnimation } from '@spark-web/utils';
6
- import { jsx, jsxs } from 'react/jsx-runtime';
6
+ import { jsx, jsxs } from '@emotion/react/jsx-runtime';
7
7
 
8
8
  function Spinner(_ref) {
9
9
  var tone = _ref.tone,
@@ -13,7 +13,7 @@ function Spinner(_ref) {
13
13
  var spinAnimationRef = useSynchronizedAnimation(spinAnimation);
14
14
  var strokeAnimationRef = useSynchronizedAnimation(strokeDashAnimation);
15
15
  var styles = useSpinnerStyles();
16
- return /*#__PURE__*/jsxs(Box, {
16
+ return jsxs(Box, {
17
17
  as: "span",
18
18
  ref: spinAnimationRef,
19
19
  css: css(styles),
@@ -23,9 +23,9 @@ function Spinner(_ref) {
23
23
  alignItems: "center",
24
24
  justifyContent: "center",
25
25
  data: data,
26
- children: [/*#__PURE__*/jsx(VisuallyHidden, {
26
+ children: [jsx(VisuallyHidden, {
27
27
  children: "Image of a partial circle indicating \"loading\"."
28
- }), /*#__PURE__*/jsx(SpinnerIcon, {
28
+ }), jsx(SpinnerIcon, {
29
29
  size: size,
30
30
  tone: tone,
31
31
  ref: strokeAnimationRef,
@@ -34,7 +34,7 @@ function Spinner(_ref) {
34
34
  });
35
35
  }
36
36
  Spinner.displayName = 'Spinner';
37
- var SpinnerIcon = createIcon( /*#__PURE__*/jsx("circle", {
37
+ var SpinnerIcon = createIcon(jsx("circle", {
38
38
  cx: 12,
39
39
  cy: 12,
40
40
  r: 9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-web/spinner",
3
- "version": "2.0.0-rc.1",
3
+ "version": "2.0.0-rc.2",
4
4
  "homepage": "https://github.com/brighte-labs/spark-web#readme",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,10 +17,10 @@
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.25.0",
19
19
  "@emotion/react": "^11.13.5",
20
- "@spark-web/a11y": "^2.0.0-rc.1",
21
- "@spark-web/box": "^2.0.0-rc.1",
22
- "@spark-web/icon": "^2.0.0-rc.1",
23
- "@spark-web/utils": "^2.0.0-rc.1"
20
+ "@spark-web/a11y": "^2.0.0-rc.2",
21
+ "@spark-web/box": "^2.0.0-rc.2",
22
+ "@spark-web/icon": "^2.0.0-rc.2",
23
+ "@spark-web/utils": "^2.0.0-rc.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/react": "^18.2.0",