@knime/kds-components 0.25.2 → 0.26.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.
Files changed (71) hide show
  1. package/dist/collection-BBXRVj4b.js +23 -0
  2. package/dist/collection-BBXRVj4b.js.map +1 -0
  3. package/dist/index.css +394 -138
  4. package/dist/index.js +843 -493
  5. package/dist/index.js.map +1 -1
  6. package/dist/src/accessories/Avatar/KdsAvatar.vue.d.ts.map +1 -1
  7. package/dist/src/accessories/Avatar/KdsAvatarCounter.vue.d.ts +4 -0
  8. package/dist/src/accessories/Avatar/KdsAvatarCounter.vue.d.ts.map +1 -0
  9. package/dist/src/accessories/Avatar/demo-user.d.ts +1 -1
  10. package/dist/src/accessories/Avatar/demo-user.d.ts.map +1 -1
  11. package/dist/src/accessories/Avatar/index.d.ts +1 -0
  12. package/dist/src/accessories/Avatar/index.d.ts.map +1 -1
  13. package/dist/src/accessories/Avatar/types.d.ts +18 -0
  14. package/dist/src/accessories/Avatar/types.d.ts.map +1 -1
  15. package/dist/src/accessories/LiveStatus/enums.d.ts +1 -1
  16. package/dist/src/buttons/links/KdsLink/types.d.ts +1 -1
  17. package/dist/src/buttons/links/KdsLink/types.d.ts.map +1 -1
  18. package/dist/src/buttons/links/KdsLinkButton/KdsLinkButton.vue.d.ts +4 -4
  19. package/dist/src/buttons/links/KdsLinkButton/types.d.ts +1 -1
  20. package/dist/src/buttons/links/KdsLinkButton/types.d.ts.map +1 -1
  21. package/dist/src/containers/ListItem/KdsListItem/enums.d.ts +2 -1
  22. package/dist/src/containers/ListItem/KdsListItem/enums.d.ts.map +1 -1
  23. package/dist/src/containers/ListItem/KdsListItem/types.d.ts +1 -1
  24. package/dist/src/containers/ListItem/KdsListItem/types.d.ts.map +1 -1
  25. package/dist/src/containers/PreviewList/KdsPreviewList/KdsPreviewList.vue.d.ts +12 -0
  26. package/dist/src/containers/PreviewList/KdsPreviewList/KdsPreviewList.vue.d.ts.map +1 -0
  27. package/dist/src/containers/PreviewList/KdsPreviewList/index.d.ts +3 -0
  28. package/dist/src/containers/PreviewList/KdsPreviewList/index.d.ts.map +1 -0
  29. package/dist/src/containers/PreviewList/KdsPreviewList/types.d.ts +48 -0
  30. package/dist/src/containers/PreviewList/KdsPreviewList/types.d.ts.map +1 -0
  31. package/dist/src/containers/PreviewList/index.d.ts +3 -0
  32. package/dist/src/containers/PreviewList/index.d.ts.map +1 -0
  33. package/dist/src/containers/index.d.ts +2 -0
  34. package/dist/src/containers/index.d.ts.map +1 -1
  35. package/dist/src/forms/inputs/Textarea/KdsTextarea.vue.d.ts.map +1 -1
  36. package/dist/src/layouts/Card/BaseCard.vue.d.ts +33 -0
  37. package/dist/src/layouts/Card/BaseCard.vue.d.ts.map +1 -0
  38. package/dist/src/layouts/Card/KdsCard.vue.d.ts +22 -0
  39. package/dist/src/layouts/Card/KdsCard.vue.d.ts.map +1 -0
  40. package/dist/src/layouts/Card/KdsClickableCard.vue.d.ts +50 -0
  41. package/dist/src/layouts/Card/KdsClickableCard.vue.d.ts.map +1 -0
  42. package/dist/src/layouts/Card/KdsLinkCard.vue.d.ts +46 -0
  43. package/dist/src/layouts/Card/KdsLinkCard.vue.d.ts.map +1 -0
  44. package/dist/src/layouts/{KdsCardClickable/KdsCardClickable.vue.d.ts → Card/KdsSelectableCard.vue.d.ts} +7 -9
  45. package/dist/src/layouts/Card/KdsSelectableCard.vue.d.ts.map +1 -0
  46. package/dist/src/layouts/Card/enums.d.ts.map +1 -0
  47. package/dist/src/layouts/Card/index.d.ts +7 -0
  48. package/dist/src/layouts/Card/index.d.ts.map +1 -0
  49. package/dist/src/layouts/Card/types.d.ts +36 -0
  50. package/dist/src/layouts/Card/types.d.ts.map +1 -0
  51. package/dist/src/layouts/ContainerHeader/KdsContainerHeader.vue.d.ts +20 -0
  52. package/dist/src/layouts/ContainerHeader/KdsContainerHeader.vue.d.ts.map +1 -0
  53. package/dist/src/layouts/ContainerHeader/index.d.ts +3 -0
  54. package/dist/src/layouts/ContainerHeader/index.d.ts.map +1 -0
  55. package/dist/src/layouts/ContainerHeader/types.d.ts +7 -0
  56. package/dist/src/layouts/ContainerHeader/types.d.ts.map +1 -0
  57. package/dist/src/layouts/TabBar/KdsTabBar.vue.d.ts.map +1 -1
  58. package/dist/src/layouts/index.d.ts +4 -2
  59. package/dist/src/layouts/index.d.ts.map +1 -1
  60. package/dist/src/overlays/Modal/KdsModal.vue.d.ts +1 -1
  61. package/dist/src/types/linkTypes.d.ts.map +1 -0
  62. package/package.json +2 -2
  63. package/dist/src/buttons/links/linkTypes.d.ts.map +0 -1
  64. package/dist/src/layouts/KdsCardClickable/KdsCardClickable.vue.d.ts.map +0 -1
  65. package/dist/src/layouts/KdsCardClickable/enums.d.ts.map +0 -1
  66. package/dist/src/layouts/KdsCardClickable/index.d.ts +0 -4
  67. package/dist/src/layouts/KdsCardClickable/index.d.ts.map +0 -1
  68. package/dist/src/layouts/KdsCardClickable/types.d.ts +0 -69
  69. package/dist/src/layouts/KdsCardClickable/types.d.ts.map +0 -1
  70. /package/dist/src/layouts/{KdsCardClickable → Card}/enums.d.ts +0 -0
  71. /package/dist/src/{buttons/links → types}/linkTypes.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"demo-user.d.ts","sourceRoot":"","sources":["../../../../src/accessories/Avatar/demo-user.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,+r/oLACoq/oL,CAAC"}
1
+ {"version":3,"file":"demo-user.d.ts","sourceRoot":"","sources":["../../../../src/accessories/Avatar/demo-user.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,+nvGAComvG,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export { default as KdsAvatar } from './KdsAvatar.vue';
2
+ export { default as KdsAvatarCounter } from './KdsAvatarCounter.vue';
2
3
  export { kdsAvatarSize, kdsAvatarSizes } from './enums';
3
4
  export type * from './types';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/accessories/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACxD,mBAAmB,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/accessories/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACxD,mBAAmB,SAAS,CAAC"}
@@ -16,4 +16,22 @@ export type KdsAvatarProps = {
16
16
  /** Tooltip text shown on hover and aria label. */
17
17
  title?: string;
18
18
  };
19
+ export type KdsAvatarCounterProps = {
20
+ /**
21
+ * Number of avatars that are not shown.
22
+ */
23
+ moreCount?: number;
24
+ /**
25
+ * Size of the avatar.
26
+ * - Use "small" and "large" mainly for list item accessories.
27
+ * - Use "xlarge" for standalone avatars.
28
+ *
29
+ * Defaults to "xlarge".
30
+ */
31
+ size?: KdsAvatarSize;
32
+ /**
33
+ * Config of the shown avatars
34
+ */
35
+ avatars: Array<Omit<KdsAvatarProps, "size">>;
36
+ };
19
37
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/accessories/Avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE/E,MAAM,MAAM,cAAc,GAAG;IAC3B,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,CAAC;IAEjB,gGAAgG;IAChG,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IAErB,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/accessories/Avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE/E,MAAM,MAAM,cAAc,GAAG;IAC3B,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,CAAC;IAEjB,gGAAgG;IAChG,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IAErB,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IAErB;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC;CAC9C,CAAC"}
@@ -4,7 +4,7 @@ export declare const kdsLiveStatusStatus: {
4
4
  readonly GREEN: "green";
5
5
  readonly DISABLED: "disabled";
6
6
  };
7
- export declare const kdsLiveStatusStatuses: ("disabled" | "green" | "orange" | "red")[];
7
+ export declare const kdsLiveStatusStatuses: ("red" | "orange" | "green" | "disabled")[];
8
8
  export declare const kdsLiveStatusSize: {
9
9
  readonly LARGE: "large";
10
10
  readonly MEDIUM: "medium";
@@ -1,4 +1,4 @@
1
- import { WithAnchorElementAttributes, WithLinkNavigation } from '../linkTypes';
1
+ import { WithAnchorElementAttributes, WithLinkNavigation } from '../../../types/linkTypes';
2
2
  type KdsLinkBaseProps = {
3
3
  /**
4
4
  * Label rendered as the clickable link text.
@@ -1 +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"}
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,0BAA0B,CAAC;AAElC,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"}
@@ -3,24 +3,24 @@ declare const _default: import('vue').DefineComponent<(import('../../types').Kds
3
3
  leadingIcon?: import('../../..').KdsIconName;
4
4
  trailingIcon?: import('../../..').KdsIconName;
5
5
  ariaLabel?: never;
6
- } & import('../../types').WithDestructive & import('../linkTypes').WithLinkNavigation & import('../linkTypes').WithAnchorElementAttributes) | (import('../../types').KdsButtonCommonProps & {
6
+ } & import('../../types').WithDestructive & import('../../../types/linkTypes').WithLinkNavigation & import('../../../types/linkTypes').WithAnchorElementAttributes) | (import('../../types').KdsButtonCommonProps & {
7
7
  label?: never;
8
8
  leadingIcon: import('../../..').KdsIconName;
9
9
  trailingIcon?: never;
10
10
  ariaLabel: string;
11
- } & import('../../types').WithDestructive & import('../linkTypes').WithLinkNavigation & import('../linkTypes').WithAnchorElementAttributes), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ } & import('../../types').WithDestructive & import('../../../types/linkTypes').WithLinkNavigation & import('../../../types/linkTypes').WithAnchorElementAttributes), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
12
  click: (event: MouseEvent) => any;
13
13
  }, string, import('vue').PublicProps, Readonly<(import('../../types').KdsButtonCommonProps & {
14
14
  label: string;
15
15
  leadingIcon?: import('../../..').KdsIconName;
16
16
  trailingIcon?: import('../../..').KdsIconName;
17
17
  ariaLabel?: never;
18
- } & import('../../types').WithDestructive & import('../linkTypes').WithLinkNavigation & import('../linkTypes').WithAnchorElementAttributes) | (import('../../types').KdsButtonCommonProps & {
18
+ } & import('../../types').WithDestructive & import('../../../types/linkTypes').WithLinkNavigation & import('../../../types/linkTypes').WithAnchorElementAttributes) | (import('../../types').KdsButtonCommonProps & {
19
19
  label?: never;
20
20
  leadingIcon: import('../../..').KdsIconName;
21
21
  trailingIcon?: never;
22
22
  ariaLabel: string;
23
- } & import('../../types').WithDestructive & import('../linkTypes').WithLinkNavigation & import('../linkTypes').WithAnchorElementAttributes)> & Readonly<{
23
+ } & import('../../types').WithDestructive & import('../../../types/linkTypes').WithLinkNavigation & import('../../../types/linkTypes').WithAnchorElementAttributes)> & Readonly<{
24
24
  onClick?: ((event: MouseEvent) => any) | undefined;
25
25
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
26
  export default _default;
@@ -1,4 +1,4 @@
1
+ import { WithAnchorElementAttributes, WithLinkNavigation } from '../../../types/linkTypes';
1
2
  import { KdsButtonCommonProps, WithDestructive, WithLabelAndIcons } from '../../types';
2
- import { WithAnchorElementAttributes, WithLinkNavigation } from '../linkTypes';
3
3
  export type KdsLinkButtonProps = KdsButtonCommonProps & WithLabelAndIcons & WithDestructive & WithLinkNavigation & WithAnchorElementAttributes;
4
4
  //# sourceMappingURL=types.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/buttons/links/KdsLinkButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,kBAAkB,EACnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GACnD,iBAAiB,GACjB,eAAe,GACf,kBAAkB,GAClB,2BAA2B,CAAC"}
@@ -6,6 +6,7 @@ export declare const kdsListItemVariants: ("small" | "large")[];
6
6
  export declare const kdsListItemRole: {
7
7
  readonly OPTION: "option";
8
8
  readonly MENUITEM: "menuitem";
9
+ readonly LISTITEM: "listitem";
9
10
  };
10
- export declare const kdsListItemRoles: ("option" | "menuitem")[];
11
+ export declare const kdsListItemRoles: ("option" | "menuitem" | "listitem")[];
11
12
  //# sourceMappingURL=enums.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ListItem/KdsListItem/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,uBAAoC,CAAC;AAErE,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AAEX,eAAO,MAAM,gBAAgB,2BAAiC,CAAC"}
1
+ {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ListItem/KdsListItem/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,uBAAoC,CAAC;AAErE,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAEX,eAAO,MAAM,gBAAgB,wCAAiC,CAAC"}
@@ -14,7 +14,7 @@ export type KdsListItemProps = {
14
14
  /** Unique identifier for the list item (also used as DOM id for aria-activedescendant patterns). */
15
15
  id: string;
16
16
  /** Text shown in the list item. */
17
- label: string;
17
+ text: string;
18
18
  /** Optional leading accessory (icon, data type, color swatch, avatar, or live status). */
19
19
  accessory?: KdsListItemAccessory;
20
20
  /** One or two-line subtext shown below the label */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ListItem/KdsListItem/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,oGAAoG;IACpG,EAAE,EAAE,MAAM,CAAC;IAEX,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IAEd,0FAA0F;IAC1F,SAAS,CAAC,EAAE,oBAAoB,CAAC;IAEjC,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,mGAAmG;IACnG,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B;;;OAGG;IACH,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,eAAe,CAAC;KAC3B,CAAC;IAEF,+HAA+H;IAC/H,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,0FAA0F;IAC1F,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,uBAAuB;IACvB,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ListItem/KdsListItem/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,oGAAoG;IACpG,EAAE,EAAE,MAAM,CAAC;IAEX,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IAEb,0FAA0F;IAC1F,SAAS,CAAC,EAAE,oBAAoB,CAAC;IAEjC,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,mGAAmG;IACnG,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B;;;OAGG;IACH,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,eAAe,CAAC;KAC3B,CAAC;IAEF,+HAA+H;IAC/H,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,0FAA0F;IAC1F,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,uBAAuB;IACvB,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { KdsPreviewListProps } from './types';
2
+ type __VLS_Props = KdsPreviewListProps;
3
+ type __VLS_PublicProps = {
4
+ "expanded"?: boolean;
5
+ } & __VLS_Props;
6
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:expanded": (value: boolean) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ "onUpdate:expanded"?: ((value: boolean) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
11
+ export default _default;
12
+ //# sourceMappingURL=KdsPreviewList.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdsPreviewList.vue.d.ts","sourceRoot":"","sources":["../../../../../src/containers/PreviewList/KdsPreviewList/KdsPreviewList.vue"],"names":[],"mappings":"AAqOA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAKnD,KAAK,WAAW,GAAG,mBAAmB,CAAC;AA2CvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;AA0NhB,wBAQG"}
@@ -0,0 +1,3 @@
1
+ export { default as KdsPreviewList } from './KdsPreviewList.vue';
2
+ export type * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/PreviewList/KdsPreviewList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACjE,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,48 @@
1
+ import { KdsIconName } from '../../../accessories';
2
+ import { KdsButtonProps } from '../../../buttons';
3
+ import { KdsListItemProps } from '../../ListItem/KdsListItem';
4
+ /**
5
+ * Item shown in a `KdsPreviewList`. A reduced subset of `KdsListItem` —
6
+ * only the fields the preview list actually renders. Section headlines and
7
+ * separators are intentionally not supported.
8
+ */
9
+ export type KdsPreviewListItem = Pick<KdsListItemProps, "id" | "text" | "accessory">;
10
+ export type KdsPreviewListProps = {
11
+ /** Headline shown in the header row. */
12
+ headline: string;
13
+ /**
14
+ * Icon shown before the label in the header.
15
+ * Hidden when collapsed and `loading` is `true` (replaced by a loading spinner).
16
+ */
17
+ leadingIcon?: KdsIconName;
18
+ /**
19
+ * When `true`, the body shows a loading state instead of items / empty state.
20
+ * When the list is collapsed, the leading icon in the header is replaced by
21
+ * a loading spinner so loading remains visible.
22
+ */
23
+ loading?: boolean;
24
+ /**
25
+ * Optional button shown at the trailing end of the header row.
26
+ * Pass `KdsButton` props except `size` and `variant` (e.g. `label`,
27
+ * `leadingIcon`, `ariaLabel`). The button is always rendered with
28
+ * `size="xsmall"` and `variant="transparent"`.
29
+ */
30
+ trailingButton?: Omit<KdsButtonProps, "size" | "variant"> & {
31
+ /** Click handler invoked when the trailing button is activated. */
32
+ onClick?: (event: MouseEvent) => void;
33
+ };
34
+ /** Items to render in the list body. */
35
+ items: KdsPreviewListItem[];
36
+ /**
37
+ * Headline shown in the empty state when `items` is empty.
38
+ * @default "No entries"
39
+ */
40
+ emptyStateHeadline?: string;
41
+ /**
42
+ * Maximum number of items visible in the expanded list before vertical
43
+ * scrolling kicks in. Values below `1` are clamped to `1`.
44
+ * @default 6
45
+ */
46
+ maxVisibleItems?: number;
47
+ };
48
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/containers/PreviewList/KdsPreviewList/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,gBAAgB,EAChB,IAAI,GAAG,MAAM,GAAG,WAAW,CAC5B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG;QAC1D,mEAAmE;QACnE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;KACvC,CAAC;IACF,wCAAwC;IACxC,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAC5B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './KdsPreviewList';
2
+ export type * from './KdsPreviewList';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/PreviewList/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,mBAAmB,kBAAkB,CAAC"}
@@ -4,5 +4,7 @@ export * from './Menu';
4
4
  export type * from './Menu';
5
5
  export * from './ContextMenu';
6
6
  export type * from './ContextMenu';
7
+ export * from './PreviewList';
8
+ export type * from './PreviewList';
7
9
  export type { KdsMenuItem } from './MenuContainer/types';
8
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"KdsTextarea.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/Textarea/KdsTextarea.vue"],"names":[],"mappings":";iBA+La,MAAM;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;AAgFnB,wBAUG"}
1
+ {"version":3,"file":"KdsTextarea.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/Textarea/KdsTextarea.vue"],"names":[],"mappings":";iBA+Ma,MAAM;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;AAgFnB,wBAUG"}
@@ -0,0 +1,33 @@
1
+ import { KdsCardVariant } from './types';
2
+ type BaseCardProps = {
3
+ /**
4
+ * The visual style of the card container
5
+ */
6
+ variant: KdsCardVariant;
7
+ /**
8
+ * Clickable styles like hover.
9
+ */
10
+ clickable?: boolean;
11
+ /**
12
+ * Styles the card as selected. Does not store any data.
13
+ */
14
+ selected?: boolean;
15
+ };
16
+ declare function __VLS_template(): {
17
+ attrs: Partial<{}>;
18
+ slots: {
19
+ default?(_: {}): any;
20
+ };
21
+ refs: {};
22
+ rootEl: HTMLDivElement;
23
+ };
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: import('vue').DefineComponent<BaseCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
+ export default _default;
28
+ type __VLS_WithTemplateSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
33
+ //# sourceMappingURL=BaseCard.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/BaseCard.vue"],"names":[],"mappings":"AA+JA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,KAAK,aAAa,GAAG;IACnB;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;IAExB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAYF,iBAAS,cAAc;WAkCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,iTAOnB,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"}
@@ -0,0 +1,22 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{
11
+ variant?: import('./types').KdsCardVariant;
12
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
13
+ variant?: import('./types').KdsCardVariant;
14
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
22
+ //# sourceMappingURL=KdsCard.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdsCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/KdsCard.vue"],"names":[],"mappings":"AAuBA,iBAAS,cAAc;WAmCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;4GAOnB,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"}
@@ -0,0 +1,50 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<({
11
+ variant?: import('./types').KdsCardVariant;
12
+ } & {
13
+ disabled?: boolean;
14
+ } & {
15
+ ariaLabel: string;
16
+ ariaLabelledby?: never;
17
+ }) | ({
18
+ variant?: import('./types').KdsCardVariant;
19
+ } & {
20
+ disabled?: boolean;
21
+ } & {
22
+ ariaLabel?: never;
23
+ ariaLabelledby: string;
24
+ }), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ click: (event: MouseEvent) => any;
26
+ }, string, import('vue').PublicProps, Readonly<({
27
+ variant?: import('./types').KdsCardVariant;
28
+ } & {
29
+ disabled?: boolean;
30
+ } & {
31
+ ariaLabel: string;
32
+ ariaLabelledby?: never;
33
+ }) | ({
34
+ variant?: import('./types').KdsCardVariant;
35
+ } & {
36
+ disabled?: boolean;
37
+ } & {
38
+ ariaLabel?: never;
39
+ ariaLabelledby: string;
40
+ })> & Readonly<{
41
+ onClick?: ((event: MouseEvent) => any) | undefined;
42
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
43
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
44
+ export default _default;
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
50
+ //# sourceMappingURL=KdsClickableCard.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdsClickableCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/KdsClickableCard.vue"],"names":[],"mappings":"AAiGA,iBAAS,cAAc;WAgDT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6FAQnB,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"}
@@ -0,0 +1,46 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<(import('../../types/linkTypes').WithLinkNavigation & import('../../types/linkTypes').WithAnchorElementAttributes & {
11
+ variant?: import('./types').KdsCardVariant;
12
+ } & {
13
+ disabled?: boolean;
14
+ } & {
15
+ ariaLabel: string;
16
+ ariaLabelledby?: never;
17
+ }) | (import('../../types/linkTypes').WithLinkNavigation & import('../../types/linkTypes').WithAnchorElementAttributes & {
18
+ variant?: import('./types').KdsCardVariant;
19
+ } & {
20
+ disabled?: boolean;
21
+ } & {
22
+ ariaLabel?: never;
23
+ ariaLabelledby: string;
24
+ }), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<(import('../../types/linkTypes').WithLinkNavigation & import('../../types/linkTypes').WithAnchorElementAttributes & {
25
+ variant?: import('./types').KdsCardVariant;
26
+ } & {
27
+ disabled?: boolean;
28
+ } & {
29
+ ariaLabel: string;
30
+ ariaLabelledby?: never;
31
+ }) | (import('../../types/linkTypes').WithLinkNavigation & import('../../types/linkTypes').WithAnchorElementAttributes & {
32
+ variant?: import('./types').KdsCardVariant;
33
+ } & {
34
+ disabled?: boolean;
35
+ } & {
36
+ ariaLabel?: never;
37
+ ariaLabelledby: string;
38
+ })> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
39
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
40
+ export default _default;
41
+ type __VLS_WithTemplateSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };
46
+ //# sourceMappingURL=KdsLinkCard.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdsLinkCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/KdsLinkCard.vue"],"names":[],"mappings":"AAgGA,iBAAS,cAAc;WAoET,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;6GAOnB,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"}
@@ -4,14 +4,14 @@ declare function __VLS_template(): {
4
4
  default?(_: {}): any;
5
5
  };
6
6
  refs: {};
7
- rootEl: HTMLButtonElement;
7
+ rootEl: HTMLDivElement;
8
8
  };
9
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
10
  declare const __VLS_component: import('vue').DefineComponent<({
11
11
  modelValue?: boolean;
12
12
  } & {
13
13
  variant?: import('./types').KdsCardVariant;
14
- selectable?: boolean;
14
+ } & {
15
15
  disabled?: boolean;
16
16
  } & {
17
17
  ariaLabel: string;
@@ -20,19 +20,18 @@ declare const __VLS_component: import('vue').DefineComponent<({
20
20
  modelValue?: boolean;
21
21
  } & {
22
22
  variant?: import('./types').KdsCardVariant;
23
- selectable?: boolean;
23
+ } & {
24
24
  disabled?: boolean;
25
25
  } & {
26
26
  ariaLabel?: never;
27
27
  ariaLabelledby: string;
28
28
  }), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
- click: (event: MouseEvent) => any;
30
29
  "update:modelValue": (value: boolean) => any;
31
30
  }, string, import('vue').PublicProps, Readonly<({
32
31
  modelValue?: boolean;
33
32
  } & {
34
33
  variant?: import('./types').KdsCardVariant;
35
- selectable?: boolean;
34
+ } & {
36
35
  disabled?: boolean;
37
36
  } & {
38
37
  ariaLabel: string;
@@ -41,15 +40,14 @@ declare const __VLS_component: import('vue').DefineComponent<({
41
40
  modelValue?: boolean;
42
41
  } & {
43
42
  variant?: import('./types').KdsCardVariant;
44
- selectable?: boolean;
43
+ } & {
45
44
  disabled?: boolean;
46
45
  } & {
47
46
  ariaLabel?: never;
48
47
  ariaLabelledby: string;
49
48
  })> & Readonly<{
50
- onClick?: ((event: MouseEvent) => any) | undefined;
51
49
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
52
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
50
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
53
51
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
54
52
  export default _default;
55
53
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -57,4 +55,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
57
55
  $slots: S;
58
56
  };
59
57
  };
60
- //# sourceMappingURL=KdsCardClickable.vue.d.ts.map
58
+ //# sourceMappingURL=KdsSelectableCard.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdsSelectableCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/KdsSelectableCard.vue"],"names":[],"mappings":"AA2GA,iBAAS,cAAc;WAmDT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;iBA3ER,OAAO;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;iBAAP,OAAO;;;;;;;;;;6FAmFlB,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"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAEX,eAAO,MAAM,eAAe,2CAAgC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export { default as KdsCard } from './KdsCard.vue';
2
+ export { default as KdsClickableCard } from './KdsClickableCard.vue';
3
+ export { default as KdsLinkCard } from './KdsLinkCard.vue';
4
+ export { default as KdsSelectableCard } from './KdsSelectableCard.vue';
5
+ export type * from './types';
6
+ export { kdsCardVariant, kdsCardVariants } from './enums';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,mBAAmB,SAAS,CAAC;AAE7B,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { WithAnchorElementAttributes, WithLinkNavigation } from '../../types/linkTypes';
2
+ import { kdsCardVariant } from './enums';
3
+ export type KdsCardVariant = (typeof kdsCardVariant)[keyof typeof kdsCardVariant];
4
+ export type KdsCardAriaProps = {
5
+ /**
6
+ * Accessible label for the card. Use this when providing a simple text label.
7
+ * Either ariaLabel or ariaLabelledby must be provided, but not both.
8
+ */
9
+ ariaLabel: string;
10
+ /**
11
+ * ID of an element that labels the card. Use this when the label already exists elsewhere in the DOM.
12
+ * Either ariaLabel or ariaLabelledby must be provided, but not both.
13
+ */
14
+ ariaLabelledby?: never;
15
+ } | {
16
+ ariaLabel?: never;
17
+ ariaLabelledby: string;
18
+ };
19
+ type WithVariant = {
20
+ /**
21
+ * The visual style of the card container
22
+ */
23
+ variant?: KdsCardVariant;
24
+ };
25
+ type WithDisabled = {
26
+ /**
27
+ * Disables the link, not clickable nor focusable if true
28
+ */
29
+ disabled?: boolean;
30
+ };
31
+ export type KdsCardProps = WithVariant;
32
+ export type KdsClickableCardProps = WithVariant & WithDisabled & KdsCardAriaProps;
33
+ export type KdsLinkCardProps = WithLinkNavigation & WithAnchorElementAttributes & WithVariant & WithDisabled & KdsCardAriaProps;
34
+ export type KdsSelectableCardProps = WithVariant & WithDisabled & KdsCardAriaProps;
35
+ export {};
36
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GACxB;IACE;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACE,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEN,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC;AAEvC,MAAM,MAAM,qBAAqB,GAAG,WAAW,GAC7C,YAAY,GACZ,gBAAgB,CAAC;AAEnB,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,GAC/C,2BAA2B,GAC3B,WAAW,GACX,YAAY,GACZ,gBAAgB,CAAC;AAEnB,MAAM,MAAM,sBAAsB,GAAG,WAAW,GAC9C,YAAY,GACZ,gBAAgB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { KdsContainerHeaderProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ accessory?(_: {}): any;
6
+ actions?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: HTMLDivElement;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<KdsContainerHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsContainerHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
20
+ //# sourceMappingURL=KdsContainerHeader.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdsContainerHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/ContainerHeader/KdsContainerHeader.vue"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAQvD,iBAAS,cAAc;WA8CT,OAAO,IAA6B;;2BAXnB,GAAG;yBACL,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,qUAOnB,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"}
@@ -0,0 +1,3 @@
1
+ export { default as KdsContainerHeader } from './KdsContainerHeader.vue';
2
+ export type * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/ContainerHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type KdsContainerHeaderProps = {
2
+ /**
3
+ * The title of the container header.
4
+ */
5
+ title: string;
6
+ };
7
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layouts/ContainerHeader/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"KdsTabBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/TabBar/KdsTabBar.vue"],"names":[],"mappings":"AA2UA,OAAO,KAAK,EAAiB,cAAc,EAAE,MAAM,SAAS,CAAC;AAG7D,KAAK,WAAW,GAAG,cAAc,CAAC;AAiJlC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,GAAG,WAAW,CAAC;;;;;;;;AAmIhB,wBASG"}
1
+ {"version":3,"file":"KdsTabBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/TabBar/KdsTabBar.vue"],"names":[],"mappings":"AA4UA,OAAO,KAAK,EAAiB,cAAc,EAAE,MAAM,SAAS,CAAC;AAG7D,KAAK,WAAW,GAAG,cAAc,CAAC;AAiJlC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,GAAG,WAAW,CAAC;;;;;;;;AAmIhB,wBASG"}