fontdue-js 2.19.1 → 2.20.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.
- package/CHANGELOG.md +16 -0
- package/README.md +11 -10
- package/dist/__generated__/CartItemProduct_product.graphql.d.ts +1 -7
- package/dist/__generated__/CartItemProduct_product.graphql.js +11 -36
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +65 -23
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +65 -23
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +65 -23
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +119 -87
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +65 -23
- package/dist/__generated__/CharacterViewerIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CharacterViewerIDQuery.graphql.js +40 -26
- package/dist/__generated__/CharacterViewerSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CharacterViewerSlugQuery.graphql.js +40 -26
- package/dist/__generated__/CharacterViewerStyleRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CharacterViewerStyleRefetchQuery.graphql.js +62 -41
- package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +1 -3
- package/dist/__generated__/CharacterViewer_collection.graphql.js +6 -13
- package/dist/__generated__/CharacterViewer_family.graphql.d.ts +1 -2
- package/dist/__generated__/CharacterViewer_family.graphql.js +2 -8
- package/dist/__generated__/CharacterViewer_style.graphql.d.ts +2 -1
- package/dist/__generated__/CharacterViewer_style.graphql.js +6 -2
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +65 -23
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +65 -23
- package/dist/__generated__/CollectionAa_Query.graphql.d.ts +1 -1
- package/dist/__generated__/CollectionAa_Query.graphql.js +57 -3
- package/dist/__generated__/Family_node.graphql.d.ts +1 -2
- package/dist/__generated__/Family_node.graphql.js +2 -8
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +1 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +80 -31
- package/dist/__generated__/FontStyle_fontStyle.graphql.d.ts +2 -3
- package/dist/__generated__/FontStyle_fontStyle.graphql.js +4 -12
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +71 -29
- package/dist/__generated__/ServerConfigProviderQuery.graphql.d.ts +24 -0
- package/dist/__generated__/ServerConfigProviderQuery.graphql.js +108 -0
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +108 -76
- package/dist/__generated__/StoreModalContainerQuery.graphql.d.ts +4 -7
- package/dist/__generated__/StoreModalContainerQuery.graphql.js +58 -25
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +1 -2
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +2 -8
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.d.ts +1 -4
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +2 -17
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +48 -9
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +85 -41
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +78 -34
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +65 -23
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.js +55 -7
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +56 -8
- package/dist/__generated__/TypeTester_fontStyle.graphql.d.ts +1 -4
- package/dist/__generated__/TypeTester_fontStyle.graphql.js +2 -17
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.js +55 -7
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +55 -7
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +55 -7
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +55 -7
- package/dist/__generated__/useFontStyle_fontStyle.graphql.d.ts +28 -0
- package/dist/__generated__/useFontStyle_fontStyle.graphql.js +94 -0
- package/dist/__tests__/collectionBundleSelection.test.js +453 -1
- package/dist/components/Cart/CartItem/CartItemProduct.js +3 -9
- package/dist/components/CharacterViewer/index.js +5 -11
- package/dist/components/ConfigContext.d.ts +13 -0
- package/dist/components/ConfigContext.js +6 -2
- package/dist/components/ConsentBanner/consent.d.ts +18 -0
- package/dist/components/ConsentBanner/consent.js +93 -0
- package/dist/components/ConsentBanner/index.d.ts +3 -0
- package/dist/components/ConsentBanner/index.js +84 -0
- package/dist/components/Family/index.js +2 -5
- package/dist/components/FontStyle/index.js +2 -8
- package/dist/components/FontdueProvider/FontdueProviderClientComponent.js +14 -1
- package/dist/components/FontdueProvider/index.js +1 -2
- package/dist/components/FontdueProvider/index.server.js +1 -2
- package/dist/components/ServerConfigProvider/index.d.ts +8 -0
- package/dist/components/ServerConfigProvider/index.js +41 -0
- package/dist/components/StoreModal/StoreModalContainer.js +15 -17
- package/dist/components/StoreModal/StoreModalFamily.js +1 -5
- package/dist/components/StoreModal/StoreModalIndexItem.js +6 -11
- package/dist/components/Tracking/index.d.ts +2 -0
- package/dist/components/Tracking/index.js +166 -0
- package/dist/components/TypeTester/TypeTesterSlider.js +10 -3
- package/dist/components/TypeTester/index.js +2 -5
- package/dist/components/TypeTester/useTypeTesterStyler.js +27 -85
- package/dist/components/UrlContext.d.ts +3 -0
- package/dist/components/UrlContext.js +15 -0
- package/dist/components/elements/StoreModalContainer/index.d.ts +2 -6
- package/dist/components/elements/StoreModalContainer/index.js +3 -8
- package/dist/components/elements/StoreModalFamily/index.d.ts +0 -1
- package/dist/components/elements/StoreModalFamily/index.js +1 -2
- package/dist/components/useConsent.d.ts +9 -0
- package/dist/components/useConsent.js +26 -0
- package/dist/components/useFont.d.ts +29 -0
- package/dist/components/useFont.js +77 -0
- package/dist/components/useFontLoaded.d.ts +24 -0
- package/dist/components/useFontLoaded.js +60 -0
- package/dist/components/useFontStyle.d.ts +3 -4
- package/dist/components/useFontStyle.js +24 -16
- package/dist/deepMerge.d.ts +4 -0
- package/dist/deepMerge.js +24 -0
- package/dist/fontLoader.d.ts +13 -0
- package/dist/fontLoader.js +55 -0
- package/dist/fontdue.css +65 -0
- package/dist/hooks/useAutofit.d.ts +20 -0
- package/dist/hooks/useAutofit.js +114 -0
- package/dist/react-ranger.js +5 -1
- package/dist/reducer.d.ts +0 -4
- package/dist/reducer.js +32 -21
- package/dist/utils.d.ts +3 -0
- package/dist/utils.js +19 -8
- package/package.json +5 -2
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<de22376f523161fb89d24230c859eb9d>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -77,26 +77,40 @@ const node = function () {
|
|
|
77
77
|
"storageKey": null
|
|
78
78
|
},
|
|
79
79
|
v10 = {
|
|
80
|
+
"alias": null,
|
|
81
|
+
"args": null,
|
|
82
|
+
"kind": "ScalarField",
|
|
83
|
+
"name": "format",
|
|
84
|
+
"storageKey": null
|
|
85
|
+
},
|
|
86
|
+
v11 = {
|
|
87
|
+
"alias": null,
|
|
88
|
+
"args": null,
|
|
89
|
+
"kind": "ScalarField",
|
|
90
|
+
"name": "url",
|
|
91
|
+
"storageKey": null
|
|
92
|
+
},
|
|
93
|
+
v12 = {
|
|
80
94
|
"kind": "Literal",
|
|
81
95
|
"name": "format",
|
|
82
96
|
"value": "HTML"
|
|
83
97
|
},
|
|
84
|
-
|
|
85
|
-
|
|
98
|
+
v13 = [v12 /*: any*/],
|
|
99
|
+
v14 = {
|
|
86
100
|
"alias": null,
|
|
87
101
|
"args": null,
|
|
88
102
|
"kind": "ScalarField",
|
|
89
103
|
"name": "stripeAccountId",
|
|
90
104
|
"storageKey": null
|
|
91
105
|
},
|
|
92
|
-
|
|
106
|
+
v15 = {
|
|
93
107
|
"alias": null,
|
|
94
108
|
"args": null,
|
|
95
109
|
"kind": "ScalarField",
|
|
96
110
|
"name": "currency",
|
|
97
111
|
"storageKey": null
|
|
98
112
|
},
|
|
99
|
-
|
|
113
|
+
v16 = {
|
|
100
114
|
"alias": null,
|
|
101
115
|
"args": null,
|
|
102
116
|
"concreteType": "LicenseOption",
|
|
@@ -106,57 +120,96 @@ const node = function () {
|
|
|
106
120
|
"selections": v3 /*: any*/,
|
|
107
121
|
"storageKey": null
|
|
108
122
|
},
|
|
109
|
-
|
|
110
|
-
|
|
123
|
+
v17 = [v2 /*: any*/, v15 /*: any*/],
|
|
124
|
+
v18 = {
|
|
111
125
|
"alias": null,
|
|
112
126
|
"args": null,
|
|
113
127
|
"concreteType": "Money",
|
|
114
128
|
"kind": "LinkedField",
|
|
115
129
|
"name": "price",
|
|
116
130
|
"plural": false,
|
|
117
|
-
"selections":
|
|
131
|
+
"selections": v17 /*: any*/,
|
|
118
132
|
"storageKey": null
|
|
119
133
|
},
|
|
120
|
-
|
|
134
|
+
v19 = {
|
|
121
135
|
"alias": null,
|
|
122
136
|
"args": null,
|
|
123
|
-
"
|
|
124
|
-
"
|
|
137
|
+
"concreteType": "WebfontSource",
|
|
138
|
+
"kind": "LinkedField",
|
|
139
|
+
"name": "webfontSources",
|
|
140
|
+
"plural": true,
|
|
141
|
+
"selections": [v11 /*: any*/, v10 /*: any*/],
|
|
125
142
|
"storageKey": null
|
|
126
143
|
},
|
|
127
|
-
|
|
144
|
+
v20 = {
|
|
145
|
+
"alias": null,
|
|
146
|
+
"args": null,
|
|
147
|
+
"concreteType": "VerticalMetrics",
|
|
148
|
+
"kind": "LinkedField",
|
|
149
|
+
"name": "verticalMetrics",
|
|
150
|
+
"plural": false,
|
|
151
|
+
"selections": [{
|
|
152
|
+
"alias": null,
|
|
153
|
+
"args": null,
|
|
154
|
+
"kind": "ScalarField",
|
|
155
|
+
"name": "unitsPerEm",
|
|
156
|
+
"storageKey": null
|
|
157
|
+
}, {
|
|
158
|
+
"alias": null,
|
|
159
|
+
"args": null,
|
|
160
|
+
"kind": "ScalarField",
|
|
161
|
+
"name": "ascender",
|
|
162
|
+
"storageKey": null
|
|
163
|
+
}, {
|
|
164
|
+
"alias": null,
|
|
165
|
+
"args": null,
|
|
166
|
+
"kind": "ScalarField",
|
|
167
|
+
"name": "descender",
|
|
168
|
+
"storageKey": null
|
|
169
|
+
}, {
|
|
170
|
+
"alias": null,
|
|
171
|
+
"args": null,
|
|
172
|
+
"kind": "ScalarField",
|
|
173
|
+
"name": "lineGap",
|
|
174
|
+
"storageKey": null
|
|
175
|
+
}],
|
|
176
|
+
"storageKey": null
|
|
177
|
+
},
|
|
178
|
+
v21 = [v9 /*: any*/, v7 /*: any*/, v19 /*: any*/, v20 /*: any*/, v1 /*: any*/],
|
|
179
|
+
v22 = {
|
|
128
180
|
"alias": null,
|
|
129
181
|
"args": null,
|
|
130
182
|
"kind": "ScalarField",
|
|
131
183
|
"name": "totalStyles",
|
|
132
184
|
"storageKey": null
|
|
133
185
|
},
|
|
134
|
-
|
|
186
|
+
v23 = [v7 /*: any*/, v1 /*: any*/],
|
|
187
|
+
v24 = {
|
|
135
188
|
"alias": null,
|
|
136
189
|
"args": null,
|
|
137
190
|
"concreteType": "FontCollection",
|
|
138
191
|
"kind": "LinkedField",
|
|
139
192
|
"name": "fontCollection",
|
|
140
193
|
"plural": false,
|
|
141
|
-
"selections":
|
|
194
|
+
"selections": v23 /*: any*/,
|
|
142
195
|
"storageKey": null
|
|
143
196
|
},
|
|
144
|
-
|
|
145
|
-
|
|
197
|
+
v25 = [v1 /*: any*/, v2 /*: any*/],
|
|
198
|
+
v26 = {
|
|
146
199
|
"alias": null,
|
|
147
200
|
"args": null,
|
|
148
201
|
"kind": "ScalarField",
|
|
149
202
|
"name": "email",
|
|
150
203
|
"storageKey": null
|
|
151
204
|
},
|
|
152
|
-
|
|
205
|
+
v27 = {
|
|
153
206
|
"alias": null,
|
|
154
207
|
"args": null,
|
|
155
208
|
"kind": "ScalarField",
|
|
156
209
|
"name": "country",
|
|
157
210
|
"storageKey": null
|
|
158
211
|
},
|
|
159
|
-
|
|
212
|
+
v28 = [v26 /*: any*/, {
|
|
160
213
|
"alias": null,
|
|
161
214
|
"args": null,
|
|
162
215
|
"kind": "ScalarField",
|
|
@@ -204,7 +257,7 @@ const node = function () {
|
|
|
204
257
|
"kind": "ScalarField",
|
|
205
258
|
"name": "sublocality",
|
|
206
259
|
"storageKey": null
|
|
207
|
-
},
|
|
260
|
+
}, v27 /*: any*/, {
|
|
208
261
|
"alias": null,
|
|
209
262
|
"args": null,
|
|
210
263
|
"kind": "ScalarField",
|
|
@@ -386,25 +439,13 @@ const node = function () {
|
|
|
386
439
|
"kind": "LinkedField",
|
|
387
440
|
"name": "webfontSources",
|
|
388
441
|
"plural": true,
|
|
389
|
-
"selections": [
|
|
390
|
-
"alias": null,
|
|
391
|
-
"args": null,
|
|
392
|
-
"kind": "ScalarField",
|
|
393
|
-
"name": "format",
|
|
394
|
-
"storageKey": null
|
|
395
|
-
}, {
|
|
396
|
-
"alias": null,
|
|
397
|
-
"args": null,
|
|
398
|
-
"kind": "ScalarField",
|
|
399
|
-
"name": "url",
|
|
400
|
-
"storageKey": null
|
|
401
|
-
}],
|
|
442
|
+
"selections": [v10 /*: any*/, v11 /*: any*/],
|
|
402
443
|
"storageKey": null
|
|
403
444
|
}, v1 /*: any*/],
|
|
404
445
|
"storageKey": null
|
|
405
446
|
}, {
|
|
406
447
|
"alias": null,
|
|
407
|
-
"args":
|
|
448
|
+
"args": v13 /*: any*/,
|
|
408
449
|
"kind": "ScalarField",
|
|
409
450
|
"name": "storeModalSelectOrderVariablesLabel",
|
|
410
451
|
"storageKey": "storeModalSelectOrderVariablesLabel(format:\"HTML\")"
|
|
@@ -428,19 +469,19 @@ const node = function () {
|
|
|
428
469
|
"storageKey": null
|
|
429
470
|
}, {
|
|
430
471
|
"alias": null,
|
|
431
|
-
"args":
|
|
472
|
+
"args": v13 /*: any*/,
|
|
432
473
|
"kind": "ScalarField",
|
|
433
474
|
"name": "eulaAgreementLabel",
|
|
434
475
|
"storageKey": "eulaAgreementLabel(format:\"HTML\")"
|
|
435
476
|
}, {
|
|
436
477
|
"alias": null,
|
|
437
|
-
"args":
|
|
478
|
+
"args": v13 /*: any*/,
|
|
438
479
|
"kind": "ScalarField",
|
|
439
480
|
"name": "storeModalSelectLicenseeLabel",
|
|
440
481
|
"storageKey": "storeModalSelectLicenseeLabel(format:\"HTML\")"
|
|
441
482
|
}, {
|
|
442
483
|
"alias": null,
|
|
443
|
-
"args":
|
|
484
|
+
"args": v13 /*: any*/,
|
|
444
485
|
"kind": "ScalarField",
|
|
445
486
|
"name": "newsletterOptInLabel",
|
|
446
487
|
"storageKey": "newsletterOptInLabel(format:\"HTML\")"
|
|
@@ -473,7 +514,7 @@ const node = function () {
|
|
|
473
514
|
"storageKey": null
|
|
474
515
|
}],
|
|
475
516
|
"storageKey": null
|
|
476
|
-
},
|
|
517
|
+
}, v14 /*: any*/, {
|
|
477
518
|
"alias": null,
|
|
478
519
|
"args": null,
|
|
479
520
|
"kind": "ScalarField",
|
|
@@ -486,7 +527,7 @@ const node = function () {
|
|
|
486
527
|
"kind": "LinkedField",
|
|
487
528
|
"name": "currentOrder",
|
|
488
529
|
"plural": false,
|
|
489
|
-
"selections": [
|
|
530
|
+
"selections": [v14 /*: any*/, {
|
|
490
531
|
"alias": null,
|
|
491
532
|
"args": null,
|
|
492
533
|
"concreteType": "StripePaymentIntent",
|
|
@@ -499,7 +540,7 @@ const node = function () {
|
|
|
499
540
|
"kind": "ScalarField",
|
|
500
541
|
"name": "clientSecret",
|
|
501
542
|
"storageKey": null
|
|
502
|
-
}, v2 /*: any*/,
|
|
543
|
+
}, v2 /*: any*/, v15 /*: any*/],
|
|
503
544
|
"storageKey": null
|
|
504
545
|
}, v1 /*: any*/, {
|
|
505
546
|
"alias": null,
|
|
@@ -555,7 +596,7 @@ const node = function () {
|
|
|
555
596
|
"kind": "ScalarField",
|
|
556
597
|
"name": "units",
|
|
557
598
|
"storageKey": null
|
|
558
|
-
}, v7 /*: any*/, v4 /*: any*/,
|
|
599
|
+
}, v7 /*: any*/, v4 /*: any*/, v16 /*: any*/],
|
|
559
600
|
"storageKey": null
|
|
560
601
|
}, {
|
|
561
602
|
"alias": null,
|
|
@@ -574,14 +615,14 @@ const node = function () {
|
|
|
574
615
|
"storageKey": null
|
|
575
616
|
}, v5 /*: any*/, v1 /*: any*/],
|
|
576
617
|
"storageKey": null
|
|
577
|
-
},
|
|
618
|
+
}, v18 /*: any*/, {
|
|
578
619
|
"alias": null,
|
|
579
620
|
"args": null,
|
|
580
621
|
"concreteType": "Sku",
|
|
581
622
|
"kind": "LinkedField",
|
|
582
623
|
"name": "sku",
|
|
583
624
|
"plural": false,
|
|
584
|
-
"selections": [
|
|
625
|
+
"selections": [v18 /*: any*/, {
|
|
585
626
|
"alias": null,
|
|
586
627
|
"args": null,
|
|
587
628
|
"concreteType": null,
|
|
@@ -606,16 +647,7 @@ const node = function () {
|
|
|
606
647
|
"kind": "LinkedField",
|
|
607
648
|
"name": "featureStyle",
|
|
608
649
|
"plural": false,
|
|
609
|
-
"selections":
|
|
610
|
-
"alias": null,
|
|
611
|
-
"args": null,
|
|
612
|
-
"concreteType": "FontCollection",
|
|
613
|
-
"kind": "LinkedField",
|
|
614
|
-
"name": "family",
|
|
615
|
-
"plural": false,
|
|
616
|
-
"selections": [v17 /*: any*/, v1 /*: any*/],
|
|
617
|
-
"storageKey": null
|
|
618
|
-
}],
|
|
650
|
+
"selections": v21 /*: any*/,
|
|
619
651
|
"storageKey": null
|
|
620
652
|
}, v7 /*: any*/, {
|
|
621
653
|
"alias": null,
|
|
@@ -623,7 +655,7 @@ const node = function () {
|
|
|
623
655
|
"kind": "ScalarField",
|
|
624
656
|
"name": "isVariableFont",
|
|
625
657
|
"storageKey": null
|
|
626
|
-
},
|
|
658
|
+
}, v22 /*: any*/],
|
|
627
659
|
"type": "FontCollection",
|
|
628
660
|
"abstractKey": null
|
|
629
661
|
}, {
|
|
@@ -635,21 +667,21 @@ const node = function () {
|
|
|
635
667
|
"kind": "LinkedField",
|
|
636
668
|
"name": "fontStyles",
|
|
637
669
|
"plural": true,
|
|
638
|
-
"selections":
|
|
670
|
+
"selections": v21 /*: any*/,
|
|
639
671
|
"storageKey": null
|
|
640
|
-
}, v7 /*: any*/,
|
|
672
|
+
}, v7 /*: any*/, v24 /*: any*/],
|
|
641
673
|
"type": "Bundle",
|
|
642
674
|
"abstractKey": null
|
|
643
675
|
}, {
|
|
644
676
|
"kind": "InlineFragment",
|
|
645
|
-
"selections": [v9 /*: any*/, v7 /*: any*/, {
|
|
677
|
+
"selections": [v9 /*: any*/, v7 /*: any*/, v19 /*: any*/, v20 /*: any*/, {
|
|
646
678
|
"alias": null,
|
|
647
679
|
"args": null,
|
|
648
680
|
"concreteType": "FontCollection",
|
|
649
681
|
"kind": "LinkedField",
|
|
650
682
|
"name": "family",
|
|
651
683
|
"plural": false,
|
|
652
|
-
"selections":
|
|
684
|
+
"selections": v23 /*: any*/,
|
|
653
685
|
"storageKey": null
|
|
654
686
|
}, {
|
|
655
687
|
"alias": null,
|
|
@@ -665,7 +697,7 @@ const node = function () {
|
|
|
665
697
|
"abstractKey": null
|
|
666
698
|
}, {
|
|
667
699
|
"kind": "InlineFragment",
|
|
668
|
-
"selections": [v7 /*: any*/,
|
|
700
|
+
"selections": [v7 /*: any*/, v22 /*: any*/, v24 /*: any*/],
|
|
669
701
|
"type": "CollectionBundle",
|
|
670
702
|
"abstractKey": null
|
|
671
703
|
}, {
|
|
@@ -684,7 +716,7 @@ const node = function () {
|
|
|
684
716
|
"kind": "LinkedField",
|
|
685
717
|
"name": "licenseVariables",
|
|
686
718
|
"plural": true,
|
|
687
|
-
"selections": [v1 /*: any*/,
|
|
719
|
+
"selections": [v1 /*: any*/, v16 /*: any*/],
|
|
688
720
|
"storageKey": null
|
|
689
721
|
}],
|
|
690
722
|
"storageKey": null
|
|
@@ -725,7 +757,7 @@ const node = function () {
|
|
|
725
757
|
"kind": "LinkedField",
|
|
726
758
|
"name": "orderVariableOption",
|
|
727
759
|
"plural": false,
|
|
728
|
-
"selections":
|
|
760
|
+
"selections": v25 /*: any*/,
|
|
729
761
|
"storageKey": null
|
|
730
762
|
}, {
|
|
731
763
|
"alias": null,
|
|
@@ -735,7 +767,7 @@ const node = function () {
|
|
|
735
767
|
"storageKey": null
|
|
736
768
|
}, v1 /*: any*/, {
|
|
737
769
|
"alias": null,
|
|
738
|
-
"args":
|
|
770
|
+
"args": v13 /*: any*/,
|
|
739
771
|
"kind": "ScalarField",
|
|
740
772
|
"name": "orderVariableDescription",
|
|
741
773
|
"storageKey": "orderVariableDescription(format:\"HTML\")"
|
|
@@ -748,7 +780,7 @@ const node = function () {
|
|
|
748
780
|
"kind": "LinkedField",
|
|
749
781
|
"name": "subtotal",
|
|
750
782
|
"plural": false,
|
|
751
|
-
"selections":
|
|
783
|
+
"selections": v17 /*: any*/,
|
|
752
784
|
"storageKey": null
|
|
753
785
|
}, {
|
|
754
786
|
"alias": null,
|
|
@@ -764,7 +796,7 @@ const node = function () {
|
|
|
764
796
|
"kind": "LinkedField",
|
|
765
797
|
"name": "amount",
|
|
766
798
|
"plural": false,
|
|
767
|
-
"selections":
|
|
799
|
+
"selections": v17 /*: any*/,
|
|
768
800
|
"storageKey": null
|
|
769
801
|
}, {
|
|
770
802
|
"alias": null,
|
|
@@ -792,7 +824,7 @@ const node = function () {
|
|
|
792
824
|
"kind": "LinkedField",
|
|
793
825
|
"name": "creditAmount",
|
|
794
826
|
"plural": false,
|
|
795
|
-
"selections":
|
|
827
|
+
"selections": v17 /*: any*/,
|
|
796
828
|
"storageKey": null
|
|
797
829
|
}, {
|
|
798
830
|
"alias": null,
|
|
@@ -801,7 +833,7 @@ const node = function () {
|
|
|
801
833
|
"kind": "LinkedField",
|
|
802
834
|
"name": "creditAmountRemaining",
|
|
803
835
|
"plural": false,
|
|
804
|
-
"selections":
|
|
836
|
+
"selections": v17 /*: any*/,
|
|
805
837
|
"storageKey": null
|
|
806
838
|
}, v1 /*: any*/],
|
|
807
839
|
"storageKey": null
|
|
@@ -814,7 +846,7 @@ const node = function () {
|
|
|
814
846
|
"kind": "LinkedField",
|
|
815
847
|
"name": "discountedSubtotal",
|
|
816
848
|
"plural": false,
|
|
817
|
-
"selections":
|
|
849
|
+
"selections": v17 /*: any*/,
|
|
818
850
|
"storageKey": null
|
|
819
851
|
}, {
|
|
820
852
|
"alias": null,
|
|
@@ -823,7 +855,7 @@ const node = function () {
|
|
|
823
855
|
"kind": "LinkedField",
|
|
824
856
|
"name": "total",
|
|
825
857
|
"plural": false,
|
|
826
|
-
"selections":
|
|
858
|
+
"selections": v17 /*: any*/,
|
|
827
859
|
"storageKey": null
|
|
828
860
|
}, {
|
|
829
861
|
"alias": null,
|
|
@@ -838,7 +870,7 @@ const node = function () {
|
|
|
838
870
|
"kind": "LinkedField",
|
|
839
871
|
"name": "taxes",
|
|
840
872
|
"plural": false,
|
|
841
|
-
"selections":
|
|
873
|
+
"selections": v17 /*: any*/,
|
|
842
874
|
"storageKey": null
|
|
843
875
|
}, {
|
|
844
876
|
"alias": null,
|
|
@@ -883,7 +915,7 @@ const node = function () {
|
|
|
883
915
|
"kind": "LinkedField",
|
|
884
916
|
"name": "customer",
|
|
885
917
|
"plural": false,
|
|
886
|
-
"selections": [v7 /*: any*/,
|
|
918
|
+
"selections": [v7 /*: any*/, v26 /*: any*/, {
|
|
887
919
|
"alias": null,
|
|
888
920
|
"args": null,
|
|
889
921
|
"kind": "ScalarField",
|
|
@@ -904,7 +936,7 @@ const node = function () {
|
|
|
904
936
|
"kind": "LinkedField",
|
|
905
937
|
"name": "licenseeIdentity",
|
|
906
938
|
"plural": false,
|
|
907
|
-
"selections":
|
|
939
|
+
"selections": v28 /*: any*/,
|
|
908
940
|
"storageKey": null
|
|
909
941
|
}, {
|
|
910
942
|
"alias": null,
|
|
@@ -913,7 +945,7 @@ const node = function () {
|
|
|
913
945
|
"kind": "LinkedField",
|
|
914
946
|
"name": "billingIdentity",
|
|
915
947
|
"plural": false,
|
|
916
|
-
"selections":
|
|
948
|
+
"selections": v28 /*: any*/,
|
|
917
949
|
"storageKey": null
|
|
918
950
|
}, v6 /*: any*/],
|
|
919
951
|
"storageKey": null
|
|
@@ -926,7 +958,7 @@ const node = function () {
|
|
|
926
958
|
"plural": true,
|
|
927
959
|
"selections": [v1 /*: any*/, v7 /*: any*/, v4 /*: any*/, {
|
|
928
960
|
"alias": null,
|
|
929
|
-
"args": [
|
|
961
|
+
"args": [v12 /*: any*/, {
|
|
930
962
|
"kind": "Literal",
|
|
931
963
|
"name": "orderVariables",
|
|
932
964
|
"value": []
|
|
@@ -941,7 +973,7 @@ const node = function () {
|
|
|
941
973
|
"kind": "LinkedField",
|
|
942
974
|
"name": "orderVariableOptions",
|
|
943
975
|
"plural": true,
|
|
944
|
-
"selections":
|
|
976
|
+
"selections": v25 /*: any*/,
|
|
945
977
|
"storageKey": null
|
|
946
978
|
}],
|
|
947
979
|
"storageKey": null
|
|
@@ -960,7 +992,7 @@ const node = function () {
|
|
|
960
992
|
"storageKey": null
|
|
961
993
|
}, v7 /*: any*/],
|
|
962
994
|
"storageKey": null
|
|
963
|
-
},
|
|
995
|
+
}, v27 /*: any*/, {
|
|
964
996
|
"alias": null,
|
|
965
997
|
"args": null,
|
|
966
998
|
"kind": "ScalarField",
|
|
@@ -971,12 +1003,12 @@ const node = function () {
|
|
|
971
1003
|
}]
|
|
972
1004
|
},
|
|
973
1005
|
"params": {
|
|
974
|
-
"cacheID": "
|
|
1006
|
+
"cacheID": "4ff744add22c8127281b65b30517491b",
|
|
975
1007
|
"id": null,
|
|
976
1008
|
"metadata": {},
|
|
977
1009
|
"name": "StoreModalCartQuery",
|
|
978
1010
|
"operationKind": "query",
|
|
979
|
-
"text": "query StoreModalCartQuery {\n viewer {\n ...StripeProvider_viewer\n ...OrderVariableSelection_variables\n ...StoreModalOrderVariableSelection_viewer\n ...StoreModalUnifiedCheckout_viewer\n settings {\n taxSystem\n }\n currentOrder {\n ...CartState_order\n ...CartTotals_order\n ...StoreModalUnifiedCheckout_order\n ...StoreModalOrderVariableSelection_order\n id\n total {\n amount\n }\n orderVariableSelections {\n id\n }\n orderItems {\n id\n ...CartItem_node\n licenseSelections {\n licenseVariable {\n variableType\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n stripePaymentMethod {\n id\n }\n billingIdentity {\n name\n }\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n settings {\n checkoutAddressCollection\n checkoutPhoneNumberCollection\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n
|
|
1011
|
+
"text": "query StoreModalCartQuery {\n viewer {\n ...StripeProvider_viewer\n ...OrderVariableSelection_variables\n ...StoreModalOrderVariableSelection_viewer\n ...StoreModalUnifiedCheckout_viewer\n settings {\n taxSystem\n }\n currentOrder {\n ...CartState_order\n ...CartTotals_order\n ...StoreModalUnifiedCheckout_order\n ...StoreModalOrderVariableSelection_order\n id\n total {\n amount\n }\n orderVariableSelections {\n id\n }\n orderItems {\n id\n ...CartItem_node\n licenseSelections {\n licenseVariable {\n variableType\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n stripePaymentMethod {\n id\n }\n billingIdentity {\n name\n }\n }\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n settings {\n checkoutAddressCollection\n checkoutPhoneNumberCollection\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\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 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 taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelection_variables on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: [])\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalOrderVariableSelection_order on Order {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n }\n orderVariableDescription(format: HTML)\n orderVariableOption {\n id\n amount\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalOrderVariableSelection_viewer on Viewer {\n ...OrderVariableSelection_variables\n orderVariables {\n id\n }\n settings {\n storeModalSelectOrderVariablesLabel(format: HTML)\n }\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n clientSecret\n amount\n currency\n }\n orderVariableSelections {\n orderVariable {\n id\n variableType\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment StoreModalUnifiedCheckout_viewer on Viewer {\n ...AddressFields_viewer\n country\n detectedCountry\n settings {\n uiFontName\n eulaAgreementLabel(format: HTML)\n storeModalSelectLicenseeLabel(format: HTML)\n newsletterOptInLabel(format: HTML)\n taxSystem\n recaptchaEnabled\n recaptchaSiteKey\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n taxSystem\n uiFontStyle {\n name\n cssFamily\n webfontSources {\n format\n url\n }\n id\n }\n }\n themeConfig {\n customProperties\n }\n stripeAccountId\n stripePublishableKey\n currentOrder {\n stripeAccountId\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n }\n}\n"
|
|
980
1012
|
}
|
|
981
1013
|
};
|
|
982
1014
|
}();
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<f5cde7590d740896f6834a203b745211>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
6
6
|
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
7
8
|
export type StoreModalContainerQuery$variables = Record<PropertyKey, never>;
|
|
8
9
|
export type StoreModalContainerQuery$data = {
|
|
9
10
|
readonly viewer: {
|
|
@@ -15,17 +16,13 @@ export type StoreModalContainerQuery$data = {
|
|
|
15
16
|
readonly settings: {
|
|
16
17
|
readonly uiFontStyle: {
|
|
17
18
|
readonly cssFamily: string | null;
|
|
18
|
-
readonly family: {
|
|
19
|
-
readonly cssUrl: string | null;
|
|
20
|
-
} | null;
|
|
21
19
|
readonly name: string;
|
|
20
|
+
readonly " $fragmentSpreads": FragmentRefs<"useFontStyle_fontStyle">;
|
|
22
21
|
} | null;
|
|
23
22
|
readonly uiFontStyleBold: {
|
|
24
23
|
readonly cssFamily: string | null;
|
|
25
|
-
readonly family: {
|
|
26
|
-
readonly cssUrl: string | null;
|
|
27
|
-
} | null;
|
|
28
24
|
readonly name: string;
|
|
25
|
+
readonly " $fragmentSpreads": FragmentRefs<"useFontStyle_fontStyle">;
|
|
29
26
|
} | null;
|
|
30
27
|
} | null;
|
|
31
28
|
};
|