Releases: box/box-ui-elements
Releases · box/box-ui-elements
v10.0.0-beta.3
v10.0.0-beta.2
v10.0.0-beta.1
10.0.0-beta.1 (2019-02-08)
Bug Fixes
Build System
Features
BREAKING CHANGES
- Updates react-tether peer dependency to version 1.x that uses createPortal and fixes redux provider issues inside tether-ed components.
- The babel compiled output now will include SCSS imports. This commit removes the
babel-plugin-transform-require-ignore
which was responsible for removing lines such asimport './ContentPreview.scss'
from the babel compiled version ofContentPreview.js
. This forced customers to manually include styles viaimport 'box-ui-elements/dist/preview.css'
. With this change, the babel compiled output will now includeimport './ContentPreview.scss'
and no manual import ofpreview.css
will be required. This change however requires that webpack is configured properly to handle.scss
files. As a customer, you will notice the change as shown below:
Before
Notice the import of preview.css
.
import React from 'react';
import { render } from 'react-dom';
import { ContentPreview } from 'box-ui-elements';
import messages from 'box-ui-elements/i18n/en-US';
import 'box-ui-elements/dist/preview.css';
render(
<ContentPreview
fileId='FILE_ID'
token='ACCESS_TOKEN'
language='en-US'
messages={messages}
/>,
document.querySelector('.container')
);
After
Notice no import of preview.css
.
import React from 'react';
import { render } from 'react-dom';
import { ContentPreview } from 'box-ui-elements';
import messages from 'box-ui-elements/i18n/en-US';
render(
<ContentPreview
fileId='FILE_ID'
token='ACCESS_TOKEN'
language='en-US'
messages={messages}
/>,
document.querySelector('.container')
);
v9.1.1
v9.1.0
9.1.0 (2019-01-25)
Bug Fixes
- openwith: Completely reset state on component update (9fd6dae)
- openwith: Use fallback UI if an uncaught exception occurs (#811) (9110abc)
- sidebar: Scroll to end of input when there is task assignee overflow (7d8646e)
- uploader: Handle errors with calling logging endpoint (#803) (9752dc7)
Features
v9.0.3
v9.0.2
9.0.2 (2019-01-18)
Bug Fixes
v9.0.1
v9.0.0
9.0.0 (2019-01-16)
Bug Fixes
- build: use es instead of lib (#783) (c608c00)
- openwith: Add codes to OpenWith errors to fix ErrorBoundary (#776) (7ea8b3c)
- uploader: ContentUploader did not properly handle multiput errors (#778) (2e7c53e)
chore
BREAKING CHANGES
- Version requirements have changed for React/ReactDOM (min version 16.7) and node (min version 10)
- Internal folder structure has changed for folks doing imports based on full path. See #766