-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(storybook): replace fake knobs with controls for simple stor…
…ies (#9385) **Related Issue:** [9084](#9084) ## Summary -Replaces knobs with controls for `simple` stories. -Removes knobs used in all other stories. -Replaces usage of `createComponentHTML` and related utils with HTML.
- Loading branch information
1 parent
ff5630c
commit 22b2fb1
Showing
83 changed files
with
4,586 additions
and
4,035 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* Note: using `.d.ts` file extension will exclude it from the output build */ | ||
export type Alignment = "start" | "center" | "end"; | ||
export type Appearance = "solid" | "outline" | "outline-fill" | "transparent"; | ||
export type Columns = 1 | 2 | 3 | 4 | 5 | 6; | ||
export type FlipContext = "both" | "start" | "end"; | ||
export type Kind = "brand" | "danger" | "info" | "inverse" | "neutral" | "warning" | "success"; | ||
export type Layout = | ||
| "horizontal" | ||
| "vertical" | ||
| "grid" | ||
| "inline" | ||
| "center" | ||
| "auto" | ||
| "fixed" | ||
| "none" | ||
| "horizontal-single"; | ||
export type LogicalFlowPosition = "inline-start" | "inline-end" | "block-start" | "block-end"; | ||
export type ModeClass = "calcite-mode-light" | "calcite-mode-dark" | "calcite-mode-auto"; | ||
export type ModeName = "light" | "dark" | "auto"; | ||
export type Position = "start" | "end" | "top" | "bottom"; | ||
export type SelectionAppearance = "icon" | "border"; | ||
export type SelectionMode = | ||
| "single" | ||
| "none" | ||
| "children" | ||
| "single-persist" | ||
| "multichildren" | ||
| "ancestors" | ||
| "multiple"; | ||
export type Scale = "s" | "m" | "l"; | ||
export type Status = "invalid" | "valid" | "idle"; | ||
export type Width = "auto" | "half" | "full"; | ||
export type ArrowType = "inline" | "edge" | "none"; | ||
export type DisplayMode = "dock" | "float" | "overlay"; | ||
export type ToggleDisplay = "button" | "switch"; | ||
export type Dir = "ltr" | "rtl"; | ||
export type ButtonType = "radio" | "checkbox"; | ||
export type InteractionMode = "interactive" | "static"; | ||
export type IconType = "chevron" | "caret" | "ellipsis" | "overflow"; | ||
export type DeterminateType = "determinate" | "indeterminate"; | ||
export type FillType = "single" | "range"; | ||
export type LabelType = "percent" | "units"; | ||
export type ClickType = "click" | "hover"; | ||
export type CollapseDirection = "down" | "up"; | ||
export type TextType = | ||
| "text" | ||
| "textarea" | ||
| "email" | ||
| "password" | ||
| "tel" | ||
| "number" | ||
| "search" | ||
| "file" | ||
| "time" | ||
| "date"; | ||
export type Mode = "offset" | "name"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.