@db-ux/ngx-core-components 4.5.4 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @db-ux/ngx-core-components
|
|
2
2
|
|
|
3
|
+
## 4.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- refactor: exclude whitelabel-theme from default bundle to reduce size and to align with "how to import a theme" - [see commit f272967](https://github.com/db-ux-design-system/core-web/commit/f272967acb7a37dc9b07d9786134e437b284e9b6)
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- fix: issue with tailwind duplicating some classes by using `@theme` inline - [see commit 92de4e6](https://github.com/db-ux-design-system/core-web/commit/92de4e6e5fdad3be5629d7457944d3b9b7396cf4)
|
|
12
|
+
|
|
13
|
+
- fix(number input): prevent from clearing on intermediate decimal entry - [see commit aa85967](https://github.com/db-ux-design-system/core-web/commit/aa85967ffeaa685f6b647069d0e1d415d812dc87):
|
|
14
|
+
- fix(input,textarea): allow using `undefined` as `value`
|
|
15
|
+
|
|
3
16
|
## 4.5.4
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -129,6 +129,39 @@ This will create or update `.github/copilot-instructions.md` with component docu
|
|
|
129
129
|
|
|
130
130
|
📖 **[Learn more about `@db-ux/agent-cli` node package](packages/agent-cli/README.md)**
|
|
131
131
|
|
|
132
|
+
## Code Quality
|
|
133
|
+
|
|
134
|
+
To enforce correct usage of DB UX Design System components in your Angular templates, we provide the [`@db-ux/core-eslint-plugin`](https://www.npmjs.com/package/@db-ux/core-eslint-plugin) ESLint plugin.
|
|
135
|
+
|
|
136
|
+
### Installation
|
|
137
|
+
|
|
138
|
+
```shell
|
|
139
|
+
npm install eslint @db-ux/core-eslint-plugin @angular-eslint/template-parser --save-dev
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Setup
|
|
143
|
+
|
|
144
|
+
```js
|
|
145
|
+
// eslint.config.js
|
|
146
|
+
import dbUx from "@db-ux/core-eslint-plugin";
|
|
147
|
+
import angularTemplateParser from "@angular-eslint/template-parser";
|
|
148
|
+
|
|
149
|
+
export default [
|
|
150
|
+
{
|
|
151
|
+
files: ["**/*.html"],
|
|
152
|
+
languageOptions: {
|
|
153
|
+
parser: angularTemplateParser
|
|
154
|
+
},
|
|
155
|
+
plugins: {
|
|
156
|
+
"db-ux": dbUx
|
|
157
|
+
},
|
|
158
|
+
rules: dbUx.configs.recommended.rules
|
|
159
|
+
}
|
|
160
|
+
];
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
📖 **[Learn more about `@db-ux/core-eslint-plugin` node package](https://www.npmjs.com/package/@db-ux/core-eslint-plugin)**
|
|
164
|
+
|
|
132
165
|
## Deutsche Bahn brand
|
|
133
166
|
|
|
134
167
|
As we'd like to perfectly support our users and customers on their digital journey, the usage of Deutsche Bahn brand and trademarks are bound of clear guidelines and restrictions even if being used with the code that we're providing with this product; Deutsche Bahn fully reserves all rights regarding the Deutsche Bahn brand, even though that we're providing the code of DB UX Design System products free to use and release it under the Apache 2.0 license.
|