@cryptofi/core-ui 0.66.0 → 1.1.0
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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +8 -3
- package/package.json +27 -28
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
|
2
|
-
import { IconProps, ButtonGroupProps, ButtonProps, CardProps, FlexProps, CheckboxProps, SystemStyleObject, InputProps as InputProps$1, ModalProps, LayoutProps, LinkProps, SelectProps, TagProps, ChakraComponent, UseToastOptions } from '@chakra-ui/react';
|
|
2
|
+
import { IconProps, ButtonGroupProps, ButtonProps, CardProps, FlexProps, CheckboxProps, SystemStyleObject, InputProps as InputProps$1, ModalProps, LayoutProps, ModalBodyProps, ModalContentProps, LinkProps, SelectProps, TagProps, ChakraComponent, UseToastOptions } from '@chakra-ui/react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import React, { SVGProps, CSSProperties, ReactElement, ReactNode, FormEvent, Dispatch, SetStateAction } from 'react';
|
|
5
5
|
import { CurveType } from 'recharts/types/shape/Curve';
|
|
@@ -108,6 +108,9 @@ declare const SvgIconMail: _chakra_ui_react.ChakraComponent<(props: IconProps &
|
|
|
108
108
|
declare const SvgIconMenu: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
109
109
|
//# sourceMappingURL=IconMenu.d.ts.map
|
|
110
110
|
|
|
111
|
+
declare const SvgIconMinus: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
112
|
+
//# sourceMappingURL=IconMinus.d.ts.map
|
|
113
|
+
|
|
111
114
|
declare const SvgIconMore: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
112
115
|
//# sourceMappingURL=IconMore.d.ts.map
|
|
113
116
|
|
|
@@ -431,8 +434,10 @@ interface Props$2 extends ModalProps {
|
|
|
431
434
|
bodyBackground?: string;
|
|
432
435
|
isDisabledCloseButton?: boolean;
|
|
433
436
|
maxHeight?: LayoutProps['maxH'];
|
|
437
|
+
bodyProps?: ModalBodyProps;
|
|
438
|
+
contentProps?: ModalContentProps;
|
|
434
439
|
}
|
|
435
|
-
declare const CfModal: ({ isOpen, onClose, headerContent, footerContent, children, isCentered, size,
|
|
440
|
+
declare const CfModal: ({ isOpen, onClose, headerContent, footerContent, children, isCentered, size, isDisabledCloseButton, bodyProps, contentProps, ...rest }: Props$2) => react_jsx_runtime.JSX.Element;
|
|
436
441
|
//# sourceMappingURL=Modal.d.ts.map
|
|
437
442
|
|
|
438
443
|
interface CfNavLinkProps extends LinkProps {
|
|
@@ -520,4 +525,4 @@ declare const dateFormats: {
|
|
|
520
525
|
shortDateWithYear: string;
|
|
521
526
|
};
|
|
522
527
|
|
|
523
|
-
export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, CfLineChart, CfModal, CfNavLink, CfOpenSearchPagination, CfPagination, CfSelect, type CfSelectOption, type CfSelectProps, CfSpinner, CfTag, type CfTagProps, CfToast, SvgIconAlert as IconAlert, SvgIconArrowDown as IconArrowDown, SvgIconArrowUp as IconArrowUp, SvgIconAvax as IconAvax, SvgIconBank as IconBank, SvgIconBarChart as IconBarChart, SvgIconBch as IconBch, SvgIconBtc as IconBtc, SvgIconCalendar as IconCalendar, SvgIconCaretDown as IconCaretDown, SvgIconCaretLeft as IconCaretLeft, SvgIconCaretRight as IconCaretRight, SvgIconCaretUp as IconCaretUp, SvgIconCent as IconCent, SvgIconCheck as IconCheck, SvgIconChecking as IconChecking, SvgIconCircleCheck as IconCircleCheck, SvgIconClose as IconClose, SvgIconConnect as IconConnect, SvgIconCopy as IconCopy, SvgIconDollar as IconDollar, SvgIconDollarBill as IconDollarBill, SvgIconDownload as IconDownload, SvgIconEdit as IconEdit, SvgIconEnter as IconEnter, SvgIconEnterInverted as IconEnterInverted, SvgIconEth as IconEth, SvgIconExchange as IconExchange, SvgIconFilter as IconFilter, SvgIconHelp as IconHelp, SvgIconHistory as IconHistory, SvgIconHome as IconHome, SvgIconIndicatorDown as IconIndicatorDown, SvgIconIndicatorUp as IconIndicatorUp, SvgIconInfo as IconInfo, SvgIconLink as IconLink, SvgIconLock as IconLock, SvgIconLtc as IconLtc, SvgIconMail as IconMail, SvgIconMenu as IconMenu, SvgIconMore as IconMore, SvgIconNotification as IconNotification, SvgIconOverview as IconOverview, SvgIconPercent as IconPercent, SvgIconPieChart as IconPieChart, SvgIconPlus as IconPlus, SvgIconRefresh as IconRefresh, SvgIconReports as IconReports, SvgIconReservesSuccess as IconReservesSuccess, SvgIconReservesWarning as IconReservesWarning, SvgIconSearch as IconSearch, SvgIconSettings as IconSettings, SvgIconSettlement as IconSettlement, SvgIconSignIn as IconSignIn, SvgIconSignOut as IconSignOut, SvgIconSort as IconSort, SvgIconSpinner as IconSpinner, SvgIconSupport as IconSupport, SvgIconTrash as IconTrash, SvgIconUpload as IconUpload, SvgIconUser as IconUser, SvgIconXlm as IconXlm, type PageClickEvent, aggregateAmounts, exportedTheme as coreTheme, dateFormats, dateToTimestamp, formatPercentage, formatPhoneNumber, formatUsd, getDelta, layoutMinWidth, pullFromEnd, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, utcDateToLocal };
|
|
528
|
+
export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, CfLineChart, CfModal, CfNavLink, CfOpenSearchPagination, CfPagination, CfSelect, type CfSelectOption, type CfSelectProps, CfSpinner, CfTag, type CfTagProps, CfToast, SvgIconAlert as IconAlert, SvgIconArrowDown as IconArrowDown, SvgIconArrowUp as IconArrowUp, SvgIconAvax as IconAvax, SvgIconBank as IconBank, SvgIconBarChart as IconBarChart, SvgIconBch as IconBch, SvgIconBtc as IconBtc, SvgIconCalendar as IconCalendar, SvgIconCaretDown as IconCaretDown, SvgIconCaretLeft as IconCaretLeft, SvgIconCaretRight as IconCaretRight, SvgIconCaretUp as IconCaretUp, SvgIconCent as IconCent, SvgIconCheck as IconCheck, SvgIconChecking as IconChecking, SvgIconCircleCheck as IconCircleCheck, SvgIconClose as IconClose, SvgIconConnect as IconConnect, SvgIconCopy as IconCopy, SvgIconDollar as IconDollar, SvgIconDollarBill as IconDollarBill, SvgIconDownload as IconDownload, SvgIconEdit as IconEdit, SvgIconEnter as IconEnter, SvgIconEnterInverted as IconEnterInverted, SvgIconEth as IconEth, SvgIconExchange as IconExchange, SvgIconFilter as IconFilter, SvgIconHelp as IconHelp, SvgIconHistory as IconHistory, SvgIconHome as IconHome, SvgIconIndicatorDown as IconIndicatorDown, SvgIconIndicatorUp as IconIndicatorUp, SvgIconInfo as IconInfo, SvgIconLink as IconLink, SvgIconLock as IconLock, SvgIconLtc as IconLtc, SvgIconMail as IconMail, SvgIconMenu as IconMenu, SvgIconMinus as IconMinus, SvgIconMore as IconMore, SvgIconNotification as IconNotification, SvgIconOverview as IconOverview, SvgIconPercent as IconPercent, SvgIconPieChart as IconPieChart, SvgIconPlus as IconPlus, SvgIconRefresh as IconRefresh, SvgIconReports as IconReports, SvgIconReservesSuccess as IconReservesSuccess, SvgIconReservesWarning as IconReservesWarning, SvgIconSearch as IconSearch, SvgIconSettings as IconSettings, SvgIconSettlement as IconSettlement, SvgIconSignIn as IconSignIn, SvgIconSignOut as IconSignOut, SvgIconSort as IconSort, SvgIconSpinner as IconSpinner, SvgIconSupport as IconSupport, SvgIconTrash as IconTrash, SvgIconUpload as IconUpload, SvgIconUser as IconUser, SvgIconXlm as IconXlm, type PageClickEvent, aggregateAmounts, exportedTheme as coreTheme, dateFormats, dateToTimestamp, formatPercentage, formatPhoneNumber, formatUsd, getDelta, layoutMinWidth, pullFromEnd, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, utcDateToLocal };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptofi/core-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "CryptoFi"
|
|
6
6
|
},
|
|
@@ -41,26 +41,25 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"module": "dist/index.js",
|
|
44
|
-
"types": "dist/types/index.d.ts",
|
|
45
44
|
"src": "src",
|
|
46
45
|
"files": [
|
|
47
46
|
"dist"
|
|
48
47
|
],
|
|
49
48
|
"peerDependencies": {
|
|
50
49
|
"@chakra-ui/react": "^2.4.9",
|
|
51
|
-
"@emotion/react": "^11.
|
|
52
|
-
"@emotion/styled": "^11.
|
|
50
|
+
"@emotion/react": "^11.13.0",
|
|
51
|
+
"@emotion/styled": "^11.13.0",
|
|
53
52
|
"framer-motion": "^10.16.4",
|
|
54
53
|
"react": "^18.3.1",
|
|
55
54
|
"react-dom": "^18.2.0"
|
|
56
55
|
},
|
|
57
56
|
"dependencies": {
|
|
58
57
|
"@chakra-ui/anatomy": "^2.2.2",
|
|
59
|
-
"@hookform/resolvers": "^3.
|
|
58
|
+
"@hookform/resolvers": "^3.9.0",
|
|
60
59
|
"big.js": "^6.2.1",
|
|
61
60
|
"colord": "^2.9.3",
|
|
62
61
|
"currency.js": "^2.0.4",
|
|
63
|
-
"dayjs": "^1.11.
|
|
62
|
+
"dayjs": "^1.11.12",
|
|
64
63
|
"nanoid": "^3.3.6",
|
|
65
64
|
"react-currency-input-field": "^3.8.0",
|
|
66
65
|
"react-hook-form": "^7.52.1",
|
|
@@ -69,33 +68,33 @@
|
|
|
69
68
|
"yup": "^1.4.0"
|
|
70
69
|
},
|
|
71
70
|
"devDependencies": {
|
|
72
|
-
"@babel/core": "^7.24.
|
|
71
|
+
"@babel/core": "^7.24.9",
|
|
73
72
|
"@chakra-ui/react": "^2.4.9",
|
|
74
73
|
"@chakra-ui/storybook-addon": "^5.1.0",
|
|
75
|
-
"@emotion/react": "^11.
|
|
76
|
-
"@emotion/styled": "^11.
|
|
77
|
-
"@eslint/js": "^9.
|
|
74
|
+
"@emotion/react": "^11.13.0",
|
|
75
|
+
"@emotion/styled": "^11.13.0",
|
|
76
|
+
"@eslint/js": "^9.7.0",
|
|
78
77
|
"@rollup/plugin-commonjs": "^25.0.8",
|
|
79
78
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
80
79
|
"@rollup/plugin-terser": "^0.4.4",
|
|
81
|
-
"@storybook/addon-essentials": "^8.
|
|
82
|
-
"@storybook/addon-interactions": "^8.
|
|
83
|
-
"@storybook/addon-links": "^8.
|
|
84
|
-
"@storybook/addon-onboarding": "^8.
|
|
85
|
-
"@storybook/blocks": "^8.
|
|
86
|
-
"@storybook/components": "^8.
|
|
87
|
-
"@storybook/manager-api": "^8.
|
|
88
|
-
"@storybook/preview-api": "^8.
|
|
89
|
-
"@storybook/react": "^8.
|
|
90
|
-
"@storybook/react-vite": "^8.
|
|
91
|
-
"@storybook/test": "^8.
|
|
92
|
-
"@storybook/types": "^8.
|
|
80
|
+
"@storybook/addon-essentials": "^8.2.5",
|
|
81
|
+
"@storybook/addon-interactions": "^8.2.5",
|
|
82
|
+
"@storybook/addon-links": "^8.2.5",
|
|
83
|
+
"@storybook/addon-onboarding": "^8.2.5",
|
|
84
|
+
"@storybook/blocks": "^8.2.5",
|
|
85
|
+
"@storybook/components": "^8.2.5",
|
|
86
|
+
"@storybook/manager-api": "^8.2.5",
|
|
87
|
+
"@storybook/preview-api": "^8.2.5",
|
|
88
|
+
"@storybook/react": "^8.2.5",
|
|
89
|
+
"@storybook/react-vite": "^8.2.5",
|
|
90
|
+
"@storybook/test": "^8.2.5",
|
|
91
|
+
"@storybook/types": "^8.2.5",
|
|
93
92
|
"@svgr/cli": "^8.1.0",
|
|
94
93
|
"@svgr/core": "^8.1.0",
|
|
95
94
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
96
95
|
"@svgr/plugin-prettier": "^8.1.0",
|
|
97
96
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
98
|
-
"@testing-library/jest-dom": "^6.4.
|
|
97
|
+
"@testing-library/jest-dom": "^6.4.8",
|
|
99
98
|
"@testing-library/react": "^16.0.0",
|
|
100
99
|
"@types/big.js": "^6.2.2",
|
|
101
100
|
"@types/eslint__js": "^8.42.3",
|
|
@@ -117,16 +116,16 @@
|
|
|
117
116
|
"eslint-plugin-import": "^2.29.0",
|
|
118
117
|
"eslint-plugin-jsx-a11y": "^6.9.0",
|
|
119
118
|
"eslint-plugin-prettier": "5.1.3",
|
|
120
|
-
"eslint-plugin-react": "^7.
|
|
119
|
+
"eslint-plugin-react": "^7.35.0",
|
|
121
120
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
122
121
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
123
122
|
"eslint-plugin-unused-imports": "^3.2.0",
|
|
124
123
|
"framer-motion": "^10.16.4",
|
|
125
|
-
"globals": "^15.
|
|
124
|
+
"globals": "^15.8.0",
|
|
126
125
|
"identity-obj-proxy": "^3.0.0",
|
|
127
126
|
"jest": "^29.4.0",
|
|
128
127
|
"pnpapi": "^0.0.0",
|
|
129
|
-
"prettier": "^3.3.
|
|
128
|
+
"prettier": "^3.3.3",
|
|
130
129
|
"prop-types": "^15.8.1",
|
|
131
130
|
"react": "^18.3.1",
|
|
132
131
|
"react-dom": "^18.2.0",
|
|
@@ -137,9 +136,9 @@
|
|
|
137
136
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
138
137
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
139
138
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
140
|
-
"storybook": "^8.
|
|
139
|
+
"storybook": "^8.2.5",
|
|
141
140
|
"stringify-object": "^5.0.0",
|
|
142
|
-
"ts-jest": "^29.
|
|
141
|
+
"ts-jest": "^29.2.3",
|
|
143
142
|
"typescript": "^5.4.5",
|
|
144
143
|
"typescript-eslint": "^7.16.0",
|
|
145
144
|
"vite": "^5.2.10"
|