@openmrs/esm-patient-common-lib 8.1.1-pre.5078 → 8.1.1-pre.5083

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": "8.1.1-pre.5078",
3
+ "version": "8.1.1-pre.5083",
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",
@@ -16,7 +16,7 @@ export const EmptyState: React.FC<EmptyStateProps> = (props) => {
16
16
  const isTablet = useLayoutType() === 'tablet';
17
17
 
18
18
  return (
19
- <Layer>
19
+ <Layer className={styles.layer}>
20
20
  <Tile className={styles.tile}>
21
21
  <div className={isTablet ? styles.tabletHeading : styles.desktopHeading}>
22
22
  <h4>{props.headerTitle}</h4>
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { render, screen } from '@testing-library/react';
3
3
  import { ErrorState } from '.';
4
4
 
5
- describe('ErrorState: ', () => {
5
+ describe('ErrorState', () => {
6
6
  it('renders an error state widget card', () => {
7
7
  const testError = {
8
8
  response: {
@@ -14,6 +14,7 @@
14
14
  background-color: $ui-02;
15
15
  padding-left: 1rem;
16
16
  align-items: center;
17
+ border-top: 1px solid $ui-03;
17
18
  }
18
19
 
19
20
  .desktop :global(.cds--pagination) {
@@ -2,10 +2,6 @@ import { type OpenmrsResource } from '@openmrs/esm-framework';
2
2
 
3
3
  export * from './test-results';
4
4
 
5
- export interface DashbardConfig {
6
- columns: number;
7
- }
8
-
9
5
  export interface DashboardLinkConfig {
10
6
  path: string;
11
7
  title: string;
@@ -14,7 +10,6 @@ export interface DashboardLinkConfig {
14
10
 
15
11
  export interface DashboardConfig extends DashboardLinkConfig {
16
12
  slot: string;
17
- config: DashbardConfig;
18
13
  }
19
14
 
20
15
  export interface PatientProgram {