@openmrs/esm-generic-patient-widgets-app 11.3.1-patch.9310 → 11.3.1-patch.9508

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 (124) hide show
  1. package/.turbo/turbo-build.log +21 -24
  2. package/dist/1119.js +1 -1
  3. package/dist/1197.js +1 -1
  4. package/dist/1936.js +1 -0
  5. package/dist/1936.js.map +1 -0
  6. package/dist/2146.js +1 -1
  7. package/dist/2606.js +2 -0
  8. package/dist/2606.js.map +1 -0
  9. package/dist/2690.js +1 -1
  10. package/dist/3099.js +1 -1
  11. package/dist/3584.js +1 -1
  12. package/dist/4055.js +1 -1
  13. package/dist/4132.js +1 -1
  14. package/dist/4300.js +1 -1
  15. package/dist/4335.js +1 -1
  16. package/dist/439.js +1 -0
  17. package/dist/4618.js +1 -1
  18. package/dist/4652.js +1 -1
  19. package/dist/4944.js +1 -1
  20. package/dist/5173.js +1 -1
  21. package/dist/5241.js +1 -1
  22. package/dist/5442.js +1 -1
  23. package/dist/5661.js +1 -1
  24. package/dist/5670.js +1 -1
  25. package/dist/6022.js +1 -1
  26. package/dist/6468.js +1 -1
  27. package/dist/6589.js +1 -0
  28. package/dist/6679.js +1 -1
  29. package/dist/6840.js +1 -1
  30. package/dist/6859.js +1 -1
  31. package/dist/7097.js +1 -1
  32. package/dist/7159.js +1 -1
  33. package/dist/723.js +1 -1
  34. package/dist/7545.js +2 -0
  35. package/dist/7545.js.map +1 -0
  36. package/dist/7617.js +1 -1
  37. package/dist/795.js +1 -1
  38. package/dist/8163.js +1 -1
  39. package/dist/8349.js +1 -1
  40. package/dist/8371.js +1 -0
  41. package/dist/8618.js +1 -1
  42. package/dist/8803.js +1 -0
  43. package/dist/8803.js.map +1 -0
  44. package/dist/890.js +1 -1
  45. package/dist/9214.js +1 -1
  46. package/dist/9538.js +1 -1
  47. package/dist/9569.js +1 -1
  48. package/dist/986.js +1 -1
  49. package/dist/9879.js +1 -1
  50. package/dist/9895.js +1 -1
  51. package/dist/9900.js +1 -1
  52. package/dist/9913.js +1 -1
  53. package/dist/main.js +1 -1
  54. package/dist/main.js.map +1 -1
  55. package/dist/openmrs-esm-generic-patient-widgets-app.js +1 -1
  56. package/dist/openmrs-esm-generic-patient-widgets-app.js.buildmanifest.json +244 -178
  57. package/dist/openmrs-esm-generic-patient-widgets-app.js.map +1 -1
  58. package/dist/routes.json +1 -1
  59. package/package.json +3 -3
  60. package/src/config-schema-obs-horizontal.ts +12 -0
  61. package/src/config-schema-obs-switchable.ts +7 -1
  62. package/src/obs-graph/obs-graph.component.tsx +9 -9
  63. package/src/obs-switchable/obs-switchable.component.tsx +5 -9
  64. package/src/obs-switchable/obs-switchable.test.tsx +110 -23
  65. package/src/obs-table/obs-table.component.tsx +99 -17
  66. package/src/obs-table-horizontal/obs-table-horizontal.component.tsx +466 -56
  67. package/src/obs-table-horizontal/obs-table-horizontal.resource.ts +67 -0
  68. package/src/obs-table-horizontal/obs-table-horizontal.scss +47 -0
  69. package/src/obs-table-horizontal/obs-table-horizontal.test.tsx +923 -0
  70. package/src/resources/useConcepts.ts +14 -4
  71. package/src/resources/useEncounterTypes.ts +34 -0
  72. package/src/resources/useObs.ts +29 -47
  73. package/translations/am.json +6 -1
  74. package/translations/ar.json +6 -1
  75. package/translations/ar_SY.json +6 -1
  76. package/translations/bn.json +6 -1
  77. package/translations/cs.json +10 -0
  78. package/translations/de.json +6 -1
  79. package/translations/en.json +6 -1
  80. package/translations/en_US.json +6 -1
  81. package/translations/es.json +6 -1
  82. package/translations/es_MX.json +6 -1
  83. package/translations/fr.json +6 -1
  84. package/translations/he.json +6 -1
  85. package/translations/hi.json +6 -1
  86. package/translations/hi_IN.json +6 -1
  87. package/translations/id.json +6 -1
  88. package/translations/it.json +6 -1
  89. package/translations/ka.json +6 -1
  90. package/translations/km.json +6 -1
  91. package/translations/ku.json +6 -1
  92. package/translations/ky.json +6 -1
  93. package/translations/lg.json +6 -1
  94. package/translations/ne.json +6 -1
  95. package/translations/pl.json +6 -1
  96. package/translations/pt.json +6 -1
  97. package/translations/pt_BR.json +6 -1
  98. package/translations/qu.json +6 -1
  99. package/translations/ro_RO.json +6 -1
  100. package/translations/ru_RU.json +6 -1
  101. package/translations/si.json +6 -1
  102. package/translations/sq.json +10 -0
  103. package/translations/sw.json +6 -1
  104. package/translations/sw_KE.json +6 -1
  105. package/translations/tr.json +6 -1
  106. package/translations/tr_TR.json +6 -1
  107. package/translations/uk.json +6 -1
  108. package/translations/uz.json +6 -1
  109. package/translations/uz@Latn.json +6 -1
  110. package/translations/uz_UZ.json +6 -1
  111. package/translations/vi.json +6 -1
  112. package/translations/zh.json +6 -1
  113. package/translations/zh_CN.json +6 -1
  114. package/translations/zh_TW.json +10 -0
  115. package/dist/2499.js +0 -2
  116. package/dist/2499.js.map +0 -1
  117. package/dist/251.js +0 -2
  118. package/dist/251.js.map +0 -1
  119. package/dist/4341.js +0 -1
  120. package/dist/4341.js.map +0 -1
  121. package/dist/9351.js +0 -1
  122. package/dist/9351.js.map +0 -1
  123. /package/dist/{251.js.LICENSE.txt → 2606.js.LICENSE.txt} +0 -0
  124. /package/dist/{2499.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
+ }