mr-chat-bird 1.0.1 → 1.0.3

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/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import * as react from 'react';
1
+ import React from 'react';
2
2
 
3
- declare function MrChat(props: any): react.JSX.Element;
3
+ declare function MrChat(props: any): React.JSX.Element;
4
4
 
5
5
  export { MrChat };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as react from 'react';
1
+ import React from 'react';
2
2
 
3
- declare function MrChat(props: any): react.JSX.Element;
3
+ declare function MrChat(props: any): React.JSX.Element;
4
4
 
5
5
  export { MrChat };
package/dist/index.js CHANGED
@@ -38,7 +38,7 @@ module.exports = __toCommonJS(index_exports);
38
38
  var import_styles = require("@mantine/core/styles.css");
39
39
  var import_styles2 = require("@mantine/tiptap/styles.css");
40
40
  var import_styles3 = require("@mantine/notifications/styles.css");
41
- var import_react9 = require("react");
41
+ var import_react9 = __toESM(require("react"));
42
42
  var import_core9 = require("@mantine/core");
43
43
  var import_notifications2 = require("@mantine/notifications");
44
44
 
@@ -6417,7 +6417,7 @@ function ChatUserList() {
6417
6417
  function MrChat(props) {
6418
6418
  const [primaryColor] = (0, import_react9.useState)("customBrand");
6419
6419
  const theme = createAppTheme(primaryColor);
6420
- return /* @__PURE__ */ React.createElement(ReduxProvider, null, /* @__PURE__ */ React.createElement(SocketProvider, null, /* @__PURE__ */ React.createElement(import_core9.MantineProvider, { defaultColorScheme: "light", theme }, /* @__PURE__ */ React.createElement(import_notifications2.Notifications, null), /* @__PURE__ */ React.createElement(ChatUserList, { ...props }))));
6420
+ return /* @__PURE__ */ import_react9.default.createElement(ReduxProvider, null, /* @__PURE__ */ import_react9.default.createElement(SocketProvider, null, /* @__PURE__ */ import_react9.default.createElement(import_core9.MantineProvider, { defaultColorScheme: "light", theme }, /* @__PURE__ */ import_react9.default.createElement(import_notifications2.Notifications, null), /* @__PURE__ */ import_react9.default.createElement(ChatUserList, { ...props }))));
6421
6421
  }
6422
6422
  // Annotate the CommonJS export names for ESM import in node:
6423
6423
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import "@mantine/core/styles.css";
3
3
  import "@mantine/tiptap/styles.css";
4
4
  import "@mantine/notifications/styles.css";
5
- import { useState as useState6 } from "react";
5
+ import React3, { useState as useState6 } from "react";
6
6
  import { MantineProvider } from "@mantine/core";
7
7
  import { Notifications } from "@mantine/notifications";
8
8
 
@@ -6413,7 +6413,7 @@ function ChatUserList() {
6413
6413
  function MrChat(props) {
6414
6414
  const [primaryColor] = useState6("customBrand");
6415
6415
  const theme = createAppTheme(primaryColor);
6416
- return /* @__PURE__ */ React.createElement(ReduxProvider, null, /* @__PURE__ */ React.createElement(SocketProvider, null, /* @__PURE__ */ React.createElement(MantineProvider, { defaultColorScheme: "light", theme }, /* @__PURE__ */ React.createElement(Notifications, null), /* @__PURE__ */ React.createElement(ChatUserList, { ...props }))));
6416
+ return /* @__PURE__ */ React3.createElement(ReduxProvider, null, /* @__PURE__ */ React3.createElement(SocketProvider, null, /* @__PURE__ */ React3.createElement(MantineProvider, { defaultColorScheme: "light", theme }, /* @__PURE__ */ React3.createElement(Notifications, null), /* @__PURE__ */ React3.createElement(ChatUserList, { ...props }))));
6417
6417
  }
6418
6418
  export {
6419
6419
  MrChat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mr-chat-bird",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -10,11 +10,11 @@
10
10
  "dist"
11
11
  ],
12
12
  "scripts": {
13
+ "start": "next start",
14
+ "build": "next build",
13
15
  "build:npm": "tsup index.ts --format esm,cjs --dts",
14
16
  "dev": "next dev",
15
- "build": "next build",
16
- "analyze": "ANALYZE=true next build",
17
- "start": "next start"
17
+ "analyze": "ANALYZE=true next build"
18
18
  },
19
19
  "dependencies": {
20
20
  "@emoji-mart/data": "^1.2.1",
@@ -36,18 +36,18 @@
36
36
  "react-virtuoso": "^4.18.3"
37
37
  },
38
38
  "peerDependencies": {
39
- "@mantine/core": "^8",
40
- "@mantine/hooks": "^8",
41
- "@mantine/notifications": "^8",
42
- "@mantine/tiptap": "^8",
43
- "@reduxjs/toolkit": "^2",
44
- "@tiptap/react": "^3",
45
- "@tiptap/starter-kit": "^3",
46
- "next": "^15",
39
+ "@mantine/core": "^7 || ^8",
40
+ "@mantine/hooks": "^7 || ^8",
41
+ "@mantine/notifications": "^7 || ^8",
42
+ "@mantine/tiptap": "^7 || ^8",
43
+ "@reduxjs/toolkit": "^1.9.0 || ^2",
44
+ "react-redux": "^8 || ^9",
45
+ "@tiptap/react": "^2 || ^3",
46
+ "@tiptap/starter-kit": "^2 || ^3",
47
+ "socket.io-client": "^4",
48
+ "next": "^13 || ^14 || ^15",
47
49
  "react": "^18 || ^19",
48
- "react-dom": "^18 || ^19",
49
- "react-redux": "^9",
50
- "socket.io-client": "^4"
50
+ "react-dom": "^18 || ^19"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@babel/core": "^7.27.4",
@@ -59,6 +59,7 @@
59
59
  "@mantine/tiptap": "^8.1.3",
60
60
  "@next/bundle-analyzer": "^15.3.3",
61
61
  "@reduxjs/toolkit": "^2.8.2",
62
+ "react-redux": "^9.2.0",
62
63
  "@svgr/webpack": "^8.1.0",
63
64
  "@swc/core": "^1.15.40",
64
65
  "@tiptap/react": "^3.0.7",
@@ -78,7 +79,6 @@
78
79
  "prettier": "^3.5.3",
79
80
  "react": "19.1.0",
80
81
  "react-dom": "19.1.0",
81
- "react-redux": "^9.2.0",
82
82
  "socket.io-client": "^4.8.1",
83
83
  "stylelint": "^16.20.0",
84
84
  "stylelint-config-standard-scss": "^15.0.1",