@atlaskit/link-create 2.7.3 → 2.7.4

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/link-create
2
2
 
3
+ ## 2.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#116062](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116062)
8
+ [`54819d8fde827`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/54819d8fde827) -
9
+ [ux] Improve accessibility of the link create create form component
10
+
3
11
  ## 2.7.3
4
12
 
5
13
  ### Patch Changes
@@ -13,7 +13,7 @@ var CREATE_FORM_MIN_HEIGHT_IN_PX = exports.CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
13
13
  var LINK_CREATE_FORM_POST_CREATE_FIELD = exports.LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
14
14
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
15
15
  packageName: "@atlaskit/link-create" || '',
16
- packageVersion: "2.7.3" || '',
16
+ packageVersion: "2.7.4" || '',
17
17
  component: COMPONENT_NAME,
18
18
  componentName: COMPONENT_NAME
19
19
  };
@@ -155,9 +155,7 @@ var CreateForm = exports.CreateForm = function CreateForm(_ref) {
155
155
  });
156
156
  setShouldShowWarning(isModified);
157
157
  }
158
- }), (0, _react2.jsx)("p", {
159
- "aria-hidden": "true"
160
- }, intl.formatMessage(_messages.default.requiredFieldInstruction), " ", (0, _react2.jsx)(_form.RequiredAsterisk, null)), (0, _react2.jsx)(_primitives.Box, null, children), !hideFooter && (0, _react2.jsx)(_formFooter.CreateFormFooter
158
+ }), (0, _react2.jsx)("p", null, intl.formatMessage(_messages.default.requiredFieldInstruction), " ", (0, _react2.jsx)(_form.RequiredAsterisk, null)), (0, _react2.jsx)(_primitives.Box, null, children), !hideFooter && (0, _react2.jsx)(_formFooter.CreateFormFooter
161
159
  /**
162
160
  * We will prefer to render the error message connected to
163
161
  * react final form state (submitError) otherwise we can
@@ -7,7 +7,7 @@ export const CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
7
7
  export const LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
8
8
  export const PACKAGE_DATA = {
9
9
  packageName: "@atlaskit/link-create" || '',
10
- packageVersion: "2.7.3" || '',
10
+ packageVersion: "2.7.4" || '',
11
11
  component: COMPONENT_NAME,
12
12
  componentName: COMPONENT_NAME
13
13
  };
@@ -122,9 +122,7 @@ export const CreateForm = ({
122
122
  const isModified = Object.values(state.modified).some(value => value);
123
123
  setShouldShowWarning(isModified);
124
124
  }
125
- }), jsx("p", {
126
- "aria-hidden": "true"
127
- }, intl.formatMessage(messages.requiredFieldInstruction), " ", jsx(RequiredAsterisk, null)), jsx(Box, null, children), !hideFooter && jsx(CreateFormFooter
125
+ }), jsx("p", null, intl.formatMessage(messages.requiredFieldInstruction), " ", jsx(RequiredAsterisk, null)), jsx(Box, null, children), !hideFooter && jsx(CreateFormFooter
128
126
  /**
129
127
  * We will prefer to render the error message connected to
130
128
  * react final form state (submitError) otherwise we can
@@ -7,7 +7,7 @@ export var CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
7
7
  export var LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
8
8
  export var PACKAGE_DATA = {
9
9
  packageName: "@atlaskit/link-create" || '',
10
- packageVersion: "2.7.3" || '',
10
+ packageVersion: "2.7.4" || '',
11
11
  component: COMPONENT_NAME,
12
12
  componentName: COMPONENT_NAME
13
13
  };
@@ -151,9 +151,7 @@ export var CreateForm = function CreateForm(_ref) {
151
151
  });
152
152
  setShouldShowWarning(isModified);
153
153
  }
154
- }), jsx("p", {
155
- "aria-hidden": "true"
156
- }, intl.formatMessage(messages.requiredFieldInstruction), " ", jsx(RequiredAsterisk, null)), jsx(Box, null, children), !hideFooter && jsx(CreateFormFooter
154
+ }), jsx("p", null, intl.formatMessage(messages.requiredFieldInstruction), " ", jsx(RequiredAsterisk, null)), jsx(Box, null, children), !hideFooter && jsx(CreateFormFooter
157
155
  /**
158
156
  * We will prefer to render the error message connected to
159
157
  * react final form state (submitError) otherwise we can
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "2.7.3",
3
+ "version": "2.7.4",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",