fontdue-js 2.8.0 → 2.8.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/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +2 -2
- package/dist/__generated__/AddToCartBannerQuery.graphql.js +1 -1
- package/dist/__generated__/CartButtonQuery.graphql.d.ts +2 -2
- package/dist/__generated__/CartButtonQuery.graphql.js +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +2 -2
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +2 -2
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +1 -1
- package/dist/__generated__/CartQuery.graphql.d.ts +2 -2
- package/dist/__generated__/CartQuery.graphql.js +1 -1
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +2 -2
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +1 -1
- package/dist/__generated__/NewsletterSignupQuery.graphql.d.ts +2 -2
- package/dist/__generated__/NewsletterSignupQuery.graphql.js +1 -1
- package/dist/__generated__/PriceBarSection_node.graphql.d.ts +1 -1
- package/dist/__generated__/PriceBarSection_node.graphql.js +5 -2
- package/dist/__generated__/SKUPrice_sku.graphql.d.ts +1 -1
- package/dist/__generated__/SKUPrice_sku.graphql.js +5 -2
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalCartQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalContainerQuery.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalContainerQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +1 -1
- package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +2 -2
- package/dist/__generated__/StoreModalReviewQuery.graphql.js +1 -1
- package/dist/__generated__/TestFontsForm_Query.graphql.d.ts +2 -2
- package/dist/__generated__/TestFontsForm_Query.graphql.js +1 -1
- package/dist/__generated__/TestModeBannerQuery.graphql.d.ts +2 -2
- package/dist/__generated__/TestModeBannerQuery.graphql.js +1 -1
- package/dist/__generated__/ThemeConfigQuery.graphql.d.ts +2 -2
- package/dist/__generated__/ThemeConfigQuery.graphql.js +1 -1
- package/dist/components/AddToCartBanner/index.js +3 -3
- package/dist/components/BuyButton/index.js +3 -3
- package/dist/components/Cart/AddressFields.js +1 -1
- package/dist/components/Cart/CartItem/index.js +5 -5
- package/dist/components/Cart/CartOrder.js +6 -6
- package/dist/components/Cart/CartState.js +3 -3
- package/dist/components/Cart/CartTotals.js +1 -1
- package/dist/components/Cart/Checkout.js +6 -6
- package/dist/components/Cart/CouponCodeInput.js +2 -2
- package/dist/components/Cart/Download.js +2 -2
- package/dist/components/Cart/IdentityBox.js +1 -1
- package/dist/components/Cart/index.js +1 -1
- package/dist/components/CartButton/index.js +3 -3
- package/dist/components/CharacterViewer/index.js +4 -4
- package/dist/components/CollectionAa/index.js +2 -2
- package/dist/components/CouponText/index.js +1 -1
- package/dist/components/CustomerLoginForm/index.js +1 -1
- package/dist/components/Family/FamilyList.js +1 -1
- package/dist/components/Family/index.js +1 -1
- package/dist/components/FontFamilies/index.js +1 -1
- package/dist/components/FontStyle/index.js +1 -1
- package/dist/components/NewsletterSignup/index.js +2 -2
- package/dist/components/NodePasswordForm/index.js +1 -1
- package/dist/components/Precart/License.js +1 -1
- package/dist/components/Precart/index.js +5 -5
- package/dist/components/Price/index.js +1 -1
- package/dist/components/PriceBar/PriceBarSection.js +1 -1
- package/dist/components/PriceBar/index.js +1 -1
- package/dist/components/Root/productState.js +5 -5
- package/dist/components/SKUPrice/index.js +1 -1
- package/dist/components/SelectButton/index.js +1 -1
- package/dist/components/SpecimenLink/index.js +1 -1
- package/dist/components/StoreModal/StoreModalBundleButton.js +1 -1
- package/dist/components/StoreModal/StoreModalCart.js +1 -1
- package/dist/components/StoreModal/StoreModalCheckout.js +1 -1
- package/dist/components/StoreModal/StoreModalContainer.js +1 -1
- package/dist/components/StoreModal/StoreModalDownload.js +2 -2
- package/dist/components/StoreModal/StoreModalFamily.js +1 -1
- package/dist/components/StoreModal/StoreModalFamilyButton.js +1 -1
- package/dist/components/StoreModal/StoreModalIndex.js +1 -1
- package/dist/components/StoreModal/StoreModalIndexItem.js +1 -1
- package/dist/components/StoreModal/StoreModalProduct.js +1 -1
- package/dist/components/StoreModal/StoreModalReview.js +5 -5
- package/dist/components/StoreModal/StoreModalReviewIdentity.js +1 -1
- package/dist/components/StoreModal/StoreModalStyleButton.js +1 -1
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +1 -1
- package/dist/components/StoreModalProductLicenseSelection/index.js +1 -1
- package/dist/components/StoreModalProductSummary/index.js +3 -3
- package/dist/components/StripeProvider/index.js +1 -1
- package/dist/components/TestFontsForm/index.js +2 -2
- package/dist/components/TestModeBanner/index.js +1 -1
- package/dist/components/ThemeConfig/index.js +1 -1
- package/dist/components/TypeTester/TypeTesterFeatures.js +1 -1
- package/dist/components/TypeTester/TypeTesterFeaturesButton.js +1 -1
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +1 -1
- package/dist/components/TypeTester/TypeTesterStandalone.js +1 -1
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +3 -3
- package/dist/components/TypeTester/TypeTesterToolbar.js +1 -1
- package/dist/components/TypeTester/TypeTesterVariableAxes.js +1 -1
- package/dist/components/TypeTester/index.js +4 -4
- package/dist/components/TypeTester/useFeaturesData.js +1 -1
- package/dist/components/TypeTesters/index.js +4 -4
- package/dist/components/VariableTableAmounts/index.js +2 -2
- package/dist/components/useTotalStyles.js +1 -1
- package/package.json +9 -8
|
@@ -25,7 +25,7 @@ function StoreModalStyleButton(_ref) {
|
|
|
25
25
|
isVariableFont,
|
|
26
26
|
...rest
|
|
27
27
|
} = _ref;
|
|
28
|
-
const fontStyle = (0, _reactRelay.useFragment)((_StoreModalStyleButton_fontStyle2.default.hash && _StoreModalStyleButton_fontStyle2.default.hash !== "304b682b2f5ad1ead0c8652556185fe1" && console.error("The definition of 'StoreModalStyleButton_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
28
|
+
const fontStyle = (0, _reactRelay.useFragment)((_StoreModalStyleButton_fontStyle2.default.hash && _StoreModalStyleButton_fontStyle2.default.hash !== "304b682b2f5ad1ead0c8652556185fe1" && console.error("The definition of 'StoreModalStyleButton_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalStyleButton_fontStyle2.default), fontStyleKey);
|
|
29
29
|
const selected = (0, _reactRedux.useSelector)((0, _reducer.isSelected)(fontStyle.sku ? fontStyle.sku.id : fontStyle.id));
|
|
30
30
|
const handleSelect = () => {
|
|
31
31
|
if (!fontStyle.sku) return;
|
|
@@ -41,7 +41,7 @@ function StoreModalProduceLicense(_ref) {
|
|
|
41
41
|
let {
|
|
42
42
|
license: licenseKey
|
|
43
43
|
} = _ref;
|
|
44
|
-
const license = (0, _reactRelay.useFragment)((_StoreModalProductLicense_license2.default.hash && _StoreModalProductLicense_license2.default.hash !== "5729815aeedac2b8ea39eaab0a986b48" && console.error("The definition of 'StoreModalProductLicense_license' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
44
|
+
const license = (0, _reactRelay.useFragment)((_StoreModalProductLicense_license2.default.hash && _StoreModalProductLicense_license2.default.hash !== "5729815aeedac2b8ea39eaab0a986b48" && console.error("The definition of 'StoreModalProductLicense_license' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalProductLicense_license2.default), licenseKey);
|
|
45
45
|
const licenseOptions = (0, _reactRedux.useSelector)(state => state.licenseOptions);
|
|
46
46
|
const selectedOptions = licenseOptions.find(_ref2 => {
|
|
47
47
|
let {
|
|
@@ -15,7 +15,7 @@ function StoreModalProductLicenseSelection(_ref) {
|
|
|
15
15
|
let {
|
|
16
16
|
collection: collectionKey
|
|
17
17
|
} = _ref;
|
|
18
|
-
const collection = (0, _reactRelay.useFragment)((_StoreModalProductLicenseSelection_collection2.default.hash && _StoreModalProductLicenseSelection_collection2.default.hash !== "2767ff3f8ddb4354051074bc3d0312e6" && console.error("The definition of 'StoreModalProductLicenseSelection_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
18
|
+
const collection = (0, _reactRelay.useFragment)((_StoreModalProductLicenseSelection_collection2.default.hash && _StoreModalProductLicenseSelection_collection2.default.hash !== "2767ff3f8ddb4354051074bc3d0312e6" && console.error("The definition of 'StoreModalProductLicenseSelection_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalProductLicenseSelection_collection2.default), collectionKey);
|
|
19
19
|
return /*#__PURE__*/_react.default.createElement(_ContainerElement.default, null, {
|
|
20
20
|
title: 'Select licenses',
|
|
21
21
|
licenses: collection === null || collection === void 0 ? void 0 : (_collection$licenses = collection.licenses) === null || _collection$licenses === void 0 ? void 0 : _collection$licenses.map(license => license && /*#__PURE__*/_react.default.createElement(_StoreModalProductLicense.default, {
|
|
@@ -16,7 +16,7 @@ var _utils = require("../../utils");
|
|
|
16
16
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
17
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
-
const addToCartMutation = (_StoreModalProductSummaryAddToCartMutation2.default.hash && _StoreModalProductSummaryAddToCartMutation2.default.hash !== "91ea762e3842af2919da3a4c710a48cc" && console.error("The definition of 'StoreModalProductSummaryAddToCartMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
19
|
+
const addToCartMutation = (_StoreModalProductSummaryAddToCartMutation2.default.hash && _StoreModalProductSummaryAddToCartMutation2.default.hash !== "91ea762e3842af2919da3a4c710a48cc" && console.error("The definition of 'StoreModalProductSummaryAddToCartMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalProductSummaryAddToCartMutation2.default);
|
|
20
20
|
const countStyles = viewer => {
|
|
21
21
|
const {
|
|
22
22
|
precart
|
|
@@ -148,6 +148,6 @@ const StoreModalProductSummary = _ref => {
|
|
|
148
148
|
}, submitting ? 'Adding...' : 'Add to cart'));
|
|
149
149
|
};
|
|
150
150
|
var _default = (0, _reactRelay.createRefetchContainer)(StoreModalProductSummary, {
|
|
151
|
-
viewer: (_StoreModalProductSummary_viewer2.default.hash && _StoreModalProductSummary_viewer2.default.hash !== "d4b6958e3c6fb528399504365d4e37e8" && console.error("The definition of 'StoreModalProductSummary_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
152
|
-
}, (_StoreModalProductSummaryRefetchQuery2.default.hash && _StoreModalProductSummaryRefetchQuery2.default.hash !== "7c268bb004999fc028d56f9ee2914960" && console.error("The definition of 'StoreModalProductSummaryRefetchQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
151
|
+
viewer: (_StoreModalProductSummary_viewer2.default.hash && _StoreModalProductSummary_viewer2.default.hash !== "d4b6958e3c6fb528399504365d4e37e8" && console.error("The definition of 'StoreModalProductSummary_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalProductSummary_viewer2.default)
|
|
152
|
+
}, (_StoreModalProductSummaryRefetchQuery2.default.hash && _StoreModalProductSummaryRefetchQuery2.default.hash !== "7c268bb004999fc028d56f9ee2914960" && console.error("The definition of 'StoreModalProductSummaryRefetchQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalProductSummaryRefetchQuery2.default));
|
|
153
153
|
exports.default = _default;
|
|
@@ -20,7 +20,7 @@ const StripeProvider = _ref => {
|
|
|
20
20
|
children,
|
|
21
21
|
requireClientSecret = true
|
|
22
22
|
} = _ref;
|
|
23
|
-
const data = (0, _reactRelay.useFragment)((_StripeProvider_viewer2.default.hash && _StripeProvider_viewer2.default.hash !== "efff082269b64afc7019b4d725285afa" && console.error("The definition of 'StripeProvider_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
23
|
+
const data = (0, _reactRelay.useFragment)((_StripeProvider_viewer2.default.hash && _StripeProvider_viewer2.default.hash !== "efff082269b64afc7019b4d725285afa" && console.error("The definition of 'StripeProvider_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StripeProvider_viewer2.default), viewer);
|
|
24
24
|
const stripeKey = data.stripePublishableKey;
|
|
25
25
|
const stripeAccount = data.stripeAccountId;
|
|
26
26
|
const stripePromiseRef = (0, _react.useRef)(stripeKey && stripeAccount ? (0, _stripeJs.loadStripe)(stripeKey, {
|
|
@@ -18,7 +18,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
18
18
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
19
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
20
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
21
|
-
const updateCustomerMutation = (_TestFontsFormUpdateCustomerMutation2.default.hash && _TestFontsFormUpdateCustomerMutation2.default.hash !== "ba56958399f0893bd667ff02c33a6975" && console.error("The definition of 'TestFontsFormUpdateCustomerMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
21
|
+
const updateCustomerMutation = (_TestFontsFormUpdateCustomerMutation2.default.hash && _TestFontsFormUpdateCustomerMutation2.default.hash !== "ba56958399f0893bd667ff02c33a6975" && console.error("The definition of 'TestFontsFormUpdateCustomerMutation' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TestFontsFormUpdateCustomerMutation2.default);
|
|
22
22
|
const TestFontsDownloading = _ref => {
|
|
23
23
|
let {
|
|
24
24
|
archiveUrl
|
|
@@ -151,7 +151,7 @@ const TestFontsFormComponent = _ref2 => {
|
|
|
151
151
|
ref: downloadForm
|
|
152
152
|
}));
|
|
153
153
|
};
|
|
154
|
-
const query = (_TestFontsForm_Query2.default.hash && _TestFontsForm_Query2.default.hash !== "b8838ac445fa9addb19af5a2d653e979" && console.error("The definition of 'TestFontsForm_Query' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
154
|
+
const query = (_TestFontsForm_Query2.default.hash && _TestFontsForm_Query2.default.hash !== "b8838ac445fa9addb19af5a2d653e979" && console.error("The definition of 'TestFontsForm_Query' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TestFontsForm_Query2.default);
|
|
155
155
|
function TestFontsFormPreloadedQueryRenderer(_ref4) {
|
|
156
156
|
let {
|
|
157
157
|
preloadedQuery,
|
|
@@ -41,7 +41,7 @@ function TestModeBannerComponent(_ref) {
|
|
|
41
41
|
href: switchUrl
|
|
42
42
|
}, "Switch to ", isActive ? 'live' : 'test', " data"))));
|
|
43
43
|
}
|
|
44
|
-
const query = (_TestModeBannerQuery2.default.hash && _TestModeBannerQuery2.default.hash !== "82e974c3c8bdef284e02f896ed1680c1" && console.error("The definition of 'TestModeBannerQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
44
|
+
const query = (_TestModeBannerQuery2.default.hash && _TestModeBannerQuery2.default.hash !== "82e974c3c8bdef284e02f896ed1680c1" && console.error("The definition of 'TestModeBannerQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TestModeBannerQuery2.default);
|
|
45
45
|
function TestModeBannerPreloadedQueryRenderer(_ref2) {
|
|
46
46
|
let {
|
|
47
47
|
preloadedQuery
|
|
@@ -25,7 +25,7 @@ function ThemeConfigComponent(_ref) {
|
|
|
25
25
|
type: "text/css"
|
|
26
26
|
}, `:root { ${props.join(';')} }`);
|
|
27
27
|
}
|
|
28
|
-
const query = (_ThemeConfigQuery2.default.hash && _ThemeConfigQuery2.default.hash !== "c259bee038c4d2ea14c758fba3381f57" && console.error("The definition of 'ThemeConfigQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
28
|
+
const query = (_ThemeConfigQuery2.default.hash && _ThemeConfigQuery2.default.hash !== "c259bee038c4d2ea14c758fba3381f57" && console.error("The definition of 'ThemeConfigQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _ThemeConfigQuery2.default);
|
|
29
29
|
function ThemeConfigPreloadedQueryRenderer(_ref2) {
|
|
30
30
|
let {
|
|
31
31
|
preloadedQuery
|
|
@@ -60,7 +60,7 @@ function TypeTesterFeatures(_ref) {
|
|
|
60
60
|
features: showFeatures,
|
|
61
61
|
axes
|
|
62
62
|
} = _ref;
|
|
63
|
-
const fontStyle = (0, _reactRelay.useFragment)((_TypeTesterFeatures_fontStyle2.default.hash && _TypeTesterFeatures_fontStyle2.default.hash !== "d0c693dadaa9ae68f5295f3fc69a7578" && console.error("The definition of 'TypeTesterFeatures_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
63
|
+
const fontStyle = (0, _reactRelay.useFragment)((_TypeTesterFeatures_fontStyle2.default.hash && _TypeTesterFeatures_fontStyle2.default.hash !== "d0c693dadaa9ae68f5295f3fc69a7578" && console.error("The definition of 'TypeTesterFeatures_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTesterFeatures_fontStyle2.default), fontStyleKey);
|
|
64
64
|
const {
|
|
65
65
|
typeTester: config
|
|
66
66
|
} = (0, _react.useContext)(_ConfigContext.default);
|
|
@@ -35,7 +35,7 @@ const TypeTesterFeaturesButton = _ref => {
|
|
|
35
35
|
id
|
|
36
36
|
});
|
|
37
37
|
const selectedFeature = features[0];
|
|
38
|
-
const fontStyle = (0, _reactRelay.useFragment)((_TypeTesterFeaturesButton_fontStyle2.default.hash && _TypeTesterFeaturesButton_fontStyle2.default.hash !== "bfda99c867db0b614314fc774911c4b0" && console.error("The definition of 'TypeTesterFeaturesButton_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
38
|
+
const fontStyle = (0, _reactRelay.useFragment)((_TypeTesterFeaturesButton_fontStyle2.default.hash && _TypeTesterFeaturesButton_fontStyle2.default.hash !== "bfda99c867db0b614314fc774911c4b0" && console.error("The definition of 'TypeTesterFeaturesButton_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTesterFeaturesButton_fontStyle2.default), fontStyleKey);
|
|
39
39
|
const {
|
|
40
40
|
featureNames
|
|
41
41
|
} = (0, _useFeaturesData.default)({
|
|
@@ -22,7 +22,7 @@ function TypeTesterFloatingToolbar(_ref) {
|
|
|
22
22
|
axes,
|
|
23
23
|
onToolbarOpenClose
|
|
24
24
|
} = _ref;
|
|
25
|
-
const testersData = (0, _reactRelay.useFragment)((_TypeTesterFloatingToolbar_testers2.default.hash && _TypeTesterFloatingToolbar_testers2.default.hash !== "5f037fca9e02cba8c202f17e08ff8db6" && console.error("The definition of 'TypeTesterFloatingToolbar_testers' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
25
|
+
const testersData = (0, _reactRelay.useFragment)((_TypeTesterFloatingToolbar_testers2.default.hash && _TypeTesterFloatingToolbar_testers2.default.hash !== "5f037fca9e02cba8c202f17e08ff8db6" && console.error("The definition of 'TypeTesterFloatingToolbar_testers' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTesterFloatingToolbar_testers2.default), testersKey);
|
|
26
26
|
const {
|
|
27
27
|
testers
|
|
28
28
|
} = (0, _react.useContext)(_TypeTesterContext.TypeTesterContext);
|
|
@@ -72,7 +72,7 @@ function TypeTesterStandaloneComponent(_ref) {
|
|
|
72
72
|
onBlur: onBlur
|
|
73
73
|
}));
|
|
74
74
|
}
|
|
75
|
-
const query = (_TypeTesterStandaloneQuery2.default.hash && _TypeTesterStandaloneQuery2.default.hash !== "3ad5c4d856f5d46ddf8a47a2b6d2420a" && console.error("The definition of 'TypeTesterStandaloneQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
75
|
+
const query = (_TypeTesterStandaloneQuery2.default.hash && _TypeTesterStandaloneQuery2.default.hash !== "3ad5c4d856f5d46ddf8a47a2b6d2420a" && console.error("The definition of 'TypeTesterStandaloneQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTesterStandaloneQuery2.default);
|
|
76
76
|
function TypeTesterStandalonePreloadedQueryRenderer(_ref3) {
|
|
77
77
|
let {
|
|
78
78
|
preloadedQuery,
|
|
@@ -15,7 +15,7 @@ var _relayRuntime = require("relay-runtime");
|
|
|
15
15
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
16
16
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
|
-
_TypeTesterStyleSelectData_fontStyleData2.default.hash && _TypeTesterStyleSelectData_fontStyleData2.default.hash !== "fb09207ccab08c7e73677486469a3c95" && console.error("The definition of 'TypeTesterStyleSelectData_fontStyleData' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
18
|
+
_TypeTesterStyleSelectData_fontStyleData2.default.hash && _TypeTesterStyleSelectData_fontStyleData2.default.hash !== "fb09207ccab08c7e73677486469a3c95" && console.error("The definition of 'TypeTesterStyleSelectData_fontStyleData' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTesterStyleSelectData_fontStyleData2.default;
|
|
19
19
|
|
|
20
20
|
// get a score for similarity between two styles
|
|
21
21
|
// 0 < n <= 1
|
|
@@ -48,8 +48,8 @@ function TypeTesterStyleSelectData(_ref) {
|
|
|
48
48
|
variableSettings,
|
|
49
49
|
includeVariableAxesOption
|
|
50
50
|
} = _ref;
|
|
51
|
-
const fontStyle = (0, _reactRelay.useFragment)((_TypeTesterStyleSelectData_fontStyle2.default.hash && _TypeTesterStyleSelectData_fontStyle2.default.hash !== "6d485f52ae538b13da3f1f924512299c" && console.error("The definition of 'TypeTesterStyleSelectData_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
52
|
-
const viewer = (0, _reactRelay.useFragment)((_TypeTesterStyleSelectData_viewer2.default.hash && _TypeTesterStyleSelectData_viewer2.default.hash !== "d5d291b8b41470b9e602ee83af05e047" && console.error("The definition of 'TypeTesterStyleSelectData_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
51
|
+
const fontStyle = (0, _reactRelay.useFragment)((_TypeTesterStyleSelectData_fontStyle2.default.hash && _TypeTesterStyleSelectData_fontStyle2.default.hash !== "6d485f52ae538b13da3f1f924512299c" && console.error("The definition of 'TypeTesterStyleSelectData_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTesterStyleSelectData_fontStyle2.default), fontStyleKey);
|
|
52
|
+
const viewer = (0, _reactRelay.useFragment)((_TypeTesterStyleSelectData_viewer2.default.hash && _TypeTesterStyleSelectData_viewer2.default.hash !== "d5d291b8b41470b9e602ee83af05e047" && console.error("The definition of 'TypeTesterStyleSelectData_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTesterStyleSelectData_viewer2.default), viewerKey);
|
|
53
53
|
const familyData = viewer === null || viewer === void 0 ? void 0 : (_viewer$families = viewer.families) === null || _viewer$families === void 0 ? void 0 : (_viewer$families$edge = _viewer$families.edges) === null || _viewer$families$edge === void 0 ? void 0 : _viewer$families$edge.map(edge => edge.node).filter(_utils.notEmpty);
|
|
54
54
|
const handleSelectFamilyId = (0, _react.useCallback)(id => {
|
|
55
55
|
const family = familyData && familyData.find(family => family.id === id);
|
|
@@ -34,7 +34,7 @@ const TypeTesterToolbar = _ref => {
|
|
|
34
34
|
const props = (0, _TypeTesterState.default)({
|
|
35
35
|
id
|
|
36
36
|
});
|
|
37
|
-
const fontStyle = (0, _reactRelay.useFragment)((_TypeTesterToolbar_fontStyle2.default.hash && _TypeTesterToolbar_fontStyle2.default.hash !== "1a0f844cbe51f96ed0145d8009f8bff0" && console.error("The definition of 'TypeTesterToolbar_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
37
|
+
const fontStyle = (0, _reactRelay.useFragment)((_TypeTesterToolbar_fontStyle2.default.hash && _TypeTesterToolbar_fontStyle2.default.hash !== "1a0f844cbe51f96ed0145d8009f8bff0" && console.error("The definition of 'TypeTesterToolbar_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTesterToolbar_fontStyle2.default), fontStyleKey);
|
|
38
38
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
39
39
|
className: "type-tester__toolbar__tools",
|
|
40
40
|
onMouseDown: e => {
|
|
@@ -23,7 +23,7 @@ const TypeTesterVariableAxes = _ref => {
|
|
|
23
23
|
} = (0, _TypeTesterState.default)({
|
|
24
24
|
id
|
|
25
25
|
});
|
|
26
|
-
const fontStyle = (0, _reactRelay.useFragment)((_TypeTesterVariableAxes_fontStyle2.default.hash && _TypeTesterVariableAxes_fontStyle2.default.hash !== "a73e45dbb7a154107456088125a01f88" && console.error("The definition of 'TypeTesterVariableAxes_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
26
|
+
const fontStyle = (0, _reactRelay.useFragment)((_TypeTesterVariableAxes_fontStyle2.default.hash && _TypeTesterVariableAxes_fontStyle2.default.hash !== "a73e45dbb7a154107456088125a01f88" && console.error("The definition of 'TypeTesterVariableAxes_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTesterVariableAxes_fontStyle2.default), fontStyleKey);
|
|
27
27
|
if (!variableSettings) return null;
|
|
28
28
|
if (!axes) return null;
|
|
29
29
|
const handleChange = (axis, value) => {
|
|
@@ -56,8 +56,8 @@ const TypeTester = _ref => {
|
|
|
56
56
|
axes,
|
|
57
57
|
groupEdit
|
|
58
58
|
} = _ref;
|
|
59
|
-
const fontStyleData = (0, _reactRelay.useFragment)((_TypeTester_fontStyle2.default.hash && _TypeTester_fontStyle2.default.hash !== "e05fd846d7bcc3733b7afeb36403a7ef" && console.error("The definition of 'TypeTester_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
60
|
-
const viewer = (0, _reactRelay.useFragment)((_TypeTester_viewer2.default.hash && _TypeTester_viewer2.default.hash !== "a12af7126d512a50ab0b7e5e14a7d8eb" && console.error("The definition of 'TypeTester_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
59
|
+
const fontStyleData = (0, _reactRelay.useFragment)((_TypeTester_fontStyle2.default.hash && _TypeTester_fontStyle2.default.hash !== "e05fd846d7bcc3733b7afeb36403a7ef" && console.error("The definition of 'TypeTester_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTester_fontStyle2.default), fontStyleKey);
|
|
60
|
+
const viewer = (0, _reactRelay.useFragment)((_TypeTester_viewer2.default.hash && _TypeTester_viewer2.default.hash !== "a12af7126d512a50ab0b7e5e14a7d8eb" && console.error("The definition of 'TypeTester_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTester_viewer2.default), viewerKey);
|
|
61
61
|
const [selectedFontStyleId, setSelectedFontStyleId] = (0, _react.useState)((fontStyleData === null || fontStyleData === void 0 ? void 0 : fontStyleData.id) ?? null);
|
|
62
62
|
const [fontStyle, setFontStyle] = (0, _react.useState)(fontStyleData);
|
|
63
63
|
const environment = (0, _reactRelay.useRelayEnvironment)();
|
|
@@ -67,7 +67,7 @@ const TypeTester = _ref => {
|
|
|
67
67
|
setFontStyle(fontStyleData);
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
70
|
-
const observable = (0, _reactRelay.fetchQuery)(environment, (_TypeTester_NewStyleQuery2.default.hash && _TypeTester_NewStyleQuery2.default.hash !== "ba1870daafcad35b740226153cd96f79" && console.error("The definition of 'TypeTester_NewStyleQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
70
|
+
const observable = (0, _reactRelay.fetchQuery)(environment, (_TypeTester_NewStyleQuery2.default.hash && _TypeTester_NewStyleQuery2.default.hash !== "ba1870daafcad35b740226153cd96f79" && console.error("The definition of 'TypeTester_NewStyleQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTester_NewStyleQuery2.default), {
|
|
71
71
|
id: selectedFontStyleId
|
|
72
72
|
}).subscribe({
|
|
73
73
|
next: data => {
|
|
@@ -203,6 +203,6 @@ const TypeTester = _ref => {
|
|
|
203
203
|
}, props.content.getCurrentContent().getPlainText());
|
|
204
204
|
}))));
|
|
205
205
|
};
|
|
206
|
-
_TypeTester_sku2.default.hash && _TypeTester_sku2.default.hash !== "1538559015ee3064ae577b7a5e90f34e" && console.error("The definition of 'TypeTester_sku' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
206
|
+
_TypeTester_sku2.default.hash && _TypeTester_sku2.default.hash !== "1538559015ee3064ae577b7a5e90f34e" && console.error("The definition of 'TypeTester_sku' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTester_sku2.default;
|
|
207
207
|
var _default = TypeTester;
|
|
208
208
|
exports.default = _default;
|
|
@@ -19,7 +19,7 @@ const useFeaturesData = _ref2 => {
|
|
|
19
19
|
let {
|
|
20
20
|
fontStyle
|
|
21
21
|
} = _ref2;
|
|
22
|
-
const data = (0, _reactRelay.useFragment)((_useFeaturesData_fontStyle2.default.hash && _useFeaturesData_fontStyle2.default.hash !== "3c48a87b1b19f52e3dda10fc11f0030a" && console.error("The definition of 'useFeaturesData_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
22
|
+
const data = (0, _reactRelay.useFragment)((_useFeaturesData_fontStyle2.default.hash && _useFeaturesData_fontStyle2.default.hash !== "3c48a87b1b19f52e3dda10fc11f0030a" && console.error("The definition of 'useFeaturesData_fontStyle' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _useFeaturesData_fontStyle2.default), fontStyle);
|
|
23
23
|
const featureNames = ((_data$fontFeatures = data.fontFeatures) === null || _data$fontFeatures === void 0 ? void 0 : _data$fontFeatures.supportedFeatures.reduce((acc, feature) => {
|
|
24
24
|
let featureName = feature;
|
|
25
25
|
if (_features.default.hasOwnProperty(feature)) {
|
|
@@ -63,8 +63,8 @@ function TypeTestersComponent(_ref) {
|
|
|
63
63
|
onToolbarOpenClose,
|
|
64
64
|
...rest
|
|
65
65
|
} = _ref;
|
|
66
|
-
const collection = (0, _reactRelay.useFragment)((_TypeTesters_collection2.default.hash && _TypeTesters_collection2.default.hash !== "4e661d9d957e3a3f4a7b23f3665cadf9" && console.error("The definition of 'TypeTesters_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
67
|
-
const viewer = (0, _reactRelay.useFragment)((_TypeTesters_viewer2.default.hash && _TypeTesters_viewer2.default.hash !== "9dce7dd7815ccdea1c4b3c5a076b589e" && console.error("The definition of 'TypeTesters_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
66
|
+
const collection = (0, _reactRelay.useFragment)((_TypeTesters_collection2.default.hash && _TypeTesters_collection2.default.hash !== "4e661d9d957e3a3f4a7b23f3665cadf9" && console.error("The definition of 'TypeTesters_collection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTesters_collection2.default), collectionKey);
|
|
67
|
+
const viewer = (0, _reactRelay.useFragment)((_TypeTesters_viewer2.default.hash && _TypeTesters_viewer2.default.hash !== "9dce7dd7815ccdea1c4b3c5a076b589e" && console.error("The definition of 'TypeTesters_viewer' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTesters_viewer2.default), viewerKey);
|
|
68
68
|
const precartOpen = (0, _reactRedux.useSelector)(state => state.precartOpen);
|
|
69
69
|
const {
|
|
70
70
|
typeTester: config
|
|
@@ -130,7 +130,7 @@ function TypeTestersComponent(_ref) {
|
|
|
130
130
|
}))));
|
|
131
131
|
}));
|
|
132
132
|
}
|
|
133
|
-
const idQuery = (_TypeTestersIDQuery2.default.hash && _TypeTestersIDQuery2.default.hash !== "f62d86e50379a25ca0a8eb10812704c2" && console.error("The definition of 'TypeTestersIDQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
133
|
+
const idQuery = (_TypeTestersIDQuery2.default.hash && _TypeTestersIDQuery2.default.hash !== "f62d86e50379a25ca0a8eb10812704c2" && console.error("The definition of 'TypeTestersIDQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTestersIDQuery2.default);
|
|
134
134
|
function TypeTestersPreloadedIDQueryRenderer(_ref3) {
|
|
135
135
|
let {
|
|
136
136
|
preloadedQuery,
|
|
@@ -154,7 +154,7 @@ function TypeTestersIDQueryRenderer(_ref4) {
|
|
|
154
154
|
});
|
|
155
155
|
return /*#__PURE__*/_react.default.createElement(TypeTestersComponent, _extends({}, data, rest));
|
|
156
156
|
}
|
|
157
|
-
const slugQuery = (_TypeTestersSlugQuery2.default.hash && _TypeTestersSlugQuery2.default.hash !== "eb11a6ae2b690cb3cdd8a14c6e2afed6" && console.error("The definition of 'TypeTestersSlugQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
157
|
+
const slugQuery = (_TypeTestersSlugQuery2.default.hash && _TypeTestersSlugQuery2.default.hash !== "eb11a6ae2b690cb3cdd8a14c6e2afed6" && console.error("The definition of 'TypeTestersSlugQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _TypeTestersSlugQuery2.default);
|
|
158
158
|
function TypeTestersPreloadedSlugQueryRenderer(_ref5) {
|
|
159
159
|
var _data$viewer$slug;
|
|
160
160
|
let {
|
|
@@ -15,8 +15,8 @@ function VariableTableAmounts(_ref) {
|
|
|
15
15
|
variable: variableKey,
|
|
16
16
|
option: optionKey
|
|
17
17
|
} = _ref;
|
|
18
|
-
const variable = (0, _reactRelay.useFragment)((_VariableTableAmounts_variable2.default.hash && _VariableTableAmounts_variable2.default.hash !== "400d25ad39816f2e153c8bb67e0e8695" && console.error("The definition of 'VariableTableAmounts_variable' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
19
|
-
const option = (0, _reactRelay.useFragment)((_VariableTableAmounts_option2.default.hash && _VariableTableAmounts_option2.default.hash !== "fe03c602c33f1f6e5afe209afc9e6cd6" && console.error("The definition of 'VariableTableAmounts_option' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
18
|
+
const variable = (0, _reactRelay.useFragment)((_VariableTableAmounts_variable2.default.hash && _VariableTableAmounts_variable2.default.hash !== "400d25ad39816f2e153c8bb67e0e8695" && console.error("The definition of 'VariableTableAmounts_variable' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _VariableTableAmounts_variable2.default), variableKey);
|
|
19
|
+
const option = (0, _reactRelay.useFragment)((_VariableTableAmounts_option2.default.hash && _VariableTableAmounts_option2.default.hash !== "fe03c602c33f1f6e5afe209afc9e6cd6" && console.error("The definition of 'VariableTableAmounts_option' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _VariableTableAmounts_option2.default), optionKey);
|
|
20
20
|
return /*#__PURE__*/_react.default.createElement("span", {
|
|
21
21
|
className: "variable-table-amounts"
|
|
22
22
|
}, variable === null || variable === void 0 ? void 0 : (_variable$units = variable.units) === null || _variable$units === void 0 ? void 0 : _variable$units.map((unit, i) => {
|
|
@@ -12,7 +12,7 @@ const useTotalStyles = _ref => {
|
|
|
12
12
|
let {
|
|
13
13
|
fontCollection
|
|
14
14
|
} = _ref;
|
|
15
|
-
const data = (0, _reactRelay.useFragment)((_useTotalStyles_fontCollection2.default.hash && _useTotalStyles_fontCollection2.default.hash !== "24cf564c6f5bf49e27a9a0d65c937882" && console.error("The definition of 'useTotalStyles_fontCollection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),
|
|
15
|
+
const data = (0, _reactRelay.useFragment)((_useTotalStyles_fontCollection2.default.hash && _useTotalStyles_fontCollection2.default.hash !== "24cf564c6f5bf49e27a9a0d65c937882" && console.error("The definition of 'useTotalStyles_fontCollection' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _useTotalStyles_fontCollection2.default), fontCollection);
|
|
16
16
|
const variableFonts = (_data$children = data.children) === null || _data$children === void 0 ? void 0 : _data$children.filter(child => child.isVariableFont);
|
|
17
17
|
let totalStyles = data.totalStyles;
|
|
18
18
|
if (variableFonts !== null && variableFonts !== void 0 && variableFonts.length) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fontdue-js",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run relay && run-p build-js build-css build-ts-declarations",
|
|
6
6
|
"build-js": "babel src --out-dir dist --extensions .ts,.tsx,.js,.jsx",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"fontfaceobserver": "^2.0.13",
|
|
29
29
|
"react-device-detect": "^2.2.3",
|
|
30
30
|
"react-redux": "^8",
|
|
31
|
-
"react-relay": "^
|
|
31
|
+
"react-relay": "^17.0.0",
|
|
32
32
|
"react-select": "^5.0.0",
|
|
33
33
|
"react-transition-group": "^4.2.1",
|
|
34
34
|
"redux": "^4.0.0",
|
|
35
|
-
"relay-runtime": "^
|
|
35
|
+
"relay-runtime": "^17.0.0",
|
|
36
36
|
"store": "^2.0.12",
|
|
37
37
|
"uuid": "^8.3.2"
|
|
38
38
|
},
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
"@types/fontfaceobserver": "^2.1.0",
|
|
47
47
|
"@types/react": "18.2.12",
|
|
48
48
|
"@types/react-dom": "18.2.4",
|
|
49
|
-
"@types/react-relay": "^
|
|
49
|
+
"@types/react-relay": "^16.0.0",
|
|
50
50
|
"@types/react-transition-group": "^4.4.4",
|
|
51
|
-
"@types/relay-runtime": "^
|
|
51
|
+
"@types/relay-runtime": "^17.0.0",
|
|
52
52
|
"@types/uuid": "^8.3.3",
|
|
53
53
|
"autoprefixer": "^9.6.0",
|
|
54
|
-
"babel-plugin-relay": "^
|
|
54
|
+
"babel-plugin-relay": "^17.0.0",
|
|
55
55
|
"npm-run-all": "^4.1.5",
|
|
56
56
|
"prettier": "2.0.5",
|
|
57
57
|
"react": "^18.0.0",
|
|
58
58
|
"react-dom": "^18.0.0",
|
|
59
|
-
"relay-compiler": "^
|
|
59
|
+
"relay-compiler": "^17.0.0",
|
|
60
60
|
"sass": "^1.62",
|
|
61
61
|
"typescript": "5.1.3"
|
|
62
62
|
},
|
|
@@ -64,8 +64,9 @@
|
|
|
64
64
|
"src": "./src",
|
|
65
65
|
"schema": "../assets/schema.graphql",
|
|
66
66
|
"language": "typescript",
|
|
67
|
+
"typescriptExcludeUndefinedFromNullableUnion": true,
|
|
67
68
|
"artifactDirectory": "./src/__generated__",
|
|
68
|
-
"
|
|
69
|
+
"customScalarTypes": {
|
|
69
70
|
"Decimal": "string"
|
|
70
71
|
},
|
|
71
72
|
"eagerEsModules": true
|