@memori.ai/memori-react 1.0.0-rc.0 → 1.0.0-rc.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
 
2
2
 
3
+ ## [1.0.0-rc.2](https://github.com/memori-ai/memori-react/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2023-02-16)
4
+
5
+
6
+ ### Maintenance
7
+
8
+ * use antd 4x ([8b5e4d7](https://github.com/memori-ai/memori-react/commit/8b5e4d761ffe137d508330c0c35241b786fb08bc))
9
+
10
+ ## [1.0.0-rc.1](https://github.com/memori-ai/memori-react/compare/v1.0.0-rc.0...v1.0.0-rc.1) (2023-02-16)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * font css url import ([97c2c71](https://github.com/memori-ai/memori-react/commit/97c2c713ff4c300da1df6873c796bd57b96acfc6))
16
+
17
+
18
+ ### Maintenance
19
+
20
+ * fix relative imports ([ef269da](https://github.com/memori-ai/memori-react/commit/ef269dadaac0c1e1e39187556c66ab0fe83c2524))
21
+ * upgrade api-client to v1.1.0 ([b2254e1](https://github.com/memori-ai/memori-react/commit/b2254e1723dc1dda3d5ebfdbb7c10d1828e0934b))
22
+
3
23
  ## [1.0.0-rc.0](https://github.com/memori-ai/memori-react/compare/v1.0.0-alpha.24...v1.0.0-rc.0) (2023-02-16)
4
24
 
5
25
 
package/README.md CHANGED
@@ -27,9 +27,21 @@ npm install @memori.ai/memori-react
27
27
 
28
28
  ## Usage
29
29
 
30
+ Import the component:
31
+
30
32
  ```tsx
31
33
  import Memori from '@memori.ai/memori-react';
34
+ ```
35
+
36
+ Import the CSS:
37
+
38
+ ```tsx
39
+ import '@memori.ai/memori-react/dist/styles.css';
40
+ ```
32
41
 
42
+ Then use it in your app:
43
+
44
+ ```tsx
33
45
  const App = () => (
34
46
  <Memori
35
47
  memoriName="Memori"
package/dist/styles.css CHANGED
@@ -32,6 +32,6 @@
32
32
  @import url('./components/StartPanel/StartPanel.css');
33
33
  @import url('./components/UploadMenu/UploadMenu.css');
34
34
 
35
- @import url('../node_modules/@fontsource/exo-2/200.css');
36
- @import url('../node_modules/@fontsource/exo-2/400.css');
37
- @import url('../node_modules/@fontsource/exo-2/700.css');
35
+ @import url('~@fontsource/exo-2/200.css');
36
+ @import url('~@fontsource/exo-2/400.css');
37
+ @import url('~@fontsource/exo-2/700.css');
package/esm/styles.css CHANGED
@@ -32,6 +32,6 @@
32
32
  @import url('./components/StartPanel/StartPanel.css');
33
33
  @import url('./components/UploadMenu/UploadMenu.css');
34
34
 
35
- @import url('../node_modules/@fontsource/exo-2/200.css');
36
- @import url('../node_modules/@fontsource/exo-2/400.css');
37
- @import url('../node_modules/@fontsource/exo-2/700.css');
35
+ @import url('~@fontsource/exo-2/200.css');
36
+ @import url('~@fontsource/exo-2/400.css');
37
+ @import url('~@fontsource/exo-2/700.css');
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "1.0.0-rc.0",
2
+ "version": "1.0.0-rc.2",
3
3
  "name": "@memori.ai/memori-react",
4
4
  "author": "Memori Srl",
5
5
  "main": "dist/index.js",
6
6
  "module": "esm/index.js",
7
- "types": "./dist/index.d.ts",
7
+ "types": "dist/index.d.ts",
8
8
  "files": [
9
9
  "dist",
10
10
  "esm",
@@ -263,11 +263,11 @@
263
263
  "dependencies": {
264
264
  "@fontsource/exo-2": "^4.5.10",
265
265
  "@headlessui/react": "1.7.4",
266
- "@memori.ai/memori-api-client": "^1.0.0",
266
+ "@memori.ai/memori-api-client": "^1.1.0",
267
267
  "@react-three/drei": "8.20.2",
268
268
  "@react-three/fiber": "7.0.25",
269
- "antd": "5.1.4",
270
- "antd-img-crop": "4.5.2",
269
+ "antd": "4.18.9",
270
+ "antd-img-crop": "4.2.3",
271
271
  "classnames": "2.3.2",
272
272
  "ellipsed": "1.6.0",
273
273
  "i18next": "22.0.6",
package/src/styles.css CHANGED
@@ -32,6 +32,6 @@
32
32
  @import url('./components/StartPanel/StartPanel.css');
33
33
  @import url('./components/UploadMenu/UploadMenu.css');
34
34
 
35
- @import url('../node_modules/@fontsource/exo-2/200.css');
36
- @import url('../node_modules/@fontsource/exo-2/400.css');
37
- @import url('../node_modules/@fontsource/exo-2/700.css');
35
+ @import url('~@fontsource/exo-2/200.css');
36
+ @import url('~@fontsource/exo-2/400.css');
37
+ @import url('~@fontsource/exo-2/700.css');