@db-ux/v-core-components 4.7.3 → 4.8.1-fix-publish-f7808e2

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,9 +1,18 @@
1
1
  # @db-ux/v-core-components
2
2
 
3
- ## 4.7.3
3
+ ## 4.8.1
4
4
 
5
5
  _version bump_
6
6
 
7
+ ## 4.8.0
8
+
9
+ ### Minor Changes
10
+
11
+ - Notification content now supports additional inline elements like `span` without styling collisions. And added the possibility to set the duration as a machine-readable value via the new `timestampDatetime` property - [see commit dae5149](https://github.com/db-ux-design-system/core-web/commit/dae514902f92a74cb95a3a3adab205d560174692)
12
+
13
+ ## 4.7.3
14
+
15
+ _version bump_
7
16
 
8
17
  ## 4.7.2
9
18
 
@@ -42,7 +51,7 @@ _version bump_
42
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)
43
52
 
44
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):
45
- - fix(input,textarea): allow using `undefined` as `value`
54
+ - fix(input,textarea): allow using `undefined` as `value`
46
55
 
47
56
  ## 4.5.4
48
57
 
@@ -184,7 +193,7 @@ _version bump_
184
193
 
185
194
  - fix: set DBTabItem internal state `_selected` correctly - [see commit f7625cb](https://github.com/db-ux-design-system/core-web/commit/f7625cbd9d64513527e826c9d2c1ef42b2734a4b):
186
195
 
187
- - Now also sets aria-selected=true|false correctly which improves screen reader behaviour
196
+ - Now also sets aria-selected=true|false correctly which improves screen reader behaviour
188
197
 
189
198
  ## 4.2.1
190
199
 
@@ -205,14 +214,14 @@ _version bump_
205
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)
206
215
 
207
216
  - fix(DBCustomSelect): properly announce selected options - [see commit 773edeb](https://github.com/db-ux-design-system/core-web/commit/773edeb943a085eb79e1c8d59059137b2830fbf0):
208
- - feat(DBCustomSelect): introduce new property `selectedPrefix`
217
+ - feat(DBCustomSelect): introduce new property `selectedPrefix`
209
218
 
210
219
  ### Patch Changes
211
220
 
212
221
  - fix(DBCustomSelect): automatically handle form reset events - [see commit 6af5246](https://github.com/db-ux-design-system/core-web/commit/6af5246b3b2e6febdc6ff6342ba1a8eb10184d14):
213
- - An event listener is now added for every form component (input, custom-select, etc.) when a `form` property is passed.
214
- - This listener detects form resets and updates the component's internal value/checked state accordingly.
215
- - > **Note**: This does not work for `ngModel` in Angular.
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.
216
225
 
217
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)
218
227
 
@@ -247,9 +256,9 @@ _version bump_
247
256
  ### Major Changes
248
257
 
249
258
  - feat: Switch stable rework - [see commit cb2deb0](https://github.com/db-ux-design-system/core-web/commit/cb2deb0f1c54900d1967483aea05d81279c02f59):
250
- - **BREAKING CHANGE**: remove `emphasis` property
251
- - introduce validation (invalid and valid)
252
- - configurable label position
259
+ - **BREAKING CHANGE**: remove `emphasis` property
260
+ - introduce validation (invalid and valid)
261
+ - configurable label position
253
262
 
254
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)
255
264
 
@@ -268,12 +277,12 @@ _version bump_
268
277
  ### Patch Changes
269
278
 
270
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):
271
- - 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.
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.
272
281
 
273
282
  - fix(select): jumping placeholder for label above - [see commit 7ed8d22](https://github.com/db-ux-design-system/core-web/commit/7ed8d2225102e0e9044437e95917e11eef4bc73f)
274
283
 
275
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):
276
- - auto-generate/auto-update `.github/copilot-instructions.md`, to ensure GitHub Copilot uses DB UX Components for code generation
285
+ - auto-generate/auto-update `.github/copilot-instructions.md`, to ensure GitHub Copilot uses DB UX Components for code generation
277
286
 
278
287
  ## 3.1.17
279
288
 
@@ -287,8 +296,8 @@ _version bump_
287
296
  ### Patch Changes
288
297
 
289
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):
290
- - Fixes a keyboard accessibility issue where users could not navigate to options in subsequent option groups using arrow keys in single-select mode.
291
- - Now, all options are accessible via keyboard regardless of group boundaries.
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.
292
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)
293
302
 
294
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
- - 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`
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
- build: {
60
- cssMinify: "esbuild"
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
- css: {
77
- lightningcss: {
78
- targets: browserslistToTargets(browserslist(">= 0.5%, last 2 major versions, Firefox ESR, not dead"))
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
 
@@ -40,6 +40,17 @@ export type DBNotificationDefaultProps = {
40
40
  * The timestamp attribute can be set for overlay notifications
41
41
  */
42
42
  timestamp?: string;
43
+ /**
44
+ * Machine-readable value for the `datetime` attribute of the rendered `<time>` element.
45
+ *
46
+ * Accepts any valid HTML datetime string:
47
+ * - Absolute moment: ISO 8601 date/time, e.g. `"2024-06-01T12:30:00"`
48
+ * - Duration: ISO 8601 duration, e.g. `"PT5M"` (5 minutes), `"PT1H30M"` (1 h 30 min)
49
+ *
50
+ * When omitted the `datetime` attribute is not rendered and assistive technologies
51
+ * fall back to the visible `timestamp` text.
52
+ */
53
+ timestampDatetime?: string;
43
54
  /**
44
55
  * Enables or disables the visibility of the timestamp.
45
56
  */
@@ -27,6 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<DBNotificationProps, {},
27
27
  linkVariant: import("./model").NotificationLinkVariantType;
28
28
  showHeadline: boolean | string;
29
29
  timestamp: string;
30
+ timestampDatetime: string;
30
31
  showTimestamp: boolean | string;
31
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
33
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -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;