@parrot-co/parrot-ui 0.1.4 → 0.1.5

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/dist/main.js CHANGED
@@ -3293,14 +3293,13 @@ function $0f347092d3465402$export$7dacb05d26466c3({ children: children }) {
3293
3293
  const useClickEvents = ctx.props?.useNativeClickHandler;
3294
3294
  const clickProps = (0, $8zHUo$reactaria.usePress)(ctx.triggerProps);
3295
3295
  const triggerProps = useClickEvents ? clickProps.pressProps : ctx.triggerProps;
3296
- console.log(children);
3297
3296
  return /*#__PURE__*/ $8zHUo$react.cloneElement(children, {
3298
3297
  ref: ctx.triggerRef,
3299
3298
  ["data-is-pressed"]: clickProps.isPressed,
3300
3299
  ...triggerProps
3301
3300
  });
3302
3301
  }
3303
- function $0f347092d3465402$export$d7e1f420b25549ff({ children: children, offset: offset = 12, placement: placement, style: style, width: width = 160, className: className }) {
3302
+ function $0f347092d3465402$export$d7e1f420b25549ff({ children: children, offset: offset = 12, placement: placement, style: style, width: width = 160, className: className, ...props }) {
3304
3303
  const ctx = $8zHUo$react.useContext($0f347092d3465402$var$PopoverContext);
3305
3304
  if (!ctx) throw "PopoverContent must be used withing a Popover component";
3306
3305
  if (!ctx.overlayState?.isOpen) return null;
@@ -3309,6 +3308,7 @@ function $0f347092d3465402$export$d7e1f420b25549ff({ children: children, offset:
3309
3308
  placement: placement,
3310
3309
  state: ctx.overlayState,
3311
3310
  triggerRef: ctx.triggerRef,
3311
+ ...props,
3312
3312
  children: /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)("div", {
3313
3313
  ...ctx.overlayProps,
3314
3314
  "data-radius": "md",