@searchcraft/react-sdk 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.js +989 -887
- package/dist/client/index.js.map +1 -1
- package/dist/client/themes/hologram.css +1 -1
- package/dist/client/themes/hologram.css.map +1 -1
- package/dist/server/index.d.ts +123 -80
- package/dist/server/index.js +1084 -982
- package/dist/server/index.js.map +1 -1
- package/package.json +4 -7
|
@@ -1 +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 */
|
|
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-neutral-primary);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;width:0}.searchcraft-popover-form-cancel-button{background:none;border:none;cursor:pointer;font-size:14px}.searchcraft-popover-form-modal-input,.searchcraft-popover-form-fullscreen-input{padding:24px}.searchcraft-popover-form-modal-popover-list-view,.searchcraft-popover-form-fullscreen-popover-list-view{flex-grow:1;flex-shrink:1;min-height:0;overflow:auto;padding:0 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-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);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{border-radius:var(--sc-border-radius-2xl);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-cancel-button{border-radius:calc(--sc-border-radius-2xl - 20px);border-radius:calc(var(--sc-border-radius-2xl) - 20px);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-modal-cancel-button{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-cancel-button{border-radius:var(--sc-border-radius-lg);padding:8px}@media(min-width: 576px){.searchcraft-popover-form-fullscreen-cancel-button{padding:8px 12px}}.searchcraft-popover-footer{font-family:var(--sc-font-family);line-height:1.25;-webkit-font-smoothing:antialiased;background-color:var(--sc-surface-neutral-secondary);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;display:flex;gap:8px;justify-content:space-between;line-height:1;padding:20px 24px}@media(min-width: 576px){.searchcraft-popover-footer{padding:20px 32px}}.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 */
|
|
@@ -1 +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,
|
|
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,wCACA,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,gNAGF,QAIJ,wCACE,gBACA,YACA,eACA,eAOF,iFAEE,aAGF,yGAEE,YACA,cACA,aACA,cACA,eAMF,iCACE,mDACA,+BACA,yCACA,aACA,kBAEA,iEACE,0CACA,mBACA,4BACA,6BACA,mBAGF,+DACE,eAGF,8Lb3FA,iDACA,sDaiGF,yCACE,mDACA,0CACA,gBACA,qDACA,sDACA,aACA,sBACA,UACA,8CACA,gBACA,kBACA,WACA,SAMF,gCACE,mBACA,aACA,QACA,eACA,aAEA,2Lb5HA,kDACA,uDakIF,yCACE,uEACA,aACA,QACA,eAEA,yBANF,yCAOI,eAIJ,wCACE,mDACA,WACE,6XAMF,aACA,sBACA,QACA,4CACA,gBACA,kBACA,WACA,aAEA,yBAlBF,wCAmBI,0CACA,QACA,iBACA,8CACA,4CACA,mBAIJ,8Cb1KE,kDACA,uDa2KA,YAEA,yBAJF,8CAKI,kBAOJ,qCACE,mDACA,aACA,sBACA,8BACA,QACA,eACA,aAEA,uIAEE,yCAIJ,mDACE,yCACA,YAEA,yBAJF,mDAKI,kBCvNJ,4Bf8DE,kCACA,iBACA,mCe9DA,qDACA,WACE,gNAGF,aACA,QACA,8BACA,cACA,kBAEA,yBAbF,4BAcI,mBAIJ,yCACE,SAGF,iCACE,wCACA,aACA,gBACA,WC5BF,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"}
|
package/dist/server/index.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export type SearchResultFieldName = {
|
|
|
42
42
|
numberFormatLocale?: string;
|
|
43
43
|
/**
|
|
44
44
|
* If it's a number, the number format to apply.
|
|
45
|
-
*
|
|
45
|
+
* Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
|
|
46
46
|
*/
|
|
47
47
|
numberFormatOptions?: Intl.NumberFormatOptions;
|
|
48
48
|
/**
|
|
@@ -50,9 +50,14 @@ export type SearchResultFieldName = {
|
|
|
50
50
|
*/
|
|
51
51
|
numberScale?: number;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* The locale to use when formatting dataType: `date`.
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
dateFormatLocale?: string;
|
|
56
|
+
/**
|
|
57
|
+
* If it's a date, the date format to apply.
|
|
58
|
+
* Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat
|
|
59
|
+
*/
|
|
60
|
+
dateFormatOptions?: Intl.DateTimeFormatOptions;
|
|
56
61
|
};
|
|
57
62
|
/**
|
|
58
63
|
* A data type representing the mapping of index fields, for the purpose of rendering them
|
|
@@ -138,7 +143,9 @@ export type CustomAdTemplate = (data: {
|
|
|
138
143
|
}, utils: {
|
|
139
144
|
html: TemplateHtml;
|
|
140
145
|
}) => string;
|
|
141
|
-
export type PopoverButtonTemplate = (data:
|
|
146
|
+
export type PopoverButtonTemplate = (data: {
|
|
147
|
+
isPopoverVisible: boolean;
|
|
148
|
+
}, utils: {
|
|
142
149
|
html: TemplateHtml;
|
|
143
150
|
}) => string;
|
|
144
151
|
/**
|
|
@@ -146,11 +153,11 @@ export type PopoverButtonTemplate = (data: boolean, utils: {
|
|
|
146
153
|
*/
|
|
147
154
|
export interface SearchcraftConfig {
|
|
148
155
|
/**
|
|
149
|
-
* Host IP Address and port number configured and created using Vektron
|
|
156
|
+
* Host IP Address and port number configured and created using Vektron.
|
|
150
157
|
*/
|
|
151
158
|
endpointURL: string;
|
|
152
159
|
/**
|
|
153
|
-
* Name or names of search indices configured using Vektron. Given as an array of strings
|
|
160
|
+
* Name or names of search indices configured using Vektron. Given as an array of strings.
|
|
154
161
|
*/
|
|
155
162
|
index: string[];
|
|
156
163
|
/**
|
|
@@ -169,6 +176,10 @@ export interface SearchcraftConfig {
|
|
|
169
176
|
* The maximum number of results to return per page.
|
|
170
177
|
*/
|
|
171
178
|
searchResultsPerPage?: number;
|
|
179
|
+
/**
|
|
180
|
+
* The name of the field to use for `order_by` when sorting.
|
|
181
|
+
*/
|
|
182
|
+
indexFieldName?: string;
|
|
172
183
|
/**
|
|
173
184
|
* Name of the ad source to use.
|
|
174
185
|
*/
|
|
@@ -301,6 +312,56 @@ export interface MeasureRequestUser {
|
|
|
301
312
|
latitude?: number;
|
|
302
313
|
longitude?: number;
|
|
303
314
|
}
|
|
315
|
+
export interface FacetPathsForIndexField {
|
|
316
|
+
fieldName: string;
|
|
317
|
+
value: string;
|
|
318
|
+
}
|
|
319
|
+
export interface RangeValueForIndexField {
|
|
320
|
+
fieldName: string;
|
|
321
|
+
value: string;
|
|
322
|
+
}
|
|
323
|
+
export interface SearchClientRequestProperties {
|
|
324
|
+
/**
|
|
325
|
+
* The search mode, which can be either 'fuzzy' or 'exact'.
|
|
326
|
+
*/
|
|
327
|
+
mode: "fuzzy" | "exact";
|
|
328
|
+
/**
|
|
329
|
+
* The starting point for the results, used for pagination.
|
|
330
|
+
* Optional parameter.
|
|
331
|
+
*/
|
|
332
|
+
offset?: number;
|
|
333
|
+
/**
|
|
334
|
+
* The number of results returned.
|
|
335
|
+
* Optional parameter.
|
|
336
|
+
*/
|
|
337
|
+
limit?: number;
|
|
338
|
+
/**
|
|
339
|
+
* The field to order the results by (e.g., 'date_published', 'title', etc.).
|
|
340
|
+
* Optional parameter.
|
|
341
|
+
*/
|
|
342
|
+
order_by?: string;
|
|
343
|
+
/**
|
|
344
|
+
* The search term provided by the user.
|
|
345
|
+
*/
|
|
346
|
+
searchTerm: string;
|
|
347
|
+
/**
|
|
348
|
+
* The sort order, which can be either 'asc' or 'desc'.
|
|
349
|
+
* Optional parameter.
|
|
350
|
+
*/
|
|
351
|
+
sort?: "asc" | "desc";
|
|
352
|
+
/**
|
|
353
|
+
* The facet path value(s) specified by the `facets` filter items that the `searchcraft-filter-panel` renders.
|
|
354
|
+
* There may be multiple rendered within a single filter panel.
|
|
355
|
+
* Optional parameter.
|
|
356
|
+
*/
|
|
357
|
+
facetPathsForIndexFields?: Record<string, FacetPathsForIndexField>;
|
|
358
|
+
/**
|
|
359
|
+
* The date range slider value(s) specified by the `dateRange` filter items that the `searchcraft-filter-panel` renders.
|
|
360
|
+
* There may be multiple rendered within a single filter panel.
|
|
361
|
+
* Optional parameter.
|
|
362
|
+
*/
|
|
363
|
+
rangeValueForIndexFields?: Record<string, RangeValueForIndexField>;
|
|
364
|
+
}
|
|
304
365
|
/**
|
|
305
366
|
* The structure of a response returned from a Searchcraft operation.
|
|
306
367
|
*/
|
|
@@ -327,13 +388,13 @@ export type SearchcraftResponseError = {
|
|
|
327
388
|
export interface SearchcraftResponseData {
|
|
328
389
|
count?: number;
|
|
329
390
|
facets?: FacetPrime;
|
|
330
|
-
hits?:
|
|
391
|
+
hits?: SearchIndexHit[];
|
|
331
392
|
time_taken?: number;
|
|
332
393
|
}
|
|
333
394
|
/**
|
|
334
395
|
* Represents an entry in the search index returned as part of a search result.
|
|
335
396
|
*/
|
|
336
|
-
export interface
|
|
397
|
+
export interface SearchIndexHit {
|
|
337
398
|
doc?: SearchDocument;
|
|
338
399
|
document_id?: string;
|
|
339
400
|
score?: number;
|
|
@@ -349,54 +410,12 @@ export interface SearchClientResponseItem {
|
|
|
349
410
|
id: string;
|
|
350
411
|
document: SearchDocument;
|
|
351
412
|
}
|
|
352
|
-
export type FacetPathsForIndexField = {
|
|
353
|
-
fieldName: string;
|
|
354
|
-
value: string;
|
|
355
|
-
};
|
|
356
|
-
export type RangeValueForIndexField = {
|
|
357
|
-
fieldName: string;
|
|
358
|
-
value: string;
|
|
359
|
-
};
|
|
360
|
-
/**
|
|
361
|
-
* Parameters required to make a successful Search request.
|
|
362
|
-
*/
|
|
363
|
-
export type SearchParams = {
|
|
364
|
-
/**
|
|
365
|
-
* The search mode, which can be either 'fuzzy' or 'exact'.
|
|
366
|
-
*/
|
|
367
|
-
mode: "fuzzy" | "exact";
|
|
368
|
-
/**
|
|
369
|
-
* The starting point for the results, used for pagination.
|
|
370
|
-
* Optional parameter.
|
|
371
|
-
*/
|
|
372
|
-
offset?: number;
|
|
373
|
-
/**
|
|
374
|
-
* The number of results returned.
|
|
375
|
-
* Optional parameter.
|
|
376
|
-
*/
|
|
377
|
-
limit?: number;
|
|
378
|
-
/**
|
|
379
|
-
* The field to order the results by (e.g., 'date_published', 'title', etc.).
|
|
380
|
-
* Optional parameter.
|
|
381
|
-
*/
|
|
382
|
-
order_by?: string;
|
|
383
|
-
/**
|
|
384
|
-
* The search term provided by the user.
|
|
385
|
-
*/
|
|
386
|
-
searchTerm: string;
|
|
387
|
-
/**
|
|
388
|
-
* The sort order, which can be either 'asc' or 'desc'.
|
|
389
|
-
* Optional parameter.
|
|
390
|
-
*/
|
|
391
|
-
sort?: "asc" | "desc";
|
|
392
|
-
facetPathsForIndexFields?: Record<string, FacetPathsForIndexField>;
|
|
393
|
-
rangeValueForIndexFields?: Record<string, RangeValueForIndexField>;
|
|
394
|
-
};
|
|
395
413
|
export interface SubscriptionEventMap {
|
|
396
414
|
ad_container_rendered: AdContainerRenderedSubscriptionEvent;
|
|
397
415
|
ad_container_viewed: AdContainerViewedSubscriptionEvent;
|
|
398
416
|
query_fetched: QueryFetchedEvent;
|
|
399
417
|
query_submitted: QuerySubmittedEvent;
|
|
418
|
+
initialized: InitializedEvent;
|
|
400
419
|
input_cleared: InputClearedEvent;
|
|
401
420
|
no_results_returned: NoResultsReturnedEvent;
|
|
402
421
|
}
|
|
@@ -434,6 +453,9 @@ export interface InputClearedEvent extends SubscriptionEvent {
|
|
|
434
453
|
export interface NoResultsReturnedEvent extends SubscriptionEvent {
|
|
435
454
|
name: "no_results_returned";
|
|
436
455
|
}
|
|
456
|
+
export interface InitializedEvent extends SubscriptionEvent {
|
|
457
|
+
name: "initialized";
|
|
458
|
+
}
|
|
437
459
|
export type SubscriptionEventName = keyof SubscriptionEventMap;
|
|
438
460
|
export type SubscriptionEventCallback<T extends SubscriptionEventName> = (event: SubscriptionEventMap[T]) => void;
|
|
439
461
|
export type UnsubscribeFunction = () => void;
|
|
@@ -443,9 +465,9 @@ export interface SubscriptionEvent {
|
|
|
443
465
|
declare class AdClient {
|
|
444
466
|
config: SearchcraftConfig;
|
|
445
467
|
constructor(config: SearchcraftConfig);
|
|
446
|
-
|
|
447
|
-
onQuerySubmitted(
|
|
448
|
-
onQueryFetched(
|
|
468
|
+
getAds(_properties: SearchClientRequestProperties): Promise<AdClientResponseItem[]>;
|
|
469
|
+
onQuerySubmitted(_properties: SearchClientRequestProperties): Promise<void>;
|
|
470
|
+
onQueryFetched(_properties: SearchClientRequestProperties, _response: SearchcraftResponse): Promise<void>;
|
|
449
471
|
onInputCleared(): Promise<void>;
|
|
450
472
|
onAdContainerRendered(_data: {
|
|
451
473
|
adClientResponseItem?: AdClientResponseItem;
|
|
@@ -496,10 +518,19 @@ declare class SearchClient {
|
|
|
496
518
|
*/
|
|
497
519
|
private get baseSearchUrl();
|
|
498
520
|
/**
|
|
499
|
-
*
|
|
500
|
-
* @param {
|
|
521
|
+
* Make the request to get the search results.
|
|
522
|
+
* @param {properties} properties - The properties for the search.
|
|
523
|
+
* @returns
|
|
524
|
+
*/
|
|
525
|
+
getSearchResponseItems: (properties: SearchClientRequestProperties | string) => Promise<SearchcraftResponse>;
|
|
526
|
+
private handleGetSearchResponseItemsWithString;
|
|
527
|
+
private handleGetSearchResponseItemsWithObject;
|
|
528
|
+
/**
|
|
529
|
+
* Builds a query object for the SearchClient request.
|
|
530
|
+
* @param {properties} properties - The properties for the search.
|
|
531
|
+
* @returns {SearchClientQuery} - A properly formatted SearchClient query object.
|
|
501
532
|
*/
|
|
502
|
-
|
|
533
|
+
private formatParamsForRequest;
|
|
503
534
|
}
|
|
504
535
|
/**
|
|
505
536
|
* Javascript Class providing the functionality to interact with the Searchcraft BE
|
|
@@ -543,25 +574,28 @@ export declare class SearchcraftCore {
|
|
|
543
574
|
* Perform various actions when the input is cleared
|
|
544
575
|
*/
|
|
545
576
|
handleInputCleared(): void;
|
|
546
|
-
|
|
547
|
-
* Gets items from the SearchClient and the AdClient.
|
|
548
|
-
*/
|
|
549
|
-
getItems: (searchParams: SearchParams, itemsCallback: (response: SearchcraftResponse, items: SearchClientResponseItem[]) => void, adCallback: (adClientResponseItems: AdClientResponseItem[]) => void) => void;
|
|
577
|
+
getResponseItems: (properties: SearchClientRequestProperties | string, searchCallback: (response: SearchcraftResponse, items: SearchClientResponseItem[]) => void, adCallback: (items: AdClientResponseItem[]) => void) => void;
|
|
550
578
|
}
|
|
551
579
|
/**
|
|
552
580
|
* Callable functions made available by the SearchcraftStore.
|
|
553
581
|
*/
|
|
554
582
|
export interface SearchcraftStateFunctions {
|
|
555
|
-
addFacetPathsForIndexField: (
|
|
556
|
-
addRangeValueForIndexField: (
|
|
557
|
-
|
|
558
|
-
|
|
583
|
+
addFacetPathsForIndexField: (field: FacetPathsForIndexField) => void;
|
|
584
|
+
addRangeValueForIndexField: (field: RangeValueForIndexField) => void;
|
|
585
|
+
getSearchcraftCore: () => SearchcraftCore | undefined;
|
|
586
|
+
init: (searchcraft: SearchcraftCore | undefined, debug?: boolean) => void;
|
|
559
587
|
removeFacetPathsForIndexField: (fieldName: string) => void;
|
|
560
588
|
removeRangeValueForIndexField: (fieldName: string) => void;
|
|
561
589
|
resetFacetPaths: () => void;
|
|
562
590
|
search: () => Promise<void>;
|
|
591
|
+
set: (state: Partial<SearchcraftState> | ((state: SearchcraftState) => Partial<SearchcraftState>)) => SearchcraftState;
|
|
592
|
+
setAdClientResponseItems: (items: AdClientResponseItem[]) => void;
|
|
593
|
+
setSearchClientResponseItemsFromResponse: (response: SearchcraftResponse, items: SearchClientResponseItem[]) => void;
|
|
594
|
+
setInitialSearchClientResponseItemsFromResponse: (response: SearchcraftResponse, items: SearchClientResponseItem[]) => void;
|
|
595
|
+
setInitialQuery: (query: string) => void;
|
|
563
596
|
setPopoverVisibility: (isVisible: boolean) => void;
|
|
564
|
-
|
|
597
|
+
setSearchResultsCount: (count: number) => void;
|
|
598
|
+
setSearchClientResponseItems: (items: SearchClientResponseItem[]) => void;
|
|
565
599
|
setSearchResultsPage: (page: number) => void;
|
|
566
600
|
setSearchResultsPerPage: (perPage: number) => void;
|
|
567
601
|
setSearchTerm: (searchTerm: string) => void;
|
|
@@ -579,6 +613,8 @@ export interface SearchcraftStateValues {
|
|
|
579
613
|
hotkeyModifier: "ctrl" | "meta" | "alt" | "option";
|
|
580
614
|
logger: Logger | undefined;
|
|
581
615
|
facetPathsForIndexFields: Record<string, FacetPathsForIndexField>;
|
|
616
|
+
initialQuery: string;
|
|
617
|
+
initialSearchClientResponseItems: SearchClientResponseItem[];
|
|
582
618
|
isPopoverVisible: boolean;
|
|
583
619
|
isSearchInProgress: boolean;
|
|
584
620
|
rangeValueForIndexFields: Record<string, RangeValueForIndexField>;
|
|
@@ -591,12 +627,11 @@ export interface SearchcraftStateValues {
|
|
|
591
627
|
searchResultsPerPage: number;
|
|
592
628
|
searchTerm: string;
|
|
593
629
|
sortType: "asc" | "desc";
|
|
630
|
+
afterInit: (state: SearchcraftState) => void;
|
|
594
631
|
}
|
|
595
632
|
export interface SearchcraftState extends SearchcraftStateFunctions, SearchcraftStateValues {
|
|
596
633
|
}
|
|
597
634
|
export declare const searchcraftStore: import("zustand").StoreApi<SearchcraftState>;
|
|
598
|
-
export declare function parseCustomStyles(styles: string | Record<string, string>): Record<string, string>;
|
|
599
|
-
export declare function serializeStyles(styles: Record<string, Record<string, string>>): string;
|
|
600
635
|
export type SearchcraftSelectOption = {
|
|
601
636
|
label: string;
|
|
602
637
|
value: string | number;
|
|
@@ -800,13 +835,13 @@ export namespace Components {
|
|
|
800
835
|
* ```js
|
|
801
836
|
* // index.js
|
|
802
837
|
* const popoverButton = document.querySelector('searchcraft-popover-button');
|
|
803
|
-
* popoverButton.template = (isPopoverVisible, { html }) => html`
|
|
838
|
+
* popoverButton.template = ({ isPopoverVisible }, { html }) => html`
|
|
804
839
|
* <span>Click me</span>
|
|
805
840
|
* `;
|
|
806
841
|
* ```
|
|
807
842
|
* @react-example ```jsx
|
|
808
843
|
* <SearchcraftPopoverButton
|
|
809
|
-
* template={(isPopoverVisible, { html }) => html`
|
|
844
|
+
* template={({ isPopoverVisible }, { html }) => html`
|
|
810
845
|
* <span>Click me</span>
|
|
811
846
|
* `}
|
|
812
847
|
* >
|
|
@@ -815,7 +850,7 @@ export namespace Components {
|
|
|
815
850
|
* ```
|
|
816
851
|
* @vue-example ```jsx
|
|
817
852
|
* <SearchcraftPopoverButton
|
|
818
|
-
* :template={(isPopoverVisible, { html }) => html`
|
|
853
|
+
* :template={({ isPopoverVisible }, { html }) => html`
|
|
819
854
|
* <span>Click me</span>
|
|
820
855
|
* `}
|
|
821
856
|
* >
|
|
@@ -1011,6 +1046,10 @@ export namespace Components {
|
|
|
1011
1046
|
* ```
|
|
1012
1047
|
*/
|
|
1013
1048
|
interface SearchcraftSearchResults {
|
|
1049
|
+
/**
|
|
1050
|
+
* A query that will appears when the component initializes or the search term is ''..
|
|
1051
|
+
*/
|
|
1052
|
+
"initialQuery"?: string;
|
|
1014
1053
|
/**
|
|
1015
1054
|
* A callback function responsible for rendering a result. Passed to `searchcraft-search-result`.
|
|
1016
1055
|
*/
|
|
@@ -1363,13 +1402,13 @@ declare global {
|
|
|
1363
1402
|
* ```js
|
|
1364
1403
|
* // index.js
|
|
1365
1404
|
* const popoverButton = document.querySelector('searchcraft-popover-button');
|
|
1366
|
-
* popoverButton.template = (isPopoverVisible, { html }) => html`
|
|
1405
|
+
* popoverButton.template = ({ isPopoverVisible }, { html }) => html`
|
|
1367
1406
|
* <span>Click me</span>
|
|
1368
1407
|
* `;
|
|
1369
1408
|
* ```
|
|
1370
1409
|
* @react-example ```jsx
|
|
1371
1410
|
* <SearchcraftPopoverButton
|
|
1372
|
-
* template={(isPopoverVisible, { html }) => html`
|
|
1411
|
+
* template={({ isPopoverVisible }, { html }) => html`
|
|
1373
1412
|
* <span>Click me</span>
|
|
1374
1413
|
* `}
|
|
1375
1414
|
* >
|
|
@@ -1378,7 +1417,7 @@ declare global {
|
|
|
1378
1417
|
* ```
|
|
1379
1418
|
* @vue-example ```jsx
|
|
1380
1419
|
* <SearchcraftPopoverButton
|
|
1381
|
-
* :template={(isPopoverVisible, { html }) => html`
|
|
1420
|
+
* :template={({ isPopoverVisible }, { html }) => html`
|
|
1382
1421
|
* <span>Click me</span>
|
|
1383
1422
|
* `}
|
|
1384
1423
|
* >
|
|
@@ -1910,13 +1949,13 @@ declare namespace LocalJSX {
|
|
|
1910
1949
|
* ```js
|
|
1911
1950
|
* // index.js
|
|
1912
1951
|
* const popoverButton = document.querySelector('searchcraft-popover-button');
|
|
1913
|
-
* popoverButton.template = (isPopoverVisible, { html }) => html`
|
|
1952
|
+
* popoverButton.template = ({ isPopoverVisible }, { html }) => html`
|
|
1914
1953
|
* <span>Click me</span>
|
|
1915
1954
|
* `;
|
|
1916
1955
|
* ```
|
|
1917
1956
|
* @react-example ```jsx
|
|
1918
1957
|
* <SearchcraftPopoverButton
|
|
1919
|
-
* template={(isPopoverVisible, { html }) => html`
|
|
1958
|
+
* template={({ isPopoverVisible }, { html }) => html`
|
|
1920
1959
|
* <span>Click me</span>
|
|
1921
1960
|
* `}
|
|
1922
1961
|
* >
|
|
@@ -1925,7 +1964,7 @@ declare namespace LocalJSX {
|
|
|
1925
1964
|
* ```
|
|
1926
1965
|
* @vue-example ```jsx
|
|
1927
1966
|
* <SearchcraftPopoverButton
|
|
1928
|
-
* :template={(isPopoverVisible, { html }) => html`
|
|
1967
|
+
* :template={({ isPopoverVisible }, { html }) => html`
|
|
1929
1968
|
* <span>Click me</span>
|
|
1930
1969
|
* `}
|
|
1931
1970
|
* >
|
|
@@ -2121,6 +2160,10 @@ declare namespace LocalJSX {
|
|
|
2121
2160
|
* ```
|
|
2122
2161
|
*/
|
|
2123
2162
|
interface SearchcraftSearchResults {
|
|
2163
|
+
/**
|
|
2164
|
+
* A query that will appears when the component initializes or the search term is ''..
|
|
2165
|
+
*/
|
|
2166
|
+
"initialQuery"?: string;
|
|
2124
2167
|
/**
|
|
2125
2168
|
* A callback function responsible for rendering a result. Passed to `searchcraft-search-result`.
|
|
2126
2169
|
*/
|
|
@@ -2409,13 +2452,13 @@ declare module "@stencil/core" {
|
|
|
2409
2452
|
* ```js
|
|
2410
2453
|
* // index.js
|
|
2411
2454
|
* const popoverButton = document.querySelector('searchcraft-popover-button');
|
|
2412
|
-
* popoverButton.template = (isPopoverVisible, { html }) => html`
|
|
2455
|
+
* popoverButton.template = ({ isPopoverVisible }, { html }) => html`
|
|
2413
2456
|
* <span>Click me</span>
|
|
2414
2457
|
* `;
|
|
2415
2458
|
* ```
|
|
2416
2459
|
* @react-example ```jsx
|
|
2417
2460
|
* <SearchcraftPopoverButton
|
|
2418
|
-
* template={(isPopoverVisible, { html }) => html`
|
|
2461
|
+
* template={({ isPopoverVisible }, { html }) => html`
|
|
2419
2462
|
* <span>Click me</span>
|
|
2420
2463
|
* `}
|
|
2421
2464
|
* >
|
|
@@ -2424,7 +2467,7 @@ declare module "@stencil/core" {
|
|
|
2424
2467
|
* ```
|
|
2425
2468
|
* @vue-example ```jsx
|
|
2426
2469
|
* <SearchcraftPopoverButton
|
|
2427
|
-
* :template={(isPopoverVisible, { html }) => html`
|
|
2470
|
+
* :template={({ isPopoverVisible }, { html }) => html`
|
|
2428
2471
|
* <span>Click me</span>
|
|
2429
2472
|
* `}
|
|
2430
2473
|
* >
|