Skip to content

Commit

Permalink
fixing a few bugs (#63)
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Grato <[email protected]>
  • Loading branch information
nickgrato and Nick Grato authored Jul 17, 2024
1 parent a5f704e commit 899ebd2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -60,6 +60,8 @@
"peerDependencies": {
"react": ">=16.13.1"
},


"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"files": [
Expand Down
1 change: 1 addition & 0 deletions src/components/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import FadeIn from '../FadeIn';

export type DropdownT = {
closeDropdown: Function;
openDropdown: Function;
};

export type AlignmentT = 'left' | 'right';
Expand Down
3 changes: 3 additions & 0 deletions src/components/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ type InputProps = {
onFocus?: Function;
onChange?: Function;
mask?: RegExp;
autoComplete?: 'on' | 'off';
className?: string;
};

Expand Down Expand Up @@ -91,6 +92,7 @@ const Input = forwardRef(
showLabel = true,
onBlur,
mask,
autoComplete = 'on',
className = '',
}: InputProps,
ref
Expand Down Expand Up @@ -200,6 +202,7 @@ const Input = forwardRef(

<div className={styles.input_container}>
<input
autoComplete={autoComplete}
readOnly={readOnly}
ref={inputRef}
aria-label={label}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/core/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// -----------------
$font-size-base: 16; // base size in px
$primary-font: var(--font-primary);
$secondary-font: var(--font-seondary);
$secondary-font: var(--font-secondary);
$backup-font: var(--font-backup);
$font-primary-weight: var(--font-primary-weight);
$font-secondary-weight: var(--font-secondary-weight);
Expand Down

0 comments on commit 899ebd2

Please sign in to comment.