@yosgo/swap-ui 1.0.141 → 2.0.0-beta.1
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 +50 -36
- package/build/index.cjs +3693 -0
- package/build/index.cjs.map +1 -0
- package/build/index.d.cts +710 -0
- package/build/index.d.ts +710 -50
- package/build/index.js +3553 -13924
- package/build/index.js.map +1 -1
- package/package.json +63 -63
- package/build/AppBar/AppBar.d.ts +0 -4
- package/build/AppBar/AppBar.types.d.ts +0 -2
- package/build/AutoComplete/AutoComplete.d.ts +0 -6
- package/build/AutoComplete/AutoComplete.types.d.ts +0 -23
- package/build/AutoComplete/BankCodes.d.ts +0 -5
- package/build/Banner/Banner.d.ts +0 -4
- package/build/Banner/Banner.types.d.ts +0 -10
- package/build/Breadcrumb/Breadcrumb.d.ts +0 -4
- package/build/Breadcrumb/Breadcrumb.types.d.ts +0 -7
- package/build/BreadcrumbItem/BreadcrumbItem.d.ts +0 -4
- package/build/BreadcrumbItem/BreadcrumbItem.types.d.ts +0 -4
- package/build/Button/Button.d.ts +0 -4
- package/build/Button/Button.types.d.ts +0 -13
- package/build/Card/Card.d.ts +0 -4
- package/build/Card/Card.types.d.ts +0 -17
- package/build/CheckBox/CheckBox.d.ts +0 -4
- package/build/CheckBox/CheckBox.types.d.ts +0 -7
- package/build/CheckBox/CheckBoxList.d.ts +0 -4
- package/build/CheckBox/CheckBoxList.types.d.ts +0 -9
- package/build/CheckBox/RadioButton.d.ts +0 -4
- package/build/CheckBox/RadioButton.types.d.ts +0 -7
- package/build/CheckBox/RadioList.d.ts +0 -4
- package/build/CheckBox/RadioList.types.d.ts +0 -9
- package/build/Chip/Chip.d.ts +0 -4
- package/build/Chip/Chip.types.d.ts +0 -11
- package/build/CircularProgress/CircularProgress.d.ts +0 -4
- package/build/CircularProgress/CircularProgress.types.d.ts +0 -5
- package/build/Container/Container.d.ts +0 -4
- package/build/Container/Container.types.d.ts +0 -7
- package/build/DatePicker/DatePicker.d.ts +0 -4
- package/build/DatePicker/DatePicker.types.d.ts +0 -14
- package/build/Dropdown/Dropdown.d.ts +0 -4
- package/build/Dropdown/Dropdown.types.d.ts +0 -9
- package/build/IconButton/IconButton.d.ts +0 -4
- package/build/IconButton/IconButton.types.d.ts +0 -7
- package/build/LandingPage/LandingPage.d.ts +0 -4
- package/build/LandingPage/LandingPage.types.d.ts +0 -14
- package/build/LandingPage/LandingPageMobile.d.ts +0 -4
- package/build/LandingPage/LandingPageMobile.types.d.ts +0 -14
- package/build/Link/Link.d.ts +0 -4
- package/build/Link/Link.types.d.ts +0 -4
- package/build/Menu/Menu.d.ts +0 -4
- package/build/Menu/Menu.types.d.ts +0 -3
- package/build/Menu/MenuItem.d.ts +0 -4
- package/build/Menu/MenuItem.types.d.ts +0 -12
- package/build/Menu/Select.d.ts +0 -4
- package/build/Menu/Select.types.d.ts +0 -41
- package/build/Modal/Modal.d.ts +0 -4
- package/build/Modal/Modal.types.d.ts +0 -55
- package/build/Pagination/Pagination.d.ts +0 -4
- package/build/Pagination/Pagination.types.d.ts +0 -3
- package/build/Paper/Paper.d.ts +0 -4
- package/build/Paper/Paper.types.d.ts +0 -5
- package/build/Progress/Progress.d.ts +0 -4
- package/build/Progress/Progress.types.d.ts +0 -8
- package/build/SWAPAppBar/SWAPAppBar.d.ts +0 -4
- package/build/SWAPAppBar/SWAPAppBar.types.d.ts +0 -19
- package/build/SWAPBanner/SWAPBanner.d.ts +0 -4
- package/build/SWAPBanner/SWAPBanner.types.d.ts +0 -16
- package/build/SWAPCopyField/SWAPCopyField.d.ts +0 -4
- package/build/SWAPCopyField/SWAPCopyField.types.d.ts +0 -8
- package/build/SWAPDialog/SWAPDialog.d.ts +0 -4
- package/build/SWAPDialog/SWAPDialog.types.d.ts +0 -18
- package/build/SWAPLogo/SWAPLogo.d.ts +0 -4
- package/build/SWAPLogo/SWAPLogo.types.d.ts +0 -10
- package/build/SWAPModal/SWAPModal.d.ts +0 -4
- package/build/SWAPModal/SWAPModal.types.d.ts +0 -29
- package/build/SWAPShare/SWAPShare.d.ts +0 -4
- package/build/SWAPShare/SWAPShare.types.d.ts +0 -6
- package/build/SWAPSpace/SWAPSpace.d.ts +0 -4
- package/build/SWAPSpace/SWAPSpace.types.d.ts +0 -3
- package/build/SWAPTaxField/SWAPTaxField.d.ts +0 -24
- package/build/SWAPTaxField/SWAPTaxField.types.d.ts +0 -13
- package/build/SWAPTheme/SWAPTheme.d.ts +0 -7
- package/build/SWAPTheme/SWAPTheme.types.d.ts +0 -166
- package/build/Skeleton/Skeleton.d.ts +0 -4
- package/build/Skeleton/Skeleton.types.d.ts +0 -3
- package/build/Snackbar/Snackbar.d.ts +0 -4
- package/build/Snackbar/Snackbar.types.d.ts +0 -20
- package/build/Styles/Styles.d.ts +0 -4
- package/build/Styles/Styles.types.d.ts +0 -8
- package/build/Switch/Switch.d.ts +0 -4
- package/build/Switch/Switch.types.d.ts +0 -3
- package/build/Tab/SegmentedTab.d.ts +0 -4
- package/build/Tab/SegmentedTab.types.d.ts +0 -7
- package/build/Tab/SegmentedTabs.d.ts +0 -4
- package/build/Tab/SegmentedTabs.types.d.ts +0 -5
- package/build/Tab/Tab.d.ts +0 -4
- package/build/Tab/Tab.types.d.ts +0 -10
- package/build/Tab/TabPanel.d.ts +0 -10
- package/build/Tab/Tabs.d.ts +0 -4
- package/build/Tab/Tabs.types.d.ts +0 -3
- package/build/Table/Table.d.ts +0 -4
- package/build/Table/Table.types.d.ts +0 -2
- package/build/TaxTextField/TaxTextField.d.ts +0 -24
- package/build/TaxTextField/TaxTextField.types.d.ts +0 -26
- package/build/TextField/TextField.d.ts +0 -4
- package/build/TextField/TextField.types.d.ts +0 -7
- package/build/Tooltip/Tooltip.d.ts +0 -4
- package/build/Tooltip/Tooltip.types.d.ts +0 -15
- package/build/Typography/Typography.d.ts +0 -4
- package/build/Typography/Typography.types.d.ts +0 -8
- package/build/index.esm.js +0 -13928
- package/build/index.esm.js.map +0 -1
- package/build/utils/useBreakpoints.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,22 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yosgo/swap-ui",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "2.0.0-beta.1",
|
|
4
|
+
"description": "SWAP UI theme & components on MUI v9. www.swap.work",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./build/index.cjs",
|
|
7
|
+
"module": "./build/index.js",
|
|
8
|
+
"types": "./build/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./build/index.d.ts",
|
|
12
|
+
"import": "./build/index.js",
|
|
13
|
+
"require": "./build/index.cjs"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
6
16
|
"files": [
|
|
7
17
|
"build"
|
|
8
18
|
],
|
|
9
|
-
"
|
|
10
|
-
"description": "SWAP UI Framework. www.swap.work",
|
|
19
|
+
"sideEffects": false,
|
|
11
20
|
"scripts": {
|
|
12
|
-
"build": "
|
|
13
|
-
"
|
|
14
|
-
"test
|
|
15
|
-
"
|
|
16
|
-
"storybook
|
|
17
|
-
"
|
|
18
|
-
"prepublishOnly": "npm run build",
|
|
19
|
-
"
|
|
21
|
+
"build": "tsup",
|
|
22
|
+
"typecheck": "tsc --noEmit",
|
|
23
|
+
"test": "vitest run",
|
|
24
|
+
"test:watch": "vitest",
|
|
25
|
+
"storybook": "storybook dev -p 6006",
|
|
26
|
+
"storybook:build": "storybook build",
|
|
27
|
+
"prepublishOnly": "npm run typecheck && npm run test && npm run build",
|
|
28
|
+
"build-storybook": "storybook build"
|
|
20
29
|
},
|
|
21
30
|
"repository": {
|
|
22
31
|
"type": "git",
|
|
@@ -26,11 +35,9 @@
|
|
|
26
35
|
"React",
|
|
27
36
|
"Component",
|
|
28
37
|
"Library",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"Storybook",
|
|
33
|
-
"Material-ui"
|
|
38
|
+
"MUI",
|
|
39
|
+
"Design-Tokens",
|
|
40
|
+
"Storybook"
|
|
34
41
|
],
|
|
35
42
|
"author": "kcin1993",
|
|
36
43
|
"license": "MIT",
|
|
@@ -38,54 +45,47 @@
|
|
|
38
45
|
"url": "https://github.com/yosgo-open-source/swap-ui/issues"
|
|
39
46
|
},
|
|
40
47
|
"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
48
|
"publishConfig": {
|
|
84
49
|
"access": "public"
|
|
85
50
|
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"@mui/material": "^9.0.0",
|
|
53
|
+
"react": ">=18",
|
|
54
|
+
"react-dom": ">=18"
|
|
55
|
+
},
|
|
86
56
|
"dependencies": {
|
|
87
|
-
"@
|
|
88
|
-
"
|
|
89
|
-
"
|
|
57
|
+
"@fontsource/m-plus-rounded-1c": "5.2.10",
|
|
58
|
+
"@fontsource/noto-sans-tc": "5.2.9",
|
|
59
|
+
"@mui/x-date-pickers": "^9.9.0",
|
|
60
|
+
"dayjs": "^1.11.21",
|
|
61
|
+
"react-share": "^5.3.0"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@emotion/react": "11.14.0",
|
|
65
|
+
"@emotion/styled": "11.14.1",
|
|
66
|
+
"@mui/icons-material": "9.2.0",
|
|
67
|
+
"@mui/material": "9.2.0",
|
|
68
|
+
"@storybook/addon-a11y": "^10.5.0",
|
|
69
|
+
"@storybook/addon-docs": "^10.5.0",
|
|
70
|
+
"@storybook/addon-mcp": "^0.7.0",
|
|
71
|
+
"@storybook/addon-vitest": "^10.5.0",
|
|
72
|
+
"@storybook/react-vite": "^10.5.0",
|
|
73
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
74
|
+
"@testing-library/react": "16.3.2",
|
|
75
|
+
"@testing-library/user-event": "^14.6.1",
|
|
76
|
+
"@types/node": "^26.1.1",
|
|
77
|
+
"@types/react": "^19.2.17",
|
|
78
|
+
"@types/react-dom": "^19.2.3",
|
|
79
|
+
"@vitest/browser-playwright": "^4.1.10",
|
|
80
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
81
|
+
"jsdom": "^29.1.1",
|
|
82
|
+
"playwright": "^1.61.1",
|
|
83
|
+
"react": "19.2.7",
|
|
84
|
+
"react-dom": "19.2.7",
|
|
85
|
+
"storybook": "^10.5.0",
|
|
86
|
+
"tsup": "8.5.1",
|
|
87
|
+
"typescript": "^6.0.3",
|
|
88
|
+
"vite": "^8.1.4",
|
|
89
|
+
"vitest": "4.1.10"
|
|
90
90
|
}
|
|
91
91
|
}
|
package/build/AppBar/AppBar.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { MyAutoCompleteProps } from "./AutoComplete.types";
|
|
3
|
-
import { AutocompleteCloseReason } from "@material-ui/lab/Autocomplete";
|
|
4
|
-
declare const AutoComplete: React.FC<MyAutoCompleteProps>;
|
|
5
|
-
export { AutocompleteCloseReason };
|
|
6
|
-
export default AutoComplete;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AutocompleteProps, AutocompleteRenderInputParams } from "@material-ui/lab";
|
|
3
|
-
declare type OmitAutocompleteProps = Omit<AutocompleteProps<any, true, undefined, undefined>, "title" | "renderInput">;
|
|
4
|
-
export interface MyAutoCompleteProps extends OmitAutocompleteProps {
|
|
5
|
-
helperText?: React.ReactNode;
|
|
6
|
-
value?: any;
|
|
7
|
-
handleNoOptionsValueChange?: Function;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
placement?: "bottom-end" | "bottom-start" | "bottom" | "left-end" | "left-start" | "left" | "right-end" | "right-start" | "right" | "top-end" | "top-start" | "top";
|
|
10
|
-
title?: React.ReactNode;
|
|
11
|
-
width?: string | number;
|
|
12
|
-
open?: boolean;
|
|
13
|
-
anchorEl?: null | HTMLElement;
|
|
14
|
-
renderInput?: (params: AutocompleteRenderInputParams) => React.ReactNode;
|
|
15
|
-
disableFreeInput?: boolean;
|
|
16
|
-
optionsMaxHeight?: string | number;
|
|
17
|
-
anchorOrigin?: {
|
|
18
|
-
horizontal?: string | number;
|
|
19
|
-
vertical?: string | number;
|
|
20
|
-
};
|
|
21
|
-
addNewOptionsText?: string;
|
|
22
|
-
}
|
|
23
|
-
export {};
|
package/build/Banner/Banner.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BoxProps } from "@material-ui/core";
|
|
3
|
-
export interface BannerProps extends BoxProps {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
variant?: "info" | "normal" | "success" | "warning" | "error";
|
|
6
|
-
mobile?: boolean;
|
|
7
|
-
width?: string | number;
|
|
8
|
-
height?: string | number;
|
|
9
|
-
icon?: React.ReactNode;
|
|
10
|
-
}
|
package/build/Button/Button.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ButtonProps } from "@material-ui/core";
|
|
3
|
-
declare type OmitButtonProps = Omit<ButtonProps, "variant" | "onClick" | "size" | "color">;
|
|
4
|
-
export interface MyButtonProps extends OmitButtonProps {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
variant?: "primary" | "secondary" | "text" | "tertiary" | "black" | "danger";
|
|
7
|
-
loading?: boolean;
|
|
8
|
-
minWidth?: number | string;
|
|
9
|
-
width?: number | string;
|
|
10
|
-
size?: "small" | "medium" | "large";
|
|
11
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
package/build/Card/Card.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BoxProps } from "@material-ui/core";
|
|
3
|
-
export interface CardProps extends BoxProps {
|
|
4
|
-
width?: number | string;
|
|
5
|
-
height?: number | string;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
bodyStyle?: React.CSSProperties;
|
|
8
|
-
buttons?: Array<{
|
|
9
|
-
title?: React.ReactNode;
|
|
10
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
11
|
-
variant?: "primary" | "secondary" | "text" | "tertiary" | "black" | "danger";
|
|
12
|
-
loading?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
}>;
|
|
16
|
-
loading?: boolean;
|
|
17
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BoxProps } from "@material-ui/core";
|
|
3
|
-
export interface CheckBoxListProps extends Pick<BoxProps, Exclude<keyof BoxProps, "title">> {
|
|
4
|
-
multiline?: boolean;
|
|
5
|
-
title?: React.ReactNode;
|
|
6
|
-
subtitle?: React.ReactNode;
|
|
7
|
-
checked: boolean;
|
|
8
|
-
line?: boolean;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BoxProps } from "@material-ui/core";
|
|
3
|
-
export interface RadioListProps extends Pick<BoxProps, Exclude<keyof BoxProps, "title">> {
|
|
4
|
-
multiline?: boolean;
|
|
5
|
-
title?: React.ReactNode;
|
|
6
|
-
subtitle?: React.ReactNode;
|
|
7
|
-
checked: boolean;
|
|
8
|
-
line?: boolean;
|
|
9
|
-
}
|
package/build/Chip/Chip.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BoxProps } from "@material-ui/core";
|
|
3
|
-
export interface ChipProps extends BoxProps {
|
|
4
|
-
icon?: React.ReactNode;
|
|
5
|
-
variant?: "neutral" | "primary" | "success" | "danger";
|
|
6
|
-
width?: string | number;
|
|
7
|
-
height?: string | number;
|
|
8
|
-
label?: string | React.ReactNode;
|
|
9
|
-
outlined?: boolean;
|
|
10
|
-
contained?: boolean;
|
|
11
|
-
}
|
|
@@ -1,14 +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
|
-
value?: string;
|
|
14
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SelectProps } from "@material-ui/core";
|
|
3
|
-
export interface DropdownProps extends SelectProps {
|
|
4
|
-
width?: number | string;
|
|
5
|
-
height?: number;
|
|
6
|
-
helperText?: React.ReactNode;
|
|
7
|
-
helperTextStyle?: React.CSSProperties;
|
|
8
|
-
formControlStyle?: React.CSSProperties;
|
|
9
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IconButtonProps } from "@material-ui/core";
|
|
2
|
-
export interface MyIconButtonProps extends IconButtonProps {
|
|
3
|
-
width?: number | string;
|
|
4
|
-
height?: number | string;
|
|
5
|
-
hoverIconColor?: "primary" | "secondary" | "tertiary" | "primary50" | "primary100" | "primary200" | "primary300" | "primary400" | "primary500" | "primary600" | "primary700" | "primary800" | "primary900" | "primaryA11y" | "secondary50" | "secondary100" | "secondary200" | "secondary300" | "secondary400" | "secondary500" | "secondary600" | "secondary700" | "secondary800" | "secondary900" | "secondaryA11y" | "danger50" | "danger100" | "danger200" | "danger300" | "danger400" | "danger500" | "danger600" | "danger700" | "danger800" | "danger900" | "dangerA11y" | "success50" | "success100" | "success200" | "success300" | "success400" | "success500" | "success600" | "success700" | "success800" | "success900" | "successA11y" | "white" | "black100" | "black200" | "black300" | "black400" | "black500" | "black600" | "black700" | "black800" | "black900" | "black1000" | string;
|
|
6
|
-
hoverColor?: "primary" | "secondary" | "tertiary" | "primary50" | "primary100" | "primary200" | "primary300" | "primary400" | "primary500" | "primary600" | "primary700" | "primary800" | "primary900" | "primaryA11y" | "secondary50" | "secondary100" | "secondary200" | "secondary300" | "secondary400" | "secondary500" | "secondary600" | "secondary700" | "secondary800" | "secondary900" | "secondaryA11y" | "danger50" | "danger100" | "danger200" | "danger300" | "danger400" | "danger500" | "danger600" | "danger700" | "danger800" | "danger900" | "dangerA11y" | "success50" | "success100" | "success200" | "success300" | "success400" | "success500" | "success600" | "success700" | "success800" | "success900" | "successA11y" | "white" | "black100" | "black200" | "black300" | "black400" | "black500" | "black600" | "black700" | "black800" | "black900" | "black1000" | string;
|
|
7
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface LandingPageProps {
|
|
2
|
-
hero?: boolean;
|
|
3
|
-
logos?: boolean;
|
|
4
|
-
hightLight?: boolean;
|
|
5
|
-
painPoints?: boolean;
|
|
6
|
-
howItWorks?: boolean;
|
|
7
|
-
valueProp?: boolean;
|
|
8
|
-
comparison?: boolean;
|
|
9
|
-
userBase?: boolean;
|
|
10
|
-
socialProof?: boolean;
|
|
11
|
-
qA?: boolean;
|
|
12
|
-
feature?: boolean;
|
|
13
|
-
footer?: boolean;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface LandingPageMobileProps {
|
|
2
|
-
hero?: boolean;
|
|
3
|
-
logos?: boolean;
|
|
4
|
-
hightLight?: boolean;
|
|
5
|
-
painPoints?: boolean;
|
|
6
|
-
howItWorks?: boolean;
|
|
7
|
-
valueProp?: boolean;
|
|
8
|
-
comparison?: boolean;
|
|
9
|
-
userBase?: boolean;
|
|
10
|
-
socialProof?: boolean;
|
|
11
|
-
qA?: boolean;
|
|
12
|
-
feature?: boolean;
|
|
13
|
-
footer?: boolean;
|
|
14
|
-
}
|
package/build/Link/Link.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { LinkProps } from "@material-ui/core";
|
|
2
|
-
export interface MyLinkProps extends Pick<LinkProps, Exclude<keyof LinkProps, "color">> {
|
|
3
|
-
color?: "primary" | "secondary" | "tertiary" | "primary50" | "primary100" | "primary200" | "primary300" | "primary400" | "primary500" | "primary600" | "primary700" | "primary800" | "primary900" | "primaryA11y" | "secondary50" | "secondary100" | "secondary200" | "secondary300" | "secondary400" | "secondary500" | "secondary600" | "secondary700" | "secondary800" | "secondary900" | "secondaryA11y" | "danger50" | "danger100" | "danger200" | "danger300" | "danger400" | "danger500" | "danger600" | "danger700" | "danger800" | "danger900" | "dangerA11y" | "success50" | "success100" | "success200" | "success300" | "success400" | "success500" | "success600" | "success700" | "success800" | "success900" | "successA11y" | "white" | "black100" | "black200" | "black300" | "black400" | "black500" | "black600" | "black700" | "black800" | "black900" | "black1000";
|
|
4
|
-
}
|
package/build/Menu/Menu.d.ts
DELETED
package/build/Menu/MenuItem.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { MenuItemProps } from "@material-ui/core";
|
|
3
|
-
export interface MyMenuItemProps extends MenuItemProps {
|
|
4
|
-
button?: true;
|
|
5
|
-
width?: number | string;
|
|
6
|
-
height?: number | string;
|
|
7
|
-
hoverBackgroundColor?: string;
|
|
8
|
-
hoverFontColor?: string;
|
|
9
|
-
hoverIconColor?: string;
|
|
10
|
-
rippleColor?: string;
|
|
11
|
-
iconChildren?: React.ReactNode;
|
|
12
|
-
}
|
package/build/Menu/Select.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface SelectProps {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
style?: React.CSSProperties;
|
|
5
|
-
label?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
type?: string;
|
|
8
|
-
helperText?: React.ReactNode;
|
|
9
|
-
error?: boolean;
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
rowsMax?: number | string;
|
|
12
|
-
rows?: number | string;
|
|
13
|
-
multiline?: boolean;
|
|
14
|
-
value?: any;
|
|
15
|
-
onChange?: (event: React.ChangeEvent<{
|
|
16
|
-
name?: string;
|
|
17
|
-
value: unknown;
|
|
18
|
-
}>, child: React.ReactNode) => void;
|
|
19
|
-
InputProps?: object;
|
|
20
|
-
autoFocus?: boolean;
|
|
21
|
-
placeholder?: string;
|
|
22
|
-
required?: boolean;
|
|
23
|
-
select?: boolean;
|
|
24
|
-
defaultValue?: any;
|
|
25
|
-
width?: number | string;
|
|
26
|
-
height?: number;
|
|
27
|
-
vertical?: "top" | "center" | "bottom" | number;
|
|
28
|
-
horizontal?: "left" | "center" | "right" | number;
|
|
29
|
-
open?: boolean;
|
|
30
|
-
placeholderStyle?: React.CSSProperties;
|
|
31
|
-
selectStyle?: React.CSSProperties;
|
|
32
|
-
helperTextStyle?: React.CSSProperties;
|
|
33
|
-
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
34
|
-
transformOrigin?: {
|
|
35
|
-
horizontal: "center" | "left" | "right" | number;
|
|
36
|
-
vertical: "bottom" | "center" | "top" | number;
|
|
37
|
-
};
|
|
38
|
-
paddingLeft?: number;
|
|
39
|
-
paddingTop?: number;
|
|
40
|
-
dropdown?: boolean;
|
|
41
|
-
}
|
package/build/Modal/Modal.d.ts
DELETED