@searchcraft/javascript-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/components/defineCustomElements.js +23 -23
- package/dist/components/html.js +1 -1
- package/dist/components/index.d.ts +191 -0
- package/dist/components/index.js +28 -30
- package/dist/components/index.js.map +1 -1
- package/dist/components/index2.js +12 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/searchcraft-ad.js +1 -1
- package/dist/components/searchcraft-ad2.js +4 -4
- package/dist/components/searchcraft-button.js +1 -1
- package/dist/components/searchcraft-button2.js +2 -2
- package/dist/components/searchcraft-error-message.js +1 -1
- package/dist/components/searchcraft-error-message2.js +1 -1
- package/dist/components/searchcraft-facet-list.js +1 -1
- package/dist/components/searchcraft-facet-list2.js +59 -4
- package/dist/components/searchcraft-facet-list2.js.map +1 -1
- package/dist/components/searchcraft-filter-panel.js +47 -6
- package/dist/components/searchcraft-filter-panel.js.map +1 -1
- package/dist/components/searchcraft-input-form.js +1 -1
- package/dist/components/searchcraft-input-form2.js +6 -6
- package/dist/components/searchcraft-input-label.js +1 -1
- package/dist/components/searchcraft-input-label2.js +2 -2
- package/dist/components/searchcraft-loading.js +1 -1
- package/dist/components/searchcraft-loading2.js +5 -2
- package/dist/components/searchcraft-loading2.js.map +1 -1
- package/dist/components/searchcraft-pagination.js +137 -4
- package/dist/components/searchcraft-pagination.js.map +1 -1
- package/dist/components/searchcraft-popover-button.js +4 -4
- package/dist/components/searchcraft-popover-footer.js +1 -1
- package/dist/components/searchcraft-popover-footer2.js +52 -6
- package/dist/components/searchcraft-popover-footer2.js.map +1 -1
- package/dist/components/searchcraft-popover-form.js +96 -22
- package/dist/components/searchcraft-popover-form.js.map +1 -1
- package/dist/components/searchcraft-popover-list-item.js +1 -1
- package/dist/components/searchcraft-popover-list-item2.js +4 -4
- package/dist/components/searchcraft-popover-list-view.js +1 -1
- package/dist/components/searchcraft-popover-list-view2.js +4 -4
- package/dist/components/searchcraft-results-info.js +4 -4
- package/dist/components/searchcraft-search-result.js +1 -1
- package/dist/components/searchcraft-search-result2.js +3 -3
- package/dist/components/searchcraft-search-results-per-page.js +3 -3
- package/dist/components/searchcraft-search-results.js +5 -5
- package/dist/components/searchcraft-select.js +1 -1
- package/dist/components/searchcraft-select2.js +1 -1
- package/dist/components/searchcraft-slider.js +1 -1
- package/dist/components/searchcraft-slider2.js +5 -5
- package/dist/components/searchcraft-summary-box.js +1 -2256
- package/dist/components/searchcraft-summary-box.js.map +1 -1
- package/dist/components/searchcraft-summary-box2.js +2261 -0
- package/dist/components/searchcraft-summary-box2.js.map +1 -0
- package/dist/components/searchcraft-theme.js +3 -3
- package/dist/components/searchcraft-theme.js.map +1 -1
- package/dist/components/searchcraft-toggle-button.js +1 -1
- package/dist/components/searchcraft-toggle-button2.js +5 -5
- package/dist/hydrate/index.js +389 -19
- package/dist/hydrate/index.mjs +389 -19
- package/dist/themes/hologram.css +1 -1
- package/dist/themes/hologram.css.map +1 -1
- package/dist/types/components/searchcraft-facet-list/searchcraft-facet-list.d.ts +47 -0
- package/dist/types/components/searchcraft-pagination/searchcraft-pagination.d.ts +37 -0
- package/dist/types/components/searchcraft-popover-footer/searchcraft-popover-footer.d.ts +15 -0
- package/dist/types/components/searchcraft-popover-form/searchcraft-popover-form.d.ts +24 -0
- package/dist/types/components.d.ts +168 -0
- package/dist/types/types/sdk-types/searchcraft-filter-panel.types.d.ts +13 -0
- package/package.json +19 -2
|
@@ -84,7 +84,19 @@ export namespace Components {
|
|
|
84
84
|
* It is consumed within the `searchcraft-filter-panel`.
|
|
85
85
|
* @js-example ```html
|
|
86
86
|
* <!-- index.html -->
|
|
87
|
+
* <!-- Basic usage -->
|
|
87
88
|
* <searchcraft-facet-list field-name="title" />
|
|
89
|
+
* <!-- With collapsible section (initially closed) and view more threshold -->
|
|
90
|
+
* <searchcraft-facet-list
|
|
91
|
+
* field-name="category"
|
|
92
|
+
* initial-collapse-state="closed"
|
|
93
|
+
* view-more-threshold="5"
|
|
94
|
+
* />
|
|
95
|
+
* <!-- Show all facets without "view more" link -->
|
|
96
|
+
* <searchcraft-facet-list
|
|
97
|
+
* field-name="brand"
|
|
98
|
+
* view-more-threshold="0"
|
|
99
|
+
* />
|
|
88
100
|
* ```
|
|
89
101
|
* ```js
|
|
90
102
|
* // index.js
|
|
@@ -92,6 +104,8 @@ export namespace Components {
|
|
|
92
104
|
* facetList.addEventListener('facetSelectionUpdated', () => {
|
|
93
105
|
* console.log('Facet selection updated');
|
|
94
106
|
* });
|
|
107
|
+
* // Programmatically toggle collapse state
|
|
108
|
+
* await facetList.handleCollapseToggle();
|
|
95
109
|
* ```
|
|
96
110
|
*/
|
|
97
111
|
interface SearchcraftFacetList {
|
|
@@ -104,10 +118,30 @@ export namespace Components {
|
|
|
104
118
|
* @default ''
|
|
105
119
|
*/
|
|
106
120
|
"fieldName": string;
|
|
121
|
+
/**
|
|
122
|
+
* Returns whether the facet section is currently collapsed.
|
|
123
|
+
* @returns A promise that resolves to true if collapsed, false if expanded.
|
|
124
|
+
*/
|
|
125
|
+
"getIsCollapsed": () => Promise<boolean>;
|
|
126
|
+
/**
|
|
127
|
+
* Toggles the collapsed state of the facet section.
|
|
128
|
+
* @returns A promise that resolves when the toggle is complete.
|
|
129
|
+
*/
|
|
130
|
+
"handleCollapseToggle": () => Promise<void>;
|
|
131
|
+
/**
|
|
132
|
+
* Initial collapse state of the facet section.
|
|
133
|
+
* @default 'open'
|
|
134
|
+
*/
|
|
135
|
+
"initialCollapseState"?: 'open' | 'closed';
|
|
107
136
|
/**
|
|
108
137
|
* The id of the Searchcraft instance that this component should use.
|
|
109
138
|
*/
|
|
110
139
|
"searchcraftId"?: string;
|
|
140
|
+
/**
|
|
141
|
+
* The number of facets to show before displaying a "view more" link. Set to 0 to show all facets without a "view more" link.
|
|
142
|
+
* @default 8
|
|
143
|
+
*/
|
|
144
|
+
"viewMoreThreshold"?: number;
|
|
111
145
|
}
|
|
112
146
|
/**
|
|
113
147
|
* This web component represents a series of filters that allows users to refine and control their search queries by applying various filter criteria.
|
|
@@ -254,10 +288,25 @@ export namespace Components {
|
|
|
254
288
|
* ```
|
|
255
289
|
*/
|
|
256
290
|
interface SearchcraftPagination {
|
|
291
|
+
/**
|
|
292
|
+
* The URL query string parameter name used to track the current page. When a user navigates to a URL that contains this parameter, the pagination component will automatically navigate to that page.
|
|
293
|
+
* @default "p"
|
|
294
|
+
*/
|
|
295
|
+
"pageQueryParam": string;
|
|
296
|
+
/**
|
|
297
|
+
* Whether to scroll to the top of the search results when pagination buttons are clicked.
|
|
298
|
+
* @default true
|
|
299
|
+
*/
|
|
300
|
+
"scrollToTop"?: boolean;
|
|
257
301
|
/**
|
|
258
302
|
* The id of the Searchcraft instance that this component should use.
|
|
259
303
|
*/
|
|
260
304
|
"searchcraftId"?: string;
|
|
305
|
+
/**
|
|
306
|
+
* Whether to use a query string parameter to track and restore the current page. Set to `false` to disable query string synchronisation entirely.
|
|
307
|
+
* @default true
|
|
308
|
+
*/
|
|
309
|
+
"usePageQueryParam": boolean;
|
|
261
310
|
}
|
|
262
311
|
/**
|
|
263
312
|
* Renders a button which, when clicked, turns on popover visibility.
|
|
@@ -317,10 +366,23 @@ export namespace Components {
|
|
|
317
366
|
* Renders the footer for the searchcraft-popover-form.
|
|
318
367
|
*/
|
|
319
368
|
interface SearchcraftPopoverFooter {
|
|
369
|
+
/**
|
|
370
|
+
* The SDK variant used to render this component. Used for UTM attribution. This isn't exposed for developer consumption, it's set automatically.
|
|
371
|
+
* @default 'js'
|
|
372
|
+
*/
|
|
373
|
+
"sdkVariant"?: 'js' | 'react' | 'vue';
|
|
320
374
|
/**
|
|
321
375
|
* The id of the Searchcraft instance that this component should use.
|
|
322
376
|
*/
|
|
323
377
|
"searchcraftId"?: string;
|
|
378
|
+
/**
|
|
379
|
+
* Optional href for the "View all" button.
|
|
380
|
+
*/
|
|
381
|
+
"viewAllResultsHref"?: string;
|
|
382
|
+
/**
|
|
383
|
+
* Optional label for the "View all" button.
|
|
384
|
+
*/
|
|
385
|
+
"viewAllResultsLabel"?: string;
|
|
324
386
|
}
|
|
325
387
|
/**
|
|
326
388
|
* This web component is designed to display search results in a popover container that dynamically appears when the user interacts with a search input field, or when a popover-button is pressed.
|
|
@@ -370,15 +432,33 @@ export namespace Components {
|
|
|
370
432
|
* Formats the content rendered for each result.
|
|
371
433
|
*/
|
|
372
434
|
"popoverResultMappings"?: PopoverResultMappings;
|
|
435
|
+
/**
|
|
436
|
+
* The SDK variant used to render this component. Used for UTM attribution on the footer link.
|
|
437
|
+
* @default 'js'
|
|
438
|
+
*/
|
|
439
|
+
"sdkVariant"?: 'js' | 'react' | 'vue';
|
|
373
440
|
/**
|
|
374
441
|
* The id of the Searchcraft instance that this component should use.
|
|
375
442
|
*/
|
|
376
443
|
"searchcraftId"?: string;
|
|
444
|
+
/**
|
|
445
|
+
* Whether to display the AI generative summary box before the search results. NOTE: This requires the usage of a read key that has "SUMMARY" permissions and either a subscription to Searchcraft Cloud with AI features enabled or a self-hosted model connected.
|
|
446
|
+
* @default false
|
|
447
|
+
*/
|
|
448
|
+
"showSummaryBox"?: boolean;
|
|
377
449
|
/**
|
|
378
450
|
* The type of popover form to render. - `inline` - Renders inline with the rest of the content on the page. The search results pop over the page content. - `fullscreen` - Renders in fullscreen view. Used together with the `searchcraft-popover-button` component. - `modal` - Renders in a modal view. Used together with the `searchcraft-popover-button` component.
|
|
379
451
|
* @default 'inline'
|
|
380
452
|
*/
|
|
381
453
|
"type"?: 'inline' | 'fullscreen' | 'modal';
|
|
454
|
+
/**
|
|
455
|
+
* Base URL for the "View all" footer link. The current search term will be appended (URL encoded). For example, in a CMS-backed site you might set this to `/?s=` so the final URL becomes `/?s=<search-term>`.
|
|
456
|
+
*/
|
|
457
|
+
"viewAllResultsBaseUrl"?: string;
|
|
458
|
+
/**
|
|
459
|
+
* Optional label for the "View All" footer button. Defaults to "View All".
|
|
460
|
+
*/
|
|
461
|
+
"viewAllResultsLabel"?: string;
|
|
382
462
|
}
|
|
383
463
|
/**
|
|
384
464
|
* A single list item rendered in a searchcraft-popover-list-view.
|
|
@@ -787,7 +867,19 @@ declare global {
|
|
|
787
867
|
* It is consumed within the `searchcraft-filter-panel`.
|
|
788
868
|
* @js-example ```html
|
|
789
869
|
* <!-- index.html -->
|
|
870
|
+
* <!-- Basic usage -->
|
|
790
871
|
* <searchcraft-facet-list field-name="title" />
|
|
872
|
+
* <!-- With collapsible section (initially closed) and view more threshold -->
|
|
873
|
+
* <searchcraft-facet-list
|
|
874
|
+
* field-name="category"
|
|
875
|
+
* initial-collapse-state="closed"
|
|
876
|
+
* view-more-threshold="5"
|
|
877
|
+
* />
|
|
878
|
+
* <!-- Show all facets without "view more" link -->
|
|
879
|
+
* <searchcraft-facet-list
|
|
880
|
+
* field-name="brand"
|
|
881
|
+
* view-more-threshold="0"
|
|
882
|
+
* />
|
|
791
883
|
* ```
|
|
792
884
|
* ```js
|
|
793
885
|
* // index.js
|
|
@@ -795,6 +887,8 @@ declare global {
|
|
|
795
887
|
* facetList.addEventListener('facetSelectionUpdated', () => {
|
|
796
888
|
* console.log('Facet selection updated');
|
|
797
889
|
* });
|
|
890
|
+
* // Programmatically toggle collapse state
|
|
891
|
+
* await facetList.handleCollapseToggle();
|
|
798
892
|
* ```
|
|
799
893
|
*/
|
|
800
894
|
interface HTMLSearchcraftFacetListElement extends Components.SearchcraftFacetList, HTMLStencilElement {
|
|
@@ -1378,7 +1472,19 @@ declare namespace LocalJSX {
|
|
|
1378
1472
|
* It is consumed within the `searchcraft-filter-panel`.
|
|
1379
1473
|
* @js-example ```html
|
|
1380
1474
|
* <!-- index.html -->
|
|
1475
|
+
* <!-- Basic usage -->
|
|
1381
1476
|
* <searchcraft-facet-list field-name="title" />
|
|
1477
|
+
* <!-- With collapsible section (initially closed) and view more threshold -->
|
|
1478
|
+
* <searchcraft-facet-list
|
|
1479
|
+
* field-name="category"
|
|
1480
|
+
* initial-collapse-state="closed"
|
|
1481
|
+
* view-more-threshold="5"
|
|
1482
|
+
* />
|
|
1483
|
+
* <!-- Show all facets without "view more" link -->
|
|
1484
|
+
* <searchcraft-facet-list
|
|
1485
|
+
* field-name="brand"
|
|
1486
|
+
* view-more-threshold="0"
|
|
1487
|
+
* />
|
|
1382
1488
|
* ```
|
|
1383
1489
|
* ```js
|
|
1384
1490
|
* // index.js
|
|
@@ -1386,6 +1492,8 @@ declare namespace LocalJSX {
|
|
|
1386
1492
|
* facetList.addEventListener('facetSelectionUpdated', () => {
|
|
1387
1493
|
* console.log('Facet selection updated');
|
|
1388
1494
|
* });
|
|
1495
|
+
* // Programmatically toggle collapse state
|
|
1496
|
+
* await facetList.handleCollapseToggle();
|
|
1389
1497
|
* ```
|
|
1390
1498
|
*/
|
|
1391
1499
|
interface SearchcraftFacetList {
|
|
@@ -1398,6 +1506,11 @@ declare namespace LocalJSX {
|
|
|
1398
1506
|
* @default ''
|
|
1399
1507
|
*/
|
|
1400
1508
|
"fieldName"?: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* Initial collapse state of the facet section.
|
|
1511
|
+
* @default 'open'
|
|
1512
|
+
*/
|
|
1513
|
+
"initialCollapseState"?: 'open' | 'closed';
|
|
1401
1514
|
/**
|
|
1402
1515
|
* Emitted when the facets are updated.
|
|
1403
1516
|
*/
|
|
@@ -1406,6 +1519,11 @@ declare namespace LocalJSX {
|
|
|
1406
1519
|
* The id of the Searchcraft instance that this component should use.
|
|
1407
1520
|
*/
|
|
1408
1521
|
"searchcraftId"?: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* The number of facets to show before displaying a "view more" link. Set to 0 to show all facets without a "view more" link.
|
|
1524
|
+
* @default 8
|
|
1525
|
+
*/
|
|
1526
|
+
"viewMoreThreshold"?: number;
|
|
1409
1527
|
}
|
|
1410
1528
|
/**
|
|
1411
1529
|
* This web component represents a series of filters that allows users to refine and control their search queries by applying various filter criteria.
|
|
@@ -1564,10 +1682,25 @@ declare namespace LocalJSX {
|
|
|
1564
1682
|
* ```
|
|
1565
1683
|
*/
|
|
1566
1684
|
interface SearchcraftPagination {
|
|
1685
|
+
/**
|
|
1686
|
+
* The URL query string parameter name used to track the current page. When a user navigates to a URL that contains this parameter, the pagination component will automatically navigate to that page.
|
|
1687
|
+
* @default "p"
|
|
1688
|
+
*/
|
|
1689
|
+
"pageQueryParam"?: string;
|
|
1690
|
+
/**
|
|
1691
|
+
* Whether to scroll to the top of the search results when pagination buttons are clicked.
|
|
1692
|
+
* @default true
|
|
1693
|
+
*/
|
|
1694
|
+
"scrollToTop"?: boolean;
|
|
1567
1695
|
/**
|
|
1568
1696
|
* The id of the Searchcraft instance that this component should use.
|
|
1569
1697
|
*/
|
|
1570
1698
|
"searchcraftId"?: string;
|
|
1699
|
+
/**
|
|
1700
|
+
* Whether to use a query string parameter to track and restore the current page. Set to `false` to disable query string synchronisation entirely.
|
|
1701
|
+
* @default true
|
|
1702
|
+
*/
|
|
1703
|
+
"usePageQueryParam"?: boolean;
|
|
1571
1704
|
}
|
|
1572
1705
|
/**
|
|
1573
1706
|
* Renders a button which, when clicked, turns on popover visibility.
|
|
@@ -1631,6 +1764,14 @@ declare namespace LocalJSX {
|
|
|
1631
1764
|
* The id of the Searchcraft instance that this component should use.
|
|
1632
1765
|
*/
|
|
1633
1766
|
"searchcraftId"?: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* Optional href for the "View all" button.
|
|
1769
|
+
*/
|
|
1770
|
+
"viewAllResultsHref"?: string;
|
|
1771
|
+
/**
|
|
1772
|
+
* Optional label for the "View all" button.
|
|
1773
|
+
*/
|
|
1774
|
+
"viewAllResultsLabel"?: string;
|
|
1634
1775
|
}
|
|
1635
1776
|
/**
|
|
1636
1777
|
* This web component is designed to display search results in a popover container that dynamically appears when the user interacts with a search input field, or when a popover-button is pressed.
|
|
@@ -1684,11 +1825,24 @@ declare namespace LocalJSX {
|
|
|
1684
1825
|
* The id of the Searchcraft instance that this component should use.
|
|
1685
1826
|
*/
|
|
1686
1827
|
"searchcraftId"?: string;
|
|
1828
|
+
/**
|
|
1829
|
+
* Whether to display the AI generative summary box before the search results. NOTE: This requires the usage of a read key that has "SUMMARY" permissions and either a subscription to Searchcraft Cloud with AI features enabled or a self-hosted model connected.
|
|
1830
|
+
* @default false
|
|
1831
|
+
*/
|
|
1832
|
+
"showSummaryBox"?: boolean;
|
|
1687
1833
|
/**
|
|
1688
1834
|
* The type of popover form to render. - `inline` - Renders inline with the rest of the content on the page. The search results pop over the page content. - `fullscreen` - Renders in fullscreen view. Used together with the `searchcraft-popover-button` component. - `modal` - Renders in a modal view. Used together with the `searchcraft-popover-button` component.
|
|
1689
1835
|
* @default 'inline'
|
|
1690
1836
|
*/
|
|
1691
1837
|
"type"?: 'inline' | 'fullscreen' | 'modal';
|
|
1838
|
+
/**
|
|
1839
|
+
* Base URL for the "View all" footer link. The current search term will be appended (URL encoded). For example, in a CMS-backed site you might set this to `/?s=` so the final URL becomes `/?s=<search-term>`.
|
|
1840
|
+
*/
|
|
1841
|
+
"viewAllResultsBaseUrl"?: string;
|
|
1842
|
+
/**
|
|
1843
|
+
* Optional label for the "View All" footer button. Defaults to "View All".
|
|
1844
|
+
*/
|
|
1845
|
+
"viewAllResultsLabel"?: string;
|
|
1692
1846
|
}
|
|
1693
1847
|
/**
|
|
1694
1848
|
* A single list item rendered in a searchcraft-popover-list-view.
|
|
@@ -2084,7 +2238,19 @@ declare module "@stencil/core" {
|
|
|
2084
2238
|
* It is consumed within the `searchcraft-filter-panel`.
|
|
2085
2239
|
* @js-example ```html
|
|
2086
2240
|
* <!-- index.html -->
|
|
2241
|
+
* <!-- Basic usage -->
|
|
2087
2242
|
* <searchcraft-facet-list field-name="title" />
|
|
2243
|
+
* <!-- With collapsible section (initially closed) and view more threshold -->
|
|
2244
|
+
* <searchcraft-facet-list
|
|
2245
|
+
* field-name="category"
|
|
2246
|
+
* initial-collapse-state="closed"
|
|
2247
|
+
* view-more-threshold="5"
|
|
2248
|
+
* />
|
|
2249
|
+
* <!-- Show all facets without "view more" link -->
|
|
2250
|
+
* <searchcraft-facet-list
|
|
2251
|
+
* field-name="brand"
|
|
2252
|
+
* view-more-threshold="0"
|
|
2253
|
+
* />
|
|
2088
2254
|
* ```
|
|
2089
2255
|
* ```js
|
|
2090
2256
|
* // index.js
|
|
@@ -2092,6 +2258,8 @@ declare module "@stencil/core" {
|
|
|
2092
2258
|
* facetList.addEventListener('facetSelectionUpdated', () => {
|
|
2093
2259
|
* console.log('Facet selection updated');
|
|
2094
2260
|
* });
|
|
2261
|
+
* // Programmatically toggle collapse state
|
|
2262
|
+
* await facetList.handleCollapseToggle();
|
|
2095
2263
|
* ```
|
|
2096
2264
|
*/
|
|
2097
2265
|
"searchcraft-facet-list": LocalJSX.SearchcraftFacetList & JSXBase.HTMLAttributes<HTMLSearchcraftFacetListElement>;
|
|
@@ -9,6 +9,19 @@ export interface FacetsFilterItem extends FilterItem {
|
|
|
9
9
|
options: {
|
|
10
10
|
showSublevel: boolean;
|
|
11
11
|
exclude?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* Initial collapse state of the facet section.
|
|
14
|
+
* - 'open': Section is expanded by default
|
|
15
|
+
* - 'closed': Section is collapsed by default
|
|
16
|
+
* @default 'open'
|
|
17
|
+
*/
|
|
18
|
+
initialCollapseState?: 'open' | 'closed';
|
|
19
|
+
/**
|
|
20
|
+
* The number of facets to show before displaying a "view more" link.
|
|
21
|
+
* Set to 0 to show all facets without a "view more" link.
|
|
22
|
+
* @default 8
|
|
23
|
+
*/
|
|
24
|
+
viewMoreThreshold?: number;
|
|
12
25
|
};
|
|
13
26
|
}
|
|
14
27
|
export interface NumericFilterItem extends FilterItem {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@searchcraft/javascript-sdk",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.14.0",
|
|
5
5
|
"description": "Searchcraft Javascript SDK",
|
|
6
6
|
"author": "Searchcraft Inc.",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -31,6 +31,23 @@
|
|
|
31
31
|
"files": [
|
|
32
32
|
"dist/"
|
|
33
33
|
],
|
|
34
|
+
"keywords": [
|
|
35
|
+
"searchcraft",
|
|
36
|
+
"search",
|
|
37
|
+
"search-ui",
|
|
38
|
+
"search-sdk",
|
|
39
|
+
"search-api",
|
|
40
|
+
"facets",
|
|
41
|
+
"filters",
|
|
42
|
+
"pagination",
|
|
43
|
+
"fuzzy-search",
|
|
44
|
+
"semantic-search",
|
|
45
|
+
"javascript-sdk",
|
|
46
|
+
"full-text-search",
|
|
47
|
+
"search-components",
|
|
48
|
+
"federated-search",
|
|
49
|
+
"web-components"
|
|
50
|
+
],
|
|
34
51
|
"scripts": {
|
|
35
52
|
"build": "stencil build",
|
|
36
53
|
"docs": "typedoc --options typedoc.json",
|
|
@@ -55,5 +72,5 @@
|
|
|
55
72
|
"nanoid": "^5.0.9",
|
|
56
73
|
"zustand": "^5.0.1"
|
|
57
74
|
},
|
|
58
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "d51ad8ec818dd39bcd7ce1f9f3fc9be2fc74558a"
|
|
59
76
|
}
|