Loading
fix: #3619772 Re-export the icon component config for the whole Bootstrap Icons pack
Follow-up on #3619772, pairing with Vartheme BS5 !206.
Vartheme BS5 drops the enum from the Badge, Button, Icon and Card Icon props so the picker offers the whole Bootstrap Icons pack. This re-exports the five icon component configs to match.
activeno longer carriesallowed_icon_ids— onlyallowed_icon_pack: [bootstrap_icons].- 188 hard-coded icon ids leave the shipped config.
active_versionmoves to the new hash for each component.
The historical version entries keep their original lists on purpose. Canvas resolves existing content against the version it was saved with, so leaving that history intact is what keeps already-built pages working.
Verified on Drupal 11.4 with Canvas 1.10.1:
- Pages built before the change still render, and the Canvas editor still opens them with content pinned to the old version hash.
- The Button picker goes from 51 icons to 2078, and an icon outside the old list stores and renders.
- No update hook is needed — the retained version history covers existing content.
Needs Canvas Icon Picker #3619785. Without it a prop with no allow list silently discards every icon change, which is every icon prop after this change.
This merge request was written with AI assistance, per the Drupal AI policy.
Checkpoints
- File an issue about this project
- Addition/Change/Update/Fix to this project
- Testing to ensure no regression
Automated unit/functional testing coverage— exported configuration, covered by the recipe install testsDeveloper Documentation support on feature change/addition— no API or authoring changeUser Guide Documentation support on feature change/addition— the picker looks the same, it just offers more iconsUX/UI designer responsibilities— no visual changeAccessibility and Readability— no markup change- Reviewed by a human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Update Release Notes
- Release
Edited by Rajab Natshah