cozy-viewer 16.0.0 → 16.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,17 @@
|
|
|
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
|
+
# [16.1.0](https://github.com/cozy/cozy-libs/compare/cozy-viewer@16.0.0...cozy-viewer@16.1.0) (2025-01-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **Viewer:** Change employer name qualification icon ([c97da4d](https://github.com/cozy/cozy-libs/commit/c97da4d5425e215d9f4bd558eeca6e7745ac8368))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [16.0.0](https://github.com/cozy/cozy-libs/compare/cozy-viewer@15.1.1...cozy-viewer@16.0.0) (2025-01-30)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -19,6 +19,8 @@ var _IconButton = _interopRequireDefault(require("cozy-ui/transpiled/react/IconB
|
|
|
19
19
|
|
|
20
20
|
var _Bell = _interopRequireDefault(require("cozy-ui/transpiled/react/Icons/Bell"));
|
|
21
21
|
|
|
22
|
+
var _Company = _interopRequireDefault(require("cozy-ui/transpiled/react/Icons/Company"));
|
|
23
|
+
|
|
22
24
|
var _Contract = _interopRequireDefault(require("cozy-ui/transpiled/react/Icons/Contract"));
|
|
23
25
|
|
|
24
26
|
var _Dots = _interopRequireDefault(require("cozy-ui/transpiled/react/Icons/Dots"));
|
|
@@ -49,7 +51,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
49
51
|
|
|
50
52
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
51
53
|
|
|
52
|
-
var KNOWN_INFORMATION_METADATA_ICONS = [_Number.default, _Number.default, _Globe.default, _Euro.default, _Contract.default, _Euro.default,
|
|
54
|
+
var KNOWN_INFORMATION_METADATA_ICONS = [_Number.default, _Number.default, _Globe.default, _Euro.default, _Contract.default, _Euro.default, _Company.default, _Number.default, _Number.default, _Bell.default];
|
|
53
55
|
|
|
54
56
|
var makeInformationMetadataIcon = function makeInformationMetadataIcon(name) {
|
|
55
57
|
return KNOWN_INFORMATION_METADATA_ICONS[_paper.KNOWN_INFORMATION_METADATA_NAMES.findIndex(function (el) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-viewer",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.1.0",
|
|
4
4
|
"description": "Cozy-Viewer provides a component to show files in a viewer.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"babel-preset-cozy-app": "^2.8.1",
|
|
28
28
|
"cozy-client": "^53.1.1",
|
|
29
29
|
"cozy-device-helper": "2.0.0",
|
|
30
|
-
"cozy-harvest-lib": "^32.2.
|
|
30
|
+
"cozy-harvest-lib": "^32.2.28",
|
|
31
31
|
"cozy-intent": "^2.29.2",
|
|
32
32
|
"cozy-logger": "^1.16.1",
|
|
33
33
|
"cozy-sharing": "^21.2.1",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"react": ">=16.12.0",
|
|
60
60
|
"react-dom": ">=16.12.0"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "df33cf39f2c2a448ddff02f63db3dfa818f7fb01"
|
|
63
63
|
}
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
import Icon from 'cozy-ui/transpiled/react/Icon'
|
|
10
10
|
import IconButton from 'cozy-ui/transpiled/react/IconButton'
|
|
11
11
|
import BellIcon from 'cozy-ui/transpiled/react/Icons/Bell'
|
|
12
|
+
import CompanyIcon from 'cozy-ui/transpiled/react/Icons/Company'
|
|
12
13
|
import ContractIcon from 'cozy-ui/transpiled/react/Icons/Contract'
|
|
13
14
|
import Dots from 'cozy-ui/transpiled/react/Icons/Dots'
|
|
14
15
|
import EuroIcon from 'cozy-ui/transpiled/react/Icons/Euro'
|
|
@@ -31,7 +32,7 @@ const KNOWN_INFORMATION_METADATA_ICONS = [
|
|
|
31
32
|
EuroIcon,
|
|
32
33
|
ContractIcon,
|
|
33
34
|
EuroIcon,
|
|
34
|
-
|
|
35
|
+
CompanyIcon,
|
|
35
36
|
NumberIcon,
|
|
36
37
|
NumberIcon,
|
|
37
38
|
BellIcon
|