@nation-a/ui 0.11.3 → 0.11.4
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/index.cjs +10 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -7
- package/dist/index.js.map +1 -1
- package/dist/styled-system/styles.css +10 -6
- package/dist/types/components/BottomSheet/index.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/SheetBackdrop.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/SheetContainer.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/SheetContent.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/SheetHeader.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/SheetScroller.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/constants.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/context.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/hooks.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/index.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/sheet.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/styles.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/types.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/use-prevent-scroll.d.ts +0 -0
- /package/dist/types/components/BottomSheet/{src → react-modal-sheet}/utils.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -5901,7 +5901,7 @@ const dialogRecipe = sva({
|
|
|
5901
5901
|
top: "0",
|
|
5902
5902
|
left: "0",
|
|
5903
5903
|
width: "100vw",
|
|
5904
|
-
zIndex: "
|
|
5904
|
+
zIndex: "popover",
|
|
5905
5905
|
pointerEvents: "auto",
|
|
5906
5906
|
_open: {
|
|
5907
5907
|
animation: "backdrop-in"
|
|
@@ -14533,7 +14533,7 @@ const styles = {
|
|
|
14533
14533
|
pointerEvents: "none"
|
|
14534
14534
|
},
|
|
14535
14535
|
backdrop: {
|
|
14536
|
-
zIndex:
|
|
14536
|
+
zIndex: "overlay",
|
|
14537
14537
|
position: "fixed",
|
|
14538
14538
|
top: 0,
|
|
14539
14539
|
left: 0,
|
|
@@ -14546,7 +14546,7 @@ const styles = {
|
|
|
14546
14546
|
WebkitTapHighlightColor: "transparent"
|
|
14547
14547
|
},
|
|
14548
14548
|
container: {
|
|
14549
|
-
zIndex:
|
|
14549
|
+
zIndex: "modal",
|
|
14550
14550
|
position: "absolute",
|
|
14551
14551
|
left: 0,
|
|
14552
14552
|
bottom: 0,
|
|
@@ -14622,7 +14622,7 @@ const Sheet$1 = forwardRef(
|
|
|
14622
14622
|
...reduceMotion ? REDUCED_MOTION_TWEEN_CONFIG : tweenConfig
|
|
14623
14623
|
};
|
|
14624
14624
|
const y = useMotionValue(windowHeight);
|
|
14625
|
-
const zIndex2 = useTransform(y, (value) => value + 2 >= windowHeight ? -1 : (style == null ? void 0 : style.zIndex) ??
|
|
14625
|
+
const zIndex2 = useTransform(y, (value) => value + 2 >= windowHeight ? -1 : (style == null ? void 0 : style.zIndex) ?? 1300);
|
|
14626
14626
|
const visibility = useTransform(y, (value) => value + 2 >= windowHeight ? "hidden" : "visible");
|
|
14627
14627
|
const callbacks = useRef({
|
|
14628
14628
|
onOpenStart,
|
|
@@ -14931,7 +14931,8 @@ const bottomSheetRecipe = sva({
|
|
|
14931
14931
|
container: {
|
|
14932
14932
|
backgroundColor: "surface.layer_1",
|
|
14933
14933
|
boxShadow: "md",
|
|
14934
|
-
background: "surface.layer_1"
|
|
14934
|
+
background: "surface.layer_1",
|
|
14935
|
+
zIndex: "modal"
|
|
14935
14936
|
},
|
|
14936
14937
|
header: {
|
|
14937
14938
|
display: "flex",
|
|
@@ -14949,11 +14950,13 @@ const bottomSheetRecipe = sva({
|
|
|
14949
14950
|
backgroundColor: "surface.layer_1",
|
|
14950
14951
|
borderTopLeftRadius: 20,
|
|
14951
14952
|
borderTopRightRadius: 20,
|
|
14952
|
-
boxShadow: "overlay"
|
|
14953
|
+
boxShadow: "overlay",
|
|
14954
|
+
zIndex: "modal"
|
|
14953
14955
|
},
|
|
14954
14956
|
backdrop: {
|
|
14955
14957
|
backgroundColor: "shadow.overlay",
|
|
14956
|
-
opacity: 0.5
|
|
14958
|
+
opacity: 0.5,
|
|
14959
|
+
zIndex: "overlay"
|
|
14957
14960
|
}
|
|
14958
14961
|
},
|
|
14959
14962
|
variants: {
|