@box/item-icon 0.9.159 → 0.9.160
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,6 +1,6 @@
|
|
|
1
1
|
import * as e from "@box/blueprint-web-assets/icons/Content";
|
|
2
|
-
import { jsx as
|
|
3
|
-
const
|
|
2
|
+
import { jsx as F } from "react/jsx-runtime";
|
|
3
|
+
const s = {
|
|
4
4
|
archive: e.Archive,
|
|
5
5
|
audio: e.FileAudio,
|
|
6
6
|
bookmark: e.FileBookmark,
|
|
@@ -13,10 +13,12 @@ const F = {
|
|
|
13
13
|
"docuworks-file": e.FileXdw,
|
|
14
14
|
dwg: e.FileDwg,
|
|
15
15
|
"excel-spreadsheet": e.FileExcel,
|
|
16
|
+
"file-variable": e.FileVariable,
|
|
16
17
|
"folder-archive": e.FolderArchive,
|
|
17
18
|
"folder-collab": e.FolderShared,
|
|
18
19
|
"folder-external": e.FolderExternal,
|
|
19
20
|
"folder-plain": e.FolderPersonal,
|
|
21
|
+
"folder-variable": e.FolderVariable,
|
|
20
22
|
"google-docs": e.FileDocs,
|
|
21
23
|
"google-sheets": e.FileSheets,
|
|
22
24
|
"google-slides": e.FileSlides,
|
|
@@ -43,20 +45,20 @@ const F = {
|
|
|
43
45
|
className: r,
|
|
44
46
|
dimension: o = 32,
|
|
45
47
|
iconType: t,
|
|
46
|
-
title:
|
|
48
|
+
title: a
|
|
47
49
|
}) => {
|
|
48
|
-
const
|
|
49
|
-
return /* @__PURE__ */
|
|
50
|
+
const d = s[t] || e.FileDefault;
|
|
51
|
+
return /* @__PURE__ */ F(d, {
|
|
50
52
|
"aria-hidden": l,
|
|
51
53
|
"aria-label": i,
|
|
52
54
|
className: r,
|
|
53
55
|
height: o,
|
|
54
|
-
title:
|
|
56
|
+
title: a,
|
|
55
57
|
width: o
|
|
56
58
|
});
|
|
57
59
|
};
|
|
58
60
|
export {
|
|
59
61
|
c as ItemIcon,
|
|
60
62
|
c as default,
|
|
61
|
-
|
|
63
|
+
s as itemIconTable
|
|
62
64
|
};
|
|
@@ -12,10 +12,12 @@ export declare const itemIconTable: {
|
|
|
12
12
|
'docuworks-file': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
13
13
|
dwg: import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
14
14
|
'excel-spreadsheet': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
15
|
+
'file-variable': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
15
16
|
'folder-archive': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
16
17
|
'folder-collab': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
17
18
|
'folder-external': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
18
19
|
'folder-plain': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
20
|
+
'folder-variable': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
19
21
|
'google-docs': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
20
22
|
'google-sheets': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
21
23
|
'google-slides': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/item-icon",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.160",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@box/blueprint-web": "^7.8.0",
|
|
6
6
|
"@box/blueprint-web-assets": "^4.16.0",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"react-intl": "^6.4.2"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@box/blueprint-web": "^12.
|
|
12
|
+
"@box/blueprint-web": "^12.10.0",
|
|
13
13
|
"@box/blueprint-web-assets": "^4.53.0",
|
|
14
14
|
"@box/storybook-utils": "^0.13.6",
|
|
15
15
|
"react": "^18.3.0",
|