@medplum/react 3.0.3 → 3.0.4
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/dist/cjs/index.cjs +6 -6
- package/dist/cjs/index.cjs.map +4 -4
- package/dist/cjs/index.d.ts +3 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.mjs +6 -6
- package/dist/esm/index.mjs.map +4 -4
- package/package.json +19 -19
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1459,6 +1459,8 @@ export declare function useSearchOne<K extends ResourceType>(resourceType: K, qu
|
|
|
1459
1459
|
*/
|
|
1460
1460
|
export declare function useSearchResources<K extends ResourceType>(resourceType: K, query?: QueryTypes): [ResourceArray<ExtractResource<K>> | undefined, boolean, OperationOutcome | undefined];
|
|
1461
1461
|
|
|
1462
|
+
export declare function useSubscription(criteria: string, callback: (bundle: Bundle) => void): void;
|
|
1463
|
+
|
|
1462
1464
|
/**
|
|
1463
1465
|
* A low-level component to autocomplete based on a FHIR Valueset.
|
|
1464
1466
|
* This is the base component for CodeableConceptInput, CodingInput, and CodeInput.
|
|
@@ -1472,6 +1474,7 @@ export declare interface ValueSetAutocompleteProps extends Omit<AsyncAutocomplet
|
|
|
1472
1474
|
readonly creatable?: boolean;
|
|
1473
1475
|
readonly clearable?: boolean;
|
|
1474
1476
|
readonly expandParams?: Partial<ValueSetExpandParams>;
|
|
1477
|
+
readonly withHelpText?: boolean;
|
|
1475
1478
|
}
|
|
1476
1479
|
|
|
1477
1480
|
export { }
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1459,6 +1459,8 @@ export declare function useSearchOne<K extends ResourceType>(resourceType: K, qu
|
|
|
1459
1459
|
*/
|
|
1460
1460
|
export declare function useSearchResources<K extends ResourceType>(resourceType: K, query?: QueryTypes): [ResourceArray<ExtractResource<K>> | undefined, boolean, OperationOutcome | undefined];
|
|
1461
1461
|
|
|
1462
|
+
export declare function useSubscription(criteria: string, callback: (bundle: Bundle) => void): void;
|
|
1463
|
+
|
|
1462
1464
|
/**
|
|
1463
1465
|
* A low-level component to autocomplete based on a FHIR Valueset.
|
|
1464
1466
|
* This is the base component for CodeableConceptInput, CodingInput, and CodeInput.
|
|
@@ -1472,6 +1474,7 @@ export declare interface ValueSetAutocompleteProps extends Omit<AsyncAutocomplet
|
|
|
1472
1474
|
readonly creatable?: boolean;
|
|
1473
1475
|
readonly clearable?: boolean;
|
|
1474
1476
|
readonly expandParams?: Partial<ValueSetExpandParams>;
|
|
1477
|
+
readonly withHelpText?: boolean;
|
|
1475
1478
|
}
|
|
1476
1479
|
|
|
1477
1480
|
export { }
|