@up42/up-components 0.12.7 → 0.12.9
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 +1 -1
- package/dist/cjs/types/components/InfoModal/InfoModal.d.ts +1 -1
- package/dist/cjs/types/components/Modal/Modal.overrides.d.ts +2 -0
- package/dist/cjs/types/components/PageHeader/PageHeader.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/components/InfoModal/InfoModal.d.ts +1 -1
- package/dist/esm/types/components/Modal/Modal.overrides.d.ts +2 -0
- package/dist/esm/types/components/PageHeader/PageHeader.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { ModalProps as MUIModalProps } from '../Modal/Modal';
|
|
|
4
4
|
import { InfoCardProps } from '../InfoCard/InfoCard';
|
|
5
5
|
export declare type InfoModalProps = MUIGlobalOmit<Omit<MUIModalProps, 'BackdropProps' | 'BackdropComponent' | 'onBackdropClick'>, Omit<InfoCardProps, 'headerAction'> & {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Maximum width of the modal, in pixels.
|
|
8
8
|
*/
|
|
9
9
|
maxWidth?: number;
|
|
10
10
|
}>;
|
|
@@ -5,7 +5,7 @@ export declare type PageHeaderProps = {
|
|
|
5
5
|
description?: React.ReactNode;
|
|
6
6
|
action?: React.ReactNode;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Pass SetStateAction from child component to update header title
|
|
9
9
|
*/
|
|
10
10
|
onSubmitTitle?: (title: string) => void;
|
|
11
11
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -475,7 +475,7 @@ declare const InfoCard: React__default.ForwardRefExoticComponent<Pick<{
|
|
|
475
475
|
|
|
476
476
|
declare type InfoModalProps = MUIGlobalOmit<Omit<ModalProps, 'BackdropProps' | 'BackdropComponent' | 'onBackdropClick'>, Omit<InfoCardProps, 'headerAction'> & {
|
|
477
477
|
/**
|
|
478
|
-
*
|
|
478
|
+
* Maximum width of the modal, in pixels.
|
|
479
479
|
*/
|
|
480
480
|
maxWidth?: number;
|
|
481
481
|
}>;
|
|
@@ -607,7 +607,7 @@ declare type PageHeaderProps = {
|
|
|
607
607
|
description?: React__default.ReactNode;
|
|
608
608
|
action?: React__default.ReactNode;
|
|
609
609
|
/**
|
|
610
|
-
*
|
|
610
|
+
* Pass SetStateAction from child component to update header title
|
|
611
611
|
*/
|
|
612
612
|
onSubmitTitle?: (title: string) => void;
|
|
613
613
|
};
|