@cryptofi/core-ui 0.25.0 → 0.26.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.
@@ -200,11 +200,11 @@ declare const exportedTheme: {
200
200
  declare const aggregateAmounts: (amounts: number[]) => number;
201
201
  //# sourceMappingURL=aggregateAmounts.d.ts.map
202
202
 
203
- declare const convertToUTCEpochTime: ({ timeString, toEndDate }: {
203
+ declare const dateToTimestamp: ({ timeString, toEndDate }: {
204
204
  timeString: string;
205
205
  toEndDate?: boolean | undefined;
206
206
  }) => string;
207
- //# sourceMappingURL=convertToUTCEpochTime.d.ts.map
207
+ //# sourceMappingURL=dateToTimestamp.d.ts.map
208
208
 
209
209
  type SignDisplay = 'auto' | 'always' | 'exceptZero' | 'never';
210
210
  /**
@@ -399,9 +399,9 @@ declare const CfTag: (props: CfTagProps) => react_jsx_runtime.JSX.Element | null
399
399
  interface CfToastProps extends UseToastOptions {
400
400
  onClose?: () => void;
401
401
  }
402
- declare const CfToast: (props: CfToastProps) => react_jsx_runtime.JSX.Element;
402
+ declare const CfToast: ({ description, title, onClose, isClosable, status }: CfToastProps) => react_jsx_runtime.JSX.Element;
403
403
 
404
404
  type SVGIcon = ChakraComponent<'svg', object>;
405
405
  declare const layoutMinWidth = "22rem";
406
406
 
407
- export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray as CfInputArrays, type CfInputProps, CfLineChart, CfModal, CfPagination, CfSelect, type CfSelectOption, type CfSelectProps, 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, SvgIconClose as IconClose, SvgIconConnect as IconConnect, SvgIconCopy as IconCopy, SvgIconDollar as IconDollar, 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, 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 SVGIcon, aggregateAmounts, convertToUTCEpochTime, exportedTheme as coreTheme, formatPercentage, formatUSD, getDelta, layoutMinWidth, uiColors };
407
+ export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, type CfInputProps, CfLineChart, CfModal, CfPagination, CfSelect, type CfSelectOption, type CfSelectProps, 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, SvgIconClose as IconClose, SvgIconConnect as IconConnect, SvgIconCopy as IconCopy, SvgIconDollar as IconDollar, 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, 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 SVGIcon, aggregateAmounts, exportedTheme as coreTheme, dateToTimestamp as dateToTimeStamp, formatPercentage, formatUSD, getDelta, layoutMinWidth, uiColors };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptofi/core-ui",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "author": {
5
5
  "name": "CryptoFi"
6
6
  },
@@ -26,6 +26,7 @@
26
26
  "publish:npm": "yarn build && npm publish --access public && yarn publish:notifier",
27
27
  "storybook": "storybook dev -p 6006",
28
28
  "test": "jest --colors --passWithNoTests",
29
+ "test:one": "yarn test src/__tests/\"$@\".test.ts",
29
30
  "test:watch": "yarn test --collectCoverage=false --watch"
30
31
  },
31
32
  "module": "dist/index.js",
@@ -62,18 +63,18 @@
62
63
  "@rollup/plugin-commonjs": "^25.0.7",
63
64
  "@rollup/plugin-node-resolve": "^15.2.3",
64
65
  "@rollup/plugin-terser": "^0.4.4",
65
- "@storybook/addon-essentials": "^7.5.2",
66
- "@storybook/addon-interactions": "^7.5.2",
67
- "@storybook/addon-links": "^7.5.2",
66
+ "@storybook/addon-essentials": "^7.6.14",
67
+ "@storybook/addon-interactions": "^7.6.14",
68
+ "@storybook/addon-links": "^7.6.14",
68
69
  "@storybook/addon-onboarding": "^1.0.8",
69
- "@storybook/blocks": "^7.6.12",
70
- "@storybook/components": "^7.5.3",
71
- "@storybook/manager-api": "^7.6.12",
72
- "@storybook/preview-api": "^7.5.3",
73
- "@storybook/react": "^7.5.2",
74
- "@storybook/react-vite": "^7.5.2",
70
+ "@storybook/blocks": "^7.6.14",
71
+ "@storybook/components": "^7.6.14",
72
+ "@storybook/manager-api": "^7.6.14",
73
+ "@storybook/preview-api": "^7.6.14",
74
+ "@storybook/react": "^7.6.14",
75
+ "@storybook/react-vite": "^7.6.14",
75
76
  "@storybook/testing-library": "^0.2.2",
76
- "@storybook/types": "^7.5.3",
77
+ "@storybook/types": "^7.6.14",
77
78
  "@svgr/cli": "^8.1.0",
78
79
  "@svgr/core": "^8.1.0",
79
80
  "@svgr/plugin-jsx": "^8.1.0",
@@ -84,8 +85,8 @@
84
85
  "@types/jest": "^29.2.6",
85
86
  "@types/lodash.isempty": "^4",
86
87
  "@types/prop-types": "^15",
87
- "@types/react": "^18.0.27",
88
- "@types/react-dom": "^18.0.10",
88
+ "@types/react": "^18.2.55",
89
+ "@types/react-dom": "^18.2.19",
89
90
  "@types/rollup-plugin-peer-deps-external": "^2",
90
91
  "@types/stringify-object": "^4.0.4",
91
92
  "@typescript-eslint/eslint-plugin": "^6.13.1",
@@ -126,5 +127,5 @@
126
127
  "typescript": "^5.3.3",
127
128
  "vite": "^4.5.0"
128
129
  },
129
- "packageManager": "yarn@4.0.1"
130
+ "packageManager": "yarn@4.1.0"
130
131
  }