hds-web 1.21.0 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.21.0",
3
+ "version": "1.21.2",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -6,7 +6,7 @@ import { V3Dropdown } from '../Cards/Dropdown'
6
6
  import { HDSColor } from '../../foundation/ColorPalette';
7
7
  import { motion } from "framer-motion"
8
8
  import { AnimatePresence } from 'framer-motion';
9
- //import { AlgoliaSearch } from '../../helpers/AlgoliaSearch';
9
+ import { AlgoliaSearch } from '../../helpers/AlgoliaSearch';
10
10
 
11
11
  function classNames(...classes) {
12
12
  return classes.filter(Boolean).join(' ')
@@ -279,7 +279,7 @@ export default function V3Header(props) {
279
279
  </div>
280
280
  <div className='hds-hidden-tbl flex z-[10] items-center gap-6'>
281
281
  <div className={'h-full ' + ((mobileNavOpen) ? " hds-hidden" : "")}>
282
- {/* <AlgoliaSearch {...props} /> */}
282
+ <AlgoliaSearch {...props} />
283
283
  </div>
284
284
  {!(isCompany || isDeveloper || isProduct) &&
285
285
  (
@@ -309,7 +309,7 @@ export default function V3Header(props) {
309
309
 
310
310
  <div className='hds-hidden tb-l:flex flex-row items-center gap-x-4 '>
311
311
 
312
- {/* <AlgoliaSearch {...props} /> */}
312
+ <AlgoliaSearch {...props} />
313
313
 
314
314
  <a href='/contact-us?type=hasuraenterprise' className='hds-hidden db:flex'>
315
315
  <Typography textStyle='body3c-medium' className='text-neutral-800 hover:text-blue-600'>
@@ -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-300 text-left rounded-full text-neutral-500 bg-transparent"
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