@atlaskit/editor-plugin-text-formatting 1.7.1 → 1.8.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,23 @@
1
1
  # @atlaskit/editor-plugin-text-formatting
2
2
 
3
+ ## 1.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#114156](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114156)
8
+ [`bc6a63af2d1d0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bc6a63af2d1d0) -
9
+ Bump adf-schema to 37.0.0 and adf-schema-json to 1.16.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 1.7.2
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 1.7.1
4
22
 
5
23
  ### Patch Changes
@@ -13,6 +13,8 @@ var _shortcut = require("@atlaskit/editor-shared-styles/shortcut");
13
13
  var _clearFormatting = require("../../../commands/clear-formatting");
14
14
  /** @jsx jsx */
15
15
 
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
+
16
18
  var useClearIcon = exports.useClearIcon = function useClearIcon(_ref) {
17
19
  var intl = _ref.intl,
18
20
  textFormattingState = _ref.textFormattingState,
@@ -32,7 +34,7 @@ var useClearIcon = exports.useClearIcon = function useClearIcon(_ref) {
32
34
  command: clearFormattingToolbar,
33
35
  content: clearFormattingLabel,
34
36
  elemAfter:
35
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
37
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
36
38
  (0, _react2.jsx)("div", {
37
39
  css: _shortcut.shortcutStyle
38
40
  }, (0, _keymaps.tooltip)(_keymaps.clearFormatting)),
@@ -20,6 +20,7 @@ var _commands = require("../../../commands");
20
20
  var _types = require("../types");
21
21
  var _IconsMarkSchema;
22
22
  /** @jsx jsx */
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
24
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
24
25
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
25
26
  var withToolbarInputMethod = function withToolbarInputMethod(func) {
@@ -97,7 +98,7 @@ var getIcon = function getIcon(_ref) {
97
98
  keymap: tooltipKeymap
98
99
  }) : undefined,
99
100
  elemAfter: tooltipKeymap ?
100
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
101
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
101
102
  (0, _react2.jsx)("div", {
102
103
  css: _shortcut.shortcutStyle
103
104
  }, (0, _keymaps.tooltip)(tooltipKeymap)) : undefined,
@@ -23,6 +23,8 @@ var _moreButton = require("./more-button");
23
23
  var _singleToolbarButtons = require("./single-toolbar-buttons");
24
24
  /** @jsx jsx */
25
25
 
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
27
+
26
28
  var ToolbarFormatting = function ToolbarFormatting(_ref) {
27
29
  var _usePreviousState;
28
30
  var shouldUseResponsiveToolbar = _ref.shouldUseResponsiveToolbar,
@@ -123,7 +125,7 @@ var ToolbarFormatting = function ToolbarFormatting(_ref) {
123
125
  }
124
126
  }, [screenReaderMessage]);
125
127
  return (
126
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
128
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
127
129
  (0, _react2.jsx)("span", {
128
130
  css: _styles.buttonGroupStyle
129
131
  }, (0, _react2.jsx)("div", {
@@ -160,6 +162,7 @@ var ToolbarFormatting = function ToolbarFormatting(_ref) {
160
162
  hasFormattingActive: hasFormattingActive,
161
163
  items: items
162
164
  }))), !(api !== null && api !== void 0 && api.primaryToolbar) && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
165
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
163
166
  (0, _react2.jsx)("span", {
164
167
  css: _styles.separatorStyles
165
168
  }))
@@ -12,6 +12,8 @@ var _uiMenu = require("@atlaskit/editor-common/ui-menu");
12
12
  var _more = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/more"));
13
13
  /** @jsx jsx */
14
14
 
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
+
15
17
  var MoreButton = exports.MoreButton = /*#__PURE__*/_react.default.memo(function (_ref) {
16
18
  var label = _ref.label,
17
19
  ariaExpanded = _ref['aria-expanded'],
@@ -28,7 +30,7 @@ var MoreButton = exports.MoreButton = /*#__PURE__*/_react.default.memo(function
28
30
  spacing: isReducedSpacing ? 'none' : 'default',
29
31
  title: label,
30
32
  iconBefore:
31
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
33
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
32
34
  (0, _react2.jsx)("div", {
33
35
  css: _styles.triggerWrapperStyles
34
36
  }, (0, _react2.jsx)(_more.default, {
@@ -13,6 +13,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
13
13
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
14
14
  /** @jsx jsx */
15
15
 
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
+
16
18
  var SingleToolbarButtons = exports.SingleToolbarButtons = /*#__PURE__*/_react.default.memo(function (_ref) {
17
19
  var items = _ref.items,
18
20
  isReducedSpacing = _ref.isReducedSpacing,
@@ -24,7 +26,7 @@ var SingleToolbarButtons = exports.SingleToolbarButtons = /*#__PURE__*/_react.de
24
26
  };
25
27
  }, [editorView.state, editorView.dispatch]);
26
28
  return (
27
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
29
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
28
30
  (0, _react2.jsx)("span", {
29
31
  css: _styles.buttonGroupStyle
30
32
  }, items.map(function (item) {
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { useCallback, useMemo } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { jsx } from '@emotion/react';
4
6
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
5
7
  import { clearFormatting as clearFormattingKeymap, tooltip } from '@atlaskit/editor-common/keymaps';
@@ -24,7 +26,7 @@ export const useClearIcon = ({
24
26
  command: clearFormattingToolbar,
25
27
  content: clearFormattingLabel,
26
28
  elemAfter:
27
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
29
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
28
30
  jsx("div", {
29
31
  css: shortcutStyle
30
32
  }, tooltip(clearFormattingKeymap)),
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React, { useMemo } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { jsx } from '@emotion/react';
4
6
  import { INPUT_METHOD, TOOLBAR_ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
5
7
  import { getAriaKeyshortcuts, toggleBold, toggleCode, toggleItalic, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleUnderline, tooltip, ToolTipContent } from '@atlaskit/editor-common/keymaps';
@@ -80,7 +82,7 @@ const getIcon = ({
80
82
  keymap: tooltipKeymap
81
83
  }) : undefined,
82
84
  elemAfter: tooltipKeymap ?
83
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
85
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
84
86
  jsx("div", {
85
87
  css: shortcutStyle
86
88
  }, tooltip(tooltipKeymap)) : undefined,
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { useEffect, useMemo, useState } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { jsx } from '@emotion/react';
4
6
  import { injectIntl } from 'react-intl-next';
5
7
  import { usePreviousState } from '@atlaskit/editor-common/hooks';
@@ -110,7 +112,7 @@ const ToolbarFormatting = ({
110
112
  }
111
113
  }, [screenReaderMessage]);
112
114
  return (
113
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
115
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
114
116
  jsx("span", {
115
117
  css: buttonGroupStyle
116
118
  }, jsx("div", {
@@ -147,6 +149,7 @@ const ToolbarFormatting = ({
147
149
  hasFormattingActive: hasFormattingActive,
148
150
  items: items
149
151
  }))), !(api !== null && api !== void 0 && api.primaryToolbar) && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
152
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
150
153
  jsx("span", {
151
154
  css: separatorStyles
152
155
  }))
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { jsx } from '@emotion/react';
4
6
  import { triggerWrapperStyles } from '@atlaskit/editor-common/styles';
5
7
  import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
@@ -21,7 +23,7 @@ export const MoreButton = /*#__PURE__*/React.memo(({
21
23
  spacing: isReducedSpacing ? 'none' : 'default',
22
24
  title: label,
23
25
  iconBefore:
24
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
26
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
25
27
  jsx("div", {
26
28
  css: triggerWrapperStyles
27
29
  }, jsx(MoreIcon, {
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React, { useCallback } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { jsx } from '@emotion/react';
4
6
  import { buttonGroupStyle } from '@atlaskit/editor-common/styles';
5
7
  import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
@@ -15,7 +17,7 @@ export const SingleToolbarButtons = /*#__PURE__*/React.memo(({
15
17
  };
16
18
  }, [editorView.state, editorView.dispatch]);
17
19
  return (
18
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
20
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
19
21
  jsx("span", {
20
22
  css: buttonGroupStyle
21
23
  }, items.map(item => {
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { useCallback, useMemo } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { jsx } from '@emotion/react';
4
6
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
5
7
  import { clearFormatting as clearFormattingKeymap, tooltip } from '@atlaskit/editor-common/keymaps';
@@ -25,7 +27,7 @@ export var useClearIcon = function useClearIcon(_ref) {
25
27
  command: clearFormattingToolbar,
26
28
  content: clearFormattingLabel,
27
29
  elemAfter:
28
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
30
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
29
31
  jsx("div", {
30
32
  css: shortcutStyle
31
33
  }, tooltip(clearFormattingKeymap)),
@@ -2,6 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  var _IconsMarkSchema;
3
3
  /** @jsx jsx */
4
4
  import React, { useMemo } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { jsx } from '@emotion/react';
6
8
  import { INPUT_METHOD, TOOLBAR_ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
7
9
  import { getAriaKeyshortcuts, toggleBold, toggleCode, toggleItalic, toggleStrikethrough, toggleSubscript, toggleSuperscript, toggleUnderline, tooltip, ToolTipContent } from '@atlaskit/editor-common/keymaps';
@@ -87,7 +89,7 @@ var getIcon = function getIcon(_ref) {
87
89
  keymap: tooltipKeymap
88
90
  }) : undefined,
89
91
  elemAfter: tooltipKeymap ?
90
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
92
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
91
93
  jsx("div", {
92
94
  css: shortcutStyle
93
95
  }, tooltip(tooltipKeymap)) : undefined,
@@ -2,6 +2,8 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  /** @jsx jsx */
4
4
  import { useEffect, useMemo, useState } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { jsx } from '@emotion/react';
6
8
  import { injectIntl } from 'react-intl-next';
7
9
  import { usePreviousState } from '@atlaskit/editor-common/hooks';
@@ -115,7 +117,7 @@ var ToolbarFormatting = function ToolbarFormatting(_ref) {
115
117
  }
116
118
  }, [screenReaderMessage]);
117
119
  return (
118
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
120
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
119
121
  jsx("span", {
120
122
  css: buttonGroupStyle
121
123
  }, jsx("div", {
@@ -152,6 +154,7 @@ var ToolbarFormatting = function ToolbarFormatting(_ref) {
152
154
  hasFormattingActive: hasFormattingActive,
153
155
  items: items
154
156
  }))), !(api !== null && api !== void 0 && api.primaryToolbar) && /* eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage */
157
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
155
158
  jsx("span", {
156
159
  css: separatorStyles
157
160
  }))
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { jsx } from '@emotion/react';
4
6
  import { triggerWrapperStyles } from '@atlaskit/editor-common/styles';
5
7
  import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
@@ -20,7 +22,7 @@ export var MoreButton = /*#__PURE__*/React.memo(function (_ref) {
20
22
  spacing: isReducedSpacing ? 'none' : 'default',
21
23
  title: label,
22
24
  iconBefore:
23
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
25
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
24
26
  jsx("div", {
25
27
  css: triggerWrapperStyles
26
28
  }, jsx(MoreIcon, {
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React, { useCallback } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { jsx } from '@emotion/react';
4
6
  import { buttonGroupStyle } from '@atlaskit/editor-common/styles';
5
7
  import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
@@ -14,7 +16,7 @@ export var SingleToolbarButtons = /*#__PURE__*/React.memo(function (_ref) {
14
16
  };
15
17
  }, [editorView.state, editorView.dispatch]);
16
18
  return (
17
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
19
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
18
20
  jsx("span", {
19
21
  css: buttonGroupStyle
20
22
  }, items.map(function (item) {
package/package.json CHANGED
@@ -1,97 +1,97 @@
1
1
  {
2
- "name": "@atlaskit/editor-plugin-text-formatting",
3
- "version": "1.7.1",
4
- "description": "Text-formatting plugin for @atlaskit/editor-core",
5
- "author": "Atlassian Pty Ltd",
6
- "license": "Apache-2.0",
7
- "publishConfig": {
8
- "registry": "https://registry.npmjs.org/"
9
- },
10
- "atlassian": {
11
- "team": "Editor: Scarlet",
12
- "singleton": true,
13
- "releaseModel": "continuous",
14
- "runReact18": false
15
- },
16
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
17
- "main": "dist/cjs/index.js",
18
- "module": "dist/esm/index.js",
19
- "module:es2019": "dist/es2019/index.js",
20
- "types": "dist/types/index.d.ts",
21
- "typesVersions": {
22
- ">=4.5 <4.9": {
23
- "*": [
24
- "dist/types-ts4.5/*",
25
- "dist/types-ts4.5/index.d.ts"
26
- ]
27
- }
28
- },
29
- "sideEffects": false,
30
- "atlaskit:src": "src/index.ts",
31
- "af:exports": {
32
- ".": "./src/index.ts"
33
- },
34
- "dependencies": {
35
- "@atlaskit/adf-schema": "^36.10.7",
36
- "@atlaskit/editor-common": "^81.2.0",
37
- "@atlaskit/editor-plugin-analytics": "^1.2.0",
38
- "@atlaskit/editor-plugin-primary-toolbar": "^1.1.0",
39
- "@atlaskit/editor-prosemirror": "4.0.1",
40
- "@atlaskit/editor-shared-styles": "^2.11.0",
41
- "@atlaskit/editor-tables": "^2.7.0",
42
- "@atlaskit/icon": "^22.3.0",
43
- "@atlaskit/platform-feature-flags": "^0.2.5",
44
- "@atlaskit/prosemirror-input-rules": "^3.1.0",
45
- "@babel/runtime": "^7.0.0",
46
- "@emotion/react": "^11.7.1",
47
- "react-intl-next": "npm:react-intl@^5.18.1"
48
- },
49
- "peerDependencies": {
50
- "react": "^16.8.0"
51
- },
52
- "devDependencies": {
53
- "@atlaskit/editor-plugin-composition": "^1.1.0",
54
- "@atlaskit/editor-plugin-decorations": "^1.1.0",
55
- "@atlaskit/editor-plugin-feature-flags": "^1.1.0",
56
- "@testing-library/react": "^12.1.5",
57
- "typescript": "~5.4.2"
58
- },
59
- "techstack": {
60
- "@atlassian/frontend": {
61
- "import-structure": [
62
- "atlassian-conventions"
63
- ],
64
- "circular-dependencies": [
65
- "file-and-folder-level"
66
- ]
67
- },
68
- "@repo/internal": {
69
- "dom-events": "use-bind-event-listener",
70
- "analytics": [
71
- "analytics-next"
72
- ],
73
- "design-tokens": [
74
- "color"
75
- ],
76
- "theming": [
77
- "react-context"
78
- ],
79
- "ui-components": [
80
- "lite-mode"
81
- ],
82
- "deprecation": "no-deprecated-imports",
83
- "styling": [
84
- "emotion",
85
- "emotion"
86
- ],
87
- "imports": [
88
- "import-no-extraneous-disable-for-examples-and-docs"
89
- ]
90
- }
91
- },
92
- "platform-feature-flags": {
93
- "platform.editor.simplify-inline-cards-in-code-blocks_jw6t1": {
94
- "type": "boolean"
95
- }
96
- }
97
- }
2
+ "name": "@atlaskit/editor-plugin-text-formatting",
3
+ "version": "1.8.0",
4
+ "description": "Text-formatting plugin for @atlaskit/editor-core",
5
+ "author": "Atlassian Pty Ltd",
6
+ "license": "Apache-2.0",
7
+ "publishConfig": {
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "atlassian": {
11
+ "team": "Editor: Scarlet",
12
+ "singleton": true,
13
+ "releaseModel": "continuous",
14
+ "runReact18": false
15
+ },
16
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
17
+ "main": "dist/cjs/index.js",
18
+ "module": "dist/esm/index.js",
19
+ "module:es2019": "dist/es2019/index.js",
20
+ "types": "dist/types/index.d.ts",
21
+ "typesVersions": {
22
+ ">=4.5 <4.9": {
23
+ "*": [
24
+ "dist/types-ts4.5/*",
25
+ "dist/types-ts4.5/index.d.ts"
26
+ ]
27
+ }
28
+ },
29
+ "sideEffects": false,
30
+ "atlaskit:src": "src/index.ts",
31
+ "af:exports": {
32
+ ".": "./src/index.ts"
33
+ },
34
+ "dependencies": {
35
+ "@atlaskit/adf-schema": "^37.0.0",
36
+ "@atlaskit/editor-common": "^82.12.0",
37
+ "@atlaskit/editor-plugin-analytics": "^1.3.0",
38
+ "@atlaskit/editor-plugin-primary-toolbar": "^1.1.0",
39
+ "@atlaskit/editor-prosemirror": "4.0.1",
40
+ "@atlaskit/editor-shared-styles": "^2.12.0",
41
+ "@atlaskit/editor-tables": "^2.7.0",
42
+ "@atlaskit/icon": "^22.4.0",
43
+ "@atlaskit/platform-feature-flags": "^0.2.5",
44
+ "@atlaskit/prosemirror-input-rules": "^3.1.0",
45
+ "@babel/runtime": "^7.0.0",
46
+ "@emotion/react": "^11.7.1",
47
+ "react-intl-next": "npm:react-intl@^5.18.1"
48
+ },
49
+ "peerDependencies": {
50
+ "react": "^16.8.0"
51
+ },
52
+ "devDependencies": {
53
+ "@atlaskit/editor-plugin-composition": "^1.1.0",
54
+ "@atlaskit/editor-plugin-decorations": "^1.1.0",
55
+ "@atlaskit/editor-plugin-feature-flags": "^1.1.0",
56
+ "@testing-library/react": "^12.1.5",
57
+ "typescript": "~5.4.2"
58
+ },
59
+ "techstack": {
60
+ "@atlassian/frontend": {
61
+ "import-structure": [
62
+ "atlassian-conventions"
63
+ ],
64
+ "circular-dependencies": [
65
+ "file-and-folder-level"
66
+ ]
67
+ },
68
+ "@repo/internal": {
69
+ "dom-events": "use-bind-event-listener",
70
+ "analytics": [
71
+ "analytics-next"
72
+ ],
73
+ "design-tokens": [
74
+ "color"
75
+ ],
76
+ "theming": [
77
+ "react-context"
78
+ ],
79
+ "ui-components": [
80
+ "lite-mode"
81
+ ],
82
+ "deprecation": "no-deprecated-imports",
83
+ "styling": [
84
+ "emotion",
85
+ "emotion"
86
+ ],
87
+ "imports": [
88
+ "import-no-extraneous-disable-for-examples-and-docs"
89
+ ]
90
+ }
91
+ },
92
+ "platform-feature-flags": {
93
+ "platform.editor.simplify-inline-cards-in-code-blocks_jw6t1": {
94
+ "type": "boolean"
95
+ }
96
+ }
97
+ }