@cryptofi/core-ui 0.41.0 → 0.42.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.
@@ -372,10 +372,9 @@ declare const CfForm: ({ children, onSubmit, ...rest }: Props$4) => react_jsx_ru
372
372
  //# sourceMappingURL=Form.d.ts.map
373
373
 
374
374
  type InputProps = Omit<CurrencyInputProps, 'size'> & InputProps$1;
375
- interface CfInputProps<T extends FieldValues> extends InputProps {
375
+ interface CfInputProps extends InputProps {
376
376
  name: string;
377
377
  label?: string;
378
- register?: UseFormRegister<T>;
379
378
  errorMessage?: string;
380
379
  helperText?: string;
381
380
  leftAddon?: React.ReactElement;
@@ -383,8 +382,9 @@ interface CfInputProps<T extends FieldValues> extends InputProps {
383
382
  rightElement?: React.ReactElement;
384
383
  rightAddon?: React.ReactElement;
385
384
  type?: React.HTMLInputTypeAttribute | 'currency';
385
+ register?: UseFormRegister<any>;
386
386
  }
387
- declare const CfInput: <T extends FieldValues>(props: CfInputProps<T>) => react_jsx_runtime.JSX.Element;
387
+ declare const CfInput: _chakra_ui_react.ComponentWithAs<_chakra_ui_react.As, CfInputProps>;
388
388
 
389
389
  type Props$3<T extends FieldValues> = {
390
390
  name: string;
@@ -494,5 +494,7 @@ declare const useBreakpoint: () => {
494
494
  //# sourceMappingURL=useBreakpoint.d.ts.map
495
495
 
496
496
  declare const layoutMinWidth = "22rem";
497
+ declare const dateFormatNoTime = "MM/DD/YY";
498
+ declare const dateFormatWithTime = "MM/DD/YYYY h:mmA";
497
499
 
498
- export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, type CfInputProps, CfLineChart, CfModal, CfOpenSearchPagination, CfPagination, CfSelect, type CfSelectOption, type CfSelectProps, CfSpinner, CfTag, type CfTagProps, CfToast, SvgIconAlert as IconAlert, SvgIconArrowDown as IconArrowDown, SvgIconArrowUp as IconArrowUp, SvgIconAvax as IconAvax, SvgIconBank as IconBank, SvgIconBarChart as IconBarChart, SvgIconBch as IconBch, 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, 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, type PageClickEvent, aggregateAmounts, exportedTheme as coreTheme, dateToTimestamp, formatPercentage, formatUsd, getDelta, layoutMinWidth, pullFromEnd, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, utcDateToLocal };
500
+ export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, type CfInputProps, CfLineChart, CfModal, CfOpenSearchPagination, CfPagination, CfSelect, type CfSelectOption, type CfSelectProps, CfSpinner, CfTag, type CfTagProps, CfToast, SvgIconAlert as IconAlert, SvgIconArrowDown as IconArrowDown, SvgIconArrowUp as IconArrowUp, SvgIconAvax as IconAvax, SvgIconBank as IconBank, SvgIconBarChart as IconBarChart, SvgIconBch as IconBch, 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, 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, type PageClickEvent, aggregateAmounts, exportedTheme as coreTheme, dateFormatNoTime, dateFormatWithTime, dateToTimestamp, formatPercentage, formatUsd, getDelta, layoutMinWidth, pullFromEnd, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, utcDateToLocal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptofi/core-ui",
3
- "version": "0.41.0",
3
+ "version": "0.42.0",
4
4
  "author": {
5
5
  "name": "CryptoFi"
6
6
  },
@@ -61,24 +61,24 @@
61
61
  "devDependencies": {
62
62
  "@babel/core": "^7.24.0",
63
63
  "@chakra-ui/react": "^2.4.9",
64
- "@chakra-ui/storybook-addon": "^5.0.1",
64
+ "@chakra-ui/storybook-addon": "^5.1.0",
65
65
  "@emotion/react": "^11.11.4",
66
66
  "@emotion/styled": "^11.11.0",
67
67
  "@rollup/plugin-commonjs": "^25.0.7",
68
68
  "@rollup/plugin-node-resolve": "^15.2.3",
69
69
  "@rollup/plugin-terser": "^0.4.4",
70
- "@storybook/addon-essentials": "^8.0.0",
71
- "@storybook/addon-interactions": "^8.0.0",
72
- "@storybook/addon-links": "^8.0.0",
73
- "@storybook/addon-onboarding": "^8.0.0",
74
- "@storybook/blocks": "^8.0.0",
75
- "@storybook/components": "^8.0.0",
76
- "@storybook/manager-api": "^8.0.0",
77
- "@storybook/preview-api": "^8.0.0",
78
- "@storybook/react": "^8.0.0",
79
- "@storybook/react-vite": "^8.0.0",
80
- "@storybook/testing-library": "^0.2.2",
81
- "@storybook/types": "^8.0.0",
70
+ "@storybook/addon-essentials": "^8.0.4",
71
+ "@storybook/addon-interactions": "^8.0.4",
72
+ "@storybook/addon-links": "^8.0.4",
73
+ "@storybook/addon-onboarding": "^8.0.4",
74
+ "@storybook/blocks": "^8.0.4",
75
+ "@storybook/components": "^8.0.4",
76
+ "@storybook/manager-api": "^8.0.4",
77
+ "@storybook/preview-api": "^8.0.4",
78
+ "@storybook/react": "^8.0.4",
79
+ "@storybook/react-vite": "^8.0.4",
80
+ "@storybook/test": "^8.0.4",
81
+ "@storybook/types": "^8.0.4",
82
82
  "@svgr/cli": "^8.1.0",
83
83
  "@svgr/core": "^8.1.0",
84
84
  "@svgr/plugin-jsx": "^8.1.0",
@@ -125,11 +125,11 @@
125
125
  "rollup-plugin-filesize": "^10.0.0",
126
126
  "rollup-plugin-peer-deps-external": "^2.2.4",
127
127
  "rollup-plugin-typescript2": "^0.36.0",
128
- "storybook": "^8.0.0",
128
+ "storybook": "^8.0.4",
129
129
  "stringify-object": "^5.0.0",
130
130
  "ts-jest": "^29.0.5",
131
131
  "typescript": "^5.4.2",
132
- "vite": "^5.1.6"
132
+ "vite": "^5.2.6"
133
133
  },
134
134
  "packageManager": "yarn@4.1.0"
135
135
  }