@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;
|
package/dist/index.d.ts
CHANGED
|
@@ -158,7 +158,7 @@ type CheckboxProps = MUIGlobalOmit<CheckboxProps$1>;
|
|
|
158
158
|
/**
|
|
159
159
|
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-checkbox--docs
|
|
160
160
|
*/
|
|
161
|
-
declare const Checkbox: ({ ...props }: CheckboxProps) => React__default.JSX.Element;
|
|
161
|
+
declare const Checkbox: ({ disabled, ...props }: CheckboxProps) => React__default.JSX.Element;
|
|
162
162
|
|
|
163
163
|
type FormCheckboxProps = FormBaseProps & CheckboxProps & {
|
|
164
164
|
data: {
|
|
@@ -242,7 +242,7 @@ type RadioProps = MUIGlobalOmit<RadioProps$1>;
|
|
|
242
242
|
/**
|
|
243
243
|
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-radio--docs
|
|
244
244
|
*/
|
|
245
|
-
declare const Radio: (props: RadioProps) => React__default.JSX.Element;
|
|
245
|
+
declare const Radio: ({ disabled, ...props }: RadioProps) => React__default.JSX.Element;
|
|
246
246
|
|
|
247
247
|
type FormRadioProps = FormBaseProps & RadioGroupProps & {
|
|
248
248
|
inputRef?: RadioProps['inputRef'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@up42/up-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.10.0",
|
|
4
4
|
"description": "UP42 Component Library",
|
|
5
5
|
"author": "Axel Fuhrmann axel.fuhrmann@up42.com",
|
|
6
6
|
"license": "ISC",
|
|
@@ -120,4 +120,4 @@
|
|
|
120
120
|
"tmp": ">=0.2.4"
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
}
|
|
123
|
+
}
|