diff --git a/src/core/styles/Forms.stories.tsx b/src/core/styles/Forms.stories.tsx index 990e38df..ee401164 100644 --- a/src/core/styles/Forms.stories.tsx +++ b/src/core/styles/Forms.stories.tsx @@ -1,5 +1,5 @@ import React from "react"; -import Icon from "../Icon"; +import { Checkbox, RadioButton } from "./forms/story-components"; export default { title: "Styles/Forms", @@ -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
Dark mode
-Default
-{label}
+ {Array(3) + .fill(0) + .map((_, i) => ( +Disabled
-{label}
+ {Array(3) + .fill(0) + .map((_, i) => ( +Default
-Disabled
-- Dark mode -
-Default
@@ -195,17 +266,7 @@ exports[`Styles/Forms Inputs smoke-test 1`] = ` autocomplete="off" >- Default (dark) -
- -Disabled
@@ -216,17 +277,6 @@ exports[`Styles/Forms Inputs smoke-test 1`] = ` disabled >- Disabled (dark) -
- -Invalid @@ -241,20 +291,6 @@ exports[`Styles/Forms Inputs smoke-test 1`] = ` Oof, what an input
- Invalid (dark) -
- -- Oof, what an input -
-With character insert @@ -273,6 +309,108 @@ exports[`Styles/Forms Inputs smoke-test 1`] = `
+ Default +
++ Disabled +
+