@kenyaemr/esm-patient-clinical-view-app 5.4.2-pre.2592 → 5.4.2-pre.2598

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 (39) hide show
  1. package/.turbo/turbo-build.log +6 -6
  2. package/dist/127.js +1 -1
  3. package/dist/152.js +3 -3
  4. package/dist/152.js.map +1 -1
  5. package/dist/481.js +66 -0
  6. package/dist/481.js.map +1 -0
  7. package/dist/671.js +1 -1
  8. package/dist/671.js.map +1 -1
  9. package/dist/941.js +1 -0
  10. package/dist/941.js.map +1 -0
  11. package/dist/kenyaemr-esm-patient-clinical-view-app.js +2 -2
  12. package/dist/kenyaemr-esm-patient-clinical-view-app.js.buildmanifest.json +55 -55
  13. package/dist/kenyaemr-esm-patient-clinical-view-app.js.map +1 -1
  14. package/dist/main.js +87 -14
  15. package/dist/main.js.map +1 -1
  16. package/dist/routes.json +1 -1
  17. package/package.json +1 -1
  18. package/src/config-schema.ts +144 -0
  19. package/src/index.ts +2 -2
  20. package/src/maternal-and-child-health/partography/labour-delivery.scss +6 -7
  21. package/src/maternal-and-child-health/partography/partograph.component.tsx +487 -151
  22. package/src/maternal-and-child-health/partography/partography-data-form.component.tsx +434 -0
  23. package/src/maternal-and-child-health/partography/partography-data-form.scss +50 -0
  24. package/src/maternal-and-child-health/partography/partography-link.component.tsx +21 -0
  25. package/src/maternal-and-child-health/partography/partography.resource.ts +1024 -0
  26. package/src/maternal-and-child-health/partography/partography.scss +378 -0
  27. package/src/maternal-and-child-health/partography/types/index.ts +980 -0
  28. package/translations/en.json +11 -1
  29. package/dist/287.js +0 -1
  30. package/dist/287.js.map +0 -1
  31. package/dist/98.js +0 -1
  32. package/dist/98.js.map +0 -1
  33. package/src/maternal-and-child-health/partography/cervical-dilation.component.tsx +0 -16
  34. package/src/maternal-and-child-health/partography/contraction-level.component.tsx +0 -16
  35. package/src/maternal-and-child-health/partography/descent-of-head.component.tsx +0 -16
  36. package/src/maternal-and-child-health/partography/foetal-heart-rate.component.tsx +0 -17
  37. package/src/maternal-and-child-health/partography/membrane-amniotic-fluid-moulding.component.tsx +0 -17
  38. package/src/maternal-and-child-health/partography/partograph-chart.scss +0 -94
  39. package/src/maternal-and-child-health/partography/partograph-chart.tsx +0 -176
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[],"extensions":[{"name":"hiv-care-and-treatment-dashboard-link","component":"hivCareAndTreatmentLink","slot":"patient-chart-dashboard-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-hiv-care-and-treatment-dashboard-slot","path":"hiv-care-and-treatment-dashboard","layoutMode":"anchored"}},{"name":"hiv-care-and-treatment-dashboard","slot":"patient-chart-hiv-care-and-treatment-dashboard-slot","component":"hivCareAndTreatment","order":0,"online":true,"offline":false},{"name":"relationship-dashboard-link","component":"relationshipsLink","order":24,"online":true,"offline":false,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-relationship-slot","path":"relationships","layoutMode":"anchored"}},{"name":"relationship-dashboard","slot":"patient-chart-relationship-slot","component":"relationships","order":0,"online":true,"offline":false},{"name":"clinical-encounter-dashboard-link","component":"clinicalEncounterLink","order":25,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-clinical-encounter-slot","path":"clinical-encounter","layoutMode":"anchored"}},{"name":"clinical-encounter-dashboard","slot":"patient-chart-clinical-encounter-slot","component":"clinicalEncounter","order":0,"online":true,"offline":false},{"name":"maternal-and-child-health-dashboard-link","component":"maternalAndChildHealthDashboardLink","order":26,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-maternal-and-child-health-slot","path":"maternal-and-child-health","layoutMode":"anchored"}},{"name":"maternal-and-child-health-dashboard","slot":"patient-chart-maternal-and-child-health-slot","component":"maternalAndChildHealthDashboard","order":0,"online":true,"offline":false},{"name":"maternal-and-child-health-partograph","slot":"maternal-and-child-health-partograph-slot","component":"partograph","order":0,"online":true,"offline":false},{"name":"contact-list-dashboard-link","component":"contactListLink","order":27,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-contact-list-slot","path":"contact-list","layoutMode":"anchored"}},{"name":"contact-list-dashboard","slot":"patient-chart-contact-list-slot","component":"contactList","order":0,"online":true,"offline":false},{"component":"caseManagementDashboardLink","name":"case-management-dashboard-link","meta":{"name":"case-management","title":"Case Management","slot":"case-management-dashboard-slot","path":"/case-management"}},{"name":"in-patient-dashboard-link","component":"inPatientChartLink","order":7,"meta":{"slot":"patient-chart-in-patient-dashboard-slot","path":"in-patient","layoutMode":"anchored","columns":1,"columnSpan":1}},{"name":"in-patient-dashboard","slot":"patient-chart-in-patient-dashboard-slot","component":"inPatientChartDashboard","meta":{"fullWidth":false}},{"name":"wrap-component-view","slot":"case-management-dashboard-slot","component":"wrapComponent","order":2,"online":true,"offline":false},{"name":"case-encounter-link","component":"caseEncounterDashboardLink","order":14,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-case-encounter-slot","path":"case-management-encounters","layoutMode":"anchored"}},{"name":"case-encounter-table","slot":"patient-chart-case-encounter-slot","component":"caseEncounterTable","order":0,"online":true,"offline":false},{"component":"peerCalendarDashboardLink","name":"peer-calendar-dashboard-link","meta":{"name":"peer-calendar","title":"Peer Calendar","slot":"peer-calendar-dashboard-slot","path":"peer-management"}},{"name":"peer-calendar","slot":"peer-calendar-dashboard-slot","component":"peerCalendar","order":0,"online":true,"offline":false},{"name":"special-clinics-dashboard-link","component":"specialClinicsDashboardLink","order":15,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-special-clinics-slot","path":"special-clinics","layoutMode":"anchored"}},{"name":"special-clinics-dashboard","slot":"patient-chart-special-clinics-slot","component":"specialClinicsDashboard","order":0,"online":true,"offline":false}],"modals":[{"name":"birth-date-calculator","component":"birthDateCalculator"},{"name":"relationship-delete-confirm-dialog","component":"relationshipDeleteConfirmialog"},{"name":"end-relationship-dialog","component":"endRelationshipModal"}],"workspaces":[{"name":"contact-list-form","component":"contactListForm","title":"Contact List Form","type":"form"},{"name":"case-management-form","component":"caseManagementForm","title":"Case Management Form","type":"form"},{"name":"family-relationship-form","component":"familyRelationshipForm","title":"Family Relationship Form","type":"form"},{"name":"peers-form","component":"peersForm","title":"Add New Peer","type":"form"},{"name":"kenyaemr-cusom-form-entry-workspace","component":"peerCalendarFormEntry","title":"KVP Peer Educator Outreach Calendar","type":"form","width":"extra-wide","canMaximize":true,"canHide":true},{"name":"contact-list-update-form","component":"contactListUpdateForm","title":"Contact List Update Form","type":"form"},{"name":"other-relationship-form","component":"otherRelationshipsForm","title":"Other Relationships Form","type":"form"},{"name":"end-relationship-form","component":"endRelationshipWorkspace","title":"Discontinue relationship form","type":"form"}],"version":"5.4.2-pre.2592"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"kenyaemr":"^19.0.0"},"pages":[],"extensions":[{"name":"hiv-care-and-treatment-dashboard-link","component":"hivCareAndTreatmentLink","slot":"patient-chart-dashboard-slot","meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-hiv-care-and-treatment-dashboard-slot","path":"hiv-care-and-treatment-dashboard","layoutMode":"anchored"}},{"name":"hiv-care-and-treatment-dashboard","slot":"patient-chart-hiv-care-and-treatment-dashboard-slot","component":"hivCareAndTreatment","order":0,"online":true,"offline":false},{"name":"relationship-dashboard-link","component":"relationshipsLink","order":24,"online":true,"offline":false,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-relationship-slot","path":"relationships","layoutMode":"anchored"}},{"name":"relationship-dashboard","slot":"patient-chart-relationship-slot","component":"relationships","order":0,"online":true,"offline":false},{"name":"clinical-encounter-dashboard-link","component":"clinicalEncounterLink","order":25,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-clinical-encounter-slot","path":"clinical-encounter","layoutMode":"anchored"}},{"name":"clinical-encounter-dashboard","slot":"patient-chart-clinical-encounter-slot","component":"clinicalEncounter","order":0,"online":true,"offline":false},{"name":"maternal-and-child-health-dashboard-link","component":"maternalAndChildHealthDashboardLink","order":26,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-maternal-and-child-health-slot","path":"maternal-and-child-health","layoutMode":"anchored"}},{"name":"maternal-and-child-health-dashboard","slot":"patient-chart-maternal-and-child-health-slot","component":"maternalAndChildHealthDashboard","order":0,"online":true,"offline":false},{"name":"maternal-and-child-health-partograph","slot":"maternal-and-child-health-partograph-slot","component":"partograph","order":0,"online":true,"offline":false},{"name":"contact-list-dashboard-link","component":"contactListLink","order":27,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-contact-list-slot","path":"contact-list","layoutMode":"anchored"}},{"name":"contact-list-dashboard","slot":"patient-chart-contact-list-slot","component":"contactList","order":0,"online":true,"offline":false},{"component":"caseManagementDashboardLink","name":"case-management-dashboard-link","meta":{"name":"case-management","title":"Case Management","slot":"case-management-dashboard-slot","path":"/case-management"}},{"name":"in-patient-dashboard-link","component":"inPatientChartLink","order":7,"meta":{"slot":"patient-chart-in-patient-dashboard-slot","path":"in-patient","layoutMode":"anchored","columns":1,"columnSpan":1}},{"name":"in-patient-dashboard","slot":"patient-chart-in-patient-dashboard-slot","component":"inPatientChartDashboard","meta":{"fullWidth":false}},{"name":"wrap-component-view","slot":"case-management-dashboard-slot","component":"wrapComponent","order":2,"online":true,"offline":false},{"name":"case-encounter-link","component":"caseEncounterDashboardLink","order":14,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-case-encounter-slot","path":"case-management-encounters","layoutMode":"anchored"}},{"name":"case-encounter-table","slot":"patient-chart-case-encounter-slot","component":"caseEncounterTable","order":0,"online":true,"offline":false},{"component":"peerCalendarDashboardLink","name":"peer-calendar-dashboard-link","meta":{"name":"peer-calendar","title":"Peer Calendar","slot":"peer-calendar-dashboard-slot","path":"peer-management"}},{"name":"peer-calendar","slot":"peer-calendar-dashboard-slot","component":"peerCalendar","order":0,"online":true,"offline":false},{"name":"special-clinics-dashboard-link","component":"specialClinicsDashboardLink","order":15,"meta":{"columns":1,"columnSpan":1,"slot":"patient-chart-special-clinics-slot","path":"special-clinics","layoutMode":"anchored"}},{"name":"special-clinics-dashboard","slot":"patient-chart-special-clinics-slot","component":"specialClinicsDashboard","order":0,"online":true,"offline":false}],"modals":[{"name":"birth-date-calculator","component":"birthDateCalculator"},{"name":"relationship-delete-confirm-dialog","component":"relationshipDeleteConfirmialog"},{"name":"end-relationship-dialog","component":"endRelationshipModal"}],"workspaces":[{"name":"contact-list-form","component":"contactListForm","title":"Contact List Form","type":"form"},{"name":"case-management-form","component":"caseManagementForm","title":"Case Management Form","type":"form"},{"name":"family-relationship-form","component":"familyRelationshipForm","title":"Family Relationship Form","type":"form"},{"name":"peers-form","component":"peersForm","title":"Add New Peer","type":"form"},{"name":"kenyaemr-cusom-form-entry-workspace","component":"peerCalendarFormEntry","title":"KVP Peer Educator Outreach Calendar","type":"form","width":"extra-wide","canMaximize":true,"canHide":true},{"name":"contact-list-update-form","component":"contactListUpdateForm","title":"Contact List Update Form","type":"form"},{"name":"other-relationship-form","component":"otherRelationshipsForm","title":"Other Relationships Form","type":"form"},{"name":"end-relationship-form","component":"endRelationshipWorkspace","title":"Discontinue relationship form","type":"form"}],"version":"5.4.2-pre.2598"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenyaemr/esm-patient-clinical-view-app",
3
- "version": "5.4.2-pre.2592",
3
+ "version": "5.4.2-pre.2598",
4
4
  "description": "Patient clinical view microfrontend for the OpenMRS SPA",
5
5
  "keywords": [
6
6
  "openmrs"
@@ -294,6 +294,121 @@ export const configSchema = {
294
294
  },
295
295
  ],
296
296
  },
297
+
298
+ partography: {
299
+ _type: Type.Object,
300
+ _description: 'Partography module configuration',
301
+ _default: {
302
+ conceptMappings: {
303
+ 'fetal-heart-rate': ['1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
304
+ 'blood-pressure': ['5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', '5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
305
+ 'maternal-pulse': ['5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
306
+ temperature: ['5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
307
+ 'cervical-dilation': ['162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
308
+ 'descent-of-head': ['1810AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
309
+ 'uterine-contractions': ['163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
310
+ 'urine-analysis': [
311
+ '161442AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
312
+ '887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
313
+ '165438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
314
+ ],
315
+ 'drugs-fluids': ['1282AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', '161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'],
316
+ 'progress-events': [
317
+ '162879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
318
+ '160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
319
+ '1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
320
+ '162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
321
+ '163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
322
+ ],
323
+ },
324
+ stationDisplayMapping: {
325
+ '160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': '0/5',
326
+ '162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': '1/5',
327
+ '166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': '2/5',
328
+ '166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': '3/5',
329
+ '166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': '4/5',
330
+ '163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': '5/5',
331
+ },
332
+ stationValueMapping: {
333
+ '160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 0,
334
+ '162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 1,
335
+ '166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 2,
336
+ '166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 3,
337
+ '166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 4,
338
+ '163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': 5,
339
+ },
340
+ encounterPatterns: [
341
+ 'mch-partograph',
342
+ 'partography',
343
+ 'fetal-monitoring',
344
+ 'maternal-monitoring',
345
+ 'obstetric-vitals',
346
+ 'labor-monitoring',
347
+ 'labour-monitoring',
348
+ ],
349
+ fallbackEncounterMapping: {
350
+ 'fetal-heart-rate': ['mch-mother-consultation', 'vitals', 'obstetric', 'maternal', 'consultation', 'clinical'],
351
+ 'cervical-dilation': ['mch-mother-consultation', 'obstetric', 'maternal', 'consultation', 'clinical'],
352
+ 'maternal-pulse': ['vitals', 'maternal', 'consultation', 'clinical'],
353
+ 'blood-pressure': ['vitals', 'maternal', 'consultation', 'clinical'],
354
+ temperature: ['vitals', 'consultation', 'clinical'],
355
+ 'urine-analysis': ['vitals', 'laboratory', 'consultation', 'clinical'],
356
+ 'drugs-fluids': ['medication', 'treatment', 'consultation', 'clinical'],
357
+ 'progress-events': ['obstetric', 'maternal', 'consultation', 'clinical'],
358
+ },
359
+ defaultFallbackSequence: ['consultation', 'clinical'],
360
+ retryFallbackTypes: ['vitals', 'consultation', 'clinical'],
361
+ defaultEncounterProviderRole: 'a0b03050-c99b-11e0-9572-0800200c9a66',
362
+ defaultLocationUuid: '1',
363
+ storage: {
364
+ maxLocalEntries: 100,
365
+ storageKeyPrefix: 'partography_',
366
+ cacheKeyPrefix: 'partography_encounters_',
367
+ },
368
+ timeConfig: {
369
+ defaultEncounterOffset: 300000,
370
+ retryEncounterOffset: 3600000,
371
+ cacheInvalidationDelay: 1000,
372
+ },
373
+ progressEventConceptNames: {
374
+ '1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': {
375
+ name: 'Fetal Heart Rate',
376
+ unit: 'BPM',
377
+ },
378
+ '162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': {
379
+ name: 'Cervical Dilation',
380
+ unit: 'cm',
381
+ },
382
+ '163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA': {
383
+ name: 'Uterine Contractions',
384
+ unit: 'per 10min',
385
+ },
386
+ },
387
+ graphTypeDisplayNames: {
388
+ 'fetal-heart-rate': 'Fetal Heart Rate',
389
+ 'cervical-dilation': 'Cervical Dilation',
390
+ 'descent-of-head': 'Descent of Head',
391
+ 'uterine-contractions': 'Uterine Contractions',
392
+ 'maternal-pulse': 'Maternal Pulse',
393
+ 'blood-pressure': 'Blood Pressure',
394
+ temperature: 'Temperature',
395
+ 'urine-analysis': 'Urine Analysis',
396
+ 'drugs-fluids': 'Drugs & Fluids',
397
+ 'progress-events': 'Progress & Events',
398
+ },
399
+ testData: {
400
+ testGraphTypes: ['fetal-heart-rate', 'cervical-dilation', 'maternal-pulse', 'temperature', 'blood-pressure'],
401
+ sampleDataPoints: [
402
+ { value: 120, time: '10:00' },
403
+ { value: 125, time: '11:00' },
404
+ { value: 130, time: '12:00' },
405
+ { value: 128, time: '13:00' },
406
+ ],
407
+ valueIncrement: 10,
408
+ bloodPressureDecrement: 40,
409
+ },
410
+ },
411
+ },
297
412
  };
298
413
 
299
414
  export interface ConfigObject {
@@ -357,6 +472,35 @@ export interface ConfigObject {
357
472
  display: string;
358
473
  category: Array<'sexual' | 'pns' | 'family'>;
359
474
  }>;
475
+ partography: {
476
+ conceptMappings: Record<string, string[]>;
477
+ stationDisplayMapping: Record<string, string>;
478
+ stationValueMapping: Record<string, number>;
479
+ encounterPatterns: string[];
480
+ fallbackEncounterMapping: Record<string, string[]>;
481
+ defaultFallbackSequence: string[];
482
+ retryFallbackTypes: string[];
483
+ defaultEncounterProviderRole: string;
484
+ defaultLocationUuid: string;
485
+ storage: {
486
+ maxLocalEntries: number;
487
+ storageKeyPrefix: string;
488
+ cacheKeyPrefix: string;
489
+ };
490
+ timeConfig: {
491
+ defaultEncounterOffset: number;
492
+ retryEncounterOffset: number;
493
+ cacheInvalidationDelay: number;
494
+ };
495
+ progressEventConceptNames: Record<string, { name: string; unit: string }>;
496
+ graphTypeDisplayNames: Record<string, string>;
497
+ testData: {
498
+ testGraphTypes: string[];
499
+ sampleDataPoints: Array<{ value: number; time: string }>;
500
+ valueIncrement: number;
501
+ bloodPressureDecrement: number;
502
+ };
503
+ };
360
504
  }
361
505
 
362
506
  export interface PartograpyComponents {
package/src/index.ts CHANGED
@@ -24,7 +24,7 @@ import AntenatalCare from './maternal-and-child-health/antenatal-care.component'
24
24
  import LabourDelivery from './maternal-and-child-health/labour-delivery.component';
25
25
  import PostnatalCare from './maternal-and-child-health/postnatal-care.component';
26
26
  import MaternalAndChildDashboard from './maternal-and-child-health/maternal-and-child.component';
27
- import Partograph from './maternal-and-child-health/partography/partograph.component';
27
+ import Partography from './maternal-and-child-health/partography/partograph.component';
28
28
 
29
29
  import HivCareAndTreatment from './specialized-clinics/hiv-care-and-treatment-services/hiv-care-and-treatment.component';
30
30
 
@@ -93,7 +93,7 @@ export const maternalAndChildHealthDashboard = getSyncLifecycle(MaternalAndChild
93
93
  export const antenatalCare = getSyncLifecycle(AntenatalCare, options);
94
94
  export const postnatalCare = getSyncLifecycle(PostnatalCare, options);
95
95
  export const labourAndDelivery = getSyncLifecycle(LabourDelivery, options);
96
- export const partograph = getSyncLifecycle(Partograph, options);
96
+ export const partograph = getSyncLifecycle(Partography, options);
97
97
 
98
98
  export const caseManagementDashboardLink = getSyncLifecycle(createLeftPanelLink(caseManagementDashboardMeta), options);
99
99
  export const wrapComponent = getSyncLifecycle(WrapComponent, options);
@@ -1,7 +1,6 @@
1
1
  @use '@carbon/colors';
2
2
  @use '@carbon/layout';
3
3
  @use '@carbon/type';
4
- @use '@openmrs/esm-styleguide/src/vars' as *;
5
4
 
6
5
  .expandedTabsParentContainer {
7
6
  display: flex;
@@ -30,7 +29,7 @@
30
29
 
31
30
  :global(.cds--tabs__nav-link) {
32
31
  border-bottom: 0 !important;
33
- border-left: 3px solid $ui-03 !important;
32
+ border-left: 3px solid colors.$gray-20 !important;
34
33
  padding: layout.$spacing-05;
35
34
  }
36
35
 
@@ -77,7 +76,7 @@
77
76
 
78
77
  .content {
79
78
  @include type.type-style('heading-compact-01');
80
- color: $text-02;
79
+ color: colors.$gray-100;
81
80
  margin-top: layout.$spacing-05;
82
81
  margin-bottom: layout.$spacing-03;
83
82
  }
@@ -89,7 +88,7 @@
89
88
 
90
89
  h4 {
91
90
  @include type.type-style('heading-compact-02');
92
- color: $text-02;
91
+ color: colors.$gray-100;
93
92
 
94
93
  &:after {
95
94
  content: '';
@@ -103,13 +102,13 @@
103
102
  }
104
103
  .widgetCard {
105
104
  background-color: colors.$white;
106
- border: 1px solid $ui-03;
105
+ border: 1px solid colors.$gray-20;
107
106
  }
108
107
 
109
108
  .divider {
110
109
  width: 1px;
111
110
  height: 1rem;
112
- color: $ui-03;
111
+ color: colors.$gray-20;
113
112
  margin: 0rem 0.5rem;
114
113
  }
115
114
  .toggleButtons {
@@ -150,7 +149,7 @@
150
149
 
151
150
  &:global(.cds--btn--ghost:hover) {
152
151
  color: #000;
153
- background-color: $ui-01;
152
+ background-color: colors.$white;
154
153
  }
155
154
  }
156
155
  }