Version Packages (#2207)

* Version Packages

* Update packages/ui/CHANGELOG.md

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

* Update packages/ui/package.json

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

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ahmet Yeşil <narzac@users.noreply.github.com>
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
This commit is contained in:
github-actions[bot] 2024-03-06 10:12:03 +01:00 committed by GitHub
parent aeab467cd3
commit e97a4adf05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 35 additions and 58 deletions

View file

@ -1,5 +0,0 @@
---
'@lion/ui': patch
---
[checkbox-group] add role="list" and role="listitem" to checkbox-indeterminate and its children

View file

@ -1,5 +0,0 @@
---
'@lion/ui': patch
---
migrate deprecated `performUpdate` api to `scheduleUpdate`

View file

@ -1,5 +0,0 @@
---
'@lion/ui': minor
---
[input-stepper] a11y enhancement & added translations

View file

@ -1,5 +0,0 @@
---
'@lion/ui': patch
---
[form-core]: set aria-disabled next to the disabled attribute for NVDA screen reader

View file

@ -1,5 +0,0 @@
---
'@lion/ui': patch
---
[form-core] remove fieldset label/helpt-text from input-field aria-labelledby/aria-describedby. See https://github.com/ing-bank/lion/issues/1576

View file

@ -1,5 +0,0 @@
---
'@lion/ui': patch
---
[input-range] add screen-reader labels for minimum and maximum value

View file

@ -1,22 +0,0 @@
---
'@lion/ui': patch
---
feat: split validate-messages-no-side-effects methods, so they can be bundled along with entrypoints.
For optimized bundling, it's reccommended to load feedback messages per entrypoint. For instance, when you only use form-core in your app:
```js
import { LionInputTel } from '@lion/ui/input-tel.js';
import { getLocalizeManager } from '@lion/ui/localize-no-side-effects.js';
import { loadInputTelMessagesNoSideEffects } from '@lion/ui/validate-messages-no-side-effects.js';
export class MyInputTel extends LionInputTel {
constructor() {
super();
loadInputTelMessagesNoSideEffects({ localize: getLocalizeManager() });
}
}
```
This prevents you from loading unused entrypoints like input-tel (which loads a full phone validation library) etc.

View file

@ -1,5 +0,0 @@
---
'@lion/ui': patch
---
[form-core] order aria-labelledby and aria-describedby based on slot order instead of dom order

View file

@ -1,5 +1,39 @@
# @lion/ui
## 0.5.4
### Minor Changes
- aeab467c: [input-stepper] a11y enhancement & added translations
### Patch Changes
- aeab467c: [checkbox-group] add role="list" and role="listitem" to checkbox-indeterminate and its children
- aeab467c: migrate deprecated `performUpdate` api to `scheduleUpdate`
- aeab467c: [form-core]: set aria-disabled next to the disabled attribute for NVDA screen reader
- aeab467c: [form-core] remove fieldset label/helpt-text from input-field aria-labelledby/aria-describedby. See https://github.com/ing-bank/lion/issues/1576
- aeab467c: [input-range] add screen-reader labels for minimum and maximum value
- aeab467c: feat: split validate-messages-no-side-effects methods, so they can be bundled along with entrypoints.
For optimized bundling, it's reccommended to load feedback messages per entrypoint. For instance, when you only use form-core in your app:
```js
import { LionInputTel } from '@lion/ui/input-tel.js';
import { getLocalizeManager } from '@lion/ui/localize-no-side-effects.js';
import { loadInputTelMessagesNoSideEffects } from '@lion/ui/validate-messages-no-side-effects.js';
export class MyInputTel extends LionInputTel {
constructor() {
super();
loadInputTelMessagesNoSideEffects({ localize: getLocalizeManager() });
}
}
```
This prevents you from loading unused entrypoints like input-tel (which loads a full phone validation library) etc.
- aeab467c: [form-core] order aria-labelledby and aria-describedby based on slot order instead of dom order
## 0.5.3
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@lion/ui",
"version": "0.5.3",
"version": "0.5.4",
"description": "A package of extendable web components",
"license": "MIT",
"author": "ing-bank",