@aveonline/ui-react 2.31.1 → 2.32.0

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.
Files changed (34) hide show
  1. package/dist/helpers/translate.d.ts +2 -0
  2. package/dist/tailwind.config.js +261 -258
  3. package/dist/tailwind.css +1 -1
  4. package/dist/ui/atoms/Badge/Badge.d.ts +1 -4
  5. package/dist/ui/atoms/Badge/IBadge.d.ts +5 -0
  6. package/dist/ui/atoms/Button/IButton.d.ts +2 -0
  7. package/dist/ui/atoms/Tooltip/ITooltip.d.ts +2 -0
  8. package/dist/ui/atoms/Tooltip/Tooltip.d.ts +3 -2
  9. package/dist/ui/atoms/Tooltip/TooltipAnchor.d.ts +1 -1
  10. package/dist/ui/atoms/Tooltip/TooltipFloat.d.ts +1 -1
  11. package/dist/ui/atoms/Typography/Heading/Heading.d.ts +1 -1
  12. package/dist/ui/atoms/Typography/Heading/IHeading.d.ts +2 -0
  13. package/dist/ui/atoms/Typography/Link/ILink.d.ts +3 -1
  14. package/dist/ui/atoms/Typography/Link/Link.d.ts +1 -1
  15. package/dist/ui/atoms/Typography/Text/IText.d.ts +1 -0
  16. package/dist/ui/molecules/Cards/CardHistory/CardHistory.d.ts +1 -1
  17. package/dist/ui/molecules/Cards/CardHistory/ICardHistory.d.ts +2 -0
  18. package/dist/ui/molecules/Cards/CardSelect/CardSelect.d.ts +1 -2
  19. package/dist/ui/molecules/Cards/CardSelect/ICardSelect.d.ts +2 -0
  20. package/dist/ui/molecules/DateInputPicker/DateInputPicker.d.ts +1 -2
  21. package/dist/ui/molecules/DateInputPicker/IDateInputPicker.d.ts +2 -0
  22. package/dist/ui/molecules/Dropdowns/DropdownFilter/Command.d.ts +1 -1
  23. package/dist/ui/molecules/Dropdowns/DropdownFilter/Popover.d.ts +1 -1
  24. package/dist/ui/molecules/Field/IField.d.ts +2 -0
  25. package/dist/ui/molecules/Flag/Flag.d.ts +1 -1
  26. package/dist/ui/molecules/Flag/IFlag.d.ts +2 -0
  27. package/dist/ui/molecules/Selectable/Select/ISelect.d.ts +2 -0
  28. package/dist/ui/molecules/Selectable/Select/Select.d.ts +1 -1
  29. package/dist/ui/molecules/Tab/ITab.d.ts +2 -0
  30. package/dist/ui/molecules/Tab/Tab.d.ts +1 -1
  31. package/dist/ui/molecules/TextArea/ITextArea.d.ts +2 -0
  32. package/dist/ui/molecules/TextArea/TextArea.d.ts +2 -0
  33. package/dist/ui-react.mjs +11343 -11506
  34. package/package.json +1 -3
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import type { ISelect } from './ISelect';
3
- declare function Select({ options, placeholder, defaultValue, defaultValueMulti, isDisabled, id, name, helpText, hasLabelPlaceholder, onChange, onChangeMulti, isSearchable, isClearable, error, isError, showErrorText, onBlur, value, instanceId, menuIsOpen, loadingMessage, noOptionsMessage, logo, iconTooltip, isActiveDropdownIndicator, isMulti, closeMenuOnSelect }: ISelect): JSX.Element;
3
+ declare function Select({ options, placeholder, defaultValue, defaultValueMulti, isDisabled, id, name, helpText, hasLabelPlaceholder, onChange, onChangeMulti, isSearchable, isClearable, error, isError, showErrorText, onBlur, value, instanceId, menuIsOpen, loadingMessage, noOptionsMessage, logo, iconTooltip, isActiveDropdownIndicator, isMulti, closeMenuOnSelect, _t, useT }: ISelect): JSX.Element;
4
4
  export default Select;
@@ -40,4 +40,6 @@ export interface ITabs {
40
40
  active?: boolean;
41
41
  activeBlue?: boolean;
42
42
  tittle?: string;
43
+ useT?: boolean;
44
+ _t?: (text: string) => string;
43
45
  }
@@ -3,5 +3,5 @@ import { ITabs } from './ITab';
3
3
  /**
4
4
  * Use to alternate among related views within the same context.
5
5
  */
6
- declare function Tab({ tabs, variant, defaultIndex, onChange, size, active, setActive, activeBlue }: ITabs): JSX.Element;
6
+ declare function Tab({ tabs, variant, defaultIndex, onChange, size, active, setActive, activeBlue, useT, _t }: ITabs): JSX.Element;
7
7
  export default Tab;
@@ -5,5 +5,7 @@ export declare type ITextArea = {
5
5
  helpText?: string;
6
6
  showErrorText?: boolean;
7
7
  resizable?: boolean;
8
+ _t?: (text: string) => string;
9
+ useT?: boolean;
8
10
  onChangeValue?: (value: string) => void;
9
11
  } & TextareaHTMLAttributes<HTMLTextAreaElement>;
@@ -5,6 +5,8 @@ declare const TextArea: import("react").ForwardRefExoticComponent<{
5
5
  helpText?: string | undefined;
6
6
  showErrorText?: boolean | undefined;
7
7
  resizable?: boolean | undefined;
8
+ _t?: ((text: string) => string) | undefined;
9
+ useT?: boolean | undefined;
8
10
  onChangeValue?: ((value: string) => void) | undefined;
9
11
  } & import("react").TextareaHTMLAttributes<HTMLTextAreaElement> & import("react").RefAttributes<HTMLTextAreaElement>>;
10
12
  export default TextArea;