@atlaskit/editor-plugin-insert-block 0.3.5 → 0.3.6
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,11 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-insert-block
|
|
2
2
|
|
|
3
|
+
## 0.3.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#72081](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72081) [`4487160917d2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4487160917d2) - [ux] ED-22052: adds button type attribute to non atlaskit button instances
|
|
8
|
+
|
|
3
9
|
## 0.3.5
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -62,6 +62,7 @@ var TableSelectorButton = function TableSelectorButton(_ref) {
|
|
|
62
62
|
return handleInitialButtonFocus();
|
|
63
63
|
} : undefined;
|
|
64
64
|
return (0, _react2.jsx)("button", {
|
|
65
|
+
type: "button",
|
|
65
66
|
css: [buttonStyles, isActive ? selectedButtonStyles : undefined],
|
|
66
67
|
onClick: function onClick() {
|
|
67
68
|
return _onClick(row, col);
|
|
@@ -54,6 +54,7 @@ const TableSelectorButton = ({
|
|
|
54
54
|
}, [isFocused, btnRef]);
|
|
55
55
|
const handleFocus = col === 1 && row === 1 ? () => handleInitialButtonFocus() : undefined;
|
|
56
56
|
return jsx("button", {
|
|
57
|
+
type: "button",
|
|
57
58
|
css: [buttonStyles, isActive ? selectedButtonStyles : undefined],
|
|
58
59
|
onClick: () => onClick(row, col),
|
|
59
60
|
"aria-label": label,
|
|
@@ -55,6 +55,7 @@ var TableSelectorButton = function TableSelectorButton(_ref) {
|
|
|
55
55
|
return handleInitialButtonFocus();
|
|
56
56
|
} : undefined;
|
|
57
57
|
return jsx("button", {
|
|
58
|
+
type: "button",
|
|
58
59
|
css: [buttonStyles, isActive ? selectedButtonStyles : undefined],
|
|
59
60
|
onClick: function onClick() {
|
|
60
61
|
return _onClick(row, col);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-insert-block",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"description": "Insert block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/editor-common": "^77.
|
|
36
|
+
"@atlaskit/editor-common": "^77.4.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^0.4.0",
|
|
38
38
|
"@atlaskit/editor-plugin-block-type": "^3.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-code-block": "^0.1.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/editor-plugin-quick-insert": "^0.2.0",
|
|
53
53
|
"@atlaskit/editor-plugin-rule": "^0.1.0",
|
|
54
54
|
"@atlaskit/editor-plugin-status": "^0.3.0",
|
|
55
|
-
"@atlaskit/editor-plugin-table": "^7.
|
|
55
|
+
"@atlaskit/editor-plugin-table": "^7.3.0",
|
|
56
56
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^0.3.0",
|
|
57
57
|
"@atlaskit/editor-plugin-type-ahead": "^0.9.0",
|
|
58
58
|
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@atlaskit/icon": "^22.0.0",
|
|
62
62
|
"@atlaskit/primitives": "^2.0.0",
|
|
63
63
|
"@atlaskit/theme": "^12.6.0",
|
|
64
|
-
"@atlaskit/tokens": "^1.
|
|
64
|
+
"@atlaskit/tokens": "^1.36.0",
|
|
65
65
|
"@babel/runtime": "^7.0.0",
|
|
66
66
|
"@emotion/react": "^11.7.1",
|
|
67
67
|
"bind-event-listener": "^2.1.1",
|