hds-web 1.30.5 → 1.30.7

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.30.5",
3
+ "version": "1.30.7",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -16,27 +16,27 @@ export default function EventScheduleCard(props) {
16
16
  <Icon height='h-[18px] w-[18px]' variant='calendar' strokeClass='stroke-neutral-600 stroke-2' />
17
17
  <Typography textStyle='h6' className='capitalize text-neutral-600' >WHEN</Typography>
18
18
  </div>
19
- <div className='text-neutral-700 text-hds-m-sub2'>
19
+ <Typography textStyle='sub2' className='text-neutral-700'>
20
20
  {props.eventDate}
21
- </div>
21
+ </Typography>
22
22
  </div>}
23
23
  {props.eventTime && <div className="flex flex-col tb:px-6 py-4 tb:py-0 gap-1">
24
24
  <div className="flex gap-2 items-center">
25
25
  <Icon height='h-[18px] w-[18px]' variant='clock' strokeClass='stroke-neutral-600 stroke-2' />
26
26
  <Typography textStyle='h6' className='capitalize text-neutral-600' >TIME</Typography>
27
27
  </div>
28
- <div className='text-neutral-700 text-hds-m-sub2'>
28
+ <Typography textStyle='sub2' className='text-neutral-700'>
29
29
  {props.eventTime}
30
- </div>
30
+ </Typography>
31
31
  </div>}
32
32
  {props.eventLocation && <div className="flex flex-col tb:px-6 py-4 tb:py-0 gap-1 ">
33
33
  <div className="flex gap-2 items-center">
34
34
  <Icon height='h-[18px] w-[18px]' variant='markerpin03' strokeClass='stroke-neutral-600 stroke-2' />
35
35
  <Typography textStyle='h6' className='capitalize text-neutral-600' >WHERE</Typography>
36
36
  </div>
37
- <div className='text-neutral-700 text-hds-m-sub2'>
37
+ <Typography textStyle='sub2' className='text-neutral-700'>
38
38
  {props.eventLocation}
39
- </div>
39
+ </Typography>
40
40
  </div>}
41
41
  {props.social && <div className="px-6 flex flex-wrap gap-4 items-center">
42
42
  {props.social && props.social.twitter && <a href={props.social.twitter}>
@@ -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'
@@ -109,7 +110,7 @@ export default function EventScheduleCard(props) {
109
110
  ))}
110
111
 
111
112
  </div>
112
- }
113
+ }
113
114
  </div>
114
115
  </>
115
116
  )