@db-ux/v-core-components 4.3.2 → 4.4.0-loading-567cd0c
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 +8 -0
- package/dist/components/badge/badge.vue.d.ts +1 -1
- package/dist/components/infotext/infotext.vue.d.ts +1 -1
- package/dist/components/link/link.vue.d.ts +1 -1
- package/dist/components/link/model.d.ts +2 -2
- package/dist/components/loading-indicator/examples/_indicators.data.d.ts +49 -0
- package/dist/components/loading-indicator/index.d.ts +1 -0
- package/dist/components/loading-indicator/loading-indicator.vue.d.ts +33 -0
- package/dist/components/loading-indicator/model.d.ts +39 -0
- package/dist/components/navigation-item/navigation-item.vue.d.ts +1 -1
- package/dist/components/notification/model.d.ts +2 -2
- package/dist/components/notification/notification.vue.d.ts +3 -2
- package/dist/components/select/model.d.ts +10 -0
- package/dist/components/select/select.vue.d.ts +1 -0
- package/dist/components/tag/tag.vue.d.ts +1 -1
- package/dist/components/tooltip/tooltip.vue.d.ts +1 -1
- package/dist/db-ux.es.js +1703 -1473
- package/dist/db-ux.umd.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/shared/model.d.ts +12 -8
- package/dist/utils/index.d.ts +12 -0
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -77,3 +77,5 @@ export * from './utils/document-scroll-listener';
|
|
|
77
77
|
export * from './utils/floating-components';
|
|
78
78
|
export * from './utils/index';
|
|
79
79
|
export * from './utils/navigation';
|
|
80
|
+
export * from "./components/loading-indicator";
|
|
81
|
+
export * from "./components/loading-indicator/model";
|
package/dist/shared/model.d.ts
CHANGED
|
@@ -157,10 +157,6 @@ export type PopoverDelayType = (typeof PopoverDelayList)[number];
|
|
|
157
157
|
export declare const PopoverWidthList: readonly ["auto", "fixed"];
|
|
158
158
|
export type PopoverWidthType = (typeof PopoverWidthList)[number];
|
|
159
159
|
export type PopoverProps = {
|
|
160
|
-
/**
|
|
161
|
-
* Add a delay before showing the tooltip
|
|
162
|
-
*/
|
|
163
|
-
delay?: PopoverDelayType;
|
|
164
160
|
/**
|
|
165
161
|
* Disable animation
|
|
166
162
|
*/
|
|
@@ -169,6 +165,12 @@ export type PopoverProps = {
|
|
|
169
165
|
* Use fixed with for default max-width
|
|
170
166
|
*/
|
|
171
167
|
width?: PopoverWidthType;
|
|
168
|
+
} & DelayProps;
|
|
169
|
+
export type DelayProps = {
|
|
170
|
+
/**
|
|
171
|
+
* Add a delay before showing the component
|
|
172
|
+
*/
|
|
173
|
+
delay?: PopoverDelayType;
|
|
172
174
|
};
|
|
173
175
|
export type NameProps = {
|
|
174
176
|
/**
|
|
@@ -397,10 +399,6 @@ export type LinkProps = {
|
|
|
397
399
|
* The relationship of the linked URL as space-separated link types.
|
|
398
400
|
*/
|
|
399
401
|
rel?: string;
|
|
400
|
-
/**
|
|
401
|
-
* Sets aria role based on [`aria-role`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles).
|
|
402
|
-
*/
|
|
403
|
-
role?: string;
|
|
404
402
|
/**
|
|
405
403
|
* How much of the referrer to send when following the link.
|
|
406
404
|
* @deprecated use `referrerPolicy` instead
|
|
@@ -411,6 +409,12 @@ export type LinkProps = {
|
|
|
411
409
|
*/
|
|
412
410
|
referrerPolicy?: LinkReferrerPolicyType;
|
|
413
411
|
};
|
|
412
|
+
export type RoleProps = {
|
|
413
|
+
/**
|
|
414
|
+
* Sets aria role based on [`aria-role`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles).
|
|
415
|
+
*/
|
|
416
|
+
role?: string;
|
|
417
|
+
};
|
|
414
418
|
export type TextProps = {
|
|
415
419
|
/**
|
|
416
420
|
* Alternative for default slot/children.
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -58,3 +58,15 @@ export declare const getOptionKey: (option: {
|
|
|
58
58
|
value?: string | number | string[] | undefined;
|
|
59
59
|
}, prefix: string) => string;
|
|
60
60
|
export declare const isKeyboardEvent: <T>(event?: ClickEvent<T> | GeneralKeyboardEvent<T>) => event is GeneralKeyboardEvent<T>;
|
|
61
|
+
/**
|
|
62
|
+
* Maps semantic values to appropriate ARIA roles for notifications
|
|
63
|
+
* @param semantic - The semantic type of the notification
|
|
64
|
+
* @param role - The aria role of the notification
|
|
65
|
+
* @param ariaLive - The aria-live of the notification
|
|
66
|
+
* @returns The appropriate ARIA role or undefined for default behavior
|
|
67
|
+
*/
|
|
68
|
+
export declare const getNotificationRole: ({ semantic, role, ariaLive }: {
|
|
69
|
+
semantic?: string;
|
|
70
|
+
role?: string;
|
|
71
|
+
ariaLive?: string;
|
|
72
|
+
}) => string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/v-core-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0-loading-567cd0c",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vue components for @db-ux/core-components",
|
|
6
6
|
"repository": {
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@playwright/experimental-ct-vue": "1.57.0",
|
|
44
|
-
"@vitejs/plugin-vue": "6.0.
|
|
44
|
+
"@vitejs/plugin-vue": "6.0.4",
|
|
45
45
|
"replace-in-file": "8.4.0",
|
|
46
46
|
"tsx": "4.21.0",
|
|
47
47
|
"typescript": "5.9.3",
|
|
48
48
|
"vite": "7.3.1",
|
|
49
49
|
"vue": "3.5.27",
|
|
50
|
-
"vue-tsc": "3.2.
|
|
50
|
+
"vue-tsc": "3.2.4"
|
|
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.4.0-loading-567cd0c",
|
|
60
|
+
"@db-ux/core-foundations": "4.4.0-loading-567cd0c"
|
|
61
61
|
}
|
|
62
62
|
}
|