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/dist/index.css +1 -1
- package/dist/index.es.css +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/src/HDS/components/Avatars/profileAvatar.js +1 -1
- package/src/HDS/components/BadgesCaption/badges.js +1 -1
- package/src/HDS/components/Cards/Misc/talkcard2.js +22 -21
- package/src/HDS/components/Cards/TalkDetailCard/talkDetailCard.js +16 -14
- package/src/HDS/components/Tables/tableB.js +2 -2
- package/src/styles/tailwind.css +12 -6
package/package.json
CHANGED
@@ -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
|
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='
|
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
|
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-
|
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
|
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 &&
|
96
|
-
<
|
97
|
-
|
98
|
-
|
99
|
-
<
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
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
|
-
|
56
|
-
|
57
|
-
<
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
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}
|
package/src/styles/tailwind.css
CHANGED
@@ -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-
|
8861
|
-
padding-bottom:
|
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
|
}
|