@cryptofi/core-ui 3.0.7 → 3.0.8
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 +8 -8
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +4 -1
- package/package.json +38 -31
package/dist/types/index.d.ts
CHANGED
|
@@ -183,6 +183,9 @@ declare const SvgIconSort: _chakra_ui_react.ChakraComponent<(props: IconProps &
|
|
|
183
183
|
declare const SvgIconSpinner: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
184
184
|
//# sourceMappingURL=IconSpinner.d.ts.map
|
|
185
185
|
|
|
186
|
+
declare const SvgIconStar: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
187
|
+
//# sourceMappingURL=IconStar.d.ts.map
|
|
188
|
+
|
|
186
189
|
declare const SvgIconSupport: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
187
190
|
//# sourceMappingURL=IconSupport.d.ts.map
|
|
188
191
|
|
|
@@ -758,5 +761,5 @@ declare function useDebounceValue<T>(initialValue: T | (() => T), delay: number,
|
|
|
758
761
|
declare function useUnmount(func: () => void): void;
|
|
759
762
|
//# sourceMappingURL=useUnmount.d.ts.map
|
|
760
763
|
|
|
761
|
-
export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, DevConsole as CfDevConsole, Actions as CfDevConsoleActions, Button as CfDevConsoleButton, DataGrid as CfDevConsoleDataGrid, FloatingButton as CfDevConsoleFloatingButton, Links as CfDevConsoleLinks, SystemStatus as CfDevConsoleSystemStatus, CfForm, CfInput, CfInputArray, CfLineChart, CfModal, CfNavLink, CfOpenSearchPagination, CfPagination, CfSelect, CfSpinner, CfStatCard, CfTag, CfToast, CfTooltip, SvgIconAave as IconAave, SvgIconAda as IconAda, SvgIconAlert as IconAlert, SvgIconAlgo as IconAlgo, SvgIconArrowDown as IconArrowDown, SvgIconArrowUp as IconArrowUp, SvgIconAvax as IconAvax, SvgIconBadgeCheck as IconBadgeCheck, 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, SvgIconDai as IconDai, SvgIconDiamondOutline as IconDiamondOutline, SvgIconDiamonds as IconDiamonds, SvgIconDoge as IconDoge, SvgIconDollar as IconDollar, SvgIconDollarBill as IconDollarBill, SvgIconDot as IconDot, SvgIconDownload as IconDownload, SvgIconEdit as IconEdit, SvgIconEligibilityIdCard as IconEligibilityIdCard, SvgIconEnter as IconEnter, SvgIconEnterInverted as IconEnterInverted, SvgIconEth as IconEth, SvgIconExchange as IconExchange, SvgIconExternalLink as IconExternalLink, SvgIconFaq as IconFaq, SvgIconFil as IconFil, SvgIconFilter as IconFilter, SvgIconGlossary as IconGlossary, SvgIconHbar as IconHbar, SvgIconHelp as IconHelp, SvgIconHistory as IconHistory, SvgIconHome as IconHome, SvgIconIndicatorDown as IconIndicatorDown, SvgIconIndicatorUp as IconIndicatorUp, SvgIconInfo as IconInfo, SvgIconLearn as IconLearn, SvgIconLink as IconLink, SvgIconLock as IconLock, SvgIconLtc as IconLtc, SvgIconMail as IconMail, SvgIconMatic as IconMatic, SvgIconMenu as IconMenu, SvgIconMinus as IconMinus, SvgIconMkr as IconMkr, SvgIconMore as IconMore, SvgIconNear as IconNear, 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, SvgIconShib as IconShib, SvgIconShieldCheck as IconShieldCheck, SvgIconSignIn as IconSignIn, SvgIconSignOut as IconSignOut, SvgIconSol as IconSol, SvgIconSort as IconSort, SvgIconSpinner as IconSpinner, SvgIconSunset as IconSunset, SvgIconSupport as IconSupport, SvgIconTaxFreePig as IconTaxFreePig, SvgIconThumbsUp as IconThumbsUp, SvgIconTransferCircle as IconTransferCircle, SvgIconTrash as IconTrash, SvgIconUpload as IconUpload, SvgIconUsdc as IconUsdc, SvgIconUsdt as IconUsdt, SvgIconUser as IconUser, SvgIconUserPlus as IconUserPlus, SvgIconWithdrawalDollarCog as IconWithdrawalDollarCog, SvgIconXlm as IconXlm, SvgIconXrp as IconXrp, aggregateAmounts, exportedTheme as coreTheme, dateFormats, dateToTimestamp, formatPercentage, formatPhoneNumber, formatUsd, generatePalette, getDelta, isIframe, layoutMinWidth, sampleFromEnd, splitOnCapitals, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, useDebounceCallback, useDebounceValue, useUnmount, utcDateToLocal };
|
|
764
|
+
export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, DevConsole as CfDevConsole, Actions as CfDevConsoleActions, Button as CfDevConsoleButton, DataGrid as CfDevConsoleDataGrid, FloatingButton as CfDevConsoleFloatingButton, Links as CfDevConsoleLinks, SystemStatus as CfDevConsoleSystemStatus, CfForm, CfInput, CfInputArray, CfLineChart, CfModal, CfNavLink, CfOpenSearchPagination, CfPagination, CfSelect, CfSpinner, CfStatCard, CfTag, CfToast, CfTooltip, SvgIconAave as IconAave, SvgIconAda as IconAda, SvgIconAlert as IconAlert, SvgIconAlgo as IconAlgo, SvgIconArrowDown as IconArrowDown, SvgIconArrowUp as IconArrowUp, SvgIconAvax as IconAvax, SvgIconBadgeCheck as IconBadgeCheck, 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, SvgIconDai as IconDai, SvgIconDiamondOutline as IconDiamondOutline, SvgIconDiamonds as IconDiamonds, SvgIconDoge as IconDoge, SvgIconDollar as IconDollar, SvgIconDollarBill as IconDollarBill, SvgIconDot as IconDot, SvgIconDownload as IconDownload, SvgIconEdit as IconEdit, SvgIconEligibilityIdCard as IconEligibilityIdCard, SvgIconEnter as IconEnter, SvgIconEnterInverted as IconEnterInverted, SvgIconEth as IconEth, SvgIconExchange as IconExchange, SvgIconExternalLink as IconExternalLink, SvgIconFaq as IconFaq, SvgIconFil as IconFil, SvgIconFilter as IconFilter, SvgIconGlossary as IconGlossary, SvgIconHbar as IconHbar, SvgIconHelp as IconHelp, SvgIconHistory as IconHistory, SvgIconHome as IconHome, SvgIconIndicatorDown as IconIndicatorDown, SvgIconIndicatorUp as IconIndicatorUp, SvgIconInfo as IconInfo, SvgIconLearn as IconLearn, SvgIconLink as IconLink, SvgIconLock as IconLock, SvgIconLtc as IconLtc, SvgIconMail as IconMail, SvgIconMatic as IconMatic, SvgIconMenu as IconMenu, SvgIconMinus as IconMinus, SvgIconMkr as IconMkr, SvgIconMore as IconMore, SvgIconNear as IconNear, 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, SvgIconShib as IconShib, SvgIconShieldCheck as IconShieldCheck, SvgIconSignIn as IconSignIn, SvgIconSignOut as IconSignOut, SvgIconSol as IconSol, SvgIconSort as IconSort, SvgIconSpinner as IconSpinner, SvgIconStar as IconStar, SvgIconSunset as IconSunset, SvgIconSupport as IconSupport, SvgIconTaxFreePig as IconTaxFreePig, SvgIconThumbsUp as IconThumbsUp, SvgIconTransferCircle as IconTransferCircle, SvgIconTrash as IconTrash, SvgIconUpload as IconUpload, SvgIconUsdc as IconUsdc, SvgIconUsdt as IconUsdt, SvgIconUser as IconUser, SvgIconUserPlus as IconUserPlus, SvgIconWithdrawalDollarCog as IconWithdrawalDollarCog, SvgIconXlm as IconXlm, SvgIconXrp as IconXrp, aggregateAmounts, exportedTheme as coreTheme, dateFormats, dateToTimestamp, formatPercentage, formatPhoneNumber, formatUsd, generatePalette, getDelta, isIframe, layoutMinWidth, sampleFromEnd, splitOnCapitals, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, useDebounceCallback, useDebounceValue, useUnmount, utcDateToLocal };
|
|
762
765
|
export type { CfCheckboxProps, CfSelectOption, PageClickEvent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptofi/core-ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.8",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "CryptoFi"
|
|
6
6
|
},
|
|
@@ -9,6 +9,29 @@
|
|
|
9
9
|
},
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"type": "module",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "rm -rf ./dist && rollup -c",
|
|
14
|
+
"build:storybook": "storybook build --docs -o dist",
|
|
15
|
+
"dev": "pnpm storybook dev --docs",
|
|
16
|
+
"format": "prettier --config ./.prettierrc -w '**/*.{tsx,ts,js,cjs,json,yml}' && git update-index --again",
|
|
17
|
+
"icons:attrs": "node scripts/replaceIconAttrs.cjs",
|
|
18
|
+
"icons:clean": "npx rimraf './src/icons/**/Icon!(*.stories).tsx' ./src/icons/index.ts",
|
|
19
|
+
"icons:gen": "pnpm icons:clean && pnpm icons:prefix && pnpm icons:svgr && pnpm icons:attrs",
|
|
20
|
+
"icons:prefix": "node scripts/prefixIcons.cjs",
|
|
21
|
+
"icons:svgr": "npx @svgr/cli --out-dir ./src/icons -- ./svg-icons",
|
|
22
|
+
"lint": "eslint -c eslint.config.js",
|
|
23
|
+
"lint:fix": "pnpm lint --fix",
|
|
24
|
+
"serve:coverage": "npx http-server coverage/lcov-report",
|
|
25
|
+
"pretest": "pnpm lint:fix",
|
|
26
|
+
"publish:local": "pnpm build && npx yalc publish --push",
|
|
27
|
+
"publish:notifier": "dotenv cross-var node scripts/npmPublishNotifier.cjs %SLACK_WEBHOOK_URL%",
|
|
28
|
+
"publish:npm": "pnpm build && npm publish --access public && pnpm publish:notifier",
|
|
29
|
+
"storybook": "storybook dev -p 6006",
|
|
30
|
+
"test": "jest --colors --passWithNoTests",
|
|
31
|
+
"test:one": "node scripts/testOne.cjs",
|
|
32
|
+
"test:watch": "pnpm test --collectCoverage=false --watch",
|
|
33
|
+
"validate:types": "npx tsc --noEmit"
|
|
34
|
+
},
|
|
12
35
|
"exports": {
|
|
13
36
|
".": {
|
|
14
37
|
"import": {
|
|
@@ -22,6 +45,12 @@
|
|
|
22
45
|
"files": [
|
|
23
46
|
"dist"
|
|
24
47
|
],
|
|
48
|
+
"pnpm": {
|
|
49
|
+
"overrides": {
|
|
50
|
+
"react": "^18.0.0",
|
|
51
|
+
"react-dom": "^18.0.0"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
25
54
|
"peerDependencies": {
|
|
26
55
|
"@chakra-ui/react": "^2.10.3",
|
|
27
56
|
"@emotion/react": "^11.14.0",
|
|
@@ -59,8 +88,8 @@
|
|
|
59
88
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
60
89
|
"@storybook/addon-essentials": "^8.6.14",
|
|
61
90
|
"@storybook/addon-interactions": "^8.6.14",
|
|
62
|
-
"@storybook/addon-links": "^8.6.
|
|
63
|
-
"@storybook/addon-onboarding": "^8.6.
|
|
91
|
+
"@storybook/addon-links": "^8.6.17",
|
|
92
|
+
"@storybook/addon-onboarding": "^8.6.17",
|
|
64
93
|
"@storybook/blocks": "^8.6.14",
|
|
65
94
|
"@storybook/components": "^8.6.14",
|
|
66
95
|
"@storybook/manager-api": "^8.6.14",
|
|
@@ -80,14 +109,14 @@
|
|
|
80
109
|
"@types/eslint__js": "^9.14.0",
|
|
81
110
|
"@types/jest": "^30.0.0",
|
|
82
111
|
"@types/lodash": "^4.17.24",
|
|
83
|
-
"@types/node": "^25.
|
|
112
|
+
"@types/node": "^25.3.3",
|
|
84
113
|
"@types/prop-types": "^15",
|
|
85
114
|
"@types/react": "^19.x.x",
|
|
86
115
|
"@types/react-dom": "^19.x.x",
|
|
87
116
|
"@types/rollup-plugin-peer-deps-external": "^2",
|
|
88
117
|
"@types/stringify-object": "^4.0.4",
|
|
89
118
|
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
|
90
|
-
"@typescript-eslint/parser": "^8.56.
|
|
119
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
91
120
|
"chalk": "^4.1.2",
|
|
92
121
|
"core-js": "^3.48.0",
|
|
93
122
|
"cross-var": "^1.1.0",
|
|
@@ -103,7 +132,7 @@
|
|
|
103
132
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
104
133
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
105
134
|
"framer-motion": "^10.16.4",
|
|
106
|
-
"globals": "^17.
|
|
135
|
+
"globals": "^17.4.0",
|
|
107
136
|
"identity-obj-proxy": "^3.0.0",
|
|
108
137
|
"jest": "^30.2.0",
|
|
109
138
|
"pnpapi": "^0.0.0",
|
|
@@ -124,30 +153,8 @@
|
|
|
124
153
|
"ts-jest": "^29.4.6",
|
|
125
154
|
"tslib": "^2.8.1",
|
|
126
155
|
"typescript": "^5.9.3",
|
|
127
|
-
"typescript-eslint": "^8.56.
|
|
156
|
+
"typescript-eslint": "^8.56.1",
|
|
128
157
|
"vite": "^6.4.1"
|
|
129
158
|
},
|
|
130
|
-
"
|
|
131
|
-
|
|
132
|
-
"build:storybook": "storybook build --docs -o dist",
|
|
133
|
-
"dev": "pnpm storybook dev --docs",
|
|
134
|
-
"format": "prettier --config ./.prettierrc -w '**/*.{tsx,ts,js,cjs,json,yml}' && git update-index --again",
|
|
135
|
-
"icons:attrs": "node scripts/replaceIconAttrs.cjs",
|
|
136
|
-
"icons:clean": "npx rimraf './src/icons/**/Icon!(*.stories).tsx' ./src/icons/index.ts",
|
|
137
|
-
"icons:gen": "pnpm icons:clean && pnpm icons:prefix && pnpm icons:svgr && pnpm icons:attrs",
|
|
138
|
-
"icons:prefix": "node scripts/prefixIcons.cjs",
|
|
139
|
-
"icons:svgr": "npx @svgr/cli --out-dir ./src/icons -- ./svg-icons",
|
|
140
|
-
"lint": "eslint -c eslint.config.js",
|
|
141
|
-
"lint:fix": "pnpm lint --fix",
|
|
142
|
-
"serve:coverage": "npx http-server coverage/lcov-report",
|
|
143
|
-
"pretest": "pnpm lint:fix",
|
|
144
|
-
"publish:local": "pnpm build && npx yalc publish --push",
|
|
145
|
-
"publish:notifier": "dotenv cross-var node scripts/npmPublishNotifier.cjs %SLACK_WEBHOOK_URL%",
|
|
146
|
-
"publish:npm": "pnpm build && npm publish --access public && pnpm publish:notifier",
|
|
147
|
-
"storybook": "storybook dev -p 6006",
|
|
148
|
-
"test": "jest --colors --passWithNoTests",
|
|
149
|
-
"test:one": "node scripts/testOne.cjs",
|
|
150
|
-
"test:watch": "pnpm test --collectCoverage=false --watch",
|
|
151
|
-
"validate:types": "npx tsc --noEmit"
|
|
152
|
-
}
|
|
153
|
-
}
|
|
159
|
+
"packageManager": "pnpm@10.19.0"
|
|
160
|
+
}
|