@openmrs/esm-generic-patient-widgets-app 11.3.1-pre.9398 → 11.3.1-pre.9403
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.
- package/.turbo/turbo-build.log +16 -16
- package/dist/1936.js +1 -0
- package/dist/1936.js.map +1 -0
- package/dist/2606.js +2 -0
- package/dist/2606.js.map +1 -0
- package/dist/4300.js +1 -1
- package/dist/5670.js +1 -1
- package/dist/7545.js +2 -0
- package/dist/7545.js.map +1 -0
- package/dist/8803.js +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-generic-patient-widgets-app.js +1 -1
- package/dist/openmrs-esm-generic-patient-widgets-app.js.buildmanifest.json +91 -91
- package/dist/openmrs-esm-generic-patient-widgets-app.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +2 -2
- package/src/config-schema-obs-horizontal.ts +12 -0
- package/src/obs-graph/obs-graph.component.tsx +12 -12
- package/src/obs-switchable/obs-switchable.component.tsx +5 -9
- package/src/obs-switchable/obs-switchable.test.tsx +22 -12
- package/src/obs-table/obs-table.component.tsx +2 -1
- package/src/obs-table-horizontal/obs-table-horizontal.component.tsx +466 -56
- package/src/obs-table-horizontal/obs-table-horizontal.resource.ts +67 -0
- package/src/obs-table-horizontal/obs-table-horizontal.scss +47 -0
- package/src/obs-table-horizontal/obs-table-horizontal.test.tsx +912 -0
- package/src/resources/useConcepts.ts +14 -4
- package/src/resources/useEncounterTypes.ts +34 -0
- package/src/resources/useObs.ts +29 -47
- package/translations/en.json +6 -1
- package/dist/251.js +0 -2
- package/dist/251.js.map +0 -1
- package/dist/8743.js +0 -2
- package/dist/8743.js.map +0 -1
- package/dist/9351.js +0 -1
- package/dist/9351.js.map +0 -1
- /package/dist/{251.js.LICENSE.txt → 2606.js.LICENSE.txt} +0 -0
- /package/dist/{8743.js.LICENSE.txt → 7545.js.LICENSE.txt} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use '@carbon/colors';
|
|
2
2
|
@use '@carbon/layout';
|
|
3
|
+
@use '@carbon/type';
|
|
3
4
|
@use '@openmrs/esm-styleguide/src/vars' as *;
|
|
4
5
|
|
|
5
6
|
.widgetContainer {
|
|
@@ -31,3 +32,49 @@
|
|
|
31
32
|
.headerTime {
|
|
32
33
|
font-weight: 400;
|
|
33
34
|
}
|
|
35
|
+
|
|
36
|
+
.editabilityNote {
|
|
37
|
+
@include type.type-style('body-compact-01');
|
|
38
|
+
color: $text-02;
|
|
39
|
+
margin-right: layout.$spacing-05;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.cellContent {
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: space-between;
|
|
46
|
+
gap: layout.$spacing-03;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.cellValue {
|
|
50
|
+
flex: 1;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.editButton {
|
|
54
|
+
opacity: 0;
|
|
55
|
+
transition: opacity 0.2s ease-in-out;
|
|
56
|
+
flex-shrink: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.editableCell {
|
|
60
|
+
&:hover {
|
|
61
|
+
text-decoration: underline;
|
|
62
|
+
.editButton {
|
|
63
|
+
opacity: 1;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.editContainer {
|
|
69
|
+
display: flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
gap: layout.$spacing-02;
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.editButtons {
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
gap: layout.$spacing-02;
|
|
79
|
+
flex-shrink: 0;
|
|
80
|
+
}
|