mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
chore: remove storybook
This commit is contained in:
parent
856086dc71
commit
378fe06e03
116 changed files with 103 additions and 14249 deletions
|
@ -1,5 +0,0 @@
|
|||
<script>
|
||||
import TooltipDefinition from "./TooltipDefinition.svelte";
|
||||
</script>
|
||||
|
||||
<TooltipDefinition {...$$props}>Definition Tooltip</TooltipDefinition>
|
|
@ -1,31 +0,0 @@
|
|||
import { withKnobs, select, text } from "@storybook/addon-knobs";
|
||||
import Component from "./TooltipDefinition.Story.svelte";
|
||||
|
||||
export default { title: "TooltipDefinition", decorators: [withKnobs] };
|
||||
|
||||
const directions = {
|
||||
"Top (top)": "top",
|
||||
"Bottom (bottom)": "bottom",
|
||||
};
|
||||
|
||||
const alignments = {
|
||||
"Start (start)": "start",
|
||||
"Center (center)": "center",
|
||||
"End (end)": "end",
|
||||
};
|
||||
|
||||
export const Default = () => ({
|
||||
Component,
|
||||
props: {
|
||||
direction: select("Tooltip direction (direction)", directions, "bottom"),
|
||||
align: select(
|
||||
"Tooltip alignment to trigger button (align)",
|
||||
alignments,
|
||||
"start"
|
||||
),
|
||||
tooltipText: text(
|
||||
"Tooltip content (tooltipText)",
|
||||
"Brief description of the dotted, underlined words above."
|
||||
),
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue