@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.
- package/dist/components/floatingBadge/types.d.ts +1 -0
- package/dist/components/layout/sidebarItem/styled.d.ts +1 -0
- package/dist/components/layout/sidebarItem/types.d.ts +4 -3
- package/dist/index.esm.js +6 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
@@ -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
|
2
|
+
import { colorsPalette } from '../../../common/types';
|
3
3
|
import { paletteColor } from '../../../styles/types';
|
4
|
-
import { DropdownItemProps } from '../../dropdown
|
5
|
-
import { BadgeSize, FloatingBadgeType } from '../../floatingBadge
|
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[];
|