Skip to content

Commit 1914af7

Browse files
Add book-alt icon (#419)
* Update uui-input-file.element.ts Only show add button when multiple or no file selected * missing import * add bookOpen icon to essentials registry * revert input changes * fix naming --------- Co-authored-by: Jacob Overgaard <[email protected]>
1 parent a2598a0 commit 1914af7

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

packages/uui-icon-registry-essential/lib/UUIIconRegistryEssential.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
iconAdd,
55
iconAlert,
66
iconAttachment,
7+
iconBookAlt,
78
iconCalendar,
89
iconCheck,
910
iconClipboard,
@@ -42,6 +43,7 @@ export class UUIIconRegistryEssential extends UUIIconRegistry {
4243
this.defineIcon('add', iconAdd.strings[0]);
4344
this.defineIcon('alert', iconAlert.strings[0]);
4445
this.defineIcon('attachment', iconAttachment.strings[0]);
46+
this.defineIcon('book-alt', iconBookAlt.strings[0]);
4547
this.defineIcon('calendar', iconCalendar.strings[0]);
4648
this.defineIcon('check', iconCheck.strings[0]);
4749
this.defineIcon('clipboard', iconClipboard.strings[0]);
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { svg } from 'lit';
2+
3+
export const iconBookAlt = svg`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M475.88 151.615c-.583-.961-10.257-17.833-29.675-35.154-19.305-17.239-49.226-35.216-88.641-35.21-39.424-.02-69.047 18.022-87.958 35.329a162.852 162.852 0 0 0-14.814 15.459 167.873 167.873 0 0 0-15.325-15.578c-19.302-17.239-49.225-35.216-88.635-35.21-39.428-.02-69.049 18.022-87.962 35.329-19.041 17.4-28.3 34.322-28.873 35.328l-1.991 7.796v254.56l30.49 7.78.066.039c.423-.818 8.621-14.927 23.664-28.167 15.169-13.298 36.324-25.537 64.605-25.557 29.166.006 51.354 13.121 66.996 26.975a134.425 134.425 0 0 1 17.578 19.031 110.554 110.554 0 0 1 4.313 6.109 52.672 52.672 0 0 1 1.176 1.876l.008.006.006-.002c2.808 4.888 8.066 8.192 14.113 8.192 6.155 0 11.507-3.421 14.271-8.464h.002l.025-.049.008-.014c.617-1.129 8.778-15.029 23.632-28.104 15.169-13.298 36.327-25.537 64.603-25.557 29.178.006 51.36 13.121 67.002 26.975 7.752 6.894 13.677 13.88 17.576 19.031a110.974 110.974 0 0 1 4.312 6.109c.463.707.792 1.241.984 1.562.092.155.163.263.192.314l.004.006.029-.012 30.37-8.081v-254.56l-2.151-8.087zM150.832 335.806h-.062c-38.245 0-67.258 16.996-86.213 33.819V164.279c3.311-5.068 10.654-15.229 21.67-24.919 15.169-13.31 36.324-25.539 64.605-25.559 29.166 0 51.354 13.122 66.996 26.974a134.046 134.046 0 0 1 17.578 19.03 108.111 108.111 0 0 1 3.338 4.655v205.933c-19.321-17.044-48.976-34.587-87.912-34.587zm294.652 34.57c-19.324-17.04-48.99-34.57-87.92-34.57-38.292-.018-67.307 17.006-86.275 33.849V164.289c3.305-5.058 10.639-15.217 21.673-24.929 15.169-13.31 36.327-25.539 64.603-25.559 29.178 0 51.36 13.122 67.002 26.974 7.752 6.891 13.677 13.875 17.576 19.03a110.27 110.27 0 0 1 3.342 4.651v205.92z"/></svg>`;

packages/uui-icon-registry-essential/lib/svgs/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export * from './iconAdd';
22
export * from './iconAlert';
33
export * from './iconAttachment';
4+
export * from './iconBookAlt';
45
export * from './iconCalendar';
56
export * from './iconCheck';
67
export * from './iconClipboard';

0 commit comments

Comments
 (0)