@hotosm/ui 0.4.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 +27 -8
- package/dist/chunks/chunk.3LBUXCAP.js +1 -0
- package/dist/chunks/{chunk.EOTM323U.js → chunk.7BVHA4G6.js} +1 -1
- package/dist/chunks/chunk.7PROWJNJ.js +122 -0
- package/dist/chunks/chunk.AL4CJN73.js +1 -0
- package/dist/chunks/chunk.ARF626EG.js +59 -0
- package/dist/chunks/{chunk.YH5QYI7V.js → chunk.BD4Q32VT.js} +1 -1
- package/dist/chunks/chunk.BORCUX2M.js +1 -0
- package/dist/chunks/chunk.CQO3GWTI.js +32 -0
- package/dist/chunks/chunk.G6ZZSFVM.js +1 -0
- package/dist/chunks/{chunk.EYNFK5TH.js → chunk.GEAU3JJH.js} +1 -1
- package/dist/chunks/chunk.KO4EOD3I.js +1 -0
- package/dist/chunks/{chunk.6TJUNYFL.js → chunk.LHZ7Q2M3.js} +1 -1
- package/dist/chunks/{chunk.BB52VMVE.js → chunk.MZOQNTPX.js} +2 -2
- package/dist/chunks/chunk.OICCPCO3.js +1 -0
- package/dist/chunks/{chunk.VA2JNCZO.js → chunk.ORZ5STBX.js} +1 -1
- package/dist/chunks/{chunk.3DAASGWT.js → chunk.PBBH42B6.js} +1 -1
- package/dist/chunks/{chunk.LR75BDGN.js → chunk.PLECT4NZ.js} +1 -1
- package/dist/chunks/chunk.QABMDRWR.js +28 -0
- package/dist/chunks/chunk.SBUFNOMY.js +1 -0
- package/dist/chunks/{chunk.G3Z3BOX2.js → chunk.U4AAC5ID.js} +2 -2
- package/dist/chunks/chunk.WTTPHBL3.js +105 -0
- package/dist/chunks/chunk.XEZQ5ZRE.js +1 -0
- package/dist/chunks/chunk.ZETV7TDG.js +25 -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/file-input-dropzone/file-input-dropzone.styles.js +1 -1
- package/dist/components/header/header.component.js +1 -1
- package/dist/components/header/header.js +1 -1
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/icons.js +1 -1
- package/dist/components/list-card/list-card.component.js +1 -1
- package/dist/components/list-card/list-card.js +1 -1
- package/dist/components/list-card/list-card.styles.js +1 -1
- package/dist/components/logo/logo.component.js +1 -1
- package/dist/components/logo/logo.js +1 -1
- package/dist/components/logo/logo.styles.js +1 -1
- package/dist/components/tool-menu/tool-menu.component.d.ts +13 -0
- package/dist/components/tool-menu/tool-menu.component.js +1 -0
- package/dist/components/tool-menu/tool-menu.d.ts +7 -0
- package/dist/components/tool-menu/tool-menu.js +1 -0
- package/dist/components/tool-menu/tool-menu.styles.d.ts +1 -0
- package/dist/components/tool-menu/tool-menu.styles.js +1 -0
- package/dist/components/tracking/tracking.component.js +1 -1
- package/dist/components/tracking/tracking.js +1 -1
- package/dist/hotosm-ui.d.ts +9 -8
- package/dist/hotosm-ui.js +1 -1
- package/dist/style.css +5 -3
- package/dist/themes/hot-wa.css +3 -3
- package/package.json +10 -6
- package/dist/chunks/chunk.5AWU5BEU.js +0 -1
- package/dist/chunks/chunk.EAG35WPB.js +0 -122
- package/dist/chunks/chunk.FBYBLQYY.js +0 -25
- package/dist/chunks/chunk.JFO3Z4VS.js +0 -1
- package/dist/chunks/chunk.KNTMZWRV.js +0 -28
- package/dist/chunks/chunk.L3MJ3UC7.js +0 -1
- package/dist/chunks/chunk.M3ZIZPKF.js +0 -1
- package/dist/chunks/chunk.OFDFUT7C.js +0 -1
- package/dist/chunks/chunk.VNFZXHID.js +0 -1
- package/dist/chunks/chunk.XNPNEHIJ.js +0 -1
- package/dist/chunks/chunk.ZU62FSGZ.js +0 -105
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,12 +153,31 @@ 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
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
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 -->
|
|
160
|
+
<head>
|
|
161
|
+
<script type="importmap">
|
|
162
|
+
{
|
|
163
|
+
"imports": {
|
|
164
|
+
"@awesome.me/webawesome/dist/components/": "https://cdn.jsdelivr.net/npm/@awesome.me/webawesome@3.0.0/dist-cdn/components/"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
</script>
|
|
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>
|
|
176
|
+
</head>
|
|
177
|
+
|
|
178
|
+
<body>
|
|
179
|
+
<hot-header title="Test App" size="small" show-login="false"></hot-header>
|
|
180
|
+
</body>
|
|
162
181
|
```
|
|
163
182
|
|
|
164
183
|
#### React
|
|
@@ -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};
|