@sniptide/ui 0.5.2 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sniptide/ui",
3
- "version": "0.5.2",
4
- "gitHead": "2fbf8df2ef2f14614fe5feaf12d4a3b686581880",
3
+ "version": "0.6.1",
4
+ "gitHead": "921b836e4eff92317cfe8d36cc2c4d6db0ff301d",
5
5
  "description": "Sniptide's React components, Tailwind CSS theme and logo, shared by the app and the website.",
6
6
  "license": "AGPL-3.0-only",
7
7
  "homepage": "https://sniptide.com",
@@ -31,8 +31,8 @@
31
31
  "@base-ui/react": "^1.8.0",
32
32
  "@tailwindcss/postcss": "^4",
33
33
  "class-variance-authority": "^0.7.1",
34
- "cn": "^0.5.0",
35
- "lucide-react": "^1.64.0",
34
+ "cn": "^0.5.2",
35
+ "lucide-react": "^1.70.0",
36
36
  "tailwindcss": "^4",
37
37
  "tw-animate-css": "^1.4.0"
38
38
  }
@@ -13,9 +13,14 @@ function PopoverContent({
13
13
  align = "start",
14
14
  side,
15
15
  sideOffset = 6,
16
+ anchor,
17
+ collisionPadding,
16
18
  ...props
17
19
  }: PopoverPrimitive.Popup.Props &
18
- Pick<PopoverPrimitive.Positioner.Props, "align" | "side" | "sideOffset">) {
20
+ Pick<
21
+ PopoverPrimitive.Positioner.Props,
22
+ "align" | "side" | "sideOffset" | "anchor" | "collisionPadding"
23
+ >) {
19
24
  return (
20
25
  <PopoverPrimitive.Portal>
21
26
  <PopoverPrimitive.Positioner
@@ -23,6 +28,8 @@ function PopoverContent({
23
28
  align={align}
24
29
  side={side}
25
30
  sideOffset={sideOffset}
31
+ anchor={anchor}
32
+ collisionPadding={collisionPadding}
26
33
  >
27
34
  <PopoverPrimitive.Popup
28
35
  data-slot="popover-content"