@atlaskit/editor-plugin-extension 5.5.13 → 5.5.14

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-plugin-extension
2
2
 
3
+ ## 5.5.14
4
+
5
+ ### Patch Changes
6
+
7
+ - [#180417](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/180417)
8
+ [`4850015153c2f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4850015153c2f) -
9
+ [ux] Fixes A11Y issue by adding label to the checkbox that has toggle apperance in the Config
10
+ panel.
11
+
3
12
  ## 5.5.13
4
13
 
5
14
  ### Patch Changes
@@ -123,7 +123,6 @@ function Toggle(_ref3) {
123
123
  css: toggleFieldWrapperStyles
124
124
  }, (0, _react2.jsx)("label", {
125
125
  css: toggleLabelStyles,
126
- id: id,
127
126
  htmlFor: id
128
127
  }, label, isRequired ? (0, _react2.jsx)(_compiled.Text, {
129
128
  color: "color.text.danger",
@@ -135,7 +134,8 @@ function Toggle(_ref3) {
135
134
  onChange: function onChange(event) {
136
135
  return handleOnChange(fieldProps.onChange, onFieldChange, event);
137
136
  },
138
- isChecked: parseBoolean(isChecked)
137
+ isChecked: parseBoolean(isChecked),
138
+ id: id
139
139
  }))), (0, _react2.jsx)(_FieldMessages.default, {
140
140
  error: error,
141
141
  description: description
@@ -114,7 +114,6 @@ function Toggle({
114
114
  css: toggleFieldWrapperStyles
115
115
  }, jsx("label", {
116
116
  css: toggleLabelStyles,
117
- id: id,
118
117
  htmlFor: id
119
118
  }, label, isRequired ? jsx(Text, {
120
119
  color: "color.text.danger",
@@ -124,7 +123,8 @@ function Toggle({
124
123
  // eslint-disable-next-line react/jsx-props-no-spreading
125
124
  , _extends({}, restFieldProps, {
126
125
  onChange: event => handleOnChange(fieldProps.onChange, onFieldChange, event),
127
- isChecked: parseBoolean(isChecked)
126
+ isChecked: parseBoolean(isChecked),
127
+ id: id
128
128
  }))), jsx(FieldMessages, {
129
129
  error: error,
130
130
  description: description
@@ -115,7 +115,6 @@ function Toggle(_ref3) {
115
115
  css: toggleFieldWrapperStyles
116
116
  }, jsx("label", {
117
117
  css: toggleLabelStyles,
118
- id: id,
119
118
  htmlFor: id
120
119
  }, label, isRequired ? jsx(Text, {
121
120
  color: "color.text.danger",
@@ -127,7 +126,8 @@ function Toggle(_ref3) {
127
126
  onChange: function onChange(event) {
128
127
  return handleOnChange(fieldProps.onChange, onFieldChange, event);
129
128
  },
130
- isChecked: parseBoolean(isChecked)
129
+ isChecked: parseBoolean(isChecked),
130
+ id: id
131
131
  }))), jsx(FieldMessages, {
132
132
  error: error,
133
133
  description: description
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "5.5.13",
3
+ "version": "5.5.14",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,7 +31,7 @@
31
31
  "@atlaskit/button": "^23.2.0",
32
32
  "@atlaskit/checkbox": "^17.1.0",
33
33
  "@atlaskit/datetime-picker": "^17.0.0",
34
- "@atlaskit/editor-common": "^107.3.0",
34
+ "@atlaskit/editor-common": "^107.4.0",
35
35
  "@atlaskit/editor-json-transformer": "^8.24.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
37
37
  "@atlaskit/editor-plugin-connectivity": "^2.0.0",
@@ -59,7 +59,7 @@
59
59
  "@atlaskit/textarea": "^8.0.0",
60
60
  "@atlaskit/textfield": "^8.0.0",
61
61
  "@atlaskit/theme": "^18.0.0",
62
- "@atlaskit/tmp-editor-statsig": "^8.5.0",
62
+ "@atlaskit/tmp-editor-statsig": "^8.6.0",
63
63
  "@atlaskit/toggle": "^15.0.0",
64
64
  "@atlaskit/tokens": "^5.4.0",
65
65
  "@atlaskit/tooltip": "^20.3.0",