@atlaskit/editor-toolbar 2.6.42 → 2.6.43

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,13 @@
1
1
  # @atlaskit/editor-toolbar
2
2
 
3
+ ## 2.6.43
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9f67d7a39831c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f67d7a39831c) -
8
+ Clean up experiment `editor_a11y__primary-toolbar-aria-label_fy27`
9
+ - Updated dependencies
10
+
3
11
  ## 2.6.42
4
12
 
5
13
  ### Patch Changes
@@ -68,22 +68,17 @@ var Toolbar = exports.Toolbar = function Toolbar(_ref) {
68
68
  }
69
69
  return /*#__PURE__*/_react.default.createElement(_ResponsiveContainer.ResponsiveWrapper, null, wrappedToolbar);
70
70
  };
71
-
72
- // remove { label?: string } when cleaning up editor_a11y__primary-toolbar-aria-label_fy27
73
-
74
71
  /**
75
72
  * A simple component representing a toolbar without box shadows - used to represent a primary toolbar
76
73
  */
77
74
  var PrimaryToolbar = exports.PrimaryToolbar = function PrimaryToolbar(_ref2) {
78
75
  var children = _ref2.children,
79
- label = _ref2.label,
80
76
  breakpointPreset = _ref2.breakpointPreset,
81
77
  testId = _ref2.testId;
82
78
  return /*#__PURE__*/_react.default.createElement(_ResponsiveContainer.ResponsiveContainer, {
83
79
  breakpointPreset: breakpointPreset
84
80
  }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
85
81
  xcss: (0, _css.cx)(styles.toolbarBase, styles.primaryToolbar, styles.hiddenSelectors),
86
- "aria-label": label,
87
82
  "data-toolbar-type": "primary",
88
83
  testId: testId
89
84
  }, children));
@@ -65,15 +65,11 @@ export const Toolbar = ({
65
65
  }
66
66
  return /*#__PURE__*/React.createElement(ResponsiveWrapper, null, wrappedToolbar);
67
67
  };
68
-
69
- // remove { label?: string } when cleaning up editor_a11y__primary-toolbar-aria-label_fy27
70
-
71
68
  /**
72
69
  * A simple component representing a toolbar without box shadows - used to represent a primary toolbar
73
70
  */
74
71
  export const PrimaryToolbar = ({
75
72
  children,
76
- label,
77
73
  breakpointPreset,
78
74
  testId
79
75
  }) => {
@@ -81,7 +77,6 @@ export const PrimaryToolbar = ({
81
77
  breakpointPreset: breakpointPreset
82
78
  }, /*#__PURE__*/React.createElement(Box, {
83
79
  xcss: cx(styles.toolbarBase, styles.primaryToolbar, styles.hiddenSelectors),
84
- "aria-label": label,
85
80
  "data-toolbar-type": "primary",
86
81
  testId: testId
87
82
  }, children));
@@ -61,22 +61,17 @@ export var Toolbar = function Toolbar(_ref) {
61
61
  }
62
62
  return /*#__PURE__*/React.createElement(ResponsiveWrapper, null, wrappedToolbar);
63
63
  };
64
-
65
- // remove { label?: string } when cleaning up editor_a11y__primary-toolbar-aria-label_fy27
66
-
67
64
  /**
68
65
  * A simple component representing a toolbar without box shadows - used to represent a primary toolbar
69
66
  */
70
67
  export var PrimaryToolbar = function PrimaryToolbar(_ref2) {
71
68
  var children = _ref2.children,
72
- label = _ref2.label,
73
69
  breakpointPreset = _ref2.breakpointPreset,
74
70
  testId = _ref2.testId;
75
71
  return /*#__PURE__*/React.createElement(ResponsiveContainer, {
76
72
  breakpointPreset: breakpointPreset
77
73
  }, /*#__PURE__*/React.createElement(Box, {
78
74
  xcss: cx(styles.toolbarBase, styles.primaryToolbar, styles.hiddenSelectors),
79
- "aria-label": label,
80
75
  "data-toolbar-type": "primary",
81
76
  testId: testId
82
77
  }, children));
@@ -18,11 +18,9 @@ type ToolbarProps = {
18
18
  * @note: Responsiveness support replies on container query with container editor-area and media query
19
19
  */
20
20
  export declare const Toolbar: ({ children, label, actionSubjectId, testId, }: ToolbarProps) => React.JSX.Element;
21
- type PrimaryToolbarProps = Omit<ToolbarProps, 'label'> & ResponsiveContainerProps & {
22
- label?: string;
23
- };
21
+ type PrimaryToolbarProps = Omit<ToolbarProps, 'label'> & ResponsiveContainerProps;
24
22
  /**
25
23
  * A simple component representing a toolbar without box shadows - used to represent a primary toolbar
26
24
  */
27
- export declare const PrimaryToolbar: ({ children, label, breakpointPreset, testId, }: PrimaryToolbarProps) => React.JSX.Element;
25
+ export declare const PrimaryToolbar: ({ children, breakpointPreset, testId, }: PrimaryToolbarProps) => React.JSX.Element;
28
26
  export {};
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org/"
5
5
  },
6
- "version": "2.6.42",
6
+ "version": "2.6.43",
7
7
  "description": "Common UI for Toolbars across the platform",
8
8
  "atlassian": {
9
9
  "react-compiler": {
@@ -40,7 +40,7 @@
40
40
  "@atlaskit/popup": "^6.3.0",
41
41
  "@atlaskit/primitives": "^22.5.0",
42
42
  "@atlaskit/react-compiler-gating": "^0.2.0",
43
- "@atlaskit/tmp-editor-statsig": "^197.0.0",
43
+ "@atlaskit/tmp-editor-statsig": "^198.0.0",
44
44
  "@atlaskit/tokens": "^17.0.0",
45
45
  "@atlaskit/tooltip": "^24.3.0",
46
46
  "@babel/runtime": "^7.0.0",