@graph-paper/button
Advanced tools
Comparing version 0.0.0-alpha.5 to 0.0.0-alpha.6
@@ -1,5 +0,5 @@ | ||
import Button from './Button.svelte'; | ||
import ButtonGroup from './ButtonGroup.svelte'; | ||
import Button from "./Button.svelte"; | ||
import ButtonGroup from "./ButtonGroup.svelte"; | ||
export default Button; | ||
export { Button, ButtonGroup }; |
import "./style.css"; | ||
export * from './base.js'; | ||
export { default } from './base.js'; | ||
export * from "./base.js"; | ||
export { default } from "./base.js"; |
{ | ||
"name": "@graph-paper/button", | ||
"version": "0.0.0-alpha.5", | ||
"version": "0.0.0-alpha.6", | ||
"description": "__DESCRIPTION_FORTHCOMING__", | ||
@@ -19,5 +19,5 @@ "author": "hamilton <hamilton.ulmer@gmail.com>", | ||
"dependencies": { | ||
"@graph-paper/core": "^0.0.0-alpha.5" | ||
"@graph-paper/core": "^0.0.0-alpha.6" | ||
}, | ||
"gitHead": "d916947a1ae42aeef105220528458ef14d7118aa" | ||
"gitHead": "c6c560ce4670955b065b379082b1cd7f4253d0a7" | ||
} |
@@ -1,9 +0,9 @@ | ||
import Button from '../'; | ||
import ButtonGroupStory01 from './ButtonGroupStory01.svelte' | ||
import { withKnobs, text } from '@storybook/addon-knobs'; | ||
import knobs from './knobs'; | ||
import Button from "../"; | ||
import ButtonGroupStory01 from "./ButtonGroupStory01.svelte"; | ||
import { withKnobs, text } from "@storybook/addon-knobs"; | ||
import knobs from "./knobs"; | ||
export default { | ||
title: 'Button', | ||
decorators: [withKnobs], | ||
}; | ||
title: "Button", | ||
decorators: [withKnobs], | ||
}; | ||
@@ -13,6 +13,6 @@ export const BasicButton = () => ({ | ||
props: { | ||
label: text('label', 'button text'), | ||
label: text("label", "button text"), | ||
...knobs(), | ||
}, | ||
}) | ||
}); | ||
@@ -22,4 +22,4 @@ export const BasicButtonGroup = () => ({ | ||
props: { | ||
...knobs() | ||
} | ||
}); | ||
...knobs(), | ||
}, | ||
}); |
@@ -1,8 +0,12 @@ | ||
import { select, boolean } from '@storybook/addon-knobs'; | ||
import { select, boolean } from "@storybook/addon-knobs"; | ||
const levelOptions = ['low', 'medium', 'high']; | ||
const levelOptions = ["low", "medium", "high"]; | ||
export default (defaults = {}) => ({ | ||
level: select('level', defaults.levelOptions || levelOptions, defaults.level || 'high'), | ||
compact: boolean('compact', false) | ||
}) | ||
level: select( | ||
"level", | ||
defaults.levelOptions || levelOptions, | ||
defaults.level || "high" | ||
), | ||
compact: boolean("compact", false), | ||
}); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138
6456