fix: build - retire storybook

This commit is contained in:
liyasthomas
2021-08-03 10:24:32 +05:30
parent 10b7da0558
commit db4521db5a
32 changed files with 137 additions and 14759 deletions

View File

@@ -1,17 +0,0 @@
import Primary from "./Primary.vue"
export default {
component: Primary,
title: "Components/Button",
}
const Template = (_args, { argTypes }) => ({
components: { Primary },
props: Object.keys(argTypes),
template: `<ButtonPrimary v-bind="$props" v-on="$props" />`,
})
export const ButtonPrimary = Template.bind({})
ButtonPrimary.args = {
label: "Primary",
}

View File

@@ -15,7 +15,7 @@
:class="[
color
? `text-${color}-800 bg-${color}-200 hover:text-${color}-900 hover:bg-${color}-300 focus:text-${color}-900 focus:bg-${color}-300`
: `text-primary bg-accent hover:bg-accentDark focus:bg-accentDark`,
: `text-accentContrast bg-accent hover:bg-accentDark focus:bg-accentDark`,
label ? 'px-4' : 'px-2',
rounded ? 'rounded-full' : 'rounded',
{ 'opacity-75 cursor-not-allowed': disabled },

View File

@@ -1,17 +0,0 @@
import Secondary from "./Secondary.vue"
export default {
component: Secondary,
title: "Components/Button",
}
const Template = (_args, { argTypes }) => ({
components: { Secondary },
props: Object.keys(argTypes),
template: `<ButtonSecondary v-bind="$props" v-on="$props" />`,
})
export const ButtonSecondary = Template.bind({})
ButtonSecondary.args = {
label: "Secondary",
}