Commit graph

2409 commits

Author SHA1 Message Date
Gerjan van Geest
4bf1633d0b chore(select-rich): update docs 2023-05-01 17:27:06 +02:00
dependabot[bot]
7707fda9b6 chore(deps): bump nunjucks from 3.2.3 to 3.2.4
Bumps [nunjucks](https://github.com/mozilla/nunjucks) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/mozilla/nunjucks/releases)
- [Changelog](https://github.com/mozilla/nunjucks/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mozilla/nunjucks/compare/v3.2.3...v3.2.4)

---
updated-dependencies:
- dependency-name: nunjucks
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 00:07:41 +02:00
gvangeest
eab0dcca78 chore: add missing import of lion-checkbox-indeterminate 2023-04-20 14:51:35 +02: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
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
Ioannis
19b17a99a3
chore: added missing word "Systems" (#1955) 2023-04-13 10:50:31 +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
Barni
a5f35158c0
feat(@lion/ui): add _previousIconTemplate and _nextIconTemplate to LionCalendar (#1954) 2023-04-03 17:00:30 +02:00
Tobias Kuppens Groot
b88af36eec chore: update codeowners
Signed-off-by: Tobias Kuppens Groot <tkuppensgroo@uos.de>
2023-03-29 10:12:34 +02:00
gvangeest
ddea63b381 fix(combobox): update option list after clear 2023-03-22 13:07:34 +01:00
gvangeest
5516bec4ba chore(overlays): add documentation about role=none is used 2023-03-20 14:18:53 +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
Danny Moerkerke
7cba2ef859 chore: added test 2023-03-14 13:40:40 +01:00
Konstantinos Norgias
0e760f71db chore: a higher sharp version that can be built on Mac 2023-03-11 00:05:44 +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
dependabot[bot]
28f18b5f3a chore(deps): bump ua-parser-js and browser-sync
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) and [browser-sync](https://github.com/BrowserSync/browser-sync). These dependencies needed to be updated together.

Updates `ua-parser-js` from 1.0.2 to 1.0.33
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/1.0.2...1.0.33)

Updates `browser-sync` from 2.27.11 to 2.28.1
- [Release notes](https://github.com/BrowserSync/browser-sync/releases)
- [Changelog](https://github.com/BrowserSync/browser-sync/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BrowserSync/browser-sync/compare/v2.27.11...v2.28.1)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: indirect
- dependency-name: browser-sync
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 15:19:24 +01:00
Konstantinos Norgias
edc747c3cd chore: add README for lion/ui package 2023-02-28 15:18:09 +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
Danny Moerkerke
1b3ba5457f
Merge pull request #1922 from ing-bank/DannyMoerkerke-patch-1
Update bug_report.md
2023-02-20 10:13:51 +01:00
Danny Moerkerke
da26211323
Update bug_report.md
Updated imports for lion
2023-02-20 10:04:04 +01:00
Thijs Louisse
d40fd90bbd fix(providence-analytics): fix conflicting package entries 2023-02-20 09:39:48 +01:00
Thijs Louisse
db7017c086 chore: remove package=lock of non-root packages 2023-02-20 09:39:48 +01:00
Thijs Louisse
ee2730e00c fix(providence-analytics): allow absence of config file 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
Thijs Louisse
b7b268745f
Merge pull request #1913 from ing-bank/changeset-release/master
Version Packages
2023-02-13 13:27:14 +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
dependabot[bot]
5eca17779e chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-10 11:00:32 +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
SynnefonK
faae93376a
chore: camelCase linting for properties 2023-02-08 20:22:26 +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