@central-design-system/components 3.0.0-beta.16 → 3.0.0-beta.17
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/cds.css +1 -1
- package/dist/cds.d.ts +1 -2
- package/dist/cds.es.js +5765 -5664
- package/dist/cds.umd.js +5 -5
- package/dist/components/CdsAutocomplete/CdsAutocomplete.vue.d.ts +2 -6
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +58 -33
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +7 -7
- package/dist/components/CdsMenu/CdsMenu.vue.d.ts +7 -7
- package/dist/components/CdsModal/CdsModal.vue.d.ts +3 -3
- package/dist/components/CdsNotification/CdsNotificationAlert.vue.d.ts +3 -3
- package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +3 -3
- package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +4 -4
- package/dist/components/CdsOverlay/constants.d.ts +2 -0
- package/dist/components/CdsTable/CdsTable.vue.d.ts +12 -12
- package/dist/components/CdsTable/components/Table/InternalTable.d.ts +12 -12
- package/dist/components/CdsTable/components/TableProvider.d.ts +12 -12
- package/dist/components/CdsTable/composable/scroll.d.ts +4607 -0
- package/dist/components/CdsTable/composable/table.d.ts +5 -9
- package/dist/components/CdsTable/constants.d.ts +1 -0
- package/dist/components/CdsTooltip/CdsTooltip.vue.d.ts +7 -7
- package/dist/composable/domObserver.d.ts +5 -0
- package/dist/composable/index.d.ts +2 -0
- package/dist/{components/CdsDropdown/composable → composable}/scrolling.d.ts +2 -2
- package/package.json +1 -1
- package/src/scss/themes/index.ts +1 -1
- package/dist/components/CdsDropdown/composable/index.d.ts +0 -1
- package/dist/plugins/index.d.ts +0 -2
|
@@ -293,7 +293,7 @@ export declare const makeTableProps: <Defaults extends {
|
|
|
293
293
|
closeDelay: string | number;
|
|
294
294
|
openDelay: string | number;
|
|
295
295
|
locationStrategy: NonNullable<"static" | "connected" | ((data: import("../../CdsOverlay/composable").ILocationStrategyData, props: import("../../CdsOverlay/composable").ILocationStrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
|
296
|
-
updateLocation: (event: Event) => void;
|
|
296
|
+
updateLocation: (event: Event | HTMLElement[]) => void;
|
|
297
297
|
} | undefined)>;
|
|
298
298
|
origin: NonNullable<import('../../../utils').TAnchor | "auto" | "overlap">;
|
|
299
299
|
offset: NonNullable<string | number | number[]>;
|
|
@@ -372,16 +372,16 @@ export declare const makeTableProps: <Defaults extends {
|
|
|
372
372
|
};
|
|
373
373
|
locationStrategy: Omit<{
|
|
374
374
|
type: PropType<"static" | "connected" | ((data: import("../../CdsOverlay/composable").ILocationStrategyData, props: import("../../CdsOverlay/composable").ILocationStrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
|
375
|
-
updateLocation: (event: Event) => void;
|
|
375
|
+
updateLocation: (event: Event | HTMLElement[]) => void;
|
|
376
376
|
} | undefined)>;
|
|
377
377
|
default: string;
|
|
378
378
|
validator: (value: any) => boolean;
|
|
379
379
|
}, "default" | "type"> & {
|
|
380
380
|
type: PropType<NonNullable<"static" | "connected" | ((data: import("../../CdsOverlay/composable").ILocationStrategyData, props: import("../../CdsOverlay/composable").ILocationStrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
|
381
|
-
updateLocation: (event: Event) => void;
|
|
381
|
+
updateLocation: (event: Event | HTMLElement[]) => void;
|
|
382
382
|
} | undefined)>>;
|
|
383
383
|
default: NonNullable<"static" | "connected" | ((data: import("../../CdsOverlay/composable").ILocationStrategyData, props: import("../../CdsOverlay/composable").ILocationStrategyProps, contentStyles: Ref<Record<string, string>>) => {
|
|
384
|
-
updateLocation: (event: Event) => void;
|
|
384
|
+
updateLocation: (event: Event | HTMLElement[]) => void;
|
|
385
385
|
} | undefined)>;
|
|
386
386
|
};
|
|
387
387
|
location: Omit<{
|
|
@@ -483,11 +483,7 @@ export declare const makeTableProps: <Defaults extends {
|
|
|
483
483
|
};
|
|
484
484
|
noClickAnimation: {
|
|
485
485
|
type: PropType<boolean>;
|
|
486
|
-
default: boolean;
|
|
487
|
-
* @private Internal usage, may remove by refactor. Should always use `columns` instead.
|
|
488
|
-
*
|
|
489
|
-
* !!! DO NOT USE IN PRODUCTION ENVIRONMENT !!!
|
|
490
|
-
*/
|
|
486
|
+
default: boolean;
|
|
491
487
|
};
|
|
492
488
|
theme: {
|
|
493
489
|
type: PropType<string>;
|
|
@@ -68,16 +68,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
68
68
|
};
|
|
69
69
|
locationStrategy: Omit<{
|
|
70
70
|
type: PropType<"static" | "connected" | ((data: import("../CdsOverlay/composable").ILocationStrategyData, props: ILocationStrategyProps, contentStyles: import("vue").Ref<Record<string, string>>) => {
|
|
71
|
-
updateLocation: (event: Event) => void;
|
|
71
|
+
updateLocation: (event: Event | HTMLElement[]) => void;
|
|
72
72
|
} | undefined)>;
|
|
73
73
|
default: string;
|
|
74
74
|
validator: (value: any) => boolean;
|
|
75
75
|
}, "default" | "type"> & {
|
|
76
76
|
type: PropType<NonNullable<"static" | "connected" | ((data: import("../CdsOverlay/composable").ILocationStrategyData, props: ILocationStrategyProps, contentStyles: import("vue").Ref<Record<string, string>>) => {
|
|
77
|
-
updateLocation: (event: Event) => void;
|
|
77
|
+
updateLocation: (event: Event | HTMLElement[]) => void;
|
|
78
78
|
} | undefined)>>;
|
|
79
79
|
default: NonNullable<"static" | "connected" | ((data: import("../CdsOverlay/composable").ILocationStrategyData, props: ILocationStrategyProps, contentStyles: import("vue").Ref<Record<string, string>>) => {
|
|
80
|
-
updateLocation: (event: Event) => void;
|
|
80
|
+
updateLocation: (event: Event | HTMLElement[]) => void;
|
|
81
81
|
} | undefined)>;
|
|
82
82
|
};
|
|
83
83
|
location: Omit<{
|
|
@@ -277,16 +277,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
277
277
|
};
|
|
278
278
|
locationStrategy: Omit<{
|
|
279
279
|
type: PropType<"static" | "connected" | ((data: import("../CdsOverlay/composable").ILocationStrategyData, props: ILocationStrategyProps, contentStyles: import("vue").Ref<Record<string, string>>) => {
|
|
280
|
-
updateLocation: (event: Event) => void;
|
|
280
|
+
updateLocation: (event: Event | HTMLElement[]) => void;
|
|
281
281
|
} | undefined)>;
|
|
282
282
|
default: string;
|
|
283
283
|
validator: (value: any) => boolean;
|
|
284
284
|
}, "default" | "type"> & {
|
|
285
285
|
type: PropType<NonNullable<"static" | "connected" | ((data: import("../CdsOverlay/composable").ILocationStrategyData, props: ILocationStrategyProps, contentStyles: import("vue").Ref<Record<string, string>>) => {
|
|
286
|
-
updateLocation: (event: Event) => void;
|
|
286
|
+
updateLocation: (event: Event | HTMLElement[]) => void;
|
|
287
287
|
} | undefined)>>;
|
|
288
288
|
default: NonNullable<"static" | "connected" | ((data: import("../CdsOverlay/composable").ILocationStrategyData, props: ILocationStrategyProps, contentStyles: import("vue").Ref<Record<string, string>>) => {
|
|
289
|
-
updateLocation: (event: Event) => void;
|
|
289
|
+
updateLocation: (event: Event | HTMLElement[]) => void;
|
|
290
290
|
} | undefined)>;
|
|
291
291
|
};
|
|
292
292
|
location: Omit<{
|
|
@@ -444,7 +444,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
444
444
|
closeDelay: string | number;
|
|
445
445
|
openDelay: string | number;
|
|
446
446
|
locationStrategy: NonNullable<"static" | "connected" | ((data: import("../CdsOverlay/composable").ILocationStrategyData, props: ILocationStrategyProps, contentStyles: import("vue").Ref<Record<string, string>>) => {
|
|
447
|
-
updateLocation: (event: Event) => void;
|
|
447
|
+
updateLocation: (event: Event | HTMLElement[]) => void;
|
|
448
448
|
} | undefined)>;
|
|
449
449
|
origin: NonNullable<import('../../utils').TAnchor | "auto" | "overlap">;
|
|
450
450
|
offset: NonNullable<string | number | number[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { CdsList } from '
|
|
3
|
-
import { CdsTextInput } from '
|
|
2
|
+
import { CdsList } from '../components/CdsList';
|
|
3
|
+
import { CdsTextInput } from '../components/CdsTextInput';
|
|
4
4
|
export declare function useScrolling(listRef: Ref<typeof CdsList | undefined>, textFieldRef: Ref<typeof CdsTextInput | undefined>): {
|
|
5
5
|
onListScroll: (event: Event) => void;
|
|
6
6
|
onListKeydown: (event: KeyboardEvent) => Promise<void>;
|
package/package.json
CHANGED
package/src/scss/themes/index.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './scrolling';
|
package/dist/plugins/index.d.ts
DELETED