@atlaskit/editor-plugin-primary-toolbar 27.0.3 → 27.0.5

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,17 @@
1
1
  # @atlaskit/editor-plugin-primary-toolbar
2
2
 
3
+ ## 27.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 27.0.4
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 27.0.3
4
16
 
5
17
  ### Patch Changes
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _react = require("@emotion/react");
8
- var _styles = require("@atlaskit/editor-common/styles");
8
+ var _plugins = require("@atlaskit/editor-common/styles/plugins");
9
9
  /**
10
10
  * @jsxRuntime classic
11
11
  * @jsx jsx
@@ -15,10 +15,10 @@ var _default = exports.default = function _default() {
15
15
  return (
16
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
17
17
  (0, _react.jsx)("span", {
18
- css: _styles.wrapperStyle
18
+ css: _plugins.wrapperStyle
19
19
  }, (0, _react.jsx)("span", {
20
20
  "data-vc": "primary-toolbar-separator",
21
- css: _styles.separatorStyles
21
+ css: _plugins.separatorStyles
22
22
  }))
23
23
  );
24
24
  };
@@ -4,7 +4,7 @@
4
4
  */
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
6
6
  import { jsx } from '@emotion/react';
7
- import { separatorStyles, wrapperStyle } from '@atlaskit/editor-common/styles';
7
+ import { separatorStyles, wrapperStyle } from '@atlaskit/editor-common/styles/plugins';
8
8
  export default (() =>
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
10
10
  jsx("span", {
@@ -4,7 +4,7 @@
4
4
  */
5
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports
6
6
  import { jsx } from '@emotion/react';
7
- import { separatorStyles, wrapperStyle } from '@atlaskit/editor-common/styles';
7
+ import { separatorStyles, wrapperStyle } from '@atlaskit/editor-common/styles/plugins';
8
8
  export default (function () {
9
9
  return (
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
@@ -1,4 +1,4 @@
1
- import type { ToolbarUIComponentFactory } from '@atlaskit/editor-common/types';
1
+ import type { ToolbarUIComponentFactory } from '@atlaskit/editor-common/types/toolbar';
2
2
  import type { ComponentRegistry, ToolbarElementNames } from '../primaryToolbarPluginType';
3
3
  export declare const registerComponent: (componentRegistry: ComponentRegistry) => ({ name, component, }: {
4
4
  component: ToolbarUIComponentFactory;
@@ -1,4 +1,4 @@
1
- import type { ToolbarUIComponentFactory } from '@atlaskit/editor-common/types';
1
+ import type { ToolbarUIComponentFactory } from '@atlaskit/editor-common/types/toolbar';
2
2
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
3
3
  import type { ComponentRegistry } from '../primaryToolbarPluginType';
4
4
  type GetToolbarComponentsOptions = {
@@ -1,4 +1,5 @@
1
- import type { NextEditorPlugin, ToolbarUIComponentFactory } from '@atlaskit/editor-common/types';
1
+ import type { NextEditorPlugin } from '@atlaskit/editor-common/types/next-editor-plugin';
2
+ import type { ToolbarUIComponentFactory } from '@atlaskit/editor-common/types/toolbar';
2
3
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
3
4
  export interface PrimaryToolbarPluginOptions {
4
5
  contextualFormattingEnabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-primary-toolbar",
3
- "version": "27.0.3",
3
+ "version": "27.0.5",
4
4
  "description": "Primary toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@atlaskit/editor-prosemirror": "^9.0.0",
28
28
  "@atlaskit/platform-feature-flags": "^2.2.0",
29
- "@atlaskit/tmp-editor-statsig": "^230.0.0",
29
+ "@atlaskit/tmp-editor-statsig": "^232.0.0",
30
30
  "@babel/runtime": "^7.0.0",
31
31
  "@emotion/react": "^11.7.1"
32
32
  },