@memori.ai/memori-react 9.0.0-rc.6 → 9.0.1
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 +19 -0
- package/dist/components/ChatInputs/ChatInputs.css +1 -0
- package/dist/components/Header/Header.css +1 -0
- package/dist/components/IconButton/IconButton.css +8 -0
- package/dist/components/LoginModal/LoginModal.css +29 -0
- package/dist/components/LoginModal/LoginModal.js +14 -5
- package/dist/components/LoginModal/LoginModal.js.map +1 -1
- package/dist/components/ShareButton/ShareButton.js +0 -5
- package/dist/components/ShareButton/ShareButton.js.map +1 -1
- package/dist/components/StartPanel/StartPanel.js +2 -2
- package/dist/components/StartPanel/StartPanel.js.map +1 -1
- package/dist/components/layouts/WebsiteAssistant/website-assistant.css +7 -0
- package/dist/components/layouts/fullpage.css +5 -0
- package/dist/components/layouts/zoomed-full-body.css +3 -0
- package/dist/helpers/constants.d.ts +3 -1
- package/dist/helpers/constants.js +44 -31
- package/dist/helpers/constants.js.map +1 -1
- package/dist/locales/de.json +1 -0
- package/dist/locales/en.json +1 -0
- package/dist/locales/es.json +1 -0
- package/dist/locales/fr.json +1 -0
- package/dist/locales/it.json +1 -0
- package/dist/styles/host-isolation.css +57 -0
- package/dist/styles.css +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/esm/components/ChatInputs/ChatInputs.css +1 -0
- package/esm/components/Header/Header.css +1 -0
- package/esm/components/IconButton/IconButton.css +8 -0
- package/esm/components/LoginModal/LoginModal.css +29 -0
- package/esm/components/LoginModal/LoginModal.js +14 -5
- package/esm/components/LoginModal/LoginModal.js.map +1 -1
- package/esm/components/ShareButton/ShareButton.js +0 -5
- package/esm/components/ShareButton/ShareButton.js.map +1 -1
- package/esm/components/StartPanel/StartPanel.js +2 -2
- package/esm/components/StartPanel/StartPanel.js.map +1 -1
- package/esm/components/layouts/WebsiteAssistant/website-assistant.css +7 -0
- package/esm/components/layouts/fullpage.css +5 -0
- package/esm/components/layouts/zoomed-full-body.css +3 -0
- package/esm/helpers/constants.d.ts +3 -1
- package/esm/helpers/constants.js +42 -30
- package/esm/helpers/constants.js.map +1 -1
- package/esm/locales/de.json +1 -0
- package/esm/locales/en.json +1 -0
- package/esm/locales/es.json +1 -0
- package/esm/locales/fr.json +1 -0
- package/esm/locales/it.json +1 -0
- package/esm/styles/host-isolation.css +57 -0
- package/esm/styles.css +1 -1
- package/esm/version.d.ts +1 -1
- package/esm/version.js +1 -1
- package/esm/version.js.map +1 -1
- package/package.json +1 -1
package/dist/locales/de.json
CHANGED
package/dist/locales/en.json
CHANGED
package/dist/locales/es.json
CHANGED
package/dist/locales/fr.json
CHANGED
package/dist/locales/it.json
CHANGED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Host-page isolation.
|
|
3
|
+
* @memori.ai/ui ships its rules inside `@layer memori.*`, and any unlayered
|
|
4
|
+
* host rule beats a layered one regardless of specificity: bare resets such as
|
|
5
|
+
* `button { font: inherit }` or `h2 { text-transform: uppercase }` would win
|
|
6
|
+
* over `.memori-button` / `.memori--title`.
|
|
7
|
+
* This unlayered rule (specificity of one class) beats host element selectors
|
|
8
|
+
* and rolls their declarations back to the memori layers. It must stay right
|
|
9
|
+
* after the @memori.ai/ui import so equal-specificity widget rules still win.
|
|
10
|
+
* Replaced elements keep their width/height attributes; MathJax styles its
|
|
11
|
+
* own elements with element selectors, and katex.css is unlayered and loaded
|
|
12
|
+
* before this rule, so both math renderers are left out.
|
|
13
|
+
* Not covered: rem-based tokens still follow the host `html { font-size }`.
|
|
14
|
+
*/
|
|
15
|
+
.memori-widget,
|
|
16
|
+
.memori-widget
|
|
17
|
+
:where(
|
|
18
|
+
:not(
|
|
19
|
+
svg,
|
|
20
|
+
svg *,
|
|
21
|
+
img,
|
|
22
|
+
picture,
|
|
23
|
+
video,
|
|
24
|
+
audio,
|
|
25
|
+
canvas,
|
|
26
|
+
iframe,
|
|
27
|
+
object,
|
|
28
|
+
mjx-container,
|
|
29
|
+
mjx-container *,
|
|
30
|
+
.katex-display,
|
|
31
|
+
.katex,
|
|
32
|
+
.katex *
|
|
33
|
+
)
|
|
34
|
+
) {
|
|
35
|
+
all: revert-layer;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* What the rule above rolls back to when no memori rule sets a value. */
|
|
39
|
+
@layer memori.theme {
|
|
40
|
+
/* Inherited text properties the host body would otherwise pass down */
|
|
41
|
+
.memori-widget {
|
|
42
|
+
font-style: normal;
|
|
43
|
+
font-weight: 400;
|
|
44
|
+
letter-spacing: normal;
|
|
45
|
+
line-height: normal;
|
|
46
|
+
text-align: start;
|
|
47
|
+
text-indent: 0;
|
|
48
|
+
text-transform: none;
|
|
49
|
+
word-spacing: normal;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Inherit the widget typography instead of the UA system font */
|
|
53
|
+
.memori-widget :where(button, input, select, textarea) {
|
|
54
|
+
font: inherit;
|
|
55
|
+
letter-spacing: inherit;
|
|
56
|
+
}
|
|
57
|
+
}
|