@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 +2 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -2
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +4 -6
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -3237,14 +3237,13 @@ function $61ac9d13c14b7f5b$export$7dacb05d26466c3({ children: children }) {
|
|
|
3237
3237
|
const useClickEvents = ctx.props?.useNativeClickHandler;
|
|
3238
3238
|
const clickProps = (0, $hgUW1$usePress)(ctx.triggerProps);
|
|
3239
3239
|
const triggerProps = useClickEvents ? clickProps.pressProps : ctx.triggerProps;
|
|
3240
|
-
console.log(children);
|
|
3241
3240
|
return /*#__PURE__*/ $hgUW1$cloneElement(children, {
|
|
3242
3241
|
ref: ctx.triggerRef,
|
|
3243
3242
|
["data-is-pressed"]: clickProps.isPressed,
|
|
3244
3243
|
...triggerProps
|
|
3245
3244
|
});
|
|
3246
3245
|
}
|
|
3247
|
-
function $61ac9d13c14b7f5b$export$d7e1f420b25549ff({ children: children, offset: offset = 12, placement: placement, style: style, width: width = 160, className: className }) {
|
|
3246
|
+
function $61ac9d13c14b7f5b$export$d7e1f420b25549ff({ children: children, offset: offset = 12, placement: placement, style: style, width: width = 160, className: className, ...props }) {
|
|
3248
3247
|
const ctx = $hgUW1$useContext($61ac9d13c14b7f5b$var$PopoverContext);
|
|
3249
3248
|
if (!ctx) throw "PopoverContent must be used withing a Popover component";
|
|
3250
3249
|
if (!ctx.overlayState?.isOpen) return null;
|
|
@@ -3253,6 +3252,7 @@ function $61ac9d13c14b7f5b$export$d7e1f420b25549ff({ children: children, offset:
|
|
|
3253
3252
|
placement: placement,
|
|
3254
3253
|
state: ctx.overlayState,
|
|
3255
3254
|
triggerRef: ctx.triggerRef,
|
|
3255
|
+
...props,
|
|
3256
3256
|
children: /*#__PURE__*/ (0, $hgUW1$jsx)("div", {
|
|
3257
3257
|
...ctx.overlayProps,
|
|
3258
3258
|
"data-radius": "md",
|