hds-web 1.36.8 → 1.37.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.css +2 -2
- package/dist/index.es.css +2 -2
- package/dist/index.es.js +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/src/HDS/components/Cards/Dropdown/v3Dropdown.js +18 -16
- package/src/HDS/components/Cards/Menu/ConnectorsDropdown.js +106 -0
- package/src/HDS/components/Cards/Menu/flyoutA.js +3 -3
- package/src/HDS/components/Cards/Menu/flyoutB.js +138 -121
- package/src/HDS/components/Cards/Menu/flyoutD.js +8 -79
- package/src/HDS/components/Headers/v3Header.js +32 -57
- package/src/styles/tailwind.css +47 -70
@@ -20,8 +20,6 @@ const updatePGParam = (originalLink, websiteKey) => {
|
|
20
20
|
} else return originalLink;
|
21
21
|
};
|
22
22
|
|
23
|
-
const isBrowser = typeof window !== "undefined";
|
24
|
-
|
25
23
|
export default function V3Header(props) {
|
26
24
|
const listSize = props.HEADER_LIST.length;
|
27
25
|
const [mobileNavOpen, setmobileNavOpen] = useState(false);
|
@@ -53,11 +51,12 @@ export default function V3Header(props) {
|
|
53
51
|
};
|
54
52
|
|
55
53
|
const handleDropdownLeave = (index) => {
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
54
|
+
return null;
|
55
|
+
// setDropdownVisibility((prevVisibility) => {
|
56
|
+
// const updatedVisibility = [...prevVisibility];
|
57
|
+
// updatedVisibility[index] = false;
|
58
|
+
// return updatedVisibility;
|
59
|
+
// });
|
61
60
|
};
|
62
61
|
|
63
62
|
const renderDropdown = (
|
@@ -564,11 +563,11 @@ V3Header.defaultProps = {
|
|
564
563
|
title: "Product",
|
565
564
|
primaryCard: {
|
566
565
|
iconVariant: "layersthree01",
|
567
|
-
mainDescription: `
|
568
|
-
primaryBtnLabel: "
|
566
|
+
mainDescription: `Enable your backend team to deliver an incredible unified API on all your data effortlessly.`,
|
567
|
+
primaryBtnLabel: "What is Hasura?",
|
569
568
|
primaryBtnCTA: "/products",
|
570
569
|
strokeClass: "stroke-neutral-800",
|
571
|
-
|
570
|
+
secondaryBtn: [
|
572
571
|
{
|
573
572
|
cta_leftVariantIcon: "checksquarebroken",
|
574
573
|
cta_leftVariantIconColor: "#6C737F",
|
@@ -576,98 +575,74 @@ V3Header.defaultProps = {
|
|
576
575
|
cta_link: "/pricing",
|
577
576
|
},
|
578
577
|
],
|
579
|
-
|
578
|
+
tertiaryBtn: [
|
580
579
|
{
|
581
580
|
cta_leftVariantIcon: "zap",
|
582
581
|
cta_leftVariantIconColor: "#6C737F",
|
583
|
-
cta_text: "
|
582
|
+
cta_text: "Get Started",
|
584
583
|
cta_link: "/products/deployment",
|
585
584
|
},
|
586
585
|
],
|
587
586
|
},
|
588
587
|
secondaryCardArr: [
|
589
588
|
{
|
589
|
+
label: "CONNECTORS",
|
590
590
|
childArray: [
|
591
591
|
{
|
592
592
|
description: "",
|
593
|
-
href: "/
|
594
|
-
icon: "
|
595
|
-
name: "
|
593
|
+
href: "/graphql/database/postgresql",
|
594
|
+
icon: "database01",
|
595
|
+
name: "PostgreSQL",
|
596
596
|
strokeClass: "stroke-neutral-500",
|
597
597
|
},
|
598
598
|
{
|
599
599
|
description: "",
|
600
|
-
href: "/
|
601
|
-
icon: "
|
602
|
-
name: "
|
600
|
+
href: "/graphql/database/mongodb",
|
601
|
+
icon: "database01",
|
602
|
+
name: "MongoDB",
|
603
603
|
strokeClass: "stroke-neutral-500",
|
604
604
|
},
|
605
605
|
{
|
606
606
|
description: "",
|
607
|
-
href: "/
|
608
|
-
icon: "
|
609
|
-
name: "
|
607
|
+
href: "/graphql/database/mysql",
|
608
|
+
icon: "database01",
|
609
|
+
name: "MySQL",
|
610
610
|
strokeClass: "stroke-neutral-500",
|
611
611
|
},
|
612
612
|
{
|
613
613
|
description: "",
|
614
|
-
href: "/
|
615
|
-
icon: "
|
616
|
-
name: "
|
614
|
+
href: "/graphql/database/snowflake",
|
615
|
+
icon: "database01",
|
616
|
+
name: "Snowflake",
|
617
617
|
strokeClass: "stroke-neutral-500",
|
618
618
|
},
|
619
619
|
{
|
620
620
|
description: "",
|
621
|
-
href: "/
|
622
|
-
icon: "
|
623
|
-
name: "
|
621
|
+
href: "/graphql/database/oracle",
|
622
|
+
icon: "database01",
|
623
|
+
name: "Oracle",
|
624
624
|
strokeClass: "stroke-neutral-500",
|
625
625
|
},
|
626
626
|
{
|
627
627
|
description: "",
|
628
|
-
href: "/
|
629
|
-
icon: "
|
630
|
-
name: "
|
628
|
+
href: "/graphql/database/sql-server",
|
629
|
+
icon: "database01",
|
630
|
+
name: "SQL Server",
|
631
631
|
strokeClass: "stroke-neutral-500",
|
632
632
|
},
|
633
|
-
],
|
634
|
-
label: "CAPABILITIES",
|
635
|
-
},
|
636
|
-
{
|
637
|
-
childArray: [
|
638
633
|
{
|
639
634
|
description: "",
|
640
635
|
href: "/graphql/database",
|
641
636
|
icon: "database01",
|
642
|
-
name: "
|
643
|
-
strokeClass: "stroke-neutral-500",
|
644
|
-
},
|
645
|
-
{
|
646
|
-
description: "",
|
647
|
-
href: "/graphql/database?category=planned",
|
648
|
-
icon: "checksquare",
|
649
|
-
name: "Planned Databases",
|
637
|
+
name: "See all",
|
650
638
|
strokeClass: "stroke-neutral-500",
|
651
639
|
},
|
652
640
|
],
|
653
|
-
label: "Data sources",
|
654
641
|
},
|
655
642
|
],
|
656
643
|
flyoutD: {
|
657
644
|
link: "https://hasura.io/ddn",
|
658
|
-
|
659
|
-
btnLabel: "The future of data delivery",
|
660
|
-
description:
|
661
|
-
"Introducing Hasura Data Delivery Network – a new way to ship amazing APIs on all data!",
|
662
|
-
childArray: [
|
663
|
-
{
|
664
|
-
description: "",
|
665
|
-
href: "/products/instant-api",
|
666
|
-
icon: "lightning01",
|
667
|
-
name: "Instant API",
|
668
|
-
strokeClass: "stroke-neutral-500",
|
669
|
-
},
|
670
|
-
],
|
645
|
+
cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/v1716906625/Frame_12754_2_iaixzx.png`,
|
671
646
|
},
|
672
647
|
},
|
673
648
|
{
|
package/src/styles/tailwind.css
CHANGED
@@ -1359,6 +1359,10 @@ select{
|
|
1359
1359
|
margin-bottom: 1.5rem;
|
1360
1360
|
}
|
1361
1361
|
|
1362
|
+
.mb-8{
|
1363
|
+
margin-bottom: 2rem;
|
1364
|
+
}
|
1365
|
+
|
1362
1366
|
.mb-9{
|
1363
1367
|
margin-bottom: 2.25rem;
|
1364
1368
|
}
|
@@ -1435,6 +1439,10 @@ select{
|
|
1435
1439
|
margin-right: 1.25rem;
|
1436
1440
|
}
|
1437
1441
|
|
1442
|
+
.mr-6{
|
1443
|
+
margin-right: 1.5rem;
|
1444
|
+
}
|
1445
|
+
|
1438
1446
|
.mr-8{
|
1439
1447
|
margin-right: 2rem;
|
1440
1448
|
}
|
@@ -1526,13 +1534,6 @@ select{
|
|
1526
1534
|
-webkit-line-clamp: 3;
|
1527
1535
|
}
|
1528
1536
|
|
1529
|
-
.line-clamp-5{
|
1530
|
-
overflow: hidden;
|
1531
|
-
display: -webkit-box;
|
1532
|
-
-webkit-box-orient: vertical;
|
1533
|
-
-webkit-line-clamp: 5;
|
1534
|
-
}
|
1535
|
-
|
1536
1537
|
.block{
|
1537
1538
|
display: block;
|
1538
1539
|
}
|
@@ -2055,6 +2056,10 @@ select{
|
|
2055
2056
|
min-width: 18rem;
|
2056
2057
|
}
|
2057
2058
|
|
2059
|
+
.min-w-\[204px\]{
|
2060
|
+
min-width: 204px;
|
2061
|
+
}
|
2062
|
+
|
2058
2063
|
.min-w-\[20px\]{
|
2059
2064
|
min-width: 20px;
|
2060
2065
|
}
|
@@ -2079,6 +2084,10 @@ select{
|
|
2079
2084
|
min-width: 48px;
|
2080
2085
|
}
|
2081
2086
|
|
2087
|
+
.min-w-\[56px\]{
|
2088
|
+
min-width: 56px;
|
2089
|
+
}
|
2090
|
+
|
2082
2091
|
.min-w-\[64px\]{
|
2083
2092
|
min-width: 64px;
|
2084
2093
|
}
|
@@ -2129,6 +2138,10 @@ select{
|
|
2129
2138
|
max-width: 18rem;
|
2130
2139
|
}
|
2131
2140
|
|
2141
|
+
.max-w-\[204px\]{
|
2142
|
+
max-width: 204px;
|
2143
|
+
}
|
2144
|
+
|
2132
2145
|
.max-w-\[20px\]{
|
2133
2146
|
max-width: 20px;
|
2134
2147
|
}
|
@@ -6727,10 +6740,6 @@ select{
|
|
6727
6740
|
padding-right: 12rem;
|
6728
6741
|
}
|
6729
6742
|
|
6730
|
-
.pr-6{
|
6731
|
-
padding-right: 1.5rem;
|
6732
|
-
}
|
6733
|
-
|
6734
6743
|
.pr-7{
|
6735
6744
|
padding-right: 1.75rem;
|
6736
6745
|
}
|
@@ -10518,10 +10527,6 @@ select{
|
|
10518
10527
|
visibility: visible;
|
10519
10528
|
}
|
10520
10529
|
|
10521
|
-
.group\/card:hover .group-hover\/card\:visible{
|
10522
|
-
visibility: visible;
|
10523
|
-
}
|
10524
|
-
|
10525
10530
|
.group\/eventListing:hover .group-hover\/eventListing\:visible{
|
10526
10531
|
visibility: visible;
|
10527
10532
|
}
|
@@ -10548,12 +10553,6 @@ select{
|
|
10548
10553
|
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));
|
10549
10554
|
}
|
10550
10555
|
|
10551
|
-
.group\/card:hover .group-hover\/card\:translate-x-1{
|
10552
|
-
--tw-translate-x: 0.25rem;
|
10553
|
-
-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));
|
10554
|
-
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));
|
10555
|
-
}
|
10556
|
-
|
10557
10556
|
.group\/eventListing:hover .group-hover\/eventListing\:translate-x-\[0\.15rem\]{
|
10558
10557
|
--tw-translate-x: 0.15rem;
|
10559
10558
|
-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));
|
@@ -10619,11 +10618,6 @@ select{
|
|
10619
10618
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
10620
10619
|
}
|
10621
10620
|
|
10622
|
-
.group\/icon:hover .group-hover\/icon\:bg-blue-200{
|
10623
|
-
--tw-bg-opacity: 1;
|
10624
|
-
background-color: rgb(223 232 255 / var(--tw-bg-opacity));
|
10625
|
-
}
|
10626
|
-
|
10627
10621
|
.group:hover .group-hover\:bg-amber-300{
|
10628
10622
|
--tw-bg-opacity: 1;
|
10629
10623
|
background-color: rgb(255 206 112 / var(--tw-bg-opacity));
|
@@ -10695,10 +10689,6 @@ select{
|
|
10695
10689
|
stroke: #3970FD;
|
10696
10690
|
}
|
10697
10691
|
|
10698
|
-
.group\/icon:hover .group-hover\/icon\:stroke-blue-600{
|
10699
|
-
stroke: #1E56E3;
|
10700
|
-
}
|
10701
|
-
|
10702
10692
|
.group:hover .group-hover\:stroke-blue-500{
|
10703
10693
|
stroke: #3970FD;
|
10704
10694
|
}
|
@@ -10730,6 +10720,11 @@ select{
|
|
10730
10720
|
color: rgb(30 86 227 / var(--tw-text-opacity));
|
10731
10721
|
}
|
10732
10722
|
|
10723
|
+
.group\/card:hover .group-hover\/card\:text-neutral-1000{
|
10724
|
+
--tw-text-opacity: 1;
|
10725
|
+
color: rgb(0 6 21 / var(--tw-text-opacity));
|
10726
|
+
}
|
10727
|
+
|
10733
10728
|
.group\/icon:hover .group-hover\/icon\:text-blue-600{
|
10734
10729
|
--tw-text-opacity: 1;
|
10735
10730
|
color: rgb(30 86 227 / var(--tw-text-opacity));
|
@@ -10944,8 +10939,8 @@ select{
|
|
10944
10939
|
position: absolute;
|
10945
10940
|
}
|
10946
10941
|
|
10947
|
-
.tb\:left-
|
10948
|
-
left:
|
10942
|
+
.tb\:left-3{
|
10943
|
+
left: 0.75rem;
|
10949
10944
|
}
|
10950
10945
|
|
10951
10946
|
.tb\:left-auto{
|
@@ -10964,14 +10959,6 @@ select{
|
|
10964
10959
|
top: 160px;
|
10965
10960
|
}
|
10966
10961
|
|
10967
|
-
.tb\:left-4{
|
10968
|
-
left: 1rem;
|
10969
|
-
}
|
10970
|
-
|
10971
|
-
.tb\:left-3{
|
10972
|
-
left: 0.75rem;
|
10973
|
-
}
|
10974
|
-
|
10975
10962
|
.tb\:mb-0{
|
10976
10963
|
margin-bottom: 0px;
|
10977
10964
|
}
|
@@ -11128,6 +11115,10 @@ select{
|
|
11128
11115
|
width: 100%;
|
11129
11116
|
}
|
11130
11117
|
|
11118
|
+
.tb\:min-w-\[140px\]{
|
11119
|
+
min-width: 140px;
|
11120
|
+
}
|
11121
|
+
|
11131
11122
|
.tb\:min-w-\[150px\]{
|
11132
11123
|
min-width: 150px;
|
11133
11124
|
}
|
@@ -11156,6 +11147,10 @@ select{
|
|
11156
11147
|
min-width: 500px;
|
11157
11148
|
}
|
11158
11149
|
|
11150
|
+
.tb\:min-w-\[130px\]{
|
11151
|
+
min-width: 130px;
|
11152
|
+
}
|
11153
|
+
|
11159
11154
|
.tb\:max-w-\[17rem\]{
|
11160
11155
|
max-width: 17rem;
|
11161
11156
|
}
|
@@ -12028,6 +12023,14 @@ select{
|
|
12028
12023
|
margin-top: 0px;
|
12029
12024
|
}
|
12030
12025
|
|
12026
|
+
.tb-l\:-ml-6{
|
12027
|
+
margin-left: -1.5rem;
|
12028
|
+
}
|
12029
|
+
|
12030
|
+
.tb-l\:-ml-1{
|
12031
|
+
margin-left: -0.25rem;
|
12032
|
+
}
|
12033
|
+
|
12031
12034
|
.tb-l\:block{
|
12032
12035
|
display: block;
|
12033
12036
|
}
|
@@ -12044,14 +12047,6 @@ select{
|
|
12044
12047
|
display: none;
|
12045
12048
|
}
|
12046
12049
|
|
12047
|
-
.tb-l\:h-12{
|
12048
|
-
height: 3rem;
|
12049
|
-
}
|
12050
|
-
|
12051
|
-
.tb-l\:h-\[124px\]{
|
12052
|
-
height: 124px;
|
12053
|
-
}
|
12054
|
-
|
12055
12050
|
.tb-l\:h-full{
|
12056
12051
|
height: 100%;
|
12057
12052
|
}
|
@@ -12064,14 +12059,6 @@ select{
|
|
12064
12059
|
width: 50%;
|
12065
12060
|
}
|
12066
12061
|
|
12067
|
-
.tb-l\:w-12{
|
12068
|
-
width: 3rem;
|
12069
|
-
}
|
12070
|
-
|
12071
|
-
.tb-l\:w-\[170px\]{
|
12072
|
-
width: 170px;
|
12073
|
-
}
|
12074
|
-
|
12075
12062
|
.tb-l\:w-\[38\%\]{
|
12076
12063
|
width: 38%;
|
12077
12064
|
}
|
@@ -12320,20 +12307,6 @@ select{
|
|
12320
12307
|
}
|
12321
12308
|
}
|
12322
12309
|
|
12323
|
-
@media (min-width: 970px){
|
12324
|
-
.tb-xl\:w-\[175px\]{
|
12325
|
-
width: 175px;
|
12326
|
-
}
|
12327
|
-
|
12328
|
-
.tb-xl\:w-\[223px\]{
|
12329
|
-
width: 223px;
|
12330
|
-
}
|
12331
|
-
|
12332
|
-
.tb-xl\:min-w-\[175px\]{
|
12333
|
-
min-width: 175px;
|
12334
|
-
}
|
12335
|
-
}
|
12336
|
-
|
12337
12310
|
@media (min-width: 1024px){
|
12338
12311
|
.lg\:flex{
|
12339
12312
|
display: flex;
|
@@ -12374,6 +12347,10 @@ select{
|
|
12374
12347
|
padding-right: 2.25rem;
|
12375
12348
|
}
|
12376
12349
|
|
12350
|
+
.lg\:pt-2{
|
12351
|
+
padding-top: 0.5rem;
|
12352
|
+
}
|
12353
|
+
|
12377
12354
|
.db-s\:mb-0{
|
12378
12355
|
margin-bottom: 0px;
|
12379
12356
|
}
|