@atlaskit/editor-plugin-text-formatting 1.17.0 → 1.18.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.18.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
8
+ [`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
9
+ Bumped editor-prosemirror version to 7.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 1.17.1
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 1.17.0
4
22
 
5
23
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ExtractInjectionAPI, ToolbarSize } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { TextFormattingPlugin } from '../textFormattingPluginType';
@@ -12,5 +12,5 @@ interface PrimaryToolbarComponentProps {
12
12
  isReducedSpacing: boolean;
13
13
  shouldUseResponsiveToolbar: boolean;
14
14
  }
15
- export declare function PrimaryToolbarComponent({ api, popupsMountPoint, popupsScrollableElement, toolbarSize, editorView, disabled, isReducedSpacing, shouldUseResponsiveToolbar, }: PrimaryToolbarComponentProps): JSX.Element;
15
+ export declare function PrimaryToolbarComponent({ api, popupsMountPoint, popupsScrollableElement, toolbarSize, editorView, disabled, isReducedSpacing, shouldUseResponsiveToolbar, }: PrimaryToolbarComponentProps): React.JSX.Element;
16
16
  export {};
@@ -16,5 +16,5 @@ type DropdownMenuProps = {
16
16
  hasMoreButton: boolean;
17
17
  toolbarType: ToolbarType;
18
18
  } & WrappedComponentProps;
19
- export declare const FormattingTextDropdownMenu: React.MemoExoticComponent<({ editorView, moreButtonLabel, isReducedSpacing, items, hasFormattingActive, popupsBoundariesElement, popupsMountPoint, popupsScrollableElement, hasMoreButton, intl, toolbarType, }: DropdownMenuProps) => JSX.Element>;
19
+ export declare const FormattingTextDropdownMenu: React.MemoExoticComponent<({ editorView, moreButtonLabel, isReducedSpacing, items, hasFormattingActive, popupsBoundariesElement, popupsMountPoint, popupsScrollableElement, hasMoreButton, intl, toolbarType, }: DropdownMenuProps) => React.JSX.Element>;
20
20
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { ExtractInjectionAPI, ToolbarSize } from '@atlaskit/editor-common/types';
3
3
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { TextFormattingPlugin } from '../textFormattingPluginType';
@@ -12,5 +12,5 @@ interface PrimaryToolbarComponentProps {
12
12
  isReducedSpacing: boolean;
13
13
  shouldUseResponsiveToolbar: boolean;
14
14
  }
15
- export declare function PrimaryToolbarComponent({ api, popupsMountPoint, popupsScrollableElement, toolbarSize, editorView, disabled, isReducedSpacing, shouldUseResponsiveToolbar, }: PrimaryToolbarComponentProps): JSX.Element;
15
+ export declare function PrimaryToolbarComponent({ api, popupsMountPoint, popupsScrollableElement, toolbarSize, editorView, disabled, isReducedSpacing, shouldUseResponsiveToolbar, }: PrimaryToolbarComponentProps): React.JSX.Element;
16
16
  export {};
@@ -16,5 +16,5 @@ type DropdownMenuProps = {
16
16
  hasMoreButton: boolean;
17
17
  toolbarType: ToolbarType;
18
18
  } & WrappedComponentProps;
19
- export declare const FormattingTextDropdownMenu: React.MemoExoticComponent<({ editorView, moreButtonLabel, isReducedSpacing, items, hasFormattingActive, popupsBoundariesElement, popupsMountPoint, popupsScrollableElement, hasMoreButton, intl, toolbarType, }: DropdownMenuProps) => JSX.Element>;
19
+ export declare const FormattingTextDropdownMenu: React.MemoExoticComponent<({ editorView, moreButtonLabel, isReducedSpacing, items, hasFormattingActive, popupsBoundariesElement, popupsMountPoint, popupsScrollableElement, hasMoreButton, intl, toolbarType, }: DropdownMenuProps) => React.JSX.Element>;
20
20
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-formatting",
3
- "version": "1.17.0",
3
+ "version": "1.18.0",
4
4
  "description": "Text-formatting plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,17 +32,17 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^46.1.0",
35
- "@atlaskit/editor-common": "^99.6.0",
36
- "@atlaskit/editor-plugin-analytics": "^1.11.0",
37
- "@atlaskit/editor-plugin-base": "^2.1.0",
38
- "@atlaskit/editor-plugin-primary-toolbar": "^2.1.0",
39
- "@atlaskit/editor-prosemirror": "6.2.1",
35
+ "@atlaskit/editor-common": "^99.10.0",
36
+ "@atlaskit/editor-plugin-analytics": "^1.12.0",
37
+ "@atlaskit/editor-plugin-base": "^2.2.0",
38
+ "@atlaskit/editor-plugin-primary-toolbar": "^2.2.0",
39
+ "@atlaskit/editor-prosemirror": "7.0.0",
40
40
  "@atlaskit/editor-shared-styles": "^3.2.0",
41
- "@atlaskit/editor-tables": "^2.8.0",
42
- "@atlaskit/icon": "^23.5.0",
43
- "@atlaskit/platform-feature-flags": "^0.3.0",
44
- "@atlaskit/prosemirror-input-rules": "^3.2.0",
45
- "@atlaskit/tmp-editor-statsig": "^2.41.0",
41
+ "@atlaskit/editor-tables": "^2.9.0",
42
+ "@atlaskit/icon": "^23.7.0",
43
+ "@atlaskit/platform-feature-flags": "^1.0.0",
44
+ "@atlaskit/prosemirror-input-rules": "^3.3.0",
45
+ "@atlaskit/tmp-editor-statsig": "^2.43.0",
46
46
  "@atlaskit/tokens": "^3.3.0",
47
47
  "@babel/runtime": "^7.0.0",
48
48
  "@emotion/react": "^11.7.1",
@@ -52,9 +52,9 @@
52
52
  "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@atlaskit/editor-plugin-composition": "^1.2.0",
56
- "@atlaskit/editor-plugin-decorations": "^1.4.0",
57
- "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
55
+ "@atlaskit/editor-plugin-composition": "^1.3.0",
56
+ "@atlaskit/editor-plugin-decorations": "^1.5.0",
57
+ "@atlaskit/editor-plugin-feature-flags": "^1.3.0",
58
58
  "@testing-library/react": "^13.4.0",
59
59
  "typescript": "~5.4.2"
60
60
  },