@medplum/react 2.0.9 → 2.0.10

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.
@@ -5,4 +5,9 @@ export interface ResourceNameProps extends TextProps {
5
5
  value?: Reference | Resource;
6
6
  link?: boolean;
7
7
  }
8
+ /**
9
+ * Renders the name of a resource, given either the resource itself or a reference to the resource.
10
+ * @param props
11
+ * @returns
12
+ */
8
13
  export declare function ResourceName(props: ResourceNameProps): JSX.Element | null;
@@ -10,6 +10,9 @@ export interface ResourcePropertyDisplayProps {
10
10
  ignoreMissingValues?: boolean;
11
11
  link?: boolean;
12
12
  }
13
+ /**
14
+ * Low-level component that renders a property from a given resource, given type information
15
+ */
13
16
  export declare function ResourcePropertyDisplay(props: ResourcePropertyDisplayProps): JSX.Element;
14
17
  /**
15
18
  * Returns the value of the property and the property type.
@@ -4,4 +4,7 @@ import { AsyncAutocompleteProps } from '../AsyncAutocomplete/AsyncAutocomplete';
4
4
  export interface ValueSetAutocompleteProps extends Omit<AsyncAutocompleteProps<ValueSetExpansionContains>, 'loadOptions' | 'toKey' | 'toOption'> {
5
5
  elementDefinition: ElementDefinition;
6
6
  }
7
+ /**
8
+ * A low-level component to autocomplete based on a FHIR Valueset.
9
+ */
7
10
  export declare function ValueSetAutocomplete(props: ValueSetAutocompleteProps): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/react",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "Medplum React Component Library",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",