hds-web 1.12.1 → 1.12.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 +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/HDS/components/Cards/Feedback/feedback.js +4 -4
- package/src/HDS/components/Cards/Misc/iconCard.js +1 -1
- package/src/HDS/components/Carousels/customCarousel.js +3 -3
- package/src/HDS/components/Footers/v3Footer.js +11 -7
- package/src/HDS/modules/Cards/dataSourceCard.js +1 -0
- package/src/styles/tailwind.css +78 -3
- package/tailwind.config.js +1 -0
package/package.json
CHANGED
@@ -11,7 +11,7 @@ export default function FeedbackCard(props) {
|
|
11
11
|
logoBg = HDSColor(props.logoBg);
|
12
12
|
}
|
13
13
|
return (
|
14
|
-
<
|
14
|
+
<a href={props.caseStudyUrl} className='group bg-neutral-0 rounded-3xl shadow p-6 tb-l:p-10 grid mb-6 db-s:mb-0 last:mb-0 flex-1 max-w-[920px] mx-auto flex-col transition-all duration-300 ease-in-out hover:shadow-lg hover:translate-y-0.5'>
|
15
15
|
<div className=" self-start">
|
16
16
|
<ProfileAvatar
|
17
17
|
name={props.speakerName}
|
@@ -37,7 +37,7 @@ export default function FeedbackCard(props) {
|
|
37
37
|
</div>
|
38
38
|
<div className={"pt-4 mb-s:pt-0 " + ((props.dividerClass) ? "mb-s:pl-6" : "mb-s:pl-8")}>
|
39
39
|
<Typography textStyle={((props.dividerClass) ? "body2" : "body1")} className='text-neutral-600 pb-1'>{props.blurb}</Typography>
|
40
|
-
<
|
40
|
+
<div className="flex">
|
41
41
|
<HDSButton
|
42
42
|
label='Read case study'
|
43
43
|
type='secondaryLink'
|
@@ -52,10 +52,10 @@ export default function FeedbackCard(props) {
|
|
52
52
|
btnTextHoverClass= 'hover:text-blue-500'
|
53
53
|
animatedHoverStroke= 'group-hover:stroke-blue-500'
|
54
54
|
/>
|
55
|
-
</
|
55
|
+
</div>
|
56
56
|
</div>
|
57
57
|
</div>
|
58
58
|
</div>
|
59
|
-
</
|
59
|
+
</a>
|
60
60
|
)
|
61
61
|
}
|
@@ -136,7 +136,7 @@ export default function IconCard(props) {
|
|
136
136
|
|
137
137
|
(
|
138
138
|
<a href={((props.readMoreBtn && !props.button) ? props.readMoreBtn['cta_link'] : props.button[0]['cta_link'])}
|
139
|
-
className={`bg-neutral-0 group grid h-full transition-all ease-in-out rounded-3xl ${cardVariant[props.cardType]['cardStyle']} ` + ((props.cardBorder) ? props.cardBorder : 'shadow') + ((props.readMoreBtn || props.button) ? ' hover:shadow-lg hover:translate-y-0.5' : '')}
|
139
|
+
className={`bg-neutral-0 group grid h-full duration-300 transition-all ease-in-out rounded-3xl ${cardVariant[props.cardType]['cardStyle']} ` + ((props.cardBorder) ? props.cardBorder : 'shadow') + ((props.readMoreBtn || props.button) ? ' hover:shadow-lg hover:translate-y-0.5 ' : '')}
|
140
140
|
>
|
141
141
|
<div className=" self-start">
|
142
142
|
<div
|
@@ -77,7 +77,7 @@ export default function CustomCarousel(props) {
|
|
77
77
|
|
78
78
|
const maxVisibleCards = 6;
|
79
79
|
|
80
|
-
const arrowStyle = ' text-2xl z-10 bg-black h-10 ml-6 w-10 rounded-full bg-neutral-0
|
80
|
+
const arrowStyle = ' text-2xl z-10 bg-black h-10 w-10 ml-6 w-10 rounded-full bg-neutral-0 hover:bg-neutral-0 flex items-center justify-center shadow';
|
81
81
|
|
82
82
|
const disableButton = (current, dir) => {
|
83
83
|
if (dir === 'isLeft') {
|
@@ -106,7 +106,7 @@ export default function CustomCarousel(props) {
|
|
106
106
|
>
|
107
107
|
<span role="img" aria-label={`Arrow left `}>
|
108
108
|
{(
|
109
|
-
<Icon height={'h-6 w-6'} variant={'chevronleft'} strokeColor='#
|
109
|
+
<Icon height={'h-6 w-6'} variant={'chevronleft'} strokeColor='#6C737F' />
|
110
110
|
)}
|
111
111
|
</span>
|
112
112
|
</button>
|
@@ -124,7 +124,7 @@ export default function CustomCarousel(props) {
|
|
124
124
|
>
|
125
125
|
<span role="img" aria-label={`Arrow right `}>
|
126
126
|
{(
|
127
|
-
<Icon height={'h-6 w-6'} variant={'chevronright'} strokeColor='#
|
127
|
+
<Icon height={'h-6 w-6 stroke-[1.5]'} variant={'chevronright'} strokeColor='#6C737F' />
|
128
128
|
)}
|
129
129
|
</span>
|
130
130
|
</button>
|
@@ -80,7 +80,7 @@ export default function V3Footer(props) {
|
|
80
80
|
</div>
|
81
81
|
<div className='flex justify-between px-4 tb:px-0 tb:justify-start tb-l:justify-between flex-1 flex-wrap gap-y-10 tb:gap-y-16'>
|
82
82
|
{
|
83
|
-
props.footerLinks.map((footerLink, index) =>(
|
83
|
+
props.footerLinks.map((footerLink, index) => (
|
84
84
|
<div key={index} className='min-w-[130px] db-s:min-w-fit'>
|
85
85
|
<Typography textStyle='body3c-semi-bold' className='text-neutral-600'>{footerLink.title}</Typography>
|
86
86
|
{
|
@@ -98,7 +98,7 @@ export default function V3Footer(props) {
|
|
98
98
|
<div className='flex flex-col tb-m:flex-row items-center justify-between tb:pt-24'>
|
99
99
|
<div className='flex items-center justify-center pt-10 tb-m:pt-0 pb-4 tb-m:pb-0 tb-m:justify-start'>
|
100
100
|
{
|
101
|
-
socialShare.map((icon, index)=>(
|
101
|
+
socialShare.map((icon, index) => (
|
102
102
|
<a href={icon.linkUrl} className='mx-2 tb-l:mx-4 first:ml-0 last:mr-0 [&>svg>path]:fill-neutral-400 [&>svg>path]:hover:fill-neutral-600'>
|
103
103
|
{icon.icon}
|
104
104
|
</a>
|
@@ -106,10 +106,14 @@ export default function V3Footer(props) {
|
|
106
106
|
}
|
107
107
|
</div>
|
108
108
|
{isItems && !isError && (
|
109
|
-
|
110
|
-
<
|
111
|
-
|
112
|
-
|
109
|
+
<>
|
110
|
+
<a href='https://status.hasura.io/' className=''>
|
111
|
+
<div className=' bg-neutral-0 rounded-full shadow hover:shadow-lg transition-all duration-300 px-4 py-2 inline-flex justify-center items-center'>
|
112
|
+
<div className='w-4 h-4 bg-green-400 rounded-full mr-2'></div>
|
113
|
+
<Typography textStyle='body3' className='text-neutral-1000'>{isItems?.status.description}</Typography>
|
114
|
+
</div>
|
115
|
+
</a>
|
116
|
+
</>
|
113
117
|
)}
|
114
118
|
<div>
|
115
119
|
<Typography textStyle='body3c' className='text-neutral-600 pt-4 tb-m:pt-0'>© {new Date().getFullYear()} Hasura Inc. All rights reserved</Typography>
|
@@ -301,4 +305,4 @@ V3Footer.defaultProps = {
|
|
301
305
|
]
|
302
306
|
},
|
303
307
|
],
|
304
|
-
}
|
308
|
+
}
|
package/src/styles/tailwind.css
CHANGED
@@ -1591,6 +1591,10 @@ select{
|
|
1591
1591
|
max-height: 100%;
|
1592
1592
|
}
|
1593
1593
|
|
1594
|
+
.min-h-\[12px\]{
|
1595
|
+
min-height: 12px;
|
1596
|
+
}
|
1597
|
+
|
1594
1598
|
.min-h-\[20px\]{
|
1595
1599
|
min-height: 20px;
|
1596
1600
|
}
|
@@ -1773,12 +1777,16 @@ select{
|
|
1773
1777
|
min-width: 11.5rem;
|
1774
1778
|
}
|
1775
1779
|
|
1780
|
+
.min-w-\[110px\]{
|
1781
|
+
min-width: 110px;
|
1782
|
+
}
|
1783
|
+
|
1776
1784
|
.min-w-\[112px\]{
|
1777
1785
|
min-width: 112px;
|
1778
1786
|
}
|
1779
1787
|
|
1780
|
-
.min-w-\[
|
1781
|
-
min-width:
|
1788
|
+
.min-w-\[12px\]{
|
1789
|
+
min-width: 12px;
|
1782
1790
|
}
|
1783
1791
|
|
1784
1792
|
.min-w-\[169px\]{
|
@@ -1827,6 +1835,10 @@ select{
|
|
1827
1835
|
min-width: 100%;
|
1828
1836
|
}
|
1829
1837
|
|
1838
|
+
.min-w-\[130px\]{
|
1839
|
+
min-width: 130px;
|
1840
|
+
}
|
1841
|
+
|
1830
1842
|
.max-w-2xl{
|
1831
1843
|
max-width: 42rem;
|
1832
1844
|
}
|
@@ -5911,6 +5923,10 @@ select{
|
|
5911
5923
|
stroke-width: 2;
|
5912
5924
|
}
|
5913
5925
|
|
5926
|
+
.stroke-\[1\.5\]{
|
5927
|
+
stroke-width: 1.5;
|
5928
|
+
}
|
5929
|
+
|
5914
5930
|
.stroke-\[1\.5px\]{
|
5915
5931
|
stroke-width: 1.5px;
|
5916
5932
|
}
|
@@ -7481,6 +7497,51 @@ select{
|
|
7481
7497
|
}
|
7482
7498
|
}
|
7483
7499
|
|
7500
|
+
@-webkit-keyframes up-right {
|
7501
|
+
0% {
|
7502
|
+
-webkit-transform: scale(1);
|
7503
|
+
transform: scale(1);
|
7504
|
+
opacity: 0.25;
|
7505
|
+
}
|
7506
|
+
|
7507
|
+
50% {
|
7508
|
+
-webkit-transform: scale (1, 5);
|
7509
|
+
transform: scale (1, 5);
|
7510
|
+
opacity: 1;
|
7511
|
+
}
|
7512
|
+
|
7513
|
+
100% {
|
7514
|
+
-webkit-transform: scale(1);
|
7515
|
+
transform: scale(1);
|
7516
|
+
opacity: 0.25;
|
7517
|
+
}
|
7518
|
+
}
|
7519
|
+
|
7520
|
+
@keyframes up-right {
|
7521
|
+
0% {
|
7522
|
+
-webkit-transform: scale(1);
|
7523
|
+
transform: scale(1);
|
7524
|
+
opacity: 0.25;
|
7525
|
+
}
|
7526
|
+
|
7527
|
+
50% {
|
7528
|
+
-webkit-transform: scale (1, 5);
|
7529
|
+
transform: scale (1, 5);
|
7530
|
+
opacity: 1;
|
7531
|
+
}
|
7532
|
+
|
7533
|
+
100% {
|
7534
|
+
-webkit-transform: scale(1);
|
7535
|
+
transform: scale(1);
|
7536
|
+
opacity: 0.25;
|
7537
|
+
}
|
7538
|
+
}
|
7539
|
+
|
7540
|
+
.blinking {
|
7541
|
+
-webkit-animation: up-right 1s infinite;
|
7542
|
+
animation: up-right 1s infinite;
|
7543
|
+
}
|
7544
|
+
|
7484
7545
|
.card-animation-wrapper {
|
7485
7546
|
position: relative;
|
7486
7547
|
}
|
@@ -8589,6 +8650,10 @@ select{
|
|
8589
8650
|
margin-right: 0px;
|
8590
8651
|
}
|
8591
8652
|
|
8653
|
+
.last\:justify-start:last-child{
|
8654
|
+
justify-content: flex-start;
|
8655
|
+
}
|
8656
|
+
|
8592
8657
|
.last\:rounded-r-full:last-child{
|
8593
8658
|
border-top-right-radius: 9999px;
|
8594
8659
|
border-bottom-right-radius: 9999px;
|
@@ -9731,6 +9796,12 @@ select{
|
|
9731
9796
|
}
|
9732
9797
|
}
|
9733
9798
|
|
9799
|
+
@media not all and (min-width: 400px){
|
9800
|
+
.max-mb-m\:last\:justify-start:last-child{
|
9801
|
+
justify-content: flex-start;
|
9802
|
+
}
|
9803
|
+
}
|
9804
|
+
|
9734
9805
|
@media (max-width: 369px){
|
9735
9806
|
.max-\[369px\]\:mt-8{
|
9736
9807
|
margin-top: 2rem;
|
@@ -9832,6 +9903,10 @@ select{
|
|
9832
9903
|
.mb-m\:pt-0{
|
9833
9904
|
padding-top: 0px;
|
9834
9905
|
}
|
9906
|
+
|
9907
|
+
.mb-m\:last\:justify-start:last-child{
|
9908
|
+
justify-content: flex-start;
|
9909
|
+
}
|
9835
9910
|
}
|
9836
9911
|
|
9837
9912
|
@media (min-width: 600px){
|
@@ -11456,4 +11531,4 @@ select{
|
|
11456
11531
|
.\[\&\>ul\]\:ps-4>ul{
|
11457
11532
|
-webkit-padding-start: 1rem;
|
11458
11533
|
padding-inline-start: 1rem;
|
11459
|
-
}
|
11534
|
+
}
|
package/tailwind.config.js
CHANGED