@hotosm/ui 0.2.0-b3 → 0.2.0-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 +105 -105
- package/components/header/header.styles.ts +103 -0
- package/components/header/header.ts +160 -0
- package/components/{icons.js → icons.ts} +25 -13
- package/components/index.ts +265 -0
- package/components/logo/logo.styles.ts +8 -0
- package/components/logo/logo.ts +37 -0
- package/components/react/Header.ts +16 -0
- package/{react/Header.js → components/react/Logo.ts} +9 -5
- package/components/react/Toolbar.ts +24 -0
- package/components/react/Tracking.ts +17 -0
- package/components/react/index.ts +63 -0
- package/components/toolbar/toolbar.styles.ts +6 -0
- package/components/toolbar/toolbar.ts +171 -0
- package/components/tracking/tracking.styles.ts +23 -0
- package/components/tracking/tracking.ts +177 -0
- package/dist/components/header/header.d.ts +28 -0
- package/dist/components/header/header.styles.d.ts +6 -0
- package/dist/components/index.d.ts +130 -0
- package/dist/components/logo/logo.d.ts +10 -0
- package/dist/components/logo/logo.styles.d.ts +2 -0
- package/dist/components/react/index.d.ts +62 -0
- package/dist/components/toolbar/toolbar.d.ts +20 -0
- package/dist/components/toolbar/toolbar.styles.d.ts +2 -0
- package/dist/components/tracking/tracking.d.ts +23 -0
- package/dist/components/tracking/tracking.styles.d.ts +2 -0
- package/dist/hotosm-ui.js +18450 -0
- package/dist/style.css +1 -0
- package/package.json +29 -35
- package/theme/hot-sl.css +194 -0
- package/theme/hot.css +191 -121
- package/theme/logo/hot-logo-icon.svg +1 -0
- package/theme/logo/hot-logo-png.png +0 -0
- package/theme/logo/hot-logo-text.svg +1 -0
- package/components/Button.d.ts +0 -16
- package/components/Button.js +0 -75
- package/components/Header.d.ts +0 -16
- package/components/Header.js +0 -152
- package/components/Toolbar.d.ts +0 -26
- package/components/Toolbar.js +0 -123
- package/components/Tracking.d.ts +0 -26
- package/components/Tracking.js +0 -167
- package/components/index.d.ts +0 -4
- package/components/index.js +0 -6
- package/dist/assets/logo-CqlPtOQW.png +0 -0
- package/dist/components.js +0 -121
- package/dist/styles.css +0 -1092
- package/react/Button.js +0 -14
- package/react/Toolbar.js +0 -21
- package/react/Tracking.js +0 -15
- package/react/index.d.ts +0 -4
- package/react/index.js +0 -6
- package/theme/logo.png +0 -0
- /package/{components → dist/components}/icons.d.ts +0 -0
- /package/{react → dist/components/react}/Header.d.ts +0 -0
- /package/{react/Button.d.ts → dist/components/react/Logo.d.ts} +0 -0
- /package/{react → dist/components/react}/Toolbar.d.ts +0 -0
- /package/{react → dist/components/react}/Tracking.d.ts +0 -0
package/react/Button.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { createComponent } from '@lit/react';
|
|
4
|
-
import Button from '../components/Button';
|
|
5
|
-
const reactWrapper = createComponent({
|
|
6
|
-
tagName: 'hot-button',
|
|
7
|
-
elementClass: Button,
|
|
8
|
-
react: React,
|
|
9
|
-
events: {
|
|
10
|
-
onClick: 'click',
|
|
11
|
-
},
|
|
12
|
-
displayName: 'hot-button'
|
|
13
|
-
});
|
|
14
|
-
export default reactWrapper;
|
package/react/Toolbar.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { createComponent } from '@lit/react';
|
|
4
|
-
import Toolbar from '../components/Toolbar';
|
|
5
|
-
const reactWrapper = createComponent({
|
|
6
|
-
tagName: 'hot-toolbar',
|
|
7
|
-
elementClass: Toolbar,
|
|
8
|
-
react: React,
|
|
9
|
-
events: {
|
|
10
|
-
onUndoClick: 'hot-undo-click',
|
|
11
|
-
onRedoClick: 'hot-redo-click',
|
|
12
|
-
onBoldClick: 'hot-bold-click',
|
|
13
|
-
onItalicClick: 'hot-italic-click',
|
|
14
|
-
onUnderlineClick: 'hot-underline-click',
|
|
15
|
-
onLeftalignClick: 'hot-leftalign-click',
|
|
16
|
-
onCenteralignClick: 'hot-centeralign-click',
|
|
17
|
-
onRightalignClick: 'hot-rightalign-click',
|
|
18
|
-
},
|
|
19
|
-
displayName: 'hot-toolbar'
|
|
20
|
-
});
|
|
21
|
-
export default reactWrapper;
|
package/react/Tracking.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { createComponent } from '@lit/react';
|
|
4
|
-
import Tracking from '../components/Tracking';
|
|
5
|
-
const reactWrapper = createComponent({
|
|
6
|
-
tagName: 'hot-tracking',
|
|
7
|
-
elementClass: Tracking,
|
|
8
|
-
react: React,
|
|
9
|
-
events: {
|
|
10
|
-
onAgree: 'agree',
|
|
11
|
-
onDisagree: 'disagree',
|
|
12
|
-
},
|
|
13
|
-
displayName: 'hot-tracking'
|
|
14
|
-
});
|
|
15
|
-
export default reactWrapper;
|
package/react/index.d.ts
DELETED
package/react/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// Index to import all components together
|
|
2
|
-
// import '@hotosm/ui/react';
|
|
3
|
-
export { default as Button } from './Button';
|
|
4
|
-
export { default as Header } from './Header';
|
|
5
|
-
export { default as Toolbar } from './Toolbar';
|
|
6
|
-
export { default as Tracking } from './Tracking';
|
package/theme/logo.png
DELETED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|