@homebound/beam 3.97.0 → 3.98.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 +203 -182
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +134 -113
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -9086,19 +9086,25 @@ interface HbSpinnerProviderProps {
|
|
|
9086
9086
|
}
|
|
9087
9087
|
declare function HbSpinnerProvider({ quips, children }: HbSpinnerProviderProps): JSX.Element;
|
|
9088
9088
|
|
|
9089
|
+
/** Overflow `ButtonMenu` props; the trigger is always a `verticalDots` IconButton. */
|
|
9090
|
+
type HeaderMenuAction = Omit<ButtonMenuProps, "trigger">;
|
|
9089
9091
|
/**
|
|
9090
|
-
* A single action rendered by `HeaderActions` —
|
|
9092
|
+
* A single action rendered by `HeaderActions` — a `Button`, an icon-only `IconButton`, or a
|
|
9093
|
+
* `ButtonMenu` (typically the overflow / more-actions menu).
|
|
9091
9094
|
*
|
|
9092
9095
|
* Tagged with `kind` (not `type`) because `ButtonProps` already has its own
|
|
9093
9096
|
* unrelated `type?: "button" | "submit" | "reset"` HTML-attribute field.
|
|
9094
9097
|
*
|
|
9095
9098
|
* Icon actions always render with the `outline` `IconButton` variant, so `variant` is omitted here.
|
|
9099
|
+
* Menu actions always use a `verticalDots` trigger.
|
|
9096
9100
|
*/
|
|
9097
9101
|
type HeaderAction = ({
|
|
9098
9102
|
kind?: "default";
|
|
9099
9103
|
} & ButtonProps) | ({
|
|
9100
9104
|
kind: "icon";
|
|
9101
|
-
} & Omit<IconButtonProps, "variant">)
|
|
9105
|
+
} & Omit<IconButtonProps, "variant">) | ({
|
|
9106
|
+
kind: "menu";
|
|
9107
|
+
} & HeaderMenuAction);
|
|
9102
9108
|
|
|
9103
9109
|
type ContentHeaderXss = Xss<Padding>;
|
|
9104
9110
|
type ContentHeaderLevel = 2 | 3 | 4;
|
package/dist/index.d.ts
CHANGED
|
@@ -9086,19 +9086,25 @@ interface HbSpinnerProviderProps {
|
|
|
9086
9086
|
}
|
|
9087
9087
|
declare function HbSpinnerProvider({ quips, children }: HbSpinnerProviderProps): JSX.Element;
|
|
9088
9088
|
|
|
9089
|
+
/** Overflow `ButtonMenu` props; the trigger is always a `verticalDots` IconButton. */
|
|
9090
|
+
type HeaderMenuAction = Omit<ButtonMenuProps, "trigger">;
|
|
9089
9091
|
/**
|
|
9090
|
-
* A single action rendered by `HeaderActions` —
|
|
9092
|
+
* A single action rendered by `HeaderActions` — a `Button`, an icon-only `IconButton`, or a
|
|
9093
|
+
* `ButtonMenu` (typically the overflow / more-actions menu).
|
|
9091
9094
|
*
|
|
9092
9095
|
* Tagged with `kind` (not `type`) because `ButtonProps` already has its own
|
|
9093
9096
|
* unrelated `type?: "button" | "submit" | "reset"` HTML-attribute field.
|
|
9094
9097
|
*
|
|
9095
9098
|
* Icon actions always render with the `outline` `IconButton` variant, so `variant` is omitted here.
|
|
9099
|
+
* Menu actions always use a `verticalDots` trigger.
|
|
9096
9100
|
*/
|
|
9097
9101
|
type HeaderAction = ({
|
|
9098
9102
|
kind?: "default";
|
|
9099
9103
|
} & ButtonProps) | ({
|
|
9100
9104
|
kind: "icon";
|
|
9101
|
-
} & Omit<IconButtonProps, "variant">)
|
|
9105
|
+
} & Omit<IconButtonProps, "variant">) | ({
|
|
9106
|
+
kind: "menu";
|
|
9107
|
+
} & HeaderMenuAction);
|
|
9102
9108
|
|
|
9103
9109
|
type ContentHeaderXss = Xss<Padding>;
|
|
9104
9110
|
type ContentHeaderLevel = 2 | 3 | 4;
|