@elia-assistant/chatui 1.0.22 → 1.0.25

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.
@@ -1290,8 +1290,8 @@ var pe = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
1290
1290
  }
1291
1291
  };
1292
1292
  }, Ce = /* @__PURE__ */ s({ default: () => De }), we = /* #__PURE__ */ Object.assign({
1293
- "./locales/en/translation.json": () => import("./translation-BWX2qtSY.js"),
1294
- "./locales/sk/translation.json": () => import("./translation-CfAg14N6.js")
1293
+ "./locales/en/translation.json": () => import("./translation-BYSHywcB.js"),
1294
+ "./locales/sk/translation.json": () => import("./translation-B0QPZgVW.js")
1295
1295
  }), Te = Array.from(new Set(Object.keys(we).map((e) => e.split("/")[2]).filter((e) => !!e)));
1296
1296
  function Ee() {
1297
1297
  try {
@@ -1317,4 +1317,4 @@ var De = Z;
1317
1317
  //#endregion
1318
1318
  export { I as a, l as c, Q as i, be as n, o, _e as r, s, Ce as t };
1319
1319
 
1320
- //# sourceMappingURL=i18n-5KV_0_J2.js.map
1320
+ //# sourceMappingURL=i18n-Vi-f1TFq.js.map
@@ -22,7 +22,7 @@ var n = [
22
22
  {
23
23
  id: "cosmos",
24
24
  label: "Cosmos",
25
- baseColor: "#0d0a1a",
25
+ baseColor: "#1e1a30",
26
26
  accentColor: "#a855f7"
27
27
  },
28
28
  {
@@ -60,6 +60,30 @@ var n = [
60
60
  label: "Amber",
61
61
  baseColor: "#0f0a00",
62
62
  accentColor: "#f59e0b"
63
+ },
64
+ {
65
+ id: "slate",
66
+ label: "Slate",
67
+ baseColor: "#334155",
68
+ accentColor: "#38bdf8"
69
+ },
70
+ {
71
+ id: "graphite",
72
+ label: "Graphite",
73
+ baseColor: "#424242",
74
+ accentColor: "#f472b6"
75
+ },
76
+ {
77
+ id: "teal",
78
+ label: "Teal",
79
+ baseColor: "#F1F5F9",
80
+ accentColor: "#0D9488"
81
+ },
82
+ {
83
+ id: "stone",
84
+ label: "Stone",
85
+ baseColor: "#44403c",
86
+ accentColor: "#fbbf24"
63
87
  }
64
88
  ], r = "midnight";
65
89
  function i(e) {
@@ -106,7 +130,7 @@ var a = {
106
130
  e({ activeTheme: t });
107
131
  },
108
132
  setLanguage(t) {
109
- e({ language: t }), import("./i18n-5KV_0_J2.js").then((e) => e.t).then((e) => {
133
+ e({ language: t }), import("./i18n-Vi-f1TFq.js").then((e) => e.t).then((e) => {
110
134
  e.default.changeLanguage(t);
111
135
  });
112
136
  }
@@ -127,4 +151,4 @@ var a = {
127
151
  //#endregion
128
152
  export { i as n, n as r, o as t };
129
153
 
130
- //# sourceMappingURL=settingsStore-863nT7r2.js.map
154
+ //# sourceMappingURL=settingsStore-yU8h8KVJ.js.map
@@ -43,6 +43,9 @@ var e = {
43
43
  fileUploads: "Povoliť nahrávanie súborov",
44
44
  allowedFileExtensions: "Povolené prípony súborov",
45
45
  mode: "Režim zobrazenia",
46
+ position: "Pozícia widgetu",
47
+ position_right: "Vpravo",
48
+ position_left: "Vľavo",
46
49
  fullscreenSheet: "Štýl spodného panela (nepokryje celú obrazovku)",
47
50
  fullscreenSheetHeight: "Výška panela (CSS dĺžka, napr. 75vh, 600px)",
48
51
  tabsSection: "Záložky (oznámenia + FAQ)",
@@ -63,12 +66,10 @@ var e = {
63
66
  ctaTextLabel: "Text CTA popupu",
64
67
  botAvatar: "Avatar bota",
65
68
  toggleButtonIcon: "Ikona tlačidla popupu",
69
+ toggleButtonSameAsAvatar: "Rovnako ako avatar bota",
66
70
  avatarNone: "Žiadny",
67
71
  avatarClear: "Vymazať",
68
- avatarUpload: "Nahrať…",
69
72
  avatarUrlPlaceholder: "alebo vložte URL",
70
- avatarErrorType: "Vyberte súbor obrázka.",
71
- avatarErrorSize: "Obrázok je príliš veľký (max 500 KB).",
72
73
  save: "Uložiť",
73
74
  cancel: "Zrušiť",
74
75
  theme: "Téma",
@@ -90,4 +91,4 @@ var e = {
90
91
  //#endregion
91
92
  export { c as default, e as errors, a as footer, r as header, n as input, s as settings, i as sidebar, o as tabs, t as welcome };
92
93
 
93
- //# sourceMappingURL=translation-CfAg14N6.js.map
94
+ //# sourceMappingURL=translation-B0QPZgVW.js.map
@@ -43,6 +43,9 @@ var e = {
43
43
  fileUploads: "Allow file uploads",
44
44
  allowedFileExtensions: "Allowed file extensions",
45
45
  mode: "Display mode",
46
+ position: "Widget position",
47
+ position_right: "Right",
48
+ position_left: "Left",
46
49
  fullscreenSheet: "Bottom-sheet style (don't cover full screen)",
47
50
  fullscreenSheetHeight: "Sheet height (CSS length, e.g. 75vh, 600px)",
48
51
  tabsSection: "Tabs (notifications + FAQ)",
@@ -63,12 +66,10 @@ var e = {
63
66
  ctaTextLabel: "CTA popup text",
64
67
  botAvatar: "Bot avatar",
65
68
  toggleButtonIcon: "Popup button icon",
69
+ toggleButtonSameAsAvatar: "Same as Bot avatar",
66
70
  avatarNone: "None",
67
71
  avatarClear: "Clear",
68
- avatarUpload: "Upload…",
69
72
  avatarUrlPlaceholder: "or paste a URL",
70
- avatarErrorType: "Please choose an image file.",
71
- avatarErrorSize: "Image is too large (max 500 KB).",
72
73
  save: "Save",
73
74
  cancel: "Cancel",
74
75
  theme: "Theme",
@@ -90,4 +91,4 @@ var e = {
90
91
  //#endregion
91
92
  export { c as default, e as errors, a as footer, r as header, n as input, s as settings, i as sidebar, o as tabs, t as welcome };
92
93
 
93
- //# sourceMappingURL=translation-BWX2qtSY.js.map
94
+ //# sourceMappingURL=translation-BYSHywcB.js.map
@@ -2,6 +2,8 @@ interface Props {
2
2
  onOpenSettings: () => void;
3
3
  /** When provided, renders a close (X) button in the header. Omit for permanent fullscreen layouts. */
4
4
  onClose?: () => void;
5
+ maximized?: boolean;
6
+ onToggleMaximize?: () => void;
5
7
  }
6
- export declare function ChatView({ onOpenSettings, onClose }: Props): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ChatView({ onOpenSettings, onClose, maximized, onToggleMaximize }: Props): import("react/jsx-runtime").JSX.Element;
7
9
  export {};
@@ -1,6 +1,7 @@
1
1
  interface Props {
2
2
  text: string;
3
3
  onDismiss: () => void;
4
+ align?: 'right' | 'left';
4
5
  }
5
- export declare function CtaPopup({ text, onDismiss }: Props): import("react/jsx-runtime").JSX.Element;
6
+ export declare function CtaPopup({ text, onDismiss, align }: Props): import("react/jsx-runtime").JSX.Element;
6
7
  export {};