@retailrocketgroup/smart-search-68b0588bb1543cb96cbe1d55 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/lib/favicon.png +0 -0
- package/lib/fonts/HelveticaNeue/HelveticaNeue-Bold.otf +0 -0
- package/lib/fonts/HelveticaNeue/HelveticaNeue-Light.otf +0 -0
- package/lib/fonts/HelveticaNeue/HelveticaNeue-Medium.otf +0 -0
- package/lib/fonts/HelveticaNeue/HelveticaNeue-Roman.otf +0 -0
- package/lib/fonts/HelveticaNeue/HelveticaNeue-Thin.otf +0 -0
- package/lib/fonts/HelveticaNeue/stylesheet.css +54 -0
- package/lib/fonts/Roboto/Roboto-Bold.woff2 +0 -0
- package/lib/fonts/Roboto/Roboto-ExtraBold.woff2 +0 -0
- package/lib/fonts/Roboto/Roboto-ExtraLight.woff2 +0 -0
- package/lib/fonts/Roboto/Roboto-Light.woff2 +0 -0
- package/lib/fonts/Roboto/Roboto-Medium.woff2 +0 -0
- package/lib/fonts/Roboto/Roboto-Regular.woff2 +0 -0
- package/lib/fonts/Roboto/Roboto-SemiBold.woff2 +0 -0
- package/lib/fonts/Roboto/Roboto-Thin.woff2 +0 -0
- package/lib/fonts/Roboto/stylesheet.css +87 -0
- package/lib/index.umd.js +100 -0
- package/lib/logo-black.svg +11 -0
- package/package.json +82 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg width="114" height="32" viewBox="0 0 114 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_8889_25984)">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.87685 15.9988C8.84639 15.9988 11.2537 13.5915 11.2537 10.622C11.2537 13.5915 13.661 15.9988 16.6305 15.9988C13.661 15.9988 11.2537 18.4061 11.2537 21.3757C11.2537 18.4061 8.84639 15.9988 5.87685 15.9988ZM5.87685 15.9988C2.9073 15.9988 0.5 18.4061 0.5 21.3757C0.5 24.3452 2.9073 26.7525 5.87685 26.7525C8.84639 26.7525 11.2537 24.3452 11.2537 21.3757C11.2537 24.3452 13.661 26.7525 16.6305 26.7525C19.6001 26.7525 22.0074 24.3452 22.0074 21.3757C22.0074 18.4061 19.6001 15.9988 16.6305 15.9988C19.6001 15.9988 22.0074 13.5915 22.0074 10.622C22.0074 7.65242 19.6001 5.24512 16.6305 5.24512C13.661 5.24512 11.2537 7.65242 11.2537 10.622C11.2537 7.65242 8.84639 5.24512 5.87685 5.24512C2.9073 5.24512 0.5 7.65242 0.5 10.622C0.5 13.5915 2.9073 15.9988 5.87685 15.9988Z" fill="#FFC500"/>
|
|
4
|
+
<path d="M40.653 24.4751C39.411 24.4751 38.2073 24.2988 37.042 23.9461C35.892 23.5935 34.9797 23.1258 34.305 22.5431L35.34 20.2201C35.9993 20.7415 36.8043 21.1708 37.755 21.5081C38.721 21.8301 39.687 21.9911 40.653 21.9911C41.849 21.9911 42.7383 21.7995 43.321 21.4161C43.919 21.0328 44.218 20.5268 44.218 19.8981C44.218 19.4381 44.0493 19.0625 43.712 18.7711C43.39 18.4645 42.976 18.2268 42.47 18.0581C41.964 17.8895 41.274 17.6978 40.4 17.4831C39.1733 17.1918 38.1767 16.9005 37.41 16.6091C36.6587 16.3178 36.007 15.8655 35.455 15.2521C34.9183 14.6235 34.65 13.7801 34.65 12.7221C34.65 11.8328 34.8877 11.0278 35.363 10.3071C35.8537 9.57112 36.582 8.98845 37.548 8.55912C38.5293 8.12978 39.7253 7.91512 41.136 7.91512C42.1173 7.91512 43.0833 8.03778 44.034 8.28312C44.9847 8.52845 45.805 8.88112 46.495 9.34112L45.552 11.6641C44.8467 11.2501 44.1107 10.9358 43.344 10.7211C42.5773 10.5064 41.8337 10.3991 41.113 10.3991C39.9323 10.3991 39.0507 10.5984 38.468 10.9971C37.9007 11.3958 37.617 11.9248 37.617 12.5841C37.617 13.0441 37.778 13.4198 38.1 13.7111C38.4373 14.0025 38.859 14.2325 39.365 14.4011C39.871 14.5698 40.561 14.7614 41.435 14.9761C42.631 15.2521 43.6123 15.5435 44.379 15.8501C45.1457 16.1415 45.7973 16.5938 46.334 17.2071C46.886 17.8205 47.162 18.6485 47.162 19.6911C47.162 20.5805 46.9167 21.3855 46.426 22.1061C45.9507 22.8268 45.2223 23.4018 44.241 23.8311C43.2597 24.2605 42.0637 24.4751 40.653 24.4751ZM61.3968 18.1731C61.3968 18.3725 61.3815 18.6561 61.3508 19.0241H51.7138C51.8825 19.9288 52.3195 20.6495 53.0248 21.1861C53.7455 21.7075 54.6348 21.9681 55.6928 21.9681C57.0422 21.9681 58.1538 21.5235 59.0278 20.6341L60.5688 22.4051C60.0168 23.0645 59.3192 23.5628 58.4758 23.9001C57.6325 24.2375 56.6818 24.4061 55.6238 24.4061C54.2745 24.4061 53.0862 24.1378 52.0588 23.6011C51.0315 23.0645 50.2342 22.3208 49.6668 21.3701C49.1148 20.4041 48.8388 19.3155 48.8388 18.1041C48.8388 16.9081 49.1072 15.8348 49.6438 14.8841C50.1958 13.9181 50.9548 13.1668 51.9208 12.6301C52.8868 12.0935 53.9755 11.8251 55.1868 11.8251C56.3828 11.8251 57.4485 12.0935 58.3838 12.6301C59.3345 13.1515 60.0705 13.8951 60.5918 14.8611C61.1285 15.8118 61.3968 16.9158 61.3968 18.1731ZM55.1868 14.1251C54.2668 14.1251 53.4848 14.4011 52.8408 14.9531C52.2122 15.4898 51.8288 16.2105 51.6908 17.1151H58.6598C58.5372 16.2258 58.1615 15.5051 57.5328 14.9531C56.9042 14.4011 56.1222 14.1251 55.1868 14.1251ZM68.5135 11.8251C70.3229 11.8251 71.7029 12.2621 72.6535 13.1361C73.6195 13.9948 74.1025 15.2981 74.1025 17.0461V24.2451H71.3885V22.7501C71.0359 23.2868 70.5299 23.7008 69.8705 23.9921C69.2265 24.2681 68.4445 24.4061 67.5245 24.4061C66.6045 24.4061 65.7995 24.2528 65.1095 23.9461C64.4195 23.6241 63.8829 23.1871 63.4995 22.6351C63.1315 22.0678 62.9475 21.4315 62.9475 20.7261C62.9475 19.6221 63.3539 18.7405 64.1665 18.0811C64.9945 17.4065 66.2902 17.0691 68.0535 17.0691H71.2275V16.8851C71.2275 16.0265 70.9669 15.3671 70.4455 14.9071C69.9395 14.4471 69.1805 14.2171 68.1685 14.2171C67.4785 14.2171 66.7962 14.3245 66.1215 14.5391C65.4622 14.7538 64.9025 15.0528 64.4425 15.4361L63.3155 13.3431C63.9595 12.8524 64.7339 12.4768 65.6385 12.2161C66.5432 11.9555 67.5015 11.8251 68.5135 11.8251ZM68.1225 22.3131C68.8432 22.3131 69.4795 22.1521 70.0315 21.8301C70.5989 21.4928 70.9975 21.0175 71.2275 20.4041V18.9781H68.2605C66.6045 18.9781 65.7765 19.5225 65.7765 20.6111C65.7765 21.1325 65.9835 21.5465 66.3975 21.8531C66.8115 22.1598 67.3865 22.3131 68.1225 22.3131ZM80.5293 13.7571C81.3573 12.4691 82.8139 11.8251 84.8993 11.8251V14.5621C84.6539 14.5161 84.4316 14.4931 84.2323 14.4931C83.1129 14.4931 82.2389 14.8228 81.6103 15.4821C80.9816 16.1261 80.6673 17.0615 80.6673 18.2881V24.2451H77.7923V11.9631H80.5293V13.7571ZM92.8608 24.4061C91.5882 24.4061 90.4458 24.1378 89.4338 23.6011C88.4218 23.0645 87.6322 22.3208 87.0648 21.3701C86.4975 20.4041 86.2138 19.3155 86.2138 18.1041C86.2138 16.8928 86.4975 15.8118 87.0648 14.8611C87.6322 13.9104 88.4142 13.1668 89.4108 12.6301C90.4228 12.0935 91.5728 11.8251 92.8608 11.8251C94.0722 11.8251 95.1302 12.0705 96.0348 12.5611C96.9548 13.0518 97.6448 13.7571 98.1048 14.6771L95.8968 15.9651C95.5442 15.3978 95.0995 14.9761 94.5628 14.7001C94.0415 14.4088 93.4665 14.2631 92.8378 14.2631C91.7645 14.2631 90.8752 14.6158 90.1698 15.3211C89.4645 16.0111 89.1118 16.9388 89.1118 18.1041C89.1118 19.2695 89.4568 20.2048 90.1468 20.9101C90.8522 21.6001 91.7492 21.9451 92.8378 21.9451C93.4665 21.9451 94.0415 21.8071 94.5628 21.5311C95.0995 21.2398 95.5442 20.8105 95.8968 20.2431L98.1048 21.5311C97.6295 22.4511 96.9318 23.1641 96.0118 23.6701C95.1072 24.1608 94.0568 24.4061 92.8608 24.4061ZM107.447 11.8251C108.995 11.8251 110.237 12.2774 111.173 13.1821C112.108 14.0868 112.576 15.4285 112.576 17.2071V24.2451H109.701V17.5751C109.701 16.5018 109.448 15.6968 108.942 15.1601C108.436 14.6081 107.715 14.3321 106.78 14.3321C105.722 14.3321 104.886 14.6541 104.273 15.2981C103.659 15.9268 103.353 16.8391 103.353 18.0351V24.2451H100.478V7.17912H103.353V13.3891C103.828 12.8831 104.411 12.4998 105.101 12.2391C105.806 11.9631 106.588 11.8251 107.447 11.8251Z" fill="#1F2E44"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<clipPath id="clip0_8889_25984">
|
|
8
|
+
<rect width="114" height="32" fill="white"/>
|
|
9
|
+
</clipPath>
|
|
10
|
+
</defs>
|
|
11
|
+
</svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@retailrocketgroup/smart-search-68b0588bb1543cb96cbe1d55",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./lib/index.umd.js",
|
|
7
|
+
"module": "./lib/index.es.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"lib"
|
|
10
|
+
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./lib/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"swiper": "^11.2.10",
|
|
18
|
+
"vue": "^3.5.17",
|
|
19
|
+
"vue-i18n": "^11.1.7"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@antfu/eslint-config": "^4.16.1",
|
|
23
|
+
"@commitlint/cli": "^19.8.1",
|
|
24
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
25
|
+
"@commitlint/format": "^19.8.1",
|
|
26
|
+
"@release-it/conventional-changelog": "^10.0.1",
|
|
27
|
+
"@retailrocket/retailrocket.analytics.rocketsearch.apiclients.v6": "^1.0.239",
|
|
28
|
+
"@retailrocket/retailrocket.analytics.rocketsearch.recommendations.apiclients.v1": "^1.0.239",
|
|
29
|
+
"@storybook/addon-vitest": "9.0.14",
|
|
30
|
+
"@storybook/vue3-vite": "9.0.14",
|
|
31
|
+
"@thames/monads": "^0.7.0",
|
|
32
|
+
"@tsconfig/node20": "^20.1.6",
|
|
33
|
+
"@types/lodash-es": "^4.17.12",
|
|
34
|
+
"@types/node": "^24.0.7",
|
|
35
|
+
"@vitejs/plugin-vue": "^6.0.0",
|
|
36
|
+
"@vitest/browser": "3.2.4",
|
|
37
|
+
"@vitest/coverage-v8": "3.2.4",
|
|
38
|
+
"@vue/test-utils": "^2.4.6",
|
|
39
|
+
"@vue/tsconfig": "^0.7.0",
|
|
40
|
+
"autoprefixer": "^10.4.21",
|
|
41
|
+
"eslint": "^9.30.0",
|
|
42
|
+
"eslint-config-flat-gitignore": "^2.1.0",
|
|
43
|
+
"eslint-config-prettier": "^10.1.5",
|
|
44
|
+
"eslint-plugin-perfectionist": "^4.15.0",
|
|
45
|
+
"eslint-plugin-prettier": "^5.5.1",
|
|
46
|
+
"happy-dom": "^18.0.1",
|
|
47
|
+
"husky": "^9.1.7",
|
|
48
|
+
"lint-staged": "^16.1.2",
|
|
49
|
+
"lodash-es": "^4.17.21",
|
|
50
|
+
"modern-normalize": "^3.0.1",
|
|
51
|
+
"netlify-cli": "^22.2.1",
|
|
52
|
+
"playwright": "1.53.1",
|
|
53
|
+
"postcss-html": "^1.8.0",
|
|
54
|
+
"prettier": "^3.6.2",
|
|
55
|
+
"release-it": "^19.0.3",
|
|
56
|
+
"storybook": "9.0.14",
|
|
57
|
+
"stylelint": "^16.21.0",
|
|
58
|
+
"stylelint-config-standard": "^38.0.0",
|
|
59
|
+
"stylelint-order": "^7.0.0",
|
|
60
|
+
"typescript": "~5.8.3",
|
|
61
|
+
"vite": "^7.0.0",
|
|
62
|
+
"vitest": "^3.2.4",
|
|
63
|
+
"vue-tsc": "^2.2.10"
|
|
64
|
+
},
|
|
65
|
+
"scripts": {
|
|
66
|
+
"dev": "vite --host",
|
|
67
|
+
"build:demo": "pnpm lint:types && vite build",
|
|
68
|
+
"build:lib": "pnpm lint:types && vite build --config vite.config.lib.ts",
|
|
69
|
+
"storybook:dev": "storybook dev -p 6006 --ci",
|
|
70
|
+
"storybook:build": "storybook build -o ./dist-storybook --quiet --test",
|
|
71
|
+
"test:vitest": "vitest",
|
|
72
|
+
"test:storybook": "vitest --config .storybook/vitest.config.ts",
|
|
73
|
+
"lint:code": "eslint ./**/*.{vue,ts,js} --fix",
|
|
74
|
+
"lint:style": "stylelint ./**/*.{vue,css} --fix --ignore-path .gitignore",
|
|
75
|
+
"lint:types": "vue-tsc --build",
|
|
76
|
+
"lint:commit": "commitlint --edit",
|
|
77
|
+
"preview": "vite preview",
|
|
78
|
+
"lint-staged": "lint-staged",
|
|
79
|
+
"release": "release-it --ci",
|
|
80
|
+
"pre-commit": "pnpm lint:code && pnpm lint:style && pnpm lint:types && pnpm test:vitest && pnpm test:storybook"
|
|
81
|
+
}
|
|
82
|
+
}
|