From 84739ba695ff802ad28292488e096c99b62b3090 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 2 Nov 2021 16:52:31 -0400 Subject: [PATCH] update clear icon --- docs/components/icon.md | 2 +- docs/resources/changelog.md | 1 + src/components/icon/library.system.ts | 7 +++---- src/components/input/input.ts | 2 +- src/components/select/select.ts | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/components/icon.md b/docs/components/icon.md index cdd65f86..0b677750 100644 --- a/docs/components/icon.md +++ b/docs/components/icon.md @@ -40,6 +40,7 @@ Icons are sized relative to the current font size. To change their size, set the + @@ -50,7 +51,6 @@ Icons are sized relative to the current font size. To change their size, set the - ``` diff --git a/docs/resources/changelog.md b/docs/resources/changelog.md index 02f55e58..2ef58159 100644 --- a/docs/resources/changelog.md +++ b/docs/resources/changelog.md @@ -11,6 +11,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis - Added eye dropper to `` when the browser supports the [EyeDropper API](https://wicg.github.io/eyedropper-api/) - Fixed a bug in `` where buttons groups with only one button would have an incorrect border radius - Improved the `` trigger's border in dark mode +- Switched clearable icon from `x-circle` to `x-circle-fill` to make it easier to recognize - Updated to Bootstrap Icons to 1.7.0 - Updated to Lit 2.0.2 diff --git a/src/components/icon/library.system.ts b/src/components/icon/library.system.ts index 0de597c8..3bd7401f 100644 --- a/src/components/icon/library.system.ts +++ b/src/components/icon/library.system.ts @@ -76,10 +76,9 @@ const icons = { `, - 'x-circle': ` - - - + 'x-circle-fill': ` + + ` }; diff --git a/src/components/input/input.ts b/src/components/input/input.ts index b894d518..89ce4619 100644 --- a/src/components/input/input.ts +++ b/src/components/input/input.ts @@ -359,7 +359,7 @@ export default class SlInput extends LitElement { tabindex="-1" > - + ` diff --git a/src/components/select/select.ts b/src/components/select/select.ts index d7ae089a..2966e134 100644 --- a/src/components/select/select.ts +++ b/src/components/select/select.ts @@ -507,7 +507,7 @@ export default class SlSelect extends LitElement {