@trackunit/react-components 0.0.114 → 0.0.115
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/components/Modal/Modal.d.ts +5 -1
- package/index.js +5 -1
- package/package.json +1 -1
|
@@ -23,6 +23,10 @@ export interface ModalProps extends CommonProps {
|
|
|
23
23
|
*/
|
|
24
24
|
maxWidth?: ModalWidth;
|
|
25
25
|
}
|
|
26
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* - Modals are used to present critical information or request user input needed to complete a user's workflow.
|
|
28
|
+
* - Modals interrupt a user's workflow by design.
|
|
29
|
+
* - The modal component provides a foundation for creating dialogs, lightboxes, etc.
|
|
30
|
+
*/
|
|
27
31
|
export declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
32
|
export {};
|
package/index.js
CHANGED
|
@@ -2913,7 +2913,11 @@ const Backdrop = tw(animated.div)`
|
|
|
2913
2913
|
tu-modal-backdrop
|
|
2914
2914
|
`;
|
|
2915
2915
|
|
|
2916
|
-
/**
|
|
2916
|
+
/**
|
|
2917
|
+
* - Modals are used to present critical information or request user input needed to complete a user's workflow.
|
|
2918
|
+
* - Modals interrupt a user's workflow by design.
|
|
2919
|
+
* - The modal component provides a foundation for creating dialogs, lightboxes, etc.
|
|
2920
|
+
*/
|
|
2917
2921
|
|
|
2918
2922
|
const Modal = React.forwardRef(({
|
|
2919
2923
|
isOpen,
|