@mailstep/design-system 0.2.0-beta.6 → 0.2.0-beta.8
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 +65 -0
- package/package.json +8 -5
- package/ui/index.es.js +2948 -2955
- package/ui/index.umd.js +160 -160
package/README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Mailstep Design-system
|
|
2
|
+
|
|
3
|
+
Live demo here: https://mailstep.gitlab.io/mailwise/mw2/design-system/storybook
|
|
4
|
+
|
|
5
|
+
## Peer dependencies
|
|
6
|
+
- @xstyled/styled-components
|
|
7
|
+
- styled-component
|
|
8
|
+
- react-router
|
|
9
|
+
- react-router-dom
|
|
10
|
+
|
|
11
|
+
### How to develoop
|
|
12
|
+
```
|
|
13
|
+
yarn install
|
|
14
|
+
yarn dev
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
#### How to publish
|
|
19
|
+
In root folder run
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
npm run build
|
|
23
|
+
npm run deploy
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Components
|
|
27
|
+
There are Elements, Blocks and Forms components. Also you can use ThemeProvider and Utils package
|
|
28
|
+
|
|
29
|
+
### Elements
|
|
30
|
+
| Component | Description | Info |
|
|
31
|
+
|----------|:-------------:|------:|
|
|
32
|
+
| Alert | TBD | [More info](ui/Elements/Alert/README.md) |
|
|
33
|
+
| Avatar | TBD | [More info](ui/Elements/Avatar/README.md) |
|
|
34
|
+
| Badge | TBD | [More info](ui/Elements/Badge/README.md) |
|
|
35
|
+
| BorderedBox | TBD | [More info](ui/Elements/BorderedBox/README.md) |
|
|
36
|
+
| Button | TBD | [More info](ui/Elements/Button/README.md) |
|
|
37
|
+
| Card | TBD | [More info](ui/Elements/Card/README.md) |
|
|
38
|
+
| DialogOverlay | TBD | [More info](ui/Elements/DialogOverlay/README.md) |
|
|
39
|
+
| Dropdown | TBD | [More info](ui/Elements/Dropdown/README.md) |
|
|
40
|
+
| ErrorMessage | TBD | [More info](ui/Elements/ErrorMessage/README.md) |
|
|
41
|
+
| Icon | TBD | [More info](ui/Elements/Icon/README.md) |
|
|
42
|
+
| Image | TBD | [More info](ui/Elements/Image/README.md) |
|
|
43
|
+
| Label | TBD | [More info](ui/Elements/Label/README.md) |
|
|
44
|
+
| Link | TBD | [More info](ui/Elements/Link/README.md) |
|
|
45
|
+
| Logo | TBD | [More info](ui/Elements/Logo/README.md) |
|
|
46
|
+
| Overlay | TBD | [More info](ui/Elements/Overlay/README.md) |
|
|
47
|
+
| Pagination | TBD | [More info](ui/Elements/Pagination/README.md) |
|
|
48
|
+
| Paragraph | TBD | [More info](ui/Elements/Paragraph/README.md) |
|
|
49
|
+
| Spinner | TBD | [More info](ui/Elements/Spinner/README.md) |
|
|
50
|
+
|
|
51
|
+
### Blocks
|
|
52
|
+
| Component | Description | Info |
|
|
53
|
+
|----------|:-------------:|------:|
|
|
54
|
+
| TBD | TBD | TBD |
|
|
55
|
+
|
|
56
|
+
### Forms
|
|
57
|
+
| Component | Description | Info |
|
|
58
|
+
|----------|:-------------:|------:|
|
|
59
|
+
| TBD | TBD | TBD |
|
|
60
|
+
|
|
61
|
+
### Theme Provider
|
|
62
|
+
| Component | Description | Info |
|
|
63
|
+
|----------|:-------------:|------:|
|
|
64
|
+
| Theme Provider | TBD | [More info](ui/ThemeProvider/README.md) |
|
|
65
|
+
|
package/package.json
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailstep/design-system",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.8",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./index.js",
|
|
7
|
-
"module": "./index.es.js",
|
|
8
|
-
"types": "./index.d.ts",
|
|
6
|
+
"main": "./ui/index.js",
|
|
7
|
+
"module": "./ui/index.es.js",
|
|
8
|
+
"types": "./ui/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"ui"
|
|
11
|
+
],
|
|
9
12
|
"scripts": {
|
|
10
13
|
"storybook": "storybook dev -p 6006",
|
|
11
|
-
"build": "rm -rf ./build && tsc && vite build && cp package.json build",
|
|
14
|
+
"build": "rm -rf ./build && tsc && vite build && cp package.json build && cp README.md build",
|
|
12
15
|
"build-storybook": "storybook build",
|
|
13
16
|
"deploy": "npm run build && npm publish ./build",
|
|
14
17
|
"dev": "yarn storybook",
|