@atlaskit/link-create 5.1.4 → 5.2.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 +13 -0
- package/async-select/package.json +17 -0
- package/callback-context/package.json +17 -0
- package/create-field/package.json +17 -0
- package/create-form/package.json +17 -0
- package/dist/cjs/common/constants.js +1 -1
- package/dist/cjs/entry-points/async-select.js +12 -0
- package/dist/cjs/entry-points/callback-context.js +18 -0
- package/dist/cjs/entry-points/create-field.js +12 -0
- package/dist/cjs/entry-points/create-form.js +12 -0
- package/dist/cjs/entry-points/exit-warning-modal.js +18 -0
- package/dist/cjs/entry-points/final-form.js +12 -0
- package/dist/cjs/entry-points/form-loader.js +12 -0
- package/dist/cjs/entry-points/form-spy.js +12 -0
- package/dist/cjs/entry-points/icons.js +24 -0
- package/dist/cjs/entry-points/inline-create.js +13 -0
- package/dist/cjs/entry-points/modal-create.js +13 -0
- package/dist/cjs/entry-points/select.js +18 -0
- package/dist/cjs/entry-points/text-field.js +12 -0
- package/dist/cjs/entry-points/types.js +1 -0
- package/dist/cjs/entry-points/user-picker.js +12 -0
- package/dist/cjs/index.js +13 -13
- package/dist/es2019/common/constants.js +1 -1
- package/dist/es2019/entry-points/async-select.js +1 -0
- package/dist/es2019/entry-points/callback-context.js +1 -0
- package/dist/es2019/entry-points/create-field.js +1 -0
- package/dist/es2019/entry-points/create-form.js +1 -0
- package/dist/es2019/entry-points/exit-warning-modal.js +1 -0
- package/dist/es2019/entry-points/final-form.js +1 -0
- package/dist/es2019/entry-points/form-loader.js +1 -0
- package/dist/es2019/entry-points/form-spy.js +1 -0
- package/dist/es2019/entry-points/icons.js +1 -0
- package/dist/es2019/entry-points/inline-create.js +1 -0
- package/dist/es2019/entry-points/modal-create.js +1 -0
- package/dist/es2019/entry-points/select.js +1 -0
- package/dist/es2019/entry-points/text-field.js +1 -0
- package/dist/es2019/entry-points/types.js +0 -0
- package/dist/es2019/entry-points/user-picker.js +1 -0
- package/dist/es2019/index.js +38 -1
- package/dist/esm/common/constants.js +1 -1
- package/dist/esm/entry-points/async-select.js +1 -0
- package/dist/esm/entry-points/callback-context.js +1 -0
- package/dist/esm/entry-points/create-field.js +1 -0
- package/dist/esm/entry-points/create-form.js +1 -0
- package/dist/esm/entry-points/exit-warning-modal.js +1 -0
- package/dist/esm/entry-points/final-form.js +1 -0
- package/dist/esm/entry-points/form-loader.js +1 -0
- package/dist/esm/entry-points/form-spy.js +1 -0
- package/dist/esm/entry-points/icons.js +1 -0
- package/dist/esm/entry-points/inline-create.js +1 -0
- package/dist/esm/entry-points/modal-create.js +1 -0
- package/dist/esm/entry-points/select.js +1 -0
- package/dist/esm/entry-points/text-field.js +1 -0
- package/dist/esm/entry-points/types.js +0 -0
- package/dist/esm/entry-points/user-picker.js +1 -0
- package/dist/esm/index.js +38 -1
- package/dist/types/entry-points/async-select.d.ts +1 -0
- package/dist/types/entry-points/callback-context.d.ts +1 -0
- package/dist/types/entry-points/create-field.d.ts +1 -0
- package/dist/types/entry-points/create-form.d.ts +2 -0
- package/dist/types/entry-points/exit-warning-modal.d.ts +1 -0
- package/dist/types/entry-points/final-form.d.ts +1 -0
- package/dist/types/entry-points/form-loader.d.ts +1 -0
- package/dist/types/entry-points/form-spy.d.ts +1 -0
- package/dist/types/entry-points/icons.d.ts +1 -0
- package/dist/types/entry-points/inline-create.d.ts +1 -0
- package/dist/types/entry-points/modal-create.d.ts +1 -0
- package/dist/types/entry-points/select.d.ts +2 -0
- package/dist/types/entry-points/text-field.d.ts +1 -0
- package/dist/types/entry-points/types.d.ts +1 -0
- package/dist/types/entry-points/user-picker.d.ts +1 -0
- package/dist/types/index.d.ts +26 -1
- package/dist/types-ts4.5/entry-points/async-select.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/callback-context.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/create-field.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/create-form.d.ts +2 -0
- package/dist/types-ts4.5/entry-points/exit-warning-modal.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/final-form.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/form-loader.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/form-spy.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/icons.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/inline-create.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/modal-create.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/select.d.ts +2 -0
- package/dist/types-ts4.5/entry-points/text-field.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/types.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/user-picker.d.ts +1 -0
- package/dist/types-ts4.5/index.d.ts +26 -1
- package/exit-warning-modal/package.json +17 -0
- package/final-form/package.json +17 -0
- package/form-loader/package.json +17 -0
- package/form-spy/package.json +17 -0
- package/icons/package.json +17 -0
- package/inline-create/package.json +17 -0
- package/link-create.docs.tsx +307 -302
- package/modal-create/package.json +17 -0
- package/package.json +6 -6
- package/select/package.json +17 -0
- package/text-field/package.json +17 -0
- package/types/package.json +17 -0
- package/user-picker/package.json +17 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CreateField } from '../controllers/create-field';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ExitWarningModalProvider as LinkCreateExitWarningProvider, useWithExitWarning, } from '../controllers/exit-warning-modal-context';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FORM_ERROR } from 'final-form';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CreateFormLoader } from '../ui/create-form/form-loader';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FormSpy } from '../ui/create-form/form-spy';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PageIcon, UrlIcon, LiveDocIcon } from '../common/ui/icon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as InlineCreate } from '../ui/inline-create';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../ui/modal-create';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TextField } from '../ui/create-form/textfield';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { CreatePayload, EditViewProps, LinkCreatePlugin, LinkCreateProps, LinkCreateWithModalProps, Validator, ValidatorMap, } from '../common/types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UserPicker } from '../ui/create-form/user-picker';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,34 @@
|
|
|
1
|
+
/** @deprecated Use @atlaskit/link-create/types */
|
|
1
2
|
export type { CreatePayload, EditViewProps, LinkCreatePlugin, LinkCreateProps, LinkCreateWithModalProps, } from './common/types';
|
|
3
|
+
/** @deprecated Use @atlaskit/link-create/create-form */
|
|
2
4
|
export type { CreateFormProps } from './ui/index';
|
|
3
|
-
|
|
5
|
+
/** @deprecated Use @atlaskit/link-create/async-select */
|
|
6
|
+
export { AsyncSelect } from './ui';
|
|
7
|
+
/** @deprecated Use @atlaskit/link-create/create-form */
|
|
8
|
+
export { CreateForm } from './ui';
|
|
9
|
+
/** @deprecated Use @atlaskit/link-create/form-loader */
|
|
10
|
+
export { CreateFormLoader } from './ui';
|
|
11
|
+
/** @deprecated Use @atlaskit/link-create/form-spy */
|
|
12
|
+
export { FormSpy } from './ui';
|
|
13
|
+
/** @deprecated Use @atlaskit/link-create/select */
|
|
14
|
+
export { Select, SiteSelect, type SitePickerOptionType } from './ui';
|
|
15
|
+
/** @deprecated Use @atlaskit/link-create/text-field */
|
|
16
|
+
export { TextField } from './ui';
|
|
17
|
+
/** @deprecated Use @atlaskit/link-create/inline-create */
|
|
18
|
+
export { InlineCreate } from './ui';
|
|
19
|
+
/** @deprecated Use @atlaskit/link-create/user-picker */
|
|
20
|
+
export { UserPicker } from './ui';
|
|
21
|
+
/** @deprecated Use @atlaskit/link-create/modal-create */
|
|
22
|
+
export { default } from './ui';
|
|
23
|
+
/** @deprecated Use @atlaskit/link-create/callback-context */
|
|
4
24
|
export { LinkCreateCallbackProvider, useLinkCreateCallback } from './controllers/callback-context';
|
|
25
|
+
/** @deprecated Use @atlaskit/link-create/exit-warning-modal */
|
|
5
26
|
export { ExitWarningModalProvider as LinkCreateExitWarningProvider, useWithExitWarning, } from './controllers/exit-warning-modal-context';
|
|
27
|
+
/** @deprecated Use @atlaskit/link-create/types */
|
|
6
28
|
export type { Validator, ValidatorMap } from './common/types';
|
|
29
|
+
/** @deprecated Use @atlaskit/link-create/final-form */
|
|
7
30
|
export { FORM_ERROR } from 'final-form';
|
|
31
|
+
/** @deprecated Use @atlaskit/link-create/icons */
|
|
8
32
|
export { PageIcon, UrlIcon, LiveDocIcon } from './common/ui/icon';
|
|
33
|
+
/** @deprecated Use @atlaskit/link-create/create-field */
|
|
9
34
|
export { CreateField } from './controllers/create-field/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AsyncSelect } from '../ui/create-form/async-select';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LinkCreateCallbackProvider, useLinkCreateCallback } from '../controllers/callback-context';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CreateField } from '../controllers/create-field';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ExitWarningModalProvider as LinkCreateExitWarningProvider, useWithExitWarning, } from '../controllers/exit-warning-modal-context';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FORM_ERROR } from 'final-form';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CreateFormLoader } from '../ui/create-form/form-loader';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FormSpy } from '../ui/create-form/form-spy';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PageIcon, UrlIcon, LiveDocIcon } from '../common/ui/icon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as InlineCreate } from '../ui/inline-create';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '../ui/modal-create';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TextField } from '../ui/create-form/textfield';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { CreatePayload, EditViewProps, LinkCreatePlugin, LinkCreateProps, LinkCreateWithModalProps, Validator, ValidatorMap, } from '../common/types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UserPicker } from '../ui/create-form/user-picker';
|
|
@@ -1,9 +1,34 @@
|
|
|
1
|
+
/** @deprecated Use @atlaskit/link-create/types */
|
|
1
2
|
export type { CreatePayload, EditViewProps, LinkCreatePlugin, LinkCreateProps, LinkCreateWithModalProps, } from './common/types';
|
|
3
|
+
/** @deprecated Use @atlaskit/link-create/create-form */
|
|
2
4
|
export type { CreateFormProps } from './ui/index';
|
|
3
|
-
|
|
5
|
+
/** @deprecated Use @atlaskit/link-create/async-select */
|
|
6
|
+
export { AsyncSelect } from './ui';
|
|
7
|
+
/** @deprecated Use @atlaskit/link-create/create-form */
|
|
8
|
+
export { CreateForm } from './ui';
|
|
9
|
+
/** @deprecated Use @atlaskit/link-create/form-loader */
|
|
10
|
+
export { CreateFormLoader } from './ui';
|
|
11
|
+
/** @deprecated Use @atlaskit/link-create/form-spy */
|
|
12
|
+
export { FormSpy } from './ui';
|
|
13
|
+
/** @deprecated Use @atlaskit/link-create/select */
|
|
14
|
+
export { Select, SiteSelect, type SitePickerOptionType } from './ui';
|
|
15
|
+
/** @deprecated Use @atlaskit/link-create/text-field */
|
|
16
|
+
export { TextField } from './ui';
|
|
17
|
+
/** @deprecated Use @atlaskit/link-create/inline-create */
|
|
18
|
+
export { InlineCreate } from './ui';
|
|
19
|
+
/** @deprecated Use @atlaskit/link-create/user-picker */
|
|
20
|
+
export { UserPicker } from './ui';
|
|
21
|
+
/** @deprecated Use @atlaskit/link-create/modal-create */
|
|
22
|
+
export { default } from './ui';
|
|
23
|
+
/** @deprecated Use @atlaskit/link-create/callback-context */
|
|
4
24
|
export { LinkCreateCallbackProvider, useLinkCreateCallback } from './controllers/callback-context';
|
|
25
|
+
/** @deprecated Use @atlaskit/link-create/exit-warning-modal */
|
|
5
26
|
export { ExitWarningModalProvider as LinkCreateExitWarningProvider, useWithExitWarning, } from './controllers/exit-warning-modal-context';
|
|
27
|
+
/** @deprecated Use @atlaskit/link-create/types */
|
|
6
28
|
export type { Validator, ValidatorMap } from './common/types';
|
|
29
|
+
/** @deprecated Use @atlaskit/link-create/final-form */
|
|
7
30
|
export { FORM_ERROR } from 'final-form';
|
|
31
|
+
/** @deprecated Use @atlaskit/link-create/icons */
|
|
8
32
|
export { PageIcon, UrlIcon, LiveDocIcon } from './common/ui/icon';
|
|
33
|
+
/** @deprecated Use @atlaskit/link-create/create-field */
|
|
9
34
|
export { CreateField } from './controllers/create-field/index';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/link-create/exit-warning-modal",
|
|
3
|
+
"main": "../dist/cjs/entry-points/exit-warning-modal.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/exit-warning-modal.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/exit-warning-modal.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/exit-warning-modal.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/exit-warning-modal.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/link-create/final-form",
|
|
3
|
+
"main": "../dist/cjs/entry-points/final-form.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/final-form.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/final-form.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/final-form.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/final-form.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/link-create/form-loader",
|
|
3
|
+
"main": "../dist/cjs/entry-points/form-loader.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/form-loader.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/form-loader.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/form-loader.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/form-loader.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/link-create/form-spy",
|
|
3
|
+
"main": "../dist/cjs/entry-points/form-spy.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/form-spy.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/form-spy.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/form-spy.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/form-spy.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/link-create/icons",
|
|
3
|
+
"main": "../dist/cjs/entry-points/icons.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/icons.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/icons.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/icons.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/icons.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/link-create/inline-create",
|
|
3
|
+
"main": "../dist/cjs/entry-points/inline-create.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/inline-create.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/inline-create.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/inline-create.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/inline-create.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|