cozy-ui-plus 7.0.0 → 7.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
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [7.1.0](https://github.com/cozy/cozy-libs/compare/cozy-ui-plus@7.0.0...cozy-ui-plus@7.1.0) (2026-04-22)
7
+
8
+ ### Features
9
+
10
+ - **cozy-ui-plus:** Add 'unreadable' UploadQueue error status ([e4c7872](https://github.com/cozy/cozy-libs/commit/e4c7872a088d56882bfb8b5f692d749f73f52d23))
11
+
6
12
  # [7.0.0](https://github.com/cozy/cozy-libs/compare/cozy-ui-plus@6.1.1...cozy-ui-plus@7.0.0) (2026-04-07)
7
13
 
8
14
  ### Bug Fixes
@@ -135,8 +135,9 @@ var FAILED = 'failed';
135
135
  var CONFLICT = 'conflict';
136
136
  var QUOTA = 'quota';
137
137
  var NETWORK = 'network';
138
+ var UNREADABLE = 'unreadable';
138
139
  var DONE_STATUSES = [CREATED, UPDATED];
139
- var ERROR_STATUSES = [CONFLICT, NETWORK, QUOTA, FAILED];
140
+ var ERROR_STATUSES = [CONFLICT, NETWORK, QUOTA, FAILED, UNREADABLE];
140
141
  var uploadStatus = {
141
142
  CANCEL: CANCEL,
142
143
  PENDING: PENDING,
@@ -147,6 +148,7 @@ var uploadStatus = {
147
148
  CONFLICT: CONFLICT,
148
149
  QUOTA: QUOTA,
149
150
  NETWORK: NETWORK,
151
+ UNREADABLE: UNREADABLE,
150
152
  DONE_STATUSES: DONE_STATUSES,
151
153
  ERROR_STATUSES: ERROR_STATUSES
152
154
  };
@@ -8,6 +8,7 @@ export namespace uploadStatus {
8
8
  export { CONFLICT };
9
9
  export { QUOTA };
10
10
  export { NETWORK };
11
+ export { UNREADABLE };
11
12
  export { DONE_STATUSES };
12
13
  export { ERROR_STATUSES };
13
14
  }
@@ -37,6 +38,7 @@ declare const FAILED: "failed";
37
38
  declare const CONFLICT: "conflict";
38
39
  declare const QUOTA: "quota";
39
40
  declare const NETWORK: "network";
41
+ declare const UNREADABLE: "unreadable";
40
42
  declare const DONE_STATUSES: string[];
41
43
  declare const ERROR_STATUSES: string[];
42
44
  import React from 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui-plus",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
4
  "description": "Cozy-ui-plus is an extension of cozy-ui and provides components based on cozy-client",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
@@ -74,5 +74,5 @@
74
74
  "react-dom": "^16 || ^17 || ^18",
75
75
  "twake-i18n": ">=0.3.0"
76
76
  },
77
- "gitHead": "f19da18da889a4164b25cfa3479f597bfe7e6047"
77
+ "gitHead": "54d377d08003a9d2eb2bd96f9eeb87d27637d841"
78
78
  }
@@ -33,8 +33,9 @@ const FAILED = 'failed'
33
33
  const CONFLICT = 'conflict'
34
34
  const QUOTA = 'quota'
35
35
  const NETWORK = 'network'
36
+ const UNREADABLE = 'unreadable'
36
37
  const DONE_STATUSES = [CREATED, UPDATED]
37
- const ERROR_STATUSES = [CONFLICT, NETWORK, QUOTA, FAILED]
38
+ const ERROR_STATUSES = [CONFLICT, NETWORK, QUOTA, FAILED, UNREADABLE]
38
39
 
39
40
  export const uploadStatus = {
40
41
  CANCEL,
@@ -46,6 +47,7 @@ export const uploadStatus = {
46
47
  CONFLICT,
47
48
  QUOTA,
48
49
  NETWORK,
50
+ UNREADABLE,
49
51
  DONE_STATUSES,
50
52
  ERROR_STATUSES
51
53
  }