@photonhealth/elements 0.14.4 → 0.14.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.
package/README.md CHANGED
@@ -2,7 +2,23 @@
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
+ ### Components
18
+
19
+ After editing `packages/components`, re-run `npx nx run components:build` to see TypeScript and other changes load into `packages/elements`
20
+
21
+ ## Usage
6
22
 
7
23
  ### Installation
8
24
 
@@ -10,7 +26,7 @@ Photon's collection of customizable and reusable components to help clients inte
10
26
  npm i @photonhealth/elements
11
27
  ```
12
28
 
13
- ### Usage
29
+ ### Example
14
30
 
15
31
  ```javascript
16
32
  import('@photonhealth/elements').catch((err) => {});