fontdue-js 2.16.0 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/__generated__/AddressFieldsRefetchQuery.graphql.d.ts +1 -1
  3. package/dist/__generated__/AddressFieldsRefetchQuery.graphql.js +25 -4
  4. package/dist/__generated__/AddressFields_viewer.graphql.d.ts +5 -1
  5. package/dist/__generated__/AddressFields_viewer.graphql.js +23 -2
  6. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
  7. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +10 -4
  8. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
  9. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +10 -4
  10. package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +3 -2
  11. package/dist/__generated__/CartOrderUpdateMutation.graphql.js +10 -4
  12. package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
  13. package/dist/__generated__/CartQuery.graphql.js +22 -4
  14. package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +1 -1
  15. package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +43 -4
  16. package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +3 -2
  17. package/dist/__generated__/CartStateUpdateMutation.graphql.js +60 -53
  18. package/dist/__generated__/CartState_order.graphql.d.ts +2 -1
  19. package/dist/__generated__/CartState_order.graphql.js +8 -2
  20. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
  21. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +10 -4
  22. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +5 -4
  23. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +10 -4
  24. package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.d.ts +3 -3
  25. package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.js +3 -3
  26. package/dist/__generated__/Checkout_identity.graphql.d.ts +2 -2
  27. package/dist/__generated__/Checkout_identity.graphql.js +3 -3
  28. package/dist/__generated__/Checkout_order.graphql.d.ts +3 -3
  29. package/dist/__generated__/Checkout_order.graphql.js +2 -2
  30. package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +1 -1
  31. package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +43 -4
  32. package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.d.ts +4 -1
  33. package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.js +1 -1
  34. package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +2 -1
  35. package/dist/__generated__/FontFamiliesQuery.graphql.js +1 -1
  36. package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.d.ts +6 -1
  37. package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.js +29 -2
  38. package/dist/__generated__/OrderVariableSelection_variables.graphql.d.ts +5 -1
  39. package/dist/__generated__/OrderVariableSelection_variables.graphql.js +31 -15
  40. package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +2 -1
  41. package/dist/__generated__/PrecartAddToCartMutation.graphql.js +10 -4
  42. package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.d.ts +2 -1
  43. package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.js +1 -1
  44. package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +8 -2
  45. package/dist/__generated__/StoreModalCartQuery.graphql.js +174 -127
  46. package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.d.ts +2 -1
  47. package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +8 -2
  48. package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +1 -1
  49. package/dist/__generated__/StoreModalIndexQuery.graphql.js +9 -3
  50. package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.d.ts +30 -0
  51. package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.js +98 -0
  52. package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.d.ts +1 -16
  53. package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.js +40 -104
  54. package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +2 -1
  55. package/dist/__generated__/StoreModalProductQuery.graphql.js +24 -3
  56. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +2 -1
  57. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +1 -1
  58. package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.d.ts +2 -1
  59. package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.js +1 -1
  60. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +2 -1
  61. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +1 -1
  62. package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.d.ts +1 -1
  63. package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.js +43 -4
  64. package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
  65. package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +43 -4
  66. package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +6 -5
  67. package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +156 -11
  68. package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.d.ts +13 -3
  69. package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.js +50 -4
  70. package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.d.ts +2 -1
  71. package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.js +10 -4
  72. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
  73. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +10 -4
  74. package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.d.ts +2 -1
  75. package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.js +9 -3
  76. package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
  77. package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +30 -14
  78. package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.d.ts +2 -1
  79. package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.js +8 -2
  80. package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.d.ts +4 -1
  81. package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.js +17 -2
  82. package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.d.ts +2 -1
  83. package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.js +9 -3
  84. package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
  85. package/dist/__generated__/TypeTestersIDQuery.graphql.js +53 -37
  86. package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +2 -1
  87. package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +9 -3
  88. package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
  89. package/dist/__generated__/TypeTestersSlugQuery.graphql.js +53 -37
  90. package/dist/components/Cart/AddressFields.d.ts +3 -2
  91. package/dist/components/Cart/AddressFields.js +45 -47
  92. package/dist/components/Cart/CartState.js +1 -1
  93. package/dist/components/Cart/CartTotals.d.ts +5 -2
  94. package/dist/components/Cart/CartTotals.js +24 -10
  95. package/dist/components/Cart/Checkout.js +33 -6
  96. package/dist/components/Cart/CustomerFields.js +5 -2
  97. package/dist/components/Cart/types.d.ts +1 -1
  98. package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +21 -1
  99. package/dist/components/OrderVariableSelection/index.d.ts +1 -0
  100. package/dist/components/OrderVariableSelection/index.js +23 -10
  101. package/dist/components/StoreModal/StoreModalCart.js +9 -6
  102. package/dist/components/StoreModal/StoreModalCheckout.js +0 -37
  103. package/dist/components/StoreModal/StoreModalIndexItem.js +3 -3
  104. package/dist/components/StoreModal/StoreModalOrderVariableSelection.d.ts +3 -1
  105. package/dist/components/StoreModal/StoreModalOrderVariableSelection.js +9 -5
  106. package/dist/components/StoreModal/StoreModalStyleButton.js +1 -8
  107. package/dist/components/StripeProvider/index.js +5 -3
  108. package/dist/components/TypeTester/TypeTesterStyleSelectData.js +12 -3
  109. package/dist/components/elements/StoreModalUnifiedCheckout.d.ts +60 -1
  110. package/dist/components/elements/StoreModalUnifiedCheckout.js +410 -202
  111. package/dist/fontdue.css +36 -10
  112. package/dist/reducer.d.ts +1 -0
  113. package/dist/utils.d.ts +1 -0
  114. package/dist/utils.js +11 -2
  115. package/package.json +2 -1
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<c443bf4cdec131a940f3d360413814ec>>
8
+ * @generated SignedSource<<0c65cfadd6dc754e693cc938c7e58a89>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -87,7 +87,7 @@ const node = function () {
87
87
  "alias": null,
88
88
  "args": null,
89
89
  "kind": "ScalarField",
90
- "name": "phone",
90
+ "name": "phoneNullable",
91
91
  "storageKey": null
92
92
  }, {
93
93
  "alias": null,
@@ -250,6 +250,45 @@ const node = function () {
250
250
  "plural": false,
251
251
  "selections": v2 /*: any*/,
252
252
  "storageKey": null
253
+ }, {
254
+ "alias": null,
255
+ "args": null,
256
+ "concreteType": "OrderVariableSelection",
257
+ "kind": "LinkedField",
258
+ "name": "orderVariableSelections",
259
+ "plural": true,
260
+ "selections": [{
261
+ "alias": null,
262
+ "args": null,
263
+ "concreteType": "OrderVariable",
264
+ "kind": "LinkedField",
265
+ "name": "orderVariable",
266
+ "plural": false,
267
+ "selections": [v5 /*: any*/, {
268
+ "alias": null,
269
+ "args": null,
270
+ "kind": "ScalarField",
271
+ "name": "variableType",
272
+ "storageKey": null
273
+ }],
274
+ "storageKey": null
275
+ }, {
276
+ "alias": null,
277
+ "args": null,
278
+ "concreteType": "OrderVariableOption",
279
+ "kind": "LinkedField",
280
+ "name": "orderVariableOption",
281
+ "plural": false,
282
+ "selections": [v5 /*: any*/],
283
+ "storageKey": null
284
+ }, {
285
+ "alias": null,
286
+ "args": null,
287
+ "kind": "ScalarField",
288
+ "name": "countryCode",
289
+ "storageKey": null
290
+ }, v5 /*: any*/],
291
+ "storageKey": null
253
292
  }, {
254
293
  "alias": null,
255
294
  "args": null,
@@ -359,12 +398,12 @@ const node = function () {
359
398
  }]
360
399
  },
361
400
  "params": {
362
- "cacheID": "52bcebfcbb66e3b4e1a7c75a031991cc",
401
+ "cacheID": "cfe6c6577223a2a2773a4640769dc768",
363
402
  "id": null,
364
403
  "metadata": {},
365
404
  "name": "CouponCodeInputApplyCouponMutation",
366
405
  "operationKind": "mutation",
367
- "text": "mutation CouponCodeInputApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartTotals_order\n id\n }\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 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 Price_price on Money {\n amount\n currency\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 phone\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n amount\n currency\n }\n}\n"
406
+ "text": "mutation CouponCodeInputApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartTotals_order\n id\n }\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 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 Price_price on Money {\n amount\n currency\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 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"
368
407
  }
369
408
  };
370
409
  }();
@@ -1,11 +1,14 @@
1
1
  /**
2
- * @generated SignedSource<<05314837525605242c909332376c293c>>
2
+ * @generated SignedSource<<fd35a09343fd0b9af65f7c50420747b6>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
6
6
  import { ConcreteRequest } from 'relay-runtime';
7
7
  export type LoginInput = {
8
8
  email?: string | null;
9
+ name?: string | null;
10
+ newsletterOptIn?: boolean | null;
11
+ target?: string | null;
9
12
  };
10
13
  export type CustomerLoginFormLoginMutation$variables = {
11
14
  input: LoginInput;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<05314837525605242c909332376c293c>>
8
+ * @generated SignedSource<<fd35a09343fd0b9af65f7c50420747b6>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<2cb731b4bc4768d7fe01387fe81dfb27>>
2
+ * @generated SignedSource<<dde409981d33af3b397ded4f363f123c>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -10,6 +10,7 @@ export type LicenseOptionsSpec = {
10
10
  licenseOptionIds?: ReadonlyArray<string> | null;
11
11
  };
12
12
  export type OrderVariableSelectionInput = {
13
+ countryCode?: string | null;
13
14
  orderVariableId: string;
14
15
  orderVariableOptionId?: string | null;
15
16
  };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<2cb731b4bc4768d7fe01387fe81dfb27>>
8
+ * @generated SignedSource<<dde409981d33af3b397ded4f363f123c>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -1,11 +1,16 @@
1
1
  /**
2
- * @generated SignedSource<<0620488e64422c56517e69f7f14adb2d>>
2
+ * @generated SignedSource<<54ed1f3c8408eacec255e57dd82cc26a>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
6
6
  import { ReaderFragment } from 'relay-runtime';
7
7
  import { FragmentRefs } from "relay-runtime";
8
8
  export type OrderVariableSelectionRedux_viewer$data = {
9
+ readonly detectedCountry: string | null;
10
+ readonly orderVariables: ReadonlyArray<{
11
+ readonly id: string;
12
+ readonly variableType: string;
13
+ }> | null;
9
14
  readonly " $fragmentSpreads": FragmentRefs<"OrderVariableSelection_variables">;
10
15
  readonly " $fragmentType": "OrderVariableSelectionRedux_viewer";
11
16
  };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<0620488e64422c56517e69f7f14adb2d>>
8
+ * @generated SignedSource<<54ed1f3c8408eacec255e57dd82cc26a>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -23,10 +23,37 @@ const node = {
23
23
  "args": null,
24
24
  "kind": "FragmentSpread",
25
25
  "name": "OrderVariableSelection_variables"
26
+ }, {
27
+ "alias": null,
28
+ "args": null,
29
+ "kind": "ScalarField",
30
+ "name": "detectedCountry",
31
+ "storageKey": null
32
+ }, {
33
+ "alias": null,
34
+ "args": null,
35
+ "concreteType": "OrderVariable",
36
+ "kind": "LinkedField",
37
+ "name": "orderVariables",
38
+ "plural": true,
39
+ "selections": [{
40
+ "alias": null,
41
+ "args": null,
42
+ "kind": "ScalarField",
43
+ "name": "id",
44
+ "storageKey": null
45
+ }, {
46
+ "alias": null,
47
+ "args": null,
48
+ "kind": "ScalarField",
49
+ "name": "variableType",
50
+ "storageKey": null
51
+ }],
52
+ "storageKey": null
26
53
  }],
27
54
  "type": "Viewer",
28
55
  "abstractKey": null
29
56
  };
30
- node.hash = "7d07b06f69f3c216f916b8da7c604cd5";
57
+ node.hash = "2856c16fbbcd6be41aaf1bd8a0f79409";
31
58
  var _default = node;
32
59
  exports.default = _default;
@@ -1,11 +1,15 @@
1
1
  /**
2
- * @generated SignedSource<<de8bb4c3b19d357c74d2ae364c8acf3a>>
2
+ * @generated SignedSource<<ebb8b07964467de182f0bbca0e541839>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
6
6
  import { ReaderFragment } from 'relay-runtime';
7
7
  import { FragmentRefs } from "relay-runtime";
8
8
  export type OrderVariableSelection_variables$data = {
9
+ readonly countries: ReadonlyArray<{
10
+ readonly code: string;
11
+ readonly name: string;
12
+ } | null>;
9
13
  readonly orderVariables: ReadonlyArray<{
10
14
  readonly description: string | null;
11
15
  readonly id: string;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<de8bb4c3b19d357c74d2ae364c8acf3a>>
8
+ * @generated SignedSource<<ebb8b07964467de182f0bbca0e541839>>
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": "name",
30
+ "storageKey": null
31
+ };
25
32
  return {
26
33
  "argumentDefinitions": [],
27
34
  "kind": "Fragment",
@@ -34,13 +41,7 @@ const node = function () {
34
41
  "kind": "LinkedField",
35
42
  "name": "orderVariables",
36
43
  "plural": true,
37
- "selections": [v0 /*: any*/, {
38
- "alias": null,
39
- "args": null,
40
- "kind": "ScalarField",
41
- "name": "name",
42
- "storageKey": null
43
- }, {
44
+ "selections": [v0 /*: any*/, v1 /*: any*/, {
44
45
  "alias": null,
45
46
  "args": null,
46
47
  "kind": "ScalarField",
@@ -73,11 +74,26 @@ const node = function () {
73
74
  "storageKey": null
74
75
  }],
75
76
  "storageKey": null
77
+ }, {
78
+ "alias": null,
79
+ "args": null,
80
+ "concreteType": "Country",
81
+ "kind": "LinkedField",
82
+ "name": "countries",
83
+ "plural": true,
84
+ "selections": [{
85
+ "alias": null,
86
+ "args": null,
87
+ "kind": "ScalarField",
88
+ "name": "code",
89
+ "storageKey": null
90
+ }, v1 /*: any*/],
91
+ "storageKey": null
76
92
  }],
77
93
  "type": "Viewer",
78
94
  "abstractKey": null
79
95
  };
80
96
  }();
81
- node.hash = "791f9f19a96e680b9fa2b1ad81e8aa2f";
97
+ node.hash = "0bf7cc073cfd6f730927e57ddce09413";
82
98
  var _default = node;
83
99
  exports.default = _default;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<8bc4ec173240ce5a7914ee8481280a5e>>
2
+ * @generated SignedSource<<6815b3b174c29beff85e268cddb0d3d3>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -19,6 +19,7 @@ export type LicenseSelectionInput = {
19
19
  variableText?: string | null;
20
20
  };
21
21
  export type OrderVariableSelectionInput = {
22
+ countryCode?: string | null;
22
23
  orderVariableId: string;
23
24
  orderVariableOptionId?: string | null;
24
25
  };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<8bc4ec173240ce5a7914ee8481280a5e>>
8
+ * @generated SignedSource<<6815b3b174c29beff85e268cddb0d3d3>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -105,7 +105,7 @@ const node = function () {
105
105
  "alias": null,
106
106
  "args": null,
107
107
  "kind": "ScalarField",
108
- "name": "phone",
108
+ "name": "phoneNullable",
109
109
  "storageKey": null
110
110
  }, {
111
111
  "alias": null,
@@ -649,6 +649,12 @@ const node = function () {
649
649
  "plural": false,
650
650
  "selections": v5 /*: any*/,
651
651
  "storageKey": null
652
+ }, {
653
+ "alias": null,
654
+ "args": null,
655
+ "kind": "ScalarField",
656
+ "name": "countryCode",
657
+ "storageKey": null
652
658
  }, v2 /*: any*/],
653
659
  "storageKey": null
654
660
  }, {
@@ -703,12 +709,12 @@ const node = function () {
703
709
  }]
704
710
  },
705
711
  "params": {
706
- "cacheID": "139ebf95e97f390d0b4908c2dd24dccf",
712
+ "cacheID": "a636d63964ae4daf62cc09361a27c482",
707
713
  "id": null,
708
714
  "metadata": {},
709
715
  "name": "PrecartAddToCartMutation",
710
716
  "operationKind": "mutation",
711
- "text": "mutation PrecartAddToCartMutation(\n $input: CreateOrderItemsInput!\n) {\n createOrderItems(input: $input) {\n order {\n ...CartButton_order\n ...CartOrder_order\n ...AddToCartBanner_order\n id\n }\n }\n}\n\nfragment AddToCartBanner_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n sku {\n product {\n __typename\n ... on FontCollection {\n name\n }\n ... on FontStyle {\n name\n family {\n name\n id\n }\n }\n ... on Bundle {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n}\n\nfragment CartButton_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n }\n subtotal {\n ...Price_price\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}\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 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 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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\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 VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
717
+ "text": "mutation PrecartAddToCartMutation(\n $input: CreateOrderItemsInput!\n) {\n createOrderItems(input: $input) {\n order {\n ...CartButton_order\n ...CartOrder_order\n ...AddToCartBanner_order\n id\n }\n }\n}\n\nfragment AddToCartBanner_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n sku {\n product {\n __typename\n ... on FontCollection {\n name\n }\n ... on FontStyle {\n name\n family {\n name\n id\n }\n }\n ... on Bundle {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n}\n\nfragment CartButton_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n }\n subtotal {\n ...Price_price\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}\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 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 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 VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
712
718
  }
713
719
  };
714
720
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<e8366b25cefac2669353485e6d634495>>
2
+ * @generated SignedSource<<ce822b204921c0a7cea757e1304f23a0>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -10,6 +10,7 @@ export type LicenseOptionsSpec = {
10
10
  licenseOptionIds?: ReadonlyArray<string> | null;
11
11
  };
12
12
  export type OrderVariableSelectionInput = {
13
+ countryCode?: string | null;
13
14
  orderVariableId: string;
14
15
  orderVariableOptionId?: string | null;
15
16
  };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<e8366b25cefac2669353485e6d634495>>
8
+ * @generated SignedSource<<ce822b204921c0a7cea757e1304f23a0>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<06a3addceb553dbeade6359c5864ac00>>
2
+ * @generated SignedSource<<fa0bfd6a031dd6bc8059a4198aaf5090>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -26,13 +26,19 @@ export type StoreModalCartQuery$data = {
26
26
  }> | null;
27
27
  readonly " $fragmentSpreads": FragmentRefs<"CartItem_node">;
28
28
  }> | null;
29
+ readonly orderVariableSelections: ReadonlyArray<{
30
+ readonly id: string;
31
+ }> | null;
29
32
  readonly stripePaymentMethod: {
30
33
  readonly id: string | null;
31
34
  } | null;
32
35
  readonly total: {
33
36
  readonly amount: number;
34
37
  } | null;
35
- readonly " $fragmentSpreads": FragmentRefs<"CartState_order" | "CartTotals_order" | "StoreModalUnifiedCheckout_order">;
38
+ readonly " $fragmentSpreads": FragmentRefs<"CartState_order" | "CartTotals_order" | "StoreModalOrderVariableSelection_order" | "StoreModalUnifiedCheckout_order">;
39
+ } | null;
40
+ readonly settings: {
41
+ readonly taxSystem: string;
36
42
  } | null;
37
43
  readonly " $fragmentSpreads": FragmentRefs<"OrderVariableSelection_variables" | "StoreModalOrderVariableSelection_viewer" | "StoreModalUnifiedCheckout_viewer" | "StripeProvider_viewer">;
38
44
  };