Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 1.8.0 #5

Merged
merged 10 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/check-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
branches:
- main
paths:
- "**"
- "!README.md"
- '**'
- '!README.md'

jobs:
lint:
Expand Down Expand Up @@ -53,4 +53,4 @@ jobs:
permissions:
contents: read
pull-requests: read
checks: write
checks: write
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.parcel-cache
/dist
*storybook.log
*storybook.log
storybook-static
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@koupr/ui",
"version": "1.7.0",
"version": "1.8.0",
"license": "MIT",
"source": "src/index.ts",
"main": "dist/main.js",
Expand Down
2 changes: 1 addition & 1 deletion src/components/account-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ type AvatarButtonProps = {
const AvatarButton = forwardRef<AvatarButtonProps, 'div'>(
({ name, picture, isActive, hasBadge, ...props }, ref) => (
<div ref={ref} {...props} className={cx('cursor-pointer')}>
<ActiveCircle>
<ActiveCircle isActive={isActive}>
<NotificationBadge hasBadge={hasBadge}>
<Avatar
name={name}
Expand Down
8 changes: 5 additions & 3 deletions src/components/app-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { ReactElement } from 'react'
import cx from 'classnames'

export type AppBarProps = {
bar: ReactElement
buttons: ReactElement
bar?: ReactElement
buttons?: ReactElement
}

export const AppBar = ({ bar, buttons }: AppBarProps) => (
Expand All @@ -18,7 +18,9 @@ export const AppBar = ({ bar, buttons }: AppBarProps) => (
'w-full',
)}
>
<div className={cx('grow')}>{bar}</div>
<div className={cx('flex', 'flex-row', 'items-center', 'gap-1.5', 'grow')}>
{bar}
</div>
<div className={cx('flex', 'flex-row', 'items-center', 'gap-1.5')}>
{buttons}
</div>
Expand Down
Loading