henry-search 1.0.0 → 1.0.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/README.md +5 -0
- package/dist/HenrySearch.css +1 -0
- package/dist/HenrySearch.js +26601 -0
- package/dist/HenrySearch.umd.cjs +221 -0
- package/dist/vite.svg +1 -0
- package/package.json +22 -5
- package/src/App.vue-old +30 -0
- package/src/assets/main-icons-sprite.svg +101 -0
- package/src/assets/vue.svg +1 -0
- package/src/components/HelloWorld.vue +43 -0
- package/src/components/Search.vue +2 -2
- package/src/main.js +19 -0
- package/src/style.css +79 -0
- package/src/components/sample_artist_results.json +0 -13075
- package/src/index.js +0 -9
- package/test/script.js +0 -1
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "henry-search",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Searches a typesense archive of musical performances",
|
|
5
|
-
"main": "js/
|
|
5
|
+
"main": "js/main.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"
|
|
7
|
+
"dev": "vite",
|
|
8
|
+
"build": "vite build",
|
|
9
|
+
"preview": "vite preview"
|
|
8
10
|
},
|
|
9
11
|
"repository": {
|
|
10
12
|
"type": "git",
|
|
@@ -14,7 +16,7 @@
|
|
|
14
16
|
"search"
|
|
15
17
|
],
|
|
16
18
|
"author": "Imarc",
|
|
17
|
-
"license": "
|
|
19
|
+
"license": "ISC",
|
|
18
20
|
"bugs": {
|
|
19
21
|
"url": "https://github.com/bostonsymphony/henry-search/issues"
|
|
20
22
|
},
|
|
@@ -29,5 +31,20 @@
|
|
|
29
31
|
"vue-instantsearch": "^4.21.3",
|
|
30
32
|
"vue-select": "^4.0.0-beta.6"
|
|
31
33
|
},
|
|
32
|
-
"devDependencies": {
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
36
|
+
"sass-embedded": "^1.93.2",
|
|
37
|
+
"vite": "^7.1.7"
|
|
38
|
+
},
|
|
39
|
+
"type": "module",
|
|
40
|
+
"exports": {
|
|
41
|
+
".": {
|
|
42
|
+
"import": "./dist/HenrySearch.js",
|
|
43
|
+
"require": "./dist/HenrySearch.umd.js"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"files": [
|
|
47
|
+
"dist",
|
|
48
|
+
"src"
|
|
49
|
+
]
|
|
33
50
|
}
|
package/src/App.vue-old
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import HelloWorld from './components/HelloWorld.vue'
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div>
|
|
7
|
+
<a href="https://vite.dev" target="_blank">
|
|
8
|
+
<img src="/vite.svg" class="logo" alt="Vite logo" />
|
|
9
|
+
</a>
|
|
10
|
+
<a href="https://vuejs.org/" target="_blank">
|
|
11
|
+
<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
|
|
12
|
+
</a>
|
|
13
|
+
</div>
|
|
14
|
+
<HelloWorld msg="Vite + Vue" />
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<style scoped>
|
|
18
|
+
.logo {
|
|
19
|
+
height: 6em;
|
|
20
|
+
padding: 1.5em;
|
|
21
|
+
will-change: filter;
|
|
22
|
+
transition: filter 300ms;
|
|
23
|
+
}
|
|
24
|
+
.logo:hover {
|
|
25
|
+
filter: drop-shadow(0 0 2em #646cffaa);
|
|
26
|
+
}
|
|
27
|
+
.logo.vue:hover {
|
|
28
|
+
filter: drop-shadow(0 0 2em #42b883aa);
|
|
29
|
+
}
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<svg id="main-icons-sprite" xmlns="http://www.w3.org/2000/svg" focusable="false" style="display:none;">
|
|
2
|
+
<symbol viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" id="chevron-up">
|
|
3
|
+
<path d="M1 11L9 3L17 11" stroke="var(--icon-color, currentColor)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</symbol>
|
|
5
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" id="clock">
|
|
6
|
+
<path d="M10.002 18.7581C8.27137 18.7581 6.57965 18.2449 5.14072 17.2834C3.70179 16.322 2.58028 14.9554 1.91801 13.3565C1.25574 11.7577 1.08247 9.99835 1.42009 8.30102C1.75771 6.60369 2.59106 5.04459 3.81477 3.82088C5.03848 2.59717 6.59758 1.76381 8.29492 1.42619C9.99225 1.08857 11.7516 1.26185 13.3504 1.92411C14.9493 2.58638 16.3159 3.70789 17.2773 5.14682C18.2388 6.58575 18.752 8.27747 18.752 10.0081C18.752 12.3287 17.8301 14.5543 16.1891 16.1952C14.5482 17.8362 12.3226 18.7581 10.002 18.7581ZM10.002 2.50806C8.5186 2.50806 7.06855 2.94793 5.83518 3.77204C4.60181 4.59615 3.64052 5.76749 3.07286 7.13794C2.5052 8.50838 2.35668 10.0164 2.64607 11.4712C2.93546 12.9261 3.64976 14.2625 4.69866 15.3114C5.74755 16.3603 7.08392 17.0746 8.53878 17.3639C9.99364 17.6533 11.5016 17.5048 12.8721 16.9372C14.2425 16.3695 15.4139 15.4082 16.238 14.1748C17.0621 12.9415 17.502 11.4914 17.502 10.0081C17.502 8.01894 16.7118 6.11128 15.3053 4.70476C13.8987 3.29824 11.9911 2.50806 10.002 2.50806Z" fill="var(--icon-color, currentColor)"></path>
|
|
7
|
+
<path d="M12.8707 13.7581L9.37695 10.2643V4.38306H10.627V9.74556L13.752 12.8768L12.8707 13.7581Z" fill="var(--icon-color, currentColor)"></path>
|
|
8
|
+
</symbol>
|
|
9
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 65 60" id="quote">
|
|
10
|
+
<path d="M24.125 33.875V60H0V39.375C0 28.2083 1.33333 20.125 4 15.125C7.5 8.45833 13.0417 3.41667 20.625 0L26.125 8.75C21.5417 10.6667 18.1667 13.5417 16 17.375C13.8333 21.125 12.625 26.625 12.375 33.875H24.125ZM62.875 33.875V60H38.75V39.375C38.75 28.2083 40.0833 20.125 42.75 15.125C46.25 8.45833 51.7917 3.41667 59.375 0L64.875 8.75C60.2917 10.6667 56.9167 13.5417 54.75 17.375C52.5833 21.125 51.375 26.625 51.125 33.875H62.875Z" fill="var(--icon-color, currentColor)"></path>
|
|
11
|
+
</symbol>
|
|
12
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 18" id="info">
|
|
13
|
+
<path d="M1 18C1.55228 18 2 17.5523 2 17L2 7C2 6.44772 1.55229 6 1 6C0.447716 6 1.09736e-06 6.44772 1.04907e-06 7L0 17C-4.82823e-08 17.5523 0.447715 18 1 18Z" fill="var(--icon-color, currentColor)"></path>
|
|
14
|
+
<path d="M1 3C1.55229 3 2 2.55228 2 2L2 1C2 0.447716 1.55229 4.82823e-08 1 0C0.447717 -4.82823e-08 1.62189e-06 0.447716 1.57361e-06 1L1.48619e-06 2C1.4379e-06 2.55228 0.447717 3 1 3Z" fill="var(--icon-color, currentColor)"></path>
|
|
15
|
+
</symbol>
|
|
16
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 20" id="error">
|
|
17
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 0C0.447715 0 0 0.447716 0 1V13C0 13.5523 0.447715 14 1 14C1.55228 14 2 13.5523 2 13V1C2 0.447715 1.55228 0 1 0ZM1 17C0.447715 17 0 17.4477 0 18V19C0 19.5523 0.447715 20 1 20C1.55228 20 2 19.5523 2 19V18C2 17.4477 1.55228 17 1 17Z" fill="var(--icon-color, currentColor)"></path>
|
|
18
|
+
</symbol>
|
|
19
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 14" id="download">
|
|
20
|
+
<path d="M11.25 14H0.75C0.3125 14 0 13.6875 0 13.25C0 12.8438 0.3125 12.5 0.75 12.5H11.25C11.6562 12.5 12 12.8438 12 13.25C12 13.6875 11.6562 14 11.25 14ZM5.4375 9.78125L1.4375 5.53125C1.15625 5.21875 1.1875 4.75 1.46875 4.46875C1.78125 4.1875 2.25 4.1875 2.53125 4.5L5.25 7.375V4.75V0.75C5.25 0.34375 5.5625 0 6 0C6.40625 0 6.75 0.34375 6.75 0.75V4.75V7.375L9.4375 4.5C9.71875 4.1875 10.1875 4.1875 10.5 4.46875C10.8125 4.75 10.8125 5.21875 10.5312 5.53125L6.53125 9.78125C6.375 9.9375 6.1875 10 6 10C5.78125 10 5.59375 9.9375 5.4375 9.78125Z" fill="var(--icon-color, currentColor)"></path>
|
|
21
|
+
</symbol>
|
|
22
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 2" id="minus">
|
|
23
|
+
<path d="M1 1H13" stroke="var(--icon-color, currentColor)" stroke-width="2" stroke-linecap="round"></path>
|
|
24
|
+
</symbol>
|
|
25
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 11" id="check">
|
|
26
|
+
<path d="M1 5L5 9L13 1" stroke="var(--icon-color, currentColor)" stroke-width="2" stroke-linecap="round"></path>
|
|
27
|
+
</symbol>
|
|
28
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 4" id="bullet-thin">
|
|
29
|
+
<rect width="16" height="4" rx="2" fill="var(--icon-color, currentColor)"></rect>
|
|
30
|
+
</symbol>
|
|
31
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" id="bullet">
|
|
32
|
+
<rect width="16" height="8" rx="4" fill="var(--icon-color, currentColor)"></rect>
|
|
33
|
+
</symbol>
|
|
34
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 24" id="youtube">
|
|
35
|
+
<path d="M34.3125 3.8125C35.0625 6.4375 35.0625 12.0625 35.0625 12.0625C35.0625 12.0625 35.0625 17.625 34.3125 20.3125C33.9375 21.8125 32.75 22.9375 31.3125 23.3125C28.625 24 18 24 18 24C18 24 7.3125 24 4.625 23.3125C3.1875 22.9375 2 21.8125 1.625 20.3125C0.875 17.625 0.875 12.0625 0.875 12.0625C0.875 12.0625 0.875 6.4375 1.625 3.8125C2 2.3125 3.1875 1.125 4.625 0.75C7.3125 0 18 0 18 0C18 0 28.625 0 31.3125 0.75C32.75 1.125 33.9375 2.3125 34.3125 3.8125ZM14.5 17.125L23.375 12.0625L14.5 7V17.125Z" fill="var(--icon-color, currentColor)"></path>
|
|
36
|
+
</symbol>
|
|
37
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 26" id="x">
|
|
38
|
+
<path d="M23.3125 0H27.6875L18.0625 11.0625L29.4375 26H20.5625L13.5625 16.9375L5.625 26H1.1875L11.5 14.25L0.625 0H9.75L16 8.3125L23.3125 0ZM21.75 23.375H24.1875L8.4375 2.5H5.8125L21.75 23.375Z" fill="var(--icon-color, currentColor)"></path>
|
|
39
|
+
</symbol>
|
|
40
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 29" id="linkedin">
|
|
41
|
+
<path d="M6.25 29H0.4375V10.3125H6.25V29ZM3.3125 7.8125C1.5 7.8125 0 6.25 0 4.375C0 1.8125 2.75 0.1875 5 1.5C6.0625 2.0625 6.6875 3.1875 6.6875 4.375C6.6875 6.25 5.1875 7.8125 3.3125 7.8125ZM27.9375 29H22.1875V19.9375C22.1875 17.75 22.125 15 19.125 15C16.125 15 15.6875 17.3125 15.6875 19.75V29H9.875V10.3125H15.4375V12.875H15.5C16.3125 11.4375 18.1875 9.875 21 9.875C26.875 9.875 28 13.75 28 18.75V29H27.9375Z" fill="var(--icon-color, currentColor)"></path>
|
|
42
|
+
</symbol>
|
|
43
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 29 29" id="instagram">
|
|
44
|
+
<path d="M15 6.8125C18.9375 6.8125 22.1875 10.0625 22.1875 14C22.1875 18 18.9375 21.1875 15 21.1875C11 21.1875 7.8125 18 7.8125 14C7.8125 10.0625 11 6.8125 15 6.8125ZM15 18.6875C17.5625 18.6875 19.625 16.625 19.625 14C19.625 11.4375 17.5625 9.375 15 9.375C12.375 9.375 10.3125 11.4375 10.3125 14C10.3125 16.625 12.4375 18.6875 15 18.6875ZM24.125 6.5625C24.125 5.625 23.375 4.875 22.4375 4.875C21.5 4.875 20.75 5.625 20.75 6.5625C20.75 7.5 21.5 8.25 22.4375 8.25C23.375 8.25 24.125 7.5 24.125 6.5625ZM28.875 8.25C29 10.5625 29 17.5 28.875 19.8125C28.75 22.0625 28.25 24 26.625 25.6875C25 27.3125 23 27.8125 20.75 27.9375C18.4375 28.0625 11.5 28.0625 9.1875 27.9375C6.9375 27.8125 5 27.3125 3.3125 25.6875C1.6875 24 1.1875 22.0625 1.0625 19.8125C0.9375 17.5 0.9375 10.5625 1.0625 8.25C1.1875 6 1.6875 4 3.3125 2.375C5 0.75 6.9375 0.25 9.1875 0.125C11.5 0 18.4375 0 20.75 0.125C23 0.25 25 0.75 26.625 2.375C28.25 4 28.75 6 28.875 8.25ZM25.875 22.25C26.625 20.4375 26.4375 16.0625 26.4375 14C26.4375 12 26.625 7.625 25.875 5.75C25.375 4.5625 24.4375 3.5625 23.25 3.125C21.375 2.375 17 2.5625 15 2.5625C12.9375 2.5625 8.5625 2.375 6.75 3.125C5.5 3.625 4.5625 4.5625 4.0625 5.75C3.3125 7.625 3.5 12 3.5 14C3.5 16.0625 3.3125 20.4375 4.0625 22.25C4.5625 23.5 5.5 24.4375 6.75 24.9375C8.5625 25.6875 12.9375 25.5 15 25.5C17 25.5 21.375 25.6875 23.25 24.9375C24.4375 24.4375 25.4375 23.5 25.875 22.25Z" fill="var(--icon-color, currentColor)"></path>
|
|
45
|
+
</symbol>
|
|
46
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 32" id="facebook">
|
|
47
|
+
<path d="M16.4375 18H11.75V32H5.5V18H0.375V12.25H5.5V7.8125C5.5 2.8125 8.5 0 13.0625 0C15.25 0 17.5625 0.4375 17.5625 0.4375V5.375H15C12.5 5.375 11.75 6.875 11.75 8.5V12.25H17.3125L16.4375 18Z" fill="var(--icon-color, currentColor)"></path>
|
|
48
|
+
</symbol>
|
|
49
|
+
<symbol viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg" id="play">
|
|
50
|
+
<path d="M15.5 8.16228C16.1667 8.54718 16.1667 9.50943 15.5 9.89433L6.5 15.0905C5.83333 15.4754 5 14.9943 5 14.2245L5 3.83215C5 3.06235 5.83333 2.58122 6.5 2.96612L15.5 8.16228Z" fill="var(--icon-color, currentColor)"/>
|
|
51
|
+
</symbol>
|
|
52
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 12" id="tag">
|
|
53
|
+
<path d="M0.5 5.90902V1.125C0.5 0.503672 1.00367 0 1.625 0H6.40902C6.70739 1.56018e-06 6.99353 0.118529 7.20451 0.329508L12.1705 5.29549C12.6098 5.73483 12.6098 6.44714 12.1705 6.88648L7.38648 11.6705C6.94714 12.1098 6.23483 12.1098 5.79549 11.6705L0.829508 6.70451C0.618529 6.49353 0.500002 6.20739 0.5 5.90902H0.5ZM3.125 1.5C2.50367 1.5 2 2.00367 2 2.625C2 3.24633 2.50367 3.75 3.125 3.75C3.74633 3.75 4.25 3.24633 4.25 2.625C4.25 2.00367 3.74633 1.5 3.125 1.5Z" fill="var(--icon-color, currentColor)"></path>
|
|
54
|
+
</symbol>
|
|
55
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 37" id="close">
|
|
56
|
+
<rect x="3" width="48" height="4" rx="2" transform="rotate(45 3 0)" fill="var(--icon-color, currentColor)"></rect>
|
|
57
|
+
<rect x="16" y="17" width="4" height="4" rx="2" fill="var(--icon-color, currentColor)"></rect>
|
|
58
|
+
<rect y="34" width="48" height="4" rx="2" transform="rotate(-45 0 34)" fill="var(--icon-color, currentColor)"></rect>
|
|
59
|
+
</symbol>
|
|
60
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" id="menu">
|
|
61
|
+
<rect y="8" width="48" height="4" rx="2" fill="var(--icon-color, currentColor)"></rect>
|
|
62
|
+
<rect y="22" width="48" height="4" rx="2" fill="var(--icon-color, currentColor)"></rect>
|
|
63
|
+
<rect y="36" width="48" height="4" rx="2" fill="var(--icon-color, currentColor)"></rect>
|
|
64
|
+
</symbol>
|
|
65
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 24" id="layers">
|
|
66
|
+
<path d="M8 4C8.25 4 8.53125 4.0625 8.75 4.1875L15.3125 6.96875C15.7188 7.15625 16 7.5625 16 8C16 8.46875 15.7188 8.875 15.3125 9.0625L8.75 11.8438C8.53125 11.9688 8.25 12 8 12C7.71875 12 7.46875 11.9688 7.21875 11.8438L0.65625 9.0625C0.25 8.875 0 8.46875 0 8C0 7.5625 0.25 7.15625 0.65625 6.96875L7.21875 4.1875C7.46875 4.0625 7.71875 4 8 4ZM7.8125 5.5625L2.0625 8L7.8125 10.4688C7.875 10.5 7.9375 10.5 8 10.5C8.0625 10.5 8.125 10.5 8.15625 10.4688L13.9062 8L8.15625 5.5625C8.125 5.53125 8.0625 5.5 8 5.5C7.9375 5.5 7.875 5.53125 7.8125 5.5625ZM0.65625 10.9688L1.65625 10.5625L3.5625 11.375L2.0625 12L7.8125 14.4688C7.875 14.5 7.9375 14.5 8 14.5C8.0625 14.5 8.125 14.5 8.15625 14.4688L13.9062 12L12.4375 11.375L14.3125 10.5625L15.3125 10.9688C15.7188 11.1562 16 11.5625 16 12C16 12.4688 15.7188 12.875 15.3125 13.0625L8.75 15.8438C8.53125 15.9688 8.25 16 8 16C7.71875 16 7.46875 15.9688 7.21875 15.8438L0.65625 13.0625C0.25 12.875 0 12.4688 0 12C0 11.5625 0.25 11.1562 0.65625 10.9688ZM0.65625 14.9688L1.65625 14.5625L3.5625 15.375L2.0625 16L7.8125 18.4688C7.875 18.5 7.9375 18.5 8 18.5C8.0625 18.5 8.125 18.5 8.15625 18.4688L13.9062 16L12.4375 15.375L14.3125 14.5625L15.3125 14.9688C15.7188 15.1562 16 15.5625 16 16C16 16.4688 15.7188 16.875 15.3125 17.0625L8.75 19.8438C8.53125 19.9688 8.25 20 8 20C7.71875 20 7.46875 19.9688 7.21875 19.8438L0.65625 17.0625C0.25 16.875 0 16.4688 0 16C0 15.5625 0.25 15.1562 0.65625 14.9688Z" fill="var(--icon-color, currentColor)"></path>
|
|
67
|
+
</symbol>
|
|
68
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 12" id="arrow-left">
|
|
69
|
+
<path d="M6.4159 0.219884C6.13047 -0.0732943 5.66769 -0.0732944 5.38226 0.219884L0.214074 5.52834C0.136565 5.60795 0.0801047 5.701 0.0446908 5.80018C0.00752214 5.90427 -0.00646207 6.01513 0.00273921 6.12431C0.00828171 6.19056 0.0222006 6.25435 0.0434024 6.31456C0.0698971 6.38996 0.108521 6.46189 0.159276 6.52713C0.176194 6.54888 0.19446 6.56989 0.214073 6.59003L0.216578 6.59259L5.26702 11.7801C5.55246 12.0733 6.01523 12.0733 6.30066 11.7801C6.58609 11.4869 6.58609 11.0116 6.30066 10.7184L2.49543 6.80991L17.2691 6.80991C17.6728 6.80991 18 6.4738 18 6.05918C18 5.64457 17.6728 5.30846 17.2691 5.30846L2.49542 5.30845L6.4159 1.28158C6.70133 0.988398 6.70133 0.513062 6.4159 0.219884Z" fill="var(--icon-color, currentColor)"></path>
|
|
70
|
+
</symbol>
|
|
71
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 12" id="arrow-right">
|
|
72
|
+
<path d="M11.5841 11.7801C11.8695 12.0733 12.3323 12.0733 12.6177 11.7801L17.7859 6.47166C17.8634 6.39205 17.9199 6.299 17.9553 6.19982C17.9925 6.09573 18.0065 5.98487 17.9973 5.87569C17.9917 5.80944 17.9778 5.74565 17.9566 5.68544C17.9301 5.61004 17.8915 5.53811 17.8407 5.47287C17.8238 5.45112 17.8055 5.43011 17.7859 5.40997L17.7834 5.40741L12.733 0.219883C12.4475 -0.0732947 11.9848 -0.0732942 11.6993 0.219883C11.4139 0.513061 11.4139 0.988397 11.6993 1.28157L15.5046 5.19009H0.730891C0.327232 5.19009 -8.34465e-07 5.5262 -8.34465e-07 5.94082C-8.34465e-07 6.35543 0.32723 6.69155 0.730889 6.69155L15.5046 6.69155L11.5841 10.7184C11.2987 11.0116 11.2987 11.4869 11.5841 11.7801Z" fill="var(--icon-color, currentColor)"></path>
|
|
73
|
+
</symbol>
|
|
74
|
+
<symbol viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" id="chevron-left">
|
|
75
|
+
<path d="M11 17L3 9L11 1" stroke="var(--icon-color, currentColor)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
76
|
+
</symbol>
|
|
77
|
+
<symbol viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" id="chevron-down">
|
|
78
|
+
<path d="M1 7L9 15L17 7" stroke="var(--icon-color, currentColor)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
79
|
+
</symbol>
|
|
80
|
+
<symbol viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg" id="chevron-right">
|
|
81
|
+
<path d="M7 17L15 9L7 1" stroke="var(--icon-color, currentColor)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
82
|
+
</symbol>
|
|
83
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" id="home">
|
|
84
|
+
<path d="M13 8L7 2L1 8" stroke="var(--icon-color, currentColor)" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
85
|
+
<path d="M3 8V13H11V8" stroke="var(--icon-color, currentColor)" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
86
|
+
</symbol>
|
|
87
|
+
<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 21 21" id="search">
|
|
88
|
+
<path d="M12.75 12.75L19.75 19.75" stroke="var(--icon-color, currentColor)" stroke-width="2" stroke-linecap="round"></path>
|
|
89
|
+
<circle cx="7.75" cy="7.75" r="6.5" stroke="var(--icon-color, currentColor)" stroke-width="2"></circle>
|
|
90
|
+
</symbol>
|
|
91
|
+
|
|
92
|
+
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" id="date">
|
|
93
|
+
<path fill="var(--icon-color, currentColor)" d="M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L64 64C28.7 64 0 92.7 0 128l0 16 0 48L0 448c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-256 0-48 0-16c0-35.3-28.7-64-64-64l-40 0 0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L152 64l0-40zM48 192l352 0 0 256c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-256z"></path>
|
|
94
|
+
</symbol>
|
|
95
|
+
|
|
96
|
+
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" id="location">
|
|
97
|
+
<path fill="var(--icon-color, currentColor)" d="M192 512s192-208 192-320C384 86 298 0 192 0S0 86 0 192C0 304 192 512 192 512zm0-384a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"></path>
|
|
98
|
+
</symbol>
|
|
99
|
+
|
|
100
|
+
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" id="bars"><path fill="var(--icon-color, currentColor)" d="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"/></symbol>
|
|
101
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { ref } from 'vue'
|
|
3
|
+
|
|
4
|
+
defineProps({
|
|
5
|
+
msg: String,
|
|
6
|
+
})
|
|
7
|
+
|
|
8
|
+
const count = ref(0)
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<h1>{{ msg }}</h1>
|
|
13
|
+
|
|
14
|
+
<div class="card">
|
|
15
|
+
<button type="button" @click="count++">count is {{ count }}</button>
|
|
16
|
+
<p>
|
|
17
|
+
Edit
|
|
18
|
+
<code>components/HelloWorld.vue</code> to test HMR
|
|
19
|
+
</p>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<p>
|
|
23
|
+
Check out
|
|
24
|
+
<a href="https://vuejs.org/guide/quick-start.html#local" target="_blank"
|
|
25
|
+
>create-vue</a
|
|
26
|
+
>, the official Vue + Vite starter
|
|
27
|
+
</p>
|
|
28
|
+
<p>
|
|
29
|
+
Learn more about IDE Support for Vue in the
|
|
30
|
+
<a
|
|
31
|
+
href="https://vuejs.org/guide/scaling-up/tooling.html#ide-support"
|
|
32
|
+
target="_blank"
|
|
33
|
+
>Vue Docs Scaling up Guide</a
|
|
34
|
+
>.
|
|
35
|
+
</p>
|
|
36
|
+
<p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<style scoped>
|
|
40
|
+
.read-the-docs {
|
|
41
|
+
color: #888;
|
|
42
|
+
}
|
|
43
|
+
</style>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
import { simple as simpleStateMapping } from 'instantsearch.js/es/lib/stateMappings'
|
|
23
23
|
import Typesense from 'typesense'
|
|
24
24
|
|
|
25
|
-
import PAccordion from '
|
|
25
|
+
import PAccordion from './PAccordion.vue'
|
|
26
26
|
|
|
27
27
|
const props = defineProps({
|
|
28
28
|
indexName: {
|
|
@@ -761,7 +761,7 @@
|
|
|
761
761
|
<h6 class="accordion__heading">{{ refinement.title }}</h6>
|
|
762
762
|
<div class="accordion__iconWrapper">
|
|
763
763
|
<svg class="accordion__icon icon icon--chevron-right" aria-hidden="true" role="presentation">
|
|
764
|
-
<use href="/main-icons-sprite.svg#chevron-right" />
|
|
764
|
+
<use href="../assets/main-icons-sprite.svg#chevron-right" />
|
|
765
765
|
</svg>
|
|
766
766
|
</div>
|
|
767
767
|
</summary>
|
package/src/main.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createApp } from 'vue'
|
|
2
|
+
// import './style.css'
|
|
3
|
+
// import App from './App.vue'
|
|
4
|
+
|
|
5
|
+
// createApp(App).mount('#app')
|
|
6
|
+
|
|
7
|
+
import Search from './components/Search.vue'
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
|
|
11
|
+
install: (app) => {
|
|
12
|
+
|
|
13
|
+
app.component('henry-search', Search)
|
|
14
|
+
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { Search }
|
package/src/style.css
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
3
|
+
line-height: 1.5;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
|
|
6
|
+
color-scheme: light dark;
|
|
7
|
+
color: rgba(255, 255, 255, 0.87);
|
|
8
|
+
background-color: #242424;
|
|
9
|
+
|
|
10
|
+
font-synthesis: none;
|
|
11
|
+
text-rendering: optimizeLegibility;
|
|
12
|
+
-webkit-font-smoothing: antialiased;
|
|
13
|
+
-moz-osx-font-smoothing: grayscale;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
a {
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
color: #646cff;
|
|
19
|
+
text-decoration: inherit;
|
|
20
|
+
}
|
|
21
|
+
a:hover {
|
|
22
|
+
color: #535bf2;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
body {
|
|
26
|
+
margin: 0;
|
|
27
|
+
display: flex;
|
|
28
|
+
place-items: center;
|
|
29
|
+
min-width: 320px;
|
|
30
|
+
min-height: 100vh;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h1 {
|
|
34
|
+
font-size: 3.2em;
|
|
35
|
+
line-height: 1.1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
button {
|
|
39
|
+
border-radius: 8px;
|
|
40
|
+
border: 1px solid transparent;
|
|
41
|
+
padding: 0.6em 1.2em;
|
|
42
|
+
font-size: 1em;
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
font-family: inherit;
|
|
45
|
+
background-color: #1a1a1a;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
transition: border-color 0.25s;
|
|
48
|
+
}
|
|
49
|
+
button:hover {
|
|
50
|
+
border-color: #646cff;
|
|
51
|
+
}
|
|
52
|
+
button:focus,
|
|
53
|
+
button:focus-visible {
|
|
54
|
+
outline: 4px auto -webkit-focus-ring-color;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.card {
|
|
58
|
+
padding: 2em;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
#app {
|
|
62
|
+
max-width: 1280px;
|
|
63
|
+
margin: 0 auto;
|
|
64
|
+
padding: 2rem;
|
|
65
|
+
text-align: center;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@media (prefers-color-scheme: light) {
|
|
69
|
+
:root {
|
|
70
|
+
color: #213547;
|
|
71
|
+
background-color: #ffffff;
|
|
72
|
+
}
|
|
73
|
+
a:hover {
|
|
74
|
+
color: #747bff;
|
|
75
|
+
}
|
|
76
|
+
button {
|
|
77
|
+
background-color: #f9f9f9;
|
|
78
|
+
}
|
|
79
|
+
}
|