hds-web 1.42.0 → 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/dist/index.css +2 -2
- package/dist/index.es.css +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/src/HDS/components/Cards/Dropdown/v3Dropdown.js +7 -1
- package/src/HDS/components/Headers/v3Header.js +60 -39
- package/src/styles/tailwind.css +8 -0
package/package.json
CHANGED
@@ -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
|
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
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
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"
|
@@ -690,6 +690,27 @@ export default function V3Header(props) {
|
|
690
690
|
/>
|
691
691
|
</div>
|
692
692
|
</a>
|
693
|
+
<a href="https://hasura.io/pricing">
|
694
|
+
<div
|
695
|
+
key={`Contact`}
|
696
|
+
className="flex justify-between items-center p-4 cursor-pointer group"
|
697
|
+
>
|
698
|
+
<div className="flex items-center justify-center gap-2">
|
699
|
+
{/* <Icon height="h-5 w-5" variant="home03" strokeColor="#3970FD" /> */}
|
700
|
+
<Typography
|
701
|
+
textStyle="body3c-medium"
|
702
|
+
className="text-neutral-700 hover:text-neutral-1000 transition-all duration-300 ease-in-out"
|
703
|
+
>
|
704
|
+
Pricing
|
705
|
+
</Typography>
|
706
|
+
</div>
|
707
|
+
<Icon
|
708
|
+
height="h-5 w-5 stroke-[1.5px] group-hover:translate-x-1 ease-in-out transition duration-300"
|
709
|
+
variant="chevronright"
|
710
|
+
strokeClass="stroke-neutral-500"
|
711
|
+
/>
|
712
|
+
</div>
|
713
|
+
</a>
|
693
714
|
<a href="https://hasura.io/contact-us">
|
694
715
|
<div
|
695
716
|
key={`Contact`}
|
@@ -779,13 +800,13 @@ V3Header.defaultProps = {
|
|
779
800
|
btnCTA: "/products",
|
780
801
|
strokeClass: "stroke-blue-500",
|
781
802
|
},
|
782
|
-
{
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
},
|
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
|
+
// },
|
789
810
|
],
|
790
811
|
primaryBtnLabel: "What is Hasura?",
|
791
812
|
primaryBtnCTA: "/products",
|
@@ -871,11 +892,11 @@ V3Header.defaultProps = {
|
|
871
892
|
],
|
872
893
|
},
|
873
894
|
],
|
874
|
-
flyoutD: {
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
},
|
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
|
+
// },
|
879
900
|
},
|
880
901
|
{
|
881
902
|
title: "Developer",
|
@@ -997,11 +1018,11 @@ V3Header.defaultProps = {
|
|
997
1018
|
label: "RESOURCES",
|
998
1019
|
},
|
999
1020
|
],
|
1000
|
-
flyoutD: {
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
},
|
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
|
+
// },
|
1005
1026
|
},
|
1006
1027
|
],
|
1007
1028
|
headerUrl: "/",
|
package/src/styles/tailwind.css
CHANGED
@@ -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
|
}
|