@rileybathurst/paddle 1.0.6 → 1.0.8
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 +2 -2
- package/src/PaddleLocationCard.tsx +9 -21
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rileybathurst/paddle",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"description": "building blocks",
|
|
47
47
|
"main": "src/index.tsx",
|
|
48
48
|
"module": "src/index.tsx",
|
|
49
|
-
"author": "",
|
|
49
|
+
"author": "Riley Bathurst <riley@rileybathurst.com> (http://rileybathurst.com/)",
|
|
50
50
|
"license": "ISC",
|
|
51
51
|
"files": [
|
|
52
52
|
"src/*",
|
|
@@ -18,26 +18,11 @@ type PlaceTypes = {
|
|
|
18
18
|
const Place = ({ commonName, streetAddress, addressLocality, addressRegion, postalCode }: PlaceTypes) => {
|
|
19
19
|
return (
|
|
20
20
|
<address>
|
|
21
|
-
{commonName ?
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
) : null}
|
|
27
|
-
{streetAddress ? (
|
|
28
|
-
<span>
|
|
29
|
-
{streetAddress}
|
|
30
|
-
<br />
|
|
31
|
-
</span>
|
|
32
|
-
) : null}
|
|
33
|
-
{addressLocality ? <span>{addressLocality}, </span> : null}
|
|
34
|
-
{addressRegion ? <span>{addressRegion} </span> : null}
|
|
35
|
-
{postalCode ? (
|
|
36
|
-
<span>
|
|
37
|
-
{postalCode}
|
|
38
|
-
<br />
|
|
39
|
-
</span>
|
|
40
|
-
) : null}
|
|
21
|
+
{commonName ? commonName : null}
|
|
22
|
+
{streetAddress ? streetAddress : null}
|
|
23
|
+
{addressLocality ? addressLocality : null}
|
|
24
|
+
{addressRegion ? addressRegion : null}
|
|
25
|
+
{postalCode ? postalCode : null}
|
|
41
26
|
</address>
|
|
42
27
|
)
|
|
43
28
|
}
|
|
@@ -278,8 +263,11 @@ const Content = ({
|
|
|
278
263
|
<>
|
|
279
264
|
<div className="svg" dangerouslySetInnerHTML={{ __html: svg }} />
|
|
280
265
|
|
|
281
|
-
<h3 className="elbrus">{name}</h3>
|
|
282
266
|
<div>
|
|
267
|
+
<div className="multi_button">
|
|
268
|
+
<h3 className="elbrus">{name}</h3>
|
|
269
|
+
</div>
|
|
270
|
+
|
|
283
271
|
{streetAddress ||
|
|
284
272
|
addressLocality ||
|
|
285
273
|
addressRegion ||
|