hds-web 1.24.9 → 1.25.1

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.24.9",
3
+ "version": "1.25.1",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -12,36 +12,33 @@ export default function EventScheduleCard(props) {
12
12
  const scheduleSection = () => (
13
13
  <div className="flex tb:divide-x divide-y tb:divide-y-0 divide-neutral-200 py-6 tb:flex-row flex-col">
14
14
 
15
- <div className="flex flex-col tb:pr-6 pb-4 tb:pb-0">
15
+ {props.eventDate && <div className="flex flex-col tb:pr-6 pb-4 tb:pb-0 gap-1">
16
16
  <div className="flex gap-2">
17
17
  <Icon height='h-[18px] w-[18px]' variant='calendar' strokeClass='stroke-neutral-600' />
18
18
  <Typography textStyle='h6' className='capitalize text-neutral-600' >WHEN</Typography>
19
19
  </div>
20
- <Typography textStyle='sub2' className='text-neutral-700'>
21
-
22
- {/* date */}2.00-5.00 PM PT
23
- </Typography>
24
- </div>
25
- <div className="flex flex-col tb:px-6 py-4 tb:py-0">
20
+ <div className='text-neutral-700 text-hds-m-sub2'>
21
+ {props.eventDate}
22
+ </div>
23
+ </div>}
24
+ {props.eventTime && <div className="flex flex-col tb:px-6 py-4 tb:py-0 gap-1">
26
25
  <div className="flex gap-2">
27
26
  <Icon height='h-[18px] w-[18px]' variant='clock' strokeClass='stroke-neutral-600' />
28
27
  <Typography textStyle='h6' className='capitalize text-neutral-600' >TIME</Typography>
29
28
  </div>
30
- <Typography textStyle='sub2' className='text-neutral-700'>
31
-
32
- {/* date */}2.00-5.00 PM PT
33
- </Typography>
34
- </div>
35
- <div className="flex flex-col tb:px-6 py-4 tb:py-0 ">
29
+ <div className='text-neutral-700 text-hds-m-sub2'>
30
+ {props.eventTime}
31
+ </div>
32
+ </div>}
33
+ {props.eventLocation && <div className="flex flex-col tb:px-6 py-4 tb:py-0 gap-1 ">
36
34
  <div className="flex gap-2">
37
35
  <Icon height='h-[18px] w-[18px]' variant='markerpin03' strokeClass='stroke-neutral-600' />
38
36
  <Typography textStyle='h6' className='capitalize text-neutral-600' >WHERE</Typography>
39
37
  </div>
40
- <Typography textStyle='sub2' className='text-neutral-700'>
41
-
42
- {/* date */}TopGolf El Segundo
43
- </Typography>
44
- </div>
38
+ <div className='text-neutral-700 text-hds-m-sub2'>
39
+ {props.eventLocation}
40
+ </div>
41
+ </div>}
45
42
  <div className="px-6">
46
43
  {/* share button */}
47
44
  share