From 8b153ccd27ce19a8f8a2195b0b5397d481f27aae Mon Sep 17 00:00:00 2001 From: Dale Sande Date: Tue, 27 Dec 2022 16:07:18 -0800 Subject: [PATCH] refactor: update feature per review feedback Changes to be committed: modified: demo/demo.md modified: docs/api.md modified: src/auro-icon.js --- demo/demo.md | 4 +++- docs/api.md | 1 - src/auro-icon.js | 5 ----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/demo/demo.md b/demo/demo.md index b077476..2f3a832 100644 --- a/demo/demo.md +++ b/demo/demo.md @@ -69,7 +69,9 @@ In situations where the icon is to be listed with a descriptive label, simply us See code ```html - Your flight is enabled with super fast Wi-Fi + + Your flight is enabled with super fast Wi-Fi + ``` diff --git a/docs/api.md b/docs/api.md index 39ad129..8b378d7 100644 --- a/docs/api.md +++ b/docs/api.md @@ -49,7 +49,6 @@ auro-icon provides users a way to use the Auro Icons by simply passing in the ca | `onDark` | `onDark` | `Boolean` | false | Set value for on-dark version of auro-icon | | `primary` | `primary` | `Boolean` | | Sets the icon to use the baseline primary icon style. | | `success` | `success` | `Boolean` | | Sets the icon to use the success style. | -| `title` | `title` | `String` | | Set custom description of icon in use. | | `warning` | `warning` | `Boolean` | | Sets the icon to use the warning style. | ## Slots diff --git a/src/auro-icon.js b/src/auro-icon.js index 58b7c28..4910603 100644 --- a/src/auro-icon.js +++ b/src/auro-icon.js @@ -29,7 +29,6 @@ import styleCss from "./iconStyle-css.js"; * @attr {Boolean} disabled - Sets the icon to use the disabled style. * @attr {Boolean} warning - Sets the icon to use the warning style. * @attr {String} ariaHidden - Set aria-hidden value. Default is `true`. Option is `false`. - * @attr {String} title - Set custom description of icon in use. * @slot - Hidden from visibility, used for a11y if icon description is needed. */ @@ -114,10 +113,6 @@ class AuroIcon extends BaseIcon { ariaHidden: { type: String, reflect: true - }, - title: { - type: String, - reflect: true } }; }