@db-ux/v-core-components 4.5.4-table-c758ae7 → 4.5.4-tailwind-inline-5d37a00

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.
Files changed (31) hide show
  1. package/README.md +50 -9
  2. package/dist/db-ux.es.js +4642 -4951
  3. package/dist/db-ux.umd.js +1 -1
  4. package/dist/index.d.ts +0 -16
  5. package/dist/shared/model.d.ts +2 -42
  6. package/package.json +6 -6
  7. package/dist/components/table/examples/data.d.ts +0 -9
  8. package/dist/components/table/index.d.ts +0 -1
  9. package/dist/components/table/model.d.ts +0 -74
  10. package/dist/components/table/table.vue.d.ts +0 -30
  11. package/dist/components/table-body/index.d.ts +0 -1
  12. package/dist/components/table-body/model.d.ts +0 -8
  13. package/dist/components/table-body/table-body.vue.d.ts +0 -20
  14. package/dist/components/table-caption/index.d.ts +0 -1
  15. package/dist/components/table-caption/model.d.ts +0 -5
  16. package/dist/components/table-caption/table-caption.vue.d.ts +0 -17
  17. package/dist/components/table-data-cell/index.d.ts +0 -1
  18. package/dist/components/table-data-cell/model.d.ts +0 -5
  19. package/dist/components/table-data-cell/table-data-cell.vue.d.ts +0 -25
  20. package/dist/components/table-footer/index.d.ts +0 -1
  21. package/dist/components/table-footer/model.d.ts +0 -8
  22. package/dist/components/table-footer/table-footer.vue.d.ts +0 -20
  23. package/dist/components/table-head/index.d.ts +0 -1
  24. package/dist/components/table-head/model.d.ts +0 -10
  25. package/dist/components/table-head/table-head.vue.d.ts +0 -20
  26. package/dist/components/table-header-cell/index.d.ts +0 -1
  27. package/dist/components/table-header-cell/model.d.ts +0 -24
  28. package/dist/components/table-header-cell/table-header-cell.vue.d.ts +0 -28
  29. package/dist/components/table-row/index.d.ts +0 -1
  30. package/dist/components/table-row/model.d.ts +0 -30
  31. package/dist/components/table-row/table-row.vue.d.ts +0 -21
package/README.md CHANGED
@@ -49,14 +49,16 @@ import "@db-ux/core-components/build/styles/rollup.css";
49
49
 
50
50
  </details>
51
51
 
52
- > **Vite 8 Note:** Starting with Vite 8, the default CSS minifier was changed to [LightningCSS](https://lightningcss.dev/), which provides buggy transformations for modern CSS features used by the DB UX Design System (e.g. `light-dark()` CSS function). We might provide a specific configuration necessary to mitigate those problems in the near future. To keep CSS output stable in the meantime, configure `vite.config.ts` like this:
52
+ ### Vite 8
53
+
54
+ Starting with Vite 8, the default CSS minifier was changed to [LightningCSS](https://lightningcss.dev/), which provides buggy transformations for modern CSS features used by the DB UX Design System (e.g. `light-dark()` CSS function). To keep CSS output stable, configure `vite.config.ts` like this:
53
55
 
54
56
  ```ts
55
57
  // vite.config.ts
56
58
  export default defineConfig({
57
- build: {
58
- cssMinify: "esbuild"
59
- }
59
+ build: {
60
+ cssMinify: "esbuild"
61
+ }
60
62
  });
61
63
  ```
62
64
 
@@ -71,11 +73,11 @@ import { browserslistToTargets } from "lightningcss";
71
73
  import browserslist from "browserslist";
72
74
 
73
75
  export default defineConfig({
74
- css: {
75
- lightningcss: {
76
- targets: browserslistToTargets(browserslist(">= 0.5%, last 2 major versions, Firefox ESR, not dead"))
77
- }
78
- }
76
+ css: {
77
+ lightningcss: {
78
+ targets: browserslistToTargets(browserslist(">= 0.5%, last 2 major versions, Firefox ESR, not dead"))
79
+ }
80
+ }
79
81
  });
80
82
  ```
81
83
 
@@ -141,6 +143,45 @@ This will create or update `.github/copilot-instructions.md` with component docu
141
143
 
142
144
  📖 **[Learn more about `@db-ux/agent-cli` node package](packages/agent-cli/README.md)**
143
145
 
146
+ ## Code Quality
147
+
148
+ To enforce correct usage of DB UX Design System components in your Vue project, we provide the [`@db-ux/core-eslint-plugin`](https://www.npmjs.com/package/@db-ux/core-eslint-plugin) ESLint plugin.
149
+
150
+ ### Installation
151
+
152
+ ```shell
153
+ npm install eslint @db-ux/core-eslint-plugin vue-eslint-parser @typescript-eslint/parser --save-dev
154
+ ```
155
+
156
+ ### Setup
157
+
158
+ ```js
159
+ // eslint.config.js
160
+ import dbUx from "@db-ux/core-eslint-plugin";
161
+ import vueParser from "vue-eslint-parser";
162
+ import tsParser from "@typescript-eslint/parser";
163
+
164
+ export default [
165
+ {
166
+ files: ["**/*.vue"],
167
+ languageOptions: {
168
+ parser: vueParser,
169
+ parserOptions: {
170
+ parser: tsParser,
171
+ ecmaVersion: "latest",
172
+ sourceType: "module"
173
+ }
174
+ },
175
+ plugins: {
176
+ "db-ux": dbUx
177
+ },
178
+ rules: dbUx.configs.recommended.rules
179
+ }
180
+ ];
181
+ ```
182
+
183
+ 📖 **[Learn more about `@db-ux/core-eslint-plugin` node package](https://www.npmjs.com/package/@db-ux/core-eslint-plugin)**
184
+
144
185
  ## Deutsche Bahn brand
145
186
 
146
187
  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.