hds-web 1.41.3 → 1.41.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/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 +34 -20
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-[500px]' : ' 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-4 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
@@ -1058,6 +1058,10 @@ select{
|
|
1058
1058
|
top: 100%;
|
1059
1059
|
}
|
1060
1060
|
|
1061
|
+
.top-\[21px\]{
|
1062
|
+
top: 21px;
|
1063
|
+
}
|
1064
|
+
|
1061
1065
|
.isolate{
|
1062
1066
|
isolation: isolate;
|
1063
1067
|
}
|
@@ -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;
|
@@ -2088,10 +2092,6 @@ select{
|
|
2088
2092
|
min-width: 24px;
|
2089
2093
|
}
|
2090
2094
|
|
2091
|
-
.min-w-\[250px\]{
|
2092
|
-
min-width: 250px;
|
2093
|
-
}
|
2094
|
-
|
2095
2095
|
.min-w-\[300px\]{
|
2096
2096
|
min-width: 300px;
|
2097
2097
|
}
|
@@ -2100,6 +2100,10 @@ select{
|
|
2100
2100
|
min-width: 312px;
|
2101
2101
|
}
|
2102
2102
|
|
2103
|
+
.min-w-\[420px\]{
|
2104
|
+
min-width: 420px;
|
2105
|
+
}
|
2106
|
+
|
2103
2107
|
.min-w-\[48px\]{
|
2104
2108
|
min-width: 48px;
|
2105
2109
|
}
|
@@ -2116,6 +2120,10 @@ select{
|
|
2116
2120
|
min-width: 72px;
|
2117
2121
|
}
|
2118
2122
|
|
2123
|
+
.min-w-\[calc\(50\%-20px\)\]{
|
2124
|
+
min-width: calc(50% - 20px);
|
2125
|
+
}
|
2126
|
+
|
2119
2127
|
.min-w-fit{
|
2120
2128
|
min-width: -webkit-fit-content;
|
2121
2129
|
min-width: -moz-fit-content;
|
@@ -2126,20 +2134,20 @@ select{
|
|
2126
2134
|
min-width: 100%;
|
2127
2135
|
}
|
2128
2136
|
|
2129
|
-
.min-w-\[
|
2130
|
-
min-width:
|
2137
|
+
.min-w-\[440px\]{
|
2138
|
+
min-width: 440px;
|
2131
2139
|
}
|
2132
2140
|
|
2133
|
-
.min-w-\[
|
2134
|
-
min-width:
|
2141
|
+
.min-w-\[450px\]{
|
2142
|
+
min-width: 450px;
|
2135
2143
|
}
|
2136
2144
|
|
2137
|
-
.min-w-\[
|
2138
|
-
min-width:
|
2145
|
+
.min-w-\[500px\]{
|
2146
|
+
min-width: 500px;
|
2139
2147
|
}
|
2140
2148
|
|
2141
|
-
.min-w-\[
|
2142
|
-
min-width:
|
2149
|
+
.min-w-\[250px\]{
|
2150
|
+
min-width: 250px;
|
2143
2151
|
}
|
2144
2152
|
|
2145
2153
|
.max-w-2xl{
|
@@ -6844,10 +6852,6 @@ select{
|
|
6844
6852
|
padding-top: 81px;
|
6845
6853
|
}
|
6846
6854
|
|
6847
|
-
.pt-1{
|
6848
|
-
padding-top: 0.25rem;
|
6849
|
-
}
|
6850
|
-
|
6851
6855
|
.text-left{
|
6852
6856
|
text-align: left;
|
6853
6857
|
}
|
@@ -10584,6 +10588,10 @@ select{
|
|
10584
10588
|
visibility: visible;
|
10585
10589
|
}
|
10586
10590
|
|
10591
|
+
.group\/card:hover .group-hover\/card\:visible{
|
10592
|
+
visibility: visible;
|
10593
|
+
}
|
10594
|
+
|
10587
10595
|
.group\/sc:hover .group-hover\/sc\:block{
|
10588
10596
|
display: block;
|
10589
10597
|
}
|
@@ -10640,6 +10648,12 @@ select{
|
|
10640
10648
|
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));
|
10641
10649
|
}
|
10642
10650
|
|
10651
|
+
.group\/card:hover .group-hover\/card\:translate-x-1{
|
10652
|
+
--tw-translate-x: 0.25rem;
|
10653
|
+
-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));
|
10654
|
+
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));
|
10655
|
+
}
|
10656
|
+
|
10643
10657
|
.group\/badge:hover .group-hover\/badge\:border-opacity-0{
|
10644
10658
|
--tw-border-opacity: 0;
|
10645
10659
|
}
|