@danxbot/ui 6.1.0 → 6.2.0

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.js CHANGED
@@ -16079,7 +16079,21 @@ const eA = du, c1 = pt({
16079
16079
  sm: { popup: "max-w-sm" },
16080
16080
  md: { popup: "max-w-lg" },
16081
16081
  lg: { popup: "max-w-2xl" },
16082
- xl: { popup: "max-w-4xl" }
16082
+ xl: { popup: "max-w-4xl" },
16083
+ /* FULL SCREEN — edge to edge, for a workspace rather than a question
16084
+ (a multi-column picker, a document you read at full height). The
16085
+ centring translate is undone, not just outsized: a translated popup is
16086
+ a containing block for every `position: fixed` descendant, which is
16087
+ exactly why a hand-rolled "fixed inset-0" overlay opened INSIDE a
16088
+ dialog comes out clipped to the dialog's box. Open a nested
16089
+ `<Dialog size="full">` instead. The body drops its padding and its own
16090
+ scroll, so the content lays out its own columns and scroll regions. */
16091
+ full: {
16092
+ popup: "left-0 top-0 h-dvh max-h-none w-screen max-w-none translate-x-0 translate-y-0 rounded-none border-0",
16093
+ header: "border-b border-border-subtle px-4 pr-12 pt-3 pb-3",
16094
+ title: "text-base",
16095
+ body: "flex flex-col overflow-hidden p-0"
16096
+ }
16083
16097
  }
16084
16098
  },
16085
16099
  defaultVariants: { size: "md" }