@atlaskit/editor-extension-dropbox 8.0.10 → 8.0.12

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,19 @@
1
1
  # @atlaskit/editor-extension-dropbox
2
2
 
3
+ ## 8.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.0.11
10
+
11
+ ### Patch Changes
12
+
13
+ - [`d94df511393a9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d94df511393a9) -
14
+ Removing FG platform_editor_a11y_eslint_fix
15
+ - Updated dependencies
16
+
3
17
  ## 8.0.10
4
18
 
5
19
  ### Patch Changes
package/dist/cjs/modal.js CHANGED
@@ -11,7 +11,6 @@ var _react = _interopRequireWildcard(require("react"));
11
11
  var _react2 = require("@emotion/react");
12
12
  var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
13
13
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
14
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
15
14
  var _constants = require("./constants");
16
15
  var _primitives = require("@atlaskit/primitives");
17
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
@@ -96,13 +95,13 @@ var Modal = function Modal(_ref) {
96
95
  }, (0, _react2.jsx)(Header, null), (0, _react2.jsx)(_modalDialog.ModalBody, null, (0, _react2.jsx)(ModalBody, null, TEST_ONLY_src ? (0, _react2.jsx)("iframe", {
97
96
  css: iframeStyle,
98
97
  name: _constants.DROPBOX_IFRAME_NAME,
99
- title: (0, _expValEquals.expValEquals)('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? 'Dropbox file chooser' : undefined,
98
+ title: "Dropbox file chooser",
100
99
  frameBorder: 0,
101
100
  src: TEST_ONLY_src
102
101
  }) : (0, _react2.jsx)("iframe", {
103
102
  css: iframeStyle,
104
103
  name: _constants.DROPBOX_IFRAME_NAME,
105
- title: (0, _expValEquals.expValEquals)('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? 'Dropbox file chooser' : undefined,
104
+ title: "Dropbox file chooser",
106
105
  frameBorder: 0
107
106
  })))));
108
107
  };
@@ -7,7 +7,6 @@ import React, { useState } from 'react';
7
7
  import { jsx, css } from '@emotion/react';
8
8
  import ModalDialog, { ModalTransition, CloseButton, useModal, ModalBody as AKModalBody } from '@atlaskit/modal-dialog';
9
9
  import Heading from '@atlaskit/heading';
10
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
11
10
  import { DROPBOX_IFRAME_NAME } from './constants';
12
11
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
13
12
  import { xcss, Box } from '@atlaskit/primitives';
@@ -82,13 +81,13 @@ const Modal = ({
82
81
  }, jsx(Header, null), jsx(AKModalBody, null, jsx(ModalBody, null, TEST_ONLY_src ? jsx("iframe", {
83
82
  css: iframeStyle,
84
83
  name: DROPBOX_IFRAME_NAME,
85
- title: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? 'Dropbox file chooser' : undefined,
84
+ title: "Dropbox file chooser",
86
85
  frameBorder: 0,
87
86
  src: TEST_ONLY_src
88
87
  }) : jsx("iframe", {
89
88
  css: iframeStyle,
90
89
  name: DROPBOX_IFRAME_NAME,
91
- title: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? 'Dropbox file chooser' : undefined,
90
+ title: "Dropbox file chooser",
92
91
  frameBorder: 0
93
92
  })))));
94
93
  };
package/dist/esm/modal.js CHANGED
@@ -8,7 +8,6 @@ import React, { useState } from 'react';
8
8
  import { jsx, css } from '@emotion/react';
9
9
  import ModalDialog, { ModalTransition, CloseButton, useModal, ModalBody as AKModalBody } from '@atlaskit/modal-dialog';
10
10
  import Heading from '@atlaskit/heading';
11
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
12
11
  import { DROPBOX_IFRAME_NAME } from './constants';
13
12
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
14
13
  import { xcss, Box } from '@atlaskit/primitives';
@@ -84,13 +83,13 @@ var Modal = function Modal(_ref) {
84
83
  }, jsx(Header, null), jsx(AKModalBody, null, jsx(ModalBody, null, TEST_ONLY_src ? jsx("iframe", {
85
84
  css: iframeStyle,
86
85
  name: DROPBOX_IFRAME_NAME,
87
- title: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? 'Dropbox file chooser' : undefined,
86
+ title: "Dropbox file chooser",
88
87
  frameBorder: 0,
89
88
  src: TEST_ONLY_src
90
89
  }) : jsx("iframe", {
91
90
  css: iframeStyle,
92
91
  name: DROPBOX_IFRAME_NAME,
93
- title: expValEquals('platform_editor_a11y_eslint_fix', 'isEnabled', true) ? 'Dropbox file chooser' : undefined,
92
+ title: "Dropbox file chooser",
94
93
  frameBorder: 0
95
94
  })))));
96
95
  };
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Testing structured MCP docs for review — ignore this file.
3
+ * Contact #dst-structured-content in Slack with questions.
4
+ */
5
+
6
+ import path from 'path';
7
+
8
+
9
+ import type { ComponentStructuredContentSource } from '@atlassian/structured-docs-types';
10
+
11
+ import packageJson from './package.json';
12
+
13
+ const packagePath = path.resolve(__dirname);
14
+
15
+ const documentation: ComponentStructuredContentSource[] = [
16
+ {
17
+ name: 'Editor Core',
18
+ description: 'A an atlassian editor extension to add a native dropbox picker',
19
+ status: 'general-availability',
20
+ import: {
21
+ name: 'Editor Core',
22
+ package: '@atlaskit/editor-extension-dropbox',
23
+ type: 'default',
24
+ packagePath,
25
+ packageJson,
26
+ },
27
+ usageGuidelines: [],
28
+ contentGuidelines: [],
29
+ accessibilityGuidelines: [],
30
+ keywords: ['editor', 'extension-dropbox', 'atlaskit'],
31
+ categories: ['editor'],
32
+ examples: [
33
+ { name: 'Test modal', description: 'Dropbox extension test modal example.', source: path.resolve(packagePath, './examples/bad-example-test-modal.tsx') },
34
+ ],
35
+ },
36
+ ];
37
+
38
+ export default documentation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-extension-dropbox",
3
- "version": "8.0.10",
3
+ "version": "8.0.12",
4
4
  "description": "A an atlassian editor extension to add a native dropbox picker",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -44,14 +44,14 @@
44
44
  "@atlaskit/modal-dialog": "^14.18.0",
45
45
  "@atlaskit/platform-feature-flags": "^1.1.0",
46
46
  "@atlaskit/primitives": "^19.0.0",
47
- "@atlaskit/tmp-editor-statsig": "^71.0.0",
47
+ "@atlaskit/tmp-editor-statsig": "^73.0.0",
48
48
  "@atlaskit/tokens": "^13.0.0",
49
49
  "@babel/runtime": "^7.0.0",
50
50
  "@compiled/react": "^0.20.0",
51
51
  "@emotion/react": "^11.7.1"
52
52
  },
53
53
  "peerDependencies": {
54
- "@atlaskit/editor-common": "^114.12.0",
54
+ "@atlaskit/editor-common": "^114.13.0",
55
55
  "react": "^18.2.0",
56
56
  "react-dom": "^18.2.0"
57
57
  },
@@ -67,6 +67,7 @@
67
67
  }
68
68
  },
69
69
  "devDependencies": {
70
- "@atlassian/react-compiler-gating": "workspace:^"
70
+ "@atlassian/react-compiler-gating": "workspace:^",
71
+ "@atlassian/structured-docs-types": "workspace:^"
71
72
  }
72
73
  }