From 55a4c5cb5ffe79f537e7a0d1dbf55fffac3bab40 Mon Sep 17 00:00:00 2001 From: Joakim Bjerknes Date: Tue, 28 Feb 2023 15:06:47 +0100 Subject: [PATCH] docs(Extension): convert md to mdx files (#2026) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs:(Extension): convert md to mdx files * chore: ensure correct referencing mdx files from other files * chore: make config pick up mdx as doc files * chore(Tests): update snapshots --------- Co-authored-by: Tobias Høegh --- .../dnb-design-system-portal/gatsby-config.js | 5 +- .../scripts/version.js | 2 +- ...MIA_CHANGELOG.md => EUFEMIA_CHANGELOG.mdx} | 0 .../src/docs/{brand.md => brand.mdx} | 0 .../docs/{contribute.md => contribute.mdx} | 0 .../contribute/{contact.md => contact.mdx} | 0 .../docs/contribute/{deploy.md => deploy.mdx} | 0 .../contribute/deploy/{icons.md => icons.mdx} | 0 .../src/docs/contribute/{faq.md => faq.mdx} | 0 ...contribution.md => first-contribution.mdx} | 0 .../{before-started.md => before-started.mdx} | 0 ...getting-started.md => getting-started.mdx} | 0 .../{clone-repo.md => clone-repo.mdx} | 0 .../{commit-changes.md => commit-changes.mdx} | 0 ...pendencies.md => install-dependencies.mdx} | 0 ...nd-run-tests.md => make-and-run-tests.mdx} | 0 .../{making-changes.md => making-changes.mdx} | 0 ...-change-logs.md => update-change-logs.mdx} | 0 .../docs/contribute/{rules.md => rules.mdx} | 0 .../{style-guides.md => style-guides.mdx} | 0 .../style-guides/{coding.md => coding.mdx} | 0 .../{documentation.md => documentation.mdx} | 0 .../style-guides/{git.md => git.mdx} | 0 .../style-guides/{issues.md => issues.mdx} | 0 .../style-guides/{naming.md => naming.mdx} | 0 .../docs/contribute/{vision.md => vision.mdx} | 0 .../{design-system.md => design-system.mdx} | 2 +- .../design-system/{about.md => about.mdx} | 0 .../{living-system.md => living-system.mdx} | 0 .../about/{story.md => story.mdx} | 0 .../{changelog.md => changelog.mdx} | 2 +- ...ut-releases.md => info-about-releases.mdx} | 0 .../design-system/{contact.md => contact.mdx} | 0 .../design-system/{credits.md => credits.mdx} | 0 .../design-system/{privacy.md => privacy.mdx} | 0 .../src/docs/{icons.md => icons.mdx} | 0 .../docs/icons/{details.md => details.mdx} | 2 +- .../icons/{form-status.md => form-status.mdx} | 0 .../src/docs/icons/{other.md => other.mdx} | 2 +- .../docs/icons/{primary.md => primary.mdx} | 0 .../icons/{secondary.md => secondary.mdx} | 0 ...de-designer.md => quickguide-designer.mdx} | 0 .../{accessibility.md => accessibility.mdx} | 0 .../{checklist.md => checklist.mdx} | 0 .../{colors-table.md => colors-table.mdx} | 0 .../{colors.md => colors.mdx} | 2 +- .../{fonts.md => fonts.mdx} | 10 +- .../{inspiration.md => inspiration.mdx} | 0 .../{logos.md => logos.mdx} | 0 ...-conventions.md => naming-conventions.mdx} | 0 .../{principles.md => principles.mdx} | 0 .../{spatial-system.md => spatial-system.mdx} | 0 .../{tools.md => tools.mdx} | 0 .../{font-families.md => font-families.mdx} | 0 .../{font-weights.md => font-weights.mdx} | 0 .../{line-height.md => line-height.mdx} | 0 ...c-elements.md => typographic-elements.mdx} | 0 ...graphic-rules.md => typographic-rules.mdx} | 0 .../{ui-resources.md => ui-resources.mdx} | 0 .../src/docs/{uilib.md => uilib.mdx} | 4 +- .../{about-the-lib.md => about-the-lib.mdx} | 4 +- .../{releases.md => releases.mdx} | 2 +- .../dnb-ui-lib/{v4-info.md => v4-info.mdx} | 0 .../{v4.10-info.md => v4.10-info.mdx} | 0 .../{v4.18-info.md => v4.18-info.mdx} | 0 .../dnb-ui-lib/{v5-info.md => v5-info.mdx} | 0 .../{v5.8-info.md => v5.8-info.mdx} | 0 .../dnb-ui-lib/{v6-info.md => v6-info.mdx} | 0 .../dnb-ui-lib/{v7-info.md => v7-info.mdx} | 0 .../{v7.2-info.md => v7.2-info.mdx} | 0 .../dnb-ui-lib/{v8-info.md => v8-info.mdx} | 0 .../eufemia/{v10-info.md => v10-info.mdx} | 0 .../eufemia/{v11-info.md => v11-info.mdx} | 0 .../eufemia/{v9-info.md => v9-info.mdx} | 0 .../uilib/{components.md => components.mdx} | 0 .../{accordion.md => accordion.mdx} | 0 .../accordion/{demos.md => demos.mdx} | 0 .../accordion/{events.md => events.mdx} | 0 .../accordion/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{autocomplete.md => autocomplete.mdx} | 0 .../autocomplete/{demos.md => demos.mdx} | 0 .../autocomplete/{events.md => events.mdx} | 0 .../autocomplete/{info.md => info.mdx} | 0 .../autocomplete/{methods.md => methods.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{visual-tests.md => visual-tests.mdx} | 0 .../components/{avatar.md => avatar.mdx} | 0 .../components/avatar/{demos.md => demos.mdx} | 0 .../avatar/{events.md => events.mdx} | 0 .../components/avatar/{info.md => info.mdx} | 0 .../avatar/{properties.md => properties.mdx} | 0 .../uilib/components/{badge.md => badge.mdx} | 0 .../components/badge/{demos.md => demos.mdx} | 0 .../badge/{events.md => events.mdx} | 0 .../components/badge/{info.md => info.mdx} | 0 .../badge/{properties.md => properties.mdx} | 0 .../{breadcrumb.md => breadcrumb.mdx} | 0 .../breadcrumb/{demos.md => demos.mdx} | 0 .../breadcrumb/{events.md => events.mdx} | 0 .../breadcrumb/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../components/{button.md => button.mdx} | 0 .../components/button/{demos.md => demos.mdx} | 0 .../button/{events.md => events.mdx} | 0 .../components/button/{info.md => info.mdx} | 0 .../button/{properties.md => properties.mdx} | 0 .../uilib/components/{cards.md => cards.mdx} | 0 .../components/{checkbox.md => checkbox.mdx} | 0 .../checkbox/{demos.md => demos.mdx} | 0 .../checkbox/{events.md => events.mdx} | 0 .../components/checkbox/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{date-picker.md => date-picker.mdx} | 0 .../date-picker/{demos.md => demos.mdx} | 0 .../date-picker/{events.md => events.mdx} | 0 .../date-picker/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../components/{dialog.md => dialog.mdx} | 0 .../components/dialog/{demos.md => demos.mdx} | 0 .../dialog/{events.md => events.mdx} | 0 .../components/dialog/{info.md => info.mdx} | 0 .../dialog/{prop-table.md => prop-table.mdx} | 0 .../dialog/{properties.md => properties.mdx} | 0 .../components/{drawer.md => drawer.mdx} | 0 .../components/drawer/{demos.md => demos.mdx} | 0 .../drawer/{events.md => events.mdx} | 0 .../components/drawer/{info.md => info.mdx} | 0 .../drawer/{prop-table.md => prop-table.mdx} | 0 .../drawer/{properties.md => properties.mdx} | 0 .../{hidden-tests.md => hidden-tests.mdx} | 0 .../components/{dropdown.md => dropdown.mdx} | 0 .../dropdown/{demos.md => demos.mdx} | 0 .../dropdown/{events.md => events.mdx} | 0 .../components/dropdown/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{form-label.md => form-label.mdx} | 0 .../form-label/{demos.md => demos.mdx} | 0 .../form-label/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../components/{form-row.md => form-row.mdx} | 0 .../form-row/{demos.md => demos.mdx} | 0 .../components/form-row/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../form-row/{provider.md => provider.mdx} | 0 .../components/{form-set.md => form-set.mdx} | 0 .../form-set/{demos.md => demos.mdx} | 0 .../form-set/{events.md => events.mdx} | 0 .../components/form-set/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{form-status.md => form-status.mdx} | 0 .../form-status/{demos.md => demos.mdx} | 0 .../form-status/{info.md => info.mdx} | 2 +- .../{properties.md => properties.mdx} | 0 .../{fragments.md => fragments.mdx} | 0 .../{drawer-list.md => drawer-list.mdx} | 0 .../drawer-list/{demos.md => demos.mdx} | 0 .../drawer-list/{events.md => events.mdx} | 0 .../drawer-list/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{scroll-view.md => scroll-view.mdx} | 0 .../scroll-view/{demos.md => demos.mdx} | 0 .../scroll-view/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{global-error.md => global-error.mdx} | 0 .../global-error/{demos.md => demos.mdx} | 0 .../global-error/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{global-status.md => global-status.mdx} | 0 .../global-status/{demos.md => demos.mdx} | 0 .../global-status/{events.md => events.mdx} | 0 .../global-status/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../components/{heading.md => heading.mdx} | 0 .../heading/{demos.md => demos.mdx} | 0 .../components/heading/{info.md => info.mdx} | 0 .../heading/{properties.md => properties.mdx} | 0 ...ight-animation.md => height-animation.mdx} | 0 .../height-animation/{demos.md => demos.mdx} | 0 .../{events.md => events.mdx} | 0 .../height-animation/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{help-button.md => help-button.mdx} | 0 .../help-button/{demos.md => demos.mdx} | 0 .../help-button/{events.md => events.mdx} | 0 .../help-button/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{icon-primary.md => icon-primary.mdx} | 0 .../icon-primary/{demos.md => demos.mdx} | 0 .../icon-primary/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../uilib/components/{icon.md => icon.mdx} | 0 .../components/icon/{demos.md => demos.mdx} | 0 .../components/icon/{info.md => info.mdx} | 0 .../icon/{properties.md => properties.mdx} | 0 .../{info-card.md => info-card.mdx} | 0 .../info-card/{demos.md => demos.mdx} | 0 .../info-card/{events.md => events.mdx} | 0 .../info-card/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{input-masked.md => input-masked.mdx} | 0 .../input-masked/{demos.md => demos.mdx} | 0 .../input-masked/{events.md => events.mdx} | 0 .../input-masked/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../uilib/components/{input.md => input.mdx} | 0 .../components/input/{demos.md => demos.mdx} | 0 .../input/{events.md => events.mdx} | 0 .../components/input/{info.md => info.mdx} | 0 .../input/{properties.md => properties.mdx} | 0 .../uilib/components/{logo.md => logo.mdx} | 0 .../components/logo/{demos.md => demos.mdx} | 0 .../components/logo/{info.md => info.mdx} | 0 .../logo/{properties.md => properties.mdx} | 0 .../uilib/components/{modal.md => modal.mdx} | 0 .../components/modal/{demos.md => demos.mdx} | 0 .../modal/{event-table.md => event-table.mdx} | 0 .../modal/{events.md => events.mdx} | 0 .../components/modal/{info.md => info.mdx} | 0 .../modal/{prop-table.md => prop-table.mdx} | 0 .../modal/{properties.md => properties.mdx} | 0 .../{number-format.md => number-format.mdx} | 0 .../number-format/{demos.md => demos.mdx} | 0 .../number-format/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{provider.md => provider.mdx} | 2 +- .../{pagination.md => pagination.mdx} | 0 .../pagination/{demos.md => demos.mdx} | 0 .../pagination/{events.md => events.mdx} | 0 ...nity-scroller.md => infinity-scroller.mdx} | 0 .../infinity-scroller/{demos.md => demos.mdx} | 0 .../infinity-scroller/{info.md => info.mdx} | 0 .../pagination/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 ...indicator.md => placeholder-indicator.mdx} | 0 ...ss-indicator.md => progress-indicator.mdx} | 0 .../{demos.md => demos.mdx} | 0 .../{events.md => events.mdx} | 0 .../progress-indicator/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{visual-tests.md => visual-tests.mdx} | 0 .../uilib/components/{radio.md => radio.mdx} | 0 .../components/radio/{demos.md => demos.mdx} | 0 .../radio/{events.md => events.mdx} | 0 .../components/radio/{info.md => info.mdx} | 0 .../radio/{properties.md => properties.mdx} | 0 .../components/{section.md => section.mdx} | 0 .../section/{demos.md => demos.mdx} | 0 .../components/section/{info.md => info.mdx} | 0 .../section/{properties.md => properties.mdx} | 0 .../components/{skeleton.md => skeleton.mdx} | 0 .../skeleton/{demos.md => demos.mdx} | 0 .../components/skeleton/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{skip-content.md => skip-content.mdx} | 0 .../skip-content/{demos.md => demos.mdx} | 0 .../skip-content/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../components/{slider.md => slider.mdx} | 0 .../components/slider/{demos.md => demos.mdx} | 0 .../slider/{events.md => events.mdx} | 0 .../components/slider/{info.md => info.mdx} | 0 .../slider/{properties.md => properties.mdx} | 0 .../uilib/components/{space.md => space.mdx} | 0 .../components/space/{demos.md => demos.mdx} | 0 .../components/space/{info.md => info.mdx} | 2 +- .../space/{properties.md => properties.mdx} | 0 .../{step-indicator.md => step-indicator.mdx} | 0 .../step-indicator/{demos.md => demos.mdx} | 0 .../step-indicator/{events.md => events.mdx} | 0 .../step-indicator/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../components/{switch.md => switch.mdx} | 0 .../components/switch/{demos.md => demos.mdx} | 0 .../switch/{events.md => events.mdx} | 0 .../components/switch/{info.md => info.mdx} | 0 .../switch/{properties.md => properties.mdx} | 0 .../uilib/components/{table.md => table.mdx} | 0 .../components/table/{demos.md => demos.mdx} | 0 .../table/{events.md => events.mdx} | 0 .../components/table/{info.md => info.mdx} | 0 .../table/{properties.md => properties.mdx} | 0 .../uilib/components/{tabs.md => tabs.mdx} | 0 .../components/tabs/{demos.md => demos.mdx} | 0 .../components/tabs/{events.md => events.mdx} | 0 .../components/tabs/{info.md => info.mdx} | 0 .../tabs/{properties.md => properties.mdx} | 0 .../docs/uilib/components/{tag.md => tag.mdx} | 0 .../components/tag/{demos.md => demos.mdx} | 0 .../components/tag/{events.md => events.mdx} | 0 .../components/tag/{info.md => info.mdx} | 0 .../tag/{properties.md => properties.mdx} | 0 .../components/{textarea.md => textarea.mdx} | 0 .../textarea/{demos.md => demos.mdx} | 0 .../textarea/{events.md => events.mdx} | 0 .../components/textarea/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../components/{timeline.md => timeline.mdx} | 0 .../timeline/{demos.md => demos.mdx} | 0 .../timeline/{events.md => events.mdx} | 0 .../components/timeline/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../{toggle-button.md => toggle-button.mdx} | 0 .../toggle-button/{demos.md => demos.mdx} | 0 .../toggle-button/{events.md => events.mdx} | 0 .../toggle-button/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../components/{tooltip.md => tooltip.mdx} | 0 .../tooltip/{demos.md => demos.mdx} | 0 .../tooltip/{events.md => events.mdx} | 0 .../components/tooltip/{info.md => info.mdx} | 0 .../tooltip/{properties.md => properties.mdx} | 0 .../components/{upload.md => upload.mdx} | 0 .../components/upload/{demos.md => demos.mdx} | 0 .../upload/{events.md => events.mdx} | 0 .../components/upload/{info.md => info.mdx} | 0 .../upload/{properties.md => properties.mdx} | 0 ...visually-hidden.md => visually-hidden.mdx} | 0 .../visually-hidden/{demos.md => demos.mdx} | 0 .../visually-hidden/{events.md => events.mdx} | 0 .../visually-hidden/{info.md => info.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../docs/uilib/{elements.md => elements.mdx} | 0 .../uilib/elements/{anchor.md => anchor.mdx} | 0 .../anchor/{properties.md => properties.mdx} | 0 .../{blockquote.md => blockquote.mdx} | 0 .../docs/uilib/elements/{code.md => code.mdx} | 0 .../elements/{heading.md => heading.mdx} | 0 ...horizontal-rule.md => horizontal-rule.mdx} | 0 .../uilib/elements/{image.md => image.mdx} | 0 .../uilib/elements/{lists.md => lists.mdx} | 0 .../{not-supported.md => not-supported.mdx} | 0 .../elements/{paragraph.md => paragraph.mdx} | 0 .../elements/{unstyled.md => unstyled.mdx} | 0 .../uilib/{extensions.md => extensions.mdx} | 0 .../{payment-card.md => payment-card.mdx} | 0 .../payment-card/{demos.md => demos.mdx} | 0 .../payment-card/{info.md => info.mdx} | 0 .../payment-card/{maker.md => maker.mdx} | 0 .../{products.md => products.mdx} | 0 .../{properties.md => properties.mdx} | 0 ...getting-started.md => getting-started.mdx} | 2 +- .../getting-started/{demos.md => demos.mdx} | 0 .../{living-system.md => living-system.mdx} | 0 ...maintainability.md => maintainability.mdx} | 0 .../{requirements.md => requirements.mdx} | 0 .../docs/uilib/{helpers.md => helpers.mdx} | 0 .../uilib/helpers/{classes.md => classes.mdx} | 10 +- .../helpers/{functions.md => functions.mdx} | 0 .../docs/uilib/helpers/{info.md => info.mdx} | 0 .../uilib/helpers/{tools.md => tools.mdx} | 0 ...eleases.md => about-watching-releases.mdx} | 0 .../src/docs/uilib/{intro.md => intro.mdx} | 2 +- ...systems.md => 01-about-design-systems.mdx} | 0 ...mon-patterns.md => 02-common-patterns.mdx} | 0 ...-accessibility.md => 03-accessibility.mdx} | 0 .../{04-ux-handover.md => 04-ux-handover.mdx} | 0 ...opers.md => 05-eufemia-for-developers.mdx} | 0 ...06-css-packages.md => 06-css-packages.mdx} | 0 .../{07-typography.md => 07-typography.mdx} | 0 .../{08-color-usage.md => 08-color-usage.mdx} | 0 .../uilib/intro/{09-icons.md => 09-icons.mdx} | 0 .../intro/{10-layout.md => 10-layout.mdx} | 0 ... => 11-components-elements-extensions.mdx} | 0 ...md => 12-usage-of-components-elements.mdx} | 0 ...-and-tests.md => 13-quality-and-tests.mdx} | 0 .../intro/{14-helpers.md => 14-helpers.mdx} | 0 .../intro/{15-summary.md => 15-summary.mdx} | 0 .../{properties.md => properties.mdx} | 0 .../uilib/{typography.md => typography.mdx} | 0 .../{font-size.md => font-size.mdx} | 0 .../{font-weight.md => font-weight.mdx} | 0 .../{line-height.md => line-height.mdx} | 0 .../src/docs/uilib/{usage.md => usage.mdx} | 2 +- .../{accessibility.md => accessibility.mdx} | 2 +- ...cessibility.md => about-accessibility.mdx} | 0 .../{checklist.md => checklist.mdx} | 0 .../accessibility/{focus.md => focus.mdx} | 0 .../accessibility/{icons.md => icons.mdx} | 0 .../{screenreader.md => screenreader.mdx} | 0 .../{best-practices.md => best-practices.mdx} | 0 .../{for-javascript.md => for-javascript.mdx} | 0 .../{for-styling.md => for-styling.mdx} | 0 .../{for-testing.md => for-testing.mdx} | 0 .../{for-typography.md => for-typography.mdx} | 0 .../{customisation.md => customisation.mdx} | 0 .../customisation/{colors.md => colors.mdx} | 6 +- ...properties.md => component-properties.mdx} | 0 .../{localization.md => localization.mdx} | 0 .../{provider-info.md => provider-info.mdx} | 0 .../{provider.md => provider.mdx} | 2 +- .../customisation/{styling.md => styling.mdx} | 0 .../{consume-styles.md => consume-styles.mdx} | 0 .../styling/{polyfill.md => polyfill.mdx} | 0 .../customisation/{theming.md => theming.mdx} | 0 .../usage/{first-steps.md => first-steps.mdx} | 0 .../first-steps/{bundles.md => bundles.mdx} | 0 .../{module-formats.md => module-formats.mdx} | 0 .../usage/first-steps/{react.md => react.mdx} | 0 .../{the-basics.md => the-basics.mdx} | 0 .../uilib/usage/{layout.md => layout.mdx} | 0 .../uilib/usage/layout/{grid.md => grid.mdx} | 0 .../{media-queries.md => media-queries.mdx} | 0 .../{spacing-table.md => spacing-table.mdx} | 0 .../usage/layout/{spacing.md => spacing.mdx} | 2 +- .../{welcome-advice.md => welcome-advice.mdx} | 0 .../src/docs_dummy/{dummy.md => dummy.mdx} | 0 .../docs_dummy/dummy/{info.md => info.mdx} | 0 .../__snapshots__/generateTypes.test.js.snap | 57 ------ .../tasks/__tests__/generateTypes.test.js | 4 +- .../babelPluginIncludeDocs.test.js.snap | 178 +----------------- .../__tests__/babelPluginIncludeDocs.test.js | 4 +- .../generateTypes/fetchPropertiesFromDocs.js | 16 +- 413 files changed, 46 insertions(+), 284 deletions(-) rename packages/dnb-design-system-portal/src/docs/{EUFEMIA_CHANGELOG.md => EUFEMIA_CHANGELOG.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/{brand.md => brand.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/{contribute.md => contribute.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/{contact.md => contact.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/{deploy.md => deploy.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/deploy/{icons.md => icons.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/{faq.md => faq.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/{first-contribution.md => first-contribution.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/first-contribution/{before-started.md => before-started.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/{getting-started.md => getting-started.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/getting-started/{clone-repo.md => clone-repo.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/getting-started/{commit-changes.md => commit-changes.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/getting-started/{install-dependencies.md => install-dependencies.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/getting-started/{make-and-run-tests.md => make-and-run-tests.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/getting-started/{making-changes.md => making-changes.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/getting-started/{update-change-logs.md => update-change-logs.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/{rules.md => rules.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/{style-guides.md => style-guides.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/style-guides/{coding.md => coding.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/style-guides/{documentation.md => documentation.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/style-guides/{git.md => git.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/style-guides/{issues.md => issues.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/style-guides/{naming.md => naming.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/contribute/{vision.md => vision.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/{design-system.md => design-system.mdx} (82%) rename packages/dnb-design-system-portal/src/docs/design-system/{about.md => about.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/design-system/about/{living-system.md => living-system.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/design-system/about/{story.md => story.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/design-system/{changelog.md => changelog.mdx} (79%) rename packages/dnb-design-system-portal/src/docs/design-system/changelog/{info-about-releases.md => info-about-releases.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/design-system/{contact.md => contact.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/design-system/{credits.md => credits.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/design-system/{privacy.md => privacy.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/{icons.md => icons.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/icons/{details.md => details.mdx} (97%) rename packages/dnb-design-system-portal/src/docs/icons/{form-status.md => form-status.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/icons/{other.md => other.mdx} (80%) rename packages/dnb-design-system-portal/src/docs/icons/{primary.md => primary.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/icons/{secondary.md => secondary.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/{quickguide-designer.md => quickguide-designer.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/{accessibility.md => accessibility.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/accessibility/{checklist.md => checklist.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/{colors-table.md => colors-table.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/{colors.md => colors.mdx} (99%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/{fonts.md => fonts.mdx} (82%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/{inspiration.md => inspiration.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/{logos.md => logos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/{naming-conventions.md => naming-conventions.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/{principles.md => principles.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/{spatial-system.md => spatial-system.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/{tools.md => tools.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/{font-families.md => font-families.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/{font-weights.md => font-weights.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/{line-height.md => line-height.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/{typographic-elements.md => typographic-elements.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/{typographic-rules.md => typographic-rules.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/quickguide-designer/{ui-resources.md => ui-resources.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/{uilib.md => uilib.mdx} (86%) rename packages/dnb-design-system-portal/src/docs/uilib/{about-the-lib.md => about-the-lib.mdx} (98%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/{releases.md => releases.mdx} (96%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/{v4-info.md => v4-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/{v4.10-info.md => v4.10-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/{v4.18-info.md => v4.18-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/{v5-info.md => v5-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/{v5.8-info.md => v5.8-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/{v6-info.md => v6-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/{v7-info.md => v7-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/{v7.2-info.md => v7.2-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/{v8-info.md => v8-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/{v10-info.md => v10-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/{v11-info.md => v11-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/{v9-info.md => v9-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/{components.md => components.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{accordion.md => accordion.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/accordion/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/accordion/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/accordion/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/accordion/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{autocomplete.md => autocomplete.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/{methods.md => methods.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/autocomplete/{visual-tests.md => visual-tests.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{avatar.md => avatar.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/avatar/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/avatar/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/avatar/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/avatar/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{badge.md => badge.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/badge/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/badge/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/badge/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/badge/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{breadcrumb.md => breadcrumb.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/breadcrumb/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{button.md => button.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/button/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/button/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/button/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/button/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{cards.md => cards.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{checkbox.md => checkbox.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/checkbox/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{date-picker.md => date-picker.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/date-picker/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{dialog.md => dialog.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/dialog/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/dialog/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/dialog/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/dialog/{prop-table.md => prop-table.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/dialog/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{drawer.md => drawer.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/drawer/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/drawer/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/drawer/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/drawer/{prop-table.md => prop-table.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/drawer/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/drawer/visual-tests/{hidden-tests.md => hidden-tests.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{dropdown.md => dropdown.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/dropdown/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{form-label.md => form-label.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-label/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-label/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-label/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{form-row.md => form-row.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-row/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-row/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-row/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-row/{provider.md => provider.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{form-set.md => form-set.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-set/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-set/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-set/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-set/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{form-status.md => form-status.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-status/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-status/{info.md => info.mdx} (94%) rename packages/dnb-design-system-portal/src/docs/uilib/components/form-status/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{fragments.md => fragments.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/fragments/{drawer-list.md => drawer-list.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/fragments/drawer-list/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/fragments/{scroll-view.md => scroll-view.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/fragments/scroll-view/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{global-error.md => global-error.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/global-error/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/global-error/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/global-error/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{global-status.md => global-status.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/global-status/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/global-status/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/global-status/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/global-status/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{heading.md => heading.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/heading/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/heading/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/heading/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{height-animation.md => height-animation.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/height-animation/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{help-button.md => help-button.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/help-button/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/help-button/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/help-button/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/help-button/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{icon-primary.md => icon-primary.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/icon-primary/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{icon.md => icon.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/icon/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/icon/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/icon/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{info-card.md => info-card.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/info-card/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/info-card/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/info-card/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/info-card/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{input-masked.md => input-masked.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/input-masked/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{input.md => input.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/input/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/input/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/input/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/input/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{logo.md => logo.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/logo/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/logo/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/logo/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{modal.md => modal.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/modal/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/modal/{event-table.md => event-table.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/modal/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/modal/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/modal/{prop-table.md => prop-table.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/modal/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{number-format.md => number-format.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/number-format/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/number-format/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/number-format/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/number-format/{provider.md => provider.mdx} (93%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{pagination.md => pagination.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/pagination/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/pagination/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/pagination/{infinity-scroller.md => infinity-scroller.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/pagination/infinity-scroller/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/pagination/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/pagination/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{placeholder-indicator.md => placeholder-indicator.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{progress-indicator.md => progress-indicator.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/progress-indicator/{visual-tests.md => visual-tests.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{radio.md => radio.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/radio/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/radio/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/radio/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/radio/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{section.md => section.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/section/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/section/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/section/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{skeleton.md => skeleton.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/skeleton/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{skip-content.md => skip-content.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/skip-content/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{slider.md => slider.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/slider/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/slider/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/slider/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/slider/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{space.md => space.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/space/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/space/{info.md => info.mdx} (99%) rename packages/dnb-design-system-portal/src/docs/uilib/components/space/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{step-indicator.md => step-indicator.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/step-indicator/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{switch.md => switch.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/switch/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/switch/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/switch/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/switch/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{table.md => table.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/table/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/table/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/table/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/table/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{tabs.md => tabs.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/tabs/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/tabs/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/tabs/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/tabs/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{tag.md => tag.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/tag/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/tag/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/tag/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/tag/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{textarea.md => textarea.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/textarea/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/textarea/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/textarea/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/textarea/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{timeline.md => timeline.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/timeline/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/timeline/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/timeline/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/timeline/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{toggle-button.md => toggle-button.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/toggle-button/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{tooltip.md => tooltip.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/tooltip/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{upload.md => upload.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/upload/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/upload/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/upload/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/upload/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/{visually-hidden.md => visually-hidden.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/{events.md => events.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/components/visually-hidden/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/{elements.md => elements.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/elements/{anchor.md => anchor.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/elements/anchor/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/elements/{blockquote.md => blockquote.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/elements/{code.md => code.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/elements/{heading.md => heading.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/elements/{horizontal-rule.md => horizontal-rule.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/elements/{image.md => image.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/elements/{lists.md => lists.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/elements/{not-supported.md => not-supported.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/elements/{paragraph.md => paragraph.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/elements/{unstyled.md => unstyled.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/{extensions.md => extensions.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/extensions/{payment-card.md => payment-card.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/{maker.md => maker.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/{products.md => products.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/extensions/payment-card/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/{getting-started.md => getting-started.mdx} (95%) rename packages/dnb-design-system-portal/src/docs/uilib/getting-started/{demos.md => demos.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/getting-started/{living-system.md => living-system.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/getting-started/{maintainability.md => maintainability.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/getting-started/{requirements.md => requirements.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/{helpers.md => helpers.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/helpers/{classes.md => classes.mdx} (98%) rename packages/dnb-design-system-portal/src/docs/uilib/helpers/{functions.md => functions.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/helpers/{info.md => info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/helpers/{tools.md => tools.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/info/{about-watching-releases.md => about-watching-releases.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/{intro.md => intro.mdx} (95%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{01-about-design-systems.md => 01-about-design-systems.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{02-common-patterns.md => 02-common-patterns.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{03-accessibility.md => 03-accessibility.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{04-ux-handover.md => 04-ux-handover.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{05-eufemia-for-developers.md => 05-eufemia-for-developers.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{06-css-packages.md => 06-css-packages.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{07-typography.md => 07-typography.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{08-color-usage.md => 08-color-usage.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{09-icons.md => 09-icons.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{10-layout.md => 10-layout.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{11-components-elements-extensions.md => 11-components-elements-extensions.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{12-usage-of-components-elements.md => 12-usage-of-components-elements.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{13-quality-and-tests.md => 13-quality-and-tests.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{14-helpers.md => 14-helpers.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/intro/{15-summary.md => 15-summary.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/shared/media-query/{properties.md => properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/{typography.md => typography.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/typography/{font-size.md => font-size.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/typography/{font-weight.md => font-weight.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/typography/{line-height.md => line-height.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/{usage.md => usage.mdx} (99%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/{accessibility.md => accessibility.mdx} (96%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/{about-accessibility.md => about-accessibility.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/{checklist.md => checklist.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/{focus.md => focus.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/{icons.md => icons.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/accessibility/{screenreader.md => screenreader.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/{best-practices.md => best-practices.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/{for-javascript.md => for-javascript.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/{for-styling.md => for-styling.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/{for-testing.md => for-testing.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/best-practices/{for-typography.md => for-typography.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/{customisation.md => customisation.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/{colors.md => colors.mdx} (85%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/{component-properties.md => component-properties.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/{localization.md => localization.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/{provider-info.md => provider-info.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/{provider.md => provider.mdx} (98%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/{styling.md => styling.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling/{consume-styles.md => consume-styles.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/styling/{polyfill.md => polyfill.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/customisation/{theming.md => theming.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/{first-steps.md => first-steps.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/{bundles.md => bundles.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/{module-formats.md => module-formats.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/{react.md => react.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/first-steps/{the-basics.md => the-basics.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/{layout.md => layout.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/layout/{grid.md => grid.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/layout/{media-queries.md => media-queries.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/layout/{spacing-table.md => spacing-table.mdx} (100%) rename packages/dnb-design-system-portal/src/docs/uilib/usage/layout/{spacing.md => spacing.mdx} (99%) rename packages/dnb-design-system-portal/src/docs/{welcome-advice.md => welcome-advice.mdx} (100%) rename packages/dnb-design-system-portal/src/docs_dummy/{dummy.md => dummy.mdx} (100%) rename packages/dnb-design-system-portal/src/docs_dummy/dummy/{info.md => info.mdx} (100%) 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, })