@memori.ai/memori-webcomponent 8.1.24 → 8.1.26
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 +14 -0
- package/dist/index.75e130c2.js +97080 -0
- package/dist/index.75e130c2.js.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.html +33 -0
- package/dist/memori-webcomponent.js +10 -10
- package/package.json +2 -2
package/dist/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.memori-content-preview-modal.memori-modal .memori-modal--panel{background:var(--memori-content-preview-bg,#fafafa);border-radius:16px;overflow:hidden;box-shadow:0 25px 50px -12px #00000040,0 0 0 1px #0000000d}.memori-content-preview-modal--image.memori-modal .memori-modal--panel{min-width:min(600px,100vw)}.memori-content-preview-modal .memori-modal--title{border-bottom:1px solid var(--memori-content-preview-border,#0000000f);color:var(--memori-content-preview-title,#1f2937);letter-spacing:-.01em;padding:1rem 1.25rem .75rem;font-size:1rem;font-weight:600}.memori-content-preview-modal .memori-modal--close{top:.75rem;right:.75rem}.memori-content-preview-modal .memori-modal--close button{background:var(--memori-content-preview-close-bg,#0000000d);border-radius:10px;transition:background .2s,transform .15s}.memori-content-preview-modal .memori-modal--close button:hover{background:var(--memori-content-preview-close-hover,#0000001a);transform:scale(1.05)}.memori-content-preview-modal--body{max-height:70vh;padding:1.25rem;overflow:auto}.memori-content-preview-modal--body--image{min-height:400px;background:var(--memori-content-preview-image-bg,#f3f4f6);justify-content:center;align-items:center;padding:1.5rem;display:flex}.memori-content-preview-modal--body--content{padding:1rem 1.25rem}.memori-content-preview-modal--image-wrap{width:100%;min-width:0;justify-content:center;align-items:center;display:flex}.memori-content-preview-modal--image{width:100%;height:100%;max-height:70vh;object-fit:contain;border-radius:8px}.memori-content-preview-modal--snippet-wrap{min-height:120px;border:1px solid var(--memori-content-preview-snippet-border,#e2e8f0);background:var(--memori-content-preview-snippet-bg,#f8fafc);color:var(--memori-content-preview-snippet-text,#334155);white-space:pre-wrap;word-break:break-word;border-radius:12px;font-family:SF Mono,Fira Code,Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.6;overflow-x:auto}.memori-content-preview-modal--snippet-wrap .memori-snippet{box-shadow:none;background:0 0;border:none;border-radius:12px}.memori-content-preview-modal--snippet-wrap .memori-snippet--content pre{overflow-wrap:break-word;word-break:break-word;padding:1rem 1.25rem;white-space:pre-wrap!important}.memori-content-preview-modal--snippet-wrap .memori-snippet--content pre code{overflow-wrap:break-word;word-break:break-word;white-space:pre-wrap!important}
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Memori WebComponent Example</title>
|
|
8
|
+
|
|
9
|
+
<script defer="" src="/index.75e130c2.js"></script>
|
|
10
|
+
<!-- <script
|
|
11
|
+
type="module"
|
|
12
|
+
src="https://cdn.jsdelivr.net/npm/@memori.ai/memori-webcomponent/dist/memori-webcomponent.js"
|
|
13
|
+
></script> -->
|
|
14
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@memori.ai/memori-react/dist/styles.min.css">
|
|
15
|
+
</head>
|
|
16
|
+
|
|
17
|
+
<body style="box-sizing: border-box; margin: 0; padding: 0; position: relative">
|
|
18
|
+
<div id="demo-disclaimer" style="width: calc(100% - 1rem); z-index: 1000; box-sizing: border-box; background: #ffffffbf; border-radius: 10px; margin: .5rem; padding: 1rem; font-family: "Exo 2", sans-serif; position: fixed">
|
|
19
|
+
<button style="cursor: pointer; background: none; border: 0; padding: .5rem; font-size: 1rem; position: absolute; top: .5rem; right: .5rem" onclick="document.getElementById('demo-disclaimer').remove()">
|
|
20
|
+
X
|
|
21
|
+
</button>
|
|
22
|
+
<p style="margin: 0 0 .5rem">
|
|
23
|
+
This is a demo, some functionalities as STT and TTS depend on additional
|
|
24
|
+
subscription keys so they might not work.
|
|
25
|
+
</p>
|
|
26
|
+
<nav>
|
|
27
|
+
<a href="https://aisuru.com/en" target="_blank" style="margin-right: .5rem; display: inline-block">AIsuru</a>
|
|
28
|
+
<a href="https://github.com/memori-ai/memori-webcomponent" target="_blank" style="margin-right: .5rem; display: inline-block">GitHub</a>
|
|
29
|
+
</nav>
|
|
30
|
+
</div>
|
|
31
|
+
<memori-client memoriname="Memori" ownerusername="memoridev" tenantid="aisuru.com" showshare="" apiurl="https://backend.memori.ai" baseurl="https://www.aisuru.com" uilang="it" height="100vh">
|
|
32
|
+
</memori-client></body>
|
|
33
|
+
</html>
|