@atlaskit/editor-extension-dropbox 15.0.8 → 16.0.0

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,25 @@
1
1
  # @atlaskit/editor-extension-dropbox
2
2
 
3
+ ## 16.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 15.0.10
10
+
11
+ ### Patch Changes
12
+
13
+ - [`18c1059ce30c8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/18c1059ce30c8) -
14
+ Order Embed app slash commands alphabetically and keep the Dropbox icon vertically centered.
15
+ - Updated dependencies
16
+
17
+ ## 15.0.9
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+
3
23
  ## 15.0.8
4
24
 
5
25
  ### Patch Changes
@@ -1,6 +1,9 @@
1
1
  ._18m915vq{overflow-y:hidden}
2
+ ._1bah1h6o{justify-content:center}
2
3
  ._1bsb1tcg{width:24px}
4
+ ._1e0c116y{display:inline-flex}
3
5
  ._1reo15vq{overflow-x:hidden}
6
+ ._4cvr1h6o{align-items:center}
4
7
  ._4t3i1tcg{height:24px}
5
8
  ._lcxvglyw{pointer-events:none}
6
9
  ._lswuvuon{fill:var(--ds-surface,#fff)}
@@ -9,12 +9,15 @@ exports.default = void 0;
9
9
  require("./DropboxIcon.compiled.css");
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  var _runtime = require("@compiled/react/runtime");
12
+ var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
12
13
  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); }
14
+ var iconWrapperStyles = null;
13
15
  var svgStyles = null;
14
16
  var _default = exports.default = function _default() {
15
17
  return /*#__PURE__*/React.createElement("span", {
16
18
  "data-vc": 'icon-editor-dropbox',
17
- "aria-hidden": true
19
+ "aria-hidden": true,
20
+ className: (0, _runtime.ax)([(0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_slash_command') && "_4cvr1h6o _1e0c116y _4t3i1tcg _1bah1h6o _1bsb1tcg"])
18
21
  }, /*#__PURE__*/React.createElement("svg", {
19
22
  viewBox: "0 0 24 24",
20
23
  "aria-label": "dropbox-icon",
@@ -1,6 +1,9 @@
1
1
  ._18m915vq{overflow-y:hidden}
2
+ ._1bah1h6o{justify-content:center}
2
3
  ._1bsb1tcg{width:24px}
4
+ ._1e0c116y{display:inline-flex}
3
5
  ._1reo15vq{overflow-x:hidden}
6
+ ._4cvr1h6o{align-items:center}
4
7
  ._4t3i1tcg{height:24px}
5
8
  ._lcxvglyw{pointer-events:none}
6
9
  ._lswuvuon{fill:var(--ds-surface,#fff)}
@@ -2,11 +2,14 @@
2
2
  import "./DropboxIcon.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
+ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
6
+ const iconWrapperStyles = null;
5
7
  const svgStyles = null;
6
8
  export default (() => {
7
9
  return /*#__PURE__*/React.createElement("span", {
8
10
  "data-vc": 'icon-editor-dropbox',
9
- "aria-hidden": true
11
+ "aria-hidden": true,
12
+ className: ax([isExperimentEnabled('platform_editor_slash_command') && "_4cvr1h6o _1e0c116y _4t3i1tcg _1bah1h6o _1bsb1tcg"])
10
13
  }, /*#__PURE__*/React.createElement("svg", {
11
14
  viewBox: "0 0 24 24",
12
15
  "aria-label": "dropbox-icon",
@@ -1,6 +1,9 @@
1
1
  ._18m915vq{overflow-y:hidden}
2
+ ._1bah1h6o{justify-content:center}
2
3
  ._1bsb1tcg{width:24px}
4
+ ._1e0c116y{display:inline-flex}
3
5
  ._1reo15vq{overflow-x:hidden}
6
+ ._4cvr1h6o{align-items:center}
4
7
  ._4t3i1tcg{height:24px}
5
8
  ._lcxvglyw{pointer-events:none}
6
9
  ._lswuvuon{fill:var(--ds-surface,#fff)}
@@ -2,11 +2,14 @@
2
2
  import "./DropboxIcon.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
+ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
6
+ var iconWrapperStyles = null;
5
7
  var svgStyles = null;
6
8
  export default (function () {
7
9
  return /*#__PURE__*/React.createElement("span", {
8
10
  "data-vc": 'icon-editor-dropbox',
9
- "aria-hidden": true
11
+ "aria-hidden": true,
12
+ className: ax([isExperimentEnabled('platform_editor_slash_command') && "_4cvr1h6o _1e0c116y _4t3i1tcg _1bah1h6o _1bsb1tcg"])
10
13
  }, /*#__PURE__*/React.createElement("svg", {
11
14
  viewBox: "0 0 24 24",
12
15
  "aria-label": "dropbox-icon",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-extension-dropbox",
3
- "version": "15.0.8",
3
+ "version": "16.0.0",
4
4
  "description": "A an atlassian editor extension to add a native dropbox picker",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,14 +39,14 @@
39
39
  "@atlaskit/primitives": "^22.5.0",
40
40
  "@atlaskit/react-compiler-gating": "^0.2.0",
41
41
  "@atlaskit/section-message": "^10.2.0",
42
- "@atlaskit/tmp-editor-statsig": "^187.0.0",
42
+ "@atlaskit/tmp-editor-statsig": "^188.0.0",
43
43
  "@atlaskit/tokens": "^16.12.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@compiled/react": "^1.0.2",
46
46
  "@emotion/react": "^11.7.1"
47
47
  },
48
48
  "peerDependencies": {
49
- "@atlaskit/editor-common": "^121.4.0",
49
+ "@atlaskit/editor-common": "^122.0.0",
50
50
  "react": "^18.2.0 || ^19.2.0",
51
51
  "react-dom": "^18.2.0 || ^19.2.0"
52
52
  },