@danxbot/ui 4.1.10 → 4.1.11
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.
|
@@ -22,7 +22,7 @@ export interface PopoverProps {
|
|
|
22
22
|
* cosmetic: `className` is merged last and would take the viewport clamp
|
|
23
23
|
* with it (see THE SIZE CLAMP above). This writes `--dx-popover-w`, which
|
|
24
24
|
* sits INSIDE the `min()` — so a design size can be as large as it likes and
|
|
25
|
-
* still cannot render wider than
|
|
25
|
+
* still cannot render wider than 90vw or than the room the positioner found.
|
|
26
26
|
*
|
|
27
27
|
* Unset, the popup keeps the library default of 20rem at the current
|
|
28
28
|
* `--ui-scale`.
|
|
@@ -84,5 +84,14 @@ export interface ProvenanceDisclosureProps {
|
|
|
84
84
|
*/
|
|
85
85
|
onOpenChange?: (open: boolean) => void;
|
|
86
86
|
className?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Override the panel's design width. See the `width` note at the `<Popover>`
|
|
89
|
+
* call site below for what 30rem was arithmetic on and why going wider used
|
|
90
|
+
* to read as a mistake — this exists because a real consumer's content
|
|
91
|
+
* (a dense multi-column table, not prose) outgrew that arithmetic. Unset,
|
|
92
|
+
* the panel keeps the library default of `30rem`, still clamped to
|
|
93
|
+
* `Popover`'s own viewport ceiling either way.
|
|
94
|
+
*/
|
|
95
|
+
width?: string;
|
|
87
96
|
}
|
|
88
|
-
export declare function ProvenanceDisclosure({ record, actions, emptyLabel, redactedLabel, ratingLabel, triggerBadge, valueWrap, triggerContent, valueContent, onOpenChange, className, }: ProvenanceDisclosureProps): import("react").JSX.Element;
|
|
97
|
+
export declare function ProvenanceDisclosure({ record, actions, emptyLabel, redactedLabel, ratingLabel, triggerBadge, valueWrap, triggerContent, valueContent, onOpenChange, className, width, }: ProvenanceDisclosureProps): import("react").JSX.Element;
|