@atlaskit/editor-plugin-toolbar-lists-indentation 7.0.23 → 7.0.25
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 +14 -0
- package/dist/cjs/ui/Toolbar.js +8 -8
- package/dist/cjs/ui/ToolbarDropdown.js +1 -2
- package/dist/es2019/ui/Toolbar.js +4 -4
- package/dist/es2019/ui/ToolbarDropdown.js +1 -2
- package/dist/esm/ui/Toolbar.js +4 -4
- package/dist/esm/ui/ToolbarDropdown.js +1 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-toolbar-lists-indentation
|
|
2
2
|
|
|
3
|
+
## 7.0.25
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`90abe9b926a6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90abe9b926a6f) -
|
|
8
|
+
Icon entrypoint migration
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 7.0.24
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 7.0.23
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/ui/Toolbar.js
CHANGED
|
@@ -15,10 +15,10 @@ 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");
|
|
17
17
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
18
|
+
var _listBulleted = _interopRequireDefault(require("@atlaskit/icon/core/list-bulleted"));
|
|
19
|
+
var _listNumbered = _interopRequireDefault(require("@atlaskit/icon/core/list-numbered"));
|
|
20
|
+
var _textIndentLeft = _interopRequireDefault(require("@atlaskit/icon/core/text-indent-left"));
|
|
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
24
|
var _useIntl = (0, _reactIntlNext.useIntl)(),
|
|
@@ -78,7 +78,7 @@ function Toolbar(props) {
|
|
|
78
78
|
description: labelUnorderedList,
|
|
79
79
|
keymap: _keymaps.toggleBulletList
|
|
80
80
|
}),
|
|
81
|
-
iconBefore: /*#__PURE__*/React.createElement(
|
|
81
|
+
iconBefore: /*#__PURE__*/React.createElement(_listBulleted.default, {
|
|
82
82
|
label: "",
|
|
83
83
|
color: "currentColor",
|
|
84
84
|
spacing: "spacious"
|
|
@@ -97,7 +97,7 @@ function Toolbar(props) {
|
|
|
97
97
|
description: labelOrderedList,
|
|
98
98
|
keymap: _keymaps.toggleOrderedList
|
|
99
99
|
}),
|
|
100
|
-
iconBefore: /*#__PURE__*/React.createElement(
|
|
100
|
+
iconBefore: /*#__PURE__*/React.createElement(_listNumbered.default, {
|
|
101
101
|
color: "currentColor",
|
|
102
102
|
spacing: "spacious",
|
|
103
103
|
label: ""
|
|
@@ -108,7 +108,7 @@ function Toolbar(props) {
|
|
|
108
108
|
ref: outdentButtonRef,
|
|
109
109
|
spacing: isReducedSpacing ? 'none' : 'default',
|
|
110
110
|
onClick: handleOnItemActivated('outdent'),
|
|
111
|
-
iconBefore: /*#__PURE__*/React.createElement(
|
|
111
|
+
iconBefore: /*#__PURE__*/React.createElement(_textIndentLeft.default, {
|
|
112
112
|
color: "currentColor",
|
|
113
113
|
spacing: "spacious",
|
|
114
114
|
label: ""
|
|
@@ -126,7 +126,7 @@ function Toolbar(props) {
|
|
|
126
126
|
ref: indentButtonRef,
|
|
127
127
|
spacing: isReducedSpacing ? 'none' : 'default',
|
|
128
128
|
onClick: handleOnItemActivated('indent'),
|
|
129
|
-
iconBefore: /*#__PURE__*/React.createElement(
|
|
129
|
+
iconBefore: /*#__PURE__*/React.createElement(_textIndentRight.default, {
|
|
130
130
|
color: "currentColor",
|
|
131
131
|
spacing: "spacious",
|
|
132
132
|
label: ""
|
|
@@ -16,7 +16,6 @@ var _ui = require("@atlaskit/editor-common/ui");
|
|
|
16
16
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
17
17
|
var _listBulleted = _interopRequireDefault(require("@atlaskit/icon/core/list-bulleted"));
|
|
18
18
|
var _listNumbered = _interopRequireDefault(require("@atlaskit/icon/core/list-numbered"));
|
|
19
|
-
var _listBulletedEditorBulletList = _interopRequireDefault(require("@atlaskit/icon/core/migration/list-bulleted--editor-bullet-list"));
|
|
20
19
|
var _textIndentLeft = _interopRequireDefault(require("@atlaskit/icon/core/text-indent-left"));
|
|
21
20
|
var _textIndentRight = _interopRequireDefault(require("@atlaskit/icon/core/text-indent-right"));
|
|
22
21
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
@@ -83,7 +82,7 @@ function ToolbarDropdown(props) {
|
|
|
83
82
|
label: ""
|
|
84
83
|
});
|
|
85
84
|
} else {
|
|
86
|
-
activeListIcon = /*#__PURE__*/_react.default.createElement(
|
|
85
|
+
activeListIcon = /*#__PURE__*/_react.default.createElement(_listBulleted.default, {
|
|
87
86
|
color: "currentColor",
|
|
88
87
|
spacing: "spacious",
|
|
89
88
|
label: labelLists
|
|
@@ -7,10 +7,10 @@ import { getAriaKeyshortcuts, toggleBulletList as toggleBulletListKeymap, indent
|
|
|
7
7
|
import { indentationMessages, listMessages as messages } from '@atlaskit/editor-common/messages';
|
|
8
8
|
import { ToolbarButtonGroup, ToolbarSeparator } from '@atlaskit/editor-common/ui';
|
|
9
9
|
import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
10
|
-
import BulletedListIcon from '@atlaskit/icon/core/
|
|
11
|
-
import NumberListIcon from '@atlaskit/icon/core/
|
|
12
|
-
import OutdentIcon from '@atlaskit/icon/core/
|
|
13
|
-
import IndentIcon from '@atlaskit/icon/core/
|
|
10
|
+
import BulletedListIcon from '@atlaskit/icon/core/list-bulleted';
|
|
11
|
+
import NumberListIcon from '@atlaskit/icon/core/list-numbered';
|
|
12
|
+
import OutdentIcon from '@atlaskit/icon/core/text-indent-left';
|
|
13
|
+
import IndentIcon from '@atlaskit/icon/core/text-indent-right';
|
|
14
14
|
export function Toolbar(props) {
|
|
15
15
|
const {
|
|
16
16
|
formatMessage
|
|
@@ -8,7 +8,6 @@ import { Shortcut, ToolbarDropdownTriggerWrapper, ToolbarDropdownWrapper, Toolba
|
|
|
8
8
|
import { DropdownMenuWithKeyboardNavigation as DropdownMenu, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
9
9
|
import ListBulletedIcon from '@atlaskit/icon/core/list-bulleted';
|
|
10
10
|
import ListNumberedIcon from '@atlaskit/icon/core/list-numbered';
|
|
11
|
-
import BulletListIcon from '@atlaskit/icon/core/migration/list-bulleted--editor-bullet-list';
|
|
12
11
|
import TextIndentLeftIcon from '@atlaskit/icon/core/text-indent-left';
|
|
13
12
|
import TextIndentRightIcon from '@atlaskit/icon/core/text-indent-right';
|
|
14
13
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
@@ -72,7 +71,7 @@ export function ToolbarDropdown(props) {
|
|
|
72
71
|
label: ""
|
|
73
72
|
});
|
|
74
73
|
} else {
|
|
75
|
-
activeListIcon = /*#__PURE__*/React.createElement(
|
|
74
|
+
activeListIcon = /*#__PURE__*/React.createElement(ListBulletedIcon, {
|
|
76
75
|
color: "currentColor",
|
|
77
76
|
spacing: "spacious",
|
|
78
77
|
label: labelLists
|
package/dist/esm/ui/Toolbar.js
CHANGED
|
@@ -7,10 +7,10 @@ import { getAriaKeyshortcuts, toggleBulletList as toggleBulletListKeymap, indent
|
|
|
7
7
|
import { indentationMessages, listMessages as messages } from '@atlaskit/editor-common/messages';
|
|
8
8
|
import { ToolbarButtonGroup, ToolbarSeparator } from '@atlaskit/editor-common/ui';
|
|
9
9
|
import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
10
|
-
import BulletedListIcon from '@atlaskit/icon/core/
|
|
11
|
-
import NumberListIcon from '@atlaskit/icon/core/
|
|
12
|
-
import OutdentIcon from '@atlaskit/icon/core/
|
|
13
|
-
import IndentIcon from '@atlaskit/icon/core/
|
|
10
|
+
import BulletedListIcon from '@atlaskit/icon/core/list-bulleted';
|
|
11
|
+
import NumberListIcon from '@atlaskit/icon/core/list-numbered';
|
|
12
|
+
import OutdentIcon from '@atlaskit/icon/core/text-indent-left';
|
|
13
|
+
import IndentIcon from '@atlaskit/icon/core/text-indent-right';
|
|
14
14
|
export function Toolbar(props) {
|
|
15
15
|
var _useIntl = useIntl(),
|
|
16
16
|
formatMessage = _useIntl.formatMessage;
|
|
@@ -9,7 +9,6 @@ import { Shortcut, ToolbarDropdownTriggerWrapper, ToolbarDropdownWrapper, Toolba
|
|
|
9
9
|
import { DropdownMenuWithKeyboardNavigation as DropdownMenu, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
10
10
|
import ListBulletedIcon from '@atlaskit/icon/core/list-bulleted';
|
|
11
11
|
import ListNumberedIcon from '@atlaskit/icon/core/list-numbered';
|
|
12
|
-
import BulletListIcon from '@atlaskit/icon/core/migration/list-bulleted--editor-bullet-list';
|
|
13
12
|
import TextIndentLeftIcon from '@atlaskit/icon/core/text-indent-left';
|
|
14
13
|
import TextIndentRightIcon from '@atlaskit/icon/core/text-indent-right';
|
|
15
14
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
@@ -76,7 +75,7 @@ export function ToolbarDropdown(props) {
|
|
|
76
75
|
label: ""
|
|
77
76
|
});
|
|
78
77
|
} else {
|
|
79
|
-
activeListIcon = /*#__PURE__*/React.createElement(
|
|
78
|
+
activeListIcon = /*#__PURE__*/React.createElement(ListBulletedIcon, {
|
|
80
79
|
color: "currentColor",
|
|
81
80
|
spacing: "spacious",
|
|
82
81
|
label: labelLists
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-toolbar-lists-indentation",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.25",
|
|
4
4
|
"description": "Toolbar lists and indentation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,24 +39,24 @@
|
|
|
39
39
|
"@atlaskit/editor-plugin-selection-toolbar": "^7.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^9.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-toolbar": "^3.4.0",
|
|
42
|
-
"@atlaskit/editor-prosemirror": "7.
|
|
42
|
+
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
43
43
|
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
44
44
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
45
|
-
"@atlaskit/icon": "^29.
|
|
45
|
+
"@atlaskit/icon": "^29.1.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
48
|
-
"@atlaskit/tokens": "^8.
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^15.12.0",
|
|
48
|
+
"@atlaskit/tokens": "^8.5.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@atlaskit/editor-common": "^110.
|
|
52
|
+
"@atlaskit/editor-common": "^110.44.0",
|
|
53
53
|
"react": "^18.2.0",
|
|
54
54
|
"react-dom": "^18.2.0",
|
|
55
55
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@atlaskit/adf-schema": "^51.
|
|
59
|
-
"@testing-library/react": "^
|
|
58
|
+
"@atlaskit/adf-schema": "^51.5.0",
|
|
59
|
+
"@testing-library/react": "^16.3.0",
|
|
60
60
|
"wait-for-expect": "^1.2.0"
|
|
61
61
|
},
|
|
62
62
|
"techstack": {
|