hds-web 1.4.7 → 1.4.9

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.9",
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'>
@@ -40,16 +40,16 @@ export default function TalkCard2(props) {
40
40
  </div>
41
41
  <div className="tb-l:w-[380px] db:w-[520px] flex flex-col tb:justify-between">
42
42
  <div>
43
- <Typography className='my-2 text-blue-800' textStyle='h5'>{props.title}</Typography>
43
+ <Typography className='mt-2 text-blue-800' textStyle='h5'>{props.title}</Typography>
44
44
  {props.para &&
45
45
  <Typography
46
- className='line-clamp-3 text-neutral-700'
46
+ className='line-clamp-3 mt-2 text-neutral-700'
47
47
  textStyle='body1c'>
48
48
  {props.para}
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}
@@ -8747,6 +8747,10 @@ select {
8747
8747
  display: none;
8748
8748
  }
8749
8749
 
8750
+ .tb-l\:h-full {
8751
+ height: 100%;
8752
+ }
8753
+
8750
8754
  .tb-l\:w-1\/2 {
8751
8755
  width: 50%;
8752
8756
  }
@@ -8817,6 +8821,12 @@ select {
8817
8821
  margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
8818
8822
  }
8819
8823
 
8824
+ .tb-l\:divide-y-2 > :not([hidden]) ~ :not([hidden]) {
8825
+ --tw-divide-y-reverse: 0;
8826
+ border-top-width: calc(2px * calc(1 - var(--tw-divide-y-reverse)));
8827
+ border-bottom-width: calc(2px * var(--tw-divide-y-reverse));
8828
+ }
8829
+
8820
8830
  .tb-l\:self-center {
8821
8831
  align-self: center;
8822
8832
  }
@@ -8857,8 +8867,8 @@ select {
8857
8867
  padding-bottom: 3rem;
8858
8868
  }
8859
8869
 
8860
- .tb-l\:pb-12 {
8861
- padding-bottom: 3rem;
8870
+ .tb-l\:pb-0 {
8871
+ padding-bottom: 0px;
8862
8872
  }
8863
8873
 
8864
8874
  .tb-l\:pb-6 {
@@ -8869,10 +8879,6 @@ select {
8869
8879
  padding-left: 2rem;
8870
8880
  }
8871
8881
 
8872
- .tb-l\:pt-12 {
8873
- padding-top: 3rem;
8874
- }
8875
-
8876
8882
  .tb-l\:text-left {
8877
8883
  text-align: left;
8878
8884
  }