From a6d95d4fd8d524efe6dd36af55da831c9619b301 Mon Sep 17 00:00:00 2001 From: oti Date: Thu, 2 Oct 2025 22:41:25 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20`TextLink[size=3D"XS"]`=20=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/smarthr-ui/src/components/TextLink/TextLink.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/smarthr-ui/src/components/TextLink/TextLink.tsx b/packages/smarthr-ui/src/components/TextLink/TextLink.tsx index 74f408e5b5..0550d31afe 100644 --- a/packages/smarthr-ui/src/components/TextLink/TextLink.tsx +++ b/packages/smarthr-ui/src/components/TextLink/TextLink.tsx @@ -49,6 +49,9 @@ const classNameGenerator = tv({ }, variants: { size: { + XS: { + anchor: 'shr-text-xs', + }, S: { anchor: 'shr-text-sm', }, From 33cafd1c4c7d8701007190a6fc4c77d70112b381 Mon Sep 17 00:00:00 2001 From: oti Date: Thu, 2 Oct 2025 22:41:47 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20TexLink=20=E3=81=AE=20storybook=20?= =?UTF-8?q?=E3=81=AB=20XS=20=E3=82=B5=E3=82=A4=E3=82=BA=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/TextLink/stories/TextLink.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/smarthr-ui/src/components/TextLink/stories/TextLink.stories.tsx b/packages/smarthr-ui/src/components/TextLink/stories/TextLink.stories.tsx index 68a8c60064..7b25181d88 100644 --- a/packages/smarthr-ui/src/components/TextLink/stories/TextLink.stories.tsx +++ b/packages/smarthr-ui/src/components/TextLink/stories/TextLink.stories.tsx @@ -98,7 +98,7 @@ export const Size: StoryObj = { name: 'size', render: (args) => ( <> - {([undefined, 'M', 'S'] as const).map((size) => ( + {([undefined, 'M', 'S', 'XS'] as const).map((size) => (

{size || 'size未指定'}