@hotosm/ui 0.5.0 → 0.6.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/README.md +14 -6
- package/dist/chunks/chunk.3LBUXCAP.js +1 -0
- package/dist/chunks/chunk.7PROWJNJ.js +122 -0
- package/dist/chunks/chunk.AL4CJN73.js +1 -0
- package/dist/chunks/chunk.BORCUX2M.js +1 -0
- package/dist/chunks/chunk.G6ZZSFVM.js +1 -0
- package/dist/chunks/chunk.KO4EOD3I.js +1 -0
- package/dist/chunks/{chunk.XNZFLEXO.js → chunk.MZOQNTPX.js} +1 -1
- package/dist/chunks/chunk.OICCPCO3.js +1 -0
- package/dist/chunks/{chunk.GLN7KYWH.js → chunk.ORZ5STBX.js} +1 -1
- package/dist/chunks/chunk.SBUFNOMY.js +1 -0
- package/dist/chunks/{chunk.7G6VEQ2R.js → chunk.U4AAC5ID.js} +1 -1
- package/dist/chunks/chunk.XEZQ5ZRE.js +1 -0
- package/dist/components/consent/consent.component.js +1 -1
- package/dist/components/consent/consent.js +1 -1
- package/dist/components/consent/consent.styles.js +1 -1
- package/dist/components/file-input-dropzone/file-input-dropzone.component.js +1 -1
- package/dist/components/file-input-dropzone/file-input-dropzone.js +1 -1
- package/dist/components/header/header.component.js +1 -1
- package/dist/components/header/header.js +1 -1
- package/dist/components/icons.js +1 -1
- package/dist/components/list-card/list-card.js +1 -1
- package/dist/components/logo/logo.js +1 -1
- package/dist/components/tool-menu/tool-menu.js +1 -1
- package/dist/components/tracking/tracking.component.js +1 -1
- package/dist/components/tracking/tracking.js +1 -1
- package/dist/hotosm-ui.js +1 -1
- package/dist/style.css +5 -3
- package/dist/themes/hot-wa.css +3 -3
- package/package.json +3 -3
- package/dist/chunks/chunk.3RPYDHJV.js +0 -1
- package/dist/chunks/chunk.5NFC3HMD.js +0 -1
- package/dist/chunks/chunk.EB2T3VFE.js +0 -122
- package/dist/chunks/chunk.M3ZIZPKF.js +0 -1
- package/dist/chunks/chunk.SLA5IPJG.js +0 -1
- package/dist/chunks/chunk.TMMJP2DW.js +0 -1
- package/dist/chunks/chunk.VXTJYHK5.js +0 -1
- package/dist/chunks/chunk.W372S2KG.js +0 -1
- package/dist/chunks/chunk.XDXYJBLZ.js +0 -1
package/README.md
CHANGED
|
@@ -72,12 +72,12 @@ components, such as:
|
|
|
72
72
|
## Quick start
|
|
73
73
|
|
|
74
74
|
Current HOTOSM UI version used: `0.3.1-b5`
|
|
75
|
-
Current WebAwesome version used: `3.
|
|
75
|
+
Current WebAwesome version used: `3.2.1`
|
|
76
76
|
|
|
77
77
|
### Install WebAwesome
|
|
78
78
|
|
|
79
79
|
```bash
|
|
80
|
-
pnpm install "@awesome.me/webawesome@3.
|
|
80
|
+
pnpm install "@awesome.me/webawesome@3.2.1"
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
> [!NOTE]
|
|
@@ -153,8 +153,10 @@ If you are working directly in HTML, or other ways without a configured
|
|
|
153
153
|
bundler, you can import all the components as a bundle, as use them like so:
|
|
154
154
|
|
|
155
155
|
```html
|
|
156
|
-
<!-- The importmap is required to resolve @awesome.me/webawesome
|
|
157
|
-
|
|
156
|
+
<!-- The importmap is required to resolve @awesome.me/webawesome
|
|
157
|
+
imports in hotosm/ui -->
|
|
158
|
+
<!-- It's also vital to import from dist-cdn to avoid
|
|
159
|
+
needing to import subdependencies for webawesome -->
|
|
158
160
|
<head>
|
|
159
161
|
<script type="importmap">
|
|
160
162
|
{
|
|
@@ -163,8 +165,14 @@ bundler, you can import all the components as a bundle, as use them like so:
|
|
|
163
165
|
}
|
|
164
166
|
}
|
|
165
167
|
</script>
|
|
166
|
-
<script
|
|
167
|
-
|
|
168
|
+
<script
|
|
169
|
+
type="module"
|
|
170
|
+
src="https://cdn.jsdelivr.net/npm/@awesome.me/webawesome@3.0.0/dist-cdn/webawesome.loader.js"
|
|
171
|
+
></script>
|
|
172
|
+
<script
|
|
173
|
+
type="module"
|
|
174
|
+
src="https://cdn.jsdelivr.net/npm/@hotosm/ui@0.4.0/dist/hotosm-ui.js"
|
|
175
|
+
></script>
|
|
168
176
|
</head>
|
|
169
177
|
|
|
170
178
|
<body>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"./chunk.BD4Q32VT.js";var t=o;customElements.get("hot-logo")||customElements.define("hot-logo",o);export{t as a};
|