-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2888 from the-deep/project/reporting-module-charts
Project/reporting module charts
- Loading branch information
Showing
96 changed files
with
11,506 additions
and
227 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"baseDir": ".", | ||
"fileExtensions": ["js", "ts", "jsx", "tsx"], | ||
"webackConfig": "./webpack.config.js", | ||
"webpackConfig": "./webpack.config.js", | ||
"tsConfig": "./tsconfig.json" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,3 +55,7 @@ | |
font-weight: var(--dui-font-weight-regular); | ||
} | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { | ||
margin: 0; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.gallery-file-upload { | ||
&.button-only { | ||
--height-border: 0; | ||
} | ||
|
||
.children { | ||
display: flex; | ||
align-items: center; | ||
gap: var(--dui-spacing-small); | ||
} | ||
} |
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,40 @@ | ||
import React from 'react'; | ||
import { _cs } from '@togglecorp/fujs'; | ||
import { | ||
RawButton, | ||
} from '@the-deep/deep-ui'; | ||
|
||
import styles from './styles.css'; | ||
|
||
interface Props { | ||
datasetId: string; | ||
title: string; | ||
active: boolean; | ||
onClick: (datasetId: string) => void; | ||
} | ||
|
||
function DatasetItem(props: Props) { | ||
const { | ||
title, | ||
datasetId, | ||
onClick, | ||
active, | ||
} = props; | ||
|
||
return ( | ||
<RawButton | ||
name={datasetId} | ||
onClick={onClick} | ||
className={_cs( | ||
styles.frameworkItem, | ||
active && styles.selected, | ||
)} | ||
> | ||
<div className={styles.title}> | ||
{title} | ||
</div> | ||
</RawButton> | ||
); | ||
} | ||
|
||
export default DatasetItem; |
18 changes: 18 additions & 0 deletions
18
app/components/report/ReportBuilder/DatasetItem/styles.css
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,18 @@ | ||
.framework-item { | ||
display: flex; | ||
flex-direction: column; | ||
border-bottom: var(--dui-width-separator-thin) solid var(--dui-color-separator); | ||
background-color: var(--dui-color-background-information); | ||
padding: var(--dui-spacing-small) var(--dui-spacing-medium); | ||
width: 100%; | ||
text-align: left; | ||
gap: var(--dui-spacing-small); | ||
|
||
.title { | ||
font-weight: var(--dui-font-weight-bold); | ||
} | ||
|
||
&.selected { | ||
background-color: var(--dui-color-surface-information); | ||
} | ||
} |
Oops, something went wrong.