Skip to content

fix: CTORNDSD-679: WebComponents migration - #29

Draft
Zlodej43sm wants to merge 17 commits into
developfrom
fix/CTORNDSD-679
Draft

Zlodej43sm wants to merge 17 commits into
developfrom
fix/CTORNDSD-679

Conversation

@Zlodej43sm

Copy link
Copy Markdown
Collaborator

WebComponents migration

@Zlodej43sm
Zlodej43sm requested a review from rcasian October 2, 2026 10:57
Zlodej43sm and others added 8 commits October 2, 2026 12:59
…r story generation

- Move component descriptions from individual story files to native-story transformer
- Add React-to-web-component terminology replacements (children→slot, props→properties, etc.)
- Remove manual loader-examples.ts in favor of generated fixture stories
- Remove three custom Loader story variants (LoaderSectionVariant, SectionLoaderButtonVariant, InlineLoaderButtonVariant)
- Refactor gd-loader to use theme-driven animation token resolution instead of hardcoded keyframe names
- Add tests for custom animation token support and keyframe generation
- Update generate-story-fixtures script to eliminate special Loader handling
- Consolidate parameters.docs.description.component references to sourceMeta.parameters
- Reorder Button stories (Default before AllVariants) to match React parity
…riants

- Add `legacyRouteAliases` mapping retired Loader story IDs to canonical default scene
- Extend `legacyRedirect()` to resolve aliases before checking shared/scoped routes
- Extract `keyframesCssBlockToText()` helper for serializing animation token keyframes
- Refactor gd-skeleton and gd-loader to use extracted keyframes helper
- Add tests for alias redirection and custom animation token rendering
- Update link validation to respect legacy route aliases
- Set default args for Button stories (children, variant) for React/WC parity
…attribute

- Add `color` prop to gd-label for custom text color styling
- Add `ariaLabel` prop to gd-label for accessibility
- Reflect `isLoading` attribute on gd-button for proper HTML representation
- Update react-parity.json to track new Label properties
- Add tests for color/ariaLabel mapping and isLoading reflection
- Update Storybook arg types and helpers for new properties
- Enhance Button isLoading with description and control metadata
- Fix React storybook metadata capture to support 'React/' prefix in titles

This branch has not been deployed

No deployments
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