Commit graph

18 commits

Author SHA1 Message Date
Pavlik Kiselev
df9ca9fec5 feat: improved Astro integration 2025-10-03 09:37:32 +02:00
gerjanvangeest
bc175b5609 chore: update portal url 2024-10-29 12:15:39 +01:00
Kristján Oddsson
c7c83d1d8b
update prettier
* update prettier to v3.x
* update prettify in @lion/nodejs-helpers to match updated prettier
* remove redundant await for promise
* remove `@types/prettier` as it's now included in `prettier`
* format lit template snippets with `jsx`
2024-05-17 21:43:23 +02:00
Oleksii Kadurin
00a7e39aae feat(ui): adopt @open-wc/scoped-elements mixin v3
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2024-03-27 18:02:15 +01:00
gerjanvangeest
d2de984f0b
Feat/input file (#1881)
* feat(input-file): create input-file component

* chore: improvements after review

* chore: update after review

* chore: update translations

* chore: - fixed demo with form submit, submit was not prevented
       - fixed checking allowed file extensions
       - fixed clicking on select file button in drag and drop area

* chore: since the input-file does not upload files itself but enables user to select files, I replaced "upload" and "upload" with "select" and "selected" where applicable

* chore: - removed unused properties allowedFileTypes and allowedFileExtensions from lion-input-file
       - cleaned up docs

* chore: - changed type Array.<type> to Array<type>
       - removed redundant type definition

* fix: - FocusMixin: moved registering events for from connectedCallback to firstUpdated since _focusableNode is sometimes not available yet
     - SlotMixin: changed updated to update in since slots were rendered too late (related to previous fix in FocusMixin.js)

* fix: renamed lion-uploaded-file-list.js to lion-selected-file-list.js

* fix: fixed test for lion-selected-file-list

* fix: fixed typ

* wip

* fix: - fixed issue with multiple file selection where element would not select valid files after invalid ones
     - added getMessage method to FileValidation that returns empty string to prevent message being shown that error message must be configured
     - fixed tests

* chore: replaced `uploadOnFormSubmit` with `uploadOnSelect` and flipped the default value to false. When `uploadOnSelect` is set to true, the file will be uploaded as soon as it is selected.

* fix: - replaced `uploadOnFormSubmit` with `uploadOnSelect` and flipped the default value to false. When `uploadOnSelect` is set to true, the file will be uploaded as soon as it is selected.
     - fixed issue where a valid file was not selected and added to the file list if it was preceded by an invalid file

* chore: removed redundant README.md

* fix: fixed failing test

* chore: added missing type annotation

* chore: annotated event param as optional

---------

Co-authored-by: Danny Moerkerke <danny.moerkerke@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2023-06-06 11:30:43 +02:00
Danny Moerkerke
593d330158
chore: wrote a blogpost on @lion/ui (#1946)
* chore: wrote a blogpost on @lion/ui

* Update docs/blog/introducing-lion-ui.md

Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>

* Update docs/blog/introducing-lion-ui.md

Co-authored-by: gerjanvangeest <gerjanvangeest@users.noreply.github.com>

* Update introducing-lion-ui.md

Removed placeholder cover image

---------

Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
Co-authored-by: gerjanvangeest <gerjanvangeest@users.noreply.github.com>
2023-04-05 09:39:46 +02:00
Thomas Allmer
c9e060fc21 feat: move all web pkgs into a single npm pkg @lion/ui 2022-10-31 11:15:03 +01:00
Thomas Allmer
fab6b57b82 feat: move repo to npm workspaces 2022-10-20 10:20:12 +02:00
Thomas Allmer
aa8b89161d feat: update to @open-wc/scoped-element not needing a polyfill 2022-04-05 12:38:28 +02:00
Konstantinos Norgias
672c8e99b6 chore: update header order, components list and links 2022-03-30 12:37:30 +02:00
gvangeest
80d5dec3e5 chore: upgrade node version 2022-02-02 13:57:31 +01:00
Gaël Poupard
3393841522
fix(typo): in accessibility.md
Looks like a typo, am I wrong?

Thanks for this content @erikkroes, it's really useful ❤️
2021-12-08 14:16:41 +01:00
erik
f016883d7e
chore: accessibility blog 2021-12-07 11:05:55 +01:00
qa46hx
8c06302e54 chore: fix documentation of how to import core elements 2021-07-15 09:22:03 +02:00
Thijs Louisse
84131205e5 fix: use mdjs-preview in docs for lit compatibility 2021-07-05 12:52:04 +02:00
Joren Broekema
6ea0298884 fix: use ...styles / CSSResult[] everywhere for types consistency 2021-03-30 17:25:02 +02:00
Thomas Allmer
f1cb7b83b4 chore: improve social media images 2021-03-15 16:17:44 +01:00
Thomas Allmer
5db622e9da feat: as BREAKING CHANGE add exports & convert to static docs page 2021-03-15 15:22:37 +01:00