You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @soniaboller, here's the PR but it's not good to export all the variables: #33682 Could you please let us know which from those variables do you need?
Hi @ValentinaKozlova! Ah yeah, good point in the comments about it not being a good idea to expose the position variables. I need all the color variables exposed (railColorVar, progressColorVar, thumbColorVar) and while we're not currently leveraging any of the size variables it might be helpful to have those exposed as well just in case we need them in the future. Thanks so much for tackling this!
Component
Slider
Package version
9.55.1
React version
17.0.2
Environment
Current Behavior
Internal CSS variables are not exported.
Expected Behavior
The internal CSS variables should be exported so we can reference them rather than redefining them in case they change.
Reproduction
https://stackblitz.com/edit/e16emsbd?file=src%2Fexample.tsx
Steps to reproduce
Navigate to
packages/react-components/react-slider/library/src/index.ts
and note that the Internal CSS variables are not exported.^
packages/react-components/react-slider/library/src/components/Slider/useSliderStyles.styles.ts
Are you reporting an Accessibility issue?
no
Suggested severity
Medium - Has workaround
Products/sites affected
SFE
Are you willing to submit a PR to fix?
yes, but if it's an easy fix on your end then I'd prefer not to
Validations
The text was updated successfully, but these errors were encountered: