diff --git a/package-lock.json b/package-lock.json index 78291b860..bdef2940e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lyyti/design-system", - "version": "1.0.4", + "version": "1.0.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lyyti/design-system", - "version": "1.0.4", + "version": "1.0.6", "license": "MIT", "dependencies": { "@emotion/react": "^11.7.1", diff --git a/package.json b/package.json index 5cd0fa1f2..65da9275e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@lyyti/design-system", "description": "Lyyti Design System", "homepage": "https://lyytioy.github.io/lyyti-design-system", - "version": "1.0.5", + "version": "1.0.6", "engines": { "node": "^16", "npm": "^8" diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 941994998..1e4664e4c 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -20,6 +20,7 @@ const Button = ( variant = 'contained', color = 'secondary', disabled = false, + sx = {}, ...props }: ButtonProps, ref: Ref @@ -228,6 +229,7 @@ const Button = ( '&.MuiButton-textPrimary': textPrimary, '&.MuiButton-textSecondary': textSecondary, '&.MuiButton-textError': textDanger, + ...sx, }} {...props} > diff --git a/src/components/TimePicker.tsx b/src/components/TimePicker.tsx index 7b2b30f4c..cf4a62c39 100644 --- a/src/components/TimePicker.tsx +++ b/src/components/TimePicker.tsx @@ -10,7 +10,6 @@ const TimePicker = ({ ampm = false, InputProps = {}, ...props }: TimePickerProps return (