hds-web 1.40.5 → 1.40.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.40.5",
3
+ "version": "1.40.7",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -26,7 +26,7 @@ export default function FlyoutA(props) {
26
26
  key={item.name}
27
27
  className="relative pb-2 flex rounded-lg items-center"
28
28
  >
29
- <a href={item.href} className="w-full">
29
+ <a href={item.href} className="w-full" aria-label={item.name}>
30
30
  <div className="flex group/icon pl-2 py-2 pr-3 hover:pl-[9px] hover:bg-neutral-100 rounded-lg flex-row w-full justify-between tb:min-w-[140px] items-center">
31
31
  <div className="flex gap-2 flex-row items-center">
32
32
  <div className="flex rounded-lg items-center group-hover:bg-white">
@@ -219,7 +219,7 @@ V3Footer.defaultProps = {
219
219
  },
220
220
  {
221
221
  linkText: "Connectors",
222
- linkUrl: "https://hasura.io/graphql/database",
222
+ linkUrl: "https://hasura.io/connectors",
223
223
  },
224
224
  {
225
225
  linkText: "Pricing",
@@ -251,10 +251,10 @@ V3Footer.defaultProps = {
251
251
  {
252
252
  title: "Learn",
253
253
  links: [
254
- {
255
- linkText: `Enterprise`,
256
- linkUrl: "https://hasura.io/enterprise",
257
- },
254
+ // {
255
+ // linkText: `Enterprise`,
256
+ // linkUrl: "https://hasura.io/enterprise",
257
+ // },
258
258
  {
259
259
  linkText: "Blog",
260
260
  linkUrl: "https://hasura.io/blog",
@@ -174,7 +174,7 @@ export default function V3Header(props) {
174
174
  <>
175
175
  {renderDropdownContainer(headerList, 0)}
176
176
  {renderDropdownContainer(headerList, 1)}
177
- {
177
+ {/* {
178
178
  <a href="/enterprise">
179
179
  <Typography
180
180
  className={
@@ -187,7 +187,7 @@ export default function V3Header(props) {
187
187
  {`Enterprise`}
188
188
  </Typography>
189
189
  </a>
190
- }
190
+ } */}
191
191
  {renderDropdownContainer(headerList, 2)}
192
192
  {
193
193
  <a href="/customers">
@@ -364,9 +364,9 @@ export default function V3Header(props) {
364
364
  if (title === "Pricing") {
365
365
  window.location.href = "/pricing";
366
366
  }
367
- if (title === "Enterprise") {
368
- window.location.href = "/enterprise";
369
- }
367
+ // if (title === "Enterprise") {
368
+ // window.location.href = "/enterprise";
369
+ // }
370
370
  if (title === "Product") {
371
371
  setIsProduct(true);
372
372
  }
@@ -456,11 +456,7 @@ export default function V3Header(props) {
456
456
  {!props.hideSearch && (
457
457
  <AlgoliaSearch isDarkMode={isDarkMode} {...props} />
458
458
  )}
459
- <a
460
- href="/contact-us"
461
- className="hds-hidden db:flex"
462
- data-testid={`${props?.website_key}-contact-us`}
463
- >
459
+ <a href="/contact-us" className="hds-hidden db:flex">
464
460
  <Typography
465
461
  textStyle="body3c-medium"
466
462
  className={
@@ -485,7 +481,6 @@ export default function V3Header(props) {
485
481
  rightAnimatedArrowColor="#3970FD"
486
482
  animatedHoverStroke="group-hover:stroke-neutral-0"
487
483
  className="hds-hidden tb-l:flex"
488
- data-testid={`${props?.website_key}-log-in`}
489
484
  />
490
485
  </a>
491
486
  )}
@@ -501,7 +496,6 @@ export default function V3Header(props) {
501
496
  rightAnimatedArrowColor="#ffffff"
502
497
  animatedHoverStroke="group-hover:stroke-neutral-0"
503
498
  className="hds-hidden tb:flex"
504
- data-testid={`${props?.website_key}-get-started`}
505
499
  />
506
500
  </a>
507
501
  </div>
@@ -618,13 +612,13 @@ export default function V3Header(props) {
618
612
  />
619
613
  </div>
620
614
  ))}
621
- <a href="https://hasura.io/enterprise">
615
+ {/* <a href="https://hasura.io/enterprise">
622
616
  <div
623
617
  key={`Contact`}
624
618
  className="flex justify-between items-center p-4 cursor-pointer group"
625
619
  >
626
620
  <div className="flex items-center justify-center gap-2">
627
- {/* <Icon height="h-5 w-5" variant="home03" strokeColor="#3970FD" /> */}
621
+ <Icon height="h-5 w-5" variant="home03" strokeColor="#3970FD" />
628
622
  <Typography
629
623
  textStyle="body3c-medium"
630
624
  className="text-neutral-700 hover:text-neutral-1000 transition-all duration-300 ease-in-out"
@@ -638,7 +632,7 @@ export default function V3Header(props) {
638
632
  strokeClass="stroke-neutral-500"
639
633
  />
640
634
  </div>
641
- </a>
635
+ </a> */}
642
636
  <a href="https://hasura.io/customers">
643
637
  <div
644
638
  key={`Contact`}
@@ -660,10 +654,7 @@ export default function V3Header(props) {
660
654
  />
661
655
  </div>
662
656
  </a>
663
- <a
664
- href="https://hasura.io/contact-us"
665
- data-testid={`${props?.website_key}-contact-us`}
666
- >
657
+ <a href="https://hasura.io/contact-us">
667
658
  <div
668
659
  key={`Contact`}
669
660
  className="flex justify-between items-center p-4 cursor-pointer group"