@spark-web/spinner 1.0.8 → 1.1.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
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @spark-web/spinner
|
|
2
2
|
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#382](https://github.com/brighte-labs/spark-web/pull/382)
|
|
8
|
+
[`955bf5d`](https://github.com/brighte-labs/spark-web/commit/955bf5d7698bfdf45e7f317aa3e726c81d3444c0)
|
|
9
|
+
Thanks [@dilipt-brighte](https://github.com/dilipt-brighte)! - Updates React
|
|
10
|
+
version to latest (18.2.0)
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
[[`955bf5d`](https://github.com/brighte-labs/spark-web/commit/955bf5d7698bfdf45e7f317aa3e726c81d3444c0)]:
|
|
16
|
+
- @spark-web/a11y@1.4.0
|
|
17
|
+
- @spark-web/box@1.2.0
|
|
18
|
+
- @spark-web/icon@1.3.0
|
|
19
|
+
- @spark-web/utils@1.3.0
|
|
20
|
+
|
|
3
21
|
## 1.0.8
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -11,9 +11,9 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
11
11
|
|
|
12
12
|
function Spinner(_ref) {
|
|
13
13
|
var tone = _ref.tone,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
_ref$size = _ref.size,
|
|
15
|
+
size = _ref$size === void 0 ? 'xxsmall' : _ref$size,
|
|
16
|
+
data = _ref.data;
|
|
17
17
|
var spinAnimationRef = utils.useSynchronizedAnimation(spinAnimation);
|
|
18
18
|
var strokeAnimationRef = utils.useSynchronizedAnimation(strokeDashAnimation);
|
|
19
19
|
var styles = useSpinnerStyles();
|
|
@@ -61,7 +61,6 @@ var strokeDashAnimation = css.keyframes({
|
|
|
61
61
|
strokeDashoffset: '-55px'
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
|
|
65
64
|
function useSpinnerStyles() {
|
|
66
65
|
return {
|
|
67
66
|
animation: "".concat(spinAnimation, " 1.4s linear infinite"),
|
|
@@ -11,9 +11,9 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
11
11
|
|
|
12
12
|
function Spinner(_ref) {
|
|
13
13
|
var tone = _ref.tone,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
_ref$size = _ref.size,
|
|
15
|
+
size = _ref$size === void 0 ? 'xxsmall' : _ref$size,
|
|
16
|
+
data = _ref.data;
|
|
17
17
|
var spinAnimationRef = utils.useSynchronizedAnimation(spinAnimation);
|
|
18
18
|
var strokeAnimationRef = utils.useSynchronizedAnimation(strokeDashAnimation);
|
|
19
19
|
var styles = useSpinnerStyles();
|
|
@@ -61,7 +61,6 @@ var strokeDashAnimation = css.keyframes({
|
|
|
61
61
|
strokeDashoffset: '-55px'
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
|
|
65
64
|
function useSpinnerStyles() {
|
|
66
65
|
return {
|
|
67
66
|
animation: "".concat(spinAnimation, " 1.4s linear infinite"),
|
|
@@ -7,9 +7,9 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
7
7
|
|
|
8
8
|
function Spinner(_ref) {
|
|
9
9
|
var tone = _ref.tone,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
_ref$size = _ref.size,
|
|
11
|
+
size = _ref$size === void 0 ? 'xxsmall' : _ref$size,
|
|
12
|
+
data = _ref.data;
|
|
13
13
|
var spinAnimationRef = useSynchronizedAnimation(spinAnimation);
|
|
14
14
|
var strokeAnimationRef = useSynchronizedAnimation(strokeDashAnimation);
|
|
15
15
|
var styles = useSpinnerStyles();
|
|
@@ -57,7 +57,6 @@ var strokeDashAnimation = keyframes({
|
|
|
57
57
|
strokeDashoffset: '-55px'
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
|
-
|
|
61
60
|
function useSpinnerStyles() {
|
|
62
61
|
return {
|
|
63
62
|
animation: "".concat(spinAnimation, " 1.4s linear infinite"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-web/spinner",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"homepage": "https://github.com/brighte-labs/spark-web#readme",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime": "^7.19.0",
|
|
19
19
|
"@emotion/css": "^11.9.0",
|
|
20
|
-
"@spark-web/a11y": "^1.
|
|
21
|
-
"@spark-web/box": "^1.
|
|
22
|
-
"@spark-web/icon": "^1.
|
|
23
|
-
"@spark-web/utils": "^1.
|
|
20
|
+
"@spark-web/a11y": "^1.4.0",
|
|
21
|
+
"@spark-web/box": "^1.2.0",
|
|
22
|
+
"@spark-web/icon": "^1.3.0",
|
|
23
|
+
"@spark-web/utils": "^1.3.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/react": "^
|
|
27
|
-
"react": "^
|
|
26
|
+
"@types/react": "^18.2.0",
|
|
27
|
+
"react": "^18.2.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"react": ">=17.0.2"
|