@atlaskit/link-create 4.0.0 → 4.0.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 +9 -0
- package/dist/cjs/common/constants.js +1 -1
- package/dist/cjs/common/ui/message/index.compiled.css +1 -1
- package/dist/cjs/common/ui/message/index.js +1 -1
- package/dist/cjs/i18n/en.js +2 -0
- package/dist/cjs/i18n/en_GB.js +2 -0
- package/dist/cjs/i18n/en_ZZ.js +2 -0
- package/dist/cjs/ui/create-form/textfield/main.js +2 -1
- package/dist/es2019/common/constants.js +1 -1
- package/dist/es2019/common/ui/message/index.compiled.css +1 -1
- package/dist/es2019/common/ui/message/index.js +1 -1
- package/dist/es2019/i18n/en.js +2 -0
- package/dist/es2019/i18n/en_GB.js +2 -0
- package/dist/es2019/i18n/en_ZZ.js +2 -0
- package/dist/es2019/ui/create-form/textfield/main.js +2 -1
- package/dist/esm/common/constants.js +1 -1
- package/dist/esm/common/ui/message/index.compiled.css +1 -1
- package/dist/esm/common/ui/message/index.js +1 -1
- package/dist/esm/i18n/en.js +2 -0
- package/dist/esm/i18n/en_GB.js +2 -0
- package/dist/esm/i18n/en_ZZ.js +2 -0
- package/dist/esm/ui/create-form/textfield/main.js +2 -1
- package/dist/types/i18n/en.d.ts +2 -0
- package/dist/types/i18n/en_GB.d.ts +2 -0
- package/dist/types/i18n/en_ZZ.d.ts +2 -0
- package/dist/types-ts4.5/i18n/en.d.ts +2 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +2 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +2 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/link-create
|
|
2
2
|
|
|
3
|
+
## 4.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#122245](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/122245)
|
|
8
|
+
[`42c3b7e791c88`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/42c3b7e791c88) -
|
|
9
|
+
EDM-11905 adding aria-label to make forms accessible in link-create
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 4.0.0
|
|
4
13
|
|
|
5
14
|
### Major Changes
|
|
@@ -16,7 +16,7 @@ var CREATE_FORM_MIN_HEIGHT_IN_PX = exports.CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
|
|
|
16
16
|
var LINK_CREATE_FORM_POST_CREATE_FIELD = exports.LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
|
|
17
17
|
var PACKAGE_DATA = exports.PACKAGE_DATA = {
|
|
18
18
|
packageName: "@atlaskit/link-create" || '',
|
|
19
|
-
packageVersion: "4.0.
|
|
19
|
+
packageVersion: "4.0.1" || '',
|
|
20
20
|
component: COMPONENT_NAME,
|
|
21
21
|
componentName: COMPONENT_NAME
|
|
22
22
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._zulp1b66{gap:var(--ds-space-050,4px)}
|
|
3
3
|
._12l2v77o{margin-inline-end:var(--ds-space-025,2px)}
|
|
4
4
|
._1bah1q9y{justify-content:baseline}
|
|
@@ -17,7 +17,7 @@ var _compiled = require("@atlaskit/primitives/compiled");
|
|
|
17
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
18
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
19
|
var styles = {
|
|
20
|
-
message: "_zulp1b66
|
|
20
|
+
message: "_zulp1b66 _11c8dcr7 _1e0c1txw _1bah1q9y _1pfh1b66"
|
|
21
21
|
};
|
|
22
22
|
var messageAppearanceStyles = {
|
|
23
23
|
default: "_syaz131l",
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -13,6 +13,8 @@ exports.default = void 0;
|
|
|
13
13
|
*/
|
|
14
14
|
//
|
|
15
15
|
var _default = exports.default = {
|
|
16
|
+
'link-create.live-doc-icon-label': 'Live Doc',
|
|
17
|
+
'link-create.page-icon-label': 'Page',
|
|
16
18
|
'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
|
|
17
19
|
'link-create.unknown-error.heading': 'Something went wrong.',
|
|
18
20
|
'linkCreate.CreateConfluencePage.form.site.label': 'Site',
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -13,6 +13,8 @@ exports.default = void 0;
|
|
|
13
13
|
*/
|
|
14
14
|
//English (United Kingdom)
|
|
15
15
|
var _default = exports.default = {
|
|
16
|
+
'link-create.live-doc-icon-label': 'Live Doc',
|
|
17
|
+
'link-create.page-icon-label': 'Page',
|
|
16
18
|
'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
|
|
17
19
|
'link-create.unknown-error.heading': 'Something went wrong.',
|
|
18
20
|
'linkCreate.CreateConfluencePage.form.site.label': 'Site',
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -13,6 +13,8 @@ exports.default = void 0;
|
|
|
13
13
|
*/
|
|
14
14
|
//
|
|
15
15
|
var _default = exports.default = {
|
|
16
|
+
'link-create.live-doc-icon-label': 'Live Doc',
|
|
17
|
+
'link-create.page-icon-label': 'Page',
|
|
16
18
|
'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
|
|
17
19
|
'link-create.unknown-error.heading': 'Something went wrong.',
|
|
18
20
|
'linkCreate.CreateConfluencePage.form.site.label': 'Site',
|
|
@@ -42,7 +42,8 @@ var TextField = exports.TextField = function TextField(_ref) {
|
|
|
42
42
|
var fieldId = _ref2.fieldId,
|
|
43
43
|
fieldProps = (0, _objectWithoutProperties2.default)(_ref2, _excluded2);
|
|
44
44
|
return /*#__PURE__*/_react.default.createElement(_textfield.default, (0, _extends2.default)({
|
|
45
|
-
id: fieldId
|
|
45
|
+
id: fieldId,
|
|
46
|
+
"aria-label": label !== null && label !== void 0 ? label : name
|
|
46
47
|
}, fieldProps, restProps));
|
|
47
48
|
});
|
|
48
49
|
};
|
|
@@ -10,7 +10,7 @@ export const CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
|
|
|
10
10
|
export const LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
|
|
11
11
|
export const PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/link-create" || '',
|
|
13
|
-
packageVersion: "4.0.
|
|
13
|
+
packageVersion: "4.0.1" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._zulp1b66{gap:var(--ds-space-050,4px)}
|
|
3
3
|
._12l2v77o{margin-inline-end:var(--ds-space-025,2px)}
|
|
4
4
|
._1bah1q9y{justify-content:baseline}
|
|
@@ -7,7 +7,7 @@ import SuccessIcon from '@atlaskit/icon/utility/check-circle';
|
|
|
7
7
|
import ErrorIcon from '@atlaskit/icon/utility/error';
|
|
8
8
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
9
9
|
const styles = {
|
|
10
|
-
message: "_zulp1b66
|
|
10
|
+
message: "_zulp1b66 _11c8dcr7 _1e0c1txw _1bah1q9y _1pfh1b66"
|
|
11
11
|
};
|
|
12
12
|
const messageAppearanceStyles = {
|
|
13
13
|
default: "_syaz131l",
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//
|
|
9
9
|
export default {
|
|
10
|
+
'link-create.live-doc-icon-label': 'Live Doc',
|
|
11
|
+
'link-create.page-icon-label': 'Page',
|
|
10
12
|
'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
|
|
11
13
|
'link-create.unknown-error.heading': 'Something went wrong.',
|
|
12
14
|
'linkCreate.CreateConfluencePage.form.site.label': 'Site',
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//English (United Kingdom)
|
|
9
9
|
export default {
|
|
10
|
+
'link-create.live-doc-icon-label': 'Live Doc',
|
|
11
|
+
'link-create.page-icon-label': 'Page',
|
|
10
12
|
'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
|
|
11
13
|
'link-create.unknown-error.heading': 'Something went wrong.',
|
|
12
14
|
'linkCreate.CreateConfluencePage.form.site.label': 'Site',
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//
|
|
9
9
|
export default {
|
|
10
|
+
'link-create.live-doc-icon-label': 'Live Doc',
|
|
11
|
+
'link-create.page-icon-label': 'Page',
|
|
10
12
|
'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
|
|
11
13
|
'link-create.unknown-error.heading': 'Something went wrong.',
|
|
12
14
|
'linkCreate.CreateConfluencePage.form.site.label': 'Site',
|
|
@@ -33,7 +33,8 @@ export const TextField = ({
|
|
|
33
33
|
...fieldProps
|
|
34
34
|
}) => {
|
|
35
35
|
return /*#__PURE__*/React.createElement(AkTextfield, _extends({
|
|
36
|
-
id: fieldId
|
|
36
|
+
id: fieldId,
|
|
37
|
+
"aria-label": label !== null && label !== void 0 ? label : name
|
|
37
38
|
}, fieldProps, restProps));
|
|
38
39
|
});
|
|
39
40
|
};
|
|
@@ -10,7 +10,7 @@ export var CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
|
|
|
10
10
|
export var LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
|
|
11
11
|
export var PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/link-create" || '',
|
|
13
|
-
packageVersion: "4.0.
|
|
13
|
+
packageVersion: "4.0.1" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._zulp1b66{gap:var(--ds-space-050,4px)}
|
|
3
3
|
._12l2v77o{margin-inline-end:var(--ds-space-025,2px)}
|
|
4
4
|
._1bah1q9y{justify-content:baseline}
|
|
@@ -7,7 +7,7 @@ import SuccessIcon from '@atlaskit/icon/utility/check-circle';
|
|
|
7
7
|
import ErrorIcon from '@atlaskit/icon/utility/error';
|
|
8
8
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
9
9
|
var styles = {
|
|
10
|
-
message: "_zulp1b66
|
|
10
|
+
message: "_zulp1b66 _11c8dcr7 _1e0c1txw _1bah1q9y _1pfh1b66"
|
|
11
11
|
};
|
|
12
12
|
var messageAppearanceStyles = {
|
|
13
13
|
default: "_syaz131l",
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//
|
|
9
9
|
export default {
|
|
10
|
+
'link-create.live-doc-icon-label': 'Live Doc',
|
|
11
|
+
'link-create.page-icon-label': 'Page',
|
|
10
12
|
'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
|
|
11
13
|
'link-create.unknown-error.heading': 'Something went wrong.',
|
|
12
14
|
'linkCreate.CreateConfluencePage.form.site.label': 'Site',
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//English (United Kingdom)
|
|
9
9
|
export default {
|
|
10
|
+
'link-create.live-doc-icon-label': 'Live Doc',
|
|
11
|
+
'link-create.page-icon-label': 'Page',
|
|
10
12
|
'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
|
|
11
13
|
'link-create.unknown-error.heading': 'Something went wrong.',
|
|
12
14
|
'linkCreate.CreateConfluencePage.form.site.label': 'Site',
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
//
|
|
9
9
|
export default {
|
|
10
|
+
'link-create.live-doc-icon-label': 'Live Doc',
|
|
11
|
+
'link-create.page-icon-label': 'Page',
|
|
10
12
|
'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
|
|
11
13
|
'link-create.unknown-error.heading': 'Something went wrong.',
|
|
12
14
|
'linkCreate.CreateConfluencePage.form.site.label': 'Site',
|
|
@@ -35,7 +35,8 @@ export var TextField = function TextField(_ref) {
|
|
|
35
35
|
var fieldId = _ref2.fieldId,
|
|
36
36
|
fieldProps = _objectWithoutProperties(_ref2, _excluded2);
|
|
37
37
|
return /*#__PURE__*/React.createElement(AkTextfield, _extends({
|
|
38
|
-
id: fieldId
|
|
38
|
+
id: fieldId,
|
|
39
|
+
"aria-label": label !== null && label !== void 0 ? label : name
|
|
39
40
|
}, fieldProps, restProps));
|
|
40
41
|
});
|
|
41
42
|
};
|
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
7
|
declare const _default: {
|
|
8
|
+
'link-create.live-doc-icon-label': string;
|
|
9
|
+
'link-create.page-icon-label': string;
|
|
8
10
|
'link-create.unknown-error.description': string;
|
|
9
11
|
'link-create.unknown-error.heading': string;
|
|
10
12
|
'linkCreate.CreateConfluencePage.form.site.label': string;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
7
|
declare const _default: {
|
|
8
|
+
'link-create.live-doc-icon-label': string;
|
|
9
|
+
'link-create.page-icon-label': string;
|
|
8
10
|
'link-create.unknown-error.description': string;
|
|
9
11
|
'link-create.unknown-error.heading': string;
|
|
10
12
|
'linkCreate.CreateConfluencePage.form.site.label': string;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
7
|
declare const _default: {
|
|
8
|
+
'link-create.live-doc-icon-label': string;
|
|
9
|
+
'link-create.page-icon-label': string;
|
|
8
10
|
'link-create.unknown-error.description': string;
|
|
9
11
|
'link-create.unknown-error.heading': string;
|
|
10
12
|
'linkCreate.CreateConfluencePage.form.site.label': string;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
7
|
declare const _default: {
|
|
8
|
+
'link-create.live-doc-icon-label': string;
|
|
9
|
+
'link-create.page-icon-label': string;
|
|
8
10
|
'link-create.unknown-error.description': string;
|
|
9
11
|
'link-create.unknown-error.heading': string;
|
|
10
12
|
'linkCreate.CreateConfluencePage.form.site.label': string;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
7
|
declare const _default: {
|
|
8
|
+
'link-create.live-doc-icon-label': string;
|
|
9
|
+
'link-create.page-icon-label': string;
|
|
8
10
|
'link-create.unknown-error.description': string;
|
|
9
11
|
'link-create.unknown-error.heading': string;
|
|
10
12
|
'linkCreate.CreateConfluencePage.form.site.label': string;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
7
|
declare const _default: {
|
|
8
|
+
'link-create.live-doc-icon-label': string;
|
|
9
|
+
'link-create.page-icon-label': string;
|
|
8
10
|
'link-create.unknown-error.description': string;
|
|
9
11
|
'link-create.unknown-error.heading': string;
|
|
10
12
|
'linkCreate.CreateConfluencePage.form.site.label': string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-create",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "The driver component of meta creation flow",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
56
56
|
"@atlaskit/spinner": "^18.0.0",
|
|
57
57
|
"@atlaskit/textfield": "^8.0.0",
|
|
58
|
-
"@atlaskit/theme": "^
|
|
59
|
-
"@atlaskit/tokens": "^4.
|
|
58
|
+
"@atlaskit/theme": "^18.0.0",
|
|
59
|
+
"@atlaskit/tokens": "^4.3.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|
|
61
61
|
"@compiled/react": "^0.18.2",
|
|
62
62
|
"debounce-promise": "^3.1.2",
|