;
// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
export const Default: Story = {
- args: {},
+ args: {
+ size: "medium",
+ className: "",
+ },
};
diff --git a/src/components/Tab/Tab.mdx b/src/components/Tab/Tab.mdx
index 8c05a8d..2e5f103 100644
--- a/src/components/Tab/Tab.mdx
+++ b/src/components/Tab/Tab.mdx
@@ -19,8 +19,6 @@ import { Meta, Controls, Canvas } from "@storybook/blocks";
-Obs: Essa versão será depreciada em novas atualizações, por favor uitlize a versão com os childrens.
-
diff --git a/src/components/Tab/Tab.stories.tsx b/src/components/Tab/Tab.stories.tsx
index 672a35a..7dfb2da 100644
--- a/src/components/Tab/Tab.stories.tsx
+++ b/src/components/Tab/Tab.stories.tsx
@@ -11,11 +11,6 @@ const meta = {
export default meta;
type Story = StoryObj;
-// eslint-disable-next-line no-alert
-alert(
- "Atenção: A versão Tab Component props será depreciada em futuras atualizações. Por favor, migre para a nova versão do componente Tab.",
-);
-
const tabsArray = [
{
name: "Teste 1",
diff --git a/src/components/Toast/index.stories.tsx b/src/components/Toast/index.stories.tsx
index 4513d2c..5d6349a 100644
--- a/src/components/Toast/index.stories.tsx
+++ b/src/components/Toast/index.stories.tsx
@@ -24,4 +24,5 @@ Variations.args = {
message:
"Porem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis. Class",
title: "teste",
+ className: "",
};
diff --git a/src/components/ToggleSwitch/ToggleSwitch.stories.ts b/src/components/ToggleSwitch/ToggleSwitch.stories.ts
index 1c5283d..2230dd7 100644
--- a/src/components/ToggleSwitch/ToggleSwitch.stories.ts
+++ b/src/components/ToggleSwitch/ToggleSwitch.stories.ts
@@ -7,6 +7,12 @@ const meta = {
title: "Forms/ToggleSwitch",
component: ToggleSwitch,
tags: [],
+ argTypes: {
+ size: {
+ options: ["sm", "md", "lg", null, undefined],
+ control: { type: "select" },
+ },
+ },
} satisfies Meta;
export default meta;
@@ -14,5 +20,7 @@ type Story = StoryObj;
// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
export const Default: Story = {
- args: {},
+ args: {
+ size: "md",
+ },
};
diff --git a/src/components/Tooltip/Tooltip.stories.tsx b/src/components/Tooltip/Tooltip.stories.tsx
index 10aa1dd..0ca5608 100644
--- a/src/components/Tooltip/Tooltip.stories.tsx
+++ b/src/components/Tooltip/Tooltip.stories.tsx
@@ -8,6 +8,12 @@ const meta = {
title: "Overlay/Tooltip",
component: Tooltip,
tags: [],
+ argTypes: {
+ color: {
+ options: ["primary", "secondary", "tertiary", null, undefined],
+ control: { type: "select" },
+ },
+ },
} satisfies Meta;
export default meta;
@@ -26,5 +32,6 @@ export const Default: Story = {
description:
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.",
position: "bottomRight",
+ color: "primary",
},
};