@cryptofi/core-ui 2.3.2 → 3.0.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 -6
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +17 -20
- package/package.json +50 -43
package/dist/types/index.d.ts
CHANGED
|
@@ -183,6 +183,9 @@ declare const SvgIconUpload: _chakra_ui_react.ChakraComponent<(props: IconProps
|
|
|
183
183
|
declare const SvgIconUser: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
184
184
|
//# sourceMappingURL=IconUser.d.ts.map
|
|
185
185
|
|
|
186
|
+
declare const SvgIconUserPlus: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
187
|
+
//# sourceMappingURL=IconUserPlus.d.ts.map
|
|
188
|
+
|
|
186
189
|
declare const SvgIconDiamonds: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
187
190
|
//# sourceMappingURL=IconDiamonds.d.ts.map
|
|
188
191
|
|
|
@@ -222,12 +225,12 @@ declare const SvgIconDot: _chakra_ui_react.ChakraComponent<(props: IconProps & S
|
|
|
222
225
|
declare const SvgIconEth: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
223
226
|
//# sourceMappingURL=IconEth.d.ts.map
|
|
224
227
|
|
|
225
|
-
declare const SvgIconHbar: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
226
|
-
//# sourceMappingURL=IconHbar.d.ts.map
|
|
227
|
-
|
|
228
228
|
declare const SvgIconFil: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
229
229
|
//# sourceMappingURL=IconFil.d.ts.map
|
|
230
230
|
|
|
231
|
+
declare const SvgIconHbar: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
232
|
+
//# sourceMappingURL=IconHbar.d.ts.map
|
|
233
|
+
|
|
231
234
|
declare const SvgIconLink: _chakra_ui_react.ChakraComponent<(props: IconProps & SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element, {}>;
|
|
232
235
|
//# sourceMappingURL=IconLink.d.ts.map
|
|
233
236
|
|
|
@@ -481,10 +484,10 @@ declare const Actions: ({ uiColor, isLocalDev, enableRefetch, setEnableRefetch,
|
|
|
481
484
|
}) => react_jsx_runtime.JSX.Element;
|
|
482
485
|
//# sourceMappingURL=Actions.d.ts.map
|
|
483
486
|
|
|
484
|
-
interface Props$
|
|
487
|
+
interface Props$5 extends ButtonProps {
|
|
485
488
|
uiColor: string;
|
|
486
489
|
}
|
|
487
|
-
declare const Button: _chakra_ui_react.ComponentWithAs<"button", Props$
|
|
490
|
+
declare const Button: _chakra_ui_react.ComponentWithAs<"button", Props$5>;
|
|
488
491
|
//# sourceMappingURL=Button.d.ts.map
|
|
489
492
|
|
|
490
493
|
declare const DataGrid: ({ data, heading, uiColor, buttons, }: {
|
|
@@ -536,14 +539,14 @@ declare const SystemStatus: ({ enableRefetch, status }: {
|
|
|
536
539
|
}) => react_jsx_runtime.JSX.Element;
|
|
537
540
|
//# sourceMappingURL=SystemStatus.d.ts.map
|
|
538
541
|
|
|
539
|
-
interface Props$
|
|
542
|
+
interface Props$4 extends FlexProps {
|
|
540
543
|
onSubmit?: (event: FormEvent) => void;
|
|
541
544
|
}
|
|
542
545
|
/**
|
|
543
546
|
*
|
|
544
547
|
* @description A form component with flex layout, for use with or without React Hook Form.
|
|
545
548
|
*/
|
|
546
|
-
declare const CfForm: ({ children, onSubmit, ...rest }: Props$
|
|
549
|
+
declare const CfForm: ({ children, onSubmit, ...rest }: Props$4) => react_jsx_runtime.JSX.Element;
|
|
547
550
|
//# sourceMappingURL=Form.d.ts.map
|
|
548
551
|
|
|
549
552
|
type InputProps = Omit<CurrencyInputProps, 'size'> & InputProps$1;
|
|
@@ -563,7 +566,7 @@ interface CfInputProps extends InputProps {
|
|
|
563
566
|
declare const CfInput: React$1.FC<CfInputProps>;
|
|
564
567
|
//# sourceMappingURL=Input.d.ts.map
|
|
565
568
|
|
|
566
|
-
interface Props$
|
|
569
|
+
interface Props$3<T extends FieldValues> {
|
|
567
570
|
name: string;
|
|
568
571
|
control: Control;
|
|
569
572
|
register: UseFormRegister<T>;
|
|
@@ -571,7 +574,7 @@ interface Props$4<T extends FieldValues> {
|
|
|
571
574
|
onArrayAppend?: (appendValues: FieldValues) => void;
|
|
572
575
|
onArrayRemove?: (remove: number) => void;
|
|
573
576
|
}
|
|
574
|
-
declare const CfInputArray: <T extends FieldValues>({ name, control, register, defaultValues, onArrayAppend, onArrayRemove, }: Props$
|
|
577
|
+
declare const CfInputArray: <T extends FieldValues>({ name, control, register, defaultValues, onArrayAppend, onArrayRemove, }: Props$3<T>) => react_jsx_runtime.JSX.Element;
|
|
575
578
|
//# sourceMappingURL=InputArray.d.ts.map
|
|
576
579
|
|
|
577
580
|
declare const CfLineChart: ({ data, dataKey, width, height, lineType, isAnimated, formatter, labelFormatter, sampleRate, style, }: {
|
|
@@ -588,7 +591,7 @@ declare const CfLineChart: ({ data, dataKey, width, height, lineType, isAnimated
|
|
|
588
591
|
}) => react_jsx_runtime.JSX.Element;
|
|
589
592
|
//# sourceMappingURL=LineChart.d.ts.map
|
|
590
593
|
|
|
591
|
-
interface Props$
|
|
594
|
+
interface Props$2 extends ModalProps {
|
|
592
595
|
headerContent?: ReactNode;
|
|
593
596
|
footerContent?: ReactNode;
|
|
594
597
|
bodyMinHeight?: string | number;
|
|
@@ -598,7 +601,7 @@ interface Props$3 extends ModalProps {
|
|
|
598
601
|
bodyProps?: ModalBodyProps;
|
|
599
602
|
contentProps?: ModalContentProps;
|
|
600
603
|
}
|
|
601
|
-
declare const CfModal: ({ isOpen, onClose, headerContent, footerContent, children, isCentered, size, isDisabledCloseButton, bodyProps, contentProps, ...rest }: Props$
|
|
604
|
+
declare const CfModal: ({ isOpen, onClose, headerContent, footerContent, children, isCentered, size, isDisabledCloseButton, bodyProps, contentProps, ...rest }: Props$2) => react_jsx_runtime.JSX.Element;
|
|
602
605
|
//# sourceMappingURL=Modal.d.ts.map
|
|
603
606
|
|
|
604
607
|
interface CfNavLinkProps extends LinkProps {
|
|
@@ -609,14 +612,14 @@ declare const CfNavLink: (props: CfNavLinkProps) => react_jsx_runtime.JSX.Elemen
|
|
|
609
612
|
interface PageClickEvent {
|
|
610
613
|
selected: number;
|
|
611
614
|
}
|
|
612
|
-
interface Props$
|
|
615
|
+
interface Props$1 extends FlexProps {
|
|
613
616
|
handlePageClick: (event: PageClickEvent) => void;
|
|
614
617
|
totalRecords?: number;
|
|
615
618
|
recordsPerPage?: number;
|
|
616
619
|
pageRangeDisplayed?: number;
|
|
617
620
|
forcePage?: number;
|
|
618
621
|
}
|
|
619
|
-
declare const CfOpenSearchPagination: ({ totalRecords, recordsPerPage, pageRangeDisplayed, handlePageClick, forcePage, ...rest }: Props$
|
|
622
|
+
declare const CfOpenSearchPagination: ({ totalRecords, recordsPerPage, pageRangeDisplayed, handlePageClick, forcePage, ...rest }: Props$1) => react_jsx_runtime.JSX.Element;
|
|
620
623
|
|
|
621
624
|
interface LastEvaluatedKeyParams {
|
|
622
625
|
lastEvaluatedPKey?: string;
|
|
@@ -634,12 +637,6 @@ interface CfPaginationProps extends FlexProps {
|
|
|
634
637
|
}
|
|
635
638
|
declare const CfPagination: ({ isLoading, hasMore, setLastEvaluatedKeyParams, lastEvaluatedKey, ...rest }: CfPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
636
639
|
|
|
637
|
-
interface Props$1 extends FlexProps {
|
|
638
|
-
isEnabled?: boolean;
|
|
639
|
-
}
|
|
640
|
-
declare const PrettyWrap: ({ children, isEnabled, ...rest }: Props$1) => react_jsx_runtime.JSX.Element;
|
|
641
|
-
//# sourceMappingURL=PrettyWrap.d.ts.map
|
|
642
|
-
|
|
643
640
|
interface CfSelectProps extends SelectProps {
|
|
644
641
|
register?: UseFormRegister<FieldValues> | any;
|
|
645
642
|
errorMessage?: string;
|
|
@@ -732,5 +729,5 @@ declare function useDebounceValue<T>(initialValue: T | (() => T), delay: number,
|
|
|
732
729
|
declare function useUnmount(func: () => void): void;
|
|
733
730
|
//# sourceMappingURL=useUnmount.d.ts.map
|
|
734
731
|
|
|
735
|
-
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,
|
|
732
|
+
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, 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, 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, SvgIconTrash as IconTrash, SvgIconUpload as IconUpload, SvgIconUsdc as IconUsdc, SvgIconUsdt as IconUsdt, SvgIconUser as IconUser, SvgIconUserPlus as IconUserPlus, 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 };
|
|
736
733
|
export type { CfCheckboxProps, CfSelectOption, PageClickEvent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptofi/core-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
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",
|
|
@@ -41,7 +70,7 @@
|
|
|
41
70
|
"lodash": "^4.17.21",
|
|
42
71
|
"nanoid": "^3.3.11",
|
|
43
72
|
"react-currency-input-field": "^4.0.3",
|
|
44
|
-
"react-hook-form": "^7.
|
|
73
|
+
"react-hook-form": "^7.65.0",
|
|
45
74
|
"react-paginate": "^8.3.0",
|
|
46
75
|
"recharts": "^2.15.3",
|
|
47
76
|
"yup": "^1.7.0"
|
|
@@ -52,9 +81,9 @@
|
|
|
52
81
|
"@chakra-ui/storybook-addon": "^5.2.5",
|
|
53
82
|
"@emotion/react": "^11.14.0",
|
|
54
83
|
"@emotion/styled": "^11.14.1",
|
|
55
|
-
"@eslint/js": "^9.
|
|
56
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
57
|
-
"@rollup/plugin-node-resolve": "^16.0.
|
|
84
|
+
"@eslint/js": "^9.38.0",
|
|
85
|
+
"@rollup/plugin-commonjs": "^28.0.8",
|
|
86
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
58
87
|
"@rollup/plugin-terser": "^0.4.4",
|
|
59
88
|
"@storybook/addon-essentials": "^8.6.14",
|
|
60
89
|
"@storybook/addon-interactions": "^8.6.14",
|
|
@@ -73,34 +102,34 @@
|
|
|
73
102
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
74
103
|
"@svgr/plugin-prettier": "^8.1.0",
|
|
75
104
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
76
|
-
"@testing-library/jest-dom": "^6.
|
|
105
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
77
106
|
"@testing-library/react": "^16.3.0",
|
|
78
107
|
"@types/big.js": "^6.2.2",
|
|
79
108
|
"@types/eslint__js": "^9.14.0",
|
|
80
109
|
"@types/jest": "^30.0.0",
|
|
81
110
|
"@types/lodash": "^4.17.20",
|
|
82
|
-
"@types/node": "^24.
|
|
111
|
+
"@types/node": "^24.9.0",
|
|
83
112
|
"@types/prop-types": "^15",
|
|
84
113
|
"@types/react": "^19.x.x",
|
|
85
114
|
"@types/react-dom": "^19.x.x",
|
|
86
115
|
"@types/rollup-plugin-peer-deps-external": "^2",
|
|
87
116
|
"@types/stringify-object": "^4.0.4",
|
|
88
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
89
|
-
"@typescript-eslint/parser": "^8.
|
|
117
|
+
"@typescript-eslint/eslint-plugin": "^8.46.0",
|
|
118
|
+
"@typescript-eslint/parser": "^8.46.1",
|
|
90
119
|
"chalk": "^4.1.2",
|
|
91
|
-
"core-js": "^3.
|
|
120
|
+
"core-js": "^3.46.0",
|
|
92
121
|
"cross-var": "^1.1.0",
|
|
93
122
|
"dotenv-cli": "^10.0.0",
|
|
94
|
-
"eslint": "^9.
|
|
123
|
+
"eslint": "^9.38.0",
|
|
95
124
|
"eslint-config-prettier": "^10.1.8",
|
|
96
125
|
"eslint-plugin-check-file": "^3.3.0",
|
|
97
126
|
"eslint-plugin-import": "^2.32.0",
|
|
98
127
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
99
128
|
"eslint-plugin-prettier": "5.5.4",
|
|
100
129
|
"eslint-plugin-react": "^7.37.5",
|
|
101
|
-
"eslint-plugin-react-hooks": "^
|
|
130
|
+
"eslint-plugin-react-hooks": "^7.0.0",
|
|
102
131
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
103
|
-
"eslint-plugin-unused-imports": "^4.
|
|
132
|
+
"eslint-plugin-unused-imports": "^4.3.0",
|
|
104
133
|
"framer-motion": "^10.16.4",
|
|
105
134
|
"globals": "^16.4.0",
|
|
106
135
|
"identity-obj-proxy": "^3.0.0",
|
|
@@ -111,41 +140,19 @@
|
|
|
111
140
|
"react": "^18.x.x",
|
|
112
141
|
"react-dom": "^18.x.x",
|
|
113
142
|
"react-imask": "^7.6.1",
|
|
114
|
-
"rollup": "^4.52.
|
|
143
|
+
"rollup": "^4.52.5",
|
|
115
144
|
"rollup-plugin-delete": "^3.0.1",
|
|
116
145
|
"rollup-plugin-dts": "^6.2.3",
|
|
117
146
|
"rollup-plugin-filesize": "^10.0.0",
|
|
118
147
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
119
148
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
120
|
-
"rollup-plugin-visualizer": "^6.0.
|
|
149
|
+
"rollup-plugin-visualizer": "^6.0.5",
|
|
121
150
|
"storybook": "^8.6.14",
|
|
122
151
|
"stringify-object": "^6.0.0",
|
|
123
|
-
"ts-jest": "^29.4.
|
|
124
|
-
"typescript": "^5.9.
|
|
125
|
-
"typescript-eslint": "^8.
|
|
126
|
-
"vite": "^7.1.
|
|
152
|
+
"ts-jest": "^29.4.5",
|
|
153
|
+
"typescript": "^5.9.3",
|
|
154
|
+
"typescript-eslint": "^8.46.1",
|
|
155
|
+
"vite": "^7.1.11"
|
|
127
156
|
},
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
"build:storybook": "storybook build --docs -o dist",
|
|
131
|
-
"dev": "pnpm storybook dev --docs",
|
|
132
|
-
"format": "prettier --config ./.prettierrc -w '**/*.{tsx,ts,js,cjs,json,yml}' && git update-index --again",
|
|
133
|
-
"icons:attrs": "node scripts/replaceIconAttrs.cjs",
|
|
134
|
-
"icons:clean": "npx rimraf './src/icons/**/Icon!(*.stories).tsx' ./src/icons/index.ts",
|
|
135
|
-
"icons:gen": "pnpm icons:clean && pnpm icons:prefix && pnpm icons:svgr && pnpm icons:attrs",
|
|
136
|
-
"icons:prefix": "node scripts/prefixIcons.cjs",
|
|
137
|
-
"icons:svgr": "npx @svgr/cli --out-dir ./src/icons -- ./svg-icons",
|
|
138
|
-
"lint": "eslint -c eslint.config.js",
|
|
139
|
-
"lint:fix": "pnpm lint --fix",
|
|
140
|
-
"serve:coverage": "npx http-server coverage/lcov-report",
|
|
141
|
-
"pretest": "pnpm lint:fix",
|
|
142
|
-
"publish:local": "pnpm build && npx yalc publish --push",
|
|
143
|
-
"publish:notifier": "dotenv cross-var node scripts/npmPublishNotifier.cjs %SLACK_WEBHOOK_URL%",
|
|
144
|
-
"publish:npm": "pnpm build && npm publish --access public && pnpm publish:notifier",
|
|
145
|
-
"storybook": "storybook dev -p 6006",
|
|
146
|
-
"test": "jest --colors --passWithNoTests",
|
|
147
|
-
"test:one": "node scripts/testOne.cjs",
|
|
148
|
-
"test:watch": "pnpm test --collectCoverage=false --watch",
|
|
149
|
-
"validate:types": "npx tsc --noEmit"
|
|
150
|
-
}
|
|
151
|
-
}
|
|
157
|
+
"packageManager": "pnpm@10.17.1"
|
|
158
|
+
}
|