@atlaskit/editor-plugin-text-formatting 2.1.5 → 2.1.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,15 @@
1
1
  # @atlaskit/editor-plugin-text-formatting
2
2
 
3
+ ## 2.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#127441](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/127441)
8
+ [`f2f4b5971e0b2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2f4b5971e0b2) -
9
+ [ux] Updates Text Formatting toolbar separators, active option style and removes range selection
10
+ when the toolbar is docked to top.
11
+ - Updated dependencies
12
+
3
13
  ## 2.1.5
4
14
 
5
15
  ### Patch Changes
@@ -155,7 +155,8 @@ var textFormattingPlugin = exports.textFormattingPlugin = function textFormattin
155
155
  return {
156
156
  isToolbarAbove: true,
157
157
  items: [toolbarCustom],
158
- rank: 7
158
+ rank: 7,
159
+ pluginName: 'textFormatting'
159
160
  };
160
161
  } else {
161
162
  return undefined;
@@ -31,7 +31,7 @@ var Strikethrough = exports.Strikethrough = function Strikethrough() {
31
31
  "fill-rule": "evenodd",
32
32
  "clip-rule": "evenodd",
33
33
  d: "M8.39644 7.25348H13.9004V7.25421H15V8.75421H1V7.25421H2.125V7.25H4.96062C4.45271 6.59457 4.15039 5.77182 4.15039 4.87845C4.15039 2.73833 5.8853 1.00342 8.02542 1.00342H11.9004V2.50342H8.02542C6.71373 2.50342 5.65039 3.56676 5.65039 4.87845C5.65039 6.14664 6.64437 7.18267 7.89576 7.25H8.23074C8.28625 7.25 8.3415 7.25117 8.39644 7.25348ZM12.1058 11.125C12.1058 10.6424 12.0175 10.1804 11.8563 9.75421H10.1705C10.4446 10.1415 10.6058 10.6144 10.6058 11.125C10.6058 12.4367 9.54243 13.5001 8.23074 13.5001H3.15064V15.0001H8.23074C10.3709 15.0001 12.1058 13.2652 12.1058 11.125Z",
34
- fill: "#44546F"
34
+ fill: "currentColor"
35
35
  })));
36
36
  };
37
37
  var Subscript = exports.Subscript = function Subscript() {
@@ -45,7 +45,7 @@ var Subscript = exports.Subscript = function Subscript() {
45
45
  "fill-rule": "evenodd",
46
46
  "clip-rule": "evenodd",
47
47
  d: "M5.10609 6.54799L7.88895 2.09448L9.16102 2.88936L5.99047 7.9633L9.21219 13.1191L7.94012 13.914L5.10609 9.37861L2.27207 13.914L1 13.1191L4.2217 7.9633L1.05117 2.88939L2.32324 2.09451L5.10609 6.54799ZM10.858 15.0001V13.696H12.3499V10.3153L10.8418 11.4343V9.86413L12.3138 8.83114H13.8161V13.696H14.9999V15.0001H10.858Z",
48
- fill: "#44546F"
48
+ fill: "currentColor"
49
49
  })));
50
50
  };
51
51
  var Superscript = exports.Superscript = function Superscript() {
@@ -59,6 +59,6 @@ var Superscript = exports.Superscript = function Superscript() {
59
59
  "fill-rule": "evenodd",
60
60
  "clip-rule": "evenodd",
61
61
  d: "M10.858 7.16892V5.86487H12.3499V2.4842L10.8418 3.60312V2.03298L12.3138 1H13.8161V5.86487H14.9999V7.16892H10.858ZM5.10609 6.5479L7.88895 2.09439L9.16102 2.88927L5.99047 7.96321L9.21219 13.119L7.94012 13.9139L5.10609 9.37852L2.27207 13.9139L1 13.119L4.2217 7.96321L1.05117 2.8893L2.32324 2.09442L5.10609 6.5479Z",
62
- fill: "#44546F"
62
+ fill: "currentColor"
63
63
  })));
64
64
  };
@@ -149,7 +149,8 @@ export const textFormattingPlugin = ({
149
149
  return {
150
150
  isToolbarAbove: true,
151
151
  items: [toolbarCustom],
152
- rank: 7
152
+ rank: 7,
153
+ pluginName: 'textFormatting'
153
154
  };
154
155
  } else {
155
156
  return undefined;
@@ -21,7 +21,7 @@ export const Strikethrough = () => /*#__PURE__*/React.createElement(SVGContainer
21
21
  "fill-rule": "evenodd",
22
22
  "clip-rule": "evenodd",
23
23
  d: "M8.39644 7.25348H13.9004V7.25421H15V8.75421H1V7.25421H2.125V7.25H4.96062C4.45271 6.59457 4.15039 5.77182 4.15039 4.87845C4.15039 2.73833 5.8853 1.00342 8.02542 1.00342H11.9004V2.50342H8.02542C6.71373 2.50342 5.65039 3.56676 5.65039 4.87845C5.65039 6.14664 6.64437 7.18267 7.89576 7.25H8.23074C8.28625 7.25 8.3415 7.25117 8.39644 7.25348ZM12.1058 11.125C12.1058 10.6424 12.0175 10.1804 11.8563 9.75421H10.1705C10.4446 10.1415 10.6058 10.6144 10.6058 11.125C10.6058 12.4367 9.54243 13.5001 8.23074 13.5001H3.15064V15.0001H8.23074C10.3709 15.0001 12.1058 13.2652 12.1058 11.125Z",
24
- fill: "#44546F"
24
+ fill: "currentColor"
25
25
  })));
26
26
  export const Subscript = () => /*#__PURE__*/React.createElement(SVGContainer, null, /*#__PURE__*/React.createElement("svg", {
27
27
  width: "16",
@@ -33,7 +33,7 @@ export const Subscript = () => /*#__PURE__*/React.createElement(SVGContainer, nu
33
33
  "fill-rule": "evenodd",
34
34
  "clip-rule": "evenodd",
35
35
  d: "M5.10609 6.54799L7.88895 2.09448L9.16102 2.88936L5.99047 7.9633L9.21219 13.1191L7.94012 13.914L5.10609 9.37861L2.27207 13.914L1 13.1191L4.2217 7.9633L1.05117 2.88939L2.32324 2.09451L5.10609 6.54799ZM10.858 15.0001V13.696H12.3499V10.3153L10.8418 11.4343V9.86413L12.3138 8.83114H13.8161V13.696H14.9999V15.0001H10.858Z",
36
- fill: "#44546F"
36
+ fill: "currentColor"
37
37
  })));
38
38
  export const Superscript = () => /*#__PURE__*/React.createElement(SVGContainer, null, /*#__PURE__*/React.createElement("svg", {
39
39
  width: "16",
@@ -45,5 +45,5 @@ export const Superscript = () => /*#__PURE__*/React.createElement(SVGContainer,
45
45
  "fill-rule": "evenodd",
46
46
  "clip-rule": "evenodd",
47
47
  d: "M10.858 7.16892V5.86487H12.3499V2.4842L10.8418 3.60312V2.03298L12.3138 1H13.8161V5.86487H14.9999V7.16892H10.858ZM5.10609 6.5479L7.88895 2.09439L9.16102 2.88927L5.99047 7.96321L9.21219 13.119L7.94012 13.9139L5.10609 9.37852L2.27207 13.9139L1 13.119L4.2217 7.96321L1.05117 2.8893L2.32324 2.09442L5.10609 6.5479Z",
48
- fill: "#44546F"
48
+ fill: "currentColor"
49
49
  })));
@@ -149,7 +149,8 @@ export var textFormattingPlugin = function textFormattingPlugin(_ref) {
149
149
  return {
150
150
  isToolbarAbove: true,
151
151
  items: [toolbarCustom],
152
- rank: 7
152
+ rank: 7,
153
+ pluginName: 'textFormatting'
153
154
  };
154
155
  } else {
155
156
  return undefined;
@@ -23,7 +23,7 @@ export var Strikethrough = function Strikethrough() {
23
23
  "fill-rule": "evenodd",
24
24
  "clip-rule": "evenodd",
25
25
  d: "M8.39644 7.25348H13.9004V7.25421H15V8.75421H1V7.25421H2.125V7.25H4.96062C4.45271 6.59457 4.15039 5.77182 4.15039 4.87845C4.15039 2.73833 5.8853 1.00342 8.02542 1.00342H11.9004V2.50342H8.02542C6.71373 2.50342 5.65039 3.56676 5.65039 4.87845C5.65039 6.14664 6.64437 7.18267 7.89576 7.25H8.23074C8.28625 7.25 8.3415 7.25117 8.39644 7.25348ZM12.1058 11.125C12.1058 10.6424 12.0175 10.1804 11.8563 9.75421H10.1705C10.4446 10.1415 10.6058 10.6144 10.6058 11.125C10.6058 12.4367 9.54243 13.5001 8.23074 13.5001H3.15064V15.0001H8.23074C10.3709 15.0001 12.1058 13.2652 12.1058 11.125Z",
26
- fill: "#44546F"
26
+ fill: "currentColor"
27
27
  })));
28
28
  };
29
29
  export var Subscript = function Subscript() {
@@ -37,7 +37,7 @@ export var Subscript = function Subscript() {
37
37
  "fill-rule": "evenodd",
38
38
  "clip-rule": "evenodd",
39
39
  d: "M5.10609 6.54799L7.88895 2.09448L9.16102 2.88936L5.99047 7.9633L9.21219 13.1191L7.94012 13.914L5.10609 9.37861L2.27207 13.914L1 13.1191L4.2217 7.9633L1.05117 2.88939L2.32324 2.09451L5.10609 6.54799ZM10.858 15.0001V13.696H12.3499V10.3153L10.8418 11.4343V9.86413L12.3138 8.83114H13.8161V13.696H14.9999V15.0001H10.858Z",
40
- fill: "#44546F"
40
+ fill: "currentColor"
41
41
  })));
42
42
  };
43
43
  export var Superscript = function Superscript() {
@@ -51,6 +51,6 @@ export var Superscript = function Superscript() {
51
51
  "fill-rule": "evenodd",
52
52
  "clip-rule": "evenodd",
53
53
  d: "M10.858 7.16892V5.86487H12.3499V2.4842L10.8418 3.60312V2.03298L12.3138 1H13.8161V5.86487H14.9999V7.16892H10.858ZM5.10609 6.5479L7.88895 2.09439L9.16102 2.88927L5.99047 7.96321L9.21219 13.119L7.94012 13.9139L5.10609 9.37852L2.27207 13.9139L1 13.119L4.2217 7.96321L1.05117 2.8893L2.32324 2.09442L5.10609 6.5479Z",
54
- fill: "#44546F"
54
+ fill: "currentColor"
55
55
  })));
56
56
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-formatting",
3
- "version": "2.1.5",
3
+ "version": "2.1.6",
4
4
  "description": "Text-formatting plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,18 +34,18 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/adf-schema": "^47.6.0",
37
- "@atlaskit/editor-common": "^102.8.0",
37
+ "@atlaskit/editor-common": "^102.10.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
39
39
  "@atlaskit/editor-plugin-base": "^2.3.0",
40
40
  "@atlaskit/editor-plugin-primary-toolbar": "^3.0.0",
41
- "@atlaskit/editor-plugin-selection-toolbar": "^2.0.0",
41
+ "@atlaskit/editor-plugin-selection-toolbar": "^2.1.0",
42
42
  "@atlaskit/editor-prosemirror": "7.0.0",
43
43
  "@atlaskit/editor-shared-styles": "^3.4.0",
44
44
  "@atlaskit/editor-tables": "^2.9.0",
45
45
  "@atlaskit/icon": "^25.0.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
47
  "@atlaskit/prosemirror-input-rules": "^3.3.0",
48
- "@atlaskit/tmp-editor-statsig": "^4.0.0",
48
+ "@atlaskit/tmp-editor-statsig": "^4.1.0",
49
49
  "@atlaskit/tokens": "^4.5.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",