fontdue-js 2.7.0 → 2.8.0-rc1

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 (126) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/__generated__/AddressFields_viewer.graphql.d.ts +1 -1
  3. package/dist/__generated__/AddressFields_viewer.graphql.js +4 -2
  4. package/dist/__generated__/CartItem_node.graphql.d.ts +15 -1
  5. package/dist/__generated__/CartItem_node.graphql.js +51 -17
  6. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
  7. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +48 -16
  8. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
  9. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +48 -16
  10. package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
  11. package/dist/__generated__/CartOrderUpdateMutation.graphql.js +48 -16
  12. package/dist/__generated__/CartOrder_viewer.graphql.d.ts +2 -2
  13. package/dist/__generated__/CartOrder_viewer.graphql.js +2 -6
  14. package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
  15. package/dist/__generated__/CartQuery.graphql.js +48 -47
  16. package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
  17. package/dist/__generated__/CartStateUpdateMutation.graphql.js +65 -32
  18. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
  19. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +48 -16
  20. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
  21. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +48 -16
  22. package/dist/__generated__/CouponCodeInput_viewer.graphql.d.ts +1 -1
  23. package/dist/__generated__/CouponCodeInput_viewer.graphql.js +4 -2
  24. package/dist/__generated__/NodePasswordFormAccessNodeMutation.graphql.d.ts +25 -0
  25. package/dist/__generated__/NodePasswordFormAccessNodeMutation.graphql.js +72 -0
  26. package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
  27. package/dist/__generated__/PrecartAddToCartMutation.graphql.js +48 -16
  28. package/dist/__generated__/PrecartQuery.graphql.d.ts +1 -1
  29. package/dist/__generated__/PrecartQuery.graphql.js +57 -62
  30. package/dist/__generated__/Precart_collection.graphql.d.ts +13 -1
  31. package/dist/__generated__/Precart_collection.graphql.js +64 -17
  32. package/dist/__generated__/Precart_viewer.graphql.d.ts +1 -13
  33. package/dist/__generated__/Precart_viewer.graphql.js +23 -65
  34. package/dist/__generated__/PriceBarSection_node.graphql.d.ts +1 -1
  35. package/dist/__generated__/PriceBarSection_node.graphql.js +4 -2
  36. package/dist/__generated__/SKUPrice_sku.graphql.d.ts +1 -1
  37. package/dist/__generated__/SKUPrice_sku.graphql.js +4 -2
  38. package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +2 -2
  39. package/dist/__generated__/StoreModalCartQuery.graphql.js +44 -47
  40. package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.d.ts +19 -0
  41. package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.js +43 -0
  42. package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +2 -2
  43. package/dist/__generated__/StoreModalProductQuery.graphql.js +39 -5
  44. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
  45. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +24 -3
  46. package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +5 -1
  47. package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +23 -2
  48. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
  49. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +48 -16
  50. package/dist/components/AddToCartBanner/index.js +7 -5
  51. package/dist/components/BuyButton/index.js +7 -5
  52. package/dist/components/Cart/AddressFields.js +3 -3
  53. package/dist/components/Cart/CartItem/index.d.ts +1 -3
  54. package/dist/components/Cart/CartItem/index.js +15 -13
  55. package/dist/components/Cart/CartOrder.js +17 -10
  56. package/dist/components/Cart/CartState.js +7 -4
  57. package/dist/components/Cart/CartTotals.js +2 -2
  58. package/dist/components/Cart/Checkout.js +13 -8
  59. package/dist/components/Cart/CouponCodeInput.js +5 -4
  60. package/dist/components/Cart/Download.js +5 -4
  61. package/dist/components/Cart/IdentityBox.js +2 -2
  62. package/dist/components/Cart/index.js +2 -2
  63. package/dist/components/CartButton/index.js +5 -4
  64. package/dist/components/CharacterViewer/index.js +8 -5
  65. package/dist/components/CollectionAa/index.js +4 -3
  66. package/dist/components/CookieNotification/index.js +6 -7
  67. package/dist/components/CouponText/index.js +3 -2
  68. package/dist/components/CustomerLoginForm/index.js +3 -3
  69. package/dist/components/Family/FamilyList.js +2 -2
  70. package/dist/components/Family/index.js +3 -3
  71. package/dist/components/FontFamilies/index.js +3 -3
  72. package/dist/components/FontStyle/index.js +2 -2
  73. package/dist/components/FontdueProvider/index.d.ts +1 -1
  74. package/dist/components/FontdueProvider/index.js +1 -9
  75. package/dist/components/NewsletterSignup/index.js +5 -4
  76. package/dist/components/NodePasswordForm/index.d.ts +7 -0
  77. package/dist/components/NodePasswordForm/index.js +63 -0
  78. package/dist/components/Precart/License.js +2 -2
  79. package/dist/components/Precart/index.js +17 -13
  80. package/dist/components/Price/index.js +2 -2
  81. package/dist/components/PriceBar/PriceBarSection.js +3 -3
  82. package/dist/components/PriceBar/index.js +3 -3
  83. package/dist/components/Root/index.js +2 -1
  84. package/dist/components/Root/productState.js +11 -6
  85. package/dist/components/SKUPrice/index.js +3 -3
  86. package/dist/components/SelectButton/index.js +3 -3
  87. package/dist/components/SpecimenLink/index.js +2 -2
  88. package/dist/components/StoreModal/StoreModalBundleButton.js +2 -2
  89. package/dist/components/StoreModal/StoreModalCart.js +4 -3
  90. package/dist/components/StoreModal/StoreModalCheckout.js +3 -3
  91. package/dist/components/StoreModal/StoreModalContainer.js +3 -3
  92. package/dist/components/StoreModal/StoreModalDownload.js +5 -4
  93. package/dist/components/StoreModal/StoreModalFamily.js +3 -3
  94. package/dist/components/StoreModal/StoreModalFamilyButton.js +2 -2
  95. package/dist/components/StoreModal/StoreModalIndex.js +2 -2
  96. package/dist/components/StoreModal/StoreModalIndexItem.js +3 -3
  97. package/dist/components/StoreModal/StoreModalProduct.js +14 -7
  98. package/dist/components/StoreModal/StoreModalReview.js +11 -7
  99. package/dist/components/StoreModal/StoreModalReviewIdentity.js +3 -2
  100. package/dist/components/StoreModal/StoreModalStyleButton.js +5 -4
  101. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +3 -3
  102. package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -1
  103. package/dist/components/StoreModalProductLicenseSelection/index.js +13 -4
  104. package/dist/components/StoreModalProductSummary/index.js +18 -6
  105. package/dist/components/StripeProvider/index.js +3 -2
  106. package/dist/components/TestFontsForm/index.js +5 -4
  107. package/dist/components/TestModeBanner/index.js +2 -2
  108. package/dist/components/ThemeConfig/index.js +2 -2
  109. package/dist/components/TypeTester/TypeTesterFeatures.js +3 -3
  110. package/dist/components/TypeTester/TypeTesterFeaturesButton.js +3 -3
  111. package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +3 -3
  112. package/dist/components/TypeTester/TypeTesterInput.d.ts +1 -0
  113. package/dist/components/TypeTester/TypeTesterInput.js +5 -2
  114. package/dist/components/TypeTester/TypeTesterStandalone.js +3 -3
  115. package/dist/components/TypeTester/TypeTesterStyleSelectData.js +7 -5
  116. package/dist/components/TypeTester/TypeTesterToolbar.js +9 -5
  117. package/dist/components/TypeTester/TypeTesterVariableAxes.js +2 -2
  118. package/dist/components/TypeTester/index.js +9 -6
  119. package/dist/components/TypeTester/useFeaturesData.js +2 -2
  120. package/dist/components/TypeTesters/index.js +9 -6
  121. package/dist/components/VariableTableAmounts/index.js +4 -3
  122. package/dist/components/useTotalStyles.js +3 -2
  123. package/dist/fontdue.css +18 -3
  124. package/dist/reducer.js +3 -1
  125. package/dist/relay/environment.js +12 -4
  126. package/package.json +3 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.8.0
2
+
3
+ - Adds support for new "limit licenses" option on collections
4
+
1
5
  ## 2.7.0
2
6
 
3
7
  - Adds config.openTypeFeatures.buttonLabel option (defaults to 'OT Features')
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<4d77c1ffb30775969f066346936c3537>>
2
+ * @generated SignedSource<<46ee0829c6dfcde078c5cbcc2635c902>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -4,8 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
+ var _AddressFieldsRefetchQuery = _interopRequireDefault(require("./AddressFieldsRefetchQuery.graphql"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7
9
  /**
8
- * @generated SignedSource<<4d77c1ffb30775969f066346936c3537>>
10
+ * @generated SignedSource<<46ee0829c6dfcde078c5cbcc2635c902>>
9
11
  * @lightSyntaxTransform
10
12
  * @nogrep
11
13
  */
@@ -37,7 +39,7 @@ const node = function () {
37
39
  "refetch": {
38
40
  "connection": null,
39
41
  "fragmentPathInResult": ["viewer"],
40
- "operation": require('./AddressFieldsRefetchQuery.graphql')
42
+ "operation": _AddressFieldsRefetchQuery.default
41
43
  }
42
44
  },
43
45
  "name": "AddressFields_viewer",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<1a9f3421077bd0be2f327ba6e9a9d696>>
2
+ * @generated SignedSource<<2335521246c954d106f05544b194cfac>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -47,6 +47,20 @@ export type CartItem_node$data = {
47
47
  } | null;
48
48
  } | null;
49
49
  readonly isVariableFont?: boolean;
50
+ readonly licenses?: ReadonlyArray<{
51
+ readonly id: string;
52
+ readonly name: string | null;
53
+ readonly variables: ReadonlyArray<{
54
+ readonly id: string;
55
+ readonly name: string | null;
56
+ readonly options: ReadonlyArray<{
57
+ readonly amount: string | null;
58
+ readonly id: string;
59
+ readonly name: string | null;
60
+ }> | null;
61
+ readonly variableType: string | null;
62
+ }> | null;
63
+ }> | null;
50
64
  readonly name?: string;
51
65
  readonly totalStyles?: number | null;
52
66
  readonly variableInstances?: ReadonlyArray<{
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<1a9f3421077bd0be2f327ba6e9a9d696>>
8
+ * @generated SignedSource<<2335521246c954d106f05544b194cfac>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -52,6 +52,20 @@ const node = function () {
52
52
  },
53
53
  v4 = [v2 /*: any*/],
54
54
  v5 = {
55
+ "alias": null,
56
+ "args": null,
57
+ "kind": "ScalarField",
58
+ "name": "variableType",
59
+ "storageKey": null
60
+ },
61
+ v6 = {
62
+ "alias": null,
63
+ "args": null,
64
+ "kind": "ScalarField",
65
+ "name": "amount",
66
+ "storageKey": null
67
+ },
68
+ v7 = {
55
69
  "alias": null,
56
70
  "args": null,
57
71
  "kind": "ScalarField",
@@ -154,6 +168,38 @@ const node = function () {
154
168
  }],
155
169
  "type": "FontCollection",
156
170
  "abstractKey": null
171
+ }, {
172
+ "kind": "InlineFragment",
173
+ "selections": [{
174
+ "alias": null,
175
+ "args": null,
176
+ "concreteType": "License",
177
+ "kind": "LinkedField",
178
+ "name": "licenses",
179
+ "plural": true,
180
+ "selections": [v0 /*: any*/, v2 /*: any*/, {
181
+ "alias": "variables",
182
+ "args": null,
183
+ "concreteType": "LicenseVariable",
184
+ "kind": "LinkedField",
185
+ "name": "licenseVariables",
186
+ "plural": true,
187
+ "selections": [v0 /*: any*/, v2 /*: any*/, v5 /*: any*/, {
188
+ "alias": "options",
189
+ "args": null,
190
+ "concreteType": "LicenseOption",
191
+ "kind": "LinkedField",
192
+ "name": "licenseOptions",
193
+ "plural": true,
194
+ "selections": [v0 /*: any*/, v6 /*: any*/, v2 /*: any*/],
195
+ "storageKey": null
196
+ }],
197
+ "storageKey": null
198
+ }],
199
+ "storageKey": null
200
+ }],
201
+ "type": "Licenseable",
202
+ "abstractKey": "__isLicenseable"
157
203
  }],
158
204
  "storageKey": null
159
205
  }],
@@ -172,7 +218,7 @@ const node = function () {
172
218
  "kind": "LinkedField",
173
219
  "name": "license",
174
220
  "plural": false,
175
- "selections": [v0 /*: any*/, v2 /*: any*/, v5 /*: any*/],
221
+ "selections": [v0 /*: any*/, v2 /*: any*/, v7 /*: any*/],
176
222
  "storageKey": null
177
223
  }, {
178
224
  "alias": "variable",
@@ -181,13 +227,7 @@ const node = function () {
181
227
  "kind": "LinkedField",
182
228
  "name": "licenseVariable",
183
229
  "plural": false,
184
- "selections": [v0 /*: any*/, {
185
- "alias": null,
186
- "args": null,
187
- "kind": "ScalarField",
188
- "name": "variableType",
189
- "storageKey": null
190
- }, {
230
+ "selections": [v0 /*: any*/, v5 /*: any*/, {
191
231
  "args": null,
192
232
  "kind": "FragmentSpread",
193
233
  "name": "VariableTableAmounts_variable"
@@ -200,13 +240,7 @@ const node = function () {
200
240
  "kind": "LinkedField",
201
241
  "name": "licenseOption",
202
242
  "plural": false,
203
- "selections": [v0 /*: any*/, {
204
- "alias": null,
205
- "args": null,
206
- "kind": "ScalarField",
207
- "name": "amount",
208
- "storageKey": null
209
- }, v5 /*: any*/, v2 /*: any*/, {
243
+ "selections": [v0 /*: any*/, v6 /*: any*/, v7 /*: any*/, v2 /*: any*/, {
210
244
  "args": null,
211
245
  "kind": "FragmentSpread",
212
246
  "name": "VariableTableAmounts_option"
@@ -225,6 +259,6 @@ const node = function () {
225
259
  "abstractKey": null
226
260
  };
227
261
  }();
228
- node.hash = "ef096db653a67b0bba9b2ff3cfdad957";
262
+ node.hash = "8db972f6d8b84100198d9e31bdb3071a";
229
263
  var _default = node;
230
264
  exports.default = _default;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<6ebd798b5de5524f8e8e44d6f02efea0>>
2
+ * @generated SignedSource<<3ac6d675897ffa8d7b8ad7654cf581ab>>
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<<6ebd798b5de5524f8e8e44d6f02efea0>>
8
+ * @generated SignedSource<<3ac6d675897ffa8d7b8ad7654cf581ab>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -155,19 +155,19 @@ const node = function () {
155
155
  "name": "cssUrl",
156
156
  "storageKey": null
157
157
  },
158
- v11 = [v4 /*: any*/],
159
- v12 = {
158
+ v11 = {
160
159
  "alias": null,
161
160
  "args": null,
162
161
  "kind": "ScalarField",
163
- "name": "multiplier",
162
+ "name": "variableType",
164
163
  "storageKey": null
165
164
  },
165
+ v12 = [v4 /*: any*/],
166
166
  v13 = {
167
167
  "alias": null,
168
168
  "args": null,
169
169
  "kind": "ScalarField",
170
- "name": "variableType",
170
+ "name": "multiplier",
171
171
  "storageKey": null
172
172
  };
173
173
  return {
@@ -417,14 +417,14 @@ const node = function () {
417
417
  "name": "product",
418
418
  "plural": false,
419
419
  "selections": [{
420
+ "kind": "TypeDiscriminator",
421
+ "abstractKey": "__isSkuProduct"
422
+ }, {
420
423
  "alias": null,
421
424
  "args": null,
422
425
  "kind": "ScalarField",
423
426
  "name": "__typename",
424
427
  "storageKey": null
425
- }, {
426
- "kind": "TypeDiscriminator",
427
- "abstractKey": "__isSkuProduct"
428
428
  }, {
429
429
  "kind": "InlineFragment",
430
430
  "selections": [{
@@ -499,7 +499,39 @@ const node = function () {
499
499
  "abstractKey": null
500
500
  }, {
501
501
  "kind": "InlineFragment",
502
- "selections": v11 /*: any*/,
502
+ "selections": [{
503
+ "alias": null,
504
+ "args": null,
505
+ "concreteType": "License",
506
+ "kind": "LinkedField",
507
+ "name": "licenses",
508
+ "plural": true,
509
+ "selections": [v4 /*: any*/, v2 /*: any*/, {
510
+ "alias": "variables",
511
+ "args": null,
512
+ "concreteType": "LicenseVariable",
513
+ "kind": "LinkedField",
514
+ "name": "licenseVariables",
515
+ "plural": true,
516
+ "selections": [v4 /*: any*/, v2 /*: any*/, v11 /*: any*/, {
517
+ "alias": "options",
518
+ "args": null,
519
+ "concreteType": "LicenseOption",
520
+ "kind": "LinkedField",
521
+ "name": "licenseOptions",
522
+ "plural": true,
523
+ "selections": [v4 /*: any*/, v6 /*: any*/, v2 /*: any*/],
524
+ "storageKey": null
525
+ }],
526
+ "storageKey": null
527
+ }],
528
+ "storageKey": null
529
+ }],
530
+ "type": "Licenseable",
531
+ "abstractKey": "__isLicenseable"
532
+ }, {
533
+ "kind": "InlineFragment",
534
+ "selections": v12 /*: any*/,
503
535
  "type": "Node",
504
536
  "abstractKey": "__isNode"
505
537
  }],
@@ -520,7 +552,7 @@ const node = function () {
520
552
  "kind": "LinkedField",
521
553
  "name": "license",
522
554
  "plural": false,
523
- "selections": [v4 /*: any*/, v2 /*: any*/, v12 /*: any*/],
555
+ "selections": [v4 /*: any*/, v2 /*: any*/, v13 /*: any*/],
524
556
  "storageKey": null
525
557
  }, {
526
558
  "alias": "variable",
@@ -529,7 +561,7 @@ const node = function () {
529
561
  "kind": "LinkedField",
530
562
  "name": "licenseVariable",
531
563
  "plural": false,
532
- "selections": [v4 /*: any*/, v13 /*: any*/, {
564
+ "selections": [v4 /*: any*/, v11 /*: any*/, {
533
565
  "alias": null,
534
566
  "args": null,
535
567
  "kind": "ScalarField",
@@ -544,7 +576,7 @@ const node = function () {
544
576
  "kind": "LinkedField",
545
577
  "name": "licenseOption",
546
578
  "plural": false,
547
- "selections": [v4 /*: any*/, v6 /*: any*/, v12 /*: any*/, v2 /*: any*/, {
579
+ "selections": [v4 /*: any*/, v6 /*: any*/, v13 /*: any*/, v2 /*: any*/, {
548
580
  "alias": null,
549
581
  "args": null,
550
582
  "kind": "ScalarField",
@@ -565,7 +597,7 @@ const node = function () {
565
597
  "kind": "LinkedField",
566
598
  "name": "licenseVariable",
567
599
  "plural": false,
568
- "selections": [v4 /*: any*/, v13 /*: any*/],
600
+ "selections": [v4 /*: any*/, v11 /*: any*/],
569
601
  "storageKey": null
570
602
  }, {
571
603
  "alias": null,
@@ -574,7 +606,7 @@ const node = function () {
574
606
  "kind": "LinkedField",
575
607
  "name": "licenseOption",
576
608
  "plural": false,
577
- "selections": v11 /*: any*/,
609
+ "selections": v12 /*: any*/,
578
610
  "storageKey": null
579
611
  }],
580
612
  "storageKey": null
@@ -632,12 +664,12 @@ const node = function () {
632
664
  }]
633
665
  },
634
666
  "params": {
635
- "cacheID": "9346e7b37fbb60d4c4b9e165a58f0d5c",
667
+ "cacheID": "cbb2bb744ee95da566464f7c70c069c3",
636
668
  "id": null,
637
669
  "metadata": {},
638
670
  "name": "CartOrderCompleteOrderMutation",
639
671
  "operationKind": "mutation",
640
- "text": "mutation CartOrderCompleteOrderMutation {\n completeOrder {\n order {\n ...CartOrder_order\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n requiresAction\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __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 Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\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 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 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 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"
672
+ "text": "mutation CartOrderCompleteOrderMutation {\n completeOrder {\n order {\n ...CartOrder_order\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n requiresAction\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\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 Licenseable {\n __isLicenseable: __typename\n licenses {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\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 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 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 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"
641
673
  }
642
674
  };
643
675
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<150fb94af7c361eb5ba2f40a096d88e1>>
2
+ * @generated SignedSource<<1de87168508e58c64b07223f416b4055>>
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<<150fb94af7c361eb5ba2f40a096d88e1>>
8
+ * @generated SignedSource<<1de87168508e58c64b07223f416b4055>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -141,19 +141,19 @@ const node = function () {
141
141
  "name": "cssUrl",
142
142
  "storageKey": null
143
143
  },
144
- v9 = [v2 /*: any*/],
145
- v10 = {
144
+ v9 = {
146
145
  "alias": null,
147
146
  "args": null,
148
147
  "kind": "ScalarField",
149
- "name": "multiplier",
148
+ "name": "variableType",
150
149
  "storageKey": null
151
150
  },
151
+ v10 = [v2 /*: any*/],
152
152
  v11 = {
153
153
  "alias": null,
154
154
  "args": null,
155
155
  "kind": "ScalarField",
156
- "name": "variableType",
156
+ "name": "multiplier",
157
157
  "storageKey": null
158
158
  };
159
159
  return {
@@ -394,14 +394,14 @@ const node = function () {
394
394
  "name": "product",
395
395
  "plural": false,
396
396
  "selections": [{
397
+ "kind": "TypeDiscriminator",
398
+ "abstractKey": "__isSkuProduct"
399
+ }, {
397
400
  "alias": null,
398
401
  "args": null,
399
402
  "kind": "ScalarField",
400
403
  "name": "__typename",
401
404
  "storageKey": null
402
- }, {
403
- "kind": "TypeDiscriminator",
404
- "abstractKey": "__isSkuProduct"
405
405
  }, {
406
406
  "kind": "InlineFragment",
407
407
  "selections": [{
@@ -476,7 +476,39 @@ const node = function () {
476
476
  "abstractKey": null
477
477
  }, {
478
478
  "kind": "InlineFragment",
479
- "selections": v9 /*: any*/,
479
+ "selections": [{
480
+ "alias": null,
481
+ "args": null,
482
+ "concreteType": "License",
483
+ "kind": "LinkedField",
484
+ "name": "licenses",
485
+ "plural": true,
486
+ "selections": [v2 /*: any*/, v0 /*: any*/, {
487
+ "alias": "variables",
488
+ "args": null,
489
+ "concreteType": "LicenseVariable",
490
+ "kind": "LinkedField",
491
+ "name": "licenseVariables",
492
+ "plural": true,
493
+ "selections": [v2 /*: any*/, v0 /*: any*/, v9 /*: any*/, {
494
+ "alias": "options",
495
+ "args": null,
496
+ "concreteType": "LicenseOption",
497
+ "kind": "LinkedField",
498
+ "name": "licenseOptions",
499
+ "plural": true,
500
+ "selections": [v2 /*: any*/, v4 /*: any*/, v0 /*: any*/],
501
+ "storageKey": null
502
+ }],
503
+ "storageKey": null
504
+ }],
505
+ "storageKey": null
506
+ }],
507
+ "type": "Licenseable",
508
+ "abstractKey": "__isLicenseable"
509
+ }, {
510
+ "kind": "InlineFragment",
511
+ "selections": v10 /*: any*/,
480
512
  "type": "Node",
481
513
  "abstractKey": "__isNode"
482
514
  }],
@@ -497,7 +529,7 @@ const node = function () {
497
529
  "kind": "LinkedField",
498
530
  "name": "license",
499
531
  "plural": false,
500
- "selections": [v2 /*: any*/, v0 /*: any*/, v10 /*: any*/],
532
+ "selections": [v2 /*: any*/, v0 /*: any*/, v11 /*: any*/],
501
533
  "storageKey": null
502
534
  }, {
503
535
  "alias": "variable",
@@ -506,7 +538,7 @@ const node = function () {
506
538
  "kind": "LinkedField",
507
539
  "name": "licenseVariable",
508
540
  "plural": false,
509
- "selections": [v2 /*: any*/, v11 /*: any*/, {
541
+ "selections": [v2 /*: any*/, v9 /*: any*/, {
510
542
  "alias": null,
511
543
  "args": null,
512
544
  "kind": "ScalarField",
@@ -521,7 +553,7 @@ const node = function () {
521
553
  "kind": "LinkedField",
522
554
  "name": "licenseOption",
523
555
  "plural": false,
524
- "selections": [v2 /*: any*/, v4 /*: any*/, v10 /*: any*/, v0 /*: any*/, {
556
+ "selections": [v2 /*: any*/, v4 /*: any*/, v11 /*: any*/, v0 /*: any*/, {
525
557
  "alias": null,
526
558
  "args": null,
527
559
  "kind": "ScalarField",
@@ -542,7 +574,7 @@ const node = function () {
542
574
  "kind": "LinkedField",
543
575
  "name": "licenseVariable",
544
576
  "plural": false,
545
- "selections": [v2 /*: any*/, v11 /*: any*/],
577
+ "selections": [v2 /*: any*/, v9 /*: any*/],
546
578
  "storageKey": null
547
579
  }, {
548
580
  "alias": null,
@@ -551,7 +583,7 @@ const node = function () {
551
583
  "kind": "LinkedField",
552
584
  "name": "licenseOption",
553
585
  "plural": false,
554
- "selections": v9 /*: any*/,
586
+ "selections": v10 /*: any*/,
555
587
  "storageKey": null
556
588
  }],
557
589
  "storageKey": null
@@ -609,12 +641,12 @@ const node = function () {
609
641
  }]
610
642
  },
611
643
  "params": {
612
- "cacheID": "bc12cc14d5424b1e7e42101286d85bcd",
644
+ "cacheID": "fc5d6210641241588e74a1fbb3c4b23d",
613
645
  "id": null,
614
646
  "metadata": {},
615
647
  "name": "CartOrderRemoveDiscountMutation",
616
648
  "operationKind": "mutation",
617
- "text": "mutation CartOrderRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __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 Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\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 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 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 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"
649
+ "text": "mutation CartOrderRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\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 Licenseable {\n __isLicenseable: __typename\n licenses {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\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 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 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 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"
618
650
  }
619
651
  };
620
652
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<d6d8c89dcd643a0a2da120336a4952b5>>
2
+ * @generated SignedSource<<b21ad78eb8bf570aa975970cd8475a28>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */