@atlaskit/editor-extension-dropbox 0.4.7 → 0.4.9

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,17 @@
1
1
  # @atlaskit/editor-extension-dropbox
2
2
 
3
+ ## 0.4.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#66759](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66759) [`906578f1ea5d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/906578f1ea5d) - [ux] ED-21787: Migrating few CSS entries to space and color tokens
8
+
9
+ ## 0.4.8
10
+
11
+ ### Patch Changes
12
+
13
+ - [#67410](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67410) [`155e3b00ce67`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/155e3b00ce67) - Migrate @atlaskit/editor-extension-dropbox to use declarative entry points
14
+
3
15
  ## 0.4.7
4
16
 
5
17
  ### Patch Changes
@@ -32,6 +32,9 @@
32
32
  },
33
33
  {
34
34
  "path": "../../../design-system/modal-dialog/afm-cc/tsconfig.json"
35
+ },
36
+ {
37
+ "path": "../../../design-system/tokens/afm-cc/tsconfig.json"
35
38
  }
36
39
  ]
37
40
  }
@@ -11,7 +11,7 @@ var _default = exports.default = function _default() {
11
11
  return (
12
12
  /*#__PURE__*/
13
13
  // This colour is not ADG - it is the dropbox brand color
14
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
14
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview
15
15
  _react.default.createElement(_dropbox.default, {
16
16
  primaryColor: "#0061FF",
17
17
  label: ""
package/dist/cjs/modal.js CHANGED
@@ -39,7 +39,7 @@ var spacingDivStyle = {
39
39
  width: '28px'
40
40
  };
41
41
  var headingStyle = {
42
- marginTop: '8px'
42
+ marginTop: "var(--ds-space-100, 8px)"
43
43
  };
44
44
  var Header = function Header() {
45
45
  var _useModal = (0, _modalDialog.useModal)(),
@@ -3,7 +3,7 @@ import DropboxIcon from '@atlaskit/icon/glyph/dropbox';
3
3
  export default (() =>
4
4
  /*#__PURE__*/
5
5
  // This colour is not ADG - it is the dropbox brand color
6
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
6
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview
7
7
  React.createElement(DropboxIcon, {
8
8
  primaryColor: "#0061FF",
9
9
  label: ""
@@ -27,7 +27,7 @@ const spacingDivStyle = {
27
27
  width: '28px'
28
28
  };
29
29
  const headingStyle = {
30
- marginTop: '8px'
30
+ marginTop: `${"var(--ds-space-100, 8px)"}`
31
31
  };
32
32
  const Header = () => {
33
33
  const {
@@ -4,7 +4,7 @@ export default (function () {
4
4
  return (
5
5
  /*#__PURE__*/
6
6
  // This colour is not ADG - it is the dropbox brand color
7
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
7
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview
8
8
  React.createElement(DropboxIcon, {
9
9
  primaryColor: "#0061FF",
10
10
  label: ""
package/dist/esm/modal.js CHANGED
@@ -28,7 +28,7 @@ var spacingDivStyle = {
28
28
  width: '28px'
29
29
  };
30
30
  var headingStyle = {
31
- marginTop: '8px'
31
+ marginTop: "var(--ds-space-100, 8px)"
32
32
  };
33
33
  var Header = function Header() {
34
34
  var _useModal = useModal(),
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-extension-dropbox",
3
- "version": "0.4.7",
3
+ "version": "0.4.9",
4
4
  "description": "A an atlassian editor extension to add a native dropbox picker",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
7
7
  },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
9
  "author": "Atlassian Pty Ltd",
10
10
  "license": "Apache-2.0",
11
11
  "main": "dist/cjs/index.js",
@@ -22,21 +22,31 @@
22
22
  },
23
23
  "sideEffects": false,
24
24
  "atlaskit:src": "src/index.ts",
25
+ "af:exports": {
26
+ ".": "./src/index.ts",
27
+ "./constants": "./src/constants.ts",
28
+ "./dropboxscript": "./src/dropboxscript.ts",
29
+ "./enable-dropbox": "./src/enable-dropbox.tsx",
30
+ "./manifest": "./src/manifest.tsx",
31
+ "./modal": "./src/modal.tsx",
32
+ "./types": "./src/types.ts"
33
+ },
25
34
  "atlassian": {
26
35
  "team": "Editor: Scarlet",
27
- "deprecatedAutoEntryPoints": true,
28
36
  "inPublicMirror": true,
29
37
  "releaseModel": "continuous",
30
38
  "website": {
31
39
  "name": "Editor Core"
32
- }
40
+ },
41
+ "runReact18": false
33
42
  },
34
43
  "dependencies": {
35
44
  "@atlaskit/adf-utils": "^19.0.0",
36
- "@atlaskit/button": "^17.0.0",
37
- "@atlaskit/editor-common": "^76.26.0",
45
+ "@atlaskit/button": "^17.2.0",
46
+ "@atlaskit/editor-common": "^76.39.0",
38
47
  "@atlaskit/icon": "^22.0.0",
39
48
  "@atlaskit/modal-dialog": "^12.10.0",
49
+ "@atlaskit/tokens": "^1.33.0",
40
50
  "@babel/runtime": "^7.0.0",
41
51
  "@emotion/react": "^11.7.1"
42
52
  },