@lit-pigeon/editor 0.1.2 → 0.1.3

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.ts CHANGED
@@ -188,7 +188,7 @@ export declare class PigeonButtonPanel extends LitElement {
188
188
  block: ButtonBlock;
189
189
  rowId: string;
190
190
  columnId: string;
191
- static styles: CSSResult[];
191
+ static styles: CSSResult;
192
192
  render(): TemplateResult<1>;
193
193
  private _emit;
194
194
  private _onTextChange;
@@ -217,6 +217,9 @@ export declare class PigeonCanvas extends LitElement {
217
217
  device: 'desktop' | 'tablet' | 'mobile';
218
218
  private _rowDropIndex;
219
219
  private _isDragOver;
220
+ /** Row currently under the pointer, or null. Drives which single row shows
221
+ * its action bar so adjacent rows' bars never overlap. */
222
+ private _hoveredRowId;
220
223
  static styles: CSSResult;
221
224
  render(): TemplateResult<1>;
222
225
  /**
@@ -226,6 +229,14 @@ export declare class PigeonCanvas extends LitElement {
226
229
  * the frame stays neutral).
227
230
  */
228
231
  private _renderCanvasArea;
232
+ /**
233
+ * Tracks the row under the pointer by walking the composed path for the
234
+ * nearest `<pigeon-row>`. Because the action bar is a DOM child of the row
235
+ * (even though it sits in the outer margin), hovering the bar still resolves
236
+ * to that row, so it stays visible. Over empty canvas it resolves to null,
237
+ * falling back to the selected row.
238
+ */
239
+ private _onPointerOverRow;
229
240
  private _onCanvasClick;
230
241
  private _onDragOver;
231
242
  private _onDragLeave;
@@ -417,6 +428,7 @@ export declare class PigeonEditor extends LitElement {
417
428
  private _handleBlockExitEdit;
418
429
  private _handleBlockSelect;
419
430
  private _handleRowSelect;
431
+ private _handleColumnSelect;
420
432
  private _handleBodySelect;
421
433
  private _handleRowMove;
422
434
  private _handleRowDuplicate;
@@ -646,6 +658,15 @@ export declare class PigeonProperties extends LitElement {
646
658
  assetStorage?: AssetStorage;
647
659
  static styles: CSSResult;
648
660
  render(): TemplateResult<1>;
661
+ /**
662
+ * Renders the parent-selection trail. `Row` is always a clickable jump to
663
+ * the parent row. When a block is selected (`current` set), `Column` is also
664
+ * clickable and the block label is the trailing, non-interactive crumb. For
665
+ * a column selection (`current` omitted) `Column` is the trailing crumb.
666
+ */
667
+ private _renderBreadcrumb;
668
+ private _select;
669
+ private _blockLabel;
649
670
  private _renderBlockPanel;
650
671
  private _findRow;
651
672
  private _findBlock;
@@ -657,6 +678,9 @@ export declare class PigeonRow extends LitElement {
657
678
  totalRows: number;
658
679
  selection: Selection_2 | null;
659
680
  editingBlockId: string | null;
681
+ /** Whether to show this row's action bar / label. The canvas drives this so
682
+ * that only one row shows its bar at a time (see pigeon-canvas). */
683
+ showActions: boolean;
660
684
  private _dragging;
661
685
  static styles: CSSResult;
662
686
  render(): TemplateResult<1>;