@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.
@@ -1,4 +1,3 @@
1
1
  import { IButtonProps } from './types';
2
2
  declare const Button: import('react').ForwardRefExoticComponent<Readonly<IButtonProps> & import('react').RefAttributes<HTMLButtonElement>>;
3
- export type { IButtonProps };
4
3
  export { Button };
@@ -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/types').IListItemProps>) => JSX.Element);
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/types').IListItemProps>) => JSX.Element);
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/types').IListItemProps>) => JSX.Element);
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/types').IListItemProps>) => JSX.Element);
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/types').IContainerProps>> & import('react').RefAttributes<HTMLDivElement>, "ref"> & {
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/types').IContainerProps>> & import('react').RefAttributes<HTMLDivElement>>;
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 };
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { IToggleProps } from './types';
3
3
  declare const Toggle: React.ForwardRefExoticComponent<Readonly<IToggleProps> & React.RefAttributes<HTMLInputElement>>;
4
+ export type { IToggleProps };
4
5
  export { Toggle };
package/package.json CHANGED
@@ -115,5 +115,5 @@
115
115
  "test-storybook": "test-storybook"
116
116
  },
117
117
  "typings": "./dist/index.d.ts",
118
- "version": "3.19.3"
118
+ "version": "3.19.4"
119
119
  }