Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(StepGroup): StepGroup Implementation & Documentation #2131

Merged
merged 41 commits into from Apr 30, 2024

Conversation

saurabhdaware
Copy link
Member

@saurabhdaware saurabhdaware commented Apr 19, 2024

Description

  • feat: Implement StepGroup
  • docs: Add documentation for StepGroup

Additional Information

Preview: https://stepper-step-1--61c19ee8d3d282003ac1d81c.chromatic.com/?path=/story/components-stepgroup--step-group-default

Component Checklist

  • Update Component Status Page
  • Perform Manual Testing in Other Browsers
  • Add KitchenSink Story
  • Add Interaction Tests (if applicable)
  • Add changeset

Copy link

changeset-bot bot commented Apr 19, 2024

⚠️ No Changeset found

Latest commit: 8d2d96b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Apr 19, 2024

✅ PR title follows Conventional Commits specification.

@saurabhdaware
Copy link
Member Author

Do we not have a bit of margin between them?

TODO: this comment is yet to be resolved. I'll check with design and resolve it. Rest comments are resolved

@saurabhdaware saurabhdaware added Review - L2 Second level of review and removed Review - L1 First level of review labels Apr 24, 2024
const useDottedLineStyles = ({ isHorizontal }: { isHorizontal?: boolean } = {}): BaseBoxProps => {
const { theme } = useTheme();

const svgString = `<svg width="2" height="2" viewBox="0 0 2 2" fill="none" xmlns="http://www.w3.org/2000/svg">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pure css didn't work out?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There isn't a way to shape the dot into circle. With pure CSS we can create a line with spaced but not exactly dots

@@ -34,6 +34,8 @@ export const size = {
28: 28,
/** 32 px */
32: 32,
/** 33 px */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're getting very specific now 😢

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this also on design?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup 😢 It needs to be exact because otherwise lines don't align

@chaitanyadeorukhkar
Copy link
Collaborator

Add Changeset

@saurabhdaware
Copy link
Member Author

saurabhdaware commented Apr 24, 2024

Add Changeset

Will add it in tests PR #2134

Update: Added there

Base automatically changed from stepper/step-0 to master April 25, 2024 04:49
@saurabhdaware saurabhdaware merged commit 58cb910 into master Apr 30, 2024
15 of 17 checks passed
@saurabhdaware saurabhdaware deleted the stepper/step-1 branch April 30, 2024 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review - L2 Second level of review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants