@knime/kds-components 0.20.0 → 0.21.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/dist/{db-database-DYNQa14y.js → circle-unchecked-DOoOn6iz.js} +4 -4
- package/dist/circle-unchecked-DOoOn6iz.js.map +1 -0
- package/dist/db-database-CyCrPzu-.js +23 -0
- package/dist/db-database-CyCrPzu-.js.map +1 -0
- package/dist/folder-search-DDOYg0f6.js +23 -0
- package/dist/folder-search-DDOYg0f6.js.map +1 -0
- package/dist/hide-eye-BrIKmBWt.js +23 -0
- package/dist/hide-eye-BrIKmBWt.js.map +1 -0
- package/dist/index.css +129 -38
- package/dist/index.js +664 -304
- package/dist/index.js.map +1 -1
- package/dist/menu-BSS_QnZi.js +23 -0
- package/dist/menu-BSS_QnZi.js.map +1 -0
- package/dist/pin-B6vKBZDp.js +23 -0
- package/dist/pin-B6vKBZDp.js.map +1 -0
- package/dist/python-Bn3ET_9Z.js +23 -0
- package/dist/python-Bn3ET_9Z.js.map +1 -0
- package/dist/src/buttons/index.d.ts +4 -2
- package/dist/src/buttons/index.d.ts.map +1 -1
- package/dist/src/buttons/links/KdsLink/KdsLink.vue.d.ts +8 -0
- package/dist/src/buttons/links/KdsLink/KdsLink.vue.d.ts.map +1 -0
- package/dist/src/buttons/links/KdsLink/index.d.ts +3 -0
- package/dist/src/buttons/links/KdsLink/index.d.ts.map +1 -0
- package/dist/src/buttons/links/KdsLink/types.d.ts +30 -0
- package/dist/src/buttons/links/KdsLink/types.d.ts.map +1 -0
- package/dist/src/buttons/links/KdsLinkButton/KdsLinkButton.vue.d.ts +27 -0
- package/dist/src/buttons/links/KdsLinkButton/KdsLinkButton.vue.d.ts.map +1 -0
- package/dist/src/buttons/links/KdsLinkButton/index.d.ts.map +1 -0
- package/dist/src/buttons/links/KdsLinkButton/types.d.ts +4 -0
- package/dist/src/buttons/links/KdsLinkButton/types.d.ts.map +1 -0
- package/dist/src/buttons/links/docs.d.ts +2 -0
- package/dist/src/buttons/links/docs.d.ts.map +1 -0
- package/dist/src/buttons/links/linkTypes.d.ts +25 -0
- package/dist/src/buttons/links/linkTypes.d.ts.map +1 -0
- package/dist/src/forms/Checkbox/KdsCheckboxGroup.vue.d.ts +1 -1
- package/dist/src/forms/Checkbox/KdsCheckboxGroup.vue.d.ts.map +1 -1
- package/dist/src/forms/RadioButton/KdsRadioButtonGroup.vue.d.ts +1 -1
- package/dist/src/forms/RadioButton/KdsRadioButtonGroup.vue.d.ts.map +1 -1
- package/dist/src/forms/RadioButton/KdsValueSwitch.vue.d.ts +54 -2
- package/dist/src/forms/RadioButton/KdsValueSwitch.vue.d.ts.map +1 -1
- package/dist/src/forms/RadioButton/ValueSwitchItem.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/BaseFieldsetWrapper.vue.d.ts +23 -0
- package/dist/src/forms/_helper/BaseFieldsetWrapper.vue.d.ts.map +1 -0
- package/dist/src/forms/index.d.ts +26 -1
- package/dist/src/forms/index.d.ts.map +1 -1
- package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts +4 -0
- package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/TextInput/types.d.ts +5 -0
- package/dist/src/forms/inputs/TextInput/types.d.ts.map +1 -1
- package/dist/src/forms/types.d.ts +24 -0
- package/dist/src/forms/types.d.ts.map +1 -1
- package/dist/src/overlays/Modal/KdsModal.vue.d.ts +1 -1
- package/dist/src/overlays/Modal/useKdsDynamicModal.d.ts +3 -4
- package/dist/src/overlays/Modal/useKdsDynamicModal.d.ts.map +1 -1
- package/dist/tag-_fZiuJaC.js +27 -0
- package/dist/tag-_fZiuJaC.js.map +1 -0
- package/dist/template-gallery-BtXi4GHd.js +23 -0
- package/dist/template-gallery-BtXi4GHd.js.map +1 -0
- package/dist/usage-827uIQyn.js +23 -0
- package/dist/usage-827uIQyn.js.map +1 -0
- package/package.json +4 -3
- package/dist/db-database-DYNQa14y.js.map +0 -1
- package/dist/src/buttons/KdsLinkButton/KdsLinkButton.vue.d.ts +0 -51
- package/dist/src/buttons/KdsLinkButton/KdsLinkButton.vue.d.ts.map +0 -1
- package/dist/src/buttons/KdsLinkButton/index.d.ts.map +0 -1
- package/dist/src/buttons/KdsLinkButton/types.d.ts +0 -24
- package/dist/src/buttons/KdsLinkButton/types.d.ts.map +0 -1
- /package/dist/src/buttons/{KdsLinkButton → links/KdsLinkButton}/index.d.ts +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, 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.248 4.69a.5.5 0 1 0 1 0 .5.5 0 0 0-1 0",
|
|
16
|
+
"vector-effect": "non-scaling-stroke"
|
|
17
|
+
}, null, -1),
|
|
18
|
+
createElementVNode("path", {
|
|
19
|
+
d: "M2 3.5v2.586a1 1 0 0 0 .293.707l3.855 3.854a1.205 1.205 0 0 0 1.703 0l2.796-2.796a1.205 1.205 0 0 0 0-1.703L6.793 2.293A1 1 0 0 0 6.086 2H3.5A1.5 1.5 0 0 0 2 3.5",
|
|
20
|
+
"vector-effect": "non-scaling-stroke"
|
|
21
|
+
}, null, -1)
|
|
22
|
+
]))]))
|
|
23
|
+
}
|
|
24
|
+
const tag = { render: render };
|
|
25
|
+
|
|
26
|
+
export { tag as default, render };
|
|
27
|
+
//# sourceMappingURL=tag-_fZiuJaC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag-_fZiuJaC.js","sources":["../../styles/dist/img/icons/tag.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.248 4.69a.5.5 0 1 0 1 0 .5.5 0 0 0-1 0\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1),\n _createElementVNode(\"path\", {\n d: \"M2 3.5v2.586a1 1 0 0 0 .293.707l3.855 3.854a1.205 1.205 0 0 0 1.703 0l2.796-2.796a1.205 1.205 0 0 0 0-1.703L6.793 2.293A1 1 0 0 0 6.086 2H3.5A1.5 1.5 0 0 0 2 3.5\",\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,2CAA2C;AACpD,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC;AAChB,IAAIA,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,mKAAmK;AAC5K,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,YAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, 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: "M1 7.812V2.269s.326-.763 1.05-.763 1.128.764 1.128.764l.005.206M1 7.812s.04-.987 1.05-.987 1.132.775 1.132.775V2.476M1 7.812c0 .883.491 1.3 1.19 1.3h6.918V2.477H3.183m-.479 8.202h4.342l3.746.012-.01-6.838M5 5.718h2m-1.028-.949v2",
|
|
16
|
+
"vector-effect": "non-scaling-stroke"
|
|
17
|
+
}, null, -1)
|
|
18
|
+
]))]))
|
|
19
|
+
}
|
|
20
|
+
const templateGallery = { render: render };
|
|
21
|
+
|
|
22
|
+
export { templateGallery as default, render };
|
|
23
|
+
//# sourceMappingURL=template-gallery-BtXi4GHd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-gallery-BtXi4GHd.js","sources":["../../styles/dist/img/icons/template-gallery.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 7.812V2.269s.326-.763 1.05-.763 1.128.764 1.128.764l.005.206M1 7.812s.04-.987 1.05-.987 1.132.775 1.132.775V2.476M1 7.812c0 .883.491 1.3 1.19 1.3h6.918V2.477H3.183m-.479 8.202h4.342l3.746.012-.01-6.838M5 5.718h2m-1.028-.949v2\",\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,sOAAsO;AAC/O,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,wBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, 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: "M2 2v6.5m8 1.5H2V8.5m0 0 2.5-3L8 6l2-4",
|
|
16
|
+
"vector-effect": "non-scaling-stroke"
|
|
17
|
+
}, null, -1)
|
|
18
|
+
]))]))
|
|
19
|
+
}
|
|
20
|
+
const usage = { render: render };
|
|
21
|
+
|
|
22
|
+
export { usage as default, render };
|
|
23
|
+
//# sourceMappingURL=usage-827uIQyn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage-827uIQyn.js","sources":["../../styles/dist/img/icons/usage.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: \"M2 2v6.5m8 1.5H2V8.5m0 0 2.5-3L8 6l2-4\",\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,wCAAwC;AACjD,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,cAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,13 +36,14 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@knime/utils": "^1.9.2",
|
|
38
38
|
"consola": "^3.4.2",
|
|
39
|
-
"
|
|
39
|
+
"pretty-bytes": "^7.1.0",
|
|
40
|
+
"@knime/kds-styles": "^0.21.0"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
43
|
"@storybook/vue3-vite": "^10.3.1",
|
|
43
44
|
"@vitejs/plugin-vue": "^6.0.4",
|
|
44
45
|
"@vue/test-utils": "^2.4.6",
|
|
45
|
-
"@vue/tsconfig": "^0.9.
|
|
46
|
+
"@vue/tsconfig": "^0.9.1",
|
|
46
47
|
"@vueuse/core": "^14.2.1",
|
|
47
48
|
"prettier": "3.8.1",
|
|
48
49
|
"prettier-plugin-vue": "^1.1.6",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"db-database-DYNQa14y.js","sources":["../../styles/dist/img/icons/db-database.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: \"M10 5.977c0 1.134-1.79 2.054-4 2.054s-4-.92-4-2.054m8 2.469C10 9.58 8.21 10.5 6 10.5s-4-.92-4-2.054m8-4.892c0 1.135-1.79 2.054-4 2.054s-4-.92-4-2.054S3.79 1.5 6 1.5s4 .92 4 2.054\",\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,oLAAoL;AAC7L,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,mBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<(import('../types').KdsButtonCommonProps & {
|
|
2
|
-
label: string;
|
|
3
|
-
leadingIcon?: import('../..').KdsIconName;
|
|
4
|
-
trailingIcon?: import('../..').KdsIconName;
|
|
5
|
-
ariaLabel?: never;
|
|
6
|
-
} & import('../types').WithDestructive & {
|
|
7
|
-
to: string | Record<string, unknown>;
|
|
8
|
-
} & {
|
|
9
|
-
download?: boolean;
|
|
10
|
-
target?: "_blank" | "_parent" | "_self" | "_top" | string | null;
|
|
11
|
-
rel?: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | string | null;
|
|
12
|
-
}) | (import('../types').KdsButtonCommonProps & {
|
|
13
|
-
label?: never;
|
|
14
|
-
leadingIcon: import('../..').KdsIconName;
|
|
15
|
-
trailingIcon?: never;
|
|
16
|
-
ariaLabel: string;
|
|
17
|
-
} & import('../types').WithDestructive & {
|
|
18
|
-
to: string | Record<string, unknown>;
|
|
19
|
-
} & {
|
|
20
|
-
download?: boolean;
|
|
21
|
-
target?: "_blank" | "_parent" | "_self" | "_top" | string | null;
|
|
22
|
-
rel?: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | string | null;
|
|
23
|
-
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
-
click: (event: MouseEvent) => any;
|
|
25
|
-
}, string, import('vue').PublicProps, Readonly<(import('../types').KdsButtonCommonProps & {
|
|
26
|
-
label: string;
|
|
27
|
-
leadingIcon?: import('../..').KdsIconName;
|
|
28
|
-
trailingIcon?: import('../..').KdsIconName;
|
|
29
|
-
ariaLabel?: never;
|
|
30
|
-
} & import('../types').WithDestructive & {
|
|
31
|
-
to: string | Record<string, unknown>;
|
|
32
|
-
} & {
|
|
33
|
-
download?: boolean;
|
|
34
|
-
target?: "_blank" | "_parent" | "_self" | "_top" | string | null;
|
|
35
|
-
rel?: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | string | null;
|
|
36
|
-
}) | (import('../types').KdsButtonCommonProps & {
|
|
37
|
-
label?: never;
|
|
38
|
-
leadingIcon: import('../..').KdsIconName;
|
|
39
|
-
trailingIcon?: never;
|
|
40
|
-
ariaLabel: string;
|
|
41
|
-
} & import('../types').WithDestructive & {
|
|
42
|
-
to: string | Record<string, unknown>;
|
|
43
|
-
} & {
|
|
44
|
-
download?: boolean;
|
|
45
|
-
target?: "_blank" | "_parent" | "_self" | "_top" | string | null;
|
|
46
|
-
rel?: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | string | null;
|
|
47
|
-
})> & Readonly<{
|
|
48
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
49
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
50
|
-
export default _default;
|
|
51
|
-
//# sourceMappingURL=KdsLinkButton.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"KdsLinkButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsLinkButton/KdsLinkButton.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyIA,wBAQG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsLinkButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,mBAAmB,SAAS,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { KdsButtonCommonProps, WithDestructive, WithLabelAndIcons } from '../types';
|
|
2
|
-
type WithRouterNavigation = {
|
|
3
|
-
/**
|
|
4
|
-
* Route Location the link should navigate to when clicked on; passed to RouterLink/NuxtLink component if globally available
|
|
5
|
-
*/
|
|
6
|
-
to: string | Record<string, unknown>;
|
|
7
|
-
};
|
|
8
|
-
type WithAnchorElementAttributes = {
|
|
9
|
-
/**
|
|
10
|
-
* If set to true, the link will be downloaded instead of navigating to it.
|
|
11
|
-
*/
|
|
12
|
-
download?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Where to display the linked URL, as the name for a browsing context.
|
|
15
|
-
*/
|
|
16
|
-
target?: "_blank" | "_parent" | "_self" | "_top" | string | null;
|
|
17
|
-
/**
|
|
18
|
-
* A rel attribute value to apply on the link. In Nuxt, defaults to "noopener noreferrer" for external links.
|
|
19
|
-
*/
|
|
20
|
-
rel?: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | string | null;
|
|
21
|
-
};
|
|
22
|
-
export type KdsLinkButtonProps = KdsButtonCommonProps & WithLabelAndIcons & WithDestructive & WithRouterNavigation & WithAnchorElementAttributes;
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsLinkButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAElB,KAAK,oBAAoB,GAAG;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC,CAAC;AAEF,KAAK,2BAA2B,GAAG;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACjE;;OAEG;IACH,GAAG,CAAC,EACA,UAAU,GACV,YAAY,GACZ,UAAU,GACV,WAAW,GACX,KAAK,GACL,MAAM,GACN,IAAI,CAAC;CACV,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GACnD,iBAAiB,GACjB,eAAe,GACf,oBAAoB,GACpB,2BAA2B,CAAC"}
|
|
File without changes
|