@searchcraft/react-sdk 0.13.2 → 0.14.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/README.md +5 -0
- package/dist/client/index.js +6303 -7520
- package/dist/client/index.js.map +1 -1
- package/dist/client/themes/hologram.css +1 -1
- package/dist/client/themes/hologram.css.map +1 -1
- package/dist/server/index.d.ts +191 -0
- package/dist/server/index.js +3574 -3321
- package/dist/server/index.js.map +1 -1
- package/package.json +22 -8
package/README.md
CHANGED
|
@@ -135,6 +135,11 @@ export const filterPanelItems = [
|
|
|
135
135
|
type: 'facets',
|
|
136
136
|
fieldName: 'section',
|
|
137
137
|
label: 'Filter by Section',
|
|
138
|
+
options: {
|
|
139
|
+
showSublevel: false,
|
|
140
|
+
initialCollapseState: 'open', // 'open' or 'closed' - controls if section starts expanded or collapsed
|
|
141
|
+
viewMoreThreshold: 8, // Number of facets to show before "view more" link appears (0 = show all)
|
|
142
|
+
},
|
|
138
143
|
},
|
|
139
144
|
];
|
|
140
145
|
|