diff --git a/src/core/styles/Forms.stories.tsx b/src/core/styles/Forms.stories.tsx index 990e38df7..da6a6844f 100644 --- a/src/core/styles/Forms.stories.tsx +++ b/src/core/styles/Forms.stories.tsx @@ -20,7 +20,7 @@ const exampleOptionFields = ( export const Inputs = { render: () => (
-
+

Default

-
-

Default (dark)

- -
-
+

Disabled

-
-

Disabled (dark)

- -

Invalid

Oof, what an input

-
-

Invalid (dark)

- -

Oof, what an input

-

With character insert

@@ -125,17 +95,6 @@ export const Dropdowns = { Select language
-
-

Dark mode

-
- -
-
), }; @@ -194,6 +153,118 @@ export const Checkboxes = { ), }; +export const RadioButtons = { + render: () => ( +
+
+

Default

+
+ + +
+
+ + +
+
+ + +
+
+
+

Disabled

+
+ + +
+
+ + +
+
+ + +
+
+
+ ), +}; + export const Textareas = { render: () => (
diff --git a/src/core/styles/__snapshots__/Forms.stories.tsx.snap b/src/core/styles/__snapshots__/Forms.stories.tsx.snap index 192031d39..f3b9a0ff6 100644 --- a/src/core/styles/__snapshots__/Forms.stories.tsx.snap +++ b/src/core/styles/__snapshots__/Forms.stories.tsx.snap @@ -153,39 +153,12 @@ exports[`Styles/Forms Dropdowns smoke-test 1`] = ` Select language
-
-

- Dark mode -

-
- -
-
`; exports[`Styles/Forms Inputs smoke-test 1`] = `
-
+

Default

@@ -195,17 +168,7 @@ exports[`Styles/Forms Inputs smoke-test 1`] = ` autocomplete="off" >
-
-

- Default (dark) -

- -
-
+

Disabled

@@ -216,17 +179,6 @@ exports[`Styles/Forms Inputs smoke-test 1`] = ` disabled >
-
-

- Disabled (dark) -

- -

Invalid @@ -241,20 +193,6 @@ exports[`Styles/Forms Inputs smoke-test 1`] = ` Oof, what an input

-
-

- Invalid (dark) -

- -

- Oof, what an input -

-

With character insert @@ -273,6 +211,108 @@ exports[`Styles/Forms Inputs smoke-test 1`] = `

`; +exports[`Styles/Forms RadioButtons smoke-test 1`] = ` +
+
+

+ Default +

+
+ + +
+
+ + +
+
+ + +
+
+
+

+ Disabled +

+
+ + +
+
+ + +
+
+ + +
+
+
+`; + exports[`Styles/Forms Textareas smoke-test 1`] = `