@ohhwells/bridge 0.1.55 → 0.1.56

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
@@ -306,6 +306,8 @@ declare const CustomToolbarButton: React.ForwardRefExoticComponent<React.ButtonH
306
306
  type ItemActionToolbarProps = {
307
307
  onEditLink?: () => void;
308
308
  onAddItem?: () => void;
309
+ /** Opens the element's style panel — socials display for now (OHH-629). */
310
+ onStyle?: () => void;
309
311
  onSelectParent?: () => void;
310
312
  onDuplicate?: () => void;
311
313
  /** Wired by OHH-458 — row is always shown (destructive). */
@@ -320,6 +322,9 @@ type ItemActionToolbarProps = {
320
322
  showEditLink?: boolean;
321
323
  /** Hide Add item — CTA buttons only show Edit link (prototype). */
322
324
  showAddItem?: boolean;
325
+ showStyle?: boolean;
326
+ /** Reflects whether the style panel is open, so the button reads as a toggle. */
327
+ styleActive?: boolean;
323
328
  /** Hide More — CTA buttons only show Edit link (prototype). */
324
329
  showMore?: boolean;
325
330
  /** Tooltip placement relative to each icon — Figma uses bottom. */
@@ -338,7 +343,7 @@ type ItemActionToolbarProps = {
338
343
  onHeadingVisibleChange?: (visible: boolean) => void;
339
344
  };
340
345
  /** Item-action fill for Custom/Toolbar — Edit link / Add item / More (+ OHH-468 toggles). */
341
- declare function ItemActionToolbar({ onEditLink, onAddItem, onSelectParent, onDuplicate, onDelete, editLinkDisabled, addItemDisabled, moreDisabled, selectParentDisabled, duplicateDisabled, deleteDisabled, showEditLink, showAddItem, showMore, tooltipSide, dropdownOpen, onDropdownOpenChange, headingVisible, onHeadingVisibleChange, }: ItemActionToolbarProps): react_jsx_runtime.JSX.Element;
346
+ declare function ItemActionToolbar({ onEditLink, onAddItem, onStyle, onSelectParent, onDuplicate, onDelete, editLinkDisabled, addItemDisabled, moreDisabled, selectParentDisabled, duplicateDisabled, deleteDisabled, showEditLink, showAddItem, showStyle, styleActive, showMore, tooltipSide, dropdownOpen, onDropdownOpenChange, headingVisible, onHeadingVisibleChange, }: ItemActionToolbarProps): react_jsx_runtime.JSX.Element;
342
347
 
343
348
  type ItemInteractionState = 'default' | 'hover' | 'sibling-hint' | 'active-top' | 'active-bottom' | 'dragging';
344
349
  type ItemInteractionLayerProps = {
package/dist/index.d.ts CHANGED
@@ -306,6 +306,8 @@ declare const CustomToolbarButton: React.ForwardRefExoticComponent<React.ButtonH
306
306
  type ItemActionToolbarProps = {
307
307
  onEditLink?: () => void;
308
308
  onAddItem?: () => void;
309
+ /** Opens the element's style panel — socials display for now (OHH-629). */
310
+ onStyle?: () => void;
309
311
  onSelectParent?: () => void;
310
312
  onDuplicate?: () => void;
311
313
  /** Wired by OHH-458 — row is always shown (destructive). */
@@ -320,6 +322,9 @@ type ItemActionToolbarProps = {
320
322
  showEditLink?: boolean;
321
323
  /** Hide Add item — CTA buttons only show Edit link (prototype). */
322
324
  showAddItem?: boolean;
325
+ showStyle?: boolean;
326
+ /** Reflects whether the style panel is open, so the button reads as a toggle. */
327
+ styleActive?: boolean;
323
328
  /** Hide More — CTA buttons only show Edit link (prototype). */
324
329
  showMore?: boolean;
325
330
  /** Tooltip placement relative to each icon — Figma uses bottom. */
@@ -338,7 +343,7 @@ type ItemActionToolbarProps = {
338
343
  onHeadingVisibleChange?: (visible: boolean) => void;
339
344
  };
340
345
  /** Item-action fill for Custom/Toolbar — Edit link / Add item / More (+ OHH-468 toggles). */
341
- declare function ItemActionToolbar({ onEditLink, onAddItem, onSelectParent, onDuplicate, onDelete, editLinkDisabled, addItemDisabled, moreDisabled, selectParentDisabled, duplicateDisabled, deleteDisabled, showEditLink, showAddItem, showMore, tooltipSide, dropdownOpen, onDropdownOpenChange, headingVisible, onHeadingVisibleChange, }: ItemActionToolbarProps): react_jsx_runtime.JSX.Element;
346
+ declare function ItemActionToolbar({ onEditLink, onAddItem, onStyle, onSelectParent, onDuplicate, onDelete, editLinkDisabled, addItemDisabled, moreDisabled, selectParentDisabled, duplicateDisabled, deleteDisabled, showEditLink, showAddItem, showStyle, styleActive, showMore, tooltipSide, dropdownOpen, onDropdownOpenChange, headingVisible, onHeadingVisibleChange, }: ItemActionToolbarProps): react_jsx_runtime.JSX.Element;
342
347
 
343
348
  type ItemInteractionState = 'default' | 'hover' | 'sibling-hint' | 'active-top' | 'active-bottom' | 'dragging';
344
349
  type ItemInteractionLayerProps = {