@knime/kds-components 6.1.0 → 6.2.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/CHANGELOG.md +13 -0
- package/dist/{KdsIcon-Ci69AVx1.js → KdsIcon-BEh81Opy.js} +4 -1
- package/dist/{KdsIcon-Ci69AVx1.js.map → KdsIcon-BEh81Opy.js.map} +1 -1
- package/dist/dark-mode-Y7o6bJvC.js +20 -0
- package/dist/dark-mode-Y7o6bJvC.js.map +1 -0
- package/dist/index.css +538 -336
- package/dist/index.js +3718 -3057
- package/dist/index.js.map +1 -1
- package/dist/light-mode-BD695KQ6.js +21 -0
- package/dist/light-mode-BD695KQ6.js.map +1 -0
- package/dist/src/components/buttons/KdsMultiSelectButton/KdsMultiSelectButton.vue.d.ts +79 -0
- package/dist/src/components/buttons/KdsMultiSelectButton/KdsMultiSelectButton.vue.d.ts.map +1 -0
- package/dist/src/components/buttons/KdsMultiSelectButton/index.d.ts +3 -0
- package/dist/src/components/buttons/KdsMultiSelectButton/index.d.ts.map +1 -0
- package/dist/src/components/buttons/KdsMultiSelectButton/types.d.ts +21 -0
- package/dist/src/components/buttons/KdsMultiSelectButton/types.d.ts.map +1 -0
- package/dist/src/components/buttons/KdsSelectButton/KdsSelectButton.vue.d.ts +74 -0
- package/dist/src/components/buttons/KdsSelectButton/KdsSelectButton.vue.d.ts.map +1 -0
- package/dist/src/components/buttons/KdsSelectButton/index.d.ts +3 -0
- package/dist/src/components/buttons/KdsSelectButton/index.d.ts.map +1 -0
- package/dist/src/components/buttons/KdsSelectButton/types.d.ts +18 -0
- package/dist/src/components/buttons/KdsSelectButton/types.d.ts.map +1 -0
- package/dist/src/components/buttons/index.d.ts +4 -0
- package/dist/src/components/buttons/index.d.ts.map +1 -1
- package/dist/src/components/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts.map +1 -1
- package/dist/src/components/lists/ListContainer/KdsListContainer.vue.d.ts.map +1 -1
- package/dist/src/components/lists/ListContainer/types.d.ts +8 -1
- package/dist/src/components/lists/ListContainer/types.d.ts.map +1 -1
- package/dist/src/layouts/panels/SplitPanel/KdsSplitPanel.vue.d.ts +41 -0
- package/dist/src/layouts/panels/SplitPanel/KdsSplitPanel.vue.d.ts.map +1 -0
- package/dist/src/layouts/panels/SplitPanel/_Splitter.vue.d.ts +35 -0
- package/dist/src/layouts/panels/SplitPanel/_Splitter.vue.d.ts.map +1 -0
- package/dist/src/layouts/panels/SplitPanel/_splitterTypes.d.ts +49 -0
- package/dist/src/layouts/panels/SplitPanel/_splitterTypes.d.ts.map +1 -0
- package/dist/src/layouts/panels/SplitPanel/enums.d.ts +8 -0
- package/dist/src/layouts/panels/SplitPanel/enums.d.ts.map +1 -0
- package/dist/src/layouts/panels/SplitPanel/index.d.ts +4 -0
- package/dist/src/layouts/panels/SplitPanel/index.d.ts.map +1 -0
- package/dist/src/layouts/panels/SplitPanel/types.d.ts +49 -0
- package/dist/src/layouts/panels/SplitPanel/types.d.ts.map +1 -0
- package/dist/src/layouts/panels/index.d.ts +2 -0
- package/dist/src/layouts/panels/index.d.ts.map +1 -1
- package/dist/system-based-mode-DzEDON0P.js +21 -0
- package/dist/system-based-mode-DzEDON0P.js.map +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
2
|
+
//#region ../styles/dist/img/icons/light-mode.svg
|
|
3
|
+
var _hoisted_1 = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
stroke: "currentColor",
|
|
7
|
+
"stroke-linecap": "round",
|
|
8
|
+
"stroke-linejoin": "round",
|
|
9
|
+
viewBox: "0 0 12 12"
|
|
10
|
+
};
|
|
11
|
+
function render(_ctx, _cache) {
|
|
12
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", {
|
|
13
|
+
d: "M3 5.875H1.5M9.16 2.8 8.1 3.86m1.06 5.35L8.1 8.15M3.88 3.88 2.82 2.82M3.86 8.1 2.8 9.16m7.7-3.285H9M6 1.5V3m0 6v1.5M7.5 6a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0",
|
|
14
|
+
"vector-effect": "non-scaling-stroke"
|
|
15
|
+
}, null, -1)])]);
|
|
16
|
+
}
|
|
17
|
+
var light_mode_default = { render };
|
|
18
|
+
//#endregion
|
|
19
|
+
export { light_mode_default as default, render };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=light-mode-BD695KQ6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"light-mode-BD695KQ6.js","names":["_openBlock","_createElementBlock","_createElementVNode"],"sources":["../../styles/dist/img/icons/light-mode.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M3 5.875H1.5M9.16 2.8 8.1 3.86m1.06 5.35L8.1 8.15M3.88 3.88 2.82 2.82M3.86 8.1 2.8 9.16m7.7-3.285H9M6 1.5V3m0 6v1.5M7.5 6a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"mappings":";;AAEA,IAAM,aAAa;CACjB,OAAO;CACP,MAAM;CACN,QAAQ;CACR,kBAAkB;CAClB,mBAAmB;CACnB,SAAS;AACX;AAEA,SAAgB,OAAO,MAAM,QAAQ;CACnC,OAAQA,UAAW,GAAGC,mBAAoB,OAAO,YAAY,CAAC,GAAI,OAAO,OAAO,OAAO,KAAK,CAC1FC,mBAAoB,QAAQ;EAC1B,GAAG;EACH,iBAAiB;CACnB,GAAG,MAAM,EAAE,CACb,EAAG,CAAC;AACN;AACA,IAAA,qBAAe,EAAU,OAAO"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { KdsDropdownOption } from '../../forms/selects/Dropdown/types';
|
|
2
|
+
type __VLS_ModelProps = {
|
|
3
|
+
/** The currently selected values. */
|
|
4
|
+
modelValue?: string[];
|
|
5
|
+
/** Whether the dropdown popover is open. */
|
|
6
|
+
"open"?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<(import('../../..').WithTestId & {
|
|
9
|
+
size?: import('..').KdsButtonSize;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
tooltip?: string;
|
|
12
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
label: string;
|
|
15
|
+
leadingIcon?: import('../..').KdsIconName;
|
|
16
|
+
trailingIcon?: import('../..').KdsIconName;
|
|
17
|
+
ariaLabel?: never;
|
|
18
|
+
} & {
|
|
19
|
+
possibleValues: KdsDropdownOption[];
|
|
20
|
+
loading?: boolean;
|
|
21
|
+
allowNewValues?: boolean;
|
|
22
|
+
minimumSelectedOptions?: number;
|
|
23
|
+
} & __VLS_ModelProps) | (import('../../..').WithTestId & {
|
|
24
|
+
size?: import('..').KdsButtonSize;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
tooltip?: string;
|
|
27
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
label?: never;
|
|
30
|
+
leadingIcon: import('../..').KdsIconName;
|
|
31
|
+
trailingIcon?: never;
|
|
32
|
+
ariaLabel: string;
|
|
33
|
+
} & {
|
|
34
|
+
possibleValues: KdsDropdownOption[];
|
|
35
|
+
loading?: boolean;
|
|
36
|
+
allowNewValues?: boolean;
|
|
37
|
+
minimumSelectedOptions?: number;
|
|
38
|
+
} & __VLS_ModelProps), {
|
|
39
|
+
focus: (options?: FocusOptions) => any;
|
|
40
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
|
+
"update:modelValue": (value: string[]) => any;
|
|
42
|
+
"update:open": (value: boolean) => any;
|
|
43
|
+
}, string, import('vue').PublicProps, Readonly<(import('../../..').WithTestId & {
|
|
44
|
+
size?: import('..').KdsButtonSize;
|
|
45
|
+
disabled?: boolean;
|
|
46
|
+
tooltip?: string;
|
|
47
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
48
|
+
} & {
|
|
49
|
+
label: string;
|
|
50
|
+
leadingIcon?: import('../..').KdsIconName;
|
|
51
|
+
trailingIcon?: import('../..').KdsIconName;
|
|
52
|
+
ariaLabel?: never;
|
|
53
|
+
} & {
|
|
54
|
+
possibleValues: KdsDropdownOption[];
|
|
55
|
+
loading?: boolean;
|
|
56
|
+
allowNewValues?: boolean;
|
|
57
|
+
minimumSelectedOptions?: number;
|
|
58
|
+
} & __VLS_ModelProps) | (import('../../..').WithTestId & {
|
|
59
|
+
size?: import('..').KdsButtonSize;
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
tooltip?: string;
|
|
62
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
63
|
+
} & {
|
|
64
|
+
label?: never;
|
|
65
|
+
leadingIcon: import('../..').KdsIconName;
|
|
66
|
+
trailingIcon?: never;
|
|
67
|
+
ariaLabel: string;
|
|
68
|
+
} & {
|
|
69
|
+
possibleValues: KdsDropdownOption[];
|
|
70
|
+
loading?: boolean;
|
|
71
|
+
allowNewValues?: boolean;
|
|
72
|
+
minimumSelectedOptions?: number;
|
|
73
|
+
} & __VLS_ModelProps)> & Readonly<{
|
|
74
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
75
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
76
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
77
|
+
declare const _default: typeof __VLS_export;
|
|
78
|
+
export default _default;
|
|
79
|
+
//# sourceMappingURL=KdsMultiSelectButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsMultiSelectButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/KdsMultiSelectButton/KdsMultiSelectButton.vue"],"names":[],"mappings":"AAwJA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAiH5E,KAAK,gBAAgB,GAAG;IACxB,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAkIF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAjJE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAqJ9B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/KdsMultiSelectButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { KdsDropdownOption } from '../../forms/selects/Dropdown/types';
|
|
2
|
+
import { KdsToggleButtonVariant } from '../KdsToggleButton';
|
|
3
|
+
import { KdsButtonCommonProps, WithLabelAndIcons } from '../types';
|
|
4
|
+
export type { KdsDropdownOption } from '../../forms/selects/Dropdown/types';
|
|
5
|
+
export type KdsMultiSelectButtonProps = KdsButtonCommonProps<KdsToggleButtonVariant> & WithLabelAndIcons & {
|
|
6
|
+
/** Values shown in the dropdown list. */
|
|
7
|
+
possibleValues: KdsDropdownOption[];
|
|
8
|
+
/** Whether the dropdown list is in loading state. */
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
/** When true, allows adding and selecting new values via the search field (combo box behavior). */
|
|
11
|
+
allowNewValues?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Minimum number of options that must stay selected. Attempts to
|
|
14
|
+
* deselect below this count are ignored, keeping at least this many
|
|
15
|
+
* options selected at all times. When 0 or unset, the trigger stays
|
|
16
|
+
* active (pressed) while at least one option is selected, giving a
|
|
17
|
+
* persistent hint that a selection has been made.
|
|
18
|
+
*/
|
|
19
|
+
minimumSelectedOptions?: number;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/KdsMultiSelectButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAExE,YAAY,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAE5E,MAAM,MAAM,yBAAyB,GACnC,oBAAoB,CAAC,sBAAsB,CAAC,GAC1C,iBAAiB,GAAG;IAClB,yCAAyC;IACzC,cAAc,EAAE,iBAAiB,EAAE,CAAC;IACpC,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mGAAmG;IACnG,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;;OAMG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
|
+
/** The currently selected value. */
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
/** Whether the dropdown popover is open. */
|
|
5
|
+
"open"?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<(import('../../..').WithTestId & {
|
|
8
|
+
size?: import('..').KdsButtonSize;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
tooltip?: string;
|
|
11
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
12
|
+
} & {
|
|
13
|
+
label: string;
|
|
14
|
+
leadingIcon?: import('../..').KdsIconName;
|
|
15
|
+
trailingIcon?: import('../..').KdsIconName;
|
|
16
|
+
ariaLabel?: never;
|
|
17
|
+
} & {
|
|
18
|
+
possibleValues: import('./types').KdsDropdownOption[];
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
allowDeselect?: boolean;
|
|
21
|
+
} & __VLS_ModelProps) | (import('../../..').WithTestId & {
|
|
22
|
+
size?: import('..').KdsButtonSize;
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
tooltip?: string;
|
|
25
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
label?: never;
|
|
28
|
+
leadingIcon: import('../..').KdsIconName;
|
|
29
|
+
trailingIcon?: never;
|
|
30
|
+
ariaLabel: string;
|
|
31
|
+
} & {
|
|
32
|
+
possibleValues: import('./types').KdsDropdownOption[];
|
|
33
|
+
loading?: boolean;
|
|
34
|
+
allowDeselect?: boolean;
|
|
35
|
+
} & __VLS_ModelProps), {
|
|
36
|
+
focus: (options?: FocusOptions) => any;
|
|
37
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
|
+
"update:modelValue": (value: string) => any;
|
|
39
|
+
"update:open": (value: boolean) => any;
|
|
40
|
+
}, string, import('vue').PublicProps, Readonly<(import('../../..').WithTestId & {
|
|
41
|
+
size?: import('..').KdsButtonSize;
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
tooltip?: string;
|
|
44
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
45
|
+
} & {
|
|
46
|
+
label: string;
|
|
47
|
+
leadingIcon?: import('../..').KdsIconName;
|
|
48
|
+
trailingIcon?: import('../..').KdsIconName;
|
|
49
|
+
ariaLabel?: never;
|
|
50
|
+
} & {
|
|
51
|
+
possibleValues: import('./types').KdsDropdownOption[];
|
|
52
|
+
loading?: boolean;
|
|
53
|
+
allowDeselect?: boolean;
|
|
54
|
+
} & __VLS_ModelProps) | (import('../../..').WithTestId & {
|
|
55
|
+
size?: import('..').KdsButtonSize;
|
|
56
|
+
disabled?: boolean;
|
|
57
|
+
tooltip?: string;
|
|
58
|
+
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
59
|
+
} & {
|
|
60
|
+
label?: never;
|
|
61
|
+
leadingIcon: import('../..').KdsIconName;
|
|
62
|
+
trailingIcon?: never;
|
|
63
|
+
ariaLabel: string;
|
|
64
|
+
} & {
|
|
65
|
+
possibleValues: import('./types').KdsDropdownOption[];
|
|
66
|
+
loading?: boolean;
|
|
67
|
+
allowDeselect?: boolean;
|
|
68
|
+
} & __VLS_ModelProps)> & Readonly<{
|
|
69
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
70
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
71
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
72
|
+
declare const _default: typeof __VLS_export;
|
|
73
|
+
export default _default;
|
|
74
|
+
//# sourceMappingURL=KdsSelectButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsSelectButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/KdsSelectButton/KdsSelectButton.vue"],"names":[],"mappings":"AAmMA,KAAK,gBAAgB,GAAG;IACxB,oCAAoC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAwHF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAtIE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFA0I9B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/KdsSelectButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { KdsDropdownOption } from '../../forms/selects/Dropdown/types';
|
|
2
|
+
import { KdsToggleButtonVariant } from '../KdsToggleButton';
|
|
3
|
+
import { KdsButtonCommonProps, WithLabelAndIcons } from '../types';
|
|
4
|
+
export type { KdsDropdownOption } from '../../forms/selects/Dropdown/types';
|
|
5
|
+
export type KdsSelectButtonProps = KdsButtonCommonProps<KdsToggleButtonVariant> & WithLabelAndIcons & {
|
|
6
|
+
/** Values shown in the dropdown list. */
|
|
7
|
+
possibleValues: KdsDropdownOption[];
|
|
8
|
+
/** Whether the dropdown list is in loading state. */
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Whether clicking the currently selected option unselects it (clears the
|
|
12
|
+
* value). When false, the selection can only be changed to another option.
|
|
13
|
+
* When true, the trigger also stays active (pressed) while a value is
|
|
14
|
+
* selected, giving a persistent hint that a selection has been made.
|
|
15
|
+
*/
|
|
16
|
+
allowDeselect?: boolean;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/KdsSelectButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAExE,YAAY,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAE5E,MAAM,MAAM,oBAAoB,GAC9B,oBAAoB,CAAC,sBAAsB,CAAC,GAC1C,iBAAiB,GAAG;IAClB,yCAAyC;IACzC,cAAc,EAAE,iBAAiB,EAAE,CAAC;IACpC,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC"}
|
|
@@ -10,6 +10,10 @@ export * from './KdsProgressButton';
|
|
|
10
10
|
export type * from './KdsProgressButton';
|
|
11
11
|
export * from './KdsMenuButton';
|
|
12
12
|
export type * from './KdsMenuButton';
|
|
13
|
+
export * from './KdsMultiSelectButton';
|
|
14
|
+
export type * from './KdsMultiSelectButton';
|
|
15
|
+
export * from './KdsSelectButton';
|
|
16
|
+
export type * from './KdsSelectButton';
|
|
13
17
|
export * from './KdsSplitButton';
|
|
14
18
|
export type * from './KdsSplitButton';
|
|
15
19
|
export * from './ActionButton';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,uBAAuB,CAAC;AACtC,mBAAmB,uBAAuB,CAAC;AAE3C,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,mBAAmB,CAAC;AAClC,mBAAmB,mBAAmB,CAAC;AAEvC,cAAc,qBAAqB,CAAC;AACpC,mBAAmB,qBAAqB,CAAC;AAEzC,cAAc,i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ChB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AAGjB,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/src/components/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelectDropdownContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/selects/Dropdown/MultiSelectDropdownContainer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MultiSelectDropdownContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/selects/Dropdown/MultiSelectDropdownContainer.vue"],"names":[],"mappings":"AA4PA,OAAO,KAAK,EAEV,oCAAoC,EACrC,MAAM,SAAS,CAAC;AAIjB,KAAK,WAAW,GAAG,oCAAoC,CAAC;AA8JxD,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA0LxD,QAAA,MAAM,YAAY;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsListContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists/ListContainer/KdsListContainer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsListContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists/ListContainer/KdsListContainer.vue"],"names":[],"mappings":"AAoWA,OAAO,KAAK,EAEV,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AA+ZjB,QAAA,MAAM,YAAY;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -46,8 +46,15 @@ export type KdsListContainerProps = {
|
|
|
46
46
|
loading?: boolean;
|
|
47
47
|
/** Accessible label for the list container */
|
|
48
48
|
ariaLabel?: string;
|
|
49
|
-
/** When true
|
|
49
|
+
/** When `true`, the list is controlled externally (e.g. by a search input).
|
|
50
|
+
* The list will not be focusable and the parent must forward events via the exposed handleKeydown/handleFocus/handleBlur methods.
|
|
51
|
+
* Implicitly sets `withoutBorder: true`.
|
|
52
|
+
*/
|
|
50
53
|
controlledExternally?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* If true the list will not render its borders so it can be integrated in another container.
|
|
56
|
+
*/
|
|
57
|
+
withoutBorder?: boolean;
|
|
51
58
|
/**
|
|
52
59
|
* When `true`, the active highlight can be cleared so that no item is active. ArrowUp from the first item and ArrowDown
|
|
53
60
|
* from the last item move to the unselected state. Useful for search result lists where the user may not want any pre-selection.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists/ListContainer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,OAAO,KAAK,EACV,YAAY,EACZ,WAAW,EACZ,MAAM,iCAAiC,CAAC;AAEzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gFAAgF;IAChF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0FAA0F;IAC1F,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;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
import { KdsSplitPanelProps } from './types';
|
|
2
|
+
type __VLS_Props = KdsSplitPanelProps;
|
|
3
|
+
type __VLS_Slots = {
|
|
4
|
+
/**
|
|
5
|
+
* Content of the primary pane (the pane that is not collapsible).
|
|
6
|
+
*/
|
|
7
|
+
default(): unknown;
|
|
8
|
+
/**
|
|
9
|
+
* Content of the secondary pane (the collapsible pane).
|
|
10
|
+
*/
|
|
11
|
+
secondary(): unknown;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_ModelProps = {
|
|
14
|
+
/**
|
|
15
|
+
* Whether the secondary pane is expanded (`true`) or collapsed (`false`).
|
|
16
|
+
* Toggling this opens/closes the secondary pane and updates the chevron icon.
|
|
17
|
+
*/
|
|
18
|
+
"expanded"?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Size of the secondary pane, in the current unit (percent by default, pixels
|
|
21
|
+
* when `usePixel` is set). A value of `0` collapses the pane.
|
|
22
|
+
*/
|
|
23
|
+
"secondarySize"?: number;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
26
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
"update:expanded": (value: boolean) => any;
|
|
28
|
+
"update:secondarySize": (value: number) => any;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
30
|
+
"onUpdate:expanded"?: ((value: boolean) => any) | undefined;
|
|
31
|
+
"onUpdate:secondarySize"?: ((value: number) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=KdsSplitPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsSplitPanel.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/panels/SplitPanel/KdsSplitPanel.vue"],"names":[],"mappings":"AAuWA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAIlD,KAAK,WAAW,GAAG,kBAAkB,CAAC;AAgKtC,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,OAAO,IAAI,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,IAAI,OAAO,CAAC;CACtB,CAAC;AAQF,KAAK,gBAAgB,GAAG;IACxB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAkNxD,QAAA,MAAM,UAAU;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SplitterProps } from './_splitterTypes';
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
'left-pane'?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
'top-pane'?: (props: typeof __VLS_3) => any;
|
|
7
|
+
} & {
|
|
8
|
+
splitter?: (props: typeof __VLS_5) => any;
|
|
9
|
+
} & {
|
|
10
|
+
'right-pane'?: (props: typeof __VLS_7) => any;
|
|
11
|
+
} & {
|
|
12
|
+
'bottom-pane'?: (props: typeof __VLS_9) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import('vue').DefineComponent<SplitterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:percent": (value: number) => any;
|
|
16
|
+
"update:pixel": (value: number) => any;
|
|
17
|
+
dragStart: () => any;
|
|
18
|
+
dragEnd: () => any;
|
|
19
|
+
splitterClick: () => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<SplitterProps> & Readonly<{
|
|
21
|
+
"onUpdate:percent"?: ((value: number) => any) | undefined;
|
|
22
|
+
"onUpdate:pixel"?: ((value: number) => any) | undefined;
|
|
23
|
+
onDragStart?: (() => any) | undefined;
|
|
24
|
+
onDragEnd?: (() => any) | undefined;
|
|
25
|
+
onSplitterClick?: (() => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=_Splitter.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_Splitter.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/panels/SplitPanel/_Splitter.vue"],"names":[],"mappings":"AA+XA,OAAO,KAAK,EAGV,aAAa,EACd,MAAM,kBAAkB,CAAC;AA8R1B,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AACpG,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAChD;IAAE,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC/C;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAOrD,QAAA,MAAM,UAAU;;;;;;;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal types for the low-level `_Splitter` component. Not part of the
|
|
3
|
+
* public `KdsSplitPanel` API and therefore not re-exported from `index.ts`.
|
|
4
|
+
*/
|
|
5
|
+
export type SplitterPane = "left" | "right" | "top" | "bottom";
|
|
6
|
+
export type SplitterProps = {
|
|
7
|
+
usePixel?: boolean;
|
|
8
|
+
percent?: number | null;
|
|
9
|
+
pixel?: number | null;
|
|
10
|
+
initialPercent?: number | string;
|
|
11
|
+
initialPixel?: number | string;
|
|
12
|
+
splitterSize?: number;
|
|
13
|
+
splitterTitle?: string;
|
|
14
|
+
/** ID added for testing purposes to differentiate between splitters. */
|
|
15
|
+
splitterId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* When true, the splitter bar runs horizontally across the screen,
|
|
18
|
+
* creating top and bottom panes (vertical layout of panes).
|
|
19
|
+
* When false (default), the splitter bar runs vertically down the screen,
|
|
20
|
+
* creating left and right panes (horizontal layout of panes).
|
|
21
|
+
*/
|
|
22
|
+
isHorizontal?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Which pane's size is controlled by the splitter.
|
|
25
|
+
* For horizontal splitters (isHorizontal=true): "top" or "bottom".
|
|
26
|
+
* For vertical splitters (isHorizontal=false): "left" or "right".
|
|
27
|
+
*/
|
|
28
|
+
sizePane?: SplitterPane;
|
|
29
|
+
/**
|
|
30
|
+
* Optional: which pane to hide completely and make inaccessible to the user.
|
|
31
|
+
* For horizontal splitters (isHorizontal=true): "top" or "bottom".
|
|
32
|
+
* For vertical splitters (isHorizontal=false): "left" or "right".
|
|
33
|
+
* For the usual behavior, this is undefined.
|
|
34
|
+
*/
|
|
35
|
+
hiddenPane?: SplitterPane;
|
|
36
|
+
/**
|
|
37
|
+
* Reflected as `aria-expanded` on the splitter control, for consumers that
|
|
38
|
+
* use it to toggle a collapsible pane.
|
|
39
|
+
*/
|
|
40
|
+
isExpanded?: boolean;
|
|
41
|
+
};
|
|
42
|
+
export type SplitterEmits = {
|
|
43
|
+
"update:percent": [value: number];
|
|
44
|
+
"update:pixel": [value: number];
|
|
45
|
+
dragStart: [];
|
|
46
|
+
dragEnd: [];
|
|
47
|
+
splitterClick: [];
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=_splitterTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_splitterTypes.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/panels/SplitPanel/_splitterTypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE/D,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAClC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAChC,SAAS,EAAE,EAAE,CAAC;IACd,OAAO,EAAE,EAAE,CAAC;IACZ,aAAa,EAAE,EAAE,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const kdsSplitPanelDirection: {
|
|
2
|
+
readonly LEFT: "left";
|
|
3
|
+
readonly RIGHT: "right";
|
|
4
|
+
readonly UP: "up";
|
|
5
|
+
readonly DOWN: "down";
|
|
6
|
+
};
|
|
7
|
+
export declare const kdsSplitPanelDirections: ("left" | "right" | "up" | "down")[];
|
|
8
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/panels/SplitPanel/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AAEX,eAAO,MAAM,uBAAuB,sCAAwC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/panels/SplitPanel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAC1E,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { kdsSplitPanelDirection } from './enums';
|
|
2
|
+
export type KdsSplitPanelDirection = (typeof kdsSplitPanelDirection)[keyof typeof kdsSplitPanelDirection];
|
|
3
|
+
export type KdsSplitPanelProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Side the secondary pane is attached to. Also controls the direction in
|
|
6
|
+
* which the panel collapses and the chevron points.
|
|
7
|
+
*/
|
|
8
|
+
direction?: KdsSplitPanelDirection;
|
|
9
|
+
/**
|
|
10
|
+
* Minimum size of the secondary pane, in the current unit (percent by
|
|
11
|
+
* default, pixels when `usePixel` is set).
|
|
12
|
+
*/
|
|
13
|
+
secondaryMinSize?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Dragging the splitter below this size snaps the secondary pane closed.
|
|
16
|
+
* Given in the current unit. `0` disables snapping.
|
|
17
|
+
*/
|
|
18
|
+
secondarySnapSize?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Maximum size of the secondary pane, in the current unit.
|
|
21
|
+
*/
|
|
22
|
+
secondaryMaxSize?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Interpret all sizes as pixels instead of percent.
|
|
25
|
+
*/
|
|
26
|
+
usePixel?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Keep the secondary slot content mounted in the DOM while collapsed
|
|
29
|
+
* instead of removing it.
|
|
30
|
+
*/
|
|
31
|
+
keepElementOnClose?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Id set on the splitter element. Added for testing purposes to
|
|
34
|
+
* differentiate between multiple splitters.
|
|
35
|
+
*/
|
|
36
|
+
splitterId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* When true, completely hides the secondary pane and splitter controls,
|
|
39
|
+
* making only the primary pane visible. The secondary content is either
|
|
40
|
+
* kept in the DOM (if `keepElementOnClose=true`) or removed entirely.
|
|
41
|
+
*/
|
|
42
|
+
hideSecondaryPane?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Show a "Release to hide panel" empty state over the secondary pane while
|
|
45
|
+
* dragging it below `secondarySnapSize`.
|
|
46
|
+
*/
|
|
47
|
+
showSnapEmptyState?: boolean;
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/panels/SplitPanel/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,MAAM,sBAAsB,GAChC,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC;AAEvE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,SAAS,CAAC,EAAE,sBAAsB,CAAC;IACnC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC"}
|
|
@@ -2,6 +2,8 @@ export * from './Accordion';
|
|
|
2
2
|
export type * from './Accordion';
|
|
3
3
|
export * from './Panel';
|
|
4
4
|
export type * from './Panel';
|
|
5
|
+
export * from './SplitPanel';
|
|
6
|
+
export type * from './SplitPanel';
|
|
5
7
|
export * from './TabPanel';
|
|
6
8
|
export type * from './TabPanel';
|
|
7
9
|
export * from './Navigation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/panels/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC;AAE7B,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC;AAEhC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/panels/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC;AAE7B,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC;AAEhC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock, createElementVNode, openBlock } from "vue";
|
|
2
|
+
//#region ../styles/dist/img/icons/system-based-mode.svg
|
|
3
|
+
var _hoisted_1 = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
stroke: "currentColor",
|
|
7
|
+
"stroke-linecap": "round",
|
|
8
|
+
"stroke-linejoin": "round",
|
|
9
|
+
viewBox: "0 0 12 12"
|
|
10
|
+
};
|
|
11
|
+
function render(_ctx, _cache) {
|
|
12
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("path", {
|
|
13
|
+
d: "M8.5 6.5h-5m5 0a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1m5 0c.676 0 1.268 1.045 1.737 1.681.157.214.286.479.179.722A1 1 0 0 1 9.5 9.5h-7a1 1 0 0 1-.916-.597c-.107-.243.022-.508.18-.722C2.231 7.545 2.823 6.5 3.5 6.5M4 8h.15M6 8h.15M8 8h.15",
|
|
14
|
+
"vector-effect": "non-scaling-stroke"
|
|
15
|
+
}, null, -1)])]);
|
|
16
|
+
}
|
|
17
|
+
var system_based_mode_default = { render };
|
|
18
|
+
//#endregion
|
|
19
|
+
export { system_based_mode_default as default, render };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=system-based-mode-DzEDON0P.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system-based-mode-DzEDON0P.js","names":["_openBlock","_createElementBlock","_createElementVNode"],"sources":["../../styles/dist/img/icons/system-based-mode.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M8.5 6.5h-5m5 0a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1m5 0c.676 0 1.268 1.045 1.737 1.681.157.214.286.479.179.722A1 1 0 0 1 9.5 9.5h-7a1 1 0 0 1-.916-.597c-.107-.243.022-.508.18-.722C2.231 7.545 2.823 6.5 3.5 6.5M4 8h.15M6 8h.15M8 8h.15\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"mappings":";;AAEA,IAAM,aAAa;CACjB,OAAO;CACP,MAAM;CACN,QAAQ;CACR,kBAAkB;CAClB,mBAAmB;CACnB,SAAS;AACX;AAEA,SAAgB,OAAO,MAAM,QAAQ;CACnC,OAAQA,UAAW,GAAGC,mBAAoB,OAAO,YAAY,CAAC,GAAI,OAAO,OAAO,OAAO,KAAK,CAC1FC,mBAAoB,QAAQ;EAC1B,GAAG;EACH,iBAAiB;CACnB,GAAG,MAAM,EAAE,CACb,EAAG,CAAC;AACN;AACA,IAAA,4BAAe,EAAU,OAAO"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"consola": "^3.4.2",
|
|
39
39
|
"motion": "^12.42.2",
|
|
40
40
|
"temporal-polyfill": "^1.0.1",
|
|
41
|
-
"@knime/kds-styles": "^6.
|
|
41
|
+
"@knime/kds-styles": "^6.2.0",
|
|
42
42
|
"@knime/utils": "^2.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"vite-svg-loader": "^5.1.1",
|
|
58
58
|
"vue": "3.5.40",
|
|
59
59
|
"vue-tsc": "^3.3.8",
|
|
60
|
-
"@knime/kds-code-editor": "^6.
|
|
61
|
-
"@knime/kds-table": "^6.
|
|
60
|
+
"@knime/kds-code-editor": "^6.2.0",
|
|
61
|
+
"@knime/kds-table": "^6.2.0"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=24"
|