Skip to content

Commit ce2db91

Browse files
committed
Merge branch main of github.com:mongodb/leafygreen-ui into shaneeza/time-picker-integration. Fix TS errors
2 parents 5c277ac + dad6ea3 commit ce2db91

File tree

1,121 files changed

+25000
-8588
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,121 files changed

+25000
-8588
lines changed

.changeset/cold-ghosts-ring.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@lg-chat/chat-layout': patch
3+
'@leafygreen-ui/avatar': patch
4+
'@lg-chat/input-bar': patch
5+
'@lg-chat/message': patch
6+
---
7+
8+
[LG-5665](https://jira.mongodb.org/browse/LG-5665): `AssistantAvatar` reads `darkMode` value from `LeafyGreenContext` and no longer requires explicitly passing `darkMode` prop.

.changeset/cyan-sides-worry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@leafygreen-ui/side-nav': patch
3+
---
4+
5+
Fix `header` prop usage in docs.

.changeset/moody-sites-relate.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/new-dryers-invite.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/rms-chat-provider.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@lg-chat/leafygreen-chat-provider': major
3+
---
4+
5+
- Removed `variant` prop and `Variant` enum export. The provider no longer supports variant selection (spacious/compact). All components now use a single, consistent design.
6+
- Removed `containerWidth` from context value. This was only used in spacious variants.
7+
- Removed wrapper `div` element from `LeafyGreenChatProvider`.
8+
- Removed `use-resize-observer` dependency.

.changeset/rms-chat-window.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@lg-chat/chat-window': major
3+
---
4+
5+
[LG-5575](https://jira.mongodb.org/browse/LG-5575)
6+
7+
- All chat components have been simplified by removing variant-specific conditional logic.
8+
- Removed `onClose` and `iconSlot` props from `ChatWindowProps`. These props were only used in the spacious variant.

.changeset/rms-input-bar.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@lg-chat/input-bar': major
3+
---
4+
5+
[LG-5575](https://jira.mongodb.org/browse/LG-5575)
6+
7+
- Removed deprecated `lgInputBarStyles` export.
8+
- All chat components have been simplified by removing variant-specific conditional logic.
9+
- Removed props: `badgeText`, `shouldRenderGradient`, and `shouldRenderHotKeyIndicator`
10+
- Added min-width of 150px to `textarea` element to ensure proper height calculation.
11+
- Updated `react-textarea-autosize` from `^8.3.2` to `^8.5.9`.

.changeset/rms-lg-markdown.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lg-chat/lg-markdown': major
3+
---
4+
5+
- Removed deprecated `lgMarkdownStyles` export.

.changeset/rms-message-feed.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@lg-chat/message-feed': major
3+
---
4+
5+
[LG-5575](https://jira.mongodb.org/browse/LG-5575)
6+
7+
- Removed deprecated `lgMessageFeedStyles` export.
8+
- All chat components have been simplified by removing variant-specific conditional logic.

.changeset/rms-message-feedback.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@lg-chat/message-feedback': major
3+
---
4+
5+
[LG-5575](https://jira.mongodb.org/browse/LG-5575)
6+
7+
- Removed `PopoverMessageFeedback` component and `PopoverMessageFeedbackProps` type exports.

0 commit comments

Comments
 (0)