Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
Radio and Checkbox components update (#1115)
Roman Pominov4e9c790573f6
diff --git a/.lostpixel/baseline/library-checkbox--checkbox.png b/.lostpixel/baseline/library-checkbox--checkbox.pngnew file mode 100644index 0000000000..80a8c17966Binary files /dev/null and b/.lostpixel/baseline/library-checkbox--checkbox.png differdiff --git a/.lostpixel/baseline/library-label--label.png b/.lostpixel/baseline/library-label--label.pngindex 14ce8541d2..86c7782604 100644Binary files a/.lostpixel/baseline/library-label--label.png and b/.lostpixel/baseline/library-label--label.png differdiff --git a/.lostpixel/baseline/library-radio--radio.png b/.lostpixel/baseline/library-radio--radio.pngnew file mode 100644index 0000000000..f6644972cdBinary files /dev/null and b/.lostpixel/baseline/library-radio--radio.png differdiff --git a/apps/builder/app/builder/features/props-panel/controls/radio.tsx b/apps/builder/app/builder/features/props-panel/controls/radio.tsxindex b089a524b0..5744144b6f 100644--- a/apps/builder/app/builder/features/props-panel/controls/radio.tsx+++ b/apps/builder/app/builder/features/props-panel/controls/radio.tsx@@ -4,6 +4,7 @@ import {Button,RadioGroup,Radio,+ RadioAndLabel,Label,} from "@webstudio-is/design-system";import { TrashIcon } from "@webstudio-is/icons";@@ -23,16 +24,15 @@ export const RadioControl = ({<Label>{getLabel(meta, propName)}</Label><Flex gap="1" justify="between"><RadioGroup- css={{ flexDirection: "column" }}name="value"value={prop?.value}onValueChange={(value) => onChange({ type: "string", value })}>{meta.options.map((value) => (- <Flex align="center" gap="1" key={value}>+ <RadioAndLabel key={value}><Radio value={value} /><Text>{value}</Text>- </Flex>+ </RadioAndLabel>))}</RadioGroup>{onDelete && (diff --git a/packages/design-system/src/components/checkbox.stories.tsx b/packages/design-system/src/components/checkbox.stories.tsxnew file mode 100644index 0000000000..3072af99c1--- /dev/null+++ b/packages/design-system/src/components/checkbox.stories.tsx@@ -0,0 +1,51 @@+import { Label } from "./label";+import { Checkbox, CheckboxAndLabel } from "./checkbox";+import { StorySection, StoryGrid } from "./storybook";++export default {+ title: "Library/Checkbox",+ parameters: {+ // to make the white background in the control visible+ backgrounds: { default: "Panel" },+ },+};++export const Demo = () => {+ return (+ <>+ <StorySection title="Enabled">+ <StoryGrid horizontal>+ <Checkbox defaultChecked />+ <Checkbox defaultChecked="indeterminate" />+ <Checkbox />+ </StoryGrid>+ </StorySection>++ <StorySection title="Disabled">+ <StoryGrid horizontal>+ <Checkbox defaultChecked disabled />+ <Checkbox defaultChecked="indeterminate" disabled />+ <Checkbox disabled />+ </StoryGrid>+ </StorySection>++ <StorySection title="Focussed (initially)">+ <StoryGrid horizontal>+ <Checkbox defaultChecked autoFocus />+ </StoryGrid>+ </StorySection>++ <StorySection title="With lables">+ <CheckboxAndLabel>+ <Checkbox defaultChecked id="A" />+ <Label htmlFor="A">Label A</Label>+ </CheckboxAndLabel>+ <CheckboxAndLabel>+ <Checkbox id="B" />+ <Label htmlFor="B">Label B</Label>+ </CheckboxAndLabel>+ </StorySection>+ </>+ );+};+Demo.storyName = "Checkbox";diff --git a/packages/design-system/src/components/checkbox.tsx b/packages/design-system/src/components/checkbox.tsxindex 002b3395ab..29be5400cd 100644--- a/packages/design-system/src/components/checkbox.tsx+++ b/packages/design-system/src/components/checkbox.tsx@@ -1,86 +1,104 @@-import React from "react";-import { styled, CSS, VariantProps } from "../stitches.config";-import * as CheckboxPrimitive from "@radix-ui/react-checkbox";-import { CheckIcon } from "@webstudio-is/icons";-import { theme } from "../stitches.config";+/**+ * Implementation of the "Checkbox" component from:+ * https://www.figma.com/file/sfCE7iLS0k25qCxiifQNLE/%F0%9F%93%9A-Webstudio-Library?node-id=4%3A3352+ */-const StyledCheckbox = styled(CheckboxPrimitive.Root, {- all: "unset",- boxSizing: "border-box",- userSelect: "none",- "&::before": {- boxSizing: "border-box",- },- "&::after": {- boxSizing: "border-box",- },+import { forwardRef, type ComponentProps, type Ref } from "react";+import * as Primitive from "@radix-ui/react-checkbox";+import {+ CheckboxCheckedFilledIcon,+ CheckboxMixedFilledIcon,+ CheckboxEmptyIcon,+} from "@webstudio-is/icons";+import { type CSS, css, theme, styled } from "../stitches.config";- alignItems: "center",- appearance: "none",- display: "inline-flex",- justifyContent: "center",- lineHeight: "1",- margin: "0",- outline: "none",- padding: "0",- WebkitTapHighlightColor: "rgba(0,0,0,0)",+const checkboxStyles = css({+ all: "unset", // reset <button>- color: theme.colors.hiContrast,- boxShadow: `inset 0 0 0 1px ${theme.colors.slate7}`,- overflow: "hidden",- "@hover": {- "&:hover": {- boxShadow: `inset 0 0 0 1px ${theme.colors.slate8}`,- },+ width: theme.spacing[9],+ height: theme.spacing[9],+ display: "block",+ position: "relative",+ borderRadius: theme.borderRadius[3],+ color: theme.colors.foregroundMain,++ "&:focus-visible": {+ outline: `2px solid ${theme.colors.borderFocus}`,},- "&:focus": {- outline: "none",- borderColor: theme.colors.red7,- boxShadow: `inset 0 0 0 1px ${theme.colors.blue9}, 0 0 0 1px ${theme.colors.blue9}`,++ "&[data-state=checked], &[data-state=indeterminate]": {+ color: theme.colors.foregroundPrimary,},- variants: {- size: {- "1": {- width: theme.spacing[9],- height: theme.spacing[9],- borderRadius: theme.borderRadius[4],- },- "2": {- width: theme.spacing[11],- height: theme.spacing[11],- borderRadius: theme.borderRadius[6],- },- },+ // [data-state] is needed to make selector specificity higher+ "&[data-state]:disabled": {+ color: theme.colors.foregroundDisabled,},- defaultVariants: {- size: "1",++ "&:not(:disabled)::before": {+ content: "''",+ display: "block",+ position: "absolute",+ width: theme.spacing[7],+ height: theme.spacing[7],+ top: theme.spacing[2],+ left: theme.spacing[2],+ borderRadius: theme.borderRadius[2],+ background: theme.colors.backgroundControls,},});-const StyledIndicator = styled(CheckboxPrimitive.Indicator, {- alignItems: "center",- display: "flex",- height: "100%",- justifyContent: "center",- width: "100%",-});+const iconStyles = css({ position: "relative" });-type CheckboxPrimitiveProps = React.ComponentProps<- typeof CheckboxPrimitive.Root->;-type CheckboxVariants = VariantProps<typeof StyledCheckbox>;-type CheckboxProps = CheckboxPrimitiveProps & CheckboxVariants & { css?: CSS };+const iconByState = {+ checked: CheckboxCheckedFilledIcon,+ unchecked: CheckboxEmptyIcon,+ indeterminate: CheckboxMixedFilledIcon,+};-export const Checkbox = React.forwardRef<- React.ElementRef<typeof StyledCheckbox>,- CheckboxProps->((props, forwardedRef) => (- <StyledCheckbox {...props} ref={forwardedRef}>- <StyledIndicator>- <CheckIcon />- </StyledIndicator>- </StyledCheckbox>-));+// We need this component basicslly just to get access to "data-state".+// We could render all icons and hide one using CSS,+// but that probably will be less performant.+const Button = forwardRef(+ (+ props: ComponentProps<"button"> & {+ "data-state"?: "checked" | "unchecked" | "indeterminate";+ },+ ref: Ref<HTMLButtonElement>+ ) => {+ const Icon = iconByState[props["data-state"] ?? "unchecked"];+ return (+ <button {...props} ref={ref}>+ <Icon className={iconStyles()} />+ </button>+ );+ }+);+Button.displayName = "Button";+export const Checkbox = forwardRef(+ (+ {+ className,+ css,+ ...props+ }: ComponentProps<typeof Primitive.Root> & { css?: CSS },+ ref: Ref<HTMLButtonElement>+ ) => (+ <Primitive.Root+ className={checkboxStyles({ className, css })}+ {...props}+ ref={ref}+ asChild+ >+ <Button />+ </Primitive.Root>+ )+);Checkbox.displayName = "Checkbox";++export const CheckboxAndLabel = styled("div", {+ display: "flex",+ alignItems: "center",+ gap: theme.spacing[3],+});diff --git a/packages/design-system/src/components/label.tsx b/packages/design-system/src/components/label.tsxindex 7acf494b1c..c6a3552228 100644--- a/packages/design-system/src/components/label.tsx+++ b/packages/design-system/src/components/label.tsx@@ -11,7 +11,7 @@ import { styled, theme } from "../stitches.config";const StyledLabel = styled("label", textVariants.labelsSentenceCase, {boxSizing: "border-box",flexShrink: 0,- py: theme.spacing[2],+ py: theme.spacing[1],border: "1px solid transparent",borderRadius: theme.borderRadius[3],diff --git a/packages/design-system/src/components/radio.stories.tsx b/packages/design-system/src/components/radio.stories.tsxnew file mode 100644index 0000000000..5ce5012db4--- /dev/null+++ b/packages/design-system/src/components/radio.stories.tsx@@ -0,0 +1,59 @@+import { Label } from "./label";+import { RadioGroup, Radio, RadioAndLabel } from "./radio";+import { StorySection, StoryGrid } from "./storybook";++export default {+ title: "Library/Radio",+ parameters: {+ // to make the white background in the control visible+ backgrounds: { default: "Panel" },+ },+};++export const Demo = () => {+ return (+ <>+ <StorySection title="Enabled">+ <RadioGroup defaultValue="A">+ <StoryGrid horizontal>+ <Radio value="A" />+ <Radio value="B" />+ </StoryGrid>+ </RadioGroup>+ </StorySection>++ <StorySection title="Disabled">+ {/* @todo: We probably need to update Radix to make `disabled` work on Root.+ Because when items are disabled the group as whole is still focusable. */}+ <RadioGroup defaultValue="A" /* disabled */>+ <StoryGrid horizontal>+ <Radio value="A" disabled />+ <Radio value="B" disabled />+ </StoryGrid>+ </RadioGroup>+ </StorySection>++ <StorySection title="Focussed (initially)">+ <RadioGroup defaultValue="A">+ <StoryGrid horizontal>+ <Radio value="A" autoFocus />+ </StoryGrid>+ </RadioGroup>+ </StorySection>++ <StorySection title="With lables">+ <RadioGroup defaultValue="A">+ <RadioAndLabel>+ <Radio value="A" id="A" />+ <Label htmlFor="A">Label A</Label>+ </RadioAndLabel>+ <RadioAndLabel>+ <Radio value="B" id="B" />+ <Label htmlFor="B">Label B</Label>+ </RadioAndLabel>+ </RadioGroup>+ </StorySection>+ </>+ );+};+Demo.storyName = "Radio";diff --git a/packages/design-system/src/components/radio.tsx b/packages/design-system/src/components/radio.tsxindex deb37d9512..47a501abd8 100644--- a/packages/design-system/src/components/radio.tsx+++ b/packages/design-system/src/components/radio.tsx@@ -1,102 +1,92 @@-import React from "react";-import { styled, CSS, VariantProps } from "../stitches.config";-import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";-import { theme } from "../stitches.config";+/**+ * Implementation of the "Radio" component from:+ * https://www.figma.com/file/sfCE7iLS0k25qCxiifQNLE/%F0%9F%93%9A-Webstudio-Library?node-id=1794%3A5804+ */-export const RadioGroup = styled(RadioGroupPrimitive.Root, {- display: "flex",-});+import { forwardRef, type ComponentProps, type Ref } from "react";+import { RadioUncheckedIcon, RadioCheckedIcon } from "@webstudio-is/icons";+import * as Primitive from "@radix-ui/react-radio-group";+import { type CSS, css, theme } from "../stitches.config";++export { CheckboxAndLabel as RadioAndLabel } from "./checkbox";-const StyledIndicator = styled(RadioGroupPrimitive.Indicator, {- alignItems: "center",- display: "flex",- height: "100%",- justifyContent: "center",- width: "100%",+const itemStyles = css({+ all: "unset", // reset <button>+ width: theme.spacing[9],+ height: theme.spacing[9],+ display: "block",position: "relative",- "&::after": {- content: '""',- display: "block",- width: theme.spacing[4],- height: theme.spacing[4],- borderRadius: "50%",- backgroundColor: theme.colors.blue9,- },-});+ borderRadius: theme.borderRadius.round,+ color: theme.colors.foregroundMain,-const StyledRadio = styled(RadioGroupPrimitive.Item, {- all: "unset",- boxSizing: "border-box",- userSelect: "none",- "&::before": {- boxSizing: "border-box",- },- "&::after": {- boxSizing: "border-box",+ "&:focus-visible": {+ outline: `2px solid ${theme.colors.borderFocus}`,},- alignItems: "center",- appearance: "none",- display: "inline-flex",- justifyContent: "center",- lineHeight: "1",- margin: "0",- outline: "none",- padding: "0",- textDecoration: "none",- WebkitTapHighlightColor: "rgba(0,0,0,0)",- borderRadius: "50%",- color: theme.colors.hiContrast,- boxShadow: `inset 0 0 0 1px ${theme.colors.slate7}`,- overflow: "hidden",- "@hover": {- "&:hover": {- boxShadow: `inset 0 0 0 1px ${theme.colors.slate8}`,- },+ "&[data-state=checked]": {+ color: theme.colors.foregroundPrimary,},- "&:focus": {- outline: "none",- borderColor: theme.colors.red7,- boxShadow: `inset 0 0 0 1px ${theme.colors.blue9}, 0 0 0 1px ${theme.colors.blue9}`,- },-- variants: {- size: {- "1": {- width: theme.spacing[9],- height: theme.spacing[9],- },- "2": {- width: theme.spacing[11],- height: theme.spacing[11],- [`& ${StyledIndicator}`]: {- "&::after": {- width: theme.spacing[9],- height: theme.spacing[9],- },- },- },- },+ // [data-state] is needed to make selector specificity higher+ "&[data-state]:disabled": {+ color: theme.colors.foregroundDisabled,},- defaultVariants: {- size: "1",++ "&:not(:disabled)::before": {+ content: "''",+ display: "block",+ position: "absolute",+ width: theme.spacing[7],+ height: theme.spacing[7],+ top: theme.spacing[2],+ left: theme.spacing[2],+ borderRadius: theme.borderRadius.round,+ background: theme.colors.backgroundControls,},});-type RadioVariants = VariantProps<typeof StyledRadio>;-type RadioGroupItemPrimitiveProps = React.ComponentProps<- typeof RadioGroupPrimitive.Item->;-type RadioProps = RadioGroupItemPrimitiveProps & RadioVariants & { css?: CSS };+const iconStyles = css({ position: "relative" });-export const Radio = React.forwardRef<- React.ElementRef<typeof StyledRadio>,- RadioProps->((props, forwardedRef) => (- <StyledRadio {...props} ref={forwardedRef}>- <StyledIndicator />- </StyledRadio>-));+// We need this component basicslly just to get access to "data-state".+// We could render both icons and hide one using CSS,+// but that probably will be less performant.+const Button = forwardRef(+ (+ props: ComponentProps<"button"> & {+ "data-state"?: "checked" | "unchecked";+ },+ ref: Ref<HTMLButtonElement>+ ) => (+ <button {...props} ref={ref}>+ {props["data-state"] === "checked" ? (+ <RadioCheckedIcon className={iconStyles()} />+ ) : (+ <RadioUncheckedIcon className={iconStyles()} />+ )}+ </button>+ )+);+Button.displayName = "Button";+export const Radio = forwardRef(+ (+ {+ className,+ css,+ ...props+ }: ComponentProps<typeof Primitive.Item> & { css?: CSS },+ ref: Ref<HTMLButtonElement>+ ) => (+ <Primitive.Item+ className={itemStyles({ className, css })}+ {...props}+ ref={ref}+ asChild+ >+ <Button />+ </Primitive.Item>+ )+);Radio.displayName = "Radio";++export const RadioGroup = Primitive.Root;diff --git a/packages/design-system/src/stitches.config.ts b/packages/design-system/src/stitches.config.tsindex ad43987bc5..4d6a55fe8b 100644--- a/packages/design-system/src/stitches.config.ts+++ b/packages/design-system/src/stitches.config.ts@@ -255,16 +255,14 @@ const {mono: figma.fontFamilies.robotoMono,},- // @todo: should we use these tokens?- // fontSize: figma.fontSizes,- // lineHeight: figma.lineHeights,- // fontWeight: figma.fontWeights,- // letterSpacing: figma.letterSpacing,-opacity: {1: "0.4",},spacing,++ /**+ * Use instead: textVariants / textStyles / <Text />+ */deprecatedFontSize: {1: "8px",2: "10px",@@ -277,6 +275,10 @@ const {8: "35px",9: "59px",},++ /**+ * Use instead: textVariants / textStyles / <Text />+ */deprecatedLineHeight: {1: "8px",2: "12px",@@ -284,6 +286,7 @@ const {// Legacy - don't use unless specified in Figma4: "20px",},+borderRadius: {1: "1px",2: "2px",diff --git a/packages/icons/icons/checkbox-checked-filled.svg b/packages/icons/icons/checkbox-checked-filled.svgnew file mode 100644index 0000000000..51b947d245--- /dev/null+++ b/packages/icons/icons/checkbox-checked-filled.svg@@ -0,0 +1,3 @@+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M1.59158 2.5603C1.34998 3.03447 1.34998 3.65519 1.34998 4.89664V11.1033C1.34998 12.3448 1.34998 12.9655 1.59158 13.4397C1.8041 13.8567 2.1432 14.1959 2.5603 14.4084C3.03447 14.65 3.65519 14.65 4.89664 14.65H11.1033C12.3448 14.65 12.9655 14.65 13.4397 14.4084C13.8567 14.1959 14.1959 13.8567 14.4084 13.4397C14.65 12.9655 14.65 12.3448 14.65 11.1033V4.89664C14.65 3.65519 14.65 3.03447 14.4084 2.5603C14.1959 2.1432 13.8567 1.8041 13.4397 1.59158C12.9655 1.34998 12.3448 1.34998 11.1033 1.34998H4.89664C3.65519 1.34998 3.03447 1.34998 2.5603 1.59158C2.1432 1.8041 1.8041 2.1432 1.59158 2.5603ZM12.229 6.13314C12.5753 5.78687 12.5753 5.22547 12.229 4.8792C11.8828 4.53294 11.3214 4.53294 10.9751 4.8792L6.61457 9.23974L5.02487 7.65004C4.67861 7.30378 4.1172 7.30378 3.77094 7.65004C3.42467 7.99631 3.42467 8.55771 3.77094 8.90398L5.9876 11.1206C6.15388 11.2869 6.37941 11.3803 6.61457 11.3803C6.84973 11.3803 7.07526 11.2869 7.24154 11.1206L12.229 6.13314Z" />+</svg>diff --git a/packages/icons/icons/checkbox-empty.svg b/packages/icons/icons/checkbox-empty.svgnew file mode 100644index 0000000000..762ecc27b4--- /dev/null+++ b/packages/icons/icons/checkbox-empty.svg@@ -0,0 +1,3 @@+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M5.17304 1.34998H10.8269C11.3641 1.34997 11.8064 1.34996 12.1665 1.37938C12.5402 1.40992 12.8822 1.47535 13.2031 1.63881C13.7017 1.89287 14.1071 2.29827 14.3611 2.7969C14.5246 3.11772 14.59 3.45975 14.6206 3.83345C14.65 4.19356 14.65 4.63588 14.65 5.17304V10.8269C14.65 11.3641 14.65 11.8064 14.6206 12.1665C14.59 12.5402 14.5246 12.8822 14.3611 13.2031C14.1071 13.7017 13.7017 14.1071 13.2031 14.3611C12.8822 14.5246 12.5402 14.59 12.1665 14.6206C11.8064 14.65 11.3641 14.65 10.8269 14.65H5.17304C4.63588 14.65 4.19356 14.65 3.83345 14.6206C3.45975 14.59 3.11772 14.5246 2.7969 14.3611C2.29827 14.1071 1.89287 13.7017 1.63881 13.2031C1.47534 12.8822 1.40992 12.5402 1.37938 12.1665C1.34996 11.8064 1.34997 11.3641 1.34998 10.8269V5.17304C1.34997 4.63588 1.34996 4.19356 1.37938 3.83345C1.40992 3.45975 1.47534 3.11772 1.63881 2.7969C1.89287 2.29827 2.29827 1.89287 2.7969 1.63881C3.11772 1.47534 3.45975 1.40992 3.83345 1.37938C4.19356 1.34996 4.63588 1.34997 5.17304 1.34998ZM3.93931 2.67507C3.646 2.69903 3.4941 2.74259 3.38709 2.79712C3.13307 2.92655 2.92655 3.13307 2.79712 3.38709C2.74259 3.4941 2.69903 3.646 2.67507 3.93931C2.65048 4.24021 2.64998 4.6292 2.64998 5.19998V10.8C2.64998 11.3708 2.65048 11.7597 2.67507 12.0606C2.69903 12.3539 2.74259 12.5059 2.79712 12.6129C2.92655 12.8669 3.13307 13.0734 3.38709 13.2028C3.4941 13.2574 3.646 13.3009 3.93931 13.3249C4.24021 13.3495 4.6292 13.35 5.19998 13.35H10.8C11.3708 13.35 11.7597 13.3495 12.0606 13.3249C12.3539 13.3009 12.5059 13.2574 12.6129 13.2028C12.8669 13.0734 13.0734 12.8669 13.2028 12.6129C13.2574 12.5059 13.3009 12.3539 13.3249 12.0606C13.3495 11.7597 13.35 11.3708 13.35 10.8V5.19998C13.35 4.6292 13.3495 4.24021 13.3249 3.93931C13.3009 3.646 13.2574 3.4941 13.2028 3.38709C13.0734 3.13307 12.8669 2.92655 12.6129 2.79712C12.5059 2.74259 12.3539 2.69903 12.0606 2.67507C11.7597 2.65048 11.3708 2.64998 10.8 2.64998H5.19998C4.6292 2.64998 4.24021 2.65048 3.93931 2.67507Z" />+</svg>diff --git a/packages/icons/icons/checkbox-mixed-filled.svg b/packages/icons/icons/checkbox-mixed-filled.svgnew file mode 100644index 0000000000..5247f67d84--- /dev/null+++ b/packages/icons/icons/checkbox-mixed-filled.svg@@ -0,0 +1,3 @@+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M1.59158 2.5603C1.34998 3.03447 1.34998 3.65519 1.34998 4.89664V11.1033C1.34998 12.3448 1.34998 12.9655 1.59158 13.4397C1.8041 13.8567 2.1432 14.1959 2.5603 14.4084C3.03447 14.65 3.65519 14.65 4.89664 14.65H11.1033C12.3448 14.65 12.9655 14.65 13.4397 14.4084C13.8567 14.1959 14.1959 13.8567 14.4084 13.4397C14.65 12.9655 14.65 12.3448 14.65 11.1033V4.89664C14.65 3.65519 14.65 3.03447 14.4084 2.5603C14.1959 2.1432 13.8567 1.8041 13.4397 1.59158C12.9655 1.34998 12.3448 1.34998 11.1033 1.34998H4.89664C3.65519 1.34998 3.03447 1.34998 2.5603 1.59158C2.1432 1.8041 1.8041 2.1432 1.59158 2.5603ZM4.67499 7.11326C4.1853 7.11326 3.78832 7.51023 3.78832 7.99992C3.78832 8.48961 4.1853 8.88659 4.67499 8.88659H11.325C11.8147 8.88659 12.2117 8.48961 12.2117 7.99992C12.2117 7.51023 11.8147 7.11326 11.325 7.11326H4.67499Z" />+</svg>diff --git a/packages/icons/icons/chevron-big-down.svg b/packages/icons/icons/chevron-big-down.svgindex 658a5b1a96..0e7e123624 100644--- a/packages/icons/icons/chevron-big-down.svg+++ b/packages/icons/icons/chevron-big-down.svg@@ -1,3 +1,3 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M8.46094 10.9469L13.0133 5.48411C13.3389 5.09331 13.061 4.5 12.5523 4.5L3.4477 4.5C2.939 4.5 2.66111 5.09331 2.98677 5.48411L7.53908 10.9469C7.77895 11.2347 8.22107 11.2347 8.46094 10.9469Z" fill="#11181C"/>+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M8.46094 10.9469L13.0133 5.48411C13.3389 5.09331 13.061 4.5 12.5523 4.5L3.4477 4.5C2.939 4.5 2.66111 5.09331 2.98677 5.48411L7.53908 10.9469C7.77895 11.2347 8.22107 11.2347 8.46094 10.9469Z" /></svg>diff --git a/packages/icons/icons/chevron-big-left.svg b/packages/icons/icons/chevron-big-left.svgindex d9f4fdad27..f7887f71b7 100644--- a/packages/icons/icons/chevron-big-left.svg+++ b/packages/icons/icons/chevron-big-left.svg@@ -1,3 +1,3 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M5.05312 8.46094L10.5159 13.0133C10.9067 13.3389 11.5 13.061 11.5 12.5523L11.5 3.4477C11.5 2.939 10.9067 2.66111 10.5159 2.98677L5.05312 7.53908C4.76527 7.77895 4.76527 8.22106 5.05312 8.46094Z" fill="#11181C"/>+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M5.05312 8.46094L10.5159 13.0133C10.9067 13.3389 11.5 13.061 11.5 12.5523L11.5 3.4477C11.5 2.939 10.9067 2.66111 10.5159 2.98677L5.05312 7.53908C4.76527 7.77895 4.76527 8.22106 5.05312 8.46094Z" /></svg>diff --git a/packages/icons/icons/chevron-big-right.svg b/packages/icons/icons/chevron-big-right.svgindex 759b3fd9c3..d702e375df 100644--- a/packages/icons/icons/chevron-big-right.svg+++ b/packages/icons/icons/chevron-big-right.svg@@ -1,3 +1,3 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M10.9469 7.53906L5.48411 2.98675C5.09331 2.66109 4.5 2.93898 4.5 3.44768L4.5 12.5523C4.5 13.061 5.09331 13.3389 5.48411 13.0132L10.9469 8.46092C11.2347 8.22105 11.2347 7.77893 10.9469 7.53906Z" fill="#11181C"/>+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M10.9469 7.53906L5.48411 2.98675C5.09331 2.66109 4.5 2.93898 4.5 3.44768L4.5 12.5523C4.5 13.061 5.09331 13.3389 5.48411 13.0132L10.9469 8.46092C11.2347 8.22105 11.2347 7.77893 10.9469 7.53906Z" /></svg>diff --git a/packages/icons/icons/chevron-big-up.svg b/packages/icons/icons/chevron-big-up.svgindex d06f901600..fdba3897ca 100644--- a/packages/icons/icons/chevron-big-up.svg+++ b/packages/icons/icons/chevron-big-up.svg@@ -1,3 +1,3 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M7.53906 5.05312L2.98675 10.5159C2.66109 10.9067 2.93898 11.5 3.44768 11.5L12.5523 11.5C13.061 11.5 13.3389 10.9067 13.0132 10.5159L8.46092 5.05312C8.22105 4.76527 7.77893 4.76527 7.53906 5.05312Z" fill="#11181C"/>+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M7.53906 5.05312L2.98675 10.5159C2.66109 10.9067 2.93898 11.5 3.44768 11.5L12.5523 11.5C13.061 11.5 13.3389 10.9067 13.0132 10.5159L8.46092 5.05312C8.22105 4.76527 7.77893 4.76527 7.53906 5.05312Z" /></svg>diff --git a/packages/icons/icons/chevron-filled-down.svg b/packages/icons/icons/chevron-filled-down.svgindex ac080bc946..78fa330c41 100644--- a/packages/icons/icons/chevron-filled-down.svg+++ b/packages/icons/icons/chevron-filled-down.svg@@ -1,3 +1,3 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M8.49923 10.2512L11.3781 5.93282C11.6439 5.53409 11.3581 5 10.8789 5L5.12111 5C4.64189 5 4.35606 5.53409 4.62188 5.93282L7.50077 10.2512C7.73826 10.6074 8.26174 10.6074 8.49923 10.2512Z" fill="#11181C"/>+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M8.49923 10.2512L11.3781 5.93282C11.6439 5.53409 11.3581 5 10.8789 5L5.12111 5C4.64189 5 4.35606 5.53409 4.62188 5.93282L7.50077 10.2512C7.73826 10.6074 8.26174 10.6074 8.49923 10.2512Z" /></svg>diff --git a/packages/icons/icons/chevron-filled-left.svg b/packages/icons/icons/chevron-filled-left.svgindex c907d54d00..3457188e30 100644--- a/packages/icons/icons/chevron-filled-left.svg+++ b/packages/icons/icons/chevron-filled-left.svg@@ -1,3 +1,3 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M5.74885 8.49923L10.0672 11.3781C10.4659 11.6439 11 11.3581 11 10.8789L11 5.12111C11 4.64189 10.4659 4.35606 10.0672 4.62188L5.74885 7.50077C5.39261 7.73826 5.39261 8.26174 5.74885 8.49923Z" fill="#11181C"/>+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M5.74885 8.49923L10.0672 11.3781C10.4659 11.6439 11 11.3581 11 10.8789L11 5.12111C11 4.64189 10.4659 4.35606 10.0672 4.62188L5.74885 7.50077C5.39261 7.73826 5.39261 8.26174 5.74885 8.49923Z" /></svg>diff --git a/packages/icons/icons/chevron-filled-right.svg b/packages/icons/icons/chevron-filled-right.svgindex 1a6c5525bd..d533e0d82a 100644--- a/packages/icons/icons/chevron-filled-right.svg+++ b/packages/icons/icons/chevron-filled-right.svg@@ -1,3 +1,3 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M10.2512 7.50077L5.93282 4.62188C5.53409 4.35606 5 4.64189 5 5.12111V10.8789C5 11.3581 5.53409 11.6439 5.93282 11.3781L10.2512 8.49923C10.6074 8.26174 10.6074 7.73826 10.2512 7.50077Z" fill="#11181C"/>+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M10.2512 7.50077L5.93282 4.62188C5.53409 4.35606 5 4.64189 5 5.12111V10.8789C5 11.3581 5.53409 11.6439 5.93282 11.3781L10.2512 8.49923C10.6074 8.26174 10.6074 7.73826 10.2512 7.50077Z" /></svg>diff --git a/packages/icons/icons/chevron-filled-up.svg b/packages/icons/icons/chevron-filled-up.svgindex b6a7db884f..87c155e34b 100644--- a/packages/icons/icons/chevron-filled-up.svg+++ b/packages/icons/icons/chevron-filled-up.svg@@ -1,3 +1,3 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M7.50078 5.50802L4.62189 9.82636C4.35607 10.2251 4.6419 10.7592 5.12112 10.7592H10.8789C11.3581 10.7592 11.644 10.2251 11.3781 9.82636L8.49924 5.50802C8.26175 5.15178 7.73827 5.15178 7.50078 5.50802Z" fill="#11181C"/>+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M7.50078 5.50802L4.62189 9.82636C4.35607 10.2251 4.6419 10.7592 5.12112 10.7592H10.8789C11.3581 10.7592 11.644 10.2251 11.3781 9.82636L8.49924 5.50802C8.26175 5.15178 7.73827 5.15178 7.50078 5.50802Z" /></svg>diff --git a/packages/icons/icons/radio-checked.svg b/packages/icons/icons/radio-checked.svgnew file mode 100644index 0000000000..759a91cb9a--- /dev/null+++ b/packages/icons/icons/radio-checked.svg@@ -0,0 +1,4 @@+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M7.99999 5.35002C6.53643 5.35002 5.34999 6.53646 5.34999 8.00002C5.34999 9.46357 6.53643 10.65 7.99999 10.65C9.46354 10.65 10.65 9.46357 10.65 8.00002C10.65 6.53646 9.46354 5.35002 7.99999 5.35002Z" />+<path fill-rule="evenodd" clip-rule="evenodd" d="M7.99998 1.3501C4.32728 1.3501 1.34998 4.3274 1.34998 8.0001C1.34998 11.6728 4.32728 14.6501 7.99998 14.6501C11.6727 14.6501 14.65 11.6728 14.65 8.0001C14.65 4.3274 11.6727 1.3501 7.99998 1.3501ZM2.64998 8.0001C2.64998 5.04537 5.04525 2.6501 7.99998 2.6501C10.9547 2.6501 13.35 5.04537 13.35 8.0001C13.35 10.9548 10.9547 13.3501 7.99998 13.3501C5.04525 13.3501 2.64998 10.9548 2.64998 8.0001Z" />+</svg>diff --git a/packages/icons/icons/radio-unchecked.svg b/packages/icons/icons/radio-unchecked.svgnew file mode 100644index 0000000000..d20615150f--- /dev/null+++ b/packages/icons/icons/radio-unchecked.svg@@ -0,0 +1,3 @@+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M7.99998 1.3501C4.32728 1.3501 1.34998 4.3274 1.34998 8.0001C1.34998 11.6728 4.32728 14.6501 7.99998 14.6501C11.6727 14.6501 14.65 11.6728 14.65 8.0001C14.65 4.3274 11.6727 1.3501 7.99998 1.3501ZM2.64998 8.0001C2.64998 5.04537 5.04525 2.6501 7.99998 2.6501C10.9547 2.6501 13.35 5.04537 13.35 8.0001C13.35 10.9548 10.9547 13.3501 7.99998 13.3501C5.04525 13.3501 2.64998 10.9548 2.64998 8.0001Z" />+</svg>diff --git a/packages/icons/src/__generated__/checkbox-checked-filled.tsx b/packages/icons/src/__generated__/checkbox-checked-filled.tsxnew file mode 100644index 0000000000..c5666e71c9--- /dev/null+++ b/packages/icons/src/__generated__/checkbox-checked-filled.tsx@@ -0,0 +1,15 @@+// Generated from icons/checkbox-checked-filled.svg++import { forwardRef } from "react";+import type { IconProps } from "../types";++// prettier-ignore+export const CheckboxCheckedFilledIcon = forwardRef<SVGSVGElement, IconProps>(+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {+ return (+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M1.592 2.56c-.242.474-.242 1.095-.242 2.337v6.206c0 1.242 0 1.863.242 2.337.212.417.551.756.968.968.474.242 1.095.242 2.337.242h6.206c1.242 0 1.863 0 2.337-.242.417-.212.756-.551.968-.968.242-.474.242-1.095.242-2.337V4.897c0-1.242 0-1.863-.242-2.337a2.217 2.217 0 0 0-.968-.968c-.474-.242-1.095-.242-2.337-.242H4.897c-1.242 0-1.863 0-2.337.242a2.217 2.217 0 0 0-.968.968Zm10.637 3.573a.887.887 0 1 0-1.254-1.254l-4.36 4.36-1.59-1.589A.887.887 0 0 0 3.77 8.904l2.217 2.217a.887.887 0 0 0 1.254 0l4.987-4.988Z" clipRule="evenodd" /></svg>+ );+ }+);++CheckboxCheckedFilledIcon.displayName = "CheckboxCheckedFilledIcon";diff --git a/packages/icons/src/__generated__/checkbox-empty.tsx b/packages/icons/src/__generated__/checkbox-empty.tsxnew file mode 100644index 0000000000..7d6a56bc87--- /dev/null+++ b/packages/icons/src/__generated__/checkbox-empty.tsx@@ -0,0 +1,15 @@+// Generated from icons/checkbox-empty.svg++import { forwardRef } from "react";+import type { IconProps } from "../types";++// prettier-ignore+export const CheckboxEmptyIcon = forwardRef<SVGSVGElement, IconProps>(+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {+ return (+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M5.173 1.35h5.654c.537 0 .98 0 1.34.03.373.03.715.095 1.036.259.499.254.904.66 1.158 1.158.164.32.229.663.26 1.036.029.36.029.803.029 1.34v5.654c0 .537 0 .98-.03 1.34-.03.373-.095.715-.259 1.036a2.65 2.65 0 0 1-1.158 1.158c-.32.164-.663.229-1.037.26-.36.029-.802.029-1.34.029H5.174c-.537 0-.98 0-1.34-.03-.373-.03-.715-.095-1.036-.259a2.65 2.65 0 0 1-1.158-1.158c-.164-.32-.23-.663-.26-1.037-.029-.36-.029-.802-.029-1.34V5.174c0-.537 0-.98.03-1.34.03-.373.095-.715.259-1.036a2.65 2.65 0 0 1 1.158-1.158c.32-.164.663-.23 1.036-.26.36-.029.803-.029 1.34-.029ZM3.939 2.675c-.293.024-.445.068-.552.122a1.35 1.35 0 0 0-.59.59c-.054.107-.098.259-.122.552-.025.301-.025.69-.025 1.261v5.6c0 .57 0 .96.025 1.26.024.294.068.446.122.553.13.254.336.46.59.59.107.054.259.098.552.122.301.025.69.025 1.261.025h5.6c.57 0 .96 0 1.26-.025.294-.024.446-.068.553-.122.254-.13.46-.336.59-.59.054-.107.098-.26.122-.552.025-.301.025-.69.025-1.261V5.2c0-.57 0-.96-.025-1.26-.024-.294-.068-.446-.122-.553a1.35 1.35 0 0 0-.59-.59c-.107-.054-.26-.098-.552-.122-.301-.025-.69-.025-1.261-.025H5.2c-.57 0-.96 0-1.26.025Z" clipRule="evenodd" /></svg>+ );+ }+);++CheckboxEmptyIcon.displayName = "CheckboxEmptyIcon";diff --git a/packages/icons/src/__generated__/checkbox-mixed-filled.tsx b/packages/icons/src/__generated__/checkbox-mixed-filled.tsxnew file mode 100644index 0000000000..87800b3443--- /dev/null+++ b/packages/icons/src/__generated__/checkbox-mixed-filled.tsx@@ -0,0 +1,15 @@+// Generated from icons/checkbox-mixed-filled.svg++import { forwardRef } from "react";+import type { IconProps } from "../types";++// prettier-ignore+export const CheckboxMixedFilledIcon = forwardRef<SVGSVGElement, IconProps>(+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {+ return (+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M1.592 2.56c-.242.474-.242 1.095-.242 2.337v6.206c0 1.242 0 1.863.242 2.337.212.417.551.756.968.968.474.242 1.095.242 2.337.242h6.206c1.242 0 1.863 0 2.337-.242.417-.212.756-.551.968-.968.242-.474.242-1.095.242-2.337V4.897c0-1.242 0-1.863-.242-2.337a2.217 2.217 0 0 0-.968-.968c-.474-.242-1.095-.242-2.337-.242H4.897c-1.242 0-1.863 0-2.337.242a2.217 2.217 0 0 0-.968.968Zm3.083 4.553a.887.887 0 1 0 0 1.774h6.65a.887.887 0 1 0 0-1.774h-6.65Z" clipRule="evenodd" /></svg>+ );+ }+);++CheckboxMixedFilledIcon.displayName = "CheckboxMixedFilledIcon";diff --git a/packages/icons/src/__generated__/chevron-big-down.tsx b/packages/icons/src/__generated__/chevron-big-down.tsxindex d6e4abd879..67261d421e 100644--- a/packages/icons/src/__generated__/chevron-big-down.tsx+++ b/packages/icons/src/__generated__/chevron-big-down.tsx@@ -7,7 +7,7 @@ import type { IconProps } from "../types";export const ChevronBigDownIcon = forwardRef<SVGSVGElement, IconProps>(({ color = "currentColor", size = 16, ...props }, forwardedRef) => {return (- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m8.46 10.947 4.553-5.463a.6.6 0 0 0-.46-.984H3.447a.6.6 0 0 0-.461.984l4.552 5.463a.6.6 0 0 0 .922 0Z" /></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="m8.46 10.947 4.553-5.463a.6.6 0 0 0-.46-.984H3.447a.6.6 0 0 0-.461.984l4.552 5.463a.6.6 0 0 0 .922 0Z" /></svg>);});diff --git a/packages/icons/src/__generated__/chevron-big-left.tsx b/packages/icons/src/__generated__/chevron-big-left.tsxindex 5c792d4631..a8c204afce 100644--- a/packages/icons/src/__generated__/chevron-big-left.tsx+++ b/packages/icons/src/__generated__/chevron-big-left.tsx@@ -7,7 +7,7 @@ import type { IconProps } from "../types";export const ChevronBigLeftIcon = forwardRef<SVGSVGElement, IconProps>(({ color = "currentColor", size = 16, ...props }, forwardedRef) => {return (- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m5.053 8.46 5.463 4.553a.6.6 0 0 0 .984-.46V3.447a.6.6 0 0 0-.984-.461L5.053 7.539a.6.6 0 0 0 0 .922Z" /></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="m5.053 8.46 5.463 4.553a.6.6 0 0 0 .984-.46V3.447a.6.6 0 0 0-.984-.461L5.053 7.539a.6.6 0 0 0 0 .922Z" /></svg>);});diff --git a/packages/icons/src/__generated__/chevron-big-right.tsx b/packages/icons/src/__generated__/chevron-big-right.tsxindex 0b4757b355..d6c3d5328b 100644--- a/packages/icons/src/__generated__/chevron-big-right.tsx+++ b/packages/icons/src/__generated__/chevron-big-right.tsx@@ -7,7 +7,7 @@ import type { IconProps } from "../types";export const ChevronBigRightIcon = forwardRef<SVGSVGElement, IconProps>(({ color = "currentColor", size = 16, ...props }, forwardedRef) => {return (- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10.947 7.54 5.484 2.986a.6.6 0 0 0-.984.46v9.105a.6.6 0 0 0 .984.461l5.463-4.552a.6.6 0 0 0 0-.922Z" /></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M10.947 7.54 5.484 2.986a.6.6 0 0 0-.984.46v9.105a.6.6 0 0 0 .984.461l5.463-4.552a.6.6 0 0 0 0-.922Z" /></svg>);});diff --git a/packages/icons/src/__generated__/chevron-big-up.tsx b/packages/icons/src/__generated__/chevron-big-up.tsxindex 79e4b89309..b3ab1d0036 100644--- a/packages/icons/src/__generated__/chevron-big-up.tsx+++ b/packages/icons/src/__generated__/chevron-big-up.tsx@@ -7,7 +7,7 @@ import type { IconProps } from "../types";export const ChevronBigUpIcon = forwardRef<SVGSVGElement, IconProps>(({ color = "currentColor", size = 16, ...props }, forwardedRef) => {return (- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m7.54 5.053-4.553 5.463a.6.6 0 0 0 .46.984h9.105a.6.6 0 0 0 .461-.984L8.461 5.053a.6.6 0 0 0-.922 0Z" /></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="m7.54 5.053-4.553 5.463a.6.6 0 0 0 .46.984h9.105a.6.6 0 0 0 .461-.984L8.461 5.053a.6.6 0 0 0-.922 0Z" /></svg>);});diff --git a/packages/icons/src/__generated__/chevron-filled-down.tsx b/packages/icons/src/__generated__/chevron-filled-down.tsxindex 0634a9004d..05a253be07 100644--- a/packages/icons/src/__generated__/chevron-filled-down.tsx+++ b/packages/icons/src/__generated__/chevron-filled-down.tsx@@ -7,7 +7,7 @@ import type { IconProps } from "../types";export const ChevronFilledDownIcon = forwardRef<SVGSVGElement, IconProps>(({ color = "currentColor", size = 16, ...props }, forwardedRef) => {return (- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m8.5 10.251 2.878-4.318a.6.6 0 0 0-.5-.933H5.122a.6.6 0 0 0-.5.933l2.88 4.318a.6.6 0 0 0 .998 0Z" /></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="m8.5 10.251 2.878-4.318a.6.6 0 0 0-.5-.933H5.122a.6.6 0 0 0-.5.933l2.88 4.318a.6.6 0 0 0 .998 0Z" /></svg>);});diff --git a/packages/icons/src/__generated__/chevron-filled-left.tsx b/packages/icons/src/__generated__/chevron-filled-left.tsxindex 14b9a99a10..189411e02c 100644--- a/packages/icons/src/__generated__/chevron-filled-left.tsx+++ b/packages/icons/src/__generated__/chevron-filled-left.tsx@@ -7,7 +7,7 @@ import type { IconProps } from "../types";export const ChevronFilledLeftIcon = forwardRef<SVGSVGElement, IconProps>(({ color = "currentColor", size = 16, ...props }, forwardedRef) => {return (- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="m5.749 8.5 4.318 2.878a.6.6 0 0 0 .933-.5V5.122a.6.6 0 0 0-.933-.5L5.75 7.502a.6.6 0 0 0 0 .998Z" /></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="m5.749 8.5 4.318 2.878a.6.6 0 0 0 .933-.5V5.122a.6.6 0 0 0-.933-.5L5.75 7.502a.6.6 0 0 0 0 .998Z" /></svg>);});diff --git a/packages/icons/src/__generated__/chevron-filled-right.tsx b/packages/icons/src/__generated__/chevron-filled-right.tsxindex 39e5d49628..3216db0bba 100644--- a/packages/icons/src/__generated__/chevron-filled-right.tsx+++ b/packages/icons/src/__generated__/chevron-filled-right.tsx@@ -7,7 +7,7 @@ import type { IconProps } from "../types";export const ChevronFilledRightIcon = forwardRef<SVGSVGElement, IconProps>(({ color = "currentColor", size = 16, ...props }, forwardedRef) => {return (- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M10.251 7.5 5.933 4.623a.6.6 0 0 0-.933.5v5.757a.6.6 0 0 0 .933.5l4.318-2.88a.6.6 0 0 0 0-.998Z" /></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M10.251 7.5 5.933 4.623a.6.6 0 0 0-.933.5v5.757a.6.6 0 0 0 .933.5l4.318-2.88a.6.6 0 0 0 0-.998Z" /></svg>);});diff --git a/packages/icons/src/__generated__/chevron-filled-up.tsx b/packages/icons/src/__generated__/chevron-filled-up.tsxindex 604a0d5f3b..0252c913ea 100644--- a/packages/icons/src/__generated__/chevron-filled-up.tsx+++ b/packages/icons/src/__generated__/chevron-filled-up.tsx@@ -7,7 +7,7 @@ import type { IconProps } from "../types";export const ChevronFilledUpIcon = forwardRef<SVGSVGElement, IconProps>(({ color = "currentColor", size = 16, ...props }, forwardedRef) => {return (- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fill="#11181C" d="M7.5 5.508 4.623 9.826a.6.6 0 0 0 .5.933h5.757a.6.6 0 0 0 .5-.933l-2.88-4.318a.6.6 0 0 0-.998 0Z" /></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M7.5 5.508 4.623 9.826a.6.6 0 0 0 .5.933h5.757a.6.6 0 0 0 .5-.933l-2.88-4.318a.6.6 0 0 0-.998 0Z" /></svg>);});diff --git a/packages/icons/src/__generated__/index.ts b/packages/icons/src/__generated__/index.tsindex 41497dacd8..0cbef4b641 100644--- a/packages/icons/src/__generated__/index.ts+++ b/packages/icons/src/__generated__/index.ts@@ -1,5 +1,8 @@export * from "./auto-scroll";export * from "./blockquote";+export * from "./checkbox-checked-filled";+export * from "./checkbox-empty";+export * from "./checkbox-mixed-filled";export * from "./chevron-big-down";export * from "./chevron-big-left";export * from "./chevron-big-right";@@ -20,6 +23,8 @@ export * from "./list-item";export * from "./list";export * from "./offline";export * from "./play";+export * from "./radio-checked";+export * from "./radio-unchecked";export * from "./scroll";export * from "./subscript";export * from "./superscript";diff --git a/packages/icons/src/__generated__/radio-checked.tsx b/packages/icons/src/__generated__/radio-checked.tsxnew file mode 100644index 0000000000..2c463d6369--- /dev/null+++ b/packages/icons/src/__generated__/radio-checked.tsx@@ -0,0 +1,15 @@+// Generated from icons/radio-checked.svg++import { forwardRef } from "react";+import type { IconProps } from "../types";++// prettier-ignore+export const RadioCheckedIcon = forwardRef<SVGSVGElement, IconProps>(+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {+ return (+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path d="M8 5.35a2.65 2.65 0 1 0 0 5.3 2.65 2.65 0 0 0 0-5.3Z" /><path fillRule="evenodd" d="M8 1.35a6.65 6.65 0 1 0 0 13.3 6.65 6.65 0 0 0 0-13.3ZM2.65 8a5.35 5.35 0 1 1 10.7 0 5.35 5.35 0 0 1-10.7 0Z" clipRule="evenodd" /></svg>+ );+ }+);++RadioCheckedIcon.displayName = "RadioCheckedIcon";diff --git a/packages/icons/src/__generated__/radio-unchecked.tsx b/packages/icons/src/__generated__/radio-unchecked.tsxnew file mode 100644index 0000000000..3e27a7e372--- /dev/null+++ b/packages/icons/src/__generated__/radio-unchecked.tsx@@ -0,0 +1,15 @@+// Generated from icons/radio-unchecked.svg++import { forwardRef } from "react";+import type { IconProps } from "../types";++// prettier-ignore+export const RadioUncheckedIcon = forwardRef<SVGSVGElement, IconProps>(+ ({ color = "currentColor", size = 16, ...props }, forwardedRef) => {+ return (+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M8 1.35a6.65 6.65 0 1 0 0 13.3 6.65 6.65 0 0 0 0-13.3ZM2.65 8a5.35 5.35 0 1 1 10.7 0 5.35 5.35 0 0 1-10.7 0Z" clipRule="evenodd" /></svg>+ );+ }+);++RadioUncheckedIcon.displayName = "RadioUncheckedIcon";diff --git a/packages/icons/src/index.stories.tsx b/packages/icons/src/index.stories.tsxindex 1598120e8b..744a5b83d5 100644--- a/packages/icons/src/index.stories.tsx+++ b/packages/icons/src/index.stories.tsx@@ -1,10 +1,16 @@import * as icons from "./index";import * as legacyIcons from "./legacy";-export const Icons = () => {+export const Icons = ({ testColor }: { testColor: boolean }) => {return (<>- <div style={{ display: "flex", flexWrap: "wrap" }}>+ <div+ style={{+ display: "flex",+ flexWrap: "wrap",+ ...(testColor ? { color: "red" } : {}),+ }}+ >{Object.entries(icons).map(// eslint-disable-next-line @typescript-eslint/no-explicit-any([name, Icon]: [string, any]) => {@@ -53,4 +59,10 @@ export const Icons = () => {export default {title: "All Icons",component: Icons,+ argTypes: {+ testColor: {+ name: "Test color",+ defaultValue: false,+ },+ },};