@mw-kit/mw-ui 0.1.1 → 0.3.2
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 +3 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -0
- package/dist/index.modern.js.map +1 -1
- package/package.json +3 -2
- package/dist/components/MwUi/index.d.ts +0 -1
- package/dist/index.css +0 -9
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
|
|
10
|
+
yarn add @mw-kit/mw-ui
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
@@ -17,6 +17,8 @@ import React from 'react'
|
|
|
17
17
|
|
|
18
18
|
import { Button, Container, Segment } from '@mw-kit/mw-ui'
|
|
19
19
|
|
|
20
|
+
import 'semantic-ui-css/semantic.min.css'
|
|
21
|
+
|
|
20
22
|
const App = () => {
|
|
21
23
|
return (
|
|
22
24
|
<Container>
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
var React = require('react');
|
|
2
2
|
var semanticUiReact = require('semantic-ui-react');
|
|
3
|
+
var reactCalendar = require('react-calendar');
|
|
3
4
|
|
|
4
5
|
var MwUi = function MwUi() {
|
|
5
6
|
return React.createElement(React.Fragment, null);
|
|
@@ -13,5 +14,13 @@ Object.keys(semanticUiReact).forEach(function (k) {
|
|
|
13
14
|
}
|
|
14
15
|
});
|
|
15
16
|
});
|
|
17
|
+
Object.keys(reactCalendar).forEach(function (k) {
|
|
18
|
+
if (k !== 'default') Object.defineProperty(exports, k, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return reactCalendar[k];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
});
|
|
16
25
|
exports.MwUi = MwUi;
|
|
17
26
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.tsx"],"sourcesContent":["import * as React from 'react'\n\nexport * from 'semantic-ui-react'\n\nexport const MwUi = () => {\n return <React.Fragment />\n}\n"],"names":["MwUi","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.tsx"],"sourcesContent":["import * as React from 'react'\n\nexport * from 'semantic-ui-react'\nexport * from 'react-calendar'\n\nexport const MwUi = () => {\n return <React.Fragment />\n}\n"],"names":["MwUi","React"],"mappings":";;;;IAKaA,IAAI,GAAG,SAAPA,IAAO;AAClB,SAAOC,mBAAA,CAACA,cAAD,MAAA,CAAP;AACD;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.modern.js
CHANGED
package/dist/index.modern.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.modern.js","sources":["../src/index.tsx"],"sourcesContent":["import * as React from 'react'\n\nexport * from 'semantic-ui-react'\n\nexport const MwUi = () => {\n return <React.Fragment />\n}\n"],"names":["MwUi","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.modern.js","sources":["../src/index.tsx"],"sourcesContent":["import * as React from 'react'\n\nexport * from 'semantic-ui-react'\nexport * from 'react-calendar'\n\nexport const MwUi = () => {\n return <React.Fragment />\n}\n"],"names":["MwUi","React"],"mappings":";;;;IAKaA,IAAI,GAAG,SAAPA,IAAO;AAClB,SAAOC,aAAA,CAACA,QAAD,MAAA,CAAP;AACD;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mw-kit/mw-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Made with create-react-library",
|
|
5
5
|
"author": "fmgusmao",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,7 +61,8 @@
|
|
|
61
61
|
"dist"
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
|
+
"@types/react-calendar": "^3.4.5",
|
|
64
65
|
"semantic-ui-css": "^2.4.1",
|
|
65
|
-
"semantic-ui-react": "^1.
|
|
66
|
+
"semantic-ui-react": "^1.2.1"
|
|
66
67
|
}
|
|
67
68
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function MwUi(): JSX.Element;
|