@devtron-labs/devtron-fe-common-lib 1.15.3-beta-3 → 1.15.3-pre-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.
Files changed (24) hide show
  1. package/dist/{@code-editor-Dz8a1qww.js → @code-editor-Cv0SnE5h.js} +5769 -5874
  2. package/dist/{@common-rjsf-ISOYbod5.js → @common-rjsf-BjL8q0vr.js} +2 -2
  3. package/dist/{@framer-motion-BhKAac90.js → @framer-motion-BNW8cVs5.js} +1 -1
  4. package/dist/{@react-dates-CfRo6n5e.js → @react-dates-BUkYmC65.js} +1 -1
  5. package/dist/{@react-select-DNDV8S9D.js → @react-select-DelHyoAl.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-mXcyQzGx.js → @react-virtualized-sticky-tree-CGrGTQqK.js} +1 -1
  7. package/dist/{@vendor-CA9d7Ztm.js → @vendor-oJbr9Qso.js} +15809 -15843
  8. package/dist/Common/RJSF/Form.d.ts +1 -1
  9. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +0 -1
  10. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +7 -7
  11. package/dist/Shared/Components/index.d.ts +0 -1
  12. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  13. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +7 -17
  14. package/dist/Shared/Hooks/useUserPreferences/useUserPrefrences.d.ts +1 -1
  15. package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +2 -3
  16. package/dist/Shared/constants.d.ts +0 -1
  17. package/dist/Shared/types.d.ts +1 -2
  18. package/dist/index.js +853 -854
  19. package/package.json +1 -1
  20. package/dist/Shared/Components/Badge/Badge.d.ts +0 -3
  21. package/dist/Shared/Components/Badge/index.d.ts +0 -2
  22. package/dist/Shared/Components/Badge/types.d.ts +0 -18
  23. package/dist/Shared/Components/Badge/utils.d.ts +0 -7
  24. package/dist/Shared/Components/Security/SeverityChip.d.ts +0 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.15.3-beta-3",
3
+ "version": "1.15.3-pre-0",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,3 +0,0 @@
1
- import { BadgeProps } from './types';
2
- declare const Badge: ({ label, bgColor, fontColor, endIconProps, startIconProps, variant, size, }: BadgeProps) => JSX.Element;
3
- export default Badge;
@@ -1,2 +0,0 @@
1
- export { default as Badge } from './Badge';
2
- export type { BadgeProps } from './types';
@@ -1,18 +0,0 @@
1
- import { ComponentSizeType } from '../../constants';
2
- import { IconBaseColorType } from '../../types';
3
- import { IconsProps } from '../Icon';
4
- export type BadgeVariants = 'default' | 'negative' | 'negative-grey' | 'positive' | 'warning' | 'neutral' | 'custom';
5
- export type BadgeProps = {
6
- size?: Extract<ComponentSizeType, ComponentSizeType.xs | ComponentSizeType.xxs | ComponentSizeType.xxxs>;
7
- startIconProps?: Omit<IconsProps, 'color' | 'size'>;
8
- endIconProps?: Omit<IconsProps, 'color' | 'size'>;
9
- label: string;
10
- } & ({
11
- variant?: Exclude<BadgeVariants, 'custom'>;
12
- fontColor?: never;
13
- bgColor?: never;
14
- } | {
15
- variant: 'custom';
16
- fontColor: IconBaseColorType;
17
- bgColor: IconBaseColorType;
18
- });
@@ -1,7 +0,0 @@
1
- import { IconBaseColorType } from '../../types';
2
- import { BadgeProps } from './types';
3
- export declare const getClassNameAccToVariant: (variant: BadgeProps["variant"]) => {
4
- styles: string;
5
- iconColor: IconBaseColorType;
6
- };
7
- export declare const getClassNameAccToSize: (size: BadgeProps["size"]) => "fs-11 lh-16 px-4 py-1" | "fs-12 lh-16 px-6 py-2" | "fs-13 lh-20 px-6 py-2";
@@ -1,6 +0,0 @@
1
- import { SeveritiesDTO } from './SecurityModal';
2
- declare const SeverityChip: ({ severity, count }: {
3
- severity: SeveritiesDTO;
4
- count?: number;
5
- }) => JSX.Element;
6
- export default SeverityChip;