world-clock-strip 0.2.0 → 0.2.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/README.md CHANGED
@@ -18,7 +18,13 @@ Reusable `world-clock-strip` web component extracted from the Dashboard web app.
18
18
 
19
19
  ## Install
20
20
 
21
- If the repo is private, install from GitHub with access:
21
+ Install from npm:
22
+
23
+ ```bash
24
+ npm install world-clock-strip
25
+ ```
26
+
27
+ If you want to install directly from GitHub instead:
22
28
 
23
29
  ```bash
24
30
  npm install git+ssh://git@github.com/steve777/World-Clock.git
@@ -114,6 +120,7 @@ Types:
114
120
  - `locations`
115
121
  - `weatherEnabled`
116
122
  - `weatherEndpoint`
123
+ - `weatherAssetBaseUrl`
117
124
  - `weatherOverrides`
118
125
  - `visualPreset`
119
126
  - `readOnly`
@@ -188,6 +195,14 @@ If your app already has a backend route:
188
195
  clock.weatherEndpoint = "/api/weather/clocks";
189
196
  ```
190
197
 
198
+ By default, the published package loads weather art from the package CDN so installed consumers render correctly without extra asset copying.
199
+
200
+ If you want to self-host the weather art instead:
201
+
202
+ ```ts
203
+ clock.weatherAssetBaseUrl = "/vendor/world-clock/weather/";
204
+ ```
205
+
191
206
  ## Docker
192
207
 
193
208
  ```bash