@plasmicpkgs/plasmic-basic-components 0.0.175 → 0.0.177
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/LICENSE.app.md +661 -0
- package/dist/ConditionGuard.d.ts +1 -1
- package/dist/Data.d.ts +3 -3
- package/dist/Embed.d.ts +2 -1
- package/dist/Iframe.d.ts +2 -1
- package/dist/LoadingBoundary.d.ts +1 -1
- package/dist/Repeater.d.ts +1 -1
- package/dist/ScrollRevealer.d.ts +2 -2
- package/dist/SideEffect.d.ts +1 -1
- package/dist/plasmic-basic-components.cjs.development.js +352 -713
- package/dist/plasmic-basic-components.cjs.development.js.map +1 -1
- package/dist/plasmic-basic-components.cjs.production.min.js +1 -1
- package/dist/plasmic-basic-components.cjs.production.min.js.map +1 -1
- package/dist/plasmic-basic-components.esm.js +352 -713
- package/dist/plasmic-basic-components.esm.js.map +1 -1
- package/package.json +3 -3
- package/LICENSE.md +0 -21
package/dist/Data.d.ts
CHANGED
|
@@ -27,11 +27,11 @@ export declare function DynamicElement<Tag extends keyof JSX.IntrinsicElements =
|
|
|
27
27
|
export interface DynamicTextProps extends CommonDynamicProps {
|
|
28
28
|
selector?: string;
|
|
29
29
|
}
|
|
30
|
-
export declare function DynamicText({ selector, propSelectors, ...props }: DynamicTextProps): JSX.Element;
|
|
30
|
+
export declare function DynamicText({ selector, propSelectors, ...props }: DynamicTextProps): React.JSX.Element;
|
|
31
31
|
export interface DynamicImageProps extends CommonDynamicProps, ComponentProps<"img"> {
|
|
32
32
|
selector?: string;
|
|
33
33
|
}
|
|
34
|
-
export declare function DynamicImage({ selector, propSelectors, ...props }: DynamicImageProps): JSX.Element;
|
|
34
|
+
export declare function DynamicImage({ selector, propSelectors, ...props }: DynamicImageProps): React.JSX.Element;
|
|
35
35
|
export interface DynamicRepeaterProps {
|
|
36
36
|
children?: ReactNode;
|
|
37
37
|
loopItemName?: string;
|
|
@@ -39,7 +39,7 @@ export interface DynamicRepeaterProps {
|
|
|
39
39
|
selector?: string;
|
|
40
40
|
data?: any;
|
|
41
41
|
}
|
|
42
|
-
export declare function DynamicRepeater({ children, loopItemName, keySelector, selector, data, }: DynamicRepeaterProps): JSX.Element;
|
|
42
|
+
export declare function DynamicRepeater({ children, loopItemName, keySelector, selector, data, }: DynamicRepeaterProps): React.JSX.Element;
|
|
43
43
|
export declare const dynamicRepeaterProps: {
|
|
44
44
|
readonly selector: {
|
|
45
45
|
readonly type: "string";
|
package/dist/Embed.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import registerComponent, { ComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
|
+
import React from "react";
|
|
2
3
|
export interface EmbedProps {
|
|
3
4
|
className?: string;
|
|
4
5
|
code: string;
|
|
@@ -16,7 +17,7 @@ export interface EmbedProps {
|
|
|
16
17
|
* One last complication is that Next.js can run the effect multiple times in development mode. There's nothing actually
|
|
17
18
|
* that we can/should do about that, but just something to be aware of if you are here debugging issues.
|
|
18
19
|
*/
|
|
19
|
-
export default function Embed({ className, code, hideInEditor, }: EmbedProps): JSX.Element;
|
|
20
|
+
export default function Embed({ className, code, hideInEditor, }: EmbedProps): React.JSX.Element;
|
|
20
21
|
export declare const embedMeta: ComponentMeta<EmbedProps>;
|
|
21
22
|
export declare function registerEmbed(loader?: {
|
|
22
23
|
registerComponent: typeof registerComponent;
|
package/dist/Iframe.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ComponentMeta } from "@plasmicapp/host";
|
|
2
2
|
import registerComponent from "@plasmicapp/host/registerComponent";
|
|
3
|
+
import React from "react";
|
|
3
4
|
export interface IframeProps {
|
|
4
5
|
src: string;
|
|
5
6
|
preview?: boolean;
|
|
6
7
|
className?: string;
|
|
7
8
|
}
|
|
8
|
-
export default function Iframe({ preview, src, className }: IframeProps): JSX.Element;
|
|
9
|
+
export default function Iframe({ preview, src, className }: IframeProps): React.JSX.Element;
|
|
9
10
|
export declare const iframeMeta: ComponentMeta<IframeProps>;
|
|
10
11
|
export declare function registerIframe(loader?: {
|
|
11
12
|
registerComponent: typeof registerComponent;
|
|
@@ -7,7 +7,7 @@ interface LoadingBoundaryProps {
|
|
|
7
7
|
}
|
|
8
8
|
export declare const isBrowser: boolean;
|
|
9
9
|
export declare const useIsomorphicLayoutEffect: typeof React.useLayoutEffect;
|
|
10
|
-
export default function LoadingBoundary({ children, forceLoading, loadingState, }: LoadingBoundaryProps): JSX.Element | null;
|
|
10
|
+
export default function LoadingBoundary({ children, forceLoading, loadingState, }: LoadingBoundaryProps): React.JSX.Element | null;
|
|
11
11
|
export declare const loadingBoundaryMeta: ComponentMeta<LoadingBoundaryProps>;
|
|
12
12
|
export declare function registerLoadingBoundary(loader?: {
|
|
13
13
|
registerComponent: typeof registerComponent;
|
package/dist/Repeater.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface RepeaterProps<T> {
|
|
|
6
6
|
itemName?: string;
|
|
7
7
|
indexName?: string;
|
|
8
8
|
}
|
|
9
|
-
declare function Repeater<T>(props: RepeaterProps<T>): JSX.Element;
|
|
9
|
+
declare function Repeater<T>(props: RepeaterProps<T>): React.JSX.Element;
|
|
10
10
|
export declare const repeaterMeta: ComponentMeta<RepeaterProps<any>>;
|
|
11
11
|
export declare function registerRepeater(loader?: {
|
|
12
12
|
registerComponent: typeof registerComponent;
|
package/dist/ScrollRevealer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import registerComponent, { ComponentMeta } from "@plasmicapp/host/registerComponent";
|
|
2
|
-
import { ReactNode, RefObject } from "react";
|
|
2
|
+
import React, { ReactNode, RefObject } from "react";
|
|
3
3
|
export declare function useDirectionalIntersection({ ref, scrollDownThreshold, scrollUpThreshold, }: {
|
|
4
4
|
ref: RefObject<HTMLElement>;
|
|
5
5
|
scrollDownThreshold?: number;
|
|
@@ -19,7 +19,7 @@ export interface ScrollRevealerProps {
|
|
|
19
19
|
*
|
|
20
20
|
* TODO: Merge this inta a general Reveal component, perhaps forking react-awesome-reveal, so that we don't have two different reveal components for users.
|
|
21
21
|
*/
|
|
22
|
-
export default function ScrollRevealer({ children, className, scrollDownThreshold, scrollUpThreshold, }: ScrollRevealerProps): JSX.Element;
|
|
22
|
+
export default function ScrollRevealer({ children, className, scrollDownThreshold, scrollUpThreshold, }: ScrollRevealerProps): React.JSX.Element;
|
|
23
23
|
export declare const scrollRevealerMeta: ComponentMeta<ScrollRevealerProps>;
|
|
24
24
|
export declare function registerScrollRevealer(loader?: {
|
|
25
25
|
registerComponent: typeof registerComponent;
|
package/dist/SideEffect.d.ts
CHANGED