Commit graph

829 commits

Author SHA1 Message Date
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
Konstantinos Norgias
33c0ff13da chore: add changeset & docs on how to enable VS Code autocomplete 2023-06-08 17:54:19 +02:00
github-actions[bot]
844493ba5c Version Packages 2023-06-07 10:58:51 +00: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
Gyulai Levente
bdc7455610
feat(@lion/ui): add _currencyDisplayNodeSlot to LionInputAmount (#1988)
* feat(@lion/ui): add _currencyDisplayNodeSlot to LionInputAmount

* Remove test for feature what is not supported anymore
* Add documentation
* Add test for customizable currency slot
2023-06-01 08:55:42 +02:00
SynnefonK
7089ea54e3
Merge pull request #1963 from Sciurus7/autofocus-ui
fix(form-core) sync autofocus to focusable node (fixes #1775)
2023-05-25 10:34:39 +02:00
Monika Nawój
e310c08af1
fix(LionInputDatePicker): remove endless loop on InvalidDate modelValue (#1984)
* refactor: used IsDate validator instead of custom isValidDate function

* fix: used IsDate validator to validate modelValue before it's passed to lion-calendar's selctedDate

* test: Updated lion-input-datepicker tests to include example of handling invalid modelValue

* docs: Updated docs to include example with invalid modelValue

* refactor: updated returned type of __getSyncDownValue method

* changset: updated changeset for @lion/ui

* refactor: linting fix

* refactor:  import path updated

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

* refactor: label added to Faulty prefilled datepicker input

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

* test: updated test to include more obvious invalid date value

---------

Co-authored-by: gerjanvangeest <gerjanvangeest@users.noreply.github.com>
2023-05-24 11:51:26 +02:00
github-actions[bot]
0d7d170709 Version Packages 2023-05-17 10:08:17 +00:00
gerjanvangeest
88e6ca03ca
fix(localize): parseNumbers as heuristic if there is only 1 separator and 2 or less decimals e.g. 12.34 (#1976) 2023-05-17 12:07:00 +02:00
github-actions[bot]
703fb72034 Version Packages 2023-05-01 15:28:23 +00:00
Danny Moerkerke
12f1800806 fix: lion-calendar: when determining if user interacted with a day button we no longer examine event.target but event.composedPath()[0] since it otherwise fails in Firefox 111+ 2023-04-19 15:34:03 +02:00
Sciurus7
2683a73080 fix(form-core) sync autofocus to focusable node 2023-04-14 13:39:05 +02:00
Danny Moerkerke
5b8d655f10
Fix/dialog scroll to top ios (#1957)
* fix: possible fix for iOS focus issue WIP

* chore: added test for elementToFocusAfterHide WIP

* chore: dialog tests for elementToFocusAFterHide

* chore: added test to assert element specified in `elementToFocusAfterHide` config key of lion-dialog is scrolled into the viewport

* chore: - added test to assert that element specified in dialog config key `elementToFocusAfterHide` is not focused when the dialog is closed if the user deliberately moved focus to another element while the dialog was open
       - added changeset

* chore: - removed unneeded button
       - renamed this.__activeElement to this.__activeElementRightBeforeHide in OverlayController.js
       - set this.__activeElementRightBeforeHide to this.contentNode.getRootNode().activeElement instead of document.activeElement

* chore: moved test to assert if element specified in dialog config key elementToFocusAfterHide is in viewport when dialog is closed to OverlayController.test.js

---------

Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2023-04-13 15:04:23 +02:00
Barni
a5f35158c0
feat(@lion/ui): add _previousIconTemplate and _nextIconTemplate to LionCalendar (#1954) 2023-04-03 17:00:30 +02:00
gvangeest
ddea63b381 fix(combobox): update option list after clear 2023-03-22 13:07:34 +01:00
github-actions[bot]
0ec0d6dc9f Version Packages 2023-03-20 09:30:27 +01:00
gerjanvangeest
a2b81b2693
feat(combobox): add requireOptionMatch flag and MatchesOption validator
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
2023-03-16 18:18:40 +01:00
barni52
1f018bafdf feat(@lion/ui): add _invokerIconTemplate to LionInputDatepicker 2023-03-16 15:30:02 +01:00
Thijs Louisse
adfa29a049 fix(switch): remove one of the two nested role="switch" 2023-03-15 11:31:43 +01:00
gvangeest
0d4c42ab64 fix(listbox): allow use of arrow keys when focus is not on listbox 2023-03-15 11:10:48 +01:00
Danny Moerkerke
3256892ce9
fix: checked-changed event is no longer fired on element initialization when checked is set through attribute 2023-03-15 10:59:04 +01:00
Pascal Schneider
183c86af26
fix: more sensible default for German iban validator translation 2023-03-15 09:42:48 +01:00
Danny Moerkerke
075d5077bd
Merge pull request #1934 from ing-bank/fix/accordion-selector-fix
fix: changed selectors for invokers and content to only select slotte…
2023-03-15 09:35:53 +01:00
jorenbroekema
42a463eee1 fix(ui/overlays): set <dialog> wrapping el padding to 0 2023-03-11 00:05:23 +01:00
Danny Moerkerke
3f1c83a180 fix: changed selectors for invokers and content to only select slotted elements that are direct descendants. This is to prevent that slotted elements in accordion content and invokers are also selected and the amount of invokers and content is incorrect 2023-03-09 15:33:24 +01:00
github-actions[bot]
ecea06cb6e Version Packages 2023-02-28 15:21:38 +01:00
gvangeest
4226a0144c fix(combobox): add translations 2023-02-28 15:03:55 +01:00
Joren Broekema
63bb012e36 fix(ajax): fetchJSON to attempt parse JSON when missing content-type header
Co-authored-by: Nikhil Hundare <nikhil.hundare@gmail.com>
2023-02-28 14:04:37 +01:00
gvangeest
943618fdcb fix(combobox): fix direct open and closing of the overlay on focus of empty input when showAllOnEmpty 2023-02-23 12:39:36 +01:00
github-actions[bot]
44be4edeee Version Packages 2023-02-20 10:40:01 +01:00
Thijs Louisse
d40fd90bbd fix(providence-analytics): fix conflicting package entries 2023-02-20 09:39:48 +01:00
gvangeest
1c18057cee fix(combobox): make the first occurrence of a string highlighted, instead of the last 2023-02-15 08:47:32 +01:00
Riovir
974e9ea4ce fix(@lion/ui): declare sideEffects in package.json 2023-02-13 16:31:30 +01:00
github-actions[bot]
3b844e4282 Version Packages 2023-02-10 20:30:30 +00:00
Riovir
e871fe67fc fix(@lion/ui): export types necessary for type inference of core.js 2023-02-10 21:29:14 +01:00
github-actions[bot]
4d9612e93d Version Packages 2023-02-10 11:01:46 +01:00
Riovir
9ff7cd778d fix(@lion/ui): export types necessary for type inference of mixins 2023-02-10 01:03:45 +01:00
Danny Moerkerke
84173cdba1
fix(@lion/ui): [select-rich] listbox element always focused in overlay
when the overlay is shown, the "autofocus" attribute is added to _listboxNode (_inputNode) to make sure that keyboard navigation continues to work when the element is inside a bottomsheet. When the overlay is closed the attribute is removed.
2023-02-09 18:41:18 +01:00
Danny Moerkerke
eff3259eea
Feat/localize manager override data (#1900)
feat: - added `allowOverridesForExistingNamespaces` parameter to `addData` method of LocalizeManager to allow for changing data in a namespace for a given locale
2023-02-02 17:04:49 +01:00
Thijs Louisse
74b4b686da Revert "chore: trigger npm release of @lion/ui"
This reverts commit 3d6828cc8f.
2023-02-01 21:39:53 +01:00
Thijs Louisse
3d6828cc8f chore: trigger npm release of @lion/ui 2023-02-01 20:41:44 +01:00
github-actions[bot]
34390b269c Version Packages 2023-02-01 17:43:23 +01:00
gvangeest
13185da02a fix(localize): don't set modelValue to unparseable if date has a negative timezone
Co-authored-by: Danny Moerkerke<Danny.Moerkerke@ing.com>
2023-02-01 17:42:19 +01:00
Danny Moerkerke
a47a6e615b chore: - added test to assert that modelValue of lion-select is updated when the value or text of one or more options are changed
- added changeset
2023-02-01 17:15:51 +01:00
Thijs Louisse
bd24f82cc3 chore: fix changeset to release patch 2023-02-01 17:08:37 +01:00
Thijs Louisse
cee40e5588 chore(@lion/ui): all tests side effect free wrt localize 2023-02-01 16:06:30 +01:00
gvangeest
0efce8e18b fix(localize): parse negative numbers correctly 2023-01-25 11:06:17 +01:00
github-actions[bot]
404351d865 Version Packages 2023-01-24 10:38:28 +01:00
Thomas Allmer
a4ffebbd27 chore: release @lion/ui 0.1.0 2023-01-24 10:32:04 +01:00
Thomas Allmer
851329eee1 fix: correct msgLit return type 2023-01-24 10:32:04 +01:00
github-actions[bot]
ac6f4ca389 Version Packages 2023-01-23 11:58:32 +00:00
Ahmet Yeşil
87e565caeb
fix: overlay docs error: 'return' outside of function (#1887) 2023-01-23 12:57:20 +01:00
Joren Broekema
a5330c922c
fix(icon): non-fatal console error for missing icons (#1884)
* fix(icon): non-fatal console error for missing icons
2023-01-23 12:37:18 +01:00
Ryan
d204195c16 Create forty-hornets-speak.md 2023-01-23 12:24:50 +01:00
github-actions[bot]
2c104e9b2b Version Packages 2023-01-16 11:17:09 +01:00
gvangeest
9f6270b340 fix(select-rich): set focusableNode correctly so focused and focused-visible attributes are set when invoker gets focus 2023-01-16 10:06:18 +01:00
Danny Moerkerke
9fb14fa1c5 fix: - rearranging invokers and content for a correct tab order is now implemented by changing the slot attributes of both instead of moving them
- changed css for this implementation
     - fixed tests
     - added changeset
2023-01-16 09:57:24 +01:00
Thijs Louisse
af2e0293a1 fix(ui): [overlays]: enhance adoptStyles fallback and make testable 2023-01-12 11:35:01 +01:00
gvangeest
9a43dc4d89 fix(input-tel-dropddown): add translations for 'All countries' and 'Suggested countries' labels 2023-01-04 11:17:49 +01:00
gerjanvangeest
fd09f652d4
fix(select-rich): solve case of having singleOption and hassNoDefaultSelected at the same time (#1863) 2022-12-29 10:37:40 +01:00
github-actions[bot]
ed5016dcea Version Packages 2022-12-16 13:25:07 +01:00
Thijs Louisse
7ac0a42224 fix(ui): overlay fixes (responsive backdrop/select-rich/tooltip) 2022-12-16 08:47:48 +01:00
github-actions[bot]
ab906fc13b Version Packages 2022-12-15 17:03:23 +01:00
Thijs Louisse
5e70716862 fix(ui): prevent infinite tooltip loops 2022-12-15 16:52:02 +01:00
Danny Moerkerke
71906ed316 chore: - simplified selectors for content and invoker
- mentioned accordion in changeset
2022-12-14 13:56:27 +01:00
Danny Moerkerke
49092c97aa chore: added changeset 2022-12-14 13:56:27 +01:00
Thijs Louisse
fafd922251 fix(ui): add adopted stylesheets once; attach correctly to body 2022-12-12 14:31:14 +01:00
github-actions[bot]
fc55726a97 Version Packages 2022-12-09 16:26:17 +01:00
Thijs Louisse
36910e5d70 fix(ui): simplify datepicker structure 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
00063d7350 fix: depend on @popperjs/core, so local overlays have it available 2022-12-09 15:54:28 +01:00
github-actions[bot]
349b6dcbd6 Version Packages 2022-12-01 17:00:20 +01:00
Thijs Louisse
f147024ce8 feat(ui): validate-messages without side effects 2022-12-01 16:42:21 +01:00
github-actions[bot]
f7fde3152a Version Packages 2022-11-28 18:06:31 +01:00
Thijs Louisse
f0e6ee922c feat(ui): export side effect free singletons for deduping multiple instances before "main" singleton instance is registered 2022-11-28 18:02:48 +01:00
Thijs Louisse
de51dae20b fix(ui): use the correct names for singleton registrations 2022-11-28 18:02:48 +01:00
github-actions[bot]
8de03892cb Version Packages 2022-11-28 13:49:40 +01:00
Thomas Allmer
11f6f19a09 fix(ui): use scoped-elements version that exposes types 2022-11-28 13:28:39 +01:00
github-actions[bot]
32f55a8650 Version Packages 2022-11-23 22:43:02 +01:00
Thijs Louisse
5dd5a848f0 fix(core): SlotMixin: conditional slots should not break init loop 2022-11-23 22:22:35 +01:00
github-actions[bot]
6d4a362662 Version Packages 2022-11-23 16:23:01 +01:00
Thijs Louisse
2572012d8e chore: enhance SlotMixin docs 2022-11-23 16:19:09 +01:00
Thijs Louisse
0176eabe23 chore: correct changelog overlay safari issue 2022-11-23 15:19:58 +01:00
Thijs Louisse
8eb68f5030 fix: compensate for unist-util-select not depending on "not" dependency 2022-11-23 14:48:53 +01:00
Thijs Louisse
9b4cbb1dfc fix(lion-input-tel): upgrade to awesome-phonenumber v4 2022-11-23 14:48:53 +01:00
Rick de Hoop
53459451a7 fix(overlays): MacSafari fix for interactive content in dialog with preventsScroll 2022-11-21 12:59:54 +01:00
Jose C. Perea
e090d2d861 fix(overlay-manager): disable transition when reduced motion enabled 2022-11-18 16:38:13 +01:00
github-actions[bot]
edc6920a90 Version Packages 2022-11-17 12:27:36 +01:00
Thomas Allmer
eee83cca63 fix(ui): export types that are useful for subclassers 2022-11-17 12:08:26 +01:00
Thijs Louisse
d6d3810f7c chore: add a11y and SlotMixin docs 2022-11-17 12:08:12 +01:00
Thijs Louisse
d7938ef6b3 fix(input-tel-dropdown): fix interaction states 2022-11-17 12:08:12 +01:00
Thijs Louisse
bc2527030b fix: expose docs via export map 2022-11-17 12:08:12 +01:00
Thijs Louisse
11436fc01c fix: allow rerender in SlotMixin 2022-11-17 12:08:12 +01:00
github-actions[bot]
fbf0bd2237 Version Packages 2022-11-11 14:17:35 +01:00
Thomas Allmer
4708fe9462 chore: add releases for docs 2022-11-11 14:06:48 +01:00
gvangeest
da057efcf0 fix(localize): fix and simplify parseMode check 2022-11-09 09:58:46 +01:00
github-actions[bot]
42a8acdc72 Version Packages 2022-11-09 09:07:56 +01:00
thepassle
2553e7ac86 ci: changeset 2022-11-09 09:05:25 +01:00
github-actions[bot]
e89faca259 Version Packages 2022-11-08 19:31:23 +01:00
Danny Moerkerke
21af096b9b
chore: added missing ' in changeset file 2022-11-08 17:02:54 +01:00
Danny Moerkerke
2831595fad chore: added areas of work to changeset files 2022-11-08 15:03:40 +01:00
Danny Moerkerke
948bff8538 chore: removed individual packages from changeset files, everything is now in @lion/ui 2022-11-08 15:03:40 +01:00
Thomas Allmer
faa26f1277 fix(singleton-manager): keep "main" in package.json for older tools 2022-11-08 13:41:34 +01:00
Danny Moerkerke
c7ea03577c chore: moved lion-drawer to correct directories for new lion/ui setup 2022-11-07 14:48:26 +01:00
github-actions[bot]
3cc3d2960f Version Packages 2022-11-07 12:29:11 +01:00
Thomas Allmer
e08b6bec58 chore: prepare @lion/ui release 2022-11-07 11:39:40 +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
Thijs Louisse
f7fc7df349 feat(providence-analytics): improvements find-exports, trackdown-identifier, get-source-code-fragment-of-declaration 2022-10-10 10:48:04 +02:00
Thijs Louisse
dd3458af70 feat(providence-analytics): enhance and test memoization 2022-10-10 10:48:04 +02:00
Thijs Louisse
e9c6523f59 feat(providence-analytics): export more and use cjs only 2022-09-22 15:39:36 +02:00
Thijs Louisse
a849f09fa9 feat(providence-analytics): add util "getSourceCodeFragmentOfDeclaration" 2022-09-22 15:39:36 +02:00
Thijs Louisse
9593c45695 feat(providence-analytics): add export-map functionality to InputDataService 2022-09-22 15:39:36 +02:00
Edmund
18cbb5b476
Fix: calendar translation de.js strings corrected 2022-09-17 20:31:21 +02:00
Lars den Bakker
66abd3ea4c fix(ajax): don't throw on non-JSON responses in fetchJson 2022-09-14 23:45:12 +02:00
Jose Luis de Vega
d838ea100c
fix(switch): do not change checked state when disabled 2022-09-14 18:55:28 +02:00
github-actions[bot]
1ff70af3c7 Version Packages 2022-09-08 07:20:58 +00:00
Joren Broekema
2d58320e51
feat: format number add thousandSeparator option, fix type decimalSep (#1774) 2022-09-08 09:19:07 +02:00
Joren Broekema
11c5ffe094
fix(input-amount,localize): make decimalSeparator formatOptions work (#1769) 2022-09-01 17:01:44 +02:00
Thomas Allmer
cc294f2023 BREAKING(core): remove unused UpdateStylesMixin & DelegateMixin 2022-08-22 13:48:49 +02:00
Martin Pool
b3d8d62be4
Merge pull request #1746 from ing-bank/chore/bump-ajax-v1
chore(ajax): bump to major version 1.0.0
2022-08-15 18:46:14 +02:00
github-actions[bot]
7ff4fbf684 Version Packages 2022-08-15 07:15:14 +00:00
Danny Moerkerke
da4652e2b1
Merge pull request #1745 from ing-bank/feature/accordion-focus-handling
fix: fixed focus handling, focus now jumps from header to panel when …
2022-08-15 09:13:24 +02:00
Thijs Louisse
2514fa972a fix(rocket-preset-extend-lion): run plugins in correct order, allowing replace functions to access local urls and kick in after tag transforms 2022-08-11 11:42:32 +02:00
Hardik Pithva
a616fd8dca
feat(progress-indicator): add support for progress bar (#1713)
Co-authored-by: gerjanvangeest <gerjanvangeest@users.noreply.github.com>
2022-08-11 08:55:25 +02:00
AndreeaMoise
0b97918d1e
fix(form-core): getMessage return type supports string and Element (#1756)
* fix: getMessage return type supports string and Element

* Add changeset
2022-08-10 10:59:12 +02:00
Danny Moerkerke
d597892a87 chore: added changeset 2022-08-08 11:54:43 +02:00
Martin Pool
18287a6465 chore(ajax): bump to major version 1.0.0 2022-07-19 10:28:43 +02:00
Riovir
718ce0146a
fix(switch): fix error caused by setting role in constructor (#1741)
Co-authored-by: jorenbroekema <joren.broekema@gmail.com>

Co-authored-by: jorenbroekema <joren.broekema@gmail.com>
2022-07-05 10:58:26 +02:00
github-actions[bot]
5be7776e1e Version Packages 2022-06-20 13:46:01 +02:00
gerjanvangeest
270c7b30b8
fix(overlays): change opacity to filter to fix chromium bug (#1735) 2022-06-16 10:16:54 +02:00
gerjanvangeest
7239d60466
Fix/input tel format options (#1733)
* fix(input-tel): remove unwanted characters in parser

* feat(input-tel-dropdown): export getFlagSymbol function

* feat(input-tel): add formatCountryCodeStyle option
2022-06-15 08:11:40 +02:00
Thijs Louisse
29b432f054
Merge pull request #1721 from ing-bank/changeset-release/master
Version Packages
2022-06-09 16:50:51 +02:00
github-actions[bot]
66a9dd99a3 Version Packages 2022-06-09 13:14:32 +00:00
Thijs Louisse
5ad98a26fa fix(core): use partial renderOptions in SlotMixin (for Safari) 2022-06-09 15:12:31 +02:00
Thijs Louisse
f46d908769 feat(rocket-preset-extend-lion-docs): allow globalReplaceFunction 2022-06-09 15:12:15 +02:00
Thijs Louisse
63f8f6fd36 feat(remark-extend): allow globalReplaceFunction 2022-06-09 15:12:15 +02:00
Thomas Allmer
20af7a44ce fix(form-core): maintain correct formElements order with non-form elements in dom 2022-06-08 16:10:10 +02:00
gerjanvangeest
3dee788fb5
fix(input-tel-dropdown): fix edge cases onDropdownValueChanged (#1723) 2022-06-01 15:34:38 +02:00
Thijs Louisse
20436115c3 chore: depend on latest minors internally for input-tel(-dropdown) 2022-06-01 13:24:42 +02:00
Thijs Louisse
63466d6142 fix: type export ValidationType 2022-06-01 12:40:00 +02:00
github-actions[bot]
ad468be032 Version Packages 2022-05-31 16:03:50 +00:00
Thijs Louisse
957ca981d4
Merge pull request #1717 from ing-bank/type-module
fix: add type module to pkg jsons of ESM packages
2022-05-31 18:01:58 +02:00
jorenbroekema
e7a4ca1dcc fix: add type module to pkg jsons of ESM packages 2022-05-31 16:46:53 +02:00
gerjanvangeest
9591732f4e
fix(input-tel-dropdown): syncs value of dropdown on init if input has no value
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
2022-05-31 16:25:50 +02:00
Lars den Bakker
362ee0e2e9 fix(ajax): align intercepted and non-intercepted response behavior 2022-05-31 13:46:54 +02:00
gerjanvangeest
abcff8c9e2
fix(input-tel): use pattern validation message for too-short/too-long (#1693) 2022-05-31 11:00:37 +02:00
Thijs Louisse
27c86e71e8 chore: keep prod dependencies limited and simple 2022-05-31 08:16:13 +02:00
Martin Pool
447383bd14 feat(ajax): add maxCacheSize option 2022-05-30 12:58:18 +02:00
Stefan Pearson
915de370d7
fix(overlays): Allow elements with display:contents to be focusable in keyboard event trapping (#1709)
* fix: isVisible check on elements with display:contents

* Create eight-years-pump.md

* chore: adds additional test
2022-05-25 16:40:45 +02:00
gerjanvangeest
ca9b788bb3
Merge pull request #1707 from ing-bank/feat/input-tel-dropdown-preferred-countries
feat(input-tel-dropdown): add optgroups when preferredCountries are shown
2022-05-23 18:01:01 +02:00
gvangeest
01fd0d2023 feat(input-tel-dropdown): add optgroups when preferredCountries are shown 2022-05-23 17:41:24 +02:00
gvangeest
f78cad3c13 fix(combobox): set no typeahead to true 2022-05-23 15:11:57 +02:00
Hardik Pithva
96a24c4a4e build: add changeset 2022-05-20 13:29:46 +02:00
Joren Broekema
05e17d69e5
fix(checkbox-group): indeterminate checkbox respects disabled states (#1698)
Co-authored-by: Danny Moerkerke <danny.moerkerke@ing.com>
2022-05-18 12:08:34 +02:00
gvangeest
710e7c3d9e fix(input-tel-dropdown): do not sync regionCode if countryCode is the same 2022-05-17 11:38:32 +02:00
gerjanvangeest
d382887e67 fix(input-tel): make use of awesome-phonenumber
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
2022-05-12 17:50:27 +02:00
palash2601
33fd1bef09
fix(lion-field): remove name property exception to align with platform
fix(lion-field): remove name property check for forward compatibility with Form participation api

Co-authored-by: Thijs Louisse <t_louisse@hotmail.com>
2022-05-10 14:50:15 +02:00
github-actions[bot]
f11f94fafc Version Packages 2022-05-09 17:38:48 +02:00
Martin Pool
558edcb686 feat(ajax): add a maxResponseSize cache option to specify a max size for responses to be cached 2022-05-09 17:12:51 +02:00
gvangeest
2107cfb0c3 chore(listbox): change feature into patch release 2022-05-09 13:18:24 +02:00
Martin Pool
efcdf653a4 feat: content-type filter for ajax cache 2022-05-09 12:39:49 +02:00
Martin Pool
56af96f1da feat(ajax): add an option to initialize the cache interceptors even when useCache is turned off in the global options 2022-05-09 10:09:43 +02:00
gvangeest
a28686ee72 feat(listbox): add type ahead option 2022-05-04 16:01:56 +02:00
Joren Broekema
4129786909
feat: add mixed-state indeterminate checkbox feature (#1669)
* fix: don't switch to tri-state if all child boxes are same checked state

Co-authored-by: gerjanvangeest <gerjanvangeest@users.noreply.github.com>
2022-05-03 13:34:24 +02:00
gvangeest
8ecfc31c0d fix(input-tel-dropdown): sync disabled state to dropdown 2022-04-19 10:57:44 +02:00
Konstantinos Norgias
43dd132013 fix: do not show ResultValidator feedback message if input field is empty 2022-04-19 10:27:38 +02:00
Thijs Louisse
355aabc02c fix(switch): unregister as formElement on disconnected 2022-04-06 18:16:30 +02:00
github-actions[bot]
cebbb6aac1 Version Packages 2022-04-06 09:42:12 +00:00
Onkar
998d95f9fb feat(input-datepicker):sync the caledar dates when the validator params change
Co-authored-by: Thijs Louisse<Thijs.Louisse@ing.com>
2022-04-06 11:40:07 +02:00
Onkar
f408f6f8eb feat(form-core): provide _onValidatorUpdated with validator reference
Co-authored-by: Thijs Louisse<Thijs.Louisse@ing.com>
2022-04-06 11:40:07 +02:00
Thijs Louisse
66531e3c93 fix(core): scoped slots 2022-04-06 09:59:07 +02:00
Thomas Allmer
aa8b89161d feat: update to @open-wc/scoped-element not needing a polyfill 2022-04-05 12:38:28 +02:00
Thijs Louisse
17dadabfbf fix(providence-analytics): better allowlist-mode detection 2022-03-31 13:40:30 +02:00
Knorgias
64bdddf6b7
Merge pull request #1622 from ing-bank/chore/update-header
chore: update header order, components list and links
2022-03-30 13:19:22 +02:00
Konstantinos Norgias
672c8e99b6 chore: update header order, components list and links 2022-03-30 12:37:30 +02:00
Thijs Louisse
ab7cc1e026 patch(providence-analytics): expose skipCheckMatchCompatibility) 2022-03-28 21:03:42 +02:00
Meower
85318e3b1c
fix(validate-messages): fix default en-PH date validation message 2022-03-22 11:21:41 +01:00
Thijs Louisse
f7df1ae822 feat(validate-messages): add PhoneNumber messages 2022-03-22 11:01:03 +01:00
Thijs Louisse
03c294c9ea fix(tabs): allow initialization without children 2022-03-22 11:01:03 +01:00
Thijs Louisse
32b322c37e feat(input-tel-dropdown): new component LionInputTelDropdown
Co-authored-by: David Vossen<David.Vossen@ing.com>
2022-03-16 16:29:01 +01:00
Thijs Louisse
a882c94f11 feat(input-tel): new component LionInputTel 2022-03-16 16:29:00 +01:00
Thijs Louisse
a64c552b61 fix(validate-messages): typo IsData message 2022-03-16 16:29:00 +01:00
Thijs Louisse
3772c94301 patch(form-core): expose mimicUserInput test-helper 2022-03-16 16:28:59 +01:00
Thijs Louisse
7016a150dc feat(form-core): allow enums as outcome of a Validator 2022-03-16 16:28:59 +01:00
Thijs Louisse
9c1dfdcd12 feat(form-core): add live formatter functionality via .preprocessor 2022-03-16 16:28:59 +01:00
Ahmet Yesil
d46b989444 fix: css typed object support check 2022-03-16 12:08:16 +01:00
Joren Broekema
cd2bc1351f
Merge pull request #1612 from Jellepostma/fix/listboxhorizontalscrolling
Fix: Prevent default behavior while scrolling using arrow keys in a h…
2022-03-08 09:14:21 +01:00
github-actions[bot]
7c52c12bfb Version Packages 2022-03-07 18:38:17 +01:00
Jelle Postma
1ea9f291b6 Fix: Prevent default behavior while scrolling using arrow keys in a horizontal listbox 2022-03-07 13:17:40 +01:00
jorenbroekema
a338271542 chore: update changeset info 2022-02-28 16:53:18 +01:00
jorenbroekema
57d2c62b78 feat(core): add ScopedStylesMixin 2022-02-28 13:39:55 +01:00
github-actions[bot]
bfec15264b Version Packages 2022-02-23 17:10:39 +01:00
Thijs Louisse
ceea0aa246
Merge pull request #1603 from ing-bank/experiment-@lion
feat: remove fixed versions @lion and upgrade TSC
2022-02-23 14:55:45 +01:00
jorenbroekema
b9fb3bfd37 chore: add documentation about lion versioning 2022-02-22 14:30:18 +01:00
jorenbroekema
b96dc40ebe BREAKING(overlays): make elevation prop setter param type number instead of string 2022-02-21 10:30:00 +01:00
jorenbroekema
683d5c1c9c chore: upgrade to latest TSC to fix TSC bug caused by prev commit 2022-02-10 13:40:26 +01:00
joquitch
3c9acaa77e fix(collapsible): moved binding to constructor 2022-02-08 09:22:54 +01:00
github-actions[bot]
68c64d1280 Version Packages 2022-01-04 14:41:07 +00:00
gvangeest
2bd3c52114 fix: rename customElementsManifest to customElements in package.json 2022-01-04 15:24:37 +01:00
Joren Broekema
881e1c6de2
Merge pull request #1588 from ing-bank/fix/remove-differentKeyEventNamesShimIE
chore: remove differentKeyEventNamesShimIE
2022-01-04 13:16:29 +01:00
Thijs Louisse
c381be9c01
Merge pull request #1581 from remcovaes/fix/OverlayMixinTypeInfo
fix: type info in OverlayMixinTypes
2022-01-04 11:36:56 +01:00
gvangeest
8301191814 feat(core): remove closestPolyfill 2021-12-29 16:21:27 +01:00
gvangeest
495cb0c500 feat(core): remove unused keyboardEventShimIE test helper 2021-12-29 16:21:18 +01:00
gvangeest
2b583ee750 feat: remove differentKeyEventNamesShimIE 2021-12-29 16:21:06 +01:00
gvangeest
be84466311 fix(button): increase click area to meet WCAG success criteria 2021-12-15 11:10:45 +01:00
Remco Vaes
6e67b4a310 Add changeset 2021-12-14 15:04:37 +01:00
Joren Broekema
1340c1bd61
Merge pull request #1573 from jrobind/fix/disabledTabs
fix(tabs): prevent selection of disabled tabs.
2021-12-13 12:06:08 +01:00
James Robinson
eafa7d03d7 fix(tabs): prevent selection of disabled tabs. 2021-12-13 10:01:53 +00:00
Thomas Allmer
30805edf12 fix: use node wildcard exports for docs 2021-12-07 13:23:17 +01:00
pndewit
fad9d8e58f feat(localize): add option to show the key as a fallback when a locale is missing a translation 2021-11-24 09:49:46 +01:00
github-actions[bot]
3b70a7d487 Version Packages 2021-11-17 00:14:53 +01:00
Thijs Louisse
26b150f0af fix(providence): fix paths for dashboard 2021-11-17 00:07:04 +01:00
github-actions[bot]
ee6dc3280e Version Packages 2021-11-17 00:07:04 +01:00
github-actions[bot]
895a5a46c3 Version Packages 2021-11-16 16:16:49 +01:00
Thijs Louisse
88babab7d8 chore: types for providence 2021-11-16 15:37:50 +01:00
Thijs Louisse
ab29920842
Merge pull request #1543 from ing-bank/feat/improveDashboard
feat(providence): improve dashboard
2021-11-16 15:20:53 +01:00
Thijs Louisse
96ae18c487 feat(providence): improve dashboard 2021-11-16 14:45:16 +01:00
github-actions[bot]
3106a84ec0 Version Packages 2021-11-15 17:39:59 +01:00
Thijs Louisse
1e8839f2fd fix: support export maps for match-* analyzers 2021-11-12 18:37:04 +01:00
github-actions[bot]
c59dda0c93 Version Packages 2021-11-11 14:30:59 +01:00
gerjanvangeest
d8e5c42b65
Merge pull request #1536 from ing-bank/fix/exportParse
fix(providence): correctly handle exports like "const x=3; export {x};"
2021-11-11 13:21:29 +01:00
Joel-Levi
fdc5e73fd2
Fix black bars on dialogs with preventsScroll enabled on ios 15 (#1526)
fix(overlays): black bars on dialogs with preventsScroll enabled on ios 15
2021-11-11 13:13:57 +01:00
Joshua Hewitt
a0b313c650 fix(providence): correctly handle exports like "const x=3; export {x};"
Co-authored-by: Thijs Louisse<Thijs.Louisse@ing.com>
2021-11-11 12:58:01 +01:00
qa46hx
c4562f7e64 fix: use html & unsafeStatic from @open-wc/testing 2021-11-11 10:02:47 +01:00
Abdón Rodríguez Davila
a2c66cd94d feat: update to Lit v2.0.2 2021-11-11 10:02:46 +01:00
Thijs Louisse
cf3b14bce0
Merge pull request #1524 from Alex-Radu/fix/overlay-is-equal-config
fix(overlays): fix condition in is-equal-config util and add null guard
2021-11-10 11:16:27 +01:00
Alex Radu
b6be7ba482 fix(overlays): fix condition in is-equal-config util and add null guard 2021-11-10 09:12:04 +02:00
Thijs Louisse
af4914e68e
Merge pull request #1530 from ing-bank/fix/avoid-innerHTML
fix: avoid (false) positives for static analyzers like checkmarx
2021-11-09 18:22:44 +01:00
jorenbroekema
9b81b69e58 feat(core): export latest added lit directives 2021-11-09 15:15:10 +01:00
Konstantinos Norgias
4e78ebdee7 fix: avoid use of innerHTML to please Checkmax 2021-11-08 17:29:48 +01:00
sposh
2995a5037f
Correct default target in Windows if no -t (#1520)
fix: correct default target in windows if no -t
2021-11-08 15:26:26 +01:00
jorenbroekema
5f3ef98ae9 fix(textarea): firefox bug with disabled textarea drag 2021-11-05 13:46:00 +01:00
laurie
c55d45668f feat: export lit/static-html.js from lion/core
This will enable subclasses to import it into thier tests
2021-10-06 22:44:38 +02:00
github-actions[bot]
e598e45f28 Version Packages 2021-08-27 12:12:41 +00:00
Thijs Louisse
397efdfe3e
Merge pull request #1477 from ing-bank/amount_reset_improvements
Amount reset improvements
2021-08-27 14:11:01 +02:00
Knorgias
fdc62b4f7a
Merge pull request #1488 from ing-bank/refactor/accordion
feat(accordion): refactor for readability & extensibility
2021-08-25 11:40:55 +02:00
Knorgias
0a1f0b3fb1
Merge pull request #1481 from ing-bank/fix/calendar-translations
fix(calendar): nl & ru translations
2021-08-25 08:56:13 +02:00
Thijs Louisse
b0d32f2fbe
Merge pull request #1484 from ing-bank/switch/arrow-keys
feat(switch): make key handlers protected, enable arrow keys
2021-08-20 19:41:20 +02:00
jorenbroekema
4ae3e9e20b feat(switch): make key handlers protected, enable arrow keys 2021-08-20 17:48:27 +02:00
jorenbroekema
a0adde62eb feat(accordion): refactor for readability & extensibility 2021-08-20 15:53:31 +02:00
Thomas Allmer
811b329472 fix(button): register element registration side effects 2021-08-20 10:47:46 +02:00
Joren Broekema
c1397d86e7
Merge pull request #1464 from varun-aggarwal/fix/max-date-error
fix(validate-messages): correct description of MaxNumber, MinNumber, …
2021-08-18 22:54:12 +02:00
varun-aggarwal
8a50e17752 fix(validate-messages): fixed description of Max & Min, Number & Date validations
fix #1428
2021-08-18 21:13:27 +02:00
Konstantinos Norgias
e729d916e0 fix(calendar): nl&ru translation files 2021-08-18 10:42:22 +02:00
Thijs Louisse
a3e07435e8
Merge pull request #1479 from ing-bank/feat/scopedSlotTemplates
feat(core): scoped templates in SlotMixin
2021-08-18 10:34:44 +02:00
Thijs Louisse
ec03d209c8 feat(core): scoped templates in SlotMixin 2021-08-13 16:52:43 +02:00