@atlaskit/editor-plugin-insert-block 4.3.9 → 5.0.0
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-insert-block
|
|
2
2
|
|
|
3
|
+
## 5.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3b5b4a919aaaf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3b5b4a919aaaf) -
|
|
8
|
+
Internal changes to how border radius is applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 4.3.9
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -74,7 +74,7 @@ var tableButtonWrapper = exports.tableButtonWrapper = function tableButtonWrappe
|
|
|
74
74
|
var isTableSelectorOpen = _ref.isTableSelectorOpen,
|
|
75
75
|
isButtonDisabled = _ref.isButtonDisabled;
|
|
76
76
|
return (// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation due to mixins
|
|
77
|
-
(0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t\tdisplay: flex;\n\t\t", "\n\t\t", "\n\n .table-toolbar-btn {\n\t\t\tborder-top-right-radius: ", ";\n\t\t\tborder-bottom-right-radius: ", ";\n\t\t\tmargin-right: ", ";\n\t\t\tpadding: ", ";\n\t\t\t& > span {\n\t\t\t\tmin-width: 16px;\n\t\t\t\tmargin: ", ";\n\t\t\t}\n\t\t}\n\t\t.table-selector-toolbar-btn {\n\t\t\tpadding: ", ";\n\t\t\t& > span {\n\t\t\t\tmargin: ", ";\n\t\t\t\twidth: 16px !important;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: center;\n\t\t\t}\n\n\t\t\tborder-top-left-radius: ", " !important;\n\t\t\tborder-bottom-left-radius: ", " !important;\n\t\t}\n\t"])), !isTableSelectorOpen && !isButtonDisabled && getHoverStyles('.table-selector-toolbar-btn'), !isTableSelectorOpen && !isButtonDisabled && getHoverStyles('.table-toolbar-btn'), "var(--ds-
|
|
77
|
+
(0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t\tdisplay: flex;\n\t\t", "\n\t\t", "\n\n .table-toolbar-btn {\n\t\t\tborder-top-right-radius: ", ";\n\t\t\tborder-bottom-right-radius: ", ";\n\t\t\tmargin-right: ", ";\n\t\t\tpadding: ", ";\n\t\t\t& > span {\n\t\t\t\tmin-width: 16px;\n\t\t\t\tmargin: ", ";\n\t\t\t}\n\t\t}\n\t\t.table-selector-toolbar-btn {\n\t\t\tpadding: ", ";\n\t\t\t& > span {\n\t\t\t\tmargin: ", ";\n\t\t\t\twidth: 16px !important;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: center;\n\t\t\t}\n\n\t\t\tborder-top-left-radius: ", " !important;\n\t\t\tborder-bottom-left-radius: ", " !important;\n\t\t}\n\t"])), !isTableSelectorOpen && !isButtonDisabled && getHoverStyles('.table-selector-toolbar-btn'), !isTableSelectorOpen && !isButtonDisabled && getHoverStyles('.table-toolbar-btn'), "var(--ds-radius-large, 0px)", "var(--ds-radius-large, 0px)", "var(--ds-space-025, 1px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", "var(--ds-radius-large, 0px)", "var(--ds-radius-large, 0px)")
|
|
78
78
|
);
|
|
79
79
|
};
|
|
80
80
|
|
|
@@ -62,8 +62,8 @@ css`
|
|
|
62
62
|
${!isTableSelectorOpen && !isButtonDisabled && getHoverStyles('.table-toolbar-btn')}
|
|
63
63
|
|
|
64
64
|
.table-toolbar-btn {
|
|
65
|
-
border-top-right-radius: ${"var(--ds-
|
|
66
|
-
border-bottom-right-radius: ${"var(--ds-
|
|
65
|
+
border-top-right-radius: ${"var(--ds-radius-large, 0px)"};
|
|
66
|
+
border-bottom-right-radius: ${"var(--ds-radius-large, 0px)"};
|
|
67
67
|
margin-right: ${"var(--ds-space-025, 1px)"};
|
|
68
68
|
padding: ${"var(--ds-space-0, 0px)"};
|
|
69
69
|
& > span {
|
|
@@ -80,8 +80,8 @@ css`
|
|
|
80
80
|
justify-content: center;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
border-top-left-radius: ${"var(--ds-
|
|
84
|
-
border-bottom-left-radius: ${"var(--ds-
|
|
83
|
+
border-top-left-radius: ${"var(--ds-radius-large, 0px)"} !important;
|
|
84
|
+
border-bottom-left-radius: ${"var(--ds-radius-large, 0px)"} !important;
|
|
85
85
|
}
|
|
86
86
|
`;
|
|
87
87
|
|
|
@@ -68,7 +68,7 @@ export var tableButtonWrapper = function tableButtonWrapper(_ref) {
|
|
|
68
68
|
var isTableSelectorOpen = _ref.isTableSelectorOpen,
|
|
69
69
|
isButtonDisabled = _ref.isButtonDisabled;
|
|
70
70
|
return (// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation due to mixins
|
|
71
|
-
css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\tdisplay: flex;\n\t\t", "\n\t\t", "\n\n .table-toolbar-btn {\n\t\t\tborder-top-right-radius: ", ";\n\t\t\tborder-bottom-right-radius: ", ";\n\t\t\tmargin-right: ", ";\n\t\t\tpadding: ", ";\n\t\t\t& > span {\n\t\t\t\tmin-width: 16px;\n\t\t\t\tmargin: ", ";\n\t\t\t}\n\t\t}\n\t\t.table-selector-toolbar-btn {\n\t\t\tpadding: ", ";\n\t\t\t& > span {\n\t\t\t\tmargin: ", ";\n\t\t\t\twidth: 16px !important;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: center;\n\t\t\t}\n\n\t\t\tborder-top-left-radius: ", " !important;\n\t\t\tborder-bottom-left-radius: ", " !important;\n\t\t}\n\t"])), !isTableSelectorOpen && !isButtonDisabled && getHoverStyles('.table-selector-toolbar-btn'), !isTableSelectorOpen && !isButtonDisabled && getHoverStyles('.table-toolbar-btn'), "var(--ds-
|
|
71
|
+
css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\tdisplay: flex;\n\t\t", "\n\t\t", "\n\n .table-toolbar-btn {\n\t\t\tborder-top-right-radius: ", ";\n\t\t\tborder-bottom-right-radius: ", ";\n\t\t\tmargin-right: ", ";\n\t\t\tpadding: ", ";\n\t\t\t& > span {\n\t\t\t\tmin-width: 16px;\n\t\t\t\tmargin: ", ";\n\t\t\t}\n\t\t}\n\t\t.table-selector-toolbar-btn {\n\t\t\tpadding: ", ";\n\t\t\t& > span {\n\t\t\t\tmargin: ", ";\n\t\t\t\twidth: 16px !important;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: center;\n\t\t\t}\n\n\t\t\tborder-top-left-radius: ", " !important;\n\t\t\tborder-bottom-left-radius: ", " !important;\n\t\t}\n\t"])), !isTableSelectorOpen && !isButtonDisabled && getHoverStyles('.table-selector-toolbar-btn'), !isTableSelectorOpen && !isButtonDisabled && getHoverStyles('.table-toolbar-btn'), "var(--ds-radius-large, 0px)", "var(--ds-radius-large, 0px)", "var(--ds-space-025, 1px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", "var(--ds-radius-large, 0px)", "var(--ds-radius-large, 0px)")
|
|
72
72
|
);
|
|
73
73
|
};
|
|
74
74
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-insert-block",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Insert block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,32 +30,32 @@
|
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/button": "^23.4.0",
|
|
33
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
34
|
-
"@atlaskit/editor-plugin-block-type": "^
|
|
35
|
-
"@atlaskit/editor-plugin-code-block": "^
|
|
36
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
37
|
-
"@atlaskit/editor-plugin-date": "^
|
|
38
|
-
"@atlaskit/editor-plugin-emoji": "^
|
|
39
|
-
"@atlaskit/editor-plugin-expand": "^
|
|
40
|
-
"@atlaskit/editor-plugin-extension": "^
|
|
41
|
-
"@atlaskit/editor-plugin-feature-flags": "^
|
|
42
|
-
"@atlaskit/editor-plugin-hyperlink": "^
|
|
43
|
-
"@atlaskit/editor-plugin-image-upload": "^
|
|
44
|
-
"@atlaskit/editor-plugin-layout": "^
|
|
45
|
-
"@atlaskit/editor-plugin-media": "^
|
|
46
|
-
"@atlaskit/editor-plugin-media-insert": "^
|
|
47
|
-
"@atlaskit/editor-plugin-mentions": "^
|
|
48
|
-
"@atlaskit/editor-plugin-metrics": "^
|
|
49
|
-
"@atlaskit/editor-plugin-panel": "^
|
|
50
|
-
"@atlaskit/editor-plugin-placeholder-text": "^
|
|
51
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^
|
|
52
|
-
"@atlaskit/editor-plugin-quick-insert": "^
|
|
53
|
-
"@atlaskit/editor-plugin-rule": "^
|
|
54
|
-
"@atlaskit/editor-plugin-status": "^
|
|
55
|
-
"@atlaskit/editor-plugin-table": "^
|
|
56
|
-
"@atlaskit/editor-plugin-tasks-and-decisions": "^
|
|
57
|
-
"@atlaskit/editor-plugin-toolbar": "^0.
|
|
58
|
-
"@atlaskit/editor-plugin-type-ahead": "^
|
|
33
|
+
"@atlaskit/editor-plugin-analytics": "^4.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-block-type": "^7.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-code-block": "^6.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-connectivity": "^4.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-date": "^6.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-emoji": "^5.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-expand": "^5.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-extension": "^7.0.0",
|
|
41
|
+
"@atlaskit/editor-plugin-feature-flags": "^3.0.0",
|
|
42
|
+
"@atlaskit/editor-plugin-hyperlink": "^6.0.0",
|
|
43
|
+
"@atlaskit/editor-plugin-image-upload": "^4.0.0",
|
|
44
|
+
"@atlaskit/editor-plugin-layout": "^4.0.0",
|
|
45
|
+
"@atlaskit/editor-plugin-media": "^6.0.0",
|
|
46
|
+
"@atlaskit/editor-plugin-media-insert": "^10.0.0",
|
|
47
|
+
"@atlaskit/editor-plugin-mentions": "^6.0.0",
|
|
48
|
+
"@atlaskit/editor-plugin-metrics": "^5.0.0",
|
|
49
|
+
"@atlaskit/editor-plugin-panel": "^6.0.0",
|
|
50
|
+
"@atlaskit/editor-plugin-placeholder-text": "^4.0.0",
|
|
51
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^5.0.0",
|
|
52
|
+
"@atlaskit/editor-plugin-quick-insert": "^4.0.0",
|
|
53
|
+
"@atlaskit/editor-plugin-rule": "^4.0.0",
|
|
54
|
+
"@atlaskit/editor-plugin-status": "^5.0.0",
|
|
55
|
+
"@atlaskit/editor-plugin-table": "^13.0.0",
|
|
56
|
+
"@atlaskit/editor-plugin-tasks-and-decisions": "^7.0.0",
|
|
57
|
+
"@atlaskit/editor-plugin-toolbar": "^1.0.0",
|
|
58
|
+
"@atlaskit/editor-plugin-type-ahead": "^4.0.0",
|
|
59
59
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
60
60
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
61
61
|
"@atlaskit/editor-toolbar": "^0.6.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
68
68
|
"@atlaskit/primitives": "^14.12.0",
|
|
69
69
|
"@atlaskit/theme": "^20.0.0",
|
|
70
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
70
|
+
"@atlaskit/tmp-editor-statsig": "^12.0.0",
|
|
71
71
|
"@atlaskit/tokens": "^6.1.0",
|
|
72
72
|
"@atlaskit/tooltip": "^20.4.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"react-virtualized": "^9.8.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"@atlaskit/editor-common": "^
|
|
81
|
+
"@atlaskit/editor-common": "^108.0.0",
|
|
82
82
|
"react": "^18.2.0",
|
|
83
83
|
"react-dom": "^18.2.0",
|
|
84
84
|
"react-intl-next": "npm:react-intl@^5.18.1"
|