@teipublisher/pb-components 2.16.0 → 2.18.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ # [2.18.0](https://github.com/eeditiones/tei-publisher-components/compare/v2.17.0...v2.18.0) (2024-01-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **pb-authority-lookup:** only show edit buttons if user is logged in and belongs to right group ([ad43550](https://github.com/eeditiones/tei-publisher-components/commit/ad435501c4f72419378b934525ff0fc0236f70fd))
7
+
8
+
9
+ ### Features
10
+
11
+ * **pb-login,pb-restricted:** pb-login now copies the user information into the global state registry, so it is no longer necessary for pb-restricted to have access to the pb-login element ([e83d248](https://github.com/eeditiones/tei-publisher-components/commit/e83d24855cfb290434479c07207f2c1d042ac458))
12
+
13
+ # [2.17.0](https://github.com/eeditiones/tei-publisher-components/compare/v2.16.0...v2.17.0) (2024-01-14)
14
+
15
+
16
+ ### Features
17
+
18
+ * **pb-leaflet-map:** enable geocoding using the OSM/Nominatim service ([0c6e4a2](https://github.com/eeditiones/tei-publisher-components/commit/0c6e4a2cd5eda0e2dfbaf047b6bf83598b39d605))
19
+
1
20
  # [2.16.0](https://github.com/eeditiones/tei-publisher-components/compare/v2.15.3...v2.16.0) (2024-01-12)
2
21
 
3
22
 
@@ -0,0 +1,126 @@
1
+ .leaflet-control-geocoder {
2
+ border-radius: 4px;
3
+ background: white;
4
+ min-width: 26px;
5
+ min-height: 26px;
6
+ }
7
+
8
+ .leaflet-touch .leaflet-control-geocoder {
9
+ min-width: 30px;
10
+ min-height: 30px;
11
+ }
12
+
13
+ .leaflet-control-geocoder a,
14
+ .leaflet-control-geocoder .leaflet-control-geocoder-icon {
15
+ border-bottom: none;
16
+ display: inline-block;
17
+ }
18
+
19
+ .leaflet-control-geocoder .leaflet-control-geocoder-alternatives a {
20
+ width: inherit;
21
+ height: inherit;
22
+ line-height: inherit;
23
+ }
24
+
25
+ .leaflet-control-geocoder a:hover,
26
+ .leaflet-control-geocoder .leaflet-control-geocoder-icon:hover {
27
+ border-bottom: none;
28
+ display: inline-block;
29
+ }
30
+
31
+ .leaflet-control-geocoder-form {
32
+ display: none;
33
+ vertical-align: middle;
34
+ }
35
+ .leaflet-control-geocoder-expanded .leaflet-control-geocoder-form {
36
+ display: inline-block;
37
+ }
38
+ .leaflet-control-geocoder-form input {
39
+ font-size: 120%;
40
+ border: 0;
41
+ background-color: transparent;
42
+ width: 246px;
43
+ }
44
+
45
+ .leaflet-control-geocoder-icon {
46
+ border-radius: 4px;
47
+ width: 26px;
48
+ height: 26px;
49
+ border: none;
50
+ background-color: white;
51
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.2 13l3.4 6.6c.6 1.1 2.5-.4 2-1.2l-4-6.2z'/%3E%3Ccircle cx='10.8' cy='8.9' r='3.9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
52
+ background-repeat: no-repeat;
53
+ background-position: center;
54
+ cursor: pointer;
55
+ }
56
+
57
+ .leaflet-touch .leaflet-control-geocoder-icon {
58
+ width: 30px;
59
+ height: 30px;
60
+ }
61
+
62
+ .leaflet-control-geocoder-throbber .leaflet-control-geocoder-icon {
63
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23000' stroke-linecap='round' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cdefs/%3E%3Cg%3E%3Cpath stroke-opacity='.1' d='M14 8.4l3-5'/%3E%3Cpath stroke-opacity='.2' d='M15.6 10l5-3'/%3E%3Cpath stroke-opacity='.3' d='M16.2 12H22'/%3E%3Cpath stroke-opacity='.4' d='M15.6 14l5 3m-6.5-1.4l2.9 5'/%3E%3Cpath stroke-opacity='.5' d='M12 16.2V22m-2-6.4l-3 5'/%3E%3Cpath stroke-opacity='.6' d='M8.4 14l-5 3'/%3E%3Cpath stroke-opacity='.7' d='M7.8 12H2'/%3E%3Cpath stroke-opacity='.8' d='M8.4 10l-5-3'/%3E%3Cpath stroke-opacity='.9' d='M10 8.4l-3-5'/%3E%3Cpath d='M12 7.8V2'/%3E%3CanimateTransform attributeName='transform' calcMode='discrete' dur='1s' repeatCount='indefinite' type='rotate' values='0 12 12;30 12 12;60 12 12;90 12 12;120 12 12;150 12 12;180 12 12;210 12 12;240 12 12;270 12 12;300 12 12;330 12 12'/%3E%3C/g%3E%3C/svg%3E");
64
+ }
65
+
66
+ .leaflet-control-geocoder-form-no-error {
67
+ display: none;
68
+ }
69
+
70
+ .leaflet-control-geocoder-form input:focus {
71
+ outline: none;
72
+ }
73
+
74
+ .leaflet-control-geocoder-form button {
75
+ display: none;
76
+ }
77
+ .leaflet-control-geocoder-error {
78
+ margin-top: 8px;
79
+ margin-left: 8px;
80
+ display: block;
81
+ color: #444;
82
+ }
83
+ .leaflet-control-geocoder-alternatives {
84
+ display: block;
85
+ width: 272px;
86
+ list-style: none;
87
+ padding: 0;
88
+ margin: 0;
89
+ }
90
+
91
+ .leaflet-control-geocoder-alternatives-minimized {
92
+ display: none;
93
+ height: 0;
94
+ }
95
+ .leaflet-control-geocoder-alternatives li {
96
+ white-space: nowrap;
97
+ display: block;
98
+ overflow: hidden;
99
+ padding: 5px 8px;
100
+ text-overflow: ellipsis;
101
+ border-bottom: 1px solid #ccc;
102
+ cursor: pointer;
103
+ }
104
+
105
+ .leaflet-control-geocoder-alternatives li a,
106
+ .leaflet-control-geocoder-alternatives li a:hover {
107
+ width: inherit;
108
+ height: inherit;
109
+ line-height: inherit;
110
+ background: inherit;
111
+ border-radius: inherit;
112
+ text-align: left;
113
+ }
114
+
115
+ .leaflet-control-geocoder-alternatives li:last-child {
116
+ border-bottom: none;
117
+ }
118
+ .leaflet-control-geocoder-alternatives li:hover,
119
+ .leaflet-control-geocoder-selected {
120
+ background-color: #f5f5f5;
121
+ }
122
+ .leaflet-control-geocoder-address-detail {
123
+ }
124
+ .leaflet-control-geocoder-address-context {
125
+ color: #666;
126
+ }
@@ -61,7 +61,8 @@
61
61
  "pb-leaflet-map": {
62
62
  "demo/pb-leaflet-map.html": "Demo",
63
63
  "demo/pb-leaflet-map2.html": "Show map on demand",
64
- "demo/pb-leaflet-map3.html": "Map with layers"
64
+ "demo/pb-leaflet-map3.html": "Map with layers",
65
+ "demo/pb-leaflet-map4.html": "Map with geosearch plugin"
65
66
  },
66
67
  "pb-link": {
67
68
  "demo/pb-link.html": "Demo"