@atlaskit/link-create 4.3.1 → 4.3.3

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.
Files changed (25) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/common/constants.js +1 -1
  3. package/dist/es2019/common/constants.js +1 -1
  4. package/dist/esm/common/constants.js +1 -1
  5. package/dist/types/common/ui/error-boundary-modal/index.d.ts +0 -1
  6. package/dist/types/common/ui/error-boundary-ui/error-svg/index.d.ts +0 -1
  7. package/dist/types/controllers/create-field/main.d.ts +0 -1
  8. package/dist/types/controllers/create-field/types.d.ts +0 -1
  9. package/dist/types/controllers/form-context/main.d.ts +2 -2
  10. package/dist/types/ui/create-form/async-select/main.d.ts +0 -1
  11. package/dist/types/ui/create-form/form-footer/main.d.ts +0 -1
  12. package/dist/types/ui/create-form/form-loader/main.d.ts +0 -1
  13. package/dist/types/ui/create-form/textfield/main.d.ts +0 -1
  14. package/dist/types/ui/create-form/user-picker/main.d.ts +0 -1
  15. package/dist/types-ts4.5/common/ui/error-boundary-modal/index.d.ts +0 -1
  16. package/dist/types-ts4.5/common/ui/error-boundary-ui/error-svg/index.d.ts +0 -1
  17. package/dist/types-ts4.5/controllers/create-field/main.d.ts +0 -1
  18. package/dist/types-ts4.5/controllers/create-field/types.d.ts +0 -1
  19. package/dist/types-ts4.5/controllers/form-context/main.d.ts +2 -2
  20. package/dist/types-ts4.5/ui/create-form/async-select/main.d.ts +0 -1
  21. package/dist/types-ts4.5/ui/create-form/form-footer/main.d.ts +0 -1
  22. package/dist/types-ts4.5/ui/create-form/form-loader/main.d.ts +0 -1
  23. package/dist/types-ts4.5/ui/create-form/textfield/main.d.ts +0 -1
  24. package/dist/types-ts4.5/ui/create-form/user-picker/main.d.ts +0 -1
  25. package/package.json +8 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/link-create
2
2
 
3
+ ## 4.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 4.3.1
4
16
 
5
17
  ### Patch 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.3.0" || '',
19
+ packageVersion: "4.3.2" || '',
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.3.0" || '',
13
+ packageVersion: "4.3.2" || '',
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.3.0" || '',
13
+ packageVersion: "4.3.2" || '',
14
14
  component: COMPONENT_NAME,
15
15
  componentName: COMPONENT_NAME
16
16
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * ErrorBoundaryModal props are the same as those passed to LinkCreate, which
4
3
  * are used to control its active state
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const ErrorSVG: () => JSX.Element;
3
2
  export default ErrorSVG;
@@ -2,6 +2,5 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- /// <reference types="react" />
6
5
  import { type CreateFieldProps } from './types';
7
6
  export declare const CreateField: ({ id, name, label, isRequired, validators, validationHelpText, testId, children, }: CreateFieldProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type FieldInputProps } from 'react-final-form';
3
2
  import { type Validator } from '../../common/types';
4
3
  type FieldProps = FieldInputProps<any, HTMLElement> & {
@@ -11,8 +11,8 @@ interface FormContextType {
11
11
  enableEditView?: ((editButtonClicked: boolean) => void) | undefined;
12
12
  }
13
13
  export declare const FormContext: React.Context<FormContextType>;
14
- declare const FormContextProvider: ({ enableEditView, children, }: React.PropsWithChildren<{
15
- enableEditView?: ((editButtonClicked: boolean) => void) | undefined;
14
+ declare const FormContextProvider: ({ enableEditView, children, }: PropsWithChildren<{
15
+ enableEditView?: (editButtonClicked: boolean) => void;
16
16
  }>) => React.JSX.Element;
17
17
  declare const useFormContext: () => FormContextType;
18
18
  export { FormContextProvider, useFormContext };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type OptionType } from '@atlaskit/select';
3
2
  import { type AsyncSelectProps } from './types';
4
3
  export declare const TEST_ID = "link-create-async-select";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface CreateFormFooterProps {
3
2
  formErrorMessage: string | undefined;
4
3
  handleCancel: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type SpinnerProps } from '@atlaskit/spinner';
3
2
  /**
4
3
  * Wrapper component for the Spinner, shows while the form
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type TextFieldProps } from './types';
3
2
  export declare const TEST_ID = "link-create-text-field";
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type UserPickerProps } from './types';
3
2
  export declare const TEST_ID = "link-create-user-picker";
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * ErrorBoundaryModal props are the same as those passed to LinkCreate, which
4
3
  * are used to control its active state
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const ErrorSVG: () => JSX.Element;
3
2
  export default ErrorSVG;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @jsxRuntime classic
4
3
  * @jsx jsx
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type FieldInputProps } from 'react-final-form';
3
2
  import { type Validator } from '../../common/types';
4
3
  type FieldProps = FieldInputProps<any, HTMLElement> & {
@@ -11,8 +11,8 @@ interface FormContextType {
11
11
  enableEditView?: ((editButtonClicked: boolean) => void) | undefined;
12
12
  }
13
13
  export declare const FormContext: React.Context<FormContextType>;
14
- declare const FormContextProvider: ({ enableEditView, children, }: React.PropsWithChildren<{
15
- enableEditView?: ((editButtonClicked: boolean) => void) | undefined;
14
+ declare const FormContextProvider: ({ enableEditView, children, }: PropsWithChildren<{
15
+ enableEditView?: (editButtonClicked: boolean) => void;
16
16
  }>) => React.JSX.Element;
17
17
  declare const useFormContext: () => FormContextType;
18
18
  export { FormContextProvider, useFormContext };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type OptionType } from '@atlaskit/select';
3
2
  import { type AsyncSelectProps } from './types';
4
3
  export declare const TEST_ID = "link-create-async-select";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface CreateFormFooterProps {
3
2
  formErrorMessage: string | undefined;
4
3
  handleCancel: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type SpinnerProps } from '@atlaskit/spinner';
3
2
  /**
4
3
  * Wrapper component for the Spinner, shows while the form
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type TextFieldProps } from './types';
3
2
  export declare const TEST_ID = "link-create-text-field";
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type UserPickerProps } from './types';
3
2
  export declare const TEST_ID = "link-create-user-picker";
4
3
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "4.3.1",
3
+ "version": "4.3.3",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,23 +36,23 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/analytics-next": "^11.1.0",
39
- "@atlaskit/atlassian-context": "^0.4.0",
40
- "@atlaskit/button": "^23.3.0",
39
+ "@atlaskit/atlassian-context": "^0.5.0",
40
+ "@atlaskit/button": "^23.4.0",
41
41
  "@atlaskit/css": "^0.12.0",
42
42
  "@atlaskit/empty-state": "^10.1.0",
43
- "@atlaskit/form": "^12.0.0",
44
- "@atlaskit/icon": "^27.9.0",
43
+ "@atlaskit/form": "^12.1.0",
44
+ "@atlaskit/icon": "^28.0.0",
45
45
  "@atlaskit/icon-file-type": "^7.0.0",
46
- "@atlaskit/icon-object": "^7.1.0",
46
+ "@atlaskit/icon-object": "^7.2.0",
47
47
  "@atlaskit/intl-messages-provider": "^2.0.0",
48
48
  "@atlaskit/layering": "^3.0.0",
49
49
  "@atlaskit/link": "^3.2.0",
50
- "@atlaskit/linking-common": "^9.2.0",
50
+ "@atlaskit/linking-common": "^9.5.0",
51
51
  "@atlaskit/modal-dialog": "^14.3.0",
52
52
  "@atlaskit/platform-feature-flags": "^1.1.0",
53
53
  "@atlaskit/primitives": "^14.11.0",
54
54
  "@atlaskit/select": "^21.2.0",
55
- "@atlaskit/smart-user-picker": "^8.0.0",
55
+ "@atlaskit/smart-user-picker": "^8.1.0",
56
56
  "@atlaskit/spinner": "^19.0.0",
57
57
  "@atlaskit/textfield": "^8.0.0",
58
58
  "@atlaskit/theme": "^19.0.0",
@@ -82,7 +82,6 @@
82
82
  "@types/debounce-promise": "^3.1.2",
83
83
  "fetch-mock": "^8.0.0",
84
84
  "react-dom": "^18.2.0",
85
- "typescript": "~5.4.2",
86
85
  "wait-for-expect": "^1.2.0"
87
86
  },
88
87
  "scripts": {