@mxenabled/mxui 1.0.0-alpha.bb1

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.
Files changed (61) hide show
  1. package/README.md +32 -0
  2. package/dist/components/categoryicon/CategoryIcon.d.ts +11 -0
  3. package/dist/components/categoryicon/Constants.d.ts +29 -0
  4. package/dist/components/categoryicon/IconList.d.ts +8 -0
  5. package/dist/components/categoryicon/index.d.ts +2 -0
  6. package/dist/components/daterangepicker/DatePickerShortcuts.d.ts +7 -0
  7. package/dist/components/daterangepicker/DateRangePicker.d.ts +26 -0
  8. package/dist/components/daterangepicker/index.d.ts +2 -0
  9. package/dist/components/dialog/BottomSheetTransition.d.ts +6 -0
  10. package/dist/components/dialog/Header.d.ts +12 -0
  11. package/dist/components/dialog/index.d.ts +3 -0
  12. package/dist/components/drawer/Drawer.d.ts +15 -0
  13. package/dist/components/drawer/Footer.d.ts +13 -0
  14. package/dist/components/drawer/index.d.ts +2 -0
  15. package/dist/components/icon/BaseIcon.d.ts +11 -0
  16. package/dist/components/icon/Icon.d.ts +17 -0
  17. package/dist/components/icon/icons/AccountsFilledIcon.d.ts +3 -0
  18. package/dist/components/icon/icons/AccountsIcon.d.ts +3 -0
  19. package/dist/components/icon/icons/ArrowLeftIcon.d.ts +3 -0
  20. package/dist/components/icon/icons/AttentionFilledIcon.d.ts +3 -0
  21. package/dist/components/icon/icons/CalendarIcon.d.ts +3 -0
  22. package/dist/components/icon/icons/CheckmarkFilledIcon.d.ts +3 -0
  23. package/dist/components/icon/icons/ChevronDownIcon.d.ts +3 -0
  24. package/dist/components/icon/icons/ChevronLeftIcon.d.ts +3 -0
  25. package/dist/components/icon/icons/ChevronRightIcon.d.ts +3 -0
  26. package/dist/components/icon/icons/CloseIcon.d.ts +3 -0
  27. package/dist/components/icon/icons/EditIcon.d.ts +3 -0
  28. package/dist/components/icon/icons/FilterIcon.d.ts +3 -0
  29. package/dist/components/icon/icons/HeartIcon.d.ts +3 -0
  30. package/dist/components/icon/icons/MXLogoCopyrightIcon.d.ts +3 -0
  31. package/dist/components/icon/icons/MXLogoFilledIcon.d.ts +3 -0
  32. package/dist/components/icon/icons/MXLogoIcon.d.ts +3 -0
  33. package/dist/components/icon/icons/MXLogoOutlineIcon.d.ts +3 -0
  34. package/dist/components/icon/icons/index.d.ts +17 -0
  35. package/dist/components/icon/index.d.ts +3 -0
  36. package/dist/components/institutionlogo/InstitutionLogo.d.ts +8 -0
  37. package/dist/components/institutionlogo/index.d.ts +1 -0
  38. package/dist/components/merchantlogo/MerchantLogo.d.ts +9 -0
  39. package/dist/components/merchantlogo/index.d.ts +1 -0
  40. package/dist/components/text/Text.d.ts +20 -0
  41. package/dist/components/text/index.d.ts +1 -0
  42. package/dist/components/textfield/TextField.d.ts +10 -0
  43. package/dist/components/textfield/index.d.ts +1 -0
  44. package/dist/components/toast/Toast.d.ts +19 -0
  45. package/dist/components/toast/index.d.ts +1 -0
  46. package/dist/components/tokenprovider/Constants.d.ts +9 -0
  47. package/dist/components/tokenprovider/Hooks.d.ts +1 -0
  48. package/dist/components/tokenprovider/TokenProvider.d.ts +11 -0
  49. package/dist/components/tokenprovider/index.d.ts +3 -0
  50. package/dist/constants/Logo.d.ts +2 -0
  51. package/dist/constants/Theme.d.ts +4 -0
  52. package/dist/index.d.ts +12 -0
  53. package/dist/index.es.js +1975 -0
  54. package/dist/index.es.js.map +1 -0
  55. package/dist/themes/Augmentations.d.ts +112 -0
  56. package/dist/themes/Colors.d.ts +36 -0
  57. package/dist/themes/MXTheme.d.ts +2 -0
  58. package/dist/themes/Palette.d.ts +2 -0
  59. package/dist/themes/Typography.d.ts +3 -0
  60. package/dist/themes/index.d.ts +3 -0
  61. package/package.json +81 -0
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ ## Getting started
2
+ In order to run the project you will need to make sure that you have yarn installed. It must be higher than 1.22 in order to do that you must have corepack enabled. Do not just run "npm i" to install dependencies, all packages must be installed with yarn.
3
+
4
+ 1. Install [yarn](https://yarnpkg.com/getting-started/install)
5
+ 1. From the project root dir, run `yarn` or `yarn install` to install dependencies
6
+ 1. To start the project run `yarn dev` (the project should automatically run in the browser)
7
+
8
+ ## Contributing
9
+
10
+ If your MR includes any changes outside of documentation, you will need to incrememnt the version correctly and publish that new version.
11
+
12
+ 1. Ensure you update the CHANGELOG.md as part of your MR
13
+ 1. Update the version in the package.json file as part of your MR
14
+
15
+ ## Merging and Publishing
16
+
17
+ Pre-requisites to publishing: you'll need to get an ower to add you to the "mxenabled" organization in npm. If you do not have an npm account already, create one with your mx email at https://www.npmjs.com/, then send a message to Bill Bridegroom on Slack to get added to the org. Once this is done, you'll need to run `npm adduser` in your terminal to authenticate.
18
+
19
+ 1. After your MR is approved, type `shipit` in the comments. Wait for shipit to merge your branch (it will comment on your MR when it has finished doing its thing.)
20
+ 1. After your changes have been merged to master, switch to the master branch and pull down the new changes.
21
+ 1. Run `npm publish --dry-run`.
22
+ 1. If the dry run works, go ahead and run `npm publish`. Look for something like '@mxenabled/mxui@1.4.2' in the terminal output. Copy it and paste it to the end of `git tag` ex: `git tag @kyper/mui@2.4.2`in the terminal. After that, run `git push origin --tags` and you're done.
23
+
24
+
25
+ ## Using this Library
26
+
27
+ The QA storybook containing the latest changes is [accessible here](https://mxui.kube.qa.internal.mx/?path=/docs/introduction--docs).
28
+
29
+ Follow the setup instructions found in
30
+
31
+ Teams are currently adding components as needed, so the list in storybook right now is what has been built so far.
32
+
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/material/styles';
3
+ interface CategoryIconProps {
4
+ categoryGuid?: string;
5
+ icon_ratio?: number;
6
+ size?: number;
7
+ sx?: SxProps;
8
+ variant?: 'basic' | 'filled' | 'transparent' | 'twotone';
9
+ }
10
+ export declare const CategoryIcon: React.FC<CategoryIconProps>;
11
+ export {};
@@ -0,0 +1,29 @@
1
+ export declare enum CategoryGuids {
2
+ AutoTransport = "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874",
3
+ BillsUtilities = "CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8",
4
+ BusinessServices = "CAT-94b11142-e97b-941a-f67f-6e18d246a23f",
5
+ Education = "CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0",
6
+ Entertainment = "CAT-e04e9d1e-e041-c315-2e50-094143ab3f73",
7
+ FeesCharges = "CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a",
8
+ Financial = "CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf",
9
+ FoodDining = "CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a",
10
+ GiftsDonations = "CAT-8edf9663-623e-4735-490e-31288f0a70b0",
11
+ HealthFitness = "CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f",
12
+ Home = "CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac",
13
+ Income = "CAT-bf9f3294-4c40-1677-d269-54fbc189faf3",
14
+ Investments = "CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c",
15
+ Kids = "CAT-0cb1d99d-f558-99e3-2282-b31f359b411a",
16
+ PersonalCare = "CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f",
17
+ Pets = "CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78",
18
+ Shopping = "CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f",
19
+ Taxes = "CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954",
20
+ Transfer = "CAT-bce48142-fea4-ff45-20d9-0a642d44de83",
21
+ Travel = "CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae",
22
+ Uncategorized = "CAT-d7851c65-3353-e490-1953-fb9235e681e4"
23
+ }
24
+ export declare enum CategoryIconVariants {
25
+ Basic = "basic",
26
+ Filled = "filled",
27
+ Transparent = "transparent",
28
+ TwoTone = "two-tone"
29
+ }
@@ -0,0 +1,8 @@
1
+ type CategoryIconType = {
2
+ guid: string;
3
+ colorName: string;
4
+ icon: string;
5
+ };
6
+ export declare const UncategorizedCategoryIcon: CategoryIconType;
7
+ export declare const IconList: CategoryIconType[];
8
+ export {};
@@ -0,0 +1,2 @@
1
+ export { CategoryIcon } from './CategoryIcon';
2
+ export { CategoryGuids, CategoryIconVariants } from './Constants';
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { DateRange, PickersShortcutsProps } from '@mui/x-date-pickers-pro';
3
+ interface DatePickerShortcutProps extends PickersShortcutsProps<DateRange<Date>> {
4
+ selected?: string;
5
+ }
6
+ declare const DatePickerShortcuts: React.FC<DatePickerShortcutProps>;
7
+ export default DatePickerShortcuts;
@@ -0,0 +1,26 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/material/styles';
3
+ import { DateRange } from '@mui/x-date-pickers-pro';
4
+ export type DateRangePickerCopy = {
5
+ dateRangeFrom: string;
6
+ dateRangeTo: string;
7
+ dateRangeCustom: string;
8
+ dateRangeSelectARange: string;
9
+ dateRangeThisMonth: string;
10
+ dateRangeLastMonth: string;
11
+ dateRangeLast30Days: string;
12
+ dateRangeLast90Days: string;
13
+ dateRangeYTD: string;
14
+ dateRangeLastYear: string;
15
+ dateRangeSelect: string;
16
+ dateRangeToolbarTitle: string;
17
+ };
18
+ export interface DateRangePickerProps {
19
+ copy: DateRangePickerCopy;
20
+ dateRange: DateRange<Date>;
21
+ onRangeChanged?: (dateRange: DateRange<Date>, shortcut: string) => void;
22
+ selectedShortcut?: string;
23
+ sx?: SxProps;
24
+ }
25
+ declare const DateRangePicker: React.FC<DateRangePickerProps>;
26
+ export default DateRangePicker;
@@ -0,0 +1,2 @@
1
+ export { default as DateRangePicker } from './DateRangePicker';
2
+ export type { DateRangePickerCopy } from './DateRangePicker';
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { TransitionProps } from '@mui/material/transitions';
3
+ declare const BottomSheetTransition: React.ForwardRefExoticComponent<TransitionProps & {
4
+ children: React.ReactElement<any, any>;
5
+ } & React.RefAttributes<unknown>>;
6
+ export default BottomSheetTransition;
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ import { ToolbarProps } from '@mui/material/Toolbar';
3
+ export type CopyObject = {
4
+ close_aria?: string;
5
+ title: string;
6
+ };
7
+ type DialogHeaderProps = {
8
+ copy: CopyObject;
9
+ onClose: () => void;
10
+ } & ToolbarProps;
11
+ declare const DialogHeader: React.FC<DialogHeaderProps>;
12
+ export default DialogHeader;
@@ -0,0 +1,3 @@
1
+ export { default as BottomSheetTransition } from './BottomSheetTransition';
2
+ export { default as DialogFooter } from '../drawer/Footer';
3
+ export { default as DialogHeader } from './Header';
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ import { DrawerProps as MuiDrawerProps } from '@mui/material/Drawer';
3
+ interface DrawerProps extends MuiDrawerProps {
4
+ children: React.ReactNode;
5
+ className?: string;
6
+ disableSave?: boolean;
7
+ id?: string;
8
+ isOpen: boolean;
9
+ onClose: () => void;
10
+ onSave?: () => void;
11
+ primaryText?: string;
12
+ secondaryText?: string;
13
+ }
14
+ declare const Drawer: React.FC<DrawerProps>;
15
+ export default Drawer;
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { ToolbarProps } from '@mui/material/Toolbar';
3
+ type FooterProps = {
4
+ isPrimaryDisabled?: boolean;
5
+ onPrimaryAction?: (formData: any) => void;
6
+ onSecondaryAction: () => void;
7
+ primaryColor?: 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
8
+ primaryText?: string;
9
+ secondaryColor?: 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
10
+ secondaryText?: string;
11
+ } & ToolbarProps;
12
+ declare const Footer: React.FC<FooterProps>;
13
+ export default Footer;
@@ -0,0 +1,2 @@
1
+ export { default as Drawer } from './Drawer';
2
+ export { default as Footer } from './Footer';
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ export interface BaseIconProps {
3
+ height?: number;
4
+ size?: number;
5
+ viewBox?: string;
6
+ width?: number;
7
+ }
8
+ export interface IconProps extends BaseIconProps {
9
+ color?: string;
10
+ }
11
+ export declare const BaseIcon: React.FC<React.PropsWithChildren<BaseIconProps>>;
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps as MuiIconProps } from '@mui/material/Icon';
3
+ export declare enum IconWeight {
4
+ Lighter = 100,
5
+ Light = 200,
6
+ Normal = 300,
7
+ Dark = 400,
8
+ Darker = 500
9
+ }
10
+ export interface IconProps extends MuiIconProps {
11
+ fill?: boolean;
12
+ name: string;
13
+ size?: number;
14
+ weight?: IconWeight;
15
+ }
16
+ export declare const Icon: React.FC<IconProps>;
17
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const AccountsFilledIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const AccountsIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const ArrowLeftIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const AttentionFilledIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const CalendarIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const CheckmarkFilledIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const ChevronDownIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const ChevronLeftIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const ChevronRightIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const CloseIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const EditIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const FilterIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const HeartIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const MXLogoCopyrightIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const MXLogoFilledIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const MXLogoIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { IconProps } from '../BaseIcon';
3
+ export declare const MXLogoOutlineIcon: React.FC<React.PropsWithChildren<IconProps>>;
@@ -0,0 +1,17 @@
1
+ export { AccountsFilledIcon } from './AccountsFilledIcon';
2
+ export { AccountsIcon } from './AccountsIcon';
3
+ export { ArrowLeftIcon } from './ArrowLeftIcon';
4
+ export { AttentionFilledIcon } from './AttentionFilledIcon';
5
+ export { CalendarIcon } from './CalendarIcon';
6
+ export { CheckmarkFilledIcon } from './CheckmarkFilledIcon';
7
+ export { ChevronDownIcon } from './ChevronDownIcon';
8
+ export { ChevronLeftIcon } from './ChevronLeftIcon';
9
+ export { ChevronRightIcon } from './ChevronRightIcon';
10
+ export { CloseIcon } from './CloseIcon';
11
+ export { EditIcon } from './EditIcon';
12
+ export { FilterIcon } from './FilterIcon';
13
+ export { HeartIcon } from './HeartIcon';
14
+ export { MXLogoIcon } from './MXLogoIcon';
15
+ export { MXLogoCopyrightIcon } from './MXLogoCopyrightIcon';
16
+ export { MXLogoFilledIcon } from './MXLogoFilledIcon';
17
+ export { MXLogoOutlineIcon } from './MXLogoOutlineIcon';
@@ -0,0 +1,3 @@
1
+ export { BaseIcon } from './BaseIcon';
2
+ export { Icon, IconWeight } from './Icon';
3
+ export * from './icons';
@@ -0,0 +1,8 @@
1
+ import { default as React, ImgHTMLAttributes } from 'react';
2
+ export interface InstitutionLogoProps extends ImgHTMLAttributes<HTMLImageElement> {
3
+ alt: string;
4
+ institutionGuid: string;
5
+ logoUrl?: string;
6
+ size?: number;
7
+ }
8
+ export declare const InstitutionLogo: React.FC<InstitutionLogoProps>;
@@ -0,0 +1 @@
1
+ export { InstitutionLogo } from './InstitutionLogo';
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { BoxProps } from '@mui/material/Box';
3
+ export interface MerchantLogoProps extends BoxProps {
4
+ alt?: string;
5
+ categoryGuid: string;
6
+ merchantGuid: string;
7
+ size?: number;
8
+ }
9
+ export declare const MerchantLogo: React.FC<MerchantLogoProps>;
@@ -0,0 +1 @@
1
+ export { MerchantLogo } from './MerchantLogo';
@@ -0,0 +1,20 @@
1
+ import { SxProps } from '@mui/material/styles';
2
+ import { default as React } from 'react';
3
+ import { TypographyProps, TypographyTypeMap } from '@mui/material/Typography';
4
+ interface TextType extends TypographyProps {
5
+ bold?: boolean;
6
+ className?: string;
7
+ children?: React.ReactNode;
8
+ component?: any;
9
+ color?: string;
10
+ sx?: SxProps;
11
+ truncate?: boolean;
12
+ variant?: TypographyTypeMap['props']['variant'];
13
+ uppercase?: boolean;
14
+ }
15
+ export declare const Text: ({ bold, className, children, color, sx, truncate, uppercase, ...rest }: TextType) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const H1: ({ className, children, ...rest }: TextType) => import("react/jsx-runtime").JSX.Element;
17
+ export declare const H2: ({ className, children, ...rest }: TextType) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const H3: ({ className, children, ...rest }: TextType) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const P: ({ className, children, truncate, ...rest }: TextType) => import("react/jsx-runtime").JSX.Element;
20
+ export {};
@@ -0,0 +1 @@
1
+ export { H1, H2, H3, P, Text } from './Text';
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { TextFieldProps as MuiTextFieldProps } from '@mui/material/TextField';
3
+ type TextFieldProps = {
4
+ disabled?: boolean;
5
+ label?: React.ReactNode;
6
+ shrink?: boolean;
7
+ variant?: 'filled' | 'outlined' | 'standard';
8
+ } & MuiTextFieldProps;
9
+ declare const TextField: React.FC<TextFieldProps>;
10
+ export default TextField;
@@ -0,0 +1 @@
1
+ export { default as TextField } from './TextField';
@@ -0,0 +1,19 @@
1
+ import { default as React } from 'react';
2
+ import { SlideProps } from '@mui/material/Slide';
3
+ import { SxProps, Theme } from '@mui/material/styles';
4
+ export declare function SlideTransition(props: SlideProps): import("react/jsx-runtime").JSX.Element;
5
+ interface ToastProps {
6
+ open: boolean;
7
+ handleClose: () => void;
8
+ message: string;
9
+ autoHideDuration?: number;
10
+ severity?: 'success' | 'error' | 'warning' | 'info';
11
+ snackbarSx?: SxProps<Theme>;
12
+ showAction?: boolean;
13
+ showClose?: boolean;
14
+ actionText?: string;
15
+ onActionClick?: () => void;
16
+ multiLine?: boolean;
17
+ }
18
+ export declare const Toast: React.FC<ToastProps>;
19
+ export default Toast;
@@ -0,0 +1 @@
1
+ export { Toast } from './Toast';
@@ -0,0 +1,9 @@
1
+ export declare const TARGETS: {
2
+ REACT: string;
3
+ REACT_NATIVE: string;
4
+ NATIVE: string;
5
+ };
6
+ export declare const THEMES: {
7
+ LIGHT: string;
8
+ DARK: string;
9
+ };
@@ -0,0 +1 @@
1
+ export declare const useTokens: (target?: string, tokenOverrides?: {}) => import('@mxenabled/design-tokens').TokenTypes;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ export declare const TokenContext: React.Context<import('@mxenabled/design-tokens').TokenTypes>;
3
+ export declare const ReactNativeTokenContext: React.Context<import('@mxenabled/design-tokens').TokenTypes>;
4
+ interface TokenProviderProps {
5
+ children: React.ReactNode;
6
+ target?: string;
7
+ theme?: string;
8
+ tokenOverrides?: any;
9
+ }
10
+ export declare const TokenProvider: React.FC<TokenProviderProps>;
11
+ export {};
@@ -0,0 +1,3 @@
1
+ export { TokenProvider } from './TokenProvider';
2
+ export { useTokens } from './Hooks';
3
+ export { TARGETS, THEMES } from './Constants';
@@ -0,0 +1,2 @@
1
+ export declare const DEFAULT_LOGO_SIZE = 32;
2
+ export declare const ASSETS_URL = "https://content.moneydesktop.com/storage/MD_Assets";
@@ -0,0 +1,4 @@
1
+ export declare const MODE: {
2
+ LIGHT: string;
3
+ DARK: string;
4
+ };
@@ -0,0 +1,12 @@
1
+ export * from './components/categoryicon';
2
+ export * from './components/daterangepicker';
3
+ export * from './components/dialog';
4
+ export * from './components/drawer';
5
+ export * from './components/icon';
6
+ export * from './components/institutionlogo';
7
+ export * from './components/merchantlogo';
8
+ export * from './components/text';
9
+ export * from './components/textfield';
10
+ export * from './components/toast';
11
+ export * from './components/tokenprovider';
12
+ export * from './themes';