From 6dcdbcc2ae8146786c076420aae15e945346ab2d Mon Sep 17 00:00:00 2001 From: Marco Falkenberg Date: Mon, 5 Feb 2024 16:43:04 +0100 Subject: [PATCH] docs(StatusIcon): fix heading level --- .../docs/src/content/02-components/status-icon/index.mdx | 2 +- packages/docs/src/lib/liveCode/dynamicImports.ts | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/docs/src/content/02-components/status-icon/index.mdx b/packages/docs/src/content/02-components/status-icon/index.mdx index 0d6785179..bbab97163 100644 --- a/packages/docs/src/content/02-components/status-icon/index.mdx +++ b/packages/docs/src/content/02-components/status-icon/index.mdx @@ -1,6 +1,6 @@ ## Example -## Accessibility +### Accessibility The `aria-label` is pre-filled with a standard translation based on the variant. diff --git a/packages/docs/src/lib/liveCode/dynamicImports.ts b/packages/docs/src/lib/liveCode/dynamicImports.ts index fdf9cc1ed..500b8df88 100644 --- a/packages/docs/src/lib/liveCode/dynamicImports.ts +++ b/packages/docs/src/lib/liveCode/dynamicImports.ts @@ -8,7 +8,8 @@ import { faSnowboarding as I11 } from "@fortawesome/free-solid-svg-icons/faSnowb import { faSnowplow as I12 } from "@fortawesome/free-solid-svg-icons/faSnowplow"; import { NavigationItem as I19 } from "@mittwald/flow-next-components/Navigation"; import { faUser as I20 } from "@fortawesome/free-regular-svg-icons/faUser"; -import { faHardDrive as I21 } from "@fortawesome/free-regular-svg-icons/faHardDrive"; +import { faHardDrive as I21 } from "@fortawesome/free-regular-svg-icons/faHardDrive"; +import { faSave as I33 } from "@fortawesome/free-regular-svg-icons/faSave"; export const liveCodeEditorGlobalImports: ImportMapping = { "Avatar:@mittwald/flow-next-components/Avatar": lazy(() => import("@mittwald/flow-next-components/Avatar").then(module => ({ default: module.Avatar } ))), @@ -40,5 +41,9 @@ export const liveCodeEditorGlobalImports: ImportMapping = { "Switch:@mittwald/flow-next-components/Switch": lazy(() => import("@mittwald/flow-next-components/Switch").then(module => ({ default: module.Switch } ))), "FieldDescription:@mittwald/flow-next-components/FieldDescription": lazy(() => import("@mittwald/flow-next-components/FieldDescription").then(module => ({ default: module.FieldDescription } ))), "TextArea:@mittwald/flow-next-components/TextArea": lazy(() => import("@mittwald/flow-next-components/TextArea").then(module => ({ default: module.TextArea } ))), -"TextField:@mittwald/flow-next-components/TextField": lazy(() => import("@mittwald/flow-next-components/TextField").then(module => ({ default: module.TextField } ))), +"TextField:@mittwald/flow-next-components/TextField": lazy(() => import("@mittwald/flow-next-components/TextField").then(module => ({ default: module.TextField } ))), +"React:react": lazy(() => import("react").then(module => ({ default: module.React } ))), +"Tooltip:@mittwald/flow-next-components/Tooltip": lazy(() => import("@mittwald/flow-next-components/Tooltip").then(module => ({ default: module.Tooltip } ))), +"TooltipTrigger:@mittwald/flow-next-components/Tooltip": lazy(() => import("@mittwald/flow-next-components/Tooltip").then(module => ({ default: module.TooltipTrigger } ))), +"faSave:@fortawesome/free-regular-svg-icons/faSave": I33, }; \ No newline at end of file