@bothub-chat/ui 2.52.1-develop-dd2d774f-6799-446f-8a07-fb14e9a5f198 → 2.52.1-fix-code-cls-2343752f-16fe-4c08-9336-251f5889aea5

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/README.md CHANGED
@@ -1,24 +1,24 @@
1
- <p align="center">
2
- <img src="https://bothub.chat/icon-144x144.png" />
3
- </p>
4
- <h1 align="center">Bothub Chat</h1>
5
- <p align="center">UI Components from Bothub.</p>
6
- <p align="center">
7
- <a href="https://bothub-docs.vercel.app/">Documentation</a>
8
- </p>
9
-
10
- <h2>Installing</h2>
11
- <p>Preliminary requirements:</p>
12
- <ul>
13
- <li><a href="https://nodejs.org/">Node.js</a> >= <code>18.12.1</code></li>
14
- <li><a href="https://www.npmjs.com/">npm</a> >= <code>9.1.2</code></li>
15
- <li><a href="https://yarnpkg.com/">yarn</a> >= <code>1.22.19</code></li>
16
- </ul>
17
- <p>Installing peer dependencies:</p>
18
- <pre>yarn add framer-motion@10.16.3 react@18.2.0 react-dom@18.2.0 styled-components@6.0.7 react-helmet@6.1.0 normalize.css@8.0.1 react-slider@2.0.6 react-markdown@8.0.5 highlight.js@11.9.0 react-highlight@0.15.0</pre>
19
- <p>Installing package:</p>
20
- <pre>yarn add @bothub-chat/ui</pre>
21
-
22
-
23
- <h2>License</h2>
1
+ <p align="center">
2
+ <img src="https://bothub.chat/icon-144x144.png" />
3
+ </p>
4
+ <h1 align="center">Bothub Chat</h1>
5
+ <p align="center">UI Components from Bothub.</p>
6
+ <p align="center">
7
+ <a href="https://bothub-docs.vercel.app/">Documentation</a>
8
+ </p>
9
+
10
+ <h2>Installing</h2>
11
+ <p>Preliminary requirements:</p>
12
+ <ul>
13
+ <li><a href="https://nodejs.org/">Node.js</a> >= <code>18.12.1</code></li>
14
+ <li><a href="https://www.npmjs.com/">npm</a> >= <code>9.1.2</code></li>
15
+ <li><a href="https://yarnpkg.com/">yarn</a> >= <code>1.22.19</code></li>
16
+ </ul>
17
+ <p>Installing peer dependencies:</p>
18
+ <pre>yarn add framer-motion@10.16.3 react@18.2.0 react-dom@18.2.0 styled-components@6.0.7 react-helmet@6.1.0 normalize.css@8.0.1 react-slider@2.0.6 react-markdown@8.0.5 highlight.js@11.9.0 react-highlight@0.15.0</pre>
19
+ <p>Installing package:</p>
20
+ <pre>yarn add @bothub-chat/ui</pre>
21
+
22
+
23
+ <h2>License</h2>
24
24
  <p><a href="https://github.com/matbea-dev/bothub/blob/main/LICENSE">MIT</a></p>
@@ -284,7 +284,7 @@ export declare const MessageMultilineCodeContentContainer: import("styled-compon
284
284
  onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
285
285
  }>;
286
286
  export declare const contentStyles: import("styled-components").RuleSet<MessageMultilineCodeContentProps>;
287
- export declare const MessageMultilineCodeContentStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, MessageMultilineCodeContentProps>>;
287
+ export declare const MessageMultilineCodeContentStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, MessageMultilineCodeContentProps>>;
288
288
  export declare const MessageMultilineCodeLastLine: import("styled-components").IStyledComponent<"web", {
289
289
  ref?: import("react").Ref<HTMLDivElement> | undefined;
290
290
  key?: import("react").Key | null | undefined;
@@ -1 +1 @@
1
- import{styled as t,css as e}from"styled-components";import"react/jsx-runtime";import"react";import"../../../../../scrollbar/styled.js";import"tslib";import"@react-spring/web";import"../../../../../scrollbar/shadow/styled.js";import"../../../../../../theme/index.js";import{ScrollbarStyle as o}from"../../../../../scrollbar/style/styled.js";import{adaptive as r}from"../../../../../../adaptive/index.js";const i=t.div.withConfig({displayName:"styled__MessageMultilineCodeContentContainer",componentId:"sc-nvn5z9-0"})(["background-color:#002635;"]),n=e([""," overflow-x:auto;line-height:1.3;span{line-height:1.3;}&::selection,*::selection{","}"," padding:1em;"],o,({$messageColor:t})=>{switch(t){case"default":return e(["background:"," !important;color:"," !important;"],({theme:t})=>"light"===t.mode?t.default.colors.accent.primary:t.colors.base.white,({theme:t})=>"light"===t.mode?t.default.colors.base.white:t.colors.accent.primary);case"green":return e(["background:"," !important;color:"," !important;"],({theme:t})=>t.default.colors.base.white,({theme:t})=>t.colors.gpt3);case"purple":return e(["background:"," !important;color:"," !important;"],({theme:t})=>t.default.colors.base.white,({theme:t})=>t.colors.gpt4);default:return e(["background:"," !important;color:"," !important;"],({theme:t})=>t.default.colors.base.white,t)}},r({variant:"dashboard",miniTablet:e(["font-size:14px !important;span{font-size:14px !important;}"]),mobile:e(["font-size:12px !important;span{font-size:12px !important;}"]),touch:e(["&::-webkit-scrollbar{display:none;}"])})),a=t.div.withConfig({displayName:"styled__MessageMultilineCodeContentStyled",componentId:"sc-nvn5z9-1"})([""," background-color:#002635;color:#fff;"],n),s=t.div.withConfig({displayName:"styled__MessageMultilineCodeLastLine",componentId:"sc-nvn5z9-2"})([""]);export{i as MessageMultilineCodeContentContainer,a as MessageMultilineCodeContentStyled,s as MessageMultilineCodeLastLine,n as contentStyles};
1
+ import{styled as t,css as e}from"styled-components";import"react/jsx-runtime";import"react";import"../../../../../scrollbar/styled.js";import"tslib";import"@react-spring/web";import"../../../../../scrollbar/shadow/styled.js";import"../../../../../../theme/index.js";import{ScrollbarStyle as o}from"../../../../../scrollbar/style/styled.js";import{adaptive as r}from"../../../../../../adaptive/index.js";const i=t.div.withConfig({displayName:"styled__MessageMultilineCodeContentContainer",componentId:"sc-nvn5z9-0"})(["background-color:#002635;"]),n=e([""," overflow-x:auto;line-height:1.3;padding:1em;font-size:12;span{line-height:1.3;}&::selection,*::selection{","}",""],o,({$messageColor:t})=>{switch(t){case"default":return e(["background:"," !important;color:"," !important;"],({theme:t})=>"light"===t.mode?t.default.colors.accent.primary:t.colors.base.white,({theme:t})=>"light"===t.mode?t.default.colors.base.white:t.colors.accent.primary);case"green":return e(["background:"," !important;color:"," !important;"],({theme:t})=>t.default.colors.base.white,({theme:t})=>t.colors.gpt3);case"purple":return e(["background:"," !important;color:"," !important;"],({theme:t})=>t.default.colors.base.white,({theme:t})=>t.colors.gpt4);default:return e(["background:"," !important;color:"," !important;"],({theme:t})=>t.default.colors.base.white,t)}},r({variant:"dashboard",miniTablet:e(["font-size:14px !important;span{font-size:14px !important;}"]),mobile:e(["font-size:12px !important;span{font-size:12px !important;}"]),touch:e(["&::-webkit-scrollbar{display:none;}"])})),a=t.code.withConfig({displayName:"styled__MessageMultilineCodeContentStyled",componentId:"sc-nvn5z9-1"})([""," background-color:#002635;color:#fff;display:block;"],n),s=t.div.withConfig({displayName:"styled__MessageMultilineCodeLastLine",componentId:"sc-nvn5z9-2"})([""]);export{i as MessageMultilineCodeContentContainer,a as MessageMultilineCodeContentStyled,s as MessageMultilineCodeLastLine,n as contentStyles};
package/package.json CHANGED
@@ -1,72 +1,72 @@
1
- {
2
- "name": "@bothub-chat/ui",
3
- "version": "2.52.1-develop-dd2d774f-6799-446f-8a07-fb14e9a5f198",
4
- "description": "Bothub UI Components",
5
- "keywords": [
6
- "bot",
7
- "chat",
8
- "chatgpt",
9
- "ai",
10
- "react"
11
- ],
12
- "repository": {
13
- "url": "https://github.com/bothubchat/bothub.git",
14
- "type": "git",
15
- "directory": "./packages/ui"
16
- },
17
- "publishConfig": {
18
- "access": "public",
19
- "registry": "https://registry.npmjs.org/"
20
- },
21
- "author": "dev2alert <atmpotn@yandex.ru>",
22
- "license": "MIT",
23
- "homepage": "https://bothub.chat",
24
- "files": [
25
- "./dist",
26
- "./fonts"
27
- ],
28
- "type": "module",
29
- "main": "./dist/index.js",
30
- "module": "./dist/index.js",
31
- "types": "./dist/index.d.ts",
32
- "exports": {
33
- ".": {
34
- "types": "./dist/index.d.ts",
35
- "import": "./dist/index.js",
36
- "default": "./dist/index.js"
37
- },
38
- "./components/*": "./dist/components/*",
39
- "./fonts/*": "./fonts/*",
40
- "./utils/*": "./dist/utils/*"
41
- },
42
- "sideEffects": false,
43
- "resolutions": {
44
- "react-helmet/react": "^19.0.0"
45
- },
46
- "peerDependencies": {
47
- "@uidotdev/usehooks": "^2.4.1",
48
- "react": "19.1.1",
49
- "react-dom": "19.1.1",
50
- "react-helmet": ">=2",
51
- "styled-components": "^6.0.7"
52
- },
53
- "dependencies": {
54
- "@dnd-kit/core": "^6.1.0",
55
- "@floating-ui/react": "^0.26.16",
56
- "@floating-ui/react-dom": "^2.1.0",
57
- "@react-spring/web": "^10",
58
- "date-fns": "^3.6.0",
59
- "dompurify": "^3.2.6",
60
- "highlight.js": "^11.11.0",
61
- "katex": "^0.16.10",
62
- "marked": "^16.2.1",
63
- "normalize.css": "^8.0.1",
64
- "rc-slider": "^11.1.8",
65
- "react-markdown": "^10.0.0",
66
- "rehype-katex": "^7.0.0",
67
- "remark-gfm": "^4.0.1",
68
- "remark-math": "^6.0.0",
69
- "tslib": "^2.6.2",
70
- "unist-util-visit": "^5.0.0"
71
- }
72
- }
1
+ {
2
+ "name": "@bothub-chat/ui",
3
+ "version": "2.52.1-fix-code-cls-2343752f-16fe-4c08-9336-251f5889aea5",
4
+ "description": "Bothub UI Components",
5
+ "keywords": [
6
+ "bot",
7
+ "chat",
8
+ "chatgpt",
9
+ "ai",
10
+ "react"
11
+ ],
12
+ "repository": {
13
+ "url": "https://github.com/bothubchat/bothub.git",
14
+ "type": "git",
15
+ "directory": "./packages/ui"
16
+ },
17
+ "publishConfig": {
18
+ "access": "public",
19
+ "registry": "https://registry.npmjs.org/"
20
+ },
21
+ "author": "dev2alert <atmpotn@yandex.ru>",
22
+ "license": "MIT",
23
+ "homepage": "https://bothub.chat",
24
+ "files": [
25
+ "./dist",
26
+ "./fonts"
27
+ ],
28
+ "type": "module",
29
+ "main": "./dist/index.js",
30
+ "module": "./dist/index.js",
31
+ "types": "./dist/index.d.ts",
32
+ "exports": {
33
+ ".": {
34
+ "types": "./dist/index.d.ts",
35
+ "import": "./dist/index.js",
36
+ "default": "./dist/index.js"
37
+ },
38
+ "./components/*": "./dist/components/*",
39
+ "./fonts/*": "./fonts/*",
40
+ "./utils/*": "./dist/utils/*"
41
+ },
42
+ "sideEffects": false,
43
+ "resolutions": {
44
+ "react-helmet/react": "^19.0.0"
45
+ },
46
+ "peerDependencies": {
47
+ "@uidotdev/usehooks": "^2.4.1",
48
+ "react": "19.1.1",
49
+ "react-dom": "19.1.1",
50
+ "react-helmet": ">=2",
51
+ "styled-components": "^6.0.7"
52
+ },
53
+ "dependencies": {
54
+ "@dnd-kit/core": "^6.1.0",
55
+ "@floating-ui/react": "^0.26.16",
56
+ "@floating-ui/react-dom": "^2.1.0",
57
+ "@react-spring/web": "^10",
58
+ "date-fns": "^3.6.0",
59
+ "dompurify": "^3.2.6",
60
+ "highlight.js": "^11.11.0",
61
+ "katex": "^0.16.10",
62
+ "marked": "^16.2.1",
63
+ "normalize.css": "^8.0.1",
64
+ "rc-slider": "^11.1.8",
65
+ "react-markdown": "^10.0.0",
66
+ "rehype-katex": "^7.0.0",
67
+ "remark-gfm": "^4.0.1",
68
+ "remark-math": "^6.0.0",
69
+ "tslib": "^2.6.2",
70
+ "unist-util-visit": "^5.0.0"
71
+ }
72
+ }