@fairmint/ui 0.2.26 → 0.2.27
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/primitives/Drawer/Drawer.d.ts +1 -1
- package/dist/components/primitives/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/primitives/Modal/Modal.d.ts +1 -1
- package/dist/components/primitives/Modal/Modal.d.ts.map +1 -1
- package/dist/fairmint-ui.cjs +5 -4
- package/dist/fairmint-ui.cjs.map +1 -1
- package/dist/fairmint-ui.js +5 -4
- package/dist/fairmint-ui.js.map +1 -1
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/zIndex.d.ts +6 -0
- package/dist/theme/zIndex.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/fairmint-ui.js
CHANGED
|
@@ -36432,6 +36432,7 @@ const AVATAR_PALETTE = [
|
|
|
36432
36432
|
colors.accent2,
|
|
36433
36433
|
colors.accent3
|
|
36434
36434
|
];
|
|
36435
|
+
const overlayZIndexAboveLegacyShell = 1300;
|
|
36435
36436
|
const radii = {
|
|
36436
36437
|
xs: "0.25rem",
|
|
36437
36438
|
sm: "0.375rem",
|
|
@@ -36725,8 +36726,8 @@ const Card = forwardRef((props, ref) => /* @__PURE__ */ jsx(Card$1, { padding: "
|
|
|
36725
36726
|
Card.displayName = "Card";
|
|
36726
36727
|
const Checkbox = forwardRef((props, ref) => /* @__PURE__ */ jsx(Checkbox$1, { color: colors.primary, ...props, ref }));
|
|
36727
36728
|
Checkbox.displayName = "Checkbox";
|
|
36728
|
-
function Drawer(props) {
|
|
36729
|
-
return /* @__PURE__ */ jsx(Drawer$1, { position: "right", size: "lg", p: "lg", ...props });
|
|
36729
|
+
function Drawer({ zIndex = overlayZIndexAboveLegacyShell, ...props }) {
|
|
36730
|
+
return /* @__PURE__ */ jsx(Drawer$1, { position: "right", size: "lg", p: "lg", ...props, zIndex });
|
|
36730
36731
|
}
|
|
36731
36732
|
function Loader(props) {
|
|
36732
36733
|
return /* @__PURE__ */ jsx(Loader$1, { ...props });
|
|
@@ -36741,8 +36742,8 @@ const Menu = Object.assign(MenuBase, {
|
|
|
36741
36742
|
Label: Menu$1.Label,
|
|
36742
36743
|
Divider: Menu$1.Divider
|
|
36743
36744
|
});
|
|
36744
|
-
function Modal(props) {
|
|
36745
|
-
return /* @__PURE__ */ jsx(Modal$1, { centered: true, radius: "lg", ...props });
|
|
36745
|
+
function Modal({ zIndex = overlayZIndexAboveLegacyShell, ...props }) {
|
|
36746
|
+
return /* @__PURE__ */ jsx(Modal$1, { centered: true, radius: "lg", ...props, zIndex });
|
|
36746
36747
|
}
|
|
36747
36748
|
const PasswordInput = forwardRef((props, ref) => /* @__PURE__ */ jsx(PasswordInput$1, { size: "md", ...props, ref }));
|
|
36748
36749
|
PasswordInput.displayName = "PasswordInput";
|