@memori.ai/memori-react 8.16.0 → 8.17.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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
 
2
2
 
3
+ ## [8.17.0](https://github.com/memori-ai/memori-react/compare/v8.16.1...v8.17.0) (2026-01-31)
4
+
5
+
6
+ ### Features
7
+
8
+ * add Website Assistant overlay on Memori website with improved z-index ([7cfb9e5](https://github.com/memori-ai/memori-react/commit/7cfb9e5071bb0279ceeaa99732eaabf2502215c6))
9
+
10
+ ## [8.16.1](https://github.com/memori-ai/memori-react/compare/v8.16.0...v8.16.1) (2026-01-30)
11
+
3
12
  ## [8.16.0](https://github.com/memori-ai/memori-react/compare/v8.15.1...v8.16.0) (2026-01-30)
4
13
 
5
14
 
@@ -1,5 +1,4 @@
1
1
  import React, { FC } from 'react';
2
- import './ContentPreviewModal.css';
3
2
  export interface ContentPreviewModalProps {
4
3
  open: boolean;
5
4
  onClose: () => void;
@@ -4,7 +4,6 @@ const tslib_1 = require("tslib");
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const Modal_1 = tslib_1.__importDefault(require("../ui/Modal"));
6
6
  const classnames_1 = tslib_1.__importDefault(require("classnames"));
7
- require("./ContentPreviewModal.css");
8
7
  const ContentPreviewModal = ({ open, onClose, title, isImage = false, imageSrc, imageAlt = '', children, className, }) => {
9
8
  const width = 'min(90vw, 800px)';
10
9
  return ((0, jsx_runtime_1.jsx)(Modal_1.default, { open: open, onClose: () => onClose(), width: width, widthMd: width, className: (0, classnames_1.default)('memori-content-preview-modal', className, {
@@ -1 +1 @@
1
- {"version":3,"file":"ContentPreviewModal.js","sourceRoot":"","sources":["../../../src/components/ContentPreviewModal/ContentPreviewModal.tsx"],"names":[],"mappings":";;;;AACA,gEAAgC;AAChC,oEAA4B;AAE5B,qCAAmC;AAenC,MAAM,mBAAmB,GAAiC,CAAC,EACzD,IAAI,EACJ,OAAO,EACP,KAAK,EACL,OAAO,GAAG,KAAK,EACf,QAAQ,EACR,QAAQ,GAAG,EAAE,EACb,QAAQ,EACR,SAAS,GACV,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,kBAAkB,CAAC;IAEjC,OAAO,CACL,uBAAC,eAAK,IACJ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,EACxB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,KAAK,EACd,SAAS,EAAE,IAAA,oBAAE,EAAC,8BAA8B,EAAE,SAAS,EAAE;YACvD,qCAAqC,EAAE,OAAO;SAC/C,CAAC,EACF,QAAQ,QACR,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,IAAI,YAEZ,gCACE,SAAS,EAAE,IAAA,oBAAE,EAAC,oCAAoC,EAAE;gBAClD,2CAA2C,EAAE,OAAO;gBACpD,6CAA6C,EAAE,CAAC,OAAO;aACxD,CAAC,YAED,OAAO,IAAI,QAAQ,CAAC,CAAC,CAAC,CACrB,gCAAK,SAAS,EAAC,0CAA0C,YACvD,gCACE,GAAG,EAAE,QAAQ,EACb,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,qCAAqC,GAC/C,GACE,CACP,CAAC,CAAC,CAAC,CACF,gCAAK,SAAS,EAAC,4CAA4C,YACxD,QAAQ,GACL,CACP,GACG,GACA,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"ContentPreviewModal.js","sourceRoot":"","sources":["../../../src/components/ContentPreviewModal/ContentPreviewModal.tsx"],"names":[],"mappings":";;;;AACA,gEAAgC;AAChC,oEAA4B;AAe5B,MAAM,mBAAmB,GAAiC,CAAC,EACzD,IAAI,EACJ,OAAO,EACP,KAAK,EACL,OAAO,GAAG,KAAK,EACf,QAAQ,EACR,QAAQ,GAAG,EAAE,EACb,QAAQ,EACR,SAAS,GACV,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,kBAAkB,CAAC;IAEjC,OAAO,CACL,uBAAC,eAAK,IACJ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,EACxB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,KAAK,EACd,SAAS,EAAE,IAAA,oBAAE,EAAC,8BAA8B,EAAE,SAAS,EAAE;YACvD,qCAAqC,EAAE,OAAO;SAC/C,CAAC,EACF,QAAQ,QACR,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,IAAI,YAEZ,gCACE,SAAS,EAAE,IAAA,oBAAE,EAAC,oCAAoC,EAAE;gBAClD,2CAA2C,EAAE,OAAO;gBACpD,6CAA6C,EAAE,CAAC,OAAO;aACxD,CAAC,YAED,OAAO,IAAI,QAAQ,CAAC,CAAC,CAAC,CACrB,gCAAK,SAAS,EAAC,0CAA0C,YACvD,gCACE,GAAG,EAAE,QAAQ,EACb,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,qCAAqC,GAC/C,GACE,CACP,CAAC,CAAC,CAAC,CACF,gCAAK,SAAS,EAAC,4CAA4C,YACxD,QAAQ,GACL,CACP,GACG,GACA,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,mBAAmB,CAAC"}
@@ -9,7 +9,7 @@
9
9
 
10
10
  .memori-website_assistant--trigger {
11
11
  position: fixed;
12
- z-index: 10000;
12
+ z-index: 2147483647;
13
13
  right: 0px;
14
14
  bottom: 0px;
15
15
  display: flex;
@@ -145,13 +145,14 @@
145
145
 
146
146
  .memori-widget.memori-layout-website_assistant {
147
147
  position: relative;
148
- z-index: 10;
148
+ z-index: 2147483647;
149
149
  font-size: 14px;
150
150
  }
151
151
 
152
152
  .memori-widget.memori-layout-website_assistant .memori-website_assistant--collapsed,
153
153
  .memori-widget.memori-layout-website_assistant .memori-website_assistant--expanded {
154
154
  position: fixed;
155
+ z-index: 2147483647;
155
156
  right: 0;
156
157
  bottom: 0;
157
158
  overflow: hidden;
@@ -578,6 +579,14 @@
578
579
  }
579
580
  }
580
581
 
582
+ @media (max-width: 870px) {
583
+ .memori-website_assistant-layout .memori-header{
584
+ max-width: 64px;
585
+ margin-right: 1rem;
586
+ margin-left: auto;
587
+ }
588
+ }
589
+
581
590
  /* ============================================
582
591
  ACCESSIBILITY & PERFORMANCE
583
592
  ============================================ */
package/dist/styles.css CHANGED
@@ -56,6 +56,8 @@
56
56
  @import url('./components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.css');
57
57
  @import url('./components/MemoriArtifactSystem/components/ArtifactActions/styles.css');
58
58
  @import url('./components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.css');
59
+ @import url('./components/ContentPreviewModal/ContentPreviewModal.css');
60
+
59
61
 
60
62
  @import url('./components/layouts/hidden-chat.css');
61
63
  @import url('./components/layouts/totem.css');
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "8.16.0";
1
+ export declare const version = "8.17.0";
package/dist/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '8.16.0';
4
+ exports.version = '8.17.0';
5
5
  //# sourceMappingURL=version.js.map
@@ -1,5 +1,4 @@
1
1
  import React, { FC } from 'react';
2
- import './ContentPreviewModal.css';
3
2
  export interface ContentPreviewModalProps {
4
3
  open: boolean;
5
4
  onClose: () => void;
@@ -1,7 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import Modal from '../ui/Modal';
3
3
  import cx from 'classnames';
4
- import './ContentPreviewModal.css';
5
4
  const ContentPreviewModal = ({ open, onClose, title, isImage = false, imageSrc, imageAlt = '', children, className, }) => {
6
5
  const width = 'min(90vw, 800px)';
7
6
  return (_jsx(Modal, { open: open, onClose: () => onClose(), width: width, widthMd: width, className: cx('memori-content-preview-modal', className, {
@@ -1 +1 @@
1
- {"version":3,"file":"ContentPreviewModal.js","sourceRoot":"","sources":["../../../src/components/ContentPreviewModal/ContentPreviewModal.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,MAAM,aAAa,CAAC;AAChC,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,2BAA2B,CAAC;AAenC,MAAM,mBAAmB,GAAiC,CAAC,EACzD,IAAI,EACJ,OAAO,EACP,KAAK,EACL,OAAO,GAAG,KAAK,EACf,QAAQ,EACR,QAAQ,GAAG,EAAE,EACb,QAAQ,EACR,SAAS,GACV,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,kBAAkB,CAAC;IAEjC,OAAO,CACL,KAAC,KAAK,IACJ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,EACxB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,KAAK,EACd,SAAS,EAAE,EAAE,CAAC,8BAA8B,EAAE,SAAS,EAAE;YACvD,qCAAqC,EAAE,OAAO;SAC/C,CAAC,EACF,QAAQ,QACR,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,IAAI,YAEZ,cACE,SAAS,EAAE,EAAE,CAAC,oCAAoC,EAAE;gBAClD,2CAA2C,EAAE,OAAO;gBACpD,6CAA6C,EAAE,CAAC,OAAO;aACxD,CAAC,YAED,OAAO,IAAI,QAAQ,CAAC,CAAC,CAAC,CACrB,cAAK,SAAS,EAAC,0CAA0C,YACvD,cACE,GAAG,EAAE,QAAQ,EACb,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,qCAAqC,GAC/C,GACE,CACP,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,4CAA4C,YACxD,QAAQ,GACL,CACP,GACG,GACA,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"ContentPreviewModal.js","sourceRoot":"","sources":["../../../src/components/ContentPreviewModal/ContentPreviewModal.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,MAAM,aAAa,CAAC;AAChC,OAAO,EAAE,MAAM,YAAY,CAAC;AAe5B,MAAM,mBAAmB,GAAiC,CAAC,EACzD,IAAI,EACJ,OAAO,EACP,KAAK,EACL,OAAO,GAAG,KAAK,EACf,QAAQ,EACR,QAAQ,GAAG,EAAE,EACb,QAAQ,EACR,SAAS,GACV,EAAE,EAAE;IACH,MAAM,KAAK,GAAG,kBAAkB,CAAC;IAEjC,OAAO,CACL,KAAC,KAAK,IACJ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,EACxB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,KAAK,EACd,SAAS,EAAE,EAAE,CAAC,8BAA8B,EAAE,SAAS,EAAE;YACvD,qCAAqC,EAAE,OAAO;SAC/C,CAAC,EACF,QAAQ,QACR,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,IAAI,YAEZ,cACE,SAAS,EAAE,EAAE,CAAC,oCAAoC,EAAE;gBAClD,2CAA2C,EAAE,OAAO;gBACpD,6CAA6C,EAAE,CAAC,OAAO;aACxD,CAAC,YAED,OAAO,IAAI,QAAQ,CAAC,CAAC,CAAC,CACrB,cAAK,SAAS,EAAC,0CAA0C,YACvD,cACE,GAAG,EAAE,QAAQ,EACb,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,qCAAqC,GAC/C,GACE,CACP,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,4CAA4C,YACxD,QAAQ,GACL,CACP,GACG,GACA,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -9,7 +9,7 @@
9
9
 
10
10
  .memori-website_assistant--trigger {
11
11
  position: fixed;
12
- z-index: 10000;
12
+ z-index: 2147483647;
13
13
  right: 0px;
14
14
  bottom: 0px;
15
15
  display: flex;
@@ -145,13 +145,14 @@
145
145
 
146
146
  .memori-widget.memori-layout-website_assistant {
147
147
  position: relative;
148
- z-index: 10;
148
+ z-index: 2147483647;
149
149
  font-size: 14px;
150
150
  }
151
151
 
152
152
  .memori-widget.memori-layout-website_assistant .memori-website_assistant--collapsed,
153
153
  .memori-widget.memori-layout-website_assistant .memori-website_assistant--expanded {
154
154
  position: fixed;
155
+ z-index: 2147483647;
155
156
  right: 0;
156
157
  bottom: 0;
157
158
  overflow: hidden;
@@ -578,6 +579,14 @@
578
579
  }
579
580
  }
580
581
 
582
+ @media (max-width: 870px) {
583
+ .memori-website_assistant-layout .memori-header{
584
+ max-width: 64px;
585
+ margin-right: 1rem;
586
+ margin-left: auto;
587
+ }
588
+ }
589
+
581
590
  /* ============================================
582
591
  ACCESSIBILITY & PERFORMANCE
583
592
  ============================================ */
package/esm/styles.css CHANGED
@@ -56,6 +56,8 @@
56
56
  @import url('./components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.css');
57
57
  @import url('./components/MemoriArtifactSystem/components/ArtifactActions/styles.css');
58
58
  @import url('./components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.css');
59
+ @import url('./components/ContentPreviewModal/ContentPreviewModal.css');
60
+
59
61
 
60
62
  @import url('./components/layouts/hidden-chat.css');
61
63
  @import url('./components/layouts/totem.css');
package/esm/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "8.16.0";
1
+ export declare const version = "8.17.0";
package/esm/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const version = '8.16.0';
1
+ export const version = '8.17.0';
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "8.16.0",
2
+ "version": "8.17.0",
3
3
  "name": "@memori.ai/memori-react",
4
4
  "author": "Memori Srl",
5
5
  "main": "dist/index.js",
@@ -2,8 +2,6 @@ import React, { FC } from 'react';
2
2
  import Modal from '../ui/Modal';
3
3
  import cx from 'classnames';
4
4
 
5
- import './ContentPreviewModal.css';
6
-
7
5
  export interface ContentPreviewModalProps {
8
6
  open: boolean;
9
7
  onClose: () => void;
@@ -9,7 +9,7 @@
9
9
 
10
10
  .memori-website_assistant--trigger {
11
11
  position: fixed;
12
- z-index: 10000;
12
+ z-index: 2147483647;
13
13
  right: 0px;
14
14
  bottom: 0px;
15
15
  display: flex;
@@ -145,13 +145,14 @@
145
145
 
146
146
  .memori-widget.memori-layout-website_assistant {
147
147
  position: relative;
148
- z-index: 10;
148
+ z-index: 2147483647;
149
149
  font-size: 14px;
150
150
  }
151
151
 
152
152
  .memori-widget.memori-layout-website_assistant .memori-website_assistant--collapsed,
153
153
  .memori-widget.memori-layout-website_assistant .memori-website_assistant--expanded {
154
154
  position: fixed;
155
+ z-index: 2147483647;
155
156
  right: 0;
156
157
  bottom: 0;
157
158
  overflow: hidden;
@@ -578,6 +579,14 @@
578
579
  }
579
580
  }
580
581
 
582
+ @media (max-width: 870px) {
583
+ .memori-website_assistant-layout .memori-header{
584
+ max-width: 64px;
585
+ margin-right: 1rem;
586
+ margin-left: auto;
587
+ }
588
+ }
589
+
581
590
  /* ============================================
582
591
  ACCESSIBILITY & PERFORMANCE
583
592
  ============================================ */
package/src/styles.css CHANGED
@@ -56,6 +56,8 @@
56
56
  @import url('./components/MemoriArtifactSystem/components/ArtifactHandler/ArtifactHandler.css');
57
57
  @import url('./components/MemoriArtifactSystem/components/ArtifactActions/styles.css');
58
58
  @import url('./components/MemoriArtifactSystem/components/ArtifactDrawer/components/TabSwitch.css');
59
+ @import url('./components/ContentPreviewModal/ContentPreviewModal.css');
60
+
59
61
 
60
62
  @import url('./components/layouts/hidden-chat.css');
61
63
  @import url('./components/layouts/totem.css');
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
- export const version = '8.16.0';
2
+ export const version = '8.17.0';