-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
961 additions
and
582 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
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
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
45 changes: 0 additions & 45 deletions
45
airbyte-webapp/src/components/FrequencyForm/components/SchemaView.tsx
This file was deleted.
Oops, something went wrong.
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,49 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
|
||
const RadioButtonInput = styled.input` | ||
opacity: 0; | ||
width: 0; | ||
height: 0; | ||
margin: 0; | ||
`; | ||
|
||
const Check = styled.div` | ||
height: 100%; | ||
width: 100%; | ||
border-radius: 50%; | ||
background: ${({ theme }) => theme.primaryColor}; | ||
`; | ||
|
||
const RadioButtonContainer = styled.label` | ||
height: 16px; | ||
width: 16px; | ||
background: ${({ theme }) => theme.greyColor20}; | ||
color: ${({ theme }) => theme.primaryColor}; | ||
text-align: center; | ||
border-radius: 50%; | ||
display: inline-block; | ||
padding: 4px; | ||
cursor: pointer; | ||
`; | ||
|
||
const RadioButton: React.FC<React.InputHTMLAttributes<HTMLInputElement>> = ( | ||
props | ||
) => { | ||
return ( | ||
<RadioButtonContainer | ||
className={props.className} | ||
onClick={(event: React.SyntheticEvent) => event.stopPropagation()} | ||
> | ||
{props.checked && <Check />} | ||
<RadioButtonInput | ||
{...props} | ||
type="radio" | ||
checked={props.checked} | ||
onChange={props.onChange} | ||
/> | ||
</RadioButtonContainer> | ||
); | ||
}; | ||
|
||
export default RadioButton; |
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,4 @@ | ||
import RadioButton from "./RadioButton"; | ||
|
||
export default RadioButton; | ||
export { RadioButton }; |
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
4 changes: 2 additions & 2 deletions
4
airbyte-webapp/src/components/SourceAndDestinationsBlocks/FormPageContent.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
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
48 changes: 0 additions & 48 deletions
48
airbyte-webapp/src/components/TreeView/components/ChildRow.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.