fontdue-js 2.0.0-alpha4np → 2.0.0-alpha5
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.
|
@@ -11,5 +11,5 @@ interface TypeTestersQueryRendererProps {
|
|
|
11
11
|
onToolbarOpenClose?: (open: boolean) => void;
|
|
12
12
|
includePriceBar: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const TypeTestersQueryRenderer: ({ collectionId, collectionSlug, tags, excludeTags,
|
|
14
|
+
declare const TypeTestersQueryRenderer: ({ collectionId, collectionSlug, tags, excludeTags, ...rest }: Omit<TypeTestersQueryRendererProps, 'includePriceBar'>) => React.JSX.Element | null;
|
|
15
15
|
export default TypeTestersQueryRenderer;
|
|
@@ -169,7 +169,7 @@ const TypeTestersQueryRenderer = _ref5 => {
|
|
|
169
169
|
collectionSlug,
|
|
170
170
|
tags,
|
|
171
171
|
excludeTags,
|
|
172
|
-
|
|
172
|
+
...rest
|
|
173
173
|
} = _ref5;
|
|
174
174
|
const precartOpen = (0, _reactRedux.useSelector)(state => state.precartOpen);
|
|
175
175
|
const {
|
|
@@ -183,8 +183,8 @@ const TypeTestersQueryRenderer = _ref5 => {
|
|
|
183
183
|
const deferredIncludePriceBar = (0, _react.useDeferredValue)(includePriceBar);
|
|
184
184
|
const deferredTags = (0, _react.useDeferredValue)(tags);
|
|
185
185
|
const deferredExcludeTags = (0, _react.useDeferredValue)(excludeTags);
|
|
186
|
-
const
|
|
187
|
-
|
|
186
|
+
const props = {
|
|
187
|
+
...rest,
|
|
188
188
|
tags: deferredTags,
|
|
189
189
|
excludeTags: deferredExcludeTags,
|
|
190
190
|
includePriceBar: deferredIncludePriceBar
|
|
@@ -192,12 +192,12 @@ const TypeTestersQueryRenderer = _ref5 => {
|
|
|
192
192
|
if (deferredCollectionId) {
|
|
193
193
|
return /*#__PURE__*/_react.default.createElement(TypeTestersIDQueryRenderer, _extends({
|
|
194
194
|
collectionId: deferredCollectionId
|
|
195
|
-
},
|
|
195
|
+
}, props));
|
|
196
196
|
}
|
|
197
197
|
if (deferredCollectionSlug) {
|
|
198
198
|
return /*#__PURE__*/_react.default.createElement(TypeTestersSlugQueryRenderer, _extends({
|
|
199
199
|
collectionSlug: deferredCollectionSlug
|
|
200
|
-
},
|
|
200
|
+
}, props));
|
|
201
201
|
}
|
|
202
202
|
return null;
|
|
203
203
|
};
|