Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions documentation-site/components/yard/knob.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import * as React from "react";
import { useStyletron } from "baseui";
import { StyledLink } from "baseui/link";
import { Input } from "baseui/input";
import { Radio, RadioGroup } from "baseui/radio";
import { Checkbox } from "baseui/checkbox";
import { Radio, RadioGroup } from "baseui/radio-v2";
import { Checkbox } from "baseui/checkbox-v2";
import { Select, SIZE } from "baseui/select";
import { StatefulTooltip } from "baseui/tooltip";

Expand All @@ -35,7 +35,7 @@ const getTooltip = (description: string, type: string, name: string) => (
const Spacing: React.FC<{ children: React.ReactNode }> = ({ children }) => {
const [css, theme] = useStyletron();
return (
<div className={css({ margin: `${theme.sizing.scale400} 0` })}>
<div className={css({ margin: `${theme.sizing.scale200} 0` })}>
{children}
</div>
);
Expand Down Expand Up @@ -135,6 +135,13 @@ const Knob: React.SFC<{
onChange={() => {
globalSet(!val);
}}
overrides={{
Label: {
style: {
fontWeight: 500,
},
},
}}
>
<StatefulTooltip
accessibilityType="tooltip"
Expand Down Expand Up @@ -180,7 +187,9 @@ const Knob: React.SFC<{
style: ({ $theme }) => ({
flexWrap: "wrap",
marginTop: 0,
marginBottom: $theme.sizing.scale300,
marginBottom: 0,
rowGap: 0,
columnGap: 0,
}),
},
}}
Expand Down
Loading