-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: created/updated svg icons * feat: updated loading and added empty * chore: fixed linting * feat: changed svg colors * chore: minor improvements Co-authored-by: Wouter Janssens <wouter@digita.ai>
- Loading branch information
Showing
25 changed files
with
239 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
packages/nde-erfgoed-components/lib/demo/demo-svg.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import { Cross, Logout, Search, Object, Login, Edit, Bell, Loading, Trash, Dropdown, Identity, Connect, Plus, Dots, Collection, Save, Image } from '@digita-ai/nde-erfgoed-theme'; | ||
import { css, html, LitElement } from 'lit-element'; | ||
import { unsafeSVG } from 'lit-html/directives/unsafe-svg'; | ||
/** | ||
* A component which represents different icons. | ||
*/ | ||
export class DemoSVGComponent extends LitElement { | ||
|
||
/** | ||
* Renders the component as HTML. | ||
* | ||
* @returns The rendered HTML of the component. | ||
*/ | ||
render() { | ||
|
||
return html` | ||
<div> | ||
${ unsafeSVG(Login) } | ||
${ unsafeSVG(Save) } | ||
${ unsafeSVG(Object) } | ||
${ unsafeSVG(Trash) } | ||
${ unsafeSVG(Dropdown) } | ||
${ unsafeSVG(Identity) } | ||
${ unsafeSVG(Connect) } | ||
${ unsafeSVG(Bell) } | ||
${ unsafeSVG(Search) } | ||
${ unsafeSVG(Cross) } | ||
${ unsafeSVG(Plus) } | ||
${ unsafeSVG(Dots) } | ||
${ unsafeSVG(Collection) } | ||
${ unsafeSVG(Image) } | ||
${ unsafeSVG(Logout) } | ||
${ unsafeSVG(Loading) } | ||
${ unsafeSVG(Edit) } | ||
</div> | ||
`; | ||
|
||
} | ||
|
||
/** | ||
* The styles associated with the component. | ||
*/ | ||
static get styles() { | ||
|
||
return [ | ||
css` | ||
div { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
} | ||
div svg { | ||
margin-right: var(--gap-normal); | ||
height: var(--gap-large); | ||
fill: var(--colors-foreground-normal); | ||
} | ||
`, | ||
]; | ||
|
||
} | ||
|
||
} | ||
|
||
export default DemoSVGComponent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion
2
...s/nde-erfgoed-theme/lib/icons/Dismiss.svg → ...ges/nde-erfgoed-theme/lib/icons/Cross.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.