fontdue-js 1.3.1 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/__generated__/NewsletterSignup_Query.graphql.d.ts +14 -0
- package/dist/__generated__/NewsletterSignup_Query.graphql.js +117 -0
- package/dist/__generated__/NewsletterSignup_viewer.graphql.d.ts +16 -0
- package/dist/__generated__/NewsletterSignup_viewer.graphql.js +56 -0
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +4 -0
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +18 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +7 -2
- package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.d.ts +1 -0
- package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.js +35 -27
- package/dist/__generated__/productState_Query.graphql.d.ts +4 -0
- package/dist/__generated__/productState_Query.graphql.js +29 -78
- package/dist/__generated__/productState_bundle.graphql.d.ts +1 -0
- package/dist/__generated__/productState_bundle.graphql.js +4 -2
- package/dist/__generated__/productState_collection.graphql.d.ts +2 -0
- package/dist/__generated__/productState_collection.graphql.js +4 -2
- package/dist/__generated__/productState_node.graphql.d.ts +4 -0
- package/dist/__generated__/productState_node.graphql.js +3 -1
- package/dist/components/NewsletterSignup/index.d.ts +4 -3
- package/dist/components/NewsletterSignup/index.js +54 -8
- package/dist/components/Root/productState.d.ts +1 -0
- package/dist/components/Root/productState.js +9 -2
- package/dist/components/StoreModal/StoreModalFamily.js +5 -4
- package/dist/components/StoreModal/StoreModalFamilyButton.js +1 -1
- package/dist/components/StoreModal/StoreModalStyleButton.js +5 -6
- package/dist/components/TestFontsForm/index.js +3 -2
- package/dist/components/elements/StoreModalFamilyButton/index.js +2 -4
- package/dist/components/elements/StoreModalStyleButton/index.d.ts +1 -1
- package/dist/components/elements/StoreModalStyleButton/index.js +3 -3
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +5 -5
- package/fontdue.css +21 -16
- package/fontdue.css.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## 1.5.1
|
|
2
|
+
|
|
3
|
+
- Fixed issues with StoreModal precart button colors
|
|
4
|
+
|
|
5
|
+
## 1.5.0
|
|
6
|
+
|
|
7
|
+
- NewsletterSignup improvements
|
|
8
|
+
- Added `successLabel` prop to customize success message
|
|
9
|
+
- Success label can also be set via "Labels" settings in CMS
|
|
10
|
+
|
|
11
|
+
## 1.4.0
|
|
12
|
+
|
|
13
|
+
- StoreModal precart improvements
|
|
14
|
+
- show styles that don't have a price (since they'll be included with collection purchase)
|
|
15
|
+
- show collections as non-clickable headers when they don't have a price
|
|
16
|
+
|
|
17
|
+
## 1.3.1
|
|
18
|
+
|
|
19
|
+
- Adjusted StoreModal layouts
|
|
20
|
+
|
|
1
21
|
## 1.3.0
|
|
2
22
|
|
|
3
23
|
- Improved responsive layouts in the StoreModal
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ConcreteRequest } from "relay-runtime";
|
|
2
|
+
import { FragmentRefs } from "relay-runtime";
|
|
3
|
+
export declare type NewsletterSignup_QueryVariables = {};
|
|
4
|
+
export declare type NewsletterSignup_QueryResponse = {
|
|
5
|
+
readonly viewer: {
|
|
6
|
+
readonly " $fragmentRefs": FragmentRefs<"NewsletterSignup_viewer">;
|
|
7
|
+
} | null;
|
|
8
|
+
};
|
|
9
|
+
export declare type NewsletterSignup_Query = {
|
|
10
|
+
readonly response: NewsletterSignup_QueryResponse;
|
|
11
|
+
readonly variables: NewsletterSignup_QueryVariables;
|
|
12
|
+
};
|
|
13
|
+
declare const node: ConcreteRequest;
|
|
14
|
+
export default node;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
// @ts-nocheck
|
|
12
|
+
|
|
13
|
+
/*
|
|
14
|
+
query NewsletterSignup_Query {
|
|
15
|
+
viewer {
|
|
16
|
+
...NewsletterSignup_viewer
|
|
17
|
+
id
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
fragment NewsletterSignup_viewer on Viewer {
|
|
22
|
+
settings {
|
|
23
|
+
newsletterOptInLabel(format: HTML)
|
|
24
|
+
newsletterSuccessLabel(format: HTML)
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
*/
|
|
28
|
+
const node = function () {
|
|
29
|
+
var v0 = [{
|
|
30
|
+
"kind": "Literal",
|
|
31
|
+
"name": "format",
|
|
32
|
+
"value": "HTML"
|
|
33
|
+
}];
|
|
34
|
+
return {
|
|
35
|
+
"fragment": {
|
|
36
|
+
"argumentDefinitions": [],
|
|
37
|
+
"kind": "Fragment",
|
|
38
|
+
"metadata": null,
|
|
39
|
+
"name": "NewsletterSignup_Query",
|
|
40
|
+
"selections": [{
|
|
41
|
+
"alias": null,
|
|
42
|
+
"args": null,
|
|
43
|
+
"concreteType": "Viewer",
|
|
44
|
+
"kind": "LinkedField",
|
|
45
|
+
"name": "viewer",
|
|
46
|
+
"plural": false,
|
|
47
|
+
"selections": [{
|
|
48
|
+
"args": null,
|
|
49
|
+
"kind": "FragmentSpread",
|
|
50
|
+
"name": "NewsletterSignup_viewer"
|
|
51
|
+
}],
|
|
52
|
+
"storageKey": null
|
|
53
|
+
}],
|
|
54
|
+
"type": "RootQueryType",
|
|
55
|
+
"abstractKey": null
|
|
56
|
+
},
|
|
57
|
+
"kind": "Request",
|
|
58
|
+
"operation": {
|
|
59
|
+
"argumentDefinitions": [],
|
|
60
|
+
"kind": "Operation",
|
|
61
|
+
"name": "NewsletterSignup_Query",
|
|
62
|
+
"selections": [{
|
|
63
|
+
"alias": null,
|
|
64
|
+
"args": null,
|
|
65
|
+
"concreteType": "Viewer",
|
|
66
|
+
"kind": "LinkedField",
|
|
67
|
+
"name": "viewer",
|
|
68
|
+
"plural": false,
|
|
69
|
+
"selections": [{
|
|
70
|
+
"alias": null,
|
|
71
|
+
"args": null,
|
|
72
|
+
"concreteType": "Settings",
|
|
73
|
+
"kind": "LinkedField",
|
|
74
|
+
"name": "settings",
|
|
75
|
+
"plural": false,
|
|
76
|
+
"selections": [{
|
|
77
|
+
"alias": null,
|
|
78
|
+
"args": v0
|
|
79
|
+
/*: any*/
|
|
80
|
+
,
|
|
81
|
+
"kind": "ScalarField",
|
|
82
|
+
"name": "newsletterOptInLabel",
|
|
83
|
+
"storageKey": "newsletterOptInLabel(format:\"HTML\")"
|
|
84
|
+
}, {
|
|
85
|
+
"alias": null,
|
|
86
|
+
"args": v0
|
|
87
|
+
/*: any*/
|
|
88
|
+
,
|
|
89
|
+
"kind": "ScalarField",
|
|
90
|
+
"name": "newsletterSuccessLabel",
|
|
91
|
+
"storageKey": "newsletterSuccessLabel(format:\"HTML\")"
|
|
92
|
+
}],
|
|
93
|
+
"storageKey": null
|
|
94
|
+
}, {
|
|
95
|
+
"alias": null,
|
|
96
|
+
"args": null,
|
|
97
|
+
"kind": "ScalarField",
|
|
98
|
+
"name": "id",
|
|
99
|
+
"storageKey": null
|
|
100
|
+
}],
|
|
101
|
+
"storageKey": null
|
|
102
|
+
}]
|
|
103
|
+
},
|
|
104
|
+
"params": {
|
|
105
|
+
"cacheID": "c2ac1f4cd512a8382e6abc76847214aa",
|
|
106
|
+
"id": null,
|
|
107
|
+
"metadata": {},
|
|
108
|
+
"name": "NewsletterSignup_Query",
|
|
109
|
+
"operationKind": "query",
|
|
110
|
+
"text": "query NewsletterSignup_Query {\n viewer {\n ...NewsletterSignup_viewer\n id\n }\n}\n\nfragment NewsletterSignup_viewer on Viewer {\n settings {\n newsletterOptInLabel(format: HTML)\n newsletterSuccessLabel(format: HTML)\n }\n}\n"
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
}();
|
|
114
|
+
|
|
115
|
+
node.hash = 'ede23ce8fe999201dacb066fcef009af';
|
|
116
|
+
var _default = node;
|
|
117
|
+
exports.default = _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReaderFragment } from "relay-runtime";
|
|
2
|
+
import { FragmentRefs } from "relay-runtime";
|
|
3
|
+
export declare type NewsletterSignup_viewer = {
|
|
4
|
+
readonly settings: {
|
|
5
|
+
readonly newsletterOptInLabel: string | null;
|
|
6
|
+
readonly newsletterSuccessLabel: string | null;
|
|
7
|
+
} | null;
|
|
8
|
+
readonly " $refType": "NewsletterSignup_viewer";
|
|
9
|
+
};
|
|
10
|
+
export declare type NewsletterSignup_viewer$data = NewsletterSignup_viewer;
|
|
11
|
+
export declare type NewsletterSignup_viewer$key = {
|
|
12
|
+
readonly " $data"?: NewsletterSignup_viewer$data;
|
|
13
|
+
readonly " $fragmentRefs": FragmentRefs<"NewsletterSignup_viewer">;
|
|
14
|
+
};
|
|
15
|
+
declare const node: ReaderFragment;
|
|
16
|
+
export default node;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
// @ts-nocheck
|
|
12
|
+
const node = function () {
|
|
13
|
+
var v0 = [{
|
|
14
|
+
"kind": "Literal",
|
|
15
|
+
"name": "format",
|
|
16
|
+
"value": "HTML"
|
|
17
|
+
}];
|
|
18
|
+
return {
|
|
19
|
+
"argumentDefinitions": [],
|
|
20
|
+
"kind": "Fragment",
|
|
21
|
+
"metadata": null,
|
|
22
|
+
"name": "NewsletterSignup_viewer",
|
|
23
|
+
"selections": [{
|
|
24
|
+
"alias": null,
|
|
25
|
+
"args": null,
|
|
26
|
+
"concreteType": "Settings",
|
|
27
|
+
"kind": "LinkedField",
|
|
28
|
+
"name": "settings",
|
|
29
|
+
"plural": false,
|
|
30
|
+
"selections": [{
|
|
31
|
+
"alias": null,
|
|
32
|
+
"args": v0
|
|
33
|
+
/*: any*/
|
|
34
|
+
,
|
|
35
|
+
"kind": "ScalarField",
|
|
36
|
+
"name": "newsletterOptInLabel",
|
|
37
|
+
"storageKey": "newsletterOptInLabel(format:\"HTML\")"
|
|
38
|
+
}, {
|
|
39
|
+
"alias": null,
|
|
40
|
+
"args": v0
|
|
41
|
+
/*: any*/
|
|
42
|
+
,
|
|
43
|
+
"kind": "ScalarField",
|
|
44
|
+
"name": "newsletterSuccessLabel",
|
|
45
|
+
"storageKey": "newsletterSuccessLabel(format:\"HTML\")"
|
|
46
|
+
}],
|
|
47
|
+
"storageKey": null
|
|
48
|
+
}],
|
|
49
|
+
"type": "Viewer",
|
|
50
|
+
"abstractKey": null
|
|
51
|
+
};
|
|
52
|
+
}();
|
|
53
|
+
|
|
54
|
+
node.hash = '05823550a311988e999fd9b95cc39dac';
|
|
55
|
+
var _default = node;
|
|
56
|
+
exports.default = _default;
|
|
@@ -2,6 +2,10 @@ import { ReaderFragment } from "relay-runtime";
|
|
|
2
2
|
import { FragmentRefs } from "relay-runtime";
|
|
3
3
|
export declare type StoreModalFamily_collection = {
|
|
4
4
|
readonly cssUrl: string | null;
|
|
5
|
+
readonly collectionType: string;
|
|
6
|
+
readonly sku: {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
} | null;
|
|
5
9
|
readonly bundles: ReadonlyArray<{
|
|
6
10
|
readonly id: string;
|
|
7
11
|
readonly fontStyles: ReadonlyArray<{
|
|
@@ -62,6 +62,23 @@ const node = function () {
|
|
|
62
62
|
"kind": "ScalarField",
|
|
63
63
|
"name": "cssUrl",
|
|
64
64
|
"storageKey": null
|
|
65
|
+
}, {
|
|
66
|
+
"alias": null,
|
|
67
|
+
"args": null,
|
|
68
|
+
"kind": "ScalarField",
|
|
69
|
+
"name": "collectionType",
|
|
70
|
+
"storageKey": null
|
|
71
|
+
}, {
|
|
72
|
+
"alias": null,
|
|
73
|
+
"args": null,
|
|
74
|
+
"concreteType": "Sku",
|
|
75
|
+
"kind": "LinkedField",
|
|
76
|
+
"name": "sku",
|
|
77
|
+
"plural": false,
|
|
78
|
+
"selections": [v0
|
|
79
|
+
/*: any*/
|
|
80
|
+
],
|
|
81
|
+
"storageKey": null
|
|
65
82
|
}, {
|
|
66
83
|
"alias": null,
|
|
67
84
|
"args": null,
|
|
@@ -91,6 +108,6 @@ const node = function () {
|
|
|
91
108
|
};
|
|
92
109
|
}();
|
|
93
110
|
|
|
94
|
-
node.hash = '
|
|
111
|
+
node.hash = 'ba6def0c7ad16af4a476e64ef4e1dcca';
|
|
95
112
|
var _default = node;
|
|
96
113
|
exports.default = _default;
|
|
@@ -85,6 +85,10 @@ fragment StoreModalFamilyButton_collection on FontCollection {
|
|
|
85
85
|
fragment StoreModalFamily_collection on FontCollection {
|
|
86
86
|
...StoreModalFamilyButton_collection
|
|
87
87
|
cssUrl
|
|
88
|
+
collectionType
|
|
89
|
+
sku {
|
|
90
|
+
id
|
|
91
|
+
}
|
|
88
92
|
bundles {
|
|
89
93
|
id
|
|
90
94
|
fontStyles {
|
|
@@ -167,6 +171,7 @@ fragment StoreModalProductSummary_viewer on Viewer {
|
|
|
167
171
|
}
|
|
168
172
|
|
|
169
173
|
fragment StoreModalStyleButton_fontStyle on FontStyle {
|
|
174
|
+
id
|
|
170
175
|
name
|
|
171
176
|
sku {
|
|
172
177
|
...SKUPrice_sku
|
|
@@ -729,12 +734,12 @@ const node = function () {
|
|
|
729
734
|
}]
|
|
730
735
|
},
|
|
731
736
|
"params": {
|
|
732
|
-
"cacheID": "
|
|
737
|
+
"cacheID": "aded364bd29800c32be6e43a6caa779f",
|
|
733
738
|
"id": null,
|
|
734
739
|
"metadata": {},
|
|
735
740
|
"name": "StoreModalProductQuery",
|
|
736
741
|
"operationKind": "query",
|
|
737
|
-
"text": "query StoreModalProductQuery(\n $productId: ID!\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalFamily_collection\n ... on FontCollection {\n children(collectionTypes: [FAMILY]) {\n id\n ...StoreModalFamily_collection\n }\n }\n }\n viewer {\n ...StoreModalProductLicenseSelection_viewer\n ...StoreModalProductSummary_viewer\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle on Bundle {\n name\n sku {\n ...SKUPrice_sku\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection on FontCollection {\n collectionType\n name\n sku {\n ...SKUPrice_sku\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n}\n\nfragment StoreModalFamily_collection on FontCollection {\n ...StoreModalFamilyButton_collection\n cssUrl\n bundles {\n id\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle\n }\n ...StoreModalBundleButton_bundle\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle\n }\n}\n\nfragment StoreModalProductLicenseSelection_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n defaultSelected\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer on Viewer {\n precart(skuIds: [], licenseOptions: []) {\n skus {\n price(licenseOptions: []) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: []) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: []) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n\nfragment StoreModalStyleButton_fontStyle on FontStyle {\n name\n sku {\n ...SKUPrice_sku\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
742
|
+
"text": "query StoreModalProductQuery(\n $productId: ID!\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalFamily_collection\n ... on FontCollection {\n children(collectionTypes: [FAMILY]) {\n id\n ...StoreModalFamily_collection\n }\n }\n }\n viewer {\n ...StoreModalProductLicenseSelection_viewer\n ...StoreModalProductSummary_viewer\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle on Bundle {\n name\n sku {\n ...SKUPrice_sku\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection on FontCollection {\n collectionType\n name\n sku {\n ...SKUPrice_sku\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n}\n\nfragment StoreModalFamily_collection on FontCollection {\n ...StoreModalFamilyButton_collection\n cssUrl\n collectionType\n sku {\n id\n }\n bundles {\n id\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle\n }\n ...StoreModalBundleButton_bundle\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle\n }\n}\n\nfragment StoreModalProductLicenseSelection_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n defaultSelected\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer on Viewer {\n precart(skuIds: [], licenseOptions: []) {\n skus {\n price(licenseOptions: []) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: []) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: []) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n\nfragment StoreModalStyleButton_fontStyle on FontStyle {\n id\n name\n sku {\n ...SKUPrice_sku\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
738
743
|
}
|
|
739
744
|
};
|
|
740
745
|
}();
|
|
@@ -9,44 +9,52 @@ exports.default = void 0;
|
|
|
9
9
|
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
// @ts-nocheck
|
|
12
|
-
const node = {
|
|
13
|
-
|
|
14
|
-
"kind": "Fragment",
|
|
15
|
-
"metadata": null,
|
|
16
|
-
"name": "StoreModalStyleButton_fontStyle",
|
|
17
|
-
"selections": [{
|
|
12
|
+
const node = function () {
|
|
13
|
+
var v0 = {
|
|
18
14
|
"alias": null,
|
|
19
15
|
"args": null,
|
|
20
16
|
"kind": "ScalarField",
|
|
21
|
-
"name": "
|
|
17
|
+
"name": "id",
|
|
22
18
|
"storageKey": null
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"name": "
|
|
29
|
-
"
|
|
30
|
-
|
|
19
|
+
};
|
|
20
|
+
return {
|
|
21
|
+
"argumentDefinitions": [],
|
|
22
|
+
"kind": "Fragment",
|
|
23
|
+
"metadata": null,
|
|
24
|
+
"name": "StoreModalStyleButton_fontStyle",
|
|
25
|
+
"selections": [v0
|
|
26
|
+
/*: any*/
|
|
27
|
+
, {
|
|
31
28
|
"alias": null,
|
|
32
29
|
"args": null,
|
|
33
30
|
"kind": "ScalarField",
|
|
34
|
-
"name": "
|
|
31
|
+
"name": "name",
|
|
32
|
+
"storageKey": null
|
|
33
|
+
}, {
|
|
34
|
+
"alias": null,
|
|
35
|
+
"args": null,
|
|
36
|
+
"concreteType": "Sku",
|
|
37
|
+
"kind": "LinkedField",
|
|
38
|
+
"name": "sku",
|
|
39
|
+
"plural": false,
|
|
40
|
+
"selections": [v0
|
|
41
|
+
/*: any*/
|
|
42
|
+
, {
|
|
43
|
+
"args": null,
|
|
44
|
+
"kind": "FragmentSpread",
|
|
45
|
+
"name": "SKUPrice_sku"
|
|
46
|
+
}],
|
|
35
47
|
"storageKey": null
|
|
36
48
|
}, {
|
|
37
49
|
"args": null,
|
|
38
50
|
"kind": "FragmentSpread",
|
|
39
|
-
"name": "
|
|
51
|
+
"name": "FontStyle_fontStyle"
|
|
40
52
|
}],
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"type": "FontStyle",
|
|
48
|
-
"abstractKey": null
|
|
49
|
-
};
|
|
50
|
-
node.hash = 'd09b160f8a911647b91d0a0885d84347';
|
|
53
|
+
"type": "FontStyle",
|
|
54
|
+
"abstractKey": null
|
|
55
|
+
};
|
|
56
|
+
}();
|
|
57
|
+
|
|
58
|
+
node.hash = '89e85cab35cfb1e88e83fcb01ba235ac';
|
|
51
59
|
var _default = node;
|
|
52
60
|
exports.default = _default;
|
|
@@ -14,6 +14,7 @@ export declare type productState_QueryResponse = {
|
|
|
14
14
|
};
|
|
15
15
|
} | null;
|
|
16
16
|
readonly fontStyles: ReadonlyArray<{
|
|
17
|
+
readonly id: string;
|
|
17
18
|
readonly sku: {
|
|
18
19
|
readonly id: string;
|
|
19
20
|
readonly price: {
|
|
@@ -31,6 +32,7 @@ export declare type productState_QueryResponse = {
|
|
|
31
32
|
};
|
|
32
33
|
} | null;
|
|
33
34
|
readonly fontStyles: ReadonlyArray<{
|
|
35
|
+
readonly id: string;
|
|
34
36
|
readonly sku: {
|
|
35
37
|
readonly id: string;
|
|
36
38
|
readonly price: {
|
|
@@ -49,6 +51,7 @@ export declare type productState_QueryResponse = {
|
|
|
49
51
|
};
|
|
50
52
|
} | null;
|
|
51
53
|
readonly fontStyles: ReadonlyArray<{
|
|
54
|
+
readonly id: string;
|
|
52
55
|
readonly sku: {
|
|
53
56
|
readonly id: string;
|
|
54
57
|
readonly price: {
|
|
@@ -66,6 +69,7 @@ export declare type productState_QueryResponse = {
|
|
|
66
69
|
};
|
|
67
70
|
} | null;
|
|
68
71
|
readonly fontStyles: ReadonlyArray<{
|
|
72
|
+
readonly id: string;
|
|
69
73
|
readonly sku: {
|
|
70
74
|
readonly id: string;
|
|
71
75
|
readonly price: {
|
|
@@ -27,13 +27,13 @@ query productState_Query(
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
fontStyles {
|
|
30
|
+
id
|
|
30
31
|
sku {
|
|
31
32
|
id
|
|
32
33
|
price {
|
|
33
34
|
amount
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
|
-
id
|
|
37
37
|
}
|
|
38
38
|
bundles {
|
|
39
39
|
id
|
|
@@ -45,13 +45,13 @@ query productState_Query(
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
fontStyles {
|
|
48
|
+
id
|
|
48
49
|
sku {
|
|
49
50
|
id
|
|
50
51
|
price {
|
|
51
52
|
amount
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
|
-
id
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
children(collectionTypes: [FAMILY]) {
|
|
@@ -64,13 +64,13 @@ query productState_Query(
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
fontStyles {
|
|
67
|
+
id
|
|
67
68
|
sku {
|
|
68
69
|
id
|
|
69
70
|
price {
|
|
70
71
|
amount
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
|
-
id
|
|
74
74
|
}
|
|
75
75
|
bundles {
|
|
76
76
|
id
|
|
@@ -82,13 +82,13 @@ query productState_Query(
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
fontStyles {
|
|
85
|
+
id
|
|
85
86
|
sku {
|
|
86
87
|
id
|
|
87
88
|
price {
|
|
88
89
|
amount
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
|
-
id
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -163,7 +163,9 @@ const node = function () {
|
|
|
163
163
|
"kind": "LinkedField",
|
|
164
164
|
"name": "fontStyles",
|
|
165
165
|
"plural": true,
|
|
166
|
-
"selections": [
|
|
166
|
+
"selections": [v3
|
|
167
|
+
/*: any*/
|
|
168
|
+
, v5
|
|
167
169
|
/*: any*/
|
|
168
170
|
],
|
|
169
171
|
"storageKey": null
|
|
@@ -186,31 +188,16 @@ const node = function () {
|
|
|
186
188
|
],
|
|
187
189
|
"storageKey": null
|
|
188
190
|
},
|
|
189
|
-
v8 =
|
|
190
|
-
"kind": "Literal",
|
|
191
|
-
"name": "collectionTypes",
|
|
192
|
-
"value": ["FAMILY"]
|
|
193
|
-
}],
|
|
194
|
-
v9 = {
|
|
195
|
-
"alias": null,
|
|
196
|
-
"args": null,
|
|
197
|
-
"concreteType": "FontStyle",
|
|
198
|
-
"kind": "LinkedField",
|
|
199
|
-
"name": "fontStyles",
|
|
200
|
-
"plural": true,
|
|
201
|
-
"selections": [v5
|
|
202
|
-
/*: any*/
|
|
203
|
-
, v3
|
|
204
|
-
/*: any*/
|
|
205
|
-
],
|
|
206
|
-
"storageKey": null
|
|
207
|
-
},
|
|
208
|
-
v10 = {
|
|
191
|
+
v8 = {
|
|
209
192
|
"alias": null,
|
|
210
|
-
"args":
|
|
211
|
-
|
|
193
|
+
"args": [{
|
|
194
|
+
"kind": "Literal",
|
|
195
|
+
"name": "collectionTypes",
|
|
196
|
+
"value": ["FAMILY"]
|
|
197
|
+
}],
|
|
198
|
+
"concreteType": "FontCollection",
|
|
212
199
|
"kind": "LinkedField",
|
|
213
|
-
"name": "
|
|
200
|
+
"name": "children",
|
|
214
201
|
"plural": true,
|
|
215
202
|
"selections": [v3
|
|
216
203
|
/*: any*/
|
|
@@ -218,10 +205,12 @@ const node = function () {
|
|
|
218
205
|
/*: any*/
|
|
219
206
|
, v5
|
|
220
207
|
/*: any*/
|
|
221
|
-
,
|
|
208
|
+
, v6
|
|
209
|
+
/*: any*/
|
|
210
|
+
, v7
|
|
222
211
|
/*: any*/
|
|
223
212
|
],
|
|
224
|
-
"storageKey":
|
|
213
|
+
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
225
214
|
};
|
|
226
215
|
return {
|
|
227
216
|
"fragment": {
|
|
@@ -254,28 +243,9 @@ const node = function () {
|
|
|
254
243
|
/*: any*/
|
|
255
244
|
, v7
|
|
256
245
|
/*: any*/
|
|
257
|
-
,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
/*: any*/
|
|
261
|
-
,
|
|
262
|
-
"concreteType": "FontCollection",
|
|
263
|
-
"kind": "LinkedField",
|
|
264
|
-
"name": "children",
|
|
265
|
-
"plural": true,
|
|
266
|
-
"selections": [v3
|
|
267
|
-
/*: any*/
|
|
268
|
-
, v4
|
|
269
|
-
/*: any*/
|
|
270
|
-
, v5
|
|
271
|
-
/*: any*/
|
|
272
|
-
, v6
|
|
273
|
-
/*: any*/
|
|
274
|
-
, v7
|
|
275
|
-
/*: any*/
|
|
276
|
-
],
|
|
277
|
-
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
278
|
-
}],
|
|
246
|
+
, v8
|
|
247
|
+
/*: any*/
|
|
248
|
+
],
|
|
279
249
|
"type": "FontCollection",
|
|
280
250
|
"abstractKey": null
|
|
281
251
|
}],
|
|
@@ -310,32 +280,13 @@ const node = function () {
|
|
|
310
280
|
/*: any*/
|
|
311
281
|
, v5
|
|
312
282
|
/*: any*/
|
|
313
|
-
,
|
|
283
|
+
, v6
|
|
284
|
+
/*: any*/
|
|
285
|
+
, v7
|
|
314
286
|
/*: any*/
|
|
315
|
-
,
|
|
287
|
+
, v8
|
|
316
288
|
/*: any*/
|
|
317
|
-
,
|
|
318
|
-
"alias": null,
|
|
319
|
-
"args": v8
|
|
320
|
-
/*: any*/
|
|
321
|
-
,
|
|
322
|
-
"concreteType": "FontCollection",
|
|
323
|
-
"kind": "LinkedField",
|
|
324
|
-
"name": "children",
|
|
325
|
-
"plural": true,
|
|
326
|
-
"selections": [v3
|
|
327
|
-
/*: any*/
|
|
328
|
-
, v4
|
|
329
|
-
/*: any*/
|
|
330
|
-
, v5
|
|
331
|
-
/*: any*/
|
|
332
|
-
, v9
|
|
333
|
-
/*: any*/
|
|
334
|
-
, v10
|
|
335
|
-
/*: any*/
|
|
336
|
-
],
|
|
337
|
-
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
338
|
-
}],
|
|
289
|
+
],
|
|
339
290
|
"type": "FontCollection",
|
|
340
291
|
"abstractKey": null
|
|
341
292
|
}],
|
|
@@ -343,12 +294,12 @@ const node = function () {
|
|
|
343
294
|
}]
|
|
344
295
|
},
|
|
345
296
|
"params": {
|
|
346
|
-
"cacheID": "
|
|
297
|
+
"cacheID": "90025dc788ad02719883b403aa953c6d",
|
|
347
298
|
"id": null,
|
|
348
299
|
"metadata": {},
|
|
349
300
|
"name": "productState_Query",
|
|
350
301
|
"operationKind": "query",
|
|
351
|
-
"text": "query productState_Query(\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ... on FontCollection {\n __typename\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n sku {\n id\n price {\n amount\n }\n }\n
|
|
302
|
+
"text": "query productState_Query(\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ... on FontCollection {\n __typename\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n }\n }\n id\n }\n}\n"
|
|
352
303
|
}
|
|
353
304
|
};
|
|
354
305
|
}();
|
|
@@ -68,7 +68,9 @@ const node = function () {
|
|
|
68
68
|
"kind": "LinkedField",
|
|
69
69
|
"name": "fontStyles",
|
|
70
70
|
"plural": true,
|
|
71
|
-
"selections": [
|
|
71
|
+
"selections": [v0
|
|
72
|
+
/*: any*/
|
|
73
|
+
, v1
|
|
72
74
|
/*: any*/
|
|
73
75
|
],
|
|
74
76
|
"storageKey": null
|
|
@@ -78,6 +80,6 @@ const node = function () {
|
|
|
78
80
|
};
|
|
79
81
|
}();
|
|
80
82
|
|
|
81
|
-
node.hash = '
|
|
83
|
+
node.hash = 'fa38bbc9f2062a727da4f5062b362054';
|
|
82
84
|
var _default = node;
|
|
83
85
|
exports.default = _default;
|