hds-web 1.42.1 → 1.42.4

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.42.1",
3
+ "version": "1.42.4",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -10,7 +10,13 @@ export default function DropdownA(props) {
10
10
  <div className="tb-l:flex mb-2 tb-l:mb-0 flex w-full tb-l:bg-neutral-150 flex-col tb-l:flex-row max-w-7xl tb-l:gap-2 rounded-2xl ">
11
11
  {props.primaryCard && (
12
12
  <div className="">
13
- <div className={`bg-neutral-0 rounded-2xl h-full w-full ${props.primaryCard.cardDetailsArray ? 'tb-l:min-w-[505px]' : ' min-w-[250px]'}`}>
13
+ <div
14
+ className={`bg-neutral-0 rounded-2xl h-full w-full ${
15
+ props.primaryCard.cardDetailsArray
16
+ ? "tb-l:min-w-[250px]"
17
+ : " min-w-[250px]"
18
+ }`}
19
+ >
14
20
  <FlyoutB {...props.primaryCard} />
15
21
  </div>
16
22
  </div>
@@ -221,10 +221,10 @@ V3Footer.defaultProps = {
221
221
  linkText: "Connectors",
222
222
  linkUrl: "https://hasura.io/connectors",
223
223
  },
224
- {
225
- linkText: "Pricing",
226
- linkUrl: "https://hasura.io/pricing",
227
- },
224
+ // {
225
+ // linkText: "Pricing",
226
+ // linkUrl: "https://hasura.io/pricing",
227
+ // },
228
228
  {
229
229
  linkText: "Security",
230
230
  linkUrl: "https://hasura.io/security/",
@@ -1,4 +1,4 @@
1
- import React, { useState, useEffect } from "react";
1
+ import { useState, useEffect } from "react";
2
2
  import { motion, AnimatePresence } from "framer-motion";
3
3
 
4
4
  import { Icon } from "../common-components/Icon";
@@ -6,7 +6,7 @@ import { Typography } from "../../foundation/Typography";
6
6
  import { HDSButton } from "../Buttons";
7
7
  import { V3Dropdown } from "../Cards/Dropdown";
8
8
  import { HDSColor } from "../../foundation/ColorPalette";
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(" ");
@@ -37,24 +37,24 @@ const HasuraLogo = () => (
37
37
  </svg>
38
38
  );
39
39
 
40
- const PromptQLLogo = () => (
41
- <svg
42
- width="20"
43
- height="21"
44
- viewBox="0 0 20 21"
45
- fill="none"
46
- xmlns="http://www.w3.org/2000/svg"
47
- >
48
- <path
49
- d="M7.21406 3.77103H4.87892C2.64361 3.77103 0 4.97315 0 8.46755C0 10.7694 1.68562 13.1283 5.25767 13.1283H6.81628L9.72026 16.3549H11.9789V8.61099C11.9789 5.22198 9.61022 3.77103 7.21961 3.77103H7.21406ZM9.72026 8.61099V13.2203L7.87072 10.9691H5.20277C3.84939 10.9691 2.26859 10.3146 2.26859 8.46755C2.26859 6.23779 4.15445 5.99928 4.96981 5.99928H7.07199C8.36437 5.99928 9.72026 6.70294 9.72026 8.61099Z"
50
- fill="#000615"
51
- />
52
- <path
53
- d="M16.7398 14.0011C16.3127 14.0011 15.9688 13.6517 15.9688 13.2135V3.97275H13.6392V13.4021C13.6392 15.0217 14.9371 16.3418 16.5345 16.3418H19.9994V14.0011H16.7398Z"
54
- fill="#000615"
55
- />
56
- </svg>
57
- );
40
+ // const PromptQLLogo = () => (
41
+ // <svg
42
+ // width="20"
43
+ // height="21"
44
+ // viewBox="0 0 20 21"
45
+ // fill="none"
46
+ // xmlns="http://www.w3.org/2000/svg"
47
+ // >
48
+ // <path
49
+ // d="M7.21406 3.77103H4.87892C2.64361 3.77103 0 4.97315 0 8.46755C0 10.7694 1.68562 13.1283 5.25767 13.1283H6.81628L9.72026 16.3549H11.9789V8.61099C11.9789 5.22198 9.61022 3.77103 7.21961 3.77103H7.21406ZM9.72026 8.61099V13.2203L7.87072 10.9691H5.20277C3.84939 10.9691 2.26859 10.3146 2.26859 8.46755C2.26859 6.23779 4.15445 5.99928 4.96981 5.99928H7.07199C8.36437 5.99928 9.72026 6.70294 9.72026 8.61099Z"
50
+ // fill="#000615"
51
+ // />
52
+ // <path
53
+ // d="M16.7398 14.0011C16.3127 14.0011 15.9688 13.6517 15.9688 13.2135V3.97275H13.6392V13.4021C13.6392 15.0217 14.9371 16.3418 16.5345 16.3418H19.9994V14.0011H16.7398Z"
54
+ // fill="#000615"
55
+ // />
56
+ // </svg>
57
+ // );
58
58
 
59
59
  export default function V3Header(props) {
60
60
  // const listSize = props.HEADER_LIST.length;
@@ -239,7 +239,7 @@ export default function V3Header(props) {
239
239
  </Typography>
240
240
  </a>
241
241
  }
242
- {
242
+ {/* {
243
243
  <a href="/pricing">
244
244
  <Typography
245
245
  className={
@@ -252,11 +252,11 @@ export default function V3Header(props) {
252
252
  {`Pricing `}
253
253
  </Typography>
254
254
  </a>
255
- }
255
+ } */}
256
256
  {/* SEO */}
257
257
  <div className="hidden">
258
258
  <a href="https://hasura.io/products">What is Hasura?</a>
259
- <a href="https://hasura.io/pricing">Compare Plans</a>
259
+ {/* <a href="https://hasura.io/pricing">Compare Plans</a> */}
260
260
  <a href="https://console.hasura.io/">Get started</a>
261
261
  {/* Connectors */}
262
262
  <p>Connectors</p>
@@ -397,9 +397,9 @@ export default function V3Header(props) {
397
397
  if (title === "Customers") {
398
398
  window.location.href = "/customers";
399
399
  }
400
- if (title === "Pricing") {
401
- window.location.href = "/pricing";
402
- }
400
+ // if (title === "Pricing") {
401
+ // window.location.href = "/pricing";
402
+ // }
403
403
  // if (title === "Enterprise") {
404
404
  // window.location.href = "/enterprise";
405
405
  // }
@@ -447,9 +447,9 @@ export default function V3Header(props) {
447
447
  </a>
448
448
  </div>
449
449
  <div className="hds-hidden-tbl flex z-[10] items-center gap-6">
450
- <div className={"h-full " + (mobileNavOpen ? " hds-hidden" : "")}>
450
+ {/* <div className={"h-full " + (mobileNavOpen ? " hds-hidden" : "")}>
451
451
  {!props.hideSearch && <AlgoliaSearch {...props} />}
452
- </div>
452
+ </div> */}
453
453
  {!(isCompany || isDeveloper || isProduct || isResources) && (
454
454
  <motion.div
455
455
  initial={{ opacity: 0 }}
@@ -489,9 +489,9 @@ export default function V3Header(props) {
489
489
  {headerListfunction(props.HEADER_LIST)}
490
490
  </nav>
491
491
  <div className="hds-hidden tb-l:flex flex-row items-center gap-x-4 ">
492
- {!props.hideSearch && (
492
+ {/* {!props.hideSearch && (
493
493
  <AlgoliaSearch isDarkMode={isDarkMode} {...props} />
494
- )}
494
+ )} */}
495
495
  <a href="/contact-us" className="hds-hidden db:flex">
496
496
  <Typography
497
497
  textStyle="body3c-medium"
@@ -690,13 +690,12 @@ export default function V3Header(props) {
690
690
  />
691
691
  </div>
692
692
  </a>
693
- <a href="https://hasura.io/pricing">
693
+ {/* <a href="https://hasura.io/pricing">
694
694
  <div
695
695
  key={`Contact`}
696
696
  className="flex justify-between items-center p-4 cursor-pointer group"
697
697
  >
698
698
  <div className="flex items-center justify-center gap-2">
699
- {/* <Icon height="h-5 w-5" variant="home03" strokeColor="#3970FD" /> */}
700
699
  <Typography
701
700
  textStyle="body3c-medium"
702
701
  className="text-neutral-700 hover:text-neutral-1000 transition-all duration-300 ease-in-out"
@@ -710,7 +709,7 @@ export default function V3Header(props) {
710
709
  strokeClass="stroke-neutral-500"
711
710
  />
712
711
  </div>
713
- </a>
712
+ </a> */}
714
713
  <a href="https://hasura.io/contact-us">
715
714
  <div
716
715
  key={`Contact`}
@@ -800,27 +799,27 @@ V3Header.defaultProps = {
800
799
  btnCTA: "/products",
801
800
  strokeClass: "stroke-blue-500",
802
801
  },
803
- {
804
- iconVariant: <PromptQLLogo />,
805
- description: `A data access agent with out-of-the-box connectors and agentic query planning.`,
806
- title: "PromptQL by Hasura",
807
- btnCTA: `https://promptql.hasura.io/`,
808
- strokeClass: "stroke-blue-500",
809
- },
802
+ // {
803
+ // iconVariant: <PromptQLLogo />,
804
+ // description: `Accurate AI for analysis and automations`,
805
+ // title: "PromptQL",
806
+ // btnCTA: `https://promptql.io/`,
807
+ // strokeClass: "stroke-blue-500",
808
+ // },
810
809
  ],
811
810
  primaryBtnLabel: "What is Hasura?",
812
811
  primaryBtnCTA: "/products",
813
812
  strokeClass: "stroke-blue-500",
814
813
 
814
+ // secondaryBtn: [
815
+ // {
816
+ // cta_leftVariantIcon: "checksquarebroken",
817
+ // cta_leftVariantIconColor: "#6C737F",
818
+ // cta_text: "Compare Plans",
819
+ // cta_link: "/pricing",
820
+ // },
821
+ // ],
815
822
  secondaryBtn: [
816
- {
817
- cta_leftVariantIcon: "checksquarebroken",
818
- cta_leftVariantIconColor: "#6C737F",
819
- cta_text: "Compare Plans",
820
- cta_link: "/pricing",
821
- },
822
- ],
823
- tertiaryBtn: [
824
823
  {
825
824
  cta_leftVariantIcon: "zap",
826
825
  cta_leftVariantIconColor: "#6C737F",
@@ -892,11 +891,11 @@ V3Header.defaultProps = {
892
891
  ],
893
892
  },
894
893
  ],
895
- flyoutD: {
896
- link: "https://hasura.io/book-demo/promptql",
897
- cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/v1738570236/ph-promo-1_1_sw8qus.png`,
898
- cardImgAlt: "Hasura PromptQL",
899
- },
894
+ // flyoutD: {
895
+ // link: "https://hasura.io/book-demo/promptql",
896
+ // cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/v1738570236/ph-promo-1_1_sw8qus.png`,
897
+ // cardImgAlt: "Hasura PromptQL",
898
+ // },
900
899
  },
901
900
  {
902
901
  title: "Developer",
@@ -1018,11 +1017,11 @@ V3Header.defaultProps = {
1018
1017
  label: "RESOURCES",
1019
1018
  },
1020
1019
  ],
1021
- flyoutD: {
1022
- link: "https://promptql.hasura.io/",
1023
- cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/v1736792475/ql_resource_egwbdl.png`,
1024
- cardImgAlt: "PromptQL",
1025
- },
1020
+ // flyoutD: {
1021
+ // link: "https://promptql.hasura.io/",
1022
+ // cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/v1736792475/ql_resource_egwbdl.png`,
1023
+ // cardImgAlt: "PromptQL",
1024
+ // },
1026
1025
  },
1027
1026
  ],
1028
1027
  headerUrl: "/",
@@ -12119,12 +12119,12 @@ select{
12119
12119
  width: 100%;
12120
12120
  }
12121
12121
 
12122
- .tb-l\:min-w-\[400px\]{
12123
- min-width: 400px;
12122
+ .tb-l\:min-w-\[250px\]{
12123
+ min-width: 250px;
12124
12124
  }
12125
12125
 
12126
- .tb-l\:min-w-\[505px\]{
12127
- min-width: 505px;
12126
+ .tb-l\:min-w-\[400px\]{
12127
+ min-width: 400px;
12128
12128
  }
12129
12129
 
12130
12130
  .tb-l\:min-w-\[550px\]{