@schematichq/schematic-components 0.4.1 → 0.4.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.
|
@@ -10794,6 +10794,7 @@ function ChangeSubscriptionRequestBodyToJSON(value) {
|
|
|
10794
10794
|
add_on_ids: value["addOnIds"].map(
|
|
10795
10795
|
UpdateAddOnRequestBodyToJSON
|
|
10796
10796
|
),
|
|
10797
|
+
coupon_external_id: value["couponExternalId"],
|
|
10797
10798
|
new_plan_id: value["newPlanId"],
|
|
10798
10799
|
new_price_id: value["newPriceId"],
|
|
10799
10800
|
pay_in_advance: value["payInAdvance"].map(
|
|
@@ -12706,7 +12707,7 @@ var EmbedProvider = ({
|
|
|
12706
12707
|
(0, import_react11.useEffect)(() => {
|
|
12707
12708
|
if (accessToken) {
|
|
12708
12709
|
const { headers = {} } = apiConfig ?? {};
|
|
12709
|
-
headers["X-Schematic-Components-Version"] = "0.4.
|
|
12710
|
+
headers["X-Schematic-Components-Version"] = "0.4.2";
|
|
12710
12711
|
headers["X-Schematic-Session-ID"] = sessionIdRef.current;
|
|
12711
12712
|
const config = new Configuration({
|
|
12712
12713
|
...apiConfig,
|
|
@@ -13754,6 +13755,7 @@ var ModalHeader = ({
|
|
|
13754
13755
|
$padding: "0 1rem",
|
|
13755
13756
|
$backgroundColor: theme.card.background,
|
|
13756
13757
|
...bordered && {
|
|
13758
|
+
$borderWidth: "0",
|
|
13757
13759
|
$borderBottomWidth: "1px",
|
|
13758
13760
|
$borderBottomStyle: "solid",
|
|
13759
13761
|
$borderBottomColor: isLightBackground ? "hsla(0, 0%, 0%, 0.15)" : "hsla(0, 0%, 100%, 0.15)"
|
|
@@ -14613,6 +14615,7 @@ var Sidebar = ({
|
|
|
14613
14615
|
$gap: "1rem",
|
|
14614
14616
|
$width: "100%",
|
|
14615
14617
|
$padding: "1.5rem",
|
|
14618
|
+
$borderWidth: "0",
|
|
14616
14619
|
$borderBottomWidth: "1px",
|
|
14617
14620
|
$borderStyle: "solid",
|
|
14618
14621
|
$borderColor: isLightBackground ? "hsla(0, 0%, 0%, 0.1)" : "hsla(0, 0%, 100%, 0.2)",
|
|
@@ -14638,6 +14641,7 @@ var Sidebar = ({
|
|
|
14638
14641
|
$flexGrow: "1",
|
|
14639
14642
|
$width: "100%",
|
|
14640
14643
|
$padding: "1.5rem",
|
|
14644
|
+
$borderWidth: "0",
|
|
14641
14645
|
$borderBottomWidth: "1px",
|
|
14642
14646
|
$borderStyle: "solid",
|
|
14643
14647
|
$borderColor: isLightBackground ? "hsla(0, 0%, 0%, 0.1)" : "hsla(0, 0%, 100%, 0.2)",
|
|
@@ -15534,6 +15538,7 @@ var Plan = ({
|
|
|
15534
15538
|
$flexDirection: "column",
|
|
15535
15539
|
$gap: "0.5rem",
|
|
15536
15540
|
$padding: `0 ${cardPadding}rem ${0.75 * cardPadding}rem`,
|
|
15541
|
+
$borderWidth: "0",
|
|
15537
15542
|
$borderBottomWidth: "1px",
|
|
15538
15543
|
$borderStyle: "solid",
|
|
15539
15544
|
$borderColor: isLightBackground ? "hsla(0, 0%, 0%, 0.175)" : "hsla(0, 0%, 100%, 0.175)",
|
|
@@ -18974,6 +18979,7 @@ var PricingTable = (0, import_react37.forwardRef)(({ children, className, ...res
|
|
|
18974
18979
|
$flexDirection: "column",
|
|
18975
18980
|
$gap: "0.75rem",
|
|
18976
18981
|
$padding: `0 ${cardPadding}rem ${0.75 * cardPadding}rem`,
|
|
18982
|
+
$borderWidth: "0",
|
|
18977
18983
|
$borderBottomWidth: "1px",
|
|
18978
18984
|
$borderStyle: "solid",
|
|
18979
18985
|
$borderColor: isLightBackground ? "hsla(0, 0%, 0%, 0.175)" : "hsla(0, 0%, 100%, 0.175)",
|
|
@@ -787,6 +787,12 @@ declare interface ChangeSubscriptionRequestBody {
|
|
|
787
787
|
* @memberof ChangeSubscriptionRequestBody
|
|
788
788
|
*/
|
|
789
789
|
addOnIds: Array<UpdateAddOnRequestBody>;
|
|
790
|
+
/**
|
|
791
|
+
*
|
|
792
|
+
* @type {string}
|
|
793
|
+
* @memberof ChangeSubscriptionRequestBody
|
|
794
|
+
*/
|
|
795
|
+
couponExternalId?: string | null;
|
|
790
796
|
/**
|
|
791
797
|
*
|
|
792
798
|
* @type {string}
|
|
@@ -10747,6 +10747,7 @@ function ChangeSubscriptionRequestBodyToJSON(value) {
|
|
|
10747
10747
|
add_on_ids: value["addOnIds"].map(
|
|
10748
10748
|
UpdateAddOnRequestBodyToJSON
|
|
10749
10749
|
),
|
|
10750
|
+
coupon_external_id: value["couponExternalId"],
|
|
10750
10751
|
new_plan_id: value["newPlanId"],
|
|
10751
10752
|
new_price_id: value["newPriceId"],
|
|
10752
10753
|
pay_in_advance: value["payInAdvance"].map(
|
|
@@ -12659,7 +12660,7 @@ var EmbedProvider = ({
|
|
|
12659
12660
|
useEffect2(() => {
|
|
12660
12661
|
if (accessToken) {
|
|
12661
12662
|
const { headers = {} } = apiConfig ?? {};
|
|
12662
|
-
headers["X-Schematic-Components-Version"] = "0.4.
|
|
12663
|
+
headers["X-Schematic-Components-Version"] = "0.4.2";
|
|
12663
12664
|
headers["X-Schematic-Session-ID"] = sessionIdRef.current;
|
|
12664
12665
|
const config = new Configuration({
|
|
12665
12666
|
...apiConfig,
|
|
@@ -13707,6 +13708,7 @@ var ModalHeader = ({
|
|
|
13707
13708
|
$padding: "0 1rem",
|
|
13708
13709
|
$backgroundColor: theme.card.background,
|
|
13709
13710
|
...bordered && {
|
|
13711
|
+
$borderWidth: "0",
|
|
13710
13712
|
$borderBottomWidth: "1px",
|
|
13711
13713
|
$borderBottomStyle: "solid",
|
|
13712
13714
|
$borderBottomColor: isLightBackground ? "hsla(0, 0%, 0%, 0.15)" : "hsla(0, 0%, 100%, 0.15)"
|
|
@@ -14573,6 +14575,7 @@ var Sidebar = ({
|
|
|
14573
14575
|
$gap: "1rem",
|
|
14574
14576
|
$width: "100%",
|
|
14575
14577
|
$padding: "1.5rem",
|
|
14578
|
+
$borderWidth: "0",
|
|
14576
14579
|
$borderBottomWidth: "1px",
|
|
14577
14580
|
$borderStyle: "solid",
|
|
14578
14581
|
$borderColor: isLightBackground ? "hsla(0, 0%, 0%, 0.1)" : "hsla(0, 0%, 100%, 0.2)",
|
|
@@ -14598,6 +14601,7 @@ var Sidebar = ({
|
|
|
14598
14601
|
$flexGrow: "1",
|
|
14599
14602
|
$width: "100%",
|
|
14600
14603
|
$padding: "1.5rem",
|
|
14604
|
+
$borderWidth: "0",
|
|
14601
14605
|
$borderBottomWidth: "1px",
|
|
14602
14606
|
$borderStyle: "solid",
|
|
14603
14607
|
$borderColor: isLightBackground ? "hsla(0, 0%, 0%, 0.1)" : "hsla(0, 0%, 100%, 0.2)",
|
|
@@ -15494,6 +15498,7 @@ var Plan = ({
|
|
|
15494
15498
|
$flexDirection: "column",
|
|
15495
15499
|
$gap: "0.5rem",
|
|
15496
15500
|
$padding: `0 ${cardPadding}rem ${0.75 * cardPadding}rem`,
|
|
15501
|
+
$borderWidth: "0",
|
|
15497
15502
|
$borderBottomWidth: "1px",
|
|
15498
15503
|
$borderStyle: "solid",
|
|
15499
15504
|
$borderColor: isLightBackground ? "hsla(0, 0%, 0%, 0.175)" : "hsla(0, 0%, 100%, 0.175)",
|
|
@@ -18945,6 +18950,7 @@ var PricingTable = forwardRef12(({ children, className, ...rest }, ref) => {
|
|
|
18945
18950
|
$flexDirection: "column",
|
|
18946
18951
|
$gap: "0.75rem",
|
|
18947
18952
|
$padding: `0 ${cardPadding}rem ${0.75 * cardPadding}rem`,
|
|
18953
|
+
$borderWidth: "0",
|
|
18948
18954
|
$borderBottomWidth: "1px",
|
|
18949
18955
|
$borderStyle: "solid",
|
|
18950
18956
|
$borderColor: isLightBackground ? "hsla(0, 0%, 0%, 0.175)" : "hsla(0, 0%, 100%, 0.175)",
|