@cupra/ui-kit 1.1.0-canary.13 → 1.1.0-canary.15

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 (81) hide show
  1. package/dist/cjs/components/ds-list/ds-list.cjs +9 -0
  2. package/dist/cjs/components/ds-list/styles/common.styles.cjs +7 -0
  3. package/dist/cjs/components/ds-list/styles/cupra-diagonal.styles.cjs +38 -0
  4. package/dist/cjs/components/ds-list-item/ds-list-item.cjs +36 -0
  5. package/dist/cjs/components/ds-list-item/styles/common.styles.cjs +6 -0
  6. package/dist/cjs/components/ds-list-item/styles/cupra-diagonal.styles.cjs +108 -0
  7. package/dist/cjs/components/ds-textarea/ds-textarea.cjs +3 -3
  8. package/dist/cjs/components/ds-theme-provider/ds-theme-provider.cjs +1 -1
  9. package/dist/cjs/index.cjs +1 -1
  10. package/dist/cjs/utils/IconsManager.cjs +1 -1
  11. package/dist/cjs/utils/PubSub.cjs +1 -1
  12. package/dist/cjs/utils/StylesRegistry/StylesRegistry.cjs +1 -1
  13. package/dist/cjs/utils/cssWithTokens.cjs +1 -1
  14. package/dist/cjs/utils/htmlWithTokens.cjs +1 -1
  15. package/dist/esm/components/ds-list/ds-list.js +46 -0
  16. package/dist/esm/components/ds-list/styles/common.styles.js +11 -0
  17. package/dist/esm/components/ds-list/styles/cupra-diagonal.styles.js +42 -0
  18. package/dist/esm/components/ds-list-item/ds-list-item.js +114 -0
  19. package/dist/esm/components/ds-list-item/styles/common.styles.js +10 -0
  20. package/dist/esm/components/ds-list-item/styles/cupra-diagonal.styles.js +112 -0
  21. package/dist/esm/components/ds-textarea/ds-textarea.js +41 -38
  22. package/dist/esm/components/ds-theme-provider/ds-theme-provider.js +1 -1
  23. package/dist/esm/index.js +4 -2
  24. package/dist/esm/utils/IconsManager.js +15 -15
  25. package/dist/esm/utils/PubSub.js +1 -1
  26. package/dist/esm/utils/StylesRegistry/StylesRegistry.js +6 -5
  27. package/dist/esm/utils/cssWithTokens.js +1 -1
  28. package/dist/esm/utils/htmlWithTokens.js +1 -1
  29. package/dist/types/components/ds-list/ds-list.d.ts +10 -0
  30. package/dist/types/components/ds-list/ds-list.test.d.ts +8 -0
  31. package/dist/types/components/ds-list/ds-list.types.d.ts +4 -0
  32. package/dist/types/components/ds-list/styles/common.styles.d.ts +1 -0
  33. package/dist/types/components/ds-list/styles/cupra-diagonal.styles.d.ts +1 -0
  34. package/dist/types/components/ds-list-item/ds-list-item.d.ts +20 -0
  35. package/dist/types/components/ds-list-item/ds-list-item.test.d.ts +8 -0
  36. package/dist/types/components/ds-list-item/ds-list-item.types.d.ts +7 -0
  37. package/dist/types/components/ds-list-item/styles/common.styles.d.ts +1 -0
  38. package/dist/types/components/ds-list-item/styles/cupra-diagonal.styles.d.ts +1 -0
  39. package/dist/types/components/ds-textarea/ds-textarea.d.ts +1 -1
  40. package/dist/types/components/index.d.ts +2 -0
  41. package/dist-react/cjs/components/ds-list/ds-list.cjs +9 -0
  42. package/dist-react/cjs/components/ds-list/styles/common.styles.cjs +7 -0
  43. package/dist-react/cjs/components/ds-list/styles/cupra-diagonal.styles.cjs +38 -0
  44. package/dist-react/cjs/components/ds-list-item/ds-list-item.cjs +36 -0
  45. package/dist-react/cjs/components/ds-list-item/styles/common.styles.cjs +6 -0
  46. package/dist-react/cjs/components/ds-list-item/styles/cupra-diagonal.styles.cjs +108 -0
  47. package/dist-react/cjs/components/ds-textarea/ds-textarea.cjs +3 -3
  48. package/dist-react/cjs/components/ds-theme-provider/ds-theme-provider.cjs +1 -1
  49. package/dist-react/cjs/index.cjs +1 -1
  50. package/dist-react/cjs/utils/IconsManager.cjs +1 -1
  51. package/dist-react/cjs/utils/PubSub.cjs +1 -1
  52. package/dist-react/cjs/utils/StylesRegistry/StylesRegistry.cjs +1 -1
  53. package/dist-react/cjs/utils/cssWithTokens.cjs +1 -1
  54. package/dist-react/cjs/utils/htmlWithTokens.cjs +1 -1
  55. package/dist-react/esm/components/ds-list/ds-list.js +46 -0
  56. package/dist-react/esm/components/ds-list/styles/common.styles.js +11 -0
  57. package/dist-react/esm/components/ds-list/styles/cupra-diagonal.styles.js +42 -0
  58. package/dist-react/esm/components/ds-list-item/ds-list-item.js +114 -0
  59. package/dist-react/esm/components/ds-list-item/styles/common.styles.js +10 -0
  60. package/dist-react/esm/components/ds-list-item/styles/cupra-diagonal.styles.js +112 -0
  61. package/dist-react/esm/components/ds-textarea/ds-textarea.js +41 -38
  62. package/dist-react/esm/components/ds-theme-provider/ds-theme-provider.js +1 -1
  63. package/dist-react/esm/index.js +4 -2
  64. package/dist-react/esm/utils/IconsManager.js +15 -15
  65. package/dist-react/esm/utils/PubSub.js +1 -1
  66. package/dist-react/esm/utils/StylesRegistry/StylesRegistry.js +6 -5
  67. package/dist-react/esm/utils/cssWithTokens.js +1 -1
  68. package/dist-react/esm/utils/htmlWithTokens.js +1 -1
  69. package/dist-react/types/components/ds-list/ds-list.d.ts +10 -0
  70. package/dist-react/types/components/ds-list/ds-list.test.d.ts +8 -0
  71. package/dist-react/types/components/ds-list/ds-list.types.d.ts +4 -0
  72. package/dist-react/types/components/ds-list/styles/common.styles.d.ts +1 -0
  73. package/dist-react/types/components/ds-list/styles/cupra-diagonal.styles.d.ts +1 -0
  74. package/dist-react/types/components/ds-list-item/ds-list-item.d.ts +20 -0
  75. package/dist-react/types/components/ds-list-item/ds-list-item.test.d.ts +8 -0
  76. package/dist-react/types/components/ds-list-item/ds-list-item.types.d.ts +7 -0
  77. package/dist-react/types/components/ds-list-item/styles/common.styles.d.ts +1 -0
  78. package/dist-react/types/components/ds-list-item/styles/cupra-diagonal.styles.d.ts +1 -0
  79. package/dist-react/types/components/ds-textarea/ds-textarea.d.ts +1 -1
  80. package/dist-react/types/components/index.d.ts +2 -0
  81. package/package.json +1 -1
@@ -1,30 +1,33 @@
1
- import { UiKitElement as u } from "../base/UiKitElement.js";
2
- import { customUiKitElement as m } from "../../decorators/customUiKitElement.js";
3
- import { inputStatesMixin as c } from "../../mixins/inputStatesMixin.js";
4
- import { validateMaxLength as f } from "../../utils/validateMaxLength.js";
1
+ import { UiKitElement as m } from "../base/UiKitElement.js";
2
+ import { customUiKitElement as u } from "../../decorators/customUiKitElement.js";
3
+ import { ViewportMixin as c } from "../../mixins/ViewportMixin.js";
4
+ import { inputStatesMixin as f } from "../../mixins/inputStatesMixin.js";
5
+ import { objectConverter as v } from "../../utils/objectConverter.js";
6
+ import { validateMaxLength as x } from "../../utils/validateMaxLength.js";
5
7
  import "../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";
6
- import { html as n, nothing as l } from "../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";
8
+ import { html as a, nothing as l } from "../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";
7
9
  import "../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";
8
10
  import { property as p } from "../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";
9
- import { classMap as v } from "../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js";
10
- import { commonStyles as x } from "./styles/common.styles.js";
11
- var g = Object.defineProperty, E = Object.getOwnPropertyDescriptor, a = (r, e, o, i) => {
12
- for (var s = i > 1 ? void 0 : i ? E(e, o) : e, h = r.length - 1, d; h >= 0; h--)
13
- (d = r[h]) && (s = (i ? d(e, o, s) : d(s)) || s);
14
- return i && s && g(e, o, s), s;
11
+ import { classMap as g } from "../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js";
12
+ import { commonStyles as E } from "./styles/common.styles.js";
13
+ var y = Object.defineProperty, S = Object.getOwnPropertyDescriptor, n = (t, e, o, i) => {
14
+ for (var s = i > 1 ? void 0 : i ? S(e, o) : e, h = t.length - 1, d; h >= 0; h--)
15
+ (d = t[h]) && (s = (i ? d(e, o, s) : d(s)) || s);
16
+ return i && s && y(e, o, s), s;
15
17
  };
16
- let t = class extends c(u) {
18
+ let r = class extends f(c(m)) {
17
19
  constructor() {
18
20
  super(...arguments), this.keyboardMode = !1, this.size = "medium", this.helperText = "", this.forcedError = "", this.invalidError = "", this.mode = "light";
19
21
  }
20
- onInputReady(r) {
21
- r.classList.add("ds-scroll");
22
+ onInputReady(t) {
23
+ t.classList.add("ds-scroll");
22
24
  }
23
25
  get classes() {
26
+ const t = typeof this.size == "string" ? this.size : this.size[this.viewport];
24
27
  return {
25
28
  container: !0,
26
29
  error: !!this.forcedError,
27
- [this.size]: !!this.size,
30
+ [t]: !!t,
28
31
  [this.mode]: !!this.mode,
29
32
  disabled: this.inputStates.disabled,
30
33
  filled: this.inputStates.filled,
@@ -34,8 +37,8 @@ let t = class extends c(u) {
34
37
  };
35
38
  }
36
39
  render() {
37
- return n`
38
- <div class=${v(this.classes)}>
40
+ return a`
41
+ <div class=${g(this.classes)}>
39
42
  <div class="input-container">
40
43
  <slot></slot>
41
44
  </div>
@@ -50,38 +53,38 @@ let t = class extends c(u) {
50
53
  }
51
54
  get lengthTemplate() {
52
55
  var e, o, i;
53
- const r = (o = (e = this.nativeInput) == null ? void 0 : e.maxLength) == null ? void 0 : o.toString();
54
- return f(r) ? n`<span class="char-counter">${((i = this.inputStates.currentValue) == null ? void 0 : i.length) || 0}/${r}</span>` : l;
56
+ const t = (o = (e = this.nativeInput) == null ? void 0 : e.maxLength) == null ? void 0 : o.toString();
57
+ return x(t) ? a`<span class="char-counter">${((i = this.inputStates.currentValue) == null ? void 0 : i.length) || 0}/${t}</span>` : l;
55
58
  }
56
59
  get helperTextTemplate() {
57
- return this.forcedError || this.inputStates.invalid && this.invalidError ? l : n`<span class="support-text helper-text">${this.helperText}</span>`;
60
+ return this.forcedError || this.inputStates.invalid && this.invalidError ? l : a`<span class="support-text helper-text">${this.helperText}</span>`;
58
61
  }
59
62
  get forcedErrorTemplate() {
60
- return this.forcedError ? n`<span class="support-text error-text forced-error">${this.forcedError}</span>` : l;
63
+ return this.forcedError ? a`<span class="support-text error-text forced-error">${this.forcedError}</span>` : l;
61
64
  }
62
65
  get invalidErrorTemplate() {
63
- return this.forcedError || !this.inputStates.invalid || !this.invalidError ? l : n`<span class="support-text error-text invalid-error">${this.invalidError}</span>`;
66
+ return this.forcedError || !this.inputStates.invalid || !this.invalidError ? l : a`<span class="support-text error-text invalid-error">${this.invalidError}</span>`;
64
67
  }
65
68
  };
66
- t.styles = [x];
67
- a([
68
- p({ type: String })
69
- ], t.prototype, "size", 2);
70
- a([
69
+ r.styles = [E];
70
+ n([
71
+ p({ type: String, converter: v })
72
+ ], r.prototype, "size", 2);
73
+ n([
71
74
  p({ type: String, attribute: "helper-text" })
72
- ], t.prototype, "helperText", 2);
73
- a([
75
+ ], r.prototype, "helperText", 2);
76
+ n([
74
77
  p({ type: String, attribute: "forced-error" })
75
- ], t.prototype, "forcedError", 2);
76
- a([
78
+ ], r.prototype, "forcedError", 2);
79
+ n([
77
80
  p({ type: String, attribute: "invalid-error" })
78
- ], t.prototype, "invalidError", 2);
79
- a([
81
+ ], r.prototype, "invalidError", 2);
82
+ n([
80
83
  p({ type: String })
81
- ], t.prototype, "mode", 2);
82
- t = a([
83
- m("ds-textarea")
84
- ], t);
84
+ ], r.prototype, "mode", 2);
85
+ r = n([
86
+ u("ds-textarea")
87
+ ], r);
85
88
  export {
86
- t as DsTextarea
89
+ r as DsTextarea
87
90
  };
@@ -57,7 +57,7 @@ let m = class extends F {
57
57
  }
58
58
  loadThemeStyles() {
59
59
  return this.loadStyles ? new Promise((t, o) => {
60
- const s = "/1.1.0-canary.13", r = `https://ds-assets.cupra.com${s}/styles/${this.theme}/theme.css`;
60
+ const s = "/1.1.0-canary.15", r = `https://ds-assets.cupra.com${s}/styles/${this.theme}/theme.css`;
61
61
  if (document.head.querySelector(`link[href="${r}"]`)) t();
62
62
  else {
63
63
  const e = `ui-kit-theme-${s}`, a = document.getElementById(e), n = document.createElement("link");
@@ -64,7 +64,9 @@ import "./components/ds-toggle-button/ds-toggle-button.js";
64
64
  import "./components/ds-toggle-switch/ds-toggle-switch.js";
65
65
  import "./components/ds-tooltip/ds-tooltip.js";
66
66
  import "./components/ds-media-control/ds-media-control.js";
67
- import { iconNames as bo } from "./components/ds-icon/iconNames.js";
67
+ import "./components/ds-list-item/ds-list-item.js";
68
+ import "./components/ds-list/ds-list.js";
69
+ import { iconNames as ho } from "./components/ds-icon/iconNames.js";
68
70
  export {
69
- bo as iconNames
71
+ ho as iconNames
70
72
  };
@@ -1,39 +1,39 @@
1
1
  import { THEME_STORAGE_KEY as r } from "../core/theme.constants.js";
2
- import { pubSub as l } from "./PubSub.js";
3
- class f {
2
+ import { pubSub as f } from "./PubSub.js";
3
+ class l {
4
4
  constructor() {
5
5
  this.icons = {}, this.handleChangeTheme = (e) => {
6
6
  if (this.theme === e) return;
7
7
  this.theme = e;
8
- const i = Object.keys(this.icons);
9
- this.icons = {}, i.forEach((s) => this.fetchIcon(s));
10
- }, this.fetchIcon = async (e, i = {}) => {
8
+ const n = Object.keys(this.icons);
9
+ this.icons = {}, n.forEach((s) => this.fetchIcon(s));
10
+ }, this.fetchIcon = async (e, n = {}) => {
11
11
  const s = typeof sessionStorage < "u" ? sessionStorage == null ? void 0 : sessionStorage.getItem(r) : null;
12
12
  !this.theme && s && (this.theme = s);
13
13
  const t = this.icons[e];
14
14
  if (t) return await t;
15
- const o = this.loadIcon(e, i).catch((a) => {
15
+ const o = this.loadIcon(e, n).catch((a) => {
16
16
  throw delete this.icons[e], a;
17
17
  });
18
18
  return this.icons[e] = o, o;
19
- }, this.loadIcon = (e, { cache: i = "force-cache", ...s }) => this.theme ? fetch == null ? void 0 : fetch(`https://ds-assets.cupra.com/icons/${this.theme}/${e}.svg`, {
20
- cache: i,
19
+ }, this.loadIcon = (e, { cache: n = "force-cache", ...s }) => !this.theme || typeof fetch > "u" ? Promise.resolve('<svg class="ds-icon"></svg>') : fetch(`https://ds-assets.cupra.com/icons/${this.theme}/${e}.svg`, {
20
+ cache: n,
21
21
  ...s
22
22
  }).then((t) => t.text()).catch((t) => {
23
23
  if ((t == null ? void 0 : t.name) === "AbortError") throw t;
24
24
  return console.error(`Failed to fetch icon "${e}":`, t), "";
25
- }) : Promise.resolve('<svg class="ds-icon"></svg>'), l.subscribe("theme", this.handleChangeTheme);
25
+ }), f.subscribe("theme", this.handleChangeTheme);
26
26
  }
27
27
  }
28
- const c = Symbol.for("@cupra/ui-kit/icons-manager/1.1.0-canary.13"), h = globalThis;
29
- let n = h[c];
30
- n || (n = new f(), Object.defineProperty(h, c, {
31
- value: n,
28
+ const c = Symbol.for("@cupra/ui-kit/icons-manager/1.1.0-canary.15"), h = globalThis;
29
+ let i = h[c];
30
+ i || (i = new l(), Object.defineProperty(h, c, {
31
+ value: i,
32
32
  writable: !1,
33
33
  configurable: !1,
34
34
  enumerable: !1
35
35
  }));
36
- const b = n;
36
+ const g = i;
37
37
  export {
38
- b as iconsManager
38
+ g as iconsManager
39
39
  };
@@ -18,7 +18,7 @@ class e {
18
18
  });
19
19
  }
20
20
  }
21
- const u = Symbol.for("@cupra/ui-kit/pubsub/1.1.0-canary.13"), t = globalThis;
21
+ const u = Symbol.for("@cupra/ui-kit/pubsub/1.1.0-canary.15"), t = globalThis;
22
22
  let b = t[u];
23
23
  b || (b = new e(), Object.defineProperty(t, u, {
24
24
  value: b,
@@ -5,15 +5,16 @@ class s {
5
5
  theme: t
6
6
  }) => {
7
7
  if (!t || !e) return;
8
- const c = `https://ds-assets.cupra.com/1.1.0-canary.13/styles/${t}/components/${e}.css`, r = this.getCachedStyleSheetPromise({ url: c });
9
- if (r) return r;
10
- const i = this.fetchStyle({ url: c }).then((n) => (n || this.stylePromises.delete(c), n));
11
- return this.stylePromises.set(c, i), this.stylePromises.get(c);
8
+ const r = `https://ds-assets.cupra.com/1.1.0-canary.15/styles/${t}/components/${e}.css`, c = this.getCachedStyleSheetPromise({ url: r });
9
+ if (c) return c;
10
+ const i = this.fetchStyle({ url: r }).then((n) => (n || this.stylePromises.delete(r), n));
11
+ return this.stylePromises.set(r, i), this.stylePromises.get(r);
12
12
  };
13
13
  }
14
14
  async fetchStyle({ url: e }) {
15
15
  try {
16
- const t = await (fetch == null ? void 0 : fetch(e, { cache: "force-cache" }));
16
+ if (typeof fetch > "u") return;
17
+ const t = await fetch(e, { cache: "force-cache" });
17
18
  if (t.ok) return t.text();
18
19
  } catch (t) {
19
20
  console.error(`Failed to fetch Style Sheet "${e}":`, t);
@@ -3,7 +3,7 @@ import "../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";
3
3
  import "../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";
4
4
  import { unsafeCSS as n, css as o } from "../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";
5
5
  function x(t, ...r) {
6
- const e = String.raw({ raw: t }, ...r).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-1-0-canary-13"), i = n(e);
6
+ const e = String.raw({ raw: t }, ...r).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-1-0-canary-15"), i = n(e);
7
7
  return o`${i}`;
8
8
  }
9
9
  export {
@@ -3,7 +3,7 @@ import { html as n } from "../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit
3
3
  import "../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";
4
4
  import { unsafeHTML as i } from "../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.js";
5
5
  function x(t, ...r) {
6
- const o = String.raw({ raw: t }, ...r).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-1-0-canary-13"), e = i(o);
6
+ const o = String.raw({ raw: t }, ...r).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-1-0-canary-15"), e = i(o);
7
7
  return n`${e}`;
8
8
  }
9
9
  export {
@@ -0,0 +1,10 @@
1
+ import { UiKitElement } from '../base/UiKitElement.ts';
2
+ export declare class DsList extends UiKitElement {
3
+ static styles: import("lit").CSSResult[];
4
+ size: 'small' | 'medium';
5
+ protected get classes(): {
6
+ [x: string]: boolean;
7
+ 'ds-list': boolean;
8
+ };
9
+ render(): import("lit").TemplateResult<1>;
10
+ }
@@ -0,0 +1,8 @@
1
+ import type { DsList } from './ds-list';
2
+ import './ds-list';
3
+ import '../ds-theme-provider/ds-theme-provider.ts';
4
+ declare global {
5
+ interface HTMLElementTagNameMap {
6
+ 'ds-list': DsList;
7
+ }
8
+ }
@@ -0,0 +1,4 @@
1
+ import type { CommonAttrs } from '../../types/types';
2
+ export interface DsListAttrs extends CommonAttrs {
3
+ size?: 'small' | 'medium';
4
+ }
@@ -0,0 +1 @@
1
+ export declare const commonStyles: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export declare const cupraDiagonalStyles: import("lit").CSSResult;
@@ -0,0 +1,20 @@
1
+ import { UiKitElement } from '../base/UiKitElement.ts';
2
+ export declare class DsListItem extends UiKitElement {
3
+ static styles: import("lit").CSSResult[];
4
+ variant: 'selection' | 'action' | 'info';
5
+ selected: boolean;
6
+ disabled: boolean;
7
+ size: 'small' | 'medium';
8
+ protected get classes(): {
9
+ [x: string]: boolean;
10
+ content: boolean;
11
+ selected: boolean;
12
+ disabled: boolean;
13
+ };
14
+ connectedCallback(): void;
15
+ private renderSelectionTemplate;
16
+ private renderActionTemplate;
17
+ private renderInfoTemplate;
18
+ private renderByTemplate;
19
+ render(): import("lit").TemplateResult<1>;
20
+ }
@@ -0,0 +1,8 @@
1
+ import type { DsListItem } from './ds-list-item';
2
+ import './ds-list-item';
3
+ import '../ds-list/ds-list';
4
+ declare global {
5
+ interface HTMLElementTagNameMap {
6
+ 'ds-list-item': DsListItem;
7
+ }
8
+ }
@@ -0,0 +1,7 @@
1
+ import type { CommonAttrs } from '../../types/types';
2
+ export interface DsListItemAttrs extends CommonAttrs {
3
+ variant?: 'selection' | 'action' | 'info';
4
+ selected?: boolean;
5
+ disabled?: boolean;
6
+ size?: 'small' | 'medium';
7
+ }
@@ -0,0 +1 @@
1
+ export declare const commonStyles: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export declare const cupraDiagonalStyles: import("lit").CSSResult;
@@ -1,7 +1,7 @@
1
1
  import { UiKitElement } from '../base/UiKitElement.ts';
2
2
  import { nothing } from 'lit';
3
3
  import type { DsTextareaAttrs } from './ds-textarea.types.ts';
4
- declare const DsTextarea_base: (new (...args: any[]) => import("../../mixins/inputStatesMixin.ts").InputStatesInterface) & typeof UiKitElement;
4
+ declare const DsTextarea_base: (new (...args: any[]) => import("../../mixins/inputStatesMixin.ts").InputStatesInterface) & (new (...args: any[]) => import("../../mixins/ViewportMixin.ts").ViewportInterface) & typeof UiKitElement;
5
5
  export declare class DsTextarea extends DsTextarea_base {
6
6
  static styles: import("lit").CSSResult[];
7
7
  private keyboardMode;
@@ -64,3 +64,5 @@ import './ds-toggle-button/ds-toggle-button.ts';
64
64
  import './ds-toggle-switch/ds-toggle-switch.ts';
65
65
  import './ds-tooltip/ds-tooltip.ts';
66
66
  import './ds-media-control/ds-media-control.ts';
67
+ import './ds-list-item/ds-list-item.ts';
68
+ import './ds-list/ds-list.ts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cupra/ui-kit",
3
- "version": "1.1.0-canary.13",
3
+ "version": "1.1.0-canary.15",
4
4
  "description": "Web components library",
5
5
  "author": "SEAT S.A.",
6
6
  "license": "SEAT S.A. Library EULA 1.0",