diff --git a/package.json b/package.json index f25a22a..7fc3456 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mozilla/lilypad-ui", - "version": "2.0.5", + "version": "2.0.6", "description": "React Component UI Libray", "scripts": { "sb": "start-storybook -p 6006", @@ -60,6 +60,8 @@ "peerDependencies": { "react": ">=16.13.1" }, + + "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "files": [ diff --git a/src/components/Dropdown/Dropdown.tsx b/src/components/Dropdown/Dropdown.tsx index 0c92249..a8eab59 100644 --- a/src/components/Dropdown/Dropdown.tsx +++ b/src/components/Dropdown/Dropdown.tsx @@ -13,6 +13,7 @@ import FadeIn from '../FadeIn'; export type DropdownT = { closeDropdown: Function; + openDropdown: Function; }; export type AlignmentT = 'left' | 'right'; diff --git a/src/components/Input/Input.tsx b/src/components/Input/Input.tsx index 25661b8..3a8a201 100644 --- a/src/components/Input/Input.tsx +++ b/src/components/Input/Input.tsx @@ -61,6 +61,7 @@ type InputProps = { onFocus?: Function; onChange?: Function; mask?: RegExp; + autoComplete?: 'on' | 'off'; className?: string; }; @@ -91,6 +92,7 @@ const Input = forwardRef( showLabel = true, onBlur, mask, + autoComplete = 'on', className = '', }: InputProps, ref @@ -200,6 +202,7 @@ const Input = forwardRef(