Skip to content

Commit

Permalink
chore: move RadioButton into @ourworldindata/components
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelgerber committed Jul 25, 2024
1 parent fff6fd2 commit 648c209
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/@ourworldindata/components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export {
export { IndicatorProcessing } from "./IndicatorProcessing/IndicatorProcessing.js"

export { Checkbox } from "./Checkbox.js"
export { RadioButton } from "./RadioButton.js"
export { IndicatorSources } from "./IndicatorSources/IndicatorSources.js"

export {
Expand Down
2 changes: 1 addition & 1 deletion packages/@ourworldindata/grapher/src/core/grapher.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ $zindex-controls-drawer: 150;
@import "../slideInDrawer/SlideInDrawer.scss";
@import "../sidePanel/SidePanel.scss";
@import "../closeButton/CloseButton.scss";
@import "../controls/RadioButton.scss";
@import "../controls/Dropdown.scss";
@import "../core/OverlayHeader.scss";
}
Expand All @@ -89,6 +88,7 @@ $zindex-controls-drawer: 150;
@import "../controls/globalEntitySelector/GlobalEntitySelector.scss";
@import "../fullScreen/FullScreen.scss";
@import "../../../components/src/Checkbox.scss";
@import "../../../components/src/RadioButton.scss";

.grapher_dark {
color: $dark-text;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
excludeUndefined,
intersection,
} from "@ourworldindata/utils"
import { Checkbox } from "@ourworldindata/components"
import { Checkbox, RadioButton } from "@ourworldindata/components"
import { FuzzySearch } from "../controls/FuzzySearch"
import {
faCircleXmark,
Expand All @@ -31,7 +31,6 @@ import {
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome/index.js"
import { SelectionArray } from "../selection/SelectionArray"
import { Flipper, Flipped } from "react-flip-toolkit"
import { RadioButton } from "../controls/RadioButton"
import { makeSelectionArray } from "../chart/ChartUtils.js"
import {
DEFAULT_GRAPHER_ENTITY_TYPE,
Expand Down

0 comments on commit 648c209

Please sign in to comment.