@atlaskit/editor-extension-dropbox 0.4.17 → 0.4.18

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,14 @@
1
1
  # @atlaskit/editor-extension-dropbox
2
2
 
3
+ ## 0.4.18
4
+
5
+ ### Patch Changes
6
+
7
+ - [#114683](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114683)
8
+ [`ff0815316ab38`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ff0815316ab38) -
9
+ Removes usage of custom theme button in places where its API is not being used and the default
10
+ button is able to be used instead. This should give a slight performance (runtime) improvement.
11
+
3
12
  ## 0.4.17
4
13
 
5
14
  ### Patch Changes
@@ -0,0 +1,39 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.jira.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../tsDist/@atlaskit__editor-extension-dropbox/app",
7
+ "composite": true,
8
+ "rootDir": "../"
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../adf-utils/afm-jira/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../../design-system/button/afm-jira/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../editor-common/afm-jira/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../design-system/icon/afm-jira/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../design-system/modal-dialog/afm-jira/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../design-system/tokens/afm-jira/tsconfig.json"
37
+ }
38
+ ]
39
+ }
package/dist/cjs/modal.js CHANGED
@@ -11,7 +11,7 @@ var _react = _interopRequireWildcard(require("react"));
11
11
  var _react2 = require("@emotion/react");
12
12
  var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
13
13
  var _close = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/close"));
14
- var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
14
+ var _button = _interopRequireDefault(require("@atlaskit/button"));
15
15
  var _constants = require("./constants");
16
16
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
17
17
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -62,7 +62,7 @@ var Header = function Header() {
62
62
  }), (0, _react2.jsx)("h5", {
63
63
  id: titleId,
64
64
  css: headingStyle
65
- }, "Dropbox"), (0, _react2.jsx)("div", null, (0, _react2.jsx)(_customThemeButton.default, {
65
+ }, "Dropbox"), (0, _react2.jsx)("div", null, (0, _react2.jsx)(_button.default, {
66
66
  appearance: "subtle",
67
67
  iconBefore: (0, _react2.jsx)(_close.default, {
68
68
  label: "close dropbox modal"
@@ -4,7 +4,7 @@ import React, { useState } from 'react';
4
4
  import { jsx, css } from '@emotion/react';
5
5
  import ModalDialog, { ModalTransition, useModal, ModalBody as AKModalBody } from '@atlaskit/modal-dialog';
6
6
  import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
7
- import Button from '@atlaskit/button/custom-theme-button';
7
+ import Button from '@atlaskit/button';
8
8
  import { DROPBOX_IFRAME_NAME } from './constants';
9
9
  const ModalBody = /*#__PURE__*/React.forwardRef((props, ref) => {
10
10
  return (
package/dist/esm/modal.js CHANGED
@@ -5,7 +5,7 @@ import React, { useState } from 'react';
5
5
  import { jsx, css } from '@emotion/react';
6
6
  import ModalDialog, { ModalTransition, useModal, ModalBody as AKModalBody } from '@atlaskit/modal-dialog';
7
7
  import EditorCloseIcon from '@atlaskit/icon/glyph/editor/close';
8
- import Button from '@atlaskit/button/custom-theme-button';
8
+ import Button from '@atlaskit/button';
9
9
  import { DROPBOX_IFRAME_NAME } from './constants';
10
10
  var ModalBody = /*#__PURE__*/React.forwardRef(function (props, ref) {
11
11
  return (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-extension-dropbox",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
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,12 +41,12 @@
41
41
  "runReact18": false
42
42
  },
43
43
  "dependencies": {
44
- "@atlaskit/adf-utils": "^19.2.0",
44
+ "@atlaskit/adf-utils": "^19.3.0",
45
45
  "@atlaskit/button": "^18.0.0",
46
- "@atlaskit/editor-common": "^82.11.0",
46
+ "@atlaskit/editor-common": "^82.14.0",
47
47
  "@atlaskit/icon": "^22.4.0",
48
48
  "@atlaskit/modal-dialog": "^12.14.0",
49
- "@atlaskit/tokens": "^1.52.0",
49
+ "@atlaskit/tokens": "^1.53.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1"
52
52
  },