@fattureincloud/fic-design-system 0.19.11 → 0.19.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/form/inputText/components/types.d.ts +1 -1
- package/dist/components/form/inputText/components/unitDropdown/UnitDropdown.d.ts +1 -1
- package/dist/components/form/inputText/components/unitDropdown/styled.d.ts +3 -1
- package/dist/components/tooltip/Tooltip.d.ts +1 -1
- package/dist/components/tooltip/types.d.ts +2 -1
- package/dist/index.esm.js +7 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DropdownProps } from '../../../dropdown/types';
|
2
|
-
declare type BaseDropdownProps = Pick<DropdownProps, 'placement' | 'className' | 'triggerStyles' | 'content' | 'maxWidth' | 'minWidthAsTrigger'>;
|
2
|
+
declare type BaseDropdownProps = Pick<DropdownProps, 'placement' | 'className' | 'triggerStyles' | 'content' | 'maxWidth' | 'minWidthAsTrigger' | 'isDisabled'>;
|
3
3
|
declare type UnitDropdownRenderContentProps = BaseDropdownProps & {
|
4
4
|
createUnit?: never;
|
5
5
|
currentUnit: string;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { UnitDropdownProps } from '../types';
|
3
|
-
declare const UnitDropdown: ({ createUnit, currentUnit, items, renderContent, setCurrentUnit, unitTriggerMaxWidth, ...dropdownProps }: UnitDropdownProps) => JSX.Element;
|
3
|
+
declare const UnitDropdown: ({ createUnit, currentUnit, isDisabled, items, renderContent, setCurrentUnit, unitTriggerMaxWidth, ...dropdownProps }: UnitDropdownProps) => JSX.Element;
|
4
4
|
export default UnitDropdown;
|
@@ -2,4 +2,6 @@ import Dropdown from '../../../../dropdown/dropdown';
|
|
2
2
|
export declare const CustomDropdownWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
3
3
|
unitTriggerMaxWidth: string;
|
4
4
|
}, never>;
|
5
|
-
export declare const CustomDropdown: import("styled-components").StyledComponent<typeof Dropdown, import("styled-components").DefaultTheme, {
|
5
|
+
export declare const CustomDropdown: import("styled-components").StyledComponent<typeof Dropdown, import("styled-components").DefaultTheme, {
|
6
|
+
isDisabled?: boolean | undefined;
|
7
|
+
}, never>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { TooltipProps } from './types';
|
3
3
|
export declare const defaultTooltipProps: TooltipProps;
|
4
|
-
declare const Tooltip: ({ callbackAfterTimeout, children, className, hideAfterSeconds, icon, message, onMouseEnter, onMouseLeave, onMouseLeaveHideDelay, onOpen, placement, positionStrategy, renderButton, shouldRender, showAfterSeconds, showAlways, style, type, usePortal, }: TooltipProps) => JSX.Element;
|
4
|
+
declare const Tooltip: ({ callbackAfterTimeout, children, className, hideAfterSeconds, icon, message, onMouseEnter, onMouseLeave, onMouseLeaveHideDelay, onOpen, placement, portalContainer, positionStrategy, renderButton, shouldRender, showAfterSeconds, showAlways, style, type, usePortal, }: TooltipProps) => JSX.Element;
|
5
5
|
export default Tooltip;
|
@@ -14,11 +14,12 @@ export interface TooltipProps {
|
|
14
14
|
onMouseLeaveHideDelay?: number;
|
15
15
|
onOpen?: (isOpen: boolean) => void;
|
16
16
|
placement?: BasePlacement;
|
17
|
+
portalContainer?: HTMLElement;
|
17
18
|
positionStrategy?: 'fixed' | 'absolute';
|
18
19
|
renderButton?: () => JSX.Element;
|
20
|
+
shouldRender?: boolean;
|
19
21
|
showAfterSeconds?: number;
|
20
22
|
showAlways?: boolean;
|
21
|
-
shouldRender?: boolean;
|
22
23
|
style?: React.CSSProperties;
|
23
24
|
type?: tooltipTypes;
|
24
25
|
usePortal?: boolean;
|