Commit graph

26 commits

Author SHA1 Message Date
Thijs Louisse
8b7cc43f26 feat: allow SlotRerenderObject to first render on connectedCallback via firstRenderOnConnected 2024-03-15 13:19:59 +01:00
gerjanvangeest
e72fd6d6ea feat(form-core): add select and upload specific required messages 2024-03-06 15:52:36 +01:00
gerjanvangeest
b68fa39924 chore: add data-label to doc examples with explanation 2024-03-06 15:49:28 +01:00
Thijs Louisse
dd624c1412 chore: fix broken overlay system demos 2024-01-25 17:18:51 +01:00
Oleksii Kadurin
db2ab59aeb
chore: import missing dependencies for configuration.md 2023-11-07 11:24:53 +01:00
Oleksii Kadurin
f421bd7326
fix: update documentation and unit tests for validation 2023-11-07 11:21:41 +01:00
Thijs Louisse
6893421779
chore: SlotRerenderObject aligned with reactive cycle (docs + changelog) (#1999) 2023-06-07 09:16:28 +02: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
gvangeest
5516bec4ba chore(overlays): add documentation about role=none is used 2023-03-20 14:18:53 +01:00
SynnefonK
faae93376a
chore: camelCase linting for properties 2023-02-08 20:22:26 +01:00
Ahmet Yeşil
87e565caeb
fix: overlay docs error: 'return' outside of function (#1887) 2023-01-23 12:57:20 +01:00
Tobias Kuppens Groot
03a90637bd docs: fix TemplateContentRenderError
- format section isTooltip
- removed trailing closing brackets which caused the error

Signed-off-by: Tobias Kuppens Groot <tkuppensgroo@uos.de>
2023-01-05 11:17:09 +01:00
Thijs Louisse
41d3fc7c1f chore: overlay demo fixes 2023-01-02 15:04:06 +01:00
Thijs Louisse
473cd0ffc4 chore: copy overlays docs assets inside ui pkg 2022-12-09 16:23:31 +01:00
Thijs Louisse
0bc604d600 fix: demos and overlay styles
chore: overlay documentation fixes
2022-12-09 15:54:28 +01:00
Thijs Louisse
64c0e26c20 feat: use dialog element for top layer functionality of all overlays 2022-12-09 15:54:28 +01:00
Thijs Louisse
5e15942386 chore: fix all form integrations tech debt 2022-12-09 15:54:28 +01:00
Thijs Louisse
2572012d8e chore: enhance SlotMixin docs 2022-11-23 16:19:09 +01:00
Thijs Louisse
d6d3810f7c chore: add a11y and SlotMixin docs 2022-11-17 12:08:12 +01:00
Thomas Allmer
c9e060fc21 feat: move all web pkgs into a single npm pkg @lion/ui 2022-10-31 11:15:03 +01:00
Joren Broekema
2d58320e51
feat: format number add thousandSeparator option, fix type decimalSep (#1774) 2022-09-08 09:19:07 +02:00
rtemision
eac75227ad
Fix overlay docs: correct events names (#1751) 2022-07-27 14:11:14 +02:00
Thijs Louisse
24a58cdf57 chore: add input-tel(-dropdown) to umbrella-form + test unregister
Co-authored-by: Konstantinos Norgias <Konstantinos.Norgias@ing.com>
2022-04-11 11:17:53 +02:00
Thijs Louisse
034e4bb88a chore: fix h-output helper for demos 2022-04-06 12:30:24 +02:00
Konstantinos Norgias
5cc64991b1 chore: add eg for validator class that returns enum 2022-04-05 12:53:46 +02:00
Konstantinos Norgias
672c8e99b6 chore: update header order, components list and links 2022-03-30 12:37:30 +02:00