@schematichq/schematic-react 0.2.0-rc.6 → 0.2.0-rc.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -323,6 +323,12 @@ declare interface BillingProductForSubscriptionResponseData {
323
323
  * @memberof BillingProductForSubscriptionResponseData
324
324
  */
325
325
  price: number;
326
+ /**
327
+ *
328
+ * @type {string}
329
+ * @memberof BillingProductForSubscriptionResponseData
330
+ */
331
+ priceExternalId?: string | null;
326
332
  /**
327
333
  *
328
334
  * @type {number}
@@ -512,6 +518,7 @@ declare const COLLECTION_FORMATS: {
512
518
  export declare const Column: ForwardRefExoticComponent<Omit<ColumnProps, "ref"> & RefAttributes<HTMLDivElement | null>>;
513
519
 
514
520
  export declare interface ColumnProps extends React.HTMLProps<HTMLDivElement> {
521
+ basis?: string;
515
522
  }
516
523
 
517
524
  /**
@@ -672,6 +679,12 @@ declare interface CompanyPlanDetailResponseData {
672
679
  * @memberof CompanyPlanDetailResponseData
673
680
  */
674
681
  id: string;
682
+ /**
683
+ *
684
+ * @type {boolean}
685
+ * @memberof CompanyPlanDetailResponseData
686
+ */
687
+ isDefault: boolean;
675
688
  /**
676
689
  *
677
690
  * @type {BillingPriceResponseData}
@@ -1171,7 +1184,7 @@ export declare interface EmbedContextProps {
1171
1184
  setLayout: (layout: EmbedLayout) => void;
1172
1185
  }
1173
1186
 
1174
- declare type EmbedLayout = "portal" | "checkout" | "payment" | "disabled";
1187
+ declare type EmbedLayout = "portal" | "checkout" | "payment" | "success" | "disabled";
1175
1188
 
1176
1189
  export declare interface EmbedProps {
1177
1190
  accessToken?: string;
@@ -2048,7 +2061,7 @@ declare interface InvoiceResponseData {
2048
2061
  * @type {string}
2049
2062
  * @memberof InvoiceResponseData
2050
2063
  */
2051
- externalId: string;
2064
+ externalId?: string | null;
2052
2065
  /**
2053
2066
  *
2054
2067
  * @type {string}
@@ -2096,6 +2109,8 @@ declare class JSONApiResponse<T> {
2096
2109
 
2097
2110
  export { Keys }
2098
2111
 
2112
+ export declare const Loader: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2113
+
2099
2114
  declare function mapValues(data: any, fn: (item: any) => any): {};
2100
2115
 
2101
2116
  export declare const MeteredFeatures: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_3> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
@@ -2113,7 +2128,7 @@ export declare const Modal: ({ children, size, onClose }: ModalProps) => JSX_2.E
2113
2128
  export declare const ModalHeader: ({ children, bordered, onClose, }: ModalHeaderProps) => JSX_2.Element;
2114
2129
 
2115
2130
  declare interface ModalHeaderProps {
2116
- children: React.ReactNode;
2131
+ children?: React.ReactNode;
2117
2132
  bordered?: boolean;
2118
2133
  onClose?: () => void;
2119
2134
  }
@@ -2498,7 +2513,9 @@ declare interface ResponseTransformer<T> {
2498
2513
 
2499
2514
  export declare const Root: ForwardRefExoticComponent<Omit<RootProps, "ref"> & RefAttributes<HTMLDivElement | null>>;
2500
2515
 
2501
- export declare interface RootProps extends React.HTMLProps<HTMLDivElement> {
2516
+ export declare interface RootProps extends Omit<React.HTMLProps<HTMLDivElement>, "data"> {
2517
+ data?: ComponentHydrateResponseData;
2518
+ settings?: EmbedSettings;
2502
2519
  }
2503
2520
 
2504
2521
  /**