@up42/up-components 5.8.1 → 5.10.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/dist/cjs/index.js +2 -2
- package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/cjs/types/components/Checkbox/icons/index.d.ts +6 -0
- package/dist/cjs/types/components/Radio/Radio.d.ts +1 -1
- package/dist/cjs/types/components/Radio/icons/index.d.ts +4 -0
- package/dist/cjs/types/global/providers/AlertProvider/AlertProvider.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/esm/types/components/Checkbox/icons/index.d.ts +6 -0
- package/dist/esm/types/components/Radio/Radio.d.ts +1 -1
- package/dist/esm/types/components/Radio/icons/index.d.ts +4 -0
- package/dist/esm/types/global/providers/AlertProvider/AlertProvider.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
|
@@ -5,4 +5,4 @@ export type CheckboxProps = MUIGlobalOmit<MUICheckboxProps>;
|
|
|
5
5
|
/**
|
|
6
6
|
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-checkbox--docs
|
|
7
7
|
*/
|
|
8
|
-
export declare const Checkbox: ({ ...props }: CheckboxProps) => React.JSX.Element;
|
|
8
|
+
export declare const Checkbox: ({ disabled, ...props }: CheckboxProps) => React.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as CheckboxIcon } from './checkbox.svg';
|
|
2
|
+
export { default as CheckboxCheckedIcon } from './checkboxChecked.svg';
|
|
3
|
+
export { default as CheckboxIndeterminateIcon } from './checkboxIndeterminate.svg';
|
|
4
|
+
export { default as CheckboxDisabledIcon } from './checkboxDisabled.svg';
|
|
5
|
+
export { default as CheckboxDisabledCheckedIcon } from './checkboxDisabledChecked.svg';
|
|
6
|
+
export { default as CheckboxDisabledIndeterminateIcon } from './checkboxDisabledIndeterminate.svg';
|
|
@@ -5,4 +5,4 @@ export type RadioProps = MUIGlobalOmit<MUIRadioProps>;
|
|
|
5
5
|
/**
|
|
6
6
|
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-radio--docs
|
|
7
7
|
*/
|
|
8
|
-
export declare const Radio: (props: RadioProps) => React.JSX.Element;
|
|
8
|
+
export declare const Radio: ({ disabled, ...props }: RadioProps) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { ElementType, ReactNode } from 'react';
|
|
2
1
|
import { Fade, GrowProps, SnackbarProps as MUISnackbarProps, SlideProps } from '@mui/material';
|
|
2
|
+
import React, { ElementType, ReactNode } from 'react';
|
|
3
3
|
import { AlertColor } from '../../../components/Alert/Alert';
|
|
4
4
|
export type CreateAlertProps = {
|
|
5
5
|
title?: string;
|