@searchcraft/javascript-sdk 0.9.7 → 0.10.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.
Files changed (128) hide show
  1. package/README.md +2 -2
  2. package/dist/components/defineCustomElements.js +8 -6
  3. package/dist/components/index.d.ts +2632 -68
  4. package/dist/components/index.js +51 -15
  5. package/dist/components/index.js.map +1 -1
  6. package/dist/components/{p-e41b0f43.js → p-0077f677.js} +14 -21
  7. package/dist/components/p-0077f677.js.map +1 -0
  8. package/dist/components/p-13e81b5d.js +147 -0
  9. package/dist/components/p-13e81b5d.js.map +1 -0
  10. package/dist/components/p-172a848d.js +93 -0
  11. package/dist/components/p-172a848d.js.map +1 -0
  12. package/dist/components/{p-580c09dc.js → p-17c646e2.js} +226 -190
  13. package/dist/components/p-17c646e2.js.map +1 -0
  14. package/dist/components/{p-e55a7970.js → p-1adf78b9.js} +2 -2
  15. package/dist/components/p-1adf78b9.js.map +1 -0
  16. package/dist/components/{p-e27a0dab.js → p-2be1a382.js} +5 -7
  17. package/dist/components/p-2be1a382.js.map +1 -0
  18. package/dist/components/{p-4df578e4.js → p-3e65aa91.js} +8 -8
  19. package/dist/components/p-3e65aa91.js.map +1 -0
  20. package/dist/components/{p-8f854dec.js → p-5d17ace0.js} +14 -13
  21. package/dist/components/p-5d17ace0.js.map +1 -0
  22. package/dist/components/{p-bf6a086a.js → p-73db9122.js} +3 -10
  23. package/dist/components/p-73db9122.js.map +1 -0
  24. package/dist/components/p-810a7850.js +17 -0
  25. package/dist/components/p-810a7850.js.map +1 -0
  26. package/dist/components/p-84e2cbd6.js +46 -0
  27. package/dist/components/p-84e2cbd6.js.map +1 -0
  28. package/dist/components/{p-bb12ab5a.js → p-868803f9.js} +4 -3
  29. package/dist/components/p-868803f9.js.map +1 -0
  30. package/dist/components/{p-60f05735.js → p-a62a2e74.js} +4 -4
  31. package/dist/components/p-a62a2e74.js.map +1 -0
  32. package/dist/components/{p-5fdaf1e6.js → p-a64b4cba.js} +2 -145
  33. package/dist/components/p-a64b4cba.js.map +1 -0
  34. package/dist/components/{p-71cc28c1.js → p-acf23bab.js} +2 -2
  35. package/dist/components/p-acf23bab.js.map +1 -0
  36. package/dist/components/{p-0e393fe1.js → p-f2585cdf.js} +3 -9
  37. package/dist/components/p-f2585cdf.js.map +1 -0
  38. package/dist/components/searchcraft-ad.js +1 -1
  39. package/dist/components/searchcraft-button.js +1 -1
  40. package/dist/components/searchcraft-error-message.js +1 -1
  41. package/dist/components/searchcraft-facet-list.js +1 -1
  42. package/dist/components/searchcraft-filter-panel.js +6 -5
  43. package/dist/components/searchcraft-filter-panel.js.map +1 -1
  44. package/dist/components/searchcraft-input-form.js +2 -2
  45. package/dist/components/searchcraft-input-label.js +1 -1
  46. package/dist/components/searchcraft-pagination.js +3 -9
  47. package/dist/components/searchcraft-pagination.js.map +1 -1
  48. package/dist/components/searchcraft-popover-button.js +95 -3
  49. package/dist/components/searchcraft-popover-button.js.map +1 -1
  50. package/dist/components/searchcraft-popover-footer.d.ts +11 -0
  51. package/dist/components/searchcraft-popover-footer.js +8 -0
  52. package/dist/components/searchcraft-popover-footer.js.map +1 -0
  53. package/dist/components/searchcraft-popover-form.js +36 -27
  54. package/dist/components/searchcraft-popover-form.js.map +1 -1
  55. package/dist/components/searchcraft-popover-list-item.js +1 -1
  56. package/dist/components/searchcraft-popover-list-view.js +1 -1
  57. package/dist/components/searchcraft-results-info.js +12 -23
  58. package/dist/components/searchcraft-results-info.js.map +1 -1
  59. package/dist/components/searchcraft-search-result.d.ts +11 -0
  60. package/dist/components/searchcraft-search-result.js +8 -0
  61. package/dist/components/searchcraft-search-result.js.map +1 -0
  62. package/dist/components/searchcraft-search-results-per-page.js +3 -10
  63. package/dist/components/searchcraft-search-results-per-page.js.map +1 -1
  64. package/dist/components/searchcraft-search-results.d.ts +11 -0
  65. package/dist/components/{searchcraft-base-search-results.js → searchcraft-search-results.js} +25 -71
  66. package/dist/components/searchcraft-search-results.js.map +1 -0
  67. package/dist/components/searchcraft-select.js +1 -1
  68. package/dist/components/searchcraft-slider.js +1 -1
  69. package/dist/components/searchcraft-theme.js +4 -42
  70. package/dist/components/searchcraft-theme.js.map +1 -1
  71. package/dist/components/searchcraft-toggle-button.js +1 -1
  72. package/dist/hydrate/index.d.ts +242 -0
  73. package/dist/hydrate/index.js +23479 -0
  74. package/dist/hydrate/index.mjs +23471 -0
  75. package/dist/hydrate/package.json +12 -0
  76. package/dist/themes/hologram.css +1 -0
  77. package/dist/themes/hologram.css.map +1 -0
  78. package/dist/types/components/searchcraft-ad/searchcraft-ad.d.ts +2 -0
  79. package/dist/types/components/searchcraft-button/searchcraft-button.d.ts +3 -2
  80. package/dist/types/components/searchcraft-error-message/searchcraft-error-message.d.ts +6 -7
  81. package/dist/types/components/searchcraft-facet-list/searchcraft-facet-list.d.ts +3 -1
  82. package/dist/types/components/searchcraft-filter-panel/searchcraft-filter-panel.d.ts +30 -1
  83. package/dist/types/components/searchcraft-input-form/searchcraft-input-form.d.ts +23 -14
  84. package/dist/types/components/searchcraft-input-label/searchcraft-input-label.d.ts +3 -2
  85. package/dist/types/components/searchcraft-pagination/searchcraft-pagination.d.ts +22 -8
  86. package/dist/types/components/searchcraft-popover-button/searchcraft-popover-button.d.ts +74 -0
  87. package/dist/types/components/searchcraft-popover-footer/searchcraft-popover-footer.d.ts +13 -0
  88. package/dist/types/components/searchcraft-popover-form/searchcraft-popover-form.d.ts +27 -15
  89. package/dist/types/components/searchcraft-popover-list-item/searchcraft-popover-list-item.d.ts +5 -3
  90. package/dist/types/components/searchcraft-popover-list-view/searchcraft-popover-list-view.d.ts +3 -2
  91. package/dist/types/components/searchcraft-results-info/searchcraft-results-info.d.ts +41 -19
  92. package/dist/types/components/searchcraft-search-result/searchcraft-search-result.d.ts +28 -0
  93. package/dist/types/components/searchcraft-search-results/searchcraft-search-results.d.ts +81 -0
  94. package/dist/types/components/searchcraft-search-results-per-page/searchcraft-search-results-per-page.d.ts +21 -5
  95. package/dist/types/components/searchcraft-select/searchcraft-select.d.ts +3 -5
  96. package/dist/types/components/searchcraft-slider/searchcraft-slider.d.ts +3 -3
  97. package/dist/types/components/searchcraft-theme/searchcraft-theme.d.ts +24 -16
  98. package/dist/types/components/searchcraft-toggle-button/searchcraft-toggle-button.d.ts +2 -1
  99. package/dist/types/components.d.ts +947 -612
  100. package/dist/types/index.d.ts +5 -4
  101. package/dist/types/store/SearchcraftStore.types.d.ts +3 -0
  102. package/dist/types/utils/html.d.ts +6 -0
  103. package/dist/types/utils/index.d.ts +1 -0
  104. package/package.json +13 -7
  105. package/dist/components/bundled.types.d.ts +0 -2275
  106. package/dist/components/p-0e393fe1.js.map +0 -1
  107. package/dist/components/p-19fe91f1.js +0 -136
  108. package/dist/components/p-19fe91f1.js.map +0 -1
  109. package/dist/components/p-4df578e4.js.map +0 -1
  110. package/dist/components/p-580c09dc.js.map +0 -1
  111. package/dist/components/p-5fdaf1e6.js.map +0 -1
  112. package/dist/components/p-60f05735.js.map +0 -1
  113. package/dist/components/p-71cc28c1.js.map +0 -1
  114. package/dist/components/p-8f854dec.js.map +0 -1
  115. package/dist/components/p-bb12ab5a.js.map +0 -1
  116. package/dist/components/p-bf6a086a.js.map +0 -1
  117. package/dist/components/p-d9551738.js +0 -25
  118. package/dist/components/p-d9551738.js.map +0 -1
  119. package/dist/components/p-e27a0dab.js.map +0 -1
  120. package/dist/components/p-e41b0f43.js.map +0 -1
  121. package/dist/components/p-e55a7970.js.map +0 -1
  122. package/dist/components/searchcraft-base-search-result.d.ts +0 -11
  123. package/dist/components/searchcraft-base-search-result.js +0 -8
  124. package/dist/components/searchcraft-base-search-result.js.map +0 -1
  125. package/dist/components/searchcraft-base-search-results.d.ts +0 -11
  126. package/dist/components/searchcraft-base-search-results.js.map +0 -1
  127. package/dist/types/components/searchcraft-base-search-result/searchcraft-base-search-result.d.ts +0 -55
  128. package/dist/types/components/searchcraft-base-search-results/searchcraft-base-search-results.d.ts +0 -89
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "@searchcraft/javascript-sdk/hydrate",
3
+ "description": "SearchcraftJavascriptSdk component hydration app.",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "require": "./index.js",
9
+ "import": "./index.mjs"
10
+ }
11
+ }
12
+ }
@@ -0,0 +1 @@
1
+ [class*=searchcraft-],[class*=searchcraft-] *,[class*=searchcraft-]::before,[class*=searchcraft-]::after,[class*=searchcraft-] *,::before,[class*=searchcraft-] *,::after{box-sizing:border-box;padding:0;margin:0}:root{--sc-text-base-size: 1em;--sc-text-scale-ratio: 1.1;--sc-font-family: sans-serif;--sc-font-bold: 700;--sc-font-normal: 400;--sc-heading-1-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-2-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-3-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-4-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-5-font-size: calc( var(--sc-text-base-size) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) );--sc-heading-6-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) );--sc-body-font-size: calc(var(--sc-text-base-size));--sc-body-small-font-size: calc( var(--sc-text-base-size) / ( var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) * var(--sc-text-scale-ratio) ) )}:root{--sc-border-radius: 8px;--sc-border-radius-sm: calc(var(--sc-border-radius) / 2);--sc-border-radius-lg: calc(var(--sc-border-radius) * 2);--sc-border-radius-xl: calc(var(--sc-border-radius) * 3);--sc-border-radius-2xl: calc(var(--sc-border-radius) * 4);--sc-border-radius-full: 9999px}:root{--sc-breakpoint-sm: 576px;--sc-breakpoint-md: 768px;--sc-breakpoint-lg: 992px}:root{--sc-surface-neutral-primary: var(--sc-color-background, #ffffff);--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-primary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #fafafa) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-primary-active: var( --sc-color-background-active, var(--sc-color-background-active-computed, #f7f7f7) );--sc-surface-neutral-secondary: var( --sc-color-background-secondary, var(--sc-color-background, #f3f3f3) );--sc-color-background-secondary-hover-computed: hsl( from var(--sc-color-background-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-neutral-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #e6e6e6) );--sc-color-background-secondary-active-computed: hsl( from var(--sc-color-background-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-neutral-secondary-active: var( --sc-color-background-secondary-active, var(--sc-color-background-active-computed, #e0e0e0) );--sc-surface-neutral-light: #ffffff;--sc-content-neutral-primary: var(--sc-color-foreground, #292929);--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10, calc(l + 5), 90) );--sc-content-neutral-secondary: var( --sc-color-foreground-secondary, var(--sc-color-foreground-secondary-computed, #404040) );--sc-border-neutral: var(--sc-color-border, rgba(0, 0, 0, 0.1));--sc-surface-brand-primary: var(--sc-color-brand, #000000);--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20, calc(l + 5), 95) );--sc-surface-brand-primary-hover: var( --sc-color-brand-hover, var(--sc-color-brand-hover-computed, #2e2e2e) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10, calc(l - 5), 85) );--sc-surface-brand-primary-active: var( --sc-color-brand-active, var(--sc-color-brand-active-computed, #292929) );--sc-surface-brand-secondary: var( --sc-color-brand-secondary, var(--sc-color-brand, #e6e6e6) );--sc-color-brand-secondary-hover-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(10, calc(l + 5), 95) );--sc-surface-brand-secondary-hover: var( --sc-color-background-hover, var(--sc-color-background-hover-computed, #ebebeb) );--sc-color-brand-secondary-active-computed: hsl( from var(--sc-color-brand-secondary) h s clamp(5, calc(l - 5), 90) );--sc-surface-brand-secondary-active: var( --sc-color-brand-secondary-active, var(--sc-color-brand-active-computed, #e0e0e0) );--sc-content-brand: var( --sc-color-brand-text, var(--sc-surface-brand-primary) );--sc-content-brand-on-primary: #ffffff;--sc-border-brand: var(--sc-surface-brand-primary);--sc-surface-success-primary: var(--sc-color-success, #008000);--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30 );--sc-surface-success-primary-hover: var( --sc-color-success-primary-hover, var(--sc-color-success-primary-hover-computed, #009900) );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20 );--sc-surface-success-primary-active: var( --sc-color-success-primary-active, var(--sc-color-success-primary-active-computed, #006600) );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90 );--sc-surface-success-secondary: var( --sc-color-success-secondary, var(--sc-color-success-secondary-computed, #ccffcc) );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95 );--sc-surface-success-secondary-hover: var( --sc-color-success-secondary-hover, var(--sc-color-success-secondary-hover-computed, #e6ffe6) );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85 );--sc-surface-success-secondary-active: var( --sc-color-success-secondary-active, var(--sc-color-success-secondary-active-computed, #b2ffb2) );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30) );--sc-content-success-on-primary: #ffffff;--sc-border-success: var(--sc-surface-success-primary);--sc-surface-caution-primary: var(--sc-color-caution, #cc6600);--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30 );--sc-surface-caution-primary-hover: var( --sc-color-caution-primary-hover, var(--sc-color-caution-primary-hover-computed, #e57300) );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20 );--sc-surface-caution-primary-active: var( --sc-color-caution-primary-active, var(--sc-color-caution-primary-active-computed, #b25a00) );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90 );--sc-surface-caution-secondary: var( --sc-color-caution-secondary, var(--sc-color-caution-secondary-computed, #ffd9b3) );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95 );--sc-surface-caution-secondary-hover: var( --sc-color-caution-secondary-hover, var(--sc-color-caution-secondary-hover-computed, #ffe5cc) );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85 );--sc-surface-caution-secondary-active: var( --sc-color-caution-secondary-active, var(--sc-color-caution-secondary-active-computed, #ffcc99) );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30) );--sc-content-caution-on-primary: #ffffff;--sc-border-caution: var(--sc-surface-caution-primary);--sc-surface-danger-primary: var(--sc-color-danger, #cc0000);--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30 );--sc-surface-danger-primary-hover: var( --sc-color-danger-primary-hover, var(--sc-color-danger-primary-hover-computed, #e50000) );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20 );--sc-surface-danger-primary-active: var( --sc-color-danger-primary-active, var(--sc-color-danger-primary-active-computed, #b30000) );--sc-color-danger-secondary-computed: hsl(from var(--sc-color-danger) h s 90);--sc-surface-danger-secondary: var( --sc-color-danger-secondary, var(--sc-color-danger-secondary-computed, #ffcccc) );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95 );--sc-surface-danger-secondary-hover: var( --sc-color-danger-secondary-hover, var(--sc-color-danger-secondary-hover-computed, #ffe7e7) );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85 );--sc-surface-danger-secondary-active: var( --sc-color-danger-secondary-active, var(--sc-color-danger-secondary-active-computed, #ffb3b3) );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30) );--sc-content-danger-on-primary: #ffffff;--sc-border-danger: var(--sc-surface-danger-primary);--sc-color-disabled: hsl(from var(--sc-color-page-primary) h s calc(l * 0.5));--sc-surface-disabled: var(--sc-color-disabled, #d9d9d9);--sc-color-disabled-text: hsl( from var(--sc-color-text-primary) h s calc(l * 0.5) );--sc-content-disabled: var(--sc-color-disabled-text, #737373);--sc-content-disabled-on-disabled: var(--sc-color-disabled-text, #737373)}@supports(hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none){:root{--sc-color-background-hover-computed: hsl( from var(--sc-color-background) h s clamp(10%, calc(l + 5%), 95%) );--sc-color-background-active-computed: hsl( from var(--sc-color-background) h s clamp(5%, calc(l - 5%), 90%) );--sc-color-foreground-secondary-computed: hsl( from var(--sc-color-foreground) h s clamp(10%, calc(l + 5%), 90%) );--sc-color-brand-hover-computed: hsl( from var(--sc-color-brand) h s clamp(20%, calc(l + 5%), 95%) );--sc-color-brand-active-computed: hsl( from var(--sc-color-brand) h s clamp(10%, calc(l - 5%), 85%) );--sc-color-success-primary-hover-computed: hsl( from var(--sc-color-success) h s 30% );--sc-color-success-primary-active-computed: hsl( from var(--sc-color-success) h s 20% );--sc-color-success-secondary-computed: hsl( from var(--sc-color-success) h s 90% );--sc-color-success-secondary-hover-computed: hsl( from var(--sc-color-success-secondary) h s 95% );--sc-color-success-secondary-active-computed: hsl( from var(--sc-color-success-secondary) h s 85% );--sc-content-success: var( --sc-color-brand-text, hsl(from var(--sc-surface-success-primary) h s 30%) );--sc-color-caution-primary-hover-computed: hsl( from var(--sc-color-caution) h s 30% );--sc-color-caution-primary-active-computed: hsl( from var(--sc-color-caution) h s 20% );--sc-color-caution-secondary-computed: hsl( from var(--sc-color-caution) h s 90% );--sc-color-caution-secondary-hover-computed: hsl( from var(--sc-color-caution-secondary) h s 95% );--sc-color-caution-secondary-active-computed: hsl( from var(--sc-color-caution-secondary) h s 85% );--sc-content-caution: var( --sc-color-caution-text, hsl(from var(--sc-surface-caution-primary) h s 30%) );--sc-color-danger-primary-hover-computed: hsl( from var(--sc-color-danger) h s 30% );--sc-color-danger-primary-active-computed: hsl( from var(--sc-color-danger) h s 20% );--sc-color-danger-secondary-computed: hsl( from var(--sc-color-danger) h s 90% );--sc-color-danger-secondary-hover-computed: hsl( from var(--sc-color-danger-secondary) h s 95% );--sc-color-danger-secondary-active-computed: hsl( from var(--sc-color-danger-secondary) h s 85% );--sc-content-danger: var( --sc-color-caution-text, hsl(from var(--sc-surface-danger-primary) h s 30%) )}}.searchcraft-adm-ad{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-ad:last-child .searchcraft-adm-ad{border-bottom:none}.searchcraft-adm-ad-link{align-items:flex-start;background-color:rgb(from blue r g b/5%);color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-adm-ad-link:focus,.searchcraft-adm-ad-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-adm-ad-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-adm-ad-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-adm-ad-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-adm-ad-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-adm-ad-content-title,.searchcraft-adm-ad-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-adm-ad-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-adm-ad-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-result{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-result-no-template{display:flex;flex-direction:column;font-size:.875rem}.searchcraft-search-result-no-template>p{margin:0}.searchcraft-search-results{display:flex;flex-direction:column;justify-content:center;gap:16px}.searchcraft-search-results-empty-state{text-align:center}.searchcraft-search-results-error-message{text-align:center}.searchcraft-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background:none;border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;display:flex;gap:4px;padding:12px;position:relative}.searchcraft-button.searchcraft-button-disabled{cursor:not-allowed}.searchcraft-button-primary{background-color:var(--sc-surface-brand-primary);color:var(--sc-content-brand-on-primary);font-weight:var(--sc-font-bold)}.searchcraft-button-primary:hover{background-color:var(--sc-surface-brand-primary-hover)}.searchcraft-button-primary:focus{border-color:var(--sc-border-primary)}.searchcraft-button-primary:active{background-color:var(--sc-surface-brand-primary-active)}.searchcraft-button-primary.searchcraft-button-disabled,.searchcraft-button-primary.searchcraft-button-disabled:hover,.searchcraft-button-primary.searchcraft-button-disabled:focus,.searchcraft-button-primary.searchcraft-button-disabled:active{background-color:var(--sc-surface-disabled);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-tertiary{background-color:var(--sc-surface-neutral-primary);color:var(--sc-content-brand);font-weight:var(--sc-font-normal)}.searchcraft-button-tertiary:hover{background-color:var(--sc-surface-brand-secondary-hover)}.searchcraft-button-tertiary:focus{background-color:var(--sc-surface-neutral-light);border-color:var(--sc-border-primary)}.searchcraft-button-tertiary:active{background-color:var(--sc-surface-brand-secondary-active)}.searchcraft-button-tertiary.searchcraft-button-disabled,.searchcraft-button-tertiary.searchcraft-button-disabled:hover,.searchcraft-button-tertiary.searchcraft-button-disabled:focus,.searchcraft-button-tertiary.searchcraft-button-disabled:active{background-color:var(--sc-surface-neutral-light);border-color:rgba(0,0,0,0);color:var(--sc-content-disabled)}.searchcraft-button-icon{fill:none}.searchcraft-error-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-danger);margin:0}.searchcraft-facet-list{display:flex;flex-direction:column;gap:6px;width:100%}.searchcraft-facet-list-checkbox-label{align-items:center;color:var(--sc-content-brand);display:flex;font-family:var(--sc-font-family);font-size:14px;font-weight:600;gap:14px;position:relative;-webkit-font-smoothing:antialiased}.searchcraft-facet-list-checkbox-input-wrapper{position:relative}.searchcraft-facet-list-checkbox-input{align-items:center;appearance:none;background-color:var(--sc-surface-neutral-secondary);border:1px solid var(--sc-surface-disabled);border-radius:var(--sc-border-radius-sm);cursor:pointer;display:flex;height:24px;justify-content:center;width:24px;margin:0}.searchcraft-facet-list-checkbox-input:focus{outline:2px solid var(--sc-surface-brand-primary)}.searchcraft-facet-list-checkbox-input:checked{background-color:var(--sc-surface-brand-primary);position:relative}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-check-icon{display:block}.searchcraft-facet-list-checkbox-input:checked+.searchcraft-facet-list-checkbox-input-dash-icon{display:block}.searchcraft-facet-child-list{display:flex;flex-direction:column;gap:6px}.searchcraft-facet-child-list-checkbox-label{margin-left:24px}.searchcraft-facet-child-list-checkbox-label:first-child{margin-top:6px}.searchcraft-facet-list-checkbox-input-check-icon{display:none;height:16px;left:50%;position:absolute;margin-top:2px;top:50%;transform:translate(-50%, -50%);width:16px}.searchcraft-facet-list-checkbox-input-dash-icon{display:none;height:3px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:14px}.searchcraft-facet-list-message{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-disabled);text-align:center}.searchcraft-filter-panel{display:flex;flex-direction:column;gap:16px}.searchcraft-filter-panel-section{display:flex;flex-direction:column;gap:8px}.searchcraft-filter-panel-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}:root{--sc-input-form-border-radius: var(--sc-border-radius);--sc-input-form-search-icon-size: 20px;--sc-input-form-clear-icon-size: 20px}.searchcraft-input-form-grid{display:grid;gap:4px 8px}.searchcraft-input-form-grid-button-left{grid-template-rows:repeat(3, auto);grid-template-columns:auto 1fr}.searchcraft-input-form-grid-button-left .searchcraft-input-form-button{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-label{grid-column:2/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-error-message{grid-column:2/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-left .searchcraft-input-form-input-wrapper{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right{grid-template-rows:repeat(3, auto);grid-template-columns:1fr auto}.searchcraft-input-form-grid-button-right .searchcraft-input-form-button{grid-column:2/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-right .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-grid-button-none{grid-template-rows:repeat(3, auto);grid-template-columns:auto}.searchcraft-input-form-grid-button-none .searchcraft-input-form-button{display:none}.searchcraft-input-form-grid-button-none .searchcraft-input-form-label{grid-column:1/span 1;grid-row:1/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-error-message{grid-column:1/span 1;grid-row:3/span 1}.searchcraft-input-form-grid-button-none .searchcraft-input-form-input-wrapper{grid-column:1/span 1;grid-row:2/span 1}.searchcraft-input-form-input-wrapper{display:flex;position:relative}.searchcraft-input-form-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);background-color:var(--sc-surface-neutral-secondary);border-radius:var(--sc-input-form-border-radius);border:none;color:var(--sc-content-neutral-primary);flex:1;outline:none;padding:12px 44px}.searchcraft-input-form-input::placeholder{color:var(--sc-content-disabled)}.searchcraft-input-form-input:focus{outline:var(--sc-border-brand) solid 2px;outline-offset:-1px}.searchcraft-input-form-input:focus::placeholder{opacity:0}.searchcraft-input-form-error{color:var(--sc-content-danger);outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-error:focus{outline:var(--sc-border-danger) solid 2px}.searchcraft-input-form-input-icon{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;pointer-events:none;top:0;width:44px}.searchcraft-input-form-input-search-icon{color:var(--sc-content-neutral-secondary);fill:none;height:var(--sc-input-form-search-icon-size);pointer-events:none;width:var(--sc-input-form-search-icon-size)}.searchcraft-input-form-clear-button{all:unset;align-items:center;bottom:0;border:none;cursor:pointer;display:flex;justify-content:center;outline:none;position:absolute;right:0;top:0;width:44px}.searchcraft-input-form-clear-icon{color:var(--sc-content-brand);fill:none;height:var(--sc-input-form-clear-icon-size);width:var(--sc-input-form-clear-icon-size)}.searchcraft-input-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);font-weight:var(--sc-font-bold);margin-top:4px;margin-bottom:4px}:root{--sc-popover-button-border-radius: var(--sc-border-radius)}@media(min-width: 576px){:root{--sc-popover-button-border-radius: var(--sc-border-radius-lg)}}.searchcraft-popover-button{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);cursor:pointer}.searchcraft-popover-button-skeuomorphic{appearance:none;background:none;border:none;color:var(--sc-content-neutral-primary);display:block;width:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-popover-button-border-radius);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;display:flex;gap:24px;height:40px;justify-content:space-between;line-height:1;padding:4px 5px 4px 10px;background:var(--sc-surface-neutral-primary)}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-wrapper{box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-secondary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%) inset;height:63px;padding:8px 10px 8px 16px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{align-items:center;display:flex;gap:4px}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{color:var(--sc-content-neutral-secondary);display:flex;gap:4px;font-size:20px;font-weight:500}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps{gap:8px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 3px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 3px);background-color:var(--sc-surface-neutral-primary);box-shadow:0 3px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 6px 4px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 2px);position:relative}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap{border-radius:calc(var(--sc-popover-button-border-radius) - 8px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 8px);box-shadow:0 4px hsl(from var(--sc-surface-neutral-secondary) h s calc(l - 5)),0 1px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 6px 1px rgb(from var(--sc-content-neutral-secondary) r g b/20%),0 7px 2px rgb(from var(--sc-content-neutral-secondary) r g b/15%),0 9px 4px rgb(from var(--sc-content-neutral-secondary) r g b/10%),0 13px 8px rgb(from var(--sc-content-neutral-secondary) r g b/5%);height:calc(100% - 5px)}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before,.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{content:"";display:block}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 4px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 4px);background:linear-gradient(340deg, rgb(from var(--sc-surface-neutral-secondary) r g b/2%) 0%, var(--sc-surface-neutral-secondary) 100%);inset:2px;position:absolute}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::before{border-radius:calc(var(--sc-popover-button-border-radius) - 12px);border-radius:calc(var(var(--sc-popover-button-border-radius)) - 12px);inset:4px}}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap::after{aspect-ratio:1/1;height:100%}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-keycaps-keycap>span{display:flex;line-height:1;left:50%;margin-top:2%;position:absolute;top:50%;transform:translate(-50%, -50%)}.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:60%;width:auto}@media(min-width: 576px){.searchcraft-popover-button-skeuomorphic .searchcraft-popover-button-input-search-icon{height:50%}}:root{--sc-popover-list-view-height: 600px;--sc-popover-modal-max-width: 800px}.searchcraft-popover-form{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);display:flex;flex:1;flex-direction:column}.searchcraft-popover-form searchcraft-input-form,.searchcraft-popover-form searchcraft-popover-footer{width:100%}.searchcraft-popover-form.searchcraft-popover-form-active .searchcraft-popover-form-input{padding-bottom:1px}.searchcraft-popover-form searchcraft-popover-list-view{flex-shrink:1;height:100%;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-input{display:flex;flex-direction:row;gap:12px}.searchcraft-popover-form-input .searchcraft-input-form-input{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius-lg);box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset}.searchcraft-popover-form-input-cancel-button{background:none;border:none;cursor:pointer}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-inline{background-color:var(--sc-surface-neutral-primary);border:1px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius-xl);padding:12px;position:relative}.searchcraft-popover-form-inline.searchcraft-popover-form-active{border:1px solid var(--sc-border-neutral);border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:1px}.searchcraft-popover-form-inline searchcraft-popover-list-view{padding:0 12px}.searchcraft-popover-form-inline .searchcraft-input-form-input,.searchcraft-popover-form-inline .searchcraft-popover-list-item-link,.searchcraft-popover-form-inline .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-xl - 12px);border-radius:calc(var(--sc-border-radius-xl) - 12px)}.searchcraft-popover-form-inline-wrapper{background-color:var(--sc-surface-neutral-primary);border:1px solid var(--sc-border-neutral);border-top:none;border-bottom-left-radius:var(--sc-border-radius-xl);border-bottom-right-radius:var(--sc-border-radius-xl);display:flex;flex-direction:column;left:-1px;max-height:var(--sc-popover-list-view-height);overflow:hidden;position:absolute;right:-1px;top:100%}.searchcraft-popover-form-modal{align-items:center;display:flex;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-modal searchcraft-popover-list-view{flex-shrink:1;min-height:0;overflow:auto;padding:0 24px}.searchcraft-popover-form-modal .searchcraft-input-form-input,.searchcraft-popover-form-modal .searchcraft-popover-list-item-link,.searchcraft-popover-form-modal .searchcraft-adm-ad-link{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px)}.searchcraft-popover-form-modal-backdrop{background-color:rgb(from var(--sc-content-neutral-primary) r g b/50%);display:none;inset:0;position:fixed}@media(min-width: 576px){.searchcraft-popover-form-modal-backdrop{display:block}}.searchcraft-popover-form-modal-wrapper{background-color:var(--sc-surface-neutral-primary);border-radius:var(--sc-border-radius-2xl);box-shadow:1px 2px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 2px 4px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 4px 8px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 8px 16px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 16px 32px rgb(from var(--sc-content-neutral-primary) r g b/7%),0 32px 64px rgb(from var(--sc-content-neutral-primary) r g b/7%);display:flex;flex-direction:column;inset:0;max-width:var(--sc-popover-modal-max-width);overflow:hidden;position:absolute;width:100%;z-index:1001}@media(min-width: 576px){.searchcraft-popover-form-modal-wrapper{inset:0;margin-top:100px;max-height:var(--sc-popover-list-view-height);max-width:var(--sc-popover-modal-max-width);position:relative}}.searchcraft-popover-form-modal-input-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px 12px}.searchcraft-popover-form-fullscreen{background-color:var(--sc-surface-neutral-primary);display:flex;flex-direction:column;justify-content:space-between;inset:0;position:fixed;z-index:1000}.searchcraft-popover-form-fullscreen .searchcraft-popover-list-item-link,.searchcraft-popover-form-fullscreen .searchcraft-adm-ad-link{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-form-fullscreen-input-cancel-button{border-radius:var(--sc-border-radius-lg)}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 32px;box-shadow:0 1px 1px rgb(from var(--sc-content-neutral-primary) r g b/10%) inset,0 2px 2px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset,0 4px 4px rgb(from var(--sc-content-neutral-primary) r g b/5%) inset}.searchcraft-popover-footer-results-info{margin:0}.searchcraft-popover-footer-link{color:var(--sc-content-neutral-primary);display:flex;max-width:160px;width:100%}:root{--sc-popover-list-item-image-fit: contain}.searchcraft-popover-list-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;border-bottom:1px solid var(--sc-border-neutral);padding:12px 0}searchcraft-popover-list-item:last-child .searchcraft-popover-list-item{border-bottom:none}.searchcraft-popover-list-item-link{align-items:flex-start;color:var(--sc-content-neutral-primary);display:flex;gap:24px;padding:12px;text-decoration:none}.searchcraft-popover-list-item-link:focus,.searchcraft-popover-list-item-link:active{background-color:var(--sc-surface-neutral-primary-active)}.searchcraft-popover-list-item-link:hover{background-color:var(--sc-surface-neutral-primary-hover)}.searchcraft-popover-list-item-image-wrapper{align-items:center;aspect-ratio:16/9;display:flex;flex-shrink:0;justify-content:center;width:160px}.searchcraft-popover-list-item-image{height:100%;object-fit:var(--sc-popover-list-item-image-fit);width:100%}.searchcraft-popover-list-item-content{display:flex;flex-direction:column;flex-grow:1;gap:4px;justify-content:center}.searchcraft-popover-list-item-content-title,.searchcraft-popover-list-item-content-subtitle{display:-webkit-box;line-clamp:2;margin:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.searchcraft-popover-list-item-content-title{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-heading-5-font-size);font-weight:var(--sc-font-bold)}.searchcraft-popover-list-item-content-subtitle{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-popover-list-view{display:flex;flex-direction:column}.searchcraft-results-info{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-primary);margin:0}.searchcraft-slider{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%}.searchcraft-slider-range{align-items:center;background-color:var(--sc-surface-disabled);border-radius:999px;display:flex;position:relative;height:4px;width:100%}.searchcraft-slider-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range{background-color:var(--sc-surface-brand-primary);border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%);z-index:0}.searchcraft-slider-range .searchcraft-slider-active-range::-webkit-slider-runnable-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-active-range::-moz-range-track{pointer-events:none}.searchcraft-slider-range .searchcraft-slider-input{appearance:none;background:rgba(0,0,0,0);border-radius:2px;height:4px;margin:0;outline:none;pointer-events:none;position:absolute;width:100%;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-webkit-slider-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:2px solid var(--sc-border-neutral);cursor:pointer;height:20px;pointer-events:all;width:20px;-webkit-appearance:none}.searchcraft-slider-range .searchcraft-slider-input::-moz-range-thumb{background-color:var(--sc-surface-neutral-light);border-radius:50%;border:2px solid var(--sc-border-neutral);cursor:pointer;height:20px;pointer-events:all;width:20px}.searchcraft-slider-label{color:var(--sc-content-primary);display:flex;font-family:"Source Sans Pro",sans-serif;font-size:15px;font-weight:600;justify-content:space-between;margin-top:10px;width:100%}.searchcraft-slider-start-label,.searchcraft-slider-end-label{min-width:30px;text-align:center}.searchcraft-toggle-button{align-items:flex-start;display:flex;gap:10px;justify-content:space-between}.searchcraft-toggle-button-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-primary);margin:0}.searchcraft-toggle-button-sub-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);color:var(--sc-content-neutral-secondary);margin:0}.searchcraft-toggle-button-background{background:var(--sc-surface-disabled);border-radius:var(--sc-border-radius-full);border:none;cursor:pointer;flex-shrink:0;height:26px;position:relative;transition:background-color .2s;width:44px}.searchcraft-toggle-button-handle{background:var(--sc-surface-neutral-light);border-radius:50%;height:18px;left:4px;position:absolute;top:calc(50% - 9px);transition:transform .3s ease;width:18px}.searchcraft-toggle-button-active .searchcraft-toggle-button-background{background:var(--sc-surface-brand-primary);box-shadow:0px 0px 0px 1px rgba(0,0,0,.05)}.searchcraft-toggle-button-active .searchcraft-toggle-button-handle{transform:translateX(16px)}.searchcraft-pagination{display:inline-grid;gap:16px;grid-template-columns:repeat(3, auto);grid-template-rows:1fr}.searchcraft-pagination-list{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius);display:flex;list-style-type:none;margin:0;overflow:hidden;padding:0;width:auto}.searchcraft-pagination-list li{border-right:1px solid var(--sc-border-neutral);height:100%;min-height:44px;width:44px}.searchcraft-pagination-list li:last-child{border-right:none}.searchcraft-pagination-item{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;background-color:var(--sc-surface-neutral-primary);border:none;display:flex;height:100%;justify-content:center;width:100%}.searchcraft-pagination-item-active{background-color:var(--sc-surface-brand-secondary);font-weight:var(--sc-font-bold)}.searchcraft-pagination-control{border:1px solid var(--sc-border-neutral);border-radius:var(--sc-border-radius)}.searchcraft-pagination-range{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);align-items:center;display:flex}.searchcraft-select{display:flex;flex-direction:column;gap:4px}.searchcraft-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal);font-weight:var(--sc-font-bold)}.searchcraft-select-input-wrapper{position:relative}.searchcraft-select-input{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal);appearance:none;background-color:var(--sc-surface-neutral-secondary);border:2px solid rgba(0,0,0,0);border-radius:var(--sc-border-radius);cursor:pointer;height:44px;padding:0 44px 0 16px;width:100%}.searchcraft-select-input:hover{background-color:var(--sc-surface-neutral-secondary-hover)}.searchcraft-select-input:active{background-color:var(--sc-surface-neutral-secondary-active)}.searchcraft-select-input:focus{border-color:var(--sc-border-brand);outline:none}.searchcraft-select-input-icon{fill:none;pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.searchcraft-select-caption{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-small-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page{display:flex}.searchcraft-search-results-per-page-select{align-items:center;display:flex;gap:12px}.searchcraft-search-results-per-page-select-label{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;font-size:var(--sc-body-font-size);font-weight:var(--sc-font-normal)}.searchcraft-search-results-per-page-select-input{min-width:120px}/*# sourceMappingURL=hologram.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../../../hologram/src/reset.scss","../../../hologram/src/typography.scss","../../../hologram/src/appearance.scss","../../../hologram/src/breakpoints.scss","../../../hologram/src/colors.scss","../../../hologram/src/components/searchcraft-ad.module.scss","../../../hologram/src/components/searchcraft-search-result.module.scss","../../../hologram/src/components/searchcraft-search-results.module.scss","../../../hologram/src/components/searchcraft-button.module.scss","../../../hologram/src/components/searchcraft-error-message.module.scss","../../../hologram/src/components/searchcraft-facet-list.module.scss","../../../hologram/src/components/searchcraft-filter-panel.module.scss","../../../hologram/src/components/searchcraft-input-form.module.scss","../../../hologram/src/components/searchcraft-input-label.module.scss","../../../hologram/src/components/searchcraft-popover-button.module.scss","../../../hologram/src/components/searchcraft-popover-form.module.scss","../../../hologram/src/components/searchcraft-popover-footer.module.scss","../../../hologram/src/components/searchcraft-popover-list-item.module.scss","../../../hologram/src/components/searchcraft-popover-list-view.module.scss","../../../hologram/src/components/searchcraft-results-info.module.scss","../../../hologram/src/components/searchcraft-slider.module.scss","../../../hologram/src/components/searchcraft-toggle-button.module.scss","../../../hologram/src/components/searchcraft-pagination.module.scss","../../../hologram/src/components/searchcraft-select.module.scss","../../../hologram/src/components/searchcraft-search-results-per-page.module.scss"],"names":[],"mappings":"AAGA,0KAQE,sBACA,UACA,SCbF,MACE,yBACA,2BACA,6BACA,oBACA,sBAGA,sQAQA,yOAQA,4MAOA,+KAOA,kJAMA,mLASA,oDAGA,uJCxDF,MAEE,wBACA,yDACA,yDACA,yDACA,0DACA,sCCCA,0BACA,0BACA,0BCVF,MAEE,kEAEA,4GAGA,2HAKA,4GAGA,8HAMA,4GAKA,gIAGA,6HAKA,gIAGA,0IAMA,oCAGA,kEAEA,gHAGA,+HAMA,gEAIA,2DAEA,kGAGA,+GAKA,mGAGA,kHAMA,gGAKA,sHAGA,2HAKA,sHAGA,8HAMA,kFAIA,uCAGA,mDAIA,+DAEA,sFAGA,qIAKA,uFAGA,wIAMA,kFAGA,yHAKA,kGAGA,2IAKA,mGAGA,8IAMA,uGAIA,yCAGA,uDAIA,+DAEA,sFAGA,qIAKA,uFAGA,wIAMA,kFAGA,yHAKA,kGAGA,2IAKA,mGAGA,8IAMA,yGAIA,yCAGA,uDAIA,6DAEA,oFAGA,kIAKA,qFAGA,qIAMA,8EACA,sHAKA,gGAGA,wIAKA,iGAGA,2IAMA,uGAIA,wCAGA,qDAGA,8EACA,yDACA,qFAGA,8DACA,0EAOF,oGAEE,MAIE,+GAGA,+GAKA,mHAMA,qGAIA,sGAMA,uFAIA,wFAKA,mFAIA,mGAIA,oGAKA,wGAOA,uFAIA,wFAKA,mFAIA,mGAIA,oGAKA,0GAOA,qFAIA,sFAKA,iFAIA,iGAIA,kGAKA,yGC5YJ,oBJgEE,kCACA,iBACA,mCI/DA,iDACA,eAGF,8CACE,mBAGF,yBACE,uBACA,yCACA,wCACA,aACA,SACA,aACA,qBAEA,+DAEE,0DAGF,+BACE,yDAIJ,kCACE,mBACA,kBACA,aACA,cACA,uBACA,YAGF,0BACE,YACA,iDACA,WAGF,4BACE,aACA,sBACA,YACA,QACA,uBAGF,uEAEE,oBACA,aACA,SACA,gBACA,qBACA,4BAGF,kCJCE,kCACA,iBACA,mCA6BA,wCACA,gCI7BF,qCJHE,kCACA,iBACA,mCAyCA,mCACA,kCK5GF,2BLgEE,kCACA,iBACA,mCAyCA,mCACA,kCKxGF,uCACE,aACA,sBACA,kBAEA,yCACE,SCZJ,4BACE,aACA,sBACA,uBACA,SAGF,wCACE,kBAGF,0CACE,kBCVF,oBPgEE,kCACA,iBACA,mCAyCA,mCACA,kCO1GA,gBACA,+BACA,sCACA,eACA,aACA,QACA,aACA,kBAEA,gDACE,mBAIJ,4BACE,iDACA,yCACA,gCAEA,kCACE,uDAGF,kCACE,sCAGF,mCACE,wDAGF,mPAIE,4CACA,2BACA,iCAIJ,6BACE,mDACA,8BACA,kCAEA,mCACE,yDAGF,mCACE,iDACA,sCAGF,oCACE,0DAGF,uPAIE,iDACA,2BACA,iCAIJ,yBACE,UCvEF,2BR+DE,kCACA,iBACA,mCA+CA,yCACA,kCQ/GA,+BACA,SCJF,wBACE,aACA,sBACA,QACA,WAGF,uCACE,mBACA,8BACA,aACA,kCACA,eACA,gBACA,SACA,kBACA,mCAGF,+CACE,kBAGF,uCACE,mBACA,gBACA,qDACA,4CACA,yCACA,eACA,aACA,YACA,uBACA,WACA,SAEA,6CACE,kDAGF,+CACE,iDACA,kBAGF,iGACE,cAGF,gGACE,cAIJ,8BACE,aACA,sBACA,QAGF,6CACE,iBAEA,yDACE,eAIJ,kDACE,aACA,YACA,SACA,kBACA,eACA,QACA,gCACA,WAGF,iDACE,aACA,WACA,SACA,kBACA,QACA,gCACA,WAGF,gCTzBE,kCACA,iBACA,mCA+CA,yCACA,kCSvBA,iCACA,kBC5FF,0BACE,aACA,sBACA,SAGF,kCACE,aACA,sBACA,QAGF,gCVoDE,kCACA,iBACA,mCA+CA,yCACA,kCUpGA,gCCdF,MAIE,uDAIA,uCAIA,sCAGF,6BACE,aACA,YAGF,yCACE,mCACA,+BAEA,wEACE,qBACA,kBAGF,uEACE,qBACA,kBAGF,+EACE,qBACA,kBAGF,+EACE,qBACA,kBAIJ,0CACE,mCACA,+BAEA,yEACE,qBACA,kBAGF,wEACE,qBACA,kBAGF,gFACE,qBACA,kBAGF,gFACE,qBACA,kBAIJ,yCACE,mCACA,2BAEA,wEACE,aAGF,uEACE,qBACA,kBAGF,+EACE,qBACA,kBAGF,+EACE,qBACA,kBAIJ,sCACE,aACA,kBAGF,8BXnCE,kCACA,iBACA,mCAyCA,mCACA,kCWPA,qDACA,iDACA,YACA,wCACA,OACA,aACA,kBAEA,2CACE,iCAGF,oCACE,yCACA,oBAGF,iDACE,UAIJ,8BACE,+BACA,0CAEA,oCACE,0CAIJ,mCACE,mBACA,SACA,aACA,uBACA,OACA,kBACA,oBACA,MACA,WAGF,0CACE,0CACA,UACA,6CACA,oBACA,4CAGF,qCACE,UACA,mBACA,SACA,YACA,eACA,aACA,uBACA,aACA,kBACA,QACA,MACA,WAGF,mCACE,8BACA,UACA,4CACA,2CC3KF,yBZgEE,kCACA,iBACA,mCA+CA,yCACA,kCYhHA,wCACA,gCACA,eACA,kBCHF,MACE,2DAEA,yBAHF,MAII,+DAIJ,4BbsDE,kCACA,iBACA,mCAyCA,mCACA,kCahGA,eAMF,yCACE,gBACA,gBACA,YACA,wCACA,cACA,WAEA,6EACE,0CACA,qDACA,WACE,+IAEF,aACA,SACA,YACA,8BACA,cACA,yBACA,6CAEA,yBAdF,6EAeI,WACE,sNAIF,YACA,2BAIJ,2EACE,mBACA,aACA,QAEA,yBALF,2EAMI,SAIJ,6EACE,0CACA,aACA,QACA,eACA,gBAEA,yBAPF,6EAQI,SAIJ,oFZ1DA,iEACA,sEY8DE,mDACA,WACE,uMAGF,wBACA,kBAEA,yBAbF,oFZ1DA,iEACA,sEY2EI,WACE,8YAMF,yBAGF,uLAEE,WACA,cAGF,4FZ5FF,iEACA,sEYgGI,wIAKA,UACA,kBAEA,yBAbF,4FZ5FF,kEACA,uEY6GM,WAIJ,2FACE,iBACA,YAGF,yFACE,aACA,cACA,SACA,cACA,kBACA,QACA,gCAIJ,uFACE,WACA,WAEA,yBAJF,uFAKI,YCpJN,MAIE,qCAIA,oCAMF,0BdgDE,kCACA,iBACA,mCAyCA,mCACA,kCc1FA,aACA,OACA,sBAEA,sGAEE,WAIA,0FACE,mBAIJ,wDACE,cACA,YACA,aACA,cACA,eAIJ,gCACE,aACA,mBACA,SAEA,8DACE,mDACA,0CACA,yCACA,WACE,gNAMN,8CACE,gBACA,YACA,eAOF,iFAEE,aAMF,iCACE,mDACA,+BACA,yCACA,aACA,kBAEA,iEACE,0CACA,mBACA,4BACA,6BACA,mBAGF,+DACE,eAGF,8LbhFA,iDACA,sDasFF,yCACE,mDACA,0CACA,gBACA,qDACA,sDACA,aACA,sBACA,UACA,8CACA,gBACA,kBACA,WACA,SAMF,gCACE,mBACA,aACA,QACA,eACA,aAEA,8DACE,cACA,aACA,cACA,eAGF,2LbxHA,kDACA,uDa8HF,yCACE,uEACA,aACA,QACA,eAEA,yBANF,yCAOI,eAIJ,wCACE,mDACA,0CACA,WACE,6XAMF,aACA,sBACA,QACA,4CACA,gBACA,kBACA,WACA,aAEA,yBAnBF,wCAoBI,QACA,iBACA,8CACA,4CACA,mBAIJ,oDbtKE,kDACA,uDauKA,iBAMF,qCACE,mDACA,aACA,sBACA,8BACA,QACA,eACA,aAEA,uIAEE,yCAIJ,yDACE,yCC3MF,4Bf8DE,kCACA,iBACA,mCe9DA,qDACA,aACA,QACA,8BACA,cACA,kBACA,WACE,gNAKJ,yCACE,SAGF,iCACE,wCACA,aACA,gBACA,WCxBF,MAIE,0CAGF,+BhByDE,kCACA,iBACA,mCgBzDA,iDACA,eAGF,wEACE,mBAGF,oCACE,uBACA,wCACA,aACA,SACA,aACA,qBAEA,qFAEE,0DAGF,0CACE,yDAIJ,6CACE,mBACA,kBACA,aACA,cACA,uBACA,YAGF,qCACE,YACA,iDACA,WAGF,uCACE,aACA,sBACA,YACA,QACA,uBAGF,6FAEE,oBACA,aACA,SACA,gBACA,qBACA,4BAGF,6ChBJE,kCACA,iBACA,mCA6BA,wCACA,gCgBxBF,gDhBRE,kCACA,iBACA,mCAyCA,mCACA,kCiB9GF,+BACE,aACA,gDjBgEA,kCACA,iBACA,mCAyCA,mCACA,kCkB1GA,gCACA,SCLF,oBACE,mBACA,aACA,sBACA,SACA,WAGF,0BACE,mBACA,4CACA,oBACA,aACA,kBACA,WACA,WAEA,yDACE,oBAGF,2DACE,iDACA,kBACA,WACA,kBACA,QACA,2BACA,UAEA,0FACE,oBAGF,6EACE,oBAIJ,oDACE,gBACA,yBACA,kBACA,WACA,SACA,aACA,oBACA,kBACA,WACA,wBAEA,0EACE,iDACA,kBACA,0CACA,eACA,YACA,mBACA,WACA,wBAGF,sEACE,iDACA,kBACA,0CACA,eACA,YACA,mBACA,WAKN,0BACE,gCACA,aACA,yCACA,eACA,gBACA,8BACA,gBACA,WAGF,8DAEE,eACA,kBCtFF,2BACE,uBACA,aACA,SACA,8BAGF,iCpByDE,kCACA,iBACA,mCAyCA,mCACA,kCoBnGA,wCACA,SAGF,qCpBmDE,kCACA,iBACA,mCA+CA,yCACA,kCoBnGA,0CACA,SAGF,sCACE,sCACA,2CACA,YACA,eACA,cACA,YACA,kBACA,gCACA,WAGF,kCACE,2CACA,kBACA,YACA,SACA,kBACA,oBACA,8BACA,WAIA,wEACE,2CACA,2CAGF,oEACE,2BCjDJ,wBACE,oBACA,SACA,sCACA,uBAGF,6BACE,0CACA,sCACA,aACA,qBACA,SACA,gBACA,UACA,WAGF,gCACE,gDACA,YACA,gBACA,WAGF,2CACE,kBAGF,6BrBmCE,kCACA,iBACA,mCAyCA,mCACA,kCqB7EA,mBACA,mDACA,YACA,aACA,YACA,uBACA,WAGF,oCACE,mDACA,gCAGF,gCACE,0CACA,sCAGF,8BrBcE,kCACA,iBACA,mCAyCA,mCACA,kCqBxDA,mBACA,aCrDF,oBACE,aACA,sBACA,QAGF,0BtB0DE,kCACA,iBACA,mCA+CA,yCACA,kCsB1GA,gCAGF,kCACE,kBAGF,0BtBiDE,kCACA,iBACA,mCAyCA,mCACA,kCsB3FA,gBACA,qDACA,+BACA,sCACA,eACA,YACA,sBACA,WAEA,gCACE,2DAGF,iCACE,4DAGF,gCACE,oCACA,aAIJ,+BACE,UACA,oBACA,kBACA,WACA,QACA,2BAGF,4BtBeE,kCACA,iBACA,mCA+CA,yCACA,kCuBlHF,qCACE,aAGF,4CACE,mBACA,aACA,SAGF,kDvBsDE,kCACA,iBACA,mCAyCA,mCACA,kCuB9FF,kDACE","file":"hologram.css"}
@@ -1,6 +1,8 @@
1
1
  import type { AdClientResponseItem, SearchcraftAdSource } from '@searchcraft/core';
2
2
  /**
3
3
  * An inline ad meant to be rendered in a list of search results.
4
+ *
5
+ * @internal
4
6
  */
5
7
  export declare class SearchcraftPopoverListItemAd {
6
8
  adSource: SearchcraftAdSource;
@@ -1,8 +1,9 @@
1
1
  import { type EventEmitter } from '../../stencil-public-runtime';
2
2
  /**
3
- * This web component represents a button to be consumed within the `search-input-form` component.
3
+ * This web component represents a button.
4
4
  * It provides a clear, interactive way for users to submit search queries or trigger actions in a search interface.
5
- * It is consumed within the `searchcraft-input-form` component.
5
+ *
6
+ * @internal
6
7
  */
7
8
  export declare class SearchcraftButton {
8
9
  /**
@@ -1,17 +1,16 @@
1
1
  /**
2
2
  * This web component is designed to display a user-friendly error message when a search query fails, providing clear feedback to users and enhancing their experience when an issue arises during the search process.
3
3
  *
4
- * ## Usage
4
+ * @js-example
5
5
  * ```html
6
- * <!-- index.html -->
7
- * <searchcraft-error-message error-message="No search results found for query" />
6
+ * <searchcraft-error-message>
7
+ * No search results found for query
8
+ * </searchcraft-error-message>
8
9
  * ```
10
+ *
11
+ * @internal
9
12
  */
10
13
  export declare class SearchcraftErrorMessage {
11
- /**
12
- * The error message.
13
- */
14
- errorMessage?: string;
15
14
  render(): any;
16
15
  }
17
16
  //# sourceMappingURL=searchcraft-error-message.d.ts.map
@@ -5,7 +5,7 @@ import { type SearchcraftState } from "../../store/index";
5
5
  * This web component is designed to display facets in a search interface, allowing users to refine their search results by applying filters based on various attributes.
6
6
  * It is consumed within the `searchcraft-filter-panel`.
7
7
  *
8
- * ## Usage
8
+ * @js-example
9
9
  * ```html
10
10
  * <!-- index.html -->
11
11
  * <searchcraft-facet-list field-name="title" />
@@ -19,6 +19,8 @@ import { type SearchcraftState } from "../../store/index";
19
19
  * console.log('Facet selection updated');
20
20
  * });
21
21
  * ```
22
+ *
23
+ * @internal
22
24
  */
23
25
  export declare class SearchcraftFacetList {
24
26
  /**
@@ -2,11 +2,40 @@ import type { FilterItem } from '@searchcraft/core';
2
2
  /**
3
3
  * This web component represents a series of filters that allows users to refine and control their search queries by applying various filter criteria.
4
4
  *
5
- * ## Usage
5
+ * @react-import
6
+ * ```jsx
7
+ * import { SearchcraftFilterPanel } from "@searchcraft/react-sdk";
8
+ * ```
9
+ *
10
+ * @vue-import
11
+ * ```jsx
12
+ * import { SearchcraftFilterPanel } from "@searchcraft/vue-sdk";
13
+ * ```
14
+ *
15
+ * @js-example
6
16
  * ```html
7
17
  * <!-- index.html -->
8
18
  * <searchcraft-filter-panel />
9
19
  * ```
20
+ *
21
+ * ```js
22
+ * // index.js
23
+ * const filterPanel = document.querySelector('searchcraft-filter-panel');
24
+ *
25
+ * if (filterPanel) {
26
+ * filterPanel.items = [];
27
+ * }
28
+ * ```
29
+ *
30
+ * @react-example
31
+ * ```jsx
32
+ * <SearchcraftFilterPanel items={[]} />
33
+ * ```
34
+ *
35
+ * @vue-example
36
+ * ```jsx
37
+ * <SearchcraftFilterPanel :items="[]" />
38
+ * ```
10
39
  */
11
40
  export declare class SearchcraftFilterPanel {
12
41
  /**
@@ -4,27 +4,40 @@ import type { SearchcraftCore } from '@searchcraft/core';
4
4
  * This web component provides a user-friendly interface for querying an indexed dataset, enabling users to easily search large collections of data.
5
5
  * It abstracts the complexities of index-based searching, making it accessible to users of all technical levels.
6
6
  *
7
- * ## Usage
7
+ * @react-import
8
+ * ```jsx
9
+ * import { SearchcraftInputForm } from "@searchcraft/react-sdk";
10
+ * ```
11
+ *
12
+ * @vue-import
13
+ * ```jsx
14
+ * import { SearchcraftInputForm } from "@searchcraft/vue-sdk";
15
+ * ```
16
+ *
17
+ * @js-example
8
18
  * ```html
9
- * <!-- index.html -->
10
- * <searchcraft-input-form placeholder-value="Search here" />
19
+ * <searchcraft-input-form auto-search />
11
20
  * ```
12
21
  *
13
- * ```js
14
- * // index.js
15
- * const searchInputForm = document.querySelector('searchcraft-input-form');
22
+ * @react-example
23
+ * ```jsx
24
+ * <SearchcraftInputForm autoSearch />
25
+ * ```
16
26
  *
27
+ * @vue-example
28
+ * ```jsx
29
+ * <SearchcraftInputForm autoSearch />
17
30
  * ```
18
31
  */
19
- export declare class SearchcraftInput {
32
+ export declare class SearchcraftInputForm {
20
33
  /**
21
34
  * Whether or not to automatically submit the search term when the input changes.
22
35
  */
23
- autoSearch: boolean;
36
+ autoSearch?: boolean;
24
37
  /**
25
38
  * Where to place the search button.
26
39
  */
27
- buttonPlacement: 'left' | 'right' | 'none';
40
+ buttonPlacement?: 'left' | 'right' | 'none';
28
41
  /**
29
42
  * The label for the submit button.
30
43
  */
@@ -33,14 +46,10 @@ export declare class SearchcraftInput {
33
46
  * The label rendered above the input.
34
47
  */
35
48
  inputLabel?: string;
36
- /**
37
- * A custom styles object to be applied to the input element.
38
- */
39
- customStyles: string | Record<string, string>;
40
49
  /**
41
50
  * The input element's placeholder value.
42
51
  */
43
- placeholderValue: string;
52
+ placeholderValue?: string;
44
53
  /**
45
54
  * When the input becomes focused.
46
55
  */
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * This web component serves as the input label for the searchcraft-input-form component.
3
3
  *
4
- * ## Usage
4
+ * @js-example
5
5
  * ```html
6
- * <!-- index.html -->
7
6
  * <searchcraft-input-label label="Search" />
8
7
  * ```
8
+ *
9
+ * @internal
9
10
  */
10
11
  export declare class SearchcraftInputLabel {
11
12
  /**
@@ -1,18 +1,32 @@
1
1
  /**
2
- * This web component is designed to facilitate pagination of search results.
3
- * Once a query is submitted, calculates the number for pages.
2
+ * This web component is designed to facilitate pagination of search results. Once a query is submitted, calculates the number for pages.
4
3
  *
5
- * ## Usage
4
+ * @react-import
5
+ * ```jsx
6
+ * import { SearchcraftPagination } from "@searchcraft/react-sdk";
7
+ * ```
8
+ *
9
+ * @vue-import
10
+ * ```jsx
11
+ * import { SearchcraftPagination } from "@searchcraft/vue-sdk";
12
+ * ```
13
+ *
14
+ * @js-example
6
15
  * ```html
7
- * <!-- index.html -->
8
16
  * <searchcraft-pagination />
9
17
  * ```
18
+ *
19
+ * @react-example
20
+ * ```jsx
21
+ * <SearchcraftPagination />
22
+ * ```
23
+ *
24
+ * @vue-example
25
+ * ```jsx
26
+ * <SearchcraftPagination />
27
+ * ```
10
28
  */
11
29
  export declare class SearchcraftPagination {
12
- /**
13
- * The custom styles object.
14
- */
15
- customStyles?: string;
16
30
  searchTerm: any;
17
31
  searchResultsPerPage: any;
18
32
  searchResultsPage: any;
@@ -1,8 +1,82 @@
1
+ import type { PopoverButtonTemplate } from '@searchcraft/core';
1
2
  /**
2
3
  * Renders a button which, when clicked, turns on popover visibility.
4
+ *
5
+ * @react-import
6
+ * ```jsx
7
+ * import { SearchcraftPopoverButton } from "@searchcraft/react-sdk";
8
+ * ````
9
+ *
10
+ * @vue-import
11
+ * ```jsx
12
+ * import { SearchcraftPopoverButton } from "@searchcraft/vue-sdk";
13
+ * ```
14
+ *
15
+ * @js-example
16
+ * ```html
17
+ * <!-- index.html -->
18
+ * <searchcraft-popover-button>
19
+ * Open popover
20
+ * </searchcraft-popover-button>
21
+ * ```
22
+ *
23
+ * ```js
24
+ * // index.js
25
+ * const popoverButton = document.querySelector('searchcraft-popover-button');
26
+ *
27
+ * popoverButton.template = (isPopoverVisible, { html }) => html`
28
+ * <span>Click me</span>
29
+ * `;
30
+ * ```
31
+ *
32
+ * @react-example
33
+ * ```jsx
34
+ * <SearchcraftPopoverButton
35
+ * template={(isPopoverVisible, { html }) => html`
36
+ * <span>Click me</span>
37
+ * `}
38
+ * >
39
+ * Open popover
40
+ * </SearchcraftPopoverButton>
41
+ * ```
42
+ *
43
+ * @vue-example
44
+ * ```jsx
45
+ * <SearchcraftPopoverButton
46
+ * :template={(isPopoverVisible, { html }) => html`
47
+ * <span>Click me</span>
48
+ * `}
49
+ * >
50
+ * Open popover
51
+ * </SearchcraftPopoverButton>
52
+ * ```
3
53
  */
4
54
  export declare class SearchcraftPopoverButton {
55
+ /**
56
+ * A callback function responsible for rendering the button contents.
57
+ */
58
+ template?: PopoverButtonTemplate;
59
+ /**
60
+ * The type of popover button to render.
61
+ */
62
+ type?: 'skeuomorphic';
63
+ hotkey: any;
64
+ hotkeyModifier: any;
65
+ hotkeyModifierSymbol: any;
66
+ isPopoverVisible: any;
67
+ userAgent: any;
68
+ private unsubscribe;
5
69
  handleOnClick(): void;
70
+ componentDidLoad(): void;
71
+ disconnectedCallback(): void;
72
+ setUserAgent(): "window" | "mac" | "other";
73
+ renderOptionSymbol: () => any;
74
+ renderCtrlSymbol: () => any;
75
+ renderWindowsMetaSymbol: () => any;
76
+ renderMacMetaSymbol: () => any;
77
+ setHotkeyModifierSymbol(): any;
78
+ renderSkeuomorphicSlot(): any;
79
+ renderSlot(): any;
6
80
  render(): any;
7
81
  }
8
82
  //# sourceMappingURL=searchcraft-popover-button.d.ts.map
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Renders the footer for the searchcraft-popover-form.
3
+ *
4
+ * @internal
5
+ */
6
+ export declare class SearchcraftPopoverFooter {
7
+ searchResultsCount: any;
8
+ private unsubscribe;
9
+ componentDidLoad(): void;
10
+ disconnectedCallback(): void;
11
+ render(): any;
12
+ }
13
+ //# sourceMappingURL=searchcraft-popover-footer.d.ts.map
@@ -2,36 +2,48 @@ import type { SearchClientResponseItem, AdClientResponseItem, PopoverResultMappi
2
2
  /**
3
3
  * 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.
4
4
  *
5
- * ## Usage
5
+ * @react-import
6
+ * ```jsx
7
+ * import { SearchcraftPopoverForm } from "@searchcraft/react-sdk";
8
+ * ```
9
+ *
10
+ * @vue-import
11
+ * ```jsx
12
+ * import { SearchcraftPopoverForm } from "@searchcraft/vue-sdk";
13
+ * ```
14
+ *
15
+ * @js-example
6
16
  * ```html
7
17
  * <!-- index.html -->
8
- * <searchcraft-popover-form type="fullscreen" />
18
+ * <searchcraft-popover-form type="inline" />
9
19
  * ```
10
20
  *
11
21
  * ```js
12
22
  * // index.js
13
23
  * const popoverForm = document.querySelector('searchcraft-popover-form');
14
24
  *
15
- * popoverForm.popoverResultMappings = {
16
- * containerHref: {
17
- * fieldNames: [
18
- * {
19
- * fieldName: 'canonical_link',
20
- * dataType: 'text',
21
- * },
22
- * ],
23
- * };
25
+ * popoverForm.popoverResultMappings = {};
26
+ * ```
27
+ *
28
+ * @react-example
29
+ * ```jsx
30
+ * <SearchcraftPopoverForm type="inline" popoverResultMappings={[]} />
31
+ * ```
32
+ *
33
+ * @vue-example
34
+ * ```jsx
35
+ * <SearchcraftPopoverForm type="inline" :popoverResultMappings="[]"" />
24
36
  * ```
37
+ *
25
38
  */
26
39
  export declare class SearchcraftPopoverForm {
27
40
  /**
28
41
  * The type of popover form to render.
29
- *
30
42
  * - `inline` - Renders inline with the rest of the content on the page. The search results pop over the page content.
31
43
  * - `fullscreen` - Renders in fullscreen view. Used together with the `searchcraft-popover-button` component.
32
44
  * - `modal` - Renders in a modal view. Used together with the `searchcraft-popover-button` component.
33
45
  */
34
- type: 'inline' | 'fullscreen' | 'modal';
46
+ type?: 'inline' | 'fullscreen' | 'modal';
35
47
  /**
36
48
  * Formats the content rendered for each result.
37
49
  */
@@ -39,11 +51,11 @@ export declare class SearchcraftPopoverForm {
39
51
  /**
40
52
  * The hotkey that activates the popover.
41
53
  */
42
- hotkey: string;
54
+ hotkey?: string;
43
55
  /**
44
56
  * The hotkey modifier that activates the popover. Used together with the `hotkey` prop.
45
57
  */
46
- hotkeyModifier: 'ctrl' | 'meta' | 'alt' | 'option';
58
+ hotkeyModifier?: 'ctrl' | 'meta' | 'alt' | 'option';
47
59
  isPopoverVisibleInState: boolean;
48
60
  unsubscribe: (() => void) | undefined;
49
61
  searchClientResponseItems: SearchClientResponseItem[];
@@ -1,17 +1,19 @@
1
1
  import type { SearchDocument, SearchClientResponseItem, PopoverResultMappings } from '@searchcraft/core';
2
2
  /**
3
3
  * A single list item rendered in a searchcraft-popover-list-view.
4
+ *
5
+ * @internal
4
6
  */
5
7
  export declare class SearchcraftPopoverListItem {
6
8
  item: SearchClientResponseItem | undefined;
7
9
  popoverResultMappings: PopoverResultMappings | undefined;
8
10
  /** The document position relative to the search results (For Measure) */
9
11
  documentPosition: number;
12
+ title?: string;
13
+ subtitle?: string;
10
14
  href?: string;
11
- imageSrc?: string;
15
+ imageSource?: string;
12
16
  imageAlt?: string;
13
- titleContent?: string;
14
- subtitleContent?: string;
15
17
  mapValuesFromDocument(document: SearchDocument): void;
16
18
  connectedCallback(): void;
17
19
  disconnectedCallback(): void;
@@ -4,11 +4,12 @@ import type { PopoverResultMappings } from '@searchcraft/core';
4
4
  * This web component is designed to display a list of results within a popover interface.
5
5
  * It is consumed within the `searchcraft-popover-form` component.
6
6
  *
7
- * ## Usage
7
+ * @js-example
8
8
  * ```html
9
- * <!-- index.html -->
10
9
  * <searchcraft-popover-list-view />
11
10
  * ```
11
+ *
12
+ * @internal
12
13
  */
13
14
  export declare class SearchcraftPopoverListView {
14
15
  /**
@@ -1,33 +1,55 @@
1
+ import type { ResultsInfoTemplate } from '@searchcraft/core';
1
2
  /**
2
3
  * This web component is designed to display the number of results returned from a search query.
3
4
  *
4
- * ## Usage
5
+ * @react-import
6
+ * ```jsx
7
+ * import { SearchcraftResultsInfo } from "@searchcraft/react-sdk";
8
+ * ```
9
+ *
10
+ * @vue-import
11
+ * ```jsx
12
+ * import { SearchcraftResultsInfo } from "@searchcraft/vue-sdk";
13
+ * ```
14
+ *
15
+ * @js-example
5
16
  * ```html
6
17
  * <!-- index.html -->
7
- * <script>
8
- * const resultsInfo = document.querySelector('searchcraft-results-info');
9
- * resultsInfo.customFormatter = (range, count, responseTime) =>
10
- * `${range[0]}-${range[1]} of ${count} results in ${responseTime}ms`;
11
- * </script>
12
- *
13
18
  * <searchcraft-results-info />
14
19
  * ```
20
+ *
21
+ * ```js
22
+ * // index.js
23
+ * const resultsInfo = document.querySelector('searchcraft-results-info');
24
+ *
25
+ * resultsInfo.template = (info, { html }) => html`
26
+ * ${info.range[0]}-${info.range[1]} of ${info.count} results in ${info.responseTime}ms
27
+ * `;
28
+ * ```
29
+ *
30
+ * @react-example
31
+ * ```jsx
32
+ * <SearchcraftResultsInfo
33
+ * template={(info, { html }) => html`
34
+ * ${info.range[0]}-${info.range[1]} of ${info.count} results in ${info.responseTime}ms
35
+ * `}
36
+ * />
37
+ * ```
38
+ *
39
+ * @vue-example
40
+ * ```jsx
41
+ * <SearchcraftResultsInfo
42
+ * :template={(info, { html }) => html`
43
+ * ${info.range[0]}-${info.range[1]} of ${info.count} results in ${info.responseTime}ms
44
+ * `}
45
+ * />
46
+ * ```
15
47
  */
16
48
  export declare class SearchcraftResultsInfo {
17
49
  /**
18
- * The custom formatter for the resulting string.
19
- *
20
- * @example
21
- * ```ts
22
- * resultsInfo.customFormatter = (range, count, responseTime) =>
23
- * `${range[0]}-${range[1]} of ${count} results in ${responseTime}ms`;
24
- * ```
25
- */
26
- customFormatter?: (range: [string, string], count: string, responseTime: string) => void;
27
- /**
28
- * The custom styles object.
50
+ * A callback function responsible for rendering the results info.
29
51
  */
30
- customStyles?: string;
52
+ template?: ResultsInfoTemplate;
31
53
  searchTerm: any;
32
54
  searchResultsPage: any;
33
55
  searchResultsPerPage: any;