@atlaskit/editor-plugin-block-type 12.1.9 → 12.1.11
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/pm-plugins/ui/ToolbarBlockType/blocktype-button.js +1 -1
- package/dist/cjs/pm-plugins/ui/ToolbarBlockType/index.js +2 -2
- package/dist/es2019/pm-plugins/ui/ToolbarBlockType/blocktype-button.js +1 -1
- package/dist/es2019/pm-plugins/ui/ToolbarBlockType/index.js +2 -2
- package/dist/esm/pm-plugins/ui/ToolbarBlockType/blocktype-button.js +1 -1
- package/dist/esm/pm-plugins/ui/ToolbarBlockType/index.js +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -75,7 +75,7 @@ var BlockTypeButton = exports.BlockTypeButton = function BlockTypeButton(props)
|
|
|
75
75
|
size: "small"
|
|
76
76
|
}))))
|
|
77
77
|
}, !shouldUseIconAsButton && (0, _react2.jsx)(_primitives.Box
|
|
78
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
78
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
79
79
|
, {
|
|
80
80
|
xcss: [buttonContentStyle, props.isReducedSpacing && buttonContentReducedSpacingStyle]
|
|
81
81
|
}, (0, _react2.jsx)(_reactIntlNext.FormattedMessage
|
|
@@ -254,14 +254,14 @@ var ToolbarBlockType = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
254
254
|
zIndex: _editorSharedStyles.akEditorMenuZIndex,
|
|
255
255
|
fitHeight: 360,
|
|
256
256
|
fitWidth: 106
|
|
257
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
257
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
258
258
|
,
|
|
259
259
|
section: {
|
|
260
260
|
hasSeparator: true
|
|
261
261
|
},
|
|
262
262
|
shouldUseDefaultRole: shouldUseDefaultRole
|
|
263
263
|
// hasSeparator={true}
|
|
264
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
264
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
265
265
|
,
|
|
266
266
|
shouldFocusFirstItem: function shouldFocusFirstItem() {
|
|
267
267
|
if (isOpenedByKeyboard) {
|
|
@@ -66,7 +66,7 @@ export const BlockTypeButton = props => {
|
|
|
66
66
|
size: "small"
|
|
67
67
|
}))))
|
|
68
68
|
}, !shouldUseIconAsButton && jsx(Box
|
|
69
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
69
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
70
70
|
, {
|
|
71
71
|
xcss: [buttonContentStyle, props.isReducedSpacing && buttonContentReducedSpacingStyle]
|
|
72
72
|
}, jsx(FormattedMessage
|
|
@@ -224,14 +224,14 @@ class ToolbarBlockType extends React.PureComponent {
|
|
|
224
224
|
zIndex: akEditorMenuZIndex,
|
|
225
225
|
fitHeight: 360,
|
|
226
226
|
fitWidth: 106
|
|
227
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
227
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
228
228
|
,
|
|
229
229
|
section: {
|
|
230
230
|
hasSeparator: true
|
|
231
231
|
},
|
|
232
232
|
shouldUseDefaultRole: shouldUseDefaultRole
|
|
233
233
|
// hasSeparator={true}
|
|
234
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
234
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
235
235
|
,
|
|
236
236
|
shouldFocusFirstItem: () => {
|
|
237
237
|
if (isOpenedByKeyboard) {
|
|
@@ -66,7 +66,7 @@ export var BlockTypeButton = function BlockTypeButton(props) {
|
|
|
66
66
|
size: "small"
|
|
67
67
|
}))))
|
|
68
68
|
}, !shouldUseIconAsButton && jsx(Box
|
|
69
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
69
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
70
70
|
, {
|
|
71
71
|
xcss: [buttonContentStyle, props.isReducedSpacing && buttonContentReducedSpacingStyle]
|
|
72
72
|
}, jsx(FormattedMessage
|
|
@@ -250,14 +250,14 @@ var ToolbarBlockType = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
250
250
|
zIndex: akEditorMenuZIndex,
|
|
251
251
|
fitHeight: 360,
|
|
252
252
|
fitWidth: 106
|
|
253
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
253
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
254
254
|
,
|
|
255
255
|
section: {
|
|
256
256
|
hasSeparator: true
|
|
257
257
|
},
|
|
258
258
|
shouldUseDefaultRole: shouldUseDefaultRole
|
|
259
259
|
// hasSeparator={true}
|
|
260
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
260
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
261
261
|
,
|
|
262
262
|
shouldFocusFirstItem: function shouldFocusFirstItem() {
|
|
263
263
|
if (isOpenedByKeyboard) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.11",
|
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,20 +44,20 @@
|
|
|
44
44
|
"@atlaskit/editor-toolbar": "^0.20.0",
|
|
45
45
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
46
46
|
"@atlaskit/icon": "^33.0.0",
|
|
47
|
-
"@atlaskit/icon-lab": "^6.
|
|
47
|
+
"@atlaskit/icon-lab": "^6.1.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
|
-
"@atlaskit/primitives": "^18.
|
|
49
|
+
"@atlaskit/primitives": "^18.1.0",
|
|
50
50
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
51
51
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
52
52
|
"@atlaskit/theme": "^22.0.0",
|
|
53
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
54
|
-
"@atlaskit/tokens": "^11.
|
|
53
|
+
"@atlaskit/tmp-editor-statsig": "^46.0.0",
|
|
54
|
+
"@atlaskit/tokens": "^11.2.0",
|
|
55
55
|
"@babel/runtime": "^7.0.0",
|
|
56
56
|
"@compiled/react": "^0.20.0",
|
|
57
57
|
"@emotion/react": "^11.7.1"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@atlaskit/editor-common": "^112.
|
|
60
|
+
"@atlaskit/editor-common": "^112.9.0",
|
|
61
61
|
"react": "^18.2.0",
|
|
62
62
|
"react-dom": "^18.2.0",
|
|
63
63
|
"react-intl-next": "npm:react-intl@^5.18.1"
|