@knime/kds-components 0.6.6 → 0.6.7
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/cloud-pending-changes-BooMof3w.js +23 -0
- package/dist/cloud-pending-changes-BooMof3w.js.map +1 -0
- package/dist/{cloud-synced-Cjce2vj8.js → cloud-synced-BLkZpZpi.js} +2 -2
- package/dist/cloud-synced-BLkZpZpi.js.map +1 -0
- package/dist/deploy-D2iGlU6g.js +24 -0
- package/dist/deploy-D2iGlU6g.js.map +1 -0
- package/dist/forms/BaseFormFieldWrapper.vue.d.ts +39 -0
- package/dist/forms/BaseFormFieldWrapper.vue.d.ts.map +1 -0
- package/dist/forms/KdsSubText.vue.d.ts +1 -0
- package/dist/forms/KdsSubText.vue.d.ts.map +1 -1
- package/dist/forms/index.d.ts +5 -0
- package/dist/forms/index.d.ts.map +1 -1
- package/dist/forms/inputs/BaseInput.vue.d.ts +144 -0
- package/dist/forms/inputs/BaseInput.vue.d.ts.map +1 -0
- package/dist/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts +3 -0
- package/dist/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts.map +1 -0
- package/dist/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts +3 -0
- package/dist/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts.map +1 -0
- package/dist/forms/inputs/PatternInput/patternRegex.d.ts +10 -0
- package/dist/forms/inputs/PatternInput/patternRegex.d.ts.map +1 -0
- package/dist/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts +3 -0
- package/dist/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -0
- package/dist/forms/inputs/TextInput/KdsTextInput.vue.d.ts +3 -0
- package/dist/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -0
- package/dist/forms/inputs/types.d.ts +52 -0
- package/dist/forms/inputs/types.d.ts.map +1 -0
- package/dist/forms/types.d.ts +30 -1
- package/dist/forms/types.d.ts.map +1 -1
- package/dist/index.css +188 -59
- package/dist/index.js +832 -147
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/cloud-pending-changes-C8wAwPD4.js +0 -24
- package/dist/cloud-pending-changes-C8wAwPD4.js.map +0 -1
- package/dist/cloud-synced-Cjce2vj8.js.map +0 -1
- package/dist/deploy-BHUT6hCi.js +0 -23
- package/dist/deploy-BHUT6hCi.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: "M6.025 7.75V9m0-1.25-.884.366m.884-.366.884.366M6.025 9v1.25m0-1.25-.884-.884M6.025 9l.884.884M6.025 9l.884-.884M6.025 9l-.884.884M6.025 9h-1.25m1.25 0h1.25m-1.25 0L5.4 7.917M6.025 9l.625 1.082M6.025 9l-1.207-.324M6.025 9l1.207.324M6.025 9l.324-1.207M6.025 9l-.323 1.207M6.025 9l-1.083.625M6.025 9l1.083-.625M6.025 10.25l.884-.366m-.884.366-.884-.366m0-1.768L4.775 9m2.134.884L7.275 9m-.366-.884L7.275 9m-2.134.884L4.775 9M5.4 7.917l-.582.76m.582-.76.949-.124m.301 2.29.582-.76m-.582.76-.948.124m-.884-1.53.124.948m2.29-.301-.124-.949m-.76-.582.76.582m-1.406 1.832-.76-.582m4.091-1.738c.141-.04.3-.094.46-.164C10 7.5 11 6.44 11 5.436c0-1.57-1.42-2.53-2.868-2.53C7.728 1.797 6.625 1 5.302 1c-1.558.067-3.398 1.572-2.942 3.292-.809.243-1.36.97-1.36 1.802 0 1.139.881 1.726 1.86 1.87m2.842-.171-.76.582-.124.949.582.759.949.124.759-.582.124-.949-.582-.758z",
|
|
16
|
+
"vector-effect": "non-scaling-stroke"
|
|
17
|
+
}, null, -1)
|
|
18
|
+
]))]))
|
|
19
|
+
}
|
|
20
|
+
const cloudPendingChanges = { render: render };
|
|
21
|
+
|
|
22
|
+
export { cloudPendingChanges as default, render };
|
|
23
|
+
//# sourceMappingURL=cloud-pending-changes-BooMof3w.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloud-pending-changes-BooMof3w.js","sources":["../../styles/dist/img/icons/cloud-pending-changes.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: \"M6.025 7.75V9m0-1.25-.884.366m.884-.366.884.366M6.025 9v1.25m0-1.25-.884-.884M6.025 9l.884.884M6.025 9l.884-.884M6.025 9l-.884.884M6.025 9h-1.25m1.25 0h1.25m-1.25 0L5.4 7.917M6.025 9l.625 1.082M6.025 9l-1.207-.324M6.025 9l1.207.324M6.025 9l.324-1.207M6.025 9l-.323 1.207M6.025 9l-1.083.625M6.025 9l1.083-.625M6.025 10.25l.884-.366m-.884.366-.884-.366m0-1.768L4.775 9m2.134.884L7.275 9m-.366-.884L7.275 9m-2.134.884L4.775 9M5.4 7.917l-.582.76m.582-.76.949-.124m.301 2.29.582-.76m-.582.76-.948.124m-.884-1.53.124.948m2.29-.301-.124-.949m-.76-.582.76.582m-1.406 1.832-.76-.582m4.091-1.738c.141-.04.3-.094.46-.164C10 7.5 11 6.44 11 5.436c0-1.57-1.42-2.53-2.868-2.53C7.728 1.797 6.625 1 5.302 1c-1.558.067-3.398 1.572-2.942 3.292-.809.243-1.36.97-1.36 1.802 0 1.139.881 1.726 1.86 1.87m2.842-.171-.76.582-.124.949.582.759.949.124.759-.582.124-.949-.582-.758z\",\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,u1BAAu1B;AACh2B,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,4BAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
|
@@ -12,7 +12,7 @@ const _hoisted_1 = {
|
|
|
12
12
|
function render(_ctx, _cache) {
|
|
13
13
|
return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
|
|
14
14
|
createElementVNode("path", {
|
|
15
|
-
d: "
|
|
15
|
+
d: "M1.232 7A1.76 1.76 0 0 1 1 6.094c0-.832.551-1.56 1.36-1.802C1.904 2.572 3.744 1.067 5.301 1c1.324 0 2.427.797 2.831 1.906 1.447 0 2.868.96 2.868 2.53 0 .428-.114.832-.313 1.186a2.6 2.6 0 0 1-.227.338m-5.96.526 1.167 1.292 1.604-2.1M9 7.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0",
|
|
16
16
|
"vector-effect": "non-scaling-stroke"
|
|
17
17
|
}, null, -1)
|
|
18
18
|
]))]))
|
|
@@ -20,4 +20,4 @@ function render(_ctx, _cache) {
|
|
|
20
20
|
const cloudSynced = { render: render };
|
|
21
21
|
|
|
22
22
|
export { cloudSynced as default, render };
|
|
23
|
-
//# sourceMappingURL=cloud-synced-
|
|
23
|
+
//# sourceMappingURL=cloud-synced-BLkZpZpi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloud-synced-BLkZpZpi.js","sources":["../../styles/dist/img/icons/cloud-synced.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: \"M1.232 7A1.76 1.76 0 0 1 1 6.094c0-.832.551-1.56 1.36-1.802C1.904 2.572 3.744 1.067 5.301 1c1.324 0 2.427.797 2.831 1.906 1.447 0 2.868.96 2.868 2.53 0 .428-.114.832-.313 1.186a2.6 2.6 0 0 1-.227.338m-5.96.526 1.167 1.292 1.604-2.1M9 7.5a3 3 0 1 1-6 0 3 3 0 0 1 6 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,2QAA2Q;AACpR,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": ".833",
|
|
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.5 9.5h2.25c1.5 0 2.5-1 2.5-2.5V2.5m0 0L7.75 4m1.5-1.5 1.5 1.5M3 5v-.75H1.5v1.5H3zm0 0h1.065m0 0v1c0 .643.407.75.935.75M4.065 5V4c0-.643.435-.75.935-.75m0 0V4h1.5V2.5H5zm0 3.5v.75h1.5V6H5z",
|
|
17
|
+
"vector-effect": "non-scaling-stroke"
|
|
18
|
+
}, null, -1)
|
|
19
|
+
]))]))
|
|
20
|
+
}
|
|
21
|
+
const deploy = { render: render };
|
|
22
|
+
|
|
23
|
+
export { deploy as default, render };
|
|
24
|
+
//# sourceMappingURL=deploy-D2iGlU6g.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploy-D2iGlU6g.js","sources":["../../styles/dist/img/icons/deploy.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\": \".833\",\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.5 9.5h2.25c1.5 0 2.5-1 2.5-2.5V2.5m0 0L7.75 4m1.5-1.5 1.5 1.5M3 5v-.75H1.5v1.5H3zm0 0h1.065m0 0v1c0 .643.407.75.935.75M4.065 5V4c0-.643.435-.75.935-.75m0 0V4h1.5V2.5H5zm0 3.5v.75h1.5V6H5z\",\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,MAAM;AACxB,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,gMAAgM;AACzM,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,eAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { KdsSubTextProps } from './types';
|
|
2
|
+
type KdsFormFieldProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Input id
|
|
5
|
+
*/
|
|
6
|
+
id?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Label text
|
|
9
|
+
*/
|
|
10
|
+
label?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Aria-label for accessibility when a visible label is not desired
|
|
13
|
+
*/
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
} & Omit<KdsSubTextProps, "id">;
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
default?(_: {
|
|
20
|
+
id: string;
|
|
21
|
+
ariaLabelledby: string | undefined;
|
|
22
|
+
ariaDescribedby: string | undefined;
|
|
23
|
+
ariaLabel: string | undefined;
|
|
24
|
+
ariaInvalid: boolean;
|
|
25
|
+
}): any;
|
|
26
|
+
};
|
|
27
|
+
refs: {};
|
|
28
|
+
rootEl: HTMLDivElement;
|
|
29
|
+
};
|
|
30
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
+
declare const __VLS_component: import('vue').DefineComponent<KdsFormFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsFormFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=BaseFormFieldWrapper.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseFormFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../src/forms/BaseFormFieldWrapper.vue"],"names":[],"mappings":"AAmEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,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;CACpB,GAAG,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;AAYhC,iBAAS,cAAc;WAgET,OAAO,IAA6B;;;;;;;;YAVrB,GAAG;;;;EAe/B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,yTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { KdsSubTextProps } from './types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<KdsSubTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsSubTextProps> & Readonly<{}>, {
|
|
3
3
|
error: boolean;
|
|
4
|
+
validating: boolean;
|
|
4
5
|
preserveSubTextSpace: boolean;
|
|
5
6
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
7
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsSubText.vue.d.ts","sourceRoot":"","sources":["../../src/forms/KdsSubText.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsSubText.vue.d.ts","sourceRoot":"","sources":["../../src/forms/KdsSubText.vue"],"names":[],"mappings":"AAuDA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;;;;;;AAmG/C,wBAOG"}
|
package/dist/forms/index.d.ts
CHANGED
|
@@ -4,6 +4,11 @@ export { default as KdsRadioButtonGroup } from './RadioButton/KdsRadioButtonGrou
|
|
|
4
4
|
export { default as KdsValueSwitch } from './RadioButton/KdsValueSwitch.vue';
|
|
5
5
|
export { default as KdsLabel } from './KdsLabel.vue';
|
|
6
6
|
export { default as KdsSubText } from './KdsSubText.vue';
|
|
7
|
+
export { default as KdsTextInput } from './inputs/TextInput/KdsTextInput.vue';
|
|
8
|
+
export { default as KdsNumberInput } from './inputs/NumberInput/KdsNumberInput.vue';
|
|
9
|
+
export { default as KdsPatternInput } from './inputs/PatternInput/KdsPatternInput.vue';
|
|
10
|
+
export { default as KdsSearchInput } from './inputs/SearchInput/KdsSearchInput.vue';
|
|
7
11
|
export type { KdsRadioButtonGroupAlignment, KdsRadioButtonGroupOption, KdsRadioButtonGroupProps, KdsValueSwitchOption, KdsValueSwitchProps, KdsValueSwitchSize, } from './RadioButton/types';
|
|
8
12
|
export type { KdsCheckboxValue, KdsCheckboxGroupAlignment, KdsCheckboxGroupOption, KdsCheckboxGroupProps, } from './Checkbox/types';
|
|
13
|
+
export type { KdsTextInputProps, KdsNumberInputProps, KdsPatternInputProps, KdsSearchInputProps, } from './inputs/types';
|
|
9
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/forms/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/forms/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAGpF,YAAY,EACV,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EACV,gBAAgB,EAChB,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,kBAAkB,CAAC;AAE1B,YAAY,EACV,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { KdsIconName } from '../../Icon/types.ts';
|
|
2
|
+
type BaseInputProps = {
|
|
3
|
+
/**
|
|
4
|
+
* ID for the input element
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* The type of input field
|
|
9
|
+
*/
|
|
10
|
+
type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
|
|
11
|
+
/**
|
|
12
|
+
* Minimum allowed value (relevant for type="number")
|
|
13
|
+
*/
|
|
14
|
+
min?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Maximum allowed value (relevant for type="number")
|
|
17
|
+
*/
|
|
18
|
+
max?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Step size (relevant for type="number")
|
|
21
|
+
*/
|
|
22
|
+
step?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Placeholder text when input is empty
|
|
25
|
+
*/
|
|
26
|
+
placeholder?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Whether the input is disabled
|
|
29
|
+
*/
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Whether the input is readonly
|
|
33
|
+
*/
|
|
34
|
+
readonly?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the input is required
|
|
37
|
+
*/
|
|
38
|
+
required?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Icon displayed at the start of the input
|
|
41
|
+
*/
|
|
42
|
+
leadingIcon?: KdsIconName;
|
|
43
|
+
/**
|
|
44
|
+
* Icon displayed at the end of the input
|
|
45
|
+
*/
|
|
46
|
+
trailingIcon?: KdsIconName;
|
|
47
|
+
/**
|
|
48
|
+
* Whether the input has an error state
|
|
49
|
+
*/
|
|
50
|
+
error?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Name attribute for the input element
|
|
53
|
+
*/
|
|
54
|
+
name?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Autocomplete attribute for the input element
|
|
57
|
+
*/
|
|
58
|
+
autocomplete?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Accessible label for the input (for aria-label).
|
|
61
|
+
*/
|
|
62
|
+
ariaLabel?: string;
|
|
63
|
+
/**
|
|
64
|
+
* ID of element that labels this input (for aria-labelledby)
|
|
65
|
+
*/
|
|
66
|
+
ariaLabelledby?: string;
|
|
67
|
+
/**
|
|
68
|
+
* ID of element that describes this input (for aria-describedby)
|
|
69
|
+
*/
|
|
70
|
+
ariaDescribedby?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Whether the current value of the input is invalid (for aria-invalid)
|
|
73
|
+
*/
|
|
74
|
+
ariaInvalid?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Unit shown next to the input value
|
|
77
|
+
*/
|
|
78
|
+
unit?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Hints at the type of data that might be entered by the user.
|
|
81
|
+
* Useful for showing an appropriate on-screen keyboard on mobile.
|
|
82
|
+
*/
|
|
83
|
+
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
84
|
+
/**
|
|
85
|
+
* Whether to show a clear button when the input has a value.
|
|
86
|
+
*/
|
|
87
|
+
clearable?: boolean;
|
|
88
|
+
};
|
|
89
|
+
type __VLS_Props = BaseInputProps;
|
|
90
|
+
type __VLS_PublicProps = {
|
|
91
|
+
modelValue?: string;
|
|
92
|
+
} & __VLS_Props;
|
|
93
|
+
declare function __VLS_template(): {
|
|
94
|
+
attrs: Partial<{}>;
|
|
95
|
+
slots: {
|
|
96
|
+
trailing?(_: {}): any;
|
|
97
|
+
};
|
|
98
|
+
refs: {};
|
|
99
|
+
rootEl: HTMLDivElement;
|
|
100
|
+
};
|
|
101
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
102
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
103
|
+
input: (event: Event) => any;
|
|
104
|
+
click: (event: MouseEvent) => any;
|
|
105
|
+
blur: (event: FocusEvent) => any;
|
|
106
|
+
focus: (event: FocusEvent) => any;
|
|
107
|
+
keydown: (event: KeyboardEvent) => any;
|
|
108
|
+
"update:modelValue": (value: string) => any;
|
|
109
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
110
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
111
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
112
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
113
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
114
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
115
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
116
|
+
}>, {
|
|
117
|
+
placeholder: string;
|
|
118
|
+
name: string;
|
|
119
|
+
type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
|
|
120
|
+
required: boolean;
|
|
121
|
+
disabled: boolean;
|
|
122
|
+
leadingIcon: KdsIconName;
|
|
123
|
+
trailingIcon: KdsIconName;
|
|
124
|
+
error: boolean;
|
|
125
|
+
ariaLabel: string;
|
|
126
|
+
min: number;
|
|
127
|
+
max: number;
|
|
128
|
+
step: number;
|
|
129
|
+
readonly: boolean;
|
|
130
|
+
autocomplete: string;
|
|
131
|
+
ariaLabelledby: string;
|
|
132
|
+
ariaDescribedby: string;
|
|
133
|
+
unit: string;
|
|
134
|
+
inputmode: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
135
|
+
clearable: boolean;
|
|
136
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
137
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
138
|
+
export default _default;
|
|
139
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
140
|
+
new (): {
|
|
141
|
+
$slots: S;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
//# sourceMappingURL=BaseInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseInput.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/inputs/BaseInput.vue"],"names":[],"mappings":"AAiXA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAGvD,KAAK,cAAc,GAAG;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAC;IAC3E;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,CAAC,EACN,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,GACL,OAAO,GACP,SAAS,GACT,SAAS,GACT,QAAQ,CAAC;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,KAAK,WAAW,GAAG,cAAc,CAAC;AAmFlC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAwJT,OAAO,IAA6B;;0BAVnB,GAAG;;;;EAejC;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;iBAlVL,MAAM;UA4Bb,MAAM;UA5CN,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ;cA4B/D,OAAO;cARP,OAAO;iBAYJ,WAAW;kBAIV,WAAW;WAIlB,OAAO;eAYH,MAAM;SAhDZ,MAAM;SAIN,MAAM;UAIL,MAAM;cAYF,OAAO;kBAwBH,MAAM;oBAQJ,MAAM;qBAIL,MAAM;UAQjB,MAAM;eAMT,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,GACL,OAAO,GACP,SAAS,GACT,SAAS,GACT,QAAQ;eAIA,OAAO;wFAsRnB,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsNumberInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/NumberInput/KdsNumberInput.vue"],"names":[],"mappings":";AA2mBA,wBASG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsPatternInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/PatternInput/KdsPatternInput.vue"],"names":[],"mappings":";AAwYA,wBASG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type KdsPatternInputOptions = {
|
|
2
|
+
caseSensitive: boolean;
|
|
3
|
+
excludeMatches: boolean;
|
|
4
|
+
useRegex: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const buildRegexFromPatternInput: (input: string, options: KdsPatternInputOptions) => string;
|
|
7
|
+
export declare const parseRegexToPatternInputValue: (regex: string, options: Pick<KdsPatternInputOptions, "useRegex" | "excludeMatches"> & {
|
|
8
|
+
caseSensitive?: boolean;
|
|
9
|
+
}) => string;
|
|
10
|
+
//# sourceMappingURL=patternRegex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patternRegex.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/PatternInput/patternRegex.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACnC,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AA+EF,eAAO,MAAM,0BAA0B,GACrC,OAAO,MAAM,EACb,SAAS,sBAAsB,KAC9B,MAYF,CAAC;AAoBF,eAAO,MAAM,6BAA6B,GACxC,OAAO,MAAM,EACb,SAAS,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,gBAAgB,CAAC,GAAG;IACrE,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,KACA,MAoBF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsSearchInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/SearchInput/KdsSearchInput.vue"],"names":[],"mappings":";AAiKA,wBASG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsTextInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/TextInput/KdsTextInput.vue"],"names":[],"mappings":";AAwJA,wBASG"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { KdsFormFieldProps } from '../types.ts';
|
|
2
|
+
type KdsCommonInputProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Placeholder text for the input element
|
|
5
|
+
*/
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Whether the input is disabled
|
|
9
|
+
*/
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Whether the input is readonly
|
|
13
|
+
*/
|
|
14
|
+
readonly?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Whether the input is required
|
|
17
|
+
*/
|
|
18
|
+
required?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Name attribute for the input element
|
|
21
|
+
*/
|
|
22
|
+
name?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Autocomplete attribute for the input element
|
|
25
|
+
*/
|
|
26
|
+
autocomplete?: string;
|
|
27
|
+
};
|
|
28
|
+
type KdsInputFieldProps = KdsFormFieldProps & KdsCommonInputProps;
|
|
29
|
+
export type KdsTextInputProps = KdsInputFieldProps;
|
|
30
|
+
export type KdsNumberInputProps = KdsInputFieldProps & {
|
|
31
|
+
/**
|
|
32
|
+
* Unit shown next to the input value
|
|
33
|
+
*/
|
|
34
|
+
unit?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Minimum allowed value
|
|
37
|
+
*/
|
|
38
|
+
min?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Maximum allowed value
|
|
41
|
+
*/
|
|
42
|
+
max?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Step size used for +/- buttons and arrow key increments.
|
|
45
|
+
* Must be a positive number greater than 0.
|
|
46
|
+
*/
|
|
47
|
+
step?: number;
|
|
48
|
+
};
|
|
49
|
+
export type KdsPatternInputProps = KdsInputFieldProps;
|
|
50
|
+
export type KdsSearchInputProps = KdsInputFieldProps;
|
|
51
|
+
export {};
|
|
52
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/forms/inputs/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,KAAK,mBAAmB,GAAG;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,kBAAkB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC;AAElE,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAEnD,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,GAAG;IACrD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC"}
|
package/dist/forms/types.d.ts
CHANGED
|
@@ -14,14 +14,43 @@ export type KdsSubTextProps = {
|
|
|
14
14
|
* Id to link the subtext to form elements via `aria-describedby`.
|
|
15
15
|
*/
|
|
16
16
|
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* Subtext to provide additional information about the form field, such as helper text or error messages.
|
|
19
|
+
*/
|
|
17
20
|
subText?: string;
|
|
18
21
|
/**
|
|
19
|
-
* When true, applies error styling to the subtext and shows the error icon.
|
|
22
|
+
* When true, applies error styling to the subtext and shows the error icon when subtext is present.
|
|
20
23
|
*/
|
|
21
24
|
error?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* When true and subtext is present, shows a loading spinner in the subtext area.
|
|
27
|
+
*/
|
|
28
|
+
validating?: boolean;
|
|
22
29
|
/**
|
|
23
30
|
* Reserve space for subtext to prevent layout shifts when helper text or errors appear
|
|
24
31
|
*/
|
|
25
32
|
preserveSubTextSpace?: boolean;
|
|
26
33
|
};
|
|
34
|
+
type KdsInputLabelProps = {
|
|
35
|
+
/**
|
|
36
|
+
* Visible label text for the input.
|
|
37
|
+
*/
|
|
38
|
+
label: string;
|
|
39
|
+
ariaLabel?: never;
|
|
40
|
+
} | {
|
|
41
|
+
label?: never;
|
|
42
|
+
/**
|
|
43
|
+
* Accessible label used when no visible label is rendered.
|
|
44
|
+
*/
|
|
45
|
+
ariaLabel: string;
|
|
46
|
+
};
|
|
47
|
+
type KdsInputSubTextProps = Omit<KdsSubTextProps, "id">;
|
|
48
|
+
type KdsInputElementProps = {
|
|
49
|
+
/**
|
|
50
|
+
* Id for associating labels and hint/error text.
|
|
51
|
+
*/
|
|
52
|
+
id?: string;
|
|
53
|
+
};
|
|
54
|
+
export type KdsFormFieldProps = KdsInputLabelProps & KdsInputElementProps & KdsInputSubTextProps;
|
|
55
|
+
export {};
|
|
27
56
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/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;CACd,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/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;CACd,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,KAAK,kBAAkB,GACnB;IACE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,GACD;IACE,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEN,KAAK,oBAAoB,GAAG,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;AAExD,KAAK,oBAAoB,GAAG;IAC1B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,GAChD,oBAAoB,GACpB,oBAAoB,CAAC"}
|