@openmrs/esm-patient-common-lib 9.1.1-pre.6708 → 9.1.1-pre.6726

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-patient-common-lib",
3
- "version": "9.1.1-pre.6708",
3
+ "version": "9.1.1-pre.6726",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Library for common patient chart components",
6
6
  "browser": "dist/openmrs-esm-patient-common-lib.js",
@@ -1,10 +1,9 @@
1
1
  import React, { useMemo } from 'react';
2
2
  import classNames from 'classnames';
3
- import last from 'lodash-es/last';
3
+ import { last } from 'lodash-es';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { useLocation } from 'react-router-dom';
6
6
  import { ConfigurableLink, MaybeIcon } from '@openmrs/esm-framework';
7
- import { setupIcons } from '@openmrs/esm-styleguide/src/icons/icon-registration';
8
7
  import styles from './dashboard-extension.scss';
9
8
 
10
9
  export interface DashboardExtensionProps {
@@ -24,6 +23,7 @@ export const DashboardExtension = ({
24
23
  }: DashboardExtensionProps) => {
25
24
  const { t } = useTranslation(moduleName);
26
25
  const location = useLocation();
26
+
27
27
  const navLink = useMemo(() => decodeURIComponent(last(location.pathname.split('/'))), [location.pathname]);
28
28
 
29
29
  return (
@@ -1,3 +1,4 @@
1
+ @use '@carbon/colors';
1
2
  @use '@carbon/layout';
2
3
 
3
4
  .menu {
@@ -6,5 +7,6 @@
6
7
  }
7
8
 
8
9
  .icon {
9
- margin-right: layout.$spacing-03;
10
+ margin-right: layout.$spacing-06;
11
+ fill: colors.$gray-70;
10
12
  }