@0xbot/chat-react 1.0.15 → 1.0.16

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.
Files changed (89) hide show
  1. package/README.md +28 -2
  2. package/dist/{add-Cm1q0nCk.mjs → add-QpXUvG2p.mjs} +1 -1
  3. package/dist/{all-wallets--DBcCbjf.mjs → all-wallets-CKRaWpXv.mjs} +1 -1
  4. package/dist/{app-store-1aLlQGqY.mjs → app-store-L_RFZCzR.mjs} +1 -1
  5. package/dist/{apple-BAdsY_Sw.mjs → apple-DDxKXsbr.mjs} +1 -1
  6. package/dist/{arrow-bottom-CNQptgdI.mjs → arrow-bottom-BDs8gXAG.mjs} +1 -1
  7. package/dist/{arrow-bottom-circle-CPVWnSgJ.mjs → arrow-bottom-circle-CI_p3EgI.mjs} +1 -1
  8. package/dist/{arrow-left-BjELM228.mjs → arrow-left-SQRuvf24.mjs} +1 -1
  9. package/dist/{arrow-right-rZcAf403.mjs → arrow-right-CzWeDEXH.mjs} +1 -1
  10. package/dist/{arrow-top-dJLfajyr.mjs → arrow-top-C-MNFb9c.mjs} +1 -1
  11. package/dist/{bank-Cdj0YCtz.mjs → bank-Bdm96wdx.mjs} +1 -1
  12. package/dist/{basic-DZS54AFf.mjs → basic-CMHher6M.mjs} +2 -2
  13. package/dist/{browser-DtIsRRs2.mjs → browser-L03qhGjN.mjs} +1 -1
  14. package/dist/{card-9CjHnxzu.mjs → card-Cp8y0Rx_.mjs} +1 -1
  15. package/dist/chat-library.es.js +1 -1
  16. package/dist/chat-library.umd.js +374 -374
  17. package/dist/{checkmark-CBVdgE3c.mjs → checkmark-Dqo3sBdQ.mjs} +1 -1
  18. package/dist/{checkmark-bold-CDmzOndk.mjs → checkmark-bold-BXxkLUZA.mjs} +1 -1
  19. package/dist/{chevron-bottom-L7KUv67m.mjs → chevron-bottom-B6Tkp35B.mjs} +1 -1
  20. package/dist/{chevron-left-0-c28Mnq.mjs → chevron-left-Nwp1RwfJ.mjs} +1 -1
  21. package/dist/{chevron-right-D2-Y8rEf.mjs → chevron-right-BJleu05q.mjs} +1 -1
  22. package/dist/{chevron-top-CtY_oKfT.mjs → chevron-top-BgCdxsJJ.mjs} +1 -1
  23. package/dist/{chrome-store-CUEJhLMu.mjs → chrome-store-CIiFm85a.mjs} +1 -1
  24. package/dist/{clock-BnMZPY55.mjs → clock-D8C7iJgQ.mjs} +1 -1
  25. package/dist/{close-Bg9aDjsC.mjs → close-CVpUc9QN.mjs} +1 -1
  26. package/dist/{coinPlaceholder-CebsVqw4.mjs → coinPlaceholder-BDUF6CAT.mjs} +1 -1
  27. package/dist/{compass-C3Q-G8QU.mjs → compass-CZm_TO9N.mjs} +1 -1
  28. package/dist/{copy-C5fc7Nnb.mjs → copy-Bq3NnSVA.mjs} +1 -1
  29. package/dist/{core-DgKLWYPc.mjs → core-Dbm2xJLf.mjs} +3 -3
  30. package/dist/{cursor-D6uw1r75.mjs → cursor-DeIHp2Hs.mjs} +1 -1
  31. package/dist/{cursor-transparent-BOB-7OSr.mjs → cursor-transparent-DF4cSUD_.mjs} +1 -1
  32. package/dist/{desktop-BQjbRzbC.mjs → desktop-y2j6bX6E.mjs} +1 -1
  33. package/dist/{disconnect-BJJJ-Jbh.mjs → disconnect-BGNYdVvv.mjs} +1 -1
  34. package/dist/{discord-srcwRDco.mjs → discord-BtYgWppL.mjs} +1 -1
  35. package/dist/{etherscan-ChoiSe0X.mjs → etherscan-C7ahSocW.mjs} +1 -1
  36. package/dist/{exclamation-triangle-LYM5SuRJ.mjs → exclamation-triangle-C5XbA_b7.mjs} +1 -1
  37. package/dist/{extension-Zmz1m-pJ.mjs → extension-D9Fs7VYb.mjs} +1 -1
  38. package/dist/{external-link-D8AJRItn.mjs → external-link-DeM6SVoW.mjs} +1 -1
  39. package/dist/{facebook-tblN_xEP.mjs → facebook-CpSczilz.mjs} +1 -1
  40. package/dist/{farcaster-CDqqJmTn.mjs → farcaster-D7H6AsV4.mjs} +1 -1
  41. package/dist/{filters-5_4nbc5F.mjs → filters-DnaaXGFI.mjs} +1 -1
  42. package/dist/{github-Cy8R4ZLk.mjs → github-pA0cTLf4.mjs} +1 -1
  43. package/dist/{google-Db1LK5Zx.mjs → google-BxBlcmI-.mjs} +1 -1
  44. package/dist/{help-circle-bWvO2yu_.mjs → help-circle-D_AZOFgI.mjs} +1 -1
  45. package/dist/{helper-DvTqUYSd-ByOncgei.mjs → helper-DvTqUYSd-C2A9b1bQ.mjs} +1 -1
  46. package/dist/{id-CfwEcQQq.mjs → id-CCdCRC3D.mjs} +1 -1
  47. package/dist/{image-CiPLOQr_.mjs → image-Ds61RXkl.mjs} +1 -1
  48. package/dist/{index-hH75ZrZn.mjs → index-B_drcZIy.mjs} +11645 -11624
  49. package/dist/{index-Cm7qS4de-BVh3mMZT.mjs → index-Cm7qS4de-N1qudWjC.mjs} +2 -2
  50. package/dist/{index-_U8utsDi.mjs → index-DlTRTUvo.mjs} +78 -78
  51. package/dist/{index-KEmmG3yM-DNllhpkM.mjs → index-KEmmG3yM-P0Sc-Ho2.mjs} +2 -2
  52. package/dist/{info-ClOy8DvS.mjs → info-BhNnkp-X.mjs} +1 -1
  53. package/dist/{info-circle-Dk6HlTq6.mjs → info-circle-DsX0bbk_.mjs} +1 -1
  54. package/dist/{lightbulb-uYKhawQq.mjs → lightbulb-CUJRewiq.mjs} +1 -1
  55. package/dist/{mail-B_odwZmc.mjs → mail-rjOKQHX9.mjs} +1 -1
  56. package/dist/{mobile-CV_YWCk5.mjs → mobile-B-uBCNkd.mjs} +1 -1
  57. package/dist/{more-Dxl4RJ4V.mjs → more-EDiDLpxd.mjs} +1 -1
  58. package/dist/{network-placeholder-BhOaeIlX.mjs → network-placeholder-DgdOWQXv.mjs} +1 -1
  59. package/dist/{nftPlaceholder-BUL8eWPy.mjs → nftPlaceholder-mzTeZuvN.mjs} +1 -1
  60. package/dist/{off-CGKjmx8T.mjs → off-CxFXREKG.mjs} +1 -1
  61. package/dist/{play-store-zCAaBd5A.mjs → play-store-x8Ax5W8D.mjs} +1 -1
  62. package/dist/{plus-BCPDVWVL.mjs → plus-Cs7OxGs7.mjs} +1 -1
  63. package/dist/{qr-code-BW3YxOJ1.mjs → qr-code-Bj-ta9tq.mjs} +1 -1
  64. package/dist/{react-datetime.cjs-DHKslw8r.mjs → react-datetime.cjs-CvRdxZxq.mjs} +1 -1
  65. package/dist/{recycle-horizontal-gHgFVwEw.mjs → recycle-horizontal-D41KSYNq.mjs} +1 -1
  66. package/dist/{refresh-D8uOd6Su.mjs → refresh-dgiv5yzZ.mjs} +1 -1
  67. package/dist/{reown-logo-D1gIsotQ.mjs → reown-logo-4zhTSqPk.mjs} +1 -1
  68. package/dist/{search-BgZhoRlK.mjs → search-DXNR6oAz.mjs} +1 -1
  69. package/dist/{secp256k1-CkFH_-Jr.mjs → secp256k1-BKEAA4ky.mjs} +1 -1
  70. package/dist/{secp256k1-Bnv2WUX_.mjs → secp256k1-CWQq-EcL.mjs} +1 -1
  71. package/dist/{send-D2sb8Rgl.mjs → send-tIWJD1oB.mjs} +1 -1
  72. package/dist/{swapHorizontal-DJKV9LS9.mjs → swapHorizontal-B45aRnpH.mjs} +1 -1
  73. package/dist/{swapHorizontalBold-KiKw26_E.mjs → swapHorizontalBold-DXRQaXQ-.mjs} +1 -1
  74. package/dist/{swapHorizontalMedium-CyvEuY28.mjs → swapHorizontalMedium-CV4P32Ch.mjs} +1 -1
  75. package/dist/{swapHorizontalRoundedBold-CrC-4i8R.mjs → swapHorizontalRoundedBold-Bw811j3a.mjs} +1 -1
  76. package/dist/{swapVertical-CazGoU9I.mjs → swapVertical-CHtdCnmB.mjs} +1 -1
  77. package/dist/{telegram-CdqoiP5a.mjs → telegram-D9bIgf-Q.mjs} +1 -1
  78. package/dist/{three-dots-DxYne8lu.mjs → three-dots-CINNyFSY.mjs} +1 -1
  79. package/dist/{twitch-DWz_RZcD.mjs → twitch-CiPHT3sW.mjs} +1 -1
  80. package/dist/{twitterIcon-B3xcvtI0.mjs → twitterIcon-DS4dwQ0k.mjs} +1 -1
  81. package/dist/{verify-DcsKV1Pk.mjs → verify-NasQBW1V.mjs} +1 -1
  82. package/dist/{verify-filled-CRpA2R-7.mjs → verify-filled-CSx3OT3o.mjs} +1 -1
  83. package/dist/{w3m-modal-Bw3OiT62.mjs → w3m-modal-C_YiYj3j.mjs} +2 -2
  84. package/dist/{wallet-IuwpzyC4.mjs → wallet-Cr4bghUg.mjs} +1 -1
  85. package/dist/{wallet-placeholder-BEcMRB3H.mjs → wallet-placeholder-B4E9ho-1.mjs} +1 -1
  86. package/dist/{walletconnect-6HzJXqvk.mjs → walletconnect-CBJVw5N9.mjs} +1 -1
  87. package/dist/{warning-circle-BjiKYVZF.mjs → warning-circle-BMKUG75F.mjs} +1 -1
  88. package/dist/{x-CuqwgG3Q.mjs → x-kYPeezx0.mjs} +1 -1
  89. package/package.json +5 -5
package/README.md CHANGED
@@ -62,11 +62,15 @@ export default App
62
62
 
63
63
  This library requires the following peer dependencies:
64
64
 
65
- - React 16.8 or higher
66
- - React DOM 16.8 or higher
65
+ - React 18 or higher
66
+ - React DOM 18 or higher
67
+ - @types/react 18 or higher (for TypeScript projects)
68
+ - @types/react-dom 18 or higher (for TypeScript projects)
67
69
 
68
70
  ## Styling
69
71
 
72
+ You can customize the appearance of the chat component by overriding the following CSS classes:
73
+
70
74
  ```css
71
75
  /* Main container */
72
76
  .chat-library {
@@ -214,6 +218,28 @@ This library requires the following peer dependencies:
214
218
  }
215
219
  ```
216
220
 
221
+ ### How to Override Styles
222
+
223
+ You can override these styles by adding your own CSS rules after importing the library's CSS. For example:
224
+
225
+ ```css
226
+ /* Import the library's CSS first */
227
+ @import '@0xbot/chat-react/dist/index.css';
228
+
229
+ /* Then add your custom styles */
230
+ .chat-bar-input {
231
+ border-color: #ff0000;
232
+ background-color: #f0f0f0;
233
+ color: #333;
234
+ }
235
+
236
+ .chat-bar-send {
237
+ background-color: #4CAF50;
238
+ color: white;
239
+ border: none;
240
+ }
241
+ ```
242
+
217
243
  ## License
218
244
 
219
245
  MIT
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DgKLWYPc.mjs";
1
+ import { m as l } from "./core-Dbm2xJLf.mjs";
2
2
  const o = l`<svg
3
3
  width="14"
4
4
  height="14"
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-DgKLWYPc.mjs";
1
+ import { m as a } from "./core-Dbm2xJLf.mjs";
2
2
  const o = a`<svg fill="none" viewBox="0 0 24 24">
3
3
  <path
4
4
  style="fill: var(--wui-color-accent-100);"
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-DgKLWYPc.mjs";
1
+ import { m as a } from "./core-Dbm2xJLf.mjs";
2
2
  const e = a`
3
3
  <svg width="36" height="36">
4
4
  <path
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DgKLWYPc.mjs";
1
+ import { m as l } from "./core-Dbm2xJLf.mjs";
2
2
  const f = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-DgKLWYPc.mjs";
1
+ import { m as o } from "./core-Dbm2xJLf.mjs";
2
2
  const e = o`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-DgKLWYPc.mjs";
1
+ import { m as C } from "./core-Dbm2xJLf.mjs";
2
2
  const e = C`<svg
3
3
  fill="none"
4
4
  viewBox="0 0 21 20"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-DgKLWYPc.mjs";
1
+ import { m as e } from "./core-Dbm2xJLf.mjs";
2
2
  const o = e`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DgKLWYPc.mjs";
1
+ import { m as l } from "./core-Dbm2xJLf.mjs";
2
2
  const e = l`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-DgKLWYPc.mjs";
1
+ import { m as o } from "./core-Dbm2xJLf.mjs";
2
2
  const e = o`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-DgKLWYPc.mjs";
1
+ import { m as e } from "./core-Dbm2xJLf.mjs";
2
2
  const o = e`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="12"
@@ -1,5 +1,5 @@
1
- import { i as P, e as M, r as A, a as I, x as c, C as L, A as T, O as Y, b as E, E as J, R as O, c as ke, d as D, f as S, S as ft, g as Hi, W as gt, h as jt, j as si, T as kt, k as Qe, M as vi, l as yi, m as Ae, n as li, o as Ki } from "./core-DgKLWYPc.mjs";
2
- import { n as u, c as C, o as y, r as v, U as se, e as Gi, f as Yi, a as Ji } from "./index-_U8utsDi.mjs";
1
+ import { i as P, e as M, r as A, a as I, x as c, C as L, A as T, O as Y, b as E, E as J, R as O, c as ke, d as D, f as S, S as ft, g as Hi, W as gt, h as jt, j as si, T as kt, k as Qe, M as vi, l as yi, m as Ae, n as li, o as Ki } from "./core-Dbm2xJLf.mjs";
2
+ import { n as u, c as C, o as y, r as v, U as se, e as Gi, f as Yi, a as Ji } from "./index-DlTRTUvo.mjs";
3
3
  const Qi = P`
4
4
  :host {
5
5
  position: relative;
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DgKLWYPc.mjs";
1
+ import { m as l } from "./core-Dbm2xJLf.mjs";
2
2
  const a = l`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-DgKLWYPc.mjs";
1
+ import { m as C } from "./core-Dbm2xJLf.mjs";
2
2
  const l = C`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="12"
@@ -1,4 +1,4 @@
1
- import { ac as s, ad as r, ac as t } from "./index-hH75ZrZn.mjs";
1
+ import { ac as s, ad as r, ac as t } from "./index-B_drcZIy.mjs";
2
2
  export {
3
3
  s as ChatLibrary,
4
4
  r as MessageItem,