@atlaskit/editor-plugin-block-type 6.2.0 → 6.2.1

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,11 @@
1
1
  # @atlaskit/editor-plugin-block-type
2
2
 
3
+ ## 6.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 6.2.0
4
10
 
5
11
  ### Minor Changes
@@ -25,13 +25,13 @@ var headingSizeStylesMap = {
25
25
  heading6: "_11c81vhk"
26
26
  };
27
27
  var shortcuts = {
28
- 'normal': _keymaps.setNormalText,
29
- 'heading1': _keymaps.toggleHeading1,
30
- 'heading2': _keymaps.toggleHeading2,
31
- 'heading3': _keymaps.toggleHeading3,
32
- 'heading4': _keymaps.toggleHeading4,
33
- 'heading5': _keymaps.toggleHeading5,
34
- 'heading6': _keymaps.toggleHeading6
28
+ normal: _keymaps.setNormalText,
29
+ heading1: _keymaps.toggleHeading1,
30
+ heading2: _keymaps.toggleHeading2,
31
+ heading3: _keymaps.toggleHeading3,
32
+ heading4: _keymaps.toggleHeading4,
33
+ heading5: _keymaps.toggleHeading5,
34
+ heading6: _keymaps.toggleHeading6
35
35
  };
36
36
  var HeadingButton = exports.HeadingButton = function HeadingButton(_ref) {
37
37
  var blockType = _ref.blockType,
@@ -18,13 +18,13 @@ const headingSizeStylesMap = {
18
18
  heading6: "_11c81vhk"
19
19
  };
20
20
  const shortcuts = {
21
- 'normal': setNormalText,
22
- 'heading1': toggleHeading1,
23
- 'heading2': toggleHeading2,
24
- 'heading3': toggleHeading3,
25
- 'heading4': toggleHeading4,
26
- 'heading5': toggleHeading5,
27
- 'heading6': toggleHeading6
21
+ normal: setNormalText,
22
+ heading1: toggleHeading1,
23
+ heading2: toggleHeading2,
24
+ heading3: toggleHeading3,
25
+ heading4: toggleHeading4,
26
+ heading5: toggleHeading5,
27
+ heading6: toggleHeading6
28
28
  };
29
29
  export const HeadingButton = ({
30
30
  blockType,
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { useIntl } from 'react-intl-next';
3
3
  import { toolbarMessages } from '@atlaskit/editor-common/messages';
4
4
  import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
5
- import { ToolbarDropdownMenu, ToolbarTooltip, TextIcon } from "@atlaskit/editor-toolbar";
5
+ import { ToolbarDropdownMenu, ToolbarTooltip, TextIcon } from '@atlaskit/editor-toolbar';
6
6
  import { toolbarBlockTypesWithRank } from '../../block-types';
7
7
  export const TextStylesMenuButton = ({
8
8
  api,
@@ -18,13 +18,13 @@ var headingSizeStylesMap = {
18
18
  heading6: "_11c81vhk"
19
19
  };
20
20
  var shortcuts = {
21
- 'normal': setNormalText,
22
- 'heading1': toggleHeading1,
23
- 'heading2': toggleHeading2,
24
- 'heading3': toggleHeading3,
25
- 'heading4': toggleHeading4,
26
- 'heading5': toggleHeading5,
27
- 'heading6': toggleHeading6
21
+ normal: setNormalText,
22
+ heading1: toggleHeading1,
23
+ heading2: toggleHeading2,
24
+ heading3: toggleHeading3,
25
+ heading4: toggleHeading4,
26
+ heading5: toggleHeading5,
27
+ heading6: toggleHeading6
28
28
  };
29
29
  export var HeadingButton = function HeadingButton(_ref) {
30
30
  var blockType = _ref.blockType,
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { useIntl } from 'react-intl-next';
3
3
  import { toolbarMessages } from '@atlaskit/editor-common/messages';
4
4
  import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
5
- import { ToolbarDropdownMenu, ToolbarTooltip, TextIcon } from "@atlaskit/editor-toolbar";
5
+ import { ToolbarDropdownMenu, ToolbarTooltip, TextIcon } from '@atlaskit/editor-toolbar';
6
6
  import { toolbarBlockTypesWithRank } from '../../block-types';
7
7
  export var TextStylesMenuButton = function TextStylesMenuButton(_ref) {
8
8
  var _Object$values$find;
@@ -1,4 +1,4 @@
1
- export declare const blockTypeMenuItemStyle: (tagName: string, selected?: boolean, typographyTheme?: 'typography' | 'typography-adg3' | 'typography-modernized' | 'typography-refreshed') => () => import("@emotion/react").SerializedStyles;
1
+ export declare const blockTypeMenuItemStyle: (tagName: string, selected?: boolean, typographyTheme?: "typography" | "typography-adg3" | "typography-modernized" | "typography-refreshed") => () => import("@emotion/react").SerializedStyles;
2
2
  export declare const keyboardShortcut: import("@emotion/react").SerializedStyles;
3
3
  export declare const keyboardShortcutSelect: import("@emotion/react").SerializedStyles;
4
4
  export declare const wrapperSmallStyle: import("@emotion/react").SerializedStyles;
@@ -1 +1 @@
1
- export declare const blocktypeStyles: (typographyTheme?: 'typography' | 'typography-adg3' | 'typography-modernized' | 'typography-refreshed') => import("@emotion/react").SerializedStyles;
1
+ export declare const blocktypeStyles: (typographyTheme?: "typography" | "typography-adg3" | "typography-modernized" | "typography-refreshed") => import("@emotion/react").SerializedStyles;
@@ -1,4 +1,4 @@
1
- export declare const blockTypeMenuItemStyle: (tagName: string, selected?: boolean, typographyTheme?: 'typography' | 'typography-adg3' | 'typography-modernized' | 'typography-refreshed') => () => import("@emotion/react").SerializedStyles;
1
+ export declare const blockTypeMenuItemStyle: (tagName: string, selected?: boolean, typographyTheme?: "typography" | "typography-adg3" | "typography-modernized" | "typography-refreshed") => () => import("@emotion/react").SerializedStyles;
2
2
  export declare const keyboardShortcut: import("@emotion/react").SerializedStyles;
3
3
  export declare const keyboardShortcutSelect: import("@emotion/react").SerializedStyles;
4
4
  export declare const wrapperSmallStyle: import("@emotion/react").SerializedStyles;
@@ -1 +1 @@
1
- export declare const blocktypeStyles: (typographyTheme?: 'typography' | 'typography-adg3' | 'typography-modernized' | 'typography-refreshed') => import("@emotion/react").SerializedStyles;
1
+ export declare const blocktypeStyles: (typographyTheme?: "typography" | "typography-adg3" | "typography-modernized" | "typography-refreshed") => import("@emotion/react").SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-type",
3
- "version": "6.2.0",
3
+ "version": "6.2.1",
4
4
  "description": "BlockType plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -39,25 +39,25 @@
39
39
  "@atlaskit/editor-plugin-analytics": "^3.0.0",
40
40
  "@atlaskit/editor-plugin-primary-toolbar": "^4.1.0",
41
41
  "@atlaskit/editor-plugin-selection-toolbar": "^4.3.0",
42
- "@atlaskit/editor-plugin-toolbar": "^0.1.0",
42
+ "@atlaskit/editor-plugin-toolbar": "^0.2.0",
43
43
  "@atlaskit/editor-prosemirror": "7.0.0",
44
44
  "@atlaskit/editor-shared-styles": "^3.6.0",
45
45
  "@atlaskit/editor-tables": "^2.9.0",
46
- "@atlaskit/editor-toolbar": "^0.1.0",
47
- "@atlaskit/editor-toolbar-model": "^0.0.4",
48
- "@atlaskit/icon": "^27.10.0",
46
+ "@atlaskit/editor-toolbar": "^0.2.0",
47
+ "@atlaskit/editor-toolbar-model": "^0.1.0",
48
+ "@atlaskit/icon": "^27.11.0",
49
49
  "@atlaskit/icon-lab": "^5.4.0",
50
50
  "@atlaskit/platform-feature-flags": "^1.1.0",
51
51
  "@atlaskit/primitives": "^14.11.0",
52
52
  "@atlaskit/prosemirror-input-rules": "^3.4.0",
53
53
  "@atlaskit/theme": "^19.0.0",
54
- "@atlaskit/tmp-editor-statsig": "^9.25.0",
54
+ "@atlaskit/tmp-editor-statsig": "^9.27.0",
55
55
  "@atlaskit/tokens": "^6.0.0",
56
56
  "@babel/runtime": "^7.0.0",
57
57
  "@emotion/react": "^11.7.1"
58
58
  },
59
59
  "peerDependencies": {
60
- "@atlaskit/editor-common": "^107.19.0",
60
+ "@atlaskit/editor-common": "^107.20.0",
61
61
  "react": "^18.2.0",
62
62
  "react-dom": "^18.2.0",
63
63
  "react-intl-next": "npm:react-intl@^5.18.1"