fontdue-js 2.18.2 → 2.18.4

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
  3. package/dist/__generated__/CartQuery.graphql.js +49 -48
  4. package/dist/__generated__/CustomerLoginFormQuery.graphql.d.ts +20 -0
  5. package/dist/__generated__/CustomerLoginFormQuery.graphql.js +91 -0
  6. package/dist/__generated__/PrecartClearCartMutation.graphql.d.ts +61 -0
  7. package/dist/__generated__/PrecartClearCartMutation.graphql.js +81 -0
  8. package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
  9. package/dist/__generated__/StoreModalCartQuery.graphql.js +57 -44
  10. package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +1 -1
  11. package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +18 -17
  12. package/dist/__generated__/StoreModalProductSummaryClearCartMutation.graphql.d.ts +61 -0
  13. package/dist/__generated__/StoreModalProductSummaryClearCartMutation.graphql.js +81 -0
  14. package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.d.ts +3 -1
  15. package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.js +14 -2
  16. package/dist/__generated__/StripeProvider_viewer.graphql.d.ts +2 -1
  17. package/dist/__generated__/StripeProvider_viewer.graphql.js +78 -75
  18. package/dist/components/ConfigContext.d.ts +10 -0
  19. package/dist/components/ConfigContext.js +7 -2
  20. package/dist/components/CustomerLoginForm/index.js +12 -4
  21. package/dist/components/Precart/index.js +30 -4
  22. package/dist/components/StoreModalProductSummary/index.js +35 -4
  23. package/dist/components/StripeProvider/index.js +5 -4
  24. package/dist/components/TypeTester/index.d.ts +5 -0
  25. package/dist/components/TypeTester/index.js +2 -1
  26. package/dist/components/TypeTester/useTypeTesterStyler.d.ts +7 -1
  27. package/dist/components/TypeTester/useTypeTesterStyler.js +8 -2
  28. package/dist/components/elements/StoreModalUnifiedCheckout.js +61 -13
  29. package/dist/fontdue.css +56 -2
  30. package/fontdue.css +197 -121
  31. package/package.json +1 -1
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<a630ed5ce31009146a5c99d316f11ab9>>
8
+ * @generated SignedSource<<4940f0d532bcb559023afe99b0748006>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -86,10 +86,17 @@ const node = function () {
86
86
  "alias": null,
87
87
  "args": null,
88
88
  "kind": "ScalarField",
89
- "name": "currency",
89
+ "name": "stripeAccountId",
90
90
  "storageKey": null
91
91
  },
92
92
  v13 = {
93
+ "alias": null,
94
+ "args": null,
95
+ "kind": "ScalarField",
96
+ "name": "currency",
97
+ "storageKey": null
98
+ },
99
+ v14 = {
93
100
  "alias": null,
94
101
  "args": null,
95
102
  "concreteType": "LicenseOption",
@@ -99,47 +106,47 @@ const node = function () {
99
106
  "selections": v3 /*: any*/,
100
107
  "storageKey": null
101
108
  },
102
- v14 = [v2 /*: any*/, v12 /*: any*/],
103
- v15 = {
109
+ v15 = [v2 /*: any*/, v13 /*: any*/],
110
+ v16 = {
104
111
  "alias": null,
105
112
  "args": null,
106
113
  "concreteType": "Money",
107
114
  "kind": "LinkedField",
108
115
  "name": "price",
109
116
  "plural": false,
110
- "selections": v14 /*: any*/,
117
+ "selections": v15 /*: any*/,
111
118
  "storageKey": null
112
119
  },
113
- v16 = {
120
+ v17 = {
114
121
  "alias": null,
115
122
  "args": null,
116
123
  "kind": "ScalarField",
117
124
  "name": "cssUrl",
118
125
  "storageKey": null
119
126
  },
120
- v17 = {
127
+ v18 = {
121
128
  "alias": null,
122
129
  "args": null,
123
130
  "kind": "ScalarField",
124
131
  "name": "totalStyles",
125
132
  "storageKey": null
126
133
  },
127
- v18 = [v1 /*: any*/, v2 /*: any*/],
128
- v19 = {
134
+ v19 = [v1 /*: any*/, v2 /*: any*/],
135
+ v20 = {
129
136
  "alias": null,
130
137
  "args": null,
131
138
  "kind": "ScalarField",
132
139
  "name": "email",
133
140
  "storageKey": null
134
141
  },
135
- v20 = {
142
+ v21 = {
136
143
  "alias": null,
137
144
  "args": null,
138
145
  "kind": "ScalarField",
139
146
  "name": "country",
140
147
  "storageKey": null
141
148
  },
142
- v21 = [v19 /*: any*/, {
149
+ v22 = [v20 /*: any*/, {
143
150
  "alias": null,
144
151
  "args": null,
145
152
  "kind": "ScalarField",
@@ -187,7 +194,7 @@ const node = function () {
187
194
  "kind": "ScalarField",
188
195
  "name": "sublocality",
189
196
  "storageKey": null
190
- }, v20 /*: any*/, {
197
+ }, v21 /*: any*/, {
191
198
  "alias": null,
192
199
  "args": null,
193
200
  "kind": "ScalarField",
@@ -427,6 +434,18 @@ const node = function () {
427
434
  "kind": "ScalarField",
428
435
  "name": "newsletterOptInLabel",
429
436
  "storageKey": "newsletterOptInLabel(format:\"HTML\")"
437
+ }, {
438
+ "alias": null,
439
+ "args": null,
440
+ "kind": "ScalarField",
441
+ "name": "recaptchaEnabled",
442
+ "storageKey": null
443
+ }, {
444
+ "alias": null,
445
+ "args": null,
446
+ "kind": "ScalarField",
447
+ "name": "recaptchaSiteKey",
448
+ "storageKey": null
430
449
  }],
431
450
  "storageKey": null
432
451
  }, {
@@ -444,13 +463,7 @@ const node = function () {
444
463
  "storageKey": null
445
464
  }],
446
465
  "storageKey": null
447
- }, {
448
- "alias": null,
449
- "args": null,
450
- "kind": "ScalarField",
451
- "name": "stripeAccountId",
452
- "storageKey": null
453
- }, {
466
+ }, v12 /*: any*/, {
454
467
  "alias": null,
455
468
  "args": null,
456
469
  "kind": "ScalarField",
@@ -463,7 +476,7 @@ const node = function () {
463
476
  "kind": "LinkedField",
464
477
  "name": "currentOrder",
465
478
  "plural": false,
466
- "selections": [{
479
+ "selections": [v12 /*: any*/, {
467
480
  "alias": null,
468
481
  "args": null,
469
482
  "concreteType": "StripePaymentIntent",
@@ -476,7 +489,7 @@ const node = function () {
476
489
  "kind": "ScalarField",
477
490
  "name": "clientSecret",
478
491
  "storageKey": null
479
- }, v2 /*: any*/, v12 /*: any*/],
492
+ }, v2 /*: any*/, v13 /*: any*/],
480
493
  "storageKey": null
481
494
  }, v1 /*: any*/, {
482
495
  "alias": null,
@@ -532,7 +545,7 @@ const node = function () {
532
545
  "kind": "ScalarField",
533
546
  "name": "units",
534
547
  "storageKey": null
535
- }, v7 /*: any*/, v4 /*: any*/, v13 /*: any*/],
548
+ }, v7 /*: any*/, v4 /*: any*/, v14 /*: any*/],
536
549
  "storageKey": null
537
550
  }, {
538
551
  "alias": null,
@@ -551,14 +564,14 @@ const node = function () {
551
564
  "storageKey": null
552
565
  }, v5 /*: any*/, v1 /*: any*/],
553
566
  "storageKey": null
554
- }, v15 /*: any*/, {
567
+ }, v16 /*: any*/, {
555
568
  "alias": null,
556
569
  "args": null,
557
570
  "concreteType": "Sku",
558
571
  "kind": "LinkedField",
559
572
  "name": "sku",
560
573
  "plural": false,
561
- "selections": [v15 /*: any*/, {
574
+ "selections": [v16 /*: any*/, {
562
575
  "alias": null,
563
576
  "args": null,
564
577
  "concreteType": null,
@@ -590,7 +603,7 @@ const node = function () {
590
603
  "kind": "LinkedField",
591
604
  "name": "family",
592
605
  "plural": false,
593
- "selections": [v16 /*: any*/, v1 /*: any*/],
606
+ "selections": [v17 /*: any*/, v1 /*: any*/],
594
607
  "storageKey": null
595
608
  }],
596
609
  "storageKey": null
@@ -600,7 +613,7 @@ const node = function () {
600
613
  "kind": "ScalarField",
601
614
  "name": "isVariableFont",
602
615
  "storageKey": null
603
- }, v17 /*: any*/],
616
+ }, v18 /*: any*/],
604
617
  "type": "FontCollection",
605
618
  "abstractKey": null
606
619
  }, {
@@ -626,7 +639,7 @@ const node = function () {
626
639
  "kind": "LinkedField",
627
640
  "name": "family",
628
641
  "plural": false,
629
- "selections": [v7 /*: any*/, v16 /*: any*/, v1 /*: any*/],
642
+ "selections": [v7 /*: any*/, v17 /*: any*/, v1 /*: any*/],
630
643
  "storageKey": null
631
644
  }, {
632
645
  "alias": null,
@@ -642,7 +655,7 @@ const node = function () {
642
655
  "abstractKey": null
643
656
  }, {
644
657
  "kind": "InlineFragment",
645
- "selections": [v7 /*: any*/, v17 /*: any*/],
658
+ "selections": [v7 /*: any*/, v18 /*: any*/],
646
659
  "type": "CollectionBundle",
647
660
  "abstractKey": null
648
661
  }, {
@@ -661,7 +674,7 @@ const node = function () {
661
674
  "kind": "LinkedField",
662
675
  "name": "licenseVariables",
663
676
  "plural": true,
664
- "selections": [v1 /*: any*/, v13 /*: any*/],
677
+ "selections": [v1 /*: any*/, v14 /*: any*/],
665
678
  "storageKey": null
666
679
  }],
667
680
  "storageKey": null
@@ -702,7 +715,7 @@ const node = function () {
702
715
  "kind": "LinkedField",
703
716
  "name": "orderVariableOption",
704
717
  "plural": false,
705
- "selections": v18 /*: any*/,
718
+ "selections": v19 /*: any*/,
706
719
  "storageKey": null
707
720
  }, {
708
721
  "alias": null,
@@ -725,7 +738,7 @@ const node = function () {
725
738
  "kind": "LinkedField",
726
739
  "name": "subtotal",
727
740
  "plural": false,
728
- "selections": v14 /*: any*/,
741
+ "selections": v15 /*: any*/,
729
742
  "storageKey": null
730
743
  }, {
731
744
  "alias": null,
@@ -741,7 +754,7 @@ const node = function () {
741
754
  "kind": "LinkedField",
742
755
  "name": "amount",
743
756
  "plural": false,
744
- "selections": v14 /*: any*/,
757
+ "selections": v15 /*: any*/,
745
758
  "storageKey": null
746
759
  }, {
747
760
  "alias": null,
@@ -769,7 +782,7 @@ const node = function () {
769
782
  "kind": "LinkedField",
770
783
  "name": "creditAmount",
771
784
  "plural": false,
772
- "selections": v14 /*: any*/,
785
+ "selections": v15 /*: any*/,
773
786
  "storageKey": null
774
787
  }, {
775
788
  "alias": null,
@@ -778,7 +791,7 @@ const node = function () {
778
791
  "kind": "LinkedField",
779
792
  "name": "creditAmountRemaining",
780
793
  "plural": false,
781
- "selections": v14 /*: any*/,
794
+ "selections": v15 /*: any*/,
782
795
  "storageKey": null
783
796
  }, v1 /*: any*/],
784
797
  "storageKey": null
@@ -791,7 +804,7 @@ const node = function () {
791
804
  "kind": "LinkedField",
792
805
  "name": "discountedSubtotal",
793
806
  "plural": false,
794
- "selections": v14 /*: any*/,
807
+ "selections": v15 /*: any*/,
795
808
  "storageKey": null
796
809
  }, {
797
810
  "alias": null,
@@ -800,7 +813,7 @@ const node = function () {
800
813
  "kind": "LinkedField",
801
814
  "name": "total",
802
815
  "plural": false,
803
- "selections": v14 /*: any*/,
816
+ "selections": v15 /*: any*/,
804
817
  "storageKey": null
805
818
  }, {
806
819
  "alias": null,
@@ -815,7 +828,7 @@ const node = function () {
815
828
  "kind": "LinkedField",
816
829
  "name": "taxes",
817
830
  "plural": false,
818
- "selections": v14 /*: any*/,
831
+ "selections": v15 /*: any*/,
819
832
  "storageKey": null
820
833
  }, {
821
834
  "alias": null,
@@ -848,7 +861,7 @@ const node = function () {
848
861
  "kind": "LinkedField",
849
862
  "name": "customer",
850
863
  "plural": false,
851
- "selections": [v7 /*: any*/, v19 /*: any*/, {
864
+ "selections": [v7 /*: any*/, v20 /*: any*/, {
852
865
  "alias": null,
853
866
  "args": null,
854
867
  "kind": "ScalarField",
@@ -869,7 +882,7 @@ const node = function () {
869
882
  "kind": "LinkedField",
870
883
  "name": "licenseeIdentity",
871
884
  "plural": false,
872
- "selections": v21 /*: any*/,
885
+ "selections": v22 /*: any*/,
873
886
  "storageKey": null
874
887
  }, {
875
888
  "alias": null,
@@ -878,7 +891,7 @@ const node = function () {
878
891
  "kind": "LinkedField",
879
892
  "name": "billingIdentity",
880
893
  "plural": false,
881
- "selections": v21 /*: any*/,
894
+ "selections": v22 /*: any*/,
882
895
  "storageKey": null
883
896
  }, v6 /*: any*/],
884
897
  "storageKey": null
@@ -906,7 +919,7 @@ const node = function () {
906
919
  "kind": "LinkedField",
907
920
  "name": "orderVariableOptions",
908
921
  "plural": true,
909
- "selections": v18 /*: any*/,
922
+ "selections": v19 /*: any*/,
910
923
  "storageKey": null
911
924
  }],
912
925
  "storageKey": null
@@ -925,7 +938,7 @@ const node = function () {
925
938
  "storageKey": null
926
939
  }, v7 /*: any*/],
927
940
  "storageKey": null
928
- }, v20 /*: any*/, {
941
+ }, v21 /*: any*/, {
929
942
  "alias": null,
930
943
  "args": null,
931
944
  "kind": "ScalarField",
@@ -936,12 +949,12 @@ const node = function () {
936
949
  }]
937
950
  },
938
951
  "params": {
939
- "cacheID": "abbe36c5163d799fdd06edf0789c4aeb",
952
+ "cacheID": "34a4ba373086b6b15656cb113d940ce2",
940
953
  "id": null,
941
954
  "metadata": {},
942
955
  "name": "StoreModalCartQuery",
943
956
  "operationKind": "query",
944
- "text": "query StoreModalCartQuery {\n viewer {\n ...StripeProvider_viewer\n ...OrderVariableSelection_variables\n ...StoreModalOrderVariableSelection_viewer\n ...StoreModalUnifiedCheckout_viewer\n settings {\n taxSystem\n }\n currentOrder {\n ...CartState_order\n ...CartTotals_order\n ...StoreModalUnifiedCheckout_order\n ...StoreModalOrderVariableSelection_order\n id\n total {\n amount\n }\n orderVariableSelections {\n id\n }\n orderItems {\n id\n ...CartItem_node\n licenseSelections {\n licenseVariable {\n variableType\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n stripePaymentMethod {\n id\n }\n billingIdentity {\n name\n }\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n settings {\n checkoutAddressCollection\n checkoutPhoneNumberCollection\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on CollectionBundle {\n name\n totalStyles\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment OrderVariableSelection_variables on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: [])\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalOrderVariableSelection_order on Order {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n }\n orderVariableDescription(format: HTML)\n orderVariableOption {\n id\n amount\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalOrderVariableSelection_viewer on Viewer {\n ...OrderVariableSelection_variables\n orderVariables {\n id\n }\n settings {\n storeModalSelectOrderVariablesLabel(format: HTML)\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n clientSecret\n amount\n currency\n }\n orderVariableSelections {\n orderVariable {\n id\n variableType\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalUnifiedCheckout_viewer on Viewer {\n ...AddressFields_viewer\n country\n detectedCountry\n settings {\n uiFontName\n eulaAgreementLabel(format: HTML)\n storeModalSelectLicenseeLabel(format: HTML)\n newsletterOptInLabel(format: HTML)\n taxSystem\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n taxSystem\n uiFontStyle {\n name\n cssFamily\n webfontSources {\n format\n url\n }\n id\n }\n }\n themeConfig {\n customProperties\n }\n stripeAccountId\n stripePublishableKey\n currentOrder {\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
957
+ "text": "query StoreModalCartQuery {\n viewer {\n ...StripeProvider_viewer\n ...OrderVariableSelection_variables\n ...StoreModalOrderVariableSelection_viewer\n ...StoreModalUnifiedCheckout_viewer\n settings {\n taxSystem\n }\n currentOrder {\n ...CartState_order\n ...CartTotals_order\n ...StoreModalUnifiedCheckout_order\n ...StoreModalOrderVariableSelection_order\n id\n total {\n amount\n }\n orderVariableSelections {\n id\n }\n orderItems {\n id\n ...CartItem_node\n licenseSelections {\n licenseVariable {\n variableType\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n stripePaymentMethod {\n id\n }\n billingIdentity {\n name\n }\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n settings {\n checkoutAddressCollection\n checkoutPhoneNumberCollection\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on CollectionBundle {\n name\n totalStyles\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment OrderVariableSelection_variables on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: [])\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalOrderVariableSelection_order on Order {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n }\n orderVariableDescription(format: HTML)\n orderVariableOption {\n id\n amount\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalOrderVariableSelection_viewer on Viewer {\n ...OrderVariableSelection_variables\n orderVariables {\n id\n }\n settings {\n storeModalSelectOrderVariablesLabel(format: HTML)\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n clientSecret\n amount\n currency\n }\n orderVariableSelections {\n orderVariable {\n id\n variableType\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalUnifiedCheckout_viewer on Viewer {\n ...AddressFields_viewer\n country\n detectedCountry\n settings {\n uiFontName\n eulaAgreementLabel(format: HTML)\n storeModalSelectLicenseeLabel(format: HTML)\n newsletterOptInLabel(format: HTML)\n taxSystem\n recaptchaEnabled\n recaptchaSiteKey\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n taxSystem\n uiFontStyle {\n name\n cssFamily\n webfontSources {\n format\n url\n }\n id\n }\n }\n themeConfig {\n customProperties\n }\n stripeAccountId\n stripePublishableKey\n currentOrder {\n stripeAccountId\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
945
958
  }
946
959
  };
947
960
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<a5da29ca9bd2e8bc06634ef70d6aff5c>>
2
+ * @generated SignedSource<<8e0a2078bc1fa93f42a0d1d8f1939638>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<a5da29ca9bd2e8bc06634ef70d6aff5c>>
8
+ * @generated SignedSource<<8e0a2078bc1fa93f42a0d1d8f1939638>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -16,12 +16,19 @@ exports.default = void 0;
16
16
 
17
17
  const node = function () {
18
18
  var v0 = {
19
- "alias": null,
20
- "args": null,
21
- "kind": "ScalarField",
22
- "name": "id",
23
- "storageKey": null
24
- };
19
+ "alias": null,
20
+ "args": null,
21
+ "kind": "ScalarField",
22
+ "name": "id",
23
+ "storageKey": null
24
+ },
25
+ v1 = {
26
+ "alias": null,
27
+ "args": null,
28
+ "kind": "ScalarField",
29
+ "name": "stripeAccountId",
30
+ "storageKey": null
31
+ };
25
32
  return {
26
33
  "fragment": {
27
34
  "argumentDefinitions": [],
@@ -138,13 +145,7 @@ const node = function () {
138
145
  "storageKey": null
139
146
  }],
140
147
  "storageKey": null
141
- }, {
142
- "alias": null,
143
- "args": null,
144
- "kind": "ScalarField",
145
- "name": "stripeAccountId",
146
- "storageKey": null
147
- }, {
148
+ }, v1 /*: any*/, {
148
149
  "alias": null,
149
150
  "args": null,
150
151
  "kind": "ScalarField",
@@ -157,7 +158,7 @@ const node = function () {
157
158
  "kind": "LinkedField",
158
159
  "name": "currentOrder",
159
160
  "plural": false,
160
- "selections": [{
161
+ "selections": [v1 /*: any*/, {
161
162
  "alias": null,
162
163
  "args": null,
163
164
  "concreteType": "StripePaymentIntent",
@@ -179,12 +180,12 @@ const node = function () {
179
180
  }]
180
181
  },
181
182
  "params": {
182
- "cacheID": "268fac5555e2bc3021d176a03761dbeb",
183
+ "cacheID": "07b3cd9f983a1bda03e85d8908ec2742",
183
184
  "id": null,
184
185
  "metadata": {},
185
186
  "name": "StoreModalCheckoutQuery",
186
187
  "operationKind": "query",
187
- "text": "query StoreModalCheckoutQuery {\n viewer {\n ...StripeProvider_viewer\n currentOrder {\n id\n }\n id\n }\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n taxSystem\n uiFontStyle {\n name\n cssFamily\n webfontSources {\n format\n url\n }\n id\n }\n }\n themeConfig {\n customProperties\n }\n stripeAccountId\n stripePublishableKey\n currentOrder {\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n}\n"
188
+ "text": "query StoreModalCheckoutQuery {\n viewer {\n ...StripeProvider_viewer\n currentOrder {\n id\n }\n id\n }\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n taxSystem\n uiFontStyle {\n name\n cssFamily\n webfontSources {\n format\n url\n }\n id\n }\n }\n themeConfig {\n customProperties\n }\n stripeAccountId\n stripePublishableKey\n currentOrder {\n stripeAccountId\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n}\n"
188
189
  }
189
190
  };
190
191
  }();
@@ -0,0 +1,61 @@
1
+ /**
2
+ * @generated SignedSource<<a54228c6a8b5aa81ab89dbbabf2b0a24>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ConcreteRequest } from 'relay-runtime';
7
+ export type UpdateOrderInput = {
8
+ billingIdentity?: IdentityInput | null;
9
+ licenseeIdentity?: IdentityInput | null;
10
+ licenseeIsBillingIdentity?: boolean | null;
11
+ orderItems?: ReadonlyArray<OrderItemInput | null> | null;
12
+ orderVariableSelections?: ReadonlyArray<OrderVariableSelectionInput> | null;
13
+ stripePaymentMethodId?: string | null;
14
+ stripeTokenId?: string | null;
15
+ };
16
+ export type OrderItemInput = {
17
+ id: string;
18
+ licenseSelections: ReadonlyArray<LicenseSelectionInput | null>;
19
+ };
20
+ export type LicenseSelectionInput = {
21
+ id?: string | null;
22
+ licenseId: string;
23
+ licenseOptionId?: string | null;
24
+ licenseVariableId?: string | null;
25
+ variableText?: string | null;
26
+ };
27
+ export type OrderVariableSelectionInput = {
28
+ countryCode?: string | null;
29
+ orderVariableId: string;
30
+ orderVariableOptionId?: string | null;
31
+ };
32
+ export type IdentityInput = {
33
+ administrativeArea?: string | null;
34
+ country: string;
35
+ email: string;
36
+ locality?: string | null;
37
+ name: string;
38
+ organization?: string | null;
39
+ phone?: string | null;
40
+ sortingCode?: string | null;
41
+ street?: string | null;
42
+ sublocality?: string | null;
43
+ vatNumber?: string | null;
44
+ zip?: string | null;
45
+ };
46
+ export type StoreModalProductSummaryClearCartMutation$variables = {
47
+ input: UpdateOrderInput;
48
+ };
49
+ export type StoreModalProductSummaryClearCartMutation$data = {
50
+ readonly updateOrder: {
51
+ readonly order: {
52
+ readonly id: string;
53
+ } | null;
54
+ } | null;
55
+ };
56
+ export type StoreModalProductSummaryClearCartMutation = {
57
+ response: StoreModalProductSummaryClearCartMutation$data;
58
+ variables: StoreModalProductSummaryClearCartMutation$variables;
59
+ };
60
+ declare const node: ConcreteRequest;
61
+ export default node;
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * @generated SignedSource<<a54228c6a8b5aa81ab89dbbabf2b0a24>>
9
+ * @lightSyntaxTransform
10
+ * @nogrep
11
+ */
12
+
13
+ /* tslint:disable */
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+ const node = function () {
18
+ var v0 = [{
19
+ "defaultValue": null,
20
+ "kind": "LocalArgument",
21
+ "name": "input"
22
+ }],
23
+ v1 = [{
24
+ "alias": null,
25
+ "args": [{
26
+ "kind": "Variable",
27
+ "name": "input",
28
+ "variableName": "input"
29
+ }],
30
+ "concreteType": "UpdateOrderPayload",
31
+ "kind": "LinkedField",
32
+ "name": "updateOrder",
33
+ "plural": false,
34
+ "selections": [{
35
+ "alias": null,
36
+ "args": null,
37
+ "concreteType": "Order",
38
+ "kind": "LinkedField",
39
+ "name": "order",
40
+ "plural": false,
41
+ "selections": [{
42
+ "alias": null,
43
+ "args": null,
44
+ "kind": "ScalarField",
45
+ "name": "id",
46
+ "storageKey": null
47
+ }],
48
+ "storageKey": null
49
+ }],
50
+ "storageKey": null
51
+ }];
52
+ return {
53
+ "fragment": {
54
+ "argumentDefinitions": v0 /*: any*/,
55
+ "kind": "Fragment",
56
+ "metadata": null,
57
+ "name": "StoreModalProductSummaryClearCartMutation",
58
+ "selections": v1 /*: any*/,
59
+ "type": "RootMutationType",
60
+ "abstractKey": null
61
+ },
62
+ "kind": "Request",
63
+ "operation": {
64
+ "argumentDefinitions": v0 /*: any*/,
65
+ "kind": "Operation",
66
+ "name": "StoreModalProductSummaryClearCartMutation",
67
+ "selections": v1 /*: any*/
68
+ },
69
+ "params": {
70
+ "cacheID": "d2d6905c79b8e40ce161652a1b88325d",
71
+ "id": null,
72
+ "metadata": {},
73
+ "name": "StoreModalProductSummaryClearCartMutation",
74
+ "operationKind": "mutation",
75
+ "text": "mutation StoreModalProductSummaryClearCartMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n id\n }\n }\n}\n"
76
+ }
77
+ };
78
+ }();
79
+ node.hash = "b5c37f74432030a297c1bcf2be63b6f7";
80
+ var _default = node;
81
+ exports.default = _default;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<cc9fc7acff42885f262d5497151786e2>>
2
+ * @generated SignedSource<<ca5c7d5a8678cb68a0990463a7bb9c53>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -11,6 +11,8 @@ export type StoreModalUnifiedCheckout_viewer$data = {
11
11
  readonly settings: {
12
12
  readonly eulaAgreementLabel: string | null;
13
13
  readonly newsletterOptInLabel: string | null;
14
+ readonly recaptchaEnabled: boolean;
15
+ readonly recaptchaSiteKey: string | null;
14
16
  readonly storeModalSelectLicenseeLabel: string | null;
15
17
  readonly taxSystem: string;
16
18
  readonly uiFontName: string | null;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<cc9fc7acff42885f262d5497151786e2>>
8
+ * @generated SignedSource<<ca5c7d5a8678cb68a0990463a7bb9c53>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -78,6 +78,18 @@ const node = function () {
78
78
  "kind": "ScalarField",
79
79
  "name": "taxSystem",
80
80
  "storageKey": null
81
+ }, {
82
+ "alias": null,
83
+ "args": null,
84
+ "kind": "ScalarField",
85
+ "name": "recaptchaEnabled",
86
+ "storageKey": null
87
+ }, {
88
+ "alias": null,
89
+ "args": null,
90
+ "kind": "ScalarField",
91
+ "name": "recaptchaSiteKey",
92
+ "storageKey": null
81
93
  }],
82
94
  "storageKey": null
83
95
  }, {
@@ -100,6 +112,6 @@ const node = function () {
100
112
  "abstractKey": null
101
113
  };
102
114
  }();
103
- node.hash = "83cc5e6f8d508fb1c2356a72b040f9b0";
115
+ node.hash = "048ce405742611f6684cb5306d28478b";
104
116
  var _default = node;
105
117
  exports.default = _default;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<4238c12cf3971ac1ea702387409f7e02>>
2
+ * @generated SignedSource<<d02753657fe659c784b166d1c4a2b27a>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -7,6 +7,7 @@ import { ReaderFragment } from 'relay-runtime';
7
7
  import { FragmentRefs } from "relay-runtime";
8
8
  export type StripeProvider_viewer$data = {
9
9
  readonly currentOrder: {
10
+ readonly stripeAccountId: string | null;
10
11
  readonly stripePaymentIntent: {
11
12
  readonly clientSecret: string | null;
12
13
  } | null;