Conversation
jason-fox
marked this pull request as draft
August 1, 2026 11:48
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.
The
v6branch updates the specialization plugin to enforce DITA-OT validation (via DTDs) matching the new schema requirements and component definitions of Bootstrap 6.1. DTD Element Migrations (Offcanvas to Drawer)
To align with Bootstrap 6 retiring the
OffcanvasJS component for nativeDrawercomponents:bootstrapDomain.ent):offcanvaswithdrawerin the base entities:<!ENTITY % drawer "drawer">bootstrap-d-sectioncontent model:<!ENTITY % bootstrap-d-section "accordion-item | alert | card | drawer | pagination">bootstrapDomain.mod):<offcanvas>element definition.<drawer>element and its attributes:<!ELEMENT drawer (%drawer.content;)><!ATTLIST drawer class CDATA "+ topic/section bootstrap-d/drawer ">2. Updated Color Palettes (Light/Dark$\rightarrow$ Accent/Inverse)
Bootstrap 6 deprecates the
lightanddarkutility classes, replacing them with the semantically flexibleaccentandinversevalues.bootstrapDomain.mod&bootstrapCommonElements.mod):colorattribute onbadge,button,card,carousel,list-group,drawer,popover,tabbed-dialog,tooltip,thumbnail, andnotewas updated:(primary | secondary | success | danger | warning | info | light | dark)(primary | secondary | success | danger | warning | info | accent | inverse)light-subtle | dark-subtleaccent-subtle | inverse-subtle3. Sample Document Updates
The sample files packaged with the plugin were fully updated to replace references to the deprecated features:
sample/offcanvas.ditahas been removed and replaced bysample/drawer.ditato document the new specialization element.alerts.dita,badge.dita,buttons.dita,color.dita, andshadows.ditawere refactored to use the newaccent,inverse,accent-subtle, andinverse-subtleattributes instead of the legacylight/darkproperties.