@devtron-labs/devtron-fe-common-lib 0.3.22-beta-4 → 0.3.22-beta-5

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.
Files changed (28) hide show
  1. package/dist/Common/RJSF/widgets/Select.d.ts +1 -1
  2. package/dist/Common/RJSF/widgets/index.d.ts +1 -1
  3. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +2 -2
  4. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +1 -1
  5. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/utils.d.ts +10 -0
  6. package/dist/Shared/Components/DatePicker/utils.d.ts +14 -0
  7. package/dist/Shared/Components/FeatureDescription/index.d.ts +1 -0
  8. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  9. package/dist/Shared/Components/SelectPicker/type.d.ts +1 -3
  10. package/dist/Shared/types.d.ts +3 -1
  11. package/dist/{cssMode-u1cmJ4zm.js → cssMode-CPgPbDLM.js} +1 -1
  12. package/dist/{freemarker2-Ba7_z3NP.js → freemarker2-CeHGPMkn.js} +1 -1
  13. package/dist/{handlebars-BongD2Fe.js → handlebars-DGu78HG_.js} +1 -1
  14. package/dist/{html-L4i7dDo2.js → html-Cq1FpOOK.js} +1 -1
  15. package/dist/{htmlMode-CAcOmXGE.js → htmlMode-2L68N9fR.js} +1 -1
  16. package/dist/{index-BMRImHwr.js → index-DLlBmvl-.js} +48772 -48660
  17. package/dist/index.js +422 -420
  18. package/dist/{javascript-Cl19kaFk.js → javascript-VRHWHbC3.js} +1 -1
  19. package/dist/{jsonMode-7P2tGo39.js → jsonMode-DmKWdtn1.js} +1 -1
  20. package/dist/{liquid-5Vjq8xax.js → liquid-BlTUDC4H.js} +1 -1
  21. package/dist/{mdx-Dq9-1vak.js → mdx-BptGx33d.js} +1 -1
  22. package/dist/{python-CBQHFL3X.js → python-cr4-cCQi.js} +1 -1
  23. package/dist/{razor-7L9FMiEu.js → razor-Nc939Xft.js} +1 -1
  24. package/dist/{tsMode-vBTWEN-k.js → tsMode-onNn4k2g.js} +1 -1
  25. package/dist/{typescript-D2RLnFx2.js → typescript-bliZ60_Y.js} +1 -1
  26. package/dist/{xml-C5dRSVEg.js → xml-Dohe4On-.js} +1 -1
  27. package/dist/{yaml-BstuWXDP.js → yaml-Byv4W4dt.js} +1 -1
  28. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
1
  import { WidgetProps } from '@rjsf/utils';
2
- export declare const SelectWidget: (props: WidgetProps) => JSX.Element;
2
+ export declare const Select: (props: WidgetProps) => JSX.Element;
@@ -1,2 +1,2 @@
1
1
  export { Checkbox as CheckboxWidget } from './Checkbox';
2
- export { SelectWidget } from './Select';
2
+ export { Select as SelectWidget } from './Select';
@@ -1,3 +1,3 @@
1
- import { DescriptorProps } from './types';
2
- declare const Descriptor: ({ additionalContainerClasses, breadCrumbs, children, tippyInfoText, tippyAdditionalContent, }: DescriptorProps) => JSX.Element;
1
+ import { BuildInfraDescriptorProps } from './types';
2
+ declare const Descriptor: ({ additionalContainerClasses, breadCrumbs, children, tippyInfoText, tippyAdditionalContent, }: BuildInfraDescriptorProps) => JSX.Element;
3
3
  export default Descriptor;
@@ -48,7 +48,7 @@ export declare enum BuildInfraProfileVariants {
48
48
  NORMAL = "NORMAL",
49
49
  CUSTOM = "CUSTOM"
50
50
  }
51
- export interface DescriptorProps {
51
+ export interface BuildInfraDescriptorProps {
52
52
  /**
53
53
  * In case we want to restrict the max-width
54
54
  */
@@ -1 +1,11 @@
1
+ export declare const dropdownStyles: {
2
+ menu: (base: any) => any;
3
+ control: (base: any) => any;
4
+ singleValue: (base: any) => any;
5
+ option: (base: any, state: any) => any;
6
+ valueContainer: (base: any) => any;
7
+ indicatorsContainer: (base: any) => any;
8
+ dropdownIndicator: (styles: any) => any;
9
+ container: (base: any, state: any) => any;
10
+ };
1
11
  export declare const Option: (props: any) => JSX.Element;
@@ -1,4 +1,14 @@
1
1
  import { OptionType } from '../../../Common';
2
+ export declare const getTimePickerStyles: () => {
3
+ container: (base: any) => any;
4
+ control: (base: any, state: any) => any;
5
+ menu: (base: any) => any;
6
+ singleValue: (base: any) => any;
7
+ placeholder: (base: any) => any;
8
+ option: (base: any, state: any) => any;
9
+ valueContainer: (base: any) => any;
10
+ dropdownIndicator: (base: any) => any;
11
+ };
2
12
  /**
3
13
  * Return the options for the dates in label and value format
4
14
  */
@@ -29,3 +39,7 @@ export declare const updateDate: (currentDateObj: Date, newDate: Date) => Date;
29
39
  * @returns
30
40
  */
31
41
  export declare const getDefaultDateFromTimeToLive: (timeToLive: string, isTomorrow?: boolean) => Date;
42
+ /**
43
+ * Clock icon for the time picker
44
+ */
45
+ export declare const DropdownIndicatorTimePicker: (props: any) => JSX.Element;
@@ -1,2 +1,3 @@
1
1
  export * from './FeatureDescriptionModal';
2
2
  export { default as FeatureTitleWithInfo } from './FeatureTitleWithInfo';
3
+ export * from './types';
@@ -134,5 +134,5 @@ import { SelectPickerProps } from './type';
134
134
  * />
135
135
  * ```
136
136
  */
137
- declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, renderMenuListFooter, isCreatableSingleSelect, inputValue, onInputChange, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
137
+ declare const SelectPicker: <OptionValue, IsMulti extends boolean>({ error, icon, helperText, placeholder, label, showSelectedOptionIcon, size, disabledTippyContent, showSelectedOptionsCount, menuSize, optionListError, reloadOptionList, menuPosition, variant, disableDescriptionEllipsis, multiSelectProps, isMulti, name, classNamePrefix, shouldRenderCustomOptions, isSearchable, selectRef, shouldMenuAlignRight, fullWidth, customSelectedOptionsCount, renderMenuListFooter, ...props }: SelectPickerProps<OptionValue, IsMulti>) => JSX.Element;
138
138
  export default SelectPicker;
@@ -45,7 +45,7 @@ export declare enum SelectPickerVariantType {
45
45
  DEFAULT = "default",
46
46
  BORDER_LESS = "border-less"
47
47
  }
48
- export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown' | 'onInputChange' | 'inputValue'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | 'shouldRenderCustomOptions' | 'renderCustomOptions'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & {
48
+ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boolean = false> = Pick<SelectProps<OptionValue, IsMulti>, 'name' | 'classNamePrefix' | 'options' | 'value' | 'onChange' | 'isSearchable' | 'isClearable' | 'hideSelectedOptions' | 'controlShouldRenderValue' | 'closeMenuOnSelect' | 'isDisabled' | 'isLoading' | 'required' | 'isOptionDisabled' | 'placeholder' | 'menuPosition' | 'getOptionLabel' | 'getOptionValue' | 'isOptionSelected' | 'menuIsOpen' | 'onMenuOpen' | 'onMenuClose' | 'autoFocus' | 'onBlur' | 'onKeyDown'> & Partial<Pick<SelectProps<OptionValue, IsMulti>, 'renderMenuListFooter' | 'shouldRenderCustomOptions' | 'renderCustomOptions'>> & Required<Pick<SelectProps<OptionValue, IsMulti>, 'inputId'>> & {
49
49
  /**
50
50
  * Icon to be rendered in the control
51
51
  */
@@ -126,8 +126,6 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
126
126
  * @default false
127
127
  */
128
128
  fullWidth?: boolean;
129
- isCreatableSingleSelect?: boolean;
130
- menuIsOpen?: boolean;
131
129
  /**
132
130
  * If truthy, would show generic section error state as no options message
133
131
  */
@@ -395,7 +395,9 @@ export interface SeverityCount {
395
395
  unknown: number;
396
396
  }
397
397
  export declare enum PolicyKindType {
398
- lockConfiguration = "lock-configuration"
398
+ lockConfiguration = "lock-configuration",
399
+ imagePromotion = "image-promotion",
400
+ plugins = "lock-configuration"
399
401
  }
400
402
  export interface LastExecutionResultType {
401
403
  lastExecution: string;
@@ -1,7 +1,7 @@
1
1
  var Fe = Object.defineProperty;
2
2
  var Le = (e, n, i) => n in e ? Fe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => Le(e, typeof n != "symbol" ? n + "" : n, i);
4
- import { m as je } from "./index-BMRImHwr.js";
4
+ import { m as je } from "./index-DLlBmvl-.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as f } from "./index-BMRImHwr.js";
1
+ import { m as f } from "./index-DLlBmvl-.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./index-BMRImHwr.js";
1
+ import { m as l } from "./index-DLlBmvl-.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-BMRImHwr.js";
1
+ import { m as s } from "./index-DLlBmvl-.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,7 +1,7 @@
1
1
  var Be = Object.defineProperty;
2
2
  var $e = (e, n, i) => n in e ? Be(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => $e(e, typeof n != "symbol" ? n + "" : n, i);
4
- import { m as qe } from "./index-BMRImHwr.js";
4
+ import { m as qe } from "./index-DLlBmvl-.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)