From a3375189c20da47c3242f1637899579e6fac0337 Mon Sep 17 00:00:00 2001 From: Zishan Ahmad Date: Sat, 25 Jan 2025 10:13:11 +0530 Subject: [PATCH 1/9] minor changes --- packages/api/package.json | 2 +- packages/htmlembed/package.json | 2 +- packages/react-native/package.json | 2 +- packages/react/package.json | 3 ++- .../src/components/Sidebar/Sidebar.styles.js | 2 +- packages/ui-kit/package.json | 1 + yarn.lock | 16 +++++++++------- 7 files changed, 16 insertions(+), 12 deletions(-) diff --git a/packages/api/package.json b/packages/api/package.json index f6c304e94a..9d6b8f53d9 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -23,7 +23,7 @@ "rollup-plugin-serve": "^2.0.2" }, "dependencies": { - "@embeddedchat/auth": "0.0.1", + "@embeddedchat/auth": "workspace:^", "@rocket.chat/sdk": "^1.0.0-alpha.42" } } diff --git a/packages/htmlembed/package.json b/packages/htmlembed/package.json index 33a8370247..4efecd8d89 100644 --- a/packages/htmlembed/package.json +++ b/packages/htmlembed/package.json @@ -13,7 +13,7 @@ "format:check": "prettier --check 'src/' " }, "dependencies": { - "@embeddedchat/react": "0.1.12", + "@embeddedchat/react": "workspace:^", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/packages/react-native/package.json b/packages/react-native/package.json index c68e9bce87..e4c6e7e6bb 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -1,6 +1,6 @@ { "dependencies": { - "@embeddedchat/api": "0.0.2", + "@embeddedchat/api": "workspace:^", "@emotion/native": "^11.11.0", "@emotion/react": "11.7.1", "@expo/vector-icons": "^13.0.0", diff --git a/packages/react/package.json b/packages/react/package.json index 6a2c98d89b..107d124b11 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -83,7 +83,8 @@ "react-dom": ">=17.0.2 <19.0.0" }, "dependencies": { - "@embeddedchat/api": "0.0.2", + "@embeddedchat/api": "workspace:^", + "@embeddedchat/markups": "workspace:^", "@embeddedchat/ui-elements": "workspace:^", "@embeddedchat/ui-kit": "workspace:^", "@emotion/babel-preset-css-prop": "^11.11.0", diff --git a/packages/ui-elements/src/components/Sidebar/Sidebar.styles.js b/packages/ui-elements/src/components/Sidebar/Sidebar.styles.js index bf7d07ef70..4c85b5b0f0 100644 --- a/packages/ui-elements/src/components/Sidebar/Sidebar.styles.js +++ b/packages/ui-elements/src/components/Sidebar/Sidebar.styles.js @@ -3,7 +3,7 @@ import { css } from '@emotion/react'; export const getSidebarStyles = (theme) => { const styles = { sidebarContainer: css` - min-width: 350px; + width: 350px; height: 100%; box-shadow: ${theme.shadows[2]}; z-index: ${theme.zIndex?.sidebar || 1200}; diff --git a/packages/ui-kit/package.json b/packages/ui-kit/package.json index 9d9ddb0d8a..c3aa788c67 100644 --- a/packages/ui-kit/package.json +++ b/packages/ui-kit/package.json @@ -73,6 +73,7 @@ "react-dom": ">=17.0.2 <19.0.0" }, "dependencies": { + "@embeddedchat/markups": "workspace:^", "@emotion/babel-preset-css-prop": "^11.11.0", "@emotion/react": "11.7.1", "@rocket.chat/message-parser": "^0.31.29", diff --git a/yarn.lock b/yarn.lock index 39464bc873..37796a83ad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2287,11 +2287,11 @@ __metadata: languageName: node linkType: hard -"@embeddedchat/api@0.0.2, @embeddedchat/api@workspace:packages/api": +"@embeddedchat/api@workspace:^, @embeddedchat/api@workspace:packages/api": version: 0.0.0-use.local resolution: "@embeddedchat/api@workspace:packages/api" dependencies: - "@embeddedchat/auth": 0.0.1 + "@embeddedchat/auth": "workspace:^" "@rocket.chat/sdk": ^1.0.0-alpha.42 parcel: ^2.10.3 rollup: ^3.23.0 @@ -2301,7 +2301,7 @@ __metadata: languageName: unknown linkType: soft -"@embeddedchat/auth@0.0.1, @embeddedchat/auth@workspace:packages/auth": +"@embeddedchat/auth@workspace:^, @embeddedchat/auth@workspace:packages/auth": version: 0.0.0-use.local resolution: "@embeddedchat/auth@workspace:packages/auth" dependencies: @@ -2316,7 +2316,7 @@ __metadata: version: 0.0.0-use.local resolution: "@embeddedchat/htmlembed@workspace:packages/htmlembed" dependencies: - "@embeddedchat/react": 0.1.12 + "@embeddedchat/react": "workspace:^" "@vitejs/plugin-react": ^3.1.0 live-server: ^1.2.2 react: ^18.2.0 @@ -2399,7 +2399,7 @@ __metadata: dependencies: "@babel/core": ^7.19.3 "@babel/eslint-parser": ^7.22.15 - "@embeddedchat/api": 0.0.2 + "@embeddedchat/api": "workspace:^" "@emotion/native": ^11.11.0 "@emotion/react": 11.7.1 "@expo/vector-icons": ^13.0.0 @@ -2440,7 +2440,7 @@ __metadata: languageName: unknown linkType: soft -"@embeddedchat/react@0.1.12, @embeddedchat/react@workspace:*, @embeddedchat/react@workspace:packages/react": +"@embeddedchat/react@workspace:*, @embeddedchat/react@workspace:^, @embeddedchat/react@workspace:packages/react": version: 0.0.0-use.local resolution: "@embeddedchat/react@workspace:packages/react" dependencies: @@ -2448,7 +2448,8 @@ __metadata: "@babel/plugin-proposal-private-property-in-object": ^7.21.11 "@babel/preset-env": ^7.16.11 "@babel/preset-react": ^7.16.7 - "@embeddedchat/api": 0.0.2 + "@embeddedchat/api": "workspace:^" + "@embeddedchat/markups": "workspace:^" "@embeddedchat/ui-elements": "workspace:^" "@embeddedchat/ui-kit": "workspace:^" "@emotion/babel-plugin": ^11.11.0 @@ -2593,6 +2594,7 @@ __metadata: "@babel/plugin-proposal-private-property-in-object": ^7.21.11 "@babel/preset-env": ^7.16.11 "@babel/preset-react": ^7.16.7 + "@embeddedchat/markups": "workspace:^" "@emotion/babel-plugin": ^11.11.0 "@emotion/babel-preset-css-prop": ^11.11.0 "@emotion/react": 11.7.1 From 2cdddc5acb72850cded3904662a7fb5d867266a9 Mon Sep 17 00:00:00 2001 From: Devansh Kansagra <125076549+devanshkansagra@users.noreply.github.com> Date: Sat, 25 Jan 2025 10:15:27 +0530 Subject: [PATCH 2/9] Updated embeddedchat_setup.md (#927) * Updated embeddedchat_setup.md --- packages/docs/docs/Usage/embeddedchat_setup.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/packages/docs/docs/Usage/embeddedchat_setup.md b/packages/docs/docs/Usage/embeddedchat_setup.md index 3300e62adb..042ae19ef6 100644 --- a/packages/docs/docs/Usage/embeddedchat_setup.md +++ b/packages/docs/docs/Usage/embeddedchat_setup.md @@ -31,6 +31,22 @@ To use the `EmbeddedChat` component, include it in your component's render metho ``` +### **Note (Required when using EmbeddedChat on a Vite Project):** +- To ensure proper functionality with the EmbeddedChat component in a `Vite` project, modify your `vite.config.js` or `vite.config.ts` as follows: +- Add these lines 👇 after `plugins: [react()]`, in the `defineConfig` function: +``` +base: "/", +define: { + "process.env": {}, +}, +``` +These changes allow you to access environment variables in the browser. + +To use environment variables: + +1. Create a `.env` file in your project root and declare variables using the `VITE_` prefix. For example: `VITE_HOST=`. +2. Access these variables in your code using `import.meta.env.`. For example: `import.meta.env.VITE_HOST`. + ## Props EmbeddedChat supports various props that are used to customize different aspects of this component. A brief description of all the supported props is listed as follows: From 6b2773761f5b1994db8f209e417c855e0c950be6 Mon Sep 17 00:00:00 2001 From: Zishan Ahmad Date: Sat, 25 Jan 2025 10:28:36 +0530 Subject: [PATCH 3/9] minor docs change --- .../docs/docs/Usage/embeddedchat_setup.md | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/packages/docs/docs/Usage/embeddedchat_setup.md b/packages/docs/docs/Usage/embeddedchat_setup.md index 042ae19ef6..15cd37a45f 100644 --- a/packages/docs/docs/Usage/embeddedchat_setup.md +++ b/packages/docs/docs/Usage/embeddedchat_setup.md @@ -15,6 +15,23 @@ npm install @embeddedchat/react yarn add @embeddedchat/react ``` +## Vite Configuration (If Applicable) + +If you're using EmbeddedChat in a Vite project, you need to make adjustments to your Vite configuration file to ensure compatibility with how environment variables are handled in the browser. + +### Update `vite.config.js` or `vite.config.ts` + +Add the following settings inside the `defineConfig` function of your Vite configuration file: + +```javascript +base: "/", +define: { + "process.env": {}, +}, +``` + +These changes address compatibility issues and allow EmbeddedChat to function properly in Vite projects. + ## Importing the Component Import the `EmbeddedChat` component into your file: @@ -31,22 +48,6 @@ To use the `EmbeddedChat` component, include it in your component's render metho ``` -### **Note (Required when using EmbeddedChat on a Vite Project):** -- To ensure proper functionality with the EmbeddedChat component in a `Vite` project, modify your `vite.config.js` or `vite.config.ts` as follows: -- Add these lines 👇 after `plugins: [react()]`, in the `defineConfig` function: -``` -base: "/", -define: { - "process.env": {}, -}, -``` -These changes allow you to access environment variables in the browser. - -To use environment variables: - -1. Create a `.env` file in your project root and declare variables using the `VITE_` prefix. For example: `VITE_HOST=`. -2. Access these variables in your code using `import.meta.env.`. For example: `import.meta.env.VITE_HOST`. - ## Props EmbeddedChat supports various props that are used to customize different aspects of this component. A brief description of all the supported props is listed as follows: From 5f604c59fa00944bcaabb305d779ef035bd0b23c Mon Sep 17 00:00:00 2001 From: Zishan Ahmad Date: Sat, 25 Jan 2025 11:57:20 +0530 Subject: [PATCH 4/9] added changesets --- .changeset/dull-items-wink.md | 10 ++++++++++ .changeset/eight-ladybugs-deliver.md | 10 ++++++++++ .changeset/empty-moles-dream.md | 15 +++++++++++++++ .changeset/gold-pandas-pay.md | 7 +++++++ .changeset/itchy-melons-own.md | 14 ++++++++++++++ .changeset/mean-moose-whisper.md | 15 +++++++++++++++ .changeset/olive-turtles-confess.md | 10 ++++++++++ .changeset/purple-poets-applaud.md | 10 ++++++++++ .changeset/red-owls-protect.md | 17 +++++++++++++++++ .changeset/shy-rocks-scream.md | 12 ++++++++++++ .changeset/strong-insects-sit.md | 9 +++++++++ .changeset/thin-roses-visit.md | 18 ++++++++++++++++++ .changeset/two-maps-camp.md | 13 +++++++++++++ 13 files changed, 160 insertions(+) create mode 100644 .changeset/dull-items-wink.md create mode 100644 .changeset/eight-ladybugs-deliver.md create mode 100644 .changeset/empty-moles-dream.md create mode 100644 .changeset/gold-pandas-pay.md create mode 100644 .changeset/itchy-melons-own.md create mode 100644 .changeset/mean-moose-whisper.md create mode 100644 .changeset/olive-turtles-confess.md create mode 100644 .changeset/purple-poets-applaud.md create mode 100644 .changeset/red-owls-protect.md create mode 100644 .changeset/shy-rocks-scream.md create mode 100644 .changeset/strong-insects-sit.md create mode 100644 .changeset/thin-roses-visit.md create mode 100644 .changeset/two-maps-camp.md diff --git a/.changeset/dull-items-wink.md b/.changeset/dull-items-wink.md new file mode 100644 index 0000000000..95f84c17f5 --- /dev/null +++ b/.changeset/dull-items-wink.md @@ -0,0 +1,10 @@ +--- +"@embeddedchat/ui-elements": patch +"@embeddedchat/ui-kit": patch +"@embeddedchat/react": patch +"@embeddedchat/markups": patch +--- + +- Optimized package size for bundling. + +See [#606](https://github.com/RocketChat/EmbeddedChat/pull/606). \ No newline at end of file diff --git a/.changeset/eight-ladybugs-deliver.md b/.changeset/eight-ladybugs-deliver.md new file mode 100644 index 0000000000..8a02cb4c2c --- /dev/null +++ b/.changeset/eight-ladybugs-deliver.md @@ -0,0 +1,10 @@ +--- +"@embeddedchat/ui-elements": minor +"@embeddedchat/ui-kit": minor +"@embeddedchat/react": minor +"@embeddedchat/markups": minor +--- + +- Separated components, markups, and ui-kit into individual monorepos. + +See [#604](https://github.com/RocketChat/EmbeddedChat/pull/604). diff --git a/.changeset/empty-moles-dream.md b/.changeset/empty-moles-dream.md new file mode 100644 index 0000000000..3056a068a1 --- /dev/null +++ b/.changeset/empty-moles-dream.md @@ -0,0 +1,15 @@ +--- +"@embeddedchat/react": minor +--- + +- Replaced all `Module.css` files with inline styles using Emotion CSS. +- Fixed emoji alignment by removing a hotfix and applying an actual fix. +- Removed the non-functional grid component and added a new grid component without `Module.css` files. +- Refactored the `search` component into a sidebar. +- Refactored the `Attachment` component to utilize the modal component, removing unnecessary code. +- Replaced `
` and `` with `` for consistency across components. +- Added `styles.js` files for components with more than 2 lines of CSS. +- Restructured the project by separating core components from views. +- Fixed modal stylings. + +See [#576](https://github.com/RocketChat/EmbeddedChat/pull/576). diff --git a/.changeset/gold-pandas-pay.md b/.changeset/gold-pandas-pay.md new file mode 100644 index 0000000000..09ea09308f --- /dev/null +++ b/.changeset/gold-pandas-pay.md @@ -0,0 +1,7 @@ +--- +"@embeddedchat/rc-app": patch +--- + +- Added regex check for valid CSS dimensions and used onPreSettingUpdate to reject invalid updates. + +See [#601](https://github.com/RocketChat/EmbeddedChat/pull/601). \ No newline at end of file diff --git a/.changeset/itchy-melons-own.md b/.changeset/itchy-melons-own.md new file mode 100644 index 0000000000..382feb06ea --- /dev/null +++ b/.changeset/itchy-melons-own.md @@ -0,0 +1,14 @@ +--- +"@embeddedchat/react": minor +--- + +- Fixed emoji popup behavior when sidebar opens. +- Cleaned up hardcoded colors, improved UI consistency with themes. +- Fixed TOTP modal issues. +- Fixed bounce effect when closing emoji popup. +- Added customization options in ChatHeader, Message Toolbox, and Formatting Toolbar. +- Designed bubble variant for UI consistency. +- Refactored bubble styles for better alignment. +- Fixed UI for quote and pinned message. + +See [#581](https://github.com/RocketChat/EmbeddedChat/pull/581). diff --git a/.changeset/mean-moose-whisper.md b/.changeset/mean-moose-whisper.md new file mode 100644 index 0000000000..f3b471be22 --- /dev/null +++ b/.changeset/mean-moose-whisper.md @@ -0,0 +1,15 @@ +--- +"@embeddedchat/react": minor +"@embeddedchat/auth": minor +"@embeddedchat/rc-app": minor +--- + +- Reordered code for better readability. +- Removed unnecessary global states, handled by ECOptions. +- Cleaned up EmbeddedChat component, moved layout-related functions to ChatLayout.js. +- Added AuthTokenEndpoint in RC-app for token management. +- Modified auth.js to support both secure and localStorage login. +- Added API calls in RocketChatAuth library. + +See [#590](https://github.com/RocketChat/EmbeddedChat/pull/590). + diff --git a/.changeset/olive-turtles-confess.md b/.changeset/olive-turtles-confess.md new file mode 100644 index 0000000000..3855a55ca7 --- /dev/null +++ b/.changeset/olive-turtles-confess.md @@ -0,0 +1,10 @@ +--- +"@embeddedchat/react-native": patch +"@embeddedchat/react": patch +"@embeddedchat/api": patch +"@embeddedchat/auth": patch +--- + +- Restructured Auto Login, added loading screens, and cleaned up code. + +See [#594](https://github.com/RocketChat/EmbeddedChat/pull/594). \ No newline at end of file diff --git a/.changeset/purple-poets-applaud.md b/.changeset/purple-poets-applaud.md new file mode 100644 index 0000000000..345bfb6f40 --- /dev/null +++ b/.changeset/purple-poets-applaud.md @@ -0,0 +1,10 @@ +--- +"@embeddedchat/ui-elements": minor +"@embeddedchat/react": minor +"layout_editor": minor +"@embeddedchat/rc-app": patch +--- + +- Introduced 'layout-editor' for real-time drag-and-drop layout customization and theme generation in EmbeddedChat. + +See [#607](https://github.com/RocketChat/EmbeddedChat/pull/607). \ No newline at end of file diff --git a/.changeset/red-owls-protect.md b/.changeset/red-owls-protect.md new file mode 100644 index 0000000000..79aaa080e8 --- /dev/null +++ b/.changeset/red-owls-protect.md @@ -0,0 +1,17 @@ +--- +"@embeddedchat/react": minor +"@embeddedchat/api": patch +--- + +- Modularized UiKit folder structure. +- Added logic for state and view updates, similar to Rocket.Chat. +- Implemented contexts and action handlers for modals and actions. +- Added interactions for sending values to the server. +- Introduced global states for modals and contextual bar. +- Resolved menu issues and added contextual bar support. +- Fixed stylings and addressed minor bugs. +- Added support for static and multi-select elements with custom components. +- Created stories for new components. + +See [#593](https://github.com/RocketChat/EmbeddedChat/pull/593). + diff --git a/.changeset/shy-rocks-scream.md b/.changeset/shy-rocks-scream.md new file mode 100644 index 0000000000..e3d27fbadd --- /dev/null +++ b/.changeset/shy-rocks-scream.md @@ -0,0 +1,12 @@ +--- +"@embeddedchat/react": minor +--- + +- Refactored bubble styles to be independent. +- Refactored sidebar with a common message aggregator to reduce repetition. +- Positioned popup relative to the message. +- Fixed display name prop issues. +- Added popup option for sidebar menus, allowing flexible choice. +- Added random color option for display names. + +See [#584](https://github.com/RocketChat/EmbeddedChat/pull/584). diff --git a/.changeset/strong-insects-sit.md b/.changeset/strong-insects-sit.md new file mode 100644 index 0000000000..8dfdf41a8b --- /dev/null +++ b/.changeset/strong-insects-sit.md @@ -0,0 +1,9 @@ +--- +"@embeddedchat/react": minor +"@embeddedchat/api": minor +"@embeddedchat/rc-app": minor +--- + +- Configure EC remotely: added settings, refactored read logic, introduced fetch function, and added useRemoteProps hook to override props. + +See [#599](https://github.com/RocketChat/EmbeddedChat/pull/599). diff --git a/.changeset/thin-roses-visit.md b/.changeset/thin-roses-visit.md new file mode 100644 index 0000000000..ffdc7c9d36 --- /dev/null +++ b/.changeset/thin-roses-visit.md @@ -0,0 +1,18 @@ +--- +"@embeddedchat/react": minor +"e2e-react": patch +--- + +- Shifted to ShadCN naming system. +- Fixed theming system and various component stylings. +- Limited modal size to EC component using React Portals. +- Removed Dropbox +- Fixed ImageGallery and UI inconsistencies. +- Resolved Sidebar overlap issue. +- Redesigned 'RocketChat - Minimalist' UI variant. +- Fixed Popup, member list, and command list popup. +- Fixed swiper bugs and stylings. +- Removed unnecessary dependencies and matched colors. +- Updated test to check .ec-chat-header--channelName instead of .ec-chat-header--channelDescription. + +See [#579](https://github.com/RocketChat/EmbeddedChat/pull/579). diff --git a/.changeset/two-maps-camp.md b/.changeset/two-maps-camp.md new file mode 100644 index 0000000000..6b2fbc00c0 --- /dev/null +++ b/.changeset/two-maps-camp.md @@ -0,0 +1,13 @@ +--- +"@embeddedchat/react": minor +--- + +- Fixed MemberList and CommandList stylings. +- Added auto-scroll functionality to MentionList and CommandList menus. +- Added keyboard control in CommandList menu. +- Implemented word break in input component when text exceeds the limit. +- Added scroll functionality in input. +- Fixed Ctrl+B and Ctrl+I toggling, reused existing functionality. +- Refactored code into separate functions and components based on concerns. + +See [#589](https://github.com/RocketChat/EmbeddedChat/pull/589). \ No newline at end of file From 5baea1465b0a23db71ea43100f1baa88df9eaa92 Mon Sep 17 00:00:00 2001 From: Zishan Ahmad Date: Sat, 25 Jan 2025 11:59:06 +0530 Subject: [PATCH 5/9] added changelogs --- .changeset/dull-items-wink.md | 10 --- .changeset/eight-ladybugs-deliver.md | 10 --- .changeset/empty-moles-dream.md | 15 ---- .changeset/gold-pandas-pay.md | 7 -- .changeset/itchy-melons-own.md | 14 --- .changeset/mean-moose-whisper.md | 15 ---- .changeset/olive-turtles-confess.md | 10 --- .changeset/purple-poets-applaud.md | 10 --- .changeset/red-owls-protect.md | 17 ---- .changeset/shy-rocks-scream.md | 12 --- .changeset/strong-insects-sit.md | 9 -- .changeset/thick-moose-reply.md | 5 -- .changeset/thin-roses-visit.md | 18 ---- .changeset/two-maps-camp.md | 13 --- .changeset/wicked-cats-try.md | 5 -- packages/api/CHANGELOG.md | 31 +++++++ packages/api/package.json | 2 +- packages/auth/CHANGELOG.md | 21 +++++ packages/auth/package.json | 2 +- packages/e2e-react/CHANGELOG.md | 36 ++++++++ packages/e2e-react/package.json | 2 +- packages/htmlembed/CHANGELOG.md | 20 +++++ packages/htmlembed/package.json | 2 +- packages/layout_editor/CHANGELOG.md | 17 ++++ packages/layout_editor/package.json | 2 +- packages/markups/CHANGELOG.md | 20 +++++ packages/markups/package.json | 2 +- packages/rc-app/CHANGELOG.md | 29 +++++++ packages/rc-app/package.json | 2 +- packages/react-native/CHANGELOG.md | 13 +++ packages/react-native/package.json | 2 +- packages/react/CHANGELOG.md | 123 +++++++++++++++++++++++++++ packages/react/package.json | 2 +- packages/ui-elements/CHANGELOG.md | 19 +++++ packages/ui-elements/package.json | 2 +- packages/ui-kit/CHANGELOG.md | 19 +++++ packages/ui-kit/package.json | 2 +- 37 files changed, 359 insertions(+), 181 deletions(-) delete mode 100644 .changeset/dull-items-wink.md delete mode 100644 .changeset/eight-ladybugs-deliver.md delete mode 100644 .changeset/empty-moles-dream.md delete mode 100644 .changeset/gold-pandas-pay.md delete mode 100644 .changeset/itchy-melons-own.md delete mode 100644 .changeset/mean-moose-whisper.md delete mode 100644 .changeset/olive-turtles-confess.md delete mode 100644 .changeset/purple-poets-applaud.md delete mode 100644 .changeset/red-owls-protect.md delete mode 100644 .changeset/shy-rocks-scream.md delete mode 100644 .changeset/strong-insects-sit.md delete mode 100644 .changeset/thick-moose-reply.md delete mode 100644 .changeset/thin-roses-visit.md delete mode 100644 .changeset/two-maps-camp.md delete mode 100644 .changeset/wicked-cats-try.md create mode 100644 packages/auth/CHANGELOG.md create mode 100644 packages/e2e-react/CHANGELOG.md create mode 100644 packages/layout_editor/CHANGELOG.md create mode 100644 packages/markups/CHANGELOG.md create mode 100644 packages/rc-app/CHANGELOG.md create mode 100644 packages/ui-elements/CHANGELOG.md create mode 100644 packages/ui-kit/CHANGELOG.md diff --git a/.changeset/dull-items-wink.md b/.changeset/dull-items-wink.md deleted file mode 100644 index 95f84c17f5..0000000000 --- a/.changeset/dull-items-wink.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@embeddedchat/ui-elements": patch -"@embeddedchat/ui-kit": patch -"@embeddedchat/react": patch -"@embeddedchat/markups": patch ---- - -- Optimized package size for bundling. - -See [#606](https://github.com/RocketChat/EmbeddedChat/pull/606). \ No newline at end of file diff --git a/.changeset/eight-ladybugs-deliver.md b/.changeset/eight-ladybugs-deliver.md deleted file mode 100644 index 8a02cb4c2c..0000000000 --- a/.changeset/eight-ladybugs-deliver.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@embeddedchat/ui-elements": minor -"@embeddedchat/ui-kit": minor -"@embeddedchat/react": minor -"@embeddedchat/markups": minor ---- - -- Separated components, markups, and ui-kit into individual monorepos. - -See [#604](https://github.com/RocketChat/EmbeddedChat/pull/604). diff --git a/.changeset/empty-moles-dream.md b/.changeset/empty-moles-dream.md deleted file mode 100644 index 3056a068a1..0000000000 --- a/.changeset/empty-moles-dream.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@embeddedchat/react": minor ---- - -- Replaced all `Module.css` files with inline styles using Emotion CSS. -- Fixed emoji alignment by removing a hotfix and applying an actual fix. -- Removed the non-functional grid component and added a new grid component without `Module.css` files. -- Refactored the `search` component into a sidebar. -- Refactored the `Attachment` component to utilize the modal component, removing unnecessary code. -- Replaced `
` and `` with `` for consistency across components. -- Added `styles.js` files for components with more than 2 lines of CSS. -- Restructured the project by separating core components from views. -- Fixed modal stylings. - -See [#576](https://github.com/RocketChat/EmbeddedChat/pull/576). diff --git a/.changeset/gold-pandas-pay.md b/.changeset/gold-pandas-pay.md deleted file mode 100644 index 09ea09308f..0000000000 --- a/.changeset/gold-pandas-pay.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@embeddedchat/rc-app": patch ---- - -- Added regex check for valid CSS dimensions and used onPreSettingUpdate to reject invalid updates. - -See [#601](https://github.com/RocketChat/EmbeddedChat/pull/601). \ No newline at end of file diff --git a/.changeset/itchy-melons-own.md b/.changeset/itchy-melons-own.md deleted file mode 100644 index 382feb06ea..0000000000 --- a/.changeset/itchy-melons-own.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@embeddedchat/react": minor ---- - -- Fixed emoji popup behavior when sidebar opens. -- Cleaned up hardcoded colors, improved UI consistency with themes. -- Fixed TOTP modal issues. -- Fixed bounce effect when closing emoji popup. -- Added customization options in ChatHeader, Message Toolbox, and Formatting Toolbar. -- Designed bubble variant for UI consistency. -- Refactored bubble styles for better alignment. -- Fixed UI for quote and pinned message. - -See [#581](https://github.com/RocketChat/EmbeddedChat/pull/581). diff --git a/.changeset/mean-moose-whisper.md b/.changeset/mean-moose-whisper.md deleted file mode 100644 index f3b471be22..0000000000 --- a/.changeset/mean-moose-whisper.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@embeddedchat/react": minor -"@embeddedchat/auth": minor -"@embeddedchat/rc-app": minor ---- - -- Reordered code for better readability. -- Removed unnecessary global states, handled by ECOptions. -- Cleaned up EmbeddedChat component, moved layout-related functions to ChatLayout.js. -- Added AuthTokenEndpoint in RC-app for token management. -- Modified auth.js to support both secure and localStorage login. -- Added API calls in RocketChatAuth library. - -See [#590](https://github.com/RocketChat/EmbeddedChat/pull/590). - diff --git a/.changeset/olive-turtles-confess.md b/.changeset/olive-turtles-confess.md deleted file mode 100644 index 3855a55ca7..0000000000 --- a/.changeset/olive-turtles-confess.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@embeddedchat/react-native": patch -"@embeddedchat/react": patch -"@embeddedchat/api": patch -"@embeddedchat/auth": patch ---- - -- Restructured Auto Login, added loading screens, and cleaned up code. - -See [#594](https://github.com/RocketChat/EmbeddedChat/pull/594). \ No newline at end of file diff --git a/.changeset/purple-poets-applaud.md b/.changeset/purple-poets-applaud.md deleted file mode 100644 index 345bfb6f40..0000000000 --- a/.changeset/purple-poets-applaud.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@embeddedchat/ui-elements": minor -"@embeddedchat/react": minor -"layout_editor": minor -"@embeddedchat/rc-app": patch ---- - -- Introduced 'layout-editor' for real-time drag-and-drop layout customization and theme generation in EmbeddedChat. - -See [#607](https://github.com/RocketChat/EmbeddedChat/pull/607). \ No newline at end of file diff --git a/.changeset/red-owls-protect.md b/.changeset/red-owls-protect.md deleted file mode 100644 index 79aaa080e8..0000000000 --- a/.changeset/red-owls-protect.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"@embeddedchat/react": minor -"@embeddedchat/api": patch ---- - -- Modularized UiKit folder structure. -- Added logic for state and view updates, similar to Rocket.Chat. -- Implemented contexts and action handlers for modals and actions. -- Added interactions for sending values to the server. -- Introduced global states for modals and contextual bar. -- Resolved menu issues and added contextual bar support. -- Fixed stylings and addressed minor bugs. -- Added support for static and multi-select elements with custom components. -- Created stories for new components. - -See [#593](https://github.com/RocketChat/EmbeddedChat/pull/593). - diff --git a/.changeset/shy-rocks-scream.md b/.changeset/shy-rocks-scream.md deleted file mode 100644 index e3d27fbadd..0000000000 --- a/.changeset/shy-rocks-scream.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@embeddedchat/react": minor ---- - -- Refactored bubble styles to be independent. -- Refactored sidebar with a common message aggregator to reduce repetition. -- Positioned popup relative to the message. -- Fixed display name prop issues. -- Added popup option for sidebar menus, allowing flexible choice. -- Added random color option for display names. - -See [#584](https://github.com/RocketChat/EmbeddedChat/pull/584). diff --git a/.changeset/strong-insects-sit.md b/.changeset/strong-insects-sit.md deleted file mode 100644 index 8dfdf41a8b..0000000000 --- a/.changeset/strong-insects-sit.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@embeddedchat/react": minor -"@embeddedchat/api": minor -"@embeddedchat/rc-app": minor ---- - -- Configure EC remotely: added settings, refactored read logic, introduced fetch function, and added useRemoteProps hook to override props. - -See [#599](https://github.com/RocketChat/EmbeddedChat/pull/599). diff --git a/.changeset/thick-moose-reply.md b/.changeset/thick-moose-reply.md deleted file mode 100644 index df66e72293..0000000000 --- a/.changeset/thick-moose-reply.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@embeddedchat/react": patch ---- - -Fix: Room members avatar invalid avatar url creation diff --git a/.changeset/thin-roses-visit.md b/.changeset/thin-roses-visit.md deleted file mode 100644 index ffdc7c9d36..0000000000 --- a/.changeset/thin-roses-visit.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"@embeddedchat/react": minor -"e2e-react": patch ---- - -- Shifted to ShadCN naming system. -- Fixed theming system and various component stylings. -- Limited modal size to EC component using React Portals. -- Removed Dropbox -- Fixed ImageGallery and UI inconsistencies. -- Resolved Sidebar overlap issue. -- Redesigned 'RocketChat - Minimalist' UI variant. -- Fixed Popup, member list, and command list popup. -- Fixed swiper bugs and stylings. -- Removed unnecessary dependencies and matched colors. -- Updated test to check .ec-chat-header--channelName instead of .ec-chat-header--channelDescription. - -See [#579](https://github.com/RocketChat/EmbeddedChat/pull/579). diff --git a/.changeset/two-maps-camp.md b/.changeset/two-maps-camp.md deleted file mode 100644 index 6b2fbc00c0..0000000000 --- a/.changeset/two-maps-camp.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@embeddedchat/react": minor ---- - -- Fixed MemberList and CommandList stylings. -- Added auto-scroll functionality to MentionList and CommandList menus. -- Added keyboard control in CommandList menu. -- Implemented word break in input component when text exceeds the limit. -- Added scroll functionality in input. -- Fixed Ctrl+B and Ctrl+I toggling, reused existing functionality. -- Refactored code into separate functions and components based on concerns. - -See [#589](https://github.com/RocketChat/EmbeddedChat/pull/589). \ No newline at end of file diff --git a/.changeset/wicked-cats-try.md b/.changeset/wicked-cats-try.md deleted file mode 100644 index 9f9506c9e2..0000000000 --- a/.changeset/wicked-cats-try.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@embeddedchat/react": patch ---- - -Improve: Added confirmation modal on deleting message diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 90392b99d7..773706021b 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,36 @@ # @embeddedchat/api +## 0.1.0 + +### Minor Changes + +- 5f604c59: - Configure EC remotely: added settings, refactored read logic, introduced fetch function, and added useRemoteProps hook to override props. + + See [#599](https://github.com/RocketChat/EmbeddedChat/pull/599). + +### Patch Changes + +- 5f604c59: - Restructured Auto Login, added loading screens, and cleaned up code. + + See [#594](https://github.com/RocketChat/EmbeddedChat/pull/594). + +- 5f604c59: - Modularized UiKit folder structure. + + - Added logic for state and view updates, similar to Rocket.Chat. + - Implemented contexts and action handlers for modals and actions. + - Added interactions for sending values to the server. + - Introduced global states for modals and contextual bar. + - Resolved menu issues and added contextual bar support. + - Fixed stylings and addressed minor bugs. + - Added support for static and multi-select elements with custom components. + - Created stories for new components. + + See [#593](https://github.com/RocketChat/EmbeddedChat/pull/593). + +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] + - @embeddedchat/auth@0.1.0 + ## 0.0.2 ### Patch Changes diff --git a/packages/api/package.json b/packages/api/package.json index 9d6b8f53d9..86f78cf488 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/api", - "version": "0.0.2", + "version": "0.1.0", "description": "A comprehensive API wrapper for Rocket.Chat, facilitating seamless integration and interaction with chat functionalities in web applications.", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/auth/CHANGELOG.md b/packages/auth/CHANGELOG.md new file mode 100644 index 0000000000..093f29c2a9 --- /dev/null +++ b/packages/auth/CHANGELOG.md @@ -0,0 +1,21 @@ +# @embeddedchat/auth + +## 0.1.0 + +### Minor Changes + +- 5f604c59: - Reordered code for better readability. + + - Removed unnecessary global states, handled by ECOptions. + - Cleaned up EmbeddedChat component, moved layout-related functions to ChatLayout.js. + - Added AuthTokenEndpoint in RC-app for token management. + - Modified auth.js to support both secure and localStorage login. + - Added API calls in RocketChatAuth library. + + See [#590](https://github.com/RocketChat/EmbeddedChat/pull/590). + +### Patch Changes + +- 5f604c59: - Restructured Auto Login, added loading screens, and cleaned up code. + + See [#594](https://github.com/RocketChat/EmbeddedChat/pull/594). diff --git a/packages/auth/package.json b/packages/auth/package.json index 0eb2f1a776..986d07d125 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/auth", - "version": "0.0.1", + "version": "0.1.0", "description": "This is the `@embeddedchat/auth` package, designed to simplify authentication processes in applications using EmbeddedChat. It provides a streamlined and easy-to-use API for handling various authentication methods.", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/e2e-react/CHANGELOG.md b/packages/e2e-react/CHANGELOG.md new file mode 100644 index 0000000000..18513a27c5 --- /dev/null +++ b/packages/e2e-react/CHANGELOG.md @@ -0,0 +1,36 @@ +# e2e-react + +## 0.0.1 + +### Patch Changes + +- 5f604c59: - Shifted to ShadCN naming system. + + - Fixed theming system and various component stylings. + - Limited modal size to EC component using React Portals. + - Removed Dropbox + - Fixed ImageGallery and UI inconsistencies. + - Resolved Sidebar overlap issue. + - Redesigned 'RocketChat - Minimalist' UI variant. + - Fixed Popup, member list, and command list popup. + - Fixed swiper bugs and stylings. + - Removed unnecessary dependencies and matched colors. + - Updated test to check .ec-chat-header--channelName instead of .ec-chat-header--channelDescription. + + See [#579](https://github.com/RocketChat/EmbeddedChat/pull/579). + +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [c8c9dee0] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [100c5f79] + - @embeddedchat/react@0.2.0 diff --git a/packages/e2e-react/package.json b/packages/e2e-react/package.json index 40a4543231..5f66d362bf 100644 --- a/packages/e2e-react/package.json +++ b/packages/e2e-react/package.json @@ -1,7 +1,7 @@ { "name": "e2e-react", "private": true, - "version": "0.0.0", + "version": "0.0.1", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/htmlembed/CHANGELOG.md b/packages/htmlembed/CHANGELOG.md index 143d9b710f..b216ea4d34 100644 --- a/packages/htmlembed/CHANGELOG.md +++ b/packages/htmlembed/CHANGELOG.md @@ -1,5 +1,25 @@ # @embeddedchat/htmlembed +## 0.0.6 + +### Patch Changes + +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [c8c9dee0] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [100c5f79] + - @embeddedchat/react@0.2.0 + ## 0.0.5 ### Patch Changes diff --git a/packages/htmlembed/package.json b/packages/htmlembed/package.json index 4efecd8d89..b105681985 100644 --- a/packages/htmlembed/package.json +++ b/packages/htmlembed/package.json @@ -1,7 +1,7 @@ { "name": "@embeddedchat/htmlembed", "description": "A lightweight and easy-to-use package that allows seamless integration of Embedded Chat into web applications using a simple HTML snippet. Ideal for quickly embedding chat functionalities without complex setup", - "version": "0.0.5", + "version": "0.0.6", "main": "index.js", "license": "MIT", "type": "module", diff --git a/packages/layout_editor/CHANGELOG.md b/packages/layout_editor/CHANGELOG.md new file mode 100644 index 0000000000..37cd474488 --- /dev/null +++ b/packages/layout_editor/CHANGELOG.md @@ -0,0 +1,17 @@ +# layout_editor + +## 0.1.0 + +### Minor Changes + +- 5f604c59: - Introduced 'layout-editor' for real-time drag-and-drop layout customization and theme generation in EmbeddedChat. + + See [#607](https://github.com/RocketChat/EmbeddedChat/pull/607). + +### Patch Changes + +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] + - @embeddedchat/ui-elements@0.1.0 + - @embeddedchat/markups@0.1.0 diff --git a/packages/layout_editor/package.json b/packages/layout_editor/package.json index 9d035a4c71..5b7dcf4e38 100644 --- a/packages/layout_editor/package.json +++ b/packages/layout_editor/package.json @@ -1,7 +1,7 @@ { "name": "layout_editor", "private": true, - "version": "0.0.0", + "version": "0.1.0", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/markups/CHANGELOG.md b/packages/markups/CHANGELOG.md new file mode 100644 index 0000000000..48cceeb194 --- /dev/null +++ b/packages/markups/CHANGELOG.md @@ -0,0 +1,20 @@ +# @embeddedchat/markups + +## 0.1.0 + +### Minor Changes + +- 5f604c59: - Separated components, markups, and ui-kit into individual monorepos. + + See [#604](https://github.com/RocketChat/EmbeddedChat/pull/604). + +### Patch Changes + +- 5f604c59: - Optimized package size for bundling. + + See [#606](https://github.com/RocketChat/EmbeddedChat/pull/606). + +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] + - @embeddedchat/ui-elements@0.1.0 diff --git a/packages/markups/package.json b/packages/markups/package.json index 3b09bc97fc..9f3c88a576 100644 --- a/packages/markups/package.json +++ b/packages/markups/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/markups", - "version": "0.0.0", + "version": "0.1.0", "description": "A React component library for handling markup interactions in EmbeddedChat", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/packages/rc-app/CHANGELOG.md b/packages/rc-app/CHANGELOG.md new file mode 100644 index 0000000000..c32717ad58 --- /dev/null +++ b/packages/rc-app/CHANGELOG.md @@ -0,0 +1,29 @@ +# @embeddedchat/rc-app + +## 0.1.0 + +### Minor Changes + +- 5f604c59: - Reordered code for better readability. + + - Removed unnecessary global states, handled by ECOptions. + - Cleaned up EmbeddedChat component, moved layout-related functions to ChatLayout.js. + - Added AuthTokenEndpoint in RC-app for token management. + - Modified auth.js to support both secure and localStorage login. + - Added API calls in RocketChatAuth library. + + See [#590](https://github.com/RocketChat/EmbeddedChat/pull/590). + +- 5f604c59: - Configure EC remotely: added settings, refactored read logic, introduced fetch function, and added useRemoteProps hook to override props. + + See [#599](https://github.com/RocketChat/EmbeddedChat/pull/599). + +### Patch Changes + +- 5f604c59: - Added regex check for valid CSS dimensions and used onPreSettingUpdate to reject invalid updates. + + See [#601](https://github.com/RocketChat/EmbeddedChat/pull/601). + +- 5f604c59: - Introduced 'layout-editor' for real-time drag-and-drop layout customization and theme generation in EmbeddedChat. + + See [#607](https://github.com/RocketChat/EmbeddedChat/pull/607). diff --git a/packages/rc-app/package.json b/packages/rc-app/package.json index a55446ec35..3aad8d29a4 100644 --- a/packages/rc-app/package.json +++ b/packages/rc-app/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/rc-app", - "version": "0.0.1", + "version": "0.1.0", "private": true, "devDependencies": { "@rocket.chat/apps-engine": "^1.36.0", diff --git a/packages/react-native/CHANGELOG.md b/packages/react-native/CHANGELOG.md index 5f44e53981..521e8bff8b 100644 --- a/packages/react-native/CHANGELOG.md +++ b/packages/react-native/CHANGELOG.md @@ -1,5 +1,18 @@ # @embeddedchat/react-native +## 0.0.3 + +### Patch Changes + +- 5f604c59: - Restructured Auto Login, added loading screens, and cleaned up code. + + See [#594](https://github.com/RocketChat/EmbeddedChat/pull/594). + +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] + - @embeddedchat/api@0.1.0 + ## 0.0.2 ### Patch Changes diff --git a/packages/react-native/package.json b/packages/react-native/package.json index e4c6e7e6bb..fa1c6b850a 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -54,7 +54,7 @@ "storybook:ios": "sb-rn-get-stories && cross-env STORYBOOK_ENABLED='true' expo start --ios", "storybook:android": "sb-rn-get-stories && cross-env STORYBOOK_ENABLED='true' expo start --android" }, - "version": "0.0.2", + "version": "0.0.3", "private": true, "name": "@embeddedchat/react-native", "main": "start-app.js" diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index d7581854b1..5ec4a24d9a 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,128 @@ # @embeddedchat/react +## 0.2.0 + +### Minor Changes + +- 5f604c59: - Separated components, markups, and ui-kit into individual monorepos. + + See [#604](https://github.com/RocketChat/EmbeddedChat/pull/604). + +- 5f604c59: - Replaced all `Module.css` files with inline styles using Emotion CSS. + + - Fixed emoji alignment by removing a hotfix and applying an actual fix. + - Removed the non-functional grid component and added a new grid component without `Module.css` files. + - Refactored the `search` component into a sidebar. + - Refactored the `Attachment` component to utilize the modal component, removing unnecessary code. + - Replaced `
` and `` with `` for consistency across components. + - Added `styles.js` files for components with more than 2 lines of CSS. + - Restructured the project by separating core components from views. + - Fixed modal stylings. + + See [#576](https://github.com/RocketChat/EmbeddedChat/pull/576). + +- 5f604c59: - Fixed emoji popup behavior when sidebar opens. + + - Cleaned up hardcoded colors, improved UI consistency with themes. + - Fixed TOTP modal issues. + - Fixed bounce effect when closing emoji popup. + - Added customization options in ChatHeader, Message Toolbox, and Formatting Toolbar. + - Designed bubble variant for UI consistency. + - Refactored bubble styles for better alignment. + - Fixed UI for quote and pinned message. + + See [#581](https://github.com/RocketChat/EmbeddedChat/pull/581). + +- 5f604c59: - Reordered code for better readability. + + - Removed unnecessary global states, handled by ECOptions. + - Cleaned up EmbeddedChat component, moved layout-related functions to ChatLayout.js. + - Added AuthTokenEndpoint in RC-app for token management. + - Modified auth.js to support both secure and localStorage login. + - Added API calls in RocketChatAuth library. + + See [#590](https://github.com/RocketChat/EmbeddedChat/pull/590). + +- 5f604c59: - Introduced 'layout-editor' for real-time drag-and-drop layout customization and theme generation in EmbeddedChat. + + See [#607](https://github.com/RocketChat/EmbeddedChat/pull/607). + +- 5f604c59: - Modularized UiKit folder structure. + + - Added logic for state and view updates, similar to Rocket.Chat. + - Implemented contexts and action handlers for modals and actions. + - Added interactions for sending values to the server. + - Introduced global states for modals and contextual bar. + - Resolved menu issues and added contextual bar support. + - Fixed stylings and addressed minor bugs. + - Added support for static and multi-select elements with custom components. + - Created stories for new components. + + See [#593](https://github.com/RocketChat/EmbeddedChat/pull/593). + +- 5f604c59: - Refactored bubble styles to be independent. + + - Refactored sidebar with a common message aggregator to reduce repetition. + - Positioned popup relative to the message. + - Fixed display name prop issues. + - Added popup option for sidebar menus, allowing flexible choice. + - Added random color option for display names. + + See [#584](https://github.com/RocketChat/EmbeddedChat/pull/584). + +- 5f604c59: - Configure EC remotely: added settings, refactored read logic, introduced fetch function, and added useRemoteProps hook to override props. + + See [#599](https://github.com/RocketChat/EmbeddedChat/pull/599). + +- 5f604c59: - Shifted to ShadCN naming system. + + - Fixed theming system and various component stylings. + - Limited modal size to EC component using React Portals. + - Removed Dropbox + - Fixed ImageGallery and UI inconsistencies. + - Resolved Sidebar overlap issue. + - Redesigned 'RocketChat - Minimalist' UI variant. + - Fixed Popup, member list, and command list popup. + - Fixed swiper bugs and stylings. + - Removed unnecessary dependencies and matched colors. + - Updated test to check .ec-chat-header--channelName instead of .ec-chat-header--channelDescription. + + See [#579](https://github.com/RocketChat/EmbeddedChat/pull/579). + +- 5f604c59: - Fixed MemberList and CommandList stylings. + + - Added auto-scroll functionality to MentionList and CommandList menus. + - Added keyboard control in CommandList menu. + - Implemented word break in input component when text exceeds the limit. + - Added scroll functionality in input. + - Fixed Ctrl+B and Ctrl+I toggling, reused existing functionality. + - Refactored code into separate functions and components based on concerns. + + See [#589](https://github.com/RocketChat/EmbeddedChat/pull/589). + +### Patch Changes + +- 5f604c59: - Optimized package size for bundling. + + See [#606](https://github.com/RocketChat/EmbeddedChat/pull/606). + +- 5f604c59: - Restructured Auto Login, added loading screens, and cleaned up code. + + See [#594](https://github.com/RocketChat/EmbeddedChat/pull/594). + +- c8c9dee0: Fix: Room members avatar invalid avatar url creation +- 100c5f79: Improve: Added confirmation modal on deleting message +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] + - @embeddedchat/ui-elements@0.1.0 + - @embeddedchat/ui-kit@0.1.0 + - @embeddedchat/markups@0.1.0 + - @embeddedchat/api@0.1.0 + ## 0.1.12 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 107d124b11..f53fcf2761 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/react", - "version": "0.1.12", + "version": "0.2.0", "description": "React component library for embedding Rocket.Chat in React applications, providing customizable and feature-rich chat interfaces with easy React integration.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/packages/ui-elements/CHANGELOG.md b/packages/ui-elements/CHANGELOG.md new file mode 100644 index 0000000000..0b2d89d958 --- /dev/null +++ b/packages/ui-elements/CHANGELOG.md @@ -0,0 +1,19 @@ +# @embeddedchat/ui-elements + +## 0.1.0 + +### Minor Changes + +- 5f604c59: - Separated components, markups, and ui-kit into individual monorepos. + + See [#604](https://github.com/RocketChat/EmbeddedChat/pull/604). + +- 5f604c59: - Introduced 'layout-editor' for real-time drag-and-drop layout customization and theme generation in EmbeddedChat. + + See [#607](https://github.com/RocketChat/EmbeddedChat/pull/607). + +### Patch Changes + +- 5f604c59: - Optimized package size for bundling. + + See [#606](https://github.com/RocketChat/EmbeddedChat/pull/606). diff --git a/packages/ui-elements/package.json b/packages/ui-elements/package.json index f8e41b8c03..9428dc018f 100644 --- a/packages/ui-elements/package.json +++ b/packages/ui-elements/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/ui-elements", - "version": "0.0.0", + "version": "0.1.0", "description": "Reusable UI components and UI-related hooks for EmbeddedChat.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/packages/ui-kit/CHANGELOG.md b/packages/ui-kit/CHANGELOG.md new file mode 100644 index 0000000000..7258608a12 --- /dev/null +++ b/packages/ui-kit/CHANGELOG.md @@ -0,0 +1,19 @@ +# @embeddedchat/ui-kit + +## 0.1.0 + +### Minor Changes + +- 5f604c59: - Separated components, markups, and ui-kit into individual monorepos. + + See [#604](https://github.com/RocketChat/EmbeddedChat/pull/604). + +### Patch Changes + +- 5f604c59: - Optimized package size for bundling. + + See [#606](https://github.com/RocketChat/EmbeddedChat/pull/606). + +- Updated dependencies [5f604c59] +- Updated dependencies [5f604c59] + - @embeddedchat/markups@0.1.0 diff --git a/packages/ui-kit/package.json b/packages/ui-kit/package.json index c3aa788c67..f4cc994ffc 100644 --- a/packages/ui-kit/package.json +++ b/packages/ui-kit/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/ui-kit", - "version": "0.0.0", + "version": "0.1.0", "description": "UiKit elements for Rocket.Chat Apps built under EmbeddedChat design system", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From 04b10b30fb340b5a0e7add8221dd938acf60bcda Mon Sep 17 00:00:00 2001 From: Zishan Ahmad Date: Sat, 25 Jan 2025 16:50:58 +0530 Subject: [PATCH 6/9] updated setup readme --- packages/react/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/packages/react/README.md b/packages/react/README.md index ce870a425a..9a894cf46a 100644 --- a/packages/react/README.md +++ b/packages/react/README.md @@ -13,6 +13,23 @@ npm install @embeddedchat/react yarn add @embeddedchat/react ``` +## Vite Configuration (If Applicable) + +If you're using EmbeddedChat in a Vite project, you need to make adjustments to your Vite configuration file to ensure compatibility with how environment variables are handled in the browser. + +### Update `vite.config.js` or `vite.config.ts` + +Add the following settings inside the `defineConfig` function of your Vite configuration file: + +```javascript +base: "/", +define: { + "process.env": {}, +}, +``` + +These changes address compatibility issues and allow EmbeddedChat to function properly in Vite projects. + ## Importing the Component Import the `EmbeddedChat` component into your file: From 693accb94f343420977118e6d46053f6b385ef91 Mon Sep 17 00:00:00 2001 From: Zishan Ahmad Date: Sat, 25 Jan 2025 17:48:08 +0530 Subject: [PATCH 7/9] version bump --- packages/api/CHANGELOG.md | 16 ++++++++++++++++ packages/api/package.json | 2 +- packages/auth/CHANGELOG.md | 12 ++++++++++++ packages/auth/package.json | 2 +- packages/e2e-react/CHANGELOG.md | 16 ++++++++++++++++ packages/e2e-react/package.json | 2 +- packages/htmlembed/CHANGELOG.md | 16 ++++++++++++++++ packages/htmlembed/package.json | 2 +- packages/layout_editor/CHANGELOG.md | 18 ++++++++++++++++++ packages/layout_editor/package.json | 2 +- packages/markups/CHANGELOG.md | 16 ++++++++++++++++ packages/markups/package.json | 2 +- packages/rc-app/CHANGELOG.md | 12 ++++++++++++ packages/rc-app/package.json | 2 +- packages/react-native/CHANGELOG.md | 16 ++++++++++++++++ packages/react-native/package.json | 2 +- packages/react/CHANGELOG.md | 22 ++++++++++++++++++++++ packages/react/package.json | 2 +- packages/ui-elements/CHANGELOG.md | 12 ++++++++++++ packages/ui-elements/package.json | 2 +- packages/ui-kit/CHANGELOG.md | 16 ++++++++++++++++ packages/ui-kit/package.json | 2 +- 22 files changed, 183 insertions(+), 11 deletions(-) diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 773706021b..88ac4fdf75 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,21 @@ # @embeddedchat/api +## 0.1.2 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/auth@0.1.2 + +## 0.1.1 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/auth@0.1.1 + ## 0.1.0 ### Minor Changes diff --git a/packages/api/package.json b/packages/api/package.json index 86f78cf488..a05ca8e630 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/api", - "version": "0.1.0", + "version": "0.1.2", "description": "A comprehensive API wrapper for Rocket.Chat, facilitating seamless integration and interaction with chat functionalities in web applications.", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/auth/CHANGELOG.md b/packages/auth/CHANGELOG.md index 093f29c2a9..a113a8bc79 100644 --- a/packages/auth/CHANGELOG.md +++ b/packages/auth/CHANGELOG.md @@ -1,5 +1,17 @@ # @embeddedchat/auth +## 0.1.2 + +### Patch Changes + +- Version Bump + +## 0.1.1 + +### Patch Changes + +- Version Bump + ## 0.1.0 ### Minor Changes diff --git a/packages/auth/package.json b/packages/auth/package.json index 986d07d125..749c3b8dfb 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/auth", - "version": "0.1.0", + "version": "0.1.2", "description": "This is the `@embeddedchat/auth` package, designed to simplify authentication processes in applications using EmbeddedChat. It provides a streamlined and easy-to-use API for handling various authentication methods.", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/e2e-react/CHANGELOG.md b/packages/e2e-react/CHANGELOG.md index 18513a27c5..2a364d21a6 100644 --- a/packages/e2e-react/CHANGELOG.md +++ b/packages/e2e-react/CHANGELOG.md @@ -1,5 +1,21 @@ # e2e-react +## 0.0.3 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/react@0.2.2 + +## 0.0.2 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/react@0.2.1 + ## 0.0.1 ### Patch Changes diff --git a/packages/e2e-react/package.json b/packages/e2e-react/package.json index 5f66d362bf..1e34c0276c 100644 --- a/packages/e2e-react/package.json +++ b/packages/e2e-react/package.json @@ -1,7 +1,7 @@ { "name": "e2e-react", "private": true, - "version": "0.0.1", + "version": "0.0.3", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/htmlembed/CHANGELOG.md b/packages/htmlembed/CHANGELOG.md index b216ea4d34..f78e699961 100644 --- a/packages/htmlembed/CHANGELOG.md +++ b/packages/htmlembed/CHANGELOG.md @@ -1,5 +1,21 @@ # @embeddedchat/htmlembed +## 0.0.8 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/react@0.2.2 + +## 0.0.7 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/react@0.2.1 + ## 0.0.6 ### Patch Changes diff --git a/packages/htmlembed/package.json b/packages/htmlembed/package.json index b105681985..82beecd43a 100644 --- a/packages/htmlembed/package.json +++ b/packages/htmlembed/package.json @@ -1,7 +1,7 @@ { "name": "@embeddedchat/htmlembed", "description": "A lightweight and easy-to-use package that allows seamless integration of Embedded Chat into web applications using a simple HTML snippet. Ideal for quickly embedding chat functionalities without complex setup", - "version": "0.0.6", + "version": "0.0.8", "main": "index.js", "license": "MIT", "type": "module", diff --git a/packages/layout_editor/CHANGELOG.md b/packages/layout_editor/CHANGELOG.md index 37cd474488..783e499b5f 100644 --- a/packages/layout_editor/CHANGELOG.md +++ b/packages/layout_editor/CHANGELOG.md @@ -1,5 +1,23 @@ # layout_editor +## 0.1.2 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/ui-elements@0.1.2 + - @embeddedchat/markups@0.1.2 + +## 0.1.1 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/ui-elements@0.1.1 + - @embeddedchat/markups@0.1.1 + ## 0.1.0 ### Minor Changes diff --git a/packages/layout_editor/package.json b/packages/layout_editor/package.json index 5b7dcf4e38..e8e9827e39 100644 --- a/packages/layout_editor/package.json +++ b/packages/layout_editor/package.json @@ -1,7 +1,7 @@ { "name": "layout_editor", "private": true, - "version": "0.1.0", + "version": "0.1.2", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/markups/CHANGELOG.md b/packages/markups/CHANGELOG.md index 48cceeb194..ea65fcdc6c 100644 --- a/packages/markups/CHANGELOG.md +++ b/packages/markups/CHANGELOG.md @@ -1,5 +1,21 @@ # @embeddedchat/markups +## 0.1.2 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/ui-elements@0.1.2 + +## 0.1.1 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/ui-elements@0.1.1 + ## 0.1.0 ### Minor Changes diff --git a/packages/markups/package.json b/packages/markups/package.json index 9f3c88a576..5557b50c04 100644 --- a/packages/markups/package.json +++ b/packages/markups/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/markups", - "version": "0.1.0", + "version": "0.1.2", "description": "A React component library for handling markup interactions in EmbeddedChat", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/packages/rc-app/CHANGELOG.md b/packages/rc-app/CHANGELOG.md index c32717ad58..9154ced19f 100644 --- a/packages/rc-app/CHANGELOG.md +++ b/packages/rc-app/CHANGELOG.md @@ -1,5 +1,17 @@ # @embeddedchat/rc-app +## 0.1.2 + +### Patch Changes + +- Version Bump + +## 0.1.1 + +### Patch Changes + +- Version Bump + ## 0.1.0 ### Minor Changes diff --git a/packages/rc-app/package.json b/packages/rc-app/package.json index 3aad8d29a4..e198f44089 100644 --- a/packages/rc-app/package.json +++ b/packages/rc-app/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/rc-app", - "version": "0.1.0", + "version": "0.1.2", "private": true, "devDependencies": { "@rocket.chat/apps-engine": "^1.36.0", diff --git a/packages/react-native/CHANGELOG.md b/packages/react-native/CHANGELOG.md index 521e8bff8b..41202fefa9 100644 --- a/packages/react-native/CHANGELOG.md +++ b/packages/react-native/CHANGELOG.md @@ -1,5 +1,21 @@ # @embeddedchat/react-native +## 0.0.5 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/api@0.1.2 + +## 0.0.4 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/api@0.1.1 + ## 0.0.3 ### Patch Changes diff --git a/packages/react-native/package.json b/packages/react-native/package.json index fa1c6b850a..77e2858497 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -54,7 +54,7 @@ "storybook:ios": "sb-rn-get-stories && cross-env STORYBOOK_ENABLED='true' expo start --ios", "storybook:android": "sb-rn-get-stories && cross-env STORYBOOK_ENABLED='true' expo start --android" }, - "version": "0.0.3", + "version": "0.0.5", "private": true, "name": "@embeddedchat/react-native", "main": "start-app.js" diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 5ec4a24d9a..a77e7591a8 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,27 @@ # @embeddedchat/react +## 0.2.2 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/ui-elements@0.1.2 + - @embeddedchat/markups@0.1.2 + - @embeddedchat/ui-kit@0.1.2 + - @embeddedchat/api@0.1.2 + +## 0.2.1 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/ui-elements@0.1.1 + - @embeddedchat/markups@0.1.1 + - @embeddedchat/ui-kit@0.1.1 + - @embeddedchat/api@0.1.1 + ## 0.2.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index f53fcf2761..82cc802682 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/react", - "version": "0.2.0", + "version": "0.2.2", "description": "React component library for embedding Rocket.Chat in React applications, providing customizable and feature-rich chat interfaces with easy React integration.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/packages/ui-elements/CHANGELOG.md b/packages/ui-elements/CHANGELOG.md index 0b2d89d958..831c00e5f0 100644 --- a/packages/ui-elements/CHANGELOG.md +++ b/packages/ui-elements/CHANGELOG.md @@ -1,5 +1,17 @@ # @embeddedchat/ui-elements +## 0.1.2 + +### Patch Changes + +- Version Bump + +## 0.1.1 + +### Patch Changes + +- Version Bump + ## 0.1.0 ### Minor Changes diff --git a/packages/ui-elements/package.json b/packages/ui-elements/package.json index 9428dc018f..f3f7bfe256 100644 --- a/packages/ui-elements/package.json +++ b/packages/ui-elements/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/ui-elements", - "version": "0.1.0", + "version": "0.1.2", "description": "Reusable UI components and UI-related hooks for EmbeddedChat.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/packages/ui-kit/CHANGELOG.md b/packages/ui-kit/CHANGELOG.md index 7258608a12..5e50f697d2 100644 --- a/packages/ui-kit/CHANGELOG.md +++ b/packages/ui-kit/CHANGELOG.md @@ -1,5 +1,21 @@ # @embeddedchat/ui-kit +## 0.1.2 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/markups@0.1.2 + +## 0.1.1 + +### Patch Changes + +- Version Bump +- Updated dependencies + - @embeddedchat/markups@0.1.1 + ## 0.1.0 ### Minor Changes diff --git a/packages/ui-kit/package.json b/packages/ui-kit/package.json index f4cc994ffc..b64de2286f 100644 --- a/packages/ui-kit/package.json +++ b/packages/ui-kit/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/ui-kit", - "version": "0.1.0", + "version": "0.1.2", "description": "UiKit elements for Rocket.Chat Apps built under EmbeddedChat design system", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From ad9c6c7faaa1c703099c5f2504472f39027a8f6c Mon Sep 17 00:00:00 2001 From: Zishan Ahmad Date: Fri, 14 Mar 2025 15:14:04 +0530 Subject: [PATCH 8/9] Version Bump to Publish --- packages/api/CHANGELOG.md | 8 ++++++++ packages/api/package.json | 2 +- packages/auth/CHANGELOG.md | 6 ++++++ packages/auth/package.json | 2 +- packages/e2e-react/CHANGELOG.md | 7 +++++++ packages/e2e-react/package.json | 2 +- packages/htmlembed/CHANGELOG.md | 7 +++++++ packages/htmlembed/package.json | 2 +- packages/layout_editor/CHANGELOG.md | 8 ++++++++ packages/layout_editor/package.json | 2 +- packages/markups/CHANGELOG.md | 8 ++++++++ packages/markups/package.json | 2 +- packages/react-native/CHANGELOG.md | 7 +++++++ packages/react-native/package.json | 2 +- packages/react/CHANGELOG.md | 11 +++++++++++ packages/react/package.json | 2 +- packages/ui-elements/CHANGELOG.md | 6 ++++++ packages/ui-elements/package.json | 2 +- packages/ui-kit/CHANGELOG.md | 8 ++++++++ packages/ui-kit/package.json | 2 +- 20 files changed, 86 insertions(+), 10 deletions(-) diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 88ac4fdf75..5c424663ac 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,13 @@ # @embeddedchat/api +## 0.1.3 + +### Patch Changes + +- Version Bump for publishing +- Updated dependencies + - @embeddedchat/auth@0.1.3 + ## 0.1.2 ### Patch Changes diff --git a/packages/api/package.json b/packages/api/package.json index a05ca8e630..80f9a0e285 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/api", - "version": "0.1.2", + "version": "0.1.3", "description": "A comprehensive API wrapper for Rocket.Chat, facilitating seamless integration and interaction with chat functionalities in web applications.", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/auth/CHANGELOG.md b/packages/auth/CHANGELOG.md index a113a8bc79..452386719e 100644 --- a/packages/auth/CHANGELOG.md +++ b/packages/auth/CHANGELOG.md @@ -1,5 +1,11 @@ # @embeddedchat/auth +## 0.1.3 + +### Patch Changes + +- Version Bump for publishing + ## 0.1.2 ### Patch Changes diff --git a/packages/auth/package.json b/packages/auth/package.json index 749c3b8dfb..b173cf0f41 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/auth", - "version": "0.1.2", + "version": "0.1.3", "description": "This is the `@embeddedchat/auth` package, designed to simplify authentication processes in applications using EmbeddedChat. It provides a streamlined and easy-to-use API for handling various authentication methods.", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/e2e-react/CHANGELOG.md b/packages/e2e-react/CHANGELOG.md index 2a364d21a6..0f0535221a 100644 --- a/packages/e2e-react/CHANGELOG.md +++ b/packages/e2e-react/CHANGELOG.md @@ -1,5 +1,12 @@ # e2e-react +## 0.0.4 + +### Patch Changes + +- Updated dependencies + - @embeddedchat/react@0.2.3 + ## 0.0.3 ### Patch Changes diff --git a/packages/e2e-react/package.json b/packages/e2e-react/package.json index 1e34c0276c..5d82ee05e5 100644 --- a/packages/e2e-react/package.json +++ b/packages/e2e-react/package.json @@ -1,7 +1,7 @@ { "name": "e2e-react", "private": true, - "version": "0.0.3", + "version": "0.0.4", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/htmlembed/CHANGELOG.md b/packages/htmlembed/CHANGELOG.md index f78e699961..4a591bbd74 100644 --- a/packages/htmlembed/CHANGELOG.md +++ b/packages/htmlembed/CHANGELOG.md @@ -1,5 +1,12 @@ # @embeddedchat/htmlembed +## 0.0.9 + +### Patch Changes + +- Updated dependencies + - @embeddedchat/react@0.2.3 + ## 0.0.8 ### Patch Changes diff --git a/packages/htmlembed/package.json b/packages/htmlembed/package.json index 82beecd43a..fdea581792 100644 --- a/packages/htmlembed/package.json +++ b/packages/htmlembed/package.json @@ -1,7 +1,7 @@ { "name": "@embeddedchat/htmlembed", "description": "A lightweight and easy-to-use package that allows seamless integration of Embedded Chat into web applications using a simple HTML snippet. Ideal for quickly embedding chat functionalities without complex setup", - "version": "0.0.8", + "version": "0.0.9", "main": "index.js", "license": "MIT", "type": "module", diff --git a/packages/layout_editor/CHANGELOG.md b/packages/layout_editor/CHANGELOG.md index 783e499b5f..81a73e3393 100644 --- a/packages/layout_editor/CHANGELOG.md +++ b/packages/layout_editor/CHANGELOG.md @@ -1,5 +1,13 @@ # layout_editor +## 0.1.3 + +### Patch Changes + +- Updated dependencies + - @embeddedchat/ui-elements@0.1.3 + - @embeddedchat/markups@0.1.3 + ## 0.1.2 ### Patch Changes diff --git a/packages/layout_editor/package.json b/packages/layout_editor/package.json index e8e9827e39..269c36dd90 100644 --- a/packages/layout_editor/package.json +++ b/packages/layout_editor/package.json @@ -1,7 +1,7 @@ { "name": "layout_editor", "private": true, - "version": "0.1.2", + "version": "0.1.3", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/markups/CHANGELOG.md b/packages/markups/CHANGELOG.md index ea65fcdc6c..fd10603343 100644 --- a/packages/markups/CHANGELOG.md +++ b/packages/markups/CHANGELOG.md @@ -1,5 +1,13 @@ # @embeddedchat/markups +## 0.1.3 + +### Patch Changes + +- Version Bump for publishing +- Updated dependencies + - @embeddedchat/ui-elements@0.1.3 + ## 0.1.2 ### Patch Changes diff --git a/packages/markups/package.json b/packages/markups/package.json index 5557b50c04..a0ea3be803 100644 --- a/packages/markups/package.json +++ b/packages/markups/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/markups", - "version": "0.1.2", + "version": "0.1.3", "description": "A React component library for handling markup interactions in EmbeddedChat", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/packages/react-native/CHANGELOG.md b/packages/react-native/CHANGELOG.md index 41202fefa9..20e4c3134a 100644 --- a/packages/react-native/CHANGELOG.md +++ b/packages/react-native/CHANGELOG.md @@ -1,5 +1,12 @@ # @embeddedchat/react-native +## 0.0.6 + +### Patch Changes + +- Updated dependencies + - @embeddedchat/api@0.1.3 + ## 0.0.5 ### Patch Changes diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 77e2858497..69e45f8d0c 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -54,7 +54,7 @@ "storybook:ios": "sb-rn-get-stories && cross-env STORYBOOK_ENABLED='true' expo start --ios", "storybook:android": "sb-rn-get-stories && cross-env STORYBOOK_ENABLED='true' expo start --android" }, - "version": "0.0.5", + "version": "0.0.6", "private": true, "name": "@embeddedchat/react-native", "main": "start-app.js" diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index a77e7591a8..66a30cf724 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,16 @@ # @embeddedchat/react +## 0.2.3 + +### Patch Changes + +- Version Bump for publishing +- Updated dependencies + - @embeddedchat/ui-elements@0.1.3 + - @embeddedchat/markups@0.1.3 + - @embeddedchat/ui-kit@0.1.3 + - @embeddedchat/api@0.1.3 + ## 0.2.2 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 82cc802682..5bb4ab99c8 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/react", - "version": "0.2.2", + "version": "0.2.3", "description": "React component library for embedding Rocket.Chat in React applications, providing customizable and feature-rich chat interfaces with easy React integration.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/packages/ui-elements/CHANGELOG.md b/packages/ui-elements/CHANGELOG.md index 831c00e5f0..d669c9f577 100644 --- a/packages/ui-elements/CHANGELOG.md +++ b/packages/ui-elements/CHANGELOG.md @@ -1,5 +1,11 @@ # @embeddedchat/ui-elements +## 0.1.3 + +### Patch Changes + +- Version Bump for publishing + ## 0.1.2 ### Patch Changes diff --git a/packages/ui-elements/package.json b/packages/ui-elements/package.json index f3f7bfe256..91e9370a97 100644 --- a/packages/ui-elements/package.json +++ b/packages/ui-elements/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/ui-elements", - "version": "0.1.2", + "version": "0.1.3", "description": "Reusable UI components and UI-related hooks for EmbeddedChat.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/packages/ui-kit/CHANGELOG.md b/packages/ui-kit/CHANGELOG.md index 5e50f697d2..02843fbf75 100644 --- a/packages/ui-kit/CHANGELOG.md +++ b/packages/ui-kit/CHANGELOG.md @@ -1,5 +1,13 @@ # @embeddedchat/ui-kit +## 0.1.3 + +### Patch Changes + +- Version Bump for publishing +- Updated dependencies + - @embeddedchat/markups@0.1.3 + ## 0.1.2 ### Patch Changes diff --git a/packages/ui-kit/package.json b/packages/ui-kit/package.json index b64de2286f..c765078535 100644 --- a/packages/ui-kit/package.json +++ b/packages/ui-kit/package.json @@ -1,6 +1,6 @@ { "name": "@embeddedchat/ui-kit", - "version": "0.1.2", + "version": "0.1.3", "description": "UiKit elements for Rocket.Chat Apps built under EmbeddedChat design system", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", From 06a0299680394b4b03f932e300bc52e52df83f80 Mon Sep 17 00:00:00 2001 From: Zishan Ahmad Date: Fri, 14 Mar 2025 15:18:46 +0530 Subject: [PATCH 9/9] added access public --- packages/markups/package.json | 3 +++ packages/react/package.json | 3 +++ packages/ui-elements/package.json | 3 +++ packages/ui-kit/package.json | 3 +++ 4 files changed, 12 insertions(+) diff --git a/packages/markups/package.json b/packages/markups/package.json index a0ea3be803..05a8a93395 100644 --- a/packages/markups/package.json +++ b/packages/markups/package.json @@ -5,6 +5,9 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "publishConfig": { + "access": "public" + }, "repository": { "type": "git", "url": "https://github.com/RocketChat/EmbeddedChat" diff --git a/packages/react/package.json b/packages/react/package.json index 5bb4ab99c8..95d4c59a4f 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -8,6 +8,9 @@ "type": "git", "url": "https://github.com/RocketChat/EmbeddedChat" }, + "publishConfig": { + "access": "public" + }, "files": [ "dist" ], diff --git a/packages/ui-elements/package.json b/packages/ui-elements/package.json index 91e9370a97..1579de2fa0 100644 --- a/packages/ui-elements/package.json +++ b/packages/ui-elements/package.json @@ -5,6 +5,9 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "publishConfig": { + "access": "public" + }, "repository": { "type": "git", "url": "https://github.com/RocketChat/EmbeddedChat" diff --git a/packages/ui-kit/package.json b/packages/ui-kit/package.json index c765078535..42c6517f30 100644 --- a/packages/ui-kit/package.json +++ b/packages/ui-kit/package.json @@ -5,6 +5,9 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", + "publishConfig": { + "access": "public" + }, "repository": { "type": "git", "url": "https://github.com/RocketChat/EmbeddedChat"