Skip to content

🧪 next/👻 shadow#1886

Open
hirsch88 wants to merge 132 commits intorelease/v20from
next/👻-shadow

Hidden character warning

The head ref may contain hidden characters: "next/\ud83d\udc7b-shadow"
Open

🧪 next/👻 shadow#1886
hirsch88 wants to merge 132 commits intorelease/v20from
next/👻-shadow

Conversation

@hirsch88
Copy link
Copy Markdown
Member

@hirsch88 hirsch88 commented Mar 5, 2026

WIP

@hirsch88 hirsch88 self-assigned this Mar 5, 2026
hirsch88 and others added 30 commits April 8, 2026 11:31
…names

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…efix from type names

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ification

Restore BalDate class name in date.ts (was incorrectly renamed to Date by the
refactoring script, causing a name conflict with the global Date constructor).
Fix stale BalDate references in date.spec.ts import and test body.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace all HTMLBal* TypeScript type references with HTMLDs* to align with
the tag rename from bal- to ds-. These types are auto-generated by Stencil
from component tag names and will regenerate correctly after the tag rename.

Changes:
- packages/core/src/components/**/*.tsx: HTMLBal → HTMLDs
- packages/core/src/components/**/*.interfaces.ts: HTMLBal → HTMLDs
- packages/core/src/components/alert/alert.controller.ts: HTMLBal → HTMLDs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…calls

Update DOM API calls to use ds- prefix for custom element tag names.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- close.visual.html: .my-theme bal-close → .my-theme ds-close
- text.visual.html: bal-text.my-theme → ds-text.my-theme
- icon.visual.html: querySelectorAll('bal-icon[tile]') → querySelectorAll('ds-icon[tile]')
- Fix alert-container.tsx dynamic JSX tag strings ('bal-toast'/'bal-snackbar' → 'ds-toast'/'ds-snackbar')
- Fix button.tsx hasAttribute check ('bal-popup' → 'ds-popup') to match updated docs usage
- Fix data-testid values in text.tsx and tag.tsx ('bal-text'/'bal-tag-close' → 'ds-text'/'ds-tag-close')
- Fix toCssVarName() in build-styles utils.ts to remap bal- token name prefix to ds- in CSS var output (fixes 7 failing unit tests)
- Update all docs MDX files (guides, foundation, contributing) to use ds- component names in code examples

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💥 breaking change Changes of the public interface, which could break projects. ✨ feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant