@atlaskit/editor-plugin-text-color 3.1.6 → 3.1.8

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,28 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 3.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.1.7
10
+
11
+ ### Patch Changes
12
+
13
+ - [`3145f278b1f7a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3145f278b1f7a) -
14
+ [ux] [ED-28473] minor UI updates for editor-toolbar
15
+
16
+ - Use ADS ButtonGroup for ToolbarButtonGroup
17
+ - Remove groupLocation prop and use CSS instead
18
+ - Use DropdownItemGroup for ToolbarDropdownItemSection and expand props for section separator and
19
+ title
20
+ - Support ReactNode as content for ToolbarTooltip and add missing shortcuts in tooltips
21
+ - Center Icons for split buttons and make chevron icon 24px wide
22
+ - Align dropdown menu UI with current editor design
23
+
24
+ - Updated dependencies
25
+
3
26
  ## 3.1.6
4
27
 
5
28
  ### Patch Changes
@@ -1,4 +1,2 @@
1
- ._19bvu2gc{padding-left:var(--ds-space-100,8px)}
2
- ._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
3
- ._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
4
- ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
1
+ ._18zru2gc{padding-inline:var(--ds-space-100,8px)}
2
+ ._1rjcv77o{padding-block:var(--ds-space-025,2px)}
@@ -15,7 +15,7 @@ var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-
15
15
  var _editorToolbar = require("@atlaskit/editor-toolbar");
16
16
  var _compiled = require("@atlaskit/primitives/compiled");
17
17
  var styles = {
18
- menu: "_ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc"
18
+ menu: "_1rjcv77o _18zru2gc"
19
19
  };
20
20
  var TextColorHighlightMenu = exports.TextColorHighlightMenu = function TextColorHighlightMenu(_ref) {
21
21
  var children = _ref.children,
@@ -37,7 +37,8 @@ var TextColorHighlightMenu = exports.TextColorHighlightMenu = function TextColor
37
37
  spacing: 'compact'
38
38
  })),
39
39
  isDisabled: isTextColorDisabled,
40
- testId: "text-color-highlight-menu"
40
+ testId: "text-color-highlight-menu",
41
+ hasSectionMargin: false
41
42
  }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
42
43
  xcss: styles.menu
43
44
  }, children));
@@ -1,4 +1,2 @@
1
- ._19bvu2gc{padding-left:var(--ds-space-100,8px)}
2
- ._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
3
- ._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
4
- ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
1
+ ._18zru2gc{padding-inline:var(--ds-space-100,8px)}
2
+ ._1rjcv77o{padding-block:var(--ds-space-025,2px)}
@@ -8,7 +8,7 @@ import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared
8
8
  import { TextColorIcon, ToolbarColorSwatch, ToolbarDropdownMenu } from '@atlaskit/editor-toolbar';
9
9
  import { Box } from '@atlaskit/primitives/compiled';
10
10
  const styles = {
11
- menu: "_ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc"
11
+ menu: "_1rjcv77o _18zru2gc"
12
12
  };
13
13
  export const TextColorHighlightMenu = ({
14
14
  children,
@@ -32,7 +32,8 @@ export const TextColorHighlightMenu = ({
32
32
  spacing: 'compact'
33
33
  })),
34
34
  isDisabled: isTextColorDisabled,
35
- testId: "text-color-highlight-menu"
35
+ testId: "text-color-highlight-menu",
36
+ hasSectionMargin: false
36
37
  }, /*#__PURE__*/React.createElement(Box, {
37
38
  xcss: styles.menu
38
39
  }, children));
@@ -1,4 +1,2 @@
1
- ._19bvu2gc{padding-left:var(--ds-space-100,8px)}
2
- ._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
3
- ._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
4
- ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
1
+ ._18zru2gc{padding-inline:var(--ds-space-100,8px)}
2
+ ._1rjcv77o{padding-block:var(--ds-space-025,2px)}
@@ -8,7 +8,7 @@ import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared
8
8
  import { TextColorIcon, ToolbarColorSwatch, ToolbarDropdownMenu } from '@atlaskit/editor-toolbar';
9
9
  import { Box } from '@atlaskit/primitives/compiled';
10
10
  var styles = {
11
- menu: "_ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc"
11
+ menu: "_1rjcv77o _18zru2gc"
12
12
  };
13
13
  export var TextColorHighlightMenu = function TextColorHighlightMenu(_ref) {
14
14
  var children = _ref.children,
@@ -30,7 +30,8 @@ export var TextColorHighlightMenu = function TextColorHighlightMenu(_ref) {
30
30
  spacing: 'compact'
31
31
  })),
32
32
  isDisabled: isTextColorDisabled,
33
- testId: "text-color-highlight-menu"
33
+ testId: "text-color-highlight-menu",
34
+ hasSectionMargin: false
34
35
  }, /*#__PURE__*/React.createElement(Box, {
35
36
  xcss: styles.menu
36
37
  }, children));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "3.1.6",
3
+ "version": "3.1.8",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -49,13 +49,13 @@
49
49
  "@atlaskit/platform-feature-flags": "^1.1.0",
50
50
  "@atlaskit/primitives": "^14.11.0",
51
51
  "@atlaskit/theme": "^19.0.0",
52
- "@atlaskit/tmp-editor-statsig": "^9.28.0",
52
+ "@atlaskit/tmp-editor-statsig": "^10.0.0",
53
53
  "@atlaskit/tokens": "^6.0.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1"
56
56
  },
57
57
  "peerDependencies": {
58
- "@atlaskit/editor-common": "^107.23.0",
58
+ "@atlaskit/editor-common": "^107.25.0",
59
59
  "react": "^18.2.0",
60
60
  "react-dom": "^18.2.0",
61
61
  "react-intl-next": "npm:react-intl@^5.18.1"