-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fuselage):
TableSelection
visual improvements (#1409)
- Loading branch information
1 parent
cf5ed66
commit c156035
Showing
12 changed files
with
839 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@rocket.chat/fuselage": minor | ||
--- | ||
|
||
feat(fuselage): TableSelection visual improvements |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
packages/fuselage/src/components/Table/TableSelection/TableSelectionButton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import type { ComponentProps } from 'react'; | ||
import React from 'react'; | ||
|
||
import { Button } from '../../Button'; | ||
|
||
type TableSelectionButtonProps = ComponentProps<typeof Button>; | ||
|
||
export const TableSelectionButton = (props: TableSelectionButtonProps) => ( | ||
<Button small flexShrink={0} {...props} /> | ||
); |
8 changes: 8 additions & 0 deletions
8
packages/fuselage/src/components/Table/TableSelection/TableSelectionButtonGroup.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import type { ComponentProps } from 'react'; | ||
import React from 'react'; | ||
|
||
import { ButtonGroup } from '../../ButtonGroup'; | ||
|
||
export const TableSelectionButtonGroup = ( | ||
props: ComponentProps<typeof ButtonGroup> | ||
) => <ButtonGroup {...props} />; |
3 changes: 3 additions & 0 deletions
3
packages/fuselage/src/components/Table/TableSelection/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export * from './TableSelection'; | ||
export * from './TableSelectionButton'; | ||
export * from './TableSelectionButtonGroup'; |
11 changes: 0 additions & 11 deletions
11
packages/fuselage/src/components/Table/TableSelectionButton.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.