@cryptofi/core-ui 1.4.2 → 1.5.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/dist/index.js +18 -4
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +4 -1
- package/package.json +25 -25
package/dist/types/index.d.ts
CHANGED
|
@@ -277,6 +277,9 @@ declare const getDelta: ({ data, dataKey }: {
|
|
|
277
277
|
};
|
|
278
278
|
//# sourceMappingURL=getDelta.d.ts.map
|
|
279
279
|
|
|
280
|
+
declare const isIframe: () => boolean;
|
|
281
|
+
//# sourceMappingURL=isIframe.d.ts.map
|
|
282
|
+
|
|
280
283
|
/**
|
|
281
284
|
* @description Pulls every nth element from a time series array, starting from the end
|
|
282
285
|
* to ensure the most recent entry is included.
|
|
@@ -553,4 +556,4 @@ declare const useBreakpoint: () => {
|
|
|
553
556
|
};
|
|
554
557
|
//# sourceMappingURL=useBreakpoint.d.ts.map
|
|
555
558
|
|
|
556
|
-
export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, CfLineChart, CfModal, CfNavLink, CfOpenSearchPagination, CfPagination, PrettyWrap as CfPrettyWrap, CfSelect, type CfSelectOption, type CfSelectProps, CfSpinner, CfTag, type CfTagProps, CfToast, CfTooltip, SvgIconAlert as IconAlert, SvgIconAlgo as IconAlgo, SvgIconArrowDown as IconArrowDown, SvgIconArrowUp as IconArrowUp, SvgIconAvax as IconAvax, SvgIconBank as IconBank, SvgIconBarChart as IconBarChart, SvgIconBch as IconBch, SvgIconBookCheck as IconBookCheck, 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, SvgIconMkr as IconMkr, 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, SvgIconXrp as IconXrp, type PageClickEvent, aggregateAmounts, exportedTheme as coreTheme, dateFormats, dateToTimestamp, formatPercentage, formatPhoneNumber, formatUsd, getDelta, layoutMinWidth, pullFromEnd, splitOnCapitals, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, utcDateToLocal };
|
|
559
|
+
export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, CfLineChart, CfModal, CfNavLink, CfOpenSearchPagination, CfPagination, PrettyWrap as CfPrettyWrap, CfSelect, type CfSelectOption, type CfSelectProps, CfSpinner, CfTag, type CfTagProps, CfToast, CfTooltip, SvgIconAlert as IconAlert, SvgIconAlgo as IconAlgo, SvgIconArrowDown as IconArrowDown, SvgIconArrowUp as IconArrowUp, SvgIconAvax as IconAvax, SvgIconBank as IconBank, SvgIconBarChart as IconBarChart, SvgIconBch as IconBch, SvgIconBookCheck as IconBookCheck, 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, SvgIconMkr as IconMkr, 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, SvgIconXrp as IconXrp, type PageClickEvent, aggregateAmounts, exportedTheme as coreTheme, dateFormats, dateToTimestamp, formatPercentage, formatPhoneNumber, formatUsd, getDelta, isIframe, layoutMinWidth, pullFromEnd, splitOnCapitals, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, utcDateToLocal };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptofi/core-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "CryptoFi"
|
|
6
6
|
},
|
|
@@ -56,65 +56,65 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@chakra-ui/anatomy": "^2.3.4",
|
|
59
|
-
"@hookform/resolvers": "^3.9.
|
|
59
|
+
"@hookform/resolvers": "^3.9.1",
|
|
60
60
|
"big.js": "^6.2.2",
|
|
61
61
|
"colord": "^2.9.3",
|
|
62
62
|
"currency.js": "^2.0.4",
|
|
63
63
|
"dayjs": "^1.11.13",
|
|
64
64
|
"nanoid": "^3.3.6",
|
|
65
65
|
"react-currency-input-field": "^3.8.0",
|
|
66
|
-
"react-hook-form": "^7.53.
|
|
66
|
+
"react-hook-form": "^7.53.1",
|
|
67
67
|
"react-paginate": "^8.2.0",
|
|
68
68
|
"recharts": "^2.13.0",
|
|
69
69
|
"yup": "^1.4.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@babel/core": "^7.
|
|
72
|
+
"@babel/core": "^7.26.0",
|
|
73
73
|
"@chakra-ui/react": "^2.10.3",
|
|
74
74
|
"@chakra-ui/storybook-addon": "^5.2.5",
|
|
75
75
|
"@emotion/react": "^11.13.3",
|
|
76
76
|
"@emotion/styled": "^11.13.0",
|
|
77
77
|
"@eslint/js": "^9.13.0",
|
|
78
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
78
|
+
"@rollup/plugin-commonjs": "^28.0.1",
|
|
79
79
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
80
80
|
"@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.
|
|
81
|
+
"@storybook/addon-essentials": "^8.4.1",
|
|
82
|
+
"@storybook/addon-interactions": "^8.4.1",
|
|
83
|
+
"@storybook/addon-links": "^8.4.1",
|
|
84
|
+
"@storybook/addon-onboarding": "^8.4.1",
|
|
85
|
+
"@storybook/blocks": "^8.4.1",
|
|
86
|
+
"@storybook/components": "^8.4.1",
|
|
87
|
+
"@storybook/manager-api": "^8.4.1",
|
|
88
|
+
"@storybook/preview-api": "^8.4.1",
|
|
89
|
+
"@storybook/react": "^8.4.1",
|
|
90
|
+
"@storybook/react-vite": "^8.4.1",
|
|
91
|
+
"@storybook/test": "^8.4.1",
|
|
92
|
+
"@storybook/types": "^8.4.1",
|
|
93
93
|
"@svgr/cli": "^8.1.0",
|
|
94
94
|
"@svgr/core": "^8.1.0",
|
|
95
95
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
96
96
|
"@svgr/plugin-prettier": "^8.1.0",
|
|
97
97
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
98
|
-
"@testing-library/jest-dom": "^6.
|
|
98
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
99
99
|
"@testing-library/react": "^16.0.1",
|
|
100
100
|
"@types/big.js": "^6.2.2",
|
|
101
101
|
"@types/eslint__js": "^8.42.3",
|
|
102
|
-
"@types/jest": "^29.5.
|
|
102
|
+
"@types/jest": "^29.5.14",
|
|
103
103
|
"@types/prop-types": "^15",
|
|
104
|
-
"@types/react": "^18.3.
|
|
104
|
+
"@types/react": "^18.3.12",
|
|
105
105
|
"@types/react-dom": "^18.3.1",
|
|
106
106
|
"@types/rollup-plugin-peer-deps-external": "^2",
|
|
107
107
|
"@types/stringify-object": "^4.0.4",
|
|
108
108
|
"@typescript-eslint/eslint-plugin": "^8.4.0",
|
|
109
|
-
"@typescript-eslint/parser": "^8.
|
|
109
|
+
"@typescript-eslint/parser": "^8.11.0",
|
|
110
110
|
"chalk": "^4.1.2",
|
|
111
111
|
"core-js": "^3.38.1",
|
|
112
112
|
"cross-var": "^1.1.0",
|
|
113
113
|
"dotenv-cli": "^7.4.1",
|
|
114
|
-
"eslint": "^9.
|
|
114
|
+
"eslint": "^9.13.0",
|
|
115
115
|
"eslint-config-prettier": "^9.1.0",
|
|
116
116
|
"eslint-plugin-check-file": "^2.8.0",
|
|
117
|
-
"eslint-plugin-import": "^2.
|
|
117
|
+
"eslint-plugin-import": "^2.31.0",
|
|
118
118
|
"eslint-plugin-jsx-a11y": "^6.10.0",
|
|
119
119
|
"eslint-plugin-prettier": "5.2.1",
|
|
120
120
|
"eslint-plugin-react": "^7.36.1",
|
|
@@ -131,14 +131,14 @@
|
|
|
131
131
|
"react": "^18.3.1",
|
|
132
132
|
"react-dom": "^18.2.0",
|
|
133
133
|
"react-imask": "^7.6.1",
|
|
134
|
-
"rollup": "^4.24.
|
|
134
|
+
"rollup": "^4.24.2",
|
|
135
135
|
"rollup-plugin-delete": "^2.1.0",
|
|
136
136
|
"rollup-plugin-dts": "^6.1.1",
|
|
137
137
|
"rollup-plugin-filesize": "^10.0.0",
|
|
138
138
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
139
139
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
140
140
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
141
|
-
"storybook": "^8.
|
|
141
|
+
"storybook": "^8.4.1",
|
|
142
142
|
"stringify-object": "^5.0.0",
|
|
143
143
|
"ts-jest": "^29.2.5",
|
|
144
144
|
"typescript": "^5.6.3",
|