@photonhealth/elements 0.14.3 → 0.14.5

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 (4) hide show
  1. package/README.md +14 -2
  2. package/dist/index.js +107 -103
  3. package/dist/index.mjs +2120 -2075
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,19 @@
2
2
 
3
3
  Photon's collection of customizable and reusable components to help clients integrate seamlessly with our system. Elements can be used to add prescribing functionality into any web-based clinical tool.
4
4
 
5
- ## Documentation
5
+ ## Local Development
6
+
7
+ To run at http://localhost:3000:
8
+
9
+ ```shell
10
+ npx nx run elements:start
11
+ ```
12
+
13
+ To modify the embedded component, edit attributes of element `photon-prescribe-workflow` inside [index.html](index.html)
14
+
15
+ To view available attributes/options, see [photon-prescribe-workflow-component.tsx](src/photon-multirx-form/photon-prescribe-workflow-component.tsx) or [official docs](https://docs.photon.health/docs/elements#prescribe-element)
16
+
17
+ ## Usage
6
18
 
7
19
  ### Installation
8
20
 
@@ -10,7 +22,7 @@ Photon's collection of customizable and reusable components to help clients inte
10
22
  npm i @photonhealth/elements
11
23
  ```
12
24
 
13
- ### Usage
25
+ ### Example
14
26
 
15
27
  ```javascript
16
28
  import('@photonhealth/elements').catch((err) => {});