@cryptofi/core-ui 1.3.2 → 1.3.4
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 +12 -9
- package/package.json +16 -16
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/.
|
|
@@ -327,6 +330,14 @@ declare const utcDateToLocal: ({ dateFormat, timeString, }: {
|
|
|
327
330
|
}) => string;
|
|
328
331
|
//# sourceMappingURL=utcDateToLocal.d.ts.map
|
|
329
332
|
|
|
333
|
+
declare const layoutMinWidth = "22rem";
|
|
334
|
+
declare const dateFormats: {
|
|
335
|
+
dateOnly: string;
|
|
336
|
+
dateWithTime: string;
|
|
337
|
+
shortDateWithTime: string;
|
|
338
|
+
shortDateWithYear: string;
|
|
339
|
+
};
|
|
340
|
+
|
|
330
341
|
/**
|
|
331
342
|
*
|
|
332
343
|
* @description Returns a phone number string in the following format: (000) 000-0000.
|
|
@@ -538,12 +549,4 @@ declare const useBreakpoint: () => {
|
|
|
538
549
|
};
|
|
539
550
|
//# sourceMappingURL=useBreakpoint.d.ts.map
|
|
540
551
|
|
|
541
|
-
|
|
542
|
-
declare const dateFormats: {
|
|
543
|
-
dateOnly: string;
|
|
544
|
-
dateWithTime: string;
|
|
545
|
-
shortDateWithTime: string;
|
|
546
|
-
shortDateWithYear: string;
|
|
547
|
-
};
|
|
548
|
-
|
|
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 };
|
|
552
|
+
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, 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.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "CryptoFi"
|
|
6
6
|
},
|
|
@@ -73,22 +73,22 @@
|
|
|
73
73
|
"@chakra-ui/storybook-addon": "^5.1.0",
|
|
74
74
|
"@emotion/react": "^11.13.3",
|
|
75
75
|
"@emotion/styled": "^11.13.0",
|
|
76
|
-
"@eslint/js": "^9.
|
|
76
|
+
"@eslint/js": "^9.11.0",
|
|
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.
|
|
88
|
-
"@storybook/react": "^8.3.
|
|
89
|
-
"@storybook/react-vite": "^8.3.
|
|
85
|
+
"@storybook/components": "^8.3.4",
|
|
86
|
+
"@storybook/manager-api": "^8.3.4",
|
|
87
|
+
"@storybook/preview-api": "^8.3.4",
|
|
88
|
+
"@storybook/react": "^8.3.2",
|
|
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",
|
|
@@ -136,11 +136,11 @@
|
|
|
136
136
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
137
137
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
138
138
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
139
|
-
"storybook": "^8.3.
|
|
139
|
+
"storybook": "^8.3.2",
|
|
140
140
|
"stringify-object": "^5.0.0",
|
|
141
141
|
"ts-jest": "^29.2.5",
|
|
142
142
|
"typescript": "^5.6.2",
|
|
143
|
-
"typescript-eslint": "^8.
|
|
143
|
+
"typescript-eslint": "^8.6.0",
|
|
144
144
|
"vite": "^5.4.3"
|
|
145
145
|
},
|
|
146
146
|
"packageManager": "yarn@4.2.2"
|