From b6e335304a3cdfd1179ef96bd7aefa616b48220e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Thu, 26 Oct 2023 16:10:51 +0200 Subject: [PATCH 1/8] essential icons --- .../lib/svgs/iconAdd.ts | 17 ++++++++++++++++- .../lib/svgs/iconAlert.ts | 17 ++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts b/packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts index e9faf4ef7..b13c49baf 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts @@ -1,3 +1,18 @@ import { svg } from 'lit'; -export const iconAdd = svg``; +export const iconAdd = svg` + + + + +`; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts b/packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts index 57b0258ce..4f17ac721 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts @@ -1,3 +1,18 @@ import { svg } from 'lit'; -export const iconAlert = svg``; +export const iconAlert = svg` + + + + +`; From 03c1971ef00245ef92bb42ab66860a8de2d2954c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Fri, 27 Oct 2023 09:25:29 +0200 Subject: [PATCH 2/8] wand + wrong --- packages/uui-icon-registry-essential/lib/svgs/iconWand.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconWrong.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconWand.ts b/packages/uui-icon-registry-essential/lib/svgs/iconWand.ts index fdc3e40a5..13a1f8dd4 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconWand.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconWand.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconWand = svg``; +export const iconWand = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconWrong.ts b/packages/uui-icon-registry-essential/lib/svgs/iconWrong.ts index 4b5691ef7..7e5dd790e 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconWrong.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconWrong.ts @@ -1,5 +1,3 @@ import { svg } from 'lit'; -export const iconWrong = svg` - -`; +export const iconWrong = svg``; From 361b0e2c064de82664640ab1a0784879e85b2f61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Fri, 27 Oct 2023 10:02:32 +0200 Subject: [PATCH 3/8] set color instead of fill --- packages/uui-icon/lib/uui-icon.element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/uui-icon/lib/uui-icon.element.ts b/packages/uui-icon/lib/uui-icon.element.ts index 48f483470..e3fe2e2e7 100644 --- a/packages/uui-icon/lib/uui-icon.element.ts +++ b/packages/uui-icon/lib/uui-icon.element.ts @@ -147,7 +147,7 @@ export class UUIIconElement extends LitElement { :host svg, ::slotted(svg) { - fill: var(--uui-icon-color, currentColor); + color: var(--uui-icon-color, currentColor); } :host-context(div[slot='prepend']) { From dd5fe21c36183cae2edc9bfa79d9e1e1cf13534d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Fri, 27 Oct 2023 10:02:58 +0200 Subject: [PATCH 4/8] more icons --- .../uui-icon-registry-essential/lib/svgs/iconAttachment.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconCalendar.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconCheck.ts | 4 +--- .../uui-icon-registry-essential/lib/svgs/iconClipboard.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconCode.ts | 2 +- .../uui-icon-registry-essential/lib/svgs/iconColorPicker.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconCopy.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconDelete.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconDocument.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconDownload.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconEdit.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconFavorite.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconFolder.ts | 2 +- .../uui-icon-registry-essential/lib/svgs/iconForbidden.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconInfo.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconLink.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconLock.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconPause.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconPicture.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconPlay.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconRemove.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconSearch.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconSee.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconSettings.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconSubtract.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconSync.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconUnlock.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconUnsee.ts | 2 +- 28 files changed, 28 insertions(+), 30 deletions(-) diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconAttachment.ts b/packages/uui-icon-registry-essential/lib/svgs/iconAttachment.ts index 111bffd7b..aded6dd6c 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconAttachment.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconAttachment.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconAttachment = svg``; +export const iconAttachment = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconCalendar.ts b/packages/uui-icon-registry-essential/lib/svgs/iconCalendar.ts index 2d801b9f2..2eb0a08a3 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconCalendar.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconCalendar.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconCalendar = svg``; +export const iconCalendar = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconCheck.ts b/packages/uui-icon-registry-essential/lib/svgs/iconCheck.ts index e89c091f0..26802c343 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconCheck.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconCheck.ts @@ -1,5 +1,3 @@ import { svg } from 'lit'; -export const iconCheck = svg` - -`; +export const iconCheck = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconClipboard.ts b/packages/uui-icon-registry-essential/lib/svgs/iconClipboard.ts index 468b5b490..f354675f4 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconClipboard.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconClipboard.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconClipboard = svg``; +export const iconClipboard = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconCode.ts b/packages/uui-icon-registry-essential/lib/svgs/iconCode.ts index c7c79b358..239800753 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconCode.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconCode.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconCode = svg``; +export const iconCode = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconColorPicker.ts b/packages/uui-icon-registry-essential/lib/svgs/iconColorPicker.ts index 3b4539e2e..394c6e669 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconColorPicker.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconColorPicker.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconColorPicker = svg``; +export const iconColorPicker = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconCopy.ts b/packages/uui-icon-registry-essential/lib/svgs/iconCopy.ts index cf4b18e03..5a2538cd0 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconCopy.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconCopy.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconCopy = svg``; +export const iconCopy = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconDelete.ts b/packages/uui-icon-registry-essential/lib/svgs/iconDelete.ts index 14fc75a9b..278d688f4 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconDelete.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconDelete.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconDelete = svg``; +export const iconDelete = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconDocument.ts b/packages/uui-icon-registry-essential/lib/svgs/iconDocument.ts index bd8161a58..2ba0fc8b0 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconDocument.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconDocument.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconDocument = svg``; +export const iconDocument = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconDownload.ts b/packages/uui-icon-registry-essential/lib/svgs/iconDownload.ts index e3b888fa5..3176517ca 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconDownload.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconDownload.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconDownload = svg``; +export const iconDownload = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconEdit.ts b/packages/uui-icon-registry-essential/lib/svgs/iconEdit.ts index e9d640c45..0265e3cbb 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconEdit.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconEdit.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconEdit = svg``; +export const iconEdit = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconFavorite.ts b/packages/uui-icon-registry-essential/lib/svgs/iconFavorite.ts index 936a0ee1f..ac5d4df80 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconFavorite.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconFavorite.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconFavorite = svg``; +export const iconFavorite = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconFolder.ts b/packages/uui-icon-registry-essential/lib/svgs/iconFolder.ts index 3a0d99ed2..9b93f54b4 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconFolder.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconFolder.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconFolder = svg``; +export const iconFolder = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconForbidden.ts b/packages/uui-icon-registry-essential/lib/svgs/iconForbidden.ts index 6acbb67eb..fc3ea5a8c 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconForbidden.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconForbidden.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconForbidden = svg``; +export const iconForbidden = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconInfo.ts b/packages/uui-icon-registry-essential/lib/svgs/iconInfo.ts index c96b9b411..9bb097076 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconInfo.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconInfo.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconInfo = svg``; +export const iconInfo = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconLink.ts b/packages/uui-icon-registry-essential/lib/svgs/iconLink.ts index f9b561af2..83bb1920f 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconLink.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconLink.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconLink = svg``; +export const iconLink = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconLock.ts b/packages/uui-icon-registry-essential/lib/svgs/iconLock.ts index 189a58f18..e56c6ddc0 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconLock.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconLock.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconLock = svg``; +export const iconLock = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconPause.ts b/packages/uui-icon-registry-essential/lib/svgs/iconPause.ts index e4ba31dfb..1c09d412d 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconPause.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconPause.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconPause = svg``; +export const iconPause = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconPicture.ts b/packages/uui-icon-registry-essential/lib/svgs/iconPicture.ts index e8aec5d90..cfec275b9 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconPicture.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconPicture.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconPicture = svg``; +export const iconPicture = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconPlay.ts b/packages/uui-icon-registry-essential/lib/svgs/iconPlay.ts index 0eead022c..06cf4cf41 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconPlay.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconPlay.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconPlay = svg``; +export const iconPlay = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconRemove.ts b/packages/uui-icon-registry-essential/lib/svgs/iconRemove.ts index 128c1b437..e9c46ecab 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconRemove.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconRemove.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconRemove = svg``; +export const iconRemove = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconSearch.ts b/packages/uui-icon-registry-essential/lib/svgs/iconSearch.ts index 877805e7e..6f418e75e 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconSearch.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconSearch.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconSearch = svg``; +export const iconSearch = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconSee.ts b/packages/uui-icon-registry-essential/lib/svgs/iconSee.ts index 32b7f52ae..4f678f2e3 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconSee.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconSee.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconSee = svg``; +export const iconSee = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconSettings.ts b/packages/uui-icon-registry-essential/lib/svgs/iconSettings.ts index 77193305b..9fa6b2a48 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconSettings.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconSettings.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconSettings = svg``; +export const iconSettings = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconSubtract.ts b/packages/uui-icon-registry-essential/lib/svgs/iconSubtract.ts index 4e6edc96b..d2fe20e71 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconSubtract.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconSubtract.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconSubtract = svg``; +export const iconSubtract = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconSync.ts b/packages/uui-icon-registry-essential/lib/svgs/iconSync.ts index b1256a5da..641cf2447 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconSync.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconSync.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconSync = svg``; +export const iconSync = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconUnlock.ts b/packages/uui-icon-registry-essential/lib/svgs/iconUnlock.ts index 493c54a44..c43d10e93 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconUnlock.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconUnlock.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconUnlock = svg``; +export const iconUnlock = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconUnsee.ts b/packages/uui-icon-registry-essential/lib/svgs/iconUnsee.ts index 6e1a9a927..75ea63592 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconUnsee.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconUnsee.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconUnsee = svg``; +export const iconUnsee = svg``; From 5af7ac0d3f0eca761ae43fcfda26e9e39a190e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Fri, 27 Oct 2023 10:03:33 +0200 Subject: [PATCH 5/8] remove book alt icon --- packages/uui-icon-registry-essential/lib/svgs/iconBookAlt.ts | 3 --- packages/uui-icon-registry-essential/lib/svgs/index.ts | 1 - 2 files changed, 4 deletions(-) delete mode 100644 packages/uui-icon-registry-essential/lib/svgs/iconBookAlt.ts diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconBookAlt.ts b/packages/uui-icon-registry-essential/lib/svgs/iconBookAlt.ts deleted file mode 100644 index 7b7653e52..000000000 --- a/packages/uui-icon-registry-essential/lib/svgs/iconBookAlt.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { svg } from 'lit'; - -export const iconBookAlt = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/index.ts b/packages/uui-icon-registry-essential/lib/svgs/index.ts index ee95fb13d..d55a08c18 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/index.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/index.ts @@ -1,7 +1,6 @@ export * from './iconAdd'; export * from './iconAlert'; export * from './iconAttachment'; -export * from './iconBookAlt'; export * from './iconCalendar'; export * from './iconCheck'; export * from './iconClipboard'; From 3ad0538f47dc2567613420c45126173b2a954eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Fri, 27 Oct 2023 10:04:06 +0200 Subject: [PATCH 6/8] remove book alt references --- .../uui-icon-registry-essential/lib/UUIIconRegistryEssential.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/uui-icon-registry-essential/lib/UUIIconRegistryEssential.ts b/packages/uui-icon-registry-essential/lib/UUIIconRegistryEssential.ts index c78d421fc..352fb36af 100644 --- a/packages/uui-icon-registry-essential/lib/UUIIconRegistryEssential.ts +++ b/packages/uui-icon-registry-essential/lib/UUIIconRegistryEssential.ts @@ -4,7 +4,6 @@ import { iconAdd, iconAlert, iconAttachment, - iconBookAlt, iconCalendar, iconCheck, iconClipboard, @@ -43,7 +42,6 @@ export class UUIIconRegistryEssential extends UUIIconRegistry { this.defineIcon('add', iconAdd.strings[0]); this.defineIcon('alert', iconAlert.strings[0]); this.defineIcon('attachment', iconAttachment.strings[0]); - this.defineIcon('book-alt', iconBookAlt.strings[0]); this.defineIcon('calendar', iconCalendar.strings[0]); this.defineIcon('check', iconCheck.strings[0]); this.defineIcon('clipboard', iconClipboard.strings[0]); From e7e3eb73fcaf93174bde8abfa0d95254bda521d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Fri, 27 Oct 2023 10:06:44 +0200 Subject: [PATCH 7/8] correct line breaks --- .../lib/svgs/iconAdd.ts | 17 +---------------- .../lib/svgs/iconAlert.ts | 17 +---------------- 2 files changed, 2 insertions(+), 32 deletions(-) diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts b/packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts index b13c49baf..51d998a11 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts @@ -1,18 +1,3 @@ import { svg } from 'lit'; -export const iconAdd = svg` - - - - -`; +export const iconAdd = svg` `; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts b/packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts index 4f17ac721..7a02aabff 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts @@ -1,18 +1,3 @@ import { svg } from 'lit'; -export const iconAlert = svg` - - - - -`; +export const iconAlert = svg``; From 2ea75539853bb73f44d1cd8aac93d55855661980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Tue, 7 Nov 2023 12:46:04 +0100 Subject: [PATCH 8/8] remove height and width props from icon SVGs --- packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconAttachment.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconCalendar.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconCheck.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconClipboard.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconCode.ts | 2 +- .../uui-icon-registry-essential/lib/svgs/iconColorPicker.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconCopy.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconDelete.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconDocument.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconDownload.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconEdit.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconFavorite.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconFolder.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconForbidden.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconInfo.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconLink.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconLock.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconPause.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconPicture.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconPlay.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconRemove.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconSearch.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconSee.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconSettings.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconSubtract.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconSync.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconUnlock.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconUnsee.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconWand.ts | 2 +- packages/uui-icon-registry-essential/lib/svgs/iconWrong.ts | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts b/packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts index 51d998a11..cd5678369 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconAdd.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconAdd = svg` `; +export const iconAdd = svg` `; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts b/packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts index 7a02aabff..79d8d3966 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconAlert.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconAlert = svg``; +export const iconAlert = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconAttachment.ts b/packages/uui-icon-registry-essential/lib/svgs/iconAttachment.ts index aded6dd6c..a4bb52fa7 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconAttachment.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconAttachment.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconAttachment = svg``; +export const iconAttachment = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconCalendar.ts b/packages/uui-icon-registry-essential/lib/svgs/iconCalendar.ts index 2eb0a08a3..5fb0c1359 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconCalendar.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconCalendar.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconCalendar = svg``; +export const iconCalendar = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconCheck.ts b/packages/uui-icon-registry-essential/lib/svgs/iconCheck.ts index 26802c343..4ae38adec 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconCheck.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconCheck.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconCheck = svg``; +export const iconCheck = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconClipboard.ts b/packages/uui-icon-registry-essential/lib/svgs/iconClipboard.ts index f354675f4..575703fd9 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconClipboard.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconClipboard.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconClipboard = svg``; +export const iconClipboard = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconCode.ts b/packages/uui-icon-registry-essential/lib/svgs/iconCode.ts index 239800753..4daf94a34 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconCode.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconCode.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconCode = svg``; +export const iconCode = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconColorPicker.ts b/packages/uui-icon-registry-essential/lib/svgs/iconColorPicker.ts index 394c6e669..6918e8646 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconColorPicker.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconColorPicker.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconColorPicker = svg``; +export const iconColorPicker = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconCopy.ts b/packages/uui-icon-registry-essential/lib/svgs/iconCopy.ts index 5a2538cd0..b532bb6c2 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconCopy.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconCopy.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconCopy = svg``; +export const iconCopy = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconDelete.ts b/packages/uui-icon-registry-essential/lib/svgs/iconDelete.ts index 278d688f4..14e5579a5 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconDelete.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconDelete.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconDelete = svg``; +export const iconDelete = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconDocument.ts b/packages/uui-icon-registry-essential/lib/svgs/iconDocument.ts index 2ba0fc8b0..db3939075 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconDocument.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconDocument.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconDocument = svg``; +export const iconDocument = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconDownload.ts b/packages/uui-icon-registry-essential/lib/svgs/iconDownload.ts index 3176517ca..609244e74 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconDownload.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconDownload.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconDownload = svg``; +export const iconDownload = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconEdit.ts b/packages/uui-icon-registry-essential/lib/svgs/iconEdit.ts index 0265e3cbb..f352c2285 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconEdit.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconEdit.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconEdit = svg``; +export const iconEdit = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconFavorite.ts b/packages/uui-icon-registry-essential/lib/svgs/iconFavorite.ts index ac5d4df80..b882e1db0 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconFavorite.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconFavorite.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconFavorite = svg``; +export const iconFavorite = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconFolder.ts b/packages/uui-icon-registry-essential/lib/svgs/iconFolder.ts index 9b93f54b4..d00d06218 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconFolder.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconFolder.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconFolder = svg``; +export const iconFolder = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconForbidden.ts b/packages/uui-icon-registry-essential/lib/svgs/iconForbidden.ts index fc3ea5a8c..f03da2b6d 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconForbidden.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconForbidden.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconForbidden = svg``; +export const iconForbidden = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconInfo.ts b/packages/uui-icon-registry-essential/lib/svgs/iconInfo.ts index 9bb097076..cdf23ef13 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconInfo.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconInfo.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconInfo = svg``; +export const iconInfo = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconLink.ts b/packages/uui-icon-registry-essential/lib/svgs/iconLink.ts index 83bb1920f..317442287 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconLink.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconLink.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconLink = svg``; +export const iconLink = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconLock.ts b/packages/uui-icon-registry-essential/lib/svgs/iconLock.ts index e56c6ddc0..e5c9d926a 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconLock.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconLock.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconLock = svg``; +export const iconLock = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconPause.ts b/packages/uui-icon-registry-essential/lib/svgs/iconPause.ts index 1c09d412d..1e2c96a5a 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconPause.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconPause.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconPause = svg``; +export const iconPause = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconPicture.ts b/packages/uui-icon-registry-essential/lib/svgs/iconPicture.ts index cfec275b9..62a1eedb5 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconPicture.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconPicture.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconPicture = svg``; +export const iconPicture = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconPlay.ts b/packages/uui-icon-registry-essential/lib/svgs/iconPlay.ts index 06cf4cf41..9a86d9fea 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconPlay.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconPlay.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconPlay = svg``; +export const iconPlay = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconRemove.ts b/packages/uui-icon-registry-essential/lib/svgs/iconRemove.ts index e9c46ecab..2b95a23ab 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconRemove.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconRemove.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconRemove = svg``; +export const iconRemove = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconSearch.ts b/packages/uui-icon-registry-essential/lib/svgs/iconSearch.ts index 6f418e75e..bf8767728 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconSearch.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconSearch.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconSearch = svg``; +export const iconSearch = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconSee.ts b/packages/uui-icon-registry-essential/lib/svgs/iconSee.ts index 4f678f2e3..544de34fc 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconSee.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconSee.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconSee = svg``; +export const iconSee = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconSettings.ts b/packages/uui-icon-registry-essential/lib/svgs/iconSettings.ts index 9fa6b2a48..2d1fa9396 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconSettings.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconSettings.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconSettings = svg``; +export const iconSettings = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconSubtract.ts b/packages/uui-icon-registry-essential/lib/svgs/iconSubtract.ts index d2fe20e71..24bde2a78 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconSubtract.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconSubtract.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconSubtract = svg``; +export const iconSubtract = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconSync.ts b/packages/uui-icon-registry-essential/lib/svgs/iconSync.ts index 641cf2447..7afb5fefc 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconSync.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconSync.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconSync = svg``; +export const iconSync = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconUnlock.ts b/packages/uui-icon-registry-essential/lib/svgs/iconUnlock.ts index c43d10e93..cf49ce11d 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconUnlock.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconUnlock.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconUnlock = svg``; +export const iconUnlock = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconUnsee.ts b/packages/uui-icon-registry-essential/lib/svgs/iconUnsee.ts index 75ea63592..9db9fd382 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconUnsee.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconUnsee.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconUnsee = svg``; +export const iconUnsee = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconWand.ts b/packages/uui-icon-registry-essential/lib/svgs/iconWand.ts index 13a1f8dd4..2876211a4 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconWand.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconWand.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconWand = svg``; +export const iconWand = svg``; diff --git a/packages/uui-icon-registry-essential/lib/svgs/iconWrong.ts b/packages/uui-icon-registry-essential/lib/svgs/iconWrong.ts index 7e5dd790e..e00917c79 100644 --- a/packages/uui-icon-registry-essential/lib/svgs/iconWrong.ts +++ b/packages/uui-icon-registry-essential/lib/svgs/iconWrong.ts @@ -1,3 +1,3 @@ import { svg } from 'lit'; -export const iconWrong = svg``; +export const iconWrong = svg``;