@atlaskit/editor-plugin-block-type 5.1.24 → 5.1.25

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
+ ## 5.1.25
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 5.1.24
4
10
 
5
11
  ### Patch Changes
@@ -11,9 +11,9 @@ var _reactIntlNext = require("react-intl-next");
11
11
  var _messages = require("@atlaskit/editor-common/messages");
12
12
  var _styles = require("@atlaskit/editor-common/styles");
13
13
  var _uiMenu = require("@atlaskit/editor-common/ui-menu");
14
+ var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-down"));
14
15
  var _text = _interopRequireDefault(require("@atlaskit/icon/core/text"));
15
16
  var _textStyle = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/text-style"));
16
- var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-down"));
17
17
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
18
  var _primitives = require("@atlaskit/primitives");
19
19
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
@@ -72,7 +72,8 @@ var BlockTypeButton = exports.BlockTypeButton = function BlockTypeButton(props)
72
72
  spacing: chevronIconSpacing,
73
73
  label: "",
74
74
  color: "currentColor",
75
- LEGACY_margin: "0 0 0 -8px"
75
+ LEGACY_margin: "0 0 0 -8px",
76
+ size: "small"
76
77
  }))))
77
78
  }, !props.isSmall && (0, _react2.jsx)(_primitives.Box, {
78
79
  xcss: [buttonContentStyle, props.isReducedSpacing && buttonContentReducedSpacingStyle]
@@ -10,9 +10,9 @@ import { FormattedMessage } from 'react-intl-next';
10
10
  import { toolbarMessages } from '@atlaskit/editor-common/messages';
11
11
  import { expandIconContainerStyle, wrapperStyle } from '@atlaskit/editor-common/styles';
12
12
  import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
13
+ import ChevronDownIcon from '@atlaskit/icon/core/migration/chevron-down';
13
14
  import TextIcon from '@atlaskit/icon/core/text';
14
15
  import { default as TextStyleIconLegacy } from '@atlaskit/icon/glyph/editor/text-style';
15
- import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
16
16
  import { fg } from '@atlaskit/platform-feature-flags';
17
17
  import { Box, xcss } from '@atlaskit/primitives';
18
18
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
@@ -64,7 +64,8 @@ export const BlockTypeButton = props => {
64
64
  spacing: chevronIconSpacing,
65
65
  label: "",
66
66
  color: "currentColor",
67
- LEGACY_margin: "0 0 0 -8px"
67
+ LEGACY_margin: "0 0 0 -8px",
68
+ size: "small"
68
69
  }))))
69
70
  }, !props.isSmall && jsx(Box, {
70
71
  xcss: [buttonContentStyle, props.isReducedSpacing && buttonContentReducedSpacingStyle]
@@ -10,9 +10,9 @@ import { FormattedMessage } from 'react-intl-next';
10
10
  import { toolbarMessages } from '@atlaskit/editor-common/messages';
11
11
  import { expandIconContainerStyle, wrapperStyle } from '@atlaskit/editor-common/styles';
12
12
  import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
13
+ import ChevronDownIcon from '@atlaskit/icon/core/migration/chevron-down';
13
14
  import TextIcon from '@atlaskit/icon/core/text';
14
15
  import { default as TextStyleIconLegacy } from '@atlaskit/icon/glyph/editor/text-style';
15
- import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
16
16
  import { fg } from '@atlaskit/platform-feature-flags';
17
17
  import { Box, xcss } from '@atlaskit/primitives';
18
18
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
@@ -64,7 +64,8 @@ export var BlockTypeButton = function BlockTypeButton(props) {
64
64
  spacing: chevronIconSpacing,
65
65
  label: "",
66
66
  color: "currentColor",
67
- LEGACY_margin: "0 0 0 -8px"
67
+ LEGACY_margin: "0 0 0 -8px",
68
+ size: "small"
68
69
  }))))
69
70
  }, !props.isSmall && jsx(Box, {
70
71
  xcss: [buttonContentStyle, props.isReducedSpacing && buttonContentReducedSpacingStyle]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-type",
3
- "version": "5.1.24",
3
+ "version": "5.1.25",
4
4
  "description": "BlockType plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/adf-schema": "^47.6.0",
39
- "@atlaskit/editor-common": "^106.5.0",
39
+ "@atlaskit/editor-common": "^106.6.0",
40
40
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
41
41
  "@atlaskit/editor-plugin-primary-toolbar": "^3.2.0",
42
42
  "@atlaskit/editor-plugin-selection-toolbar": "^3.6.0",
@@ -44,12 +44,12 @@
44
44
  "@atlaskit/editor-shared-styles": "^3.4.0",
45
45
  "@atlaskit/editor-tables": "^2.9.0",
46
46
  "@atlaskit/icon": "^26.4.0",
47
- "@atlaskit/icon-lab": "^4.18.0",
47
+ "@atlaskit/icon-lab": "^4.19.0",
48
48
  "@atlaskit/platform-feature-flags": "^1.1.0",
49
49
  "@atlaskit/primitives": "^14.8.0",
50
50
  "@atlaskit/prosemirror-input-rules": "^3.3.0",
51
51
  "@atlaskit/theme": "^18.0.0",
52
- "@atlaskit/tmp-editor-statsig": "^6.0.0",
52
+ "@atlaskit/tmp-editor-statsig": "^7.0.0",
53
53
  "@atlaskit/tokens": "^5.1.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1"