fontdue-js 0.1.0-alpha9 → 0.1.2

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 (196) hide show
  1. package/.nvmrc +1 -0
  2. package/BuyButton.d.ts +3 -0
  3. package/BuyButton.js +1 -0
  4. package/CartButton.d.ts +3 -0
  5. package/CartButton.js +1 -0
  6. package/FontdueProvider.d.ts +3 -0
  7. package/FontdueProvider.js +1 -0
  8. package/NewsletterSignup.d.ts +3 -0
  9. package/NewsletterSignup.js +1 -0
  10. package/README.md +170 -2
  11. package/StoreModal.d.ts +3 -0
  12. package/StoreModal.js +1 -0
  13. package/TestFontsForm.d.ts +3 -0
  14. package/TestFontsForm.js +1 -0
  15. package/TypeTester.d.ts +3 -0
  16. package/TypeTester.js +1 -0
  17. package/TypeTesters.d.ts +3 -0
  18. package/TypeTesters.js +1 -0
  19. package/dist/__generated__/CartOrderApplyCouponMutation.graphql.js +11 -4
  20. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +11 -4
  21. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +11 -4
  22. package/dist/__generated__/CartOrderUpdateMutation.graphql.js +11 -4
  23. package/dist/__generated__/CartOrder_viewer.graphql.js +7 -3
  24. package/dist/__generated__/CartQuery.graphql.js +18 -7
  25. package/dist/__generated__/CartStateApplyCouponMutation.graphql.js +11 -4
  26. package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +11 -4
  27. package/dist/__generated__/CartStateUpdateMutation.graphql.js +11 -4
  28. package/dist/__generated__/CartTotals_order.graphql.d.ts +2 -1
  29. package/dist/__generated__/CartTotals_order.graphql.js +8 -2
  30. package/dist/__generated__/CharacterViewer_Query.graphql.d.ts +16 -0
  31. package/dist/__generated__/CharacterViewer_Query.graphql.js +255 -0
  32. package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +49 -0
  33. package/dist/__generated__/CharacterViewer_collection.graphql.js +135 -0
  34. package/dist/__generated__/CharacterViewer_family.graphql.d.ts +28 -0
  35. package/dist/__generated__/CharacterViewer_family.graphql.js +102 -0
  36. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +11 -4
  37. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +11 -4
  38. package/dist/__generated__/PrecartAddToCartMutation.graphql.js +11 -4
  39. package/dist/__generated__/StoreModalCartQuery.graphql.js +11 -4
  40. package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +11 -4
  41. package/dist/__generated__/StoreModalReviewQuery.graphql.js +11 -4
  42. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +11 -4
  43. package/dist/__generated__/TestFontsForm_Query.graphql.js +18 -9
  44. package/dist/__generated__/TestFontsForm_viewer.graphql.js +69 -57
  45. package/dist/__generated__/TypeTesterData_typeTester.graphql.d.ts +1 -0
  46. package/dist/__generated__/TypeTesterData_typeTester.graphql.js +48 -40
  47. package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.d.ts +16 -0
  48. package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.js +44 -0
  49. package/dist/__generated__/TypeTestersIDQuery.graphql.js +163 -69
  50. package/dist/__generated__/TypeTestersSlugQuery.graphql.js +163 -69
  51. package/dist/__generated__/TypeTesters_collection.graphql.d.ts +10 -1
  52. package/dist/__generated__/TypeTesters_collection.graphql.js +51 -9
  53. package/dist/components/AddToCartBanner/index.js +8 -6
  54. package/dist/components/BuyButton/index.js +21 -35
  55. package/dist/components/BuyingOptions/index.js +10 -7
  56. package/dist/components/Cart/AddressFields.js +12 -9
  57. package/dist/components/Cart/CartItem/VariableTextInput.js +1 -1
  58. package/dist/components/Cart/CartItem/index.js +76 -58
  59. package/dist/components/Cart/CartOrder.js +19 -15
  60. package/dist/components/Cart/CartState.js +16 -13
  61. package/dist/components/Cart/CartTotals.js +66 -60
  62. package/dist/components/Cart/Checkout.js +34 -26
  63. package/dist/components/Cart/CustomerFields.d.ts +14 -0
  64. package/dist/components/Cart/CustomerFields.js +60 -50
  65. package/dist/components/Cart/Download.js +11 -9
  66. package/dist/components/Cart/EmptyCart.js +5 -4
  67. package/dist/components/Cart/IdentityBox.js +27 -24
  68. package/dist/components/Cart/index.js +23 -17
  69. package/dist/components/CartButton/index.js +12 -9
  70. package/dist/components/CharacterViewer/index.d.ts +6 -0
  71. package/dist/components/CharacterViewer/index.js +256 -0
  72. package/dist/components/Checkbox/index.d.ts +4 -0
  73. package/dist/components/{FontLoader → Checkbox}/index.js +15 -46
  74. package/dist/components/CollectionAa/index.js +15 -11
  75. package/dist/components/ConfigContext.d.ts +84 -1
  76. package/dist/components/ConfigContext.js +52 -2
  77. package/dist/components/CookieNotification/index.js +46 -38
  78. package/dist/components/CouponText/index.js +7 -5
  79. package/dist/components/Family/FamilyList.js +23 -20
  80. package/dist/components/Family/index.js +12 -9
  81. package/dist/components/FontFamilies/index.js +15 -12
  82. package/dist/components/FontStyle/index.js +11 -10
  83. package/dist/components/FontdueProvider/index.d.ts +2 -2
  84. package/dist/components/FontdueProvider/index.js +9 -8
  85. package/dist/components/Icons/Align.d.ts +4 -0
  86. package/dist/components/Icons/Align.js +63 -0
  87. package/dist/components/Icons/CheckboxCrossed.d.ts +3 -0
  88. package/dist/components/Icons/CheckboxCrossed.js +30 -0
  89. package/dist/components/Icons/index.d.ts +1 -0
  90. package/dist/components/Icons/index.js +8 -0
  91. package/dist/components/NewsletterSignup/index.d.ts +2 -0
  92. package/dist/components/NewsletterSignup/index.js +14 -10
  93. package/dist/components/Precart/License.js +8 -7
  94. package/dist/components/Precart/index.js +16 -11
  95. package/dist/components/Price/index.js +35 -28
  96. package/dist/components/PriceBar/PriceBarSection.js +14 -11
  97. package/dist/components/PriceBar/index.js +2 -2
  98. package/dist/components/Root/index.d.ts +4 -0
  99. package/dist/components/Root/index.js +97 -50
  100. package/dist/components/Root/productState.js +4 -3
  101. package/dist/components/SKUPrice/index.js +7 -6
  102. package/dist/components/Select/index.d.ts +11 -0
  103. package/dist/components/Select/index.js +51 -0
  104. package/dist/components/SelectButton/index.js +16 -16
  105. package/dist/components/SelectField/index.js +27 -24
  106. package/dist/components/SpecimenLink/index.js +14 -11
  107. package/dist/components/StickyNav/index.js +16 -13
  108. package/dist/components/StoreModal/StoreModalBundleButton.js +7 -6
  109. package/dist/components/StoreModal/StoreModalCart.js +18 -11
  110. package/dist/components/StoreModal/StoreModalCheckout.js +11 -6
  111. package/dist/components/StoreModal/StoreModalContainer.js +4 -3
  112. package/dist/components/StoreModal/StoreModalDownload.js +5 -4
  113. package/dist/components/StoreModal/StoreModalFamily.js +5 -4
  114. package/dist/components/StoreModal/StoreModalFamilyButton.js +11 -10
  115. package/dist/components/StoreModal/StoreModalIndex.js +32 -18
  116. package/dist/components/StoreModal/StoreModalLoader.js +4 -3
  117. package/dist/components/StoreModal/StoreModalProduct.js +13 -6
  118. package/dist/components/StoreModal/StoreModalReview.js +11 -9
  119. package/dist/components/StoreModal/StoreModalReviewIdentity.js +6 -3
  120. package/dist/components/StoreModal/StoreModalStyleButton.js +7 -6
  121. package/dist/components/StoreModal/createRouter.js +0 -1
  122. package/dist/components/StoreModal/types.d.ts +4 -0
  123. package/dist/components/StoreModal/types.js +5 -0
  124. package/dist/components/StoreModalProductLicenseSelection/ContainerElement.js +15 -12
  125. package/dist/components/StoreModalProductLicenseSelection/LicenseElement.js +31 -19
  126. package/dist/components/StoreModalProductLicenseSelection/LicenseVariableElement.js +31 -25
  127. package/dist/components/StoreModalProductLicenseSelection/LicenseVariableRadioElement.js +13 -10
  128. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +23 -14
  129. package/dist/components/StoreModalProductLicenseSelection/index.js +12 -9
  130. package/dist/components/StoreModalProductSummary/index.js +13 -9
  131. package/dist/components/StripeProvider/index.js +5 -4
  132. package/dist/components/Stylesheet/index.js +4 -3
  133. package/dist/components/TestFontsForm/index.d.ts +1 -0
  134. package/dist/components/TestFontsForm/index.js +50 -46
  135. package/dist/components/TestModeBanner/index.js +9 -7
  136. package/dist/components/TextField/index.js +32 -29
  137. package/dist/components/ThemeConfig/index.js +10 -8
  138. package/dist/components/TypeTester/TypeTesterAlignButtons.d.ts +8 -0
  139. package/dist/components/TypeTester/TypeTesterAlignButtons.js +40 -0
  140. package/dist/components/TypeTester/TypeTesterBullet.js +5 -4
  141. package/dist/components/TypeTester/TypeTesterContent.d.ts +6 -2
  142. package/dist/components/TypeTester/TypeTesterContent.js +28 -11
  143. package/dist/components/TypeTester/TypeTesterContext.d.ts +51 -7
  144. package/dist/components/TypeTester/TypeTesterContext.js +124 -13
  145. package/dist/components/TypeTester/TypeTesterEditAll.d.ts +0 -2
  146. package/dist/components/TypeTester/TypeTesterEditAll.js +6 -3
  147. package/dist/components/TypeTester/TypeTesterFeatures.d.ts +1 -4
  148. package/dist/components/TypeTester/TypeTesterFeatures.js +130 -21
  149. package/dist/components/TypeTester/TypeTesterFeaturesButton.js +18 -14
  150. package/dist/components/TypeTester/TypeTesterFitter.js +5 -4
  151. package/dist/components/TypeTester/TypeTesterFloatingToolbar.d.ts +8 -0
  152. package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +92 -0
  153. package/dist/components/TypeTester/TypeTesterInput.js +8 -7
  154. package/dist/components/TypeTester/TypeTesterSlider.js +15 -11
  155. package/dist/components/TypeTester/TypeTesterStandalone.d.ts +4 -0
  156. package/dist/components/TypeTester/TypeTesterStandalone.js +33 -19
  157. package/dist/components/TypeTester/TypeTesterState.d.ts +23 -25
  158. package/dist/components/TypeTester/TypeTesterState.js +69 -72
  159. package/dist/components/TypeTester/TypeTesterStyleSelect.js +45 -40
  160. package/dist/components/TypeTester/TypeTesterStyleSelectData.d.ts +1 -1
  161. package/dist/components/TypeTester/TypeTesterStyleSelectData.js +10 -7
  162. package/dist/components/TypeTester/TypeTesterToolbar.d.ts +7 -0
  163. package/dist/components/TypeTester/TypeTesterToolbar.js +60 -0
  164. package/dist/components/TypeTester/index.d.ts +20 -6
  165. package/dist/components/TypeTester/index.js +138 -137
  166. package/dist/components/TypeTester/types.d.ts +1 -0
  167. package/dist/components/TypeTester/useTypeTesterStyler.d.ts +3 -1
  168. package/dist/components/TypeTester/useTypeTesterStyler.js +32 -28
  169. package/dist/components/TypeTesterData/index.js +2 -1
  170. package/dist/components/TypeTesters/index.d.ts +3 -0
  171. package/dist/components/TypeTesters/index.js +95 -44
  172. package/dist/components/VariableTableAmounts/index.js +5 -4
  173. package/dist/components/elements/Button/index.js +11 -8
  174. package/dist/components/elements/EmptyCart/index.js +1 -3
  175. package/dist/components/elements/StoreModalCartLayout/index.js +29 -26
  176. package/dist/components/elements/StoreModalContainer/index.js +14 -13
  177. package/dist/components/elements/StoreModalDownloadLayout/index.js +17 -14
  178. package/dist/components/elements/StoreModalFamily/index.js +22 -19
  179. package/dist/components/elements/StoreModalFamilyButton/index.js +12 -11
  180. package/dist/components/elements/StoreModalIndexItem/index.js +26 -23
  181. package/dist/components/elements/StoreModalPageContainer/index.js +18 -15
  182. package/dist/components/elements/StoreModalReviewConfirm/index.js +15 -9
  183. package/dist/components/elements/StoreModalReviewItem/index.js +11 -8
  184. package/dist/components/elements/StoreModalReviewLayout/index.js +50 -47
  185. package/dist/components/elements/StoreModalStyleButton/index.js +10 -9
  186. package/dist/components/useFontStyle.js +7 -6
  187. package/dist/relay-environment.js +1 -1
  188. package/dist/utils.js +6 -5
  189. package/dist/vanilla/FontStyle.js +11 -9
  190. package/fontdue.css +1660 -1052
  191. package/fontdue.css.map +1 -0
  192. package/package.json +12 -11
  193. package/useFontStyle.d.ts +3 -0
  194. package/useFontStyle.js +1 -0
  195. package/dist/index.js +0 -63
  196. package/dist/type-tester.js +0 -23
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ v14.13.1
package/BuyButton.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import BuyButton from './dist/components/BuyButton';
2
+ export * from './dist/components/BuyButton';
3
+ export default BuyButton;
package/BuyButton.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/BuyButton');
@@ -0,0 +1,3 @@
1
+ import CartButton from './dist/components/CartButton';
2
+ export * from './dist/components/CartButton';
3
+ export default CartButton;
package/CartButton.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/CartButton');
@@ -0,0 +1,3 @@
1
+ import FontdueProvider from './dist/components/FontdueProvider';
2
+ export * from './dist/components/FontdueProvider';
3
+ export default FontdueProvider;
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/FontdueProvider');
@@ -0,0 +1,3 @@
1
+ import NewsletterSignup from './dist/components/NewsletterSignup';
2
+ export * from './dist/components/NewsletterSignup';
3
+ export default NewsletterSignup;
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/NewsletterSignup');
package/README.md CHANGED
@@ -1,5 +1,173 @@
1
1
  # fontdue-js
2
2
 
3
- [Fontdue.js](https://docs.fontdue.com) components for use in React projects.
3
+ This package exports [Fontdue.js](https://docs.fontdue.com/fontduejs) components for React projects.
4
+
5
+ ## Usage
6
+
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`.
8
+ 2. Replace the `url` property with your Fontdue store URL.
9
+ 3. Render the [`StoreModal`](#storemodal) component so that is it available on every page.
10
+ 4. Import the `fontdue-js/fontdue.css` CSS file. (This example uses Next.js)
11
+
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
+ <React.Fragment>
25
+ <FontdueProvider url="https://example.fontdue.com" config={{}}>
26
+ <Component {...pageProps} />
27
+
28
+ <StoreModal />
29
+ </FontdueProvider>
30
+ </React.Fragment>
31
+ );
32
+ }
33
+
34
+ export default MyApp;
35
+ ```
36
+
37
+ ## IDs
38
+
39
+ ⚠️ Some components accept a `collectionId` prop. Note this is the `id` returned from the [GraphQL API](https://docs.fontdue.com/graphql-api).
40
+
41
+ You may alternatively specify a `collectionSlug` for these components, which can be useful if you are not consuming the GraphQL API. However, we recommend using `collectionId` when possible.
42
+
43
+ ---
44
+
45
+ # Components
46
+
47
+
48
+ ## `FontdueProvider`
49
+
50
+ 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.
51
+
52
+ ```tsx
53
+ import FontdueProvider from 'fontdue-js/FontdueProvider';
54
+ ```
55
+
56
+ | Prop | Description |
57
+ | --- | --- |
58
+ | `url` | `string` Your Fontdue store URL, in the form `https://your-site.fontdue.com`. |
59
+ | `config` | `object` Config object. Refer to the [Fontdue.js docs site](https://docs.fontdue.com/fontduejs#b3dec49aa08240bba2b4c71a67c08333) for available config options. |
60
+ | `components` | `object` Component view overrides. This API will likely change. |
61
+
62
+ ## `StoreModal`
63
+
64
+ Renders the Fontdue cart + checkout experience as a modal. This appears when a user clicks on a [`BuyButton`](#buybutton) or the buy button within [`TypeTesters`](#typetesters)
65
+
66
+ ```tsx
67
+ import StoreModal from 'fontdue-js/StoreModal';
68
+ ```
69
+
70
+ ## `BuyButton`
71
+
72
+ Show a **Buy** button for a particular collection. When clicked, opens the StoreModal showing that collection.
73
+
74
+ ```tsx
75
+ import BuyButton from 'fontdue-js/BuyButton';
76
+ ```
77
+
78
+ | Prop | Description |
79
+ | --- | --- |
80
+ | `collectionId` or `collectionSlug` | (Required) `string` Collection identifier |
81
+ | `collectionName` | (Optional) `string` Name to display as a suffix in the button: `Buy {collectionName}` |
82
+
83
+ ## `CartButton`
84
+
85
+ A cart button. When clicked, it opens the StoreModal. If a user has items in their cart, it will show the current cart. Otherwise, it shows the index "Browse" page of the StoreModal.
86
+
87
+ ```tsx
88
+ import CartButton from 'fontdue-js/CartButton';
89
+ ```
90
+
91
+ | Prop | Description |
92
+ | --- | --- |
93
+ | `buttonStyle` | (Optional) `'icon' \| 'inline'` Style of the button. Defaults to an unstyled button. |
94
+ | `label` | (Optional) `string` Text label instead of "Cart" when `buttonStyle` is not `icon`. |
95
+
96
+ ## `TypeTesters`
97
+
98
+ Displays a list of type testers for a collection, by pulling data from the Fontdue CMS for that collection.
99
+
100
+ ```tsx
101
+ import TypeTesters from 'fontdue-js/TypeTesters';
102
+ ```
103
+
104
+ | Prop | Description |
105
+ | --- | --- |
106
+ | `collectionId` or `collectionSlug` | (Required) `string` Identifier for collection |
107
+ | `defaultMode` | (Optional) `'local' \| 'global'` The mode refers to the toggle in the UI: Affect all styles. `local` mode has this toggle turned off by default, `global` turns it on |
108
+ | `autofit` | (Optional) `boolean` Set to `true` to make the sentences fit on one line. It will adjust to the width of the tester as the user changes their browser window. If the user changes the font size or edits content, autofitting is turned off for that tester |
109
+ | `tags` | (Optional) `string[]` Will render only type testers that include one of the tags |
110
+ | `excludeTags` | (Optional) `string[]` Will exclude type testers that include one of the tags |
111
+ | `onFocus` | (Optional) `() => void` when any type tester is focused |
112
+ | `onBlur` | (Optional) `() => void` when any type tester is blurred |
113
+ | `onToolbarOpenClose` | (Optional) `(open: boolean) => void` Callback when toolbar is opened/closed |
114
+
115
+ ## `TypeTester`
116
+
117
+ Standalone version of the type tester, which does not query the Fontdue CMS for content. You supply the content instead. Does not support the "Affect all styles" feature of the TypeTesters component.
118
+
119
+ The props accepted for this compnenent will change and be documented thereafter.
120
+
121
+ ```tsx
122
+ import TypeTester from 'fontdue-js/TypeTester';
123
+ ```
124
+
125
+ ## `NewsletterSignup`
126
+
127
+ A newsletter signup form. Customers entering their information here simply adds them as a Customer in the Fontdue CMS.
128
+
129
+ ```tsx
130
+ import NewsletterSignup from 'fontdue-js/NewsletterSignup';
131
+ ```
132
+
133
+ | Prop | Description |
134
+ | --- | --- |
135
+ | `optInLabel` | (Required) `string` Label that appears with the checkbox required to be checked. |
136
+ | `buttonLabel` | (Optional) `string` Label for the button. Defaults to "Subscribe" |
137
+ | `optInCheckboxChecked` | (Optional) `boolean` Set the checkbox checked by default. |
138
+
139
+ ## `TestFontsForm`
140
+
141
+ Displays a form for users to enter their information in order to download test fonts. Make sure you have configured [Test Fonts](https://docs.fontdue.com/test-fonts) for this to work.
142
+
143
+ ```tsx
144
+ import TestFontsForm from 'fontdue-js/TestFontsForm';
145
+ ```
146
+
147
+ | Prop | Description |
148
+ | --- | --- |
149
+ | `agreementLabel` | (Optional) `string` Label for required checkbox. Defaults to the field "EULA agreement text" in your Fontdue Labels settings |
150
+ | `downloadLabel` | (Optional) `string` Download button label. Defaults to "Download test fonts" |
151
+ | `newsletterCheckboxChecked` | (Optional) `boolean` Set the newsletter opt-in checkbox checked by default |
152
+
153
+ ## `useFontStyle`
154
+
155
+ A hook to load and render a particular font style. The fallback/loading style is a series of dots rather than any fallback system font.
156
+
157
+ Note that you must first load the relevant CSS for the font family (ideally in the `<head>` of your page). You can find the CSS URL by querying the `FontCollection.cssUrl` field in the Graphql API for the relevant family, or find the HTML code in the Fontdue CMS, under the Webfonts tab of the family. (For superfamilies, you must get load the CSS for each subfamily).
158
+
159
+ ```tsx
160
+ import useFontStyle from 'fontdue-js/useFontStyle';
161
+
162
+ const FontStyle = ({ familyName, styleName }) => {
163
+ const { style } = useFontStyle({
164
+ fontFamily: `${familyName} ${styleName}`,
165
+ fontWeight: '400',
166
+ fontStyle: 'normal',
167
+ });
168
+
169
+ return <span style={style}>The quick brown box</span>;
170
+ };
171
+ ```
172
+
4
173
 
5
- This is currently alpha software.
@@ -0,0 +1,3 @@
1
+ import StoreModal from './dist/components/StoreModal';
2
+ export * from './dist/components/StoreModal';
3
+ export default StoreModal;
package/StoreModal.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/StoreModal');
@@ -0,0 +1,3 @@
1
+ import TestFontsForm from './dist/components/TestFontsForm';
2
+ export * from './dist/components/TestFontsForm';
3
+ export default TestFontsForm;
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/TestFontsForm');
@@ -0,0 +1,3 @@
1
+ import TypeTesterStandalone from './dist/components/TypeTester/TypeTesterStandalone';
2
+ export * from './dist/components/TypeTester/TypeTesterStandalone';
3
+ export default TypeTesterStandalone;
package/TypeTester.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/TypeTester/TypeTesterStandalone');
@@ -0,0 +1,3 @@
1
+ import TypeTesters from './dist/components/TypeTesters';
2
+ export * from './dist/components/TypeTesters';
3
+ export default TypeTesters;
package/TypeTesters.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/TypeTesters');
@@ -166,7 +166,8 @@ fragment CartTotals_order on Order {
166
166
  taxes {
167
167
  ...Price_price
168
168
  }
169
- isVatTax
169
+ taxName
170
+ gstIncluded
170
171
  }
171
172
 
172
173
  fragment Checkout_order on Order {
@@ -694,7 +695,13 @@ const node = function () {
694
695
  "alias": null,
695
696
  "args": null,
696
697
  "kind": "ScalarField",
697
- "name": "isVatTax",
698
+ "name": "taxName",
699
+ "storageKey": null
700
+ }, {
701
+ "alias": null,
702
+ "args": null,
703
+ "kind": "ScalarField",
704
+ "name": "gstIncluded",
698
705
  "storageKey": null
699
706
  }, {
700
707
  "alias": null,
@@ -994,12 +1001,12 @@ const node = function () {
994
1001
  }]
995
1002
  },
996
1003
  "params": {
997
- "cacheID": "462dcaebd35a230c9ec981fb34235916",
1004
+ "cacheID": "f264d5ef0dbf07ecf3756eb5621099a6",
998
1005
  "id": null,
999
1006
  "metadata": {},
1000
1007
  "name": "CartOrderApplyCouponMutation",
1001
1008
  "operationKind": "mutation",
1002
- "text": "mutation CartOrderApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
1009
+ "text": "mutation CartOrderApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
1003
1010
  }
1004
1011
  };
1005
1012
  }();
@@ -165,7 +165,8 @@ fragment CartTotals_order on Order {
165
165
  taxes {
166
166
  ...Price_price
167
167
  }
168
- isVatTax
168
+ taxName
169
+ gstIncluded
169
170
  }
170
171
 
171
172
  fragment Checkout_order on Order {
@@ -684,7 +685,13 @@ const node = function () {
684
685
  "alias": null,
685
686
  "args": null,
686
687
  "kind": "ScalarField",
687
- "name": "isVatTax",
688
+ "name": "taxName",
689
+ "storageKey": null
690
+ }, {
691
+ "alias": null,
692
+ "args": null,
693
+ "kind": "ScalarField",
694
+ "name": "gstIncluded",
688
695
  "storageKey": null
689
696
  }, {
690
697
  "alias": null,
@@ -986,12 +993,12 @@ const node = function () {
986
993
  }]
987
994
  },
988
995
  "params": {
989
- "cacheID": "e64ae0f155b0e0028842770d79884de6",
996
+ "cacheID": "fd10a0bd175b56a35283c36859f9b83e",
990
997
  "id": null,
991
998
  "metadata": {},
992
999
  "name": "CartOrderCompleteOrderMutation",
993
1000
  "operationKind": "mutation",
994
- "text": "mutation CartOrderCompleteOrderMutation {\n completeOrder {\n order {\n ...CartOrder_order\n id\n }\n requiresAction\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
1001
+ "text": "mutation CartOrderCompleteOrderMutation {\n completeOrder {\n order {\n ...CartOrder_order\n id\n }\n requiresAction\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
995
1002
  }
996
1003
  };
997
1004
  }();
@@ -164,7 +164,8 @@ fragment CartTotals_order on Order {
164
164
  taxes {
165
165
  ...Price_price
166
166
  }
167
- isVatTax
167
+ taxName
168
+ gstIncluded
168
169
  }
169
170
 
170
171
  fragment Checkout_order on Order {
@@ -674,7 +675,13 @@ const node = function () {
674
675
  "alias": null,
675
676
  "args": null,
676
677
  "kind": "ScalarField",
677
- "name": "isVatTax",
678
+ "name": "taxName",
679
+ "storageKey": null
680
+ }, {
681
+ "alias": null,
682
+ "args": null,
683
+ "kind": "ScalarField",
684
+ "name": "gstIncluded",
678
685
  "storageKey": null
679
686
  }, {
680
687
  "alias": null,
@@ -974,12 +981,12 @@ const node = function () {
974
981
  }]
975
982
  },
976
983
  "params": {
977
- "cacheID": "73de223ade6d729f6b81cf1a8a10de24",
984
+ "cacheID": "2f52ce7a75cf90824097f5131937cfd0",
978
985
  "id": null,
979
986
  "metadata": {},
980
987
  "name": "CartOrderRemoveDiscountMutation",
981
988
  "operationKind": "mutation",
982
- "text": "mutation CartOrderRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
989
+ "text": "mutation CartOrderRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
983
990
  }
984
991
  };
985
992
  }();
@@ -171,7 +171,8 @@ fragment CartTotals_order on Order {
171
171
  taxes {
172
172
  ...Price_price
173
173
  }
174
- isVatTax
174
+ taxName
175
+ gstIncluded
175
176
  }
176
177
 
177
178
  fragment Checkout_order on Order {
@@ -726,7 +727,13 @@ const node = function () {
726
727
  "alias": null,
727
728
  "args": null,
728
729
  "kind": "ScalarField",
729
- "name": "isVatTax",
730
+ "name": "taxName",
731
+ "storageKey": null
732
+ }, {
733
+ "alias": null,
734
+ "args": null,
735
+ "kind": "ScalarField",
736
+ "name": "gstIncluded",
730
737
  "storageKey": null
731
738
  }, {
732
739
  "alias": null,
@@ -1028,12 +1035,12 @@ const node = function () {
1028
1035
  }]
1029
1036
  },
1030
1037
  "params": {
1031
- "cacheID": "ac9d15ab2ddb02533cbae3d4242527c5",
1038
+ "cacheID": "236dfad074db7ddfd846dacc808bcfeb",
1032
1039
  "id": null,
1033
1040
  "metadata": {},
1034
1041
  "name": "CartOrderUpdateMutation",
1035
1042
  "operationKind": "mutation",
1036
- "text": "mutation CartOrderUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
1043
+ "text": "mutation CartOrderUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
1037
1044
  }
1038
1045
  };
1039
1046
  }();
@@ -23,10 +23,14 @@ const node = {
23
23
  "plural": false,
24
24
  "selections": [{
25
25
  "alias": null,
26
- "args": null,
26
+ "args": [{
27
+ "kind": "Literal",
28
+ "name": "format",
29
+ "value": "HTML"
30
+ }],
27
31
  "kind": "ScalarField",
28
32
  "name": "eulaAgreementLabel",
29
- "storageKey": null
33
+ "storageKey": "eulaAgreementLabel(format:\"HTML\")"
30
34
  }],
31
35
  "storageKey": null
32
36
  }, {
@@ -45,6 +49,6 @@ const node = {
45
49
  "type": "Viewer",
46
50
  "abstractKey": null
47
51
  };
48
- node.hash = '36c43f66f63cc09172ea336dfb04663d';
52
+ node.hash = '43e3f6416c11542af964035f3c40bade';
49
53
  var _default = node;
50
54
  exports.default = _default;
@@ -165,7 +165,7 @@ fragment CartOrder_viewer on Viewer {
165
165
  ...CartItem_viewer
166
166
  ...Checkout_viewer
167
167
  settings {
168
- eulaAgreementLabel
168
+ eulaAgreementLabel(format: HTML)
169
169
  }
170
170
  }
171
171
 
@@ -194,7 +194,8 @@ fragment CartTotals_order on Order {
194
194
  taxes {
195
195
  ...Price_price
196
196
  }
197
- isVatTax
197
+ taxName
198
+ gstIncluded
198
199
  }
199
200
 
200
201
  fragment Cart_viewer on Viewer {
@@ -565,10 +566,14 @@ const node = function () {
565
566
  "storageKey": null
566
567
  }, {
567
568
  "alias": null,
568
- "args": null,
569
+ "args": [{
570
+ "kind": "Literal",
571
+ "name": "format",
572
+ "value": "HTML"
573
+ }],
569
574
  "kind": "ScalarField",
570
575
  "name": "eulaAgreementLabel",
571
- "storageKey": null
576
+ "storageKey": "eulaAgreementLabel(format:\"HTML\")"
572
577
  }],
573
578
  "storageKey": null
574
579
  }, {
@@ -851,7 +856,13 @@ const node = function () {
851
856
  "alias": null,
852
857
  "args": null,
853
858
  "kind": "ScalarField",
854
- "name": "isVatTax",
859
+ "name": "taxName",
860
+ "storageKey": null
861
+ }, {
862
+ "alias": null,
863
+ "args": null,
864
+ "kind": "ScalarField",
865
+ "name": "gstIncluded",
855
866
  "storageKey": null
856
867
  }, {
857
868
  "alias": null,
@@ -1153,12 +1164,12 @@ const node = function () {
1153
1164
  }]
1154
1165
  },
1155
1166
  "params": {
1156
- "cacheID": "28649606897980b0116e51fb9bf61619",
1167
+ "cacheID": "9f918e79bfe86a0e3bb1589f40e85ae7",
1157
1168
  "id": null,
1158
1169
  "metadata": {},
1159
1170
  "name": "CartQuery",
1160
1171
  "operationKind": "query",
1161
- "text": "query CartQuery {\n viewer {\n ...Cart_viewer\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartItem_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartOrder_viewer on Viewer {\n ...CartItem_viewer\n ...Checkout_viewer\n settings {\n eulaAgreementLabel\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 taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment Cart_viewer on Viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment Checkout_viewer on Viewer {\n ...AddressFields_viewer\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n }\n stripeCredentials {\n stripePublishableKey\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
1172
+ "text": "query CartQuery {\n viewer {\n ...Cart_viewer\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartItem_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartOrder_viewer on Viewer {\n ...CartItem_viewer\n ...Checkout_viewer\n settings {\n eulaAgreementLabel(format: HTML)\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 taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Cart_viewer on Viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment Checkout_viewer on Viewer {\n ...AddressFields_viewer\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n }\n stripeCredentials {\n stripePublishableKey\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
1162
1173
  }
1163
1174
  };
1164
1175
  }();
@@ -48,7 +48,8 @@ fragment CartTotals_order on Order {
48
48
  taxes {
49
49
  ...Price_price
50
50
  }
51
- isVatTax
51
+ taxName
52
+ gstIncluded
52
53
  }
53
54
 
54
55
  fragment CouponCodeInput_order on Order {
@@ -269,7 +270,13 @@ const node = function () {
269
270
  "alias": null,
270
271
  "args": null,
271
272
  "kind": "ScalarField",
272
- "name": "isVatTax",
273
+ "name": "taxName",
274
+ "storageKey": null
275
+ }, {
276
+ "alias": null,
277
+ "args": null,
278
+ "kind": "ScalarField",
279
+ "name": "gstIncluded",
273
280
  "storageKey": null
274
281
  }],
275
282
  "storageKey": null
@@ -278,12 +285,12 @@ const node = function () {
278
285
  }]
279
286
  },
280
287
  "params": {
281
- "cacheID": "82b82899a4c70d062c890dad47919468",
288
+ "cacheID": "33e81e5f8180a4ce10e13e278d06465f",
282
289
  "id": null,
283
290
  "metadata": {},
284
291
  "name": "CartStateApplyCouponMutation",
285
292
  "operationKind": "mutation",
286
- "text": "mutation CartStateApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CouponCodeInput_order\n ...CartTotals_order\n id\n }\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
293
+ "text": "mutation CartStateApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CouponCodeInput_order\n ...CartTotals_order\n id\n }\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
287
294
  }
288
295
  };
289
296
  }();