@homebound/beam 4.29.1 → 4.31.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.d.cts CHANGED
@@ -8179,6 +8179,8 @@ type EntityLockupProps = {
8179
8179
  /** Thumbnail image URL. */
8180
8180
  imgSrc: string;
8181
8181
  title: string;
8182
+ /** Short line above the title, e.g. a brand. */
8183
+ eyebrow?: ReactNode;
8182
8184
  /** Secondary content under the title; can include extra rows like a status. */
8183
8185
  description?: ReactNode;
8184
8186
  /** Trailing content aligned to the right, e.g. a Tag and price. */
@@ -9572,13 +9574,24 @@ declare function RightPaneLayout(props: {
9572
9574
  defaultPaneContent?: ReactElement;
9573
9575
  }): React$1.JSX.Element;
9574
9576
 
9577
+ type DeleteActionProps = Pick<ButtonProps, "onClick" | "disabled" | "tooltip"> & {
9578
+ count?: number;
9579
+ };
9580
+
9575
9581
  type RightPanePanelProps = {
9576
9582
  title: string;
9577
9583
  children: ReactNode;
9578
9584
  /** When false, omit the built-in close control (caller provides their own). Default true. */
9579
9585
  withClose?: boolean;
9586
+ /** Variant defaults to primary */
9587
+ primaryAction?: ActionButtonProps & {
9588
+ variant?: "primary" | "ai";
9589
+ };
9590
+ secondaryAction?: ActionButtonProps;
9591
+ /** Destructive action as a trash icon; `count > 1` adds `Delete (count)` label. */
9592
+ deleteAction?: DeleteActionProps;
9580
9593
  };
9581
- /** Pane body chrome: title row, close control, and scrollable children. See `docs/layouts.md`. */
9594
+ /** Pane body chrome: title row, close control, scrollable children, and an optional footer. See `docs/layouts.md`. */
9582
9595
  declare function RightPanePanel(props: RightPanePanelProps): React$1.JSX.Element;
9583
9596
 
9584
9597
  /** Body passed to `openRightPane`. */
package/dist/index.d.ts CHANGED
@@ -8179,6 +8179,8 @@ type EntityLockupProps = {
8179
8179
  /** Thumbnail image URL. */
8180
8180
  imgSrc: string;
8181
8181
  title: string;
8182
+ /** Short line above the title, e.g. a brand. */
8183
+ eyebrow?: ReactNode;
8182
8184
  /** Secondary content under the title; can include extra rows like a status. */
8183
8185
  description?: ReactNode;
8184
8186
  /** Trailing content aligned to the right, e.g. a Tag and price. */
@@ -9572,13 +9574,24 @@ declare function RightPaneLayout(props: {
9572
9574
  defaultPaneContent?: ReactElement;
9573
9575
  }): React$1.JSX.Element;
9574
9576
 
9577
+ type DeleteActionProps = Pick<ButtonProps, "onClick" | "disabled" | "tooltip"> & {
9578
+ count?: number;
9579
+ };
9580
+
9575
9581
  type RightPanePanelProps = {
9576
9582
  title: string;
9577
9583
  children: ReactNode;
9578
9584
  /** When false, omit the built-in close control (caller provides their own). Default true. */
9579
9585
  withClose?: boolean;
9586
+ /** Variant defaults to primary */
9587
+ primaryAction?: ActionButtonProps & {
9588
+ variant?: "primary" | "ai";
9589
+ };
9590
+ secondaryAction?: ActionButtonProps;
9591
+ /** Destructive action as a trash icon; `count > 1` adds `Delete (count)` label. */
9592
+ deleteAction?: DeleteActionProps;
9580
9593
  };
9581
- /** Pane body chrome: title row, close control, and scrollable children. See `docs/layouts.md`. */
9594
+ /** Pane body chrome: title row, close control, scrollable children, and an optional footer. See `docs/layouts.md`. */
9582
9595
  declare function RightPanePanel(props: RightPanePanelProps): React$1.JSX.Element;
9583
9596
 
9584
9597
  /** Body passed to `openRightPane`. */