stone-kit
Version:
uikit for redesign
119 lines (118 loc) • 1.75 kB
JavaScript
import { l as t } from "../../../../index-BJwl9stn.js";
import { Button as a } from "../../../../components/Button/ui/Button.js";
import { BUTTON_VARIANTS as s } from "../../../../components/Button/ui/Button.types.js";
const n = {
title: "shared/ui/Button",
component: a,
parameters: {
layout: "centered"
},
tags: ["autodocs"],
argTypes: {
variant: {
control: {
type: "select",
options: Object.keys(s)
}
},
size: {
control: {
type: "select",
options: ["large", "medium", "small", "tiny"]
}
},
width: {
control: {
type: "select",
options: ["auto", "full"]
}
}
},
args: {
onCLick: t(),
children: "Button"
}
}, i = {
args: {
variant: "blue"
}
}, l = {
args: {
variant: "gray"
}
}, c = {
args: {
variant: "whiteStroke"
}
}, g = {
args: {
variant: "sokolniki"
}
}, d = {
args: {
variant: "black"
}
}, m = {
args: {
variant: "whiteFilled"
}
}, u = {
args: {
variant: "shade"
}
}, p = {
args: {
variant: "volodiyaLight"
}
}, h = {
args: {
variant: "lightBlue"
}
}, y = {
args: {
variant: "transparent"
}
}, v = {
args: {
size: "large"
}
}, k = {
args: {
size: "medium"
}
}, B = {
args: {
size: "small"
}
}, L = {
args: {
size: "tiny"
}
}, S = {
args: {
pre: "🔥"
}
}, T = {
args: {
isLoading: !0
}
};
export {
d as Black,
i as Blue,
l as Gray,
v as Large,
h as LightBlue,
T as Loading,
k as Medium,
u as Shade,
B as Small,
g as Sokolniki,
L as Tiny,
y as Transparent,
p as VolodiyaLight,
m as WhiteFilled,
c as WhiteStroke,
S as WithIcon,
n as default
};