diff --git a/packages/main/src/StandardListItem.js b/packages/main/src/StandardListItem.js index 5c9b609ed162..9c7ed01965b2 100644 --- a/packages/main/src/StandardListItem.js +++ b/packages/main/src/StandardListItem.js @@ -73,9 +73,9 @@ const metadata = { /** * Defines the state of the info. *
- * Available options are: "None" (by default), "Success", "Warning" and "Erorr". + * Available options are: "None" (by default), "Success", "Warning", "Information" and "Erorr". * @type {ValueState} - * @defaultvalue "None" + * @defaultvalue "None" * @public * @since 0.13.0 */ diff --git a/packages/main/src/themes/ListItem.css b/packages/main/src/themes/ListItem.css index e7eee04d6949..eb28b990efc8 100644 --- a/packages/main/src/themes/ListItem.css +++ b/packages/main/src/themes/ListItem.css @@ -52,6 +52,10 @@ color: var(--sapNegativeTextColor); } +:host([info-state="Information"]) .ui5-li-info { + color: var(--sapInformativeTextColor); +} + /* ui5-li: item with title and description */ :host([has-title][description]) { height: 5rem; diff --git a/packages/main/test/pages/List.html b/packages/main/test/pages/List.html index 1ee15305b15e..4814931c1ecb 100644 --- a/packages/main/test/pages/List.html +++ b/packages/main/test/pages/List.html @@ -21,7 +21,7 @@ New Items Voluptate do eu cupidatat elit est culpa. Reprehenderit eiusmod voluptate ex est dolor nostrud Lorem Lorem do nisi laborum veniam. Sint do non culpa aute occaecat labore ipsum veniam minim tempor est. Duis pariatur aute culpa irure ad excepteur pariatur culpa culpa ea duis occaecat aute irure. Ipsum velit culpa non exercitation ex laboris deserunt in eu non officia in. Laborum sunt aliqua labore cupidatat sunt labore. Laptop Lenovo - IPhone 3 + IPhone 3 Discounted Items HP Monitor 24 diff --git a/packages/main/test/samples/List.sample.html b/packages/main/test/samples/List.sample.html index 999c165f0059..8698710a7220 100644 --- a/packages/main/test/samples/List.sample.html +++ b/packages/main/test/samples/List.sample.html @@ -13,7 +13,7 @@

Basic List

Pineapple Orange - Banana + Blueberry Mango @@ -21,7 +21,7 @@

Basic List

Pineapple Orange - Banana + Blueberry Mango