@prismicio/editor-fields 0.4.52-jp-onboarding-guide-triggers.1 → 0.4.52-jp-onboarding-guide-triggers-highlight
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/dist/EditorConfig.d.ts +15 -9
- package/dist/FieldContext.d.ts +27 -0
- package/dist/constants/framework.d.ts +5 -0
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +61 -61
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +6 -6
- package/dist/core/OnboardingGuide/OnboardingGuide.d.ts +4 -3
- package/dist/core/OnboardingGuide/components/OnboardingCard.d.ts +2 -2
- package/dist/core/OnboardingGuide/components/OnboardingProgressStepper.d.ts +2 -2
- package/dist/core/OnboardingGuide/components/OnboardingStepDialog.d.ts +4 -4
- package/dist/core/OnboardingGuide/content.d.ts +8 -1
- package/dist/core/OnboardingGuide/index.d.ts +1 -1
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/service/customType.d.ts +6 -6
- package/dist/core/service/repository.d.ts +1 -1
- package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
- package/dist/fields/LinkField/useLinkField.d.ts +1 -1
- package/dist/index.cjs.js +33 -33
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +14268 -14191
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
|
|
3
|
-
searchTerm: string;
|
|
2
|
+
interface IntegrationCatalogSearchArgs {
|
|
3
|
+
searchTerm: string;
|
|
4
4
|
catalogId: string;
|
|
5
5
|
}
|
|
6
6
|
export declare function useIntegrationCatalogSearch(args: IntegrationCatalogSearchArgs): {
|
|
@@ -11,13 +11,13 @@ export declare function useIntegrationCatalogSearch(args: IntegrationCatalogSear
|
|
|
11
11
|
description?: string | undefined;
|
|
12
12
|
}[];
|
|
13
13
|
response: {
|
|
14
|
+
page: number;
|
|
14
15
|
items: {
|
|
15
16
|
id: string;
|
|
16
17
|
title: string;
|
|
17
18
|
imageURL?: string | undefined;
|
|
18
19
|
description?: string | undefined;
|
|
19
20
|
}[];
|
|
20
|
-
page: number;
|
|
21
21
|
totalPages: number;
|
|
22
22
|
};
|
|
23
23
|
fetchNextPage: () => void;
|
|
@@ -40,8 +40,8 @@ declare const integrationItem: z.ZodObject<{
|
|
|
40
40
|
description?: string | undefined;
|
|
41
41
|
}>;
|
|
42
42
|
export type IntegrationItem = z.TypeOf<typeof integrationItem>;
|
|
43
|
-
|
|
44
|
-
catalogId: string;
|
|
43
|
+
interface IntegrationCatalogReadArgs {
|
|
44
|
+
catalogId: string;
|
|
45
45
|
itemId: string;
|
|
46
46
|
}
|
|
47
47
|
export declare function useIntegrationCatalogRead(args: IntegrationCatalogReadArgs): {
|
|
@@ -10,7 +10,7 @@ interface useLinkFieldParams {
|
|
|
10
10
|
onContentChange: (content: LinkContent | undefined) => void;
|
|
11
11
|
}
|
|
12
12
|
export declare function useLinkField(params: useLinkFieldParams): {
|
|
13
|
-
contentType: "
|
|
13
|
+
contentType: "DocumentLink" | "ImageLink" | "FileLink" | "ExternalLink" | "MediaLink" | "AnyLink" | undefined;
|
|
14
14
|
selectType: "document" | "web" | "media" | "any" | undefined;
|
|
15
15
|
fieldValue: string;
|
|
16
16
|
onDisplayTextChange: (displayText: string) => void;
|