@cryptofi/core-ui 1.3.3 → 1.4.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 +10 -1
- package/package.json +11 -11
package/dist/types/index.d.ts
CHANGED
|
@@ -287,6 +287,9 @@ declare const pullFromEnd: <T>({ arr, n }: {
|
|
|
287
287
|
}) => T[];
|
|
288
288
|
//# sourceMappingURL=pullFromEnd.d.ts.map
|
|
289
289
|
|
|
290
|
+
declare const splitOnCapitals: (input: string) => string;
|
|
291
|
+
//# sourceMappingURL=splitOnCapitals.d.ts.map
|
|
292
|
+
|
|
290
293
|
/**
|
|
291
294
|
* @description An object with predefined UI colors, implemented as functions with optional alpha values.
|
|
292
295
|
* Color names are assigned using https://colornamer.robertcooper.me/.
|
|
@@ -536,6 +539,12 @@ interface CfToastProps extends UseToastOptions {
|
|
|
536
539
|
}
|
|
537
540
|
declare const CfToast: ({ description, title, onClose, isClosable, status }: CfToastProps) => react_jsx_runtime.JSX.Element;
|
|
538
541
|
|
|
542
|
+
declare const CfTooltip: ({ children, label }: {
|
|
543
|
+
children: ReactNode;
|
|
544
|
+
label?: ReactNode;
|
|
545
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
546
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|
|
547
|
+
|
|
539
548
|
declare const useBreakpoint: () => {
|
|
540
549
|
breakpoint: string;
|
|
541
550
|
isSmallBreakpoint: boolean;
|
|
@@ -546,4 +555,4 @@ declare const useBreakpoint: () => {
|
|
|
546
555
|
};
|
|
547
556
|
//# sourceMappingURL=useBreakpoint.d.ts.map
|
|
548
557
|
|
|
549
|
-
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, 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, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, utcDateToLocal };
|
|
558
|
+
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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptofi/core-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "CryptoFi"
|
|
6
6
|
},
|
|
@@ -77,18 +77,18 @@
|
|
|
77
77
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
78
78
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
79
79
|
"@rollup/plugin-terser": "^0.4.4",
|
|
80
|
-
"@storybook/addon-essentials": "^8.3.
|
|
81
|
-
"@storybook/addon-interactions": "^8.3.
|
|
82
|
-
"@storybook/addon-links": "^8.3.
|
|
80
|
+
"@storybook/addon-essentials": "^8.3.4",
|
|
81
|
+
"@storybook/addon-interactions": "^8.3.4",
|
|
82
|
+
"@storybook/addon-links": "^8.3.4",
|
|
83
83
|
"@storybook/addon-onboarding": "^8.3.0",
|
|
84
84
|
"@storybook/blocks": "^8.3.0",
|
|
85
|
-
"@storybook/components": "^8.3.
|
|
86
|
-
"@storybook/manager-api": "^8.3.
|
|
87
|
-
"@storybook/preview-api": "^8.3.
|
|
85
|
+
"@storybook/components": "^8.3.4",
|
|
86
|
+
"@storybook/manager-api": "^8.3.4",
|
|
87
|
+
"@storybook/preview-api": "^8.3.4",
|
|
88
88
|
"@storybook/react": "^8.3.2",
|
|
89
89
|
"@storybook/react-vite": "^8.3.2",
|
|
90
90
|
"@storybook/test": "^8.3.0",
|
|
91
|
-
"@storybook/types": "^8.3.
|
|
91
|
+
"@storybook/types": "^8.3.4",
|
|
92
92
|
"@svgr/cli": "^8.1.0",
|
|
93
93
|
"@svgr/core": "^8.1.0",
|
|
94
94
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
@@ -98,14 +98,14 @@
|
|
|
98
98
|
"@testing-library/react": "^16.0.1",
|
|
99
99
|
"@types/big.js": "^6.2.2",
|
|
100
100
|
"@types/eslint__js": "^8.42.3",
|
|
101
|
-
"@types/jest": "^29.
|
|
101
|
+
"@types/jest": "^29.5.13",
|
|
102
102
|
"@types/prop-types": "^15",
|
|
103
|
-
"@types/react": "^18.3.
|
|
103
|
+
"@types/react": "^18.3.10",
|
|
104
104
|
"@types/react-dom": "^18.2.25",
|
|
105
105
|
"@types/rollup-plugin-peer-deps-external": "^2",
|
|
106
106
|
"@types/stringify-object": "^4.0.4",
|
|
107
107
|
"@typescript-eslint/eslint-plugin": "^8.4.0",
|
|
108
|
-
"@typescript-eslint/parser": "^8.
|
|
108
|
+
"@typescript-eslint/parser": "^8.7.0",
|
|
109
109
|
"chalk": "^4.1.2",
|
|
110
110
|
"core-js": "^3.38.1",
|
|
111
111
|
"cross-var": "^1.1.0",
|