@graphcore/react 0.5.0 → 0.5.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/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). Projects depend on this package
5
- only — never on the kernel or on built-in apps by name.
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.5.0",
3
+ "version": "0.5.2",
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.5.0",
26
- "@graphcore/apps": "0.5.0"
25
+ "@graphcore/react-kernel": "0.5.2",
26
+ "@graphcore/apps": "0.5.2"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": ">=19.0.0",
package/style.css CHANGED
@@ -1,3 +1,4 @@
1
1
  @import "@graphcore/react-kernel/style.css";
2
2
  @import "@graphcore/apps/agents/style.css";
3
3
  @import "@graphcore/apps/audio/style.css";
4
+ @import "@graphcore/apps/feedback/style.css";