hds-web 1.19.2 → 1.19.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.19.2",
3
+ "version": "1.19.4",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -17,6 +17,7 @@ export default function AnnouncementMd(props) {
17
17
  const bgClass = props.bgColorClass ? HDSColor(props.bgColorClass) : 'bg-neutral-0';
18
18
  const linkTextClass = props.linkTextColorClass ? HDSColor(props.linkTextColorClass) : 'text-neutral-600';
19
19
  const tagClass = props.tagColor ? props.tagColor : 'purple';
20
+ const iconBgClass = props.iconBgColor ? HDSColor(props.iconBgColor) : 'bg-blue-200'
20
21
  if (isBannerActive) {
21
22
  return (
22
23
  <div className="py-6">
@@ -24,8 +25,15 @@ export default function AnnouncementMd(props) {
24
25
  <div className="block items-center tb:flex tb:justify-center">
25
26
  {
26
27
  props.brandImg && (
27
- <div className="pl-3 tb:pl-14">
28
- <img className="max-h-[34px]" src={props.brandImg} alt={props.brandImgAlt} />
28
+ <div className="pl-3 tb:pl-14 tb:pr-2">
29
+ <img className="max-h-[32px]" src={props.brandImg} alt={props.brandImgAlt} />
30
+ </div>
31
+ )
32
+ }
33
+ {
34
+ props.iconBgColor && (
35
+ <div className={`${iconBgClass} ml-3 tb:ml-14 tb:mr-2 w-8 h-8 min-w-[32px] rounded-full flex items-center justify-center`}>
36
+ <Icon height={'block w-5 h-5 stroke-[2px] transition ease-in-out'} variant={props.iconVariant} strokeClass='stroke-neutral-1000' />
29
37
  </div>
30
38
  )
31
39
  }
@@ -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-8")}>
25
- <Typography textStyle='quote' className='text-neutral-1000'>{props.description}</Typography>
24
+ <div className={((props.dividerClass) ? "py-8" : "py-6")}>
25
+ <Typography textStyle='sub2' className='text-neutral-600'>{props.description}</Typography>
26
26
  </div>
27
27
  </div>
28
28
  <div className=" self-end">
@@ -31,11 +31,11 @@ export default function FeedbackCard(props) {
31
31
  <div className={`${HDSColor(props.dividerClass)} mb-2`}></div>
32
32
  )
33
33
  }
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-[0.7rem] " + logoBg + ((props.dividerClass) ? " w-[80px] h-[60px] min-w-[80px]" : " w-[80px] h-[60px] ")}>
34
+ <div className={"mb-s:flex 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] ")}>
36
36
  <img className="max-h-[20px]" src={props.brandImgUrl} alt={props.brandImgAlt}/>
37
37
  </div>
38
- <div className={"pt-4 tb:pt-0 " + ((props.dividerClass) ? "tb:pl-6" : "tb:pl-8")}>
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
@@ -43,7 +43,7 @@ export default function Typography(props) {
43
43
  'body3c-medium': 'text-hds-m-body3c-medium tb:text-hds-t-body3c-medium db:text-hds-d-body3c-medium',
44
44
  'body3c-semi-bold': 'text-hds-m-body3c-semi-bold tb:text-hds-t-body3c-semi-bold db:text-hds-d-body3c-semi-bold',
45
45
  'body3c-bold': 'text-hds-m-body3c-bold tb:text-hds-t-body3c-bold db:text-hds-d-body3c-bold',
46
- 'quote': 'font-petrona italic text-hds-m-quote tb:text-hds-t-quote db:text-hds-d-quote',
46
+ 'quote': 'font-petrona font-normal italic text-hds-m-quote tb:text-hds-t-quote db:text-hds-d-quote',
47
47
  'code1': 'text-hds-m-code1 tb:text-hds-t-code1 db:text-hds-d-code1',
48
48
  'code2': 'text-hds-m-code2 tb:text-hds-t-code2 db:text-hds-d-code2',
49
49
  }
@@ -1618,6 +1618,10 @@ select{
1618
1618
  height: 436px;
1619
1619
  }
1620
1620
 
1621
+ .h-\[56px\]{
1622
+ height: 56px;
1623
+ }
1624
+
1621
1625
  .h-\[600px\]{
1622
1626
  height: 600px;
1623
1627
  }
@@ -1630,6 +1634,10 @@ select{
1630
1634
  height: 80px;
1631
1635
  }
1632
1636
 
1637
+ .h-\[90px\]{
1638
+ height: 90px;
1639
+ }
1640
+
1633
1641
  .h-\[calc\(100\%-16px\)\]{
1634
1642
  height: calc(100% - 16px);
1635
1643
  }
@@ -1678,6 +1686,10 @@ select{
1678
1686
  max-height: 100vh;
1679
1687
  }
1680
1688
 
1689
+ .max-h-\[32px\]{
1690
+ max-height: 32px;
1691
+ }
1692
+
1681
1693
  .min-h-\[12px\]{
1682
1694
  min-height: 12px;
1683
1695
  }
@@ -1790,6 +1802,10 @@ select{
1790
1802
  width: 103px;
1791
1803
  }
1792
1804
 
1805
+ .w-\[112px\]{
1806
+ width: 112px;
1807
+ }
1808
+
1793
1809
  .w-\[147px\]{
1794
1810
  width: 147px;
1795
1811
  }
@@ -1838,12 +1854,12 @@ select{
1838
1854
  width: 709px;
1839
1855
  }
1840
1856
 
1841
- .w-\[80\%\]{
1842
- width: 80%;
1857
+ .w-\[72px\]{
1858
+ width: 72px;
1843
1859
  }
1844
1860
 
1845
- .w-\[80px\]{
1846
- width: 80px;
1861
+ .w-\[80\%\]{
1862
+ width: 80%;
1847
1863
  }
1848
1864
 
1849
1865
  .w-\[90\%\]{
@@ -1876,6 +1892,10 @@ select{
1876
1892
  min-width: 11.5rem;
1877
1893
  }
1878
1894
 
1895
+ .min-w-\[112px\]{
1896
+ min-width: 112px;
1897
+ }
1898
+
1879
1899
  .min-w-\[12px\]{
1880
1900
  min-width: 12px;
1881
1901
  }
@@ -1916,8 +1936,8 @@ select{
1916
1936
  min-width: 64px;
1917
1937
  }
1918
1938
 
1919
- .min-w-\[80px\]{
1920
- min-width: 80px;
1939
+ .min-w-\[72px\]{
1940
+ min-width: 72px;
1921
1941
  }
1922
1942
 
1923
1943
  .min-w-fit{
@@ -2598,10 +2618,6 @@ select{
2598
2618
  border-radius: 1.5rem;
2599
2619
  }
2600
2620
 
2601
- .rounded-\[0\.7rem\]{
2602
- border-radius: 0.7rem;
2603
- }
2604
-
2605
2621
  .rounded-\[32px\]{
2606
2622
  border-radius: 32px;
2607
2623
  }
@@ -6452,10 +6468,6 @@ select{
6452
6468
  padding-top: 0px;
6453
6469
  }
6454
6470
 
6455
- .pt-1{
6456
- padding-top: 0.25rem;
6457
- }
6458
-
6459
6471
  .pt-10{
6460
6472
  padding-top: 2.5rem;
6461
6473
  }
@@ -6780,9 +6792,9 @@ select{
6780
6792
  }
6781
6793
 
6782
6794
  .text-hds-m-quote{
6783
- font-size: 1.75rem;
6784
- line-height: 1.5;
6785
- letter-spacing: -0.016em;
6795
+ font-size: 1.125rem;
6796
+ line-height: 1.75rem;
6797
+ letter-spacing: -0.01em;
6786
6798
  font-weight: 400;
6787
6799
  }
6788
6800
 
@@ -10212,6 +10224,18 @@ select{
10212
10224
  .mb-s\:rounded-tr-none{
10213
10225
  border-top-right-radius: 0px;
10214
10226
  }
10227
+
10228
+ .mb-s\:pl-6{
10229
+ padding-left: 1.5rem;
10230
+ }
10231
+
10232
+ .mb-s\:pl-8{
10233
+ padding-left: 2rem;
10234
+ }
10235
+
10236
+ .mb-s\:pt-0{
10237
+ padding-top: 0px;
10238
+ }
10215
10239
  }
10216
10240
 
10217
10241
  @media (min-width: 400px){
@@ -10336,6 +10360,10 @@ select{
10336
10360
  margin-top: -4px;
10337
10361
  }
10338
10362
 
10363
+ .tb\:mr-2{
10364
+ margin-right: 0.5rem;
10365
+ }
10366
+
10339
10367
  .tb\:block{
10340
10368
  display: block;
10341
10369
  }
@@ -10676,14 +10704,6 @@ select{
10676
10704
  padding-left: 3.5rem;
10677
10705
  }
10678
10706
 
10679
- .tb\:pl-6{
10680
- padding-left: 1.5rem;
10681
- }
10682
-
10683
- .tb\:pl-8{
10684
- padding-left: 2rem;
10685
- }
10686
-
10687
10707
  .tb\:pr-0{
10688
10708
  padding-right: 0px;
10689
10709
  }
@@ -10720,6 +10740,10 @@ select{
10720
10740
  padding-top: 2.875rem;
10721
10741
  }
10722
10742
 
10743
+ .tb\:pr-2{
10744
+ padding-right: 0.5rem;
10745
+ }
10746
+
10723
10747
  .tb\:text-left{
10724
10748
  text-align: left;
10725
10749
  }
@@ -10960,9 +10984,9 @@ select{
10960
10984
  }
10961
10985
 
10962
10986
  .tb\:text-hds-t-quote{
10963
- font-size: 1.75rem;
10964
- line-height: 1.4;
10965
- letter-spacing: -0.016em;
10987
+ font-size: 1.125rem;
10988
+ line-height: 1.75rem;
10989
+ letter-spacing: -0.01em;
10966
10990
  font-weight: 400;
10967
10991
  }
10968
10992
 
@@ -12021,9 +12045,9 @@ select{
12021
12045
  }
12022
12046
 
12023
12047
  .db\:text-hds-d-quote{
12024
- font-size: 2rem;
12025
- line-height: 1.4;
12026
- letter-spacing: -0.016em;
12048
+ font-size: 1.5rem;
12049
+ line-height: 2.25rem;
12050
+ letter-spacing: -0.01em;
12027
12051
  font-weight: 400;
12028
12052
  }
12029
12053
 
@@ -155,7 +155,6 @@ module.exports = {
155
155
  },
156
156
  letterSpacing: {
157
157
  tightest: '-.02em',
158
- tighter2: '-0.016em',
159
158
  tighter: '-.015em',
160
159
  tight: '-.01em',
161
160
  normal: '0',
@@ -794,21 +793,21 @@ module.exports = {
794
793
  // add more for more breakpoints
795
794
 
796
795
  // quote-style
797
- 'hds-m-quote': ['1.75rem', {
798
- lineHeight: '1.5',
799
- letterSpacing: '-0.016em',
796
+ 'hds-m-quote': ['1.125rem', {
797
+ lineHeight: '1.75rem',
798
+ letterSpacing: '-0.01em',
800
799
  fontWeight: '400',
801
800
  fontStyle: 'italic',
802
801
  }],
803
- 'hds-t-quote': ['1.75rem', {
804
- lineHeight: '1.4',
805
- letterSpacing: '-0.016em',
802
+ 'hds-t-quote': ['1.125rem', {
803
+ lineHeight: '1.75rem',
804
+ letterSpacing: '-0.01em',
806
805
  fontWeight: '400',
807
806
  fontStyle: 'italic',
808
807
  }],
809
- 'hds-d-quote': ['2rem', {
810
- lineHeight: '1.4',
811
- letterSpacing: '-0.016em',
808
+ 'hds-d-quote': ['1.5rem', {
809
+ lineHeight: '2.25rem',
810
+ letterSpacing: '-0.01em',
812
811
  fontWeight: '400',
813
812
  fontStyle: 'italic',
814
813
  }],