@fattureincloud/fic-design-system 0.4.1 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/components/badge/index.d.ts +3 -0
  3. package/dist/components/buttons/button/Button.d.ts +2 -2
  4. package/dist/components/form/checkbox/components/Input.d.ts +1 -1
  5. package/dist/components/form/checkbox/components/Label.d.ts +1 -1
  6. package/dist/components/form/checkbox/utils.d.ts +2 -2
  7. package/dist/components/form/common/types.d.ts +1 -1
  8. package/dist/components/form/inputText/components/InputElement.d.ts +2 -2
  9. package/dist/components/form/inputText/components/utils.d.ts +1 -1
  10. package/dist/components/form/label/Label.d.ts +2 -2
  11. package/dist/components/form/select/Select.d.ts +4 -4
  12. package/dist/components/form/select/SelectWrapper.d.ts +1 -1
  13. package/dist/components/form/select/components/ClearIndicator.d.ts +1 -1
  14. package/dist/components/form/select/components/Control.d.ts +1 -1
  15. package/dist/components/form/select/components/DropdownIndicator.d.ts +1 -1
  16. package/dist/components/form/select/components/MenuList.d.ts +1 -1
  17. package/dist/components/form/select/components/Option.d.ts +3 -3
  18. package/dist/components/form/select/components/Placeholder.d.ts +1 -1
  19. package/dist/components/form/select/components.d.ts +2 -1
  20. package/dist/components/form/select/hooks/useSelectThemeStyles.d.ts +3 -2
  21. package/dist/components/form/select/hooks/useSelectValue.d.ts +6 -6
  22. package/dist/components/form/select/index.d.ts +3 -1
  23. package/dist/components/form/select/select.stories.d.ts +2 -1
  24. package/dist/components/form/select/types.d.ts +5 -5
  25. package/dist/components/form/select/utils.d.ts +1 -1
  26. package/dist/components/form/textArea/components/TextAreaElement.d.ts +2 -2
  27. package/dist/components/form/textArea/components/utils.d.ts +1 -1
  28. package/dist/components/groupedList/index.d.ts +2 -1
  29. package/dist/components/layout/sidebarItem/sidebarItem.stories.d.ts +5 -1
  30. package/dist/components/microTag/index.d.ts +2 -2
  31. package/dist/components/tag/index.d.ts +2 -1
  32. package/dist/index.d.ts +6 -6
  33. package/dist/index.esm.js +2 -2
  34. package/dist/index.esm.js.map +1 -1
  35. package/dist/index.js +1 -1
  36. package/dist/index.js.map +1 -1
  37. package/package.json +2 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.4.4 - 25/01/2022
4
+
5
+ ### 🐛 Bug Fix
6
+
7
+ - Move SidebarItem Dropdown on the left in Safari
8
+
9
+ ## v0.4.3 - 21/01/2022
10
+
11
+ ### 🐛 Bug Fix
12
+
13
+ - Remove the Checkbox `Label` tag when prop `text` is missing
14
+
15
+ ### 💅 Enhancement
16
+
17
+ - Change Button `text` prop from `string | JSX.Element` to `ReactText | JSX.Element`
18
+
19
+ ## v0.4.2 - 19/01/2022
20
+
21
+ ### 🐛 Bug Fix
22
+
23
+ - Fix Dropdown content appearance animation in Safari (animation removed)
24
+ - Fix absent Select typings
25
+ - Fix Select Option multiline appearance
26
+
27
+ ### 💅 Enhancement
28
+
29
+ - Change all occurrences of `isDisabled` prop to `disabled` for "form" components
30
+
3
31
  ## v0.4.1 - 14/01/2022
4
32
 
5
33
  ### 🐛 Bug Fix
@@ -0,0 +1,3 @@
1
+ import { Badge } from './Badge';
2
+ import { BadgeProps } from './types';
3
+ export { Badge, BadgeProps };
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import { ReactText } from 'react';
2
2
  import { IconProps } from '../../icon';
3
3
  import { WrapperProps } from './types';
4
4
  export interface ButtonProps extends Partial<WrapperProps> {
5
- text?: string | JSX.Element;
5
+ text?: ReactText | JSX.Element;
6
6
  iconLeft?: IconProps;
7
7
  iconRight?: IconProps;
8
8
  isLoading?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { checkboxStatus, CheckboxStyles } from '../types';
2
2
  export interface CheckboxInputProps {
3
3
  value: checkboxStatus;
4
- isDisabled?: boolean;
4
+ disabled?: boolean;
5
5
  large?: boolean;
6
6
  hasError: boolean;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { MappedLabelProps } from '../types';
2
2
  export interface CheckboxLabelProps {
3
3
  large?: boolean;
4
- isDisabled?: boolean;
4
+ disabled?: boolean;
5
5
  hasError: boolean;
6
6
  }
7
7
  declare const Label: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, MappedLabelProps & CheckboxLabelProps, keyof MappedLabelProps>;
@@ -6,11 +6,11 @@ import { checkboxStatus, CheckboxStyles } from './types';
6
6
  interface InputMapParams extends CheckboxInputProps {
7
7
  theme: DefaultTheme;
8
8
  }
9
- export declare const getInputStyle: ({ theme, value, isDisabled, large, hasError }: InputMapParams) => CheckboxStyles;
9
+ export declare const getInputStyle: ({ theme, value, disabled, large, hasError }: InputMapParams) => CheckboxStyles;
10
10
  interface LabelMapProps extends CheckboxLabelProps {
11
11
  theme: DefaultTheme;
12
12
  }
13
- export declare const getLabelStyle: ({ isDisabled, large, theme, hasError }: LabelMapProps) => {
13
+ export declare const getLabelStyle: ({ disabled, large, theme, hasError }: LabelMapProps) => {
14
14
  fontSize: string;
15
15
  cursor: string;
16
16
  opacity: number;
@@ -7,7 +7,7 @@ export declare const statusesArray: string[];
7
7
  export declare type statusType = typeof statusesArray[number];
8
8
  export interface CommonFormTypes {
9
9
  inputSize?: inputSizeType;
10
- isDisabled?: boolean;
10
+ disabled?: boolean;
11
11
  helper?: InputHelperProps;
12
12
  status?: statusType;
13
13
  }
@@ -1,6 +1,6 @@
1
1
  import { BoxedInputWrapperProps } from '../../common/styles';
2
2
  import { InputElementProps } from '../types';
3
- declare const InputElement: ({ autoFocus, onBlur, onChange, value, placeholder, isDisabled, name, inputSize, leadingIcon, onKeyPress, status, onKeyDown, onKeyUp, inputType, onFocus, className, actionIcon, setValue, }: InputElementProps) => JSX.Element;
4
- export declare type InputTextWrapperProps = Pick<InputElementProps, 'isDisabled' | 'status'>;
3
+ declare const InputElement: ({ autoFocus, onBlur, onChange, value, placeholder, disabled, name, inputSize, leadingIcon, onKeyPress, status, onKeyDown, onKeyUp, inputType, onFocus, className, actionIcon, setValue, }: InputElementProps) => JSX.Element;
4
+ export declare type InputTextWrapperProps = Pick<InputElementProps, 'disabled' | 'status'>;
5
5
  export declare type InputTextStyles = Omit<BoxedInputWrapperProps, 'status'>;
6
6
  export default InputElement;
@@ -3,5 +3,5 @@ import { InputTextStyles, InputTextWrapperProps } from './InputElement';
3
3
  interface GetInputTextParams extends InputTextWrapperProps {
4
4
  theme: DefaultTheme;
5
5
  }
6
- export declare const getInputTextStyles: ({ theme, isDisabled, status }: GetInputTextParams) => InputTextStyles;
6
+ export declare const getInputTextStyles: ({ theme, disabled, status }: GetInputTextParams) => InputTextStyles;
7
7
  export {};
@@ -1,9 +1,9 @@
1
1
  export interface LabelProps extends WrapperProps {
2
2
  label?: string;
3
3
  }
4
- declare const Label: ({ label, isDisabled, required }: LabelProps) => JSX.Element | null;
4
+ declare const Label: ({ label, disabled, required }: LabelProps) => JSX.Element | null;
5
5
  interface WrapperProps {
6
- isDisabled?: boolean;
6
+ disabled?: boolean;
7
7
  required?: boolean;
8
8
  }
9
9
  export default Label;
@@ -1,6 +1,6 @@
1
1
  import { OptionType } from './components/Option';
2
2
  import { AsyncCreatableSelectProps, AsyncSelectProps, CreatableSelectProps, SelectProps } from './types';
3
- export declare const Select: <IsMulti extends boolean = false>(props: SelectProps<IsMulti, import("react-select").Props<OptionType, IsMulti, import("react-select").GroupTypeBase<OptionType>>>) => JSX.Element;
4
- export declare const CreatableSelect: <IsMulti extends boolean = false>(props: CreatableSelectProps<IsMulti>) => JSX.Element;
5
- export declare const AsyncSelect: <IsMulti extends boolean = false>(props: AsyncSelectProps<IsMulti>) => JSX.Element;
6
- export declare const AsyncCreatableSelect: <IsMulti extends boolean = false>(props: AsyncCreatableSelectProps<IsMulti>) => JSX.Element;
3
+ export declare const Select: <O extends OptionType = OptionType, IsMulti extends boolean = false>(props: SelectProps<O, IsMulti, import("react-select").Props<O, IsMulti, import("react-select").GroupTypeBase<O>>>) => JSX.Element;
4
+ export declare const CreatableSelect: <O extends OptionType = OptionType, IsMulti extends boolean = false>(props: CreatableSelectProps<O, IsMulti>) => JSX.Element;
5
+ export declare const AsyncSelect: <O extends OptionType = OptionType, IsMulti extends boolean = false>(props: AsyncSelectProps<O, IsMulti>) => JSX.Element;
6
+ export declare const AsyncCreatableSelect: <O extends OptionType = OptionType, IsMulti extends boolean = false>(props: AsyncCreatableSelectProps<O, IsMulti>) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { BoxedInputWrapperProps } from '../common/styles';
2
2
  import { SelectProps } from './types';
3
- export declare type SelectWrapperProps = Pick<SelectProps, 'isDisabled' | 'status' | 'inputSize'>;
3
+ export declare type SelectWrapperProps = Pick<SelectProps, 'disabled' | 'status' | 'inputSize'>;
4
4
  export declare type SelectStyles = Omit<BoxedInputWrapperProps, 'status'>;
5
5
  export declare const SelectWrapper: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, SelectStyles & SelectWrapperProps, "color" | "background" | "borderColor" | "normalFocused">;
@@ -1,4 +1,4 @@
1
1
  import { IndicatorProps } from 'react-select/src/components/indicators';
2
2
  import { OptionType } from './Option';
3
- declare const ClearIndicator: <IsMulti extends boolean = false>({ isDisabled, clearValue, }: IndicatorProps<OptionType, IsMulti, import("react-select").GroupTypeBase<OptionType>>) => JSX.Element;
3
+ declare const ClearIndicator: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ isDisabled, clearValue, }: IndicatorProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
4
4
  export default ClearIndicator;
@@ -1,4 +1,4 @@
1
1
  import { ControlProps } from 'react-select';
2
2
  import { OptionType } from './Option';
3
- declare const Control: <IsMulti extends boolean = false>({ innerProps: { onMouseDown }, children, }: ControlProps<OptionType, IsMulti, import("react-select").GroupTypeBase<OptionType>>) => JSX.Element;
3
+ declare const Control: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ innerProps: { onMouseDown }, children, }: ControlProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
4
4
  export default Control;
@@ -1,4 +1,4 @@
1
1
  import { IndicatorProps } from 'react-select';
2
2
  import { OptionType } from './Option';
3
- declare const DropdownIndicator: <IsMulti extends boolean = false>({ selectProps, }: IndicatorProps<OptionType, IsMulti, import("react-select").GroupTypeBase<OptionType>>) => JSX.Element;
3
+ declare const DropdownIndicator: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ selectProps, }: IndicatorProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
4
4
  export default DropdownIndicator;
@@ -1,4 +1,4 @@
1
1
  import { MenuListComponentProps } from 'react-select/src/components/Menu';
2
2
  import { OptionType } from './Option';
3
- declare const MenuList: <IsMulti extends boolean = false>(props: MenuListComponentProps<OptionType, IsMulti, import("react-select").GroupTypeBase<OptionType>>) => JSX.Element;
3
+ declare const MenuList: <O extends OptionType = OptionType, IsMulti extends boolean = false>(props: MenuListComponentProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
4
4
  export default MenuList;
@@ -4,10 +4,10 @@ import { IconProps } from '../../../icon';
4
4
  export interface OptionType extends OptionTypeBase {
5
5
  icon?: IconProps;
6
6
  label: string;
7
- value: string;
7
+ value: any;
8
8
  }
9
- interface Props<IsMulti extends boolean = false> extends Omit<OptionProps<OptionType, IsMulti>, 'data'> {
9
+ interface Props<O extends OptionType = OptionType, IsMulti extends boolean = false> extends Omit<OptionProps<O, IsMulti>, 'data'> {
10
10
  data: OptionType;
11
11
  }
12
- declare const Option: <IsMulti extends boolean = false>({ innerProps: { onClick }, data: { label, icon }, }: Props<IsMulti>) => JSX.Element;
12
+ declare const Option: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ innerProps: { onClick }, data: { label, icon }, }: Props<O, IsMulti>) => JSX.Element;
13
13
  export default Option;
@@ -1,4 +1,4 @@
1
1
  import { PlaceholderProps } from 'react-select';
2
2
  import { OptionType } from './Option';
3
- declare const Placeholder: <IsMulti extends boolean = false>({ children, }: PlaceholderProps<OptionType, IsMulti, import("react-select").GroupTypeBase<OptionType>>) => JSX.Element;
3
+ declare const Placeholder: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ children, }: PlaceholderProps<O, IsMulti, import("react-select").GroupTypeBase<O>>) => JSX.Element;
4
4
  export default Placeholder;
@@ -1,2 +1,3 @@
1
+ import { OptionType } from './components/Option';
1
2
  import { SelectProps } from './types';
2
- export declare const getCustomComponents: <IsMulti extends boolean = false>() => Partial<import("react-select/src/components").SelectComponents<import("./components/Option").OptionType, IsMulti, import("react-select").GroupTypeBase<import("./components/Option").OptionType>>> | undefined;
3
+ export declare const getCustomComponents: <O extends OptionType = OptionType, IsMulti extends boolean = false>() => Partial<import("react-select/src/components").SelectComponents<O, IsMulti, import("react-select").GroupTypeBase<O>>> | undefined;
@@ -1,8 +1,9 @@
1
1
  import { statusType } from '../../common/types';
2
+ import { OptionType } from '../components/Option';
2
3
  import { SelectProps } from '../types';
3
4
  interface Props {
4
5
  status: statusType;
5
- isDisabled?: boolean;
6
+ disabled?: boolean;
6
7
  }
7
- declare const useSelectThemeStyles: <IsMulti extends boolean = false>({ status, isDisabled, }: Props) => Partial<import("react-select").Styles<import("../components/Option").OptionType, IsMulti, import("react-select").GroupTypeBase<import("../components/Option").OptionType>>> | undefined;
8
+ declare const useSelectThemeStyles: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ status, disabled, }: Props) => Partial<import("react-select").Styles<O, IsMulti, import("react-select").GroupTypeBase<O>>> | undefined;
8
9
  export default useSelectThemeStyles;
@@ -1,11 +1,11 @@
1
1
  import { Dispatch, SetStateAction } from 'react';
2
2
  import { ValueType } from 'react-select';
3
3
  import { OptionType } from '../components/Option';
4
- declare type valueType<IsMulti extends boolean = false> = ValueType<OptionType, IsMulti>;
5
- declare type ReturnType<IsMulti extends boolean = false> = [
6
- valueType<IsMulti> | undefined,
7
- Dispatch<SetStateAction<valueType<IsMulti> | undefined>>
4
+ declare type valueType<O extends OptionType = OptionType, IsMulti extends boolean = false> = ValueType<O, IsMulti>;
5
+ declare type ReturnType<O extends OptionType = OptionType, IsMulti extends boolean = false> = [
6
+ valueType<O, IsMulti> | undefined,
7
+ Dispatch<SetStateAction<valueType<O, IsMulti> | undefined>>
8
8
  ];
9
- export declare const useSelectValue: (initialValue?: valueType) => ReturnType<false>;
10
- export declare const useSelectMultiValues: (initialValue: valueType<true>) => ReturnType<true>;
9
+ export declare const useSelectValue: <O extends OptionType = OptionType>(initialValue?: O | null) => ReturnType<O, false>;
10
+ export declare const useSelectMultiValues: <O extends OptionType = OptionType>(initialValue: import("react-select").OptionsType<O>) => ReturnType<O, true>;
11
11
  export {};
@@ -1,6 +1,8 @@
1
1
  import { SelectActionsType } from './components/FooterActions';
2
+ import { OptionType } from './components/Option';
2
3
  import { useSelectMultiValues, useSelectValue } from './hooks/useSelectValue';
3
4
  import { AsyncCreatableSelect, AsyncSelect, CreatableSelect, Select } from './Select';
4
5
  import selectPalette, { SelectPalette } from './selectPalette';
5
6
  import { AsyncCreatableSelectProps, AsyncSelectProps, CreatableSelectProps, SelectProps } from './types';
6
- export { Select, CreatableSelect, AsyncSelect, AsyncCreatableSelect, SelectProps, AsyncSelectProps, AsyncCreatableSelectProps, CreatableSelectProps, SelectPalette, selectPalette, SelectActionsType, useSelectValue, useSelectMultiValues, };
7
+ declare type SelectComponentsType<O extends OptionType = OptionType, isMulti extends boolean = false> = Required<SelectProps<O, isMulti>['components']>;
8
+ export { Select, CreatableSelect, AsyncSelect, AsyncCreatableSelect, OptionType, SelectProps, AsyncSelectProps, AsyncCreatableSelectProps, CreatableSelectProps, SelectPalette, selectPalette, SelectActionsType, useSelectValue, useSelectMultiValues, SelectComponentsType, };
@@ -1,6 +1,7 @@
1
1
  import { Meta, Story } from '@storybook/react';
2
+ import { OptionType } from './components/Option';
2
3
  import { SelectProps } from './types';
3
4
  export declare const Single: Story<SelectProps>;
4
- export declare const Multi: Story<SelectProps<true>>;
5
+ export declare const Multi: Story<SelectProps<OptionType, true>>;
5
6
  declare const SelectStories: Meta<SelectProps>;
6
7
  export default SelectStories;
@@ -1,11 +1,11 @@
1
1
  import { Props as AsyncProps } from 'react-select/src/Async';
2
2
  import { Props as AsyncCreatableProps } from 'react-select/src/AsyncCreatable';
3
3
  import { Props as CreatableProps } from 'react-select/src/Creatable';
4
- import { Props as ReactSelectProps } from 'react-select/src/Select';
4
+ import { NamedProps, Props as ReactSelectProps } from 'react-select/src/Select';
5
5
  import { CommonFormTypes } from '../common/types';
6
6
  import { LabelProps } from '../label';
7
7
  import { OptionType } from './components/Option';
8
- export declare type SelectProps<isMulti extends boolean = false, T = ReactSelectProps<OptionType, isMulti>> = CommonFormTypes & LabelProps & T;
9
- export declare type CreatableSelectProps<isMulti extends boolean = false> = SelectProps<isMulti, CreatableProps<OptionType, isMulti>>;
10
- export declare type AsyncSelectProps<isMulti extends boolean = false> = SelectProps<isMulti, AsyncProps<OptionType, isMulti>>;
11
- export declare type AsyncCreatableSelectProps<isMulti extends boolean = false> = SelectProps<isMulti, AsyncCreatableProps<OptionType, isMulti>>;
8
+ export declare type SelectProps<O extends OptionType = OptionType, isMulti extends boolean = false, T = ReactSelectProps<O, isMulti>> = CommonFormTypes & LabelProps & T & NamedProps<O, isMulti>;
9
+ export declare type CreatableSelectProps<O extends OptionType = OptionType, isMulti extends boolean = false> = SelectProps<O, isMulti, CreatableProps<O, isMulti>>;
10
+ export declare type AsyncSelectProps<O extends OptionType = OptionType, isMulti extends boolean = false> = SelectProps<O, isMulti, AsyncProps<O, isMulti>>;
11
+ export declare type AsyncCreatableSelectProps<O extends OptionType = OptionType, isMulti extends boolean = false> = SelectProps<O, isMulti, AsyncCreatableProps<O, isMulti>>;
@@ -3,5 +3,5 @@ import { SelectStyles, SelectWrapperProps } from './SelectWrapper';
3
3
  interface GetSelectParams extends SelectWrapperProps {
4
4
  theme: DefaultTheme;
5
5
  }
6
- export declare const getSelectStyles: ({ theme, isDisabled, status }: GetSelectParams) => SelectStyles;
6
+ export declare const getSelectStyles: ({ theme, disabled, status }: GetSelectParams) => SelectStyles;
7
7
  export {};
@@ -1,6 +1,6 @@
1
1
  import { BoxedInputWrapperProps } from '../../common/styles';
2
2
  import { TextAreaElementProps } from '../types';
3
- declare const TextAreaElement: ({ autoFocus, onBlur, onChange, value, placeholder, isDisabled, name, onKeyPress, status, onKeyDown, onKeyUp, onFocus, className, setValue, initialHeight, maxLength, isResizable, showCounter, }: TextAreaElementProps) => JSX.Element;
4
- export declare type TextAreaWrapperProps = Pick<TextAreaElementProps, 'isDisabled' | 'status' | 'initialHeight' | 'isResizable'>;
3
+ declare const TextAreaElement: ({ autoFocus, onBlur, onChange, value, placeholder, disabled, name, onKeyPress, status, onKeyDown, onKeyUp, onFocus, className, setValue, initialHeight, maxLength, isResizable, showCounter, }: TextAreaElementProps) => JSX.Element;
4
+ export declare type TextAreaWrapperProps = Pick<TextAreaElementProps, 'disabled' | 'status' | 'initialHeight' | 'isResizable'>;
5
5
  export declare type TextAreaStyles = Omit<BoxedInputWrapperProps, 'status'>;
6
6
  export default TextAreaElement;
@@ -3,5 +3,5 @@ import { TextAreaStyles, TextAreaWrapperProps } from './TextAreaElement';
3
3
  interface GetTextAreaParams extends TextAreaWrapperProps {
4
4
  theme: DefaultTheme;
5
5
  }
6
- export declare const getTextAreaStyles: ({ theme, isDisabled, status }: GetTextAreaParams) => TextAreaStyles;
6
+ export declare const getTextAreaStyles: ({ theme, disabled, status }: GetTextAreaParams) => TextAreaStyles;
7
7
  export {};
@@ -1,2 +1,3 @@
1
1
  import GroupedList from './groupedList';
2
- export { GroupedList };
2
+ import { GroupType, ItemType } from './types';
3
+ export { GroupedList, ItemType, GroupType };
@@ -1 +1,5 @@
1
- export {};
1
+ import { Meta, Story } from '@storybook/react';
2
+ import { SidebarItemProps } from './SidebarItem';
3
+ export declare const Template: Story<SidebarItemProps>;
4
+ declare const SidebarItemStory: Meta<SidebarItemProps>;
5
+ export default SidebarItemStory;
@@ -1,3 +1,3 @@
1
- import MicroTag from './MicroTag';
1
+ import MicroTag, { MicroTagProps } from './MicroTag';
2
2
  import microTagPalette, { MicroTagPalette } from './microTagPalette';
3
- export { MicroTag, microTagPalette, MicroTagPalette };
3
+ export { MicroTag, MicroTagProps, microTagPalette, MicroTagPalette };
@@ -1,3 +1,4 @@
1
1
  import { Tag } from './Tag';
2
2
  import tagPalette, { TagPalette } from './tagPalette';
3
- export { Tag, tagPalette, TagPalette };
3
+ import { TagProps } from './types';
4
+ export { Tag, TagProps, tagPalette, TagPalette };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Accordion } from './components/accordions';
2
2
  import { Avatar } from './components/avatar';
3
- import { Badge } from './components/badge/Badge';
3
+ import { Badge, BadgeProps } from './components/badge';
4
4
  import { Banner, BannerProps } from './components/banner';
5
5
  import { Button, ButtonProps, IconButton, IconButtonProps } from './components/buttons';
6
6
  import { Chip } from './components/chips';
@@ -10,15 +10,15 @@ import { WithBadge } from './components/floatingBadge';
10
10
  import { Checkbox, CheckboxPalette, CheckboxProps, useCheckboxValue } from './components/form/checkbox';
11
11
  import { InputHelper, InputHelperPalette, InputHelperProps } from './components/form/inputHelper';
12
12
  import { InputText, InputTextPalette, InputTextProps } from './components/form/inputText';
13
- import { AsyncCreatableSelect, AsyncCreatableSelectProps, AsyncSelect, AsyncSelectProps, CreatableSelect, CreatableSelectProps, Select, SelectPalette, SelectProps, useSelectMultiValues, useSelectValue } from './components/form/select';
13
+ import { AsyncCreatableSelect, AsyncCreatableSelectProps, AsyncSelect, AsyncSelectProps, CreatableSelect, CreatableSelectProps, OptionType, Select, SelectComponentsType, SelectPalette, SelectProps, useSelectMultiValues, useSelectValue } from './components/form/select';
14
14
  import { TextArea, TextAreaPalette, TextAreaProps } from './components/form/textArea';
15
- import { GroupedList } from './components/groupedList';
15
+ import { GroupedList, GroupType, ItemType } from './components/groupedList';
16
16
  import { RadioButtonGroup } from './components/groupRadioButton';
17
17
  import { Icon, IconPalette, IconProps } from './components/icon';
18
18
  import { IconBackground, IconBackgroundPalette } from './components/icon/components/iconBackground';
19
19
  import { InlineMessage } from './components/inlineMessages';
20
20
  import { CustomSidebarItemProps, SidebarItem, sidebarItemHeight, SidebarItemPalette, SidebarItemProps } from './components/layout';
21
- import { MicroTag } from './components/microTag';
21
+ import { MicroTag, MicroTagPalette, MicroTagProps } from './components/microTag';
22
22
  import { Modal, ModalSearchable } from './components/modals';
23
23
  import { ConfirmationModal } from './components/modals/confirmationModal';
24
24
  import { ModalBody } from './components/modals/modalStyled';
@@ -29,11 +29,11 @@ import { RadioButton } from './components/radioButton';
29
29
  import { Stepper, StepperPalette, StepperProps } from './components/stepper';
30
30
  import { Table } from './components/table';
31
31
  import { DropdownTabs, ScrollableTabs, TabsItem } from './components/tabs';
32
- import { Tag } from './components/tag';
32
+ import { Tag, TagPalette, TagProps } from './components/tag';
33
33
  import { ThemeProvider } from './components/themeProvider';
34
34
  import { ShortcutTip, Tip } from './components/tip';
35
35
  import { Toast, ToastProps } from './components/toast';
36
36
  import { Tooltip, TooltipPalette, TooltipProps } from './components/tooltip';
37
37
  import { Theme } from './styles/theme';
38
38
  import { Palette, paletteColor } from './styles/types';
39
- export { paletteColor, Avatar, Banner, BannerProps, Button, ButtonProps, IconButton, IconButtonProps, Icon, IconProps, IconPalette, IconBackground, IconBackgroundPalette, Table, Checkbox, useCheckboxValue, CheckboxProps, CheckboxPalette, Select, CreatableSelect, AsyncSelect, AsyncCreatableSelect, SelectProps, AsyncSelectProps, AsyncCreatableSelectProps, CreatableSelectProps, useSelectValue, useSelectMultiValues, SelectPalette, PageEmptySet, Modal, ModalBody, ModalSearchable, Tooltip, TooltipProps, TooltipPalette, Accordion, Progressbar, Drawer, Chip, RadioButton, RadioButtonGroup, InlineMessage, Badge, Dropdown, DropdownItemProps, DropdownPalette, closeDropdownType, renderContentType, DropdownTabs, ScrollableTabs, SidebarItem, sidebarItemHeight, SidebarItemPalette, SidebarItemProps, CustomSidebarItemProps, TabsItem, Stepper, StepperProps, StepperPalette, Tip, ShortcutTip, ThemeProvider, Theme, Palette, GroupedList, WithBadge, Pagination, Toast, ToastProps, ConfirmationModal, MicroTag, Tag, InputText, InputTextProps, InputTextPalette, InputHelper, InputHelperProps, InputHelperPalette, TextArea, TextAreaProps, TextAreaPalette, };
39
+ export { paletteColor, Avatar, Banner, BannerProps, Button, ButtonProps, IconButton, IconButtonProps, Icon, IconProps, IconPalette, IconBackground, IconBackgroundPalette, Table, Checkbox, useCheckboxValue, CheckboxProps, CheckboxPalette, Select, CreatableSelect, AsyncSelect, AsyncCreatableSelect, SelectProps, AsyncSelectProps, AsyncCreatableSelectProps, CreatableSelectProps, useSelectValue, useSelectMultiValues, SelectPalette, SelectComponentsType, OptionType, PageEmptySet, Modal, ModalBody, ModalSearchable, Tooltip, TooltipProps, TooltipPalette, Accordion, Progressbar, Drawer, Chip, RadioButton, RadioButtonGroup, InlineMessage, Badge, BadgeProps, Dropdown, DropdownItemProps, DropdownPalette, closeDropdownType, renderContentType, DropdownTabs, ScrollableTabs, SidebarItem, sidebarItemHeight, SidebarItemPalette, SidebarItemProps, CustomSidebarItemProps, TabsItem, Stepper, StepperProps, StepperPalette, Tip, ShortcutTip, ThemeProvider, Theme, Palette, GroupedList, ItemType, GroupType, WithBadge, Pagination, Toast, ToastProps, ConfirmationModal, MicroTag, MicroTagProps, MicroTagPalette, Tag, TagProps, TagPalette, InputText, InputTextProps, InputTextPalette, InputHelper, InputHelperProps, InputHelperPalette, TextArea, TextAreaProps, TextAreaPalette, };