Skip to content

Commit 4413fdb

Browse files
Merge pull request #547 from juspay/staging
Staging to Main
2 parents c54b038 + d41ad8b commit 4413fdb

File tree

24 files changed

+2335
-89
lines changed

24 files changed

+2335
-89
lines changed

apps/site/src/demos/ChatInputDemo.tsx

Lines changed: 793 additions & 0 deletions
Large diffs are not rendered by default.

apps/site/src/demos/DrawerDemo.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const BasicDrawerExample = () => {
8585
can have, just a simple drawer with a trigger.
8686
</p>
8787
</DrawerBody>
88-
<DrawerFooter>
88+
<DrawerFooter direction="bottom">
8989
<DrawerClose>
9090
<button
9191
style={{
@@ -407,7 +407,7 @@ export const SideDrawerExample = () => {
407407
</div>
408408
</div>
409409
</DrawerBody>
410-
<DrawerFooter>
410+
<DrawerFooter direction="right">
411411
<DrawerClose>
412412
<button
413413
style={{
@@ -1454,7 +1454,7 @@ export const NonDismissibleExample = () => {
14541454
</p>
14551455
<p>You must use the close button below to close it.</p>
14561456
</DrawerBody>
1457-
<DrawerFooter>
1457+
<DrawerFooter direction="bottom">
14581458
<button
14591459
onClick={() => setIsOpen(false)}
14601460
style={{
@@ -3828,7 +3828,7 @@ export const ZIndexTestDrawerExample = () => {
38283828
</div>
38293829
</div>
38303830
</DrawerBody>
3831-
<DrawerFooter>
3831+
<DrawerFooter direction="bottom">
38323832
<DrawerClose>
38333833
<button
38343834
style={{

apps/site/src/demos/SidebarDemo.tsx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ import VirtualListDemo from './VirtualListDemo'
9494
import UploadDemo from './UploadDemo'
9595
import CodeBlockDemo from './CodeBlockDemo'
9696
import WorkflowCanvasDemo from './WorkflowCanvasDemo'
97+
import ChatInputDemo from './ChatInputDemo'
9798
import FormElementsDemo from './FormElementsDemo'
9899

99100
const SidebarDemo = () => {
@@ -127,6 +128,7 @@ const SidebarDemo = () => {
127128
| 'unitInput'
128129
| 'numberInput'
129130
| 'textArea'
131+
| 'chatInput'
130132
| 'snackbar'
131133
| 'dataTable'
132134
| 'drawer'
@@ -153,7 +155,7 @@ const SidebarDemo = () => {
153155
| 'codeBlock'
154156
| 'workflowCanvas'
155157
| 'formElements'
156-
>('dataRangePicker')
158+
>('chatInput')
157159

158160
const [activeTenant, setActiveTenant] = useState<string>('Juspay')
159161
const [activeMerchant, setActiveMerchant] =
@@ -349,6 +351,8 @@ const SidebarDemo = () => {
349351
return <NumberInputDemo />
350352
case 'textArea':
351353
return <TextAreaDemo />
354+
case 'chatInput':
355+
return <ChatInputDemo />
352356
case 'otpInput':
353357
return <OTPInputDemo />
354358
case 'alerts':
@@ -604,6 +608,16 @@ const SidebarDemo = () => {
604608
isSelected: activeComponent === 'textArea',
605609
onClick: () => setActiveComponent('textArea'),
606610
},
611+
{
612+
label: 'Chat Input',
613+
leftSlot: (
614+
<MessageCircle
615+
style={{ width: '16px', height: '16px' }}
616+
/>
617+
),
618+
isSelected: activeComponent === 'chatInput',
619+
onClick: () => setActiveComponent('chatInput'),
620+
},
607621
{
608622
label: 'Multi Value Input',
609623
leftSlot: (

apps/site/src/themes/AIT_FOUNDATION_TOKENS.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ const ALT_FOUNDATION_TOKENS: FoundationTokenType = {
179179
'10': '10px',
180180
'12': '12px',
181181
'14': '14px',
182+
'15': '15px',
182183
'16': '16px',
183184
'18': '18px',
184185
'20': '20px',

docs/CHANGELOG.md

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,35 @@
1-
# Changelog for v0.0.22
1+
# Changelog for v0.0.23-beta (Beta)
22

3-
> **Stable Release** - This version is production-ready and recommended for general use.
3+
> **Beta Release** - This is a pre-release version from the staging branch for testing purposes.
44
55
## 🚀 Features
66

7-
- data ids (#488) ([417206a](../../commit/417206a))
8-
- added controlled and uncontrolled state for sidebar component (#527) ([2c67d8f](../../commit/2c67d8f))
9-
- added the initial version of workflow canvas component (#510) ([e40e7b2](../../commit/e40e7b2))
10-
- added the height and minHeight prop to the card component (#518) ([4299564](../../commit/4299564))
7+
- update SidebarDemo to use chatInput component ([118e5c6](../../commit/118e5c6))
8+
- add ChatInput component with utility functions and demo integration ([6772218](../../commit/6772218))
119

1210
## 🐛 Bug Fixes
1311

14-
- **sidebar**: prevent tokens prop forwarding to DOM to remove React unknown prop warnings (#509) ([060e6fd](../../commit/060e6fd))
15-
16-
## ♻️ Code Refactoring
17-
18-
- enhance sorting and pagination functionality (#532) ([7285e76](../../commit/7285e76))
12+
- added gap control for directory ([e67e87b](../../commit/e67e87b))
13+
- remove unnecessary type assertions ([ee74ec7](../../commit/ee74ec7))
14+
- matched the height of sidebar header with the topbar (#541) ([f30c0e5](../../commit/f30c0e5))
1915

2016
## 🔧 Chores
2117

22-
- Bug fix/UI inconsistencies (#535) ([7b840a7](../../commit/7b840a7))
23-
- removed className prop from accordion ], Card and progressbar … (#456) ([f3ac75c](../../commit/f3ac75c))
24-
- **release**: v0.0.22-beta [BETA] ([9e73ebc](../../commit/9e73ebc))
25-
- Add Data-ids calendar table sidebar and update component(card, table, calendar) (#519) ([5036d11](../../commit/5036d11))
26-
- Firebase credential rotation (#520) ([e95fca7](../../commit/e95fca7))
27-
- **release**: v0.0.21 [STABLE] ([23f5dda](../../commit/23f5dda))
18+
- fixed chat-input component ([44b1450](../../commit/44b1450))
19+
- **release**: v0.0.22 [STABLE] ([4fc03d7](../../commit/4fc03d7))
2820

2921
---
3022

31-
**Release Date**: 2025-10-31
32-
**Commit Range**: v0.0.21..HEAD
33-
**Total Changes**: 12 commits
23+
**Release Date**: 2025-11-03
24+
**Commit Range**: v0.0.22..HEAD
25+
**Total Changes**: 7 commits
3426

35-
## Installation
27+
## Beta Installation
3628

3729
```bash
38-
npm install @juspay/blend-design-system@latest
39-
# or specific version
40-
npm install @juspay/blend-design-system@0.0.22
30+
npm install @juspay/blend-design-system@beta
31+
# or specific beta version
32+
npm install @juspay/blend-design-system@0.0.23-beta
4133
```
34+
35+
> **Note**: Beta versions are for testing only. Use stable versions in production.

0 commit comments

Comments
 (0)