fontdue-js 0.1.0-alpha7 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nvmrc +1 -0
- package/BuyButton.d.ts +3 -0
- package/BuyButton.js +1 -0
- package/CartButton.d.ts +3 -0
- package/CartButton.js +1 -0
- package/FontdueProvider.d.ts +3 -0
- package/FontdueProvider.js +1 -0
- package/NewsletterSignup.d.ts +3 -0
- package/NewsletterSignup.js +1 -0
- package/README.md +170 -2
- package/StoreModal.d.ts +3 -0
- package/StoreModal.js +1 -0
- package/TestFontsForm.d.ts +3 -0
- package/TestFontsForm.js +1 -0
- package/TypeTester.d.ts +3 -0
- package/TypeTester.js +1 -0
- package/TypeTesters.d.ts +3 -0
- package/TypeTesters.js +1 -0
- package/dist/__generated__/CartOrderApplyCouponMutation.graphql.js +11 -4
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +11 -4
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +11 -4
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +11 -4
- package/dist/__generated__/CartOrder_viewer.graphql.js +7 -3
- package/dist/__generated__/CartQuery.graphql.js +18 -7
- package/dist/__generated__/CartStateApplyCouponMutation.graphql.js +11 -4
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +11 -4
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +11 -4
- package/dist/__generated__/CartTotals_order.graphql.d.ts +2 -1
- package/dist/__generated__/CartTotals_order.graphql.js +8 -2
- package/dist/__generated__/CharacterViewer_Query.graphql.d.ts +16 -0
- package/dist/__generated__/CharacterViewer_Query.graphql.js +255 -0
- package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +49 -0
- package/dist/__generated__/CharacterViewer_collection.graphql.js +135 -0
- package/dist/__generated__/CharacterViewer_family.graphql.d.ts +28 -0
- package/dist/__generated__/CharacterViewer_family.graphql.js +102 -0
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +11 -4
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +11 -4
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +11 -4
- package/dist/__generated__/StoreModalCartQuery.graphql.js +11 -4
- package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +11 -4
- package/dist/__generated__/StoreModalReviewQuery.graphql.js +11 -4
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +11 -4
- package/dist/__generated__/TestFontsForm_Query.graphql.js +18 -9
- package/dist/__generated__/TestFontsForm_viewer.graphql.js +69 -57
- package/dist/__generated__/TypeTesterData_typeTester.graphql.d.ts +1 -0
- package/dist/__generated__/TypeTesterData_typeTester.graphql.js +48 -40
- package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.d.ts +16 -0
- package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.js +44 -0
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +62 -14
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +62 -14
- package/dist/__generated__/TypeTesters_collection.graphql.d.ts +7 -1
- package/dist/__generated__/TypeTesters_collection.graphql.js +32 -4
- package/dist/components/AddToCartBanner/index.js +2 -2
- package/dist/components/BuyButton/index.js +0 -18
- package/dist/components/Cart/AddressFields.js +2 -2
- package/dist/components/Cart/CartItem/VariableTextInput.js +1 -1
- package/dist/components/Cart/CartItem/index.js +5 -5
- package/dist/components/Cart/CartOrder.js +1 -1
- package/dist/components/Cart/CartTotals.js +4 -4
- package/dist/components/Cart/Checkout.js +4 -3
- package/dist/components/Cart/CustomerFields.js +55 -45
- package/dist/components/CharacterViewer/index.d.ts +6 -0
- package/dist/components/CharacterViewer/index.js +245 -0
- package/dist/components/Checkbox/index.d.ts +4 -0
- package/dist/components/{FontLoader → Checkbox}/index.js +17 -47
- package/dist/components/ConfigContext.d.ts +6 -0
- package/dist/components/CouponText/index.js +1 -1
- package/dist/components/Family/index.js +1 -1
- package/dist/components/FontStyle/index.js +1 -1
- package/dist/components/FontdueProvider/index.d.ts +2 -2
- package/dist/components/Icons/Align.d.ts +4 -0
- package/dist/components/Icons/Align.js +63 -0
- package/dist/components/Icons/CheckboxCrossed.d.ts +3 -0
- package/dist/components/Icons/CheckboxCrossed.js +30 -0
- package/dist/components/Icons/index.d.ts +1 -0
- package/dist/components/Icons/index.js +8 -0
- package/dist/components/NewsletterSignup/index.d.ts +2 -0
- package/dist/components/NewsletterSignup/index.js +4 -2
- package/dist/components/Price/index.js +1 -1
- package/dist/components/PriceBar/PriceBarSection.js +2 -2
- package/dist/components/Root/index.d.ts +4 -0
- package/dist/components/Root/index.js +94 -50
- package/dist/components/Root/productState.js +1 -1
- package/dist/components/Select/index.d.ts +11 -0
- package/dist/components/Select/index.js +44 -0
- package/dist/components/StoreModal/StoreModalCart.js +8 -3
- package/dist/components/StoreModal/StoreModalCheckout.js +6 -2
- package/dist/components/StoreModal/StoreModalFamilyButton.js +4 -4
- package/dist/components/StoreModal/StoreModalIndex.js +28 -16
- package/dist/components/StoreModal/StoreModalProduct.js +9 -3
- package/dist/components/StoreModal/createRouter.js +0 -1
- package/dist/components/StoreModal/types.d.ts +4 -0
- package/dist/components/StoreModal/types.js +5 -0
- package/dist/components/StoreModalProductLicenseSelection/LicenseElement.js +24 -12
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +1 -1
- package/dist/components/StoreModalProductLicenseSelection/index.js +1 -1
- package/dist/components/StoreModalProductSummary/index.js +3 -1
- package/dist/components/TestFontsForm/index.d.ts +2 -0
- package/dist/components/TestFontsForm/index.js +22 -24
- package/dist/components/ThemeConfig/index.js +1 -1
- package/dist/components/TypeTester/TypeTesterAlignButtons.d.ts +8 -0
- package/dist/components/TypeTester/TypeTesterAlignButtons.js +39 -0
- package/dist/components/TypeTester/TypeTesterContent.d.ts +6 -2
- package/dist/components/TypeTester/TypeTesterContent.js +22 -6
- package/dist/components/TypeTester/TypeTesterContext.d.ts +51 -7
- package/dist/components/TypeTester/TypeTesterContext.js +119 -9
- package/dist/components/TypeTester/TypeTesterFeatures.d.ts +1 -2
- package/dist/components/TypeTester/TypeTesterFeatures.js +113 -15
- package/dist/components/TypeTester/TypeTesterFeaturesButton.js +2 -1
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.d.ts +8 -0
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +93 -0
- package/dist/components/TypeTester/TypeTesterInput.js +1 -1
- package/dist/components/TypeTester/TypeTesterStandalone.d.ts +4 -0
- package/dist/components/TypeTester/TypeTesterStandalone.js +19 -7
- package/dist/components/TypeTester/TypeTesterState.d.ts +23 -25
- package/dist/components/TypeTester/TypeTesterState.js +69 -71
- package/dist/components/TypeTester/TypeTesterStyleSelect.js +20 -26
- package/dist/components/TypeTester/TypeTesterStyleSelectData.d.ts +1 -1
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +3 -1
- package/dist/components/TypeTester/TypeTesterToolbar.d.ts +9 -0
- package/dist/components/TypeTester/TypeTesterToolbar.js +57 -0
- package/dist/components/TypeTester/index.d.ts +19 -6
- package/dist/components/TypeTester/index.js +121 -113
- package/dist/components/TypeTester/types.d.ts +1 -0
- package/dist/components/TypeTester/useTypeTesterStyler.d.ts +3 -1
- package/dist/components/TypeTester/useTypeTesterStyler.js +13 -11
- package/dist/components/TypeTesterData/index.js +2 -1
- package/dist/components/TypeTesters/index.d.ts +3 -0
- package/dist/components/TypeTesters/index.js +73 -23
- package/dist/components/elements/EmptyCart/index.js +1 -3
- package/dist/components/elements/StoreModalIndexItem/index.js +18 -16
- package/dist/components/elements/StoreModalReviewConfirm/index.js +7 -1
- package/dist/components/elements/StoreModalReviewLayout/index.js +1 -1
- package/dist/components/useFontStyle.js +1 -1
- package/dist/relay-environment.js +1 -1
- package/dist/utils.js +3 -3
- package/dist/vanilla/FontStyle.js +1 -1
- package/fontdue.css +1650 -1052
- package/fontdue.css.map +1 -0
- package/package.json +12 -11
- package/useFontStyle.d.ts +3 -0
- package/useFontStyle.js +1 -0
- package/dist/index.js +0 -63
- package/dist/type-tester.js +0 -23
|
@@ -46,7 +46,8 @@ fragment CartTotals_order on Order {
|
|
|
46
46
|
taxes {
|
|
47
47
|
...Price_price
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
taxName
|
|
50
|
+
gstIncluded
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
fragment CouponCodeInput_order on Order {
|
|
@@ -249,7 +250,13 @@ const node = function () {
|
|
|
249
250
|
"alias": null,
|
|
250
251
|
"args": null,
|
|
251
252
|
"kind": "ScalarField",
|
|
252
|
-
"name": "
|
|
253
|
+
"name": "taxName",
|
|
254
|
+
"storageKey": null
|
|
255
|
+
}, {
|
|
256
|
+
"alias": null,
|
|
257
|
+
"args": null,
|
|
258
|
+
"kind": "ScalarField",
|
|
259
|
+
"name": "gstIncluded",
|
|
253
260
|
"storageKey": null
|
|
254
261
|
}],
|
|
255
262
|
"storageKey": null
|
|
@@ -258,12 +265,12 @@ const node = function () {
|
|
|
258
265
|
}]
|
|
259
266
|
},
|
|
260
267
|
"params": {
|
|
261
|
-
"cacheID": "
|
|
268
|
+
"cacheID": "3bbea0716885ee89a2cd611fe6c0b5d4",
|
|
262
269
|
"id": null,
|
|
263
270
|
"metadata": {},
|
|
264
271
|
"name": "CartStateRemoveDiscountMutation",
|
|
265
272
|
"operationKind": "mutation",
|
|
266
|
-
"text": "mutation CartStateRemoveDiscountMutation {\n removeDiscount {\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
|
|
273
|
+
"text": "mutation CartStateRemoveDiscountMutation {\n removeDiscount {\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"
|
|
267
274
|
}
|
|
268
275
|
};
|
|
269
276
|
}();
|
|
@@ -143,7 +143,8 @@ fragment CartTotals_order on Order {
|
|
|
143
143
|
taxes {
|
|
144
144
|
...Price_price
|
|
145
145
|
}
|
|
146
|
-
|
|
146
|
+
taxName
|
|
147
|
+
gstIncluded
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
fragment CollectionAa_product on SkuProduct {
|
|
@@ -749,7 +750,13 @@ const node = function () {
|
|
|
749
750
|
"alias": null,
|
|
750
751
|
"args": null,
|
|
751
752
|
"kind": "ScalarField",
|
|
752
|
-
"name": "
|
|
753
|
+
"name": "taxName",
|
|
754
|
+
"storageKey": null
|
|
755
|
+
}, {
|
|
756
|
+
"alias": null,
|
|
757
|
+
"args": null,
|
|
758
|
+
"kind": "ScalarField",
|
|
759
|
+
"name": "gstIncluded",
|
|
753
760
|
"storageKey": null
|
|
754
761
|
}],
|
|
755
762
|
"storageKey": null
|
|
@@ -760,12 +767,12 @@ const node = function () {
|
|
|
760
767
|
}]
|
|
761
768
|
},
|
|
762
769
|
"params": {
|
|
763
|
-
"cacheID": "
|
|
770
|
+
"cacheID": "9474c637ea2ec6279a98907a2f9f4a45",
|
|
764
771
|
"id": null,
|
|
765
772
|
"metadata": {},
|
|
766
773
|
"name": "CartStateUpdateMutation",
|
|
767
774
|
"operationKind": "mutation",
|
|
768
|
-
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartState_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n }\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 CartState_order on Order {\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n}\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
|
|
775
|
+
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartState_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n }\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 CartState_order on Order {\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n}\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 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 FontStyle_fontStyle on FontStyle {\n cssFamily\n name\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"
|
|
769
776
|
}
|
|
770
777
|
};
|
|
771
778
|
}();
|
|
@@ -23,7 +23,8 @@ export declare type CartTotals_order = {
|
|
|
23
23
|
readonly taxes: {
|
|
24
24
|
readonly " $fragmentRefs": FragmentRefs<"Price_price">;
|
|
25
25
|
} | null;
|
|
26
|
-
readonly
|
|
26
|
+
readonly taxName: string | null;
|
|
27
|
+
readonly gstIncluded: boolean | null;
|
|
27
28
|
readonly " $refType": "CartTotals_order";
|
|
28
29
|
};
|
|
29
30
|
export declare type CartTotals_order$data = CartTotals_order;
|
|
@@ -113,7 +113,13 @@ const node = function () {
|
|
|
113
113
|
"alias": null,
|
|
114
114
|
"args": null,
|
|
115
115
|
"kind": "ScalarField",
|
|
116
|
-
"name": "
|
|
116
|
+
"name": "taxName",
|
|
117
|
+
"storageKey": null
|
|
118
|
+
}, {
|
|
119
|
+
"alias": null,
|
|
120
|
+
"args": null,
|
|
121
|
+
"kind": "ScalarField",
|
|
122
|
+
"name": "gstIncluded",
|
|
117
123
|
"storageKey": null
|
|
118
124
|
}],
|
|
119
125
|
"type": "Order",
|
|
@@ -121,6 +127,6 @@ const node = function () {
|
|
|
121
127
|
};
|
|
122
128
|
}();
|
|
123
129
|
|
|
124
|
-
node.hash = '
|
|
130
|
+
node.hash = '698ea8bf4dd91473e057e19df6dc51b1';
|
|
125
131
|
var _default = node;
|
|
126
132
|
exports.default = _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ConcreteRequest } from "relay-runtime";
|
|
2
|
+
import { FragmentRefs } from "relay-runtime";
|
|
3
|
+
export declare type CharacterViewer_QueryVariables = {
|
|
4
|
+
collectionId: string;
|
|
5
|
+
};
|
|
6
|
+
export declare type CharacterViewer_QueryResponse = {
|
|
7
|
+
readonly node: {
|
|
8
|
+
readonly " $fragmentRefs": FragmentRefs<"CharacterViewer_collection">;
|
|
9
|
+
} | null;
|
|
10
|
+
};
|
|
11
|
+
export declare type CharacterViewer_Query = {
|
|
12
|
+
readonly response: CharacterViewer_QueryResponse;
|
|
13
|
+
readonly variables: CharacterViewer_QueryVariables;
|
|
14
|
+
};
|
|
15
|
+
declare const node: ConcreteRequest;
|
|
16
|
+
export default node;
|
|
@@ -0,0 +1,255 @@
|
|
|
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 CharacterViewer_Query(
|
|
15
|
+
$collectionId: ID!
|
|
16
|
+
) {
|
|
17
|
+
node(id: $collectionId) {
|
|
18
|
+
__typename
|
|
19
|
+
...CharacterViewer_collection
|
|
20
|
+
id
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
fragment CharacterViewer_collection on FontCollection {
|
|
25
|
+
featureStyle {
|
|
26
|
+
id
|
|
27
|
+
}
|
|
28
|
+
id
|
|
29
|
+
name
|
|
30
|
+
fontStyles {
|
|
31
|
+
id
|
|
32
|
+
cssFamily
|
|
33
|
+
name
|
|
34
|
+
characterBlocks {
|
|
35
|
+
name
|
|
36
|
+
characters
|
|
37
|
+
}
|
|
38
|
+
featureCharacters {
|
|
39
|
+
feature
|
|
40
|
+
name
|
|
41
|
+
characters
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
children(collectionTypes: [FAMILY]) {
|
|
45
|
+
id
|
|
46
|
+
name
|
|
47
|
+
fontStyles {
|
|
48
|
+
id
|
|
49
|
+
cssFamily
|
|
50
|
+
name
|
|
51
|
+
characterBlocks {
|
|
52
|
+
name
|
|
53
|
+
characters
|
|
54
|
+
}
|
|
55
|
+
featureCharacters {
|
|
56
|
+
feature
|
|
57
|
+
name
|
|
58
|
+
characters
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
*/
|
|
64
|
+
const node = function () {
|
|
65
|
+
var v0 = [{
|
|
66
|
+
"defaultValue": null,
|
|
67
|
+
"kind": "LocalArgument",
|
|
68
|
+
"name": "collectionId"
|
|
69
|
+
}],
|
|
70
|
+
v1 = [{
|
|
71
|
+
"kind": "Variable",
|
|
72
|
+
"name": "id",
|
|
73
|
+
"variableName": "collectionId"
|
|
74
|
+
}],
|
|
75
|
+
v2 = {
|
|
76
|
+
"alias": null,
|
|
77
|
+
"args": null,
|
|
78
|
+
"kind": "ScalarField",
|
|
79
|
+
"name": "id",
|
|
80
|
+
"storageKey": null
|
|
81
|
+
},
|
|
82
|
+
v3 = {
|
|
83
|
+
"alias": null,
|
|
84
|
+
"args": null,
|
|
85
|
+
"kind": "ScalarField",
|
|
86
|
+
"name": "name",
|
|
87
|
+
"storageKey": null
|
|
88
|
+
},
|
|
89
|
+
v4 = {
|
|
90
|
+
"alias": null,
|
|
91
|
+
"args": null,
|
|
92
|
+
"kind": "ScalarField",
|
|
93
|
+
"name": "characters",
|
|
94
|
+
"storageKey": null
|
|
95
|
+
},
|
|
96
|
+
v5 = {
|
|
97
|
+
"alias": null,
|
|
98
|
+
"args": null,
|
|
99
|
+
"concreteType": "FontStyle",
|
|
100
|
+
"kind": "LinkedField",
|
|
101
|
+
"name": "fontStyles",
|
|
102
|
+
"plural": true,
|
|
103
|
+
"selections": [v2
|
|
104
|
+
/*: any*/
|
|
105
|
+
, {
|
|
106
|
+
"alias": null,
|
|
107
|
+
"args": null,
|
|
108
|
+
"kind": "ScalarField",
|
|
109
|
+
"name": "cssFamily",
|
|
110
|
+
"storageKey": null
|
|
111
|
+
}, v3
|
|
112
|
+
/*: any*/
|
|
113
|
+
, {
|
|
114
|
+
"alias": null,
|
|
115
|
+
"args": null,
|
|
116
|
+
"concreteType": "CharacterBlock",
|
|
117
|
+
"kind": "LinkedField",
|
|
118
|
+
"name": "characterBlocks",
|
|
119
|
+
"plural": true,
|
|
120
|
+
"selections": [v3
|
|
121
|
+
/*: any*/
|
|
122
|
+
, v4
|
|
123
|
+
/*: any*/
|
|
124
|
+
],
|
|
125
|
+
"storageKey": null
|
|
126
|
+
}, {
|
|
127
|
+
"alias": null,
|
|
128
|
+
"args": null,
|
|
129
|
+
"concreteType": "FeatureCharacters",
|
|
130
|
+
"kind": "LinkedField",
|
|
131
|
+
"name": "featureCharacters",
|
|
132
|
+
"plural": true,
|
|
133
|
+
"selections": [{
|
|
134
|
+
"alias": null,
|
|
135
|
+
"args": null,
|
|
136
|
+
"kind": "ScalarField",
|
|
137
|
+
"name": "feature",
|
|
138
|
+
"storageKey": null
|
|
139
|
+
}, v3
|
|
140
|
+
/*: any*/
|
|
141
|
+
, v4
|
|
142
|
+
/*: any*/
|
|
143
|
+
],
|
|
144
|
+
"storageKey": null
|
|
145
|
+
}],
|
|
146
|
+
"storageKey": null
|
|
147
|
+
};
|
|
148
|
+
return {
|
|
149
|
+
"fragment": {
|
|
150
|
+
"argumentDefinitions": v0
|
|
151
|
+
/*: any*/
|
|
152
|
+
,
|
|
153
|
+
"kind": "Fragment",
|
|
154
|
+
"metadata": null,
|
|
155
|
+
"name": "CharacterViewer_Query",
|
|
156
|
+
"selections": [{
|
|
157
|
+
"alias": null,
|
|
158
|
+
"args": v1
|
|
159
|
+
/*: any*/
|
|
160
|
+
,
|
|
161
|
+
"concreteType": null,
|
|
162
|
+
"kind": "LinkedField",
|
|
163
|
+
"name": "node",
|
|
164
|
+
"plural": false,
|
|
165
|
+
"selections": [{
|
|
166
|
+
"args": null,
|
|
167
|
+
"kind": "FragmentSpread",
|
|
168
|
+
"name": "CharacterViewer_collection"
|
|
169
|
+
}],
|
|
170
|
+
"storageKey": null
|
|
171
|
+
}],
|
|
172
|
+
"type": "RootQueryType",
|
|
173
|
+
"abstractKey": null
|
|
174
|
+
},
|
|
175
|
+
"kind": "Request",
|
|
176
|
+
"operation": {
|
|
177
|
+
"argumentDefinitions": v0
|
|
178
|
+
/*: any*/
|
|
179
|
+
,
|
|
180
|
+
"kind": "Operation",
|
|
181
|
+
"name": "CharacterViewer_Query",
|
|
182
|
+
"selections": [{
|
|
183
|
+
"alias": null,
|
|
184
|
+
"args": v1
|
|
185
|
+
/*: any*/
|
|
186
|
+
,
|
|
187
|
+
"concreteType": null,
|
|
188
|
+
"kind": "LinkedField",
|
|
189
|
+
"name": "node",
|
|
190
|
+
"plural": false,
|
|
191
|
+
"selections": [{
|
|
192
|
+
"alias": null,
|
|
193
|
+
"args": null,
|
|
194
|
+
"kind": "ScalarField",
|
|
195
|
+
"name": "__typename",
|
|
196
|
+
"storageKey": null
|
|
197
|
+
}, v2
|
|
198
|
+
/*: any*/
|
|
199
|
+
, {
|
|
200
|
+
"kind": "InlineFragment",
|
|
201
|
+
"selections": [{
|
|
202
|
+
"alias": null,
|
|
203
|
+
"args": null,
|
|
204
|
+
"concreteType": "FontStyle",
|
|
205
|
+
"kind": "LinkedField",
|
|
206
|
+
"name": "featureStyle",
|
|
207
|
+
"plural": false,
|
|
208
|
+
"selections": [v2
|
|
209
|
+
/*: any*/
|
|
210
|
+
],
|
|
211
|
+
"storageKey": null
|
|
212
|
+
}, v3
|
|
213
|
+
/*: any*/
|
|
214
|
+
, v5
|
|
215
|
+
/*: any*/
|
|
216
|
+
, {
|
|
217
|
+
"alias": null,
|
|
218
|
+
"args": [{
|
|
219
|
+
"kind": "Literal",
|
|
220
|
+
"name": "collectionTypes",
|
|
221
|
+
"value": ["FAMILY"]
|
|
222
|
+
}],
|
|
223
|
+
"concreteType": "FontCollection",
|
|
224
|
+
"kind": "LinkedField",
|
|
225
|
+
"name": "children",
|
|
226
|
+
"plural": true,
|
|
227
|
+
"selections": [v2
|
|
228
|
+
/*: any*/
|
|
229
|
+
, v3
|
|
230
|
+
/*: any*/
|
|
231
|
+
, v5
|
|
232
|
+
/*: any*/
|
|
233
|
+
],
|
|
234
|
+
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
235
|
+
}],
|
|
236
|
+
"type": "FontCollection",
|
|
237
|
+
"abstractKey": null
|
|
238
|
+
}],
|
|
239
|
+
"storageKey": null
|
|
240
|
+
}]
|
|
241
|
+
},
|
|
242
|
+
"params": {
|
|
243
|
+
"cacheID": "20623638a41f7530e73d456e039a0433",
|
|
244
|
+
"id": null,
|
|
245
|
+
"metadata": {},
|
|
246
|
+
"name": "CharacterViewer_Query",
|
|
247
|
+
"operationKind": "query",
|
|
248
|
+
"text": "query CharacterViewer_Query(\n $collectionId: ID!\n) {\n node(id: $collectionId) {\n __typename\n ...CharacterViewer_collection\n id\n }\n}\n\nfragment CharacterViewer_collection on FontCollection {\n featureStyle {\n id\n }\n id\n name\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n fontStyles {\n id\n cssFamily\n name\n characterBlocks {\n name\n characters\n }\n featureCharacters {\n feature\n name\n characters\n }\n }\n }\n}\n"
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
}();
|
|
252
|
+
|
|
253
|
+
node.hash = '10b58f0e5e086adbcd2a0d4cd44c442c';
|
|
254
|
+
var _default = node;
|
|
255
|
+
exports.default = _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ReaderFragment } from "relay-runtime";
|
|
2
|
+
import { FragmentRefs } from "relay-runtime";
|
|
3
|
+
export declare type CharacterViewer_collection = {
|
|
4
|
+
readonly featureStyle: {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
} | null;
|
|
7
|
+
readonly id: string;
|
|
8
|
+
readonly name: string;
|
|
9
|
+
readonly fontStyles: ReadonlyArray<{
|
|
10
|
+
readonly id: string;
|
|
11
|
+
readonly cssFamily: string | null;
|
|
12
|
+
readonly name: string;
|
|
13
|
+
readonly characterBlocks: ReadonlyArray<{
|
|
14
|
+
readonly name: string;
|
|
15
|
+
readonly characters: ReadonlyArray<string>;
|
|
16
|
+
}> | null;
|
|
17
|
+
readonly featureCharacters: ReadonlyArray<{
|
|
18
|
+
readonly feature: string;
|
|
19
|
+
readonly name: string;
|
|
20
|
+
readonly characters: ReadonlyArray<string>;
|
|
21
|
+
}> | null;
|
|
22
|
+
}> | null;
|
|
23
|
+
readonly children: ReadonlyArray<{
|
|
24
|
+
readonly id: string;
|
|
25
|
+
readonly name: string;
|
|
26
|
+
readonly fontStyles: ReadonlyArray<{
|
|
27
|
+
readonly id: string;
|
|
28
|
+
readonly cssFamily: string | null;
|
|
29
|
+
readonly name: string;
|
|
30
|
+
readonly characterBlocks: ReadonlyArray<{
|
|
31
|
+
readonly name: string;
|
|
32
|
+
readonly characters: ReadonlyArray<string>;
|
|
33
|
+
}> | null;
|
|
34
|
+
readonly featureCharacters: ReadonlyArray<{
|
|
35
|
+
readonly feature: string;
|
|
36
|
+
readonly name: string;
|
|
37
|
+
readonly characters: ReadonlyArray<string>;
|
|
38
|
+
}> | null;
|
|
39
|
+
}> | null;
|
|
40
|
+
}> | null;
|
|
41
|
+
readonly " $refType": "CharacterViewer_collection";
|
|
42
|
+
};
|
|
43
|
+
export declare type CharacterViewer_collection$data = CharacterViewer_collection;
|
|
44
|
+
export declare type CharacterViewer_collection$key = {
|
|
45
|
+
readonly " $data"?: CharacterViewer_collection$data;
|
|
46
|
+
readonly " $fragmentRefs": FragmentRefs<"CharacterViewer_collection">;
|
|
47
|
+
};
|
|
48
|
+
declare const node: ReaderFragment;
|
|
49
|
+
export default node;
|
|
@@ -0,0 +1,135 @@
|
|
|
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
|
+
"alias": null,
|
|
15
|
+
"args": null,
|
|
16
|
+
"kind": "ScalarField",
|
|
17
|
+
"name": "id",
|
|
18
|
+
"storageKey": null
|
|
19
|
+
},
|
|
20
|
+
v1 = {
|
|
21
|
+
"alias": null,
|
|
22
|
+
"args": null,
|
|
23
|
+
"kind": "ScalarField",
|
|
24
|
+
"name": "name",
|
|
25
|
+
"storageKey": null
|
|
26
|
+
},
|
|
27
|
+
v2 = {
|
|
28
|
+
"alias": null,
|
|
29
|
+
"args": null,
|
|
30
|
+
"kind": "ScalarField",
|
|
31
|
+
"name": "characters",
|
|
32
|
+
"storageKey": null
|
|
33
|
+
},
|
|
34
|
+
v3 = {
|
|
35
|
+
"alias": null,
|
|
36
|
+
"args": null,
|
|
37
|
+
"concreteType": "FontStyle",
|
|
38
|
+
"kind": "LinkedField",
|
|
39
|
+
"name": "fontStyles",
|
|
40
|
+
"plural": true,
|
|
41
|
+
"selections": [v0
|
|
42
|
+
/*: any*/
|
|
43
|
+
, {
|
|
44
|
+
"alias": null,
|
|
45
|
+
"args": null,
|
|
46
|
+
"kind": "ScalarField",
|
|
47
|
+
"name": "cssFamily",
|
|
48
|
+
"storageKey": null
|
|
49
|
+
}, v1
|
|
50
|
+
/*: any*/
|
|
51
|
+
, {
|
|
52
|
+
"alias": null,
|
|
53
|
+
"args": null,
|
|
54
|
+
"concreteType": "CharacterBlock",
|
|
55
|
+
"kind": "LinkedField",
|
|
56
|
+
"name": "characterBlocks",
|
|
57
|
+
"plural": true,
|
|
58
|
+
"selections": [v1
|
|
59
|
+
/*: any*/
|
|
60
|
+
, v2
|
|
61
|
+
/*: any*/
|
|
62
|
+
],
|
|
63
|
+
"storageKey": null
|
|
64
|
+
}, {
|
|
65
|
+
"alias": null,
|
|
66
|
+
"args": null,
|
|
67
|
+
"concreteType": "FeatureCharacters",
|
|
68
|
+
"kind": "LinkedField",
|
|
69
|
+
"name": "featureCharacters",
|
|
70
|
+
"plural": true,
|
|
71
|
+
"selections": [{
|
|
72
|
+
"alias": null,
|
|
73
|
+
"args": null,
|
|
74
|
+
"kind": "ScalarField",
|
|
75
|
+
"name": "feature",
|
|
76
|
+
"storageKey": null
|
|
77
|
+
}, v1
|
|
78
|
+
/*: any*/
|
|
79
|
+
, v2
|
|
80
|
+
/*: any*/
|
|
81
|
+
],
|
|
82
|
+
"storageKey": null
|
|
83
|
+
}],
|
|
84
|
+
"storageKey": null
|
|
85
|
+
};
|
|
86
|
+
return {
|
|
87
|
+
"argumentDefinitions": [],
|
|
88
|
+
"kind": "Fragment",
|
|
89
|
+
"metadata": null,
|
|
90
|
+
"name": "CharacterViewer_collection",
|
|
91
|
+
"selections": [{
|
|
92
|
+
"alias": null,
|
|
93
|
+
"args": null,
|
|
94
|
+
"concreteType": "FontStyle",
|
|
95
|
+
"kind": "LinkedField",
|
|
96
|
+
"name": "featureStyle",
|
|
97
|
+
"plural": false,
|
|
98
|
+
"selections": [v0
|
|
99
|
+
/*: any*/
|
|
100
|
+
],
|
|
101
|
+
"storageKey": null
|
|
102
|
+
}, v0
|
|
103
|
+
/*: any*/
|
|
104
|
+
, v1
|
|
105
|
+
/*: any*/
|
|
106
|
+
, v3
|
|
107
|
+
/*: any*/
|
|
108
|
+
, {
|
|
109
|
+
"alias": null,
|
|
110
|
+
"args": [{
|
|
111
|
+
"kind": "Literal",
|
|
112
|
+
"name": "collectionTypes",
|
|
113
|
+
"value": ["FAMILY"]
|
|
114
|
+
}],
|
|
115
|
+
"concreteType": "FontCollection",
|
|
116
|
+
"kind": "LinkedField",
|
|
117
|
+
"name": "children",
|
|
118
|
+
"plural": true,
|
|
119
|
+
"selections": [v0
|
|
120
|
+
/*: any*/
|
|
121
|
+
, v1
|
|
122
|
+
/*: any*/
|
|
123
|
+
, v3
|
|
124
|
+
/*: any*/
|
|
125
|
+
],
|
|
126
|
+
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
127
|
+
}],
|
|
128
|
+
"type": "FontCollection",
|
|
129
|
+
"abstractKey": null
|
|
130
|
+
};
|
|
131
|
+
}();
|
|
132
|
+
|
|
133
|
+
node.hash = '6f5a8250fc907a798d7e83c8a9ce3f45';
|
|
134
|
+
var _default = node;
|
|
135
|
+
exports.default = _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ReaderFragment } from "relay-runtime";
|
|
2
|
+
import { FragmentRefs } from "relay-runtime";
|
|
3
|
+
export declare type CharacterViewer_family = {
|
|
4
|
+
readonly id: string;
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly fontStyles: ReadonlyArray<{
|
|
7
|
+
readonly id: string;
|
|
8
|
+
readonly cssFamily: string | null;
|
|
9
|
+
readonly name: string;
|
|
10
|
+
readonly characterBlocks: ReadonlyArray<{
|
|
11
|
+
readonly name: string;
|
|
12
|
+
readonly characters: ReadonlyArray<string>;
|
|
13
|
+
}> | null;
|
|
14
|
+
readonly featureCharacters: ReadonlyArray<{
|
|
15
|
+
readonly feature: string;
|
|
16
|
+
readonly name: string;
|
|
17
|
+
readonly characters: ReadonlyArray<string>;
|
|
18
|
+
}> | null;
|
|
19
|
+
}> | null;
|
|
20
|
+
readonly " $refType": "CharacterViewer_family";
|
|
21
|
+
};
|
|
22
|
+
export declare type CharacterViewer_family$data = CharacterViewer_family;
|
|
23
|
+
export declare type CharacterViewer_family$key = {
|
|
24
|
+
readonly " $data"?: CharacterViewer_family$data;
|
|
25
|
+
readonly " $fragmentRefs": FragmentRefs<"CharacterViewer_family">;
|
|
26
|
+
};
|
|
27
|
+
declare const node: ReaderFragment;
|
|
28
|
+
export default node;
|