@homebound/beam 4.29.1 → 4.30.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 +803 -709
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +644 -550
- package/dist/index.js.map +1 -1
- package/dist/truss.css +4 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -9572,13 +9572,24 @@ declare function RightPaneLayout(props: {
|
|
|
9572
9572
|
defaultPaneContent?: ReactElement;
|
|
9573
9573
|
}): React$1.JSX.Element;
|
|
9574
9574
|
|
|
9575
|
+
type DeleteActionProps = Pick<ButtonProps, "onClick" | "disabled" | "tooltip"> & {
|
|
9576
|
+
count?: number;
|
|
9577
|
+
};
|
|
9578
|
+
|
|
9575
9579
|
type RightPanePanelProps = {
|
|
9576
9580
|
title: string;
|
|
9577
9581
|
children: ReactNode;
|
|
9578
9582
|
/** When false, omit the built-in close control (caller provides their own). Default true. */
|
|
9579
9583
|
withClose?: boolean;
|
|
9584
|
+
/** Variant defaults to primary */
|
|
9585
|
+
primaryAction?: ActionButtonProps & {
|
|
9586
|
+
variant?: "primary" | "ai";
|
|
9587
|
+
};
|
|
9588
|
+
secondaryAction?: ActionButtonProps;
|
|
9589
|
+
/** Destructive action as a trash icon; `count > 1` adds `Delete (count)` label. */
|
|
9590
|
+
deleteAction?: DeleteActionProps;
|
|
9580
9591
|
};
|
|
9581
|
-
/** Pane body chrome: title row, close control, and
|
|
9592
|
+
/** Pane body chrome: title row, close control, scrollable children, and an optional footer. See `docs/layouts.md`. */
|
|
9582
9593
|
declare function RightPanePanel(props: RightPanePanelProps): React$1.JSX.Element;
|
|
9583
9594
|
|
|
9584
9595
|
/** Body passed to `openRightPane`. */
|
package/dist/index.d.ts
CHANGED
|
@@ -9572,13 +9572,24 @@ declare function RightPaneLayout(props: {
|
|
|
9572
9572
|
defaultPaneContent?: ReactElement;
|
|
9573
9573
|
}): React$1.JSX.Element;
|
|
9574
9574
|
|
|
9575
|
+
type DeleteActionProps = Pick<ButtonProps, "onClick" | "disabled" | "tooltip"> & {
|
|
9576
|
+
count?: number;
|
|
9577
|
+
};
|
|
9578
|
+
|
|
9575
9579
|
type RightPanePanelProps = {
|
|
9576
9580
|
title: string;
|
|
9577
9581
|
children: ReactNode;
|
|
9578
9582
|
/** When false, omit the built-in close control (caller provides their own). Default true. */
|
|
9579
9583
|
withClose?: boolean;
|
|
9584
|
+
/** Variant defaults to primary */
|
|
9585
|
+
primaryAction?: ActionButtonProps & {
|
|
9586
|
+
variant?: "primary" | "ai";
|
|
9587
|
+
};
|
|
9588
|
+
secondaryAction?: ActionButtonProps;
|
|
9589
|
+
/** Destructive action as a trash icon; `count > 1` adds `Delete (count)` label. */
|
|
9590
|
+
deleteAction?: DeleteActionProps;
|
|
9580
9591
|
};
|
|
9581
|
-
/** Pane body chrome: title row, close control, and
|
|
9592
|
+
/** Pane body chrome: title row, close control, scrollable children, and an optional footer. See `docs/layouts.md`. */
|
|
9582
9593
|
declare function RightPanePanel(props: RightPanePanelProps): React$1.JSX.Element;
|
|
9583
9594
|
|
|
9584
9595
|
/** Body passed to `openRightPane`. */
|