@knime/kds-components 8.0.0 → 8.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 +19 -0
- package/dist/index.css +24 -19
- package/dist/index.js +193 -230
- package/dist/index.js.map +1 -1
- package/dist/src/components/forms/Checkbox/BaseCheckbox.vue.d.ts +0 -4
- package/dist/src/components/forms/Checkbox/BaseCheckbox.vue.d.ts.map +1 -1
- package/dist/src/components/forms/Checkbox/KdsCheckboxGroup.vue.d.ts.map +1 -1
- package/dist/src/components/forms/Checkbox/types.d.ts +0 -5
- package/dist/src/components/forms/Checkbox/types.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/ZonedDateTimeInput/types.d.ts +6 -0
- package/dist/src/components/forms/inputs/ZonedDateTimeInput/types.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/src/components/forms/Checkbox/useCheckboxRovingFocus.d.ts +0 -15
- package/dist/src/components/forms/Checkbox/useCheckboxRovingFocus.d.ts.map +0 -1
|
@@ -12,7 +12,6 @@ declare const __VLS_export: import('vue').DefineComponent<({
|
|
|
12
12
|
tooltip?: never;
|
|
13
13
|
} & {
|
|
14
14
|
helperText?: string;
|
|
15
|
-
tabIndex?: number;
|
|
16
15
|
} & __VLS_ModelProps) | ({
|
|
17
16
|
disabled?: boolean;
|
|
18
17
|
error?: boolean;
|
|
@@ -23,7 +22,6 @@ declare const __VLS_export: import('vue').DefineComponent<({
|
|
|
23
22
|
tooltip: string;
|
|
24
23
|
} & {
|
|
25
24
|
helperText?: string;
|
|
26
|
-
tabIndex?: number;
|
|
27
25
|
} & __VLS_ModelProps), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
26
|
"update:modelValue": (value: KdsCheckboxValue) => any;
|
|
29
27
|
}, string, import('vue').PublicProps, Readonly<({
|
|
@@ -36,7 +34,6 @@ declare const __VLS_export: import('vue').DefineComponent<({
|
|
|
36
34
|
tooltip?: never;
|
|
37
35
|
} & {
|
|
38
36
|
helperText?: string;
|
|
39
|
-
tabIndex?: number;
|
|
40
37
|
} & __VLS_ModelProps) | ({
|
|
41
38
|
disabled?: boolean;
|
|
42
39
|
error?: boolean;
|
|
@@ -47,7 +44,6 @@ declare const __VLS_export: import('vue').DefineComponent<({
|
|
|
47
44
|
tooltip: string;
|
|
48
45
|
} & {
|
|
49
46
|
helperText?: string;
|
|
50
|
-
tabIndex?: number;
|
|
51
47
|
} & __VLS_ModelProps)> & Readonly<{
|
|
52
48
|
"onUpdate:modelValue"?: ((value: KdsCheckboxValue) => any) | undefined;
|
|
53
49
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Checkbox/BaseCheckbox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Checkbox/BaseCheckbox.vue"],"names":[],"mappings":"AAyNA,OAAO,KAAK,EAAqB,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA4DnE,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC7B,CAAC;AAwIF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsCheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Checkbox/KdsCheckboxGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsCheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Checkbox/KdsCheckboxGroup.vue"],"names":[],"mappings":"AAqGA,OAAO,KAAK,EAEV,qBAAqB,EAEtB,MAAM,SAAS,CAAC;AAEjB,KAAK,WAAW,GAAG,qBAAqB,CAAC;AA6CzC,KAAK,gBAAgB,GAAG;IACxB,oCAAoC;IACpC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA4FxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -36,11 +36,6 @@ export type BaseCheckboxProps = BaseProps & LabelOrTitle & {
|
|
|
36
36
|
* Helper text displayed below the label
|
|
37
37
|
*/
|
|
38
38
|
helperText?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Tabindex for the checkbox button. Used by the group to implement a
|
|
41
|
-
* roving tabindex.
|
|
42
|
-
*/
|
|
43
|
-
tabIndex?: number;
|
|
44
39
|
};
|
|
45
40
|
export type KdsCheckboxProps = BaseProps & LabelOrTitle;
|
|
46
41
|
export type KdsCheckboxGroupOption = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Checkbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,KAAK,SAAS,GAAG;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,KAAK,YAAY,GACb;IACE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,GACD;IACE,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEN,MAAM,MAAM,iBAAiB,GAAG,SAAS,GACvC,YAAY,GAAG;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Checkbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,KAAK,SAAS,GAAG;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,KAAK,YAAY,GACb;IACE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,GACD;IACE,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEN,MAAM,MAAM,iBAAiB,GAAG,SAAS,GACvC,YAAY,GAAG;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,YAAY,CAAC;AAExD,MAAM,MAAM,sBAAsB,GAAG;IACnC,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,2CAA2C;AAC3C,MAAM,MAAM,yBAAyB,GACnC,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC;AAE7E,MAAM,MAAM,qBAAqB,GAAG;IAClC,mBAAmB;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,cAAc,EAAE,KAAK,CAAC,MAAM,GAAG,sBAAsB,CAAC,CAAC;IACvD,uCAAuC;IACvC,SAAS,CAAC,EAAE,yBAAyB,CAAC;CACvC,GAAG,SAAS,CAAC"}
|
package/dist/src/components/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsZonedDateTimeInput.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsZonedDateTimeInput.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue"],"names":[],"mappings":"AAsOA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAI7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAGtD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAElE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAE1D,KAAK,WAAW,GAAG,0BAA0B,CAAC;AA8J9C,KAAK,gBAAgB,GAAG;IACxB,mFAAmF;IACnF,UAAU,CAAC,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC;IAC3C,4EAA4E;IAC5E,aAAa,CAAC,EAAE,uBAAuB,CAAC;CACvC,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAsKxD,QAAA,MAAM,YAAY;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -8,5 +8,11 @@ export type KdsZonedDateTimeInputProps = Omit<KdsFieldsetProps, "role"> & {
|
|
|
8
8
|
maxGranularity?: KdsTimeInputGranularity;
|
|
9
9
|
/** Available timezone options for the dropdown. */
|
|
10
10
|
possibleValues?: KdsDropdownOption[];
|
|
11
|
+
/**
|
|
12
|
+
* Whether the time input is shown. Defaults to `true`. Without it the model value is the
|
|
13
|
+
* start of the selected day in the selected time zone: 00:00, except on the days a time
|
|
14
|
+
* zone starts daylight saving time at 00:00 and therefore has none.
|
|
15
|
+
*/
|
|
16
|
+
showTime?: boolean;
|
|
11
17
|
};
|
|
12
18
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/inputs/ZonedDateTimeInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAE5D,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,GAAG;IACxE,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4DAA4D;IAC5D,cAAc,CAAC,EAAE,uBAAuB,CAAC;IACzC,mDAAmD;IACnD,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/inputs/ZonedDateTimeInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAE5D,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,GAAG;IACxE,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4DAA4D;IAC5D,cAAc,CAAC,EAAE,uBAAuB,CAAC;IACzC,mDAAmD;IACnD,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACrC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,13 +35,15 @@
|
|
|
35
35
|
"vue": "~3.5.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
+
"@knime/kds-styles": "^8.2.0",
|
|
39
|
+
"@knime/utils": "^2.0.2",
|
|
38
40
|
"consola": "^3.4.2",
|
|
39
41
|
"motion": "^12.42.2",
|
|
40
|
-
"temporal-polyfill": "^1.0.1"
|
|
41
|
-
"@knime/kds-styles": "^8.0.0",
|
|
42
|
-
"@knime/utils": "^2.0.2"
|
|
42
|
+
"temporal-polyfill": "^1.0.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
+
"@knime/kds-code-editor": "^8.2.0",
|
|
46
|
+
"@knime/kds-table": "^8.2.0",
|
|
45
47
|
"@storybook/vue3-vite": "^10.4.6",
|
|
46
48
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
47
49
|
"@vue/test-utils": "^2.4.11",
|
|
@@ -56,9 +58,7 @@
|
|
|
56
58
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
57
59
|
"vite-svg-loader": "^5.1.1",
|
|
58
60
|
"vue": "3.5.40",
|
|
59
|
-
"vue-tsc": "^3.3.8"
|
|
60
|
-
"@knime/kds-table": "^8.0.0",
|
|
61
|
-
"@knime/kds-code-editor": "^8.0.0"
|
|
61
|
+
"vue-tsc": "^3.3.8"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=24"
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { RovingFocusOption } from '../_helper/useRovingFocus';
|
|
3
|
-
export declare const useCheckboxRovingFocus: ({ options, selectedIds, globalDisable, globalError, optionContainer, }: {
|
|
4
|
-
options: Ref<readonly RovingFocusOption[]>;
|
|
5
|
-
selectedIds: Ref<readonly string[]>;
|
|
6
|
-
globalDisable?: Ref<boolean>;
|
|
7
|
-
globalError?: Ref<boolean>;
|
|
8
|
-
optionContainer?: Ref<HTMLElement | null>;
|
|
9
|
-
}) => {
|
|
10
|
-
hasError: import('vue').ComputedRef<boolean>;
|
|
11
|
-
tabIndexForOption: (index: number) => 0 | -1 | undefined;
|
|
12
|
-
handleFocus: (index: number) => void;
|
|
13
|
-
handleKeyDown: (event: KeyboardEvent, currentIndex: number) => void;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=useCheckboxRovingFocus.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCheckboxRovingFocus.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Checkbox/useCheckboxRovingFocus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAG/B,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,sBAAsB,GAAI,wEAMpC;IACD,OAAO,EAAE,GAAG,CAAC,SAAS,iBAAiB,EAAE,CAAC,CAAC;IAC3C,WAAW,EAAE,GAAG,CAAC,SAAS,MAAM,EAAE,CAAC,CAAC;IACpC,aAAa,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAC7B,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAC3B,eAAe,CAAC,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CAC3C;;;yBA6C6B,MAAM;;CAYnC,CAAC"}
|