@cryptofi/core-ui 3.0.3 → 3.0.5
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 +22 -6
- package/package.json +42 -49
package/dist/types/index.d.ts
CHANGED
|
@@ -15,6 +15,9 @@ declare const SvgIconArrowDown: _chakra_ui_react.ChakraComponent<(props: IconPro
|
|
|
15
15
|
declare const SvgIconArrowUp: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
16
16
|
//# sourceMappingURL=IconArrowUp.d.ts.map
|
|
17
17
|
|
|
18
|
+
declare const SvgIconBadgeCheck: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
19
|
+
//# sourceMappingURL=IconBadgeCheck.d.ts.map
|
|
20
|
+
|
|
18
21
|
declare const SvgIconBank: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
19
22
|
//# sourceMappingURL=IconBank.d.ts.map
|
|
20
23
|
|
|
@@ -60,8 +63,8 @@ declare const SvgIconConnect: _chakra_ui_react.ChakraComponent<(props: IconProps
|
|
|
60
63
|
declare const SvgIconCopy: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
61
64
|
//# sourceMappingURL=IconCopy.d.ts.map
|
|
62
65
|
|
|
63
|
-
declare const
|
|
64
|
-
//# sourceMappingURL=
|
|
66
|
+
declare const SvgIconDiamondOutline: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
67
|
+
//# sourceMappingURL=IconDiamondOutline.d.ts.map
|
|
65
68
|
|
|
66
69
|
declare const SvgIconDollar: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
67
70
|
//# sourceMappingURL=IconDollar.d.ts.map
|
|
@@ -147,9 +150,6 @@ declare const SvgIconPieChart: _chakra_ui_react.ChakraComponent<(props: IconProp
|
|
|
147
150
|
declare const SvgIconPlus: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
148
151
|
//# sourceMappingURL=IconPlus.d.ts.map
|
|
149
152
|
|
|
150
|
-
declare const SvgIconRefresh: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
151
|
-
//# sourceMappingURL=IconRefresh.d.ts.map
|
|
152
|
-
|
|
153
153
|
declare const SvgIconReports: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
154
154
|
//# sourceMappingURL=IconReports.d.ts.map
|
|
155
155
|
|
|
@@ -168,6 +168,9 @@ declare const SvgIconSettings: _chakra_ui_react.ChakraComponent<(props: IconProp
|
|
|
168
168
|
declare const SvgIconSettlement: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
169
169
|
//# sourceMappingURL=IconSettlement.d.ts.map
|
|
170
170
|
|
|
171
|
+
declare const SvgIconShieldCheck: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
172
|
+
//# sourceMappingURL=IconShieldCheck.d.ts.map
|
|
173
|
+
|
|
171
174
|
declare const SvgIconSignIn: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
172
175
|
//# sourceMappingURL=IconSignIn.d.ts.map
|
|
173
176
|
|
|
@@ -186,6 +189,12 @@ declare const SvgIconSupport: _chakra_ui_react.ChakraComponent<(props: IconProps
|
|
|
186
189
|
declare const SvgIconTaxFreePig: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
187
190
|
//# sourceMappingURL=IconTaxFreePig.d.ts.map
|
|
188
191
|
|
|
192
|
+
declare const SvgIconThumbsUp: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
193
|
+
//# sourceMappingURL=IconThumbsUp.d.ts.map
|
|
194
|
+
|
|
195
|
+
declare const SvgIconTransferCircle: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
196
|
+
//# sourceMappingURL=IconTransferCircle.d.ts.map
|
|
197
|
+
|
|
189
198
|
declare const SvgIconTrash: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
190
199
|
//# sourceMappingURL=IconTrash.d.ts.map
|
|
191
200
|
|
|
@@ -201,9 +210,15 @@ declare const SvgIconUserPlus: _chakra_ui_react.ChakraComponent<(props: IconProp
|
|
|
201
210
|
declare const SvgIconWithdrawalDollarCog: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
202
211
|
//# sourceMappingURL=IconWithdrawalDollarCog.d.ts.map
|
|
203
212
|
|
|
213
|
+
declare const SvgIconDiamonds: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
214
|
+
//# sourceMappingURL=IconDiamonds.d.ts.map
|
|
215
|
+
|
|
204
216
|
declare const SvgIconExternalLink: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
205
217
|
//# sourceMappingURL=IconExternalLink.d.ts.map
|
|
206
218
|
|
|
219
|
+
declare const SvgIconRefresh: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
220
|
+
//# sourceMappingURL=IconRefresh.d.ts.map
|
|
221
|
+
|
|
207
222
|
declare const SvgIconSunset: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
208
223
|
//# sourceMappingURL=IconSunset.d.ts.map
|
|
209
224
|
|
|
@@ -481,6 +496,7 @@ interface CfCheckboxProps extends CheckboxProps {
|
|
|
481
496
|
labelPosition?: 'left' | 'right';
|
|
482
497
|
spaceBetween?: boolean;
|
|
483
498
|
name: string;
|
|
499
|
+
id?: string;
|
|
484
500
|
register?: UseFormRegister<FieldValues> | any;
|
|
485
501
|
}
|
|
486
502
|
declare const CfCheckbox: (props: CfCheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -741,5 +757,5 @@ declare function useDebounceValue<T>(initialValue: T | (() => T), delay: number,
|
|
|
741
757
|
declare function useUnmount(func: () => void): void;
|
|
742
758
|
//# sourceMappingURL=useUnmount.d.ts.map
|
|
743
759
|
|
|
744
|
-
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, 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, 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, SvgIconSignIn as IconSignIn, SvgIconSignOut as IconSignOut, SvgIconSol as IconSol, SvgIconSort as IconSort, SvgIconSpinner as IconSpinner, SvgIconSunset as IconSunset, SvgIconSupport as IconSupport, SvgIconTaxFreePig as IconTaxFreePig, 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 };
|
|
760
|
+
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 };
|
|
745
761
|
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.5",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "CryptoFi"
|
|
6
6
|
},
|
|
@@ -9,29 +9,6 @@
|
|
|
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
|
-
},
|
|
35
12
|
"exports": {
|
|
36
13
|
".": {
|
|
37
14
|
"import": {
|
|
@@ -45,12 +22,6 @@
|
|
|
45
22
|
"files": [
|
|
46
23
|
"dist"
|
|
47
24
|
],
|
|
48
|
-
"pnpm": {
|
|
49
|
-
"overrides": {
|
|
50
|
-
"react": "^18.0.0",
|
|
51
|
-
"react-dom": "^18.0.0"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
25
|
"peerDependencies": {
|
|
55
26
|
"@chakra-ui/react": "^2.10.3",
|
|
56
27
|
"@emotion/react": "^11.14.0",
|
|
@@ -67,16 +38,16 @@
|
|
|
67
38
|
"colord": "^2.9.3",
|
|
68
39
|
"currency.js": "^2.0.4",
|
|
69
40
|
"dayjs": "^1.11.19",
|
|
70
|
-
"lodash": "^4.17.
|
|
41
|
+
"lodash": "^4.17.23",
|
|
71
42
|
"nanoid": "^3.3.11",
|
|
72
43
|
"react-currency-input-field": "^4.0.3",
|
|
73
|
-
"react-hook-form": "^7.
|
|
44
|
+
"react-hook-form": "^7.71.1",
|
|
74
45
|
"react-paginate": "^8.3.0",
|
|
75
|
-
"recharts": "^3.
|
|
46
|
+
"recharts": "^3.7.0",
|
|
76
47
|
"yup": "^1.7.0"
|
|
77
48
|
},
|
|
78
49
|
"devDependencies": {
|
|
79
|
-
"@babel/core": "^7.
|
|
50
|
+
"@babel/core": "^7.29.0",
|
|
80
51
|
"@chakra-ui/react": "^2.10.3",
|
|
81
52
|
"@chakra-ui/storybook-addon": "^5.2.5",
|
|
82
53
|
"@emotion/react": "^11.14.0",
|
|
@@ -88,8 +59,8 @@
|
|
|
88
59
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
89
60
|
"@storybook/addon-essentials": "^8.6.14",
|
|
90
61
|
"@storybook/addon-interactions": "^8.6.14",
|
|
91
|
-
"@storybook/addon-links": "^8.6.
|
|
92
|
-
"@storybook/addon-onboarding": "^8.6.
|
|
62
|
+
"@storybook/addon-links": "^8.6.15",
|
|
63
|
+
"@storybook/addon-onboarding": "^8.6.15",
|
|
93
64
|
"@storybook/blocks": "^8.6.14",
|
|
94
65
|
"@storybook/components": "^8.6.14",
|
|
95
66
|
"@storybook/manager-api": "^8.6.14",
|
|
@@ -104,21 +75,21 @@
|
|
|
104
75
|
"@svgr/plugin-prettier": "^8.1.0",
|
|
105
76
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
106
77
|
"@testing-library/jest-dom": "^6.9.1",
|
|
107
|
-
"@testing-library/react": "^16.3.
|
|
78
|
+
"@testing-library/react": "^16.3.2",
|
|
108
79
|
"@types/big.js": "^6.2.2",
|
|
109
80
|
"@types/eslint__js": "^9.14.0",
|
|
110
81
|
"@types/jest": "^30.0.0",
|
|
111
|
-
"@types/lodash": "^4.17.
|
|
112
|
-
"@types/node": "^25.
|
|
82
|
+
"@types/lodash": "^4.17.23",
|
|
83
|
+
"@types/node": "^25.2.3",
|
|
113
84
|
"@types/prop-types": "^15",
|
|
114
85
|
"@types/react": "^19.x.x",
|
|
115
86
|
"@types/react-dom": "^19.x.x",
|
|
116
87
|
"@types/rollup-plugin-peer-deps-external": "^2",
|
|
117
88
|
"@types/stringify-object": "^4.0.4",
|
|
118
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
119
|
-
"@typescript-eslint/parser": "^8.
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
90
|
+
"@typescript-eslint/parser": "^8.56.0",
|
|
120
91
|
"chalk": "^4.1.2",
|
|
121
|
-
"core-js": "^3.
|
|
92
|
+
"core-js": "^3.48.0",
|
|
122
93
|
"cross-var": "^1.1.0",
|
|
123
94
|
"dotenv-cli": "^11.0.0",
|
|
124
95
|
"eslint": "^9.39.2",
|
|
@@ -126,22 +97,22 @@
|
|
|
126
97
|
"eslint-plugin-check-file": "^3.3.1",
|
|
127
98
|
"eslint-plugin-import": "^2.32.0",
|
|
128
99
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
129
|
-
"eslint-plugin-prettier": "5.5.
|
|
100
|
+
"eslint-plugin-prettier": "5.5.5",
|
|
130
101
|
"eslint-plugin-react": "^7.37.5",
|
|
131
102
|
"eslint-plugin-react-hooks": "^7.0.0",
|
|
132
103
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
133
104
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
134
105
|
"framer-motion": "^10.16.4",
|
|
135
|
-
"globals": "^
|
|
106
|
+
"globals": "^17.3.0",
|
|
136
107
|
"identity-obj-proxy": "^3.0.0",
|
|
137
108
|
"jest": "^30.2.0",
|
|
138
109
|
"pnpapi": "^0.0.0",
|
|
139
|
-
"prettier": "^3.
|
|
110
|
+
"prettier": "^3.8.1",
|
|
140
111
|
"prop-types": "^15.8.1",
|
|
141
112
|
"react": "^18.x.x",
|
|
142
113
|
"react-dom": "^18.x.x",
|
|
143
114
|
"react-imask": "^7.6.1",
|
|
144
|
-
"rollup": "^4.
|
|
115
|
+
"rollup": "^4.57.1",
|
|
145
116
|
"rollup-plugin-delete": "^3.0.2",
|
|
146
117
|
"rollup-plugin-dts": "^6.3.0",
|
|
147
118
|
"rollup-plugin-filesize": "^10.0.0",
|
|
@@ -153,8 +124,30 @@
|
|
|
153
124
|
"ts-jest": "^29.4.6",
|
|
154
125
|
"tslib": "^2.8.1",
|
|
155
126
|
"typescript": "^5.9.3",
|
|
156
|
-
"typescript-eslint": "^8.
|
|
127
|
+
"typescript-eslint": "^8.55.0",
|
|
157
128
|
"vite": "^6.4.1"
|
|
158
129
|
},
|
|
159
|
-
"
|
|
160
|
-
|
|
130
|
+
"scripts": {
|
|
131
|
+
"build": "rm -rf ./dist && rollup -c",
|
|
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
|
+
}
|