@interopio/home-ui-react 2.0.0 → 2.0.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.
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface NotificationsPanelButtonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
3
+ active: boolean;
4
+ }
5
+ export declare const NotificationsPanelButton: (props: NotificationsPanelButtonProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default NotificationsPanelButton;
@@ -0,0 +1,3 @@
1
+ import { PanelWithToggleButtonProps } from "../panels/panel-with-toggle-button";
2
+ export declare const NotificationsPanelWithToggleButton: ({ Button, Panel, position, ...rest }: Partial<Omit<PanelWithToggleButtonProps, "onClose">>) => import("react/jsx-runtime").JSX.Element;
3
+ export default NotificationsPanelWithToggleButton;
@@ -1,9 +1,9 @@
1
1
  import { IONotifications } from "@interopio/components-react";
2
- import { PanelProps } from "../panels/types";
3
- interface NotificationsPanelProps extends PanelProps {
2
+ interface NotificationsPanelProps {
4
3
  className?: string;
5
4
  components?: IONotifications.PanelProps["components"];
6
5
  settings?: IONotifications.PanelProps["settings"];
6
+ onClose: () => void;
7
7
  title?: string;
8
8
  }
9
9
  export declare const NotificationsPanel: ({ className, components, onClose, settings, title }: NotificationsPanelProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export declare const PreferencesPanel: ({ components, ...rest }: import("@interopio/components-react").PreferencesBrowserPanelProps) => import("react/jsx-runtime").JSX.Element;
2
+ export default PreferencesPanel;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@interopio/home-ui-react",
3
3
  "description": "React components for building a Home App for io.Connect Browser.",
4
- "version": "2.0.0",
4
+ "version": "2.0.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
@@ -29,15 +29,15 @@
29
29
  "react-dom": ">=16.8.0"
30
30
  },
31
31
  "dependencies": {
32
- "@interopio/browser": "^4.0.0"
32
+ "@interopio/browser": "^4.0.2"
33
33
  },
34
34
  "devDependencies": {
35
- "@interopio/browser-platform": "^4.0.0",
36
- "@interopio/components-react": "^0.7.0",
35
+ "@interopio/browser-platform": "^4.0.2",
36
+ "@interopio/components-react": "^0.7.2",
37
37
  "@interopio/desktop": "^6.7.0",
38
- "@interopio/react-hooks": "^4.0.0",
39
- "@interopio/theme": "^3.0.0",
40
- "@interopio/workspaces-ui-react": "^4.0.0"
38
+ "@interopio/react-hooks": "^4.0.2",
39
+ "@interopio/theme": "^3.0.2",
40
+ "@interopio/workspaces-ui-react": "^4.0.2"
41
41
  },
42
42
  "peerDependenciesMeta": {
43
43
  "react-dom": {
@@ -57,5 +57,5 @@
57
57
  "@interopio:registry": "https://registry.npmjs.org",
58
58
  "access": "public"
59
59
  },
60
- "gitHead": "e0dbc07a7ba20967ef13768e508e301602cf73a1"
60
+ "gitHead": "45aba98d954a3aefad89eac0e30b7070c47fcb2e"
61
61
  }
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- interface NotificationsIconProps extends React.HTMLAttributes<HTMLDivElement> {
3
- active: boolean;
4
- }
5
- export declare const NotificationsIcon: (props: NotificationsIconProps) => import("react/jsx-runtime").JSX.Element;
6
- export default NotificationsIcon;