@atlaskit/editor-plugin-floating-toolbar 1.14.0 → 1.14.2

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,18 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 1.14.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ccf61c525278a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ccf61c525278a) -
8
+ fix floating toolbar spacing and legacy icon issues
9
+
10
+ ## 1.14.1
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 1.14.0
4
17
 
5
18
  ### Minor Changes
@@ -118,7 +118,8 @@ var ToolbarItems = /*#__PURE__*/_react.default.memo(function (_ref) {
118
118
  LEGACY_primaryColor: "currentColor",
119
119
  Legacy_secondaryColor: "var(--ds-surface, #FFFFFF)"
120
120
  }) : (0, _react2.jsx)(ButtonIcon, {
121
- label: item.title
121
+ label: item.title,
122
+ spacing: "spacious"
122
123
  }) : undefined,
123
124
  appearance: item.appearance,
124
125
  target: item.target,
@@ -106,7 +106,8 @@ const ToolbarItems = /*#__PURE__*/React.memo(({
106
106
  LEGACY_primaryColor: "currentColor",
107
107
  Legacy_secondaryColor: "var(--ds-surface, #FFFFFF)"
108
108
  }) : jsx(ButtonIcon, {
109
- label: item.title
109
+ label: item.title,
110
+ spacing: "spacious"
110
111
  }) : undefined,
111
112
  appearance: item.appearance,
112
113
  target: item.target,
@@ -111,7 +111,8 @@ var ToolbarItems = /*#__PURE__*/React.memo(function (_ref) {
111
111
  LEGACY_primaryColor: "currentColor",
112
112
  Legacy_secondaryColor: "var(--ds-surface, #FFFFFF)"
113
113
  }) : jsx(ButtonIcon, {
114
- label: item.title
114
+ label: item.title,
115
+ spacing: "spacious"
115
116
  }) : undefined,
116
117
  appearance: item.appearance,
117
118
  target: item.target,
@@ -193,7 +193,6 @@ export declare const EmojiPickerButton: (props: {
193
193
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
194
194
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
195
195
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
196
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
197
196
  };
198
197
  commands: {
199
198
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -202,7 +201,9 @@ export declare const EmojiPickerButton: (props: {
202
201
  }, import("@atlaskit/editor-common/types").QuickInsertPluginOptions | undefined>>];
203
202
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
204
203
  commands: {
205
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
204
+ moveToLayout: (start: number, to: number, options?: {
205
+ moveToEnd?: boolean | undefined;
206
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
206
207
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
207
208
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
208
209
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactNodeArray | React.ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<React.ReactNode, React.ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): React.ReactNode;
@@ -230,7 +230,6 @@ export declare const EmojiPickerButton: (props: {
230
230
  openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
231
231
  insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
232
232
  getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
233
- onInsert: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => void;
234
233
  };
235
234
  commands: {
236
235
  openElementBrowserModal: import("@atlaskit/editor-common/types").EditorCommand;
@@ -240,7 +239,9 @@ export declare const EmojiPickerButton: (props: {
240
239
  ];
241
240
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
242
241
  commands: {
243
- moveToLayout: (start: number, to: number, position: "left" | "right") => import("@atlaskit/editor-common/types").EditorCommand;
242
+ moveToLayout: (start: number, to: number, options?: {
243
+ moveToEnd?: boolean | undefined;
244
+ } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
244
245
  moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
245
246
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
246
247
  (descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactNodeArray | React.ReactPortal | Date | import("intl-messageformat").FormatXMLElementFn<React.ReactNode, React.ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "1.14.0",
3
+ "version": "1.14.2",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -26,9 +26,9 @@
26
26
  "@atlaskit/adf-utils": "^19.10.0",
27
27
  "@atlaskit/button": "^20.3.0",
28
28
  "@atlaskit/checkbox": "^15.1.0",
29
- "@atlaskit/editor-common": "^94.8.0",
29
+ "@atlaskit/editor-common": "^94.9.0",
30
30
  "@atlaskit/editor-palette": "1.6.3",
31
- "@atlaskit/editor-plugin-block-controls": "^2.12.0",
31
+ "@atlaskit/editor-plugin-block-controls": "^2.13.0",
32
32
  "@atlaskit/editor-plugin-context-panel": "^1.3.0",
33
33
  "@atlaskit/editor-plugin-copy-button": "^1.3.0",
34
34
  "@atlaskit/editor-plugin-decorations": "^1.3.0",
@@ -38,12 +38,12 @@
38
38
  "@atlaskit/editor-plugin-extension": "^1.15.0",
39
39
  "@atlaskit/editor-plugin-table": "^7.29.0",
40
40
  "@atlaskit/editor-prosemirror": "6.0.0",
41
- "@atlaskit/emoji": "^67.8.0",
41
+ "@atlaskit/emoji": "^67.9.0",
42
42
  "@atlaskit/icon": "^22.24.0",
43
43
  "@atlaskit/menu": "^2.13.0",
44
44
  "@atlaskit/modal-dialog": "^12.17.0",
45
45
  "@atlaskit/platform-feature-flags": "^0.3.0",
46
- "@atlaskit/primitives": "^12.2.0",
46
+ "@atlaskit/primitives": "^13.0.0",
47
47
  "@atlaskit/select": "^18.4.0",
48
48
  "@atlaskit/theme": "^14.0.0",
49
49
  "@atlaskit/tokens": "^2.0.0",