@kenyaemr/esm-patient-clinical-view-app 5.4.2-pre.2349 → 5.4.2-pre.2354

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/.turbo/turbo-build.log +11 -11
  2. package/dist/162.js +1 -1
  3. package/dist/197.js +1 -1
  4. package/dist/294.js +1 -1
  5. package/dist/296.js +1 -1
  6. package/dist/296.js.map +1 -1
  7. package/dist/300.js +1 -1
  8. package/dist/714.js +1 -0
  9. package/dist/714.js.map +1 -0
  10. package/dist/721.js +1 -0
  11. package/dist/721.js.map +1 -0
  12. package/dist/740.js +2 -0
  13. package/dist/740.js.map +1 -0
  14. package/dist/kenyaemr-esm-patient-clinical-view-app.js +1 -1
  15. package/dist/kenyaemr-esm-patient-clinical-view-app.js.buildmanifest.json +92 -92
  16. package/dist/kenyaemr-esm-patient-clinical-view-app.js.map +1 -1
  17. package/dist/main.js +1 -1
  18. package/dist/main.js.map +1 -1
  19. package/dist/routes.json +1 -1
  20. package/package.json +2 -2
  21. package/src/clinical-encounter/clinical-encounter-dashboard-meta.tsx +1 -4
  22. package/src/clinical-encounter/dashboard/clinical-encounter-dashboard.component.tsx +69 -72
  23. package/src/contact-list/contact-dashboard.component.tsx +29 -0
  24. package/src/dashboard/createDashboardLink.tsx +24 -0
  25. package/src/dashboard/dashboard.component.tsx +56 -0
  26. package/src/{dashboard.meta.tsx → dashboard/dashboard.meta.tsx} +12 -52
  27. package/src/dashboard/dashboard.scss +13 -0
  28. package/src/in-patient/in-patient.meta.tsx +1 -1
  29. package/src/index.ts +50 -91
  30. package/src/maternal-and-child-health/labour-delivery.component.tsx +0 -1
  31. package/src/maternal-and-child-health/maternal-and-child.component.tsx +43 -0
  32. package/src/maternal-and-child-health/mch-dashboard.meta.tsx +5 -34
  33. package/src/maternal-and-child-health/partography/labour-delivery.scss +8 -9
  34. package/src/root.scss +2 -66
  35. package/src/routes.json +64 -143
  36. package/src/special-clinics/special-clinic.component.tsx +53 -0
  37. package/src/special-clinics/special-clinics.scss +23 -0
  38. package/src/specialized-clinics/generic-nav-links/generic-dashboard.component.tsx +14 -27
  39. package/src/specialized-clinics/generic-nav-links/useEncounters.tsx +3 -3
  40. package/src/specialized-clinics/hiv-care-and-treatment-services/hiv-care-and-treatment-dashboard.meta.tsx +6 -21
  41. package/src/specialized-clinics/hiv-care-and-treatment-services/hiv-care-and-treatment.component.tsx +38 -0
  42. package/src/ui/encounter-list/encounter-list.component.tsx +3 -12
  43. package/src/ui/encounter-list/encounter-list.scss +5 -6
  44. package/translations/am.json +6 -2
  45. package/translations/en.json +6 -2
  46. package/translations/sw.json +6 -2
  47. package/dist/292.js +0 -1
  48. package/dist/292.js.map +0 -1
  49. package/dist/349.js +0 -2
  50. package/dist/349.js.map +0 -1
  51. package/dist/60.js +0 -1
  52. package/dist/60.js.map +0 -1
  53. package/src/clinical-view-group/clinical-view-section.component.tsx +0 -33
  54. package/src/clinical-view-group/clinical-view-section.scss +0 -15
  55. package/src/clinical-view-group/createDashboardGroup.tsx +0 -61
  56. package/src/clinical-view-group/dashboard-group.component.tsx +0 -35
  57. package/src/clinical-view-group/dashboard-group.scss +0 -21
  58. package/src/left-panel-link.component.tsx +0 -41
  59. package/src/specialized-clinics/special-clinic-dashboard.meta.tsx +0 -5
  60. /package/dist/{349.js.LICENSE.txt → 740.js.LICENSE.txt} +0 -0
  61. /package/src/{clinical-view-group/clinical-view-group.resource.ts → dashboard/useDashboard.tsx} +0 -0
package/src/index.ts CHANGED
@@ -1,58 +1,51 @@
1
1
  import { defineConfigSchema, getSyncLifecycle } from '@openmrs/esm-framework';
2
2
  import { createDashboardLink } from '@openmrs/esm-patient-common-lib';
3
+
3
4
  import { inPatientClinicalEncounterDashboardMeta } from './clinical-encounter/clinical-encounter-dashboard-meta';
4
- import ClinicalEncounterDashboard from './clinical-encounter/dashboard/clinical-encounter-dashboard.component';
5
- import ClinicalViewSection from './clinical-view-group/clinical-view-section.component';
6
- import { createDashboardGroup } from './clinical-view-group/createDashboardGroup';
7
- import { configSchema } from './config-schema';
8
- import BirthDateCalculator from './relationships/modals/birthdate-calculator.modal';
9
- import ContactList from './contact-list/contact-list.component';
10
- import ContactListForm from './contact-list/contact-list.workspace';
11
5
  import {
12
6
  caseEncounterDashboardMeta,
13
7
  caseManagementDashboardMeta,
14
8
  contactListDashboardMeta,
15
- familyHistoryDashboardMeta,
16
- morgueDeceasedDetailsDashboardMeta,
17
- otherRelationshipsDashboardMeta,
18
9
  peerCalendarDashboardMeta,
19
10
  relationshipsDashboardMeta,
20
- } from './dashboard.meta';
21
- import FamilyHistory from './family-partner-history/family-history.component';
11
+ specialClinicsDashboardMeta,
12
+ } from './dashboard/dashboard.meta';
13
+ import { maternalAndChildHealthDashboardMeta } from './maternal-and-child-health/mch-dashboard.meta';
14
+ import { hivCareAndTreatmentDashboardMeta } from './specialized-clinics/hiv-care-and-treatment-services/hiv-care-and-treatment-dashboard.meta';
15
+ import { inPatientMeta } from './in-patient/in-patient.meta';
16
+
17
+ import ClinicalEncounterDashboard from './clinical-encounter/dashboard/clinical-encounter-dashboard.component';
18
+ import BirthDateCalculator from './relationships/modals/birthdate-calculator.modal';
19
+ import ContactListForm from './contact-list/contact-list.workspace';
20
+ import ContactDashboard from './contact-list/contact-dashboard.component';
21
+ import ContactListUpdateForm from './contact-list/forms/contact-list-update.workspace';
22
+
22
23
  import AntenatalCare from './maternal-and-child-health/antenatal-care.component';
23
24
  import LabourDelivery from './maternal-and-child-health/labour-delivery.component';
24
- import {
25
- antenatalDashboardMeta,
26
- labourAndDeliveryDashboardMeta,
27
- maternalAndChildHealthNavGroup,
28
- postnatalDashboardMeta,
29
- } from './maternal-and-child-health/mch-dashboard.meta';
30
25
  import PostnatalCare from './maternal-and-child-health/postnatal-care.component';
31
- import GenericDashboard from './specialized-clinics/generic-nav-links/generic-dashboard.component';
32
- import GenericNavLinks from './specialized-clinics/generic-nav-links/generic-nav-links.component';
33
- import DefaulterTracing from './specialized-clinics/hiv-care-and-treatment-services/defaulter-tracing/defaulter-tracing.component';
34
- import {
35
- defaulterTracingDashboardMeta,
36
- hivCareAndTreatmentNavGroup,
37
- htsDashboardMeta,
38
- } from './specialized-clinics/hiv-care-and-treatment-services/hiv-care-and-treatment-dashboard.meta';
39
- import HivTestingEncountersList from './specialized-clinics/hiv-care-and-treatment-services/hiv-testing-services/views/hiv-testing/hiv-testing-services.component';
40
- import { specialClinicsNavGroup } from './specialized-clinics/special-clinic-dashboard.meta';
41
- import { createLeftPanelLink } from './left-panel-link.component';
26
+ import MaternalAndChildDashboard from './maternal-and-child-health/maternal-and-child.component';
27
+ import Partograph from './maternal-and-child-health/partography/partograph.component';
28
+
29
+ import HivCareAndTreatment from './specialized-clinics/hiv-care-and-treatment-services/hiv-care-and-treatment.component';
30
+
31
+ import Relationships from './relationships/relationships.component';
32
+ import FamilyRelationshipForm from './family-partner-history/family-relationship.workspace';
33
+ import DeleteRelationshipConfirmDialog from './relationships/modals/delete-relationship-dialog.modal';
34
+
42
35
  import WrapComponent from './case-management/wrap/wrap.component';
43
36
  import CaseManagementForm from './case-management/workspace/case-management.workspace';
44
- import Relationships from './relationships/relationships.component';
45
37
  import CaseEncounterOverviewComponent from './case-management/encounters/case-encounter-overview.component';
46
- import FamilyRelationshipForm from './family-partner-history/family-relationship.workspace';
38
+ import EndRelationshipWorkspace from './case-management/workspace/case-management-workspace.component';
39
+
47
40
  import InPatient from './in-patient/in-patient.component';
48
- import { inPatientMeta } from './in-patient/in-patient.meta';
41
+
49
42
  import PeerCalendar from './peer-calendar/peer-calendar.component';
50
43
  import PeerForm from './peer-calendar/forms/peer-form.workspace';
51
44
  import FormEntryWorkspace from './peer-calendar/forms/form-entry.workspace';
52
- import DeleteRelationshipConfirmDialog from './relationships/modals/delete-relationship-dialog.modal';
53
- import EndRelationshipWorkspace from './case-management/workspace/case-management-workspace.component';
54
- import Partograph from './maternal-and-child-health/partography/partograph.component';
55
- import ContactListUpdateForm from './contact-list/forms/contact-list-update.workspace';
45
+
46
+ import { configSchema } from './config-schema';
47
+ import SpecialClinicDashboard from './special-clinics/special-clinic.component';
48
+ import { createDashboardLink as createDashboardLink2 } from './dashboard/createDashboardLink';
56
49
 
57
50
  const moduleName = '@kenyaemr/esm-patient-clinical-view-app';
58
51
 
@@ -63,90 +56,56 @@ const options = {
63
56
 
64
57
  export const importTranslation = require.context('../translations', false, /.json$/, 'lazy');
65
58
 
66
- // Dashboard groups and links setup for the patient chart, leveraging the ESM framework lifecycle utilities
67
-
68
- // Special Clinics navigation group in the patient chart sidebar
69
- export const specialClinicsSideNavGroup = getSyncLifecycle(createDashboardGroup(specialClinicsNavGroup), options);
70
-
71
- // Link and view for clinical encounters in the patient chart
72
- export const inPatientClinicalEncounterLink = getSyncLifecycle(
73
- createDashboardLink(inPatientClinicalEncounterDashboardMeta),
74
- options,
75
- );
76
- export const inPatientClinicalEncounter = getSyncLifecycle(ClinicalEncounterDashboard, options);
77
- export const clinicalViewPatientDashboard = getSyncLifecycle(ClinicalViewSection, options);
78
-
79
- // Navigation group for HIV Care and Treatment in the patient chart sidebar
80
- export const hivCareAndTreatMentSideNavGroup = getSyncLifecycle(
81
- createDashboardGroup(hivCareAndTreatmentNavGroup),
59
+ export const hivCareAndTreatmentLink = getSyncLifecycle(
60
+ createDashboardLink2(hivCareAndTreatmentDashboardMeta),
82
61
  options,
83
62
  );
63
+ export const hivCareAndTreatment = getSyncLifecycle(HivCareAndTreatment, options);
84
64
 
85
- // Dashboard links for HIV Care and Treatment services and views for clinical encounters
86
- export const defaulterTracingLink = getSyncLifecycle(createDashboardLink(defaulterTracingDashboardMeta), options);
87
- export const htsDashboardLink = getSyncLifecycle(createDashboardLink(htsDashboardMeta), options);
88
- export const htsClinicalView = getSyncLifecycle(HivTestingEncountersList, options);
89
- export const defaulterTracing = getSyncLifecycle(DefaulterTracing, options);
90
-
91
- // Dashboard links for Family History and the corresponding view in the patient chart
92
- export const familyHistory = getSyncLifecycle(FamilyHistory, options);
93
- export const familyHistoryLink = getSyncLifecycle(createDashboardLink(familyHistoryDashboardMeta), options);
94
- export const familyRelationshipForm = getSyncLifecycle(FamilyRelationshipForm, options);
95
-
96
- // Dashboard links for Other relationships and the corresponding view in the patient chart
97
- export const otherRelationshipsLink = getSyncLifecycle(createDashboardLink(otherRelationshipsDashboardMeta), options);
98
-
99
- // Relationships links for Family History and the corresponding view in the patient chart
100
65
  export const relationshipsLink = getSyncLifecycle(createDashboardLink(relationshipsDashboardMeta), options);
101
66
  export const relationships = getSyncLifecycle(Relationships, options);
102
67
  export const relationshipDeleteConfirmialog = getSyncLifecycle(DeleteRelationshipConfirmDialog, options);
68
+ export const familyRelationshipForm = getSyncLifecycle(FamilyRelationshipForm, options);
69
+
70
+ export const clinicalEncounterLink = getSyncLifecycle(
71
+ createDashboardLink(inPatientClinicalEncounterDashboardMeta),
72
+ options,
73
+ );
74
+ export const clinicalEncounter = getSyncLifecycle(ClinicalEncounterDashboard, options);
103
75
 
104
- // Contacts
105
- export const contactList = getSyncLifecycle(ContactList, options);
106
76
  export const contactListLink = getSyncLifecycle(createDashboardLink(contactListDashboardMeta), options);
77
+ export const contactList = getSyncLifecycle(ContactDashboard, options);
107
78
  export const contactListForm = getSyncLifecycle(ContactListForm, options);
108
- export const birthDateCalculator = getSyncLifecycle(BirthDateCalculator, options);
109
79
  export const contactListUpdateForm = getSyncLifecycle(ContactListUpdateForm, options);
80
+ export const birthDateCalculator = getSyncLifecycle(BirthDateCalculator, options);
110
81
 
111
- // Peer Clendar
112
82
  export const peerCalendar = getSyncLifecycle(PeerCalendar, options);
113
- export const peerCalendarDashboardLink = getSyncLifecycle(createLeftPanelLink(peerCalendarDashboardMeta), options);
83
+ export const peerCalendarDashboardLink = getSyncLifecycle(createDashboardLink(peerCalendarDashboardMeta), options);
114
84
  export const peersForm = getSyncLifecycle(PeerForm, options);
85
+ export const peerCalendarFormEntry = getSyncLifecycle(FormEntryWorkspace, options);
115
86
 
116
- // Navigation group for Maternal and Child Health in the patient chart sidebar
117
- export const maternalAndChildHealthSideNavGroup = getSyncLifecycle(
118
- createDashboardGroup(maternalAndChildHealthNavGroup),
87
+ export const maternalAndChildHealthDashboardLink = getSyncLifecycle(
88
+ createDashboardLink2(maternalAndChildHealthDashboardMeta),
119
89
  options,
120
90
  );
121
-
122
- // Views for Maternal and Child Health services like Antenatal Care, Postnatal Care, and Labour & Delivery
91
+ export const maternalAndChildHealthDashboard = getSyncLifecycle(MaternalAndChildDashboard, options);
123
92
  export const antenatalCare = getSyncLifecycle(AntenatalCare, options);
124
93
  export const postnatalCare = getSyncLifecycle(PostnatalCare, options);
125
94
  export const labourAndDelivery = getSyncLifecycle(LabourDelivery, options);
126
95
  export const partograph = getSyncLifecycle(Partograph, options);
127
96
 
128
- // Case Management
129
- export const caseManagementDashboardLink = getSyncLifecycle(createLeftPanelLink(caseManagementDashboardMeta), options);
97
+ export const caseManagementDashboardLink = getSyncLifecycle(createDashboardLink(caseManagementDashboardMeta), options);
130
98
  export const wrapComponent = getSyncLifecycle(WrapComponent, options);
131
99
  export const caseManagementForm = getSyncLifecycle(CaseManagementForm, options);
132
100
  export const caseEncounterDashboardLink = getSyncLifecycle(createDashboardLink(caseEncounterDashboardMeta), options);
133
- // export const caseEncounterHeader = getSyncLifecycle(CaseEncounterHeader, options);
134
101
  export const caseEncounterTable = getSyncLifecycle(CaseEncounterOverviewComponent, options);
135
- // Dashboard links for Maternal and Child Health services
136
- export const antenatalCareLink = getSyncLifecycle(createDashboardLink(antenatalDashboardMeta), options);
137
- export const postnatalCareLink = getSyncLifecycle(createDashboardLink(postnatalDashboardMeta), options);
138
- export const labourAndDeliveryLink = getSyncLifecycle(createDashboardLink(labourAndDeliveryDashboardMeta), options);
139
-
140
- export const genericNavLinks = getSyncLifecycle(GenericNavLinks, options);
141
- export const genericDashboard = getSyncLifecycle(GenericDashboard, options);
102
+ export const endRelationshipWorkspace = getSyncLifecycle(EndRelationshipWorkspace, options);
142
103
 
143
104
  export const inPatientChartLink = getSyncLifecycle(createDashboardLink(inPatientMeta), options);
144
105
  export const inPatientChartDashboard = getSyncLifecycle(InPatient, options);
145
106
 
146
- export const peerCalendarFormEntry = getSyncLifecycle(FormEntryWorkspace, options);
147
-
148
- // Case management modal
149
- export const endRelationshipWorkspace = getSyncLifecycle(EndRelationshipWorkspace, options);
107
+ export const specialClinicsDashboardLink = getSyncLifecycle(createDashboardLink(specialClinicsDashboardMeta), options);
108
+ export const specialClinicsDashboard = getSyncLifecycle(SpecialClinicDashboard, options);
150
109
 
151
110
  export function startupApp() {
152
111
  defineConfigSchema(moduleName, configSchema);
@@ -11,7 +11,6 @@ import {
11
11
  import { useConfig, formatDate, parseDate } from '@openmrs/esm-framework';
12
12
  import { ConfigObject } from '../config-schema';
13
13
  import { labourAndDeliveryConceptMap } from './concept-maps/labour-and-delivery-care-concepts-map';
14
- import Partograph from './partography/partograph.component';
15
14
 
16
15
  interface LabourDeliveryProps {
17
16
  patientUuid: string;
@@ -0,0 +1,43 @@
1
+ import { Button, Checkbox, Layer, Tab, TabList, TabPanel, TabPanels, Tabs, TextInput } from '@carbon/react';
2
+ import React from 'react';
3
+ import { useTranslation } from 'react-i18next';
4
+ import AntenatalCare from './antenatal-care.component';
5
+ import PostnatalCare from './postnatal-care.component';
6
+ import LabourDelivery from './labour-delivery.component';
7
+ import Partograph from './partography/partograph.component';
8
+
9
+ type MaternalAndChildDashboardProps = {
10
+ patientUuid: string;
11
+ };
12
+
13
+ const MaternalAndChildDashboard: React.FC<MaternalAndChildDashboardProps> = ({ patientUuid }) => {
14
+ const { t } = useTranslation();
15
+ return (
16
+ <Layer>
17
+ <Tabs>
18
+ <TabList contained>
19
+ <Tab>{t('antenatalCare', 'Antenatal Care')}</Tab>
20
+ <Tab>{t('postnatalCare', 'Postnatal Care')}</Tab>
21
+ <Tab>{t('labourAndDelivery', 'Labour & Delivery')}</Tab>
22
+ <Tab>{t('partograph', 'Partograph')}</Tab>
23
+ </TabList>
24
+ <TabPanels>
25
+ <TabPanel>
26
+ <AntenatalCare patientUuid={patientUuid} />
27
+ </TabPanel>
28
+ <TabPanel>
29
+ <PostnatalCare patientUuid={patientUuid} />
30
+ </TabPanel>
31
+ <TabPanel>
32
+ <LabourDelivery patientUuid={patientUuid} />
33
+ </TabPanel>
34
+ <TabPanel>
35
+ <Partograph patientUuid={patientUuid} />
36
+ </TabPanel>
37
+ </TabPanels>
38
+ </Tabs>
39
+ </Layer>
40
+ );
41
+ };
42
+
43
+ export default MaternalAndChildDashboard;
@@ -1,37 +1,8 @@
1
- export const antenatalDashboardMeta = {
2
- slot: 'patient-chart-antenatal-dashboard-slot',
3
- columns: 1,
4
- title: 'Antenatal Care',
5
- path: 'antenatal-care-dashboard',
6
- moduleName: '@kenyaemr/esm-patient-clinical-view-app',
7
- config: {},
8
- icon: '',
9
- };
10
-
11
- export const postnatalDashboardMeta = {
12
- slot: 'patient-chart-postnatal-dashboard-slot',
13
- columns: 1,
14
- title: 'Postnatal Care',
15
- path: 'postnatal-care-dashboard',
16
- moduleName: '@kenyaemr/esm-patient-clinical-view-app',
17
- config: {},
18
- icon: '',
19
- };
20
-
21
- export const labourAndDeliveryDashboardMeta = {
22
- slot: 'patient-chart-labour-and-delivery-dashboard-slot',
23
- columns: 1,
24
- title: 'Labour & Delivery',
25
- path: 'labour-and-delivery-dashboard',
26
- moduleName: '@kenyaemr/esm-patient-clinical-view-app',
27
- config: {},
28
- icon: '',
29
- };
30
-
31
- export const maternalAndChildHealthNavGroup = {
1
+ export const maternalAndChildHealthDashboardMeta = {
32
2
  title: 'Maternal & Child Health',
33
- slotName: 'maternal-and-child-health-slot',
34
- isExpanded: false,
3
+ slot: 'patient-chart-maternal-and-child-health-slot',
4
+ path: 'maternal-and-child-health',
5
+ icon: 'omrs-icon-pedestrian-family',
35
6
  showWhenExpression:
36
- 'patient.gender === "female" && (enrollment.includes("MCH - Child Services") || enrollment.includes("MCH - Mother Services"))',
7
+ 'activePatientEnrollment.filter(enrollment => enrollment.program.name === "MCH - Mother Services").length > 0',
37
8
  };
@@ -1,8 +1,7 @@
1
- @use '@carbon/styles/scss/spacing';
2
- @use '@carbon/styles/scss/type';
3
1
  @use '@carbon/colors';
2
+ @use '@carbon/layout';
3
+ @use '@carbon/type';
4
4
  @use '@openmrs/esm-styleguide/src/vars' as *;
5
- @use '../../root.scss';
6
5
 
7
6
  .widgetContainer {
8
7
  background-color: colors.$white;
@@ -24,10 +23,10 @@
24
23
  }
25
24
 
26
25
  .content {
27
- @extend .productiveHeading01;
26
+ @include type.type-style('heading-compact-01');
28
27
  color: $text-02;
29
- margin-top: spacing.$spacing-05;
30
- margin-bottom: spacing.$spacing-03;
28
+ margin-top: layout.$spacing-05;
29
+ margin-bottom: layout.$spacing-03;
31
30
  }
32
31
 
33
32
  .desktopHeading,
@@ -62,7 +61,7 @@
62
61
  }
63
62
  .toggleButtons {
64
63
  width: fit-content;
65
- margin: 0 spacing.$spacing-03;
64
+ margin: 0 layout.$spacing-03;
66
65
 
67
66
  button {
68
67
  color: $interactive-01;
@@ -103,14 +102,14 @@
103
102
  }
104
103
  }
105
104
  .tableViewToggle {
106
- border-radius: spacing.$spacing-02 0 0 spacing.$spacing-02;
105
+ border-radius: layout.$spacing-02 0 0 layout.$spacing-02;
107
106
 
108
107
  &:global(.cds--btn--ghost) {
109
108
  border-right: 0;
110
109
  }
111
110
  }
112
111
  .chartViewToggle {
113
- border-radius: 0 spacing.$spacing-02 spacing.$spacing-02 0;
112
+ border-radius: 0 layout.$spacing-02 layout.$spacing-02 0;
114
113
 
115
114
  &:global(.cds--btn--ghost) {
116
115
  border-left: 0;
package/src/root.scss CHANGED
@@ -1,24 +1,7 @@
1
- @use '@carbon/styles/scss/spacing';
2
- @use '@carbon/styles/scss/type';
1
+ @use '@carbon/layout';
2
+ @use '@carbon/type';
3
3
  @use '~@openmrs/esm-styleguide/src/vars' as *;
4
4
 
5
- $ui-01: #f4f4f4;
6
- $ui-02: #ffffff;
7
- $ui-03: #e0e0e0;
8
- $ui-05: #161616;
9
- $color-gray-70: #525252;
10
- $color-blue-60-2: #0f62fe;
11
- $color-yellow-50: #feecae;
12
- $inverse-support-03: #f1c21b;
13
- $warning-background: #fff8e1;
14
- $openmrs-background-grey: #f4f4f4;
15
- $danger: #da1e28;
16
- $interactive-01: #0f62fe;
17
- $brand-teal-01: #3197d9;
18
- $ohri-input-width: 22.313rem;
19
- $ohri-home-background: #ededed;
20
- $button-primary: #0078a6;
21
-
22
5
  .productiveHeading01 {
23
6
  @include type.type-style('heading-compact-01');
24
7
  }
@@ -70,50 +53,3 @@ $button-primary: #0078a6;
70
53
  .text02 {
71
54
  color: $text-02;
72
55
  }
73
-
74
- aside {
75
- background-color: $ui-02 !important;
76
- }
77
-
78
- // Login Overrides
79
-
80
- div[class*='-esm-login__styles__center'] > img {
81
- width: 140px; // design has 120px
82
- }
83
-
84
- :global(.tab-12rem) > button {
85
- width: 12rem !important;
86
- }
87
-
88
- :global(.tab-14rem) > button {
89
- width: 14rem !important;
90
- }
91
-
92
- :global(.tab-16rem) > button {
93
- width: 16rem !important;
94
- }
95
-
96
- :global(.cds--overflow-menu) > div {
97
- width: 15rem !important;
98
- }
99
-
100
- nav :global(.cds--accordion__title) {
101
- color: #525252;
102
- font-weight: 600 !important;
103
- }
104
-
105
- nav :global(.cds--accordion__content) {
106
- padding-bottom: 0 !important;
107
- padding-top: 0 !important;
108
- }
109
-
110
- nav :global(.cds--accordion__content) > a {
111
- background-color: #cecece !important;
112
- color: #161616 !important;
113
- border-left-color: var(--brand-01) !important;
114
- font: bolder;
115
- }
116
-
117
- :global(.cds--tab--list) button {
118
- max-width: 16rem !important;
119
- }