fontdue-js 3.5.1 → 3.7.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 (151) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +2 -0
  3. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +3 -1
  4. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +1 -1
  5. package/dist/__generated__/CustomerSignInRequestLoginCodeMutation.graphql.d.ts +24 -0
  6. package/dist/__generated__/CustomerSignInRequestLoginCodeMutation.graphql.js +71 -0
  7. package/dist/__generated__/CustomerSignInVerifyLoginCodeMutation.graphql.d.ts +30 -0
  8. package/dist/__generated__/CustomerSignInVerifyLoginCodeMutation.graphql.js +98 -0
  9. package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +4 -1
  10. package/dist/__generated__/FontFamiliesQuery.graphql.js +46 -39
  11. package/dist/__generated__/NewsletterSignupUpdateCustomerMutation.graphql.d.ts +3 -1
  12. package/dist/__generated__/NewsletterSignupUpdateCustomerMutation.graphql.js +1 -1
  13. package/dist/__generated__/PriceBar_node.graphql.d.ts +4 -1
  14. package/dist/__generated__/PriceBar_node.graphql.js +23 -16
  15. package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +3 -2
  16. package/dist/__generated__/StoreModalFamily_collection.graphql.js +3 -3
  17. package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.d.ts +23 -0
  18. package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.js +303 -0
  19. package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +4 -9
  20. package/dist/__generated__/StoreModalIndexQuery.graphql.js +90 -53
  21. package/dist/__generated__/StoreModalIndex_viewer.graphql.d.ts +24 -0
  22. package/dist/__generated__/StoreModalIndex_viewer.graphql.js +134 -0
  23. package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +4 -1
  24. package/dist/__generated__/StoreModalProductContent_collection.graphql.js +12 -5
  25. package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.d.ts +2 -1
  26. package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.js +27 -24
  27. package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +2 -19
  28. package/dist/__generated__/StoreModalProductQuery.graphql.js +143 -174
  29. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
  30. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +54 -53
  31. package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +38 -0
  32. package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +750 -0
  33. package/dist/__generated__/StoreModalProductViewer.graphql.d.ts +34 -0
  34. package/dist/__generated__/StoreModalProductViewer.graphql.js +149 -0
  35. package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +3 -1
  36. package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +1 -1
  37. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +3 -1
  38. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +1 -1
  39. package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
  40. package/dist/__generated__/TypeTestersIDQuery.graphql.js +17 -10
  41. package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +1 -1
  42. package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +17 -10
  43. package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
  44. package/dist/__generated__/TypeTestersSlugQuery.graphql.js +17 -10
  45. package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.d.ts +41 -0
  46. package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.js +65 -0
  47. package/dist/__generated__/useCurrentCustomerQuery.graphql.d.ts +23 -0
  48. package/dist/__generated__/{ServerConfigProviderQuery.graphql.js → useCurrentCustomerQuery.graphql.js} +24 -39
  49. package/dist/__tests__/bundleSelectionOrder.test.js +92 -0
  50. package/dist/__tests__/collectionBundleSelection.test.js +441 -1446
  51. package/dist/__tests__/customerSession.test.js +456 -0
  52. package/dist/__tests__/infiniteScroll.test.js +180 -0
  53. package/dist/__tests__/licenseExclusions.test.js +2 -1
  54. package/dist/__tests__/storeModalRoutes.test.js +118 -0
  55. package/dist/__tests__/storefrontEvents.test.js +167 -0
  56. package/dist/__tests__/stripeElements.test.js +173 -0
  57. package/dist/__tests__/typeTesterAutofitFeatures.test.js +138 -0
  58. package/dist/__tests__/typeTesterInitialSize.test.js +82 -0
  59. package/dist/__tests__/typeTesterTruncate.test.js +218 -0
  60. package/dist/auth/session.d.ts +42 -0
  61. package/dist/auth/session.js +139 -0
  62. package/dist/auth/tokenStore.d.ts +61 -0
  63. package/dist/auth/tokenStore.js +162 -0
  64. package/dist/components/Cart/Checkout.js +19 -9
  65. package/dist/components/Cart/storefrontEvents.d.ts +34 -0
  66. package/dist/components/Cart/storefrontEvents.js +138 -0
  67. package/dist/components/ConfigContext.d.ts +2 -2
  68. package/dist/components/CustomerSignIn/index.d.ts +33 -0
  69. package/dist/components/CustomerSignIn/index.js +170 -0
  70. package/dist/components/FontFamilies/index.js +4 -3
  71. package/dist/components/NewsletterSignup/index.js +5 -1
  72. package/dist/components/Precart/index.js +6 -0
  73. package/dist/components/PriceBar/index.js +5 -3
  74. package/dist/components/Root/index.js +4 -34
  75. package/dist/components/Root/productState.d.ts +2 -8
  76. package/dist/components/Root/productState.js +46 -57
  77. package/dist/components/SKUPrice/index.js +7 -8
  78. package/dist/components/StoreModal/StoreModalFamily.js +4 -2
  79. package/dist/components/StoreModal/StoreModalIndex.js +48 -7
  80. package/dist/components/StoreModal/StoreModalProduct.d.ts +5 -1
  81. package/dist/components/StoreModal/StoreModalProduct.js +69 -16
  82. package/dist/components/StoreModal/index.js +14 -14
  83. package/dist/components/StoreModal/routes.js +9 -1
  84. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.d.ts +2 -1
  85. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +8 -3
  86. package/dist/components/StoreModalProductLicenseSelection/index.js +3 -2
  87. package/dist/components/TestFontsForm/index.js +5 -1
  88. package/dist/components/TypeTester/TypeTesterContent.js +9 -2
  89. package/dist/components/TypeTester/TypeTesterContext.js +17 -4
  90. package/dist/components/TypeTester/TypeTesterFitter.js +7 -2
  91. package/dist/components/TypeTester/TypeTesterStandalone.d.ts +2 -0
  92. package/dist/components/TypeTester/TypeTesterStandalone.js +2 -0
  93. package/dist/components/TypeTester/TypeTesterStandaloneElement.d.ts +1 -0
  94. package/dist/components/TypeTester/TypeTesterStandaloneElement.js +4 -1
  95. package/dist/components/TypeTester/TypeTesterVariableAxes.js +16 -10
  96. package/dist/components/TypeTester/index.d.ts +3 -1
  97. package/dist/components/TypeTester/index.js +2 -1
  98. package/dist/components/TypeTester/truncate.d.ts +12 -0
  99. package/dist/components/TypeTester/truncate.js +95 -0
  100. package/dist/components/TypeTester/useTypeTesterStyler.d.ts +3 -1
  101. package/dist/components/TypeTester/useTypeTesterStyler.js +36 -7
  102. package/dist/components/TypeTesters/TypeTestersElement.d.ts +2 -1
  103. package/dist/components/TypeTesters/TypeTestersElement.js +4 -1
  104. package/dist/components/TypeTesters/index.d.ts +2 -0
  105. package/dist/components/elements/StoreModalContainer/StoreModalContainerContext.d.ts +1 -0
  106. package/dist/components/elements/StoreModalContainer/index.js +9 -4
  107. package/dist/components/elements/StoreModalIndexLoadMore/index.d.ts +8 -0
  108. package/dist/components/elements/StoreModalIndexLoadMore/index.js +21 -0
  109. package/dist/components/elements/StoreModalUnifiedCheckout.d.ts +1 -1
  110. package/dist/components/elements/StoreModalUnifiedCheckout.js +20 -17
  111. package/dist/components/useInfiniteScroll.d.ts +28 -0
  112. package/dist/components/useInfiniteScroll.js +50 -0
  113. package/dist/fontdue.css +63 -0
  114. package/dist/hooks/useAutofit.d.ts +2 -1
  115. package/dist/hooks/useAutofit.js +10 -4
  116. package/dist/hooks/useCurrentCustomer.d.ts +34 -0
  117. package/dist/hooks/useCurrentCustomer.js +93 -0
  118. package/dist/reducer.d.ts +5 -5
  119. package/dist/reducer.js +9 -87
  120. package/dist/relay/environment.js +91 -50
  121. package/dist/selection.d.ts +40 -0
  122. package/dist/selection.js +494 -0
  123. package/dist/storeModalRoutes.d.ts +38 -0
  124. package/dist/storeModalRoutes.js +110 -0
  125. package/dist/stripeElements.d.ts +18 -0
  126. package/dist/stripeElements.js +49 -0
  127. package/dist/utils.d.ts +1 -12
  128. package/dist/utils.js +1 -36
  129. package/dist/version.js +1 -1
  130. package/package.json +1 -1
  131. package/dist/__generated__/NodePasswordFormIDQuery.graphql.d.ts +0 -21
  132. package/dist/__generated__/NodePasswordFormIDQuery.graphql.js +0 -86
  133. package/dist/__generated__/NodePasswordFormSlugQuery.graphql.d.ts +0 -25
  134. package/dist/__generated__/NodePasswordFormSlugQuery.graphql.js +0 -108
  135. package/dist/__generated__/ServerConfigProviderQuery.graphql.d.ts +0 -24
  136. package/dist/__generated__/TestModeBannerQuery.graphql.d.ts +0 -20
  137. package/dist/__generated__/TestModeBannerQuery.graphql.js +0 -87
  138. package/dist/__generated__/ThemeConfigQuery.graphql.d.ts +0 -20
  139. package/dist/__generated__/ThemeConfigQuery.graphql.js +0 -87
  140. package/dist/components/CartButton/index.server.d.ts +0 -3
  141. package/dist/components/CartButton/index.server.js +0 -18
  142. package/dist/components/CorsErrorModal.d.ts +0 -1
  143. package/dist/components/CorsErrorModal.js +0 -92
  144. package/dist/components/FontdueProvider/FontdueProviderClientComponent.d.ts +0 -14
  145. package/dist/components/FontdueProvider/FontdueProviderClientComponent.js +0 -61
  146. package/dist/components/ThemeConfig/index.server.d.ts +0 -2
  147. package/dist/components/ThemeConfig/index.server.js +0 -17
  148. package/dist/components/TypeTester/features.d.ts +0 -5
  149. package/dist/components/TypeTester/features.js +0 -143
  150. package/dist/data/unicodeData.d.ts +0 -4
  151. package/dist/data/unicodeData.js +0 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<e0726ac26dd5d893a95e0b444f8805ab>>
2
+ * @generated SignedSource<<89e2f92178d415c422dec3ee20d52fa7>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -9,46 +9,61 @@
9
9
  // @ts-nocheck
10
10
 
11
11
  const node = function () {
12
- var v0 = [{
12
+ var v0 = {
13
+ "defaultValue": 25,
14
+ "kind": "LocalArgument",
15
+ "name": "count"
16
+ },
17
+ v1 = {
18
+ "defaultValue": null,
19
+ "kind": "LocalArgument",
20
+ "name": "cursor"
21
+ },
22
+ v2 = {
13
23
  "defaultValue": null,
14
24
  "kind": "LocalArgument",
15
25
  "name": "excludeTags"
16
- }],
17
- v1 = [{
26
+ },
27
+ v3 = {
18
28
  "kind": "Variable",
19
29
  "name": "excludeTags",
20
30
  "variableName": "excludeTags"
21
- }, {
22
- "kind": "Literal",
31
+ },
32
+ v4 = [{
33
+ "kind": "Variable",
34
+ "name": "after",
35
+ "variableName": "cursor"
36
+ }, v3 /*: any*/, {
37
+ "kind": "Variable",
23
38
  "name": "first",
24
- "value": 9999
39
+ "variableName": "count"
25
40
  }, {
26
41
  "kind": "Literal",
27
42
  "name": "onlyRoots",
28
43
  "value": true
29
44
  }],
30
- v2 = {
45
+ v5 = {
31
46
  "alias": null,
32
47
  "args": null,
33
48
  "kind": "ScalarField",
34
49
  "name": "id",
35
50
  "storageKey": null
36
51
  },
37
- v3 = {
52
+ v6 = {
38
53
  "alias": null,
39
54
  "args": null,
40
55
  "kind": "ScalarField",
41
56
  "name": "isVariableFont",
42
57
  "storageKey": null
43
58
  },
44
- v4 = {
59
+ v7 = {
45
60
  "alias": null,
46
61
  "args": null,
47
62
  "kind": "ScalarField",
48
63
  "name": "totalStyles",
49
64
  "storageKey": null
50
65
  },
51
- v5 = {
66
+ v8 = {
52
67
  "alias": null,
53
68
  "args": null,
54
69
  "kind": "ScalarField",
@@ -57,7 +72,7 @@ const node = function () {
57
72
  };
58
73
  return {
59
74
  "fragment": {
60
- "argumentDefinitions": v0 /*: any*/,
75
+ "argumentDefinitions": [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/],
61
76
  "kind": "Fragment",
62
77
  "metadata": null,
63
78
  "name": "StoreModalIndexQuery",
@@ -69,36 +84,17 @@ const node = function () {
69
84
  "name": "viewer",
70
85
  "plural": false,
71
86
  "selections": [{
72
- "alias": "rootCollections",
73
- "args": v1 /*: any*/,
74
- "concreteType": "FontCollectionConnection",
75
- "kind": "LinkedField",
76
- "name": "fontCollections",
77
- "plural": false,
78
- "selections": [{
79
- "alias": null,
80
- "args": null,
81
- "concreteType": "FontCollectionEdge",
82
- "kind": "LinkedField",
83
- "name": "edges",
84
- "plural": true,
85
- "selections": [{
86
- "alias": null,
87
- "args": null,
88
- "concreteType": "FontCollection",
89
- "kind": "LinkedField",
90
- "name": "node",
91
- "plural": false,
92
- "selections": [v2 /*: any*/, {
93
- "args": null,
94
- "kind": "FragmentSpread",
95
- "name": "StoreModalIndexItem_fontCollection"
96
- }],
97
- "storageKey": null
98
- }],
99
- "storageKey": null
100
- }],
101
- "storageKey": null
87
+ "args": [{
88
+ "kind": "Variable",
89
+ "name": "count",
90
+ "variableName": "count"
91
+ }, {
92
+ "kind": "Variable",
93
+ "name": "cursor",
94
+ "variableName": "cursor"
95
+ }, v3 /*: any*/],
96
+ "kind": "FragmentSpread",
97
+ "name": "StoreModalIndex_viewer"
102
98
  }],
103
99
  "storageKey": null
104
100
  }],
@@ -107,7 +103,7 @@ const node = function () {
107
103
  },
108
104
  "kind": "Request",
109
105
  "operation": {
110
- "argumentDefinitions": v0 /*: any*/,
106
+ "argumentDefinitions": [v2 /*: any*/, v0 /*: any*/, v1 /*: any*/],
111
107
  "kind": "Operation",
112
108
  "name": "StoreModalIndexQuery",
113
109
  "selections": [{
@@ -119,7 +115,7 @@ const node = function () {
119
115
  "plural": false,
120
116
  "selections": [{
121
117
  "alias": "rootCollections",
122
- "args": v1 /*: any*/,
118
+ "args": v4 /*: any*/,
123
119
  "concreteType": "FontCollectionConnection",
124
120
  "kind": "LinkedField",
125
121
  "name": "fontCollections",
@@ -138,7 +134,7 @@ const node = function () {
138
134
  "kind": "LinkedField",
139
135
  "name": "node",
140
136
  "plural": false,
141
- "selections": [v2 /*: any*/, v3 /*: any*/, v4 /*: any*/, {
137
+ "selections": [v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, {
142
138
  "alias": null,
143
139
  "args": [{
144
140
  "kind": "Literal",
@@ -149,9 +145,9 @@ const node = function () {
149
145
  "kind": "LinkedField",
150
146
  "name": "children",
151
147
  "plural": true,
152
- "selections": [v3 /*: any*/, v4 /*: any*/, v2 /*: any*/],
148
+ "selections": [v6 /*: any*/, v7 /*: any*/, v5 /*: any*/],
153
149
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
154
- }, v5 /*: any*/, {
150
+ }, v8 /*: any*/, {
155
151
  "alias": null,
156
152
  "args": null,
157
153
  "kind": "ScalarField",
@@ -170,7 +166,7 @@ const node = function () {
170
166
  "kind": "ScalarField",
171
167
  "name": "cssFamily",
172
168
  "storageKey": null
173
- }, v5 /*: any*/, {
169
+ }, v8 /*: any*/, {
174
170
  "alias": null,
175
171
  "args": null,
176
172
  "concreteType": "WebfontSource",
@@ -242,27 +238,68 @@ const node = function () {
242
238
  "kind": "ScalarField",
243
239
  "name": "supportedLanguages",
244
240
  "storageKey": null
245
- }, v2 /*: any*/],
241
+ }, v5 /*: any*/],
242
+ "storageKey": null
243
+ }, {
244
+ "alias": null,
245
+ "args": null,
246
+ "kind": "ScalarField",
247
+ "name": "__typename",
246
248
  "storageKey": null
247
249
  }],
248
250
  "storageKey": null
251
+ }, {
252
+ "alias": null,
253
+ "args": null,
254
+ "kind": "ScalarField",
255
+ "name": "cursor",
256
+ "storageKey": null
257
+ }],
258
+ "storageKey": null
259
+ }, {
260
+ "alias": null,
261
+ "args": null,
262
+ "concreteType": "PageInfo",
263
+ "kind": "LinkedField",
264
+ "name": "pageInfo",
265
+ "plural": false,
266
+ "selections": [{
267
+ "alias": null,
268
+ "args": null,
269
+ "kind": "ScalarField",
270
+ "name": "endCursor",
271
+ "storageKey": null
272
+ }, {
273
+ "alias": null,
274
+ "args": null,
275
+ "kind": "ScalarField",
276
+ "name": "hasNextPage",
277
+ "storageKey": null
249
278
  }],
250
279
  "storageKey": null
251
280
  }],
252
281
  "storageKey": null
253
- }, v2 /*: any*/],
282
+ }, {
283
+ "alias": "rootCollections",
284
+ "args": v4 /*: any*/,
285
+ "filters": ["onlyRoots", "excludeTags"],
286
+ "handle": "connection",
287
+ "key": "StoreModalIndex_rootCollections",
288
+ "kind": "LinkedHandle",
289
+ "name": "fontCollections"
290
+ }, v5 /*: any*/],
254
291
  "storageKey": null
255
292
  }]
256
293
  },
257
294
  "params": {
258
- "cacheID": "46b9812009aa51c4bb34e86d496850ea",
295
+ "cacheID": "df11edab134861f178bb71a22f10abfa",
259
296
  "id": null,
260
297
  "metadata": {},
261
298
  "name": "StoreModalIndexQuery",
262
299
  "operationKind": "query",
263
- "text": "query StoreModalIndexQuery(\n $excludeTags: [String!]\n) {\n viewer {\n rootCollections: fontCollections(onlyRoots: true, first: 9999, excludeTags: $excludeTags) {\n edges {\n node {\n id\n ...StoreModalIndexItem_fontCollection\n }\n }\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment StoreModalIndexItem_fontCollection on FontCollection {\n ...useTotalStyles_fontCollection\n id\n name\n totalStyles\n isVariableFont\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n collectionType\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
300
+ "text": "query StoreModalIndexQuery(\n $excludeTags: [String!]\n $count: Int = 25\n $cursor: String\n) {\n viewer {\n ...StoreModalIndex_viewer_3217ho\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment StoreModalIndexItem_fontCollection on FontCollection {\n ...useTotalStyles_fontCollection\n id\n name\n totalStyles\n isVariableFont\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n collectionType\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n}\n\nfragment StoreModalIndex_viewer_3217ho on Viewer {\n rootCollections: fontCollections(onlyRoots: true, first: $count, after: $cursor, excludeTags: $excludeTags) {\n edges {\n node {\n id\n ...StoreModalIndexItem_fontCollection\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
264
301
  }
265
302
  };
266
303
  }();
267
- node.hash = "099c77808b41054885365ebe3eda03c8";
304
+ node.hash = "125a10155b690929f0eae6e9e6c7188c";
268
305
  export default node;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @generated SignedSource<<3a7fa9769ddfb556a8d9877acbd1e47f>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ReaderFragment } from 'relay-runtime';
7
+ import { FragmentRefs } from "relay-runtime";
8
+ export type StoreModalIndex_viewer$data = {
9
+ readonly rootCollections: {
10
+ readonly edges: ReadonlyArray<{
11
+ readonly node: {
12
+ readonly id: string;
13
+ readonly " $fragmentSpreads": FragmentRefs<"StoreModalIndexItem_fontCollection">;
14
+ } | null;
15
+ } | null> | null;
16
+ } | null;
17
+ readonly " $fragmentType": "StoreModalIndex_viewer";
18
+ };
19
+ export type StoreModalIndex_viewer$key = {
20
+ readonly " $data"?: StoreModalIndex_viewer$data;
21
+ readonly " $fragmentSpreads": FragmentRefs<"StoreModalIndex_viewer">;
22
+ };
23
+ declare const node: ReaderFragment;
24
+ export default node;
@@ -0,0 +1,134 @@
1
+ /**
2
+ * @generated SignedSource<<3a7fa9769ddfb556a8d9877acbd1e47f>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+
7
+ /* tslint:disable */
8
+ /* eslint-disable */
9
+ // @ts-nocheck
10
+
11
+ import StoreModalIndexPaginationQuery_graphql from "./StoreModalIndexPaginationQuery.graphql.js";
12
+ const node = function () {
13
+ var v0 = ["rootCollections"];
14
+ return {
15
+ "argumentDefinitions": [{
16
+ "defaultValue": 25,
17
+ "kind": "LocalArgument",
18
+ "name": "count"
19
+ }, {
20
+ "defaultValue": null,
21
+ "kind": "LocalArgument",
22
+ "name": "cursor"
23
+ }, {
24
+ "defaultValue": null,
25
+ "kind": "LocalArgument",
26
+ "name": "excludeTags"
27
+ }],
28
+ "kind": "Fragment",
29
+ "metadata": {
30
+ "connection": [{
31
+ "count": "count",
32
+ "cursor": "cursor",
33
+ "direction": "forward",
34
+ "path": v0 /*: any*/
35
+ }],
36
+ "refetch": {
37
+ "connection": {
38
+ "forward": {
39
+ "count": "count",
40
+ "cursor": "cursor"
41
+ },
42
+ "backward": null,
43
+ "path": v0 /*: any*/
44
+ },
45
+ "fragmentPathInResult": ["viewer"],
46
+ "operation": StoreModalIndexPaginationQuery_graphql
47
+ }
48
+ },
49
+ "name": "StoreModalIndex_viewer",
50
+ "selections": [{
51
+ "alias": "rootCollections",
52
+ "args": [{
53
+ "kind": "Variable",
54
+ "name": "excludeTags",
55
+ "variableName": "excludeTags"
56
+ }, {
57
+ "kind": "Literal",
58
+ "name": "onlyRoots",
59
+ "value": true
60
+ }],
61
+ "concreteType": "FontCollectionConnection",
62
+ "kind": "LinkedField",
63
+ "name": "__StoreModalIndex_rootCollections_connection",
64
+ "plural": false,
65
+ "selections": [{
66
+ "alias": null,
67
+ "args": null,
68
+ "concreteType": "FontCollectionEdge",
69
+ "kind": "LinkedField",
70
+ "name": "edges",
71
+ "plural": true,
72
+ "selections": [{
73
+ "alias": null,
74
+ "args": null,
75
+ "concreteType": "FontCollection",
76
+ "kind": "LinkedField",
77
+ "name": "node",
78
+ "plural": false,
79
+ "selections": [{
80
+ "alias": null,
81
+ "args": null,
82
+ "kind": "ScalarField",
83
+ "name": "id",
84
+ "storageKey": null
85
+ }, {
86
+ "args": null,
87
+ "kind": "FragmentSpread",
88
+ "name": "StoreModalIndexItem_fontCollection"
89
+ }, {
90
+ "alias": null,
91
+ "args": null,
92
+ "kind": "ScalarField",
93
+ "name": "__typename",
94
+ "storageKey": null
95
+ }],
96
+ "storageKey": null
97
+ }, {
98
+ "alias": null,
99
+ "args": null,
100
+ "kind": "ScalarField",
101
+ "name": "cursor",
102
+ "storageKey": null
103
+ }],
104
+ "storageKey": null
105
+ }, {
106
+ "alias": null,
107
+ "args": null,
108
+ "concreteType": "PageInfo",
109
+ "kind": "LinkedField",
110
+ "name": "pageInfo",
111
+ "plural": false,
112
+ "selections": [{
113
+ "alias": null,
114
+ "args": null,
115
+ "kind": "ScalarField",
116
+ "name": "endCursor",
117
+ "storageKey": null
118
+ }, {
119
+ "alias": null,
120
+ "args": null,
121
+ "kind": "ScalarField",
122
+ "name": "hasNextPage",
123
+ "storageKey": null
124
+ }],
125
+ "storageKey": null
126
+ }],
127
+ "storageKey": null
128
+ }],
129
+ "type": "Viewer",
130
+ "abstractKey": null
131
+ };
132
+ }();
133
+ node.hash = "f4bd120deb8eea66de4257529cbb022e";
134
+ export default node;
@@ -1,16 +1,19 @@
1
1
  /**
2
- * @generated SignedSource<<52604834b134f2a18a4c4a3ef9c8b79c>>
2
+ * @generated SignedSource<<282d694ace864c2941dc097bf86f015c>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
6
6
  import { ReaderFragment } from 'relay-runtime';
7
+ export type Visibility = "HIDDEN" | "UNLISTED" | "VISIBLE" | "%future added value";
7
8
  import { FragmentRefs } from "relay-runtime";
8
9
  export type StoreModalProductContent_collection$data = {
9
10
  readonly children?: ReadonlyArray<{
10
11
  readonly id: string;
12
+ readonly visibility: Visibility;
11
13
  readonly " $fragmentSpreads": FragmentRefs<"StoreModalFamily_collection">;
12
14
  }> | null;
13
15
  readonly id: string;
16
+ readonly visibility?: Visibility;
14
17
  readonly " $fragmentSpreads": FragmentRefs<"StoreModalFamily_collection" | "StoreModalProductLicenseSelection_collection">;
15
18
  readonly " $fragmentType": "StoreModalProductContent_collection";
16
19
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<52604834b134f2a18a4c4a3ef9c8b79c>>
2
+ * @generated SignedSource<<282d694ace864c2941dc097bf86f015c>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -18,6 +18,13 @@ const node = function () {
18
18
  "storageKey": null
19
19
  },
20
20
  v1 = {
21
+ "alias": null,
22
+ "args": null,
23
+ "kind": "ScalarField",
24
+ "name": "visibility",
25
+ "storageKey": null
26
+ },
27
+ v2 = {
21
28
  "args": [{
22
29
  "kind": "Variable",
23
30
  "name": "licenseOptions",
@@ -55,7 +62,7 @@ const node = function () {
55
62
  "name": "StoreModalProductContent_collection",
56
63
  "selections": [v0 /*: any*/, {
57
64
  "kind": "InlineFragment",
58
- "selections": [{
65
+ "selections": [v1 /*: any*/, {
59
66
  "alias": null,
60
67
  "args": [{
61
68
  "kind": "Literal",
@@ -66,9 +73,9 @@ const node = function () {
66
73
  "kind": "LinkedField",
67
74
  "name": "children",
68
75
  "plural": true,
69
- "selections": [v0 /*: any*/, v1 /*: any*/],
76
+ "selections": [v0 /*: any*/, v1 /*: any*/, v2 /*: any*/],
70
77
  "storageKey": "children(collectionTypes:[\"FAMILY\"])"
71
- }, v1 /*: any*/, {
78
+ }, v2 /*: any*/, {
72
79
  "args": null,
73
80
  "kind": "FragmentSpread",
74
81
  "name": "StoreModalProductLicenseSelection_collection"
@@ -80,5 +87,5 @@ const node = function () {
80
87
  "abstractKey": "__isNode"
81
88
  };
82
89
  }();
83
- node.hash = "0684ec2633ccc5d4d0866e7780df28cc";
90
+ node.hash = "f7a9e591b5e1596f4d518fc5d9d46e91";
84
91
  export default node;
@@ -1,11 +1,12 @@
1
1
  /**
2
- * @generated SignedSource<<1a7d2afa343cec1a24be53c9012e2050>>
2
+ * @generated SignedSource<<608d0d717bb05ab7f819f61827e75a17>>
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 StoreModalProductLicenseSelection_collection$data = {
9
+ readonly id: string;
9
10
  readonly licenses: ReadonlyArray<{
10
11
  readonly id: string;
11
12
  readonly " $fragmentSpreads": FragmentRefs<"StoreModalProductLicense_license">;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<1a7d2afa343cec1a24be53c9012e2050>>
2
+ * @generated SignedSource<<608d0d717bb05ab7f819f61827e75a17>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -8,33 +8,36 @@
8
8
  /* eslint-disable */
9
9
  // @ts-nocheck
10
10
 
11
- const node = {
12
- "argumentDefinitions": [],
13
- "kind": "Fragment",
14
- "metadata": null,
15
- "name": "StoreModalProductLicenseSelection_collection",
16
- "selections": [{
11
+ const node = function () {
12
+ var v0 = {
17
13
  "alias": null,
18
14
  "args": null,
19
- "concreteType": "License",
20
- "kind": "LinkedField",
21
- "name": "licenses",
22
- "plural": true,
23
- "selections": [{
15
+ "kind": "ScalarField",
16
+ "name": "id",
17
+ "storageKey": null
18
+ };
19
+ return {
20
+ "argumentDefinitions": [],
21
+ "kind": "Fragment",
22
+ "metadata": null,
23
+ "name": "StoreModalProductLicenseSelection_collection",
24
+ "selections": [v0 /*: any*/, {
24
25
  "alias": null,
25
26
  "args": null,
26
- "kind": "ScalarField",
27
- "name": "id",
27
+ "concreteType": "License",
28
+ "kind": "LinkedField",
29
+ "name": "licenses",
30
+ "plural": true,
31
+ "selections": [v0 /*: any*/, {
32
+ "args": null,
33
+ "kind": "FragmentSpread",
34
+ "name": "StoreModalProductLicense_license"
35
+ }],
28
36
  "storageKey": null
29
- }, {
30
- "args": null,
31
- "kind": "FragmentSpread",
32
- "name": "StoreModalProductLicense_license"
33
37
  }],
34
- "storageKey": null
35
- }],
36
- "type": "FontCollection",
37
- "abstractKey": null
38
- };
39
- node.hash = "2767ff3f8ddb4354051074bc3d0312e6";
38
+ "type": "FontCollection",
39
+ "abstractKey": null
40
+ };
41
+ }();
42
+ node.hash = "c3609e849ae8057e71542d32716f3ddc";
40
43
  export default node;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<db43775f42a00f80628d4a620a51cedc>>
2
+ * @generated SignedSource<<8a2e025b087794002dfd85f1cf562386>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -25,24 +25,7 @@ export type StoreModalProductQuery$data = {
25
25
  readonly " $fragmentSpreads": FragmentRefs<"StoreModalProductContent_collection">;
26
26
  } | null;
27
27
  readonly viewer: {
28
- readonly endpoint: string | null;
29
- readonly orderVariables: ReadonlyArray<{
30
- readonly id: string;
31
- readonly name: string;
32
- readonly variableType: string;
33
- }> | null;
34
- readonly settings: {
35
- readonly storeModalLicenseeClientDescription: string | null;
36
- readonly storeModalLicenseeClientLabel: string | null;
37
- readonly storeModalLicenseeSelfDescription: string | null;
38
- readonly storeModalLicenseeSelfLabel: string | null;
39
- readonly storeModalSelectFontsLabel: string | null;
40
- readonly storeModalSelectLicenseeLabel: string | null;
41
- readonly storeModalSelectLicensesLabel: string | null;
42
- readonly storeModalSelectOrderVariablesLabel: string | null;
43
- } | null;
44
- readonly stripeAccountId: string | null;
45
- readonly " $fragmentSpreads": FragmentRefs<"OrderVariableSelectionRedux_viewer" | "StoreModalProductSummary_viewer">;
28
+ readonly " $fragmentSpreads": FragmentRefs<"StoreModalProductViewer">;
46
29
  };
47
30
  };
48
31
  export type StoreModalProductQuery = {