@k8slens/extensions 5.4.0-git.0745f9c063.0 → 5.4.0-git.15c867745f.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/dist/src/renderer/components/+catalog/custom-category-columns.d.ts +1 -1
- package/dist/src/renderer/components/+custom-resources/route-tabs.injectable.d.ts +1 -1
- package/dist/src/renderer/components/+custom-resources/route.d.ts +1 -4
- package/dist/src/renderer/components/layout/tab-routes-sidebar-items.d.ts +8 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="@ogre-tools/injectable" />
|
|
2
2
|
import { IComputedValue } from "mobx";
|
|
3
3
|
import type { TabLayoutRoute } from "../layout/tab-layout";
|
|
4
|
-
export interface CustomResourceTabLayoutRoute extends TabLayoutRoute {
|
|
4
|
+
export interface CustomResourceTabLayoutRoute extends Omit<TabLayoutRoute, "component"> {
|
|
5
5
|
id: string;
|
|
6
6
|
}
|
|
7
7
|
export interface CustomResourceGroupTabLayoutRoute extends CustomResourceTabLayoutRoute {
|
|
@@ -2,7 +2,4 @@
|
|
|
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
|
-
|
|
6
|
-
export declare const CustomResourcesRoute: React.ForwardRefExoticComponent<React.RefAttributes<any> & {
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
}>;
|
|
5
|
+
export declare const CustomResourcesRoute: () => JSX.Element;
|
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
5
|
import type { TabLayoutRoute } from "./tab-layout";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Renders a sidebar item for each route
|
|
8
|
+
*
|
|
9
|
+
* NOTE: this cannot be a component because then the `<SidebarItem>.isExandable`
|
|
10
|
+
* check will always return true because a component that renders to `null` is
|
|
11
|
+
* still a present child to the parent `<SidebarItem>`
|
|
12
|
+
*/
|
|
13
|
+
export declare const renderTabRoutesSidebarItems: (routes: TabLayoutRoute[]) => JSX.Element[];
|
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": "5.4.0-git.
|
|
5
|
+
"version": "5.4.0-git.15c867745f.0",
|
|
6
6
|
"copyright": "© 2021 OpenLens Authors",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/src/extensions/extension-api.js",
|