@fattureincloud/fic-design-system 0.7.48 → 0.7.49

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,7 @@ export interface WithBadgeProps extends FloatingBadgeProps {
10
10
  children: React.ReactNode;
11
11
  }
12
12
  export declare enum BadgeSize {
13
+ EXTRA_EXTRA_SMALL = "extra-extra-small",
13
14
  EXTRA_SMALL = "extra-small",
14
15
  SMALL = "small",
15
16
  MEDIUM = "medium",
@@ -5,6 +5,7 @@ export interface WrapperProps {
5
5
  isActive: boolean;
6
6
  isDisabled: boolean;
7
7
  customColor?: paletteColor;
8
+ withoutPadding: boolean;
8
9
  }
9
10
  export declare const sidebarItemHeight = 44;
10
11
  export declare const Dropdown: import("styled-components").StyledComponent<({ className, content, forceOpen }: import("./types").SidebarItemDropdownProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,8 +1,8 @@
1
1
  import React, { MouseEventHandler } from 'react';
2
- import { colorsPalette } from '../../../common/types/colorsPalette';
2
+ import { colorsPalette } from '../../../common/types';
3
3
  import { paletteColor } from '../../../styles/types';
4
- import { DropdownItemProps } from '../../dropdown/types';
5
- import { BadgeSize, FloatingBadgeType } from '../../floatingBadge/types';
4
+ import { DropdownItemProps } from '../../dropdown';
5
+ import { BadgeSize, FloatingBadgeType } from '../../floatingBadge';
6
6
  import { IconProps } from '../../icon';
7
7
  export interface SidebarItemProps {
8
8
  icon?: IconProps;
@@ -23,6 +23,7 @@ export interface SidebarItemProps {
23
23
  export interface CustomSidebarItemProps {
24
24
  color?: paletteColor;
25
25
  renderContent?: React.FC<SidebarItemProps>;
26
+ avoidSpaceFillOnElementsHidden?: boolean;
26
27
  }
27
28
  export interface SidebarItemDropdownProps {
28
29
  content: DropdownItemProps[];