@atlaskit/editor-plugin-block-type 3.8.5 → 3.9.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 +12 -0
- package/dist/cjs/plugin/ui/ToolbarBlockType/blocktype-button.js +4 -1
- package/dist/cjs/plugin/ui/ToolbarBlockType/index.js +4 -1
- package/dist/cjs/plugin/ui/ToolbarBlockType/styled.js +4 -1
- package/dist/es2019/plugin/ui/ToolbarBlockType/blocktype-button.js +4 -1
- package/dist/es2019/plugin/ui/ToolbarBlockType/index.js +4 -1
- package/dist/es2019/plugin/ui/ToolbarBlockType/styled.js +4 -1
- package/dist/esm/plugin/ui/ToolbarBlockType/blocktype-button.js +4 -1
- package/dist/esm/plugin/ui/ToolbarBlockType/index.js +4 -1
- package/dist/esm/plugin/ui/ToolbarBlockType/styled.js +4 -1
- package/dist/types/plugin/ui/ToolbarBlockType/blocktype-button.d.ts +4 -1
- package/dist/types/plugin/ui/ToolbarBlockType/index.d.ts +4 -1
- package/dist/types-ts4.5/plugin/ui/ToolbarBlockType/blocktype-button.d.ts +4 -1
- package/dist/types-ts4.5/plugin/ui/ToolbarBlockType/index.d.ts +4 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
2
2
|
|
3
|
+
## 3.9.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- [#122895](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/122895)
|
8
|
+
[`49b8c7658f3b5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/49b8c7658f3b5) -
|
9
|
+
[ED-24173] bump @atlaskit/adf-schema to 40.3.0 and @atlassian/adf-schema-json to 1.18.0
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- Updated dependencies
|
14
|
+
|
3
15
|
## 3.8.5
|
4
16
|
|
5
17
|
### Patch Changes
|
@@ -15,7 +15,10 @@ var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-
|
|
15
15
|
var _textStyle = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/text-style"));
|
16
16
|
var _blockTypes = require("../../block-types");
|
17
17
|
var _styled = require("./styled");
|
18
|
-
/**
|
18
|
+
/**
|
19
|
+
* @jsxRuntime classic
|
20
|
+
* @jsx jsx
|
21
|
+
*/
|
19
22
|
|
20
23
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
21
24
|
|
@@ -24,7 +24,10 @@ var _styled = require("./styled");
|
|
24
24
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
25
25
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
26
26
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
27
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /**
|
27
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /**
|
28
|
+
* @jsxRuntime classic
|
29
|
+
* @jsx jsx
|
30
|
+
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
28
31
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
29
32
|
var ToolbarBlockType = /*#__PURE__*/function (_React$PureComponent) {
|
30
33
|
(0, _inherits2.default)(ToolbarBlockType, _React$PureComponent);
|
@@ -8,7 +8,10 @@ var _react = require("@emotion/react");
|
|
8
8
|
var _styles = require("@atlaskit/editor-common/styles");
|
9
9
|
var _shortcut = require("@atlaskit/editor-shared-styles/shortcut");
|
10
10
|
var _colors = require("@atlaskit/theme/colors");
|
11
|
-
/**
|
11
|
+
/**
|
12
|
+
* @jsxRuntime classic
|
13
|
+
* @jsx jsx
|
14
|
+
*/
|
12
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
13
16
|
|
14
17
|
var blockTypeMenuItemStyle = exports.blockTypeMenuItemStyle = function blockTypeMenuItemStyle(tagName, selected) {
|
@@ -1,5 +1,8 @@
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
2
|
-
/**
|
2
|
+
/**
|
3
|
+
* @jsxRuntime classic
|
4
|
+
* @jsx jsx
|
5
|
+
*/
|
3
6
|
import React from 'react';
|
4
7
|
|
5
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
@@ -1,4 +1,7 @@
|
|
1
|
-
/**
|
1
|
+
/**
|
2
|
+
* @jsxRuntime classic
|
3
|
+
* @jsx jsx
|
4
|
+
*/
|
2
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
3
6
|
import { css } from '@emotion/react';
|
4
7
|
import { headingsSharedStyles } from '@atlaskit/editor-common/styles';
|
@@ -9,7 +9,10 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
9
9
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
10
10
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
11
11
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
12
|
-
/**
|
12
|
+
/**
|
13
|
+
* @jsxRuntime classic
|
14
|
+
* @jsx jsx
|
15
|
+
*/
|
13
16
|
import React from 'react';
|
14
17
|
|
15
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
@@ -1,4 +1,7 @@
|
|
1
|
-
/**
|
1
|
+
/**
|
2
|
+
* @jsxRuntime classic
|
3
|
+
* @jsx jsx
|
4
|
+
*/
|
2
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
3
6
|
import { css } from '@emotion/react';
|
4
7
|
import { headingsSharedStyles } from '@atlaskit/editor-common/styles';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.9.0",
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
5
5
|
"author": "Atlassian Pty Ltd",
|
6
6
|
"license": "Apache-2.0",
|
@@ -35,18 +35,18 @@
|
|
35
35
|
"./styles": "./src/styles.ts"
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
|
-
"@atlaskit/adf-schema": "^
|
39
|
-
"@atlaskit/editor-common": "^86.
|
40
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
38
|
+
"@atlaskit/adf-schema": "^40.3.0",
|
39
|
+
"@atlaskit/editor-common": "^86.7.0",
|
40
|
+
"@atlaskit/editor-plugin-analytics": "^1.5.0",
|
41
41
|
"@atlaskit/editor-plugin-primary-toolbar": "^1.2.0",
|
42
42
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
43
43
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
44
44
|
"@atlaskit/editor-tables": "^2.7.0",
|
45
|
-
"@atlaskit/icon": "^22.
|
45
|
+
"@atlaskit/icon": "^22.7.0",
|
46
46
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
47
47
|
"@atlaskit/prosemirror-input-rules": "^3.1.0",
|
48
48
|
"@atlaskit/theme": "^12.11.0",
|
49
|
-
"@atlaskit/tokens": "^1.
|
49
|
+
"@atlaskit/tokens": "^1.56.0",
|
50
50
|
"@babel/runtime": "^7.0.0",
|
51
51
|
"@emotion/react": "^11.7.1"
|
52
52
|
},
|
@@ -59,7 +59,7 @@
|
|
59
59
|
"@atlaskit/analytics-next": "^9.3.0",
|
60
60
|
"@atlaskit/editor-plugin-feature-flags": "^1.1.0",
|
61
61
|
"@atlaskit/editor-plugin-quick-insert": "^1.1.0",
|
62
|
-
"@atlaskit/editor-plugin-type-ahead": "^1.
|
62
|
+
"@atlaskit/editor-plugin-type-ahead": "^1.5.0",
|
63
63
|
"@atlaskit/ssr": "*",
|
64
64
|
"@atlaskit/visual-regression": "*",
|
65
65
|
"@testing-library/react": "^12.1.5",
|