hds-web 1.21.1 → 1.21.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/package.json
CHANGED
@@ -70,7 +70,7 @@ const IndexTypeFilter = ({ activeIndexTypes, setActiveIndexTypes }) => {
|
|
70
70
|
<div className="tb-m:min-w-[182px] static tb-m:sticky top-[116px] self-start">
|
71
71
|
<ul className="hds-hidden tb-m:block bg-neutral-0 shadow-md p-4 rounded-2xl">
|
72
72
|
{Object.values(INDEX_TYPES).map((index) => (
|
73
|
-
<li key={index} className="flex items-center mb-2 last:mb-0 tb-m:mr-0">
|
73
|
+
<li key={index} className="flex items-center mb-2 last:mb-0 tb-m:mr-0 py-0">
|
74
74
|
<button
|
75
75
|
onClick={() => handleOnClick(index)}
|
76
76
|
className={`capitalize cursor-pointer py-1 px-3 w-full text-left rounded-full text-neutral-500 ${(activeIndexTypes[index] && index === 'All') ? "bg-blue-500 " : ""
|
@@ -92,7 +92,7 @@ const IndexTypeFilter = ({ activeIndexTypes, setActiveIndexTypes }) => {
|
|
92
92
|
<div className="relative hds-hidden-tbm">
|
93
93
|
<button
|
94
94
|
onClick={() => setShowDropdown(!showDropdown)}
|
95
|
-
className="capitalize cursor-pointer py-1 px-3 w-full border border-neutral-
|
95
|
+
className="capitalize cursor-pointer py-1 px-3 w-full border border-neutral-800 text-left rounded-full text-neutral-800 bg-transparent"
|
96
96
|
>
|
97
97
|
{Object.values(INDEX_TYPES).find((index) => activeIndexTypes[index]) || "All"}
|
98
98
|
|