react-magma-dom 5.1.0-rc.15 → 5.1.0-rc.17
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/components/Alert/index.d.ts +4 -0
- package/dist/components/AlertBase/index.d.ts +1 -0
- package/dist/esm/index.js +68 -39
- package/dist/esm/index.js.map +1 -1
- package/dist/properties.json +36 -0
- package/dist/react-magma-dom.cjs.development.js +57 -34
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -19,6 +19,10 @@ export interface AlertProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
19
19
|
* @default false
|
|
20
20
|
*/
|
|
21
21
|
isDismissible?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Reference to the dismiss button element
|
|
24
|
+
*/
|
|
25
|
+
dismissibleButtonRef?: React.Ref<HTMLButtonElement>;
|
|
22
26
|
isInverse?: boolean;
|
|
23
27
|
/**
|
|
24
28
|
* Action that fires when the close button is clicked (required when isDismissible is true)
|
|
@@ -18,6 +18,7 @@ export interface AlertBaseProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
18
18
|
isExiting?: boolean;
|
|
19
19
|
isDismissed?: boolean;
|
|
20
20
|
isDismissible?: boolean;
|
|
21
|
+
dismissibleButtonRef?: React.Ref<HTMLButtonElement>;
|
|
21
22
|
isInverse?: boolean;
|
|
22
23
|
isPaused?: boolean;
|
|
23
24
|
isToast?: boolean;
|