@graphcore/react 0.5.1 → 0.6.0
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 +3 -2
- package/index.d.ts +8 -0
- package/index.js +5 -0
- package/package.json +3 -3
- package/style.css +1 -0
package/README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# @graphcore/react
|
|
2
2
|
|
|
3
3
|
Distro npm package. Re-exports `@graphcore/react-kernel` and exports
|
|
4
|
-
`builtinViews` (built-in app view modules)
|
|
5
|
-
|
|
4
|
+
`builtinViews` (built-in app view modules), and the pieces of built-in apps a
|
|
5
|
+
project places in its own layout, such as feedback's `ReportButton`. Projects
|
|
6
|
+
depend on this package only — never on the kernel or on built-in apps by name.
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
export * from '@graphcore/react-kernel';
|
|
2
2
|
import type { AppViews } from '@graphcore/react-kernel';
|
|
3
3
|
export declare const builtinViews: AppViews[];
|
|
4
|
+
export { ReportButton, ReportDialog, ReportForm, useReportDialog, useFileReport } from '@graphcore/apps/feedback';
|
|
5
|
+
export type {
|
|
6
|
+
ReportButtonProps,
|
|
7
|
+
ReportDialogProps,
|
|
8
|
+
ReportFormProps,
|
|
9
|
+
ReportInput,
|
|
10
|
+
ReportKind,
|
|
11
|
+
} from '@graphcore/apps/feedback';
|
package/index.js
CHANGED
|
@@ -2,8 +2,13 @@ export * from '@graphcore/react-kernel';
|
|
|
2
2
|
|
|
3
3
|
import * as agents from '@graphcore/apps/agents';
|
|
4
4
|
import * as audio from '@graphcore/apps/audio';
|
|
5
|
+
import * as feedback from '@graphcore/apps/feedback';
|
|
5
6
|
|
|
6
7
|
export const builtinViews = [
|
|
7
8
|
{ app: 'agents', exports: agents },
|
|
8
9
|
{ app: 'audio', exports: audio },
|
|
10
|
+
{ app: 'feedback', exports: feedback },
|
|
9
11
|
];
|
|
12
|
+
|
|
13
|
+
// Pieces of built-in apps that a project places in its own layout.
|
|
14
|
+
export { ReportButton, ReportDialog, ReportForm, useReportDialog, useFileReport } from '@graphcore/apps/feedback';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcore/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "GraphCore distro React package \u2014 re-exports @graphcore/react-kernel plus built-in app views.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"**/*.css"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@graphcore/react-kernel": "0.
|
|
26
|
-
"@graphcore/apps": "0.
|
|
25
|
+
"@graphcore/react-kernel": "0.6.0",
|
|
26
|
+
"@graphcore/apps": "0.6.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=19.0.0",
|
package/style.css
CHANGED