Commit graph

2481 commits

Author SHA1 Message Date
Kristján Oddsson
275f49eb1e add a changeset 2023-08-30 13:46:21 +02:00
Kristján Oddsson
54287eeff0 Enrich the AjaxFetchError message with the response status 2023-08-30 13:46:21 +02:00
Kristján Oddsson
b2c8a8ab90 Set AjaxFetchError as error name 2023-08-30 13:46:21 +02:00
Thijs Louisse
19176e5b6c chore: changeset release mode back to "normal" 2023-08-30 13:46:08 +02:00
Thijs Louisse
a3738b500f chore: enter prerelease mode and version packages 2023-08-22 16:43:42 +02:00
Thijs Louisse
415a50d670 chore: add prerelease pipeline 2023-08-22 16:26:17 +02:00
github-actions[bot]
4fc11ddbf7 Version Packages 2023-08-22 15:26:36 +02:00
Thijs Louisse
47228cad12 chore: delete changeset for @lion/ui, so we can do separate prerelease for it 2023-08-22 15:19:45 +02:00
narzac
296463d0d9 feat: init nodejs-helpers package, add bypass-import-map, bypass-export-map, and run part of lion prepublish 2023-08-18 14:32:09 +02:00
github-actions[bot]
3a652d6c18
Version Packages (#2050)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-01 11:00:04 +02:00
Joren Broekema
9cdac8e947
fix: clone response when reading the response for error (#2049) 2023-08-01 10:45:27 +02:00
Thijs Louisse
16d95c624e
Merge pull request #2035 from ing-bank/changeset-release/master
Version Packages
2023-07-25 20:00:38 +02:00
github-actions[bot]
f1ef7c164e Version Packages 2023-07-18 11:45:39 +00:00
Joren Broekema
7a875ef1b4
feat: parsing body for failed ajax responses (#2039) 2023-07-18 13:44:22 +02:00
Víctor Lara
5eafa1ffc1
fix(overlays): add aria-hidden to arrow (#2030) 2023-07-10 08:18:08 +02:00
github-actions[bot]
b340fd7a6c
Version Packages (#2032)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-06 13:02:46 +02:00
Pascal Schilp
ecf63407ba
Merge pull request #2031 from ing-bank/fix/empty-response
fix: avoid JSON.parsing empty responses
2023-07-06 12:02:43 +02:00
Pascal Schilp
fd93cc0cc2
Create chilly-bananas-talk.md 2023-07-06 11:41:02 +02:00
thepassle
08b109b2a1 fix: avoid JSON.parsing empty responses 2023-07-06 11:38:27 +02:00
github-actions[bot]
14a8f77960
Version Packages (#2026)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-04 10:44:15 +02:00
gerjanvangeest
b44bfc5d1f
feat: enable navigation to, selecting & give accessible message for calendar disabled dates (#1978)
Co-authored-by: Konstantinos Norgias <Konstantinos.Norgias@ing.com>
2023-07-04 10:36:18 +02:00
Danny Moerkerke
137a1b6cf5
Feat/is dragging prop (#2025)
* fix: lion-selected-filelist, restored composed: true and bubbles: true for 'file-remove-requested' event, otherwise removing files for subclassers won't work

* feat: added isDragging property
2023-06-27 09:18:41 +02:00
Thijs Louisse
05fbac7f71
Merge pull request #2023 from ing-bank/changeset-release/master
Version Packages
2023-06-22 14:37:44 +02:00
github-actions[bot]
38e67f8299 Version Packages 2023-06-22 09:58:14 +00:00
Danny Moerkerke
ecf853dbc4
chore: add changeset for fix of exported types of lion-input-file 2023-06-22 11:56:43 +02:00
Danny Moerkerke
0745ce8526
Fix/input file types (#2021)
* fix: lion-selected-filelist, restored composed: true and bubbles: true for 'file-remove-requested' event, otherwise removing files for subclassers won't work

* chore: exported correct types for lion-input-file

* fix: fixed type errors
2023-06-22 10:48:49 +02:00
Thijs Louisse
91b582d8c9
Merge pull request #2020 from ing-bank/changeset-release/master
Version Packages
2023-06-21 11:43:59 +02:00
github-actions[bot]
7ec183cccb Version Packages 2023-06-20 15:33:22 +00:00
Danny Moerkerke
259e0dd468
Fix/remove file (#2018)
* fix: lion-selected-filelist, restored composed: true and bubbles: true for 'file-remove-requested' event, otherwise removing files for subclassers won't work

* fix: lion-selected-filelist, restored composed: true and bubbles: true for 'file-remove-requested' event, otherwise removing files for subclassers won't work

* fix: removed composed: true and bubbles: true and set eventlistener directly on lion-selected-file-list

* Update packages/ui/components/input-file/src/LionInputFile.js

* Update packages/ui/components/input-file/src/LionInputFile.js

* Update packages/ui/components/input-file/src/LionInputFile.js

* fix: fixed test

* Update packages/ui/components/input-file/test/lion-input-file.test.js

* chore: format

* fix

---------

Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
2023-06-20 17:32:05 +02:00
github-actions[bot]
a19e02c443
Version Packages (#2008)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-19 11:55:23 +02:00
gerjanvangeest
7ec90dcb06
chore: add checkboxIndeterminate test suite (#2013) 2023-06-14 16:24:34 +02:00
gerjanvangeest
02e61285dd
Revert "fix: create exports for test-suites and test-helpers (#2010)" (#2012)
This reverts commit 3cfc9f9744.
2023-06-13 15:14:47 +02:00
gerjanvangeest
1ea5730aa5
fix(localize): align currency symbol usage for all browsers (#2011) 2023-06-13 14:57:26 +02:00
gerjanvangeest
3cfc9f9744
fix: create exports for test-suites and test-helpers (#2010) 2023-06-13 08:47:56 +02:00
gerjanvangeest
dbc3fc2db6
fix(combobox): submit form on [Enter] (#2005)
fix(combobox): submit form on [Enter]
2023-06-08 18:14:14 +02:00
dependabot[bot]
ccc762d876 chore(deps): bump socket.io-parser from 4.2.1 to 4.2.4
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.1 to 4.2.4.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.1...4.2.4)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 18:08:23 +02:00
Konstantinos Norgias
c400ec94b9 chore: add info how to install each package 2023-06-08 18:07:43 +02:00
SynnefonK
00ccd5cfd4
Merge pull request #2007 from ing-bank/feat/vs-code-custom-data
feat: expose vscode custom-data
2023-06-08 18:06:24 +02:00
Konstantinos Norgias
33c0ff13da chore: add changeset & docs on how to enable VS Code autocomplete 2023-06-08 17:54:19 +02:00
Thijs Louisse
d620dade55 feat: expose vscode custom-data 2023-06-08 17:22:58 +02:00
Thijs Louisse
951de3e9b2
Fix/docs on prepublish (#2002)
* Revert "chore: revert release.yml, since it cannot run scripts atm"

This reverts commit eafffc3305.

* chore: automate prepublish docs step
2023-06-08 10:00:01 +02:00
Thijs Louisse
fe7611bead
Merge pull request #2001 from ing-bank/chore/revertReleaseYml
chore: revert release.yml, since it cannot run scripts atm
2023-06-07 17:08:11 +02:00
Thijs Louisse
eafffc3305 chore: revert release.yml, since it cannot run scripts atm 2023-06-07 16:59:57 +02:00
Thijs Louisse
bc34e73066
Merge pull request #1986 from ing-bank/changeset-release/master
Version Packages
2023-06-07 13:05:45 +02:00
github-actions[bot]
844493ba5c Version Packages 2023-06-07 10:58:51 +00:00
Danny Moerkerke
8b9c8050e5
Fix/upload response (#2000)
* 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

* chore: corrected property names in demo and removed demo of prefilled state

* chore: renamed `_fileSelectResponse` back to `uploadResponse` and restored demo of prefilled state

---------

Co-authored-by: gvangeest <gerjan.van.geest@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2023-06-07 12:57:34 +02: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
SynnefonK
649bcc6320
Update verify.yml (#1996) 2023-06-06 10:47:17 +02:00
Farzan Najipour
c8052af068
chore: workflow improvement (#1989)
* Update verify.yml with setup-common-steps

This commit updates the verify.yml file to include the setup-common-steps job. The setup-common-steps job is responsible for setting up the common steps required for the verify workflow. By adding this job, we ensure that the necessary setup is performed before running the verify job.

The update includes the following changes:

- Added the setup-common-steps job to the jobs section.
- Added the needs keyword to the verify, browser-tests, node-tests, and node-tests-windows jobs, specifying that they depend on the setup-common-steps job.

* Update actions/setup-node and actions/checkout versions

This commit updates the versions of actions/setup-node and actions/checkout in the release.yml file.

* Rename 'setup-common-steps' to 'init' in verify.yml

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

* Update setup-node and action/checkout to v3

* Update setup-node and action/checkout to v3 and rename setup-common-steps to init

---------

Co-authored-by: gerjanvangeest <gerjanvangeest@users.noreply.github.com>
2023-06-05 09:17:16 +02:00