@knime/kds-components 0.11.0 → 0.12.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/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts +154 -2
- package/dist/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts.map +1 -1
- package/dist/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts +154 -2
- package/dist/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts.map +1 -1
- package/dist/index.css +20 -20
- package/dist/index.js +32 -87
- package/dist/index.js.map +1 -1
- package/dist/overlays/Popover/KdsPopover.vue.d.ts +4 -1
- package/dist/overlays/Popover/KdsPopover.vue.d.ts.map +1 -1
- package/dist/overlays/Popover/types.d.ts +11 -13
- package/dist/overlays/Popover/types.d.ts.map +1 -1
- package/dist/overlays/index.d.ts +0 -2
- package/dist/overlays/index.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -14,7 +14,10 @@ declare function __VLS_template(): {
|
|
|
14
14
|
rootEl: HTMLDivElement;
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
18
|
+
anchorStyle: Record<string, string>;
|
|
19
|
+
popoverId: string;
|
|
20
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
21
|
"update:modelValue": (value: boolean) => any;
|
|
19
22
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
23
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/overlays/Popover/KdsPopover.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/overlays/Popover/KdsPopover.vue"],"names":[],"mappings":"AAyJA,OAAO,KAAK,EAAoB,eAAe,EAAE,MAAM,SAAS,CAAC;AAEjE,KAAK,WAAW,GAAG,eAAe,CAAC;AAoCnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAwDT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;kBAWnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,20 +1,7 @@
|
|
|
1
|
-
import { ComponentPublicInstance, MaybeRef } from 'vue';
|
|
2
1
|
import { kdsPopoverPlacement, kdsPopoverRole } from './enums';
|
|
3
2
|
export type KdsPopoverPlacement = (typeof kdsPopoverPlacement)[keyof typeof kdsPopoverPlacement];
|
|
4
3
|
export type KdsPopoverRole = (typeof kdsPopoverRole)[keyof typeof kdsPopoverRole];
|
|
5
4
|
export type KdsPopoverProps = {
|
|
6
|
-
/**
|
|
7
|
-
* Reference to the activator element (typically a button element).
|
|
8
|
-
*
|
|
9
|
-
* Can be an HTMLElement or a Vue component instance.
|
|
10
|
-
*/
|
|
11
|
-
activatorEl: MaybeRef<HTMLElement | ComponentPublicInstance | null>;
|
|
12
|
-
/**
|
|
13
|
-
* Optional reference to the anchor element used for positioning.
|
|
14
|
-
*
|
|
15
|
-
* Defaults to `activatorEl`.
|
|
16
|
-
*/
|
|
17
|
-
anchorEl?: MaybeRef<HTMLElement | ComponentPublicInstance | null>;
|
|
18
5
|
/**
|
|
19
6
|
* Placement of the popover relative to the anchor element.
|
|
20
7
|
*
|
|
@@ -48,4 +35,15 @@ export type KdsPopoverProps = {
|
|
|
48
35
|
*/
|
|
49
36
|
content?: string;
|
|
50
37
|
};
|
|
38
|
+
export type KdsPopoverExpose = {
|
|
39
|
+
/**
|
|
40
|
+
* Ready-to-use inline style object (`{ "anchor-name": "..." }`) to apply
|
|
41
|
+
* on the anchor/activator element via `:style="popoverRef?.anchorStyle"`.
|
|
42
|
+
*/
|
|
43
|
+
anchorStyle: Record<string, string>;
|
|
44
|
+
/**
|
|
45
|
+
* The popover element's ID. Use for `aria-controls` on the activator.
|
|
46
|
+
*/
|
|
47
|
+
popoverId: string;
|
|
48
|
+
};
|
|
51
49
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/overlays/Popover/types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/overlays/Popover/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAEhC;;;;OAIG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;;;OAMG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
package/dist/overlays/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/overlays/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/overlays/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@knime/utils": "^1.9.2",
|
|
38
38
|
"consola": "^3.4.2",
|
|
39
|
-
"@knime/kds-styles": "^0.
|
|
39
|
+
"@knime/kds-styles": "^0.12.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@storybook/vue3-vite": "^10.2.13",
|