@atlaskit/editor-plugin-rule 19.0.0 → 20.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 +12 -0
- package/dist/cjs/rulePlugin.js +1 -1
- package/dist/cjs/ui/DividerOptions.js +2 -2
- package/dist/cjs/ui/toolbar.js +1 -1
- package/dist/es2019/entry-points/rule-plugin.js +1 -0
- package/dist/es2019/rulePlugin.js +1 -1
- package/dist/es2019/ui/DividerOptions.js +2 -2
- package/dist/es2019/ui/toolbar.js +1 -1
- package/dist/esm/entry-points/rule-plugin.js +1 -0
- package/dist/esm/rulePlugin.js +1 -1
- package/dist/esm/ui/DividerOptions.js +2 -2
- package/dist/esm/ui/toolbar.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/dist/cjs/rulePlugin.js
CHANGED
|
@@ -9,8 +9,8 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _rule = require("@atlaskit/adf-schema/rule");
|
|
11
11
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
12
|
-
var _messages = require("@atlaskit/editor-common/messages");
|
|
13
12
|
var _assets = require("@atlaskit/editor-common/assets");
|
|
13
|
+
var _messages = require("@atlaskit/editor-common/messages");
|
|
14
14
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
15
15
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
16
16
|
var _commands = require("./pm-plugins/commands");
|
|
@@ -18,11 +18,11 @@ var _strokeWeightMedium = _interopRequireDefault(require("@atlaskit/icon/core/st
|
|
|
18
18
|
var _strokeWeightSmall = _interopRequireDefault(require("@atlaskit/icon/core/stroke-weight-small"));
|
|
19
19
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
20
20
|
var _constants = require("./constants");
|
|
21
|
+
var _DashedStrokeIcon = require("./icons/DashedStrokeIcon");
|
|
22
|
+
var _DottedStrokeIcon = require("./icons/DottedStrokeIcon");
|
|
21
23
|
var _FadeStrokeIcon = require("./icons/FadeStrokeIcon");
|
|
22
24
|
var _SketchStrokeIcon = require("./icons/SketchStrokeIcon");
|
|
23
25
|
var _SolidStrokeIcon = require("./icons/SolidStrokeIcon");
|
|
24
|
-
var _DashedStrokeIcon = require("./icons/DashedStrokeIcon");
|
|
25
|
-
var _DottedStrokeIcon = require("./icons/DottedStrokeIcon");
|
|
26
26
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
27
27
|
var styles = {
|
|
28
28
|
container: "_18zrutpp _4t3i5jys",
|
package/dist/cjs/ui/toolbar.js
CHANGED
|
@@ -8,9 +8,9 @@ exports.getToolbarConfig = void 0;
|
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
11
|
-
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
12
11
|
var _messages = _interopRequireDefault(require("@atlaskit/editor-common/messages"));
|
|
13
12
|
var _rule = require("@atlaskit/editor-common/messages/rule");
|
|
13
|
+
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
14
14
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
15
15
|
var _copy = _interopRequireDefault(require("@atlaskit/icon/core/copy"));
|
|
16
16
|
var _customize = _interopRequireDefault(require("@atlaskit/icon/core/customize"));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { rule, ruleWithAttrs, ruleWithLocalId } from '@atlaskit/adf-schema/rule';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
|
-
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
4
|
import { IconDivider } from '@atlaskit/editor-common/assets';
|
|
5
|
+
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
8
|
import { insertHorizontalRule } from './pm-plugins/commands';
|
|
@@ -10,11 +10,11 @@ import StrokeWeightMediumIcon from '@atlaskit/icon/core/stroke-weight-medium';
|
|
|
10
10
|
import StrokeWeightSmallIcon from '@atlaskit/icon/core/stroke-weight-small';
|
|
11
11
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
12
12
|
import { DEFAULT_DIVIDER_STYLE, DEFAULT_DIVIDER_WEIGHT } from './constants';
|
|
13
|
+
import { DashedStrokeIcon } from './icons/DashedStrokeIcon';
|
|
14
|
+
import { DottedStrokeIcon } from './icons/DottedStrokeIcon';
|
|
13
15
|
import { FadeStrokeIcon } from './icons/FadeStrokeIcon';
|
|
14
16
|
import { SketchStrokeIcon } from './icons/SketchStrokeIcon';
|
|
15
17
|
import { SolidStrokeIcon } from './icons/SolidStrokeIcon';
|
|
16
|
-
import { DashedStrokeIcon } from './icons/DashedStrokeIcon';
|
|
17
|
-
import { DottedStrokeIcon } from './icons/DottedStrokeIcon';
|
|
18
18
|
const styles = {
|
|
19
19
|
container: "_18zrutpp _4t3i5jys",
|
|
20
20
|
section: "_1rjc1b66",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
3
|
-
import { findDomRefAtPos, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
4
3
|
import commonMessages from '@atlaskit/editor-common/messages';
|
|
5
4
|
import { ruleMessages } from '@atlaskit/editor-common/messages/rule';
|
|
5
|
+
import { findDomRefAtPos, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
6
6
|
import { akEditorSelectedNodeClassName } from '@atlaskit/editor-shared-styles';
|
|
7
7
|
import CopyIcon from '@atlaskit/icon/core/copy';
|
|
8
8
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
package/dist/esm/rulePlugin.js
CHANGED
|
@@ -4,8 +4,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { rule, ruleWithAttrs, ruleWithLocalId } from '@atlaskit/adf-schema/rule';
|
|
6
6
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
7
|
-
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
8
7
|
import { IconDivider } from '@atlaskit/editor-common/assets';
|
|
8
|
+
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
9
9
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
11
|
import { insertHorizontalRule } from './pm-plugins/commands';
|
|
@@ -10,11 +10,11 @@ import StrokeWeightMediumIcon from '@atlaskit/icon/core/stroke-weight-medium';
|
|
|
10
10
|
import StrokeWeightSmallIcon from '@atlaskit/icon/core/stroke-weight-small';
|
|
11
11
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
12
12
|
import { DEFAULT_DIVIDER_STYLE, DEFAULT_DIVIDER_WEIGHT } from './constants';
|
|
13
|
+
import { DashedStrokeIcon } from './icons/DashedStrokeIcon';
|
|
14
|
+
import { DottedStrokeIcon } from './icons/DottedStrokeIcon';
|
|
13
15
|
import { FadeStrokeIcon } from './icons/FadeStrokeIcon';
|
|
14
16
|
import { SketchStrokeIcon } from './icons/SketchStrokeIcon';
|
|
15
17
|
import { SolidStrokeIcon } from './icons/SolidStrokeIcon';
|
|
16
|
-
import { DashedStrokeIcon } from './icons/DashedStrokeIcon';
|
|
17
|
-
import { DottedStrokeIcon } from './icons/DottedStrokeIcon';
|
|
18
18
|
var styles = {
|
|
19
19
|
container: "_18zrutpp _4t3i5jys",
|
|
20
20
|
section: "_1rjc1b66",
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -3,9 +3,9 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
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; }
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
6
|
-
import { findDomRefAtPos, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
7
6
|
import commonMessages from '@atlaskit/editor-common/messages';
|
|
8
7
|
import { ruleMessages } from '@atlaskit/editor-common/messages/rule';
|
|
8
|
+
import { findDomRefAtPos, findSelectedNodeOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
9
9
|
import { akEditorSelectedNodeClassName } from '@atlaskit/editor-shared-styles';
|
|
10
10
|
import CopyIcon from '@atlaskit/icon/core/copy';
|
|
11
11
|
import CustomizeIcon from '@atlaskit/icon/core/customize';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-rule",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.0",
|
|
4
4
|
"description": "Rule plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"atlaskit:src": "src/index.ts",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@atlaskit/adf-schema": "^57.
|
|
23
|
-
"@atlaskit/button": "^25.
|
|
22
|
+
"@atlaskit/adf-schema": "^57.6.0",
|
|
23
|
+
"@atlaskit/button": "^25.4.0",
|
|
24
24
|
"@atlaskit/css": "^1.1.0",
|
|
25
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
26
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^
|
|
27
|
-
"@atlaskit/editor-plugin-ui-control-registry": "^
|
|
25
|
+
"@atlaskit/editor-plugin-analytics": "^20.0.0",
|
|
26
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^22.0.0",
|
|
27
|
+
"@atlaskit/editor-plugin-ui-control-registry": "^14.0.0",
|
|
28
28
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
29
29
|
"@atlaskit/editor-shared-styles": "^4.3.0",
|
|
30
30
|
"@atlaskit/icon": "^37.7.0",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
33
33
|
"@atlaskit/primitives": "^22.5.0",
|
|
34
34
|
"@atlaskit/prosemirror-input-rules": "^4.1.0",
|
|
35
|
-
"@atlaskit/tokens": "^
|
|
35
|
+
"@atlaskit/tokens": "^19.0.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0",
|
|
37
37
|
"@compiled/react": "^1.0.2",
|
|
38
38
|
"react-intl": "^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@atlaskit/editor-common": "^
|
|
41
|
+
"@atlaskit/editor-common": "^124.0.0",
|
|
42
42
|
"react": "^18.2.0 || ^19.2.0",
|
|
43
43
|
"react-dom": "^18.2.0 || ^19.2.0"
|
|
44
44
|
},
|