@atlaskit/link-create 1.11.0 → 1.11.2

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 (140) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/analytics.spec.yaml +1 -1
  3. package/dist/cjs/common/utils/analytics/analytics.codegen.js +1 -1
  4. package/dist/cjs/controllers/experience-tracker/index.js +1 -1
  5. package/dist/cjs/i18n/cs.js +1 -1
  6. package/dist/cjs/i18n/da.js +1 -1
  7. package/dist/cjs/i18n/de.js +1 -1
  8. package/dist/cjs/i18n/en.js +1 -1
  9. package/dist/cjs/i18n/en_GB.js +1 -1
  10. package/dist/cjs/i18n/en_ZZ.js +1 -1
  11. package/dist/cjs/i18n/es.js +1 -1
  12. package/dist/cjs/i18n/fi.js +1 -1
  13. package/dist/cjs/i18n/fr.js +1 -1
  14. package/dist/cjs/i18n/hu.js +1 -1
  15. package/dist/cjs/i18n/it.js +1 -1
  16. package/dist/cjs/i18n/ja.js +1 -1
  17. package/dist/cjs/i18n/ko.js +1 -1
  18. package/dist/cjs/i18n/nb.js +1 -1
  19. package/dist/cjs/i18n/nl.js +1 -1
  20. package/dist/cjs/i18n/pl.js +1 -1
  21. package/dist/cjs/i18n/pt_BR.js +1 -1
  22. package/dist/cjs/i18n/ru.js +1 -1
  23. package/dist/cjs/i18n/sv.js +1 -1
  24. package/dist/cjs/i18n/th.js +1 -1
  25. package/dist/cjs/i18n/tr.js +1 -1
  26. package/dist/cjs/i18n/uk.js +1 -1
  27. package/dist/cjs/i18n/vi.js +1 -1
  28. package/dist/cjs/i18n/zh.js +1 -1
  29. package/dist/cjs/i18n/zh_TW.js +1 -1
  30. package/dist/cjs/ui/main.js +1 -1
  31. package/dist/es2019/common/utils/analytics/analytics.codegen.js +1 -1
  32. package/dist/es2019/controllers/experience-tracker/index.js +1 -1
  33. package/dist/es2019/i18n/cs.js +1 -1
  34. package/dist/es2019/i18n/da.js +1 -1
  35. package/dist/es2019/i18n/de.js +1 -1
  36. package/dist/es2019/i18n/en.js +1 -1
  37. package/dist/es2019/i18n/en_GB.js +1 -1
  38. package/dist/es2019/i18n/en_ZZ.js +1 -1
  39. package/dist/es2019/i18n/es.js +1 -1
  40. package/dist/es2019/i18n/fi.js +1 -1
  41. package/dist/es2019/i18n/fr.js +1 -1
  42. package/dist/es2019/i18n/hu.js +1 -1
  43. package/dist/es2019/i18n/it.js +1 -1
  44. package/dist/es2019/i18n/ja.js +1 -1
  45. package/dist/es2019/i18n/ko.js +1 -1
  46. package/dist/es2019/i18n/nb.js +1 -1
  47. package/dist/es2019/i18n/nl.js +1 -1
  48. package/dist/es2019/i18n/pl.js +1 -1
  49. package/dist/es2019/i18n/pt_BR.js +1 -1
  50. package/dist/es2019/i18n/ru.js +1 -1
  51. package/dist/es2019/i18n/sv.js +1 -1
  52. package/dist/es2019/i18n/th.js +1 -1
  53. package/dist/es2019/i18n/tr.js +1 -1
  54. package/dist/es2019/i18n/uk.js +1 -1
  55. package/dist/es2019/i18n/vi.js +1 -1
  56. package/dist/es2019/i18n/zh.js +1 -1
  57. package/dist/es2019/i18n/zh_TW.js +1 -1
  58. package/dist/es2019/ui/main.js +1 -1
  59. package/dist/esm/common/utils/analytics/analytics.codegen.js +1 -1
  60. package/dist/esm/controllers/experience-tracker/index.js +1 -1
  61. package/dist/esm/i18n/cs.js +1 -1
  62. package/dist/esm/i18n/da.js +1 -1
  63. package/dist/esm/i18n/de.js +1 -1
  64. package/dist/esm/i18n/en.js +1 -1
  65. package/dist/esm/i18n/en_GB.js +1 -1
  66. package/dist/esm/i18n/en_ZZ.js +1 -1
  67. package/dist/esm/i18n/es.js +1 -1
  68. package/dist/esm/i18n/fi.js +1 -1
  69. package/dist/esm/i18n/fr.js +1 -1
  70. package/dist/esm/i18n/hu.js +1 -1
  71. package/dist/esm/i18n/it.js +1 -1
  72. package/dist/esm/i18n/ja.js +1 -1
  73. package/dist/esm/i18n/ko.js +1 -1
  74. package/dist/esm/i18n/nb.js +1 -1
  75. package/dist/esm/i18n/nl.js +1 -1
  76. package/dist/esm/i18n/pl.js +1 -1
  77. package/dist/esm/i18n/pt_BR.js +1 -1
  78. package/dist/esm/i18n/ru.js +1 -1
  79. package/dist/esm/i18n/sv.js +1 -1
  80. package/dist/esm/i18n/th.js +1 -1
  81. package/dist/esm/i18n/tr.js +1 -1
  82. package/dist/esm/i18n/uk.js +1 -1
  83. package/dist/esm/i18n/vi.js +1 -1
  84. package/dist/esm/i18n/zh.js +1 -1
  85. package/dist/esm/i18n/zh_TW.js +1 -1
  86. package/dist/esm/ui/main.js +1 -1
  87. package/dist/types/common/utils/analytics/analytics.codegen.d.ts +3 -3
  88. package/dist/types/i18n/cs.d.ts +1 -1
  89. package/dist/types/i18n/da.d.ts +1 -1
  90. package/dist/types/i18n/de.d.ts +1 -1
  91. package/dist/types/i18n/en.d.ts +1 -1
  92. package/dist/types/i18n/en_GB.d.ts +1 -1
  93. package/dist/types/i18n/en_ZZ.d.ts +1 -1
  94. package/dist/types/i18n/es.d.ts +1 -1
  95. package/dist/types/i18n/fi.d.ts +1 -1
  96. package/dist/types/i18n/fr.d.ts +1 -1
  97. package/dist/types/i18n/hu.d.ts +1 -1
  98. package/dist/types/i18n/it.d.ts +1 -1
  99. package/dist/types/i18n/ja.d.ts +1 -1
  100. package/dist/types/i18n/ko.d.ts +1 -1
  101. package/dist/types/i18n/nb.d.ts +1 -1
  102. package/dist/types/i18n/nl.d.ts +1 -1
  103. package/dist/types/i18n/pl.d.ts +1 -1
  104. package/dist/types/i18n/pt_BR.d.ts +1 -1
  105. package/dist/types/i18n/ru.d.ts +1 -1
  106. package/dist/types/i18n/sv.d.ts +1 -1
  107. package/dist/types/i18n/th.d.ts +1 -1
  108. package/dist/types/i18n/tr.d.ts +1 -1
  109. package/dist/types/i18n/uk.d.ts +1 -1
  110. package/dist/types/i18n/vi.d.ts +1 -1
  111. package/dist/types/i18n/zh.d.ts +1 -1
  112. package/dist/types/i18n/zh_TW.d.ts +1 -1
  113. package/dist/types-ts4.5/common/utils/analytics/analytics.codegen.d.ts +3 -3
  114. package/dist/types-ts4.5/i18n/cs.d.ts +1 -1
  115. package/dist/types-ts4.5/i18n/da.d.ts +1 -1
  116. package/dist/types-ts4.5/i18n/de.d.ts +1 -1
  117. package/dist/types-ts4.5/i18n/en.d.ts +1 -1
  118. package/dist/types-ts4.5/i18n/en_GB.d.ts +1 -1
  119. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +1 -1
  120. package/dist/types-ts4.5/i18n/es.d.ts +1 -1
  121. package/dist/types-ts4.5/i18n/fi.d.ts +1 -1
  122. package/dist/types-ts4.5/i18n/fr.d.ts +1 -1
  123. package/dist/types-ts4.5/i18n/hu.d.ts +1 -1
  124. package/dist/types-ts4.5/i18n/it.d.ts +1 -1
  125. package/dist/types-ts4.5/i18n/ja.d.ts +1 -1
  126. package/dist/types-ts4.5/i18n/ko.d.ts +1 -1
  127. package/dist/types-ts4.5/i18n/nb.d.ts +1 -1
  128. package/dist/types-ts4.5/i18n/nl.d.ts +1 -1
  129. package/dist/types-ts4.5/i18n/pl.d.ts +1 -1
  130. package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -1
  131. package/dist/types-ts4.5/i18n/ru.d.ts +1 -1
  132. package/dist/types-ts4.5/i18n/sv.d.ts +1 -1
  133. package/dist/types-ts4.5/i18n/th.d.ts +1 -1
  134. package/dist/types-ts4.5/i18n/tr.d.ts +1 -1
  135. package/dist/types-ts4.5/i18n/uk.d.ts +1 -1
  136. package/dist/types-ts4.5/i18n/vi.d.ts +1 -1
  137. package/dist/types-ts4.5/i18n/zh.d.ts +1 -1
  138. package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -1
  139. package/package.json +2 -2
  140. package/tmp/api-report-tmp.d.ts +0 -188
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  'linkCreate.confirm-dismiss-dialog.modal.title': string;
14
14
  'linkCreate.createForm.button.close': string;
15
15
  'linkCreate.createForm.button.create': string;
16
- 'linkCreate.createForm.button.edit': string;
16
+ 'linkCreate.createForm.button.createAndOpen': string;
17
17
  'linkCreate.modal.heading': string;
18
18
  };
19
19
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/linking-common": "^4.21.0",
44
44
  "@atlaskit/modal-dialog": "^12.9.0",
45
45
  "@atlaskit/platform-feature-flags": "^0.2.1",
46
- "@atlaskit/primitives": "^1.12.0",
46
+ "@atlaskit/primitives": "^1.13.0",
47
47
  "@atlaskit/select": "^17.0.0",
48
48
  "@atlaskit/spinner": "^16.0.0",
49
49
  "@atlaskit/textfield": "^6.0.0",
@@ -1,188 +0,0 @@
1
- ## API Report File for "@atlaskit/link-create"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- /// <reference types="react" />
8
-
9
- import { AsyncSelectProps as AsyncSelectProps_2 } from '@atlaskit/select';
10
- import { FORM_ERROR } from 'final-form';
11
- import { GroupType } from '@atlaskit/select';
12
- import { jsx } from '@emotion/react';
13
- import { MemoExoticComponent } from 'react';
14
- import { ModalDialogProps } from '@atlaskit/modal-dialog';
15
- import { OptionType } from '@atlaskit/select';
16
- import { default as React_2 } from 'react';
17
- import { ReactNode } from 'react';
18
- import { SelectProps as SelectProps_2 } from '@atlaskit/select';
19
- import { SpinnerProps } from '@atlaskit/spinner';
20
- import { TextFieldProps as TextFieldProps_2 } from '@atlaskit/textfield';
21
-
22
- // @public
23
- export function AsyncSelect<T = OptionType>({ id, name, label, isRequired, validators, validationHelpText, testId, defaultOption: propsDefaultValue, loadOptions: loadOptionsFn, ...restProps }: AsyncSelectProps<T>): jsx.JSX.Element;
24
-
25
- // @public (undocumented)
26
- type AsyncSelectProps<T = OptionType> = Omit<AsyncSelectProps_2<T>, 'loadOptions'> & {
27
- name: string;
28
- label: string;
29
- validationHelpText?: string;
30
- testId?: string;
31
- isRequired?: boolean;
32
- validators?: Validator[];
33
- loadOptions?: (inputValue: string) => Promise<GroupType<T>[] | T[]>;
34
- };
35
-
36
- // @public (undocumented)
37
- const ComposedLinkCreate: MemoExoticComponent<(props: LinkCreateWithModalProps) => jsx.JSX.Element>;
38
- export default ComposedLinkCreate;
39
-
40
- // @public (undocumented)
41
- export const CreateForm: <FormData_1 extends Record<string, any> = {}>({ children, testId, onSubmit, onCancel, isLoading, hideFooter, initialValues, }: CreateFormProps<FormData_1>) => jsx.JSX.Element;
42
-
43
- // @public
44
- export function CreateFormLoader({ size }: Partial<SpinnerProps>): jsx.JSX.Element;
45
-
46
- // @public (undocumented)
47
- export interface CreateFormProps<FormData> {
48
- children: ReactNode;
49
- hideFooter?: boolean;
50
- initialValues?: DisallowReservedFields<FormData>;
51
- isLoading?: boolean;
52
- onCancel?: () => void;
53
- onSubmit: (data: OmitReservedFields<FormData>) => Errors | Promise<Errors | void> | void;
54
- testId?: string;
55
- }
56
-
57
- // @public
58
- export type CreatePayload = {
59
- url: string;
60
- ari?: string | undefined;
61
- objectId: string;
62
- objectType: string;
63
- data?: Record<string, unknown>;
64
- };
65
-
66
- // @public (undocumented)
67
- type DisallowReservedFields<T> = T & {
68
- [Field in (typeof RESERVED_FIELDS)[number]]?: never;
69
- };
70
-
71
- // @public (undocumented)
72
- export type EditViewProps = {
73
- payload: CreatePayload;
74
- onClose: () => void;
75
- };
76
-
77
- // @public (undocumented)
78
- type Errors = Record<string, string>;
79
-
80
- export { FORM_ERROR }
81
-
82
- // @public
83
- export const FormSpy: <T extends Record<string, unknown>>({ children, }: FormSpyProps<T>) => JSX.Element;
84
-
85
- // @public (undocumented)
86
- type FormSpyProps<T> = {
87
- children: ({ values }: {
88
- values: T;
89
- }) => React_2.ReactNode;
90
- };
91
-
92
- // @public (undocumented)
93
- interface Group {
94
- icon: string;
95
- key: string;
96
- label: string;
97
- }
98
-
99
- // @public (undocumented)
100
- export const LinkCreateCallbackProvider: React_2.FC<LinkCreateCallbackProviderProps>;
101
-
102
- // @public (undocumented)
103
- interface LinkCreateCallbackProviderProps {
104
- onCancel?: () => void;
105
- onCreate?: (result: CreatePayload) => Promise<void> | void;
106
- onFailure?: (error: unknown) => void;
107
- }
108
-
109
- // @public (undocumented)
110
- export interface LinkCreatePlugin {
111
- editView?: ({ payload, onClose }: EditViewProps) => JSX.Element;
112
- form: ReactNode;
113
- group: Group;
114
- icon: string;
115
- key: string;
116
- label: string;
117
- }
118
-
119
- // @public (undocumented)
120
- export interface LinkCreateProps {
121
- entityKey: string;
122
- groupKey?: string;
123
- onCancel?: () => void;
124
- onComplete?: () => void;
125
- onCreate?: (payload: CreatePayload) => Promise<void> | void;
126
- onFailure?: (error: unknown) => void;
127
- // (undocumented)
128
- plugins: LinkCreatePlugin[];
129
- testId?: string;
130
- triggeredFrom?: string;
131
- }
132
-
133
- // @public (undocumented)
134
- export interface LinkCreateWithModalProps extends LinkCreateProps, Partial<Pick<ModalDialogProps, 'onCloseComplete' | 'onOpenComplete'>> {
135
- active?: boolean;
136
- modalTitle?: string;
137
- }
138
-
139
- // @public (undocumented)
140
- type OmitReservedFields<T> = Omit<T, keyof ReservedFields>;
141
-
142
- // @public (undocumented)
143
- const RESERVED_FIELDS: readonly ["__post_create__"];
144
-
145
- // @public (undocumented)
146
- type ReservedFields = {
147
- [Field in (typeof RESERVED_FIELDS)[number]]?: unknown;
148
- };
149
-
150
- // @public
151
- export function Select<T = OptionType>({ id, name, label, isRequired, validators, validationHelpText, testId, ...restProps }: SelectProps<T>): jsx.JSX.Element;
152
-
153
- // @public (undocumented)
154
- type SelectProps<T = OptionType> = SelectProps_2<T> & {
155
- name: string;
156
- label: string;
157
- validationHelpText?: string;
158
- testId?: string;
159
- isRequired?: boolean;
160
- validators?: Validator[];
161
- };
162
-
163
- // @public
164
- export function TextField({ id, name, label, isRequired, validators, validationHelpText, testId, ...restProps }: TextFieldProps): jsx.JSX.Element;
165
-
166
- // @public (undocumented)
167
- type TextFieldProps = Omit<TextFieldProps_2, 'name'> & {
168
- name: string;
169
- label?: string;
170
- validationHelpText?: string;
171
- validators?: Validator[];
172
- };
173
-
174
- // @public (undocumented)
175
- export const useLinkCreateCallback: () => LinkCreateCallbackProviderProps;
176
-
177
- // @public (undocumented)
178
- export type Validator = {
179
- isValid: (val: unknown) => boolean;
180
- errorMessage: string;
181
- };
182
-
183
- // @public
184
- export type ValidatorMap = Record<string, Validator[]>;
185
-
186
- // (No @packageDocumentation comment for this package)
187
-
188
- ```