hds-web 1.19.1 → 1.19.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/Menu/flyoutB.js +2 -2
- package/src/HDS/modules/navCard/navCard.js +2 -2
- package/src/styles/tailwind.css +23 -27
- package/tailwind.config.js +5 -5
package/package.json
CHANGED
@@ -21,18 +21,18 @@ export default function FeedbackCard(props) {
|
|
21
21
|
avatarVariant="circle"
|
22
22
|
avatarType="secondary"
|
23
23
|
/>
|
24
|
-
<div className={((props.dividerClass) ? "py-8" : "py-
|
25
|
-
<Typography textStyle='
|
24
|
+
<div className={((props.dividerClass) ? "py-8" : "py-8")}>
|
25
|
+
<Typography textStyle='quote' className='text-neutral-1000'>{props.description}</Typography>
|
26
26
|
</div>
|
27
27
|
</div>
|
28
28
|
<div className=" self-end">
|
29
29
|
{
|
30
30
|
props.dividerClass && (
|
31
|
-
<div className={`${HDSColor(props.dividerClass)} mb-2`}></div>
|
31
|
+
<div className={`${HDSColor(props.dividerClass)} mb-2 tb:mb-8 `}></div>
|
32
32
|
)
|
33
33
|
}
|
34
34
|
<div className={"tb:flex pt-1 tb:pt-0 items-start" + ((props.dividerClass) ? " pt-6" : "mt-0")}>
|
35
|
-
<div className={"border border-neutral-150 p-2 flex items-center justify-center rounded-
|
35
|
+
<div className={"border border-neutral-150 p-2 flex items-center justify-center rounded-[0.7rem] " + logoBg + ((props.dividerClass) ? " w-[80px] h-[60px] min-w-[80px]" : " w-[80px] h-[60px] ")}>
|
36
36
|
<img className="max-h-[20px]" src={props.brandImgUrl} alt={props.brandImgAlt}/>
|
37
37
|
</div>
|
38
38
|
<div className={"pt-4 tb:pt-0 " + ((props.dividerClass) ? "tb:pl-6" : "tb:pl-8")}>
|
@@ -56,7 +56,7 @@ export default function FlyoutB(props) {
|
|
56
56
|
{secondaryBtn.map((btn, index) => (
|
57
57
|
<a key={index} href={btn.cta_link} className="group/btn justify-around cursor-pointer px-2 ">
|
58
58
|
|
59
|
-
<div className=" flex items-center p-
|
59
|
+
<div className=" flex items-center p-2 hover:bg-neutral-100 rounded-xl ">
|
60
60
|
<div className="flex w-full justify-between items-center z-[2]">
|
61
61
|
<div
|
62
62
|
className="flex rounded-lg gap-2 items-center ">
|
@@ -90,7 +90,7 @@ export default function FlyoutB(props) {
|
|
90
90
|
{tertiaryBtn && tertiaryBtn.map((t, index) => (
|
91
91
|
<a key={index} href={t.cta_link} className="group/btn justify-around cursor-pointer px-2 pb-2 ">
|
92
92
|
|
93
|
-
<div className=" flex items-center p-
|
93
|
+
<div className=" flex items-center p-2 hover:bg-neutral-100 rounded-xl ">
|
94
94
|
<div className="flex w-full justify-between items-center z-[2]">
|
95
95
|
<div
|
96
96
|
className="flex rounded-lg gap-2 items-center ">
|
@@ -15,9 +15,9 @@ export default function NavCard(props) {
|
|
15
15
|
return (
|
16
16
|
<>
|
17
17
|
<div className=''>
|
18
|
-
{tabContent.title && <Typography textStyle='
|
18
|
+
{tabContent.title && <Typography textStyle='body1c-semi-bold' className={HDSColor(tabContent.title_color)}>{tabContent.title}</Typography>}
|
19
19
|
|
20
|
-
{tabContent.subTitle && <Typography textStyle='
|
20
|
+
{tabContent.subTitle && <Typography textStyle='body3' className={ 'mt-2 ' + HDSColor(tabContent.sub_title_color)}>{tabContent.subTitle}</Typography>}
|
21
21
|
{tabContent.readMore_cta && <div className="flex">
|
22
22
|
<a href={tabContent.readMore_cta_link ?? ''} >
|
23
23
|
<HDSButton
|
package/src/styles/tailwind.css
CHANGED
@@ -1459,6 +1459,10 @@ select{
|
|
1459
1459
|
margin-top: 70px;
|
1460
1460
|
}
|
1461
1461
|
|
1462
|
+
.mb-8{
|
1463
|
+
margin-bottom: 2rem;
|
1464
|
+
}
|
1465
|
+
|
1462
1466
|
.line-clamp-3{
|
1463
1467
|
overflow: hidden;
|
1464
1468
|
display: -webkit-box;
|
@@ -1618,10 +1622,6 @@ select{
|
|
1618
1622
|
height: 436px;
|
1619
1623
|
}
|
1620
1624
|
|
1621
|
-
.h-\[56px\]{
|
1622
|
-
height: 56px;
|
1623
|
-
}
|
1624
|
-
|
1625
1625
|
.h-\[600px\]{
|
1626
1626
|
height: 600px;
|
1627
1627
|
}
|
@@ -1634,10 +1634,6 @@ select{
|
|
1634
1634
|
height: 80px;
|
1635
1635
|
}
|
1636
1636
|
|
1637
|
-
.h-\[90px\]{
|
1638
|
-
height: 90px;
|
1639
|
-
}
|
1640
|
-
|
1641
1637
|
.h-\[calc\(100\%-16px\)\]{
|
1642
1638
|
height: calc(100% - 16px);
|
1643
1639
|
}
|
@@ -1798,10 +1794,6 @@ select{
|
|
1798
1794
|
width: 103px;
|
1799
1795
|
}
|
1800
1796
|
|
1801
|
-
.w-\[112px\]{
|
1802
|
-
width: 112px;
|
1803
|
-
}
|
1804
|
-
|
1805
1797
|
.w-\[147px\]{
|
1806
1798
|
width: 147px;
|
1807
1799
|
}
|
@@ -1850,14 +1842,14 @@ select{
|
|
1850
1842
|
width: 709px;
|
1851
1843
|
}
|
1852
1844
|
|
1853
|
-
.w-\[72px\]{
|
1854
|
-
width: 72px;
|
1855
|
-
}
|
1856
|
-
|
1857
1845
|
.w-\[80\%\]{
|
1858
1846
|
width: 80%;
|
1859
1847
|
}
|
1860
1848
|
|
1849
|
+
.w-\[80px\]{
|
1850
|
+
width: 80px;
|
1851
|
+
}
|
1852
|
+
|
1861
1853
|
.w-\[90\%\]{
|
1862
1854
|
width: 90%;
|
1863
1855
|
}
|
@@ -1888,10 +1880,6 @@ select{
|
|
1888
1880
|
min-width: 11.5rem;
|
1889
1881
|
}
|
1890
1882
|
|
1891
|
-
.min-w-\[112px\]{
|
1892
|
-
min-width: 112px;
|
1893
|
-
}
|
1894
|
-
|
1895
1883
|
.min-w-\[12px\]{
|
1896
1884
|
min-width: 12px;
|
1897
1885
|
}
|
@@ -1932,8 +1920,8 @@ select{
|
|
1932
1920
|
min-width: 64px;
|
1933
1921
|
}
|
1934
1922
|
|
1935
|
-
.min-w-\[
|
1936
|
-
min-width:
|
1923
|
+
.min-w-\[80px\]{
|
1924
|
+
min-width: 80px;
|
1937
1925
|
}
|
1938
1926
|
|
1939
1927
|
.min-w-fit{
|
@@ -2614,6 +2602,10 @@ select{
|
|
2614
2602
|
border-radius: 1.5rem;
|
2615
2603
|
}
|
2616
2604
|
|
2605
|
+
.rounded-\[0\.7rem\]{
|
2606
|
+
border-radius: 0.7rem;
|
2607
|
+
}
|
2608
|
+
|
2617
2609
|
.rounded-\[32px\]{
|
2618
2610
|
border-radius: 32px;
|
2619
2611
|
}
|
@@ -6792,7 +6784,7 @@ select{
|
|
6792
6784
|
}
|
6793
6785
|
|
6794
6786
|
.text-hds-m-quote{
|
6795
|
-
font-size: 1.
|
6787
|
+
font-size: 1.75rem;
|
6796
6788
|
line-height: 1.5;
|
6797
6789
|
letter-spacing: -0.016em;
|
6798
6790
|
font-weight: 400;
|
@@ -10348,6 +10340,10 @@ select{
|
|
10348
10340
|
margin-top: -4px;
|
10349
10341
|
}
|
10350
10342
|
|
10343
|
+
.tb\:mb-8{
|
10344
|
+
margin-bottom: 2rem;
|
10345
|
+
}
|
10346
|
+
|
10351
10347
|
.tb\:block{
|
10352
10348
|
display: block;
|
10353
10349
|
}
|
@@ -10972,8 +10968,8 @@ select{
|
|
10972
10968
|
}
|
10973
10969
|
|
10974
10970
|
.tb\:text-hds-t-quote{
|
10975
|
-
font-size: 1.
|
10976
|
-
line-height: 1.
|
10971
|
+
font-size: 1.75rem;
|
10972
|
+
line-height: 1.4;
|
10977
10973
|
letter-spacing: -0.016em;
|
10978
10974
|
font-weight: 400;
|
10979
10975
|
}
|
@@ -12033,8 +12029,8 @@ select{
|
|
12033
12029
|
}
|
12034
12030
|
|
12035
12031
|
.db\:text-hds-d-quote{
|
12036
|
-
font-size:
|
12037
|
-
line-height: 1.
|
12032
|
+
font-size: 2rem;
|
12033
|
+
line-height: 1.4;
|
12038
12034
|
letter-spacing: -0.016em;
|
12039
12035
|
font-weight: 400;
|
12040
12036
|
}
|
package/tailwind.config.js
CHANGED
@@ -794,20 +794,20 @@ module.exports = {
|
|
794
794
|
// add more for more breakpoints
|
795
795
|
|
796
796
|
// quote-style
|
797
|
-
'hds-m-quote': ['1.
|
797
|
+
'hds-m-quote': ['1.75rem', {
|
798
798
|
lineHeight: '1.5',
|
799
799
|
letterSpacing: '-0.016em',
|
800
800
|
fontWeight: '400',
|
801
801
|
fontStyle: 'italic',
|
802
802
|
}],
|
803
|
-
'hds-t-quote': ['1.
|
804
|
-
lineHeight: '1.
|
803
|
+
'hds-t-quote': ['1.75rem', {
|
804
|
+
lineHeight: '1.4',
|
805
805
|
letterSpacing: '-0.016em',
|
806
806
|
fontWeight: '400',
|
807
807
|
fontStyle: 'italic',
|
808
808
|
}],
|
809
|
-
'hds-d-quote': ['
|
810
|
-
lineHeight: '1.
|
809
|
+
'hds-d-quote': ['2rem', {
|
810
|
+
lineHeight: '1.4',
|
811
811
|
letterSpacing: '-0.016em',
|
812
812
|
fontWeight: '400',
|
813
813
|
fontStyle: 'italic',
|