cozy-ui 119.0.0 → 119.0.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [119.0.1](https://github.com/cozy/cozy-ui/compare/v119.0.0...v119.0.1) (2025-03-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **Spinner:** Missed `role` and `aria-busy` props ([f7f0894](https://github.com/cozy/cozy-ui/commit/f7f0894))
7
+
1
8
  # [119.0.0](https://github.com/cozy/cozy-ui/compare/v118.0.0...v119.0.0) (2025-03-10)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui",
3
- "version": "119.0.0",
3
+ "version": "119.0.1",
4
4
  "description": "Cozy apps UI SDK",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -7,7 +7,7 @@ import { isTwakeTheme } from '../helpers/isTwakeTheme'
7
7
  function SvgSpinner(props) {
8
8
  if (isTwakeTheme()) return SvgSpinnerTwake(props)
9
9
  return (
10
- <svg viewBox="0 0 32 32" {...props}>
10
+ <svg viewBox="0 0 32 32" {...props} role="progressbar" aria-busy="true">
11
11
  <path
12
12
  opacity={0.25}
13
13
  d="M16 0a16 16 0 000 32 16 16 0 000-32m0 4a12 12 0 010 24 12 12 0 010-24"
@@ -3,7 +3,7 @@ import React from 'react'
3
3
 
4
4
  function SvgSpinnerTwake(props) {
5
5
  return (
6
- <svg viewBox="0 0 16 16" {...props}>
6
+ <svg viewBox="0 0 16 16" {...props} role="progressbar" aria-busy="true">
7
7
  <path d="M8 16a7.74 7.74 0 01-3.1-.63 8.114 8.114 0 01-2.55-1.72A8.115 8.115 0 01.63 11.1 7.74 7.74 0 010 8c0-1.107.21-2.143.63-3.11a8.146 8.146 0 011.72-2.54A8.114 8.114 0 014.9.63 7.74 7.74 0 018 0c.227 0 .417.077.57.23.153.153.23.343.23.57a.774.774 0 01-.23.57.774.774 0 01-.57.23c-1.773 0-3.283.623-4.53 1.87C2.223 4.717 1.6 6.227 1.6 8c0 1.773.623 3.283 1.87 4.53C4.717 13.777 6.227 14.4 8 14.4c1.773 0 3.283-.623 4.53-1.87C13.777 11.283 14.4 9.773 14.4 8c0-.227.077-.417.23-.57a.774.774 0 01.57-.23c.227 0 .417.077.57.23.153.153.23.343.23.57a7.74 7.74 0 01-.63 3.1 8.115 8.115 0 01-1.72 2.55 8.146 8.146 0 01-2.54 1.72A7.72 7.72 0 018 16z" />
8
8
  </svg>
9
9
  )
@@ -8,7 +8,10 @@ function SvgSpinner(props) {
8
8
  if (isTwakeTheme()) return SvgSpinnerTwake(props);
9
9
  return /*#__PURE__*/React.createElement("svg", _extends({
10
10
  viewBox: "0 0 32 32"
11
- }, props), /*#__PURE__*/React.createElement("path", {
11
+ }, props, {
12
+ role: "progressbar",
13
+ "aria-busy": "true"
14
+ }), /*#__PURE__*/React.createElement("path", {
12
15
  opacity: 0.25,
13
16
  d: "M16 0a16 16 0 000 32 16 16 0 000-32m0 4a12 12 0 010 24 12 12 0 010-24"
14
17
  }), /*#__PURE__*/React.createElement("path", {
@@ -5,7 +5,10 @@ import React from 'react';
5
5
  function SvgSpinnerTwake(props) {
6
6
  return /*#__PURE__*/React.createElement("svg", _extends({
7
7
  viewBox: "0 0 16 16"
8
- }, props), /*#__PURE__*/React.createElement("path", {
8
+ }, props, {
9
+ role: "progressbar",
10
+ "aria-busy": "true"
11
+ }), /*#__PURE__*/React.createElement("path", {
9
12
  d: "M8 16a7.74 7.74 0 01-3.1-.63 8.114 8.114 0 01-2.55-1.72A8.115 8.115 0 01.63 11.1 7.74 7.74 0 010 8c0-1.107.21-2.143.63-3.11a8.146 8.146 0 011.72-2.54A8.114 8.114 0 014.9.63 7.74 7.74 0 018 0c.227 0 .417.077.57.23.153.153.23.343.23.57a.774.774 0 01-.23.57.774.774 0 01-.57.23c-1.773 0-3.283.623-4.53 1.87C2.223 4.717 1.6 6.227 1.6 8c0 1.773.623 3.283 1.87 4.53C4.717 13.777 6.227 14.4 8 14.4c1.773 0 3.283-.623 4.53-1.87C13.777 11.283 14.4 9.773 14.4 8c0-.227.077-.417.23-.57a.774.774 0 01.57-.23c.227 0 .417.077.57.23.153.153.23.343.23.57a7.74 7.74 0 01-.63 3.1 8.115 8.115 0 01-1.72 2.55 8.146 8.146 0 01-2.54 1.72A7.72 7.72 0 018 16z"
10
13
  }));
11
14
  }