@cryptofi/core-ui 0.43.0 → 0.45.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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +9 -1
- package/package.json +17 -17
package/dist/types/index.d.ts
CHANGED
|
@@ -314,6 +314,14 @@ declare const utcDateToLocal: ({ dateFormat, timeString, }: {
|
|
|
314
314
|
}) => string;
|
|
315
315
|
//# sourceMappingURL=utcDateToLocal.d.ts.map
|
|
316
316
|
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @description Returns a phone number string in the following format: (000) 000-0000.
|
|
320
|
+
* @link https://stackoverflow.com/a/8358141
|
|
321
|
+
*/
|
|
322
|
+
declare const formatPhoneNumber: (phoneNumberString: string) => string;
|
|
323
|
+
//# sourceMappingURL=formatPhoneNumber.d.ts.map
|
|
324
|
+
|
|
317
325
|
declare const CfAreaChart: ({ data, dataKey, width, height, areaType, showTooltip, isAnimated, formatter, labelFormatter, sampleRate, style, }: {
|
|
318
326
|
data: any[] | undefined;
|
|
319
327
|
dataKey: string;
|
|
@@ -499,4 +507,4 @@ declare const layoutMinWidth = "22rem";
|
|
|
499
507
|
declare const dateFormatNoTime = "MM/DD/YY";
|
|
500
508
|
declare const dateFormatWithTime = "MM/DD/YYYY h:mmA";
|
|
501
509
|
|
|
502
|
-
export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, type CfInputProps, CfLineChart, CfModal, 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, dateFormatNoTime, dateFormatWithTime, dateToTimestamp, formatPercentage, formatUsd, getDelta, layoutMinWidth, pullFromEnd, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, utcDateToLocal };
|
|
510
|
+
export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, type CfInputProps, CfLineChart, CfModal, 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, dateFormatNoTime, dateFormatWithTime, 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": "0.
|
|
3
|
+
"version": "0.45.0",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "CryptoFi"
|
|
6
6
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@chakra-ui/react": "^2.4.9",
|
|
42
42
|
"@emotion/react": "^11.11.4",
|
|
43
|
-
"@emotion/styled": "^11.11.
|
|
43
|
+
"@emotion/styled": "^11.11.5",
|
|
44
44
|
"framer-motion": "^10.16.4",
|
|
45
45
|
"react": "^18.2.0",
|
|
46
46
|
"react-dom": "^18.2.0"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"currency.js": "^2.0.4",
|
|
54
54
|
"dayjs": "^1.11.10",
|
|
55
55
|
"react-currency-input-field": "^3.8.0",
|
|
56
|
-
"react-hook-form": "^7.51.
|
|
56
|
+
"react-hook-form": "^7.51.2",
|
|
57
57
|
"react-paginate": "^8.2.0",
|
|
58
58
|
"recharts": "^2.12.2",
|
|
59
59
|
"yup": "^1.4.0"
|
|
@@ -63,22 +63,22 @@
|
|
|
63
63
|
"@chakra-ui/react": "^2.4.9",
|
|
64
64
|
"@chakra-ui/storybook-addon": "^5.1.0",
|
|
65
65
|
"@emotion/react": "^11.11.4",
|
|
66
|
-
"@emotion/styled": "^11.11.
|
|
66
|
+
"@emotion/styled": "^11.11.5",
|
|
67
67
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
68
68
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
69
69
|
"@rollup/plugin-terser": "^0.4.4",
|
|
70
|
-
"@storybook/addon-essentials": "^8.0.
|
|
71
|
-
"@storybook/addon-interactions": "^8.0.
|
|
72
|
-
"@storybook/addon-links": "^8.0.
|
|
73
|
-
"@storybook/addon-onboarding": "^8.0.
|
|
74
|
-
"@storybook/blocks": "^8.0.
|
|
75
|
-
"@storybook/components": "^8.0.
|
|
76
|
-
"@storybook/manager-api": "^8.0.
|
|
77
|
-
"@storybook/preview-api": "^8.0.
|
|
78
|
-
"@storybook/react": "^8.0.
|
|
79
|
-
"@storybook/react-vite": "^8.0.
|
|
80
|
-
"@storybook/test": "^8.0.
|
|
81
|
-
"@storybook/types": "^8.0.
|
|
70
|
+
"@storybook/addon-essentials": "^8.0.5",
|
|
71
|
+
"@storybook/addon-interactions": "^8.0.5",
|
|
72
|
+
"@storybook/addon-links": "^8.0.5",
|
|
73
|
+
"@storybook/addon-onboarding": "^8.0.5",
|
|
74
|
+
"@storybook/blocks": "^8.0.5",
|
|
75
|
+
"@storybook/components": "^8.0.5",
|
|
76
|
+
"@storybook/manager-api": "^8.0.5",
|
|
77
|
+
"@storybook/preview-api": "^8.0.5",
|
|
78
|
+
"@storybook/react": "^8.0.5",
|
|
79
|
+
"@storybook/react-vite": "^8.0.5",
|
|
80
|
+
"@storybook/test": "^8.0.5",
|
|
81
|
+
"@storybook/types": "^8.0.5",
|
|
82
82
|
"@svgr/cli": "^8.1.0",
|
|
83
83
|
"@svgr/core": "^8.1.0",
|
|
84
84
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"rollup-plugin-filesize": "^10.0.0",
|
|
126
126
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
127
127
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
128
|
-
"storybook": "^8.0.
|
|
128
|
+
"storybook": "^8.0.5",
|
|
129
129
|
"stringify-object": "^5.0.0",
|
|
130
130
|
"ts-jest": "^29.0.5",
|
|
131
131
|
"typescript": "^5.4.2",
|