@db-ux/v-core-components 4.4.2 → 4.5.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 +20 -0
- package/dist/components/accordion/accordion.vue.d.ts +3 -2
- package/dist/components/accordion-item/accordion-item.vue.d.ts +4 -3
- package/dist/components/badge/badge.vue.d.ts +5 -3
- package/dist/components/badge/model.d.ts +2 -2
- package/dist/components/brand/brand.vue.d.ts +3 -2
- package/dist/components/button/button.vue.d.ts +6 -4
- package/dist/components/button/model.d.ts +8 -10
- package/dist/components/card/card.vue.d.ts +2 -1
- package/dist/components/checkbox/checkbox.vue.d.ts +4 -3
- package/dist/components/custom-button/custom-button.vue.d.ts +29 -0
- package/dist/components/custom-button/index.d.ts +1 -0
- package/dist/components/custom-button/model.d.ts +6 -0
- package/dist/components/custom-select/custom-select.vue.d.ts +4 -3
- package/dist/components/custom-select-dropdown/custom-select-dropdown.vue.d.ts +2 -1
- package/dist/components/custom-select-form-field/custom-select-form-field.vue.d.ts +2 -1
- package/dist/components/custom-select-list/custom-select-list.vue.d.ts +3 -2
- package/dist/components/custom-select-list-item/custom-select-list-item.vue.d.ts +4 -3
- package/dist/components/divider/divider.vue.d.ts +2 -1
- package/dist/components/drawer/drawer.vue.d.ts +2 -1
- package/dist/components/header/header.vue.d.ts +2 -1
- package/dist/components/icon/icon.vue.d.ts +3 -2
- package/dist/components/infotext/infotext.vue.d.ts +5 -3
- package/dist/components/infotext/model.d.ts +2 -2
- package/dist/components/input/input.vue.d.ts +5 -4
- package/dist/components/link/link.vue.d.ts +5 -4
- package/dist/components/navigation/navigation.vue.d.ts +2 -1
- package/dist/components/navigation-item/navigation-item.vue.d.ts +5 -4
- package/dist/components/notification/model.d.ts +2 -2
- package/dist/components/notification/notification.vue.d.ts +4 -3
- package/dist/components/page/page.vue.d.ts +2 -1
- package/dist/components/popover/popover.vue.d.ts +2 -1
- package/dist/components/radio/radio.vue.d.ts +4 -3
- package/dist/components/section/section.vue.d.ts +2 -1
- package/dist/components/select/select.vue.d.ts +4 -3
- package/dist/components/stack/stack.vue.d.ts +3 -2
- package/dist/components/switch/model.d.ts +1 -1
- package/dist/components/switch/switch.vue.d.ts +5 -4
- package/dist/components/tab-item/tab-item.vue.d.ts +5 -4
- package/dist/components/tab-list/tab-list.vue.d.ts +2 -1
- package/dist/components/tab-panel/tab-panel.vue.d.ts +3 -2
- package/dist/components/tabs/tabs.vue.d.ts +3 -2
- package/dist/components/tag/model.d.ts +2 -6
- package/dist/components/tag/tag.vue.d.ts +4 -3
- package/dist/components/textarea/textarea.vue.d.ts +4 -3
- package/dist/components/tooltip/model.d.ts +3 -3
- package/dist/components/tooltip/tooltip.vue.d.ts +3 -1
- package/dist/db-ux.es.js +1983 -1787
- package/dist/db-ux.umd.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/shared/model.d.ts +17 -3
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export * from './components/card';
|
|
|
12
12
|
export * from './components/card/model';
|
|
13
13
|
export * from './components/checkbox';
|
|
14
14
|
export * from './components/checkbox/model';
|
|
15
|
+
export * from './components/custom-button';
|
|
16
|
+
export * from './components/custom-button/model';
|
|
15
17
|
export * from './components/custom-select';
|
|
16
18
|
export * from './components/custom-select-dropdown';
|
|
17
19
|
export * from './components/custom-select-dropdown/model';
|
package/dist/shared/model.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconTypes } from '@db-ux/core-foundations';
|
|
2
|
-
export
|
|
2
|
+
export interface GlobalProps {
|
|
3
3
|
/**
|
|
4
4
|
* default slot
|
|
5
5
|
*/
|
|
@@ -20,7 +20,12 @@ export type GlobalProps = {
|
|
|
20
20
|
* Before using please check for the [accessibility concerns](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus#accessibility_concerns)
|
|
21
21
|
*/
|
|
22
22
|
autofocus?: boolean | string;
|
|
23
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Allows overriding specific props on nested elements or internal component structure.
|
|
25
|
+
*/
|
|
26
|
+
propOverrides?: PropOverridesType;
|
|
27
|
+
}
|
|
28
|
+
export type PropOverridesType = Pick<GlobalProps, 'id'>;
|
|
24
29
|
export type GlobalState = {
|
|
25
30
|
_id?: string;
|
|
26
31
|
};
|
|
@@ -351,6 +356,9 @@ export type FromValidState = {
|
|
|
351
356
|
handleValidation: () => void;
|
|
352
357
|
_invalidMessage?: string;
|
|
353
358
|
};
|
|
359
|
+
export type ResetIdState = {
|
|
360
|
+
resetIds: () => void;
|
|
361
|
+
};
|
|
354
362
|
export type FormState = {
|
|
355
363
|
_messageId?: string;
|
|
356
364
|
_validMessageId?: string;
|
|
@@ -368,7 +376,7 @@ export type FormState = {
|
|
|
368
376
|
* We use this to remove form event listener
|
|
369
377
|
*/
|
|
370
378
|
abortController?: AbortController;
|
|
371
|
-
};
|
|
379
|
+
} & ResetIdState;
|
|
372
380
|
export type InitializedState = {
|
|
373
381
|
initialized: boolean;
|
|
374
382
|
};
|
|
@@ -519,6 +527,12 @@ export type AriaControlsProps = {
|
|
|
519
527
|
*/
|
|
520
528
|
controls?: string;
|
|
521
529
|
};
|
|
530
|
+
export type NoTextProps = {
|
|
531
|
+
/**
|
|
532
|
+
* Define the text next to the icon specified via the icon Property to get hidden.
|
|
533
|
+
*/
|
|
534
|
+
noText?: boolean | string;
|
|
535
|
+
};
|
|
522
536
|
export type ValueLabelType = {
|
|
523
537
|
value: string;
|
|
524
538
|
label?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/v-core-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vue components for @db-ux/core-components",
|
|
6
6
|
"repository": {
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"tsx": "4.21.0",
|
|
47
47
|
"typescript": "5.9.3",
|
|
48
48
|
"vite": "7.3.1",
|
|
49
|
-
"vue": "3.5.
|
|
50
|
-
"vue-tsc": "3.2.
|
|
49
|
+
"vue": "3.5.29",
|
|
50
|
+
"vue-tsc": "3.2.5"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"sideEffects": false,
|
|
57
57
|
"source": "src/index.ts",
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@db-ux/core-components": "4.
|
|
60
|
-
"@db-ux/core-foundations": "4.
|
|
59
|
+
"@db-ux/core-components": "4.5.0",
|
|
60
|
+
"@db-ux/core-foundations": "4.5.0"
|
|
61
61
|
}
|
|
62
62
|
}
|