Skip to content

feat(preview): Add interactive PopoverButton preview component#668

Open
Copilot wants to merge 1 commit intomainfrom
copilot/popover-button-preview
Open

feat(preview): Add interactive PopoverButton preview component#668
Copilot wants to merge 1 commit intomainfrom
copilot/popover-button-preview

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 10, 2026

Adds an interactive preview for the PopoverButton component, replacing the static HTML code snippet and commented-out Live-Editor/Configurator placeholders in both German and English docs.

Changes

  • src/components/previews/components/PopoverButton.tsx — new slot-based preview component exposing _label, _popoverAlign, _variant, _icons, _slot, _disabled, _hideLabel; slot content sanitized via sanitizeHtml
  • i18n/de/code.json + i18n/en/code.json — adds preview.component.popover-button.label and preview.component.popover-button.slot translation keys
  • docs/30-components/popover-button.mdx + i18n/en/.../popover-button.mdx — swaps static example and dead comments for <PopoverButtonPreview>, removes tags: frontmatter section, restructures # API heading
<PopoverButtonPreview
  visibleProperties={['_label', '_popoverAlign', '_icons', '_slot', '_disabled', '_hideLabel']}
  codeCollapsable
  codeCollapsed
/>

Copilot AI linked an issue Apr 10, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix popover button preview issue feat(preview): Add interactive PopoverButton preview component Apr 10, 2026
Copilot AI requested a review from laske185 April 10, 2026 07:46
@laske185 laske185 force-pushed the copilot/popover-button-preview branch from e1ca3b7 to ccf1078 Compare April 10, 2026 08:47
@laske185 laske185 marked this pull request as ready for review April 10, 2026 08:47
@github-actions
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PopoverButton-Preview

2 participants