@schematichq/schematic-components 1.1.4 → 1.3.0

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.
@@ -1901,6 +1901,8 @@ export declare type CheckoutState = {
1901
1901
  planId?: string | null;
1902
1902
  addOnId?: string | null;
1903
1903
  usage?: boolean;
1904
+ addOnUsage?: boolean;
1905
+ credits?: boolean;
1904
1906
  };
1905
1907
 
1906
1908
  /**
@@ -3798,7 +3800,7 @@ declare interface EventSummaryResponseData {
3798
3800
  * @type {number}
3799
3801
  * @memberof EventSummaryResponseData
3800
3802
  */
3801
- companyCount?: number | null;
3803
+ companyCount: number;
3802
3804
  /**
3803
3805
  *
3804
3806
  * @type {string}
@@ -3828,7 +3830,7 @@ declare interface EventSummaryResponseData {
3828
3830
  * @type {number}
3829
3831
  * @memberof EventSummaryResponseData
3830
3832
  */
3831
- userCount?: number | null;
3833
+ userCount: number;
3832
3834
  }
3833
3835
 
3834
3836
  /**
@@ -3853,7 +3855,7 @@ declare interface EventSummaryResponseData_2 {
3853
3855
  * @type {number}
3854
3856
  * @memberof EventSummaryResponseData
3855
3857
  */
3856
- companyCount?: number | null;
3858
+ companyCount: number;
3857
3859
  /**
3858
3860
  *
3859
3861
  * @type {string}
@@ -3883,7 +3885,7 @@ declare interface EventSummaryResponseData_2 {
3883
3885
  * @type {number}
3884
3886
  * @memberof EventSummaryResponseData
3885
3887
  */
3886
- userCount?: number | null;
3888
+ userCount: number;
3887
3889
  }
3888
3890
 
3889
3891
  /**
@@ -5161,6 +5163,8 @@ declare interface PaymentMethodResponseData {
5161
5163
  updatedAt: Date;
5162
5164
  }
5163
5165
 
5166
+ declare type Plan = CompanyPlanDetailResponseData | PlanViewPublicResponseData;
5167
+
5164
5168
  /**
5165
5169
  * Schematic API
5166
5170
  * Schematic API
@@ -7015,7 +7019,7 @@ declare interface RuleDetailResponseData_2 {
7015
7019
 
7016
7020
  export declare const SchematicEmbed: ({ id, accessToken }: EmbedProps) => JSX.Element;
7017
7021
 
7018
- export declare type SelectedPlan = (PlanViewPublicResponseData | CompanyPlanDetailResponseData) & {
7022
+ declare type SelectedPlan = Plan & {
7019
7023
  isSelected: boolean;
7020
7024
  };
7021
7025
 
@@ -7177,7 +7181,7 @@ declare type TransientCSSProperties = {
7177
7181
  [Property in keyof React.CSSProperties as `$${string & Property}`]: React.CSSProperties[Property];
7178
7182
  };
7179
7183
 
7180
- export declare const TransitionBox: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
7184
+ export declare const TransitionBox: IStyledComponentBase<"web", Substitute<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
7181
7185
  $viewport?: {
7182
7186
  sm?: TransientCSSProperties;
7183
7187
  md?: TransientCSSProperties;
@@ -7186,7 +7190,11 @@ xl?: TransientCSSProperties;
7186
7190
  "2xl"?: TransientCSSProperties;
7187
7191
  [key: string]: TransientCSSProperties | undefined;
7188
7192
  };
7189
- }, never>> & string;
7193
+ }, TransitionBoxProps>> & string;
7194
+
7195
+ declare interface TransitionBoxProps {
7196
+ $isExpanded?: boolean;
7197
+ }
7190
7198
 
7191
7199
  export declare interface TypographySettings {
7192
7200
  fontFamily: string;