@clara.care/react 1.0.3 → 1.0.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.
- package/README.md +7 -7
- package/clara-widget.cjs.js +139 -119
- package/clara-widget.es.js +9239 -7830
- package/package.json +3 -3
- package/style.css +1 -1
package/README.md
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
# @clara
|
|
1
|
+
# @clara.care/react
|
|
2
2
|
|
|
3
3
|
Clara AI Medical Documentation Widget - React component with TypeScript support.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @clara
|
|
8
|
+
npm install @clara.care/react
|
|
9
9
|
# or
|
|
10
|
-
yarn add @clara
|
|
10
|
+
yarn add @clara.care/react
|
|
11
11
|
# or
|
|
12
|
-
pnpm add @clara
|
|
12
|
+
pnpm add @clara.care/react
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
17
|
```tsx
|
|
18
|
-
import { ClaraWidget, useClaraStore } from '@clara
|
|
19
|
-
import '@clara
|
|
18
|
+
import { ClaraWidget, useClaraStore } from '@clara.care/react';
|
|
19
|
+
import '@clara.care/react/style.css';
|
|
20
20
|
|
|
21
21
|
function App() {
|
|
22
22
|
const { setConfig } = useClaraStore();
|
|
@@ -38,7 +38,7 @@ function App() {
|
|
|
38
38
|
Full TypeScript support with exported types:
|
|
39
39
|
|
|
40
40
|
```tsx
|
|
41
|
-
import type { ClaraConfig, Template, Analysis } from '@clara
|
|
41
|
+
import type { ClaraConfig, Template, Analysis } from '@clara.care/react';
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## Exports
|