@plasmicapp/react-web 0.2.395 → 0.2.396
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/all.d.ts +46 -15
- package/dist/index.cjs.js +31 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/react-web.esm.js +31 -7
- package/dist/react-web.esm.js.map +1 -1
- package/dist/render/Stack.d.ts +46 -15
- package/dist/render/elements.d.ts +3 -0
- package/package.json +2 -2
- package/skinny/dist/index.js +31 -7
- package/skinny/dist/index.js.map +1 -1
- package/skinny/dist/render/Stack.d.ts +46 -15
- package/skinny/dist/render/elements.d.ts +3 -0
|
@@ -1,20 +1,51 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
export declare const Stack: (<T extends keyof JSX.IntrinsicElements = "div">(props: {
|
|
3
3
|
as?: T | undefined;
|
|
4
|
+
hasGap?: boolean | undefined;
|
|
4
5
|
} & React.ComponentProps<T>) => React.ReactElement) & {
|
|
5
|
-
div: React.FC<React.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
6
|
+
div: React.FC<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
7
|
+
hasGap?: boolean | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
a: React.FC<React.ClassAttributes<HTMLAnchorElement> & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
10
|
+
hasGap?: boolean | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
button: React.FC<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
13
|
+
hasGap?: boolean | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
h1: React.FC<React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement> & {
|
|
16
|
+
hasGap?: boolean | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
h2: React.FC<React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement> & {
|
|
19
|
+
hasGap?: boolean | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
h3: React.FC<React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement> & {
|
|
22
|
+
hasGap?: boolean | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
h4: React.FC<React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement> & {
|
|
25
|
+
hasGap?: boolean | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
h5: React.FC<React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement> & {
|
|
28
|
+
hasGap?: boolean | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
h6: React.FC<React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement> & {
|
|
31
|
+
hasGap?: boolean | undefined;
|
|
32
|
+
}>;
|
|
33
|
+
label: React.FC<React.ClassAttributes<HTMLLabelElement> & React.LabelHTMLAttributes<HTMLLabelElement> & {
|
|
34
|
+
hasGap?: boolean | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
form: React.FC<React.ClassAttributes<HTMLFormElement> & React.FormHTMLAttributes<HTMLFormElement> & {
|
|
37
|
+
hasGap?: boolean | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
section: React.FC<React.ClassAttributes<HTMLElement> & React.HTMLAttributes<HTMLElement> & {
|
|
40
|
+
hasGap?: boolean | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
head: React.FC<React.ClassAttributes<HTMLHeadElement> & React.HTMLAttributes<HTMLHeadElement> & {
|
|
43
|
+
hasGap?: boolean | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
main: React.FC<React.ClassAttributes<HTMLElement> & React.HTMLAttributes<HTMLElement> & {
|
|
46
|
+
hasGap?: boolean | undefined;
|
|
47
|
+
}>;
|
|
48
|
+
nav: React.FC<React.ClassAttributes<HTMLElement> & React.HTMLAttributes<HTMLElement> & {
|
|
49
|
+
hasGap?: boolean | undefined;
|
|
50
|
+
}>;
|
|
20
51
|
};
|
|
@@ -42,6 +42,9 @@ export type Flex<DefaultElementType extends React.ElementType> = (Omit<DefaultOv
|
|
|
42
42
|
render?: never;
|
|
43
43
|
}) | ((props: React.ComponentProps<DefaultElementType>) => React.ReactNode);
|
|
44
44
|
export declare function hasVariant<V extends Variants>(variants: V | undefined, groupName: keyof V, variant: string): any;
|
|
45
|
+
export declare function wrapFlexContainerChildren(children: React.ReactNode, hasGap: boolean): React.DetailedReactHTMLElement<{
|
|
46
|
+
className: string;
|
|
47
|
+
}, HTMLElement> | null;
|
|
45
48
|
export declare function createPlasmicElementProxy<DefaultElementType extends React.ElementType>(defaultElement: DefaultElementType, props: Partial<React.ComponentProps<DefaultElementType>>, ...children: React.ReactNode[]): React.ReactNode;
|
|
46
49
|
export declare function makeFragment(...children: React.ReactNode[]): React.FunctionComponentElement<{
|
|
47
50
|
children?: React.ReactNode;
|