From 910b8a33a96ca4fa968596ef06f9d42e897e0f55 Mon Sep 17 00:00:00 2001 From: Jared Stoffan Date: Thu, 1 Apr 2021 13:22:55 -0700 Subject: [PATCH] chore(deps): Upgarde box-ui-elements to latest available version (#1347) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- package.json | 2 +- src/lib/types/buie.ts | 1 + src/lib/viewers/archive/ArchiveExplorer.js | 12 +++++------- yarn.lock | 8 ++++---- 4 files changed, 11 insertions(+), 12 deletions(-) create mode 100644 src/lib/types/buie.ts diff --git a/package.json b/package.json index a5f655663..ab5129118 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "babel-loader": "^8.0.6", "babel-plugin-transform-require-ignore": "^0.1.1", "box-annotations": "^2.3.0", - "box-ui-elements": "^12.0.0-beta.10", + "box-ui-elements": "^13.0.0-beta.6", "chai": "^4.2.0", "classnames": "^2.2.6", "conventional-changelog-cli": "^2.0.28", diff --git a/src/lib/types/buie.ts b/src/lib/types/buie.ts new file mode 100644 index 000000000..f099bb120 --- /dev/null +++ b/src/lib/types/buie.ts @@ -0,0 +1 @@ +declare module 'box-ui-elements/es/styles/variables'; diff --git a/src/lib/viewers/archive/ArchiveExplorer.js b/src/lib/viewers/archive/ArchiveExplorer.js index 09e99dbef..ac0d65de1 100644 --- a/src/lib/viewers/archive/ArchiveExplorer.js +++ b/src/lib/viewers/archive/ArchiveExplorer.js @@ -3,15 +3,13 @@ import PropTypes from 'prop-types'; import elementsMessages from 'box-elements-messages'; // eslint-disable-line import intlLocaleData from 'react-intl-locale-data'; // eslint-disable-line import Internationalize from 'box-ui-elements/es/elements/common/Internationalize'; +import VirtualizedTable from 'box-ui-elements/es/features/virtualized-table/VirtualizedTable'; import fuzzySearch from 'box-ui-elements/es/utils/fuzzySearch'; -import VirtualizedTable from 'box-ui-elements/es/features/virtualized-table'; +import itemNameCellRenderer from 'box-ui-elements/es/features/virtualized-table-renderers/itemNameCellRenderer'; +import readableTimeCellRenderer from 'box-ui-elements/es/features/virtualized-table-renderers/readableTimeCellRenderer'; +import sizeCellRenderer from 'box-ui-elements/es/features/virtualized-table-renderers/sizeCellRenderer'; +import sortableColumnHeaderRenderer from 'box-ui-elements/es/features/virtualized-table-renderers/sortableColumnHeaderRenderer'; import { AutoSizer, Column, SortDirection } from 'react-virtualized'; -import { - itemNameCellRenderer, - readableTimeCellRenderer, - sizeCellRenderer, - sortableColumnHeaderRenderer, -} from 'box-ui-elements/es/features/virtualized-table-renderers'; import { addLocaleData } from 'react-intl'; import Breadcrumbs from './Breadcrumbs'; import SearchBar from './SearchBar'; diff --git a/yarn.lock b/yarn.lock index f2860fabb..08152a9a3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2956,10 +2956,10 @@ box-annotations@^2.3.0: resolved "https://registry.yarnpkg.com/box-annotations/-/box-annotations-2.3.0.tgz#5cac38171f7f8d9283659e2b243310f19d5ab7d3" integrity sha512-Ea7tPgyJjX7vcnmZIfCorbzHd6oYx/OHVMPnZVQL/dUHR5vRKhLM0610xqwmVlUpk627sqHw5x/APaa+kt4SXg== -box-ui-elements@^12.0.0-beta.10: - version "12.0.0-beta.10" - resolved "https://registry.yarnpkg.com/box-ui-elements/-/box-ui-elements-12.0.0-beta.10.tgz#00bf1958d53655f44205a42aad4bc91a75325aff" - integrity sha512-P5JM4tFgfVtxSGHV6ApM+Bu8Un8pC2ZAWrI9L+3k8A6lPrMBZSS+GafYMpH5aeyksqXUH2vXNkG7x3vmmoMdqQ== +box-ui-elements@^13.0.0-beta.6: + version "13.0.0-beta.6" + resolved "https://registry.yarnpkg.com/box-ui-elements/-/box-ui-elements-13.0.0-beta.6.tgz#90e4cc02d4e048cceee6eff84449889543e1219d" + integrity sha512-zgxe1oGefFT7Gmn28BUyWHEp7w7FkE91e49NcL39PDkLq0bGl7EWWtIQmRO0uKeeevp4IFKJGq3JQ9x2aYuRxA== brace-expansion@^1.1.7: version "1.1.11"