[6.x] Admin table pages#18710
Merged
brianjhanson merged 43 commits intofeature/inertia-uifrom Apr 21, 2026
Merged
Conversation
Replaces the infoIcon and new Craft.InfoIcon code
this might not be a good idea, but it solves some problems
1571689 to
6ca7334
Compare
…ture/admin-table-pages
…ture/admin-table-pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
AdminTabledocumentation, a newcraft-info-iconcomponent, improvements to thecraft-iconandcraft-buttoncomponents, and accessibility updates via a newcraft-visually-hiddencomponent. Below are the most important changes grouped by theme:Documentation and Table Component
AdminTablecomponent, 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
craft-info-iconweb 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]craft-visually-hiddencomponent, a utility for visually hiding content while keeping it accessible to screen readers, with an optional debug mode.CraftInfoIconfrom the main package entry point for broader availability.Component Enhancements and Accessibility
craft-iconto support a newappearanceproperty, including a'badge'style that visually distinguishes icons (e.g., for status or indicators).craft-buttonto accept aniconproperty, rendering acraft-iconas a prefix when provided. [1] [2]craft-spinnerto use the newvisually-hiddencomponent for its message, improving accessibility semantics. [1] [2]Styling and Layout Adjustments
chipcomponent 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.