@knime/kds-components 0.5.4 → 0.5.6
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/circle-error-BKcmt7Jv.js +23 -0
- package/dist/circle-error-BKcmt7Jv.js.map +1 -0
- package/dist/circle-info-UvZ8z7Uk.js +24 -0
- package/dist/circle-info-UvZ8z7Uk.js.map +1 -0
- package/dist/forms/RadioButton/KdsRadioButton.vue.d.ts +15 -0
- package/dist/forms/RadioButton/KdsRadioButton.vue.d.ts.map +1 -0
- package/dist/forms/RadioButton/KdsRadioButtonGroup.vue.d.ts +3 -0
- package/dist/forms/RadioButton/KdsRadioButtonGroup.vue.d.ts.map +1 -0
- package/dist/forms/RadioButton/types.d.ts +23 -0
- package/dist/forms/RadioButton/types.d.ts.map +1 -0
- package/dist/forms/index.d.ts +3 -0
- package/dist/forms/index.d.ts.map +1 -0
- package/dist/forms/types.d.ts +15 -0
- package/dist/forms/types.d.ts.map +1 -0
- package/dist/index.css +216 -76
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +315 -56
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/circle-error-DSKuwq8B.js +0 -23
- package/dist/circle-error-DSKuwq8B.js.map +0 -1
- package/dist/circle-info-DL9BFZEc.js +0 -23
- package/dist/circle-info-DL9BFZEc.js.map +0 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createElementBlock, openBlock, createElementVNode } from 'vue';
|
|
2
|
+
|
|
3
|
+
const _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
|
+
|
|
12
|
+
function render(_ctx, _cache) {
|
|
13
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("path", {
|
|
15
|
+
d: "m4 4 2 2m0 0 2 2M6 6 4 8m2-2 2-2m3 2A5 5 0 1 1 1 6a5 5 0 0 1 10 0",
|
|
16
|
+
"vector-effect": "non-scaling-stroke"
|
|
17
|
+
}, null, -1)
|
|
18
|
+
]))]))
|
|
19
|
+
}
|
|
20
|
+
const circleError = { render: render };
|
|
21
|
+
|
|
22
|
+
export { circleError as default, render };
|
|
23
|
+
//# sourceMappingURL=circle-error-BKcmt7Jv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle-error-BKcmt7Jv.js","sources":["../../styles/dist/img/icons/circle-error.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: \"m4 4 2 2m0 0 2 2M6 6 4 8m2-2 2-2m3 2A5 5 0 1 1 1 6a5 5 0 0 1 10 0\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,mEAAmE;AAC5E,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,oBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createElementBlock, openBlock, createElementVNode } from 'vue';
|
|
2
|
+
|
|
3
|
+
const _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
|
+
"stroke-width": ".85",
|
|
10
|
+
viewBox: "0 0 12 12"
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
function render(_ctx, _cache) {
|
|
14
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
|
|
15
|
+
createElementVNode("path", {
|
|
16
|
+
d: "M4.75 5.25h1.323V8.5m-1.323 0h1.323m1.427 0H6.073m.352-5.15H6m.425 0a.42.42 0 0 0-.124-.3m.124.3a.42.42 0 0 1-.124.3m-.726-.3H6m-.425 0c0-.125.054-.238.14-.316m-.14.316c0 .117.048.224.124.3M6 3.35l-.284-.316M6 3.35l.3-.3m-.3.3.3.3m-.3-.3-.3.3m.016-.616a.423.423 0 0 1 .585.015m0 .602a.424.424 0 0 1-.602 0M11 6A5 5 0 1 1 1 6a5 5 0 0 1 10 0",
|
|
17
|
+
"vector-effect": "non-scaling-stroke"
|
|
18
|
+
}, null, -1)
|
|
19
|
+
]))]))
|
|
20
|
+
}
|
|
21
|
+
const circleInfo = { render: render };
|
|
22
|
+
|
|
23
|
+
export { circleInfo as default, render };
|
|
24
|
+
//# sourceMappingURL=circle-info-UvZ8z7Uk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle-info-UvZ8z7Uk.js","sources":["../../styles/dist/img/icons/circle-info.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 \"stroke-width\": \".85\",\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: \"M4.75 5.25h1.323V8.5m-1.323 0h1.323m1.427 0H6.073m.352-5.15H6m.425 0a.42.42 0 0 0-.124-.3m.124.3a.42.42 0 0 1-.124.3m-.726-.3H6m-.425 0c0-.125.054-.238.14-.316m-.14.316c0 .117.048.224.124.3M6 3.35l-.284-.316M6 3.35l.3-.3m-.3.3.3.3m-.3-.3-.3.3m.016-.616a.423.423 0 0 1 .585.015m0 .602a.424.424 0 0 1-.602 0M11 6A5 5 0 1 1 1 6a5 5 0 0 1 10 0\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,cAAc,EAAE,KAAK;AACvB,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,qVAAqV;AAC9V,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,mBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { KdsRadioButtonProps } from './types.ts';
|
|
2
|
+
type __VLS_Props = KdsRadioButtonProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue?: boolean;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: boolean) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
error: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=KdsRadioButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsRadioButton.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/KdsRadioButton.vue"],"names":[],"mappings":"AAiLA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,KAAK,WAAW,GAAG,mBAAmB,CAAC;AA4BvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;;;;AAmGhB,wBASG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsRadioButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/KdsRadioButtonGroup.vue"],"names":[],"mappings":";AAshBA,wBASG"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { KdsLabelProps, KdsSubTextProps } from '../types.ts';
|
|
2
|
+
export type KdsRadioButtonProps = {
|
|
3
|
+
text: string;
|
|
4
|
+
helperText?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
error?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type KdsRadioButtonGroupAlignment = "vertical" | "horizontal";
|
|
9
|
+
type AtLeastTwo<T> = [T, T, ...T[]];
|
|
10
|
+
export type KdsRadioButtonGroupOption = {
|
|
11
|
+
text: string;
|
|
12
|
+
id: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
helperText?: string;
|
|
15
|
+
error?: boolean;
|
|
16
|
+
};
|
|
17
|
+
export type KdsRadioButtonGroupProps = {
|
|
18
|
+
possibleValues: AtLeastTwo<string | KdsRadioButtonGroupOption>;
|
|
19
|
+
alignment?: KdsRadioButtonGroupAlignment;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
} & KdsLabelProps & KdsSubTextProps;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAElE,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,GAAG,YAAY,CAAC;AAErE,KAAK,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;AAEpC,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,cAAc,EAAE,UAAU,CAAC,MAAM,GAAG,yBAAyB,CAAC,CAAC;IAC/D,SAAS,CAAC,EAAE,4BAA4B,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,aAAa,GACf,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/forms/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAGvF,YAAY,EACV,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type KdsLabelProps = {
|
|
2
|
+
label?: string;
|
|
3
|
+
id: string;
|
|
4
|
+
} | {
|
|
5
|
+
label: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
};
|
|
8
|
+
export type KdsSubTextProps = {
|
|
9
|
+
subText?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Reserve space for subtext to prevent layout shifts when helper text or errors appear
|
|
12
|
+
*/
|
|
13
|
+
preserveSubTextSpace?: boolean;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/forms/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GACrB;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC9B;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnC,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC"}
|