Skip to content

[6.x] Admin table pages#18710

Merged
brianjhanson merged 43 commits intofeature/inertia-uifrom
feature/admin-table-pages
Apr 21, 2026
Merged

[6.x] Admin table pages#18710
brianjhanson merged 43 commits intofeature/inertia-uifrom
feature/admin-table-pages

Conversation

@brianjhanson
Copy link
Copy Markdown
Contributor

@brianjhanson brianjhanson commented Apr 14, 2026

This pull request introduces several enhancements and new components to the Craft CMS Control Panel UI library, focusing on accessibility, component flexibility, and documentation. The most significant changes include the addition of a new AdminTable documentation, a new craft-info-icon component, improvements to the craft-icon and craft-button components, and accessibility updates via a new craft-visually-hidden component. Below are the most important changes grouped by theme:

Documentation and Table Component

  • Added documentation for the AdminTable component, with its usage, props, events, slots, column helpers, and integration with server-side features. The goal is that this will serve as the guide for the final documentation of the component. At the moment it's just a first draft.

New Components

  • Introduced the craft-info-icon web component, which provides an accessible info icon with a tooltip. It handles focus, open/close state, and ensures only one tooltip is open at a time. Includes Storybook stories for demonstration. [1] [2]
  • Added the craft-visually-hidden component, a utility for visually hiding content while keeping it accessible to screen readers, with an optional debug mode.
  • Exported CraftInfoIcon from the main package entry point for broader availability.

Component Enhancements and Accessibility

  • Updated craft-icon to support a new appearance property, including a 'badge' style that visually distinguishes icons (e.g., for status or indicators).
  • Improved craft-button to accept an icon property, rendering a craft-icon as a prefix when provided. [1] [2]
  • Modified craft-spinner to use the new visually-hidden component for its message, improving accessibility semantics. [1] [2]

Styling and Layout Adjustments

  • Refined chip component styles for better alignment, spacing, and minimum height handling, and improved the appearance of links inside chips. [1] [2] [3] [4] [5]

These changes collectively improve the developer experience, accessibility, and visual consistency of the Craft CMS Control Panel UI components.

@brianjhanson brianjhanson force-pushed the feature/admin-table-pages branch from 1571689 to 6ca7334 Compare April 14, 2026 15:06
@brianjhanson brianjhanson marked this pull request as ready for review April 21, 2026 15:21
@brianjhanson brianjhanson merged commit 893c651 into feature/inertia-ui Apr 21, 2026
14 of 16 checks passed
@brianjhanson brianjhanson deleted the feature/admin-table-pages branch April 21, 2026 21:19
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.

1 participant