@cryptofi/core-ui 1.4.1 → 1.5.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.
@@ -277,6 +277,9 @@ declare const getDelta: ({ data, dataKey }: {
277
277
  };
278
278
  //# sourceMappingURL=getDelta.d.ts.map
279
279
 
280
+ declare const isIframe: () => boolean;
281
+ //# sourceMappingURL=isIframe.d.ts.map
282
+
280
283
  /**
281
284
  * @description Pulls every nth element from a time series array, starting from the end
282
285
  * to ensure the most recent entry is included.
@@ -349,13 +352,12 @@ declare const formatPhoneNumber: (phoneNumberString: string) => string;
349
352
  type TooltipLabelFormatter = (index: number, chartValue: any[]) => string | undefined;
350
353
  type TooltipValueFormatter = (value: number) => string;
351
354
 
352
- declare const CfAreaChart: ({ data, dataKey, width, height, areaType, showTooltip, isAnimated, formatter, labelFormatter, sampleRate, style, }: {
355
+ declare const CfAreaChart: ({ data, dataKey, width, height, areaType, isAnimated, formatter, labelFormatter, sampleRate, style, }: {
353
356
  data: any[] | undefined;
354
357
  dataKey: string;
355
358
  width?: string;
356
359
  height?: string;
357
360
  areaType?: CurveType;
358
- showTooltip?: boolean;
359
361
  isAnimated?: boolean;
360
362
  formatter?: TooltipValueFormatter;
361
363
  labelFormatter?: TooltipLabelFormatter;
@@ -438,13 +440,12 @@ interface Props$4<T extends FieldValues> {
438
440
  declare const CfInputArray: <T extends FieldValues>({ name, control, register, defaultValues, onArrayAppend, onArrayRemove, }: Props$4<T>) => react_jsx_runtime.JSX.Element;
439
441
  //# sourceMappingURL=InputArray.d.ts.map
440
442
 
441
- declare const CfLineChart: ({ data, dataKey, width, height, lineType, showTooltip, isAnimated, formatter, labelFormatter, sampleRate, style, }: {
443
+ declare const CfLineChart: ({ data, dataKey, width, height, lineType, isAnimated, formatter, labelFormatter, sampleRate, style, }: {
442
444
  data: any[] | undefined;
443
445
  dataKey: string;
444
446
  width?: string;
445
447
  height?: string;
446
448
  lineType?: CurveType;
447
- showTooltip?: boolean;
448
449
  isAnimated?: boolean;
449
450
  formatter?: TooltipValueFormatter;
450
451
  labelFormatter?: TooltipLabelFormatter;
@@ -555,4 +556,4 @@ declare const useBreakpoint: () => {
555
556
  };
556
557
  //# sourceMappingURL=useBreakpoint.d.ts.map
557
558
 
558
- export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, CfLineChart, CfModal, CfNavLink, CfOpenSearchPagination, CfPagination, PrettyWrap as CfPrettyWrap, CfSelect, type CfSelectOption, type CfSelectProps, CfSpinner, CfTag, type CfTagProps, CfToast, CfTooltip, 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, 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, SvgIconMinus as IconMinus, SvgIconMkr as IconMkr, 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, SvgIconXrp as IconXrp, type PageClickEvent, aggregateAmounts, exportedTheme as coreTheme, dateFormats, dateToTimestamp, formatPercentage, formatPhoneNumber, formatUsd, getDelta, layoutMinWidth, pullFromEnd, splitOnCapitals, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, utcDateToLocal };
559
+ export { CfAreaChart, CfBreakpointDebugger, CfButtonGroup, CfButtonGroupButton, CfCard, CfCarousel, CfCheckbox, type CfCheckboxProps, CfForm, CfInput, CfInputArray, CfLineChart, CfModal, CfNavLink, CfOpenSearchPagination, CfPagination, PrettyWrap as CfPrettyWrap, CfSelect, type CfSelectOption, type CfSelectProps, CfSpinner, CfTag, type CfTagProps, CfToast, CfTooltip, 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, 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, SvgIconMinus as IconMinus, SvgIconMkr as IconMkr, 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, SvgIconXrp as IconXrp, type PageClickEvent, aggregateAmounts, exportedTheme as coreTheme, dateFormats, dateToTimestamp, formatPercentage, formatPhoneNumber, formatUsd, getDelta, isIframe, layoutMinWidth, pullFromEnd, splitOnCapitals, uiColors, usdToNumber, useBreakpoint as useCfBreakpoint, utcDateToLocal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptofi/core-ui",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "author": {
5
5
  "name": "CryptoFi"
6
6
  },
@@ -46,7 +46,7 @@
46
46
  "dist"
47
47
  ],
48
48
  "peerDependencies": {
49
- "@chakra-ui/react": "^2.10.2",
49
+ "@chakra-ui/react": "^2.10.3",
50
50
  "@emotion/react": "^11.13.3",
51
51
  "@emotion/styled": "^11.13.0",
52
52
  "framer-motion": "^10.16.4",
@@ -70,13 +70,13 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@babel/core": "^7.25.8",
73
- "@chakra-ui/react": "^2.10.2",
73
+ "@chakra-ui/react": "^2.10.3",
74
74
  "@chakra-ui/storybook-addon": "^5.2.5",
75
75
  "@emotion/react": "^11.13.3",
76
76
  "@emotion/styled": "^11.13.0",
77
- "@eslint/js": "^9.12.0",
77
+ "@eslint/js": "^9.13.0",
78
78
  "@rollup/plugin-commonjs": "^28.0.0",
79
- "@rollup/plugin-node-resolve": "^15.2.3",
79
+ "@rollup/plugin-node-resolve": "^15.3.0",
80
80
  "@rollup/plugin-terser": "^0.4.4",
81
81
  "@storybook/addon-essentials": "^8.3.5",
82
82
  "@storybook/addon-interactions": "^8.3.5",
@@ -84,11 +84,11 @@
84
84
  "@storybook/addon-onboarding": "^8.3.5",
85
85
  "@storybook/blocks": "^8.3.5",
86
86
  "@storybook/components": "^8.3.5",
87
- "@storybook/manager-api": "^8.3.5",
88
- "@storybook/preview-api": "^8.3.5",
89
- "@storybook/react": "^8.3.5",
87
+ "@storybook/manager-api": "^8.3.6",
88
+ "@storybook/preview-api": "^8.3.6",
89
+ "@storybook/react": "^8.3.6",
90
90
  "@storybook/react-vite": "^8.3.5",
91
- "@storybook/test": "^8.3.5",
91
+ "@storybook/test": "^8.3.6",
92
92
  "@storybook/types": "^8.3.5",
93
93
  "@svgr/cli": "^8.1.0",
94
94
  "@svgr/core": "^8.1.0",
@@ -122,7 +122,7 @@
122
122
  "eslint-plugin-simple-import-sort": "^12.1.1",
123
123
  "eslint-plugin-unused-imports": "^4.1.4",
124
124
  "framer-motion": "^10.16.4",
125
- "globals": "^15.9.0",
125
+ "globals": "^15.11.0",
126
126
  "identity-obj-proxy": "^3.0.0",
127
127
  "jest": "^29.4.0",
128
128
  "pnpapi": "^0.0.0",
@@ -141,8 +141,8 @@
141
141
  "storybook": "^8.3.5",
142
142
  "stringify-object": "^5.0.0",
143
143
  "ts-jest": "^29.2.5",
144
- "typescript": "^5.6.2",
145
- "typescript-eslint": "^8.8.0",
144
+ "typescript": "^5.6.3",
145
+ "typescript-eslint": "^8.10.0",
146
146
  "vite": "^5.4.9"
147
147
  },
148
148
  "packageManager": "yarn@4.2.2"