@devtron-labs/devtron-fe-common-lib 1.17.0-beta-1 → 1.17.0-beta-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.17.0-beta-1",
3
+ "version": "1.17.0-beta-2",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,2 +0,0 @@
1
- import { ContextSwitcherTypes } from './types';
2
- export declare const ContextSwitcher: ({ inputId, options, inputValue, onInputChange, isLoading, value, onChange, placeholder, filterOption, formatOptionLabel, optionListError, reloadOptionList, classNamePrefix, }: ContextSwitcherTypes) => JSX.Element;
@@ -1,3 +0,0 @@
1
- export { ContextSwitcher } from './ContextSwitcher';
2
- export type { ContextSwitcherTypes, RecentlyVisitedGroupedOptionsType, RecentlyVisitedOptions } from './types';
3
- export { getMinCharSearchPlaceholderGroup } from './utils';
@@ -1,14 +0,0 @@
1
- import { GroupBase } from 'react-select';
2
- import { SelectPickerOptionType, SelectPickerProps } from '../SelectPicker';
3
- export interface ContextSwitcherTypes extends Pick<SelectPickerProps, 'placeholder' | 'onChange' | 'value' | 'isLoading' | 'onInputChange' | 'inputValue' | 'inputId' | 'formatOptionLabel' | 'filterOption' | 'optionListError' | 'reloadOptionList' | 'classNamePrefix'> {
4
- options: GroupBase<SelectPickerOptionType<string | number>>[];
5
- isAppDataAvailable?: boolean;
6
- }
7
- export interface RecentlyVisitedOptions extends SelectPickerOptionType<number> {
8
- isDisabled?: boolean;
9
- isRecentlyVisited?: boolean;
10
- }
11
- export interface RecentlyVisitedGroupedOptionsType extends GroupBase<SelectPickerOptionType<number>> {
12
- label: string;
13
- options: RecentlyVisitedOptions[];
14
- }
@@ -1,5 +0,0 @@
1
- import { SelectPickerProps } from '../SelectPicker';
2
- import { RecentlyVisitedGroupedOptionsType, RecentlyVisitedOptions } from './types';
3
- export declare const getDisabledOptions: (option: RecentlyVisitedOptions) => SelectPickerProps["isDisabled"];
4
- export declare const customSelectFilterOption: SelectPickerProps['filterOption'];
5
- export declare const getMinCharSearchPlaceholderGroup: (resourceKind: string) => RecentlyVisitedGroupedOptionsType;