chore: catch up Storybook preview, coverage, and story hygiene
Stories were throwing without AuthModal/CreateFlow providers, autodocs was a no-op, and several DS/create-flow screens had no stories.
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
import Chip from "../../app/components/controls/Chip";
|
||||
import {
|
||||
CHIP_PALETTE_OPTIONS,
|
||||
CHIP_SIZE_OPTIONS,
|
||||
CHIP_STATE_OPTIONS,
|
||||
} from "../../lib/propNormalization";
|
||||
|
||||
export default {
|
||||
title: "Components/Controls/Chip",
|
||||
@@ -13,17 +18,17 @@ export default {
|
||||
},
|
||||
state: {
|
||||
control: "select",
|
||||
options: ["unselected", "selected", "disabled", "custom"],
|
||||
options: [...CHIP_STATE_OPTIONS],
|
||||
description: "Visual state of the chip",
|
||||
},
|
||||
palette: {
|
||||
control: "select",
|
||||
options: ["default", "inverse"],
|
||||
options: [...CHIP_PALETTE_OPTIONS],
|
||||
description: "Color palette of the chip",
|
||||
},
|
||||
size: {
|
||||
control: "select",
|
||||
options: ["s", "m"],
|
||||
options: [...CHIP_SIZE_OPTIONS],
|
||||
description: "Size of the chip",
|
||||
},
|
||||
disabled: {
|
||||
|
||||
Reference in New Issue
Block a user