@db-ux/v-core-components 4.4.0-loading-567cd0c → 4.4.1-floating-components-066d296

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/index.d.ts CHANGED
@@ -77,5 +77,3 @@ 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";
@@ -157,6 +157,10 @@ 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;
160
164
  /**
161
165
  * Disable animation
162
166
  */
@@ -165,12 +169,6 @@ export type PopoverProps = {
165
169
  * Use fixed with for default max-width
166
170
  */
167
171
  width?: PopoverWidthType;
168
- } & DelayProps;
169
- export type DelayProps = {
170
- /**
171
- * Add a delay before showing the component
172
- */
173
- delay?: PopoverDelayType;
174
172
  };
175
173
  export type NameProps = {
176
174
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@db-ux/v-core-components",
3
- "version": "4.4.0-loading-567cd0c",
3
+ "version": "4.4.1-floating-components-066d296",
4
4
  "type": "module",
5
5
  "description": "Vue components for @db-ux/core-components",
6
6
  "repository": {
@@ -56,7 +56,7 @@
56
56
  "sideEffects": false,
57
57
  "source": "src/index.ts",
58
58
  "dependencies": {
59
- "@db-ux/core-components": "4.4.0-loading-567cd0c",
60
- "@db-ux/core-foundations": "4.4.0-loading-567cd0c"
59
+ "@db-ux/core-components": "4.4.1-floating-components-066d296",
60
+ "@db-ux/core-foundations": "4.4.1-floating-components-066d296"
61
61
  }
62
62
  }
@@ -1,49 +0,0 @@
1
- import { PopoverDelayType, SizeType } from '../../../shared/model';
2
- import { LoadingIndicatorStateType, LoadingIndicatorVariantType } from '../model';
3
- export declare const indicators: {
4
- variant: LoadingIndicatorVariantType;
5
- progressText: string;
6
- progressTextState: string;
7
- label: string;
8
- }[];
9
- export declare const densities: {
10
- value: string;
11
- name: string;
12
- }[];
13
- export declare const indeterminateArray: {
14
- value: boolean;
15
- name: string;
16
- }[];
17
- export declare const sizes: {
18
- value: SizeType;
19
- name: string;
20
- }[];
21
- export declare const statesArray: {
22
- value: LoadingIndicatorStateType;
23
- name: string;
24
- }[];
25
- export declare const showLabels: {
26
- value: boolean;
27
- name: string;
28
- }[];
29
- export declare const showProgressTexts: {
30
- value: boolean;
31
- name: string;
32
- }[];
33
- export declare const overlays: {
34
- value: boolean;
35
- name: string;
36
- }[];
37
- export declare const delays: {
38
- value: PopoverDelayType;
39
- name: string;
40
- }[];
41
- export declare const buttonExamples: {
42
- overlay: boolean;
43
- name: string;
44
- }[];
45
- export type TimeoutStore = {
46
- loadingState: LoadingIndicatorStateType;
47
- onTimeoutFn: () => void;
48
- getLabel: (loadingState: LoadingIndicatorStateType | string) => string;
49
- };
@@ -1 +0,0 @@
1
- export { default as DBLoadingIndicator } from "./loading-indicator.vue";
@@ -1,33 +0,0 @@
1
- import { DBLoadingIndicatorProps } from "./model";
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<DBLoadingIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBLoadingIndicatorProps> & Readonly<{}>, {
7
- value: string | number;
8
- role: "alert" | "status" | "none";
9
- label: string;
10
- children: any;
11
- className: string;
12
- id: string;
13
- variant: import("./model").LoadingIndicatorVariantType;
14
- size: import("../..").SizeType;
15
- indeterminate: boolean | string;
16
- showLabel: boolean | string;
17
- max: number | string;
18
- progressText: string;
19
- showProgressText: boolean | string;
20
- overlay: boolean | string;
21
- state: import("./model").LoadingIndicatorStateType | string;
22
- autoDisable: boolean | string;
23
- onTimeout: (state?: import("./model").LoadingIndicatorStateType | string) => void;
24
- delay: import("../..").PopoverDelayType;
25
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
- declare const _default: typeof __VLS_export;
28
- export default _default;
29
- type __VLS_WithSlots<T, S> = T & {
30
- new (): {
31
- $slots: S;
32
- };
33
- };
@@ -1,39 +0,0 @@
1
- import { DelayProps, GlobalProps, GlobalState, InitializedState, ShowLabelProps, SizeProps } from '../../shared/model';
2
- export declare const LoadingIndicatorVariantList: readonly ["progress-bar", "onsite", "inline"];
3
- export type LoadingIndicatorVariantType = (typeof LoadingIndicatorVariantList)[number];
4
- export declare const LoadingIndicatorStateList: readonly ["inactive", "active", "successful", "critical"];
5
- export type LoadingIndicatorStateType = (typeof LoadingIndicatorStateList)[number];
6
- export type DBLoadingIndicatorDefaultProps = {
7
- indeterminate?: boolean | string;
8
- label?: string;
9
- max?: number | string;
10
- progressText?: string;
11
- /**
12
- * Enables/disables the visibility of the progressText
13
- */
14
- showProgressText?: boolean | string;
15
- value?: string | number;
16
- overlay?: boolean | string;
17
- variant?: LoadingIndicatorVariantType;
18
- state?: LoadingIndicatorStateType | string;
19
- /**
20
- * Disable the parent component (e.g. a DBButton) when loading indicator is inside it
21
- */
22
- autoDisable?: boolean | string;
23
- role?: 'alert' | 'status' | 'none';
24
- /**
25
- * Triggers after a timeout. For "active" after 5 seconds, for "successful" and "critical" after 2 seconds
26
- */
27
- onTimeout?: (state?: LoadingIndicatorStateType | string) => void;
28
- };
29
- export type DBLoadingIndicatorProps = DBLoadingIndicatorDefaultProps & GlobalProps & SizeProps & ShowLabelProps & DelayProps;
30
- export type DBLoadingIndicatorDefaultState = {
31
- _loadingState?: LoadingIndicatorStateType | string;
32
- _previousLoadingState?: LoadingIndicatorStateType | string;
33
- _style: any;
34
- getPercentage: () => string | undefined;
35
- getRole: () => string | undefined;
36
- handleParentAria: (remove: boolean) => void;
37
- handleParentDisabled: () => void;
38
- };
39
- export type DBLoadingIndicatorState = DBLoadingIndicatorDefaultState & GlobalState & InitializedState;