@db-ux/v-core-components 2.3.1 → 2.4.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/dist/components/accordion/accordion.vue.d.ts +1 -1
- package/dist/components/accordion-item/accordion-item.vue.d.ts +2 -2
- package/dist/components/badge/badge.vue.d.ts +2 -2
- package/dist/components/badge/model.d.ts +1 -1
- package/dist/components/brand/brand.vue.d.ts +1 -1
- package/dist/components/button/button.vue.d.ts +9 -9
- package/dist/components/card/card.vue.d.ts +1 -1
- package/dist/components/checkbox/checkbox.vue.d.ts +4 -3
- package/dist/components/custom-select/custom-select.vue.d.ts +7 -6
- package/dist/components/custom-select/model.d.ts +1 -1
- package/dist/components/custom-select-list-item/custom-select-list-item.vue.d.ts +4 -4
- package/dist/components/divider/divider.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +8 -7
- package/dist/components/drawer/model.d.ts +11 -2
- package/dist/components/header/header.vue.d.ts +10 -10
- package/dist/components/header/model.d.ts +6 -6
- package/dist/components/icon/icon.vue.d.ts +1 -1
- package/dist/components/infotext/infotext.vue.d.ts +2 -2
- package/dist/components/input/input.vue.d.ts +8 -7
- package/dist/components/link/link.vue.d.ts +2 -2
- package/dist/components/navigation-item/navigation-item.vue.d.ts +5 -5
- package/dist/components/notification/model.d.ts +3 -3
- package/dist/components/notification/notification.vue.d.ts +6 -6
- package/dist/components/page/page.vue.d.ts +1 -1
- package/dist/components/popover/popover.vue.d.ts +3 -3
- package/dist/components/radio/radio.vue.d.ts +4 -3
- package/dist/components/select/select.vue.d.ts +9 -8
- package/dist/components/stack/stack.vue.d.ts +1 -1
- package/dist/components/switch/switch.vue.d.ts +5 -4
- package/dist/components/tab-item/tab-item.vue.d.ts +2 -2
- package/dist/components/tabs/model.d.ts +1 -1
- package/dist/components/tabs/tabs.vue.d.ts +5 -5
- package/dist/components/tag/model.d.ts +1 -1
- package/dist/components/tag/tag.vue.d.ts +5 -5
- package/dist/components/textarea/textarea.vue.d.ts +5 -4
- package/dist/components/tooltip/tooltip.vue.d.ts +4 -4
- package/dist/db-ux.es.js +3021 -2992
- package/dist/db-ux.umd.js +1 -1
- package/dist/index.d.ts +15 -16
- package/dist/shared/model.d.ts +12 -2
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
export * from './components/
|
|
1
|
+
export * from './components/accordion';
|
|
2
|
+
export * from './components/accordion-item';
|
|
2
3
|
export * from './components/badge';
|
|
3
4
|
export * from './components/brand';
|
|
4
5
|
export * from './components/button';
|
|
5
6
|
export * from './components/card';
|
|
6
7
|
export * from './components/checkbox';
|
|
8
|
+
export * from './components/custom-select';
|
|
9
|
+
export * from './components/custom-select-dropdown';
|
|
10
|
+
export * from './components/custom-select-form-field';
|
|
11
|
+
export * from './components/custom-select-list';
|
|
12
|
+
export * from './components/custom-select-list-item';
|
|
7
13
|
export * from './components/divider';
|
|
8
14
|
export * from './components/drawer';
|
|
9
15
|
export * from './components/header';
|
|
@@ -11,31 +17,24 @@ export * from './components/icon';
|
|
|
11
17
|
export * from './components/infotext';
|
|
12
18
|
export * from './components/input';
|
|
13
19
|
export * from './components/link';
|
|
20
|
+
export * from './components/navigation';
|
|
21
|
+
export * from './components/navigation-item';
|
|
22
|
+
export * from './components/notification';
|
|
14
23
|
export * from './components/page';
|
|
24
|
+
export * from './components/popover';
|
|
15
25
|
export * from './components/radio';
|
|
16
26
|
export * from './components/section';
|
|
17
27
|
export * from './components/select';
|
|
28
|
+
export * from './components/stack';
|
|
18
29
|
export * from './components/switch';
|
|
19
30
|
export * from './components/tab-item';
|
|
31
|
+
export * from './components/tab-list';
|
|
32
|
+
export * from './components/tab-panel';
|
|
33
|
+
export * from './components/tabs';
|
|
20
34
|
export * from './components/tag';
|
|
21
35
|
export * from './components/textarea';
|
|
22
|
-
export * from './components/navigation-item';
|
|
23
|
-
export * from './components/accordion';
|
|
24
|
-
export * from './components/accordion-item';
|
|
25
|
-
export * from './components/navigation';
|
|
26
|
-
export * from './components/badge';
|
|
27
|
-
export * from './components/popover';
|
|
28
36
|
export * from './components/tooltip';
|
|
29
|
-
export * from './components/tab-list';
|
|
30
|
-
export * from './components/tabs';
|
|
31
|
-
export * from './components/tab-panel';
|
|
32
37
|
export * from './shared/constants';
|
|
33
38
|
export * from './shared/model';
|
|
34
39
|
export * from './utils/index';
|
|
35
40
|
export * from './utils/navigation';
|
|
36
|
-
export * from './components/stack';
|
|
37
|
-
export * from './components/custom-select';
|
|
38
|
-
export * from './components/custom-select-form-field';
|
|
39
|
-
export * from './components/custom-select-dropdown';
|
|
40
|
-
export * from './components/custom-select-list';
|
|
41
|
-
export * from './components/custom-select-list-item';
|
package/dist/shared/model.d.ts
CHANGED
|
@@ -183,11 +183,21 @@ export type EmphasisProps = {
|
|
|
183
183
|
};
|
|
184
184
|
export declare const ValidationList: readonly ["invalid", "valid", "no-validation"];
|
|
185
185
|
export type ValidationType = (typeof ValidationList)[number];
|
|
186
|
+
/**
|
|
187
|
+
* Properties to control the required state and its visual annotation for input components.
|
|
188
|
+
*/
|
|
186
189
|
export type RequiredProps = {
|
|
187
190
|
/**
|
|
188
191
|
* When the required attribute specified, the user will be required to fill the form element before submitting the form.
|
|
192
|
+
* The form element will be marked semantically as required and by default also visually with an asterisk '*' next to the label (unless the property `showRequiredAsterisk` is also set with the value `false`).
|
|
189
193
|
*/
|
|
190
194
|
required?: boolean | string;
|
|
195
|
+
/**
|
|
196
|
+
* This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').
|
|
197
|
+
* It allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.
|
|
198
|
+
* By default, its value is `true`, so the asterisk is shown when `required` is set.
|
|
199
|
+
*/
|
|
200
|
+
showRequiredAsterisk?: boolean | string;
|
|
191
201
|
};
|
|
192
202
|
export type ShowLabelProps = {
|
|
193
203
|
/**
|
|
@@ -484,13 +494,13 @@ export type NavigationBackButtonProps = {
|
|
|
484
494
|
};
|
|
485
495
|
export type AriaLabelledByProps = {
|
|
486
496
|
/**
|
|
487
|
-
* Pass aria-labelledby to inner element
|
|
497
|
+
* Pass `aria-labelledby` to inner element
|
|
488
498
|
*/
|
|
489
499
|
labelledBy?: string;
|
|
490
500
|
};
|
|
491
501
|
export type AriaControlsProps = {
|
|
492
502
|
/**
|
|
493
|
-
* Pass aria-controls to inner element
|
|
503
|
+
* Pass `aria-controls` to inner element
|
|
494
504
|
*/
|
|
495
505
|
controls?: string;
|
|
496
506
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/v-core-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vue components for @db-ux/core-components",
|
|
6
6
|
"repository": {
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"test:components:ui": "playwright test -c playwright.config.ts --ui"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@playwright/experimental-ct-vue": "1.
|
|
40
|
+
"@playwright/experimental-ct-vue": "1.53.2",
|
|
41
41
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
42
42
|
"replace-in-file": "^8.3.0",
|
|
43
43
|
"tsx": "^4.20.3",
|
|
44
44
|
"typescript": "^5.4.5",
|
|
45
45
|
"vite": "^6.3.5",
|
|
46
46
|
"vue": "^3.5.17",
|
|
47
|
-
"vue-tsc": "^
|
|
47
|
+
"vue-tsc": "^3.0.1"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"sideEffects": false,
|
|
54
54
|
"source": "src/index.ts",
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@db-ux/core-components": "2.
|
|
57
|
-
"@db-ux/core-foundations": "2.
|
|
56
|
+
"@db-ux/core-components": "2.4.0",
|
|
57
|
+
"@db-ux/core-foundations": "2.4.0"
|
|
58
58
|
}
|
|
59
59
|
}
|