Release v0.2.0: Dialog, PopupForm components and CI publishing#3
Merged
Release v0.2.0: Dialog, PopupForm components and CI publishing#3
Conversation
Add publish-components job to enable CI publishing of the components package alongside the existing charts and colours packages. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add non-modal Dialog component with corner positioning - Add PopupForm component composing Dialog with form elements - Add comprehensive Storybook documentation to all component stories - Disable Chromatic on push, only run on PRs Dialog features: - Non-blocking (doesn't prevent UI interaction) - Content-sized (no fixed dimensions) - Corner positioning (top-left, top-right, bottom-left, bottom-right, center) - Configurable offset from screen edges - No rounded corners Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Use useArgs from @storybook/preview-api to sync component state with Storybook controls, allowing interactive control of all props. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Prepare for release with new Dialog and PopupForm components, Storybook documentation improvements, and CI publishing updates. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
In Storybook 10.x, useArgs should be imported from "storybook/preview-api" instead of "@storybook/preview-api". Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The useArgs hook from storybook/preview-api doesn't work in Chromatic's headless capture environment. Simplified stories to use args directly with console.log handlers, which works in both interactive Storybook and Chromatic visual testing. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
New Components
Dialog
A non-modal floating panel that doesn't block interaction with the rest of the UI.
PopupForm
A form component composing Dialog with form elements and action buttons.
Test plan
Generated with Claude Code