@hotosm/ui 0.3.1-b3 → 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.
Files changed (30) hide show
  1. package/README.md +10 -8
  2. package/dist/chunks/chunk.2MK55PUE.js +700 -0
  3. package/dist/chunks/{callout.USQGOL5A.js → chunk.3NBBS2A2.js} +2 -2
  4. package/dist/chunks/{chunk.4YLAIDAG.js → chunk.7RJ72M75.js} +3 -3
  5. package/dist/chunks/{chunk.IWVLJ74K.js → chunk.MIYFUINI.js} +2 -2
  6. package/dist/chunks/{chunk.XCJG4HAO.js → chunk.PDLGEB7T.js} +3 -3
  7. package/dist/chunks/chunk.V7FZQXWL.js +667 -0
  8. package/dist/components/consent/consent.component.d.ts +3 -0
  9. package/dist/components/consent/consent.component.js +1 -1
  10. package/dist/components/consent/consent.js +1 -1
  11. package/dist/components/header/header.component.d.ts +4 -0
  12. package/dist/components/header/header.component.js +1 -1
  13. package/dist/components/header/header.js +1 -1
  14. package/dist/components/logo/logo.component.js +1 -1
  15. package/dist/components/logo/logo.js +1 -1
  16. package/dist/components/tracking/tracking.component.d.ts +3 -0
  17. package/dist/components/tracking/tracking.component.js +1 -1
  18. package/dist/components/tracking/tracking.js +1 -1
  19. package/dist/hotosm-ui.js +1 -1
  20. package/package.json +1 -1
  21. package/dist/chunks/button.LEHBRWP3.js +0 -1
  22. package/dist/chunks/chunk.7VBX4GII.js +0 -1
  23. package/dist/chunks/chunk.BPVA67NM.js +0 -94
  24. package/dist/chunks/chunk.FIQQYKEP.js +0 -14
  25. package/dist/chunks/chunk.KPZVTN5G.js +0 -460
  26. package/dist/chunks/chunk.OHRBDQCO.js +0 -45
  27. package/dist/chunks/chunk.TFICHQZE.js +0 -186
  28. package/dist/chunks/dialog.7CZCE2KM.js +0 -217
  29. package/dist/chunks/icon.ZB6BUFKB.js +0 -1
  30. package/dist/chunks/tab-group.JN54CODM.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
- ```js
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
- <Logo />
108
- <Button variant="primary">Click me!</Button>
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