@searchcraft/react-sdk 0.14.0 → 0.15.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/client/index.d.ts +22 -0
- package/dist/client/index.js +2050 -1781
- 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 +164 -24
- package/dist/server/index.js +1544 -1333
- package/dist/server/index.js.map +1 -1
- package/package.json +3 -3
package/dist/client/index.d.ts
CHANGED
|
@@ -204,6 +204,28 @@ export declare const SearchcraftResultsInfo: FC<SearchcraftResultsInfoProps>;
|
|
|
204
204
|
export declare interface SearchcraftResultsInfoProps extends Components.SearchcraftResultsInfo {
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
+
/**
|
|
208
|
+
* This React component displays an ai-generated results summary of the given search term.
|
|
209
|
+
*
|
|
210
|
+
* @example
|
|
211
|
+
* ```tsx
|
|
212
|
+
* import React, { useEffect, useRef } from 'react';
|
|
213
|
+
* import { SearchcraftResultsSummary } from '@searchcraft/react-sdk';
|
|
214
|
+
*
|
|
215
|
+
* return <SearchcraftResultsSummary />;
|
|
216
|
+
* };
|
|
217
|
+
*
|
|
218
|
+
* export default MyResultsInfo;
|
|
219
|
+
* ```
|
|
220
|
+
*/
|
|
221
|
+
export declare const SearchcraftResultsSummary: FC<SearchcraftResultsSummaryProps>;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* The Props for the SearchcraftResultsSummary component.
|
|
225
|
+
*/
|
|
226
|
+
export declare interface SearchcraftResultsSummaryProps extends Components.SearchcraftResultsSummary {
|
|
227
|
+
}
|
|
228
|
+
|
|
207
229
|
/**
|
|
208
230
|
* A component that renders a list of search results with customizable styles, layout, and link behavior.
|
|
209
231
|
*
|