@openmrs/esm-stock-management-app 3.0.1-pre.883 → 3.0.1-pre.889

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 (60) hide show
  1. package/dist/10.js +1 -1
  2. package/dist/119.js +1 -1
  3. package/dist/152.js +1 -1
  4. package/dist/172.js +1 -1
  5. package/dist/20.js +1 -1
  6. package/dist/235.js +1 -1
  7. package/dist/27.js +1 -1
  8. package/dist/27.js.map +1 -1
  9. package/dist/290.js +1 -1
  10. package/dist/291.js +1 -0
  11. package/dist/291.js.map +1 -0
  12. package/dist/299.js +1 -0
  13. package/dist/299.js.map +1 -0
  14. package/dist/33.js +1 -1
  15. package/dist/467.js +1 -1
  16. package/dist/574.js +1 -1
  17. package/dist/642.js +1 -1
  18. package/dist/675.js +1 -1
  19. package/dist/703.js +1 -1
  20. package/dist/734.js +2 -0
  21. package/dist/{842.js.map → 734.js.map} +1 -1
  22. package/dist/93.js +1 -1
  23. package/dist/main.js +1 -1
  24. package/dist/main.js.map +1 -1
  25. package/dist/openmrs-esm-stock-management-app.js +1 -1
  26. package/dist/openmrs-esm-stock-management-app.js.buildmanifest.json +99 -99
  27. package/dist/openmrs-esm-stock-management-app.js.map +1 -1
  28. package/dist/routes.json +1 -1
  29. package/package.json +1 -1
  30. package/src/dashboard/home-dashboard.component.tsx +7 -11
  31. package/src/index.ts +2 -2
  32. package/src/routes.json +2 -2
  33. package/src/stock-items/add-stock-item/stock-item-details/stock-item-details.component.tsx +1 -1
  34. package/src/stock-operations/stock-operation-actions.component.tsx +8 -8
  35. package/src/stock-operations/stock-operation.utils.tsx +3 -3
  36. package/src/stock-operations/stock-operations-forms/step2.test.tsx +0 -4
  37. package/src/stock-operations/stock-operations-forms/step3.test.tsx +0 -4
  38. package/src/stock-operations/stock-operations-forms/steps/stock-operation-submission-form-step.component.tsx +5 -5
  39. package/src/stock-operations/{stock-operations-dialog → stock-operations-modal}/stock-operations-approve-button.component.tsx +1 -1
  40. package/src/stock-operations/{stock-operations-dialog → stock-operations-modal}/stock-operations-approve-dispatch-button.component.tsx +1 -1
  41. package/src/stock-operations/{stock-operations-dialog → stock-operations-modal}/stock-operations-cancel-button.component.tsx +1 -1
  42. package/src/stock-operations/{stock-operations-dialog → stock-operations-modal}/stock-operations-complete-button.component.tsx +1 -1
  43. package/src/stock-operations/{stock-operations-dialog → stock-operations-modal}/stock-operations-completed-dispatch-button.component.tsx +1 -1
  44. package/src/stock-operations/{stock-operations-dialog → stock-operations-modal}/stock-operations-reject-button.component.tsx +1 -1
  45. package/src/stock-operations/{stock-operations-dialog → stock-operations-modal}/stock-operations-return-button.component.tsx +1 -1
  46. package/src/stock-operations/{stock-operations-dialog/stock-operations-dialog.component.tsx → stock-operations-modal/stock-operations.modal.tsx} +6 -12
  47. package/src/stock-sources/add-stock-sources/add-stock-sources.test.tsx +2 -2
  48. package/translations/en.json +0 -1
  49. package/dist/606.js +0 -1
  50. package/dist/606.js.map +0 -1
  51. package/dist/842.js +0 -2
  52. package/dist/991.js +0 -1
  53. package/dist/991.js.map +0 -1
  54. package/src/core/components/overlay/hook.ts +0 -47
  55. package/src/core/components/overlay/overlay.component.tsx +0 -43
  56. package/src/core/components/overlay/overlay.scss +0 -98
  57. /package/dist/{842.js.LICENSE.txt → 734.js.LICENSE.txt} +0 -0
  58. /package/src/stock-operations/{stock-operations-dialog → stock-operations-modal}/stock-operations-issue-stock-button.component.tsx +0 -0
  59. /package/src/stock-operations/{stock-operations-dialog → stock-operations-modal}/stock-operations-print-button.component.tsx +0 -0
  60. /package/src/stock-operations/{stock-operations-dialog/stock-operations-dialog.scss → stock-operations-modal/stock-operations.scss} +0 -0
@@ -1,98 +0,0 @@
1
- @use '@carbon/layout';
2
- @use '@carbon/type';
3
- @use '@openmrs/esm-styleguide/src/vars' as *;
4
-
5
- .desktopOverlay {
6
- position: fixed;
7
- top: layout.$spacing-09;
8
- width: 100%;
9
- right: 0;
10
- bottom: 0;
11
- z-index: 9;
12
- border-left: 1px solid $text-03;
13
- background-color: white;
14
- overflow-y: auto;
15
- height: calc(100vh - 3rem);
16
- }
17
-
18
- .desktopOverlay::after {
19
- height: 100%;
20
- border-left: 1px solid $text-03;
21
- }
22
-
23
- .tabletOverlay {
24
- position: fixed;
25
- top: 0;
26
- bottom: 0;
27
- left: 0;
28
- right: 0;
29
- z-index: 9999;
30
- background-color: $ui-01;
31
- overflow-y: scroll;
32
- -ms-overflow-style: none;
33
- scrollbar-width: none;
34
-
35
- &::-webkit-scrollbar {
36
- width: 0;
37
- }
38
-
39
- & > div {
40
- margin-top: layout.$spacing-09;
41
- }
42
- }
43
-
44
- .tabletOverlayHeader {
45
- button {
46
- @include brand-01(background-color);
47
- }
48
-
49
- .headerContent {
50
- color: $ui-02;
51
- }
52
- }
53
-
54
- .desktopHeader {
55
- display: flex;
56
- justify-content: space-between;
57
- align-items: center;
58
- background-color: $ui-03;
59
- border-bottom: 1px solid $text-03;
60
- position: sticky;
61
- position: -webkit-sticky;
62
- width: 100%;
63
- z-index: 1000;
64
- top: 0;
65
- }
66
-
67
- .headerContent {
68
- @include type.type-style('heading-compact-02');
69
- padding: 0 layout.$spacing-05;
70
- color: $ui-05;
71
- }
72
-
73
- .closeButton {
74
- background-color: $ui-background;
75
- color: $ui-05;
76
- fill: $ui-05;
77
- }
78
-
79
- /* Desktop */
80
- :global(.omrs-breakpoint-gt-tablet) {
81
- .overlayContent {
82
- padding: 0 0 0 0;
83
- overflow-y: auto;
84
- }
85
- }
86
-
87
- /* Tablet */
88
- :global(.omrs-breakpoint-lt-desktop) {
89
- .overlayContent {
90
- padding: 0 0 0 0;
91
- overflow-y: auto;
92
- }
93
- }
94
-
95
- /* Combo */
96
- :global(.cds--list-box__menu) {
97
- z-index: 20000;
98
- }
File without changes