@prorobotech/openapi-k8s-toolkit 1.5.0-alpha.11 → 1.5.0-alpha.12

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.
@@ -2,11 +2,13 @@ import { ReactElement } from 'react';
2
2
  import { TItemTypeMap } from '../../../localTypes/dynamicRender';
3
3
  import { TUseK8sSmartResourceParams } from '../../../hooks/useK8sSmartResource';
4
4
  import { TDynamicRendererProps } from '../DynamicRenderer';
5
+ import { TNamespaceLabels } from './providers/factoryConfigProvider';
5
6
  export declare const DynamicRendererWithProviders: <T extends TItemTypeMap>(props: TDynamicRendererProps<T> & {
6
7
  urlsToFetch: (string | TUseK8sSmartResourceParams<any>)[];
7
8
  dataToApplyToContext?: unknown;
8
9
  theme: 'dark' | 'light';
9
10
  nodeTerminalDefaultProfile?: string | undefined;
11
+ namespaceLabels?: TNamespaceLabels | undefined;
10
12
  disableEventBubbling?: boolean | undefined;
11
13
  effectiveReqIndexes?: number[] | undefined;
12
14
  effectiveItemsPath?: string | string[] | undefined;
@@ -1,8 +1,16 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
+ export type TNamespaceLabels = {
3
+ label?: string;
4
+ placeholder?: string;
5
+ allLabel?: string;
6
+ choosePlaceholder?: string;
7
+ selectPlaceholder?: string;
8
+ };
2
9
  type TFactoryConfig = {
3
10
  nodeTerminalDefaultProfile?: string;
11
+ namespaceLabels?: TNamespaceLabels;
4
12
  };
5
- export declare const FactoryConfigContextProvider: ({ children, value }: import("react").PropsWithChildren<{
13
+ export declare const FactoryConfigContextProvider: ({ children, value, }: React.PropsWithChildren<{
6
14
  value: TFactoryConfig;
7
15
  }>) => import("react/jsx-runtime").JSX.Element;
8
16
  export declare const useFactoryConfig: () => TFactoryConfig;
@@ -1 +1,2 @@
1
1
  export { FactoryConfigContextProvider, useFactoryConfig } from './factoryConfigProvider';
2
+ export type { TNamespaceLabels } from './factoryConfigProvider';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prorobotech/openapi-k8s-toolkit",
3
- "version": "1.5.0-alpha.11",
3
+ "version": "1.5.0-alpha.12",
4
4
  "description": "ProRobotech OpenAPI k8s tools",
5
5
  "main": "dist/openapi-k8s-toolkit.cjs.js",
6
6
  "module": "dist/openapi-k8s-toolkit.es.js",