feat(editor): wire business panel, section commands and Layers follow-ups
- GuidedStyles classifies Opening Hours / Call Bar / Reviews / Booking to BusinessStylePanel (#60) and shows a Regenerate button in the type header, hidden when edit.regenerate-section's when() is false (#58) - LayersPanel TYPE_ICONS for the four business blocks (FA 4.7) (#60) - Context menu entries 'Save as section…' and 'Regenerate this section' invoke site.save-as-section / edit.regenerate-section (#52, #58) - commands: useCommandState(id) hook (registered/enabled/run) - Layers: keep dropEffect 'move' on refused targets so drop fires and the refusal notice shows; renaming to the default name stores no custom.label (#47) Refs #60 Refs #58 Refs #52 Refs #47 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ebf75ebfe0
commit
9697dc95a3
8 files changed
+274
-6
No files matched your search
@@ -3324,3 +3324,14 @@ body {
|
||||
}
|
||||
.section-lib-chip-global i { margin-right: 3px; }
|
||||
.section-lib-usage { display: block; font-size: 11px; color: var(--color-text-muted); }
|
||||
|
||||
/* #followups -- integration follow-ups (#58 Regenerate button in the type header) */
|
||||
.guided-regenerate-btn {
|
||||
display: inline-flex; align-items: center; gap: 4px;
|
||||
padding: 4px 8px; font-size: 11px; font-weight: 600;
|
||||
color: var(--color-text); background: transparent;
|
||||
border: 1px solid var(--color-border); border-radius: var(--radius-sm); cursor: pointer;
|
||||
}
|
||||
.guided-regenerate-btn:hover { background: var(--color-bg-hover); }
|
||||
.guided-regenerate-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 1px; }
|
||||
/* /#followups */
|
||||
Reference in new issue
Block a user