hds-web 1.20.6 → 1.20.7
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.css +1 -1
- package/dist/index.es.css +1 -1
- 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 +1 -1
- package/src/HDS/helpers/AlgoliaSearch/searchresults.js +2 -2
- package/src/index.css +2 -1
- package/src/styles/tailwind.css +6 -5
package/package.json
CHANGED
@@ -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 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 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"
|
@@ -35,7 +35,7 @@ const HitsHeader = ({ searchResults, indexTitle, showSeparator, allIndex }) => {
|
|
35
35
|
{/* <div className="HitCount">
|
36
36
|
{hitCount} result{hitCount !== 1 ? `s` : ``}
|
37
37
|
</div> */}
|
38
|
-
<Typography textStyle="sub1" className="pb-4 pl-2 flex items-center font-normal sticky tb-m:z-0 top-[170px] tb:top-[160px] tb-m:top-[120px] bg-neutral-0">
|
38
|
+
<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-0">
|
39
39
|
{
|
40
40
|
titleIcon()
|
41
41
|
}
|
@@ -122,7 +122,7 @@ const HitsInIndex = ({ index, show }) => (
|
|
122
122
|
);
|
123
123
|
|
124
124
|
const SearchResult = ({ children, indices, className, id, wrapperRef, activeIndexTypes }) => (
|
125
|
-
<div id={id} className={`${className} search-results
|
125
|
+
<div id={id} className={`${className} search-results clear-both`} ref={wrapperRef}>
|
126
126
|
{children && children}
|
127
127
|
{indices.map(index => (
|
128
128
|
<HitsInIndex index={index} key={index.name} show={activeIndexTypes[index.type]} />
|
package/src/index.css
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
width: 100%;
|
9
9
|
}
|
10
10
|
.shodow-none:focus {
|
11
|
-
box-shadow: none;
|
11
|
+
box-shadow: none !important;
|
12
12
|
}
|
13
13
|
.marketoFormWrapper .mktoFormRow {
|
14
14
|
width: 100%;
|
@@ -80,6 +80,7 @@
|
|
80
80
|
display: grid;
|
81
81
|
grid-template-columns: repeat(2, 1fr);
|
82
82
|
grid-gap: 40px;
|
83
|
+
padding-top: 26px;
|
83
84
|
}
|
84
85
|
|
85
86
|
.search-results .ais-Hits .ais-Hits-list .ais-Hits-item,
|
package/src/styles/tailwind.css
CHANGED
@@ -1068,10 +1068,6 @@ select{
|
|
1068
1068
|
z-index: 50;
|
1069
1069
|
}
|
1070
1070
|
|
1071
|
-
.z-\[-1\]{
|
1072
|
-
z-index: -1;
|
1073
|
-
}
|
1074
|
-
|
1075
1071
|
.z-\[10000\]{
|
1076
1072
|
z-index: 10000;
|
1077
1073
|
}
|
@@ -7603,7 +7599,7 @@ select{
|
|
7603
7599
|
}
|
7604
7600
|
|
7605
7601
|
.shodow-none:focus {
|
7606
|
-
box-shadow: none;
|
7602
|
+
box-shadow: none !important;
|
7607
7603
|
}
|
7608
7604
|
|
7609
7605
|
.marketoFormWrapper .mktoFormRow {
|
@@ -7673,6 +7669,7 @@ select{
|
|
7673
7669
|
display: grid;
|
7674
7670
|
grid-template-columns: repeat(2, 1fr);
|
7675
7671
|
grid-gap: 40px;
|
7672
|
+
padding-top: 26px;
|
7676
7673
|
}
|
7677
7674
|
|
7678
7675
|
.search-results .ais-Hits .ais-Hits-list .ais-Hits-item,
|
@@ -11333,6 +11330,10 @@ select{
|
|
11333
11330
|
padding-top: 4rem;
|
11334
11331
|
}
|
11335
11332
|
|
11333
|
+
.tb-m\:indent-11{
|
11334
|
+
text-indent: 2.75rem;
|
11335
|
+
}
|
11336
|
+
|
11336
11337
|
.tb-m\:text-4xl{
|
11337
11338
|
font-size: 2.25rem;
|
11338
11339
|
line-height: 2.5rem;
|