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: add readonly functionality to slider #12410

Merged
merged 6 commits into from
Nov 15, 2022

Conversation

lee-chase
Copy link
Member

@lee-chase lee-chase commented Oct 27, 2022

Contributes to #2177

Closes #12415

Adds the read-only feature to the Slider component

Changelog

Added

  • Adds readOnly property to Slider and functionality
  • Adds test for read-only Slider
  • Adds styling for read-only Slider.

Testing / Reviewing

Reviewed the result in Storybook and a added read-only test.

@lee-chase lee-chase requested a review from a team as a code owner October 27, 2022 12:15
@netlify
Copy link

netlify bot commented Oct 27, 2022

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit fe45ba2
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/6373c1e9e705d00008abc44e
😎 Deploy Preview https://deploy-preview-12410--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Oct 27, 2022

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit fe45ba2
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/6373c1e93660ca000850a184
😎 Deploy Preview https://deploy-preview-12410--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@sstrubberg sstrubberg requested a review from aagonzales October 27, 2022 16:32
Copy link
Member

@aagonzales aagonzales left a comment

Choose a reason for hiding this comment

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

Visual styles are correct but cursor interactions need to be updated.

  • On hover the cursor should remain as an arrow and not switch to the hand.

Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

LGTM pending design review 👍 ✅

Copy link
Member

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

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

Can confirm correct cursor

@kodiakhq kodiakhq bot merged commit 31a69e2 into carbon-design-system:main Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Read-only inputs]: Slider implementation
5 participants