diff --git a/package.json b/package.json index aaf2e7e752..784fb45e37 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "@babel/template": "^7.24.7", "@babel/types": "^7.24.7", "@box/blueprint-web": "^7.36.3", - "@box/blueprint-web-assets": "^4.31.0", + "@box/blueprint-web-assets": "^4.33.0", "@box/box-ai-agent-selector": "^0.22.0", "@box/box-ai-content-answers": "^0.86.0", "@box/cldr-data": "^34.2.0", @@ -305,7 +305,7 @@ }, "peerDependencies": { "@box/blueprint-web": "^7.36.3", - "@box/blueprint-web-assets": "^4.31.0", + "@box/blueprint-web-assets": "^4.33.0", "@box/box-ai-agent-selector": "^0.22.0", "@box/box-ai-content-answers": "^0.86.0", "@box/cldr-data": ">=34.2.0", diff --git a/src/icons/file-icon/FileIcon.tsx b/src/icons/file-icon/FileIcon.tsx index 3674cfca50..3367f64b5b 100644 --- a/src/icons/file-icon/FileIcon.tsx +++ b/src/icons/file-icon/FileIcon.tsx @@ -1,6 +1,7 @@ import * as React from 'react'; import { + FileAdobeExpress, FileAudio, FileBookmark, FileBoxNote, @@ -40,6 +41,7 @@ import { useIntl } from 'react-intl'; import messages from '../../elements/common/messages'; const Components: { [key: string]: (props: React.SVGProps) => JSX.Element } = { + FileAdobeExpress, FileAudio, FileBookmark, FileBoxNote, @@ -83,6 +85,7 @@ const mirror = (values: Array) => }, {}); export const EXTENSIONS: { [key: string]: { [key: string]: string } } = { + FileAdobeExpress: mirror(['adobeexpress']), FileAudio: mirror([ 'aac', 'aif', diff --git a/src/icons/file-icon/__tests__/FileIcon.test.tsx b/src/icons/file-icon/__tests__/FileIcon.test.tsx index 01bc59feac..099f2307cd 100644 --- a/src/icons/file-icon/__tests__/FileIcon.test.tsx +++ b/src/icons/file-icon/__tests__/FileIcon.test.tsx @@ -4,6 +4,7 @@ import FileIcon from '../FileIcon'; describe('icons/file-icon/FileIcon', () => { test.each([ + { name: 'FileAdobeExpress', ext: 'adobeexpress', label: 'ADOBEEXPRESS File' }, { name: 'FileAudio', ext: 'aac', label: 'AAC File' }, { name: 'FileAudio', ext: 'aif', label: 'AIF File' }, { name: 'FileAudio', ext: 'aifc', label: 'AIFC File' }, diff --git a/yarn.lock b/yarn.lock index 9ff28823a7..e8d067b988 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1452,10 +1452,10 @@ resolved "https://registry.yarnpkg.com/@box/blueprint-web-assets/-/blueprint-web-assets-4.28.0.tgz#c0ef88156ff2697e63de9ac12b6fc17b2bd7c981" integrity sha512-udRZAvhNbPIAPrNIPg8awV5lfU3g3LzAloaAAFdBiwCmPQxaU4JvuwJambOOXUqdftV6pCD6NmJvE90NxTcwmg== -"@box/blueprint-web-assets@^4.31.0": - version "4.31.1" - resolved "https://registry.yarnpkg.com/@box/blueprint-web-assets/-/blueprint-web-assets-4.31.1.tgz#d96bdc45c51c25cb63da309c4cb7305f5fa29989" - integrity sha512-OELdCEwZywyOkQa5HfW+WDsy7gS1xnpYAZsgFWLgzuWRQACiMrGINVjXfM1CySs7oFYMocg1v2E8/yh/dGLcPQ== +"@box/blueprint-web-assets@^4.33.0": + version "4.33.0" + resolved "https://registry.yarnpkg.com/@box/blueprint-web-assets/-/blueprint-web-assets-4.33.0.tgz#58c22f4b3d78809e37af14a1701fbe3fcfbe543c" + integrity sha512-03ZL9aMF57PcOhHGCHYdhnAh6U05DqSADQKrTRNB9h02weM5SqYjNVOkfYkDxJw0JMbyuRP3+jZ5zQvVyxmyFA== "@box/blueprint-web@^7.36.3": version "7.36.3" @@ -22374,8 +22374,7 @@ string-replace-loader@^3.1.0: loader-utils "^2.0.0" schema-utils "^3.0.0" -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: - name string-width-cjs +"string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -22393,6 +22392,15 @@ string-width@^1.0.1: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" @@ -22531,8 +22539,7 @@ stringify-package@^1.0.0, stringify-package@^1.0.1: resolved "https://registry.yarnpkg.com/stringify-package/-/stringify-package-1.0.1.tgz#e5aa3643e7f74d0f28628b72f3dad5cecfc3ba85" integrity sha512-sa4DUQsYciMP1xhKWGuFM04fB0LG/9DlluZoSVywUMRNvzid6XucHK0/90xGxRoHrAaROrcHK1aPKaijCtSrhg== -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: - name strip-ansi-cjs +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -22560,6 +22567,13 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1, strip-ansi@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -24759,8 +24773,7 @@ worker-farm@^1.6.0, worker-farm@^1.7.0: dependencies: errno "~0.1.7" -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: - name wrap-ansi-cjs +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -24803,6 +24816,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"