@hachej/boring-ui-kit 0.1.58 → 0.1.60

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.d.ts CHANGED
@@ -57,8 +57,9 @@ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogP
57
57
  declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
58
58
  declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
59
59
  declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
60
- declare function DialogContent({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
60
+ declare function DialogContent({ className, children, showCloseButton, overlayClassName, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
61
61
  showCloseButton?: boolean;
62
+ overlayClassName?: string;
62
63
  }): react_jsx_runtime.JSX.Element;
63
64
  declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
64
65
  declare function DialogFooter({ className, showCloseButton, children, ...props }: React.ComponentProps<'div'> & {
package/dist/index.js CHANGED
@@ -242,10 +242,11 @@ function DialogContent({
242
242
  className,
243
243
  children,
244
244
  showCloseButton = true,
245
+ overlayClassName,
245
246
  ...props
246
247
  }) {
247
248
  return /* @__PURE__ */ jsxs2(DialogPortal, { "data-slot": "dialog-portal", children: [
248
- /* @__PURE__ */ jsx7(DialogOverlay, {}),
249
+ /* @__PURE__ */ jsx7(DialogOverlay, { className: overlayClassName }),
249
250
  /* @__PURE__ */ jsxs2(
250
251
  DialogPrimitive.Content,
251
252
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hachej/boring-ui-kit",
3
- "version": "0.1.58",
3
+ "version": "0.1.60",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Shared shadcn-style UI primitives for Boring packages and app-generated panes.",