@openmrs/esm-appointments-app 5.2.2-pre.2564 → 5.2.2-pre.2567

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.
@@ -80,10 +80,10 @@
80
80
  "initial": true,
81
81
  "entry": true,
82
82
  "recorded": false,
83
- "size": 4540693,
83
+ "size": 4539709,
84
84
  "sizes": {
85
85
  "consume-shared": 252,
86
- "javascript": 4519771,
86
+ "javascript": 4518787,
87
87
  "share-init": 252,
88
88
  "runtime": 20418
89
89
  },
@@ -100,7 +100,7 @@
100
100
  "auxiliaryFiles": [
101
101
  "main.js.map"
102
102
  ],
103
- "hash": "d34c9a4e6044489a",
103
+ "hash": "14f30f321bd3dc04",
104
104
  "childrenByOrder": {}
105
105
  },
106
106
  {
@@ -490,9 +490,9 @@
490
490
  "initial": false,
491
491
  "entry": false,
492
492
  "recorded": false,
493
- "size": 482246,
493
+ "size": 481262,
494
494
  "sizes": {
495
- "javascript": 482078,
495
+ "javascript": 481094,
496
496
  "consume-shared": 168
497
497
  },
498
498
  "names": [],
@@ -506,7 +506,7 @@
506
506
  "auxiliaryFiles": [
507
507
  "799.js.map"
508
508
  ],
509
- "hash": "affd1fc4ba01bbb0",
509
+ "hash": "009e75aff2c467eb",
510
510
  "childrenByOrder": {}
511
511
  },
512
512
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"}},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"check-in-appointment-modal","slot":"todays-appointment-slot","component":"checkInModal"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"early-appointments-panel","component":"earlyAppointments"}],"version":"5.2.2-pre.2564"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"}},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"check-in-appointment-modal","slot":"todays-appointment-slot","component":"checkInModal"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsByStatus"},{"name":"early-appointments-panel","component":"earlyAppointments"}],"version":"5.2.2-pre.2567"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-appointments-app",
3
- "version": "5.2.2-pre.2564",
3
+ "version": "5.2.2-pre.2567",
4
4
  "description": "Appointments front-end module for the OpenMRS SPA",
5
5
  "browser": "dist/openmrs-esm-appointments-app.js",
6
6
  "main": "src/index.ts",
@@ -39,16 +39,14 @@ const CalendarHeader: React.FC<CalendarHeaderProps> = ({ onChangeView, calendarV
39
39
  return (
40
40
  <div className={styles.calendarHeaderContainer}>
41
41
  <div className={styles.titleContainer}>
42
- <div className={styles.backButton}>
43
- <Button
44
- kind="ghost"
45
- onClick={backButtonOnClick}
46
- renderIcon={ArrowLeft}
47
- iconDescription={t('back', 'Back')}
48
- size="lg">
49
- <span>{t('back', 'Back')}</span>
50
- </Button>
51
- </div>
42
+ <Button
43
+ kind="ghost"
44
+ onClick={backButtonOnClick}
45
+ renderIcon={ArrowLeft}
46
+ iconDescription={t('back', 'Back')}
47
+ size="lg">
48
+ <span>{t('back', 'Back')}</span>
49
+ </Button>
52
50
  <p>{t('calendar', 'Calendar')}</p>
53
51
  <Button size="md" kind="ghost" renderIcon={ArrowRight} onClick={addNewClinicDayOnClick}>
54
52
  {t('addNewClinicDay', 'Add new clinic day')}
@@ -24,29 +24,6 @@
24
24
  align-items: center;
25
25
  }
26
26
 
27
- .backButton {
28
- align-items: center;
29
- display: flex;
30
- justify-content: flex-start;
31
- padding: 0;
32
- @include type.type-style('body-compact-01');
33
-
34
- button {
35
- display: flex;
36
- padding: 0;
37
-
38
- svg {
39
- order: 1;
40
- margin-right: 0.5rem;
41
- margin-left: 0rem !important;
42
- }
43
-
44
- span {
45
- order: 2;
46
- }
47
- }
48
- }
49
-
50
27
  // Overriding styles for RTL support
51
28
  html[dir='rtl'] {
52
29
  .titleContent {