hds-web 1.23.5 → 1.23.6
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/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/HDS/helpers/AlgoliaSearch/searchbox.js +2 -2
- package/src/HDS/helpers/AlgoliaSearch/searchoverlay.js +2 -2
- package/src/HDS/helpers/AlgoliaSearch/searchresults.js +1 -1
- package/src/HDS/helpers/AlgoliaSearch/searchwrapper.js +1 -1
package/package.json
CHANGED
@@ -44,7 +44,7 @@ const DebouncedSearchBox = ({
|
|
44
44
|
setValue(value);
|
45
45
|
};
|
46
46
|
return (
|
47
|
-
<div className=" sticky -top-20 tb-m:-top-20 z-10 py-8 pt-16 tb-m:pt-16 tb-m:py-9 bg-neutral-
|
47
|
+
<div className=" sticky -top-20 tb-m:-top-20 z-10 py-8 pt-16 tb-m:pt-16 tb-m:py-9 bg-neutral-100">
|
48
48
|
<div className="flex relative items-center w-full">
|
49
49
|
<div className="absolute left-2">
|
50
50
|
{isSearchStalled ? (
|
@@ -57,7 +57,7 @@ const DebouncedSearchBox = ({
|
|
57
57
|
<input
|
58
58
|
id="search-input"
|
59
59
|
ref={searchInputRef}
|
60
|
-
className="shodow-none w-full font-bold indent-8 tb-m:indent-11 text-2xl tb-m:text-4xl text-neutral-800 placeholder:text-neutral-800 rounded-xl border-0 h-12 focus:border-0 focus:shadow-[none] focus:border-neutral-0 tb:text-2xl"
|
60
|
+
className="shodow-none bg-neutral-100 w-full font-bold indent-8 tb-m:indent-11 text-2xl tb-m:text-4xl text-neutral-800 placeholder:text-neutral-800 rounded-xl border-0 h-12 focus:border-0 focus:shadow-[none] focus:border-neutral-0 tb:text-2xl"
|
61
61
|
type="text"
|
62
62
|
placeholder="Search for tutorials, articles or docs"
|
63
63
|
aria-label="Search"
|
@@ -19,11 +19,11 @@ export default function SearchOverlay({showSearch, onCloseSearch, ...props}) {
|
|
19
19
|
if (!showSearch) return null;
|
20
20
|
|
21
21
|
return (
|
22
|
-
<div className="fixed left-0 top-0 w-full h-full z-[10000] bg-neutral-
|
22
|
+
<div className="fixed left-0 top-0 w-full h-full z-[10000] bg-neutral-100">
|
23
23
|
<div className="absolute top-4 right-4 cursor-pointer z-[11]" onClick={onCloseSearch}>
|
24
24
|
<Icon height={'w-8 h-8 stroke-[1.5px]'} variant="xclose" strokeClass="stroke-neutral-800" />
|
25
25
|
</div>
|
26
|
-
<div className="py-20 overflow-y-auto h-full w-full">
|
26
|
+
<div className="py-20 overflow-y-auto h-full w-full bg-neutral-100">
|
27
27
|
<div className="px-4">
|
28
28
|
<div className="max-w-7xl mx-auto">
|
29
29
|
<div className="w-full">
|
@@ -34,7 +34,7 @@ const HitsHeader = ({ searchResults, indexTitle, showSeparator, allIndex }) => {
|
|
34
34
|
{/* <div className="HitCount">
|
35
35
|
{hitCount} result{hitCount !== 1 ? `s` : ``}
|
36
36
|
</div> */}
|
37
|
-
<Typography textStyle="sub1" className="pb-4 pl-2 flex items-center text-neutral-800 font-normal sticky tb-m:z-0 top-[170px] tb:top-[160px] tb-m:top-[120px] bg-neutral-
|
37
|
+
<Typography textStyle="sub1" className="pb-4 pl-2 flex items-center text-neutral-800 font-normal sticky tb-m:z-0 top-[170px] tb:top-[160px] tb-m:top-[120px] bg-neutral-100">
|
38
38
|
{
|
39
39
|
titleIcon()
|
40
40
|
}
|
@@ -178,7 +178,7 @@ export default function SearchWrapper({ indices, ...props }) {
|
|
178
178
|
wrapperRef={wrapperRef}
|
179
179
|
activeIndexTypes={activeIndexTypes}
|
180
180
|
className="search-results">
|
181
|
-
<div className="hds-hidden-tbm sticky top-[124px] tb:top-[114px] z-10 bg-neutral-
|
181
|
+
<div className="hds-hidden-tbm sticky top-[124px] tb:top-[114px] z-10 bg-neutral-100 pb-3">
|
182
182
|
<IndexTypeFilter
|
183
183
|
activeIndexTypes={activeIndexTypes}
|
184
184
|
setActiveIndexTypes={setActiveIndexTypes}
|