@lumx/react 3.11.3-alpha.2 → 3.11.4-alpha.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/index.js +11 -5
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/dialog/Dialog.test.tsx +16 -0
- package/src/components/dialog/Dialog.tsx +66 -56
- package/src/components/lightbox/Lightbox.test.tsx +18 -0
- package/src/components/lightbox/Lightbox.tsx +10 -8
- package/src/components/popover-dialog/PopoverDialog.stories.tsx +2 -1
- package/src/components/popover-dialog/PopoverDialog.test.tsx +21 -1
- package/src/components/popover-dialog/PopoverDialog.tsx +2 -1
package/index.js
CHANGED
|
@@ -6958,7 +6958,9 @@ const Dialog = forwardRef((props, ref) => {
|
|
|
6958
6958
|
}
|
|
6959
6959
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
6960
6960
|
className: `${CLASSNAME$10}__overlay`
|
|
6961
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
6961
|
+
}), /*#__PURE__*/React__default.createElement(HeadingLevelProvider, {
|
|
6962
|
+
level: 2
|
|
6963
|
+
}, /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
6962
6964
|
value: undefined
|
|
6963
6965
|
}, /*#__PURE__*/React__default.createElement("section", _extends({
|
|
6964
6966
|
className: `${CLASSNAME$10}__container`,
|
|
@@ -6988,7 +6990,7 @@ const Dialog = forwardRef((props, ref) => {
|
|
|
6988
6990
|
className: `${CLASSNAME$10}__progress-overlay`
|
|
6989
6991
|
}, /*#__PURE__*/React__default.createElement(Progress, {
|
|
6990
6992
|
variant: ProgressVariant.circular
|
|
6991
|
-
}))))))), document.body) : null;
|
|
6993
|
+
})))))))), document.body) : null;
|
|
6992
6994
|
});
|
|
6993
6995
|
Dialog.displayName = COMPONENT_NAME$10;
|
|
6994
6996
|
Dialog.className = CLASSNAME$10;
|
|
@@ -9055,7 +9057,9 @@ const Lightbox = forwardRef((props, ref) => {
|
|
|
9055
9057
|
theme: "dark",
|
|
9056
9058
|
type: "button",
|
|
9057
9059
|
onClick: onClose
|
|
9058
|
-
}))), /*#__PURE__*/React__default.createElement(
|
|
9060
|
+
}))), /*#__PURE__*/React__default.createElement(HeadingLevelProvider, {
|
|
9061
|
+
level: 2
|
|
9062
|
+
}, /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
9059
9063
|
value: undefined
|
|
9060
9064
|
}, /*#__PURE__*/React__default.createElement(ClickAwayProvider, {
|
|
9061
9065
|
callback: !preventAutoClose && onClose,
|
|
@@ -9064,7 +9068,7 @@ const Lightbox = forwardRef((props, ref) => {
|
|
|
9064
9068
|
ref: childrenRef,
|
|
9065
9069
|
className: `${CLASSNAME$L}__wrapper`,
|
|
9066
9070
|
role: "presentation"
|
|
9067
|
-
}, children)))), document.body);
|
|
9071
|
+
}, children))))), document.body);
|
|
9068
9072
|
});
|
|
9069
9073
|
Lightbox.displayName = COMPONENT_NAME$L;
|
|
9070
9074
|
Lightbox.className = CLASSNAME$L;
|
|
@@ -9914,7 +9918,9 @@ const PopoverDialog = forwardRef((props, ref) => {
|
|
|
9914
9918
|
closeOnClickAway: true,
|
|
9915
9919
|
closeOnEscape: true,
|
|
9916
9920
|
withFocusTrap: true
|
|
9917
|
-
}),
|
|
9921
|
+
}), /*#__PURE__*/React__default.createElement(HeadingLevelProvider, {
|
|
9922
|
+
level: 2
|
|
9923
|
+
}, children));
|
|
9918
9924
|
});
|
|
9919
9925
|
PopoverDialog.displayName = COMPONENT_NAME$A;
|
|
9920
9926
|
PopoverDialog.className = CLASSNAME$A;
|