generated from openmrs/openmrs-esm-template-app
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ft : show intable empty state * fix : items search * fix: add operation edit
- Loading branch information
Showing
7 changed files
with
341 additions
and
276 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from "react"; | ||
|
||
const swrConfiguration = { | ||
// Maximum number of retries when the backend returns an error | ||
errorRetryCount: 3, | ||
}; | ||
|
||
const Root: React.FC = () => { | ||
return <></>; | ||
}; | ||
|
||
export default Root; |
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,26 +1,66 @@ | ||
@use '@carbon/styles/scss/spacing'; | ||
@import '~@openmrs/esm-styleguide/src/vars'; | ||
|
||
.tileContainer { | ||
background-color: $ui-02; | ||
border-top: 1px solid $ui-03; | ||
padding: 5rem 0; | ||
} | ||
|
||
.tile { | ||
margin: auto; | ||
width: fit-content; | ||
background: transparent; | ||
} | ||
|
||
.tileContent { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
@use '@carbon/styles/scss/type'; | ||
@import "~@openmrs/esm-styleguide/src/vars"; | ||
@import '../root.scss'; | ||
.headerBtnContainer { | ||
background-color: $ui-background; | ||
padding: spacing.$spacing-05; | ||
text-align: right; | ||
} | ||
|
||
.tableOverride { | ||
:global(.cds--table-sort__description) { | ||
display: none; | ||
.tileContainer { | ||
background-color: $ui-02; | ||
border-top: 1px solid $ui-03; | ||
padding: 5rem 0; | ||
} | ||
|
||
.tile { | ||
margin: auto; | ||
width: fit-content; | ||
} | ||
|
||
.tileContent { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
.content { | ||
@include type.type-style('heading-compact-02'); | ||
color: $text-02; | ||
margin-bottom: 0.5rem; | ||
} | ||
|
||
.helper { | ||
@include type.type-style('body-compact-01'); | ||
color: $text-02; | ||
} | ||
} | ||
|
||
.separator { | ||
@include type.type-style('body-compact-02'); | ||
color: $text-02; | ||
width: 80%; | ||
margin: 1.5rem auto; | ||
overflow: hidden; | ||
text-align: center; | ||
|
||
&::before, | ||
&::after { | ||
background-color: $text-03; | ||
content: ''; | ||
display: inline-block; | ||
height: 1px; | ||
position: relative; | ||
vertical-align: middle; | ||
width: 50%; | ||
} | ||
|
||
&::before { | ||
right: 0.5rem; | ||
margin-left: -50%; | ||
} | ||
|
||
&::after { | ||
left: 0.5rem; | ||
margin-right: -50%; | ||
} | ||
} |
Oops, something went wrong.