@atlaskit/editor-plugin-floating-toolbar 1.7.0 → 1.7.1
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 +6 -0
- package/dist/cjs/ui/Dropdown.js +1 -1
- package/dist/cjs/ui/DropdownMenu.js +2 -0
- package/dist/cjs/ui/EmojiPickerButton.js +2 -0
- package/dist/cjs/ui/Input.js +1 -1
- package/dist/cjs/ui/ScrollButtons.js +2 -0
- package/dist/cjs/ui/Toolbar.js +1 -1
- package/dist/es2019/ui/Dropdown.js +2 -0
- package/dist/es2019/ui/DropdownMenu.js +2 -0
- package/dist/es2019/ui/EmojiPickerButton.js +2 -0
- package/dist/es2019/ui/Input.js +2 -0
- package/dist/es2019/ui/ScrollButtons.js +2 -0
- package/dist/es2019/ui/Toolbar.js +2 -0
- package/dist/esm/ui/Dropdown.js +2 -0
- package/dist/esm/ui/DropdownMenu.js +2 -0
- package/dist/esm/ui/EmojiPickerButton.js +2 -0
- package/dist/esm/ui/Input.js +2 -0
- package/dist/esm/ui/ScrollButtons.js +2 -0
- package/dist/esm/ui/Toolbar.js +2 -0
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
package/dist/cjs/ui/Dropdown.js
CHANGED
|
@@ -24,7 +24,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
24
24
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
25
25
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26
26
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
27
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
27
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
28
28
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
29
29
|
var dropdownExpandContainer = (0, _react2.css)({
|
|
30
30
|
margin: "0px ".concat("var(--ds-space-negative-050, -4px)")
|
|
@@ -18,6 +18,8 @@ var _constants = require("@atlaskit/theme/constants");
|
|
|
18
18
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
19
19
|
/** @jsx jsx */
|
|
20
20
|
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
22
|
+
|
|
21
23
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
22
24
|
|
|
23
25
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
@@ -17,6 +17,8 @@ var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
|
17
17
|
var _EditorEmojiAddIcon = _interopRequireDefault(require("./EditorEmojiAddIcon"));
|
|
18
18
|
/** @jsx jsx */
|
|
19
19
|
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
|
+
|
|
20
22
|
// helps adjusts position of popup
|
|
21
23
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
22
24
|
var emojiPickerButtonWrapper = (0, _react2.css)({
|
package/dist/cjs/ui/Input.js
CHANGED
|
@@ -19,7 +19,7 @@ var _ui = require("@atlaskit/editor-common/ui");
|
|
|
19
19
|
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); }
|
|
20
20
|
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; }
|
|
21
21
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
22
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
22
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
23
23
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
24
24
|
var TextField = exports.default = /*#__PURE__*/function (_Component) {
|
|
25
25
|
(0, _inherits2.default)(TextField, _Component);
|
|
@@ -19,6 +19,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
19
19
|
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; }
|
|
20
20
|
/** @jsx jsx */
|
|
21
21
|
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
23
|
+
|
|
22
24
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
23
25
|
var toolbarScrollButtons = (0, _react2.css)({
|
|
24
26
|
display: 'grid',
|
package/dist/cjs/ui/Toolbar.js
CHANGED
|
@@ -38,7 +38,7 @@ var _Separator = _interopRequireDefault(require("./Separator"));
|
|
|
38
38
|
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); }
|
|
39
39
|
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; }
|
|
40
40
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
41
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation */ /** @jsx jsx */
|
|
41
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation */ /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
42
42
|
function groupItems(items) {
|
|
43
43
|
var groupItems = items.reduce(function (accumulator, item, i) {
|
|
44
44
|
var finalOutput = accumulator.finalOutput,
|
|
@@ -2,6 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
|
|
4
4
|
import React, { Component } from 'react';
|
|
5
|
+
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
7
|
import { css, jsx } from '@emotion/react';
|
|
6
8
|
import { FloatingToolbarButton as Button } from '@atlaskit/editor-common/ui';
|
|
7
9
|
import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
5
7
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import Button from '@atlaskit/button';
|
|
5
7
|
import { WithProviders } from '@atlaskit/editor-common/provider-factory';
|
package/dist/es2019/ui/Input.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React, { Component } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { jsx } from '@emotion/react';
|
|
5
7
|
import { panelTextInput } from '@atlaskit/editor-common/ui';
|
|
6
8
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React, { useEffect, useRef, useState } from 'react';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
5
|
import { css, jsx } from '@emotion/react';
|
|
4
6
|
import rafSchedule from 'raf-schd';
|
|
5
7
|
import { messages } from '@atlaskit/editor-common/floating-toolbar';
|
|
@@ -3,6 +3,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
/* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation */
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
import React, { Component } from 'react';
|
|
6
|
+
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
8
|
import { css, jsx } from '@emotion/react';
|
|
7
9
|
import { injectIntl } from 'react-intl-next';
|
|
8
10
|
import ButtonGroup from '@atlaskit/button/button-group';
|
package/dist/esm/ui/Dropdown.js
CHANGED
|
@@ -12,6 +12,8 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
12
12
|
/** @jsx jsx */
|
|
13
13
|
|
|
14
14
|
import React, { Component } from 'react';
|
|
15
|
+
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
17
|
import { css, jsx } from '@emotion/react';
|
|
16
18
|
import { FloatingToolbarButton as Button } from '@atlaskit/editor-common/ui';
|
|
17
19
|
import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
6
8
|
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import Button from '@atlaskit/button';
|
|
6
8
|
import { WithProviders } from '@atlaskit/editor-common/provider-factory';
|
package/dist/esm/ui/Input.js
CHANGED
|
@@ -9,6 +9,8 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
9
9
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
10
10
|
/** @jsx jsx */
|
|
11
11
|
import React, { Component } from 'react';
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
14
|
import { jsx } from '@emotion/react';
|
|
13
15
|
import { panelTextInput } from '@atlaskit/editor-common/ui';
|
|
14
16
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React, { useEffect, useRef, useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import rafSchedule from 'raf-schd';
|
|
6
8
|
import { messages } from '@atlaskit/editor-common/floating-toolbar';
|
package/dist/esm/ui/Toolbar.js
CHANGED
|
@@ -11,6 +11,8 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
11
11
|
/* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation */
|
|
12
12
|
/** @jsx jsx */
|
|
13
13
|
import React, { Component } from 'react';
|
|
14
|
+
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
14
16
|
import { css, jsx } from '@emotion/react';
|
|
15
17
|
import { injectIntl } from 'react-intl-next';
|
|
16
18
|
import ButtonGroup from '@atlaskit/button/button-group';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/adf-utils": "^19.2.0",
|
|
28
|
-
"@atlaskit/button": "^17.
|
|
29
|
-
"@atlaskit/checkbox": "^13.
|
|
30
|
-
"@atlaskit/editor-common": "^82.
|
|
28
|
+
"@atlaskit/button": "^17.22.0",
|
|
29
|
+
"@atlaskit/checkbox": "^13.5.0",
|
|
30
|
+
"@atlaskit/editor-common": "^82.9.0",
|
|
31
31
|
"@atlaskit/editor-palette": "1.6.0",
|
|
32
32
|
"@atlaskit/editor-plugin-block-controls": "^1.4.1",
|
|
33
33
|
"@atlaskit/editor-plugin-context-panel": "^1.1.0",
|
|
34
34
|
"@atlaskit/editor-plugin-copy-button": "^1.1.0",
|
|
35
35
|
"@atlaskit/editor-plugin-decorations": "^1.1.0",
|
|
36
36
|
"@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
|
|
37
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
37
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^2.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-extension": "^1.6.0",
|
|
39
39
|
"@atlaskit/editor-plugin-table": "^7.17.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
41
41
|
"@atlaskit/emoji": "^67.6.0",
|
|
42
|
-
"@atlaskit/icon": "^22.
|
|
43
|
-
"@atlaskit/menu": "^2.
|
|
44
|
-
"@atlaskit/modal-dialog": "^12.
|
|
42
|
+
"@atlaskit/icon": "^22.4.0",
|
|
43
|
+
"@atlaskit/menu": "^2.5.0",
|
|
44
|
+
"@atlaskit/modal-dialog": "^12.14.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^0.2.5",
|
|
46
|
-
"@atlaskit/select": "^17.
|
|
47
|
-
"@atlaskit/theme": "^12.
|
|
48
|
-
"@atlaskit/tokens": "^1.
|
|
49
|
-
"@atlaskit/tooltip": "^18.
|
|
46
|
+
"@atlaskit/select": "^17.11.0",
|
|
47
|
+
"@atlaskit/theme": "^12.10.0",
|
|
48
|
+
"@atlaskit/tokens": "^1.51.0",
|
|
49
|
+
"@atlaskit/tooltip": "^18.5.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1",
|
|
52
52
|
"lodash": "^4.17.21",
|