@yoast/ai-insights-client 1.0.1 → 1.1.1
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 +0 -4
- package/dist/ai-insights-client.cjs.js +1293 -0
- package/dist/{index.css → ai-insights-client.css} +1 -1
- package/dist/ai-insights-client.es.js +32070 -0
- package/dist/index.d.ts +1 -0
- package/package.json +48 -12
- package/dist/1-BrandInfo-CinffkUh.js +0 -1432
- package/dist/2-QuerySelection-BzbyqeHz.js +0 -145
- package/dist/BrandList-DzzZhRJ8.js +0 -460
- package/dist/CXEL7IU7-wPFoEf3d.js +0 -42
- package/dist/HASRA6WW-BgmA3kL8.js +0 -8913
- package/dist/I3HPI4QX-BR0UzjLo.js +0 -33
- package/dist/PaperActions-CJVyQXH2.js +0 -30
- package/dist/Settings-pN5RkxPZ.js +0 -156
- package/dist/index-B56vBhjW.js +0 -49644
- package/dist/index-BhDYrlIQ.js +0 -36
- package/dist/index.js +0 -10
package/README.md
CHANGED
|
@@ -25,7 +25,6 @@ npm install react react-dom @yoast/ui-library
|
|
|
25
25
|
### Simple Embedded Component
|
|
26
26
|
|
|
27
27
|
```jsx
|
|
28
|
-
import React from 'react';
|
|
29
28
|
import { AIInsightsClient } from 'ai-insights-client';
|
|
30
29
|
import 'ai-insights-client/dist/style.css';
|
|
31
30
|
|
|
@@ -48,7 +47,6 @@ export default App;
|
|
|
48
47
|
### With Custom Router Integration
|
|
49
48
|
|
|
50
49
|
```jsx
|
|
51
|
-
import React from 'react';
|
|
52
50
|
import { BrowserRouter, Route, Routes } from 'react-router-dom';
|
|
53
51
|
import { AIInsightsClient } from 'ai-insights-client';
|
|
54
52
|
import 'ai-insights-client/dist/style.css';
|
|
@@ -104,7 +102,6 @@ function App() {
|
|
|
104
102
|
### Using Individual Components
|
|
105
103
|
|
|
106
104
|
```jsx
|
|
107
|
-
import React from 'react';
|
|
108
105
|
import {
|
|
109
106
|
BrandAnalysisProvider,
|
|
110
107
|
Layout,
|
|
@@ -125,7 +122,6 @@ function CustomApp() {
|
|
|
125
122
|
### Using Context Hooks
|
|
126
123
|
|
|
127
124
|
```jsx
|
|
128
|
-
import React from 'react';
|
|
129
125
|
import {
|
|
130
126
|
BrandAnalysisProvider,
|
|
131
127
|
useBrandAnalysisData,
|