@atlaskit/editor-plugin-toolbar-lists-indentation 10.0.0 → 11.0.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 +25 -0
- package/dist/cjs/ui/Toolbar.js +2 -2
- package/dist/cjs/ui/ToolbarDropdown.js +3 -3
- package/dist/cjs/ui/toolbar-components/BulletedListMenuItem.js +2 -2
- package/dist/cjs/ui/toolbar-components/IndentMenuItem.js +2 -2
- package/dist/cjs/ui/toolbar-components/ListsIndentationHeroButton.js +3 -3
- package/dist/cjs/ui/toolbar-components/ListsIndentationMenu.js +2 -2
- package/dist/cjs/ui/toolbar-components/NumberedListMenuItem.js +2 -2
- package/dist/cjs/ui/toolbar-components/OutdentMenuItem.js +2 -2
- package/dist/cjs/ui/toolbar-components/TaskListMenuItem.js +2 -2
- package/dist/es2019/ui/Toolbar.js +1 -1
- package/dist/es2019/ui/ToolbarDropdown.js +1 -1
- package/dist/es2019/ui/toolbar-components/BulletedListMenuItem.js +1 -1
- package/dist/es2019/ui/toolbar-components/IndentMenuItem.js +1 -1
- package/dist/es2019/ui/toolbar-components/ListsIndentationHeroButton.js +1 -1
- package/dist/es2019/ui/toolbar-components/ListsIndentationMenu.js +1 -1
- package/dist/es2019/ui/toolbar-components/NumberedListMenuItem.js +1 -1
- package/dist/es2019/ui/toolbar-components/OutdentMenuItem.js +1 -1
- package/dist/es2019/ui/toolbar-components/TaskListMenuItem.js +1 -1
- package/dist/esm/ui/Toolbar.js +1 -1
- package/dist/esm/ui/ToolbarDropdown.js +1 -1
- package/dist/esm/ui/toolbar-components/BulletedListMenuItem.js +1 -1
- package/dist/esm/ui/toolbar-components/IndentMenuItem.js +1 -1
- package/dist/esm/ui/toolbar-components/ListsIndentationHeroButton.js +1 -1
- package/dist/esm/ui/toolbar-components/ListsIndentationMenu.js +1 -1
- package/dist/esm/ui/toolbar-components/NumberedListMenuItem.js +1 -1
- package/dist/esm/ui/toolbar-components/OutdentMenuItem.js +1 -1
- package/dist/esm/ui/toolbar-components/TaskListMenuItem.js +1 -1
- package/package.json +15 -14
- package/report.api.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-toolbar-lists-indentation
|
|
2
2
|
|
|
3
|
+
## 11.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 11.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- [`901c87a57486e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/901c87a57486e) -
|
|
14
|
+
Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
|
|
15
|
+
|
|
16
|
+
What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
|
|
17
|
+
removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
|
|
18
|
+
to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
|
|
19
|
+
|
|
20
|
+
How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
|
|
21
|
+
`^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
|
|
22
|
+
can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
|
|
3
28
|
## 10.0.0
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/dist/cjs/ui/Toolbar.js
CHANGED
|
@@ -10,7 +10,7 @@ exports.Toolbar = Toolbar;
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var React = _react;
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var
|
|
13
|
+
var _reactIntl = require("react-intl");
|
|
14
14
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
15
15
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
16
16
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
@@ -21,7 +21,7 @@ var _textIndentLeft = _interopRequireDefault(require("@atlaskit/icon/core/text-i
|
|
|
21
21
|
var _textIndentRight = _interopRequireDefault(require("@atlaskit/icon/core/text-indent-right"));
|
|
22
22
|
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); }
|
|
23
23
|
function Toolbar(props) {
|
|
24
|
-
var _useIntl = (0,
|
|
24
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
25
25
|
formatMessage = _useIntl.formatMessage;
|
|
26
26
|
var indentButtonRef = (0, _react.useRef)(null);
|
|
27
27
|
var outdentButtonRef = (0, _react.useRef)(null);
|
|
@@ -9,7 +9,7 @@ exports.ToolbarDropdown = ToolbarDropdown;
|
|
|
9
9
|
var _runtime = require("@compiled/react/runtime");
|
|
10
10
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
|
-
var
|
|
12
|
+
var _reactIntl = require("react-intl");
|
|
13
13
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
14
14
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
15
15
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
@@ -21,7 +21,7 @@ var _textIndentRight = _interopRequireDefault(require("@atlaskit/icon/core/text-
|
|
|
21
21
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
22
22
|
var _types = require("../types");
|
|
23
23
|
function ToolbarDropdown(props) {
|
|
24
|
-
var _useIntl = (0,
|
|
24
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
25
25
|
formatMessage = _useIntl.formatMessage;
|
|
26
26
|
var disabled = props.disabled,
|
|
27
27
|
isReducedSpacing = props.isReducedSpacing,
|
|
@@ -122,7 +122,7 @@ function ToolbarDropdown(props) {
|
|
|
122
122
|
})), !(pluginInjectionApi !== null && pluginInjectionApi !== void 0 && pluginInjectionApi.primaryToolbar) && /*#__PURE__*/_react.default.createElement(_ui.ToolbarSeparator, null));
|
|
123
123
|
}
|
|
124
124
|
function useItems(props) {
|
|
125
|
-
var _useIntl2 = (0,
|
|
125
|
+
var _useIntl2 = (0, _reactIntl.useIntl)(),
|
|
126
126
|
formatMessage = _useIntl2.formatMessage;
|
|
127
127
|
var labelUnorderedList = formatMessage(_messages.listMessages.unorderedList);
|
|
128
128
|
var labelOrderedList = formatMessage(_messages.listMessages.orderedList);
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.useBulletedListInfo = exports.BulletedListMenuItem = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
11
11
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
12
12
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
@@ -15,7 +15,7 @@ var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
|
15
15
|
var useBulletedListInfo = exports.useBulletedListInfo = function useBulletedListInfo(_ref) {
|
|
16
16
|
var api = _ref.api,
|
|
17
17
|
parents = _ref.parents;
|
|
18
|
-
var _useIntl = (0,
|
|
18
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
19
19
|
formatMessage = _useIntl.formatMessage;
|
|
20
20
|
var bulletMessage = formatMessage(_messages.listMessages.bulletedList);
|
|
21
21
|
var _useSharedPluginState = (0, _hooks.useSharedPluginStateWithSelector)(api, ['list', 'taskDecision'], function (states) {
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.IndentMenuItem = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
11
11
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
12
12
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
@@ -17,7 +17,7 @@ var IndentMenuItem = exports.IndentMenuItem = function IndentMenuItem(_ref) {
|
|
|
17
17
|
showIndentationButtons = _ref.showIndentationButtons,
|
|
18
18
|
allowHeadingAndParagraphIndentation = _ref.allowHeadingAndParagraphIndentation,
|
|
19
19
|
parents = _ref.parents;
|
|
20
|
-
var _useIntl = (0,
|
|
20
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
21
21
|
formatMessage = _useIntl.formatMessage;
|
|
22
22
|
var _useEditorToolbar = (0, _toolbar.useEditorToolbar)(),
|
|
23
23
|
editorView = _useEditorToolbar.editorView;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.ListsIndentationHeroButtonNew = exports.ListsIndentationHeroButtonCollapsed = exports.ListsIndentationHeroButton = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
11
11
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
12
12
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
@@ -17,7 +17,7 @@ function useListsIndentationHeroButtonInfo(_ref) {
|
|
|
17
17
|
var api = _ref.api,
|
|
18
18
|
parents = _ref.parents,
|
|
19
19
|
defaultListType = _ref.defaultListType;
|
|
20
|
-
var _useIntl = (0,
|
|
20
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
21
21
|
formatMessage = _useIntl.formatMessage;
|
|
22
22
|
var _useSharedPluginState = (0, _hooks.useSharedPluginStateWithSelector)(api, ['list', 'taskDecision'], function (states) {
|
|
23
23
|
var _states$listState, _states$listState2, _states$listState3, _states$taskDecisionS;
|
|
@@ -130,7 +130,7 @@ var ListsIndentationHeroButtonNew = exports.ListsIndentationHeroButtonNew = func
|
|
|
130
130
|
var ListsIndentationHeroButton = exports.ListsIndentationHeroButton = function ListsIndentationHeroButton(_ref4) {
|
|
131
131
|
var api = _ref4.api,
|
|
132
132
|
parents = _ref4.parents;
|
|
133
|
-
var _useIntl2 = (0,
|
|
133
|
+
var _useIntl2 = (0, _reactIntl.useIntl)(),
|
|
134
134
|
formatMessage = _useIntl2.formatMessage;
|
|
135
135
|
var _useSharedPluginState2 = (0, _hooks.useSharedPluginStateWithSelector)(api, ['list', 'taskDecision'], function (states) {
|
|
136
136
|
var _states$listState4, _states$listState5, _states$listState6, _states$taskDecisionS2;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.ListsIndentationMenu = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
11
11
|
var _lists = require("@atlaskit/editor-common/lists");
|
|
12
12
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
@@ -16,7 +16,7 @@ var ListsIndentationMenu = exports.ListsIndentationMenu = function ListsIndentat
|
|
|
16
16
|
var children = _ref.children,
|
|
17
17
|
api = _ref.api,
|
|
18
18
|
allowHeadingAndParagraphIndentation = _ref.allowHeadingAndParagraphIndentation;
|
|
19
|
-
var _useIntl = (0,
|
|
19
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
20
20
|
formatMessage = _useIntl.formatMessage;
|
|
21
21
|
var _useEditorToolbar = (0, _toolbar.useEditorToolbar)(),
|
|
22
22
|
editorView = _useEditorToolbar.editorView;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.NumberedListMenuItem = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
11
11
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
12
12
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
@@ -15,7 +15,7 @@ var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
|
15
15
|
var NumberedListMenuItem = exports.NumberedListMenuItem = function NumberedListMenuItem(_ref) {
|
|
16
16
|
var api = _ref.api,
|
|
17
17
|
parents = _ref.parents;
|
|
18
|
-
var _useIntl = (0,
|
|
18
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
19
19
|
formatMessage = _useIntl.formatMessage;
|
|
20
20
|
var _useSharedPluginState = (0, _hooks.useSharedPluginStateWithSelector)(api, ['list', 'taskDecision'], function (states) {
|
|
21
21
|
var _states$listState, _states$listState2, _states$taskDecisionS;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.OutdentMenuItem = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
11
11
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
12
12
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
@@ -17,7 +17,7 @@ var OutdentMenuItem = exports.OutdentMenuItem = function OutdentMenuItem(_ref) {
|
|
|
17
17
|
allowHeadingAndParagraphIndentation = _ref.allowHeadingAndParagraphIndentation,
|
|
18
18
|
showIndentationButtons = _ref.showIndentationButtons,
|
|
19
19
|
parents = _ref.parents;
|
|
20
|
-
var _useIntl = (0,
|
|
20
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
21
21
|
formatMessage = _useIntl.formatMessage;
|
|
22
22
|
var _useEditorToolbar = (0, _toolbar.useEditorToolbar)(),
|
|
23
23
|
editorView = _useEditorToolbar.editorView;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.TaskListMenuItem = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
11
11
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
12
12
|
var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-plugin-state-selector");
|
|
@@ -14,7 +14,7 @@ var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
|
14
14
|
var _task = _interopRequireDefault(require("@atlaskit/icon/core/task"));
|
|
15
15
|
var TaskListMenuItem = exports.TaskListMenuItem = function TaskListMenuItem(_ref) {
|
|
16
16
|
var api = _ref.api;
|
|
17
|
-
var _useIntl = (0,
|
|
17
|
+
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
18
18
|
formatMessage = _useIntl.formatMessage;
|
|
19
19
|
var _useEditorToolbar = (0, _toolbar.useEditorToolbar)(),
|
|
20
20
|
editorView = _useEditorToolbar.editorView;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { useEffect, useRef } from 'react';
|
|
5
|
-
import { useIntl } from 'react-intl
|
|
5
|
+
import { useIntl } from 'react-intl';
|
|
6
6
|
import { getAriaKeyshortcuts, toggleBulletList as toggleBulletListKeymap, indent as toggleIndentKeymap, toggleOrderedList as toggleOrderedListKeymap, outdent as toggleOutdentKeymap, tooltip, ToolTipContent } from '@atlaskit/editor-common/keymaps';
|
|
7
7
|
import { indentationMessages, listMessages as messages } from '@atlaskit/editor-common/messages';
|
|
8
8
|
import { ToolbarButtonGroup, ToolbarSeparator } from '@atlaskit/editor-common/ui';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* ToolbarDropdown.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
2
|
import { ax, ix } from "@compiled/react/runtime";
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { useIntl } from 'react-intl
|
|
4
|
+
import { useIntl } from 'react-intl';
|
|
5
5
|
import { toggleBulletList as toggleBulletListKeymap, indent as toggleIndentKeymap, toggleOrderedList as toggleOrderedListKeymap, outdent as toggleOutdentKeymap, tooltip } from '@atlaskit/editor-common/keymaps';
|
|
6
6
|
import { indentationMessages, listMessages } from '@atlaskit/editor-common/messages';
|
|
7
7
|
import { Shortcut, ToolbarDropdownTriggerWrapper, ToolbarDropdownWrapper, ToolbarExpandIcon, ToolbarSeparator } from '@atlaskit/editor-common/ui';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
4
4
|
import { toggleBulletList as toggleBulletListKeymap, formatShortcut } from '@atlaskit/editor-common/keymaps';
|
|
5
5
|
import { listMessages } from '@atlaskit/editor-common/messages';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { indent as toggleIndentKeymap, formatShortcut } from '@atlaskit/editor-common/keymaps';
|
|
4
4
|
import { indentationMessages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { getInputMethodFromParentKeys, useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
4
4
|
import { toggleBulletList as toggleBulletListKeymap, toggleOrderedList as toggleOrderedListKeymap, toggleTaskList as toggleTaskListKeymap, formatShortcut, ToolTipContent } from '@atlaskit/editor-common/keymaps';
|
|
5
5
|
import { listMessages, tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
4
4
|
import { messages } from '@atlaskit/editor-common/lists';
|
|
5
5
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
4
4
|
import { toggleOrderedList as toggleOrderedListKeymap, formatShortcut } from '@atlaskit/editor-common/keymaps';
|
|
5
5
|
import { listMessages } from '@atlaskit/editor-common/messages';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { outdent as toggleOutdentKeymap, formatShortcut } from '@atlaskit/editor-common/keymaps';
|
|
4
4
|
import { indentationMessages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { getInputMethodFromParentKeys, useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
|
|
4
4
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
5
5
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
package/dist/esm/ui/Toolbar.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { useEffect, useRef } from 'react';
|
|
5
|
-
import { useIntl } from 'react-intl
|
|
5
|
+
import { useIntl } from 'react-intl';
|
|
6
6
|
import { getAriaKeyshortcuts, toggleBulletList as toggleBulletListKeymap, indent as toggleIndentKeymap, toggleOrderedList as toggleOrderedListKeymap, outdent as toggleOutdentKeymap, tooltip, ToolTipContent } from '@atlaskit/editor-common/keymaps';
|
|
7
7
|
import { indentationMessages, listMessages as messages } from '@atlaskit/editor-common/messages';
|
|
8
8
|
import { ToolbarButtonGroup, ToolbarSeparator } from '@atlaskit/editor-common/ui';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { useIntl } from 'react-intl
|
|
5
|
+
import { useIntl } from 'react-intl';
|
|
6
6
|
import { toggleBulletList as toggleBulletListKeymap, indent as toggleIndentKeymap, toggleOrderedList as toggleOrderedListKeymap, outdent as toggleOutdentKeymap, tooltip } from '@atlaskit/editor-common/keymaps';
|
|
7
7
|
import { indentationMessages, listMessages } from '@atlaskit/editor-common/messages';
|
|
8
8
|
import { Shortcut, ToolbarDropdownTriggerWrapper, ToolbarDropdownWrapper, ToolbarExpandIcon, ToolbarSeparator } from '@atlaskit/editor-common/ui';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
4
4
|
import { toggleBulletList as toggleBulletListKeymap, formatShortcut } from '@atlaskit/editor-common/keymaps';
|
|
5
5
|
import { listMessages } from '@atlaskit/editor-common/messages';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { indent as toggleIndentKeymap, formatShortcut } from '@atlaskit/editor-common/keymaps';
|
|
4
4
|
import { indentationMessages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { getInputMethodFromParentKeys, useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
4
4
|
import { toggleBulletList as toggleBulletListKeymap, toggleOrderedList as toggleOrderedListKeymap, toggleTaskList as toggleTaskListKeymap, formatShortcut, ToolTipContent } from '@atlaskit/editor-common/keymaps';
|
|
5
5
|
import { listMessages, tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
4
4
|
import { messages } from '@atlaskit/editor-common/lists';
|
|
5
5
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
4
4
|
import { toggleOrderedList as toggleOrderedListKeymap, formatShortcut } from '@atlaskit/editor-common/keymaps';
|
|
5
5
|
import { listMessages } from '@atlaskit/editor-common/messages';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { outdent as toggleOutdentKeymap, formatShortcut } from '@atlaskit/editor-common/keymaps';
|
|
4
4
|
import { indentationMessages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { getInputMethodFromParentKeys, useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
|
|
4
4
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
5
5
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-toolbar-lists-indentation",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.1",
|
|
4
4
|
"description": "Toolbar lists and indentation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,33 +30,34 @@
|
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/css": "^0.19.0",
|
|
33
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
34
|
-
"@atlaskit/editor-plugin-block-type": "^
|
|
35
|
-
"@atlaskit/editor-plugin-feature-flags": "^
|
|
36
|
-
"@atlaskit/editor-plugin-indentation": "^
|
|
37
|
-
"@atlaskit/editor-plugin-list": "^
|
|
38
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^
|
|
39
|
-
"@atlaskit/editor-plugin-selection-toolbar": "^
|
|
40
|
-
"@atlaskit/editor-plugin-tasks-and-decisions": "^
|
|
41
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
33
|
+
"@atlaskit/editor-plugin-analytics": "^10.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-block-type": "^14.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-feature-flags": "^9.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-indentation": "^10.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-list": "^12.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^11.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-selection-toolbar": "^11.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-tasks-and-decisions": "^13.0.0",
|
|
41
|
+
"@atlaskit/editor-plugin-toolbar": "^7.0.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
43
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
43
|
+
"@atlaskit/editor-toolbar": "^1.0.0",
|
|
44
44
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
45
45
|
"@atlaskit/icon": "^34.2.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^63.0.0",
|
|
48
48
|
"@atlaskit/tokens": "^13.0.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@atlaskit/editor-common": "^
|
|
52
|
+
"@atlaskit/editor-common": "^114.2.0",
|
|
53
53
|
"react": "^18.2.0",
|
|
54
54
|
"react-dom": "^18.2.0",
|
|
55
|
-
"react-intl
|
|
55
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@atlaskit/adf-schema": "^52.5.0",
|
|
59
59
|
"@testing-library/react": "^16.3.0",
|
|
60
|
+
"react-intl": "^6.6.2",
|
|
60
61
|
"wait-for-expect": "^1.2.0"
|
|
61
62
|
},
|
|
62
63
|
"techstack": {
|