@atlaskit/link-create 2.6.0 → 2.7.0

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.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#112648](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/112648)
8
+ [`3cd8fd44d0d08`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3cd8fd44d0d08) -
9
+ Export new InlineCreate component alongside related docs
10
+
3
11
  ## 2.6.0
4
12
 
5
13
  ### Minor 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.6.0" || '',
16
+ packageVersion: "2.7.0" || '',
17
17
  component: COMPONENT_NAME,
18
18
  componentName: COMPONENT_NAME
19
19
  };
package/dist/cjs/index.js CHANGED
@@ -34,6 +34,12 @@ Object.defineProperty(exports, "FormSpy", {
34
34
  return _index.FormSpy;
35
35
  }
36
36
  });
37
+ Object.defineProperty(exports, "InlineCreate", {
38
+ enumerable: true,
39
+ get: function get() {
40
+ return _index.InlineCreate;
41
+ }
42
+ });
37
43
  Object.defineProperty(exports, "LinkCreateCallbackProvider", {
38
44
  enumerable: true,
39
45
  get: function get() {
@@ -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.6.0" || '',
10
+ packageVersion: "2.7.0" || '',
11
11
  component: COMPONENT_NAME,
12
12
  componentName: COMPONENT_NAME
13
13
  };
@@ -1,7 +1,4 @@
1
- export { AsyncSelect, CreateForm, CreateFormLoader, FormSpy, Select, SiteSelect, TextField,
2
- // todo: EDM-10077 - export this once inline-create is tested/ready
3
- //InlineCreate,
4
- UserPicker, default } from './ui/index';
1
+ export { AsyncSelect, CreateForm, CreateFormLoader, FormSpy, Select, SiteSelect, TextField, InlineCreate, UserPicker, default } from './ui/index';
5
2
  export { LinkCreateCallbackProvider, useLinkCreateCallback } from './controllers/callback-context';
6
3
  export { ExitWarningModalProvider as LinkCreateExitWarningProvider, useWithExitWarning } from './controllers/exit-warning-modal-context';
7
4
  export { FORM_ERROR } from 'final-form';
@@ -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.6.0" || '',
10
+ packageVersion: "2.7.0" || '',
11
11
  component: COMPONENT_NAME,
12
12
  componentName: COMPONENT_NAME
13
13
  };
package/dist/esm/index.js CHANGED
@@ -1,7 +1,4 @@
1
- export { AsyncSelect, CreateForm, CreateFormLoader, FormSpy, Select, SiteSelect, TextField,
2
- // todo: EDM-10077 - export this once inline-create is tested/ready
3
- //InlineCreate,
4
- UserPicker, default } from './ui/index';
1
+ export { AsyncSelect, CreateForm, CreateFormLoader, FormSpy, Select, SiteSelect, TextField, InlineCreate, UserPicker, default } from './ui/index';
5
2
  export { LinkCreateCallbackProvider, useLinkCreateCallback } from './controllers/callback-context';
6
3
  export { ExitWarningModalProvider as LinkCreateExitWarningProvider, useWithExitWarning } from './controllers/exit-warning-modal-context';
7
4
  export { FORM_ERROR } from 'final-form';
@@ -1,6 +1,6 @@
1
1
  export type { CreatePayload, EditViewProps, LinkCreatePlugin, LinkCreateProps, LinkCreateWithModalProps, } from './common/types';
2
2
  export type { CreateFormProps } from './ui/index';
3
- export { AsyncSelect, CreateForm, CreateFormLoader, FormSpy, Select, SiteSelect, TextField, UserPicker, default, type SitePickerOptionType, } from './ui/index';
3
+ export { AsyncSelect, CreateForm, CreateFormLoader, FormSpy, Select, SiteSelect, TextField, InlineCreate, UserPicker, default, type SitePickerOptionType, } from './ui/index';
4
4
  export { LinkCreateCallbackProvider, useLinkCreateCallback } from './controllers/callback-context';
5
5
  export { ExitWarningModalProvider as LinkCreateExitWarningProvider, useWithExitWarning, } from './controllers/exit-warning-modal-context';
6
6
  export type { Validator, ValidatorMap } from './common/types';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { jsx } from '@emotion/react';
3
- import type { LinkCreateWithModalProps } from '../../common/types';
4
- declare const ComposedLinkCreate: import("react").MemoExoticComponent<(props: LinkCreateWithModalProps) => jsx.JSX.Element>;
3
+ import type { LinkCreateProps } from '../../common/types';
4
+ declare const ComposedLinkCreate: import("react").MemoExoticComponent<(props: LinkCreateProps) => jsx.JSX.Element>;
5
5
  export default ComposedLinkCreate;
@@ -1,6 +1,6 @@
1
1
  export type { CreatePayload, EditViewProps, LinkCreatePlugin, LinkCreateProps, LinkCreateWithModalProps, } from './common/types';
2
2
  export type { CreateFormProps } from './ui/index';
3
- export { AsyncSelect, CreateForm, CreateFormLoader, FormSpy, Select, SiteSelect, TextField, UserPicker, default, type SitePickerOptionType, } from './ui/index';
3
+ export { AsyncSelect, CreateForm, CreateFormLoader, FormSpy, Select, SiteSelect, TextField, InlineCreate, UserPicker, default, type SitePickerOptionType, } from './ui/index';
4
4
  export { LinkCreateCallbackProvider, useLinkCreateCallback } from './controllers/callback-context';
5
5
  export { ExitWarningModalProvider as LinkCreateExitWarningProvider, useWithExitWarning, } from './controllers/exit-warning-modal-context';
6
6
  export type { Validator, ValidatorMap } from './common/types';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { jsx } from '@emotion/react';
3
- import type { LinkCreateWithModalProps } from '../../common/types';
4
- declare const ComposedLinkCreate: import("react").MemoExoticComponent<(props: LinkCreateWithModalProps) => jsx.JSX.Element>;
3
+ import type { LinkCreateProps } from '../../common/types';
4
+ declare const ComposedLinkCreate: import("react").MemoExoticComponent<(props: LinkCreateProps) => jsx.JSX.Element>;
5
5
  export default ComposedLinkCreate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",