@cryptofi/core-ui 0.35.0 → 0.36.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 +1 -13
- package/package.json +7 -8
package/dist/types/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { SVGProps, Dispatch, SetStateAction } from 'react';
|
|
6
6
|
import { IconProps, ButtonGroupProps, ButtonProps, CardProps, CheckboxProps, FlexProps, InputProps as InputProps$1, ModalProps, SelectProps, TagProps, ChakraComponent, UseToastOptions } from '@chakra-ui/react';
|
|
7
|
-
import s from 'slugify';
|
|
8
7
|
import { CurveType } from 'recharts/types/shape/Curve';
|
|
9
8
|
import { CurrencyInputProps } from 'react-currency-input-field';
|
|
10
9
|
import { FieldValues, UseFormRegister, Control } from 'react-hook-form';
|
|
@@ -294,17 +293,6 @@ declare const usdToNumber: ({ usd, precision, autoPrecision, }: {
|
|
|
294
293
|
}) => number;
|
|
295
294
|
//# sourceMappingURL=usdToNumber.d.ts.map
|
|
296
295
|
|
|
297
|
-
type Options = Parameters<typeof s>[1];
|
|
298
|
-
type Narrowed = Extract<Options, {
|
|
299
|
-
replacement?: string | undefined;
|
|
300
|
-
}>;
|
|
301
|
-
/**
|
|
302
|
-
* @description Slugifies a string, with the same API as `slugify` from NPM, but defaults lower to true.
|
|
303
|
-
* @link https://www.npmjs.com/package/slugify
|
|
304
|
-
*/
|
|
305
|
-
declare const slugify: (str: string | undefined, options?: Narrowed) => string;
|
|
306
|
-
//# sourceMappingURL=slugify.d.ts.map
|
|
307
|
-
|
|
308
296
|
declare const CfAreaChart: ({ data, dataKey, width, height, areaType, showTooltip, isAnimated, formatter, sampleRate, style, }: {
|
|
309
297
|
data: any[] | undefined;
|
|
310
298
|
dataKey: string;
|
|
@@ -467,4 +455,4 @@ declare const useBreakpoint: () => {
|
|
|
467
455
|
|
|
468
456
|
declare const layoutMinWidth = "22rem";
|
|
469
457
|
|
|
470
|
-
export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, type CfInputProps, CfLineChart, CfModal, 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, SvgIconClose as IconClose, SvgIconConnect as IconConnect, SvgIconCopy as IconCopy, SvgIconDollar as IconDollar, 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, 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, aggregateAmounts, exportedTheme as coreTheme, dateToTimestamp, formatPercentage, formatUsd, getDelta, layoutMinWidth, pullFromEnd,
|
|
458
|
+
export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, type CfInputProps, CfLineChart, CfModal, 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, SvgIconClose as IconClose, SvgIconConnect as IconConnect, SvgIconCopy as IconCopy, SvgIconDollar as IconDollar, 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, 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, aggregateAmounts, exportedTheme as coreTheme, dateToTimestamp, formatPercentage, formatUsd, getDelta, layoutMinWidth, pullFromEnd, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptofi/core-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "CryptoFi"
|
|
6
6
|
},
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
],
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@chakra-ui/react": "^2.4.9",
|
|
40
|
-
"@emotion/react": "^11.11.
|
|
40
|
+
"@emotion/react": "^11.11.4",
|
|
41
41
|
"@emotion/styled": "^11.11.0",
|
|
42
42
|
"framer-motion": "^10.16.4",
|
|
43
43
|
"react": "^18.2.0",
|
|
@@ -51,16 +51,15 @@
|
|
|
51
51
|
"currency.js": "^2.0.4",
|
|
52
52
|
"dayjs": "^1.11.10",
|
|
53
53
|
"react-currency-input-field": "^3.8.0",
|
|
54
|
-
"react-hook-form": "^7.
|
|
54
|
+
"react-hook-form": "^7.51.0",
|
|
55
55
|
"recharts": "^2.12.2",
|
|
56
|
-
"slugify": "^1.6.6",
|
|
57
56
|
"yup": "^1.3.3"
|
|
58
57
|
},
|
|
59
58
|
"devDependencies": {
|
|
60
59
|
"@babel/core": "^7.24.0",
|
|
61
60
|
"@chakra-ui/react": "^2.4.9",
|
|
62
61
|
"@chakra-ui/storybook-addon": "^5.0.1",
|
|
63
|
-
"@emotion/react": "^11.11.
|
|
62
|
+
"@emotion/react": "^11.11.4",
|
|
64
63
|
"@emotion/styled": "^11.11.0",
|
|
65
64
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
66
65
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
@@ -87,12 +86,12 @@
|
|
|
87
86
|
"@types/big.js": "^6.2.2",
|
|
88
87
|
"@types/jest": "^29.2.6",
|
|
89
88
|
"@types/prop-types": "^15",
|
|
90
|
-
"@types/react": "^18.2.
|
|
89
|
+
"@types/react": "^18.2.64",
|
|
91
90
|
"@types/react-dom": "^18.2.19",
|
|
92
91
|
"@types/rollup-plugin-peer-deps-external": "^2",
|
|
93
92
|
"@types/stringify-object": "^4.0.4",
|
|
94
93
|
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
|
95
|
-
"@typescript-eslint/parser": "^7.1.
|
|
94
|
+
"@typescript-eslint/parser": "^7.1.1",
|
|
96
95
|
"chalk": "4.1.2",
|
|
97
96
|
"core-js": "^3.36.0",
|
|
98
97
|
"cross-var": "^1.1.0",
|
|
@@ -117,7 +116,7 @@
|
|
|
117
116
|
"prop-types": "^15.8.1",
|
|
118
117
|
"react": "^18.2.0",
|
|
119
118
|
"react-dom": "^18.2.0",
|
|
120
|
-
"rollup": "^4.
|
|
119
|
+
"rollup": "^4.12.1",
|
|
121
120
|
"rollup-plugin-delete": "^2.0.0",
|
|
122
121
|
"rollup-plugin-dts": "^6.1.0",
|
|
123
122
|
"rollup-plugin-filesize": "^10.0.0",
|