@db-ux/v-core-components 4.8.0 → 4.8.1-fix-publish2-4d5a12d
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 +17 -13
- package/README.md +15 -11
- package/dist/components/tooltip/model.d.ts +2 -2
- package/dist/components/tooltip/tooltip.vue.d.ts +1 -0
- package/dist/db-ux.es.js +216 -199
- package/dist/db-ux.umd.js +1 -1
- package/dist/shared/figma.d.ts +111 -0
- package/dist/shared/model.d.ts +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @db-ux/v-core-components
|
|
2
2
|
|
|
3
|
+
## 4.8.1
|
|
4
|
+
|
|
5
|
+
_version bump_
|
|
6
|
+
|
|
3
7
|
## 4.8.0
|
|
4
8
|
|
|
5
9
|
### Minor Changes
|
|
@@ -47,7 +51,7 @@ _version bump_
|
|
|
47
51
|
- docs(vite): mentioning version 8 configuration in `README.md` file - [see commit 4c5fc92](https://github.com/db-ux-design-system/core-web/commit/4c5fc9266402d9585087f4738a1a800cff1515f1)
|
|
48
52
|
|
|
49
53
|
- fix(number input): prevent from clearing on intermediate decimal entry - [see commit aa85967](https://github.com/db-ux-design-system/core-web/commit/aa85967ffeaa685f6b647069d0e1d415d812dc87):
|
|
50
|
-
|
|
54
|
+
- fix(input,textarea): allow using `undefined` as `value`
|
|
51
55
|
|
|
52
56
|
## 4.5.4
|
|
53
57
|
|
|
@@ -189,7 +193,7 @@ _version bump_
|
|
|
189
193
|
|
|
190
194
|
- fix: set DBTabItem internal state `_selected` correctly - [see commit f7625cb](https://github.com/db-ux-design-system/core-web/commit/f7625cbd9d64513527e826c9d2c1ef42b2734a4b):
|
|
191
195
|
|
|
192
|
-
|
|
196
|
+
- Now also sets aria-selected=true|false correctly which improves screen reader behaviour
|
|
193
197
|
|
|
194
198
|
## 4.2.1
|
|
195
199
|
|
|
@@ -210,14 +214,14 @@ _version bump_
|
|
|
210
214
|
- refactor(notification): update and simplify grid layout for block link variant - [see commit cb83f96](https://github.com/db-ux-design-system/core-web/commit/cb83f966eaf29c85b4cf0079750bdd563f216d6e)
|
|
211
215
|
|
|
212
216
|
- fix(DBCustomSelect): properly announce selected options - [see commit 773edeb](https://github.com/db-ux-design-system/core-web/commit/773edeb943a085eb79e1c8d59059137b2830fbf0):
|
|
213
|
-
|
|
217
|
+
- feat(DBCustomSelect): introduce new property `selectedPrefix`
|
|
214
218
|
|
|
215
219
|
### Patch Changes
|
|
216
220
|
|
|
217
221
|
- fix(DBCustomSelect): automatically handle form reset events - [see commit 6af5246](https://github.com/db-ux-design-system/core-web/commit/6af5246b3b2e6febdc6ff6342ba1a8eb10184d14):
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
222
|
+
- An event listener is now added for every form component (input, custom-select, etc.) when a `form` property is passed.
|
|
223
|
+
- This listener detects form resets and updates the component's internal value/checked state accordingly.
|
|
224
|
+
- > **Note**: This does not work for `ngModel` in Angular.
|
|
221
225
|
|
|
222
226
|
- fix(button): Replace fixed height with min-height for buttons to allow dynamic height adjustment when text wraps - [see commit d1fd2c4](https://github.com/db-ux-design-system/core-web/commit/d1fd2c4e58a5ed6f75fab44700cd2d93c7232474)
|
|
223
227
|
|
|
@@ -252,9 +256,9 @@ _version bump_
|
|
|
252
256
|
### Major Changes
|
|
253
257
|
|
|
254
258
|
- feat: Switch stable rework - [see commit cb2deb0](https://github.com/db-ux-design-system/core-web/commit/cb2deb0f1c54900d1967483aea05d81279c02f59):
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
259
|
+
- **BREAKING CHANGE**: remove `emphasis` property
|
|
260
|
+
- introduce validation (invalid and valid)
|
|
261
|
+
- configurable label position
|
|
258
262
|
|
|
259
263
|
- **BREAKING CHANGE**: refactor(Custom Select): renamed `ariaListLabel` property to `listLabel` - [see commit 966d5ad](https://github.com/db-ux-design-system/core-web/commit/966d5ad01f00d0ca1707cc316a63e2d431fff1e9)
|
|
260
264
|
|
|
@@ -273,12 +277,12 @@ _version bump_
|
|
|
273
277
|
### Patch Changes
|
|
274
278
|
|
|
275
279
|
- fix(DBTabs): ensure navigation arrows appear correctly on window resize - [see commit 4e65e00](https://github.com/db-ux-design-system/core-web/commit/4e65e00d280cae18baee03b5a7a9b13eec063835):
|
|
276
|
-
|
|
280
|
+
- This update resolves an issue where navigation arrows in DBTabs would not appear or update correctly when the window was resized. The component now properly responds to resize events, ensuring arrows are always shown or hidden as needed.
|
|
277
281
|
|
|
278
282
|
- fix(select): jumping placeholder for label above - [see commit 7ed8d22](https://github.com/db-ux-design-system/core-web/commit/7ed8d2225102e0e9044437e95917e11eef4bc73f)
|
|
279
283
|
|
|
280
284
|
- enabled [`@db-ux/agent-cli`](https://www.npmjs.com/package/@db-ux/agent-cli) for every package - [see commit 0233048](https://github.com/db-ux-design-system/core-web/commit/023304869e61f5a506dca66a22d69e5f3d70f4d0):
|
|
281
|
-
|
|
285
|
+
- auto-generate/auto-update `.github/copilot-instructions.md`, to ensure GitHub Copilot uses DB UX Components for code generation
|
|
282
286
|
|
|
283
287
|
## 3.1.17
|
|
284
288
|
|
|
@@ -292,8 +296,8 @@ _version bump_
|
|
|
292
296
|
### Patch Changes
|
|
293
297
|
|
|
294
298
|
- a28eb71: fix(custom-select): keyboard navigation for option groups in single-select mode - [see commit 6d60bab](https://github.com/db-ux-design-system/core-web/commit/6d60bab2eb87f16a9ffa942085bffd658564769c):
|
|
295
|
-
|
|
296
|
-
|
|
299
|
+
- Fixes a keyboard accessibility issue where users could not navigate to options in subsequent option groups using arrow keys in single-select mode.
|
|
300
|
+
- Now, all options are accessible via keyboard regardless of group boundaries.
|
|
297
301
|
- fix: JS framework core-components packages are missing `@db-ux` dependencies - [see commit 49df866](https://github.com/db-ux-design-system/core-web/commit/49df866e753a9459f5acdca4ad1e19141b477471)
|
|
298
302
|
|
|
299
303
|
## 3.1.15
|
package/README.md
CHANGED
|
@@ -21,9 +21,9 @@ npm i @db-ux/v-core-components
|
|
|
21
21
|
|
|
22
22
|
Import the styles in scss or css. Based on your technology the file names could be different.
|
|
23
23
|
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
24
|
+
- Default (relative): points to `../assets`
|
|
25
|
+
- Rollup (rollup): points to `@db-ux/core-foundations/assets`
|
|
26
|
+
- Webpack (webpack): points to `~@db-ux/core-foundations/assets`
|
|
27
27
|
|
|
28
28
|
<details>
|
|
29
29
|
<summary><strong>SCSS</strong></summary>
|
|
@@ -56,9 +56,9 @@ Starting with Vite 8, the default CSS minifier was changed to [LightningCSS](htt
|
|
|
56
56
|
```ts
|
|
57
57
|
// vite.config.ts
|
|
58
58
|
export default defineConfig({
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
build: {
|
|
60
|
+
cssMinify: "esbuild"
|
|
61
|
+
}
|
|
62
62
|
});
|
|
63
63
|
```
|
|
64
64
|
|
|
@@ -73,11 +73,15 @@ import { browserslistToTargets } from "lightningcss";
|
|
|
73
73
|
import browserslist from "browserslist";
|
|
74
74
|
|
|
75
75
|
export default defineConfig({
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
76
|
+
css: {
|
|
77
|
+
lightningcss: {
|
|
78
|
+
targets: browserslistToTargets(
|
|
79
|
+
browserslist(
|
|
80
|
+
">= 0.5%, last 2 major versions, Firefox ESR, not dead"
|
|
81
|
+
)
|
|
82
|
+
)
|
|
83
|
+
}
|
|
84
|
+
}
|
|
81
85
|
});
|
|
82
86
|
```
|
|
83
87
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickEventState, DocumentScrollState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState, ResetIdState, WrapProps } from '../../shared/model';
|
|
1
|
+
import { ClickEventState, DocumentScrollState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState, ResetIdState, TextProps, WrapProps } from '../../shared/model';
|
|
2
2
|
export declare const TooltipVariantList: readonly ["description", "label"];
|
|
3
3
|
export type TooltipVariantType = (typeof TooltipVariantList)[number];
|
|
4
4
|
export type DBTooltipDefaultProps = {
|
|
@@ -13,7 +13,7 @@ export type DBTooltipDefaultProps = {
|
|
|
13
13
|
*/
|
|
14
14
|
variant?: TooltipVariantType;
|
|
15
15
|
};
|
|
16
|
-
export type DBTooltipProps = DBTooltipDefaultProps & GlobalProps & EmphasisProps & PlacementProps & PopoverProps & WrapProps;
|
|
16
|
+
export type DBTooltipProps = DBTooltipDefaultProps & GlobalProps & EmphasisProps & PlacementProps & PopoverProps & WrapProps & TextProps;
|
|
17
17
|
export type DBTooltipDefaultState = {
|
|
18
18
|
getParent: () => HTMLElement;
|
|
19
19
|
};
|
|
@@ -8,6 +8,7 @@ declare const __VLS_base: import("vue").DefineComponent<DBTooltipProps, {}, {},
|
|
|
8
8
|
children: any;
|
|
9
9
|
className: string;
|
|
10
10
|
propOverrides: import("../../shared/model").PropOverridesType;
|
|
11
|
+
text: string;
|
|
11
12
|
variant: import("./model").TooltipVariantType;
|
|
12
13
|
placement: import("../../shared/model").PlacementType;
|
|
13
14
|
emphasis: import("../../shared/model").EmphasisType;
|