@devtron-labs/devtron-fe-common-lib 0.1.8-beta-10 → 0.1.8-beta-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.
@@ -34,5 +34,5 @@ import { SearchBarProps } from './types';
34
34
  * <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
35
35
  * ```
36
36
  */
37
- declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, }: SearchBarProps) => JSX.Element;
37
+ declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, size, }: SearchBarProps) => JSX.Element;
38
38
  export default SearchBar;
@@ -1,4 +1,5 @@
1
- /// <reference types="react" />
1
+ import { ComponentSizeType } from '../../Shared/constants';
2
+
2
3
  export interface SearchBarProps {
3
4
  /**
4
5
  * Initial search text
@@ -40,4 +41,10 @@ export interface SearchBarProps {
40
41
  * Hide the background and border of the search
41
42
  */
42
43
  noBackgroundAndBorder?: boolean;
44
+ /**
45
+ * Height of the searchbar
46
+ *
47
+ * @default 'ComponentSizeType.medium'
48
+ */
49
+ size?: ComponentSizeType.medium | ComponentSizeType.large;
43
50
  }
@@ -0,0 +1,3 @@
1
+ import { SearchBarProps } from './types';
2
+
3
+ export declare const getSearchBarHeightFromSize: (size: SearchBarProps['size']) => string;
@@ -1,4 +1,4 @@
1
1
  import { LogStageAccordionProps } from './types';
2
2
 
3
- declare const LogStageAccordion: ({ stage, isOpen, logs, endTime, startTime, status, handleStageClose, handleStageOpen, accordionIndex, }: LogStageAccordionProps) => JSX.Element;
3
+ declare const LogStageAccordion: ({ stage, isOpen, logs, endTime, startTime, status, handleStageClose, handleStageOpen, accordionIndex, areEventsProgressing, }: LogStageAccordionProps) => JSX.Element;
4
4
  export default LogStageAccordion;
@@ -606,6 +606,7 @@ export interface LogStageAccordionProps extends StageDetailType {
606
606
  handleStageClose: (index: number) => void;
607
607
  handleStageOpen: (index: number) => void;
608
608
  accordionIndex: number;
609
+ areEventsProgressing: boolean;
609
610
  }
610
611
  export interface CreateMarkupReturnType {
611
612
  __html: string;