Skip to content

Commit

Permalink
Merge pull request #105 from perimetre/feat/add-time-picker
Browse files Browse the repository at this point in the history
fix: fixes z-index isolation on togglebutton
  • Loading branch information
AssisrMatheus authored Apr 12, 2023
2 parents 43caaa7 + 7e96f6b commit 85ceb7c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

## [10.0.2] 2023-04-12

### Fixed

- Fix: Fixes z-index isolation on toggle button component

## [10.0.1] 2023-04-12

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@perimetre/ui",
"description": "A component library made by @perimetre",
"version": "10.0.1",
"version": "10.0.2",
"repository": {
"type": "git",
"url": "git+https://github.com/perimetre/ui.git"
Expand Down Expand Up @@ -161,4 +161,4 @@
"resolutions": {
"@storybook/react/webpack": "^5"
}
}
}
2 changes: 1 addition & 1 deletion src/components/ToggleButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const ToggleButton: React.FC<ToggleButtonProps> = ({ offLabel, onLabel, .
layout
layoutRoot
className={classnames(
'flex w-fit relative border rounded-full items-center justify-around overflow-hidden',
'flex w-fit relative border rounded-full items-center justify-around overflow-hidden isolate',
{ 'cursor-pointer': !props.disabled && !props.readOnly, 'select-none': !props.readOnly },
!props.disabled ? 'border-black' : 'border-gray-300',
props.className
Expand Down

0 comments on commit 85ceb7c

Please sign in to comment.