@schematichq/schematic-components 2.21.1-rc.1 → 2.22.0-rc.2

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.
@@ -5929,7 +5929,7 @@ var i;
5929
5929
  var c = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled";
5930
5930
  var a = "active";
5931
5931
  var l = "data-styled-version";
5932
- var u = "6.4.4";
5932
+ var u = "6.5.0";
5933
5933
  var h = "/*!sc*/\n";
5934
5934
  var d = "undefined" != typeof window && "undefined" != typeof document;
5935
5935
  function p(e2) {
@@ -8679,6 +8679,14 @@ function CustomPlanBillingStatusFromJSONTyped(json, ignoreDiscriminator) {
8679
8679
  return json;
8680
8680
  }
8681
8681
 
8682
+ // src/api/checkoutexternal/models/PlanBillingSource.ts
8683
+ function PlanBillingSourceFromJSON(json) {
8684
+ return PlanBillingSourceFromJSONTyped(json, false);
8685
+ }
8686
+ function PlanBillingSourceFromJSONTyped(json, ignoreDiscriminator) {
8687
+ return json;
8688
+ }
8689
+
8682
8690
  // src/api/checkoutexternal/models/CustomPlanBillingResponseData.ts
8683
8691
  function CustomPlanBillingResponseDataFromJSON(json) {
8684
8692
  return CustomPlanBillingResponseDataFromJSONTyped(json, false);
@@ -8697,6 +8705,7 @@ function CustomPlanBillingResponseDataFromJSONTyped(json, ignoreDiscriminator) {
8697
8705
  externalInvoiceId: json["external_invoice_id"] == null ? void 0 : json["external_invoice_id"],
8698
8706
  id: json["id"],
8699
8707
  paidAt: json["paid_at"] == null ? void 0 : new Date(json["paid_at"]),
8708
+ planBillingSource: PlanBillingSourceFromJSON(json["plan_billing_source"]),
8700
8709
  planId: json["plan_id"],
8701
8710
  publishedAt: json["published_at"] == null ? void 0 : new Date(json["published_at"]),
8702
8711
  sendInvoice: json["send_invoice"],
@@ -10118,6 +10127,7 @@ function PreviewSubscriptionFinanceResponseDataFromJSONTyped(json, ignoreDiscrim
10118
10127
  }
10119
10128
  return {
10120
10129
  amountOff: json["amount_off"],
10130
+ discountAmount: json["discount_amount"],
10121
10131
  discounts: json["discounts"].map(
10122
10132
  PreviewSubscriptionDiscountResponseDataFromJSON
10123
10133
  ),
@@ -14374,7 +14384,7 @@ var reducer = (state, action) => {
14374
14384
  // src/context/EmbedProvider.tsx
14375
14385
  var import_jsx_runtime3 = require("react/jsx-runtime");
14376
14386
  var getCustomHeaders = (sessionId) => ({
14377
- "X-Schematic-Components-Version": "2.21.1-rc.1",
14387
+ "X-Schematic-Components-Version": "2.22.0-rc.2",
14378
14388
  "X-Schematic-Session-ID": sessionId
14379
14389
  });
14380
14390
  var normalizeCurrencyFilter = (filter2) => {
@@ -5839,7 +5839,7 @@ var i;
5839
5839
  var c = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled";
5840
5840
  var a = "active";
5841
5841
  var l = "data-styled-version";
5842
- var u = "6.4.4";
5842
+ var u = "6.5.0";
5843
5843
  var h = "/*!sc*/\n";
5844
5844
  var d = "undefined" != typeof window && "undefined" != typeof document;
5845
5845
  function p(e2) {
@@ -8589,6 +8589,14 @@ function CustomPlanBillingStatusFromJSONTyped(json, ignoreDiscriminator) {
8589
8589
  return json;
8590
8590
  }
8591
8591
 
8592
+ // src/api/checkoutexternal/models/PlanBillingSource.ts
8593
+ function PlanBillingSourceFromJSON(json) {
8594
+ return PlanBillingSourceFromJSONTyped(json, false);
8595
+ }
8596
+ function PlanBillingSourceFromJSONTyped(json, ignoreDiscriminator) {
8597
+ return json;
8598
+ }
8599
+
8592
8600
  // src/api/checkoutexternal/models/CustomPlanBillingResponseData.ts
8593
8601
  function CustomPlanBillingResponseDataFromJSON(json) {
8594
8602
  return CustomPlanBillingResponseDataFromJSONTyped(json, false);
@@ -8607,6 +8615,7 @@ function CustomPlanBillingResponseDataFromJSONTyped(json, ignoreDiscriminator) {
8607
8615
  externalInvoiceId: json["external_invoice_id"] == null ? void 0 : json["external_invoice_id"],
8608
8616
  id: json["id"],
8609
8617
  paidAt: json["paid_at"] == null ? void 0 : new Date(json["paid_at"]),
8618
+ planBillingSource: PlanBillingSourceFromJSON(json["plan_billing_source"]),
8610
8619
  planId: json["plan_id"],
8611
8620
  publishedAt: json["published_at"] == null ? void 0 : new Date(json["published_at"]),
8612
8621
  sendInvoice: json["send_invoice"],
@@ -10028,6 +10037,7 @@ function PreviewSubscriptionFinanceResponseDataFromJSONTyped(json, ignoreDiscrim
10028
10037
  }
10029
10038
  return {
10030
10039
  amountOff: json["amount_off"],
10040
+ discountAmount: json["discount_amount"],
10031
10041
  discounts: json["discounts"].map(
10032
10042
  PreviewSubscriptionDiscountResponseDataFromJSON
10033
10043
  ),
@@ -14284,7 +14294,7 @@ var reducer = (state, action) => {
14284
14294
  // src/context/EmbedProvider.tsx
14285
14295
  import { jsx as jsx2, jsxs } from "react/jsx-runtime";
14286
14296
  var getCustomHeaders = (sessionId) => ({
14287
- "X-Schematic-Components-Version": "2.21.1-rc.1",
14297
+ "X-Schematic-Components-Version": "2.22.0-rc.2",
14288
14298
  "X-Schematic-Session-ID": sessionId
14289
14299
  });
14290
14300
  var normalizeCurrencyFilter = (filter2) => {
@@ -778,7 +778,7 @@ var require_styled_components_cjs = __commonJS({
778
778
  var u = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled";
779
779
  var d = "active";
780
780
  var h = "data-styled-version";
781
- var p = "6.4.4";
781
+ var p = "6.5.0";
782
782
  var f = "/*!sc*/\n";
783
783
  var m = "undefined" != typeof window && "undefined" != typeof document;
784
784
  var y = void 0 === a.default.createContext;
@@ -9035,6 +9035,14 @@ function CustomPlanBillingStatusFromJSONTyped(json, ignoreDiscriminator) {
9035
9035
  return json;
9036
9036
  }
9037
9037
 
9038
+ // src/api/checkoutexternal/models/PlanBillingSource.ts
9039
+ function PlanBillingSourceFromJSON(json) {
9040
+ return PlanBillingSourceFromJSONTyped(json, false);
9041
+ }
9042
+ function PlanBillingSourceFromJSONTyped(json, ignoreDiscriminator) {
9043
+ return json;
9044
+ }
9045
+
9038
9046
  // src/api/checkoutexternal/models/CustomPlanBillingResponseData.ts
9039
9047
  function CustomPlanBillingResponseDataFromJSON(json) {
9040
9048
  return CustomPlanBillingResponseDataFromJSONTyped(json, false);
@@ -9053,6 +9061,7 @@ function CustomPlanBillingResponseDataFromJSONTyped(json, ignoreDiscriminator) {
9053
9061
  externalInvoiceId: json["external_invoice_id"] == null ? void 0 : json["external_invoice_id"],
9054
9062
  id: json["id"],
9055
9063
  paidAt: json["paid_at"] == null ? void 0 : new Date(json["paid_at"]),
9064
+ planBillingSource: PlanBillingSourceFromJSON(json["plan_billing_source"]),
9056
9065
  planId: json["plan_id"],
9057
9066
  publishedAt: json["published_at"] == null ? void 0 : new Date(json["published_at"]),
9058
9067
  sendInvoice: json["send_invoice"],
@@ -10474,6 +10483,7 @@ function PreviewSubscriptionFinanceResponseDataFromJSONTyped(json, ignoreDiscrim
10474
10483
  }
10475
10484
  return {
10476
10485
  amountOff: json["amount_off"],
10486
+ discountAmount: json["discount_amount"],
10477
10487
  discounts: json["discounts"].map(
10478
10488
  PreviewSubscriptionDiscountResponseDataFromJSON
10479
10489
  ),
@@ -14731,7 +14741,7 @@ var reducer = (state, action) => {
14731
14741
  // src/context/EmbedProvider.tsx
14732
14742
  var import_jsx_runtime3 = require("react/jsx-runtime");
14733
14743
  var getCustomHeaders = (sessionId) => ({
14734
- "X-Schematic-Components-Version": "2.21.1-rc.1",
14744
+ "X-Schematic-Components-Version": "2.22.0-rc.2",
14735
14745
  "X-Schematic-Session-ID": sessionId
14736
14746
  });
14737
14747
  var normalizeCurrencyFilter = (filter) => {
@@ -1,6 +1,8 @@
1
1
  import { ButtonHTMLAttributes } from 'react';
2
- import { ClassAttributes } from 'react';
3
2
  import { Context } from 'react';
3
+ import { CSSProperties } from 'react';
4
+ import { CSSProperties as CSSProperties_2 } from 'styled-components';
5
+ import { CSSPropertiesWithVars } from 'styled-components/dist/types';
4
6
  import { DetailedHTMLProps } from 'react';
5
7
  import { FastOmit } from 'styled-components';
6
8
  import { ForwardRefExoticComponent } from 'react';
@@ -11,6 +13,7 @@ import { iconsList } from '@schematichq/schematic-icons';
11
13
  import { InputHTMLAttributes } from 'react';
12
14
  import { IStyledComponentBase } from 'styled-components/dist/types';
13
15
  import { JSX } from 'react';
16
+ import { Merged } from 'styled-components/dist/types';
14
17
  import { RefAttributes } from 'react';
15
18
  import { RuleSet } from 'styled-components';
16
19
  import type { Stripe } from '@stripe/stripe-js';
@@ -2890,25 +2893,9 @@ declare const BillingTiersMode_2: {
2890
2893
 
2891
2894
  declare type BillingTiersMode_2 = (typeof BillingTiersMode_2)[keyof typeof BillingTiersMode_2];
2892
2895
 
2893
- export declare const Box: IStyledComponentBase<"web", FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
2894
- $viewport?: {
2895
- "sm"?: TransientCSSProperties;
2896
- "md"?: TransientCSSProperties;
2897
- "lg"?: TransientCSSProperties;
2898
- "xl"?: TransientCSSProperties;
2899
- "2xl"?: TransientCSSProperties;
2900
- [key: string]: TransientCSSProperties | undefined;
2901
- };
2902
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
2903
- $viewport?: {
2904
- "sm"?: TransientCSSProperties;
2905
- "md"?: TransientCSSProperties;
2906
- "lg"?: TransientCSSProperties;
2907
- "xl"?: TransientCSSProperties;
2908
- "2xl"?: TransientCSSProperties;
2909
- [key: string]: TransientCSSProperties | undefined;
2910
- };
2911
- }, never>>> & string;
2896
+ export declare const Box: IStyledComponentBase<"web", Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
2897
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
2898
+ }, BoxProps>> & string;
2912
2899
 
2913
2900
  export declare type BoxProps = ComponentProps & {
2914
2901
  $viewport?: {
@@ -2921,7 +2908,9 @@ export declare type BoxProps = ComponentProps & {
2921
2908
  };
2922
2909
  };
2923
2910
 
2924
- export declare const Button: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof ButtonProps> & ButtonProps, never> & Partial<Pick<FastOmit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof ButtonProps> & ButtonProps, never>>> & string;
2911
+ export declare const Button: IStyledComponentBase<"web", Merged<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
2912
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
2913
+ }, ButtonProps>> & string;
2925
2914
 
2926
2915
  export declare type ButtonAlignment = "start" | "center" | "end";
2927
2916
 
@@ -3239,7 +3228,11 @@ declare const ChargeType_2: {
3239
3228
 
3240
3229
  declare type ChargeType_2 = (typeof ChargeType_2)[keyof typeof ChargeType_2];
3241
3230
 
3242
- export declare const Checkbox: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof ClassAttributes<HTMLInputElement> | keyof InputHTMLAttributes<HTMLInputElement>> & ClassAttributes<HTMLInputElement> & InputHTMLAttributes<HTMLInputElement>, "type"> & Partial<Pick<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof ClassAttributes<HTMLInputElement> | keyof InputHTMLAttributes<HTMLInputElement>> & ClassAttributes<HTMLInputElement> & InputHTMLAttributes<HTMLInputElement>, "type">>> & string;
3231
+ export declare const Checkbox: IStyledComponentBase<"web", FastOmit<Merged<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
3232
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
3233
+ }, DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, "type"> & Partial<Pick<Merged<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
3234
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
3235
+ }, DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, "type">>> & string;
3243
3236
 
3244
3237
  export declare const Checkout: ({ collectTaxId, customCheckoutFields, customFieldValues, isPaymentMethodRequired, onCustomFieldChange, taxIdValues, onTaxIdChange, onTaxIdBlur, taxIdError, optInRequired, optInTitle, optInText, optInAccepted, setOptInAccepted, setPaymentMethodId, promoCode, updatePromoCode, confirmPaymentIntentProps, financeData, onPaymentMethodSaved, }: CheckoutProps) => JSX.Element | null;
3245
3238
 
@@ -5617,7 +5610,9 @@ declare interface ConfirmPaymentIntentProps_2 {
5617
5610
  callback: (confirmed: boolean) => void;
5618
5611
  }
5619
5612
 
5620
- export declare const Container: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
5613
+ export declare const Container: IStyledComponentBase<"web", Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
5614
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
5615
+ }> & string;
5621
5616
 
5622
5617
  export declare const ContainerStyle: RuleSet<object>;
5623
5618
 
@@ -6212,6 +6207,12 @@ declare interface CustomPlanBillingResponseData {
6212
6207
  * @memberof CustomPlanBillingResponseData
6213
6208
  */
6214
6209
  paidAt?: Date | null;
6210
+ /**
6211
+ * The flow that created this billing record: a custom plan, or a standard plan assigned by invoice through Manage Plan.
6212
+ * @type {PlanBillingSource}
6213
+ * @memberof CustomPlanBillingResponseData
6214
+ */
6215
+ planBillingSource: PlanBillingSource;
6215
6216
  /**
6216
6217
  *
6217
6218
  * @type {string}
@@ -6634,49 +6635,16 @@ export declare interface DialogProps extends React.DialogHTMLAttributes<HTMLDial
6634
6635
 
6635
6636
  export declare type DialogSize = "sm" | "md" | "lg" | "auto";
6636
6637
 
6637
- declare const Element_2: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
6638
- $viewport?: {
6639
- "sm"?: TransientCSSProperties;
6640
- "md"?: TransientCSSProperties;
6641
- "lg"?: TransientCSSProperties;
6642
- "xl"?: TransientCSSProperties;
6643
- "2xl"?: TransientCSSProperties;
6644
- [key: string]: TransientCSSProperties | undefined;
6645
- };
6646
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
6647
- $viewport?: {
6648
- "sm"?: TransientCSSProperties;
6649
- "md"?: TransientCSSProperties;
6650
- "lg"?: TransientCSSProperties;
6651
- "xl"?: TransientCSSProperties;
6652
- "2xl"?: TransientCSSProperties;
6653
- [key: string]: TransientCSSProperties | undefined;
6654
- };
6655
- }, never>>, "as" | "forwardedAs"> & {
6638
+ declare const Element_2: IStyledComponentBase<"web", Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
6639
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
6640
+ }, BoxProps>, "as" | "forwardedAs"> & {
6656
6641
  as?: WebTarget | undefined;
6657
6642
  forwardedAs?: WebTarget | undefined;
6658
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
6659
- $viewport?: {
6660
- "sm"?: TransientCSSProperties;
6661
- "md"?: TransientCSSProperties;
6662
- "lg"?: TransientCSSProperties;
6663
- "xl"?: TransientCSSProperties;
6664
- "2xl"?: TransientCSSProperties;
6665
- [key: string]: TransientCSSProperties | undefined;
6666
- };
6667
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
6668
- $viewport?: {
6669
- "sm"?: TransientCSSProperties;
6670
- "md"?: TransientCSSProperties;
6671
- "lg"?: TransientCSSProperties;
6672
- "xl"?: TransientCSSProperties;
6673
- "2xl"?: TransientCSSProperties;
6674
- [key: string]: TransientCSSProperties | undefined;
6675
- };
6676
- }, never>>, "as" | "forwardedAs"> & {
6677
- as?: WebTarget | undefined;
6678
- forwardedAs?: WebTarget | undefined;
6679
- }, never>>> & string;
6643
+ }, "style"> & {
6644
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
6645
+ [key: `--${string}`]: string | number | undefined;
6646
+ }) | undefined;
6647
+ }> & string;
6680
6648
  export { Element_2 as Element }
6681
6649
 
6682
6650
  declare interface ElementProps {
@@ -8404,49 +8372,16 @@ declare const FlagType_2: {
8404
8372
 
8405
8373
  declare type FlagType_2 = (typeof FlagType_2)[keyof typeof FlagType_2];
8406
8374
 
8407
- export declare const Flex: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8408
- $viewport?: {
8409
- "sm"?: TransientCSSProperties;
8410
- "md"?: TransientCSSProperties;
8411
- "lg"?: TransientCSSProperties;
8412
- "xl"?: TransientCSSProperties;
8413
- "2xl"?: TransientCSSProperties;
8414
- [key: string]: TransientCSSProperties | undefined;
8415
- };
8416
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8417
- $viewport?: {
8418
- "sm"?: TransientCSSProperties;
8419
- "md"?: TransientCSSProperties;
8420
- "lg"?: TransientCSSProperties;
8421
- "xl"?: TransientCSSProperties;
8422
- "2xl"?: TransientCSSProperties;
8423
- [key: string]: TransientCSSProperties | undefined;
8424
- };
8425
- }, never>>, "as" | "forwardedAs"> & {
8375
+ export declare const Flex: IStyledComponentBase<"web", Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8376
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
8377
+ }, BoxProps>, "as" | "forwardedAs"> & {
8426
8378
  as?: WebTarget | undefined;
8427
8379
  forwardedAs?: WebTarget | undefined;
8428
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8429
- $viewport?: {
8430
- "sm"?: TransientCSSProperties;
8431
- "md"?: TransientCSSProperties;
8432
- "lg"?: TransientCSSProperties;
8433
- "xl"?: TransientCSSProperties;
8434
- "2xl"?: TransientCSSProperties;
8435
- [key: string]: TransientCSSProperties | undefined;
8436
- };
8437
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8438
- $viewport?: {
8439
- "sm"?: TransientCSSProperties;
8440
- "md"?: TransientCSSProperties;
8441
- "lg"?: TransientCSSProperties;
8442
- "xl"?: TransientCSSProperties;
8443
- "2xl"?: TransientCSSProperties;
8444
- [key: string]: TransientCSSProperties | undefined;
8445
- };
8446
- }, never>>, "as" | "forwardedAs"> & {
8447
- as?: WebTarget | undefined;
8448
- forwardedAs?: WebTarget | undefined;
8449
- }, never>>> & string;
8380
+ }, "style"> & {
8381
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
8382
+ [key: `--${string}`]: string | number | undefined;
8383
+ }) | undefined;
8384
+ }> & string;
8450
8385
 
8451
8386
  export declare type FontStyle = keyof ThemeSettings["typography"];
8452
8387
 
@@ -8461,97 +8396,23 @@ export declare function formatInvoices(invoices?: InvoiceResponseData[], options
8461
8396
  url: string | undefined;
8462
8397
  }[];
8463
8398
 
8464
- export declare const FussyChild: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8465
- $viewport?: {
8466
- "sm"?: TransientCSSProperties;
8467
- "md"?: TransientCSSProperties;
8468
- "lg"?: TransientCSSProperties;
8469
- "xl"?: TransientCSSProperties;
8470
- "2xl"?: TransientCSSProperties;
8471
- [key: string]: TransientCSSProperties | undefined;
8472
- };
8473
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8474
- $viewport?: {
8475
- "sm"?: TransientCSSProperties;
8476
- "md"?: TransientCSSProperties;
8477
- "lg"?: TransientCSSProperties;
8478
- "xl"?: TransientCSSProperties;
8479
- "2xl"?: TransientCSSProperties;
8480
- [key: string]: TransientCSSProperties | undefined;
8481
- };
8482
- }, never>>, "as" | "forwardedAs"> & {
8399
+ export declare const FussyChild: IStyledComponentBase<"web", Omit<FastOmit<Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8400
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
8401
+ }, BoxProps>, "as" | "forwardedAs"> & {
8483
8402
  as?: WebTarget | undefined;
8484
8403
  forwardedAs?: WebTarget | undefined;
8485
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8486
- $viewport?: {
8487
- "sm"?: TransientCSSProperties;
8488
- "md"?: TransientCSSProperties;
8489
- "lg"?: TransientCSSProperties;
8490
- "xl"?: TransientCSSProperties;
8491
- "2xl"?: TransientCSSProperties;
8492
- [key: string]: TransientCSSProperties | undefined;
8493
- };
8494
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8495
- $viewport?: {
8496
- "sm"?: TransientCSSProperties;
8497
- "md"?: TransientCSSProperties;
8498
- "lg"?: TransientCSSProperties;
8499
- "xl"?: TransientCSSProperties;
8500
- "2xl"?: TransientCSSProperties;
8501
- [key: string]: TransientCSSProperties | undefined;
8502
- };
8503
- }, never>>, "as" | "forwardedAs"> & {
8504
- as?: WebTarget | undefined;
8505
- forwardedAs?: WebTarget | undefined;
8506
- }, never>>, "as" | "forwardedAs"> & {
8507
- as?: WebTarget | undefined;
8508
- forwardedAs?: WebTarget | undefined;
8509
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8510
- $viewport?: {
8511
- "sm"?: TransientCSSProperties;
8512
- "md"?: TransientCSSProperties;
8513
- "lg"?: TransientCSSProperties;
8514
- "xl"?: TransientCSSProperties;
8515
- "2xl"?: TransientCSSProperties;
8516
- [key: string]: TransientCSSProperties | undefined;
8517
- };
8518
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8519
- $viewport?: {
8520
- "sm"?: TransientCSSProperties;
8521
- "md"?: TransientCSSProperties;
8522
- "lg"?: TransientCSSProperties;
8523
- "xl"?: TransientCSSProperties;
8524
- "2xl"?: TransientCSSProperties;
8525
- [key: string]: TransientCSSProperties | undefined;
8526
- };
8527
- }, never>>, "as" | "forwardedAs"> & {
8404
+ }, "style"> & {
8405
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
8406
+ [key: `--${string}`]: string | number | undefined;
8407
+ }) | undefined;
8408
+ }, "as" | "forwardedAs"> & {
8528
8409
  as?: WebTarget | undefined;
8529
8410
  forwardedAs?: WebTarget | undefined;
8530
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8531
- $viewport?: {
8532
- "sm"?: TransientCSSProperties;
8533
- "md"?: TransientCSSProperties;
8534
- "lg"?: TransientCSSProperties;
8535
- "xl"?: TransientCSSProperties;
8536
- "2xl"?: TransientCSSProperties;
8537
- [key: string]: TransientCSSProperties | undefined;
8538
- };
8539
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8540
- $viewport?: {
8541
- "sm"?: TransientCSSProperties;
8542
- "md"?: TransientCSSProperties;
8543
- "lg"?: TransientCSSProperties;
8544
- "xl"?: TransientCSSProperties;
8545
- "2xl"?: TransientCSSProperties;
8546
- [key: string]: TransientCSSProperties | undefined;
8547
- };
8548
- }, never>>, "as" | "forwardedAs"> & {
8549
- as?: WebTarget | undefined;
8550
- forwardedAs?: WebTarget | undefined;
8551
- }, never>>, "as" | "forwardedAs"> & {
8552
- as?: WebTarget | undefined;
8553
- forwardedAs?: WebTarget | undefined;
8554
- }, never>>> & string;
8411
+ }, "style"> & {
8412
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
8413
+ [key: `--${string}`]: string | number | undefined;
8414
+ }) | undefined;
8415
+ }> & string;
8555
8416
 
8556
8417
  /**
8557
8418
  * Schematic API
@@ -8771,15 +8632,13 @@ export declare const initialContext: {
8771
8632
 
8772
8633
  export declare const initialState: EmbedState;
8773
8634
 
8774
- export declare const Input: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "$color" | "$size" | "$variant"> & {
8635
+ export declare const Input: IStyledComponentBase<"web", Merged<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
8636
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
8637
+ }, {
8775
8638
  $size?: "xs" | "sm" | "md" | "lg" | "full";
8776
8639
  $color?: "primary" | "secondary" | "danger";
8777
8640
  $variant?: "filled" | "outline" | "ghost" | "text";
8778
- }, never> & Partial<Pick<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "$color" | "$size" | "$variant"> & {
8779
- $size?: "xs" | "sm" | "md" | "lg" | "full";
8780
- $color?: "primary" | "secondary" | "danger";
8781
- $variant?: "filled" | "outline" | "ghost" | "text";
8782
- }, never>>> & string;
8641
+ }>> & string;
8783
8642
 
8784
8643
  /**
8785
8644
  *
@@ -9001,7 +8860,9 @@ declare interface ListInvoicesResponse {
9001
8860
  params: ListInvoicesParams;
9002
8861
  }
9003
8862
 
9004
- export declare const Loader: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof LoaderProps> & LoaderProps, never> & Partial<Pick<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof LoaderProps> & LoaderProps, never>>> & string;
8863
+ export declare const Loader: IStyledComponentBase<"web", Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8864
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
8865
+ }, LoaderProps>> & string;
9005
8866
 
9006
8867
  declare interface LoaderProps {
9007
8868
  $size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
@@ -9069,141 +8930,34 @@ declare interface Middleware {
9069
8930
  onError?(context: ErrorContext): Promise<Response | void>;
9070
8931
  }
9071
8932
 
9072
- export declare const Notice: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
9073
- $viewport?: {
9074
- "sm"?: TransientCSSProperties;
9075
- "md"?: TransientCSSProperties;
9076
- "lg"?: TransientCSSProperties;
9077
- "xl"?: TransientCSSProperties;
9078
- "2xl"?: TransientCSSProperties;
9079
- [key: string]: TransientCSSProperties | undefined;
9080
- };
9081
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
9082
- $viewport?: {
9083
- "sm"?: TransientCSSProperties;
9084
- "md"?: TransientCSSProperties;
9085
- "lg"?: TransientCSSProperties;
9086
- "xl"?: TransientCSSProperties;
9087
- "2xl"?: TransientCSSProperties;
9088
- [key: string]: TransientCSSProperties | undefined;
9089
- };
9090
- }, never>>, "as" | "forwardedAs"> & {
8933
+ export declare const Notice: IStyledComponentBase<"web", Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8934
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
8935
+ }, BoxProps>, "as" | "forwardedAs"> & {
9091
8936
  as?: WebTarget | undefined;
9092
8937
  forwardedAs?: WebTarget | undefined;
9093
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
9094
- $viewport?: {
9095
- "sm"?: TransientCSSProperties;
9096
- "md"?: TransientCSSProperties;
9097
- "lg"?: TransientCSSProperties;
9098
- "xl"?: TransientCSSProperties;
9099
- "2xl"?: TransientCSSProperties;
9100
- [key: string]: TransientCSSProperties | undefined;
9101
- };
9102
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
9103
- $viewport?: {
9104
- "sm"?: TransientCSSProperties;
9105
- "md"?: TransientCSSProperties;
9106
- "lg"?: TransientCSSProperties;
9107
- "xl"?: TransientCSSProperties;
9108
- "2xl"?: TransientCSSProperties;
9109
- [key: string]: TransientCSSProperties | undefined;
9110
- };
9111
- }, never>>, "as" | "forwardedAs"> & {
9112
- as?: WebTarget | undefined;
9113
- forwardedAs?: WebTarget | undefined;
9114
- }, never>>> & string;
9115
-
9116
- export declare const Overlay: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
9117
- $viewport?: {
9118
- "sm"?: TransientCSSProperties;
9119
- "md"?: TransientCSSProperties;
9120
- "lg"?: TransientCSSProperties;
9121
- "xl"?: TransientCSSProperties;
9122
- "2xl"?: TransientCSSProperties;
9123
- [key: string]: TransientCSSProperties | undefined;
9124
- };
9125
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
9126
- $viewport?: {
9127
- "sm"?: TransientCSSProperties;
9128
- "md"?: TransientCSSProperties;
9129
- "lg"?: TransientCSSProperties;
9130
- "xl"?: TransientCSSProperties;
9131
- "2xl"?: TransientCSSProperties;
9132
- [key: string]: TransientCSSProperties | undefined;
9133
- };
9134
- }, never>>, "as" | "forwardedAs"> & {
9135
- as?: WebTarget | undefined;
9136
- forwardedAs?: WebTarget | undefined;
9137
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
9138
- $viewport?: {
9139
- "sm"?: TransientCSSProperties;
9140
- "md"?: TransientCSSProperties;
9141
- "lg"?: TransientCSSProperties;
9142
- "xl"?: TransientCSSProperties;
9143
- "2xl"?: TransientCSSProperties;
9144
- [key: string]: TransientCSSProperties | undefined;
9145
- };
9146
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
9147
- $viewport?: {
9148
- "sm"?: TransientCSSProperties;
9149
- "md"?: TransientCSSProperties;
9150
- "lg"?: TransientCSSProperties;
9151
- "xl"?: TransientCSSProperties;
9152
- "2xl"?: TransientCSSProperties;
9153
- [key: string]: TransientCSSProperties | undefined;
9154
- };
9155
- }, never>>, "as" | "forwardedAs"> & {
9156
- as?: WebTarget | undefined;
9157
- forwardedAs?: WebTarget | undefined;
9158
- }, never>>, "as" | "forwardedAs"> & {
9159
- as?: WebTarget | undefined;
9160
- forwardedAs?: WebTarget | undefined;
9161
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
9162
- $viewport?: {
9163
- "sm"?: TransientCSSProperties;
9164
- "md"?: TransientCSSProperties;
9165
- "lg"?: TransientCSSProperties;
9166
- "xl"?: TransientCSSProperties;
9167
- "2xl"?: TransientCSSProperties;
9168
- [key: string]: TransientCSSProperties | undefined;
9169
- };
9170
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
9171
- $viewport?: {
9172
- "sm"?: TransientCSSProperties;
9173
- "md"?: TransientCSSProperties;
9174
- "lg"?: TransientCSSProperties;
9175
- "xl"?: TransientCSSProperties;
9176
- "2xl"?: TransientCSSProperties;
9177
- [key: string]: TransientCSSProperties | undefined;
9178
- };
9179
- }, never>>, "as" | "forwardedAs"> & {
9180
- as?: WebTarget | undefined;
9181
- forwardedAs?: WebTarget | undefined;
9182
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
9183
- $viewport?: {
9184
- "sm"?: TransientCSSProperties;
9185
- "md"?: TransientCSSProperties;
9186
- "lg"?: TransientCSSProperties;
9187
- "xl"?: TransientCSSProperties;
9188
- "2xl"?: TransientCSSProperties;
9189
- [key: string]: TransientCSSProperties | undefined;
9190
- };
9191
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
9192
- $viewport?: {
9193
- "sm"?: TransientCSSProperties;
9194
- "md"?: TransientCSSProperties;
9195
- "lg"?: TransientCSSProperties;
9196
- "xl"?: TransientCSSProperties;
9197
- "2xl"?: TransientCSSProperties;
9198
- [key: string]: TransientCSSProperties | undefined;
9199
- };
9200
- }, never>>, "as" | "forwardedAs"> & {
8938
+ }, "style"> & {
8939
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
8940
+ [key: `--${string}`]: string | number | undefined;
8941
+ }) | undefined;
8942
+ }> & string;
8943
+
8944
+ export declare const Overlay: IStyledComponentBase<"web", Omit<FastOmit<Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8945
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
8946
+ }, BoxProps>, "as" | "forwardedAs"> & {
9201
8947
  as?: WebTarget | undefined;
9202
8948
  forwardedAs?: WebTarget | undefined;
9203
- }, never>>, "as" | "forwardedAs"> & {
8949
+ }, "style"> & {
8950
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
8951
+ [key: `--${string}`]: string | number | undefined;
8952
+ }) | undefined;
8953
+ }, "as" | "forwardedAs"> & {
9204
8954
  as?: WebTarget | undefined;
9205
8955
  forwardedAs?: WebTarget | undefined;
9206
- }, never>>> & string;
8956
+ }, "style"> & {
8957
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
8958
+ [key: `--${string}`]: string | number | undefined;
8959
+ }) | undefined;
8960
+ }> & string;
9207
8961
 
9208
8962
  export declare const PaymentMethod: ForwardRefExoticComponent<ElementProps & DeepPartial<DesignProps_5> & HTMLAttributes<HTMLDivElement> & {
9209
8963
  portal?: HTMLElement | null;
@@ -9350,6 +9104,17 @@ export declare const Plan: ({ portal, isLoading, plans, selectedPlan, period, se
9350
9104
 
9351
9105
  declare type Plan_2 = CompanyPlanDetailResponseData;
9352
9106
 
9107
+ /**
9108
+ *
9109
+ * @export
9110
+ */
9111
+ declare const PlanBillingSource: {
9112
+ readonly CustomPlan: "custom_plan";
9113
+ readonly ManagePlan: "manage_plan";
9114
+ };
9115
+
9116
+ declare type PlanBillingSource = (typeof PlanBillingSource)[keyof typeof PlanBillingSource];
9117
+
9353
9118
  /**
9354
9119
  * Schematic API
9355
9120
  * Schematic API
@@ -11652,6 +11417,12 @@ declare interface PreviewSubscriptionFinanceResponseData {
11652
11417
  * @memberof PreviewSubscriptionFinanceResponseData
11653
11418
  */
11654
11419
  amountOff: number;
11420
+ /**
11421
+ *
11422
+ * @type {number}
11423
+ * @memberof PreviewSubscriptionFinanceResponseData
11424
+ */
11425
+ discountAmount: number;
11655
11426
  /**
11656
11427
  *
11657
11428
  * @type {Array<PreviewSubscriptionDiscountResponseData>}
@@ -12749,7 +12520,9 @@ declare interface StripeEmbedInfo {
12749
12520
 
12750
12521
  export declare const stub: () => never;
12751
12522
 
12752
- export declare const StyledCard: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
12523
+ export declare const StyledCard: IStyledComponentBase<"web", Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
12524
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
12525
+ }> & string;
12753
12526
 
12754
12527
  /**
12755
12528
  *
@@ -12829,7 +12602,11 @@ declare type TaxIdValues = {
12829
12602
  value: string;
12830
12603
  };
12831
12604
 
12832
- declare const Text_2: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof ClassAttributes<HTMLSpanElement> | keyof HTMLAttributes<HTMLSpanElement>> & ClassAttributes<HTMLSpanElement> & HTMLAttributes<HTMLSpanElement>, keyof TextProps> & TextProps, "tabIndex"> & Partial<Pick<FastOmit<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof ClassAttributes<HTMLSpanElement> | keyof HTMLAttributes<HTMLSpanElement>> & ClassAttributes<HTMLSpanElement> & HTMLAttributes<HTMLSpanElement>, keyof TextProps> & TextProps, "tabIndex">>> & string;
12605
+ declare const Text_2: IStyledComponentBase<"web", FastOmit<Merged<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
12606
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
12607
+ }, DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>, TextProps>, "tabIndex"> & Partial<Pick<Merged<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
12608
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
12609
+ }, DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>, TextProps>, "tabIndex">>> & string;
12833
12610
  export { Text_2 as Text }
12834
12611
 
12835
12612
  export declare const TextElement: ForwardRefExoticComponent<ElementProps & DeepPartial<DesignProps_8> & HTMLAttributes<HTMLDivElement> & {
@@ -12885,7 +12662,11 @@ export declare interface ThemeSettings {
12885
12662
  };
12886
12663
  }
12887
12664
 
12888
- export declare const Toggle: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof ClassAttributes<HTMLInputElement> | keyof InputHTMLAttributes<HTMLInputElement>> & ClassAttributes<HTMLInputElement> & InputHTMLAttributes<HTMLInputElement>, "type"> & Partial<Pick<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof ClassAttributes<HTMLInputElement> | keyof InputHTMLAttributes<HTMLInputElement>> & ClassAttributes<HTMLInputElement> & InputHTMLAttributes<HTMLInputElement>, "type">>> & string;
12665
+ export declare const Toggle: IStyledComponentBase<"web", FastOmit<Merged<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
12666
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
12667
+ }, DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, "type"> & Partial<Pick<Merged<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
12668
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
12669
+ }, DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, "type">>> & string;
12889
12670
 
12890
12671
  export declare const Tooltip: ({ children, portal, trigger, content, position, ...rest }: TooltipProps) => JSX.Element;
12891
12672
 
@@ -12968,49 +12749,16 @@ declare type TransientCSSProperties = {
12968
12749
  [Property in keyof React.CSSProperties as `$${string & Property}`]: React.CSSProperties[Property];
12969
12750
  };
12970
12751
 
12971
- export declare const TransitionBox: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
12972
- $viewport?: {
12973
- "sm"?: TransientCSSProperties;
12974
- "md"?: TransientCSSProperties;
12975
- "lg"?: TransientCSSProperties;
12976
- "xl"?: TransientCSSProperties;
12977
- "2xl"?: TransientCSSProperties;
12978
- [key: string]: TransientCSSProperties | undefined;
12979
- };
12980
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
12981
- $viewport?: {
12982
- "sm"?: TransientCSSProperties;
12983
- "md"?: TransientCSSProperties;
12984
- "lg"?: TransientCSSProperties;
12985
- "xl"?: TransientCSSProperties;
12986
- "2xl"?: TransientCSSProperties;
12987
- [key: string]: TransientCSSProperties | undefined;
12988
- };
12989
- }, never>>, "as" | "forwardedAs"> & {
12990
- as?: WebTarget | undefined;
12991
- forwardedAs?: WebTarget | undefined;
12992
- }, "$isExpanded"> & TransitionBoxProps, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
12993
- $viewport?: {
12994
- "sm"?: TransientCSSProperties;
12995
- "md"?: TransientCSSProperties;
12996
- "lg"?: TransientCSSProperties;
12997
- "xl"?: TransientCSSProperties;
12998
- "2xl"?: TransientCSSProperties;
12999
- [key: string]: TransientCSSProperties | undefined;
13000
- };
13001
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
13002
- $viewport?: {
13003
- "sm"?: TransientCSSProperties;
13004
- "md"?: TransientCSSProperties;
13005
- "lg"?: TransientCSSProperties;
13006
- "xl"?: TransientCSSProperties;
13007
- "2xl"?: TransientCSSProperties;
13008
- [key: string]: TransientCSSProperties | undefined;
13009
- };
13010
- }, never>>, "as" | "forwardedAs"> & {
12752
+ export declare const TransitionBox: IStyledComponentBase<"web", Merged<Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
12753
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
12754
+ }, BoxProps>, "as" | "forwardedAs"> & {
13011
12755
  as?: WebTarget | undefined;
13012
12756
  forwardedAs?: WebTarget | undefined;
13013
- }, "$isExpanded"> & TransitionBoxProps, never>>> & string;
12757
+ }, "style"> & {
12758
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
12759
+ [key: `--${string}`]: string | number | undefined;
12760
+ }) | undefined;
12761
+ }, TransitionBoxProps>> & string;
13014
12762
 
13015
12763
  declare interface TransitionBoxProps {
13016
12764
  $isExpanded?: boolean;
@@ -5839,7 +5839,7 @@ var i;
5839
5839
  var l = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled";
5840
5840
  var c = "active";
5841
5841
  var a = "data-styled-version";
5842
- var u = "6.4.4";
5842
+ var u = "6.5.0";
5843
5843
  var d = "/*!sc*/\n";
5844
5844
  var h = "undefined" != typeof window && "undefined" != typeof document;
5845
5845
  var p = void 0 === t2.createContext;
@@ -8714,6 +8714,14 @@ function CustomPlanBillingStatusFromJSONTyped(json, ignoreDiscriminator) {
8714
8714
  return json;
8715
8715
  }
8716
8716
 
8717
+ // src/api/checkoutexternal/models/PlanBillingSource.ts
8718
+ function PlanBillingSourceFromJSON(json) {
8719
+ return PlanBillingSourceFromJSONTyped(json, false);
8720
+ }
8721
+ function PlanBillingSourceFromJSONTyped(json, ignoreDiscriminator) {
8722
+ return json;
8723
+ }
8724
+
8717
8725
  // src/api/checkoutexternal/models/CustomPlanBillingResponseData.ts
8718
8726
  function CustomPlanBillingResponseDataFromJSON(json) {
8719
8727
  return CustomPlanBillingResponseDataFromJSONTyped(json, false);
@@ -8732,6 +8740,7 @@ function CustomPlanBillingResponseDataFromJSONTyped(json, ignoreDiscriminator) {
8732
8740
  externalInvoiceId: json["external_invoice_id"] == null ? void 0 : json["external_invoice_id"],
8733
8741
  id: json["id"],
8734
8742
  paidAt: json["paid_at"] == null ? void 0 : new Date(json["paid_at"]),
8743
+ planBillingSource: PlanBillingSourceFromJSON(json["plan_billing_source"]),
8735
8744
  planId: json["plan_id"],
8736
8745
  publishedAt: json["published_at"] == null ? void 0 : new Date(json["published_at"]),
8737
8746
  sendInvoice: json["send_invoice"],
@@ -10153,6 +10162,7 @@ function PreviewSubscriptionFinanceResponseDataFromJSONTyped(json, ignoreDiscrim
10153
10162
  }
10154
10163
  return {
10155
10164
  amountOff: json["amount_off"],
10165
+ discountAmount: json["discount_amount"],
10156
10166
  discounts: json["discounts"].map(
10157
10167
  PreviewSubscriptionDiscountResponseDataFromJSON
10158
10168
  ),
@@ -14409,7 +14419,7 @@ var reducer = (state, action) => {
14409
14419
  // src/context/EmbedProvider.tsx
14410
14420
  import { jsx as jsx2, jsxs } from "react/jsx-runtime";
14411
14421
  var getCustomHeaders = (sessionId) => ({
14412
- "X-Schematic-Components-Version": "2.21.1-rc.1",
14422
+ "X-Schematic-Components-Version": "2.22.0-rc.2",
14413
14423
  "X-Schematic-Session-ID": sessionId
14414
14424
  });
14415
14425
  var normalizeCurrencyFilter = (filter2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schematichq/schematic-components",
3
- "version": "2.21.1-rc.1",
3
+ "version": "2.22.0-rc.2",
4
4
  "main": "dist/schematic-components.cjs.js",
5
5
  "module": "dist/schematic-components.esm.js",
6
6
  "types": "dist/schematic-components.d.ts",
@@ -60,7 +60,7 @@
60
60
  "lodash": "^4.18.1",
61
61
  "pako": "^3.0.1",
62
62
  "react-i18next": "16.1.6",
63
- "styled-components": "^6.4.4",
63
+ "styled-components": "^6.5.0",
64
64
  "uuid": "^14.0.1"
65
65
  },
66
66
  "devDependencies": {
@@ -93,7 +93,7 @@
93
93
  "react": "^19.2.8",
94
94
  "react-dom": "^19.2.8",
95
95
  "typescript": "^6.0.3",
96
- "typescript-eslint": "^8.65.0",
96
+ "typescript-eslint": "^8.66.0",
97
97
  "vitest": "^4.1.10"
98
98
  },
99
99
  "peerDependencies": {