@mxenabled/mxui 1.6.0-alpha.5 → 2.0.0-alpha.1

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 (28) hide show
  1. package/dist/components/icon/Icon.d.ts +1 -9
  2. package/dist/components/icon/icons/index.d.ts +0 -13
  3. package/dist/components/icon/index.d.ts +1 -1
  4. package/dist/components/selectionbox/SelectionBox.d.ts +3 -1
  5. package/dist/index.d.ts +0 -1
  6. package/dist/index.es.js +564 -917
  7. package/dist/index.es.js.map +1 -1
  8. package/dist/themes/Augmentations.d.ts +2 -43
  9. package/dist/themes/Palette.d.ts +0 -21
  10. package/dist/themes/Typography.d.ts +55 -31
  11. package/package.json +36 -42
  12. package/dist/components/icon/icons/AccountsFilledIcon.d.ts +0 -3
  13. package/dist/components/icon/icons/AccountsIcon.d.ts +0 -3
  14. package/dist/components/icon/icons/ArrowLeftIcon.d.ts +0 -3
  15. package/dist/components/icon/icons/AttentionFilledIcon.d.ts +0 -3
  16. package/dist/components/icon/icons/CalendarIcon.d.ts +0 -3
  17. package/dist/components/icon/icons/CheckmarkFilledIcon.d.ts +0 -3
  18. package/dist/components/icon/icons/ChevronDownIcon.d.ts +0 -3
  19. package/dist/components/icon/icons/ChevronLeftIcon.d.ts +0 -3
  20. package/dist/components/icon/icons/ChevronRightIcon.d.ts +0 -3
  21. package/dist/components/icon/icons/CloseIcon.d.ts +0 -3
  22. package/dist/components/icon/icons/EditIcon.d.ts +0 -3
  23. package/dist/components/icon/icons/FilterIcon.d.ts +0 -3
  24. package/dist/components/icon/icons/HeartIcon.d.ts +0 -3
  25. package/dist/components/tokenprovider/Constants.d.ts +0 -9
  26. package/dist/components/tokenprovider/Hooks.d.ts +0 -1
  27. package/dist/components/tokenprovider/TokenProvider.d.ts +0 -11
  28. package/dist/components/tokenprovider/index.d.ts +0 -3
@@ -1,15 +1,7 @@
1
1
  import { IconProps as MuiIconProps } from '@mui/material/Icon';
2
- export declare enum IconWeight {
3
- Lighter = 100,
4
- Light = 200,
5
- Normal = 300,
6
- Dark = 400,
7
- Darker = 500
8
- }
9
2
  export interface IconProps extends MuiIconProps {
10
3
  fill?: boolean;
11
4
  name: string;
12
5
  size?: number;
13
- weight?: IconWeight;
14
6
  }
15
- export declare const Icon: ({ color, fill, name, size, sx, weight, ...rest }: IconProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const Icon: ({ color, fill, name, size, sx, ...rest }: IconProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,16 +1,3 @@
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
1
  export { MXLogoIcon } from './MXLogoIcon';
15
2
  export { MXLogoCopyrightIcon } from './MXLogoCopyrightIcon';
16
3
  export { MXLogoFilledIcon } from './MXLogoFilledIcon';
@@ -1,3 +1,3 @@
1
1
  export { BaseIcon } from './BaseIcon';
2
- export { Icon, IconWeight } from './Icon';
2
+ export { Icon } from './Icon';
3
3
  export * from './icons';
@@ -13,6 +13,8 @@ type SelectionBoxProps = BaseSelectionBoxProps & (({
13
13
  component?: typeof Radio;
14
14
  } & Partial<RadioProps>) | ({
15
15
  component: typeof Checkbox;
16
- } & Partial<CheckboxProps>));
16
+ } & Partial<CheckboxProps>)) & {
17
+ onChange?: (event: React.SyntheticEvent, checked: boolean) => void;
18
+ };
17
19
  declare const SelectionBox: React.FC<SelectionBoxProps>;
18
20
  export default SelectionBox;
package/dist/index.d.ts CHANGED
@@ -8,6 +8,5 @@ export * from './components/merchantlogo';
8
8
  export * from './components/text';
9
9
  export * from './components/textfield';
10
10
  export * from './components/toast';
11
- export * from './components/tokenprovider';
12
11
  export * from './components/selectionbox';
13
12
  export * from './themes';