@regardio/brand 0.12.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,81 +0,0 @@
1
- import { Button } from "./button.mjs";
2
- import { jsx, jsxs } from "react/jsx-runtime";
3
- //#region src/components/button.stories.tsx
4
- const meta = {
5
- argTypes: {
6
- children: {
7
- control: "text",
8
- description: "Button content"
9
- },
10
- disabled: {
11
- control: "boolean",
12
- description: "Disable the button"
13
- },
14
- variant: {
15
- control: "select",
16
- description: "Button style variant",
17
- options: [
18
- "primary",
19
- "secondary",
20
- "outline",
21
- "ghost",
22
- "destructive"
23
- ]
24
- }
25
- },
26
- component: Button,
27
- parameters: { layout: "centered" },
28
- tags: ["autodocs"],
29
- title: "Regardio Brand/Button"
30
- };
31
- const Primary = { args: {
32
- children: "Regardio Button",
33
- variant: "primary"
34
- } };
35
- const Secondary = { args: {
36
- children: "Secondary Button",
37
- variant: "secondary"
38
- } };
39
- const Outline = { args: {
40
- children: "Outline Button",
41
- variant: "outline"
42
- } };
43
- const Ghost = { args: {
44
- children: "Ghost Button",
45
- variant: "ghost"
46
- } };
47
- const Destructive = { args: {
48
- children: "Destructive Button",
49
- variant: "destructive"
50
- } };
51
- const Disabled = { args: {
52
- children: "Disabled Button",
53
- disabled: true
54
- } };
55
- const AllVariants = { render: () => /* @__PURE__ */ jsxs("div", {
56
- className: "flex flex-wrap gap-4",
57
- children: [
58
- /* @__PURE__ */ jsx(Button, {
59
- variant: "primary",
60
- children: "Primary"
61
- }),
62
- /* @__PURE__ */ jsx(Button, {
63
- variant: "secondary",
64
- children: "Secondary"
65
- }),
66
- /* @__PURE__ */ jsx(Button, {
67
- variant: "outline",
68
- children: "Outline"
69
- }),
70
- /* @__PURE__ */ jsx(Button, {
71
- variant: "ghost",
72
- children: "Ghost"
73
- }),
74
- /* @__PURE__ */ jsx(Button, {
75
- variant: "destructive",
76
- children: "Destructive"
77
- })
78
- ]
79
- }) };
80
- //#endregion
81
- export { AllVariants, Destructive, Disabled, Ghost, Outline, Primary, Secondary, meta as default };