@fattureincloud/fic-design-system 0.5.1 → 0.5.3
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.
- package/dist/common/components/typography/Typography.d.ts +11 -11
- package/dist/components/floatingBadge/{floatingBadge.d.ts → FloatingBadge.d.ts} +0 -0
- package/dist/components/floatingBadge/{withBadge.d.ts → WithBadge.d.ts} +0 -0
- package/dist/components/floatingBadge/types.d.ts +6 -1
- package/dist/components/layout/sidebarItem/types.d.ts +2 -2
- package/dist/components/progressbar/{progressbar.d.ts → ProgressBar.d.ts} +0 -0
- package/dist/components/progressbar/{progressbar.stories.d.ts → progressBar.stories.d.ts} +0 -0
- package/dist/components/tip/{shortcutTip.d.ts → ShortcutTip.d.ts} +0 -0
- package/dist/components/tip/{tip.d.ts → Tip.d.ts} +0 -0
- package/dist/components/toast/types.d.ts +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -599
- package/dist/components/banner/utils.d.ts +0 -8
- package/dist/components/chips/chips.d.ts +0 -3
- package/dist/components/chips/chips.stories.d.ts +0 -6
- package/dist/components/chips/components/styledChipWrapper.d.ts +0 -4
- package/dist/components/chips/index.d.ts +0 -2
- package/dist/components/chips/styled.d.ts +0 -3
- package/dist/components/chips/types.d.ts +0 -11
- package/dist/components/form/checkbox/components/Input.d.ts +0 -9
- package/dist/components/form/checkbox/components/Label.d.ts +0 -8
- package/dist/components/groupRadioButton/index.d.ts +0 -23
- package/dist/components/groupRadioButton/radio-group.stories.d.ts +0 -6
- package/dist/components/inlineMessages/components/styledInlineMessageWrapper.d.ts +0 -8
- package/dist/components/inlineMessages/index.d.ts +0 -2
- package/dist/components/inlineMessages/inlineMessages.d.ts +0 -4
- package/dist/components/inlineMessages/inlineMessages.stories.d.ts +0 -7
- package/dist/components/inlineMessages/types.d.ts +0 -29
- package/dist/components/pagination/paginationStyledWrapper.d.ts +0 -1
- package/dist/components/progressbar/components/styledProgressbarWrapper.d.ts +0 -2
- package/dist/components/radioButton/components/label.d.ts +0 -2
- package/dist/components/radioButton/components/radio.d.ts +0 -2
- package/dist/components/radioButton/index.d.ts +0 -2
- package/dist/components/radioButton/radio.stories.d.ts +0 -6
- package/dist/components/radioButton/typings/radioButton.d.ts +0 -21
- package/dist/components/tip/components/styledTip.d.ts +0 -4
- package/dist/components/toast/ToastContainer.d.ts +0 -9
- package/dist/components/toast/typings/toast.d.ts +0 -34
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { InlineMessagesProps, StyledContentProps } from '../types';
|
|
3
|
-
export declare const StyledIconTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const StyledContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const StyledInlineMessageWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, InlineMessagesProps, never>;
|
|
6
|
-
export declare const StyledIconContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, StyledContentProps, never>;
|
|
7
|
-
export declare const StyledCloseIconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const StyledCloseIcon: import("styled-components").StyledComponent<({ onClick, isDisabled, ...props }: import("../../icon").IconProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Meta } from '@storybook/react';
|
|
3
|
-
import { InlineMessagesProps } from './types';
|
|
4
|
-
export declare const Colors: () => JSX.Element;
|
|
5
|
-
export declare const Sizes: () => JSX.Element;
|
|
6
|
-
declare const InlineMessageStories: Meta<InlineMessagesProps>;
|
|
7
|
-
export default InlineMessageStories;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IconProps } from '../icon';
|
|
3
|
-
export declare type MessageType = 'standard' | 'error' | 'info' | 'warning' | 'success';
|
|
4
|
-
export interface InlineMessagesProps {
|
|
5
|
-
icon?: IconProps;
|
|
6
|
-
renderIcon?: () => JSX.Element;
|
|
7
|
-
title?: string;
|
|
8
|
-
content?: string;
|
|
9
|
-
size?: 'medium' | 'large';
|
|
10
|
-
type?: MessageType;
|
|
11
|
-
renderTitle?: () => JSX.Element;
|
|
12
|
-
renderContent?: () => JSX.Element;
|
|
13
|
-
onClose?: () => void;
|
|
14
|
-
closeIcon?: IconProps;
|
|
15
|
-
renderCloseIcon?: () => JSX.Element;
|
|
16
|
-
componentStyle?: InlineMessageStyle;
|
|
17
|
-
}
|
|
18
|
-
export interface InlineMessageStyle {
|
|
19
|
-
root?: Record<string, unknown>;
|
|
20
|
-
icon?: Record<string, unknown>;
|
|
21
|
-
contentWrapper?: Record<string, unknown>;
|
|
22
|
-
title?: Record<string, unknown>;
|
|
23
|
-
content?: Record<string, unknown>;
|
|
24
|
-
}
|
|
25
|
-
export interface UnstyledInlineMessagePropsInterface extends InlineMessagesProps {
|
|
26
|
-
}
|
|
27
|
-
export interface StyledContentProps {
|
|
28
|
-
margin: boolean;
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const StyledWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Meta } from '@storybook/react';
|
|
3
|
-
import { RadioButtonInterface } from './typings/radioButton';
|
|
4
|
-
export declare const WithKnobs: () => JSX.Element;
|
|
5
|
-
declare const RadioButtonStories: Meta<RadioButtonInterface>;
|
|
6
|
-
export default RadioButtonStories;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface RadioInterface {
|
|
3
|
-
isDisabled?: boolean;
|
|
4
|
-
isChecked: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface LabelInterface {
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface RadioButtonInterface extends RadioInterface {
|
|
10
|
-
className?: string;
|
|
11
|
-
label: string;
|
|
12
|
-
inline?: boolean;
|
|
13
|
-
onClick: () => void;
|
|
14
|
-
optionsSpacing?: number;
|
|
15
|
-
renderOption?: (props: {
|
|
16
|
-
isDisabled?: boolean;
|
|
17
|
-
isChecked: boolean;
|
|
18
|
-
label: string;
|
|
19
|
-
}) => JSX.Element;
|
|
20
|
-
}
|
|
21
|
-
export declare type TRadioButton = React.FunctionComponent<RadioButtonInterface>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const StyledTip: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
-
export declare const StyledLeftIcon: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const StyledText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const StyledCloseIcon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ToastContainerProps } from './typings/toast';
|
|
3
|
-
export declare const ToastContainer: import("styled-components").StyledComponent<import("react").FC<import("react-toastify").ToastContainerProps>, import("styled-components").DefaultTheme, {
|
|
4
|
-
hideProgressBar: true;
|
|
5
|
-
newestOnTop: true;
|
|
6
|
-
closeOnClick: false;
|
|
7
|
-
draggable: false;
|
|
8
|
-
rtl: false;
|
|
9
|
-
} & ToastContainerProps, "draggable" | "rtl" | "closeOnClick" | "newestOnTop" | "hideProgressBar">;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { ToastPosition } from 'react-toastify/dist/types';
|
|
3
|
-
import { IconProps } from '../../icon';
|
|
4
|
-
export declare type toastType = 'standard' | 'error' | 'info' | 'warning' | 'success';
|
|
5
|
-
export declare type toastLibraryType = 'dark' | 'error' | 'info' | 'warning' | 'success';
|
|
6
|
-
export declare const typeMap: Record<toastType, toastLibraryType>;
|
|
7
|
-
export interface ToastProps {
|
|
8
|
-
type?: toastType;
|
|
9
|
-
content?: ReactNode;
|
|
10
|
-
icon?: IconProps;
|
|
11
|
-
actionLabel?: string;
|
|
12
|
-
onActionClick?: () => void;
|
|
13
|
-
autoClose?: false;
|
|
14
|
-
}
|
|
15
|
-
export interface ToastContentProps {
|
|
16
|
-
title: ReactNode;
|
|
17
|
-
content?: ReactNode;
|
|
18
|
-
icon: IconProps;
|
|
19
|
-
actionLabel?: string;
|
|
20
|
-
onActionClick?: () => void;
|
|
21
|
-
}
|
|
22
|
-
export interface ToastInterface {
|
|
23
|
-
Container: React.FC<ToastContainerProps>;
|
|
24
|
-
show: (title: ReactNode, options: ToastProps) => string | undefined;
|
|
25
|
-
dismiss: (toastId: string | undefined) => void;
|
|
26
|
-
success: (title: ReactNode, options?: ToastProps) => string | undefined;
|
|
27
|
-
error: (title: ReactNode, options?: ToastProps) => string | undefined;
|
|
28
|
-
info: (title: ReactNode, options?: ToastProps) => string | undefined;
|
|
29
|
-
warning: (title: ReactNode, options?: ToastProps) => string | undefined;
|
|
30
|
-
standard: (title: ReactNode, options?: ToastProps) => string | undefined;
|
|
31
|
-
}
|
|
32
|
-
export interface ToastContainerProps {
|
|
33
|
-
position: ToastPosition;
|
|
34
|
-
}
|