hds-web 1.41.3 → 1.41.5
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 +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/HDS/components/Cards/Dropdown/v3Dropdown.js +1 -1
- package/src/HDS/components/Cards/Menu/flyoutB.js +41 -38
- package/src/HDS/components/Cards/Menu/flyoutD.js +1 -1
- package/src/HDS/components/Headers/v3Header.js +2 -2
- package/src/styles/tailwind.css +28 -27
package/package.json
CHANGED
@@ -10,7 +10,7 @@ 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=
|
13
|
+
<div className={`bg-neutral-0 rounded-2xl h-full w-full ${props.primaryCard.cardDetailsArray ? 'min-w-[505px]' : ' min-w-[250px]'}`}>
|
14
14
|
<FlyoutB {...props.primaryCard} />
|
15
15
|
</div>
|
16
16
|
</div>
|
@@ -22,55 +22,58 @@ export default function FlyoutB(props) {
|
|
22
22
|
|
23
23
|
return (
|
24
24
|
<div className="flex flex-col justify-between w-full h-full shadow rounded-2xl">
|
25
|
-
|
26
|
-
|
27
|
-
className="
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
</Typography>
|
37
|
-
<div className="flex items-start lg:pt-2">
|
25
|
+
|
26
|
+
|
27
|
+
<div className=" ml-2 mt-2 w-[calc(100%-16px)] h-[calc(100%-16px)] rounded-xl absolute "></div>
|
28
|
+
<div className="px-6 pt-6 pb-2 w-full h-full ">
|
29
|
+
<Typography
|
30
|
+
textStyle="h6"
|
31
|
+
className="uppercase relative z-[2] group-hover/card:text-neutral-1000 text-neutral-500 mb-4"
|
32
|
+
>
|
33
|
+
PLATFORM
|
34
|
+
</Typography>
|
35
|
+
<div className="flex items-start lg:pt-2">
|
38
36
|
{
|
39
37
|
props.cardDetailsArray ? (
|
40
|
-
<div className="flex items-start gap-
|
38
|
+
<div className="flex items-start gap-3">
|
41
39
|
{
|
42
40
|
props.cardDetailsArray.map((card, index) => (
|
43
|
-
<
|
44
|
-
<div className="
|
45
|
-
<div className="
|
46
|
-
|
41
|
+
<a href={card.btnCTA}>
|
42
|
+
<div key={index} className="hover:bg-neutral-100 rounded-lg p-3 w-full min-w-[calc(50%-20px)] items-center relative group/card cursor-pointer z-[2]">
|
43
|
+
<div className="flex items-center">
|
44
|
+
<div className="w-5">
|
45
|
+
{card.iconVariant}
|
46
|
+
</div>
|
47
|
+
<Typography
|
48
|
+
textStyle="body3c-medium"
|
49
|
+
className="text-neutral-1000 ml-[6px] hover:transition-all hover:duration-300 hover:ease-in-out whitespace-nowrap overflow-clip"
|
50
|
+
>
|
51
|
+
{card.title}
|
52
|
+
</Typography>
|
53
|
+
<Icon
|
54
|
+
height="h-5 w-5 stroke-[1.5] invisible group-hover/card:visible transition-all ease-in-out group-hover/card:translate-x-1"
|
55
|
+
variant='chevronright'
|
56
|
+
strokeColor="stroke-neutral-1000"
|
57
|
+
strokeClass="stroke-neutral-1000"
|
58
|
+
/>
|
47
59
|
</div>
|
48
60
|
<Typography
|
49
|
-
|
50
|
-
|
61
|
+
className="mt-1 text-neutral-600 relative z-[2]"
|
62
|
+
textStyle="body3"
|
51
63
|
>
|
52
|
-
{card.
|
64
|
+
{card.description}
|
53
65
|
</Typography>
|
54
|
-
<Icon
|
55
|
-
height="h-5 w-5 stroke-[1.5] group-hover/card:stroke-blue-500"
|
56
|
-
variant='chevronright'
|
57
|
-
strokeColor="stroke-neutral-1000"
|
58
|
-
strokeClass="stroke-neutral-1000"
|
59
|
-
/>
|
60
66
|
</div>
|
61
|
-
|
62
|
-
className="mt-1 text-neutral-600 relative z-[2]"
|
63
|
-
textStyle="body3"
|
64
|
-
>
|
65
|
-
{card.description}
|
66
|
-
</Typography>
|
67
|
-
</div>
|
67
|
+
</a>
|
68
68
|
))
|
69
69
|
}
|
70
70
|
</div>
|
71
71
|
) : (
|
72
|
-
|
73
|
-
|
72
|
+
<a
|
73
|
+
href={primaryBtnCTA}
|
74
|
+
className="group/card flex items-start hover:bg-neutral-100 p-3 rounded-lg cursor-pointer w-full h-full relative transition-all duration-300 ease-out "
|
75
|
+
>
|
76
|
+
<div className="flex items-center relative justify-center p-2.5 h-14 w-14 z-[2] group-hover/card:bg-blue-200 bg-blue-200 rounded-2xl min-w-[56px] mr-6">
|
74
77
|
<Icon
|
75
78
|
height="h-6 w-6 stroke-2 group-hover/card:stroke-blue-500"
|
76
79
|
variant={iconVariant}
|
@@ -92,13 +95,13 @@ export default function FlyoutB(props) {
|
|
92
95
|
{mainDescription}
|
93
96
|
</Typography>
|
94
97
|
</div>
|
95
|
-
|
98
|
+
</a>
|
96
99
|
)
|
97
100
|
}
|
98
101
|
|
99
102
|
</div>
|
100
103
|
</div>
|
101
|
-
|
104
|
+
|
102
105
|
<div className="border-t border-neutral-200 pt-3 mx-6" />
|
103
106
|
<div className="flex pb-3 gap-2">
|
104
107
|
{secondaryBtn.map((btn, index) => (
|
@@ -161,7 +161,7 @@ export default function V3Header(props) {
|
|
161
161
|
animate={{ opacity: 1 }}
|
162
162
|
transition={{ ease: "easeInOut", duration: 0.1 }}
|
163
163
|
className={
|
164
|
-
"absolute -left-[137px] z-[2] transform " +
|
164
|
+
"absolute top-[21px] -left-[137px] z-[2] transform " +
|
165
165
|
(dropdownVisibility[0] ? "-left-[137px] " : "") +
|
166
166
|
(dropdownVisibility[1] ? "-left-[218px]" : "") +
|
167
167
|
(dropdownVisibility[3] ? "-left-[50px] " : "")
|
@@ -760,7 +760,7 @@ V3Header.defaultProps = {
|
|
760
760
|
iconVariant: <PromptQLLogo />,
|
761
761
|
description: `A data access agent with out-of-the-box connectors and agentic query planning.`,
|
762
762
|
title: "PromptQL by Hasura",
|
763
|
-
btnCTA: "/
|
763
|
+
btnCTA: "/book-demo/promptql",
|
764
764
|
strokeClass: "stroke-blue-500",
|
765
765
|
},
|
766
766
|
],
|
package/src/styles/tailwind.css
CHANGED
@@ -1042,6 +1042,10 @@ select{
|
|
1042
1042
|
top: 170px;
|
1043
1043
|
}
|
1044
1044
|
|
1045
|
+
.top-\[21px\]{
|
1046
|
+
top: 21px;
|
1047
|
+
}
|
1048
|
+
|
1045
1049
|
.top-\[4px\]{
|
1046
1050
|
top: 4px;
|
1047
1051
|
}
|
@@ -1415,6 +1419,10 @@ select{
|
|
1415
1419
|
margin-left: 30px;
|
1416
1420
|
}
|
1417
1421
|
|
1422
|
+
.ml-\[6px\]{
|
1423
|
+
margin-left: 6px;
|
1424
|
+
}
|
1425
|
+
|
1418
1426
|
.mr-0{
|
1419
1427
|
margin-right: 0px;
|
1420
1428
|
}
|
@@ -1527,10 +1535,6 @@ select{
|
|
1527
1535
|
margin-top: 70px;
|
1528
1536
|
}
|
1529
1537
|
|
1530
|
-
.ml-\[6px\]{
|
1531
|
-
margin-left: 6px;
|
1532
|
-
}
|
1533
|
-
|
1534
1538
|
.line-clamp-3{
|
1535
1539
|
overflow: hidden;
|
1536
1540
|
display: -webkit-box;
|
@@ -2104,6 +2108,10 @@ select{
|
|
2104
2108
|
min-width: 48px;
|
2105
2109
|
}
|
2106
2110
|
|
2111
|
+
.min-w-\[500px\]{
|
2112
|
+
min-width: 500px;
|
2113
|
+
}
|
2114
|
+
|
2107
2115
|
.min-w-\[56px\]{
|
2108
2116
|
min-width: 56px;
|
2109
2117
|
}
|
@@ -2116,6 +2124,10 @@ select{
|
|
2116
2124
|
min-width: 72px;
|
2117
2125
|
}
|
2118
2126
|
|
2127
|
+
.min-w-\[calc\(50\%-20px\)\]{
|
2128
|
+
min-width: calc(50% - 20px);
|
2129
|
+
}
|
2130
|
+
|
2119
2131
|
.min-w-fit{
|
2120
2132
|
min-width: -webkit-fit-content;
|
2121
2133
|
min-width: -moz-fit-content;
|
@@ -2126,20 +2138,8 @@ select{
|
|
2126
2138
|
min-width: 100%;
|
2127
2139
|
}
|
2128
2140
|
|
2129
|
-
.min-w-\[
|
2130
|
-
min-width:
|
2131
|
-
}
|
2132
|
-
|
2133
|
-
.min-w-\[50\%\]{
|
2134
|
-
min-width: 50%;
|
2135
|
-
}
|
2136
|
-
|
2137
|
-
.min-w-\[calc\(50\%-20px\)\]{
|
2138
|
-
min-width: calc(50% - 20px);
|
2139
|
-
}
|
2140
|
-
|
2141
|
-
.min-w-\[420px\]{
|
2142
|
-
min-width: 420px;
|
2141
|
+
.min-w-\[505px\]{
|
2142
|
+
min-width: 505px;
|
2143
2143
|
}
|
2144
2144
|
|
2145
2145
|
.max-w-2xl{
|
@@ -6844,10 +6844,6 @@ select{
|
|
6844
6844
|
padding-top: 81px;
|
6845
6845
|
}
|
6846
6846
|
|
6847
|
-
.pt-1{
|
6848
|
-
padding-top: 0.25rem;
|
6849
|
-
}
|
6850
|
-
|
6851
6847
|
.text-left{
|
6852
6848
|
text-align: left;
|
6853
6849
|
}
|
@@ -10572,6 +10568,10 @@ select{
|
|
10572
10568
|
visibility: visible;
|
10573
10569
|
}
|
10574
10570
|
|
10571
|
+
.group\/card:hover .group-hover\/card\:visible{
|
10572
|
+
visibility: visible;
|
10573
|
+
}
|
10574
|
+
|
10575
10575
|
.group\/eventListing:hover .group-hover\/eventListing\:visible{
|
10576
10576
|
visibility: visible;
|
10577
10577
|
}
|
@@ -10598,6 +10598,12 @@ select{
|
|
10598
10598
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
10599
10599
|
}
|
10600
10600
|
|
10601
|
+
.group\/card:hover .group-hover\/card\:translate-x-1{
|
10602
|
+
--tw-translate-x: 0.25rem;
|
10603
|
+
-webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
10604
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
10605
|
+
}
|
10606
|
+
|
10601
10607
|
.group\/eventListing:hover .group-hover\/eventListing\:translate-x-\[0\.15rem\]{
|
10602
10608
|
--tw-translate-x: 0.15rem;
|
10603
10609
|
-webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
@@ -10658,11 +10664,6 @@ select{
|
|
10658
10664
|
background-color: rgb(223 232 255 / var(--tw-bg-opacity));
|
10659
10665
|
}
|
10660
10666
|
|
10661
|
-
.group\/card:hover .group-hover\/card\:bg-neutral-100{
|
10662
|
-
--tw-bg-opacity: 1;
|
10663
|
-
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
10664
|
-
}
|
10665
|
-
|
10666
10667
|
.group:hover .group-hover\:bg-amber-300{
|
10667
10668
|
--tw-bg-opacity: 1;
|
10668
10669
|
background-color: rgb(255 206 112 / var(--tw-bg-opacity));
|