@k8slens/extensions 6.0.1 → 6.0.2-beta.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.
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import type { IComputedValue } from "mobx";
6
6
  export interface TrayMenuRegistration {
7
- label?: string;
7
+ label?: string | IComputedValue<string>;
8
8
  click?: (menuItem: TrayMenuRegistration) => void;
9
9
  id?: string;
10
10
  type?: "normal" | "separator" | "submenu";
@@ -3,8 +3,7 @@
3
3
  * Licensed under MIT License. See LICENSE in root directory for more information.
4
4
  */
5
5
  import React from "react";
6
- import type { DockTab } from "../dock/store";
7
6
  export interface CreateResourceProps {
8
- tab: DockTab;
7
+ tabId: string;
9
8
  }
10
9
  export declare const CreateResource: React.FunctionComponent<CreateResourceProps>;
@@ -3,8 +3,7 @@
3
3
  * Licensed under MIT License. See LICENSE in root directory for more information.
4
4
  */
5
5
  import React from "react";
6
- import type { DockTab } from "../dock/store";
7
6
  export interface EditResourceProps {
8
- tab: DockTab;
7
+ tabId: string;
9
8
  }
10
9
  export declare const EditResource: React.FunctionComponent<EditResourceProps>;
@@ -4,8 +4,7 @@
4
4
  */
5
5
  import "./install-chart.scss";
6
6
  import React from "react";
7
- import type { DockTab } from "../dock/store";
8
- export interface InstallCharProps {
9
- tab: DockTab;
7
+ export interface InstallChartProps {
8
+ tabId: string;
10
9
  }
11
- export declare const InstallChart: React.FunctionComponent<InstallCharProps>;
10
+ export declare const InstallChart: React.FunctionComponent<InstallChartProps>;
@@ -2,7 +2,6 @@
2
2
  * Copyright (c) OpenLens Authors. All rights reserved.
3
3
  * Licensed under MIT License. See LICENSE in root directory for more information.
4
4
  */
5
- import "./sidebar-item.scss";
6
5
  import React from "react";
7
6
  import type { HierarchicalSidebarItem } from "./sidebar-items.injectable";
8
7
  export interface SidebarItemProps {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@k8slens/extensions",
3
3
  "productName": "OpenLens extensions",
4
4
  "description": "OpenLens - Open Source Kubernetes IDE: extensions",
5
- "version": "6.0.1",
5
+ "version": "6.0.2-beta.0",
6
6
  "copyright": "© 2022 OpenLens Authors",
7
7
  "license": "MIT",
8
8
  "main": "dist/src/extensions/extension-api.js",