@atlaskit/link-create 4.5.27 → 4.5.28
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 +6 -0
- package/dist/cjs/common/constants.js +1 -1
- package/dist/es2019/common/constants.js +1 -1
- package/dist/esm/common/constants.js +1 -1
- package/dist/types/common/ui/Button/index.d.ts +1 -1
- package/dist/types/common/ui/message/index.d.ts +1 -1
- package/dist/types/controllers/exit-warning-modal-context/index.d.ts +1 -1
- package/dist/types/ui/create-form/main.d.ts +1 -1
- package/dist/types-ts4.5/common/ui/Button/index.d.ts +1 -1
- package/dist/types-ts4.5/common/ui/message/index.d.ts +1 -1
- package/dist/types-ts4.5/controllers/exit-warning-modal-context/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/create-form/main.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -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.5.
|
|
19
|
+
packageVersion: "4.5.28" || '',
|
|
20
20
|
component: COMPONENT_NAME,
|
|
21
21
|
componentName: COMPONENT_NAME
|
|
22
22
|
};
|
|
@@ -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.5.
|
|
13
|
+
packageVersion: "4.5.28" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -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.5.
|
|
13
|
+
packageVersion: "4.5.28" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -6,5 +6,5 @@ type ButtonProps = React.ComponentProps<typeof AkButton> & {
|
|
|
6
6
|
[Key in keyof AnalyticsEventAttributes as Key extends `ui.button.clicked.${infer ActionSubjectId}` ? ActionSubjectId : never]: any;
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
-
export declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps,
|
|
9
|
+
export declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, 'ref'> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
export {};
|
|
@@ -10,5 +10,5 @@ type MessageProps = {
|
|
|
10
10
|
testId?: string;
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
};
|
|
13
|
-
export declare const Message: ({ children, appearance, id, testId }: MessageProps) => JSX.Element;
|
|
13
|
+
export declare const Message: ({ children, appearance, id, testId, }: MessageProps) => JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -10,5 +10,5 @@ export declare const ExitWarningModalProvider: ({ children, }: {
|
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
}) => React.JSX.Element;
|
|
12
12
|
export declare const useExitWarningModal: () => ExitWarningModalContextValue;
|
|
13
|
-
export declare const useWithExitWarning: () => (callback?: () => void) => () => boolean;
|
|
13
|
+
export declare const useWithExitWarning: () => ((callback?: () => void) => () => boolean);
|
|
14
14
|
export {};
|
|
@@ -6,7 +6,7 @@ import { type ReactNode } from 'react';
|
|
|
6
6
|
type ReservedFields = {
|
|
7
7
|
[Field in (typeof RESERVED_FIELDS)[number]]?: unknown;
|
|
8
8
|
};
|
|
9
|
-
declare const RESERVED_FIELDS: readonly [
|
|
9
|
+
declare const RESERVED_FIELDS: readonly ['__post_create__'];
|
|
10
10
|
type DisallowReservedFields<T> = T & {
|
|
11
11
|
[Field in (typeof RESERVED_FIELDS)[number]]?: never;
|
|
12
12
|
};
|
|
@@ -6,5 +6,5 @@ type ButtonProps = React.ComponentProps<typeof AkButton> & {
|
|
|
6
6
|
[Key in keyof AnalyticsEventAttributes as Key extends `ui.button.clicked.${infer ActionSubjectId}` ? ActionSubjectId : never]: any;
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
-
export declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps,
|
|
9
|
+
export declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, 'ref'> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
export {};
|
|
@@ -10,5 +10,5 @@ type MessageProps = {
|
|
|
10
10
|
testId?: string;
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
};
|
|
13
|
-
export declare const Message: ({ children, appearance, id, testId }: MessageProps) => JSX.Element;
|
|
13
|
+
export declare const Message: ({ children, appearance, id, testId, }: MessageProps) => JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -10,5 +10,5 @@ export declare const ExitWarningModalProvider: ({ children, }: {
|
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
}) => React.JSX.Element;
|
|
12
12
|
export declare const useExitWarningModal: () => ExitWarningModalContextValue;
|
|
13
|
-
export declare const useWithExitWarning: () => (callback?: () => void) => () => boolean;
|
|
13
|
+
export declare const useWithExitWarning: () => ((callback?: () => void) => () => boolean);
|
|
14
14
|
export {};
|
|
@@ -7,7 +7,7 @@ type ReservedFields = {
|
|
|
7
7
|
[Field in (typeof RESERVED_FIELDS)[number]]?: unknown;
|
|
8
8
|
};
|
|
9
9
|
declare const RESERVED_FIELDS: readonly [
|
|
10
|
-
|
|
10
|
+
'__post_create__'
|
|
11
11
|
];
|
|
12
12
|
type DisallowReservedFields<T> = T & {
|
|
13
13
|
[Field in (typeof RESERVED_FIELDS)[number]]?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-create",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.28",
|
|
4
4
|
"description": "The driver component of meta creation flow",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"@atlaskit/linking-common": "^9.11.0",
|
|
55
55
|
"@atlaskit/modal-dialog": "^14.15.0",
|
|
56
56
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
57
|
-
"@atlaskit/primitives": "^
|
|
57
|
+
"@atlaskit/primitives": "^19.0.0",
|
|
58
58
|
"@atlaskit/select": "^21.10.0",
|
|
59
59
|
"@atlaskit/smart-user-picker": "^9.2.0",
|
|
60
60
|
"@atlaskit/spinner": "^19.1.0",
|
|
61
61
|
"@atlaskit/textfield": "^8.3.0",
|
|
62
62
|
"@atlaskit/theme": "^23.0.0",
|
|
63
|
-
"@atlaskit/tokens": "^
|
|
63
|
+
"@atlaskit/tokens": "^13.0.0",
|
|
64
64
|
"@babel/runtime": "^7.0.0",
|
|
65
65
|
"@compiled/react": "^0.20.0",
|
|
66
66
|
"debounce-promise": "^3.1.2",
|