@geops/rvf-mobility-web-component 0.1.9 → 0.1.10

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.
@@ -0,0 +1,19 @@
1
+ import { SVGProps } from "preact/compat";
2
+
3
+ function Minus(props: SVGProps<SVGSVGElement>) {
4
+ return (
5
+ <svg
6
+ fill="currentColor"
7
+ height="24px"
8
+ version="1.1"
9
+ viewBox="0 0 24 24"
10
+ width="24px"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ {...props}
13
+ >
14
+ <path d="M19,10.9999 C19.5522847,10.9999 20,11.4476153 20,11.9999 C20,12.5521847 19.5522847,12.9999 19,12.9999 L5,12.9999 C4.44771525,12.9999 4,12.5521847 4,11.9999 C4,11.4476153 4.44771525,10.9999 5,10.9999 L19,10.9999 Z" />
15
+ </svg>
16
+ );
17
+ }
18
+
19
+ export default Minus;
@@ -0,0 +1 @@
1
+ export { default } from "./Minus";
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>iconfont/minus</title>
4
+ <g id="iconfont/minus" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M19,10.9999 C19.5522847,10.9999 20,11.4476153 20,11.9999 C20,12.5521847 19.5522847,12.9999 19,12.9999 L5,12.9999 C4.44771525,12.9999 4,12.5521847 4,11.9999 C4,11.4476153 4.44771525,10.9999 5,10.9999 L19,10.9999 Z" id="Line-6" fill="#000000" fill-rule="nonzero"></path>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,19 @@
1
+ import { SVGProps } from "preact/compat";
2
+
3
+ function Plus(props: SVGProps<SVGSVGElement>) {
4
+ return (
5
+ <svg
6
+ fill="currentColor"
7
+ height="24px"
8
+ version="1.1"
9
+ viewBox="0 0 24 24"
10
+ width="24px"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ {...props}
13
+ >
14
+ <path d="M12,4 C12.5522847,4 13,4.44771525 13,5 L13,11 L19,11 C19.5128358,11 19.9355072,11.3860402 19.9932723,11.8833789 L20,12 C20,12.5522847 19.5522847,13 19,13 L13,13 L13,19 C13,19.5128358 12.6139598,19.9355072 12.1166211,19.9932723 L12,20 C11.4477153,20 11,19.5522847 11,19 L11,13 L5,13 C4.48716416,13 4.06449284,12.6139598 4.00672773,12.1166211 L4,12 C4,11.4477153 4.44771525,11 5,11 L11,11 L11,5 C11,4.48716416 11.3860402,4.06449284 11.8833789,4.00672773 Z" />
15
+ </svg>
16
+ );
17
+ }
18
+
19
+ export default Plus;
@@ -0,0 +1 @@
1
+ export { default } from "./Plus";
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>iconfont/plus</title>
4
+ <g id="iconfont/plus" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M12,4 C12.5522847,4 13,4.44771525 13,5 L13,11 L19,11 C19.5128358,11 19.9355072,11.3860402 19.9932723,11.8833789 L20,12 C20,12.5522847 19.5522847,13 19,13 L13,13 L13,19 C13,19.5128358 12.6139598,19.9355072 12.1166211,19.9932723 L12,20 C11.4477153,20 11,19.5522847 11,19 L11,13 L5,13 C4.48716416,13 4.06449284,12.6139598 4.00672773,12.1166211 L4,12 C4,11.4477153 4.44771525,11 5,11 L11,11 L11,5 C11,4.48716416 11.3860402,4.06449284 11.8833789,4.00672773 Z" id="Combined-Shape" fill="#000000" fill-rule="nonzero"></path>
6
+ </g>
7
+ </svg>
package/src/index.tsx CHANGED
@@ -10,6 +10,8 @@ register(
10
10
  "apikey",
11
11
  "baselayer",
12
12
  "center",
13
+ "extent",
14
+ "maxextent",
13
15
  "geolocation",
14
16
  "mapsurl",
15
17
  "mots",
@@ -26,14 +26,6 @@ const getClamp = (min, max) => {
26
26
  };
27
27
 
28
28
  export default {
29
- colors: {
30
- darkgray: "#464646", // dark grey
31
- grey: "#7C7C7C", // grey
32
- lightgrey: "#D0D0D0", // light grey
33
- red: "#E3000B", // rvf rot
34
- ultradarkgray: "#2D2D2C", // another grey with no name
35
- ultralightgrey: "#F5F5F5", // ultralight grey
36
- },
37
29
  plugins: [containerQueries],
38
30
  theme: {
39
31
  fontFamily: {
@@ -52,5 +44,24 @@ export default {
52
44
  sm: getClamp(13, 15), // small
53
45
  xl: getClamp(24, 31), // h3
54
46
  },
47
+ extend: {
48
+ colors: {
49
+ darkgray: "#464646", // dark grey
50
+ grey: "#7C7C7C", // grey
51
+ lightgrey: "#D0D0D0", // light grey
52
+ red: "#E3000B", // rvf rot
53
+ ultradarkgray: "#2D2D2C", // another grey with no name
54
+ ultralightgrey: "#F5F5F5", // ultralight grey
55
+ },
56
+ maxWidth: {
57
+ 'button': '40px'
58
+ },
59
+ maxHeight: {
60
+ 'button': '40px'
61
+ },
62
+ padding: {
63
+ '1.75': '7px'
64
+ }
65
+ }
55
66
  },
56
67
  };