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

docs(popover, progresscircle, radio, rating, sidenav): site docs to storybook #2883

Merged
merged 10 commits into from
Sep 5, 2024
Prev Previous commit
docs(rating): fix incorrect focus class being applied in storybook
The focused class was named wrong and was being applied to the wrong
element.
  • Loading branch information
jawinn committed Sep 5, 2024
commit 64cba0e2478adcda1b5d86ef0166d6b60777ffca
2 changes: 1 addition & 1 deletion components/rating/stories/template.js
jawinn marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const Template = ({
[rootClass]: true,
"is-disabled": isDisabled,
"is-readOnly": isReadOnly,
"is-focused": isFocused,
[`${rootClass}--emphasized`]: isEmphasized,
...customClasses.reduce((a, c) => ({ ...a, [c]: true }), {}),
})}
Expand All @@ -40,7 +41,6 @@ export const Template = ({
<input
class=${classMap({
[`${rootClass}-input`]: true,
["is-Focus"]: isFocused,
})}
type="range"
min="0"
Expand Down
Loading