hds-web 1.4.7 → 1.4.8

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.4.7",
3
+ "version": "1.4.8",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -10,7 +10,7 @@ const imgSizes = {
10
10
  'lg': 'h-[60px] w-[60px]',
11
11
  }
12
12
  const AvatarVariant = {
13
- 'circular': 'shadow rounded-full border-[1.5px] border-neutral-0',
13
+ 'circular': 'shadow rounded-full ',
14
14
  'square': 'rounded-lg',
15
15
  }
16
16
 
@@ -58,7 +58,7 @@ export default function Badge({
58
58
  <Icon height={'h-4 w-4 stroke-[1.5px]'} variant={leftIconVariant} strokeColor={leftIconColor} strokeClass={HDSColor(leftIconColorClass)} />
59
59
  </div>
60
60
  )}
61
- <Typography textStyle='body3c-medium'>{children}</Typography>
61
+ <Typography textStyle='body3c'>{children}</Typography>
62
62
 
63
63
  {rightIconVariant && rightIconVariant !== 'none' && (
64
64
  <div className='ml-1'>
@@ -49,7 +49,7 @@ export default function TalkCard2(props) {
49
49
  </Typography>
50
50
  }
51
51
  </div>
52
- <div className="pb-6 flex">
52
+ <div className="flex pb-6 tb-l:pb-0">
53
53
  {props.readUrl &&
54
54
  props.para && (
55
55
  <a href={props.readUrl}>
@@ -72,10 +72,10 @@ export default function TalkCard2(props) {
72
72
  </div>
73
73
  </div>
74
74
 
75
- <div className={`${CardClass} divide-y divide-neutral-150 flex tb-l:w-full flex-col pt-0`} >
75
+ <div className={`${CardClass} tb-l:divide-y-2 divide-neutral-200 flex tb-l:w-full flex-col pt-0`} >
76
76
  {
77
77
  props.speakerSet && (
78
- <div className="px-6 pt-6 border-t border-neutral-200 tb-l:border-0 flex gap-6 tb-l:pt-12 tb:mt-0 tb-l:pb-12 pb-6 flex-col ">
78
+ <div className="px-6 py-6 border-t border-neutral-200 flex flex-col gap-6 tb:mt-0 tb-l:border-0 tb-l:h-full tb-l:justify-center ">
79
79
  {props.speakerSet.map((value, i) => (
80
80
  <div key={i} className="block">
81
81
 
@@ -92,22 +92,23 @@ export default function TalkCard2(props) {
92
92
  </div>
93
93
  )
94
94
  }
95
- {props.eventTime && <div className=" w-full pl-6 p-6 flex flex-row justify-between items-center">
96
- <Typography textStyle='h6' className='text-blue-800 uppercase'>{props.eventTime}</Typography>
97
- {props.addCalendarUrl &&
98
- <a href={props.addCalendarUrl}>
99
- <HDSButton
100
- leftIconVariant='calendarplus02'
101
- leftIconColor="#1E56E3"
102
- rightIconVariant='none'
103
- state='default'
104
- size='sm'
105
- type="iconOnly"
106
- label=''
107
- />
108
- </a>
109
- }
110
- </div>}
95
+ {props.eventTime &&
96
+ <div className="border-t border-neutral-200 tb-l:border-0 w-full pl-6 p-6 flex flex-row justify-between items-center">
97
+ <Typography textStyle='h6' className='text-blue-800 uppercase'>{props.eventTime}</Typography>
98
+ {props.addCalendarUrl &&
99
+ <a href={props.addCalendarUrl}>
100
+ <HDSButton
101
+ leftIconVariant='calendarplus02'
102
+ leftIconColor="#1E56E3"
103
+ rightIconVariant='none'
104
+ state='default'
105
+ size='sm'
106
+ type="iconOnly"
107
+ label=''
108
+ />
109
+ </a>
110
+ }
111
+ </div>}
111
112
  </div>
112
113
  </div>
113
114
  </div>
@@ -51,20 +51,22 @@ export default function TalkDetailCard(props) {
51
51
  props.speaker_card && (
52
52
  <div>
53
53
  <Typography textStyle='h6' as='h6' className='uppercase text-neutral-500 pb-6 pt-8 tb:pt-14'>speakers</Typography>
54
- {
55
- props.speaker_card.map((speaker, i) => (
56
- <div className='pb-4 last:pb-0'>
57
- <ProfileAvatar
58
- name={speaker.name}
59
- size='md'
60
- designation={speaker.designation}
61
- imageUrl={speaker.imageUrl}
62
- avatarVariant="circle"
63
- avatarBgColor={props.avatarBgColor}
64
- />
65
- </div>
66
- ))
67
- }
54
+ <div className="flex flex-row flex-wrap tb:gap-3 gap-2">
55
+ {
56
+ props.speaker_card.map((speaker, i) => (
57
+ <div key={i} className='pb-4 last:pb-0'>
58
+ <ProfileAvatar
59
+ name={speaker.name}
60
+ size='md'
61
+ designation={speaker.designation}
62
+ imageUrl={speaker.imageUrl}
63
+ avatarVariant="circle"
64
+ avatarBgColor={props.avatarBgColor}
65
+ />
66
+ </div>
67
+ ))
68
+ }
69
+ </div>
68
70
  </div>
69
71
  )
70
72
  }
@@ -94,7 +94,7 @@ export default function TableB(props) {
94
94
  </Typography>
95
95
  )}
96
96
  </div>
97
- <div className=' mt-11 rounded-full shadow tb-l:hidden'>
97
+ <div className=' mt-11 p-2 bg-neutral-0 rounded-full shadow tb-l:hidden'>
98
98
  <Tab onTabClick={handleTabClick} tabs={tabs} />
99
99
  </div>
100
100
  </div>
@@ -170,7 +170,7 @@ export default function TableB(props) {
170
170
  <div className="mt-12 bg-neutral-0 rounded-3xl ">
171
171
  <table className="min-w-full shadow tableclss rounded-3xl ">
172
172
  <thead>
173
- <tr className='divide-x divide-neutral-200 text-center rounded-t-3xl'>
173
+ <tr className='divide-x border-b border-neutral-200 divide-neutral-200 text-center rounded-t-3xl'>
174
174
  {Object.keys(TABLE_HEADER).map((key, index) => (
175
175
  <th
176
176
  key={index}
@@ -2015,6 +2015,12 @@ select {
2015
2015
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
2016
2016
  }
2017
2017
 
2018
+ .divide-y-2 > :not([hidden]) ~ :not([hidden]) {
2019
+ --tw-divide-y-reverse: 0;
2020
+ border-top-width: calc(2px * calc(1 - var(--tw-divide-y-reverse)));
2021
+ border-bottom-width: calc(2px * var(--tw-divide-y-reverse));
2022
+ }
2023
+
2018
2024
  .divide-blue-600\/10 > :not([hidden]) ~ :not([hidden]) {
2019
2025
  border-color: rgb(30 86 227 / 0.1);
2020
2026
  }
@@ -8747,6 +8753,10 @@ select {
8747
8753
  display: none;
8748
8754
  }
8749
8755
 
8756
+ .tb-l\:h-full {
8757
+ height: 100%;
8758
+ }
8759
+
8750
8760
  .tb-l\:w-1\/2 {
8751
8761
  width: 50%;
8752
8762
  }
@@ -8817,6 +8827,12 @@ select {
8817
8827
  margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
8818
8828
  }
8819
8829
 
8830
+ .tb-l\:divide-y-2 > :not([hidden]) ~ :not([hidden]) {
8831
+ --tw-divide-y-reverse: 0;
8832
+ border-top-width: calc(2px * calc(1 - var(--tw-divide-y-reverse)));
8833
+ border-bottom-width: calc(2px * var(--tw-divide-y-reverse));
8834
+ }
8835
+
8820
8836
  .tb-l\:self-center {
8821
8837
  align-self: center;
8822
8838
  }
@@ -8857,6 +8873,11 @@ select {
8857
8873
  padding-bottom: 3rem;
8858
8874
  }
8859
8875
 
8876
+ .tb-l\:px-6 {
8877
+ padding-left: 1.5rem;
8878
+ padding-right: 1.5rem;
8879
+ }
8880
+
8860
8881
  .tb-l\:pb-12 {
8861
8882
  padding-bottom: 3rem;
8862
8883
  }
@@ -8873,6 +8894,18 @@ select {
8873
8894
  padding-top: 3rem;
8874
8895
  }
8875
8896
 
8897
+ .tb-l\:pb-8 {
8898
+ padding-bottom: 2rem;
8899
+ }
8900
+
8901
+ .tb-l\:pt-8 {
8902
+ padding-top: 2rem;
8903
+ }
8904
+
8905
+ .tb-l\:pb-0 {
8906
+ padding-bottom: 0px;
8907
+ }
8908
+
8876
8909
  .tb-l\:text-left {
8877
8910
  text-align: left;
8878
8911
  }