@atlaskit/editor-toolbar 1.7.0 → 1.7.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,14 @@
1
1
  # @atlaskit/editor-toolbar
2
2
 
3
+ ## 1.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41962dd9dccb2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/41962dd9dccb2) -
8
+ NO-ISSUE: adds a default toolbar state so we can render the toolbar on initial load without
9
+ relying on editor state
10
+ - Updated dependencies
11
+
3
12
  ## 1.7.0
4
13
 
5
14
  ### Minor Changes
@@ -17,7 +17,8 @@ var ToolbarColorSwatch = exports.ToolbarColorSwatch = function ToolbarColorSwatc
17
17
  var children = _ref.children,
18
18
  highlightColor = _ref.highlightColor;
19
19
  return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
20
- xcss: styles.colorSwatch
20
+ xcss: styles.colorSwatch,
21
+ testId: "toolbar-color-swatch"
21
22
  // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
22
23
  ,
23
24
  style: {
@@ -11,7 +11,8 @@ export const ToolbarColorSwatch = ({
11
11
  highlightColor
12
12
  }) => {
13
13
  return /*#__PURE__*/React.createElement(Box, {
14
- xcss: styles.colorSwatch
14
+ xcss: styles.colorSwatch,
15
+ testId: "toolbar-color-swatch"
15
16
  // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
16
17
  ,
17
18
  style: {
@@ -10,7 +10,8 @@ export var ToolbarColorSwatch = function ToolbarColorSwatch(_ref) {
10
10
  var children = _ref.children,
11
11
  highlightColor = _ref.highlightColor;
12
12
  return /*#__PURE__*/React.createElement(Box, {
13
- xcss: styles.colorSwatch
13
+ xcss: styles.colorSwatch,
14
+ testId: "toolbar-color-swatch"
14
15
  // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
15
16
  ,
16
17
  style: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org/"
5
5
  },
6
- "version": "1.7.0",
6
+ "version": "1.7.1",
7
7
  "description": "Common UI for Toolbars across the platform",
8
8
  "atlassian": {
9
9
  "react-compiler": {
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/platform-feature-flags": "^1.1.0",
38
38
  "@atlaskit/popup": "^4.20.0",
39
39
  "@atlaskit/primitives": "^19.0.0",
40
- "@atlaskit/tmp-editor-statsig": "^82.0.0",
40
+ "@atlaskit/tmp-editor-statsig": "^82.4.0",
41
41
  "@atlaskit/tokens": "^13.0.0",
42
42
  "@atlaskit/tooltip": "^22.2.0",
43
43
  "@babel/runtime": "^7.0.0",
@@ -51,6 +51,7 @@
51
51
  "devDependencies": {
52
52
  "@atlassian/react-compiler-gating": "workspace:^",
53
53
  "@testing-library/react": "^16.3.0",
54
+ "react": "^18.2.0",
54
55
  "react-dom": "^18.2.0",
55
56
  "react-intl": "^6.6.2"
56
57
  },