From 34121932ce846fce283425b90a2eadbf7b916ab3 Mon Sep 17 00:00:00 2001 From: Carangeot Date: Tue, 19 Mar 2024 11:06:16 +0100 Subject: [PATCH] fix: disable-border props alert in stories + id not required for tag --- packages/components/alert/stories/alert.stories.ts | 6 +++--- packages/components/tag/src/tag.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/alert/stories/alert.stories.ts b/packages/components/alert/stories/alert.stories.ts index 5abf29c6..22c5b171 100644 --- a/packages/components/alert/stories/alert.stories.ts +++ b/packages/components/alert/stories/alert.stories.ts @@ -309,7 +309,7 @@ export const Warning: StoryObj = { @@ -358,7 +358,7 @@ export const Info: StoryObj = { @@ -407,7 +407,7 @@ export const Danger: StoryObj = { diff --git a/packages/components/tag/src/tag.ts b/packages/components/tag/src/tag.ts index e5eaf77a..75c3e52c 100644 --- a/packages/components/tag/src/tag.ts +++ b/packages/components/tag/src/tag.ts @@ -19,7 +19,7 @@ export type PuikTagSizeVariant = (typeof tagSizeVariants)[number] export const tagProps = buildProps({ id: { type: String, - required: true, + required: false, default: undefined, }, content: {