@box/item-icon 2.31.6 → 2.32.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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as e from "@box/blueprint-web-assets/icons/Content";
|
|
2
|
-
import { RelayAdvanced as F,
|
|
2
|
+
import { RelayAdvanced as F, Form as c, AgentCustomExtract as m } from "@box/blueprint-web-assets/icons/Logo";
|
|
3
3
|
import { Element as p } from "@box/blueprint-web-assets/icons/Medium";
|
|
4
|
-
import { jsx as
|
|
5
|
-
const
|
|
4
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
5
|
+
const h = {
|
|
6
6
|
archive: e.Archive,
|
|
7
7
|
audio: e.FileAudio,
|
|
8
8
|
bookmark: e.FileBookmark,
|
|
@@ -15,13 +15,14 @@ const m = {
|
|
|
15
15
|
"docuworks-file": e.FileXdw,
|
|
16
16
|
dwg: e.FileDwg,
|
|
17
17
|
"excel-spreadsheet": e.FileExcel,
|
|
18
|
-
extract_agent:
|
|
18
|
+
extract_agent: m,
|
|
19
19
|
"file-variable": e.FileVariable,
|
|
20
20
|
"folder-archive": e.FolderArchive,
|
|
21
21
|
"folder-collab": e.FolderShared,
|
|
22
22
|
"folder-external": e.FolderExternal,
|
|
23
23
|
"folder-plain": e.FolderPersonal,
|
|
24
24
|
"folder-variable": e.FolderVariable,
|
|
25
|
+
form: c,
|
|
25
26
|
"google-docs": e.FileDocs,
|
|
26
27
|
"google-sheets": e.FileSheets,
|
|
27
28
|
"google-slides": e.FileSlides,
|
|
@@ -43,7 +44,7 @@ const m = {
|
|
|
43
44
|
"word-document": e.FileWord,
|
|
44
45
|
workflow: F,
|
|
45
46
|
zip: e.FileZip
|
|
46
|
-
},
|
|
47
|
+
}, x = ({
|
|
47
48
|
ariaHidden: l,
|
|
48
49
|
ariaLabel: i,
|
|
49
50
|
className: r,
|
|
@@ -52,8 +53,8 @@ const m = {
|
|
|
52
53
|
isAppItem: a,
|
|
53
54
|
title: d
|
|
54
55
|
}) => {
|
|
55
|
-
const n = a ? p : e.FileDefault, s =
|
|
56
|
-
return /* @__PURE__ */
|
|
56
|
+
const n = a ? p : e.FileDefault, s = h[t] || n;
|
|
57
|
+
return /* @__PURE__ */ f(s, {
|
|
57
58
|
"aria-hidden": l,
|
|
58
59
|
"aria-label": i,
|
|
59
60
|
className: r,
|
|
@@ -63,7 +64,7 @@ const m = {
|
|
|
63
64
|
});
|
|
64
65
|
};
|
|
65
66
|
export {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
x as ItemIcon,
|
|
68
|
+
x as default,
|
|
69
|
+
h as itemIconTable
|
|
69
70
|
};
|
|
@@ -19,6 +19,7 @@ export declare const itemIconTable: {
|
|
|
19
19
|
'folder-external': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
20
20
|
'folder-plain': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
21
21
|
'folder-variable': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
22
|
+
form: import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
22
23
|
'google-docs': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
23
24
|
'google-sheets': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
24
25
|
'google-slides': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/item-icon",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.32.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@box/blueprint-web": "^13.
|
|
6
|
-
"@box/blueprint-web-assets": "^4.111.
|
|
5
|
+
"@box/blueprint-web": "^13.15.0",
|
|
6
|
+
"@box/blueprint-web-assets": "^4.111.6",
|
|
7
7
|
"@box/types": "^2.1.8",
|
|
8
8
|
"react": "^17.0.0 || ^18.0.0",
|
|
9
9
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
10
10
|
"react-intl": "^6.4.2"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@box/blueprint-web": "^13.
|
|
14
|
-
"@box/blueprint-web-assets": "^4.111.
|
|
13
|
+
"@box/blueprint-web": "^13.15.0",
|
|
14
|
+
"@box/blueprint-web-assets": "^4.111.6",
|
|
15
15
|
"@box/types": "^2.1.8",
|
|
16
|
-
"@box/storybook-utils": "^0.17.
|
|
16
|
+
"@box/storybook-utils": "^0.17.6",
|
|
17
17
|
"react": "^18.3.0",
|
|
18
18
|
"react-dom": "^18.3.0",
|
|
19
19
|
"react-intl": "^6.4.2"
|