@knime/kds-components 2.6.3 → 2.7.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 +12 -0
- package/dist/index.css +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{overlays-BQYAlIIB.js → overlays-Bai-I-gc.js} +15 -4
- package/dist/{overlays-BQYAlIIB.js.map → overlays-Bai-I-gc.js.map} +1 -1
- package/dist/overlays.css +6 -3
- package/dist/src/components/forms/_helper/BaseFormFieldWrapper.vue.d.ts +1 -1
- package/dist/src/components/forms/_helper/BaseFormFieldWrapper.vue.d.ts.map +1 -1
- package/dist/src/components/forms/_helper/KdsSubText.vue.d.ts.map +1 -1
- package/dist/src/components/forms/types.d.ts +6 -2
- package/dist/src/components/forms/types.d.ts.map +1 -1
- package/package.json +4 -5
package/dist/overlays.css
CHANGED
|
@@ -518,7 +518,7 @@ body:has(dialog.modal[open]) {
|
|
|
518
518
|
}
|
|
519
519
|
|
|
520
520
|
.subtext {
|
|
521
|
-
&[data-v-
|
|
521
|
+
&[data-v-295b2828] {
|
|
522
522
|
display: flex;
|
|
523
523
|
gap: var(--kds-spacing-container-0-25x);
|
|
524
524
|
min-height: 1lh;
|
|
@@ -526,10 +526,13 @@ body:has(dialog.modal[open]) {
|
|
|
526
526
|
font: var(--kds-font-base-subtext-small);
|
|
527
527
|
color: var(--kds-color-text-and-icon-muted);
|
|
528
528
|
}
|
|
529
|
-
&.error[data-v-
|
|
529
|
+
&.error[data-v-295b2828] {
|
|
530
530
|
color: var(--kds-color-text-and-icon-danger);
|
|
531
531
|
}
|
|
532
|
-
|
|
532
|
+
&.warning[data-v-295b2828] {
|
|
533
|
+
color: var(--kds-color-text-and-icon-warning);
|
|
534
|
+
}
|
|
535
|
+
& .subtext-text[data-v-295b2828] {
|
|
533
536
|
min-width: 0;
|
|
534
537
|
}
|
|
535
538
|
}
|
|
@@ -17,7 +17,7 @@ type KdsFormFieldProps = {
|
|
|
17
17
|
* The info toggle button is only visible when hovering the input field.
|
|
18
18
|
*/
|
|
19
19
|
description?: string;
|
|
20
|
-
} & Omit<KdsSubTextProps, "id">;
|
|
20
|
+
} & Omit<KdsSubTextProps, "id" | "warning">;
|
|
21
21
|
type __VLS_Slots = {
|
|
22
22
|
/**
|
|
23
23
|
* Form input element.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseFormFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/_helper/BaseFormFieldWrapper.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseFormFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/_helper/BaseFormFieldWrapper.vue"],"names":[],"mappings":"AA+FA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAKhD,KAAK,iBAAiB,GAAG;IACvB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CAGtB,GAAG,IAAI,CAAC,eAAe,EAAE,IAAI,GAAG,SAAS,CAAC,CAAC;AAY5C,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,OAAO,CAAC,KAAK,EAAE;QACb,EAAE,EAAE,MAAM,CAAC;QACX,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;QACnC,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;QACpC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;QAC9B,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC;KAClC,GAAG,OAAO,CAAC;CACb,CAAC;AAoFF,QAAA,MAAM,UAAU,8SAEd,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsSubText.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/_helper/KdsSubText.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsSubText.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/_helper/KdsSubText.vue"],"names":[],"mappings":"AAgEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AA4FhD,QAAA,MAAM,YAAY,0SAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -30,6 +30,10 @@ export type KdsSubTextProps = {
|
|
|
30
30
|
* When true, applies error styling to the subtext and shows the error icon when subtext is present.
|
|
31
31
|
*/
|
|
32
32
|
error?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* When true, applies warning styling to the subtext and shows the warning icon when subtext is present. Ignored when `error` is true.
|
|
35
|
+
*/
|
|
36
|
+
warning?: boolean;
|
|
33
37
|
/**
|
|
34
38
|
* When true and subtext is present, shows a loading spinner in the subtext area.
|
|
35
39
|
*/
|
|
@@ -62,7 +66,7 @@ export type KdsFieldsetProps = {
|
|
|
62
66
|
* Use `radiogroup` for radio button groups.
|
|
63
67
|
*/
|
|
64
68
|
role?: string;
|
|
65
|
-
} & Omit<KdsSubTextProps, "id">;
|
|
69
|
+
} & Omit<KdsSubTextProps, "id" | "warning">;
|
|
66
70
|
type KdsInputDescriptionProps = {
|
|
67
71
|
/**
|
|
68
72
|
* Optional description displayed in an info popover next to the label.
|
|
@@ -83,7 +87,7 @@ type KdsInputLabelProps = KdsInputDescriptionProps & ({
|
|
|
83
87
|
*/
|
|
84
88
|
ariaLabel: string;
|
|
85
89
|
});
|
|
86
|
-
type KdsInputSubTextProps = Omit<KdsSubTextProps, "id">;
|
|
90
|
+
type KdsInputSubTextProps = Omit<KdsSubTextProps, "id" | "warning">;
|
|
87
91
|
type KdsInputElementProps = {
|
|
88
92
|
/**
|
|
89
93
|
* Id for associating labels and hint/error text.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,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G,IAAI,CAAC,eAAe,EAAE,IAAI,GAAG,SAAS,CAAC,CAAC;AAEpE,KAAK,oBAAoB,GAAG;IAC1B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,GAChD,oBAAoB,GACpB,oBAAoB,CAAC;AAEvB,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,CAAC,OAAO,CAAC,EAAE,YAAY,KAAK,IAAI,CAAC;CACzC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"consola": "^3.4.2",
|
|
39
39
|
"motion": "^12.42.2",
|
|
40
40
|
"temporal-polyfill": "^1.0.1",
|
|
41
|
-
"@knime/kds-styles": "^2.
|
|
42
|
-
"@knime/utils": "^
|
|
41
|
+
"@knime/kds-styles": "^2.7.0",
|
|
42
|
+
"@knime/utils": "^2.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@storybook/vue3-vite": "^10.4.6",
|
|
@@ -59,8 +59,7 @@
|
|
|
59
59
|
"vue-tsc": "^3.3.7"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
|
-
"node": "24
|
|
63
|
-
"npm": "please-use-pnpm"
|
|
62
|
+
"node": ">=24"
|
|
64
63
|
},
|
|
65
64
|
"scripts": {
|
|
66
65
|
"build": "pnpm run type-check && vite build",
|