lion/packages/ui/CHANGELOG.md
github-actions[bot] 3cc3d2960f Version Packages
2022-11-07 12:29:11 +01:00

37 lines
1.7 KiB
Markdown

# @lion/ui
## 0.0.1
### Patch Changes
- e08b6bec: This introduces a new package `@lion/ui` which is a collection of UI components that can be used in your application. It contains all the components/systems that used to be distributed via separate `@lion/*` packages.
This is a breaking as you will need to import all components from `@lion/ui` instead of `@lion/*` packages now.
```diff
- import { LionAccordion } from '@lion/accordion';
+ import { LionAccordion } from '@lion/ui/accordion.js';
```
This is also true for element registrations
```diff
- import '@lion/accordion/define';
+ import '@lion/ui/define/lion-accordion.js';
```
Essentially the whole public API e.g. all the available exports can be found in the [exports](https://github.com/ing-bank/lion/tree/master/packages/ui/exports) folder.
The package only supports TS 4.7+ using `"moduleResolution": "Node16"` or `"moduleResolution": "NodeNext"` as described in the [TS 4.7 Announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#package-json-exports-imports-and-self-referencing).
This package will have a new single CHANGELOG.md for the whole package. If you are interested the older individual changelogs then you can find them in the [\_legacy-changelogs folder](https://github.com/ing-bank/lion/tree/master/packages/ui/_legacy-changelogs).
This new version also includes the following changes for it's containing components:
- fix(switch): SwitchButton do not dispatch checked-change event when is disabled
- fix(calendar): calendar translation de.js strings corrected
Note: This package is considered alpha until extending docs and type exports are verified.
- Updated dependencies [e08b6bec]
- singleton-manager@1.6.0