Skip to content

Commit f5ed8fd

Browse files
docs(statuslight): move variant description to JSDocs
1 parent 6528bc6 commit f5ed8fd

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

second-gen/packages/swc/components/status-light/StatusLight.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class StatusLight extends StatusLightBase {
5757
static override readonly VARIANTS = STATUSLIGHT_VARIANTS_S2;
5858

5959
/**
60-
* The variant of the status light.
60+
* Changes the color of the status dot. The variant list includes both semantic and non-semantic options.
6161
*/
6262
@property({ type: String, reflect: true })
6363
public override variant: StatusLightVariant = 'info';

second-gen/packages/swc/components/status-light/stories/status-light.stories.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@ const { args, argTypes, template } = getStorybookHelpers('swc-status-light');
2626

2727
argTypes.variant = {
2828
...argTypes.variant,
29-
name: 'Variant',
30-
description:
31-
'Changes the color of the status dot. The variant list includes both semantic and non-semantic options.',
32-
type: { name: 'string', required: true },
33-
table: {
34-
type: { summary: 'string' },
35-
defaultValue: { summary: 'info' },
36-
category: 'Component',
37-
},
3829
control: { type: 'select' },
3930
options: StatusLight.VARIANTS,
4031
};

0 commit comments

Comments
 (0)