@rileybathurst/paddle 1.0.8 → 1.0.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 +1 -1
- package/src/PaddleLocationCard.tsx +7 -17
package/package.json
CHANGED
|
@@ -18,11 +18,11 @@ type PlaceTypes = {
|
|
|
18
18
|
const Place = ({ commonName, streetAddress, addressLocality, addressRegion, postalCode }: PlaceTypes) => {
|
|
19
19
|
return (
|
|
20
20
|
<address>
|
|
21
|
-
{commonName ? commonName : null}
|
|
22
|
-
{streetAddress ? streetAddress : null}
|
|
23
|
-
{addressLocality ? addressLocality : null}
|
|
24
|
-
{addressRegion ? addressRegion : null}
|
|
25
|
-
{postalCode ? postalCode : null}
|
|
21
|
+
{commonName ? (<>{commonName}, </>) : null},
|
|
22
|
+
{streetAddress ? (<>{streetAddress}, </>) : null}
|
|
23
|
+
{addressLocality ? (<>{addressLocality}, </>) : null}
|
|
24
|
+
{addressRegion ? (<>{addressRegion}, </>) : null}
|
|
25
|
+
{postalCode ? (<>{postalCode}, </>) : null}
|
|
26
26
|
</address>
|
|
27
27
|
)
|
|
28
28
|
}
|
|
@@ -62,13 +62,9 @@ const Season = ({
|
|
|
62
62
|
return (
|
|
63
63
|
<p>
|
|
64
64
|
{opening_time ? "Open Daily: " : null}
|
|
65
|
-
<br />
|
|
66
65
|
{opening_time && closing_time ? (
|
|
67
|
-
<
|
|
68
|
-
<HourMin time={opening_time} /> - <HourMin time={closing_time} />
|
|
69
|
-
</span>
|
|
66
|
+
<><HourMin time={opening_time} /> - <HourMin time={closing_time} /> </>
|
|
70
67
|
) : null}
|
|
71
|
-
<br />
|
|
72
68
|
Weather Permitting
|
|
73
69
|
</p>
|
|
74
70
|
);
|
|
@@ -80,13 +76,7 @@ const Season = ({
|
|
|
80
76
|
<p>We're closed for the season</p>
|
|
81
77
|
|
|
82
78
|
{currentDay < seasonStartDate ? (
|
|
83
|
-
<p>
|
|
84
|
-
We will reopen
|
|
85
|
-
<br />
|
|
86
|
-
{season_start}
|
|
87
|
-
<br />
|
|
88
|
-
Weather Permitting
|
|
89
|
-
</p>
|
|
79
|
+
<p>We will reopen {season_start}, Weather Permitting</p>
|
|
90
80
|
) : null}
|
|
91
81
|
|
|
92
82
|
{offSeasonDetails ? <p>{offSeasonDetails}</p> : null}
|