@fluidattacks/design 3.19.3 → 3.19.4
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/components/button/index.d.ts +0 -1
- package/dist/components/button/index.stories.d.ts +1 -1
- package/dist/components/container/index.d.ts +1 -0
- package/dist/components/empty-state/index.d.ts +2 -1
- package/dist/components/inputs/index.d.ts +2 -2
- package/dist/components/list-item/index.d.ts +1 -0
- package/dist/components/modal/columns-modal/preview-panel/styles.d.ts +1 -1
- package/dist/components/modal/columns-modal/search-panel/styles.d.ts +1 -1
- package/dist/components/modal/filters-modal/filters-list/styles.d.ts +1 -1
- package/dist/components/modal/filters-modal/styles.d.ts +1 -1
- package/dist/components/modal/styles.d.ts +2 -2
- package/dist/components/notification/index.d.ts +2 -1
- package/dist/components/timeline/index.d.ts +2 -1
- package/dist/components/toggle/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta } from '@storybook/react';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
|
-
import { IButtonProps } from '
|
|
3
|
+
import { IButtonProps } from './types';
|
|
4
4
|
declare const config: Meta;
|
|
5
5
|
declare const Default: import('@storybook/core/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, PropsWithChildren<IButtonProps>>;
|
|
6
6
|
declare const Secondary: import('@storybook/core/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, PropsWithChildren<IButtonProps>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { IContainerProps } from './types';
|
|
3
3
|
declare const Container: import('react').ForwardRefExoticComponent<Readonly<PropsWithChildren<IContainerProps>> & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export type { IContainerProps };
|
|
4
5
|
export { Container };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { IEmptyProps } from './types';
|
|
1
|
+
import { IButtonProps, IEmptyProps } from './types';
|
|
2
2
|
declare const EmptyState: ({ cancelButton, confirmButton, description, imageSrc, padding, title, size, }: Readonly<IEmptyProps>) => JSX.Element;
|
|
3
|
+
export type { IButtonProps, IEmptyProps };
|
|
3
4
|
export { EmptyState };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComboBox, IItem } from './fields/combobox';
|
|
1
|
+
import { ComboBox, IComboBoxProps, IItem } from './fields/combobox';
|
|
2
2
|
import { InputDate } from './fields/date';
|
|
3
3
|
import { InputDateRange } from './fields/date-range';
|
|
4
4
|
import { InputDateTime } from './fields/date-time';
|
|
@@ -12,4 +12,4 @@ import { InputNumberRange } from './fields/number-range';
|
|
|
12
12
|
import { PhoneInput } from './fields/phone';
|
|
13
13
|
import { TextArea } from './fields/text-area';
|
|
14
14
|
import { OutlineContainer } from './outline-container';
|
|
15
|
-
export { type IItem, OutlineContainer, PhoneInput, ComboBox, Input, InputArray, InputDate, InputDateRange, InputDateTime, InputFile, InputNumber, InputTags, InputNumberRange, TextArea, Editable, };
|
|
15
|
+
export { type IComboBoxProps, type IItem, OutlineContainer, PhoneInput, ComboBox, Input, InputArray, InputDate, InputDateRange, InputDateTime, InputFile, InputNumber, InputTags, InputNumberRange, TextArea, Editable, };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ListItemsWrapper } from './styles';
|
|
2
2
|
import { IListItemProps } from './types';
|
|
3
3
|
declare const ListItem: ({ children, disabled, icon, iconType, href, onClick, onClickIcon, onKeyDown, rightIcon, selected, value, ...props }: Readonly<IListItemProps>) => JSX.Element;
|
|
4
|
+
export type { IListItemProps };
|
|
4
5
|
export { ListItem, ListItemsWrapper };
|
|
@@ -372,5 +372,5 @@ declare const StyledReorderItem: import('styled-components').IStyledComponent<"w
|
|
|
372
372
|
readonly rightIcon?: import('../../../@core').IIconModifiable["icon"] | undefined;
|
|
373
373
|
readonly onClickIcon?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
|
|
374
374
|
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
|
375
|
-
}> & (({ children, disabled, icon, iconType, href, onClick, onClickIcon, onKeyDown, rightIcon, selected, value, ...props }: Readonly<import('../../../list-item
|
|
375
|
+
}> & (({ children, disabled, icon, iconType, href, onClick, onClickIcon, onKeyDown, rightIcon, selected, value, ...props }: Readonly<import('../../../list-item').IListItemProps>) => JSX.Element);
|
|
376
376
|
export { StyledReorderItem };
|
|
@@ -372,5 +372,5 @@ declare const StyledList: import('styled-components').IStyledComponent<"web", {
|
|
|
372
372
|
readonly rightIcon?: import('../../../@core').IIconModifiable["icon"] | undefined;
|
|
373
373
|
readonly onClickIcon?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
|
|
374
374
|
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
|
375
|
-
}> & (({ children, disabled, icon, iconType, href, onClick, onClickIcon, onKeyDown, rightIcon, selected, value, ...props }: Readonly<import('../../../list-item
|
|
375
|
+
}> & (({ children, disabled, icon, iconType, href, onClick, onClickIcon, onKeyDown, rightIcon, selected, value, ...props }: Readonly<import('../../../list-item').IListItemProps>) => JSX.Element);
|
|
376
376
|
export { StyledList };
|
|
@@ -372,5 +372,5 @@ declare const StyledList: import('styled-components').IStyledComponent<"web", {
|
|
|
372
372
|
readonly rightIcon?: import('../../../@core').IIconModifiable["icon"] | undefined;
|
|
373
373
|
readonly onClickIcon?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
|
|
374
374
|
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
|
375
|
-
}> & (({ children, disabled, icon, iconType, href, onClick, onClickIcon, onKeyDown, rightIcon, selected, value, ...props }: Readonly<import('../../../list-item
|
|
375
|
+
}> & (({ children, disabled, icon, iconType, href, onClick, onClickIcon, onKeyDown, rightIcon, selected, value, ...props }: Readonly<import('../../../list-item').IListItemProps>) => JSX.Element);
|
|
376
376
|
export { StyledList };
|
|
@@ -643,5 +643,5 @@ declare const StyledList: import('styled-components').IStyledComponent<"web", {
|
|
|
643
643
|
readonly rightIcon?: import('../../@core').IIconModifiable["icon"] | undefined;
|
|
644
644
|
readonly onClickIcon?: import('react').MouseEventHandler<HTMLSpanElement> | undefined;
|
|
645
645
|
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
|
646
|
-
}> & (({ children, disabled, icon, iconType, href, onClick, onClickIcon, onKeyDown, rightIcon, selected, value, ...props }: Readonly<import('../../list-item
|
|
646
|
+
}> & (({ children, disabled, icon, iconType, href, onClick, onClickIcon, onKeyDown, rightIcon, selected, value, ...props }: Readonly<import('../../list-item').IListItemProps>) => JSX.Element);
|
|
647
647
|
export { ModalWrapper, StyledList };
|
|
@@ -270,11 +270,11 @@ declare const ModalWrapper: import('styled-components').IStyledComponent<"web",
|
|
|
270
270
|
}, {
|
|
271
271
|
$bgColor?: string;
|
|
272
272
|
}>>;
|
|
273
|
-
declare const ModalContainer: import('styled-components').IStyledComponent<"web", import('styled-components/dist/types').Substitute<Omit<Readonly<import('react').PropsWithChildren<import('../container
|
|
273
|
+
declare const ModalContainer: import('styled-components').IStyledComponent<"web", import('styled-components/dist/types').Substitute<Omit<Readonly<import('react').PropsWithChildren<import('../container').IContainerProps>> & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
|
|
274
274
|
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
275
275
|
}, {
|
|
276
276
|
$size: TSize;
|
|
277
|
-
}>> & import('react').ForwardRefExoticComponent<Readonly<import('react').PropsWithChildren<import('../container
|
|
277
|
+
}>> & import('react').ForwardRefExoticComponent<Readonly<import('react').PropsWithChildren<import('../container').IContainerProps>> & import('react').RefAttributes<HTMLDivElement>>;
|
|
278
278
|
declare const ModalContent: import('styled-components').IStyledComponent<"web", {
|
|
279
279
|
ref?: import('react').LegacyRef<HTMLDivElement> | undefined;
|
|
280
280
|
key?: import('react').Key | null | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { INotificationProps } from './types';
|
|
1
|
+
import { INotificationProps, TNotificationVariant } from './types';
|
|
2
2
|
declare const Notification: ({ description, onClose, title, variant, }: Readonly<INotificationProps>) => JSX.Element;
|
|
3
|
+
export type { INotificationProps, TNotificationVariant };
|
|
3
4
|
export { Notification };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TimeLineCard } from './card';
|
|
2
|
-
import { ITimelineProps } from './types';
|
|
2
|
+
import { ITimelineCardProps, ITimelineProps, TTimelineContainerSize } from './types';
|
|
3
3
|
declare const TimeLine: ({ items }: Readonly<ITimelineProps>) => JSX.Element;
|
|
4
|
+
export type { ITimelineCardProps, ITimelineProps, TTimelineContainerSize };
|
|
4
5
|
export { TimeLineCard, TimeLine };
|
package/package.json
CHANGED