@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.cjs
CHANGED
|
@@ -5919,7 +5919,7 @@ const dialogRecipe = sva({
|
|
|
5919
5919
|
top: "0",
|
|
5920
5920
|
left: "0",
|
|
5921
5921
|
width: "100vw",
|
|
5922
|
-
zIndex: "
|
|
5922
|
+
zIndex: "popover",
|
|
5923
5923
|
pointerEvents: "auto",
|
|
5924
5924
|
_open: {
|
|
5925
5925
|
animation: "backdrop-in"
|
|
@@ -14551,7 +14551,7 @@ const styles = {
|
|
|
14551
14551
|
pointerEvents: "none"
|
|
14552
14552
|
},
|
|
14553
14553
|
backdrop: {
|
|
14554
|
-
zIndex:
|
|
14554
|
+
zIndex: "overlay",
|
|
14555
14555
|
position: "fixed",
|
|
14556
14556
|
top: 0,
|
|
14557
14557
|
left: 0,
|
|
@@ -14564,7 +14564,7 @@ const styles = {
|
|
|
14564
14564
|
WebkitTapHighlightColor: "transparent"
|
|
14565
14565
|
},
|
|
14566
14566
|
container: {
|
|
14567
|
-
zIndex:
|
|
14567
|
+
zIndex: "modal",
|
|
14568
14568
|
position: "absolute",
|
|
14569
14569
|
left: 0,
|
|
14570
14570
|
bottom: 0,
|
|
@@ -14640,7 +14640,7 @@ const Sheet$1 = React.forwardRef(
|
|
|
14640
14640
|
...reduceMotion ? REDUCED_MOTION_TWEEN_CONFIG : tweenConfig
|
|
14641
14641
|
};
|
|
14642
14642
|
const y = useMotionValue(windowHeight);
|
|
14643
|
-
const zIndex2 = useTransform(y, (value) => value + 2 >= windowHeight ? -1 : (style == null ? void 0 : style.zIndex) ??
|
|
14643
|
+
const zIndex2 = useTransform(y, (value) => value + 2 >= windowHeight ? -1 : (style == null ? void 0 : style.zIndex) ?? 1300);
|
|
14644
14644
|
const visibility = useTransform(y, (value) => value + 2 >= windowHeight ? "hidden" : "visible");
|
|
14645
14645
|
const callbacks = React.useRef({
|
|
14646
14646
|
onOpenStart,
|
|
@@ -14949,7 +14949,8 @@ const bottomSheetRecipe = sva({
|
|
|
14949
14949
|
container: {
|
|
14950
14950
|
backgroundColor: "surface.layer_1",
|
|
14951
14951
|
boxShadow: "md",
|
|
14952
|
-
background: "surface.layer_1"
|
|
14952
|
+
background: "surface.layer_1",
|
|
14953
|
+
zIndex: "modal"
|
|
14953
14954
|
},
|
|
14954
14955
|
header: {
|
|
14955
14956
|
display: "flex",
|
|
@@ -14967,11 +14968,13 @@ const bottomSheetRecipe = sva({
|
|
|
14967
14968
|
backgroundColor: "surface.layer_1",
|
|
14968
14969
|
borderTopLeftRadius: 20,
|
|
14969
14970
|
borderTopRightRadius: 20,
|
|
14970
|
-
boxShadow: "overlay"
|
|
14971
|
+
boxShadow: "overlay",
|
|
14972
|
+
zIndex: "modal"
|
|
14971
14973
|
},
|
|
14972
14974
|
backdrop: {
|
|
14973
14975
|
backgroundColor: "shadow.overlay",
|
|
14974
|
-
opacity: 0.5
|
|
14976
|
+
opacity: 0.5,
|
|
14977
|
+
zIndex: "overlay"
|
|
14975
14978
|
}
|
|
14976
14979
|
},
|
|
14977
14980
|
variants: {
|