@streamoid/ui 0.6.51 → 0.6.53
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.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +221 -202
- package/dist/index.mjs +187 -168
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1187,10 +1187,18 @@ interface IScSidebarPopoverProps {
|
|
|
1187
1187
|
role?: string;
|
|
1188
1188
|
ariaLabel?: string;
|
|
1189
1189
|
testId?: string;
|
|
1190
|
+
/** Render the dismiss catcher. On by default.
|
|
1191
|
+
*
|
|
1192
|
+
* Pass `false` when the host already has its own outside-click handling and
|
|
1193
|
+
* that handling is ANCHOR-AWARE. A catcher covers the trigger too, so a
|
|
1194
|
+
* press on the trigger closes the panel and the trailing click then reopens
|
|
1195
|
+
* it — the flicker Tactix's switcher was written to avoid. Escape still
|
|
1196
|
+
* works either way. */
|
|
1197
|
+
backdrop?: boolean;
|
|
1190
1198
|
className?: string;
|
|
1191
1199
|
style?: CSSProperties;
|
|
1192
1200
|
}
|
|
1193
|
-
declare function ScSidebarPopover({ anchorRef, alignRef, width, onClose, children, role, ariaLabel, testId, className, style, }: IScSidebarPopoverProps): React$1.ReactPortal | null;
|
|
1201
|
+
declare function ScSidebarPopover({ anchorRef, alignRef, width, onClose, children, role, ariaLabel, testId, backdrop, className, style, }: IScSidebarPopoverProps): React$1.ReactPortal | null;
|
|
1194
1202
|
|
|
1195
1203
|
interface AppSidebarMenuItem {
|
|
1196
1204
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1187,10 +1187,18 @@ interface IScSidebarPopoverProps {
|
|
|
1187
1187
|
role?: string;
|
|
1188
1188
|
ariaLabel?: string;
|
|
1189
1189
|
testId?: string;
|
|
1190
|
+
/** Render the dismiss catcher. On by default.
|
|
1191
|
+
*
|
|
1192
|
+
* Pass `false` when the host already has its own outside-click handling and
|
|
1193
|
+
* that handling is ANCHOR-AWARE. A catcher covers the trigger too, so a
|
|
1194
|
+
* press on the trigger closes the panel and the trailing click then reopens
|
|
1195
|
+
* it — the flicker Tactix's switcher was written to avoid. Escape still
|
|
1196
|
+
* works either way. */
|
|
1197
|
+
backdrop?: boolean;
|
|
1190
1198
|
className?: string;
|
|
1191
1199
|
style?: CSSProperties;
|
|
1192
1200
|
}
|
|
1193
|
-
declare function ScSidebarPopover({ anchorRef, alignRef, width, onClose, children, role, ariaLabel, testId, className, style, }: IScSidebarPopoverProps): React$1.ReactPortal | null;
|
|
1201
|
+
declare function ScSidebarPopover({ anchorRef, alignRef, width, onClose, children, role, ariaLabel, testId, backdrop, className, style, }: IScSidebarPopoverProps): React$1.ReactPortal | null;
|
|
1194
1202
|
|
|
1195
1203
|
interface AppSidebarMenuItem {
|
|
1196
1204
|
id: string;
|