@opencxh/ui-kit 3.112.2 → 3.113.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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +706 -707
- package/dist/index.js.map +1 -1
- package/dist/src/overlays/Popover.d.ts +9 -1
- package/package.json +1 -1
|
@@ -7,10 +7,18 @@ export interface PopoverProps {
|
|
|
7
7
|
* dismiss the popover after acting.
|
|
8
8
|
*/
|
|
9
9
|
children: React.ReactNode | ((close: () => void) => React.ReactNode);
|
|
10
|
-
/** Panel placement relative to the trigger */
|
|
10
|
+
/** Panel placement relative to the trigger. Flips when there is no room. */
|
|
11
11
|
placement?: "bottom-start" | "bottom-end" | "top-start" | "top-end";
|
|
12
12
|
/** Additional CSS classes for the panel */
|
|
13
13
|
className?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Layout classes for the wrapper around the trigger. Needed when the trigger
|
|
16
|
+
* has to fill a positioned box — a calendar event in a week grid, say —
|
|
17
|
+
* because the wrapper is `inline-flex` by default.
|
|
18
|
+
*/
|
|
19
|
+
rootClassName?: string;
|
|
20
|
+
/** Layout classes for the trigger button itself. */
|
|
21
|
+
triggerClassName?: string;
|
|
14
22
|
/** Whether the trigger is disabled */
|
|
15
23
|
disabled?: boolean;
|
|
16
24
|
/**
|