@yosgo/swap-ui 1.0.127 → 1.0.130
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/LICENSE +21 -21
- package/README.md +61 -61
- package/build/AutoComplete/AutoComplete.types.d.ts +1 -0
- package/build/index.esm.js +95 -67
- package/build/index.esm.js.map +1 -1
- package/build/index.js +95 -67
- package/build/index.js.map +1 -1
- package/package.json +91 -91
- package/build/DatePicker.tsx/DatePicker.d.ts +0 -4
- package/build/DatePicker.tsx/DatePicker.types.d.ts +0 -13
- package/build/SWAPPalette/SWAPPalette.d.ts +0 -4
- package/build/SWAPPalette/SWAPPalette.types.d.ts +0 -5
- package/build/SWAPPalette/Typography.d.ts +0 -4
- package/build/SWAPPalette/Typography.types.d.ts +0 -7
package/package.json
CHANGED
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@yosgo/swap-ui",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"main": "build/index.js",
|
|
5
|
-
"module": "build/index.esm.js",
|
|
6
|
-
"files": [
|
|
7
|
-
"build"
|
|
8
|
-
],
|
|
9
|
-
"types": "build/index.d.ts",
|
|
10
|
-
"description": "SWAP UI Framework. www.swap.work",
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "rollup -c",
|
|
13
|
-
"test": "jest",
|
|
14
|
-
"test:watch": "jest --watch",
|
|
15
|
-
"storybook": "start-storybook -p 6006",
|
|
16
|
-
"storybook:export": "build-storybook",
|
|
17
|
-
"generate": "node ./util/create-component",
|
|
18
|
-
"prepublishOnly": "npm run build",
|
|
19
|
-
"deploy-storybook": "storybook-to-ghpages"
|
|
20
|
-
},
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "git+https://github.com/yosgo-open-source/swap-ui.git"
|
|
24
|
-
},
|
|
25
|
-
"keywords": [
|
|
26
|
-
"React",
|
|
27
|
-
"Component",
|
|
28
|
-
"Library",
|
|
29
|
-
"Rollup",
|
|
30
|
-
"Typescript",
|
|
31
|
-
"Sass",
|
|
32
|
-
"Storybook",
|
|
33
|
-
"Material-ui"
|
|
34
|
-
],
|
|
35
|
-
"author": "kcin1993",
|
|
36
|
-
"license": "MIT",
|
|
37
|
-
"bugs": {
|
|
38
|
-
"url": "https://github.com/yosgo-open-source/swap-ui/issues"
|
|
39
|
-
},
|
|
40
|
-
"homepage": "https://github.com/yosgo-open-source/swap-ui",
|
|
41
|
-
"peerDependencies": {
|
|
42
|
-
"@material-ui/core": "^4.11.0",
|
|
43
|
-
"@material-ui/icons": "^4.9.1",
|
|
44
|
-
"react": ">=16.8.0",
|
|
45
|
-
"react-dom": ">=16.8.0",
|
|
46
|
-
"styled-components": ">=^5.2.0"
|
|
47
|
-
},
|
|
48
|
-
"devDependencies": {
|
|
49
|
-
"@babel/core": "^7.10.3",
|
|
50
|
-
"@material-ui/core": "^4.11.0",
|
|
51
|
-
"@material-ui/icons": "^4.9.1",
|
|
52
|
-
"@rollup/plugin-commonjs": "^11.1.0",
|
|
53
|
-
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
54
|
-
"@storybook/addon-essentials": "^6.0.26",
|
|
55
|
-
"@storybook/react": "^6.0.26",
|
|
56
|
-
"@storybook/storybook-deployer": "^2.8.7",
|
|
57
|
-
"@testing-library/jest-dom": "^5.5.0",
|
|
58
|
-
"@testing-library/react": "^10.0.2",
|
|
59
|
-
"@types/jest": "^24.0.24",
|
|
60
|
-
"@types/react": "^17.0.11",
|
|
61
|
-
"@types/react-copy-to-clipboard": "^4.3.0",
|
|
62
|
-
"@types/react-dom": "^17.0.8",
|
|
63
|
-
"@types/styled-components": "^5.1.4",
|
|
64
|
-
"babel-loader": "^8.1.0",
|
|
65
|
-
"babel-preset-react-app": "^9.1.2",
|
|
66
|
-
"identity-obj-proxy": "^3.0.0",
|
|
67
|
-
"jest": "^24.9.0",
|
|
68
|
-
"node-sass": "^4.14.1",
|
|
69
|
-
"react": "^17.0.2",
|
|
70
|
-
"react-copy-to-clipboard": "^5.0.2",
|
|
71
|
-
"react-dom": "^17.0.2",
|
|
72
|
-
"react-share": "^4.3.1",
|
|
73
|
-
"rollup": "^1.27.4",
|
|
74
|
-
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
75
|
-
"rollup-plugin-peer-deps-external": "^2.2.0",
|
|
76
|
-
"rollup-plugin-svg": "^2.0.0",
|
|
77
|
-
"rollup-plugin-typescript2": "^0.27.0",
|
|
78
|
-
"sass-loader": "^8.0.0",
|
|
79
|
-
"styled-components": "^5.2.0",
|
|
80
|
-
"ts-jest": "^24.2.0",
|
|
81
|
-
"typescript": "^3.7.2"
|
|
82
|
-
},
|
|
83
|
-
"publishConfig": {
|
|
84
|
-
"access": "public"
|
|
85
|
-
},
|
|
86
|
-
"dependencies": {
|
|
87
|
-
"@material-ui/lab": "^4.0.0-alpha.57",
|
|
88
|
-
"react-spring": "^9.1.1",
|
|
89
|
-
"react-typed": "^1.2.0"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@yosgo/swap-ui",
|
|
3
|
+
"version": "1.0.130",
|
|
4
|
+
"main": "build/index.js",
|
|
5
|
+
"module": "build/index.esm.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"build"
|
|
8
|
+
],
|
|
9
|
+
"types": "build/index.d.ts",
|
|
10
|
+
"description": "SWAP UI Framework. www.swap.work",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "rollup -c",
|
|
13
|
+
"test": "jest",
|
|
14
|
+
"test:watch": "jest --watch",
|
|
15
|
+
"storybook": "start-storybook -p 6006",
|
|
16
|
+
"storybook:export": "build-storybook",
|
|
17
|
+
"generate": "node ./util/create-component",
|
|
18
|
+
"prepublishOnly": "npm run build",
|
|
19
|
+
"deploy-storybook": "storybook-to-ghpages"
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/yosgo-open-source/swap-ui.git"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"React",
|
|
27
|
+
"Component",
|
|
28
|
+
"Library",
|
|
29
|
+
"Rollup",
|
|
30
|
+
"Typescript",
|
|
31
|
+
"Sass",
|
|
32
|
+
"Storybook",
|
|
33
|
+
"Material-ui"
|
|
34
|
+
],
|
|
35
|
+
"author": "kcin1993",
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/yosgo-open-source/swap-ui/issues"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://github.com/yosgo-open-source/swap-ui",
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"@material-ui/core": "^4.11.0",
|
|
43
|
+
"@material-ui/icons": "^4.9.1",
|
|
44
|
+
"react": ">=16.8.0",
|
|
45
|
+
"react-dom": ">=16.8.0",
|
|
46
|
+
"styled-components": ">=^5.2.0"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@babel/core": "^7.10.3",
|
|
50
|
+
"@material-ui/core": "^4.11.0",
|
|
51
|
+
"@material-ui/icons": "^4.9.1",
|
|
52
|
+
"@rollup/plugin-commonjs": "^11.1.0",
|
|
53
|
+
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
54
|
+
"@storybook/addon-essentials": "^6.0.26",
|
|
55
|
+
"@storybook/react": "^6.0.26",
|
|
56
|
+
"@storybook/storybook-deployer": "^2.8.7",
|
|
57
|
+
"@testing-library/jest-dom": "^5.5.0",
|
|
58
|
+
"@testing-library/react": "^10.0.2",
|
|
59
|
+
"@types/jest": "^24.0.24",
|
|
60
|
+
"@types/react": "^17.0.11",
|
|
61
|
+
"@types/react-copy-to-clipboard": "^4.3.0",
|
|
62
|
+
"@types/react-dom": "^17.0.8",
|
|
63
|
+
"@types/styled-components": "^5.1.4",
|
|
64
|
+
"babel-loader": "^8.1.0",
|
|
65
|
+
"babel-preset-react-app": "^9.1.2",
|
|
66
|
+
"identity-obj-proxy": "^3.0.0",
|
|
67
|
+
"jest": "^24.9.0",
|
|
68
|
+
"node-sass": "^4.14.1",
|
|
69
|
+
"react": "^17.0.2",
|
|
70
|
+
"react-copy-to-clipboard": "^5.0.2",
|
|
71
|
+
"react-dom": "^17.0.2",
|
|
72
|
+
"react-share": "^4.3.1",
|
|
73
|
+
"rollup": "^1.27.4",
|
|
74
|
+
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
75
|
+
"rollup-plugin-peer-deps-external": "^2.2.0",
|
|
76
|
+
"rollup-plugin-svg": "^2.0.0",
|
|
77
|
+
"rollup-plugin-typescript2": "^0.27.0",
|
|
78
|
+
"sass-loader": "^8.0.0",
|
|
79
|
+
"styled-components": "^5.2.0",
|
|
80
|
+
"ts-jest": "^24.2.0",
|
|
81
|
+
"typescript": "^3.7.2"
|
|
82
|
+
},
|
|
83
|
+
"publishConfig": {
|
|
84
|
+
"access": "public"
|
|
85
|
+
},
|
|
86
|
+
"dependencies": {
|
|
87
|
+
"@material-ui/lab": "^4.0.0-alpha.57",
|
|
88
|
+
"react-spring": "^9.1.1",
|
|
89
|
+
"react-typed": "^1.2.0"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from "@material-ui/core";
|
|
2
|
-
import { ModalProps } from "../Modal/Modal.types";
|
|
3
|
-
export interface DatePickerProps extends BoxProps {
|
|
4
|
-
format?: "year" | "month" | "day";
|
|
5
|
-
open?: boolean;
|
|
6
|
-
onClose?: () => void;
|
|
7
|
-
mobile?: boolean;
|
|
8
|
-
ModalProps?: Pick<ModalProps, Exclude<keyof ModalProps, "open" | "onClose">>;
|
|
9
|
-
min?: string;
|
|
10
|
-
max?: string;
|
|
11
|
-
defaultValue?: string;
|
|
12
|
-
getValue?: (date: string) => void;
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface TypographyProps {
|
|
3
|
-
variant?: "h1" | "h2" | "d1" | "d2" | "d3" | "d4" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "title" | "subtitle" | "body1" | "body2" | "caption1" | "caption2" | "small1" | "small2" | "tiny1" | "tiny2" | "button_l" | "button_s" | "title_loose" | "subtitle_loose" | "body1_loose" | "body2_loose" | "caption1_loose" | "caption2_loose" | "small1_loose" | "small2_loose" | "tiny1_loose" | "tiny2_loose";
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
color?: string;
|
|
6
|
-
mode?: string;
|
|
7
|
-
}
|