Commit graph

14 commits

Author SHA1 Message Date
Joren Broekema
a3ac76f174 fix(icon): fix types for icon src and test 2020-11-04 17:28:02 +01:00
erik
978af941ba fix(icon): single pronounciation in JAWS/FF 2020-10-22 11:18:12 +02:00
Joren Broekema
b500dfe237 chore: fix demo links and move back icon intro 2020-06-08 17:39:29 +02:00
Joren Broekema
3ae448f826 chore: move icon intro to icon package so it can be extended 2020-06-08 11:27:26 +02:00
Joren Broekema
a451d4fc8a chore: apply prettier formatting changes 2020-04-29 10:05:06 +02:00
Davide
9731771c23 fix: add display:none for hidden (#692) 2020-04-29 10:05:06 +02:00
Lars den Bakker
f887f973f0 feat(icon): add icon lazy loading system 2020-03-03 15:55:02 +01:00
Marcos Gil
4ff7a1e846 fix(icon): render nothing consistently when svg is null 2019-09-16 19:51:01 +02:00
Mikhail Bashkirov
a6b0780d4f feat(icon): enforce icon security using tagged templates
BREAKING: Icon definition requires a function using a tag passed via arguments:

```js
// myicon.svg.js

// before
export default '<svg>...</svg>';

// after
export default tag => tag`<svg>...</svg>`;
```

Application developers have an alternative shortcut to use in-place with lit-html:

```js
// MyComponent.js

// before
render() {
  return html`
    <lion-icon .svg="${'<svg>...</svg>'}"></lion-icon>
  `;
}

// after
render() {
  return html`
    <lion-icon .svg="${html`<svg>...</svg>`}"></lion-icon>
  `;
}
```
2019-07-01 17:48:05 +02:00
Goffert van Gool
675fc615ef fix(icon): refactor icon to not use 'until' hack and use get/set 2019-06-27 18:18:52 +02:00
Mikhail Bashkirov
bd5f51e3d7 fix(icon): use LitElement 2019-06-27 18:18:52 +02:00
Mikhail Bashkirov
c62d3353a2 fix(icon): render nothing consistently when svg is undefined 2019-06-27 18:18:52 +02:00
Thomas Allmer
8d96f84090 fix: update storybook/linting; adjust story labels, eslint ignores 2019-04-28 15:02:31 +02:00
Thomas Allmer
ec8da8f12c feat: release inital public lion version
Co-authored-by: Mikhail Bashkirov <mikhail.bashkirov@ing.com>
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
Co-authored-by: Joren Broekema <joren.broekema@ing.com>
Co-authored-by: Gerjan van Geest <gerjan.van.geest@ing.com>
Co-authored-by: Erik Kroes <erik.kroes@ing.com>
Co-authored-by: Lars den Bakker <lars.den.bakker@ing.com>
2019-04-26 10:37:57 +02:00