@atlaskit/editor-extension-dropbox 0.5.13 → 0.5.15

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/editor-extension-dropbox
2
2
 
3
+ ## 0.5.15
4
+
5
+ ### Patch Changes
6
+
7
+ - [#161022](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/161022)
8
+ [`9bad6e5a140fc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9bad6e5a140fc) -
9
+ ENGHEALTH-30572:Updated dropbox icon to be a svg, and wrap it in span to be consistent with before
10
+ - Updated dependencies
11
+
12
+ ## 0.5.14
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 0.5.13
4
19
 
5
20
  ### Patch Changes
@@ -6,15 +6,18 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _dropbox = _interopRequireDefault(require("@atlaskit/icon/glyph/dropbox"));
9
+ var _svg = _interopRequireDefault(require("@atlaskit/icon/svg"));
10
10
  var _default = exports.default = function _default() {
11
- return (
12
- /*#__PURE__*/
13
- // This colour is not ADG - it is the dropbox brand color
14
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/design-system/no-legacy-icons
15
- _react.default.createElement(_dropbox.default, {
16
- primaryColor: "#0061FF",
17
- label: ""
18
- })
19
- );
11
+ return /*#__PURE__*/_react.default.createElement("span", {
12
+ "data-vc": 'icon-editor-dropbox',
13
+ "aria-hidden": true
14
+ }, /*#__PURE__*/_react.default.createElement(_svg.default, {
15
+ primaryColor: "#0061FF",
16
+ label: "dropbox-icon"
17
+ }, /*#__PURE__*/_react.default.createElement("path", {
18
+ fill: "currentcolor",
19
+ "fill-rule": "evenodd",
20
+ d: "M7 3 2 6.202l5 3.202-5 3.202 5 3.202 5-3.202 5 3.202 5-3.202-5-3.202 5-3.202L17 3l-5 3.202zm5 3.202 5 3.202-5 3.202-5-3.202zm0 13.875-5-3.202 5-3.202 5 3.202z",
21
+ "clip-rule": "evenodd"
22
+ })));
20
23
  };
@@ -1,10 +1,16 @@
1
1
  import React from 'react';
2
- import DropboxIcon from '@atlaskit/icon/glyph/dropbox';
3
- export default (() =>
4
- /*#__PURE__*/
5
- // This colour is not ADG - it is the dropbox brand color
6
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/design-system/no-legacy-icons
7
- React.createElement(DropboxIcon, {
8
- primaryColor: "#0061FF",
9
- label: ""
10
- }));
2
+ import SVG from '@atlaskit/icon/svg';
3
+ export default (() => {
4
+ return /*#__PURE__*/React.createElement("span", {
5
+ "data-vc": 'icon-editor-dropbox',
6
+ "aria-hidden": true
7
+ }, /*#__PURE__*/React.createElement(SVG, {
8
+ primaryColor: "#0061FF",
9
+ label: "dropbox-icon"
10
+ }, /*#__PURE__*/React.createElement("path", {
11
+ fill: "currentcolor",
12
+ "fill-rule": "evenodd",
13
+ d: "M7 3 2 6.202l5 3.202-5 3.202 5 3.202 5-3.202 5 3.202 5-3.202-5-3.202 5-3.202L17 3l-5 3.202zm5 3.202 5 3.202-5 3.202-5-3.202zm0 13.875-5-3.202 5-3.202 5 3.202z",
14
+ "clip-rule": "evenodd"
15
+ })));
16
+ });
@@ -1,13 +1,16 @@
1
1
  import React from 'react';
2
- import DropboxIcon from '@atlaskit/icon/glyph/dropbox';
2
+ import SVG from '@atlaskit/icon/svg';
3
3
  export default (function () {
4
- return (
5
- /*#__PURE__*/
6
- // This colour is not ADG - it is the dropbox brand color
7
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/design-system/no-legacy-icons
8
- React.createElement(DropboxIcon, {
9
- primaryColor: "#0061FF",
10
- label: ""
11
- })
12
- );
4
+ return /*#__PURE__*/React.createElement("span", {
5
+ "data-vc": 'icon-editor-dropbox',
6
+ "aria-hidden": true
7
+ }, /*#__PURE__*/React.createElement(SVG, {
8
+ primaryColor: "#0061FF",
9
+ label: "dropbox-icon"
10
+ }, /*#__PURE__*/React.createElement("path", {
11
+ fill: "currentcolor",
12
+ "fill-rule": "evenodd",
13
+ d: "M7 3 2 6.202l5 3.202-5 3.202 5 3.202 5-3.202 5 3.202 5-3.202-5-3.202 5-3.202L17 3l-5 3.202zm5 3.202 5 3.202-5 3.202-5-3.202zm0 13.875-5-3.202 5-3.202 5 3.202z",
14
+ "clip-rule": "evenodd"
15
+ })));
13
16
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-extension-dropbox",
3
- "version": "0.5.13",
3
+ "version": "0.5.15",
4
4
  "description": "A an atlassian editor extension to add a native dropbox picker",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,14 +41,14 @@
41
41
  "runReact18": true
42
42
  },
43
43
  "dependencies": {
44
- "@atlaskit/adf-utils": "^19.19.0",
45
- "@atlaskit/button": "^23.0.0",
46
- "@atlaskit/editor-common": "^104.1.0",
44
+ "@atlaskit/adf-utils": "^19.20.0",
45
+ "@atlaskit/button": "^23.2.0",
46
+ "@atlaskit/editor-common": "^105.11.0",
47
47
  "@atlaskit/heading": "^5.2.0",
48
- "@atlaskit/icon": "^26.0.0",
49
- "@atlaskit/modal-dialog": "^14.1.0",
50
- "@atlaskit/primitives": "^14.7.0",
51
- "@atlaskit/tokens": "^4.8.0",
48
+ "@atlaskit/icon": "^26.3.0",
49
+ "@atlaskit/modal-dialog": "^14.2.0",
50
+ "@atlaskit/primitives": "^14.8.0",
51
+ "@atlaskit/tokens": "^4.9.0",
52
52
  "@babel/runtime": "^7.0.0",
53
53
  "@emotion/react": "^11.7.1"
54
54
  },