From 4dfbf893f78ffbf2b4a0f8fb12c54b258032d583 Mon Sep 17 00:00:00 2001 From: marjutkinnari Date: Wed, 5 Jun 2024 10:56:58 +0300 Subject: [PATCH 1/7] DS-298: Refactored titleLevel in form & in section --- .../lib/components/dialog/dialog.stories.ts | 2 +- .../error-summary.component.spec.ts | 2 +- .../error-summary/error-summary.stories.ts | 2 +- .../components/form/form/form.component.html | 6 +++--- .../form/form/form.component.spec.ts | 2 +- .../lib/components/form/form/form.component.ts | 2 +- .../src/lib/components/form/form/form.docs.mdx | 4 ++-- .../lib/components/form/form/form.stories.ts | 18 +++++++++--------- .../select/multiselect/multiselect.stories.ts | 2 +- .../form/select/select-showcase.stories.ts | 4 ++-- .../components/section/section.component.html | 2 +- .../section/section.component.spec.ts | 6 +++--- .../components/section/section.component.ts | 2 +- .../lib/components/section/section.stories.ts | 10 +++++----- 14 files changed, 32 insertions(+), 32 deletions(-) diff --git a/ngx-fudis/projects/ngx-fudis/src/lib/components/dialog/dialog.stories.ts b/ngx-fudis/projects/ngx-fudis/src/lib/components/dialog/dialog.stories.ts index b6b876df8..60ec3ee1b 100644 --- a/ngx-fudis/projects/ngx-fudis/src/lib/components/dialog/dialog.stories.ts +++ b/ngx-fudis/projects/ngx-fudis/src/lib/components/dialog/dialog.stories.ts @@ -65,7 +65,7 @@ class DialogLaucherComponent { diff --git a/ngx-fudis/projects/ngx-fudis/src/lib/components/form/error-summary/error-summary.component.spec.ts b/ngx-fudis/projects/ngx-fudis/src/lib/components/form/error-summary/error-summary.component.spec.ts index 8fd378a87..b51d7a5b5 100644 --- a/ngx-fudis/projects/ngx-fudis/src/lib/components/form/error-summary/error-summary.component.spec.ts +++ b/ngx-fudis/projects/ngx-fudis/src/lib/components/form/error-summary/error-summary.component.spec.ts @@ -37,7 +37,7 @@ import { LinkDirective } from '../../../directives/link/link.directive'; selector: 'fudis-mock-form-component', template: `
- +
{{ title }} - {{ title }} diff --git a/ngx-fudis/projects/ngx-fudis/src/lib/components/form/form/form.stories.ts b/ngx-fudis/projects/ngx-fudis/src/lib/components/form/form/form.stories.ts index db4f55b5a..d3a4f1837 100644 --- a/ngx-fudis/projects/ngx-fudis/src/lib/components/form/form/form.stories.ts +++ b/ngx-fudis/projects/ngx-fudis/src/lib/components/form/form/form.stories.ts @@ -35,7 +35,7 @@ import { FudisErrorSummaryService } from '../../../services/form/error-summary/e />