chore: prepare @lion/ui release
This commit is contained in:
parent
c1982965c3
commit
e08b6bec58
9 changed files with 53 additions and 36 deletions
|
|
@ -2,4 +2,4 @@
|
||||||
'providence-analytics': patch
|
'providence-analytics': patch
|
||||||
---
|
---
|
||||||
|
|
||||||
add posibility to provide a 'custom defined project' (array of filePaths) to Analyzer
|
add possibility to provide a 'custom defined project' (array of filePaths) to Analyzer
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,4 @@
|
||||||
'providence-analytics': minor
|
'providence-analytics': minor
|
||||||
---
|
---
|
||||||
|
|
||||||
Expose more exports; uopdated to cjs format only
|
Expose more exports; updated to cjs format only
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'@lion/switch': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
fix(LionSwitchButton): do not dispatch checked-change event when is disabled
|
|
||||||
6
.changeset/hot-carrots-pay.md
Normal file
6
.changeset/hot-carrots-pay.md
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
'@lion/ajax': minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Update to use `package exports` with a dedicated `types` entry.
|
||||||
|
This means the package only supports node 16+ and TS 4.7+ with `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).
|
||||||
32
.changeset/red-pugs-promise.md
Normal file
32
.changeset/red-pugs-promise.md
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
---
|
||||||
|
'@lion/ui': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
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.
|
||||||
6
.changeset/smooth-flowers-kiss.md
Normal file
6
.changeset/smooth-flowers-kiss.md
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
'singleton-manager': minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Update to use `package exports` with a dedicated `types` entry.
|
||||||
|
This means the package only supports node 16+ and TS 4.7+ with `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).
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'@lion/calendar': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix: calendar translation de.js strings corrected
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lion/ui",
|
"name": "@lion/ui",
|
||||||
"version": "0.0.1",
|
"version": "0.0.0",
|
||||||
"description": "A package of extendable web components",
|
"description": "A package of extendable web components",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "ing-bank",
|
"author": "ing-bank",
|
||||||
|
|
@ -26,11 +26,11 @@
|
||||||
"./validate-messages-translations/*": "./components/validate-messages/translations/*"
|
"./validate-messages-translations/*": "./components/validate-messages/translations/*"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"custom-elements.json",
|
|
||||||
"docs",
|
|
||||||
"components",
|
"components",
|
||||||
"exports",
|
"custom-elements.json",
|
||||||
"dist-types"
|
"dist-types",
|
||||||
|
"docs",
|
||||||
|
"exports"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"custom-elements-manifest": "custom-elements-manifest analyze --litelement --exclude \"docs/**/*\" \"test-helpers/**/*\"",
|
"custom-elements-manifest": "custom-elements-manifest analyze --litelement --exclude \"docs/**/*\" \"test-helpers/**/*\"",
|
||||||
|
|
@ -53,9 +53,9 @@
|
||||||
"singleton-manager": "^1.5.0"
|
"singleton-manager": "^1.5.0"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
"design-system",
|
||||||
"lion",
|
"lion",
|
||||||
"web-components",
|
"web-components"
|
||||||
"design-system"
|
|
||||||
],
|
],
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
|
|
||||||
|
|
@ -20,21 +20,4 @@
|
||||||
"declarationMap": true,
|
"declarationMap": true,
|
||||||
"sourceMap": true
|
"sourceMap": true
|
||||||
}
|
}
|
||||||
// "include": ["packages/**/*.js", "packages-node/**/*.js"],
|
|
||||||
// "exclude": [
|
|
||||||
// "node_modules",
|
|
||||||
// "**/node_modules/*",
|
|
||||||
// "**/coverage/*",
|
|
||||||
// "**/dist/**/*",
|
|
||||||
// "packages/**/test-helpers",
|
|
||||||
// "packages/**/docs/**/*",
|
|
||||||
// "packages/singleton-manager/demo/",
|
|
||||||
// "packages/singleton-manager/test/",
|
|
||||||
// // ignore test/demos for singleton manager until overlays are typed as it's used in there
|
|
||||||
// "packages-node/**/test-helpers",
|
|
||||||
// "packages-node/**/docs/**/*",
|
|
||||||
// "packages-node/babel-plugin-extend-docs/**/*.js",
|
|
||||||
// "packages-node/providence-analytics/**/*.js",
|
|
||||||
// "packages-node/remark-extend/**/*.js"
|
|
||||||
// ]
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue