From 1523e093dada345aafa556674e8245323fde5713 Mon Sep 17 00:00:00 2001 From: thaytharma Date: Mon, 26 Feb 2024 08:45:28 +0100 Subject: [PATCH] docs(GlobalStatus): update number of statuses --- .../src/docs/uilib/components/global-status/properties.mdx | 2 +- .../dnb-eufemia/src/components/global-status/GlobalStatus.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/global-status/properties.mdx b/packages/dnb-design-system-portal/src/docs/uilib/components/global-status/properties.mdx index daf097c6c4c..c79d990d838 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/components/global-status/properties.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/components/global-status/properties.mdx @@ -13,7 +13,7 @@ import { GlobalStatusExampleControllers } from 'Docs/uilib/components/global-sta | `text` or `children` | _(optional)_ the text appears as the status content. Besides plain text, you can send in a React component as well. Defaults to `null`. | | `items` | _(optional)_ the items (list items) appear as a part of the status content. you can both use an JSON array, or a vanilla array with a string or an object content. See **Item Object** example below. | | `icon` | _(optional)_ the icon shown before the status title. Defaults to `exclamation`. | -| `state` | _(optional)_ defines the visual appearance of the status. There are two main statuses `error`, `warning`, `info` and `success`. The default status is `error`. | +| `state` | _(optional)_ defines the visual appearance of the status. There are four main statuses `error`, `warning`, `info` and `success`. The default status is `error`. | | `icon_size` | _(optional)_ the icon size of the title icon shows. Defaults to `medium`. | | `show` | _(optional)_ set to `true` or `false` to manually make the global status visible. Defaults to `true`. | | `autoclose` | _(optional)_ set to `true` to automatically close the global status if there are no more left items in the provider stack. Defaults to `true`. | diff --git a/packages/dnb-eufemia/src/components/global-status/GlobalStatus.d.ts b/packages/dnb-eufemia/src/components/global-status/GlobalStatus.d.ts index 81aa5f2da81..58f22d9378a 100644 --- a/packages/dnb-eufemia/src/components/global-status/GlobalStatus.d.ts +++ b/packages/dnb-eufemia/src/components/global-status/GlobalStatus.d.ts @@ -53,7 +53,7 @@ export interface GlobalStatusProps */ icon_size?: IconSize; /** - * Defines the visual appearance of the status. There are two main statuses `error`, `warning`, `info` and `success`. The default status is `error`. + * Defines the visual appearance of the status. There are four main statuses `error`, `warning`, `info` and `success`. The default status is `error`. */ state?: GlobalStatusState; /**