fontdue-js 2.0.0-alpha1 → 2.0.0-alpha10

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 (175) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +9 -24
  3. package/dist/__generated__/CharacterViewerIDQuery.graphql.d.ts +21 -0
  4. package/dist/__generated__/CharacterViewerIDQuery.graphql.js +230 -0
  5. package/dist/__generated__/CharacterViewerSlugQuery.graphql.d.ts +25 -0
  6. package/dist/__generated__/CharacterViewerSlugQuery.graphql.js +257 -0
  7. package/dist/__generated__/NewsletterSignupQuery.graphql.d.ts +21 -0
  8. package/dist/__generated__/NewsletterSignupQuery.graphql.js +99 -0
  9. package/dist/__generated__/TypeTesterFeaturesButton_fontStyle.graphql.d.ts +17 -0
  10. package/dist/__generated__/TypeTesterFeaturesButton_fontStyle.graphql.js +32 -0
  11. package/dist/__generated__/TypeTesterFeatures_fontStyle.graphql.d.ts +2 -2
  12. package/dist/__generated__/TypeTesterFeatures_fontStyle.graphql.js +6 -2
  13. package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.d.ts +2 -2
  14. package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.js +3 -3
  15. package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +32 -0
  16. package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +385 -0
  17. package/dist/__generated__/TypeTesterToolbar_fontStyle.graphql.d.ts +17 -0
  18. package/dist/__generated__/TypeTesterToolbar_fontStyle.graphql.js +36 -0
  19. package/dist/__generated__/TypeTesterVariableAxes_fontStyle.graphql.d.ts +22 -0
  20. package/dist/__generated__/TypeTesterVariableAxes_fontStyle.graphql.js +61 -0
  21. package/dist/__generated__/TypeTester_NewStyleQuery.graphql.d.ts +2 -2
  22. package/dist/__generated__/TypeTester_NewStyleQuery.graphql.js +29 -25
  23. package/dist/__generated__/TypeTester_fontStyle.graphql.d.ts +2 -2
  24. package/dist/__generated__/TypeTester_fontStyle.graphql.js +7 -3
  25. package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -2
  26. package/dist/__generated__/TypeTestersIDQuery.graphql.js +90 -127
  27. package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -2
  28. package/dist/__generated__/TypeTestersSlugQuery.graphql.js +90 -127
  29. package/dist/__generated__/TypeTesters_collection.graphql.d.ts +1 -1
  30. package/dist/__generated__/TypeTesters_collection.graphql.js +5 -14
  31. package/dist/__generated__/useFeaturesData_fontStyle.graphql.d.ts +1 -7
  32. package/dist/__generated__/useFeaturesData_fontStyle.graphql.js +2 -35
  33. package/dist/components/BuyButton/BuyButton.server.d.ts +3 -0
  34. package/dist/components/BuyButton/BuyButton.server.js +39 -0
  35. package/dist/components/BuyButton/index.d.ts +11 -3
  36. package/dist/components/BuyButton/index.js +40 -13
  37. package/dist/components/BuyButton/index.server.d.ts +3 -0
  38. package/dist/components/BuyButton/index.server.js +37 -0
  39. package/dist/components/Cart/CartItem/VariableTextInput.d.ts +10 -0
  40. package/dist/components/Cart/CartItem/VariableTextInput.js +66 -92
  41. package/dist/components/Cart/CartItem/index.d.ts +7 -6
  42. package/dist/components/Cart/CartItem/index.js +9 -13
  43. package/dist/components/Cart/CartState.d.ts +4 -4
  44. package/dist/components/Cart/CartState.js +5 -8
  45. package/dist/components/Cart/CartTotals.d.ts +5 -4
  46. package/dist/components/Cart/CartTotals.js +5 -8
  47. package/dist/components/Cart/IdentityBox.d.ts +12 -0
  48. package/dist/components/Cart/IdentityBox.js +5 -8
  49. package/dist/components/CartButton/index-server.d.ts +3 -0
  50. package/dist/components/CartButton/index-server.js +18 -0
  51. package/dist/components/CartButton/index.d.ts +9 -3
  52. package/dist/components/CartButton/index.js +23 -9
  53. package/dist/components/CartButton/index.server.d.ts +3 -0
  54. package/dist/components/CartButton/index.server.js +18 -0
  55. package/dist/components/CharacterViewer/index.d.ts +11 -3
  56. package/dist/components/CharacterViewer/index.js +92 -28
  57. package/dist/components/CharacterViewer/index.server.d.ts +3 -0
  58. package/dist/components/CharacterViewer/index.server.js +37 -0
  59. package/dist/components/ConfigContext.d.ts +2 -0
  60. package/dist/components/ConfigContext.js +1 -0
  61. package/dist/components/CouponText/index.d.ts +5 -4
  62. package/dist/components/CouponText/index.js +5 -8
  63. package/dist/components/CustomerLoginForm/index.js +1 -0
  64. package/dist/components/Family/FamilyList.d.ts +5 -4
  65. package/dist/components/Family/FamilyList.js +5 -8
  66. package/dist/components/Family/index.d.ts +5 -4
  67. package/dist/components/Family/index.js +5 -9
  68. package/dist/components/FontStyle/index.d.ts +4 -6
  69. package/dist/components/FontStyle/index.js +5 -10
  70. package/dist/components/FontdueProvider/FontdueProviderClientComponent.d.ts +14 -0
  71. package/dist/components/FontdueProvider/FontdueProviderClientComponent.js +44 -0
  72. package/dist/components/FontdueProvider/index.d.ts +3 -13
  73. package/dist/components/FontdueProvider/index.js +11 -30
  74. package/dist/components/FontdueProvider/index.server.d.ts +4 -0
  75. package/dist/components/FontdueProvider/index.server.js +27 -0
  76. package/dist/components/NewsletterSignup/index.d.ts +11 -3
  77. package/dist/components/NewsletterSignup/index.js +28 -12
  78. package/dist/components/NewsletterSignup/index.server.d.ts +3 -0
  79. package/dist/components/NewsletterSignup/index.server.js +18 -0
  80. package/dist/components/Precart/index.js +5 -3
  81. package/dist/components/PriceBar/PriceBarSection.js +3 -2
  82. package/dist/components/SKUPrice/index.js +4 -3
  83. package/dist/components/SelectButton/index.d.ts +5 -6
  84. package/dist/components/SelectButton/index.js +5 -9
  85. package/dist/components/StoreModal/StoreModalBundleButton.d.ts +5 -6
  86. package/dist/components/StoreModal/StoreModalBundleButton.js +7 -10
  87. package/dist/components/StoreModal/StoreModalFamily.d.ts +5 -4
  88. package/dist/components/StoreModal/StoreModalFamily.js +5 -8
  89. package/dist/components/StoreModal/StoreModalFamilyButton.d.ts +5 -6
  90. package/dist/components/StoreModal/StoreModalFamilyButton.js +5 -9
  91. package/dist/components/StoreModal/StoreModalReviewIdentity.d.ts +5 -4
  92. package/dist/components/StoreModal/StoreModalReviewIdentity.js +6 -9
  93. package/dist/components/StoreModal/StoreModalStyleButton.d.ts +5 -6
  94. package/dist/components/StoreModal/StoreModalStyleButton.js +5 -9
  95. package/dist/components/StoreModal/index.js +1 -0
  96. package/dist/components/StoreModal/types.d.ts +3 -3
  97. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.d.ts +5 -4
  98. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +5 -8
  99. package/dist/components/StoreModalProductLicenseSelection/index.d.ts +5 -4
  100. package/dist/components/StoreModalProductLicenseSelection/index.js +5 -8
  101. package/dist/components/StoreModalProductSummary/index.js +3 -0
  102. package/dist/components/Stylesheet/index.js +1 -0
  103. package/dist/components/TestFontsForm/index.d.ts +7 -3
  104. package/dist/components/TestFontsForm/index.js +29 -11
  105. package/dist/components/TestFontsForm/index.server.d.ts +3 -0
  106. package/dist/components/TestFontsForm/index.server.js +18 -0
  107. package/dist/components/TestModeBanner/index.d.ts +6 -2
  108. package/dist/components/TestModeBanner/index.js +28 -10
  109. package/dist/components/TestModeBanner/index.server.d.ts +2 -0
  110. package/dist/components/TestModeBanner/index.server.js +17 -0
  111. package/dist/components/ThemeConfig/index.d.ts +6 -2
  112. package/dist/components/ThemeConfig/index.js +27 -10
  113. package/dist/components/ThemeConfig/index.server.d.ts +2 -0
  114. package/dist/components/ThemeConfig/index.server.js +17 -0
  115. package/dist/components/TypeTester/TypeTesterFeatures.d.ts +5 -4
  116. package/dist/components/TypeTester/TypeTesterFeatures.js +10 -18
  117. package/dist/components/TypeTester/TypeTesterFeaturesButton.d.ts +2 -2
  118. package/dist/components/TypeTester/TypeTesterFeaturesButton.js +4 -1
  119. package/dist/components/TypeTester/TypeTesterFloatingToolbar.d.ts +5 -4
  120. package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +11 -8
  121. package/dist/components/TypeTester/TypeTesterSlider.js +1 -1
  122. package/dist/components/TypeTester/TypeTesterStandalone.d.ts +12 -5
  123. package/dist/components/TypeTester/TypeTesterStandalone.js +44 -20
  124. package/dist/components/TypeTester/TypeTesterStandalone.server.d.ts +3 -0
  125. package/dist/components/TypeTester/TypeTesterStandalone.server.js +26 -0
  126. package/dist/components/TypeTester/TypeTesterStyleSelectData.d.ts +7 -6
  127. package/dist/components/TypeTester/TypeTesterStyleSelectData.js +7 -10
  128. package/dist/components/TypeTester/TypeTesterToolbar.d.ts +4 -2
  129. package/dist/components/TypeTester/TypeTesterToolbar.js +11 -2
  130. package/dist/components/TypeTester/TypeTesterVariableAxes.d.ts +3 -6
  131. package/dist/components/TypeTester/TypeTesterVariableAxes.js +15 -2
  132. package/dist/components/TypeTester/index.d.ts +2 -1
  133. package/dist/components/TypeTester/index.js +11 -4
  134. package/dist/components/TypeTester/types.d.ts +1 -0
  135. package/dist/components/TypeTester/useFeaturesData.d.ts +0 -6
  136. package/dist/components/TypeTester/useFeaturesData.js +1 -1
  137. package/dist/components/TypeTesters/index.d.ts +11 -4
  138. package/dist/components/TypeTesters/index.js +54 -59
  139. package/dist/components/TypeTesters/index.server.d.ts +3 -0
  140. package/dist/components/TypeTesters/index.server.js +43 -0
  141. package/dist/components/VariableTableAmounts/index.d.ts +7 -6
  142. package/dist/components/VariableTableAmounts/index.js +7 -10
  143. package/dist/fontdue.css +2677 -0
  144. package/dist/react-ranger.d.js +1 -0
  145. package/dist/react-ranger.js +306 -0
  146. package/dist/relay/environment.d.ts +10 -0
  147. package/dist/relay/environment.js +84 -0
  148. package/dist/relay/loadSerializableQuery.d.ts +7 -0
  149. package/dist/relay/loadSerializableQuery.js +19 -0
  150. package/dist/relay/useSerializablePreloadedQuery.d.ts +4 -0
  151. package/dist/relay/useSerializablePreloadedQuery.js +44 -0
  152. package/fontdue.css +0 -2
  153. package/package.json +45 -10
  154. package/BuyButton.d.ts +0 -3
  155. package/BuyButton.js +0 -1
  156. package/CartButton.d.ts +0 -3
  157. package/CartButton.js +0 -1
  158. package/CharacterViewer.d.ts +0 -3
  159. package/CharacterViewer.js +0 -1
  160. package/CustomerLoginForm.d.ts +0 -3
  161. package/CustomerLoginForm.js +0 -1
  162. package/FontdueProvider.d.ts +0 -3
  163. package/FontdueProvider.js +0 -1
  164. package/NewsletterSignup.d.ts +0 -3
  165. package/NewsletterSignup.js +0 -1
  166. package/StoreModal.d.ts +0 -3
  167. package/StoreModal.js +0 -1
  168. package/TestFontsForm.d.ts +0 -3
  169. package/TestFontsForm.js +0 -1
  170. package/TypeTester.d.ts +0 -3
  171. package/TypeTester.js +0 -1
  172. package/TypeTesters.d.ts +0 -3
  173. package/TypeTesters.js +0 -1
  174. package/useFontStyle.d.ts +0 -3
  175. package/useFontStyle.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.0.0
2
+
3
+ - __Breaking change__: This is a major upgrade to support React 18 concurrent mode, including changes to how we resolve data using Suspense via Relay. Upgrading meant we require some new features only available in React 18. But this change also means that Fontdue components can now fully resolve during server-side rendering (e.g. in Next.js), making for much smoother initial page loads.
4
+
1
5
  ## 1.12.3
2
6
 
3
7
  - Fix Stripe integration for Apple Pay
package/README.md CHANGED
@@ -2,35 +2,20 @@
2
2
 
3
3
  This package exports [Fontdue.js](https://docs.fontdue.com/fontduejs) components for React projects.
4
4
 
5
+ ## Installation
6
+
7
+ ``` shell
8
+ npm install fontdue-js@latest
9
+ ```
10
+
5
11
  ## Usage
6
12
 
7
- 1. Wrap the root of your project with the [`FontdueProvider`](#fontdueprovider) component. For example in a Next.js app, add it to your `_app.tsx`.
13
+ 1. Wrap the root of your project with the [`FontdueProvider`](#fontdueprovider) component. For example in a Next.js app, add it to your `app/layout.tsx` or `pages/_app.tsx`.
8
14
  2. Include the `url` property with your Fontdue store URL.
9
15
  3. Render the [`StoreModal`](#storemodal) component so that is it available on every page.
10
16
  4. Import the `fontdue-js/fontdue.css` CSS file. (This example uses Next.js)
11
17
 
12
- ### Example
13
-
14
- ```tsx
15
- import type { AppProps } from 'next/app';
16
- import Head from 'next/head';
17
- import React from 'react';
18
- import FontdueProvider from 'fontdue-js/FontdueProvider';
19
- import StoreModal from 'fontdue-js/StoreModal';
20
- import 'fontdue-js/fontdue.css';
21
-
22
- function MyApp({ Component, pageProps }: AppProps) {
23
- return (
24
- <FontdueProvider url="https://example.fontdue.com" config={{}}>
25
- <Component {...pageProps} />
26
-
27
- <StoreModal />
28
- </FontdueProvider>
29
- );
30
- }
31
-
32
- export default MyApp;
33
- ```
18
+ For details on integrating into your Next.js app, read our [Next.js guide](https://docs.fontdue.com/nextjs)
34
19
 
35
20
  ## IDs
36
21
 
@@ -45,7 +30,7 @@ You may alternatively specify a `collectionSlug` for these components, which can
45
30
 
46
31
  ## `FontdueProvider`
47
32
 
48
- The FontdueProvider provides necessary context for all the other Fontdue.js components, so it must be an ancestor of all other components. See example above for usage.
33
+ The FontdueProvider provides necessary context for all the other Fontdue.js components, so it must be an ancestor of all other components. See example in our [guide](https://docs.fontdue.com/nextjs).
49
34
 
50
35
  ```tsx
51
36
  import FontdueProvider from 'fontdue-js/FontdueProvider';
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @generated SignedSource<<69f8d5b289fee407e93d680fe4b2cd46>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ConcreteRequest } from 'relay-runtime';
7
+ import { FragmentRefs } from "relay-runtime";
8
+ export type CharacterViewerIDQuery$variables = {
9
+ collectionId: string;
10
+ };
11
+ export type CharacterViewerIDQuery$data = {
12
+ readonly node: {
13
+ readonly " $fragmentSpreads": FragmentRefs<"CharacterViewer_collection">;
14
+ } | null;
15
+ };
16
+ export type CharacterViewerIDQuery = {
17
+ response: CharacterViewerIDQuery$data;
18
+ variables: CharacterViewerIDQuery$variables;
19
+ };
20
+ declare const node: ConcreteRequest;
21
+ export default node;
@@ -0,0 +1,230 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * @generated SignedSource<<69f8d5b289fee407e93d680fe4b2cd46>>
9
+ * @lightSyntaxTransform
10
+ * @nogrep
11
+ */
12
+
13
+ /* tslint:disable */
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+ const node = function () {
18
+ var v0 = [{
19
+ "defaultValue": null,
20
+ "kind": "LocalArgument",
21
+ "name": "collectionId"
22
+ }],
23
+ v1 = [{
24
+ "kind": "Variable",
25
+ "name": "id",
26
+ "variableName": "collectionId"
27
+ }],
28
+ v2 = {
29
+ "alias": null,
30
+ "args": null,
31
+ "kind": "ScalarField",
32
+ "name": "id",
33
+ "storageKey": null
34
+ },
35
+ v3 = {
36
+ "alias": null,
37
+ "args": null,
38
+ "kind": "ScalarField",
39
+ "name": "name",
40
+ "storageKey": null
41
+ },
42
+ v4 = {
43
+ "alias": null,
44
+ "args": null,
45
+ "concreteType": "VariableInstance",
46
+ "kind": "LinkedField",
47
+ "name": "variableInstances",
48
+ "plural": true,
49
+ "selections": [v3 /*: any*/, {
50
+ "alias": null,
51
+ "args": null,
52
+ "concreteType": "VariableSetting",
53
+ "kind": "LinkedField",
54
+ "name": "coordinates",
55
+ "plural": true,
56
+ "selections": [{
57
+ "alias": null,
58
+ "args": null,
59
+ "kind": "ScalarField",
60
+ "name": "axis",
61
+ "storageKey": null
62
+ }, {
63
+ "alias": null,
64
+ "args": null,
65
+ "kind": "ScalarField",
66
+ "name": "value",
67
+ "storageKey": null
68
+ }],
69
+ "storageKey": null
70
+ }],
71
+ "storageKey": null
72
+ },
73
+ v5 = {
74
+ "alias": null,
75
+ "args": null,
76
+ "kind": "ScalarField",
77
+ "name": "isVariableFont",
78
+ "storageKey": null
79
+ },
80
+ v6 = {
81
+ "alias": null,
82
+ "args": null,
83
+ "kind": "ScalarField",
84
+ "name": "cssUrl",
85
+ "storageKey": null
86
+ },
87
+ v7 = {
88
+ "alias": null,
89
+ "args": null,
90
+ "kind": "ScalarField",
91
+ "name": "collectionType",
92
+ "storageKey": null
93
+ },
94
+ v8 = {
95
+ "alias": null,
96
+ "args": null,
97
+ "kind": "ScalarField",
98
+ "name": "characters",
99
+ "storageKey": null
100
+ },
101
+ v9 = {
102
+ "alias": null,
103
+ "args": null,
104
+ "concreteType": "FontStyle",
105
+ "kind": "LinkedField",
106
+ "name": "fontStyles",
107
+ "plural": true,
108
+ "selections": [v2 /*: any*/, {
109
+ "alias": null,
110
+ "args": null,
111
+ "kind": "ScalarField",
112
+ "name": "cssFamily",
113
+ "storageKey": null
114
+ }, v3 /*: any*/, {
115
+ "alias": null,
116
+ "args": null,
117
+ "concreteType": "CharacterBlock",
118
+ "kind": "LinkedField",
119
+ "name": "characterBlocks",
120
+ "plural": true,
121
+ "selections": [v3 /*: any*/, v8 /*: any*/],
122
+
123
+ "storageKey": null
124
+ }, {
125
+ "alias": null,
126
+ "args": null,
127
+ "concreteType": "FeatureCharacters",
128
+ "kind": "LinkedField",
129
+ "name": "featureCharacters",
130
+ "plural": true,
131
+ "selections": [{
132
+ "alias": null,
133
+ "args": null,
134
+ "kind": "ScalarField",
135
+ "name": "feature",
136
+ "storageKey": null
137
+ }, v3 /*: any*/, v8 /*: any*/],
138
+
139
+ "storageKey": null
140
+ }, v4 /*: any*/],
141
+
142
+ "storageKey": null
143
+ };
144
+ return {
145
+ "fragment": {
146
+ "argumentDefinitions": v0 /*: any*/,
147
+ "kind": "Fragment",
148
+ "metadata": null,
149
+ "name": "CharacterViewerIDQuery",
150
+ "selections": [{
151
+ "alias": null,
152
+ "args": v1 /*: any*/,
153
+ "concreteType": null,
154
+ "kind": "LinkedField",
155
+ "name": "node",
156
+ "plural": false,
157
+ "selections": [{
158
+ "args": null,
159
+ "kind": "FragmentSpread",
160
+ "name": "CharacterViewer_collection"
161
+ }],
162
+ "storageKey": null
163
+ }],
164
+ "type": "RootQueryType",
165
+ "abstractKey": null
166
+ },
167
+ "kind": "Request",
168
+ "operation": {
169
+ "argumentDefinitions": v0 /*: any*/,
170
+ "kind": "Operation",
171
+ "name": "CharacterViewerIDQuery",
172
+ "selections": [{
173
+ "alias": null,
174
+ "args": v1 /*: any*/,
175
+ "concreteType": null,
176
+ "kind": "LinkedField",
177
+ "name": "node",
178
+ "plural": false,
179
+ "selections": [{
180
+ "alias": null,
181
+ "args": null,
182
+ "kind": "ScalarField",
183
+ "name": "__typename",
184
+ "storageKey": null
185
+ }, v2 /*: any*/, {
186
+ "kind": "InlineFragment",
187
+ "selections": [{
188
+ "alias": null,
189
+ "args": null,
190
+ "concreteType": "FontStyle",
191
+ "kind": "LinkedField",
192
+ "name": "featureStyle",
193
+ "plural": false,
194
+ "selections": [v2 /*: any*/, v4 /*: any*/],
195
+
196
+ "storageKey": null
197
+ }, v3 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v9 /*: any*/, {
198
+ "alias": null,
199
+ "args": [{
200
+ "kind": "Literal",
201
+ "name": "collectionTypes",
202
+ "value": ["FAMILY"]
203
+ }],
204
+ "concreteType": "FontCollection",
205
+ "kind": "LinkedField",
206
+ "name": "children",
207
+ "plural": true,
208
+ "selections": [v2 /*: any*/, v3 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v9 /*: any*/],
209
+
210
+ "storageKey": "children(collectionTypes:[\"FAMILY\"])"
211
+ }],
212
+ "type": "FontCollection",
213
+ "abstractKey": null
214
+ }],
215
+ "storageKey": null
216
+ }]
217
+ },
218
+ "params": {
219
+ "cacheID": "eb952d4de5e478c504522c7067344953",
220
+ "id": null,
221
+ "metadata": {},
222
+ "name": "CharacterViewerIDQuery",
223
+ "operationKind": "query",
224
+ "text": "query CharacterViewerIDQuery(\n $collectionId: ID!\n) {\n node(id: $collectionId) {\n __typename\n ...CharacterViewer_collection\n id\n }\n}\n\nfragment CharacterViewer_collection on FontCollection {\n featureStyle {\n id\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n id\n name\n isVariableFont\n cssUrl\n collectionType\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n isVariableFont\n cssUrl\n collectionType\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n}\n"
225
+ }
226
+ };
227
+ }();
228
+ node.hash = "f90b09a4df6d95307b0a5d5fda487cdc";
229
+ var _default = node;
230
+ exports.default = _default;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @generated SignedSource<<4f2a4f7087c9b01053899ee96a81db5c>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ConcreteRequest } from 'relay-runtime';
7
+ import { FragmentRefs } from "relay-runtime";
8
+ export type CharacterViewerSlugQuery$variables = {
9
+ collectionSlug: string;
10
+ };
11
+ export type CharacterViewerSlugQuery$data = {
12
+ readonly viewer: {
13
+ readonly slug: {
14
+ readonly fontCollection: {
15
+ readonly " $fragmentSpreads": FragmentRefs<"CharacterViewer_collection">;
16
+ } | null;
17
+ } | null;
18
+ };
19
+ };
20
+ export type CharacterViewerSlugQuery = {
21
+ response: CharacterViewerSlugQuery$data;
22
+ variables: CharacterViewerSlugQuery$variables;
23
+ };
24
+ declare const node: ConcreteRequest;
25
+ export default node;
@@ -0,0 +1,257 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * @generated SignedSource<<4f2a4f7087c9b01053899ee96a81db5c>>
9
+ * @lightSyntaxTransform
10
+ * @nogrep
11
+ */
12
+
13
+ /* tslint:disable */
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+ const node = function () {
18
+ var v0 = [{
19
+ "defaultValue": null,
20
+ "kind": "LocalArgument",
21
+ "name": "collectionSlug"
22
+ }],
23
+ v1 = [{
24
+ "kind": "Variable",
25
+ "name": "name",
26
+ "variableName": "collectionSlug"
27
+ }],
28
+ v2 = {
29
+ "alias": null,
30
+ "args": null,
31
+ "kind": "ScalarField",
32
+ "name": "id",
33
+ "storageKey": null
34
+ },
35
+ v3 = {
36
+ "alias": null,
37
+ "args": null,
38
+ "kind": "ScalarField",
39
+ "name": "name",
40
+ "storageKey": null
41
+ },
42
+ v4 = {
43
+ "alias": null,
44
+ "args": null,
45
+ "concreteType": "VariableInstance",
46
+ "kind": "LinkedField",
47
+ "name": "variableInstances",
48
+ "plural": true,
49
+ "selections": [v3 /*: any*/, {
50
+ "alias": null,
51
+ "args": null,
52
+ "concreteType": "VariableSetting",
53
+ "kind": "LinkedField",
54
+ "name": "coordinates",
55
+ "plural": true,
56
+ "selections": [{
57
+ "alias": null,
58
+ "args": null,
59
+ "kind": "ScalarField",
60
+ "name": "axis",
61
+ "storageKey": null
62
+ }, {
63
+ "alias": null,
64
+ "args": null,
65
+ "kind": "ScalarField",
66
+ "name": "value",
67
+ "storageKey": null
68
+ }],
69
+ "storageKey": null
70
+ }],
71
+ "storageKey": null
72
+ },
73
+ v5 = {
74
+ "alias": null,
75
+ "args": null,
76
+ "kind": "ScalarField",
77
+ "name": "isVariableFont",
78
+ "storageKey": null
79
+ },
80
+ v6 = {
81
+ "alias": null,
82
+ "args": null,
83
+ "kind": "ScalarField",
84
+ "name": "cssUrl",
85
+ "storageKey": null
86
+ },
87
+ v7 = {
88
+ "alias": null,
89
+ "args": null,
90
+ "kind": "ScalarField",
91
+ "name": "collectionType",
92
+ "storageKey": null
93
+ },
94
+ v8 = {
95
+ "alias": null,
96
+ "args": null,
97
+ "kind": "ScalarField",
98
+ "name": "characters",
99
+ "storageKey": null
100
+ },
101
+ v9 = {
102
+ "alias": null,
103
+ "args": null,
104
+ "concreteType": "FontStyle",
105
+ "kind": "LinkedField",
106
+ "name": "fontStyles",
107
+ "plural": true,
108
+ "selections": [v2 /*: any*/, {
109
+ "alias": null,
110
+ "args": null,
111
+ "kind": "ScalarField",
112
+ "name": "cssFamily",
113
+ "storageKey": null
114
+ }, v3 /*: any*/, {
115
+ "alias": null,
116
+ "args": null,
117
+ "concreteType": "CharacterBlock",
118
+ "kind": "LinkedField",
119
+ "name": "characterBlocks",
120
+ "plural": true,
121
+ "selections": [v3 /*: any*/, v8 /*: any*/],
122
+
123
+ "storageKey": null
124
+ }, {
125
+ "alias": null,
126
+ "args": null,
127
+ "concreteType": "FeatureCharacters",
128
+ "kind": "LinkedField",
129
+ "name": "featureCharacters",
130
+ "plural": true,
131
+ "selections": [{
132
+ "alias": null,
133
+ "args": null,
134
+ "kind": "ScalarField",
135
+ "name": "feature",
136
+ "storageKey": null
137
+ }, v3 /*: any*/, v8 /*: any*/],
138
+
139
+ "storageKey": null
140
+ }, v4 /*: any*/],
141
+
142
+ "storageKey": null
143
+ };
144
+ return {
145
+ "fragment": {
146
+ "argumentDefinitions": v0 /*: any*/,
147
+ "kind": "Fragment",
148
+ "metadata": null,
149
+ "name": "CharacterViewerSlugQuery",
150
+ "selections": [{
151
+ "alias": null,
152
+ "args": null,
153
+ "concreteType": "Viewer",
154
+ "kind": "LinkedField",
155
+ "name": "viewer",
156
+ "plural": false,
157
+ "selections": [{
158
+ "alias": null,
159
+ "args": v1 /*: any*/,
160
+ "concreteType": "Slug",
161
+ "kind": "LinkedField",
162
+ "name": "slug",
163
+ "plural": false,
164
+ "selections": [{
165
+ "alias": null,
166
+ "args": null,
167
+ "concreteType": "FontCollection",
168
+ "kind": "LinkedField",
169
+ "name": "fontCollection",
170
+ "plural": false,
171
+ "selections": [{
172
+ "args": null,
173
+ "kind": "FragmentSpread",
174
+ "name": "CharacterViewer_collection"
175
+ }],
176
+ "storageKey": null
177
+ }],
178
+ "storageKey": null
179
+ }],
180
+ "storageKey": null
181
+ }],
182
+ "type": "RootQueryType",
183
+ "abstractKey": null
184
+ },
185
+ "kind": "Request",
186
+ "operation": {
187
+ "argumentDefinitions": v0 /*: any*/,
188
+ "kind": "Operation",
189
+ "name": "CharacterViewerSlugQuery",
190
+ "selections": [{
191
+ "alias": null,
192
+ "args": null,
193
+ "concreteType": "Viewer",
194
+ "kind": "LinkedField",
195
+ "name": "viewer",
196
+ "plural": false,
197
+ "selections": [{
198
+ "alias": null,
199
+ "args": v1 /*: any*/,
200
+ "concreteType": "Slug",
201
+ "kind": "LinkedField",
202
+ "name": "slug",
203
+ "plural": false,
204
+ "selections": [{
205
+ "alias": null,
206
+ "args": null,
207
+ "concreteType": "FontCollection",
208
+ "kind": "LinkedField",
209
+ "name": "fontCollection",
210
+ "plural": false,
211
+ "selections": [{
212
+ "alias": null,
213
+ "args": null,
214
+ "concreteType": "FontStyle",
215
+ "kind": "LinkedField",
216
+ "name": "featureStyle",
217
+ "plural": false,
218
+ "selections": [v2 /*: any*/, v4 /*: any*/],
219
+
220
+ "storageKey": null
221
+ }, v2 /*: any*/, v3 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v9 /*: any*/, {
222
+ "alias": null,
223
+ "args": [{
224
+ "kind": "Literal",
225
+ "name": "collectionTypes",
226
+ "value": ["FAMILY"]
227
+ }],
228
+ "concreteType": "FontCollection",
229
+ "kind": "LinkedField",
230
+ "name": "children",
231
+ "plural": true,
232
+ "selections": [v2 /*: any*/, v3 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v9 /*: any*/],
233
+
234
+ "storageKey": "children(collectionTypes:[\"FAMILY\"])"
235
+ }],
236
+ "storageKey": null
237
+ }, v2 /*: any*/],
238
+
239
+ "storageKey": null
240
+ }, v2 /*: any*/],
241
+
242
+ "storageKey": null
243
+ }]
244
+ },
245
+ "params": {
246
+ "cacheID": "2164428019c5b0a380eebfeaadf9c46f",
247
+ "id": null,
248
+ "metadata": {},
249
+ "name": "CharacterViewerSlugQuery",
250
+ "operationKind": "query",
251
+ "text": "query CharacterViewerSlugQuery(\n $collectionSlug: String!\n) {\n viewer {\n slug(name: $collectionSlug) {\n fontCollection {\n ...CharacterViewer_collection\n id\n }\n id\n }\n id\n }\n}\n\nfragment CharacterViewer_collection on FontCollection {\n featureStyle {\n id\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n id\n name\n isVariableFont\n cssUrl\n collectionType\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n isVariableFont\n cssUrl\n collectionType\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n }\n }\n}\n"
252
+ }
253
+ };
254
+ }();
255
+ node.hash = "afa08a8f050e0434308892fea6e3c267";
256
+ var _default = node;
257
+ exports.default = _default;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @generated SignedSource<<33db2c8d84dc0be9a8d30203d8664d37>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ConcreteRequest } from 'relay-runtime';
7
+ export type NewsletterSignupQuery$variables = {};
8
+ export type NewsletterSignupQuery$data = {
9
+ readonly viewer: {
10
+ readonly settings: {
11
+ readonly newsletterOptInLabel: string | null;
12
+ readonly newsletterSuccessLabel: string | null;
13
+ } | null;
14
+ };
15
+ };
16
+ export type NewsletterSignupQuery = {
17
+ response: NewsletterSignupQuery$data;
18
+ variables: NewsletterSignupQuery$variables;
19
+ };
20
+ declare const node: ConcreteRequest;
21
+ export default node;