@cc-openmrs/cc-esm-active-prescriptions 1.0.64 → 1.0.65

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 (56) hide show
  1. package/dist/177.js +2 -0
  2. package/dist/184.js +1 -2
  3. package/dist/197.js +1 -1
  4. package/dist/225.js +1 -0
  5. package/dist/237.js +2 -0
  6. package/dist/237.js.LICENSE.txt +9 -0
  7. package/dist/300.js +1 -1
  8. package/dist/31.js +2 -0
  9. package/dist/31.js.LICENSE.txt +9 -0
  10. package/dist/311.js +2 -1
  11. package/dist/{184.js.LICENSE.txt → 311.js.LICENSE.txt} +37 -0
  12. package/dist/319.js +1 -1
  13. package/dist/335.js +1 -1
  14. package/dist/41.js +1 -0
  15. package/dist/422.js +1 -0
  16. package/dist/437.js +1 -1
  17. package/dist/533.js +1 -0
  18. package/dist/537.js +1 -1
  19. package/dist/540.js +1 -1
  20. package/dist/55.js +1 -1
  21. package/dist/606.js +1 -0
  22. package/dist/618.js +2 -0
  23. package/dist/618.js.LICENSE.txt +9 -0
  24. package/dist/635.js +1 -0
  25. package/dist/647.js +2 -0
  26. package/dist/647.js.LICENSE.txt +9 -0
  27. package/dist/652.js +1 -1
  28. package/dist/679.js +1 -1
  29. package/dist/692.js +2 -0
  30. package/dist/692.js.LICENSE.txt +9 -0
  31. package/dist/761.js +2 -0
  32. package/dist/761.js.LICENSE.txt +29 -0
  33. package/dist/875.js +2 -0
  34. package/dist/875.js.LICENSE.txt +5 -0
  35. package/dist/961.js +1 -1
  36. package/dist/966.js +1 -1
  37. package/dist/99.js +1 -1
  38. package/dist/main.js +1 -1
  39. package/dist/main.js.LICENSE.txt +0 -51
  40. package/dist/openmrs-esm-template-app.js +1 -1
  41. package/dist/openmrs-esm-template-app.js.buildmanifest.json +351 -90
  42. package/dist/routes.json +1 -1
  43. package/package.json +11 -23
  44. package/src/carbon-react.d.ts +9 -0
  45. package/src/prescriptions-actions/prescriptions-action-button.component.tsx +6 -4
  46. package/dist/282.js +0 -2
  47. package/dist/282.js.LICENSE.txt +0 -32
  48. package/dist/353.js +0 -1
  49. package/dist/382.js +0 -1
  50. package/dist/478.js +0 -2
  51. package/dist/499.js +0 -1
  52. package/dist/774.js +0 -2
  53. package/dist/774.js.LICENSE.txt +0 -30
  54. package/src/prescriptions-actions/prescriptions-action-menu-item.component.tsx +0 -29
  55. package/src/prescriptions-actions/prescriptions-action-menu-item.scss +0 -12
  56. /package/dist/{478.js.LICENSE.txt → 177.js.LICENSE.txt} +0 -0
@@ -1,30 +0,0 @@
1
- /*!
2
- Copyright (c) 2018 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */
6
-
7
- /*!
8
- * tabbable 6.4.0
9
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
10
- */
11
-
12
- /**
13
- * @license React
14
- * react-is.production.min.js
15
- *
16
- * Copyright (c) Facebook, Inc. and its affiliates.
17
- *
18
- * This source code is licensed under the MIT license found in the
19
- * LICENSE file in the root directory of this source tree.
20
- */
21
-
22
- /**
23
- * @license React
24
- * react-jsx-runtime.production.min.js
25
- *
26
- * Copyright (c) Facebook, Inc. and its affiliates.
27
- *
28
- * This source code is licensed under the MIT license found in the
29
- * LICENSE file in the root directory of this source tree.
30
- */
@@ -1,29 +0,0 @@
1
- import React, { useCallback } from 'react';
2
- import { OverflowMenuItem } from '@carbon/react';
3
- import { CertificateCheck } from '@carbon/react/icons';
4
- import { launchWorkspace } from '@openmrs/esm-framework';
5
- import { useTranslation } from 'react-i18next';
6
- import styles from './prescriptions-action-menu-item.scss';
7
-
8
- const PrescriptionsActionMenuItem: React.FC = () => {
9
- const { t } = useTranslation();
10
-
11
- const handleClick = useCallback(() => {
12
- launchWorkspace('active-prescriptions-workspace');
13
- }, []);
14
-
15
- const label = t('prescriptionsActionMenuItem', 'Active prescriptions');
16
-
17
- return (
18
- <OverflowMenuItem
19
- itemText={
20
- <span className={styles.iconOnly} aria-label={label} title={label}>
21
- <CertificateCheck size={16} aria-hidden="true" />
22
- </span>
23
- }
24
- onClick={handleClick}
25
- />
26
- );
27
- };
28
-
29
- // export default PrescriptionsActionMenuItem;
@@ -1,12 +0,0 @@
1
- .iconOnly {
2
- display: inline-flex;
3
- align-items: center;
4
- justify-content: center;
5
- width: 1.5rem;
6
- height: 1.5rem;
7
- line-height: 0;
8
- }
9
-
10
- .iconOnly :global(svg) {
11
- display: block;
12
- }
File without changes