@atlaskit/editor-plugin-insert-block 1.1.0 → 1.1.2
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 +12 -0
- package/dist/cjs/ui/ToolbarInsertBlock/item.js +1 -1
- package/dist/cjs/ui/ToolbarInsertBlock/table-selector-popup.js +5 -2
- package/dist/es2019/ui/ToolbarInsertBlock/item.js +1 -1
- package/dist/es2019/ui/ToolbarInsertBlock/table-selector-popup.js +5 -2
- package/dist/esm/ui/ToolbarInsertBlock/item.js +1 -1
- package/dist/esm/ui/ToolbarInsertBlock/table-selector-popup.js +5 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-insert-block
|
|
2
2
|
|
|
3
|
+
## 1.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#77599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77599) [`a7b1a6b762eb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a7b1a6b762eb) - [ux] Table picker popup displays text using column x rows pattern and table picker button uses label column by row.
|
|
8
|
+
|
|
9
|
+
## 1.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 1.1.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -127,7 +127,10 @@ var TableSelectorPopup = function TableSelectorPopup(_ref3) {
|
|
|
127
127
|
col: col,
|
|
128
128
|
row: row,
|
|
129
129
|
onClick: onSelection,
|
|
130
|
-
label: "".concat(formatMessage(_messages.toolbarInsertBlockMessages.tableSizeSelectorButton
|
|
130
|
+
label: "".concat(formatMessage(_messages.toolbarInsertBlockMessages.tableSizeSelectorButton, {
|
|
131
|
+
numberOfColumns: col,
|
|
132
|
+
numberOfRows: row
|
|
133
|
+
})),
|
|
131
134
|
onKeyDown: onKeyDown,
|
|
132
135
|
isFocused: isCurrentFocused,
|
|
133
136
|
handleInitialButtonFocus: handleInitialButtonFocus
|
|
@@ -135,6 +138,6 @@ var TableSelectorPopup = function TableSelectorPopup(_ref3) {
|
|
|
135
138
|
})), (0, _react2.jsx)("span", {
|
|
136
139
|
css: selectionSizeTextStyles,
|
|
137
140
|
"aria-hidden": true
|
|
138
|
-
}, "".concat(
|
|
141
|
+
}, "".concat(selectedCol, " x ").concat(selectedRow)));
|
|
139
142
|
};
|
|
140
143
|
var _default = exports.default = (0, _reactIntlNext.injectIntl)(TableSelectorPopup);
|
|
@@ -120,7 +120,10 @@ const TableSelectorPopup = ({
|
|
|
120
120
|
col: col,
|
|
121
121
|
row: row,
|
|
122
122
|
onClick: onSelection,
|
|
123
|
-
label: `${formatMessage(messages.tableSizeSelectorButton
|
|
123
|
+
label: `${formatMessage(messages.tableSizeSelectorButton, {
|
|
124
|
+
numberOfColumns: col,
|
|
125
|
+
numberOfRows: row
|
|
126
|
+
})}`,
|
|
124
127
|
onKeyDown: onKeyDown,
|
|
125
128
|
isFocused: isCurrentFocused,
|
|
126
129
|
handleInitialButtonFocus: handleInitialButtonFocus
|
|
@@ -128,6 +131,6 @@ const TableSelectorPopup = ({
|
|
|
128
131
|
})), jsx("span", {
|
|
129
132
|
css: selectionSizeTextStyles,
|
|
130
133
|
"aria-hidden": true
|
|
131
|
-
}, `${
|
|
134
|
+
}, `${selectedCol} x ${selectedRow}`));
|
|
132
135
|
};
|
|
133
136
|
export default injectIntl(TableSelectorPopup);
|
|
@@ -120,7 +120,10 @@ var TableSelectorPopup = function TableSelectorPopup(_ref3) {
|
|
|
120
120
|
col: col,
|
|
121
121
|
row: row,
|
|
122
122
|
onClick: onSelection,
|
|
123
|
-
label: "".concat(formatMessage(messages.tableSizeSelectorButton
|
|
123
|
+
label: "".concat(formatMessage(messages.tableSizeSelectorButton, {
|
|
124
|
+
numberOfColumns: col,
|
|
125
|
+
numberOfRows: row
|
|
126
|
+
})),
|
|
124
127
|
onKeyDown: onKeyDown,
|
|
125
128
|
isFocused: isCurrentFocused,
|
|
126
129
|
handleInitialButtonFocus: handleInitialButtonFocus
|
|
@@ -128,6 +131,6 @@ var TableSelectorPopup = function TableSelectorPopup(_ref3) {
|
|
|
128
131
|
})), jsx("span", {
|
|
129
132
|
css: selectionSizeTextStyles,
|
|
130
133
|
"aria-hidden": true
|
|
131
|
-
}, "".concat(
|
|
134
|
+
}, "".concat(selectedCol, " x ").concat(selectedRow)));
|
|
132
135
|
};
|
|
133
136
|
export default injectIntl(TableSelectorPopup);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-insert-block",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Insert block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,34 +33,34 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/editor-common": "^78.
|
|
36
|
+
"@atlaskit/editor-common": "^78.8.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-block-type": "^3.0.0",
|
|
39
|
-
"@atlaskit/editor-plugin-code-block": "^1.
|
|
39
|
+
"@atlaskit/editor-plugin-code-block": "^1.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-date": "^1.0.0",
|
|
41
41
|
"@atlaskit/editor-plugin-emoji": "^1.1.0",
|
|
42
|
-
"@atlaskit/editor-plugin-expand": "^1.
|
|
42
|
+
"@atlaskit/editor-plugin-expand": "^1.2.0",
|
|
43
43
|
"@atlaskit/editor-plugin-extension": "^1.0.0",
|
|
44
44
|
"@atlaskit/editor-plugin-hyperlink": "^1.0.0",
|
|
45
45
|
"@atlaskit/editor-plugin-image-upload": "^1.0.0",
|
|
46
46
|
"@atlaskit/editor-plugin-layout": "^1.0.0",
|
|
47
|
-
"@atlaskit/editor-plugin-media": "^1.
|
|
47
|
+
"@atlaskit/editor-plugin-media": "^1.4.0",
|
|
48
48
|
"@atlaskit/editor-plugin-mentions": "^1.0.0",
|
|
49
49
|
"@atlaskit/editor-plugin-panel": "^1.0.0",
|
|
50
50
|
"@atlaskit/editor-plugin-placeholder-text": "^1.0.0",
|
|
51
51
|
"@atlaskit/editor-plugin-quick-insert": "^1.0.0",
|
|
52
52
|
"@atlaskit/editor-plugin-rule": "^1.1.0",
|
|
53
53
|
"@atlaskit/editor-plugin-status": "^1.0.0",
|
|
54
|
-
"@atlaskit/editor-plugin-table": "^7.
|
|
54
|
+
"@atlaskit/editor-plugin-table": "^7.4.0",
|
|
55
55
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^1.0.0",
|
|
56
56
|
"@atlaskit/editor-plugin-type-ahead": "^1.0.0",
|
|
57
57
|
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
58
58
|
"@atlaskit/editor-shared-styles": "^2.9.0",
|
|
59
59
|
"@atlaskit/emoji": "^67.6.0",
|
|
60
|
-
"@atlaskit/icon": "^22.
|
|
61
|
-
"@atlaskit/primitives": "^
|
|
60
|
+
"@atlaskit/icon": "^22.1.0",
|
|
61
|
+
"@atlaskit/primitives": "^3.1.0",
|
|
62
62
|
"@atlaskit/theme": "^12.6.0",
|
|
63
|
-
"@atlaskit/tokens": "^1.
|
|
63
|
+
"@atlaskit/tokens": "^1.38.0",
|
|
64
64
|
"@babel/runtime": "^7.0.0",
|
|
65
65
|
"@emotion/react": "^11.7.1",
|
|
66
66
|
"bind-event-listener": "^2.1.1",
|