@apolitical/component-library 4.7.1 → 4.7.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.
- package/form/components/rich-text-editor/helpers/transform/transform.d.ts +1 -1
- package/form/types/profile-form/profile-form.d.ts +1 -1
- package/index.js +47 -47
- package/index.mjs +6350 -6316
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -10,9 +10,9 @@ export default function transform<T extends InputNodeTypes>(node: MdastNode, opt
|
|
|
10
10
|
alt?: string | undefined;
|
|
11
11
|
url?: string | undefined;
|
|
12
12
|
position?: any;
|
|
13
|
+
ordered?: boolean | undefined;
|
|
13
14
|
checked?: any;
|
|
14
15
|
lang?: string | undefined;
|
|
15
|
-
ordered?: boolean | undefined;
|
|
16
16
|
depth?: 1 | 2 | 3 | 4 | 6 | 5 | undefined;
|
|
17
17
|
spread?: any;
|
|
18
18
|
indent?: any;
|
|
@@ -16,7 +16,7 @@ export interface IProfileFormProps {
|
|
|
16
16
|
/** The functions to call */
|
|
17
17
|
functions: {
|
|
18
18
|
/** The function to upload the user's profile image */
|
|
19
|
-
uploadImage: () => void
|
|
19
|
+
uploadImage: () => Promise<void>;
|
|
20
20
|
/** The function to call on success */
|
|
21
21
|
onSuccess?: (data: IFormValues) => Promise<void>;
|
|
22
22
|
/** The function to call when the form is cancelled, e.g. the user presses a cancel button */
|