@raystack/apsara 0.18.3 → 0.18.5

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.css CHANGED
@@ -1577,8 +1577,8 @@ html[data-theme="dark"] {
1577
1577
  .sheet-module_overlay__30Ve- {
1578
1578
  position: fixed;
1579
1579
  inset: 0;
1580
-
1581
- background-color: rgba(0, 0, 0, .15);
1580
+ z-index: 1;
1581
+ background-color: rgba(0, 0, 0, 0.15);
1582
1582
  }
1583
1583
 
1584
1584
  .sheet-module_overlay__30Ve-[data-state="open"] {
@@ -1594,7 +1594,7 @@ html[data-theme="dark"] {
1594
1594
  align-items: center;
1595
1595
  border-radius: 4px;
1596
1596
  font-weight: 500;
1597
-
1597
+
1598
1598
  position: absolute;
1599
1599
  top: 8px;
1600
1600
  right: 8px;
@@ -1605,14 +1605,23 @@ html[data-theme="dark"] {
1605
1605
  }
1606
1606
 
1607
1607
  @keyframes sheet-module_fadeIn__CNcbj {
1608
- 0% { opacity: 0 }
1609
- 100% { opacity: 1 }
1608
+ 0% {
1609
+ opacity: 0;
1610
+ }
1611
+ 100% {
1612
+ opacity: 1;
1613
+ }
1610
1614
  }
1611
1615
 
1612
1616
  @keyframes sheet-module_fadeOut__xODyX {
1613
- 0% { opacity: 1 }
1614
- 100% { opacity: 0 }
1617
+ 0% {
1618
+ opacity: 1;
1619
+ }
1620
+ 100% {
1621
+ opacity: 0;
1622
+ }
1615
1623
  }
1624
+
1616
1625
  .sidebar-module_sidebar__NXH3O {
1617
1626
  width: 100%;
1618
1627
  max-width: 220px;
package/dist/index.js CHANGED
@@ -6655,7 +6655,7 @@ var styles$t = {"dialogContent":"dialog-module_dialogContent__bljTL","overlay":"
6655
6655
 
6656
6656
  const dialogContent = cva(styles$t.dialogContent);
6657
6657
  const DialogContent = forwardRef(({ className, children, close, overlayStyle, overlayClassname, ...props }, forwardedRef) => {
6658
- return (jsxRuntimeExports.jsxs($5d3850c4d0b4e6c7$export$602eac185826482c, { children: [jsxRuntimeExports.jsx(Overlay$1, { className: overlayClassname, style: overlayStyle }), jsxRuntimeExports.jsxs($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, { ...props, ref: forwardedRef, className: dialogContent({ className }), children: [children, close && (jsxRuntimeExports.jsx(CloseButton$1, { children: jsxRuntimeExports.jsx(Cross1Icon, {}) }))] })] }));
6658
+ return (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$602eac185826482c, { children: jsxRuntimeExports.jsx(Overlay$1, { className: overlayClassname, style: overlayStyle, children: jsxRuntimeExports.jsxs($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, { ...props, ref: forwardedRef, className: dialogContent({ className }), children: [children, close && (jsxRuntimeExports.jsx(CloseButton$1, { children: jsxRuntimeExports.jsx(Cross1Icon, {}) }))] }) }) }));
6659
6659
  });
6660
6660
  const overlay$1 = cva(styles$t.overlay);
6661
6661
  const Overlay$1 = forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, { ref: ref, className: overlay$1({ className }), ...props })));
@@ -21263,7 +21263,7 @@ const sheetContent = cva(styles$b.sheetContent, {
21263
21263
  },
21264
21264
  });
21265
21265
  const SheetContent = forwardRef(({ className, children, close, side, ...props }, forwardedRef) => {
21266
- return (jsxRuntimeExports.jsxs($5d3850c4d0b4e6c7$export$602eac185826482c, { children: [jsxRuntimeExports.jsx(Overlay, {}), jsxRuntimeExports.jsxs($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, { ...props, ref: forwardedRef, className: sheetContent({ side, className }), children: [children, close && (jsxRuntimeExports.jsx(CloseButton, { children: jsxRuntimeExports.jsx(Cross1Icon, {}) }))] })] }));
21266
+ return (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$602eac185826482c, { children: jsxRuntimeExports.jsx(Overlay, { children: jsxRuntimeExports.jsxs($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, { ...props, ref: forwardedRef, className: sheetContent({ side, className }), children: [children, close && (jsxRuntimeExports.jsx(CloseButton, { children: jsxRuntimeExports.jsx(Cross1Icon, {}) }))] }) }) }));
21267
21267
  });
21268
21268
  const overlay = cva(styles$b.overlay);
21269
21269
  const Overlay = forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, { ref: ref, className: overlay({ className }), ...props })));