@openmrs/esm-implementer-tools-app 6.2.1-pre.2830 → 6.2.1-pre.2836

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 (78) hide show
  1. package/.turbo/turbo-build.log +23 -18
  2. package/dist/154.js +1 -0
  3. package/dist/154.js.map +1 -0
  4. package/dist/3046.js +2 -0
  5. package/dist/{667.js.LICENSE.txt → 3046.js.LICENSE.txt} +6 -0
  6. package/dist/3046.js.map +1 -0
  7. package/dist/4426.js +1 -1
  8. package/dist/4426.js.map +1 -1
  9. package/dist/4889.js +1 -1
  10. package/dist/4889.js.map +1 -1
  11. package/dist/5277.js +1 -1
  12. package/dist/5277.js.map +1 -1
  13. package/dist/7010.js +2 -0
  14. package/dist/{3336.js.LICENSE.txt → 7010.js.LICENSE.txt} +11 -0
  15. package/dist/7010.js.map +1 -0
  16. package/dist/744.js +1 -1
  17. package/dist/7581.js +2 -0
  18. package/dist/{1873.js.LICENSE.txt → 7581.js.LICENSE.txt} +10 -0
  19. package/dist/7581.js.map +1 -0
  20. package/dist/8289.js +1 -1
  21. package/dist/8289.js.map +1 -1
  22. package/dist/8319.js +1 -1
  23. package/dist/8657.js +1 -1
  24. package/dist/8657.js.map +1 -1
  25. package/dist/9788.js +1 -0
  26. package/dist/9788.js.map +1 -0
  27. package/dist/9818.js +1 -0
  28. package/dist/9818.js.map +1 -0
  29. package/dist/main.js +1 -1
  30. package/dist/main.js.map +1 -1
  31. package/dist/openmrs-esm-implementer-tools-app.js +1 -1
  32. package/dist/openmrs-esm-implementer-tools-app.js.buildmanifest.json +131 -209
  33. package/dist/openmrs-esm-implementer-tools-app.js.map +1 -1
  34. package/dist/routes.json +1 -1
  35. package/package.json +4 -4
  36. package/src/backend-dependencies/backend-dependencies.styles.scss +1 -1
  37. package/src/configuration/configuration.styles.scss +11 -12
  38. package/src/configuration/interactive-editor/description.styles.scss +12 -9
  39. package/src/configuration/interactive-editor/display-value.scss +3 -3
  40. package/src/configuration/interactive-editor/editable-value.styles.scss +5 -4
  41. package/src/configuration/interactive-editor/layout/layout.styles.scss +5 -4
  42. package/src/configuration/interactive-editor/layout/tree-container.component.tsx +1 -2
  43. package/src/configuration/interactive-editor/value-editor.scss +3 -3
  44. package/src/configuration/interactive-editor/value-editors/array-editor.styles.scss +3 -2
  45. package/src/configuration/interactive-editor/value-editors/concept-search.styles.scss +8 -9
  46. package/src/configuration/interactive-editor/value-editors/object-editor.styles.scss +13 -0
  47. package/src/configuration/interactive-editor/value-editors/object-editor.tsx +1 -1
  48. package/src/configuration/interactive-editor/value-editors/patient-identifier-type-search.tsx +2 -2
  49. package/src/configuration/interactive-editor/value-editors/uuid-search.scss +14 -10
  50. package/src/configuration/json-editor/json-editor.scss +2 -1
  51. package/src/feature-flags/feature-flags.scss +1 -1
  52. package/src/frontend-modules/frontend-modules.component.tsx +1 -1
  53. package/src/frontend-modules/frontend-modules.scss +1 -1
  54. package/src/implementer-tools.component.tsx +2 -3
  55. package/src/implementer-tools.styles.scss +5 -19
  56. package/src/popup/popup.styles.scss +3 -1
  57. package/src/ui-editor/styles.scss +0 -7
  58. package/src/ui-editor/ui-editor.tsx +0 -1
  59. package/dist/1491.js +0 -1
  60. package/dist/1491.js.map +0 -1
  61. package/dist/1873.js +0 -2
  62. package/dist/1873.js.map +0 -1
  63. package/dist/3336.js +0 -2
  64. package/dist/3336.js.map +0 -1
  65. package/dist/3448.js +0 -1
  66. package/dist/3448.js.map +0 -1
  67. package/dist/5642.js +0 -1
  68. package/dist/5642.js.map +0 -1
  69. package/dist/667.js +0 -2
  70. package/dist/667.js.map +0 -1
  71. package/dist/7036.js +0 -1
  72. package/dist/7036.js.map +0 -1
  73. package/dist/845.js +0 -1
  74. package/dist/845.js.map +0 -1
  75. package/dist/9441.js +0 -2
  76. package/dist/9441.js.LICENSE.txt +0 -5
  77. package/dist/9441.js.map +0 -1
  78. package/src/configuration/interactive-editor/value-editors/object-editor.styles.css +0 -15
@@ -1,4 +1,4 @@
1
- @use '@carbon/styles/scss/type';
1
+ @use '@carbon/type';
2
2
 
3
3
  .container {
4
4
  height: 50vh;
@@ -1,8 +1,7 @@
1
- @use '@carbon/styles/scss/spacing';
2
- @use '@carbon/styles/scss/type';
3
- @use '@carbon/react/scss/theme';
4
- @import '~@openmrs/esm-styleguide/src/vars';
5
- @import '../implementer-tools.styles.scss';
1
+ @use '@carbon/layout';
2
+ @use '@carbon/styles/scss/theme';
3
+ @use '@carbon/styles/scss/themes';
4
+ @use '@openmrs/esm-styleguide/src/vars' as *;
6
5
 
7
6
  .tools {
8
7
  width: 100%;
@@ -15,7 +14,7 @@
15
14
  }
16
15
 
17
16
  .toolbar {
18
- padding: spacing.$spacing-05 spacing.$spacing-05 0;
17
+ padding: layout.$spacing-05 layout.$spacing-05 0;
19
18
  display: flex;
20
19
  justify-content: space-around;
21
20
  align-items: center;
@@ -24,14 +23,14 @@
24
23
  .row {
25
24
  display: flex;
26
25
  flex-flow: row wrap;
27
- margin: 0 -1rem;
26
+ margin: 0 (-(layout.$spacing-05));
28
27
 
29
28
  :global(.cds--col) {
30
29
  max-width: 100%;
31
30
  flex-basis: 0;
32
31
  flex-grow: 1;
33
32
  width: 100%;
34
- padding: 0 1rem;
33
+ padding: 0 layout.$spacing-05;
35
34
  }
36
35
  }
37
36
 
@@ -77,21 +76,21 @@
77
76
  width: 35%;
78
77
  background-color: theme.$background;
79
78
  color: theme.$text-secondary;
80
- padding: spacing.$spacing-05 2em;
79
+ padding: layout.$spacing-05 layout.$spacing-07;
81
80
  font-size: 12pt;
82
81
  overflow-wrap: break-word;
83
82
  overflow-y: auto;
84
83
  }
85
84
 
86
85
  .configTreePane :global(.cds--text-input-wrapper) {
87
- min-width: 8em;
86
+ min-width: 8rem;
88
87
  }
89
88
 
90
89
  .toggleToolbarButton {
91
90
  width: 100%;
92
91
  display: flex;
93
92
  justify-content: flex-end;
94
- padding: 0.25rem;
93
+ padding: layout.$spacing-02;
95
94
  }
96
95
 
97
96
  .toggleButtons {
@@ -106,6 +105,6 @@
106
105
  justify-content: flex-end;
107
106
 
108
107
  > button {
109
- margin: 0 1rem;
108
+ margin: 0 layout.$spacing-05;
110
109
  }
111
110
  }
@@ -1,26 +1,29 @@
1
- @use '@carbon/styles/scss/spacing';
2
- @use '@carbon/styles/scss/type';
3
- @import '~@openmrs/esm-styleguide/src/vars';
4
- @import '../../implementer-tools.styles.scss';
1
+ @use '@carbon/layout';
2
+ @use '@carbon/type';
3
+ @use '@openmrs/esm-styleguide/src/vars' as *;
4
+
5
+ .productiveHeading01 {
6
+ @include type.type-style('heading-compact-01');
7
+ }
5
8
 
6
9
  .path {
7
10
  @include type.type-style('heading-02');
8
- margin-bottom: spacing.$spacing-03;
11
+ margin-bottom: layout.$spacing-03;
9
12
  }
10
13
 
11
14
  .description {
12
15
  @include type.type-style('body-compact-01');
13
- margin-bottom: spacing.$spacing-05;
16
+ margin-bottom: layout.$spacing-05;
14
17
  }
15
18
 
16
19
  .source {
17
20
  @include type.type-style('body-compact-01');
18
21
  font-style: italic;
19
- margin-bottom: spacing.$spacing-03;
22
+ margin-bottom: layout.$spacing-03;
20
23
  }
21
24
 
22
25
  .value {
23
26
  font-family: monospace;
24
- margin-top: spacing.$spacing-03;
25
- margin-left: spacing.$spacing-03;
27
+ margin-top: layout.$spacing-03;
28
+ margin-left: layout.$spacing-03;
26
29
  }
@@ -1,6 +1,6 @@
1
- @use '@carbon/styles/scss/spacing';
2
- @import '../../implementer-tools.styles.scss';
1
+ @use '@carbon/layout';
2
+ @use '@openmrs/esm-styleguide/src/vars' as *;
3
3
 
4
4
  .smallListCell {
5
- padding: spacing.$spacing-03;
5
+ padding: layout.$spacing-03;
6
6
  }
@@ -1,5 +1,6 @@
1
- @use '@carbon/styles/scss/spacing';
2
- @import '../../implementer-tools.styles.scss';
1
+ @use '@carbon/layout';
2
+ @use '@carbon/type';
3
+ @use '@openmrs/esm-styleguide/src/vars' as *;
3
4
 
4
5
  .secretButton {
5
6
  background: none;
@@ -10,7 +11,7 @@
10
11
  }
11
12
 
12
13
  .error {
13
- margin-left: 1em;
14
+ margin-left: layout.$spacing-05;
14
15
  color: orange;
15
16
  font-size: 11pt;
16
17
  }
@@ -25,5 +26,5 @@
25
26
  }
26
27
 
27
28
  .editValueButton {
28
- margin-left: spacing.$spacing-05;
29
+ margin-left: layout.$spacing-05;
29
30
  }
@@ -1,15 +1,16 @@
1
+ @use '@carbon/layout';
1
2
  @use '@carbon/react/scss/theme';
2
3
 
3
4
  .labelCell {
4
- width: 12em;
5
+ width: 12rem;
5
6
  }
6
7
 
7
8
  .label {
8
- scroll-margin-top: 6em;
9
+ scroll-margin-top: layout.$spacing-12;
9
10
  }
10
11
 
11
12
  .structuredList {
12
- margin-bottom: 1em;
13
+ margin-bottom: layout.$spacing-05;
13
14
  }
14
15
 
15
16
  .structuredListRow {
@@ -20,5 +21,5 @@
20
21
  }
21
22
 
22
23
  .subtreeCell {
23
- left: -6em;
24
+ left: -(layout.$spacing-12);
24
25
  }
@@ -1,5 +1,4 @@
1
- import type { ReactNode } from 'react';
2
- import React from 'react';
1
+ import React, { type ReactNode } from 'react';
3
2
  import { StructuredListBody, StructuredListWrapper } from '@carbon/react';
4
3
  import styles from './layout.styles.scss';
5
4
 
@@ -1,9 +1,9 @@
1
- @use '@carbon/styles/scss/spacing';
1
+ @use '@carbon/layout';
2
2
  @use '@carbon/styles/scss/components/button';
3
- @import '../../implementer-tools.styles.scss';
4
3
 
5
4
  .valueEditorButtons {
6
- margin-top: spacing.$spacing-03;
5
+ margin-top: layout.$spacing-03;
6
+
7
7
  :global(.cds--btn--primary) {
8
8
  background-color: button.$button-primary;
9
9
  &:hover {
@@ -1,11 +1,12 @@
1
+ @use '@carbon/layout';
1
2
  @use '@carbon/styles/scss/components/button';
2
3
 
3
4
  .arrayEditor {
4
5
  :global(.cds--structured-list) {
5
- margin-bottom: 0.25rem;
6
+ margin-bottom: layout.$spacing-02;
6
7
  }
7
8
  :global(.cds--structured-list-td) {
8
- padding: 0.25rem 3rem 0.25rem 1rem;
9
+ padding: layout.$spacing-02 layout.$spacing-09 layout.$spacing-02 layout.$spacing-05;
9
10
  }
10
11
  :global(.cds--btn--primary) {
11
12
  background-color: button.$button-primary;
@@ -1,12 +1,11 @@
1
- @use '@carbon/styles/scss/type';
2
- @use '@carbon/styles/scss/spacing';
3
- @import '../../implementer-tools.styles.scss';
1
+ @use '@carbon/layout';
2
+ @use '@carbon/type';
4
3
 
5
4
  .activeConceptUuid {
6
5
  @include type.type-style('body-compact-01');
7
6
  color: $ui-05;
8
- margin-bottom: spacing.$spacing-03;
9
- padding-bottom: spacing.$spacing-03;
7
+ margin-bottom: layout.$spacing-03;
8
+ padding-bottom: layout.$spacing-03;
10
9
  border-bottom: 1px solid $ui-03;
11
10
  }
12
11
 
@@ -14,7 +13,7 @@
14
13
  .autocomplete > [role='combobox'] {
15
14
  display: flex;
16
15
  position: relative;
17
- width: 20em;
16
+ width: 20rem;
18
17
  }
19
18
 
20
19
  .autocomplete [role='listbox'] {
@@ -27,10 +26,10 @@
27
26
  }
28
27
 
29
28
  .autocomplete li {
30
- line-height: 0.75rem;
31
- padding: 0.5em;
29
+ line-height: layout.$spacing-04;
30
+ padding: layout.$spacing-03;
32
31
  display: block;
33
- border-bottom: 0.125rem solid #718096;
32
+ border-bottom: layout.$spacing-01 solid #718096;
34
33
  outline: 0;
35
34
  margin: 0;
36
35
  color: #000;
@@ -0,0 +1,13 @@
1
+ @use '@carbon/layout';
2
+
3
+ .objectEditor :global(.cds--structured-list-td) {
4
+ padding: layout.$spacing-02 layout.$spacing-07 layout.$spacing-02 layout.$spacing-05;
5
+ }
6
+
7
+ .objectEditor :global(.cds--structured-list) {
8
+ margin-bottom: layout.$spacing-02;
9
+ }
10
+
11
+ .buttonCell {
12
+ text-align: right;
13
+ }
@@ -4,7 +4,7 @@ import { ValueEditorField } from './value-editor-field';
4
4
  import type { ConfigValueDescriptor } from '../editable-value.component';
5
5
  import { Type } from '@openmrs/esm-framework';
6
6
  import cloneDeep from 'lodash-es/cloneDeep';
7
- import styles from './object-editor.styles.css';
7
+ import styles from './object-editor.styles.scss';
8
8
 
9
9
  interface ObjectEditorProps {
10
10
  element: ConfigValueDescriptor;
@@ -1,10 +1,10 @@
1
1
  import React, { useState, useMemo } from 'react';
2
+ import { useTranslation } from 'react-i18next';
3
+ import { Search, StructuredListCell, StructuredListRow, StructuredListWrapper } from '@carbon/react';
2
4
  import uniqueId from 'lodash-es/uniqueId';
3
5
  import type { PatientIdentifierType } from './patient-identifier-type.resource';
4
6
  import { usePatientIdentifierTypes } from './patient-identifier-type.resource';
5
7
  import styles from './uuid-search.scss';
6
- import { useTranslation } from 'react-i18next';
7
- import { Search, StructuredListCell, StructuredListRow, StructuredListWrapper } from '@carbon/react';
8
8
 
9
9
  interface PatientIdentifierTypeSearchBoxProps {
10
10
  value: string;
@@ -1,36 +1,40 @@
1
- @use '@carbon/styles/scss/spacing';
2
- @use '@carbon/styles/scss/type';
3
- @import '../../../implementer-tools.styles.scss';
1
+ @use '@carbon/layout';
2
+ @use '@carbon/type';
3
+ @use '@openmrs/esm-styleguide/src/vars' as *;
4
+
5
+ .bodyShort01 {
6
+ @include type.type-style('body-compact-01');
7
+ }
4
8
 
5
9
  .activeUuid {
6
10
  @include type.type-style('body-compact-01');
7
11
  color: $ui-05;
8
- margin-bottom: spacing.$spacing-03;
9
- padding-bottom: spacing.$spacing-03;
12
+ margin-bottom: layout.$spacing-03;
13
+ padding-bottom: layout.$spacing-03;
10
14
  border-bottom: 1px solid $ui-03;
11
15
  }
12
16
 
13
17
  .autocomplete,
14
18
  .autocomplete > [role='combobox'] {
15
19
  position: relative;
16
- width: 20em;
20
+ width: 20rem;
17
21
  }
18
22
 
19
23
  .listbox {
20
- box-shadow: 0 0 spacing.$spacing-03;
24
+ box-shadow: 0 0 layout.$spacing-03;
21
25
  }
22
26
 
23
27
  .smallListCell {
24
- padding: spacing.$spacing-03;
28
+ padding: layout.$spacing-03;
25
29
  }
26
30
 
27
31
  .loader {
28
- margin: 1rem;
32
+ margin: layout.$spacing-05;
29
33
  }
30
34
 
31
35
  .emptyResults {
32
36
  @include type.type-style('body-compact-01');
33
37
  background-color: $ui-02;
34
38
  color: $text-02;
35
- min-height: 1rem;
39
+ min-height: layout.$spacing-05;
36
40
  }
@@ -1,4 +1,5 @@
1
1
  @use '@carbon/colors';
2
+ @use '@carbon/layout';
2
3
  @use '@carbon/react/scss/theme';
3
4
  @use '@carbon/styles/scss/components/button';
4
5
 
@@ -18,7 +19,7 @@
18
19
  display: flex;
19
20
  align-items: center;
20
21
  width: 100%;
21
- padding-left: 2em;
22
+ padding-left: layout.$spacing-07;
22
23
  }
23
24
 
24
25
  .errorBackground {
@@ -1,4 +1,4 @@
1
- @use '@carbon/styles/scss/type';
1
+ @use '@carbon/type';
2
2
 
3
3
  .container {
4
4
  height: 50vh;
@@ -10,8 +10,8 @@ import {
10
10
  TableHeader,
11
11
  TableRow,
12
12
  } from '@carbon/react';
13
- import styles from './frontend-modules.scss';
14
13
  import type { FrontendModule } from '../types';
14
+ import styles from './frontend-modules.scss';
15
15
 
16
16
  export interface FrontendModulesProps {
17
17
  frontendModules: Array<FrontendModule>;
@@ -1,4 +1,4 @@
1
- @use '@carbon/styles/scss/type';
1
+ @use '@carbon/type';
2
2
 
3
3
  .container {
4
4
  height: 50vh;
@@ -1,10 +1,9 @@
1
1
  import React, { useState, useEffect } from 'react';
2
+ import { useTranslation } from 'react-i18next';
2
3
  import { showToast, UserHasAccess, useStore } from '@openmrs/esm-framework';
3
4
  import { implementerToolsStore, showModuleDiagnostics, togglePopup } from './store';
4
-
5
- import { useBackendDependencies } from './backend-dependencies/useBackendDependencies';
6
5
  import { hasInvalidDependencies } from './backend-dependencies/openmrs-backend-dependencies';
7
- import { useTranslation } from 'react-i18next';
6
+ import { useBackendDependencies } from './backend-dependencies/useBackendDependencies';
8
7
  import { useFrontendModules } from './hooks';
9
8
  import styles from './implementer-tools.styles.scss';
10
9
 
@@ -1,35 +1,21 @@
1
- @use '@carbon/styles/scss/spacing';
2
- @use '@carbon/styles/scss/type';
1
+ @use '@carbon/layout';
3
2
  @use '@carbon/react/scss/themes';
4
3
  @use '@carbon/react/scss/theme';
5
- @import '~@openmrs/esm-styleguide/src/vars';
6
-
7
- .productiveHeading01 {
8
- @include type.type-style('heading-compact-01');
9
- }
10
-
11
- .productiveHeading02 {
12
- @include type.type-style('heading-compact-02');
13
- }
14
-
15
- .bodyShort01 {
16
- @include type.type-style('body-compact-01');
17
- }
4
+ @use '@openmrs/esm-styleguide/src/vars' as *;
18
5
 
19
6
  .toolStyles {
20
7
  background-color: transparent;
21
8
  }
22
9
 
23
- // Chevron button - implementer-tools component
24
10
  .chevronImplementerToolsButton {
25
11
  position: fixed;
26
12
  bottom: 0;
27
- left: calc(50vw - spacing.$spacing-05);
13
+ left: calc(50vw - layout.$spacing-05);
28
14
  z-index: 9999;
29
15
 
30
16
  div {
31
17
  background-color: $ui-02;
32
- width: spacing.$spacing-07;
18
+ width: layout.$spacing-07;
33
19
  display: flex;
34
20
  justify-content: center;
35
21
  cursor: pointer;
@@ -37,7 +23,7 @@
37
23
  }
38
24
 
39
25
  div:hover {
40
- padding: spacing.$spacing-03 0;
26
+ padding: layout.$spacing-03 0;
41
27
  }
42
28
  }
43
29
 
@@ -1,5 +1,7 @@
1
+ @use '@carbon/layout';
2
+ @use '@carbon/react/scss/themes';
1
3
  @use '@carbon/react/scss/theme';
2
- @import '../implementer-tools.styles.scss';
4
+ @use '@openmrs/esm-styleguide/src/vars' as *;
3
5
 
4
6
  .popup {
5
7
  position: fixed;
@@ -85,10 +85,3 @@
85
85
  right: layout.$spacing-05;
86
86
  z-index: 999999;
87
87
  }
88
-
89
- .popover {
90
- z-index: 7900;
91
- top: layout.$spacing-11;
92
- right: layout.$spacing-09;
93
- position: fixed;
94
- }
@@ -189,7 +189,6 @@ export function ExitButton({ t }: ExitButtonProps) {
189
189
  renderIcon={(props) => <CloseIcon {...props} size={16} />}
190
190
  size="sm"
191
191
  tooltipPosition="left"
192
- wrapperClasses={styles.popover}
193
192
  />
194
193
  );
195
194
  }