diff --git a/packages/dnb-design-system-portal/gatsby-config.js b/packages/dnb-design-system-portal/gatsby-config.js index 886b11b2ad1..b70830fa017 100644 --- a/packages/dnb-design-system-portal/gatsby-config.js +++ b/packages/dnb-design-system-portal/gatsby-config.js @@ -52,7 +52,7 @@ const plugins = [ { resolve: 'gatsby-source-filesystem', options: { - path: `${__dirname}/src/docs`, //for .md (mdx) files + path: `${__dirname}/src/docs`, // for .mdx files name: 'docs', ignore: ['**/Examples.*', '**/*_not_in_use*'], }, @@ -62,6 +62,7 @@ const plugins = [ options: { ignore: [ '**/*.md', + '**/*.mdx', '**/Examples.*', '**/*_not_in_use*', '**/demos/layout/Layout.js', @@ -77,7 +78,7 @@ const plugins = [ { resolve: 'gatsby-plugin-mdx', options: { - extensions: ['.md'], + extensions: ['.mdx'], mdxOptions: { // More info of using plugins: https://github.com/mdx-js/mdx/blob/d4154b8c4a546d0b675826826f85014cc04098c2/docs/plugins.md // rehypePlugins: [], // hastPlugins diff --git a/packages/dnb-design-system-portal/scripts/version.js b/packages/dnb-design-system-portal/scripts/version.js index a90f289f3ae..d3aa6e3b042 100644 --- a/packages/dnb-design-system-portal/scripts/version.js +++ b/packages/dnb-design-system-portal/scripts/version.js @@ -73,7 +73,7 @@ async function createNewChangelogVersion() { const packageJson = await fs.readJson(file) const changelogFilePath = path.resolve( __dirname, - '../src/docs/EUFEMIA_CHANGELOG.md' + '../src/docs/EUFEMIA_CHANGELOG.mdx' ) const content = await fs.readFile(changelogFilePath, 'utf-8') diff --git a/packages/dnb-design-system-portal/src/docs/EUFEMIA_CHANGELOG.md b/packages/dnb-design-system-portal/src/docs/EUFEMIA_CHANGELOG.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/EUFEMIA_CHANGELOG.md rename to packages/dnb-design-system-portal/src/docs/EUFEMIA_CHANGELOG.mdx diff --git a/packages/dnb-design-system-portal/src/docs/brand.md b/packages/dnb-design-system-portal/src/docs/brand.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/brand.md rename to packages/dnb-design-system-portal/src/docs/brand.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute.md b/packages/dnb-design-system-portal/src/docs/contribute.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute.md rename to packages/dnb-design-system-portal/src/docs/contribute.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/contact.md b/packages/dnb-design-system-portal/src/docs/contribute/contact.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/contact.md rename to packages/dnb-design-system-portal/src/docs/contribute/contact.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/deploy.md b/packages/dnb-design-system-portal/src/docs/contribute/deploy.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/deploy.md rename to packages/dnb-design-system-portal/src/docs/contribute/deploy.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/deploy/icons.md b/packages/dnb-design-system-portal/src/docs/contribute/deploy/icons.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/deploy/icons.md rename to packages/dnb-design-system-portal/src/docs/contribute/deploy/icons.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/faq.md b/packages/dnb-design-system-portal/src/docs/contribute/faq.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/faq.md rename to packages/dnb-design-system-portal/src/docs/contribute/faq.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/first-contribution.md b/packages/dnb-design-system-portal/src/docs/contribute/first-contribution.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/first-contribution.md rename to packages/dnb-design-system-portal/src/docs/contribute/first-contribution.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/first-contribution/before-started.md b/packages/dnb-design-system-portal/src/docs/contribute/first-contribution/before-started.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/first-contribution/before-started.md rename to packages/dnb-design-system-portal/src/docs/contribute/first-contribution/before-started.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/getting-started.md b/packages/dnb-design-system-portal/src/docs/contribute/getting-started.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/getting-started.md rename to packages/dnb-design-system-portal/src/docs/contribute/getting-started.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/getting-started/clone-repo.md b/packages/dnb-design-system-portal/src/docs/contribute/getting-started/clone-repo.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/getting-started/clone-repo.md rename to packages/dnb-design-system-portal/src/docs/contribute/getting-started/clone-repo.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/getting-started/commit-changes.md b/packages/dnb-design-system-portal/src/docs/contribute/getting-started/commit-changes.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/getting-started/commit-changes.md rename to packages/dnb-design-system-portal/src/docs/contribute/getting-started/commit-changes.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/getting-started/install-dependencies.md b/packages/dnb-design-system-portal/src/docs/contribute/getting-started/install-dependencies.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/getting-started/install-dependencies.md rename to packages/dnb-design-system-portal/src/docs/contribute/getting-started/install-dependencies.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/getting-started/make-and-run-tests.md b/packages/dnb-design-system-portal/src/docs/contribute/getting-started/make-and-run-tests.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/getting-started/make-and-run-tests.md rename to packages/dnb-design-system-portal/src/docs/contribute/getting-started/make-and-run-tests.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/getting-started/making-changes.md b/packages/dnb-design-system-portal/src/docs/contribute/getting-started/making-changes.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/getting-started/making-changes.md rename to packages/dnb-design-system-portal/src/docs/contribute/getting-started/making-changes.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/getting-started/update-change-logs.md b/packages/dnb-design-system-portal/src/docs/contribute/getting-started/update-change-logs.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/getting-started/update-change-logs.md rename to packages/dnb-design-system-portal/src/docs/contribute/getting-started/update-change-logs.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/rules.md b/packages/dnb-design-system-portal/src/docs/contribute/rules.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/rules.md rename to packages/dnb-design-system-portal/src/docs/contribute/rules.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/style-guides.md b/packages/dnb-design-system-portal/src/docs/contribute/style-guides.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/style-guides.md rename to packages/dnb-design-system-portal/src/docs/contribute/style-guides.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/style-guides/coding.md b/packages/dnb-design-system-portal/src/docs/contribute/style-guides/coding.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/style-guides/coding.md rename to packages/dnb-design-system-portal/src/docs/contribute/style-guides/coding.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/style-guides/documentation.md b/packages/dnb-design-system-portal/src/docs/contribute/style-guides/documentation.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/style-guides/documentation.md rename to packages/dnb-design-system-portal/src/docs/contribute/style-guides/documentation.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/style-guides/git.md b/packages/dnb-design-system-portal/src/docs/contribute/style-guides/git.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/style-guides/git.md rename to packages/dnb-design-system-portal/src/docs/contribute/style-guides/git.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/style-guides/issues.md b/packages/dnb-design-system-portal/src/docs/contribute/style-guides/issues.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/style-guides/issues.md rename to packages/dnb-design-system-portal/src/docs/contribute/style-guides/issues.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/style-guides/naming.md b/packages/dnb-design-system-portal/src/docs/contribute/style-guides/naming.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/style-guides/naming.md rename to packages/dnb-design-system-portal/src/docs/contribute/style-guides/naming.mdx diff --git a/packages/dnb-design-system-portal/src/docs/contribute/vision.md b/packages/dnb-design-system-portal/src/docs/contribute/vision.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/contribute/vision.md rename to packages/dnb-design-system-portal/src/docs/contribute/vision.mdx diff --git a/packages/dnb-design-system-portal/src/docs/design-system.md b/packages/dnb-design-system-portal/src/docs/design-system.mdx similarity index 82% rename from packages/dnb-design-system-portal/src/docs/design-system.md rename to packages/dnb-design-system-portal/src/docs/design-system.mdx index 9e5c1babd63..240515c6b9b 100644 --- a/packages/dnb-design-system-portal/src/docs/design-system.md +++ b/packages/dnb-design-system-portal/src/docs/design-system.mdx @@ -4,7 +4,7 @@ menuTitle: 'Change log' description: 'Change log, contact, etc.' --- -import ChangeLog from './EUFEMIA_CHANGELOG.md' +import ChangeLog from './EUFEMIA_CHANGELOG.mdx' import ReleasesInfo from './design-system/changelog/info-about-releases' # Change log of Eufemia diff --git a/packages/dnb-design-system-portal/src/docs/design-system/about.md b/packages/dnb-design-system-portal/src/docs/design-system/about.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/design-system/about.md rename to packages/dnb-design-system-portal/src/docs/design-system/about.mdx diff --git a/packages/dnb-design-system-portal/src/docs/design-system/about/living-system.md b/packages/dnb-design-system-portal/src/docs/design-system/about/living-system.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/design-system/about/living-system.md rename to packages/dnb-design-system-portal/src/docs/design-system/about/living-system.mdx diff --git a/packages/dnb-design-system-portal/src/docs/design-system/about/story.md b/packages/dnb-design-system-portal/src/docs/design-system/about/story.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/design-system/about/story.md rename to packages/dnb-design-system-portal/src/docs/design-system/about/story.mdx diff --git a/packages/dnb-design-system-portal/src/docs/design-system/changelog.md b/packages/dnb-design-system-portal/src/docs/design-system/changelog.mdx similarity index 79% rename from packages/dnb-design-system-portal/src/docs/design-system/changelog.md rename to packages/dnb-design-system-portal/src/docs/design-system/changelog.mdx index f8ecaabef96..53f46d49ceb 100644 --- a/packages/dnb-design-system-portal/src/docs/design-system/changelog.md +++ b/packages/dnb-design-system-portal/src/docs/design-system/changelog.mdx @@ -5,7 +5,7 @@ draft: true order: 1 --- -import ChangeLog from '../EUFEMIA_CHANGELOG.md' +import ChangeLog from '../EUFEMIA_CHANGELOG.mdx' import ReleasesInfo from './changelog/info-about-releases' # Change log of Eufemia diff --git a/packages/dnb-design-system-portal/src/docs/design-system/changelog/info-about-releases.md b/packages/dnb-design-system-portal/src/docs/design-system/changelog/info-about-releases.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/design-system/changelog/info-about-releases.md rename to packages/dnb-design-system-portal/src/docs/design-system/changelog/info-about-releases.mdx diff --git a/packages/dnb-design-system-portal/src/docs/design-system/contact.md b/packages/dnb-design-system-portal/src/docs/design-system/contact.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/design-system/contact.md rename to packages/dnb-design-system-portal/src/docs/design-system/contact.mdx diff --git a/packages/dnb-design-system-portal/src/docs/design-system/credits.md b/packages/dnb-design-system-portal/src/docs/design-system/credits.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/design-system/credits.md rename to packages/dnb-design-system-portal/src/docs/design-system/credits.mdx diff --git a/packages/dnb-design-system-portal/src/docs/design-system/privacy.md b/packages/dnb-design-system-portal/src/docs/design-system/privacy.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/design-system/privacy.md rename to packages/dnb-design-system-portal/src/docs/design-system/privacy.mdx diff --git a/packages/dnb-design-system-portal/src/docs/icons.md b/packages/dnb-design-system-portal/src/docs/icons.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/icons.md rename to packages/dnb-design-system-portal/src/docs/icons.mdx diff --git a/packages/dnb-design-system-portal/src/docs/icons/details.md b/packages/dnb-design-system-portal/src/docs/icons/details.mdx similarity index 97% rename from packages/dnb-design-system-portal/src/docs/icons/details.md rename to packages/dnb-design-system-portal/src/docs/icons/details.mdx index 341fcd69fb7..68cf799efb5 100644 --- a/packages/dnb-design-system-portal/src/docs/icons/details.md +++ b/packages/dnb-design-system-portal/src/docs/icons/details.mdx @@ -7,7 +7,7 @@ order: 1 import InlineImg from 'dnb-design-system-portal/src/shared/tags/Img' import IconNearestNeighbour from 'Docs/quickguide-designer/assets/icon-nearest-neighbour.svg' -import FormStatusIcons from 'Docs/icons/form-status.md' +import FormStatusIcons from 'Docs/icons/form-status.mdx' # Icon Details diff --git a/packages/dnb-design-system-portal/src/docs/icons/form-status.md b/packages/dnb-design-system-portal/src/docs/icons/form-status.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/icons/form-status.md rename to packages/dnb-design-system-portal/src/docs/icons/form-status.mdx diff --git a/packages/dnb-design-system-portal/src/docs/icons/other.md b/packages/dnb-design-system-portal/src/docs/icons/other.mdx similarity index 80% rename from packages/dnb-design-system-portal/src/docs/icons/other.md rename to packages/dnb-design-system-portal/src/docs/icons/other.mdx index 60fa72758f4..028d4eff504 100644 --- a/packages/dnb-design-system-portal/src/docs/icons/other.md +++ b/packages/dnb-design-system-portal/src/docs/icons/other.mdx @@ -5,7 +5,7 @@ icon: 'helper_classes' order: 4 --- -import FormStatusIcons from 'Docs/icons/form-status.md' +import FormStatusIcons from 'Docs/icons/form-status.mdx' # Other Icons diff --git a/packages/dnb-design-system-portal/src/docs/icons/primary.md b/packages/dnb-design-system-portal/src/docs/icons/primary.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/icons/primary.md rename to packages/dnb-design-system-portal/src/docs/icons/primary.mdx diff --git a/packages/dnb-design-system-portal/src/docs/icons/secondary.md b/packages/dnb-design-system-portal/src/docs/icons/secondary.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/icons/secondary.md rename to packages/dnb-design-system-portal/src/docs/icons/secondary.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/accessibility.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/accessibility.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/accessibility.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/accessibility.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/accessibility/checklist.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/accessibility/checklist.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/accessibility/checklist.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/accessibility/checklist.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/colors-table.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/colors-table.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/colors-table.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/colors-table.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/colors.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/colors.mdx similarity index 99% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/colors.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/colors.mdx index 8c74a9f42b3..0539684117c 100644 --- a/packages/dnb-design-system-portal/src/docs/quickguide-designer/colors.md +++ b/packages/dnb-design-system-portal/src/docs/quickguide-designer/colors.mdx @@ -3,7 +3,7 @@ title: 'Colors' icon: 'colors' --- -import ColorsTable from 'Docs/quickguide-designer/colors-table.md' +import ColorsTable from 'Docs/quickguide-designer/colors-table.mdx' # Colors diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/fonts.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/fonts.mdx similarity index 82% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/fonts.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/fonts.mdx index 41858798c83..98595afbe51 100644 --- a/packages/dnb-design-system-portal/src/docs/quickguide-designer/fonts.md +++ b/packages/dnb-design-system-portal/src/docs/quickguide-designer/fonts.mdx @@ -3,11 +3,11 @@ title: 'Fonts & Typography' icon: 'fonts' --- -import TypographicRules from 'Docs/quickguide-designer/typography/typographic-rules.md' -import TypographicElements from 'Docs/quickguide-designer/typography/typographic-elements.md' -import FontWeights from 'Docs/quickguide-designer/typography/font-weights.md' -import LineHeight from 'Docs/quickguide-designer/typography/line-height.md' -import FontFamilies from 'Docs/quickguide-designer/typography/font-families.md' +import TypographicRules from 'Docs/quickguide-designer/typography/typographic-rules.mdx' +import TypographicElements from 'Docs/quickguide-designer/typography/typographic-elements.mdx' +import FontWeights from 'Docs/quickguide-designer/typography/font-weights.mdx' +import LineHeight from 'Docs/quickguide-designer/typography/line-height.mdx' +import FontFamilies from 'Docs/quickguide-designer/typography/font-families.mdx' # Fonts & Typography diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/inspiration.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/inspiration.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/inspiration.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/inspiration.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/logos.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/logos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/logos.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/logos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/naming-conventions.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/naming-conventions.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/naming-conventions.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/naming-conventions.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/principles.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/principles.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/principles.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/principles.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/spatial-system.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/spatial-system.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/spatial-system.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/spatial-system.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/tools.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/tools.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/tools.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/tools.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-families.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-families.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-families.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-families.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-weights.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-weights.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-weights.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-weights.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/line-height.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/line-height.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/line-height.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/line-height.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/typographic-elements.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/typographic-elements.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/typographic-elements.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/typographic-elements.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/typographic-rules.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/typographic-rules.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/typographic-rules.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/typographic-rules.mdx diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/ui-resources.md b/packages/dnb-design-system-portal/src/docs/quickguide-designer/ui-resources.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/quickguide-designer/ui-resources.md rename to packages/dnb-design-system-portal/src/docs/quickguide-designer/ui-resources.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib.md b/packages/dnb-design-system-portal/src/docs/uilib.mdx similarity index 86% rename from packages/dnb-design-system-portal/src/docs/uilib.md rename to packages/dnb-design-system-portal/src/docs/uilib.mdx index d27907cef6d..0632cf19364 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib.md +++ b/packages/dnb-design-system-portal/src/docs/uilib.mdx @@ -3,8 +3,8 @@ title: 'UI Library' description: 'Buttons, dropdowns, input fields, components etc.' --- -import WelcomeAdvice from 'Docs/welcome-advice.md' -import WatchingReleases from 'Docs/uilib/info/about-watching-releases.md' +import WelcomeAdvice from 'Docs/welcome-advice.mdx' +import WatchingReleases from 'Docs/uilib/info/about-watching-releases.mdx' # UI Library diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib.mdx similarity index 98% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib.mdx index 9699d65458d..b0239791e37 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib.mdx @@ -4,8 +4,8 @@ icon: 'about_the_lib' order: 1 --- -import WelcomeAdvice from 'Docs/welcome-advice.md' -import WatchingReleases from 'Docs/uilib/info/about-watching-releases.md' +import WelcomeAdvice from 'Docs/welcome-advice.mdx' +import WatchingReleases from 'Docs/uilib/info/about-watching-releases.mdx' # About the library diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases.mdx similarity index 96% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases.mdx index 77c0777951d..bf4437be1c4 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases.mdx @@ -5,7 +5,7 @@ redirect_from: - /uilib/releases --- -import WelcomeAdvice from 'Docs/welcome-advice.md' +import WelcomeAdvice from 'Docs/welcome-advice.mdx' import GithubLogo from 'Docs/contribute/assets/github-logo.js' import { Icon } from '@dnb/eufemia/src' diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4-info.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.10-info.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.10-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.10-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.10-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.18-info.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.18-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.18-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.18-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5-info.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5.8-info.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5.8-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5.8-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5.8-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v6-info.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v6-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v6-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v6-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7-info.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7.2-info.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7.2-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7.2-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7.2-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v8-info.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v8-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v8-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v8-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v10-info.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v10-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v10-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v10-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v11-info.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v11-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v11-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v11-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v9-info.md b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v9-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v9-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v9-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components.md b/packages/dnb-design-system-portal/src/docs/uilib/components.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components.md rename to packages/dnb-design-system-portal/src/docs/uilib/components.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/accordion.md b/packages/dnb-design-system-portal/src/docs/uilib/components/accordion.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/accordion.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/accordion.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/accordion/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/accordion/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/accordion/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/accordion/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/accordion/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/accordion/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/accordion/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/accordion/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/accordion/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/accordion/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/accordion/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/accordion/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/accordion/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/accordion/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/accordion/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/accordion/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete.md b/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/methods.md b/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/methods.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/methods.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/methods.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/visual-tests.md b/packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/visual-tests.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/visual-tests.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/visual-tests.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/avatar.md b/packages/dnb-design-system-portal/src/docs/uilib/components/avatar.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/avatar.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/avatar.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/avatar/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/avatar/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/avatar/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/avatar/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/avatar/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/avatar/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/avatar/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/avatar/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/avatar/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/avatar/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/avatar/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/avatar/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/avatar/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/avatar/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/avatar/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/avatar/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/badge.md b/packages/dnb-design-system-portal/src/docs/uilib/components/badge.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/badge.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/badge.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/badge/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/badge/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/badge/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/badge/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/badge/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/badge/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/badge/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/badge/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/badge/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/badge/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/badge/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/badge/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/badge/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/badge/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/badge/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/badge/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb.md b/packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/button.md b/packages/dnb-design-system-portal/src/docs/uilib/components/button.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/button.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/button.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/button/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/button/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/button/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/button/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/button/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/button/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/button/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/button/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/button/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/button/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/button/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/button/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/button/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/button/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/button/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/button/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/cards.md b/packages/dnb-design-system-portal/src/docs/uilib/components/cards.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/cards.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/cards.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/checkbox.md b/packages/dnb-design-system-portal/src/docs/uilib/components/checkbox.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/checkbox.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/checkbox.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/date-picker.md b/packages/dnb-design-system-portal/src/docs/uilib/components/date-picker.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/date-picker.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/date-picker.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/dialog.md b/packages/dnb-design-system-portal/src/docs/uilib/components/dialog.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/dialog.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/dialog.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/dialog/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/dialog/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/dialog/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/dialog/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/dialog/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/dialog/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/dialog/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/dialog/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/dialog/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/dialog/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/dialog/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/dialog/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/dialog/prop-table.md b/packages/dnb-design-system-portal/src/docs/uilib/components/dialog/prop-table.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/dialog/prop-table.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/dialog/prop-table.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/dialog/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/dialog/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/dialog/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/dialog/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/drawer.md b/packages/dnb-design-system-portal/src/docs/uilib/components/drawer.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/drawer.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/drawer.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/drawer/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/drawer/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/drawer/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/drawer/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/drawer/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/drawer/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/drawer/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/drawer/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/drawer/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/drawer/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/drawer/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/drawer/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/drawer/prop-table.md b/packages/dnb-design-system-portal/src/docs/uilib/components/drawer/prop-table.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/drawer/prop-table.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/drawer/prop-table.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/drawer/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/drawer/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/drawer/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/drawer/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/drawer/visual-tests/hidden-tests.md b/packages/dnb-design-system-portal/src/docs/uilib/components/drawer/visual-tests/hidden-tests.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/drawer/visual-tests/hidden-tests.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/drawer/visual-tests/hidden-tests.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/dropdown.md b/packages/dnb-design-system-portal/src/docs/uilib/components/dropdown.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/dropdown.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/dropdown.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-label.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-label.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-label.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-label.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-label/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-label/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-label/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-label/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-label/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-label/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-label/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-label/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-label/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-label/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-label/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-label/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-row.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-row.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-row.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-row.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-row/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-row/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-row/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-row/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-row/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-row/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-row/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-row/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-row/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-row/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-row/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-row/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-row/provider.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-row/provider.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-row/provider.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-row/provider.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-set.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-set.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-set.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-set.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-set/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-set/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-set/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-set/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-set/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-set/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-set/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-set/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-set/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-set/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-set/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-set/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-set/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-set/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-set/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-set/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-status.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-status.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-status.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-status.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-status/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-status/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-status/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-status/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-status/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-status/info.mdx similarity index 94% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-status/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-status/info.mdx index 579d1a7c9d6..b3dfcb90ccb 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/components/form-status/info.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/components/form-status/info.mdx @@ -4,7 +4,7 @@ redirect_from: - /uilib/components/status-message/info --- -import FormStatusIcons from 'Docs/icons/form-status.md' +import FormStatusIcons from 'Docs/icons/form-status.mdx' ## Description diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/form-status/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/form-status/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/form-status/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/form-status/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/fragments.md b/packages/dnb-design-system-portal/src/docs/uilib/components/fragments.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/fragments.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/fragments.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list.md b/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view.md b/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/global-error.md b/packages/dnb-design-system-portal/src/docs/uilib/components/global-error.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/global-error.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/global-error.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/global-error/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/global-error/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/global-error/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/global-error/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/global-error/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/global-error/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/global-error/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/global-error/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/global-error/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/global-error/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/global-error/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/global-error/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/global-status.md b/packages/dnb-design-system-portal/src/docs/uilib/components/global-status.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/global-status.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/global-status.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/global-status/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/global-status/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/global-status/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/global-status/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/global-status/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/global-status/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/global-status/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/global-status/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/global-status/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/global-status/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/global-status/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/global-status/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/global-status/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/global-status/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/global-status/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/global-status/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/heading.md b/packages/dnb-design-system-portal/src/docs/uilib/components/heading.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/heading.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/heading.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/heading/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/heading/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/heading/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/heading/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/heading/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/heading/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/heading/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/heading/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/heading/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/heading/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/heading/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/heading/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/height-animation.md b/packages/dnb-design-system-portal/src/docs/uilib/components/height-animation.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/height-animation.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/height-animation.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/help-button.md b/packages/dnb-design-system-portal/src/docs/uilib/components/help-button.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/help-button.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/help-button.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/help-button/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/help-button/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/help-button/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/help-button/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/help-button/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/help-button/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/help-button/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/help-button/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/help-button/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/help-button/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/help-button/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/help-button/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/help-button/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/help-button/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/help-button/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/help-button/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary.md b/packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/icon.md b/packages/dnb-design-system-portal/src/docs/uilib/components/icon.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/icon.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/icon.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/icon/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/icon/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/icon/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/icon/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/icon/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/icon/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/icon/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/icon/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/icon/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/icon/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/icon/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/icon/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/info-card.md b/packages/dnb-design-system-portal/src/docs/uilib/components/info-card.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/info-card.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/info-card.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/info-card/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/info-card/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/info-card/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/info-card/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/info-card/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/info-card/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/info-card/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/info-card/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/info-card/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/info-card/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/info-card/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/info-card/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/info-card/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/info-card/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/info-card/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/info-card/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/input-masked.md b/packages/dnb-design-system-portal/src/docs/uilib/components/input-masked.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/input-masked.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/input-masked.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/input.md b/packages/dnb-design-system-portal/src/docs/uilib/components/input.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/input.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/input.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/input/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/input/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/input/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/input/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/input/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/input/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/input/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/input/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/input/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/input/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/input/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/input/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/input/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/input/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/input/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/input/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/logo.md b/packages/dnb-design-system-portal/src/docs/uilib/components/logo.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/logo.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/logo.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/logo/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/logo/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/logo/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/logo/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/logo/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/logo/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/logo/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/logo/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/logo/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/logo/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/logo/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/logo/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/modal.md b/packages/dnb-design-system-portal/src/docs/uilib/components/modal.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/modal.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/modal.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/modal/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/modal/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/modal/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/modal/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/modal/event-table.md b/packages/dnb-design-system-portal/src/docs/uilib/components/modal/event-table.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/modal/event-table.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/modal/event-table.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/modal/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/modal/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/modal/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/modal/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/modal/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/modal/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/modal/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/modal/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/modal/prop-table.md b/packages/dnb-design-system-portal/src/docs/uilib/components/modal/prop-table.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/modal/prop-table.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/modal/prop-table.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/modal/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/modal/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/modal/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/modal/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/number-format.md b/packages/dnb-design-system-portal/src/docs/uilib/components/number-format.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/number-format.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/number-format.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/number-format/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/number-format/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/number-format/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/number-format/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/number-format/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/number-format/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/number-format/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/number-format/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/number-format/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/number-format/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/number-format/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/number-format/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/number-format/provider.md b/packages/dnb-design-system-portal/src/docs/uilib/components/number-format/provider.mdx similarity index 93% rename from packages/dnb-design-system-portal/src/docs/uilib/components/number-format/provider.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/number-format/provider.mdx index 9c2fd0cb8b5..b452b39aaae 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/components/number-format/provider.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/components/number-format/provider.mdx @@ -4,6 +4,6 @@ redirect_from: - /uilib/components/number/provider --- -import ProviderInfo from 'Docs/uilib/usage/customisation/provider-info.md' +import ProviderInfo from 'Docs/uilib/usage/customisation/provider-info.mdx' diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/pagination.md b/packages/dnb-design-system-portal/src/docs/uilib/components/pagination.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/pagination.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/pagination.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/pagination/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/pagination/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/pagination/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/pagination/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller.md b/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/pagination/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/pagination/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/pagination/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/pagination/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/pagination/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/placeholder-indicator.md b/packages/dnb-design-system-portal/src/docs/uilib/components/placeholder-indicator.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/placeholder-indicator.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/placeholder-indicator.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator.md b/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/visual-tests.md b/packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/visual-tests.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/visual-tests.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/visual-tests.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/radio.md b/packages/dnb-design-system-portal/src/docs/uilib/components/radio.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/radio.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/radio.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/radio/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/radio/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/radio/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/radio/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/radio/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/radio/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/radio/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/radio/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/radio/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/radio/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/radio/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/radio/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/radio/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/radio/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/radio/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/radio/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/section.md b/packages/dnb-design-system-portal/src/docs/uilib/components/section.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/section.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/section.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/section/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/section/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/section/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/section/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/section/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/section/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/section/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/section/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/section/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/section/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/section/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/section/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/skeleton.md b/packages/dnb-design-system-portal/src/docs/uilib/components/skeleton.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/skeleton.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/skeleton.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/skip-content.md b/packages/dnb-design-system-portal/src/docs/uilib/components/skip-content.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/skip-content.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/skip-content.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/slider.md b/packages/dnb-design-system-portal/src/docs/uilib/components/slider.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/slider.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/slider.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/slider/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/slider/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/slider/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/slider/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/slider/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/slider/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/slider/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/slider/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/slider/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/slider/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/slider/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/slider/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/slider/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/slider/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/slider/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/slider/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/space.md b/packages/dnb-design-system-portal/src/docs/uilib/components/space.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/space.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/space.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/space/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/space/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/space/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/space/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/space/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/space/info.mdx similarity index 99% rename from packages/dnb-design-system-portal/src/docs/uilib/components/space/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/space/info.mdx index 2cc168a5e00..88706efab8f 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/components/space/info.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/components/space/info.mdx @@ -2,7 +2,7 @@ showTabs: true --- -import SpacingTable from 'Docs/uilib/usage/layout/spacing-table.md' +import SpacingTable from 'Docs/uilib/usage/layout/spacing-table.mdx' ## Description diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/space/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/space/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/space/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/space/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator.md b/packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/switch.md b/packages/dnb-design-system-portal/src/docs/uilib/components/switch.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/switch.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/switch.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/switch/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/switch/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/switch/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/switch/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/switch/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/switch/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/switch/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/switch/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/switch/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/switch/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/switch/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/switch/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/switch/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/switch/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/switch/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/switch/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/table.md b/packages/dnb-design-system-portal/src/docs/uilib/components/table.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/table.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/table.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/table/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/table/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/table/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/table/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/table/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/table/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/table/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/table/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/table/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/table/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/table/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/table/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/table/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/table/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/table/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/table/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tabs.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tabs.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tabs.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tabs.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tabs/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tabs/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tabs/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tabs/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tabs/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tabs/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tabs/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tabs/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tabs/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tabs/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tabs/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tabs/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tabs/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tabs/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tabs/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tabs/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tag.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tag.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tag.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tag.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tag/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tag/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tag/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tag/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tag/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tag/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tag/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tag/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tag/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tag/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tag/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tag/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tag/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tag/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tag/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tag/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/textarea.md b/packages/dnb-design-system-portal/src/docs/uilib/components/textarea.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/textarea.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/textarea.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/textarea/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/textarea/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/textarea/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/textarea/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/textarea/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/textarea/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/textarea/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/textarea/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/textarea/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/textarea/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/textarea/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/textarea/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/textarea/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/textarea/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/textarea/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/textarea/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/timeline.md b/packages/dnb-design-system-portal/src/docs/uilib/components/timeline.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/timeline.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/timeline.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/timeline/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/timeline/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/timeline/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/timeline/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/timeline/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/timeline/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/timeline/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/timeline/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/timeline/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/timeline/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/timeline/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/timeline/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/timeline/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/timeline/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/timeline/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/timeline/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button.md b/packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tooltip.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tooltip.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tooltip.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tooltip.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/upload.md b/packages/dnb-design-system-portal/src/docs/uilib/components/upload.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/upload.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/upload.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/upload/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/upload/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/upload/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/upload/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/upload/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/upload/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/upload/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/upload/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/upload/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/upload/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/upload/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/upload/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/upload/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/upload/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/upload/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/upload/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden.md b/packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/events.md b/packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/events.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/events.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/events.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/info.md b/packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/elements.md b/packages/dnb-design-system-portal/src/docs/uilib/elements.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/elements.md rename to packages/dnb-design-system-portal/src/docs/uilib/elements.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/elements/anchor.md b/packages/dnb-design-system-portal/src/docs/uilib/elements/anchor.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/elements/anchor.md rename to packages/dnb-design-system-portal/src/docs/uilib/elements/anchor.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/elements/anchor/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/elements/anchor/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/elements/anchor/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/elements/anchor/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/elements/blockquote.md b/packages/dnb-design-system-portal/src/docs/uilib/elements/blockquote.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/elements/blockquote.md rename to packages/dnb-design-system-portal/src/docs/uilib/elements/blockquote.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/elements/code.md b/packages/dnb-design-system-portal/src/docs/uilib/elements/code.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/elements/code.md rename to packages/dnb-design-system-portal/src/docs/uilib/elements/code.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/elements/heading.md b/packages/dnb-design-system-portal/src/docs/uilib/elements/heading.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/elements/heading.md rename to packages/dnb-design-system-portal/src/docs/uilib/elements/heading.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/elements/horizontal-rule.md b/packages/dnb-design-system-portal/src/docs/uilib/elements/horizontal-rule.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/elements/horizontal-rule.md rename to packages/dnb-design-system-portal/src/docs/uilib/elements/horizontal-rule.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/elements/image.md b/packages/dnb-design-system-portal/src/docs/uilib/elements/image.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/elements/image.md rename to packages/dnb-design-system-portal/src/docs/uilib/elements/image.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/elements/lists.md b/packages/dnb-design-system-portal/src/docs/uilib/elements/lists.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/elements/lists.md rename to packages/dnb-design-system-portal/src/docs/uilib/elements/lists.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/elements/not-supported.md b/packages/dnb-design-system-portal/src/docs/uilib/elements/not-supported.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/elements/not-supported.md rename to packages/dnb-design-system-portal/src/docs/uilib/elements/not-supported.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/elements/paragraph.md b/packages/dnb-design-system-portal/src/docs/uilib/elements/paragraph.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/elements/paragraph.md rename to packages/dnb-design-system-portal/src/docs/uilib/elements/paragraph.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/elements/unstyled.md b/packages/dnb-design-system-portal/src/docs/uilib/elements/unstyled.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/elements/unstyled.md rename to packages/dnb-design-system-portal/src/docs/uilib/elements/unstyled.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions.md b/packages/dnb-design-system-portal/src/docs/uilib/extensions.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/extensions.md rename to packages/dnb-design-system-portal/src/docs/uilib/extensions.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card.md b/packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card.md rename to packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/info.md b/packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/maker.md b/packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/maker.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/maker.md rename to packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/maker.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/products.md b/packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/products.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/products.md rename to packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/products.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/getting-started.md b/packages/dnb-design-system-portal/src/docs/uilib/getting-started.mdx similarity index 95% rename from packages/dnb-design-system-portal/src/docs/uilib/getting-started.md rename to packages/dnb-design-system-portal/src/docs/uilib/getting-started.mdx index fd9a3335f42..7ca598ff063 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/getting-started.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/getting-started.mdx @@ -5,7 +5,7 @@ icon: 'getting_started' order: 2 --- -import WelcomeAdvice from 'Docs/welcome-advice.md' +import WelcomeAdvice from 'Docs/welcome-advice.mdx' import { Button, Section } from '@dnb/eufemia/src' # Getting Started diff --git a/packages/dnb-design-system-portal/src/docs/uilib/getting-started/demos.md b/packages/dnb-design-system-portal/src/docs/uilib/getting-started/demos.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/getting-started/demos.md rename to packages/dnb-design-system-portal/src/docs/uilib/getting-started/demos.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/getting-started/living-system.md b/packages/dnb-design-system-portal/src/docs/uilib/getting-started/living-system.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/getting-started/living-system.md rename to packages/dnb-design-system-portal/src/docs/uilib/getting-started/living-system.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/getting-started/maintainability.md b/packages/dnb-design-system-portal/src/docs/uilib/getting-started/maintainability.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/getting-started/maintainability.md rename to packages/dnb-design-system-portal/src/docs/uilib/getting-started/maintainability.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/getting-started/requirements.md b/packages/dnb-design-system-portal/src/docs/uilib/getting-started/requirements.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/getting-started/requirements.md rename to packages/dnb-design-system-portal/src/docs/uilib/getting-started/requirements.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/helpers.md b/packages/dnb-design-system-portal/src/docs/uilib/helpers.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/helpers.md rename to packages/dnb-design-system-portal/src/docs/uilib/helpers.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/helpers/classes.md b/packages/dnb-design-system-portal/src/docs/uilib/helpers/classes.mdx similarity index 98% rename from packages/dnb-design-system-portal/src/docs/uilib/helpers/classes.md rename to packages/dnb-design-system-portal/src/docs/uilib/helpers/classes.mdx index ab1248956da..c4a5d76e8bb 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/helpers/classes.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/helpers/classes.mdx @@ -3,11 +3,11 @@ showTabs: true --- import { -CoreStyleExample, -TabFocusExample, -UnstyledListExample, -ScreenReaderOnlyExample, -SelectionExample + CoreStyleExample, + TabFocusExample, + UnstyledListExample, + ScreenReaderOnlyExample, + SelectionExample, } from 'Docs/uilib/helpers/Examples' import SkipLinkExample from 'Docs/uilib/usage/accessibility/examples/skip-link-example.tsx' diff --git a/packages/dnb-design-system-portal/src/docs/uilib/helpers/functions.md b/packages/dnb-design-system-portal/src/docs/uilib/helpers/functions.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/helpers/functions.md rename to packages/dnb-design-system-portal/src/docs/uilib/helpers/functions.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/helpers/info.md b/packages/dnb-design-system-portal/src/docs/uilib/helpers/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/helpers/info.md rename to packages/dnb-design-system-portal/src/docs/uilib/helpers/info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/helpers/tools.md b/packages/dnb-design-system-portal/src/docs/uilib/helpers/tools.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/helpers/tools.md rename to packages/dnb-design-system-portal/src/docs/uilib/helpers/tools.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/info/about-watching-releases.md b/packages/dnb-design-system-portal/src/docs/uilib/info/about-watching-releases.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/info/about-watching-releases.md rename to packages/dnb-design-system-portal/src/docs/uilib/info/about-watching-releases.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro.md b/packages/dnb-design-system-portal/src/docs/uilib/intro.mdx similarity index 95% rename from packages/dnb-design-system-portal/src/docs/uilib/intro.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro.mdx index c3f8fc7c0fe..ea2510e54d5 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/intro.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/intro.mdx @@ -2,6 +2,6 @@ fullscreen: true --- -import IntroPage from 'Docs/uilib/intro/01-about-design-systems.md' +import IntroPage from 'Docs/uilib/intro/01-about-design-systems.mdx' diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/01-about-design-systems.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/01-about-design-systems.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/01-about-design-systems.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/01-about-design-systems.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/02-common-patterns.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/02-common-patterns.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/02-common-patterns.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/02-common-patterns.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/03-accessibility.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/03-accessibility.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/03-accessibility.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/03-accessibility.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/04-ux-handover.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/04-ux-handover.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/04-ux-handover.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/04-ux-handover.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/05-eufemia-for-developers.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/05-eufemia-for-developers.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/05-eufemia-for-developers.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/05-eufemia-for-developers.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/06-css-packages.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/06-css-packages.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/06-css-packages.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/06-css-packages.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/07-typography.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/07-typography.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/07-typography.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/07-typography.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/08-color-usage.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/08-color-usage.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/08-color-usage.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/08-color-usage.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/09-icons.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/09-icons.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/09-icons.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/09-icons.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/10-layout.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/10-layout.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/10-layout.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/10-layout.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/11-components-elements-extensions.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/11-components-elements-extensions.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/11-components-elements-extensions.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/11-components-elements-extensions.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/12-usage-of-components-elements.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/12-usage-of-components-elements.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/12-usage-of-components-elements.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/12-usage-of-components-elements.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/13-quality-and-tests.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/13-quality-and-tests.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/13-quality-and-tests.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/13-quality-and-tests.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/14-helpers.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/14-helpers.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/14-helpers.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/14-helpers.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/intro/15-summary.md b/packages/dnb-design-system-portal/src/docs/uilib/intro/15-summary.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/intro/15-summary.md rename to packages/dnb-design-system-portal/src/docs/uilib/intro/15-summary.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/shared/media-query/properties.md b/packages/dnb-design-system-portal/src/docs/uilib/shared/media-query/properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/shared/media-query/properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/shared/media-query/properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/typography.md b/packages/dnb-design-system-portal/src/docs/uilib/typography.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/typography.md rename to packages/dnb-design-system-portal/src/docs/uilib/typography.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/typography/font-size.md b/packages/dnb-design-system-portal/src/docs/uilib/typography/font-size.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/typography/font-size.md rename to packages/dnb-design-system-portal/src/docs/uilib/typography/font-size.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/typography/font-weight.md b/packages/dnb-design-system-portal/src/docs/uilib/typography/font-weight.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/typography/font-weight.md rename to packages/dnb-design-system-portal/src/docs/uilib/typography/font-weight.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/typography/line-height.md b/packages/dnb-design-system-portal/src/docs/uilib/typography/line-height.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/typography/line-height.md rename to packages/dnb-design-system-portal/src/docs/uilib/typography/line-height.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage.md b/packages/dnb-design-system-portal/src/docs/uilib/usage.mdx similarity index 99% rename from packages/dnb-design-system-portal/src/docs/uilib/usage.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage.mdx index a1c0eab610d..057a3889527 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/usage.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/usage.mdx @@ -4,7 +4,7 @@ icon: 'usage' order: 3 --- -import WatchingReleases from 'Docs/uilib/info/about-watching-releases.md' +import WatchingReleases from 'Docs/uilib/info/about-watching-releases.mdx' # Usage diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility.mdx similarity index 96% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility.mdx index 6be16318630..166d435f4f4 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility.mdx @@ -3,7 +3,7 @@ title: 'Accessibility' order: 5 --- -import AboutAccessibility from 'Docs/uilib/usage/accessibility/about-accessibility.md' +import AboutAccessibility from 'Docs/uilib/usage/accessibility/about-accessibility.mdx' # Accessibility diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/about-accessibility.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/about-accessibility.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/about-accessibility.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/about-accessibility.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/checklist.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/checklist.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/checklist.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/checklist.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/focus.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/focus.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/focus.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/focus.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/icons.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/icons.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/icons.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/icons.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/screenreader.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/screenreader.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/screenreader.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/screenreader.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-javascript.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-javascript.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-javascript.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-javascript.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-styling.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-styling.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-styling.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-styling.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-testing.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-testing.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-testing.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-testing.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-typography.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-typography.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-typography.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/for-typography.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/customisation.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/customisation.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/colors.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/colors.mdx similarity index 85% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/colors.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/colors.mdx index c8935235f8f..2ae95582e3e 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/colors.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/colors.mdx @@ -3,11 +3,9 @@ title: 'Colors' order: 5 --- -import ColorsTable from 'Docs/quickguide-designer/colors-table.md' +import ColorsTable from 'Docs/quickguide-designer/colors-table.mdx' -import { -ColorsExample -} from 'Docs/uilib/usage/customisation/Examples' +import { ColorsExample } from 'Docs/uilib/usage/customisation/Examples' # Colors diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/component-properties.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/component-properties.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/component-properties.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/component-properties.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/localization.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/localization.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/localization.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/localization.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/provider-info.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/provider-info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/provider-info.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/provider-info.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/provider.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/provider.mdx similarity index 98% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/provider.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/provider.mdx index b44f1bf4611..42c38bcef65 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/provider.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/provider.mdx @@ -3,7 +3,7 @@ title: 'Provider / Context' order: 9 --- -import ProviderInfo from 'Docs/uilib/usage/customisation/provider-info.md' +import ProviderInfo from 'Docs/uilib/usage/customisation/provider-info.mdx' # Provider / Context diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling/consume-styles.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling/consume-styles.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling/consume-styles.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling/consume-styles.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling/polyfill.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling/polyfill.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling/polyfill.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling/polyfill.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/theming.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/theming.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/theming.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/theming.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/bundles.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/bundles.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/bundles.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/bundles.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/module-formats.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/module-formats.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/module-formats.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/module-formats.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/react.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/react.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/react.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/react.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/the-basics.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/the-basics.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/the-basics.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/the-basics.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/layout.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/layout.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/layout.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/layout.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/layout/grid.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/layout/grid.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/layout/grid.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/layout/grid.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/layout/media-queries.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/layout/media-queries.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/layout/media-queries.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/layout/media-queries.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/layout/spacing-table.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/layout/spacing-table.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/layout/spacing-table.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/layout/spacing-table.mdx diff --git a/packages/dnb-design-system-portal/src/docs/uilib/usage/layout/spacing.md b/packages/dnb-design-system-portal/src/docs/uilib/usage/layout/spacing.mdx similarity index 99% rename from packages/dnb-design-system-portal/src/docs/uilib/usage/layout/spacing.md rename to packages/dnb-design-system-portal/src/docs/uilib/usage/layout/spacing.mdx index 4b102e587fb..39d4fe50a32 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/usage/layout/spacing.md +++ b/packages/dnb-design-system-portal/src/docs/uilib/usage/layout/spacing.mdx @@ -3,7 +3,7 @@ title: 'Spacing' order: 1 --- -import SpacingTable from 'Docs/uilib/usage/layout/spacing-table.md' +import SpacingTable from 'Docs/uilib/usage/layout/spacing-table.mdx' # Spacing diff --git a/packages/dnb-design-system-portal/src/docs/welcome-advice.md b/packages/dnb-design-system-portal/src/docs/welcome-advice.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs/welcome-advice.md rename to packages/dnb-design-system-portal/src/docs/welcome-advice.mdx diff --git a/packages/dnb-design-system-portal/src/docs_dummy/dummy.md b/packages/dnb-design-system-portal/src/docs_dummy/dummy.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs_dummy/dummy.md rename to packages/dnb-design-system-portal/src/docs_dummy/dummy.mdx diff --git a/packages/dnb-design-system-portal/src/docs_dummy/dummy/info.md b/packages/dnb-design-system-portal/src/docs_dummy/dummy/info.mdx similarity index 100% rename from packages/dnb-design-system-portal/src/docs_dummy/dummy/info.md rename to packages/dnb-design-system-portal/src/docs_dummy/dummy/info.mdx diff --git a/packages/dnb-eufemia/scripts/prebuild/tasks/__tests__/__snapshots__/generateTypes.test.js.snap b/packages/dnb-eufemia/scripts/prebuild/tasks/__tests__/__snapshots__/generateTypes.test.js.snap index 66a86cd281b..4c0b0f37895 100644 --- a/packages/dnb-eufemia/scripts/prebuild/tasks/__tests__/__snapshots__/generateTypes.test.js.snap +++ b/packages/dnb-eufemia/scripts/prebuild/tasks/__tests__/__snapshots__/generateTypes.test.js.snap @@ -3,24 +3,9 @@ exports[`generateTypes has to match PrimaryComponent snapshot 1`] = ` "import * as React from 'react'; export interface PrimaryComponentSpacing { - /** - * Text \`margin-top\`. - */ top?: string | number | boolean; - - /** - * Text \`margin-right\`. - */ right?: string | number | boolean; - - /** - * Text \`margin-bottom\`. - */ bottom?: string | number | boolean; - - /** - * Text \`margin-left\`. - */ left?: string | number | boolean; } export type PrimaryComponentFoo = string | number | boolean; @@ -31,51 +16,20 @@ export type PrimaryComponentLeft = string | number | boolean; export type PrimaryComponentSecondary = string | number | boolean; export type PrimaryComponentSecondaryFoo = string | number | boolean; export interface PrimaryComponentSecondarySpacing { - /** - * Text \`secondary\`. - */ secondary?: string | number | boolean; } export interface PrimaryComponentProps { boolean?: boolean; number?: number; - - /** - * Text \`spacing\` or \`children\`. - */ spacing?: PrimaryComponentSpacing; foo?: PrimaryComponentFoo; - - /** - * Text \`margin-top\`. - */ top?: PrimaryComponentTop; - - /** - * Text \`margin-right\`. - */ right?: PrimaryComponentRight; - - /** - * Text \`margin-bottom\`. - */ bottom?: PrimaryComponentBottom; - - /** - * Text \`margin-left\`. - */ left?: PrimaryComponentLeft; - - /** - * Text \`secondary\`. - */ secondary?: PrimaryComponentSecondary; secondary_foo?: PrimaryComponentSecondaryFoo; secondary_spacing?: PrimaryComponentSecondarySpacing; - - /** - * Text \`spacing\` or \`children\`. - */ children?: React.ReactNode; } export default class PrimaryComponent extends React.Component< @@ -95,19 +49,8 @@ export type ElementSecondary = string | number | boolean; * NB: Do not change the docs (comments) in here. The docs are updated during build time by "generateTypes.js" and "fetchPropertiesFromDocs.js". */ export interface ElementProps extends React.HTMLProps { - /** - * Text \`secondary\`. - */ secondary?: ElementSecondary; - - /** - * Text \`children\`. - */ children?: React.ReactNode; - - /** - * SecondProperty. - */ secondProperty?: string; } declare const Element: React.FC; diff --git a/packages/dnb-eufemia/scripts/prebuild/tasks/__tests__/generateTypes.test.js b/packages/dnb-eufemia/scripts/prebuild/tasks/__tests__/generateTypes.test.js index b0443e47be7..74a05cf81dd 100644 --- a/packages/dnb-eufemia/scripts/prebuild/tasks/__tests__/generateTypes.test.js +++ b/packages/dnb-eufemia/scripts/prebuild/tasks/__tests__/generateTypes.test.js @@ -19,7 +19,7 @@ describe('generateTypes', () => { const [{ destFile, definitionContent }] = await createTypes([file], { isTest: true, docsDir, - findFiles: ['PrimaryComponent.md'], + findFiles: ['PrimaryComponent.mdx'], }) expect(destFile).toContain('__mocks__/PrimaryComponent.d.ts') @@ -36,7 +36,7 @@ describe('generateTypes', () => { const [{ destFile, definitionContent }] = await createTypes([file], { isTest: true, docsDir, - findFiles: ['SecondaryComponent.md'], + findFiles: ['SecondaryComponent.mdx'], }) expect(destFile).toContain('__mocks__/SecondaryComponent.d.ts') diff --git a/packages/dnb-eufemia/scripts/prebuild/tasks/generateTypes/__tests__/__snapshots__/babelPluginIncludeDocs.test.js.snap b/packages/dnb-eufemia/scripts/prebuild/tasks/generateTypes/__tests__/__snapshots__/babelPluginIncludeDocs.test.js.snap index 2e917bb5e59..a1993631786 100644 --- a/packages/dnb-eufemia/scripts/prebuild/tasks/generateTypes/__tests__/__snapshots__/babelPluginIncludeDocs.test.js.snap +++ b/packages/dnb-eufemia/scripts/prebuild/tasks/generateTypes/__tests__/__snapshots__/babelPluginIncludeDocs.test.js.snap @@ -31,50 +31,22 @@ export default class PrimaryComponent extends React.PureComponent { PrimaryComponent.propTypes = { boolean: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]), number: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - - /** - * Text \`spacing\` or \`children\`. - */ spacing: PropTypes.shape({ top: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), right: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), bottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), left: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]) }), - - /** - * Text \`margin-top\`. - */ top: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-right\`. - */ right: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-bottom\`. - */ bottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-left\`. - */ left: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`secondary\`. - */ secondary: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), classProperty: PropTypes.string, secondary_foo: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), secondary_spacing: PropTypes.shape({ secondary: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]) }), - - /** - * Text \`spacing\` or \`children\`. - */ children: PropTypes.node }; PrimaryComponent.defaultProps = { @@ -97,49 +69,21 @@ const Element = () => { Element.propTypes = { boolean: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]), number: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - - /** - * Text \`spacing\` or \`children\`. - */ spacing: PropTypes.shape({ top: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), right: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), bottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), left: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]) }), - - /** - * Text \`margin-top\`. - */ top: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-right\`. - */ right: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-bottom\`. - */ bottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-left\`. - */ left: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`secondary\`. - */ secondary: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), secondary_foo: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), secondary_spacing: PropTypes.shape({ secondary: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]) }), - - /** - * Text \`spacing\` or \`children\`. - */ children: PropTypes.node }; Element.defaultProps = { @@ -183,50 +127,22 @@ export default class PrimaryComponent extends React.PureComponent { PrimaryComponent.propTypes = { boolean: PropTypes.bool, number: PropTypes.number, - - /** - * Text \`spacing\` or \`children\`. - */ spacing: PropTypes.shape({ top: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), right: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), bottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), left: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]) }), - - /** - * Text \`margin-top\`. - */ top: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-right\`. - */ right: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-bottom\`. - */ bottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-left\`. - */ left: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`secondary\`. - */ secondary: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), classProperty: PropTypes.string, secondary_foo: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), secondary_spacing: PropTypes.shape({ secondary: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]) }), - - /** - * Text \`spacing\` or \`children\`. - */ children: PropTypes.node }; PrimaryComponent.defaultProps = { @@ -249,49 +165,21 @@ const Element = () => { Element.propTypes = { boolean: PropTypes.bool, number: PropTypes.number, - - /** - * Text \`spacing\` or \`children\`. - */ spacing: PropTypes.shape({ top: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), right: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), bottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), left: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]) }), - - /** - * Text \`margin-top\`. - */ top: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-right\`. - */ right: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-bottom\`. - */ bottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-left\`. - */ left: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`secondary\`. - */ secondary: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), secondary_foo: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), secondary_spacing: PropTypes.shape({ secondary: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]) }), - - /** - * Text \`spacing\` or \`children\`. - */ children: PropTypes.node }; Element.defaultProps = { @@ -335,50 +223,22 @@ export default class PrimaryComponent extends React.PureComponent { PrimaryComponent.propTypes = { boolean: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]), number: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - - /** - * Text \`spacing\` or \`children\`. - */ spacing: PropTypes.shape({ top: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), right: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), bottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), left: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]) }), - - /** - * Text \`margin-top\`. - */ top: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-right\`. - */ right: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-bottom\`. - */ bottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-left\`. - */ left: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`secondary\`. - */ secondary: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), classProperty: PropTypes.string, secondary_foo: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), secondary_spacing: PropTypes.shape({ secondary: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]) }), - - /** - * Text \`spacing\` or \`children\`. - */ children: PropTypes.node }; PrimaryComponent.defaultProps = { @@ -401,49 +261,21 @@ const Element = () => { Element.propTypes = { boolean: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]), number: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - - /** - * Text \`spacing\` or \`children\`. - */ spacing: PropTypes.shape({ top: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), right: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), bottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), left: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]) }), - - /** - * Text \`margin-top\`. - */ top: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-right\`. - */ right: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-bottom\`. - */ bottom: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`margin-left\`. - */ left: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), - - /** - * Text \`secondary\`. - */ secondary: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), secondary_foo: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]), secondary_spacing: PropTypes.shape({ secondary: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]) }), - - /** - * Text \`spacing\` or \`children\`. - */ children: PropTypes.node }; Element.defaultProps = { @@ -486,14 +318,6 @@ exports[`babelPluginIncludeDocs has to match collectProps snapshot given by onCo exports[`babelPluginIncludeDocs has to match docs snapshot 1`] = ` [ - { - "bottom": "Text \`margin-bottom\`.", - "children": "Text \`spacing\` or \`children\`.", - "left": "Text \`margin-left\`.", - "right": "Text \`margin-right\`.", - "secondary": "Text \`secondary\`.", - "spacing": "Text \`spacing\` or \`children\`.", - "top": "Text \`margin-top\`.", - }, + null, ] `; diff --git a/packages/dnb-eufemia/scripts/prebuild/tasks/generateTypes/__tests__/babelPluginIncludeDocs.test.js b/packages/dnb-eufemia/scripts/prebuild/tasks/generateTypes/__tests__/babelPluginIncludeDocs.test.js index 8823762b09c..b15c99965d5 100644 --- a/packages/dnb-eufemia/scripts/prebuild/tasks/generateTypes/__tests__/babelPluginIncludeDocs.test.js +++ b/packages/dnb-eufemia/scripts/prebuild/tasks/generateTypes/__tests__/babelPluginIncludeDocs.test.js @@ -26,7 +26,7 @@ describe('babelPluginIncludeDocs', () => { const { docs } = await fetchPropertiesFromDocs({ file, docsDir, - findFiles: ['PrimaryComponent.md'], + findFiles: ['PrimaryComponent.mdx'], }) const { code } = await transformFileAsync(file, { @@ -57,7 +57,7 @@ describe('babelPluginIncludeDocs', () => { const { docs } = await fetchPropertiesFromDocs({ file, docsDir, - findFiles: ['PrimaryComponent.md'], + findFiles: ['PrimaryComponent.mdx'], }) expect(docs).toMatchSnapshot() }) diff --git a/packages/dnb-eufemia/scripts/prebuild/tasks/generateTypes/fetchPropertiesFromDocs.js b/packages/dnb-eufemia/scripts/prebuild/tasks/generateTypes/fetchPropertiesFromDocs.js index 55964a215a5..b4267e03c9d 100644 --- a/packages/dnb-eufemia/scripts/prebuild/tasks/generateTypes/fetchPropertiesFromDocs.js +++ b/packages/dnb-eufemia/scripts/prebuild/tasks/generateTypes/fetchPropertiesFromDocs.js @@ -70,21 +70,17 @@ function extractPathParts({ file }) { export async function fetchPropertiesFromDocs({ file, // Component file docsDir = ROOT_DIR, // The dir, where the docs are placed - findFiles = ['properties.md', 'events.md'], // type of .md files to look for + findFiles = ['properties.mdx', 'events.mdx'], // type of .md files to look for } = {}) { if (process.env.NODE_ENV !== 'test') { log.start('> PrePublish: generating docs for types') } try { - const { - groupDir, - componentDir, - componentName, - unsureSituation, - } = extractPathParts({ - file, - }) + const { groupDir, componentDir, componentName, unsureSituation } = + extractPathParts({ + file, + }) const markdownFiles = findFiles.map((filename) => { let file = path.resolve(docsDir, groupDir, componentDir, filename) @@ -177,7 +173,7 @@ async function extractorFactory({ const filename = href .replace(/^\//, '') .replace(path.extname(href), '') - const file = path.resolve(dir, filename + '.md') + const file = path.resolve(dir, filename + '.mdx') const { componentName } = extractPathParts({ file, })