hanbiro-react16-sdk 1.0.8 → 1.0.9
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 +2 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ You **must** import the SDK stylesheet at the entry point of your project (or in
|
|
|
17
17
|
**For npm/ES module projects:**
|
|
18
18
|
```ts
|
|
19
19
|
// src/index.tsx or App.tsx
|
|
20
|
-
import 'hanbiro-react16-sdk/
|
|
20
|
+
import 'hanbiro-react16-sdk/style.css';
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
**For UMD (script tag):**
|
|
@@ -66,7 +66,7 @@ initHanbiroReactSDK({
|
|
|
66
66
|
import React, { Component } from 'react';
|
|
67
67
|
import { ChatAIDraft } from 'hanbiro-react16-sdk/components';
|
|
68
68
|
import { getBaseUrl } from 'hanbiro-react16-sdk/utils';
|
|
69
|
-
import 'hanbiro-react16-sdk/
|
|
69
|
+
import 'hanbiro-react16-sdk/style.css';
|
|
70
70
|
|
|
71
71
|
class ChatAIDraftApp extends Component {
|
|
72
72
|
handleApply = (result) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hanbiro-react16-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "React 16.2.0 compatible UI components for Hanbiro",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/hanbiro-react16-sdk.umd.js",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"types": "./dist/constants/index.d.ts",
|
|
26
26
|
"import": "./dist/hanbiro-react16-sdk.es.js",
|
|
27
27
|
"require": "./dist/hanbiro-react16-sdk.umd.js"
|
|
28
|
-
}
|
|
28
|
+
},
|
|
29
|
+
"./style.css": "./dist/hanbiro-react16-sdk.style.css"
|
|
29
30
|
},
|
|
30
31
|
"typesVersions": {
|
|
31
32
|
"*": {
|