diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases.mdx index 36954f462c7..bb8814913dd 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases.mdx @@ -3,8 +3,12 @@ title: 'Releases and versions' developers: 'Overview of all major releases and changes, including migration guides.' redirect_from: - /uilib/releases +expanded: false --- +import ListUiLibVersions from './releases/dnb-ui-lib/ListUiLibVersions' +import ListEufemiaVersions from './releases/eufemia/ListEufemiaVersions' + import WelcomeAdvice from 'Docs/welcome-advice.mdx' import GithubLogo from 'Docs/contribute/assets/github-logo.js' import { Icon } from '@dnb/eufemia/src' @@ -15,16 +19,12 @@ You may also have a look at the [**GitH Here you can find an overview of all major releases (versions) and changes, including migration guides: -- [**@dnb/eufemia@v10**](/uilib/about-the-lib/releases/eufemia/v10-info) _May, 31. 2023_ -- [**@dnb/eufemia@v9**](/uilib/about-the-lib/releases/eufemia/v9-info) _March, 3. 2021_ -- [**dnb-ui-lib@v8**](/uilib/about-the-lib/releases/dnb-ui-lib/v8-info) _December, 15. 2020_ -- [**dnb-ui-lib@v7.2**](/uilib/about-the-lib/releases/dnb-ui-lib/v7.2-info) _November, 8. 2020_ -- [**dnb-ui-lib@v7.0**](/uilib/about-the-lib/releases/dnb-ui-lib/v7-info) _June, 4. 2020_ -- [**dnb-ui-lib@v6.0**](/uilib/about-the-lib/releases/dnb-ui-lib/v6-info) _January, 30. 2020_ -- [**dnb-ui-lib@v5.8**](/uilib/about-the-lib/releases/dnb-ui-lib/v5.8-info) _November, 30. 2019_ -- [**dnb-ui-lib@v5.0**](/uilib/about-the-lib/releases/dnb-ui-lib/v5-info) _October, 30. 2019_ -- [**dnb-ui-lib@v4.18**](/uilib/about-the-lib/releases/dnb-ui-lib/v4.18-info) _September, 28. 2019_ -- [**dnb-ui-lib@v4.10**](/uilib/about-the-lib/releases/dnb-ui-lib/v4.10-info) _August, 24. 2019_ -- [**dnb-ui-lib@v4.0**](/uilib/about-the-lib/releases/dnb-ui-lib/v4-info) _July, 21. 2019_ +## @dnb/eufemia + + + +## dnb-ui-lib + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib.mdx new file mode 100644 index 00000000000..50c3bad9328 --- /dev/null +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib.mdx @@ -0,0 +1,11 @@ +--- +title: 'dnb-ui-lib' +developers: 'Overview of all major dnb-ui-lib releases and changes, including migration guides.' +order: 2 +--- + +import ListUiLibVersions from './dnb-ui-lib/ListUiLibVersions' + +# dnb-ui-lib releases + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/ListUiLibVersions.tsx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/ListUiLibVersions.tsx new file mode 100644 index 00000000000..56c748b5862 --- /dev/null +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/ListUiLibVersions.tsx @@ -0,0 +1,39 @@ +import { useStaticQuery, graphql } from 'gatsby' +import ListSummaryFromEdges from '../../../../../shared/parts/ListSummaryFromEdges' + +export default function ListUiLibVersions(props) { + const { + allMdx: { edges }, + } = useStaticQuery(graphql` + { + allMdx( + filter: { + frontmatter: { title: { ne: null }, draft: { ne: true } } + internal: { + contentFilePath: { + glob: "**/uilib/about-the-lib/releases/dnb-ui-lib/**/*" + } + } + } + sort: [ + { frontmatter: { order: ASC } } + { frontmatter: { title: DESC } } + ] + ) { + edges { + node { + fields { + slug + } + frontmatter { + title + description + } + } + } + } + } + `) + + return +} diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4-info.mdx index bbeb427d0e7..3e4ce129032 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4-info.mdx @@ -1,4 +1,7 @@ --- +title: 'v4.0' +description: 'July, 21. 2019' +order: -4 redirect_from: - /uilib/about-the-lib/releases/v4-info --- diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.10-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.10-info.mdx index fe1aec807a0..f2bbfdb4a62 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.10-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.10-info.mdx @@ -1,4 +1,7 @@ --- +title: 'v4.10' +description: 'August, 24. 2019' +order: -4.10 redirect_from: - /uilib/about-the-lib/releases/v4.10-info --- diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.18-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.18-info.mdx index bb3f43c65bc..ee909b97e35 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.18-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v4.18-info.mdx @@ -1,4 +1,7 @@ --- +title: 'v4.18' +description: 'September, 28. 2019' +order: -4.18 redirect_from: - /uilib/about-the-lib/releases/v4.18-info --- diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5-info.mdx index da3c333abcd..691700121f0 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5-info.mdx @@ -1,4 +1,7 @@ --- +title: 'v5.0' +description: 'October, 30. 2019' +order: -5 redirect_from: - /uilib/about-the-lib/releases/v5-info --- diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5.8-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5.8-info.mdx index 0585059ba30..0152b1fdc59 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5.8-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v5.8-info.mdx @@ -1,4 +1,7 @@ --- +title: 'v5.8' +description: 'November, 30. 2019' +order: -5.8 redirect_from: - /uilib/about-the-lib/releases/v5.8-info --- diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v6-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v6-info.mdx index bb0942f8507..8d2c0aa0231 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v6-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v6-info.mdx @@ -1,4 +1,7 @@ --- +title: 'v6.0' +description: 'January, 30. 2020' +order: -6 redirect_from: - /uilib/about-the-lib/releases/v6-info --- diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7-info.mdx index 3111b170b5a..e19a21d7259 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7-info.mdx @@ -1,4 +1,7 @@ --- +title: 'v7.0' +description: 'June, 4. 2020' +order: -7 redirect_from: - /uilib/about-the-lib/releases/v7-info --- diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7.2-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7.2-info.mdx index 41a5536c6ca..aedf0eeef92 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7.2-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v7.2-info.mdx @@ -1,4 +1,7 @@ --- +title: 'v7.2' +description: 'November, 8. 2020' +order: -7.2 redirect_from: - /uilib/about-the-lib/releases/v7.2-info --- diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v8-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v8-info.mdx index e1c304da04d..6c609f8f2d4 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v8-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/dnb-ui-lib/v8-info.mdx @@ -1,4 +1,7 @@ --- +title: 'v8' +description: 'December, 15. 2020' +order: -8 redirect_from: - /uilib/about-the-lib/releases/v8-info --- diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia.mdx new file mode 100644 index 00000000000..8af1c7a3807 --- /dev/null +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia.mdx @@ -0,0 +1,11 @@ +--- +title: '@dnb/eufemia' +developers: 'Overview of all major Eufemia releases and changes, including migration guides.' +order: 1 +--- + +import ListEufemiaVersions from './eufemia/ListEufemiaVersions' + +# @dnb/eufemia releases + + diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/ListEufemiaVersions.tsx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/ListEufemiaVersions.tsx new file mode 100644 index 00000000000..1e51c5aa28e --- /dev/null +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/ListEufemiaVersions.tsx @@ -0,0 +1,39 @@ +import { useStaticQuery, graphql } from 'gatsby' +import ListSummaryFromEdges from '../../../../../shared/parts/ListSummaryFromEdges' + +export default function ListEufemiaVersions(props) { + const { + allMdx: { edges }, + } = useStaticQuery(graphql` + { + allMdx( + filter: { + frontmatter: { title: { ne: null }, draft: { ne: true } } + internal: { + contentFilePath: { + glob: "**/uilib/about-the-lib/releases/eufemia/**/*" + } + } + } + sort: [ + { frontmatter: { order: ASC } } + { frontmatter: { title: DESC } } + ] + ) { + edges { + node { + fields { + slug + } + frontmatter { + title + description + } + } + } + } + } + `) + + return +} diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v10-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v10-info.mdx index 87d1e4b9b80..1b91730ef90 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v10-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v10-info.mdx @@ -1,3 +1,9 @@ +--- +title: 'v10' +order: -10 +description: 'May, 31. 2023' +--- + import { Accordion } from '@dnb/eufemia/src' # v10 diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v11-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v11-info.mdx index 6e6fc8b1b52..a3fcc77482f 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v11-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v11-info.mdx @@ -1,4 +1,7 @@ --- +title: 'v11' +description: 'TBA' +order: -11 draft: true --- diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v12-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v12-info.mdx index 230070a6051..56be3392508 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v12-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v12-info.mdx @@ -1,4 +1,7 @@ --- +title: 'v12' +description: 'TBA' +order: -12 draft: true --- diff --git a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v9-info.mdx b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v9-info.mdx index 77d0d202b85..c890d69ccd5 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v9-info.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v9-info.mdx @@ -1,3 +1,9 @@ +--- +title: 'v9' +order: -9 +description: 'March, 3. 2021' +--- + # v9 - [Migration](#migration)