@box/item-icon 0.28.1 → 0.29.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as e from "@box/blueprint-web-assets/icons/Content";
|
|
2
|
+
import { AgentCustomExtract as s } from "@box/blueprint-web-assets/icons/Logo";
|
|
2
3
|
import { jsx as F } from "react/jsx-runtime";
|
|
3
|
-
const
|
|
4
|
+
const n = {
|
|
4
5
|
archive: e.Archive,
|
|
5
6
|
audio: e.FileAudio,
|
|
6
7
|
bookmark: e.FileBookmark,
|
|
@@ -13,6 +14,7 @@ const s = {
|
|
|
13
14
|
"docuworks-file": e.FileXdw,
|
|
14
15
|
dwg: e.FileDwg,
|
|
15
16
|
"excel-spreadsheet": e.FileExcel,
|
|
17
|
+
extractor: s,
|
|
16
18
|
"file-variable": e.FileVariable,
|
|
17
19
|
"folder-archive": e.FolderArchive,
|
|
18
20
|
"folder-collab": e.FolderShared,
|
|
@@ -39,7 +41,7 @@ const s = {
|
|
|
39
41
|
video: e.FileVideo,
|
|
40
42
|
"word-document": e.FileWord,
|
|
41
43
|
zip: e.FileZip
|
|
42
|
-
},
|
|
44
|
+
}, h = ({
|
|
43
45
|
ariaHidden: l,
|
|
44
46
|
ariaLabel: i,
|
|
45
47
|
className: r,
|
|
@@ -47,7 +49,7 @@ const s = {
|
|
|
47
49
|
iconType: t,
|
|
48
50
|
title: a
|
|
49
51
|
}) => {
|
|
50
|
-
const d =
|
|
52
|
+
const d = n[t] || e.FileDefault;
|
|
51
53
|
return /* @__PURE__ */ F(d, {
|
|
52
54
|
"aria-hidden": l,
|
|
53
55
|
"aria-label": i,
|
|
@@ -58,7 +60,7 @@ const s = {
|
|
|
58
60
|
});
|
|
59
61
|
};
|
|
60
62
|
export {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
h as ItemIcon,
|
|
64
|
+
h as default,
|
|
65
|
+
n as itemIconTable
|
|
64
66
|
};
|
package/dist/i18n/en-x-pseudo.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
"groupSharedFeatures.itemIcon.itemTypeIcon.archive": "⟦萬萬
|
|
3
|
-
"groupSharedFeatures.itemIcon.itemTypeIcon.archiveFolder": "⟦萬萬萬萬
|
|
4
|
-
"groupSharedFeatures.itemIcon.itemTypeIcon.bookmark": "⟦萬萬
|
|
5
|
-
"groupSharedFeatures.itemIcon.itemTypeIcon.collaboratedFolder": "⟦萬萬萬萬萬
|
|
6
|
-
"groupSharedFeatures.itemIcon.itemTypeIcon.externalFolder": "⟦萬萬萬萬
|
|
7
|
-
"groupSharedFeatures.itemIcon.itemTypeIcon.file": "⟦萬
|
|
8
|
-
"groupSharedFeatures.itemIcon.itemTypeIcon.fileExtension": "⟦萬萬 {extension}
|
|
9
|
-
"groupSharedFeatures.itemIcon.itemTypeIcon.personalFolder": "⟦萬萬萬萬 P
|
|
2
|
+
"groupSharedFeatures.itemIcon.itemTypeIcon.archive": "⟦萬萬 Άŕ¢ħινе 國國⟧",
|
|
3
|
+
"groupSharedFeatures.itemIcon.itemTypeIcon.archiveFolder": "⟦萬萬萬萬 Àŗćħіνě ƒõļďеŗ 國國國國⟧",
|
|
4
|
+
"groupSharedFeatures.itemIcon.itemTypeIcon.bookmark": "⟦萬萬 Βōøκmăŗĸ 國國⟧",
|
|
5
|
+
"groupSharedFeatures.itemIcon.itemTypeIcon.collaboratedFolder": "⟦萬萬萬萬萬 Ċσĺļáьøґâŧęď ƒôľďēř 國國國國國⟧",
|
|
6
|
+
"groupSharedFeatures.itemIcon.itemTypeIcon.externalFolder": "⟦萬萬萬萬 Ё×ţĕřʼnăļ ƒόĺďèґ 國國國國⟧",
|
|
7
|
+
"groupSharedFeatures.itemIcon.itemTypeIcon.file": "⟦萬 ₣ϊļē 國⟧",
|
|
8
|
+
"groupSharedFeatures.itemIcon.itemTypeIcon.fileExtension": "⟦萬萬 {extension} ƒíľέ 國國⟧",
|
|
9
|
+
"groupSharedFeatures.itemIcon.itemTypeIcon.personalFolder": "⟦萬萬萬萬 Pёяŝòήάĺ ƒŏļďěѓ 國國國國⟧"
|
|
10
10
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# Label for a Box item icon of type folder and is an archive
|
|
2
|
-
groupSharedFeatures.itemIcon.itemTypeIcon.archive = ⟦萬萬
|
|
2
|
+
groupSharedFeatures.itemIcon.itemTypeIcon.archive = ⟦萬萬 Άŕ¢ħινе 國國⟧
|
|
3
3
|
# Label for a Box item icon of type folder and is located in an archive
|
|
4
|
-
groupSharedFeatures.itemIcon.itemTypeIcon.archiveFolder = ⟦萬萬萬萬
|
|
4
|
+
groupSharedFeatures.itemIcon.itemTypeIcon.archiveFolder = ⟦萬萬萬萬 Àŗćħіνě ƒõļďеŗ 國國國國⟧
|
|
5
5
|
# Label for a Box item icon of type bookmark or web-link
|
|
6
|
-
groupSharedFeatures.itemIcon.itemTypeIcon.bookmark = ⟦萬萬
|
|
6
|
+
groupSharedFeatures.itemIcon.itemTypeIcon.bookmark = ⟦萬萬 Βōøκmăŗĸ 國國⟧
|
|
7
7
|
# Label for a Box item icon of type folder shared with collaborators
|
|
8
|
-
groupSharedFeatures.itemIcon.itemTypeIcon.collaboratedFolder = ⟦萬萬萬萬萬
|
|
8
|
+
groupSharedFeatures.itemIcon.itemTypeIcon.collaboratedFolder = ⟦萬萬萬萬萬 Ċσĺļáьøґâŧęď ƒôľďēř 國國國國國⟧
|
|
9
9
|
# Label for a Box item icon of type folder shared with outside organization collaborators
|
|
10
|
-
groupSharedFeatures.itemIcon.itemTypeIcon.externalFolder = ⟦萬萬萬萬
|
|
10
|
+
groupSharedFeatures.itemIcon.itemTypeIcon.externalFolder = ⟦萬萬萬萬 Ё×ţĕřʼnăļ ƒόĺďèґ 國國國國⟧
|
|
11
11
|
# Label for a Box item icon of type file
|
|
12
|
-
groupSharedFeatures.itemIcon.itemTypeIcon.file = ⟦萬
|
|
12
|
+
groupSharedFeatures.itemIcon.itemTypeIcon.file = ⟦萬 ₣ϊļē 國⟧
|
|
13
13
|
# Label for a Box item icon of type file with its file extension
|
|
14
|
-
groupSharedFeatures.itemIcon.itemTypeIcon.fileExtension = ⟦萬萬 {extension}
|
|
14
|
+
groupSharedFeatures.itemIcon.itemTypeIcon.fileExtension = ⟦萬萬 {extension} ƒíľέ 國國⟧
|
|
15
15
|
# Label for a Box item icon of type folder that is private to the user
|
|
16
|
-
groupSharedFeatures.itemIcon.itemTypeIcon.personalFolder = ⟦萬萬萬萬 P
|
|
16
|
+
groupSharedFeatures.itemIcon.itemTypeIcon.personalFolder = ⟦萬萬萬萬 Pёяŝòήάĺ ƒŏļďěѓ 國國國國⟧
|
|
@@ -12,6 +12,7 @@ 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
|
+
extractor: import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
15
16
|
'file-variable': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
16
17
|
'folder-archive': import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
17
18
|
'folder-collab': 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.
|
|
3
|
+
"version": "0.29.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@box/blueprint-web": "^7.8.0",
|
|
6
6
|
"@box/blueprint-web-assets": "^4.16.0",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"react-intl": "^6.4.2"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@box/blueprint-web": "^12.78.
|
|
13
|
+
"@box/blueprint-web": "^12.78.4",
|
|
14
14
|
"@box/blueprint-web-assets": "^4.69.0",
|
|
15
15
|
"@box/types": "^0.2.1",
|
|
16
16
|
"@box/storybook-utils": "^0.14.5",
|