Commit 78f202d 1 parent 2c5c6d1 commit 78f202d Copy full SHA for 78f202d
File tree 3 files changed +17
-3
lines changed
3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change
1
+ import { ComponentProps , ForwardRefExoticComponent } from 'react' ;
2
+
3
+ import { Box } from '../Box' ;
4
+
5
+ type SidebarProps = ComponentProps < typeof Box > ;
6
+ type SidebarTopBarProps = ComponentProps < typeof Box > ;
7
+ type SidebarItemProps = ComponentProps < typeof Box > ;
8
+ type SidebarSectionProps = ComponentProps < typeof Box > ;
9
+
10
+ export const Sidebar : ForwardRefExoticComponent < SidebarProps > & {
11
+ TopBar : ForwardRefExoticComponent < SidebarTopBarProps > ;
12
+ Item : ForwardRefExoticComponent < SidebarItemProps > ;
13
+ Section : ForwardRefExoticComponent < SidebarSectionProps > ;
14
+ } ;
Original file line number Diff line number Diff line change 80
80
"@rocket.chat/fuselage" : " ^0.27.0" ,
81
81
"@rocket.chat/fuselage-hooks" : " ^0.27.0" ,
82
82
"@rocket.chat/icons" : " ^0.27.0" ,
83
- "@rocket.chat/styled" : " workspace:packages/styled " ,
83
+ "@rocket.chat/styled" : " ^0.27.0 " ,
84
84
"i18next" : " ^20.3.2" ,
85
85
"react-hook-form" : " ^7.10.1" ,
86
86
"react-i18next" : " ^11.11.0" ,
Original file line number Diff line number Diff line change @@ -5672,7 +5672,7 @@ __metadata:
5672
5672
"@rocket.chat/fuselage-tokens": ^0.27.0
5673
5673
"@rocket.chat/icons": ^0.27.0
5674
5674
"@rocket.chat/prettier-config": ^0.27.0
5675
- "@rocket.chat/styled": "workspace:packages/styled"
5675
+ "@rocket.chat/styled": ^0.27.0
5676
5676
"@storybook/addon-essentials": ^6.3.4
5677
5677
"@storybook/addons": ^6.3.4
5678
5678
"@storybook/react": ^6.3.4
@@ -5769,7 +5769,7 @@ __metadata:
5769
5769
languageName: unknown
5770
5770
linkType: soft
5771
5771
5772
- "@rocket.chat/styled@workspace:packages/styled":
5772
+ "@rocket.chat/styled@^0.27.0, @rocket.chat/styled@ workspace:packages/styled":
5773
5773
version: 0.0.0-use.local
5774
5774
resolution: "@rocket.chat/styled@workspace:packages/styled"
5775
5775
dependencies:
You can’t perform that action at this time.
0 commit comments