@fattureincloud/fic-design-system 0.4.2-expenses.0 → 0.4.2-expenses.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/CHANGELOG.md +35 -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/dropdown/components/DefaultTrigger.d.ts +2 -2
  5. package/dist/components/form/common/styles.d.ts +1 -0
  6. package/dist/components/form/inputText/InputText.d.ts +2 -1
  7. package/dist/components/form/inputText/components/InputElement.d.ts +4 -2
  8. package/dist/components/form/inputText/components/UnitDropdown.d.ts +7 -0
  9. package/dist/components/form/inputText/components/UnitDropdownTrigger.d.ts +5 -0
  10. package/dist/components/form/inputText/components/unitDropdown/UnitDropdownTrigger.d.ts +9 -0
  11. package/dist/components/form/inputText/index.d.ts +2 -1
  12. package/dist/components/form/inputText/inputText.stories.d.ts +1 -0
  13. package/dist/components/form/inputText/types.d.ts +3 -0
  14. package/dist/components/form/label/Label.d.ts +2 -1
  15. package/dist/components/form/select/SelectWrapper.d.ts +2 -2
  16. package/dist/components/form/select/components/Option.d.ts +1 -1
  17. package/dist/components/form/select/hooks/useSelectGeneric.d.ts +10 -0
  18. package/dist/components/form/select/hooks/useSelectSimpleValue.d.ts +8 -0
  19. package/dist/components/form/select/hooks/useSelectThemeStyles.d.ts +6 -2
  20. package/dist/components/form/select/index.d.ts +4 -2
  21. package/dist/components/form/select/select.stories.d.ts +1 -0
  22. package/dist/components/form/select/types.d.ts +11 -4
  23. package/dist/components/form/select/utils.d.ts +3 -0
  24. package/dist/components/form/textArea/components/TextAreaElement.d.ts +2 -2
  25. package/dist/components/form/textArea/types.d.ts +1 -0
  26. package/dist/components/groupedList/index.d.ts +2 -1
  27. package/dist/components/layout/sidebarItem/sidebarItem.stories.d.ts +5 -1
  28. package/dist/components/microTag/index.d.ts +2 -2
  29. package/dist/components/tag/index.d.ts +2 -1
  30. package/dist/index.d.ts +8 -7
  31. package/dist/index.esm.js +2 -2
  32. package/dist/index.esm.js.map +1 -1
  33. package/dist/index.js +1 -1
  34. package/dist/index.js.map +1 -1
  35. package/dist/styles/defaultPalette/colors/others.d.ts +1 -0
  36. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # Changelog
2
2
 
3
+ ## Next release
4
+
5
+ ### 🚀 Added
6
+
7
+ - Add `isTransparent` prop to Select and InputText components
8
+ - Add `isPrefilled` prop to Select and TextArea components
9
+ - Add `customStyles` prop to Select component
10
+ - Add UnitDropdown to InputText
11
+ - Add Select `simpleValue` prop and `useSelectSimpleValue` hook
12
+
13
+ ### 🐛 Bug Fix
14
+
15
+ - Fix InputText `ref` usage
16
+
17
+ ### 💅 Enhancement
18
+
19
+ - Add `JSX.Element` to label prop type in form components
20
+ - Remove up and down arrows on `input[type=number]`
21
+
22
+ ## v0.4.4 - 25/01/2022
23
+
24
+ ### 🐛 Bug Fix
25
+
26
+ - Move SidebarItem Dropdown on the left in Safari
27
+
28
+ ## v0.4.3 - 21/01/2022
29
+
30
+ ### 🐛 Bug Fix
31
+
32
+ - Remove the Checkbox `Label` tag when prop `text` is missing
33
+
34
+ ### 💅 Enhancement
35
+
36
+ - Change Button `text` prop from `string | JSX.Element` to `ReactText | JSX.Element`
37
+
3
38
  ## v0.4.2 - 19/01/2022
4
39
 
5
40
  ### 🐛 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,5 +1,5 @@
1
- interface Props {
1
+ export interface DropdownTriggerProps {
2
2
  title: string;
3
3
  }
4
- declare const DefaultTrigger: ({ title }: Props) => JSX.Element;
4
+ declare const DefaultTrigger: ({ title }: DropdownTriggerProps) => JSX.Element;
5
5
  export default DefaultTrigger;
@@ -6,5 +6,6 @@ export interface BoxedInputWrapperProps extends colorsPalette {
6
6
  normalFocused: CommonInputParts;
7
7
  status?: statusType;
8
8
  isPrefilled?: boolean;
9
+ isTransparent?: boolean;
9
10
  }
10
11
  export declare const boxedInputWrapperStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<BoxedInputWrapperProps, import("styled-components").DefaultTheme>>;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { LabelProps } from '../label';
2
3
  import { InputElementProps } from './types';
3
4
  export declare type InputTextProps = LabelProps & InputElementProps;
4
- declare const InputText: (props: InputTextProps) => JSX.Element;
5
+ declare const InputText: React.ForwardRefExoticComponent<LabelProps & InputElementProps & React.RefAttributes<HTMLInputElement>>;
5
6
  export default InputText;
@@ -1,6 +1,8 @@
1
+ import React from 'react';
1
2
  import { BoxedInputWrapperProps } from '../../common/styles';
2
3
  import { InputElementProps } from '../types';
3
- declare const InputElement: ({ autoFocus, onBlur, onChange, value, placeholder, disabled, name, inputSize, leadingIcon, onKeyPress, status, onKeyDown, onKeyUp, inputType, onFocus, className, actionIcon, setValue, isPrefilled, }: InputElementProps) => JSX.Element;
4
- export declare type InputTextWrapperProps = Pick<InputElementProps, 'disabled' | 'status' | 'isPrefilled'>;
4
+ declare type inputRef = HTMLInputElement | null;
5
+ declare const InputElement: React.ForwardRefExoticComponent<InputElementProps & React.RefAttributes<inputRef>>;
6
+ export declare type InputTextWrapperProps = Pick<InputElementProps, 'disabled' | 'status' | 'isPrefilled' | 'isTransparent'>;
5
7
  export declare type InputTextStyles = Omit<BoxedInputWrapperProps, 'status'>;
6
8
  export default InputElement;
@@ -0,0 +1,7 @@
1
+ import { DropdownProps } from '../../../dropdown/types';
2
+ import { Unit } from './unitDropdown/UnitDropdownTrigger';
3
+ export interface UnitDropdownProps extends Pick<DropdownProps, 'renderContent' | 'placement' | 'className' | 'triggerStyles' | 'content' | 'maxWidth' | 'minWidthAsTrigger' | 'forceOpen'> {
4
+ currentUnit: Unit;
5
+ }
6
+ declare const UnitDropdown: ({ currentUnit, ...dropdownProps }: UnitDropdownProps) => JSX.Element;
7
+ export default UnitDropdown;
@@ -0,0 +1,5 @@
1
+ interface Props {
2
+ title: string;
3
+ }
4
+ declare const UnitDropdownTrigger: ({ title }: Props) => JSX.Element;
5
+ export default UnitDropdownTrigger;
@@ -0,0 +1,9 @@
1
+ export interface Unit {
2
+ name: string;
3
+ shortName?: string;
4
+ }
5
+ interface Props {
6
+ unit: Unit;
7
+ }
8
+ declare const UnitDropdownTrigger: ({ unit }: Props) => JSX.Element;
9
+ export default UnitDropdownTrigger;
@@ -1,3 +1,4 @@
1
+ import { UnitDropdownProps } from './components/UnitDropdown';
1
2
  import InputText, { InputTextProps } from './InputText';
2
3
  import inputTextPalette, { InputTextPalette } from './inputTextPalette';
3
- export { InputText, InputTextProps, InputTextPalette, inputTextPalette };
4
+ export { InputText, InputTextProps, InputTextPalette, inputTextPalette, UnitDropdownProps };
@@ -1,5 +1,6 @@
1
1
  import { Meta, Story } from '@storybook/react';
2
2
  import { InputTextProps } from './InputText';
3
3
  export declare const WithKnobs: Story<InputTextProps>;
4
+ export declare const WithUnitDropdown: Story<InputTextProps>;
4
5
  declare const InputTextStories: Meta<InputTextProps>;
5
6
  export default InputTextStories;
@@ -1,6 +1,7 @@
1
1
  import { Dispatch, InputHTMLAttributes, ReactText, SetStateAction } from 'react';
2
2
  import { IconProps } from '../../icon';
3
3
  import { CommonFormTypes } from '../common/types';
4
+ import { UnitDropdownProps } from './components/UnitDropdown';
4
5
  export declare const inputTypesArray: string[];
5
6
  export declare type inputTypes = typeof inputTypesArray[number];
6
7
  export interface InputElementProps extends CommonFormTypes, Pick<InputHTMLAttributes<HTMLInputElement>, 'autoFocus' | 'name' | 'onChange' | 'onBlur' | 'onFocus' | 'onKeyPress' | 'onKeyUp' | 'onKeyDown' | 'required' | 'className'> {
@@ -11,4 +12,6 @@ export interface InputElementProps extends CommonFormTypes, Pick<InputHTMLAttrib
11
12
  value?: number | string | null;
12
13
  setValue?: Dispatch<SetStateAction<string>>;
13
14
  isPrefilled?: boolean;
15
+ isTransparent?: boolean;
16
+ unitDropdownProps?: UnitDropdownProps;
14
17
  }
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  export interface LabelProps extends WrapperProps {
2
- label?: string;
3
+ label?: string | JSX.Element;
3
4
  }
4
5
  declare const Label: ({ label, disabled, required }: LabelProps) => JSX.Element | null;
5
6
  interface WrapperProps {
@@ -1,5 +1,5 @@
1
1
  import { BoxedInputWrapperProps } from '../common/styles';
2
2
  import { SelectProps } from './types';
3
- export declare type SelectWrapperProps = Pick<SelectProps, 'disabled' | 'status' | 'inputSize'>;
3
+ export declare type SelectWrapperProps = Pick<SelectProps, 'disabled' | 'status' | 'inputSize' | 'isPrefilled' | 'isTransparent'>;
4
4
  export declare type SelectStyles = Omit<BoxedInputWrapperProps, 'status'>;
5
- export declare const SelectWrapper: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, SelectStyles & SelectWrapperProps, "color" | "background" | "borderColor" | "isPrefilled" | "normalFocused">;
5
+ export declare const SelectWrapper: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, SelectStyles & SelectWrapperProps, "color" | "background" | "borderColor" | "isPrefilled" | "isTransparent" | "normalFocused">;
@@ -4,7 +4,7 @@ import { IconProps } from '../../../icon';
4
4
  export interface OptionType extends OptionTypeBase {
5
5
  icon?: IconProps;
6
6
  label: string;
7
- value: any;
7
+ value: string | number;
8
8
  }
9
9
  interface Props<O extends OptionType = OptionType, IsMulti extends boolean = false> extends Omit<OptionProps<O, IsMulti>, 'data'> {
10
10
  data: OptionType;
@@ -0,0 +1,10 @@
1
+ import { OptionType } from '../components/Option';
2
+ import { AsyncCreatableSelectProps, AsyncSelectProps, CreatableSelectProps, SelectProps } from '../types';
3
+ declare type Props<O extends OptionType = OptionType, IsMulti extends boolean = false> = SelectProps<O, IsMulti> | CreatableSelectProps<O, IsMulti> | AsyncSelectProps<O, IsMulti> | AsyncCreatableSelectProps<O, IsMulti>;
4
+ interface ReturnType<O extends OptionType = OptionType, IsMulti extends boolean = false> {
5
+ customComponents: Partial<SelectProps<O, IsMulti>['components']>;
6
+ styles: SelectProps<O, IsMulti>['styles'];
7
+ value: SelectProps<O, IsMulti>['value'];
8
+ }
9
+ declare const useSelectGeneric: <O extends OptionType = OptionType, IsMulti extends boolean = false>(props: Props<O, IsMulti>) => ReturnType<O, IsMulti>;
10
+ export default useSelectGeneric;
@@ -0,0 +1,8 @@
1
+ import { OptionType } from '../components/Option';
2
+ import { SelectProps, simpleValue } from '../types';
3
+ declare type ReturnType<O extends OptionType = OptionType> = {
4
+ simpleValue: simpleValue;
5
+ onChange: Required<SelectProps<O>>['onChange'];
6
+ };
7
+ declare const useSelectSimpleValue: <O extends OptionType = OptionType>(initialValue: simpleValue) => ReturnType<O>;
8
+ export default useSelectSimpleValue;
@@ -1,9 +1,13 @@
1
+ import { Styles } from 'react-select';
2
+ import { CSSObject } from 'styled-components';
1
3
  import { statusType } from '../../common/types';
2
4
  import { OptionType } from '../components/Option';
3
5
  import { SelectProps } from '../types';
4
- interface Props {
6
+ export declare type CustomStylesType<O extends OptionType = OptionType, IsMulti extends boolean = false> = Partial<Record<keyof Styles<O, IsMulti>, CSSObject>>;
7
+ interface Props<O extends OptionType = OptionType, IsMulti extends boolean = false> {
8
+ customStyles?: CustomStylesType<O, IsMulti>;
5
9
  status: statusType;
6
10
  disabled?: boolean;
7
11
  }
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;
12
+ declare const useSelectThemeStyles: <O extends OptionType = OptionType, IsMulti extends boolean = false>({ customStyles, status, disabled, }: Props<O, IsMulti>) => Partial<Styles<O, IsMulti, import("react-select").GroupTypeBase<O>>> | undefined;
9
13
  export default useSelectThemeStyles;
@@ -1,8 +1,10 @@
1
1
  import { SelectActionsType } from './components/FooterActions';
2
2
  import { OptionType } from './components/Option';
3
+ import useSelectSimpleValue from './hooks/useSelectSimpleValue';
3
4
  import { useSelectMultiValues, useSelectValue } from './hooks/useSelectValue';
4
5
  import { AsyncCreatableSelect, AsyncSelect, CreatableSelect, Select } from './Select';
5
6
  import selectPalette, { SelectPalette } from './selectPalette';
6
- import { AsyncCreatableSelectProps, AsyncSelectProps, CreatableSelectProps, SelectProps } from './types';
7
+ import { AsyncCreatableSelectProps, AsyncSelectProps, CreatableSelectProps, SelectProps, simpleValue } from './types';
8
+ import { isSimpleValue } from './utils';
7
9
  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, };
10
+ export { Select, CreatableSelect, AsyncSelect, AsyncCreatableSelect, OptionType, SelectProps, AsyncSelectProps, AsyncCreatableSelectProps, CreatableSelectProps, SelectPalette, selectPalette, SelectActionsType, useSelectValue, useSelectMultiValues, SelectComponentsType, useSelectSimpleValue, simpleValue, isSimpleValue, };
@@ -2,6 +2,7 @@ import { Meta, Story } from '@storybook/react';
2
2
  import { OptionType } from './components/Option';
3
3
  import { SelectProps } from './types';
4
4
  export declare const Single: Story<SelectProps>;
5
+ export declare const Simple: Story<SelectProps>;
5
6
  export declare const Multi: Story<SelectProps<OptionType, true>>;
6
7
  declare const SelectStories: Meta<SelectProps>;
7
8
  export default SelectStories;
@@ -5,7 +5,14 @@ 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<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>>;
8
+ import { CustomStylesType } from './hooks/useSelectThemeStyles';
9
+ export declare type SelectProps<O extends OptionType = OptionType, IsMulti extends boolean = false, T = ReactSelectProps<O, IsMulti>> = CommonFormTypes & LabelProps & T & NamedProps<O, IsMulti> & {
10
+ isPrefilled?: boolean;
11
+ customStyles?: CustomStylesType<O, IsMulti>;
12
+ isTransparent?: boolean;
13
+ simpleValue?: simpleValue;
14
+ };
15
+ export declare type CreatableSelectProps<O extends OptionType = OptionType, IsMulti extends boolean = false> = SelectProps<O, IsMulti, CreatableProps<O, IsMulti>>;
16
+ export declare type AsyncSelectProps<O extends OptionType = OptionType, IsMulti extends boolean = false> = SelectProps<O, IsMulti, AsyncProps<O, IsMulti>>;
17
+ export declare type AsyncCreatableSelectProps<O extends OptionType = OptionType, IsMulti extends boolean = false> = SelectProps<O, IsMulti, AsyncCreatableProps<O, IsMulti>>;
18
+ export declare type simpleValue = string | number | null | undefined;
@@ -1,7 +1,10 @@
1
1
  import { DefaultTheme } from 'styled-components';
2
+ import { OptionType } from './components/Option';
2
3
  import { SelectStyles, SelectWrapperProps } from './SelectWrapper';
4
+ import { simpleValue } from './types';
3
5
  interface GetSelectParams extends SelectWrapperProps {
4
6
  theme: DefaultTheme;
5
7
  }
6
8
  export declare const getSelectStyles: ({ theme, disabled, status }: GetSelectParams) => SelectStyles;
9
+ export declare const isSimpleValue: <O extends OptionType = OptionType>(value: simpleValue | O) => value is simpleValue;
7
10
  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, 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'>;
3
+ declare const TextAreaElement: ({ autoFocus, onBlur, onChange, value, placeholder, disabled, name, onKeyPress, status, onKeyDown, onKeyUp, onFocus, className, setValue, initialHeight, maxLength, isResizable, showCounter, isPrefilled, }: TextAreaElementProps) => JSX.Element;
4
+ export declare type TextAreaWrapperProps = Pick<TextAreaElementProps, 'disabled' | 'status' | 'initialHeight' | 'isResizable' | 'isPrefilled'>;
5
5
  export declare type TextAreaStyles = Omit<BoxedInputWrapperProps, 'status'>;
6
6
  export default TextAreaElement;
@@ -7,4 +7,5 @@ export interface TextAreaElementProps extends CommonFormTypes, CharCounterOption
7
7
  setValue?: Dispatch<SetStateAction<string>>;
8
8
  showCounter?: boolean;
9
9
  isResizable?: boolean;
10
+ isPrefilled?: boolean;
10
11
  }
@@ -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';
@@ -9,16 +9,16 @@ import { closeDropdownType, Dropdown, DropdownItemProps, DropdownPalette, render
9
9
  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
- import { InputText, InputTextPalette, InputTextProps } from './components/form/inputText';
13
- import { AsyncCreatableSelect, AsyncCreatableSelectProps, AsyncSelect, AsyncSelectProps, CreatableSelect, CreatableSelectProps, OptionType, Select, SelectComponentsType, SelectPalette, SelectProps, useSelectMultiValues, useSelectValue } from './components/form/select';
12
+ import { InputText, InputTextPalette, InputTextProps, UnitDropdownProps } from './components/form/inputText';
13
+ import { AsyncCreatableSelect, AsyncCreatableSelectProps, AsyncSelect, AsyncSelectProps, CreatableSelect, CreatableSelectProps, isSimpleValue, OptionType, Select, SelectComponentsType, SelectPalette, SelectProps, simpleValue, useSelectMultiValues, useSelectSimpleValue, 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,12 @@ 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
+ import { autocompleteYellow } from './styles/defaultPalette/colors/others';
37
38
  import { Theme } from './styles/theme';
38
39
  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, SelectComponentsType, OptionType, 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, };
40
+ export { autocompleteYellow, 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, useSelectSimpleValue, isSimpleValue, simpleValue, 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, UnitDropdownProps, InputHelper, InputHelperProps, InputHelperPalette, TextArea, TextAreaProps, TextAreaPalette, };