@cryptofi/core-ui 2.3.3 → 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.
@@ -484,10 +484,10 @@ declare const Actions: ({ uiColor, isLocalDev, enableRefetch, setEnableRefetch,
484
484
  }) => react_jsx_runtime.JSX.Element;
485
485
  //# sourceMappingURL=Actions.d.ts.map
486
486
 
487
- interface Props$6 extends ButtonProps {
487
+ interface Props$5 extends ButtonProps {
488
488
  uiColor: string;
489
489
  }
490
- declare const Button: _chakra_ui_react.ComponentWithAs<"button", Props$6>;
490
+ declare const Button: _chakra_ui_react.ComponentWithAs<"button", Props$5>;
491
491
  //# sourceMappingURL=Button.d.ts.map
492
492
 
493
493
  declare const DataGrid: ({ data, heading, uiColor, buttons, }: {
@@ -539,14 +539,14 @@ declare const SystemStatus: ({ enableRefetch, status }: {
539
539
  }) => react_jsx_runtime.JSX.Element;
540
540
  //# sourceMappingURL=SystemStatus.d.ts.map
541
541
 
542
- interface Props$5 extends FlexProps {
542
+ interface Props$4 extends FlexProps {
543
543
  onSubmit?: (event: FormEvent) => void;
544
544
  }
545
545
  /**
546
546
  *
547
547
  * @description A form component with flex layout, for use with or without React Hook Form.
548
548
  */
549
- declare const CfForm: ({ children, onSubmit, ...rest }: Props$5) => react_jsx_runtime.JSX.Element;
549
+ declare const CfForm: ({ children, onSubmit, ...rest }: Props$4) => react_jsx_runtime.JSX.Element;
550
550
  //# sourceMappingURL=Form.d.ts.map
551
551
 
552
552
  type InputProps = Omit<CurrencyInputProps, 'size'> & InputProps$1;
@@ -566,7 +566,7 @@ interface CfInputProps extends InputProps {
566
566
  declare const CfInput: React$1.FC<CfInputProps>;
567
567
  //# sourceMappingURL=Input.d.ts.map
568
568
 
569
- interface Props$4<T extends FieldValues> {
569
+ interface Props$3<T extends FieldValues> {
570
570
  name: string;
571
571
  control: Control;
572
572
  register: UseFormRegister<T>;
@@ -574,7 +574,7 @@ interface Props$4<T extends FieldValues> {
574
574
  onArrayAppend?: (appendValues: FieldValues) => void;
575
575
  onArrayRemove?: (remove: number) => void;
576
576
  }
577
- declare const CfInputArray: <T extends FieldValues>({ name, control, register, defaultValues, onArrayAppend, onArrayRemove, }: Props$4<T>) => react_jsx_runtime.JSX.Element;
577
+ declare const CfInputArray: <T extends FieldValues>({ name, control, register, defaultValues, onArrayAppend, onArrayRemove, }: Props$3<T>) => react_jsx_runtime.JSX.Element;
578
578
  //# sourceMappingURL=InputArray.d.ts.map
579
579
 
580
580
  declare const CfLineChart: ({ data, dataKey, width, height, lineType, isAnimated, formatter, labelFormatter, sampleRate, style, }: {
@@ -591,7 +591,7 @@ declare const CfLineChart: ({ data, dataKey, width, height, lineType, isAnimated
591
591
  }) => react_jsx_runtime.JSX.Element;
592
592
  //# sourceMappingURL=LineChart.d.ts.map
593
593
 
594
- interface Props$3 extends ModalProps {
594
+ interface Props$2 extends ModalProps {
595
595
  headerContent?: ReactNode;
596
596
  footerContent?: ReactNode;
597
597
  bodyMinHeight?: string | number;
@@ -601,7 +601,7 @@ interface Props$3 extends ModalProps {
601
601
  bodyProps?: ModalBodyProps;
602
602
  contentProps?: ModalContentProps;
603
603
  }
604
- declare const CfModal: ({ isOpen, onClose, headerContent, footerContent, children, isCentered, size, isDisabledCloseButton, bodyProps, contentProps, ...rest }: Props$3) => react_jsx_runtime.JSX.Element;
604
+ declare const CfModal: ({ isOpen, onClose, headerContent, footerContent, children, isCentered, size, isDisabledCloseButton, bodyProps, contentProps, ...rest }: Props$2) => react_jsx_runtime.JSX.Element;
605
605
  //# sourceMappingURL=Modal.d.ts.map
606
606
 
607
607
  interface CfNavLinkProps extends LinkProps {
@@ -612,14 +612,14 @@ declare const CfNavLink: (props: CfNavLinkProps) => react_jsx_runtime.JSX.Elemen
612
612
  interface PageClickEvent {
613
613
  selected: number;
614
614
  }
615
- interface Props$2 extends FlexProps {
615
+ interface Props$1 extends FlexProps {
616
616
  handlePageClick: (event: PageClickEvent) => void;
617
617
  totalRecords?: number;
618
618
  recordsPerPage?: number;
619
619
  pageRangeDisplayed?: number;
620
620
  forcePage?: number;
621
621
  }
622
- declare const CfOpenSearchPagination: ({ totalRecords, recordsPerPage, pageRangeDisplayed, handlePageClick, forcePage, ...rest }: Props$2) => react_jsx_runtime.JSX.Element;
622
+ declare const CfOpenSearchPagination: ({ totalRecords, recordsPerPage, pageRangeDisplayed, handlePageClick, forcePage, ...rest }: Props$1) => react_jsx_runtime.JSX.Element;
623
623
 
624
624
  interface LastEvaluatedKeyParams {
625
625
  lastEvaluatedPKey?: string;
@@ -637,12 +637,6 @@ interface CfPaginationProps extends FlexProps {
637
637
  }
638
638
  declare const CfPagination: ({ isLoading, hasMore, setLastEvaluatedKeyParams, lastEvaluatedKey, ...rest }: CfPaginationProps) => react_jsx_runtime.JSX.Element;
639
639
 
640
- interface Props$1 extends FlexProps {
641
- isEnabled?: boolean;
642
- }
643
- declare const PrettyWrap: ({ children, isEnabled, ...rest }: Props$1) => react_jsx_runtime.JSX.Element;
644
- //# sourceMappingURL=PrettyWrap.d.ts.map
645
-
646
640
  interface CfSelectProps extends SelectProps {
647
641
  register?: UseFormRegister<FieldValues> | any;
648
642
  errorMessage?: string;
@@ -735,5 +729,5 @@ declare function useDebounceValue<T>(initialValue: T | (() => T), delay: number,
735
729
  declare function useUnmount(func: () => void): void;
736
730
  //# sourceMappingURL=useUnmount.d.ts.map
737
731
 
738
- 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, PrettyWrap as CfPrettyWrap, 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 };
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 };
739
733
  export type { CfCheckboxProps, CfSelectOption, PageClickEvent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptofi/core-ui",
3
- "version": "2.3.3",
3
+ "version": "3.0.0",
4
4
  "author": {
5
5
  "name": "CryptoFi"
6
6
  },
@@ -70,7 +70,7 @@
70
70
  "lodash": "^4.17.21",
71
71
  "nanoid": "^3.3.11",
72
72
  "react-currency-input-field": "^4.0.3",
73
- "react-hook-form": "^7.64.0",
73
+ "react-hook-form": "^7.65.0",
74
74
  "react-paginate": "^8.3.0",
75
75
  "recharts": "^2.15.3",
76
76
  "yup": "^1.7.0"
@@ -81,9 +81,9 @@
81
81
  "@chakra-ui/storybook-addon": "^5.2.5",
82
82
  "@emotion/react": "^11.14.0",
83
83
  "@emotion/styled": "^11.14.1",
84
- "@eslint/js": "^9.37.0",
85
- "@rollup/plugin-commonjs": "^28.0.6",
86
- "@rollup/plugin-node-resolve": "^16.0.2",
84
+ "@eslint/js": "^9.38.0",
85
+ "@rollup/plugin-commonjs": "^28.0.8",
86
+ "@rollup/plugin-node-resolve": "^16.0.3",
87
87
  "@rollup/plugin-terser": "^0.4.4",
88
88
  "@storybook/addon-essentials": "^8.6.14",
89
89
  "@storybook/addon-interactions": "^8.6.14",
@@ -102,34 +102,34 @@
102
102
  "@svgr/plugin-jsx": "^8.1.0",
103
103
  "@svgr/plugin-prettier": "^8.1.0",
104
104
  "@svgr/plugin-svgo": "^8.1.0",
105
- "@testing-library/jest-dom": "^6.8.0",
105
+ "@testing-library/jest-dom": "^6.9.1",
106
106
  "@testing-library/react": "^16.3.0",
107
107
  "@types/big.js": "^6.2.2",
108
108
  "@types/eslint__js": "^9.14.0",
109
109
  "@types/jest": "^30.0.0",
110
110
  "@types/lodash": "^4.17.20",
111
- "@types/node": "^24.7.0",
111
+ "@types/node": "^24.9.0",
112
112
  "@types/prop-types": "^15",
113
113
  "@types/react": "^19.x.x",
114
114
  "@types/react-dom": "^19.x.x",
115
115
  "@types/rollup-plugin-peer-deps-external": "^2",
116
116
  "@types/stringify-object": "^4.0.4",
117
117
  "@typescript-eslint/eslint-plugin": "^8.46.0",
118
- "@typescript-eslint/parser": "^8.46.0",
118
+ "@typescript-eslint/parser": "^8.46.1",
119
119
  "chalk": "^4.1.2",
120
- "core-js": "^3.45.1",
120
+ "core-js": "^3.46.0",
121
121
  "cross-var": "^1.1.0",
122
122
  "dotenv-cli": "^10.0.0",
123
- "eslint": "^9.37.0",
123
+ "eslint": "^9.38.0",
124
124
  "eslint-config-prettier": "^10.1.8",
125
125
  "eslint-plugin-check-file": "^3.3.0",
126
126
  "eslint-plugin-import": "^2.32.0",
127
127
  "eslint-plugin-jsx-a11y": "^6.10.2",
128
128
  "eslint-plugin-prettier": "5.5.4",
129
129
  "eslint-plugin-react": "^7.37.5",
130
- "eslint-plugin-react-hooks": "^5.2.0",
130
+ "eslint-plugin-react-hooks": "^7.0.0",
131
131
  "eslint-plugin-simple-import-sort": "^12.1.1",
132
- "eslint-plugin-unused-imports": "^4.2.0",
132
+ "eslint-plugin-unused-imports": "^4.3.0",
133
133
  "framer-motion": "^10.16.4",
134
134
  "globals": "^16.4.0",
135
135
  "identity-obj-proxy": "^3.0.0",
@@ -140,19 +140,19 @@
140
140
  "react": "^18.x.x",
141
141
  "react-dom": "^18.x.x",
142
142
  "react-imask": "^7.6.1",
143
- "rollup": "^4.52.3",
143
+ "rollup": "^4.52.5",
144
144
  "rollup-plugin-delete": "^3.0.1",
145
145
  "rollup-plugin-dts": "^6.2.3",
146
146
  "rollup-plugin-filesize": "^10.0.0",
147
147
  "rollup-plugin-peer-deps-external": "^2.2.4",
148
148
  "rollup-plugin-typescript2": "^0.36.0",
149
- "rollup-plugin-visualizer": "^6.0.4",
149
+ "rollup-plugin-visualizer": "^6.0.5",
150
150
  "storybook": "^8.6.14",
151
151
  "stringify-object": "^6.0.0",
152
- "ts-jest": "^29.4.4",
152
+ "ts-jest": "^29.4.5",
153
153
  "typescript": "^5.9.3",
154
- "typescript-eslint": "^8.43.0",
155
- "vite": "^7.1.9"
154
+ "typescript-eslint": "^8.46.1",
155
+ "vite": "^7.1.11"
156
156
  },
157
157
  "packageManager": "pnpm@10.17.1"
158
158
  }