hds-web 1.42.1 → 1.42.3

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.3",
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>
@@ -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;
@@ -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"
@@ -800,13 +800,13 @@ V3Header.defaultProps = {
800
800
  btnCTA: "/products",
801
801
  strokeClass: "stroke-blue-500",
802
802
  },
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
- },
803
+ // {
804
+ // iconVariant: <PromptQLLogo />,
805
+ // description: `Accurate AI for analysis and automations`,
806
+ // title: "PromptQL",
807
+ // btnCTA: `https://promptql.io/`,
808
+ // strokeClass: "stroke-blue-500",
809
+ // },
810
810
  ],
811
811
  primaryBtnLabel: "What is Hasura?",
812
812
  primaryBtnCTA: "/products",
@@ -892,11 +892,11 @@ V3Header.defaultProps = {
892
892
  ],
893
893
  },
894
894
  ],
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
- },
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
+ // },
900
900
  },
901
901
  {
902
902
  title: "Developer",
@@ -1018,11 +1018,11 @@ V3Header.defaultProps = {
1018
1018
  label: "RESOURCES",
1019
1019
  },
1020
1020
  ],
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
- },
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
+ // },
1026
1026
  },
1027
1027
  ],
1028
1028
  headerUrl: "/",
@@ -12135,6 +12135,14 @@ select{
12135
12135
  min-width: 700px;
12136
12136
  }
12137
12137
 
12138
+ .tb-l\:min-w-\[305px\]{
12139
+ min-width: 305px;
12140
+ }
12141
+
12142
+ .tb-l\:min-w-\[250px\]{
12143
+ min-width: 250px;
12144
+ }
12145
+
12138
12146
  .tb-l\:max-w-7xl{
12139
12147
  max-width: 80rem;
12140
12148
  }