@searchcraft/javascript-sdk 0.13.3 → 0.15.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.
Files changed (73) hide show
  1. package/dist/components/defineCustomElements.js +25 -23
  2. package/dist/components/html.js +1 -1
  3. package/dist/components/index.d.ts +213 -5
  4. package/dist/components/index.js +245 -64
  5. package/dist/components/index.js.map +1 -1
  6. package/dist/components/marked.esm.js +2163 -0
  7. package/dist/components/marked.esm.js.map +1 -0
  8. package/dist/components/searchcraft-ad.js +1 -1
  9. package/dist/components/searchcraft-ad2.js +4 -4
  10. package/dist/components/searchcraft-button.js +1 -1
  11. package/dist/components/searchcraft-button2.js +2 -2
  12. package/dist/components/searchcraft-error-message.js +1 -1
  13. package/dist/components/searchcraft-error-message2.js +1 -1
  14. package/dist/components/searchcraft-facet-list.js +1 -1
  15. package/dist/components/searchcraft-facet-list2.js +2 -2
  16. package/dist/components/searchcraft-facet-list2.js.map +1 -1
  17. package/dist/components/searchcraft-filter-panel.js +18 -9
  18. package/dist/components/searchcraft-filter-panel.js.map +1 -1
  19. package/dist/components/searchcraft-input-form.js +1 -1
  20. package/dist/components/searchcraft-input-form2.js +6 -6
  21. package/dist/components/searchcraft-input-label.js +1 -1
  22. package/dist/components/searchcraft-input-label2.js +2 -2
  23. package/dist/components/searchcraft-loading.js +1 -1
  24. package/dist/components/searchcraft-loading2.js +5 -2
  25. package/dist/components/searchcraft-loading2.js.map +1 -1
  26. package/dist/components/searchcraft-pagination.js +96 -8
  27. package/dist/components/searchcraft-pagination.js.map +1 -1
  28. package/dist/components/searchcraft-popover-button.js +6 -4
  29. package/dist/components/searchcraft-popover-button.js.map +1 -1
  30. package/dist/components/searchcraft-popover-footer.js +1 -1
  31. package/dist/components/searchcraft-popover-footer2.js +51 -7
  32. package/dist/components/searchcraft-popover-footer2.js.map +1 -1
  33. package/dist/components/searchcraft-popover-form.js +96 -22
  34. package/dist/components/searchcraft-popover-form.js.map +1 -1
  35. package/dist/components/searchcraft-popover-list-item.js +1 -1
  36. package/dist/components/searchcraft-popover-list-item2.js +3 -3
  37. package/dist/components/searchcraft-popover-list-view.js +1 -1
  38. package/dist/components/searchcraft-popover-list-view2.js +4 -4
  39. package/dist/components/searchcraft-results-info.js +4 -4
  40. package/dist/components/searchcraft-results-summary.d.ts +11 -0
  41. package/dist/components/searchcraft-results-summary.js +9 -0
  42. package/dist/components/searchcraft-results-summary.js.map +1 -0
  43. package/dist/components/searchcraft-results-summary2.js +97 -0
  44. package/dist/components/searchcraft-results-summary2.js.map +1 -0
  45. package/dist/components/searchcraft-search-result.js +1 -1
  46. package/dist/components/searchcraft-search-result2.js +3 -3
  47. package/dist/components/searchcraft-search-results-per-page.js +3 -3
  48. package/dist/components/searchcraft-search-results.js +5 -5
  49. package/dist/components/searchcraft-select.js +1 -1
  50. package/dist/components/searchcraft-select2.js +1 -1
  51. package/dist/components/searchcraft-slider.js +1 -1
  52. package/dist/components/searchcraft-slider2.js +5 -5
  53. package/dist/components/searchcraft-summary-box.js +11 -2178
  54. package/dist/components/searchcraft-summary-box.js.map +1 -1
  55. package/dist/components/searchcraft-theme.js +3 -3
  56. package/dist/components/searchcraft-theme.js.map +1 -1
  57. package/dist/components/searchcraft-toggle-button.js +1 -1
  58. package/dist/components/searchcraft-toggle-button2.js +5 -5
  59. package/dist/hydrate/index.js +2294 -1985
  60. package/dist/hydrate/index.mjs +2294 -1985
  61. package/dist/themes/hologram.css +1 -1
  62. package/dist/themes/hologram.css.map +1 -1
  63. package/dist/types/clients/SummaryClient.d.ts +10 -1
  64. package/dist/types/components/searchcraft-pagination/searchcraft-pagination.d.ts +28 -0
  65. package/dist/types/components/searchcraft-popover-button/searchcraft-popover-button.d.ts +1 -1
  66. package/dist/types/components/searchcraft-popover-footer/searchcraft-popover-footer.d.ts +15 -0
  67. package/dist/types/components/searchcraft-popover-form/searchcraft-popover-form.d.ts +24 -0
  68. package/dist/types/components/searchcraft-results-summary/searchcraft-results-summary.d.ts +65 -0
  69. package/dist/types/components/searchcraft-summary-box/searchcraft-summary-box.d.ts +5 -5
  70. package/dist/types/components.d.ts +191 -2
  71. package/dist/types/store/SearchcraftStore.types.d.ts +1 -0
  72. package/dist/types/types/core-types/SearchcraftConfig.types.d.ts +2 -2
  73. package/package.json +19 -2
@@ -1,4 +1,4 @@
1
- import { S as SearchcraftSlider$1, d as defineCustomElement$1 } from './searchcraft-slider2.js?v=0.13.3';
1
+ import { S as SearchcraftSlider$1, d as defineCustomElement$1 } from './searchcraft-slider2.js?scv=0.15.0';
2
2
 
3
3
  const SearchcraftSlider = SearchcraftSlider$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,7 +1,7 @@
1
- import { p as proxyCustomElement, H, c as createEvent, h, t as transformTag } from './index2.js?v=0.13.3';
2
- import { a as getDifferenceInUnits, b as getStartOf, c as getFormattedDateString } from './units.js?v=0.13.3';
1
+ import { p as proxyCustomElement, H, c as createEvent, h, t as transformTag } from './index2.js?scv=0.15.0';
2
+ import { a as getDifferenceInUnits, b as getStartOf, c as getFormattedDateString } from './units.js?scv=0.15.0';
3
3
  import './purify.es.js';
4
- import { c as classNames } from './index3.js?v=0.13.3';
4
+ import { c as classNames } from './index3.js?scv=0.15.0';
5
5
 
6
6
  /**
7
7
  * Creates a throttled version of the given function that only invokes
@@ -159,10 +159,10 @@ const SearchcraftSlider = /*@__PURE__*/ proxyCustomElement(class SearchcraftSlid
159
159
  100;
160
160
  const startLabel = this.getLabel(this.startValue);
161
161
  const endLabel = this.getLabel(this.endValue);
162
- return (h("div", { key: 'd5035ed8bcbf95c0ef5b2a7a9ef471e318a9dc30', class: 'searchcraft-slider' }, h("div", { key: 'f5f7bc48703250b4f6c75a1f07c921233bd957d5', class: 'searchcraft-slider-range' }, h("div", { key: 'fc2ec9f9786986a7306ffe43b54c47c35a1f086a', class: 'searchcraft-slider-active-range', style: {
162
+ return (h("div", { key: '2c72254f52151edd2e2fa89c092fc788db0b5562', class: 'searchcraft-slider' }, h("div", { key: '98c25badf2c9386d7173ea552e510dcc168e7fc7', class: 'searchcraft-slider-range' }, h("div", { key: '50774db2253e34b1bce68acc0a40b2706cab542d', class: 'searchcraft-slider-active-range', style: {
163
163
  left: `${startPercent}%`,
164
164
  width: `${endPercent - startPercent}%`,
165
- } }), h("input", { key: '716316b5ce507c40db5b7bd408f47b3bece88494', class: classNames('searchcraft-slider-input', 'searchcraft-slider-input-min-handle'), max: this.upperBound, min: this.lowerBound, onInput: this.handleStartValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === 'min' ? '2' : '1' }, type: 'range', value: this.startValue }), h("input", { key: 'e2ad0d586136185faccb50d6d7fb113a64ddac42', class: classNames('searchcraft-slider-input', 'searchcraft-slider-input-max-handle'), max: this.upperBound, min: this.lowerBound, onInput: this.handleEndValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === 'max' ? '2' : '1' }, type: 'range', value: this.endValue })), h("div", { key: '7e9ab9fa9563cac6a1dfdd11910e04084ae5348d', class: 'searchcraft-slider-label' }, h("span", { key: '0909279f460c4be84c1088c5981a5f5299e8e2a0', class: 'searchcraft-slider-start-label' }, startLabel), h("span", { key: '4b610a68f97fcbc0aa1eda428dfa1e53b00efe43', class: 'searchcraft-slider-end-label' }, endLabel))));
165
+ } }), h("input", { key: '229afedc1318a63cbd75806805210cf4f5695e6e', class: classNames('searchcraft-slider-input', 'searchcraft-slider-input-min-handle'), max: this.upperBound, min: this.lowerBound, onInput: this.handleStartValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === 'min' ? '2' : '1' }, type: 'range', value: this.startValue }), h("input", { key: '6aa038b01daaba86f501ebbbec30fc6720b549b3', class: classNames('searchcraft-slider-input', 'searchcraft-slider-input-max-handle'), max: this.upperBound, min: this.lowerBound, onInput: this.handleEndValueChange.bind(this), step: this.step, style: { zIndex: this.lastFocusedHandle === 'max' ? '2' : '1' }, type: 'range', value: this.endValue })), h("div", { key: 'f70501538635c3b08ad1e6ac101d0b3192ef8e04', class: 'searchcraft-slider-label' }, h("span", { key: 'ddd539b86774f8900771d77d5ef7eb3a67c98d59', class: 'searchcraft-slider-start-label' }, startLabel), h("span", { key: 'b754a9c8d284e0623032cee6b92f9df88873ec04', class: 'searchcraft-slider-end-label' }, endLabel))));
166
166
  }
167
167
  }, [768, "searchcraft-slider", {
168
168
  "max": [2],