@openmrs/esm-implementer-tools-app 3.3.2-pre.9 → 4.0.0-pre.0

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 (106) hide show
  1. package/.turbo/turbo-build.log +37 -38
  2. package/.turbo/turbo-lint.log +16 -0
  3. package/.turbo/turbo-test.log +9 -0
  4. package/.turbo/turbo-typescript.log +2 -0
  5. package/dist/16.js +2 -0
  6. package/dist/16.js.map +1 -0
  7. package/dist/280.js +1 -1
  8. package/dist/280.js.map +1 -1
  9. package/dist/284.js +1 -1
  10. package/dist/284.js.map +1 -1
  11. package/dist/319.js +0 -0
  12. package/dist/360.js +3 -0
  13. package/dist/360.js.LICENSE.txt +14 -0
  14. package/dist/360.js.map +1 -0
  15. package/dist/431.js +2 -0
  16. package/dist/431.js.map +1 -0
  17. package/dist/458.js +0 -0
  18. package/dist/458.js.map +0 -0
  19. package/dist/531.js +1 -1
  20. package/dist/531.js.map +1 -1
  21. package/dist/574.js +0 -0
  22. package/dist/620.js +1 -1
  23. package/dist/620.js.map +0 -0
  24. package/dist/735.js +1 -1
  25. package/dist/735.js.LICENSE.txt +2 -7
  26. package/dist/735.js.map +1 -1
  27. package/dist/739.js +2 -0
  28. package/dist/739.js.map +1 -0
  29. package/dist/743.js +1 -1
  30. package/dist/743.js.map +1 -1
  31. package/dist/788.js +1 -1
  32. package/dist/788.js.LICENSE.txt +6 -10
  33. package/dist/788.js.map +1 -1
  34. package/dist/811.js +1 -1
  35. package/dist/811.js.map +1 -1
  36. package/dist/889.js +1 -1
  37. package/dist/889.js.LICENSE.txt +0 -0
  38. package/dist/889.js.map +1 -1
  39. package/dist/99.js +3 -0
  40. package/dist/{769.js.LICENSE.txt → 99.js.LICENSE.txt} +0 -0
  41. package/dist/99.js.map +1 -0
  42. package/dist/main.js +2 -0
  43. package/dist/main.js.map +1 -0
  44. package/dist/openmrs-esm-implementer-tools-app.js +1 -1
  45. package/dist/openmrs-esm-implementer-tools-app.js.buildmanifest.json +149 -243
  46. package/dist/openmrs-esm-implementer-tools-app.js.map +1 -1
  47. package/dist/openmrs-esm-implementer-tools-app.old +1 -1
  48. package/jest.config.js +4 -2
  49. package/package.json +13 -17
  50. package/src/backend-dependencies/backend-dependencies.component.tsx +3 -2
  51. package/src/backend-dependencies/backend-dependencies.styles.scss +8 -0
  52. package/src/configuration/configuration.component.tsx +31 -32
  53. package/src/configuration/configuration.styles.scss +37 -3
  54. package/src/configuration/configuration.test.tsx +60 -37
  55. package/src/configuration/interactive-editor/config-tree.component.tsx +1 -1
  56. package/src/configuration/interactive-editor/config-tree.styles.scss +1 -1
  57. package/src/configuration/interactive-editor/description.styles.scss +11 -8
  58. package/src/configuration/interactive-editor/display-value.scss +2 -1
  59. package/src/configuration/interactive-editor/display-value.tsx +1 -1
  60. package/src/configuration/interactive-editor/editable-value.component.tsx +4 -5
  61. package/src/configuration/interactive-editor/editable-value.styles.scss +3 -2
  62. package/src/configuration/interactive-editor/layout/subtree.component.tsx +1 -1
  63. package/src/configuration/interactive-editor/layout/tree-container.component.tsx +1 -4
  64. package/src/configuration/interactive-editor/value-editor.scss +2 -1
  65. package/src/configuration/interactive-editor/value-editor.tsx +10 -7
  66. package/src/configuration/interactive-editor/value-editors/array-editor.styles.css +2 -2
  67. package/src/configuration/interactive-editor/value-editors/array-editor.tsx +5 -6
  68. package/src/configuration/interactive-editor/value-editors/concept-search.styles.scss +2 -1
  69. package/src/configuration/interactive-editor/value-editors/concept-search.tsx +1 -1
  70. package/src/configuration/interactive-editor/value-editors/extension-slot-add.tsx +1 -1
  71. package/src/configuration/interactive-editor/value-editors/extension-slot-remove.tsx +1 -1
  72. package/src/configuration/interactive-editor/value-editors/object-editor.styles.css +2 -2
  73. package/src/configuration/interactive-editor/value-editors/object-editor.tsx +1 -1
  74. package/src/configuration/interactive-editor/value-editors/patient-identifier-type-search.tsx +1 -1
  75. package/src/configuration/interactive-editor/value-editors/person-attribute-search.tsx +1 -1
  76. package/src/configuration/interactive-editor/value-editors/uuid-search.scss +7 -5
  77. package/src/configuration/interactive-editor/value-editors/value-editor-field.tsx +1 -1
  78. package/src/configuration/json-editor/json-editor.component.tsx +2 -2
  79. package/src/implementer-tools.button.tsx +3 -4
  80. package/src/implementer-tools.component.tsx +2 -2
  81. package/src/implementer-tools.styles.scss +5 -5
  82. package/src/{implementer-tools.component.test.tsx → implementer-tools.test.tsx} +0 -0
  83. package/src/popup/popup.component.tsx +5 -4
  84. package/src/popup/popup.styles.scss +1 -9
  85. package/src/ui-editor/ui-editor.tsx +3 -3
  86. package/yarn-error.log +18781 -0
  87. package/dist/1.js +0 -2
  88. package/dist/1.js.map +0 -1
  89. package/dist/105.js +0 -2
  90. package/dist/105.js.map +0 -1
  91. package/dist/25.js +0 -3
  92. package/dist/25.js.LICENSE.txt +0 -16
  93. package/dist/25.js.map +0 -1
  94. package/dist/475.js +0 -2
  95. package/dist/475.js.map +0 -1
  96. package/dist/652.js +0 -2
  97. package/dist/652.js.map +0 -1
  98. package/dist/769.js +0 -3
  99. package/dist/769.js.map +0 -1
  100. package/dist/839.js +0 -2
  101. package/dist/839.js.map +0 -1
  102. package/dist/860.js +0 -2
  103. package/dist/860.js.map +0 -1
  104. package/dist/890.js +0 -3
  105. package/dist/890.js.LICENSE.txt +0 -38
  106. package/dist/890.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  import React, { useState } from "react";
2
- import Close16 from "@carbon/icons-react/es/close/16";
3
- import styles from "./popup.styles.scss";
4
- import { Button, ContentSwitcher, Switch } from "carbon-components-react";
2
+ import { Button, ContentSwitcher, Switch } from "@carbon/react";
3
+ import { Close } from "@carbon/react/icons";
5
4
  import { useTranslation } from "react-i18next";
6
5
  import { Configuration } from "../configuration/configuration.component";
7
6
  import { ModuleDiagnostics } from "../backend-dependencies/backend-dependencies.component";
8
7
  import { FrontendModule } from "../backend-dependencies/openmrs-backend-dependencies";
8
+ import styles from "./popup.styles.scss";
9
9
 
10
10
  interface DevToolsPopupProps {
11
11
  close(): void;
@@ -39,10 +39,11 @@ export default function Popup({ close, frontendModules }: DevToolsPopupProps) {
39
39
  <div>
40
40
  <Button
41
41
  kind="secondary"
42
- renderIcon={Close16}
42
+ renderIcon={(props) => <Close size={16} {...props} />}
43
43
  iconDescription="Close"
44
44
  onClick={close}
45
45
  hasIconOnly
46
+ size="sm"
46
47
  />
47
48
  </div>
48
49
  </div>
@@ -29,15 +29,7 @@
29
29
  display: flex;
30
30
  justify-content: space-between;
31
31
  align-items: center;
32
- border-bottom: 1px solid #a0a0a0;
33
32
  z-index: 2;
34
33
  background: #e0e0e0;
35
- }
36
-
37
- .topBar :global(.bx--content-switcher-btn:first-child),
38
- .topBar :global(.bx--content-switcher-btn:last-child) {
39
- border-top-left-radius: 0;
40
- border-bottom-left-radius: 0;
41
- border-top-right-radius: 0;
42
- border-bottom-right-radius: 0;
34
+ padding: 0.25rem;
43
35
  }
@@ -1,12 +1,12 @@
1
1
  import React from "react";
2
2
  import styles from "./styles.css";
3
- import Close16 from "@carbon/icons-react/es/close/16";
4
3
  import {
5
4
  getExtensionInternalStore,
6
5
  useStore,
7
6
  useStoreWithActions,
8
7
  } from "@openmrs/esm-framework/src/internal";
9
- import { Button } from "carbon-components-react";
8
+ import { Button } from "@carbon/react";
9
+ import { Close } from "@carbon/react/icons";
10
10
  import { Portal } from "./portal";
11
11
  import { ExtensionOverlay } from "./extension-overlay.component";
12
12
  import { ImplementerToolsStore, implementerToolsStore } from "../store";
@@ -79,7 +79,7 @@ export function ExitButton() {
79
79
  className={styles.exitButton}
80
80
  kind="danger"
81
81
  size="sm"
82
- renderIcon={Close16}
82
+ renderIcon={(props) => <Close {...props} size={16} />}
83
83
  iconDescription="Exit UI Editor"
84
84
  tooltipPosition="left"
85
85
  onClick={toggleIsUIEditorEnabled}