-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP * WIP * wip * more fixes * fix test * remove some more styled components and improve memoization * review comment
- Loading branch information
Joe Reuter
authored
Jan 26, 2023
1 parent
a95cf22
commit 7f36386
Showing
18 changed files
with
394 additions
and
417 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
airbyte-webapp/src/components/Indicator/Indicator.module.scss
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,12 @@ | ||
@use "scss/colors"; | ||
|
||
.indicator { | ||
height: 10px; | ||
width: 10px; | ||
border-radius: 50%; | ||
background: colors.$red; | ||
} | ||
|
||
.hidden { | ||
background-color: transparent; | ||
} |
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 |
---|---|---|
@@ -1,8 +1,15 @@ | ||
import styled from "styled-components"; | ||
import classNames from "classnames"; | ||
|
||
export const Indicator = styled.div` | ||
height: 10px; | ||
width: 10px; | ||
border-radius: 50%; | ||
background: ${({ theme }) => theme.dangerColor}; | ||
`; | ||
import styles from "./Indicator.module.scss"; | ||
|
||
export interface IndicatorProps { | ||
/** | ||
* Set to true to render an invisible indicator so reserve the space in the UI | ||
*/ | ||
hidden?: boolean; | ||
className?: string; | ||
} | ||
|
||
export const Indicator: React.FC<IndicatorProps> = ({ hidden, className }) => ( | ||
<div className={classNames(className, styles.indicator, { [styles.hidden]: hidden })} /> | ||
); |
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
3 changes: 3 additions & 0 deletions
3
...e-webapp/src/pages/SettingsPage/pages/ConnectorsPage/components/ConnectorCell.module.scss
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 @@ | ||
.iconContainer { | ||
height: 25px; | ||
} |
44 changes: 8 additions & 36 deletions
44
airbyte-webapp/src/pages/SettingsPage/pages/ConnectorsPage/components/ConnectorCell.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
13 changes: 13 additions & 0 deletions
13
...-webapp/src/pages/SettingsPage/pages/ConnectorsPage/components/ConnectorsView.module.scss
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,13 @@ | ||
@use "scss/variables"; | ||
@use "scss/colors"; | ||
|
||
.changeToHeader { | ||
margin-left: 200px; | ||
} | ||
|
||
.connectorsTable { | ||
td { | ||
padding-top: variables.$spacing-sm; | ||
padding-bottom: variables.$spacing-sm; | ||
} | ||
} |
Oops, something went wrong.