From 01f542167f93cb38f0e0619fb7a5c4d982ae05d1 Mon Sep 17 00:00:00 2001 From: WK Date: Mon, 2 Jun 2025 00:58:41 +0800 Subject: [PATCH] fix: broken components in stories (#5291) * chore(switch): remove xl size * chore(docs): remove xl size * chore(system-rsc): remove xl size * chore(circular-progress): remove xl size * chore: undo --- .../components/progress/stories/circular-progress.stories.tsx | 2 -- packages/components/switch/stories/switch.stories.tsx | 2 -- 2 files changed, 4 deletions(-) diff --git a/packages/components/progress/stories/circular-progress.stories.tsx b/packages/components/progress/stories/circular-progress.stories.tsx index b2255d119..e92e43b77 100644 --- a/packages/components/progress/stories/circular-progress.stories.tsx +++ b/packages/components/progress/stories/circular-progress.stories.tsx @@ -106,7 +106,6 @@ export const WithValueFormatting = { args: { ...defaultProps, label: "Loading...", - size: "xl", value: 70, color: "warning", showValueLabel: true, @@ -119,7 +118,6 @@ export const CustomClassnames = { args: { ...defaultProps, - size: "xl", strokeWidth: 4, value: 70, showValueLabel: true, diff --git a/packages/components/switch/stories/switch.stories.tsx b/packages/components/switch/stories/switch.stories.tsx index 585061485..0565e9dab 100644 --- a/packages/components/switch/stories/switch.stories.tsx +++ b/packages/components/switch/stories/switch.stories.tsx @@ -201,7 +201,6 @@ export const DisableAnimation = { export const WithThumbIcon = { args: { ...defaultProps, - size: "xl", thumbIcon: (props: SwitchThumbIconProps) => props.isSelected ? ( @@ -216,7 +215,6 @@ export const WithIcons = { args: { ...defaultProps, - size: "xl", }, };