hds-web 1.19.1 → 1.19.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.19.1",
3
+ "version": "1.19.2",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -21,8 +21,8 @@ export default function FeedbackCard(props) {
21
21
  avatarVariant="circle"
22
22
  avatarType="secondary"
23
23
  />
24
- <div className={((props.dividerClass) ? "py-8" : "py-6")}>
25
- <Typography textStyle='sub2' className='text-neutral-600'>{props.description}</Typography>
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">
@@ -32,7 +32,7 @@ export default function FeedbackCard(props) {
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-2xl " + logoBg + ((props.dividerClass) ? " w-[72px] h-[56px] min-w-[72px]" : " w-[112px] h-[90px] min-w-[112px] ")}>
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-4 hover:bg-neutral-150 rounded-xl ">
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-4 hover:bg-neutral-150 rounded-xl ">
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='h4' className={HDSColor(tabContent.title_color)}>{tabContent.title}</Typography>}
18
+ {tabContent.title && <Typography textStyle='body1c-semi-bold' className={HDSColor(tabContent.title_color)}>{tabContent.title}</Typography>}
19
19
 
20
- {tabContent.subTitle && <Typography textStyle='body1' className={ 'mt-2 ' + HDSColor(tabContent.sub_title_color)}>{tabContent.subTitle}</Typography>}
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
@@ -1618,10 +1618,6 @@ select{
1618
1618
  height: 436px;
1619
1619
  }
1620
1620
 
1621
- .h-\[56px\]{
1622
- height: 56px;
1623
- }
1624
-
1625
1621
  .h-\[600px\]{
1626
1622
  height: 600px;
1627
1623
  }
@@ -1634,10 +1630,6 @@ select{
1634
1630
  height: 80px;
1635
1631
  }
1636
1632
 
1637
- .h-\[90px\]{
1638
- height: 90px;
1639
- }
1640
-
1641
1633
  .h-\[calc\(100\%-16px\)\]{
1642
1634
  height: calc(100% - 16px);
1643
1635
  }
@@ -1798,10 +1790,6 @@ select{
1798
1790
  width: 103px;
1799
1791
  }
1800
1792
 
1801
- .w-\[112px\]{
1802
- width: 112px;
1803
- }
1804
-
1805
1793
  .w-\[147px\]{
1806
1794
  width: 147px;
1807
1795
  }
@@ -1850,14 +1838,14 @@ select{
1850
1838
  width: 709px;
1851
1839
  }
1852
1840
 
1853
- .w-\[72px\]{
1854
- width: 72px;
1855
- }
1856
-
1857
1841
  .w-\[80\%\]{
1858
1842
  width: 80%;
1859
1843
  }
1860
1844
 
1845
+ .w-\[80px\]{
1846
+ width: 80px;
1847
+ }
1848
+
1861
1849
  .w-\[90\%\]{
1862
1850
  width: 90%;
1863
1851
  }
@@ -1888,10 +1876,6 @@ select{
1888
1876
  min-width: 11.5rem;
1889
1877
  }
1890
1878
 
1891
- .min-w-\[112px\]{
1892
- min-width: 112px;
1893
- }
1894
-
1895
1879
  .min-w-\[12px\]{
1896
1880
  min-width: 12px;
1897
1881
  }
@@ -1932,8 +1916,8 @@ select{
1932
1916
  min-width: 64px;
1933
1917
  }
1934
1918
 
1935
- .min-w-\[72px\]{
1936
- min-width: 72px;
1919
+ .min-w-\[80px\]{
1920
+ min-width: 80px;
1937
1921
  }
1938
1922
 
1939
1923
  .min-w-fit{
@@ -2614,6 +2598,10 @@ select{
2614
2598
  border-radius: 1.5rem;
2615
2599
  }
2616
2600
 
2601
+ .rounded-\[0\.7rem\]{
2602
+ border-radius: 0.7rem;
2603
+ }
2604
+
2617
2605
  .rounded-\[32px\]{
2618
2606
  border-radius: 32px;
2619
2607
  }
@@ -6792,7 +6780,7 @@ select{
6792
6780
  }
6793
6781
 
6794
6782
  .text-hds-m-quote{
6795
- font-size: 1.125rem;
6783
+ font-size: 1.75rem;
6796
6784
  line-height: 1.5;
6797
6785
  letter-spacing: -0.016em;
6798
6786
  font-weight: 400;
@@ -10972,8 +10960,8 @@ select{
10972
10960
  }
10973
10961
 
10974
10962
  .tb\:text-hds-t-quote{
10975
- font-size: 1.125rem;
10976
- line-height: 1.5;
10963
+ font-size: 1.75rem;
10964
+ line-height: 1.4;
10977
10965
  letter-spacing: -0.016em;
10978
10966
  font-weight: 400;
10979
10967
  }
@@ -12033,8 +12021,8 @@ select{
12033
12021
  }
12034
12022
 
12035
12023
  .db\:text-hds-d-quote{
12036
- font-size: 1.5rem;
12037
- line-height: 1.5;
12024
+ font-size: 2rem;
12025
+ line-height: 1.4;
12038
12026
  letter-spacing: -0.016em;
12039
12027
  font-weight: 400;
12040
12028
  }
@@ -794,20 +794,20 @@ module.exports = {
794
794
  // add more for more breakpoints
795
795
 
796
796
  // quote-style
797
- 'hds-m-quote': ['1.125rem', {
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.125rem', {
804
- lineHeight: '1.5',
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': ['1.5rem', {
810
- lineHeight: '1.5',
809
+ 'hds-d-quote': ['2rem', {
810
+ lineHeight: '1.4',
811
811
  letterSpacing: '-0.016em',
812
812
  fontWeight: '400',
813
813
  fontStyle: 'italic',