@mxenabled/mxui 1.6.0-alpha.4 → 1.6.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.
package/README.md CHANGED
@@ -7,17 +7,35 @@ In order to run the project you will need to make sure that you have yarn instal
7
7
 
8
8
  ## Contributing
9
9
 
10
+ ### Branch: `master`
11
+
10
12
  If your MR includes any changes outside of documentation, you will need to ensure the following:
11
13
 
12
14
  1. Update the `CHANGELOG.md` as part of your MR.
13
15
  1. Do not update the version in the `package.json` file, as it will be handled automatically by `shipit`.
14
16
 
17
+ ### Branch: `MXUI_1.x`
18
+
19
+ If your MR includes any changes outside of documentation, you will need to ensure the following:
20
+
21
+ 1. Update the `CHANGELOG.md` as part of your MR.
22
+ 1. Update the `package.json` with the version you're going to publish.
23
+
15
24
  ## Merging and Publishing
16
- To merge and publish, comment `shipit --publish-version=major/minor/patch` once the MR is approved.
25
+
26
+ ### Branch: `master`
27
+
28
+ 1. To merge and publish, comment `shipit --publish-version=major/minor/patch` once the MR is approved.
17
29
  Shipit will handle version bumping based on the specified flag (major, minor, or patch), publish the package to the npm registry, merge the MR into the master branch, and create a corresponding tag.
18
30
 
19
31
  > **Note:** If an alpha version is to be published, update the package version to include a pre-release identifier like `1.2.3-alpha.1` or `1.2.3-v1` and run the `publish:nodejs-npmregistry` job to publish that alpha version.
20
32
 
33
+ ### Branch: `MXUI_1.x`
34
+
35
+ 1. To merge, click the 'merge' button found on the MR in the Gitlab UI.
36
+ 1. To publish, pull down master and use the `stable` tag: `npm publish --tag stable`.
37
+ 1. Tag the new version: `git tag x.x.x` , `git push origin --tags`
38
+
21
39
  ## Using this Library
22
40
 
23
41
  The QA storybook containing the latest changes is [accessible here](https://mxui.kube.qa.internal.mx/?path=/docs/introduction--docs).
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { DateRange, PickersShortcutsProps } from '@mui/x-date-pickers-pro';
3
+ interface DatePickerShortcutsSmallProps extends PickersShortcutsProps<DateRange<Date>> {
4
+ selectLabel: string;
5
+ selected?: string;
6
+ }
7
+ declare const DatePickerShortcutsSmall: React.FC<DatePickerShortcutsSmallProps>;
8
+ export default DatePickerShortcutsSmall;
@@ -0,0 +1,4 @@
1
+ import { DateRange } from '@mui/x-date-pickers-pro';
2
+ import { PickersLayoutProps } from '@mui/x-date-pickers/PickersLayout';
3
+ declare const DateRangePickerSmallLayout: (props: PickersLayoutProps<DateRange<Date>, Date, any>) => import("react").JSX.Element;
4
+ export default DateRangePickerSmallLayout;
@@ -12,4 +12,4 @@ export interface IconProps extends MuiIconProps {
12
12
  size?: number;
13
13
  weight?: IconWeight;
14
14
  }
15
- export declare const Icon: ({ color, fill, name, size, sx, weight, ...rest }: IconProps) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const Icon: ({ color, fill, name, size, sx, weight, ...rest }: IconProps) => import("react").JSX.Element;
@@ -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;
@@ -12,9 +12,9 @@ interface TextType extends TypographyProps {
12
12
  variant?: TypographyTypeMap['props']['variant'];
13
13
  uppercase?: boolean;
14
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;
15
+ export declare const Text: ({ bold, className, children, color, sx, truncate, uppercase, ...rest }: TextType) => React.JSX.Element;
16
+ export declare const H1: ({ className, children, ...rest }: TextType) => React.JSX.Element;
17
+ export declare const H2: ({ className, children, ...rest }: TextType) => React.JSX.Element;
18
+ export declare const H3: ({ className, children, ...rest }: TextType) => React.JSX.Element;
19
+ export declare const P: ({ className, children, truncate, ...rest }: TextType) => React.JSX.Element;
20
20
  export {};
@@ -1,9 +1,10 @@
1
1
  import { default as React } from 'react';
2
2
  import { SlideProps } from '@mui/material/Slide';
3
3
  import { SxProps, Theme } from '@mui/material/styles';
4
- export declare function SlideTransition(props: SlideProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function SlideTransition(props: SlideProps): React.JSX.Element;
5
5
  interface ToastProps {
6
6
  open: boolean;
7
+ closeAriaLabel: string;
7
8
  handleClose: () => void;
8
9
  message: string;
9
10
  autoHideDuration?: number;
@@ -13,7 +14,6 @@ interface ToastProps {
13
14
  showClose?: boolean;
14
15
  actionText?: string;
15
16
  onActionClick?: () => void;
16
- multiLine?: boolean;
17
17
  }
18
18
  export declare const Toast: React.FC<ToastProps>;
19
19
  export default Toast;