@knime/kds-components 0.20.1 → 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 +75 -4
- package/dist/index.js +360 -51
- 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/overlays/Modal/KdsModal.vue.d.ts +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,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.5 2H11M1.5 6H11m-9.5 4H11",
|
|
16
|
+
"vector-effect": "non-scaling-stroke"
|
|
17
|
+
}, null, -1)
|
|
18
|
+
]))]))
|
|
19
|
+
}
|
|
20
|
+
const menu = { render: render };
|
|
21
|
+
|
|
22
|
+
export { menu as default, render };
|
|
23
|
+
//# sourceMappingURL=menu-BSS_QnZi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-BSS_QnZi.js","sources":["../../styles/dist/img/icons/menu.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.5 2H11M1.5 6H11m-9.5 4H11\",\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,8BAA8B;AACvC,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,aAAe,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: "M5.276 6.902 2.349 9.627l2.734-2.918c-.293-.293-.735-.663-1.326-1.396-.534-.662-.457-1.198.108-1.44.565-.244 1.24-.001 1.77.482.612-.444.92-.761 1.556-1.3-.432-.514-.41-1.21.101-1.463.512-.253.868.044 1.237.413.376.376.736.733.736.733s.338.342.714.718c.37.37.667.724.413 1.236-.253.512-.948.534-1.462.102-.54.636-.856.943-1.3 1.556.483.529.725 1.205.482 1.77s-.778.642-1.44.108c-.733-.591-1.103-1.033-1.396-1.326",
|
|
16
|
+
"vector-effect": "non-scaling-stroke"
|
|
17
|
+
}, null, -1)
|
|
18
|
+
]))]))
|
|
19
|
+
}
|
|
20
|
+
const pin = { render: render };
|
|
21
|
+
|
|
22
|
+
export { pin as default, render };
|
|
23
|
+
//# sourceMappingURL=pin-B6vKBZDp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pin-B6vKBZDp.js","sources":["../../styles/dist/img/icons/pin.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: \"M5.276 6.902 2.349 9.627l2.734-2.918c-.293-.293-.735-.663-1.326-1.396-.534-.662-.457-1.198.108-1.44.565-.244 1.24-.001 1.77.482.612-.444.92-.761 1.556-1.3-.432-.514-.41-1.21.101-1.463.512-.253.868.044 1.237.413.376.376.736.733.736.733s.338.342.714.718c.37.37.667.724.413 1.236-.253.512-.948.534-1.462.102-.54.636-.856.943-1.3 1.556.483.529.725 1.205.482 1.77s-.778.642-1.44.108c-.733-.591-1.103-1.033-1.396-1.326\",\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,8ZAA8Z;AACva,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: "M6 4.5H2.5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1H4m2-1h3.5a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H8m-4 1v-2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1V5a1 1 0 0 1-1 1H5a1 1 0 0 0-1 1v2.5a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2M5.5 3v.005M6.5 9v.005",
|
|
16
|
+
"vector-effect": "non-scaling-stroke"
|
|
17
|
+
}, null, -1)
|
|
18
|
+
]))]))
|
|
19
|
+
}
|
|
20
|
+
const python = { render: render };
|
|
21
|
+
|
|
22
|
+
export { python as default, render };
|
|
23
|
+
//# sourceMappingURL=python-Bn3ET_9Z.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"python-Bn3ET_9Z.js","sources":["../../styles/dist/img/icons/python.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 4.5H2.5a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1H4m2-1h3.5a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H8m-4 1v-2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1V5a1 1 0 0 1-1 1H5a1 1 0 0 0-1 1v2.5a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2M5.5 3v.005M6.5 9v.005\",\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,sNAAsN;AAC/N,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,eAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export * from './KdsButton';
|
|
2
2
|
export type * from './KdsButton';
|
|
3
|
-
export * from './KdsLinkButton';
|
|
4
|
-
export type * from './KdsLinkButton';
|
|
3
|
+
export * from './links/KdsLinkButton';
|
|
4
|
+
export type * from './links/KdsLinkButton';
|
|
5
|
+
export * from './links/KdsLink';
|
|
6
|
+
export type * from './links/KdsLink';
|
|
5
7
|
export * from './KdsToggleButton';
|
|
6
8
|
export type * from './KdsToggleButton';
|
|
7
9
|
export * from './KdsProgressButton';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,mBAAmB,CAAC;AAClC,mBAAmB,mBAAmB,CAAC;AAEvC,cAAc,qBAAqB,CAAC;AACpC,mBAAmB,qBAAqB,CAAC;AAEzC,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAGrC,OAAO,EACL,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AAGjB,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,uBAAuB,CAAC;AACtC,mBAAmB,uBAAuB,CAAC;AAE3C,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,mBAAmB,CAAC;AAClC,mBAAmB,mBAAmB,CAAC;AAEvC,cAAc,qBAAqB,CAAC;AACpC,mBAAmB,qBAAqB,CAAC;AAEzC,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAGrC,OAAO,EACL,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AAGjB,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { KdsLinkProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<KdsLinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
click: (event: MouseEvent) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<KdsLinkProps> & Readonly<{
|
|
5
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=KdsLink.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsLink.vue.d.ts","sourceRoot":"","sources":["../../../../../src/buttons/links/KdsLink/KdsLink.vue"],"names":[],"mappings":"AAgPA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;;;;;;AA2O5C,wBAQG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/buttons/links/KdsLink/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC;AACnD,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { WithAnchorElementAttributes, WithLinkNavigation } from '../linkTypes';
|
|
2
|
+
type KdsLinkBaseProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Label rendered as the clickable link text.
|
|
5
|
+
*/
|
|
6
|
+
label: string;
|
|
7
|
+
/**
|
|
8
|
+
* Optional base title text shown on hover.
|
|
9
|
+
*
|
|
10
|
+
* The rendered title is variant-aware: internal links are prefixed with
|
|
11
|
+
* `Open`, download links with `Download`, and external links append
|
|
12
|
+
* ` (opens in a new tab)` when their effective target is `_blank`.
|
|
13
|
+
*/
|
|
14
|
+
title?: string;
|
|
15
|
+
/**
|
|
16
|
+
* If set to true, the link is visually disabled and non-interactive.
|
|
17
|
+
*/
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
} & WithAnchorElementAttributes;
|
|
20
|
+
export type KdsLinkProps = WithLinkNavigation & KdsLinkBaseProps & {
|
|
21
|
+
/**
|
|
22
|
+
* Optional file size in bytes.
|
|
23
|
+
*
|
|
24
|
+
* If provided, the link is rendered in document style and shows the
|
|
25
|
+
* formatted file size suffix.
|
|
26
|
+
*/
|
|
27
|
+
fileSize?: number;
|
|
28
|
+
};
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/buttons/links/KdsLink/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAEtB,KAAK,gBAAgB,GAAG;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,2BAA2B,CAAC;AAEhC,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAC3C,gBAAgB,GAAG;IACjB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 & import('../linkTypes').WithLinkNavigation & import('../linkTypes').WithAnchorElementAttributes) | (import('../../types').KdsButtonCommonProps & {
|
|
7
|
+
label?: never;
|
|
8
|
+
leadingIcon: import('../../..').KdsIconName;
|
|
9
|
+
trailingIcon?: never;
|
|
10
|
+
ariaLabel: string;
|
|
11
|
+
} & import('../../types').WithDestructive & import('../linkTypes').WithLinkNavigation & import('../linkTypes').WithAnchorElementAttributes), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
click: (event: MouseEvent) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<(import('../../types').KdsButtonCommonProps & {
|
|
14
|
+
label: string;
|
|
15
|
+
leadingIcon?: import('../../..').KdsIconName;
|
|
16
|
+
trailingIcon?: import('../../..').KdsIconName;
|
|
17
|
+
ariaLabel?: never;
|
|
18
|
+
} & import('../../types').WithDestructive & import('../linkTypes').WithLinkNavigation & import('../linkTypes').WithAnchorElementAttributes) | (import('../../types').KdsButtonCommonProps & {
|
|
19
|
+
label?: never;
|
|
20
|
+
leadingIcon: import('../../..').KdsIconName;
|
|
21
|
+
trailingIcon?: never;
|
|
22
|
+
ariaLabel: string;
|
|
23
|
+
} & import('../../types').WithDestructive & import('../linkTypes').WithLinkNavigation & import('../linkTypes').WithAnchorElementAttributes)> & Readonly<{
|
|
24
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
export default _default;
|
|
27
|
+
//# sourceMappingURL=KdsLinkButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsLinkButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/buttons/links/KdsLinkButton/KdsLinkButton.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAyIA,wBAQG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/buttons/links/KdsLinkButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { KdsButtonCommonProps, WithDestructive, WithLabelAndIcons } from '../../types';
|
|
2
|
+
import { WithAnchorElementAttributes, WithLinkNavigation } from '../linkTypes';
|
|
3
|
+
export type KdsLinkButtonProps = KdsButtonCommonProps & WithLabelAndIcons & WithDestructive & WithLinkNavigation & WithAnchorElementAttributes;
|
|
4
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/buttons/links/KdsLinkButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EAClB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,2BAA2B,EAC3B,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GACnD,iBAAiB,GACjB,eAAe,GACf,kBAAkB,GAClB,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../../src/buttons/links/docs.ts"],"names":[],"mappings":"AAkCA,wBAAgB,0BAA0B,CAAC,aAAa,EAAE,MAAM,UAS/D"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type LiteralUnion<T extends string> = T | (string & {});
|
|
2
|
+
export type WithLinkNavigation = {
|
|
3
|
+
/**
|
|
4
|
+
* URL or path string to navigate to.
|
|
5
|
+
*
|
|
6
|
+
* To support typed routes and route-location objects, please create an app-level wrapper
|
|
7
|
+
* (e.g. with `RouterLink`/`NuxtLink`) as described in the Storybook documentation of this component.
|
|
8
|
+
*/
|
|
9
|
+
to: string;
|
|
10
|
+
};
|
|
11
|
+
export type WithAnchorElementAttributes = {
|
|
12
|
+
/**
|
|
13
|
+
* If true, the link will be downloaded instead of navigating to it.
|
|
14
|
+
*/
|
|
15
|
+
download?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Where to display the linked URL, as the name for a browsing context.
|
|
18
|
+
*/
|
|
19
|
+
target?: LiteralUnion<"_blank" | "_parent" | "_self" | "_top"> | null;
|
|
20
|
+
/**
|
|
21
|
+
* A rel attribute value to apply on the link.
|
|
22
|
+
*/
|
|
23
|
+
rel?: LiteralUnion<"noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc"> | null;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=linkTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkTypes.d.ts","sourceRoot":"","sources":["../../../../src/buttons/links/linkTypes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAE/D,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;;OAKG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC;IACtE;;OAEG;IACH,GAAG,CAAC,EAAE,YAAY,CAChB,UAAU,GAAG,YAAY,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,CAC7D,GAAG,IAAI,CAAC;CACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ declare function __VLS_template(): {
|
|
|
4
4
|
slots: {
|
|
5
5
|
default?(_: {
|
|
6
6
|
headline: string;
|
|
7
|
-
leadingIcon: "filter" | "link" | "time" | "stop" | "text" | "add-user" | "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "calendar" | "case-sensitive" | "center-aligned" | "checkmark" | "chevron-down" | "chevron-left-double" | "chevron-left" | "chevron-right-double" | "chevron-right" | "chevron-up" | "circle-error" | "circle-info" | "circle-question" | "circle-success" | "cloud-download" | "cloud-knime" | "cloud-pending-changes" | "cloud-synced" | "cloud-upload" | "cloud-workflow" | "code-block" | "color-picker" | "comment" | "component" | "connection" | "copy" | "cursor" | "data-app" | "data-value-view" | "date-time" | "db-browse" | "db-database" | "db-fetch" | "db-schema" | "db-table-view" | "db-table" | "deploy" | "detect" | "divider" | "duration" | "edit" | "education" | "error-panel" | "execute-all" | "execute" | "expand-panel" | "extension-community" | "extension" | "external-link" | "eye" | "file-export" | "file-text" | "file" | "flow-variable-default" | "flow-variable-in-out" | "flow-variable-in" | "flow-variable-out" | "folder-plus" | "folder-workflow" | "folder" | "forum" | "function-catalog" | "home" | "import" | "info" | "interval" | "italic" | "key" | "layout-editor" | "left-aligned" | "like" | "limit" | "linked-metanode" | "list-bulletpoint" | "list-number" | "list-thumbs" | "list" | "local-filesystem" | "lock" | "metanode" | "mini-map" | "minimize-dialog" | "minimize-side-panel" | "minus" | "more-actions" | "node-stack" | "nodes-align-horiz" | "nodes-align-vert" | "open-in-new-window" | "pan-mode" | "parameter" | "pending-changes" | "placeholder" | "plus" | "quote" | "re-execution" | "redo" | "regex" | "reload" | "rename" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "service" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "team" | "textstyles" | "thumbs-down" | "thumbs-up" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "version" | "view-cards" | "warning" | "workflow" | "x-close" | undefined;
|
|
7
|
+
leadingIcon: "filter" | "link" | "menu" | "time" | "stop" | "text" | "add-user" | "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "calendar" | "case-sensitive" | "center-aligned" | "checkmark" | "chevron-down" | "chevron-left-double" | "chevron-left" | "chevron-right-double" | "chevron-right" | "chevron-up" | "circle-error" | "circle-info" | "circle-question" | "circle-success" | "circle-unchecked" | "cloud-download" | "cloud-knime" | "cloud-pending-changes" | "cloud-synced" | "cloud-upload" | "cloud-workflow" | "code-block" | "color-picker" | "comment" | "component" | "connection" | "copy" | "cursor" | "data-app" | "data-value-view" | "date-time" | "db-browse" | "db-database" | "db-fetch" | "db-schema" | "db-table-view" | "db-table" | "deploy" | "detect" | "divider" | "duration" | "edit" | "education" | "error-panel" | "execute-all" | "execute" | "expand-panel" | "extension-community" | "extension" | "external-link" | "eye" | "file-export" | "file-text" | "file" | "flow-variable-default" | "flow-variable-in-out" | "flow-variable-in" | "flow-variable-out" | "folder-plus" | "folder-search" | "folder-workflow" | "folder" | "forum" | "function-catalog" | "hide-eye" | "home" | "import" | "info" | "interval" | "italic" | "key" | "layout-editor" | "left-aligned" | "like" | "limit" | "linked-metanode" | "list-bulletpoint" | "list-number" | "list-thumbs" | "list" | "local-filesystem" | "lock" | "metanode" | "mini-map" | "minimize-dialog" | "minimize-side-panel" | "minus" | "more-actions" | "node-stack" | "nodes-align-horiz" | "nodes-align-vert" | "open-in-new-window" | "pan-mode" | "parameter" | "pending-changes" | "pin" | "placeholder" | "plus" | "python" | "quote" | "re-execution" | "redo" | "regex" | "reload" | "rename" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "service" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "tag" | "team" | "template-gallery" | "textstyles" | "thumbs-down" | "thumbs-up" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "usage" | "user" | "version" | "view-cards" | "warning" | "workflow" | "x-close" | undefined;
|
|
8
8
|
variant: import('./types').KdsModalVariant;
|
|
9
9
|
overflow: "auto" | "hidden" | "visible";
|
|
10
10
|
onClose: (event?: Event) => void;
|
|
@@ -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
|