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
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 2.18.4
2
+
3
+ - Improve layout of type tester variable axes (when "inline") on mobile
4
+
5
+ ## 2.18.3
6
+
7
+ - Adds missing reCAPTCHA support to the "customer information" step of the checkout
8
+
1
9
  ## 2.18.2
2
10
 
3
11
  - Fixes error caused by 2.18.1 bugfix with 100% coupon codes
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<96d87d3a68a4ca51a7f10747ff111894>>
2
+ * @generated SignedSource<<69b273b092dffbd4ebcade64dae39155>>
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<<96d87d3a68a4ca51a7f10747ff111894>>
8
+ * @generated SignedSource<<69b273b092dffbd4ebcade64dae39155>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -40,23 +40,30 @@ const node = function () {
40
40
  "alias": null,
41
41
  "args": null,
42
42
  "kind": "ScalarField",
43
- "name": "email",
43
+ "name": "stripeAccountId",
44
44
  "storageKey": null
45
45
  },
46
46
  v4 = {
47
+ "alias": null,
48
+ "args": null,
49
+ "kind": "ScalarField",
50
+ "name": "email",
51
+ "storageKey": null
52
+ },
53
+ v5 = {
47
54
  "alias": null,
48
55
  "args": null,
49
56
  "kind": "ScalarField",
50
57
  "name": "country",
51
58
  "storageKey": null
52
59
  },
53
- v5 = [v0 /*: any*/, {
60
+ v6 = [v0 /*: any*/, {
54
61
  "alias": null,
55
62
  "args": null,
56
63
  "kind": "ScalarField",
57
64
  "name": "organization",
58
65
  "storageKey": null
59
- }, v3 /*: any*/, {
66
+ }, v4 /*: any*/, {
60
67
  "alias": null,
61
68
  "args": null,
62
69
  "kind": "ScalarField",
@@ -80,7 +87,7 @@ const node = function () {
80
87
  "kind": "ScalarField",
81
88
  "name": "sublocality",
82
89
  "storageKey": null
83
- }, v4 /*: any*/, {
90
+ }, v5 /*: any*/, {
84
91
  "alias": null,
85
92
  "args": null,
86
93
  "kind": "ScalarField",
@@ -111,49 +118,49 @@ const node = function () {
111
118
  "name": "addressFormatted",
112
119
  "storageKey": null
113
120
  }],
114
- v6 = {
121
+ v7 = {
115
122
  "alias": null,
116
123
  "args": null,
117
124
  "kind": "ScalarField",
118
125
  "name": "amount",
119
126
  "storageKey": null
120
127
  },
121
- v7 = [v6 /*: any*/, {
128
+ v8 = [v7 /*: any*/, {
122
129
  "alias": null,
123
130
  "args": null,
124
131
  "kind": "ScalarField",
125
132
  "name": "currency",
126
133
  "storageKey": null
127
134
  }],
128
- v8 = [v2 /*: any*/],
129
- v9 = {
135
+ v9 = [v2 /*: any*/],
136
+ v10 = {
130
137
  "alias": null,
131
138
  "args": null,
132
139
  "concreteType": "LicenseOption",
133
140
  "kind": "LinkedField",
134
141
  "name": "licenseOptions",
135
142
  "plural": true,
136
- "selections": v8 /*: any*/,
143
+ "selections": v9 /*: any*/,
137
144
  "storageKey": null
138
145
  },
139
- v10 = {
146
+ v11 = {
140
147
  "alias": null,
141
148
  "args": null,
142
149
  "concreteType": "Money",
143
150
  "kind": "LinkedField",
144
151
  "name": "price",
145
152
  "plural": false,
146
- "selections": v7 /*: any*/,
153
+ "selections": v8 /*: any*/,
147
154
  "storageKey": null
148
155
  },
149
- v11 = {
156
+ v12 = {
150
157
  "alias": null,
151
158
  "args": null,
152
159
  "kind": "ScalarField",
153
160
  "name": "cssUrl",
154
161
  "storageKey": null
155
162
  },
156
- v12 = {
163
+ v13 = {
157
164
  "alias": null,
158
165
  "args": null,
159
166
  "kind": "ScalarField",
@@ -306,13 +313,7 @@ const node = function () {
306
313
  "storageKey": null
307
314
  }],
308
315
  "storageKey": null
309
- }, {
310
- "alias": null,
311
- "args": null,
312
- "kind": "ScalarField",
313
- "name": "stripeAccountId",
314
- "storageKey": null
315
- }, {
316
+ }, v3 /*: any*/, {
316
317
  "alias": null,
317
318
  "args": null,
318
319
  "kind": "ScalarField",
@@ -325,7 +326,7 @@ const node = function () {
325
326
  "kind": "LinkedField",
326
327
  "name": "currentOrder",
327
328
  "plural": false,
328
- "selections": [{
329
+ "selections": [v3 /*: any*/, {
329
330
  "alias": null,
330
331
  "args": null,
331
332
  "concreteType": "StripePaymentIntent",
@@ -359,7 +360,7 @@ const node = function () {
359
360
  "kind": "LinkedField",
360
361
  "name": "customer",
361
362
  "plural": false,
362
- "selections": [v0 /*: any*/, v3 /*: any*/, {
363
+ "selections": [v0 /*: any*/, v4 /*: any*/, {
363
364
  "alias": null,
364
365
  "args": null,
365
366
  "kind": "ScalarField",
@@ -380,7 +381,7 @@ const node = function () {
380
381
  "kind": "LinkedField",
381
382
  "name": "billingIdentity",
382
383
  "plural": false,
383
- "selections": v5 /*: any*/,
384
+ "selections": v6 /*: any*/,
384
385
  "storageKey": null
385
386
  }, {
386
387
  "alias": null,
@@ -389,7 +390,7 @@ const node = function () {
389
390
  "kind": "LinkedField",
390
391
  "name": "licenseeIdentity",
391
392
  "plural": false,
392
- "selections": v5 /*: any*/,
393
+ "selections": v6 /*: any*/,
393
394
  "storageKey": null
394
395
  }, {
395
396
  "alias": null,
@@ -416,7 +417,7 @@ const node = function () {
416
417
  "kind": "LinkedField",
417
418
  "name": "subtotal",
418
419
  "plural": false,
419
- "selections": v7 /*: any*/,
420
+ "selections": v8 /*: any*/,
420
421
  "storageKey": null
421
422
  }, {
422
423
  "alias": null,
@@ -432,7 +433,7 @@ const node = function () {
432
433
  "kind": "LinkedField",
433
434
  "name": "amount",
434
435
  "plural": false,
435
- "selections": v7 /*: any*/,
436
+ "selections": v8 /*: any*/,
436
437
  "storageKey": null
437
438
  }, {
438
439
  "alias": null,
@@ -460,7 +461,7 @@ const node = function () {
460
461
  "kind": "LinkedField",
461
462
  "name": "creditAmount",
462
463
  "plural": false,
463
- "selections": v7 /*: any*/,
464
+ "selections": v8 /*: any*/,
464
465
  "storageKey": null
465
466
  }, {
466
467
  "alias": null,
@@ -469,7 +470,7 @@ const node = function () {
469
470
  "kind": "LinkedField",
470
471
  "name": "creditAmountRemaining",
471
472
  "plural": false,
472
- "selections": v7 /*: any*/,
473
+ "selections": v8 /*: any*/,
473
474
  "storageKey": null
474
475
  }, v2 /*: any*/],
475
476
  "storageKey": null
@@ -482,7 +483,7 @@ const node = function () {
482
483
  "kind": "LinkedField",
483
484
  "name": "discountedSubtotal",
484
485
  "plural": false,
485
- "selections": v7 /*: any*/,
486
+ "selections": v8 /*: any*/,
486
487
  "storageKey": null
487
488
  }, {
488
489
  "alias": null,
@@ -491,7 +492,7 @@ const node = function () {
491
492
  "kind": "LinkedField",
492
493
  "name": "total",
493
494
  "plural": false,
494
- "selections": v7 /*: any*/,
495
+ "selections": v8 /*: any*/,
495
496
  "storageKey": null
496
497
  }, {
497
498
  "alias": null,
@@ -506,7 +507,7 @@ const node = function () {
506
507
  "kind": "LinkedField",
507
508
  "name": "taxes",
508
509
  "plural": false,
509
- "selections": v7 /*: any*/,
510
+ "selections": v8 /*: any*/,
510
511
  "storageKey": null
511
512
  }, {
512
513
  "alias": null,
@@ -555,7 +556,7 @@ const node = function () {
555
556
  "kind": "LinkedField",
556
557
  "name": "licenseOptions",
557
558
  "plural": true,
558
- "selections": [v2 /*: any*/, v0 /*: any*/, v6 /*: any*/],
559
+ "selections": [v2 /*: any*/, v0 /*: any*/, v7 /*: any*/],
559
560
  "storageKey": null
560
561
  }],
561
562
  "storageKey": null
@@ -580,7 +581,7 @@ const node = function () {
580
581
  "kind": "ScalarField",
581
582
  "name": "variableType",
582
583
  "storageKey": null
583
- }, v9 /*: any*/],
584
+ }, v10 /*: any*/],
584
585
  "storageKey": null
585
586
  }, {
586
587
  "alias": null,
@@ -595,7 +596,7 @@ const node = function () {
595
596
  "kind": "ScalarField",
596
597
  "name": "amounts",
597
598
  "storageKey": null
598
- }, v0 /*: any*/, v6 /*: any*/],
599
+ }, v0 /*: any*/, v7 /*: any*/],
599
600
  "storageKey": null
600
601
  }, {
601
602
  "alias": null,
@@ -605,14 +606,14 @@ const node = function () {
605
606
  "storageKey": null
606
607
  }, v2 /*: any*/],
607
608
  "storageKey": null
608
- }, v10 /*: any*/, {
609
+ }, v11 /*: any*/, {
609
610
  "alias": null,
610
611
  "args": null,
611
612
  "concreteType": "Sku",
612
613
  "kind": "LinkedField",
613
614
  "name": "sku",
614
615
  "plural": false,
615
- "selections": [v10 /*: any*/, {
616
+ "selections": [v11 /*: any*/, {
616
617
  "alias": null,
617
618
  "args": null,
618
619
  "concreteType": null,
@@ -644,7 +645,7 @@ const node = function () {
644
645
  "kind": "LinkedField",
645
646
  "name": "family",
646
647
  "plural": false,
647
- "selections": [v11 /*: any*/, v2 /*: any*/],
648
+ "selections": [v12 /*: any*/, v2 /*: any*/],
648
649
  "storageKey": null
649
650
  }],
650
651
  "storageKey": null
@@ -654,7 +655,7 @@ const node = function () {
654
655
  "kind": "ScalarField",
655
656
  "name": "isVariableFont",
656
657
  "storageKey": null
657
- }, v12 /*: any*/],
658
+ }, v13 /*: any*/],
658
659
  "type": "FontCollection",
659
660
  "abstractKey": null
660
661
  }, {
@@ -680,7 +681,7 @@ const node = function () {
680
681
  "kind": "LinkedField",
681
682
  "name": "family",
682
683
  "plural": false,
683
- "selections": [v0 /*: any*/, v11 /*: any*/, v2 /*: any*/],
684
+ "selections": [v0 /*: any*/, v12 /*: any*/, v2 /*: any*/],
684
685
  "storageKey": null
685
686
  }, {
686
687
  "alias": null,
@@ -696,7 +697,7 @@ const node = function () {
696
697
  "abstractKey": null
697
698
  }, {
698
699
  "kind": "InlineFragment",
699
- "selections": [v0 /*: any*/, v12 /*: any*/],
700
+ "selections": [v0 /*: any*/, v13 /*: any*/],
700
701
  "type": "CollectionBundle",
701
702
  "abstractKey": null
702
703
  }, {
@@ -715,7 +716,7 @@ const node = function () {
715
716
  "kind": "LinkedField",
716
717
  "name": "licenseVariables",
717
718
  "plural": true,
718
- "selections": [v2 /*: any*/, v9 /*: any*/],
719
+ "selections": [v2 /*: any*/, v10 /*: any*/],
719
720
  "storageKey": null
720
721
  }],
721
722
  "storageKey": null
@@ -724,7 +725,7 @@ const node = function () {
724
725
  "abstractKey": "__isLicenseable"
725
726
  }, {
726
727
  "kind": "InlineFragment",
727
- "selections": v8 /*: any*/,
728
+ "selections": v9 /*: any*/,
728
729
  "type": "Node",
729
730
  "abstractKey": "__isNode"
730
731
  }],
@@ -747,7 +748,7 @@ const node = function () {
747
748
  "kind": "LinkedField",
748
749
  "name": "orderVariable",
749
750
  "plural": false,
750
- "selections": v8 /*: any*/,
751
+ "selections": v9 /*: any*/,
751
752
  "storageKey": null
752
753
  }, {
753
754
  "alias": null,
@@ -756,7 +757,7 @@ const node = function () {
756
757
  "kind": "LinkedField",
757
758
  "name": "orderVariableOption",
758
759
  "plural": false,
759
- "selections": v8 /*: any*/,
760
+ "selections": v9 /*: any*/,
760
761
  "storageKey": null
761
762
  }, {
762
763
  "alias": null,
@@ -813,17 +814,17 @@ const node = function () {
813
814
  "storageKey": null
814
815
  }, v0 /*: any*/],
815
816
  "storageKey": null
816
- }, v4 /*: any*/, v2 /*: any*/],
817
+ }, v5 /*: any*/, v2 /*: any*/],
817
818
  "storageKey": null
818
819
  }]
819
820
  },
820
821
  "params": {
821
- "cacheID": "09719137edac17a5e2df66057f6524b1",
822
+ "cacheID": "e42cfe706776a063fb60a41a96b15ad9",
822
823
  "id": null,
823
824
  "metadata": {},
824
825
  "name": "CartQuery",
825
826
  "operationKind": "query",
826
- "text": "query CartQuery {\n viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\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 CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\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 id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartOrder_viewer on Viewer {\n ...Checkout_viewer\n settings {\n eulaAgreementLabel(format: HTML)\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 Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment Checkout_viewer on Viewer {\n ...AddressFields_viewer\n country\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\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 Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\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"
827
+ "text": "query CartQuery {\n viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\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 CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\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 id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartOrder_viewer on Viewer {\n ...Checkout_viewer\n settings {\n eulaAgreementLabel(format: HTML)\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 Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment Checkout_viewer on Viewer {\n ...AddressFields_viewer\n country\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\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 Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\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"
827
828
  }
828
829
  };
829
830
  }();
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @generated SignedSource<<edebc114f01c05329927a3d17e8bb00c>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ConcreteRequest } from 'relay-runtime';
7
+ export type CustomerLoginFormQuery$variables = Record<PropertyKey, never>;
8
+ export type CustomerLoginFormQuery$data = {
9
+ readonly viewer: {
10
+ readonly settings: {
11
+ readonly customerLoginSubmittedLabel: string | null;
12
+ } | null;
13
+ };
14
+ };
15
+ export type CustomerLoginFormQuery = {
16
+ response: CustomerLoginFormQuery$data;
17
+ variables: CustomerLoginFormQuery$variables;
18
+ };
19
+ declare const node: ConcreteRequest;
20
+ export default node;
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * @generated SignedSource<<edebc114f01c05329927a3d17e8bb00c>>
9
+ * @lightSyntaxTransform
10
+ * @nogrep
11
+ */
12
+
13
+ /* tslint:disable */
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+ const node = function () {
18
+ var v0 = {
19
+ "alias": null,
20
+ "args": null,
21
+ "concreteType": "Settings",
22
+ "kind": "LinkedField",
23
+ "name": "settings",
24
+ "plural": false,
25
+ "selections": [{
26
+ "alias": null,
27
+ "args": [{
28
+ "kind": "Literal",
29
+ "name": "format",
30
+ "value": "HTML"
31
+ }],
32
+ "kind": "ScalarField",
33
+ "name": "customerLoginSubmittedLabel",
34
+ "storageKey": "customerLoginSubmittedLabel(format:\"HTML\")"
35
+ }],
36
+ "storageKey": null
37
+ };
38
+ return {
39
+ "fragment": {
40
+ "argumentDefinitions": [],
41
+ "kind": "Fragment",
42
+ "metadata": null,
43
+ "name": "CustomerLoginFormQuery",
44
+ "selections": [{
45
+ "alias": null,
46
+ "args": null,
47
+ "concreteType": "Viewer",
48
+ "kind": "LinkedField",
49
+ "name": "viewer",
50
+ "plural": false,
51
+ "selections": [v0 /*: any*/],
52
+ "storageKey": null
53
+ }],
54
+ "type": "RootQueryType",
55
+ "abstractKey": null
56
+ },
57
+ "kind": "Request",
58
+ "operation": {
59
+ "argumentDefinitions": [],
60
+ "kind": "Operation",
61
+ "name": "CustomerLoginFormQuery",
62
+ "selections": [{
63
+ "alias": null,
64
+ "args": null,
65
+ "concreteType": "Viewer",
66
+ "kind": "LinkedField",
67
+ "name": "viewer",
68
+ "plural": false,
69
+ "selections": [v0 /*: any*/, {
70
+ "alias": null,
71
+ "args": null,
72
+ "kind": "ScalarField",
73
+ "name": "id",
74
+ "storageKey": null
75
+ }],
76
+ "storageKey": null
77
+ }]
78
+ },
79
+ "params": {
80
+ "cacheID": "2b3755da1e44df05799bc12ae115545e",
81
+ "id": null,
82
+ "metadata": {},
83
+ "name": "CustomerLoginFormQuery",
84
+ "operationKind": "query",
85
+ "text": "query CustomerLoginFormQuery {\n viewer {\n settings {\n customerLoginSubmittedLabel(format: HTML)\n }\n id\n }\n}\n"
86
+ }
87
+ };
88
+ }();
89
+ node.hash = "f32c7b0b485a2b2a02ddf2cbc5b87a3c";
90
+ var _default = node;
91
+ exports.default = _default;
@@ -0,0 +1,61 @@
1
+ /**
2
+ * @generated SignedSource<<f2bbd4d6155d756aff429c422925d5d2>>
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 PrecartClearCartMutation$variables = {
47
+ input: UpdateOrderInput;
48
+ };
49
+ export type PrecartClearCartMutation$data = {
50
+ readonly updateOrder: {
51
+ readonly order: {
52
+ readonly id: string;
53
+ } | null;
54
+ } | null;
55
+ };
56
+ export type PrecartClearCartMutation = {
57
+ response: PrecartClearCartMutation$data;
58
+ variables: PrecartClearCartMutation$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<<f2bbd4d6155d756aff429c422925d5d2>>
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": "PrecartClearCartMutation",
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": "PrecartClearCartMutation",
67
+ "selections": v1 /*: any*/
68
+ },
69
+ "params": {
70
+ "cacheID": "239135e9d5e808bf9d3581d313561850",
71
+ "id": null,
72
+ "metadata": {},
73
+ "name": "PrecartClearCartMutation",
74
+ "operationKind": "mutation",
75
+ "text": "mutation PrecartClearCartMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n id\n }\n }\n}\n"
76
+ }
77
+ };
78
+ }();
79
+ node.hash = "af8f953028924bdc7866e645c2d0a903";
80
+ var _default = node;
81
+ exports.default = _default;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<a630ed5ce31009146a5c99d316f11ab9>>
2
+ * @generated SignedSource<<4940f0d532bcb559023afe99b0748006>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */