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(TextInput): add note on type="number" attribute #1120

Merged
merged 3 commits into from Apr 14, 2023

Conversation

saurabhdaware
Copy link
Member

@saurabhdaware saurabhdaware commented Apr 14, 2023

  • Adds new TextInput story
  • Adds note on why we don't use type="number" internally
  • Add jsdoc

There are several people who have asked this so far on slack -

and more so better to have a note in docs itself.

@changeset-bot
Copy link

changeset-bot bot commented Apr 14, 2023

🦋 Changeset detected

Latest commit: 7e03646

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@razorpay/blade Patch

Not sure what this means? Click here to learn what changesets are.

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

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 14, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7e03646:

Sandbox Source
razorpay/blade: basic Configuration

@github-actions
Copy link
Contributor

github-actions bot commented Apr 14, 2023

✅ PR title follows Conventional Commits specification.

};

// @ts-expect-error: Just another undocumented, untyped storybook property ;__;
TextInputTypeNumber.story = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Dude how do you even find such properties? What is this sorcery?

Also, hope its not crashing on react native as some unsupported property or something 🙈

Copy link
Member Author

Choose a reason for hiding this comment

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

Dude how do you even find such properties? What is this sorcery?

Lol github issue comments ftw storybookjs/storybook#8527 (comment)

Also, hope its not crashing on react native as some unsupported property or something 🙈

My XCode asking me to reinstall and that is failing lol so can't check. Hopefully it won't since Component.anything = {} is fair assignment 🙈

Copy link
Member Author

Choose a reason for hiding this comment

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

ok finally xcode worked. checked the story its working.

Copy link
Contributor

@divyanshu013 divyanshu013 left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@saurabhdaware saurabhdaware merged commit fce1c76 into master Apr 14, 2023
11 checks passed
@saurabhdaware saurabhdaware deleted the docs/type-number-note branch April 14, 2023 06:40
anuraghazra pushed a commit that referenced this pull request Apr 9, 2024
* feat: type number story

* feat: add jsdoc

* Create honest-socks-sin.md
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.

None yet

3 participants