@db-ux/v-core-components 4.12.0 → 4.13.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,19 @@
|
|
|
1
1
|
# @db-ux/v-core-components
|
|
2
2
|
|
|
3
|
+
## 4.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- feat: enable Invoker Commands (`command`- and `commandfor`-HTML-attributes) for DBButton - [see commit 00f50c3](https://github.com/db-ux-design-system/core-web/commit/00f50c3fc4508e62f2e30589c00148c54e2fc852)
|
|
8
|
+
|
|
9
|
+
## 4.12.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fix(custom-select): dropdown with `dropdownWidth="auto"` now correctly sizes to content width and respects the trigger minimum width. Long option labels no longer get truncated: `auto` keeps them on a single line (dropdown grows to the longest option), while `fixed` and `full` wrap long labels onto new lines. - [see commit 68dedc3](https://github.com/db-ux-design-system/core-web/commit/68dedc33c324b48339d5bb73a85fdff3045ed059)
|
|
14
|
+
|
|
15
|
+
- fix(drawer): prevent backdrop drag-close when selection starts inside content - [see commit b53ff8a](https://github.com/db-ux-design-system/core-web/commit/b53ff8a4f0a5350c5be41fad072e14797676bba7)
|
|
16
|
+
|
|
3
17
|
## 4.12.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -20,6 +20,8 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBButtonPr
|
|
|
20
20
|
wrap: boolean | string;
|
|
21
21
|
icon: import("@db-ux/core-foundations", { with: { "resolution-mode": "import" } }).IconTypes;
|
|
22
22
|
showIcon: boolean | string;
|
|
23
|
+
command: string;
|
|
24
|
+
commandfor: string;
|
|
23
25
|
width: import("../../index.js", { with: { "resolution-mode": "import" } }).WidthType | string;
|
|
24
26
|
showIconLeading: boolean | string;
|
|
25
27
|
showIconTrailing: boolean | string;
|
|
@@ -10,6 +10,14 @@ export type DBButtonSharedProps = {
|
|
|
10
10
|
variant?: ButtonVariantType | string;
|
|
11
11
|
};
|
|
12
12
|
export type DBButtonDefaultProps = {
|
|
13
|
+
/**
|
|
14
|
+
* The [command](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command) attribute specifies the action to perform on the element controlled by a `<button>` element.
|
|
15
|
+
*/
|
|
16
|
+
command?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The [commandfor](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor) attribute turns a `<button>` into a command button that controls the given interactive element referenced by `id`.
|
|
19
|
+
*/
|
|
20
|
+
commandfor?: string;
|
|
13
21
|
/**
|
|
14
22
|
* The disabled attribute can be set to [keep a user from clicking on the button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled).
|
|
15
23
|
*/
|
|
@@ -46,5 +46,8 @@ export type DBDrawerDefaultProps = {
|
|
|
46
46
|
export type DBDrawerProps = DBDrawerDefaultProps & GlobalProps & CloseEventProps<ClickEvent<HTMLButtonElement | HTMLDialogElement> | GeneralKeyboardEvent<HTMLDialogElement>> & InnerCloseButtonProps & WidthProps & SpacingProps;
|
|
47
47
|
export type DBDrawerDefaultState = {
|
|
48
48
|
handleDialogOpen: () => void;
|
|
49
|
+
isNotModal: () => boolean;
|
|
50
|
+
handleBackdropPointerDown: (event: any) => void;
|
|
51
|
+
backdropPointerDown: boolean;
|
|
49
52
|
};
|
|
50
53
|
export type DBDrawerState = DBDrawerDefaultState & GlobalState & CloseEventState<ClickEvent<HTMLButtonElement | HTMLDialogElement> | GeneralKeyboardEvent<HTMLDialogElement>> & InitializedState;
|