@sledge-app/react-instant-search 0.0.40 → 0.0.41
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/components/ProductFilterWidget/ProductFilterWidget.d.ts +2 -1
- package/dist/components/ProductFilterWidget/ProductFilterWidget.d.ts.map +1 -1
- package/dist/components/SearchResultWidget/SearchResultWidget.d.ts +2 -1
- package/dist/components/SearchResultWidget/SearchResultWidget.d.ts.map +1 -1
- package/dist/sledge-react-instant-search.cjs +1 -1
- package/dist/sledge-react-instant-search.cjs.map +1 -1
- package/dist/sledge-react-instant-search.js +26 -11
- package/dist/sledge-react-instant-search.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface IProductFilterWidgetProps {
|
|
2
3
|
query?: {
|
|
3
4
|
keyword: string;
|
|
@@ -11,5 +12,5 @@ export interface IProductFilterWidgetProps {
|
|
|
11
12
|
onAfterRemoveWishlist?(state: 'success' | 'failed'): void;
|
|
12
13
|
onAfterRenderProduct?(state: 'success' | 'failed'): void;
|
|
13
14
|
}
|
|
14
|
-
export declare const ProductFilterWidget: (props: IProductFilterWidgetProps) => JSX.Element
|
|
15
|
+
export declare const ProductFilterWidget: React.MemoExoticComponent<(props: IProductFilterWidgetProps) => JSX.Element>;
|
|
15
16
|
//# sourceMappingURL=ProductFilterWidget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductFilterWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProductFilterWidget/ProductFilterWidget.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProductFilterWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProductFilterWidget/ProductFilterWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,yBAAyB;IACtC,KAAK,CAAC,EAAE;QACJ,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,IAAI,CAAC,EACC;QACI,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,EAAE,CAAC;KACvC,GACD,SAAS,CAAC;IAChB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,gBAAgB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACrD,kBAAkB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACvD,qBAAqB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IAC1D,oBAAoB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;CAC5D;AAED,eAAO,MAAM,mBAAmB,oCAAsB,yBAAyB,iBAE7E,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export interface ISearchResultWidgetProps {
|
|
2
3
|
layoutType?: 'product-filter' | 'default';
|
|
3
4
|
query?: {
|
|
@@ -12,5 +13,5 @@ export interface ISearchResultWidgetProps {
|
|
|
12
13
|
onAfterRemoveWishlist?(state: 'success' | 'failed'): void;
|
|
13
14
|
onAfterRenderProduct?(state: 'success' | 'failed'): void;
|
|
14
15
|
}
|
|
15
|
-
export declare const SearchResultWidget: (props: ISearchResultWidgetProps) => JSX.Element
|
|
16
|
+
export declare const SearchResultWidget: React.MemoExoticComponent<(props: ISearchResultWidgetProps) => JSX.Element>;
|
|
16
17
|
//# sourceMappingURL=SearchResultWidget.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchResultWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchResultWidget/SearchResultWidget.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SearchResultWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchResultWidget/SearchResultWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,0BAA0B,CAAC;AA6BlC,MAAM,WAAW,wBAAwB;IACrC,UAAU,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC1C,KAAK,CAAC,EAAE;QACJ,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,IAAI,CAAC,EACC;QACI,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,EAAE,CAAC;KACvC,GACD,SAAS,CAAC;IAChB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,gBAAgB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACrD,kBAAkB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACvD,qBAAqB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IAC1D,oBAAoB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;CAC5D;AAwCD,eAAO,MAAM,kBAAkB,oCAAsB,wBAAwB,iBA6hB3E,CAAC"}
|