hds-web 1.41.7 → 1.42.0
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.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/HDS/components/Headers/v3Header.js +34 -11
package/package.json
CHANGED
@@ -21,17 +21,40 @@ const updatePGParam = (originalLink, websiteKey) => {
|
|
21
21
|
};
|
22
22
|
|
23
23
|
const HasuraLogo = () => (
|
24
|
-
<svg
|
25
|
-
|
24
|
+
<svg
|
25
|
+
width="20"
|
26
|
+
height="21"
|
27
|
+
viewBox="0 0 20 21"
|
28
|
+
fill="none"
|
29
|
+
xmlns="http://www.w3.org/2000/svg"
|
30
|
+
>
|
31
|
+
<path
|
32
|
+
fill-rule="evenodd"
|
33
|
+
clip-rule="evenodd"
|
34
|
+
d="M17.0402 2.08323C17.9627 3.18615 18.2492 6.17362 17.773 7.67111C17.6149 8.16902 17.5703 8.69511 17.6614 9.20617C17.7544 9.71348 17.8474 10.326 17.8474 10.7525C17.8474 15.1304 14.3338 18.6815 9.99814 18.6815C5.6643 18.6815 2.14887 15.1323 2.14887 10.7525C2.14887 10.326 2.24187 9.71348 2.33487 9.20617C2.42787 8.69511 2.38509 8.16902 2.22699 7.67111C1.75083 6.1755 2.03727 3.18803 2.95984 2.08323C3.08074 1.94043 3.3058 1.95922 3.40624 2.11893L4.54271 3.9208C4.82543 4.27968 5.33136 4.36423 5.7108 4.11245C6.94399 3.29701 8.41713 2.82352 10 2.82352C11.5829 2.82352 13.056 3.29701 14.2892 4.11245C14.6705 4.36423 15.1764 4.28156 15.4573 3.9208L16.5938 2.11893C16.6942 1.95922 16.9193 1.93856 17.0402 2.08323ZM11.0787 10.4144L12.6318 13.1351C12.6634 13.1896 12.6634 13.2572 12.6318 13.3098C12.602 13.3643 12.5444 13.3981 12.4811 13.3981H11.2182C11.1568 13.3981 11.0991 13.3643 11.0675 13.3098L10.2379 11.8574L9.31351 13.3154C9.28189 13.3662 9.22609 13.3962 9.16657 13.3962H7.88502C7.81992 13.3962 7.7604 13.3605 7.73064 13.3042C7.70088 13.2478 7.70274 13.1783 7.73808 13.1238L9.44743 10.4896L8.17332 8.32694C8.1417 8.27245 8.13984 8.20481 8.17146 8.15032C8.20308 8.09395 8.26074 8.06013 8.32398 8.06013H9.59624C9.65762 8.06013 9.71528 8.09207 9.7469 8.14656L11.0787 10.4144Z"
|
35
|
+
fill="#000615"
|
36
|
+
/>
|
26
37
|
</svg>
|
27
|
-
)
|
38
|
+
);
|
28
39
|
|
29
40
|
const PromptQLLogo = () => (
|
30
|
-
<svg
|
31
|
-
|
32
|
-
|
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
|
+
/>
|
33
56
|
</svg>
|
34
|
-
)
|
57
|
+
);
|
35
58
|
|
36
59
|
export default function V3Header(props) {
|
37
60
|
// const listSize = props.HEADER_LIST.length;
|
@@ -760,7 +783,7 @@ V3Header.defaultProps = {
|
|
760
783
|
iconVariant: <PromptQLLogo />,
|
761
784
|
description: `A data access agent with out-of-the-box connectors and agentic query planning.`,
|
762
785
|
title: "PromptQL by Hasura",
|
763
|
-
btnCTA:
|
786
|
+
btnCTA: `https://promptql.hasura.io/`,
|
764
787
|
strokeClass: "stroke-blue-500",
|
765
788
|
},
|
766
789
|
],
|
@@ -849,9 +872,9 @@ V3Header.defaultProps = {
|
|
849
872
|
},
|
850
873
|
],
|
851
874
|
flyoutD: {
|
852
|
-
link: "https://
|
853
|
-
cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/
|
854
|
-
cardImgAlt: "Hasura
|
875
|
+
link: "https://hasura.io/book-demo/promptql",
|
876
|
+
cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/v1738570236/ph-promo-1_1_sw8qus.png`,
|
877
|
+
cardImgAlt: "Hasura PromptQL",
|
855
878
|
},
|
856
879
|
},
|
857
880
|
{
|