Skip to content

Commit

Permalink
Reduce bundle size (#4)
Browse files Browse the repository at this point in the history
* chore: reduce bundle size

* fix: pnpm-lock
  • Loading branch information
João Pedro Magalhães committed Feb 27, 2023
1 parent 4ee388d commit e5010fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 36 deletions.
35 changes: 2 additions & 33 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion selection-popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"react-dom": "^16.8 || ^17.0 || ^18.0"
},
"dependencies": {
"@floating-ui/react": "0.19.2",
"@floating-ui/react-dom": "^1.3.0",
"@radix-ui/react-arrow": "1.0.1",
"@radix-ui/react-compose-refs": "1.0.0",
"@radix-ui/react-context": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions selection-popover/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import {
size,
hide,
arrow as floatingUIarrow,
} from '@floating-ui/react'
} from '@floating-ui/react-dom'

import type { Placement, Middleware } from '@floating-ui/react'
import type { Placement, Middleware } from '@floating-ui/react-dom'

const SIDE_OPTIONS = ['top', 'right', 'bottom', 'left'] as const
const ALIGN_OPTIONS = ['start', 'center', 'end'] as const
Expand Down

1 comment on commit e5010fa

@vercel
Copy link

@vercel vercel bot commented on e5010fa Feb 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

selection-popover – ./

selection-popover-git-main-joaom00.vercel.app
selection-popover-joaom00.vercel.app
selection-popover.vercel.app

Please sign in to comment.