fontdue-js 2.22.3 → 2.22.4
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 +4 -0
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +5 -5
- package/dist/components/StoreModal/StoreModalIndex.js +1 -1
- package/package.json +1 -1
- package/types/font-face-set.d.ts +11 -0
- package/.nvmrc +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## 2.22.4
|
|
2
|
+
|
|
3
|
+
- Raised the store modal index collection limit from 99 to 9999, so very large libraries are no longer silently capped on the store modal landing page.
|
|
4
|
+
|
|
1
5
|
## 2.22.3
|
|
2
6
|
|
|
3
7
|
- Fixed the store modal over-grouping styles within a family. Previously, any consecutive styles sharing `cssFamily`/`cssWeight`/`cssStretch` were rendered together on a single row, which could collapse 3+ unrelated styles into one visual pair. Styles are now only paired when they're exactly one upright + one slanted (italic or oblique) counterpart; anything else renders on its own row.
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<52e391f8940a4f6eb94fcf4f4d884f31>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -27,7 +27,7 @@ const node = function () {
|
|
|
27
27
|
}, {
|
|
28
28
|
"kind": "Literal",
|
|
29
29
|
"name": "first",
|
|
30
|
-
"value":
|
|
30
|
+
"value": 9999
|
|
31
31
|
}, {
|
|
32
32
|
"kind": "Literal",
|
|
33
33
|
"name": "onlyRoots",
|
|
@@ -249,15 +249,15 @@ const node = function () {
|
|
|
249
249
|
}]
|
|
250
250
|
},
|
|
251
251
|
"params": {
|
|
252
|
-
"cacheID": "
|
|
252
|
+
"cacheID": "df65908a69bef4f72b19f28c399fe53b",
|
|
253
253
|
"id": null,
|
|
254
254
|
"metadata": {},
|
|
255
255
|
"name": "StoreModalIndexQuery",
|
|
256
256
|
"operationKind": "query",
|
|
257
|
-
"text": "query StoreModalIndexQuery(\n $excludeTags: [String!]\n) {\n viewer {\n rootCollections: fontCollections(onlyRoots: true, first:
|
|
257
|
+
"text": "query StoreModalIndexQuery(\n $excludeTags: [String!]\n) {\n viewer {\n rootCollections: fontCollections(onlyRoots: true, first: 9999, excludeTags: $excludeTags) {\n edges {\n node {\n id\n ...StoreModalIndexItem_fontCollection\n }\n }\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment StoreModalIndexItem_fontCollection on FontCollection {\n ...useTotalStyles_fontCollection\n id\n name\n totalStyles\n isVariableFont\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n collectionType\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
258
258
|
}
|
|
259
259
|
};
|
|
260
260
|
}();
|
|
261
|
-
node.hash = "
|
|
261
|
+
node.hash = "099c77808b41054885365ebe3eda03c8";
|
|
262
262
|
var _default = node;
|
|
263
263
|
exports.default = _default;
|
|
@@ -15,7 +15,7 @@ const StoreModalIndex = _ref => {
|
|
|
15
15
|
let {
|
|
16
16
|
prepared
|
|
17
17
|
} = _ref;
|
|
18
|
-
const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalIndexQuery2.default.hash && _StoreModalIndexQuery2.default.hash !== "
|
|
18
|
+
const data = (0, _reactRelay.usePreloadedQuery)((_StoreModalIndexQuery2.default.hash && _StoreModalIndexQuery2.default.hash !== "099c77808b41054885365ebe3eda03c8" && console.error("The definition of 'StoreModalIndexQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."), _StoreModalIndexQuery2.default), prepared.indexQuery);
|
|
19
19
|
const viewer = data.viewer;
|
|
20
20
|
const edges = (viewer === null || viewer === void 0 ? void 0 : (_viewer$rootCollectio = viewer.rootCollections) === null || _viewer$rootCollectio === void 0 ? void 0 : _viewer$rootCollectio.edges) ?? [];
|
|
21
21
|
return /*#__PURE__*/_react.default.createElement(_StoreModalPageContainer.default, null, {
|
package/package.json
CHANGED
package/.nvmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
v14.13.1
|