@schematichq/schematic-components 0.4.6 → 0.4.7
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/schematic-components.cjs.js +680 -299
- package/dist/schematic-components.d.ts +30 -4
- package/dist/schematic-components.esm.js +657 -276
- package/package.json +1 -1
|
@@ -1640,6 +1640,8 @@ declare interface ComponentResponseData {
|
|
|
1640
1640
|
updatedAt: Date;
|
|
1641
1641
|
}
|
|
1642
1642
|
|
|
1643
|
+
declare type ComponentStyle = "primary" | "secondary" | "tertiary";
|
|
1644
|
+
|
|
1643
1645
|
declare class Configuration {
|
|
1644
1646
|
private configuration;
|
|
1645
1647
|
constructor(configuration?: ConfigurationParameters);
|
|
@@ -2033,6 +2035,16 @@ declare interface DesignProps_7 {
|
|
|
2033
2035
|
};
|
|
2034
2036
|
}
|
|
2035
2037
|
|
|
2038
|
+
declare interface DesignProps_8 {
|
|
2039
|
+
button: {
|
|
2040
|
+
text: string;
|
|
2041
|
+
style: ComponentStyle;
|
|
2042
|
+
size: ButtonSizeTypes;
|
|
2043
|
+
fullWidth: boolean;
|
|
2044
|
+
alignment: EmbedButtonAlignment;
|
|
2045
|
+
};
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2036
2048
|
declare const Element_2: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
|
|
2037
2049
|
$viewport?: {
|
|
2038
2050
|
sm?: TransientCSSProperties;
|
|
@@ -2052,11 +2064,19 @@ declare interface ElementProps {
|
|
|
2052
2064
|
}
|
|
2053
2065
|
|
|
2054
2066
|
export declare const EmbedButton: IStyledComponentBase<"web", Substitute<ButtonProps & RefAttributes<HTMLButtonElement>, {
|
|
2055
|
-
$size?:
|
|
2056
|
-
$color?:
|
|
2057
|
-
$variant?:
|
|
2067
|
+
$size?: ButtonSizeTypes;
|
|
2068
|
+
$color?: EmbedButtonColor;
|
|
2069
|
+
$variant?: EmbedButtonVariant;
|
|
2070
|
+
$alignment?: EmbedButtonAlignment;
|
|
2071
|
+
$fullWidth?: boolean;
|
|
2058
2072
|
}>> & string & Omit<ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement>>, keyof Component<any, {}, any>>;
|
|
2059
2073
|
|
|
2074
|
+
export declare type EmbedButtonAlignment = "start" | "center" | "end";
|
|
2075
|
+
|
|
2076
|
+
export declare type EmbedButtonColor = "primary" | "secondary" | "danger";
|
|
2077
|
+
|
|
2078
|
+
export declare type EmbedButtonVariant = "filled" | "outline" | "ghost" | "text";
|
|
2079
|
+
|
|
2060
2080
|
export declare const EmbedContext: Context<EmbedContextProps>;
|
|
2061
2081
|
|
|
2062
2082
|
export declare interface EmbedContextProps {
|
|
@@ -2076,7 +2096,7 @@ export declare interface EmbedContextProps {
|
|
|
2076
2096
|
setSelected: (selected: EmbedSelected) => void;
|
|
2077
2097
|
}
|
|
2078
2098
|
|
|
2079
|
-
export declare type EmbedLayout = "portal" | "checkout" | "payment" | "success" | "disabled";
|
|
2099
|
+
export declare type EmbedLayout = "portal" | "checkout" | "payment" | "unsubscribe" | "success" | "disabled";
|
|
2080
2100
|
|
|
2081
2101
|
export declare type EmbedMode = "edit" | "view";
|
|
2082
2102
|
|
|
@@ -4352,6 +4372,12 @@ export declare interface TypographySettings {
|
|
|
4352
4372
|
color: string;
|
|
4353
4373
|
}
|
|
4354
4374
|
|
|
4375
|
+
export declare const UnsubscribeButton: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_8> & HTMLAttributes<HTMLDivElement> & {
|
|
4376
|
+
portal?: HTMLElement | null;
|
|
4377
|
+
} & RefAttributes<HTMLDivElement | null>>;
|
|
4378
|
+
|
|
4379
|
+
export declare type UnsubscribeButtonProps = DesignProps_8;
|
|
4380
|
+
|
|
4355
4381
|
export declare const UpcomingBill: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_7> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
|
4356
4382
|
|
|
4357
4383
|
export declare type UpcomingBillProps = DesignProps_7;
|