hds-web 1.30.4 → 1.30.6

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.30.4",
3
+ "version": "1.30.6",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -66,12 +66,13 @@ export default function EventScheduleCard(props) {
66
66
  return (
67
67
  <>
68
68
  <div>
69
- <div className="pb-2">
70
- {props.eventBadge && <Badges
69
+ {props.eventBadge && <div className="pb-2">
70
+ <Badges
71
71
  color={props.badgeColor ?? 'green'}
72
72
  children={props.eventBadge}
73
- />}
73
+ />
74
74
  </div>
75
+ }
75
76
  {props.title &&
76
77
  <Typography
77
78
  textStyle='h3'
@@ -80,7 +81,7 @@ export default function EventScheduleCard(props) {
80
81
  {props.title}
81
82
  </Typography>}
82
83
  {
83
- (props.eventDate || props.eventTime || props.eventLocation || props.social)
84
+ (props.eventDate || props.eventTime || props.eventLocation || props.social)
84
85
  &&
85
86
  scheduleSection(props)
86
87
  }
@@ -96,18 +97,20 @@ export default function EventScheduleCard(props) {
96
97
  className='text-neutral-700 pb-6'>
97
98
  {props.description}
98
99
  </Typography>}
99
- <div className="pt-6 border-t border-neutral-200 gap-8 flex flex-wrap">
100
- {props.speakers && props.speakers.map((value, index) => (
101
- <div key={index}>
102
- {speakerSection(
103
- value.speakerName,
104
- value.speakerDesignation,
105
- value.speakerImgUrl
106
- )}
107
- </div>
108
- ))}
100
+ {props.speakers &&
101
+ <div className="pt-6 border-t border-neutral-200 gap-8 flex flex-wrap">
102
+ {props.speakers && props.speakers.map((value, index) => (
103
+ <div key={index}>
104
+ {speakerSection(
105
+ value.speakerName,
106
+ value.speakerDesignation,
107
+ value.speakerImgUrl
108
+ )}
109
+ </div>
110
+ ))}
109
111
 
110
- </div>
112
+ </div>
113
+ }
111
114
  </div>
112
115
  </>
113
116
  )