@hotosm/ui 0.3.1-b4 → 0.3.1-b5
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 +10 -8
- package/dist/chunks/chunk.2MK55PUE.js +700 -0
- package/dist/chunks/{callout.USQGOL5A.js → chunk.3NBBS2A2.js} +2 -2
- package/dist/chunks/{chunk.4YLAIDAG.js → chunk.7RJ72M75.js} +3 -3
- package/dist/chunks/{chunk.OVCI43FD.js → chunk.MIYFUINI.js} +2 -2
- package/dist/chunks/{chunk.NQHNA5TA.js → chunk.PDLGEB7T.js} +3 -3
- package/dist/chunks/chunk.V7FZQXWL.js +667 -0
- package/dist/components/consent/consent.component.d.ts +3 -0
- package/dist/components/consent/consent.component.js +1 -1
- package/dist/components/consent/consent.js +1 -1
- package/dist/components/header/header.component.d.ts +4 -0
- package/dist/components/header/header.component.js +1 -1
- package/dist/components/header/header.js +1 -1
- package/dist/components/logo/logo.component.js +1 -1
- package/dist/components/logo/logo.js +1 -1
- package/dist/components/tracking/tracking.component.d.ts +3 -0
- 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/package.json +1 -1
- package/dist/chunks/button.QMPBLQB7.js +0 -1
- package/dist/chunks/chunk.7VBX4GII.js +0 -1
- package/dist/chunks/chunk.FIQQYKEP.js +0 -14
- package/dist/chunks/chunk.I26W4NHZ.js +0 -460
- package/dist/chunks/chunk.OHRBDQCO.js +0 -45
- package/dist/chunks/chunk.TFICHQZE.js +0 -186
- package/dist/chunks/chunk.XAMKQWQ3.js +0 -92
- package/dist/chunks/dialog.ZJLYCG4P.js +0 -217
- package/dist/chunks/icon.ZB6BUFKB.js +0 -1
- package/dist/chunks/tab-group.M6XGU33J.js +0 -360
package/README.md
CHANGED
|
@@ -69,8 +69,6 @@ of development and maintenance. It should include a minimal number of components
|
|
|
69
69
|
- Sidebar with links to extra resources.
|
|
70
70
|
- Footer with links.
|
|
71
71
|
- File upload component (including dropzone).
|
|
72
|
-
- Date picker component.
|
|
73
|
-
- Workflow stepper component.
|
|
74
72
|
|
|
75
73
|
## Quick start
|
|
76
74
|
|
|
@@ -98,14 +96,18 @@ Import the library in your project and use the components.
|
|
|
98
96
|
|
|
99
97
|
#### React
|
|
100
98
|
|
|
101
|
-
|
|
102
|
-
import '@hotosm/ui/dist/style.css';
|
|
103
|
-
import { Logo, Button } from '@hotosm/ui/dist/react';
|
|
104
|
-
```
|
|
99
|
+
Import in the same way as above.
|
|
105
100
|
|
|
106
101
|
```jsx
|
|
107
|
-
<
|
|
108
|
-
|
|
102
|
+
<hot-button
|
|
103
|
+
size='small'
|
|
104
|
+
variant='text'
|
|
105
|
+
disabled={currentIndex <= 0}
|
|
106
|
+
onClick={() => {
|
|
107
|
+
console.log('do stuff');
|
|
108
|
+
}}
|
|
109
|
+
>
|
|
110
|
+
</hot-button>
|
|
109
111
|
```
|
|
110
112
|
|
|
111
113
|
### Components Bundle
|