diff --git a/.changeset/gold-rabbits-train.md b/.changeset/gold-rabbits-train.md new file mode 100644 index 0000000000..63cfc9b529 --- /dev/null +++ b/.changeset/gold-rabbits-train.md @@ -0,0 +1,6 @@ +--- +'@swisspost/design-system-documentation': patch +'@swisspost/design-system-styles': patch +--- + +Removed the icon from inside form-controls (`input`, `select`, `textarea`). diff --git a/packages/documentation/src/stories/components/forms/textarea/textarea.stories.ts b/packages/documentation/src/stories/components/forms/textarea/textarea.stories.ts index 8e13aa311a..d2ccae6656 100644 --- a/packages/documentation/src/stories/components/forms/textarea/textarea.stories.ts +++ b/packages/documentation/src/stories/components/forms/textarea/textarea.stories.ts @@ -189,19 +189,19 @@ function renderTextarea(args: Args, context: StoryContext) { : null; const contextual = [ args.validation === 'is-valid' - ? html`
Ggranda sukceso!
` + ? html`
Ggranda sukceso!
` : null, args.validation === 'is-invalid' - ? html`
Eraro okazis!
` + ? html`
Eraro okazis!
` : null, - args.hint !== '' ? html`
${args.hint}
` : null, + args.hint !== '' ? html`
${args.hint}
` : null, ]; const control = html`