@parrot-co/parrot-ui 0.0.43 → 0.0.45
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 +23 -18
- package/dist/main.js.map +1 -1
- package/dist/module.js +23 -18
- package/dist/module.js.map +1 -1
- package/package.json +2 -2
package/dist/module.js
CHANGED
|
@@ -2509,24 +2509,15 @@ const $49848f925ef854b6$export$5ff5fb60b45fffad = (0, $9ade691eb9e41cfb$export$3
|
|
|
2509
2509
|
py: 8
|
|
2510
2510
|
});
|
|
2511
2511
|
const $49848f925ef854b6$export$22a81bdd3a723b46 = (0, $9ade691eb9e41cfb$export$3817b7a54a07cec7)("ul", {
|
|
2512
|
-
borderRadius: 8,
|
|
2513
|
-
background: "white",
|
|
2514
|
-
boxShadow: "$subtle",
|
|
2515
|
-
boxSizing: "border-box",
|
|
2516
2512
|
padding: 0,
|
|
2517
2513
|
margin: 0,
|
|
2518
2514
|
listStyle: "none",
|
|
2519
|
-
fontFamily: "$sans"
|
|
2520
|
-
fontSize: "$3",
|
|
2521
|
-
maxHeight: 300,
|
|
2522
|
-
overflow: "auto",
|
|
2523
|
-
outline: "none",
|
|
2524
|
-
p: 6,
|
|
2525
|
-
border: "1px solid $gray3"
|
|
2515
|
+
fontFamily: "$sans"
|
|
2526
2516
|
});
|
|
2527
2517
|
const $49848f925ef854b6$export$844bee7de236d7ec = (0, $9ade691eb9e41cfb$export$3817b7a54a07cec7)("li", {
|
|
2528
2518
|
boxSizing: "border-box",
|
|
2529
|
-
|
|
2519
|
+
px: 8,
|
|
2520
|
+
py: 8,
|
|
2530
2521
|
outline: "none",
|
|
2531
2522
|
borderRadius: 7,
|
|
2532
2523
|
"&[data-pressed='true']": {
|
|
@@ -2688,6 +2679,21 @@ const $8f062ce7b62fd0a2$export$3ac1e88a1c0b9f1 = (0, $9ade691eb9e41cfb$export$38
|
|
|
2688
2679
|
|
|
2689
2680
|
|
|
2690
2681
|
|
|
2682
|
+
|
|
2683
|
+
const $c4793c1ed42b26da$var$PopoverContent = (0, $9ade691eb9e41cfb$export$3817b7a54a07cec7)((0, $d22d8a7881f7b33f$export$2e2bcd8739ae039), {
|
|
2684
|
+
borderRadius: 8,
|
|
2685
|
+
background: "white",
|
|
2686
|
+
boxShadow: "$subtle",
|
|
2687
|
+
boxSizing: "border-box",
|
|
2688
|
+
margin: 0,
|
|
2689
|
+
fontFamily: "$sans",
|
|
2690
|
+
fontSize: "$3",
|
|
2691
|
+
maxHeight: 300,
|
|
2692
|
+
overflow: "auto",
|
|
2693
|
+
outline: "none",
|
|
2694
|
+
p: 6,
|
|
2695
|
+
border: "1px solid $gray3"
|
|
2696
|
+
});
|
|
2691
2697
|
const $c4793c1ed42b26da$export$5b6b19405a83ff9d = /*#__PURE__*/ $kF5Av$forwardRef(({ children: children , offset: offset = 4 , state: state , css: css , ...props }, ref)=>{
|
|
2692
2698
|
const popoverRef = $kF5Av$useRef(null);
|
|
2693
2699
|
const { popoverProps: popoverProps , underlayProps: underlayProps } = (0, $kF5Av$usePopover)({
|
|
@@ -2701,7 +2707,7 @@ const $c4793c1ed42b26da$export$5b6b19405a83ff9d = /*#__PURE__*/ $kF5Av$forwardRe
|
|
|
2701
2707
|
className: "underlay",
|
|
2702
2708
|
...underlayProps
|
|
2703
2709
|
}),
|
|
2704
|
-
/*#__PURE__*/ (0, $kF5Av$jsx)(
|
|
2710
|
+
/*#__PURE__*/ (0, $kF5Av$jsx)($c4793c1ed42b26da$var$PopoverContent, {
|
|
2705
2711
|
css: css,
|
|
2706
2712
|
className: "overlay",
|
|
2707
2713
|
...popoverProps,
|
|
@@ -2794,6 +2800,7 @@ const $604e914a624d5a0f$export$a26e8b900a29a570 = /*#__PURE__*/ (0, $kF5Av$react
|
|
|
2794
2800
|
ref: ref,
|
|
2795
2801
|
...props,
|
|
2796
2802
|
children: (item)=>/*#__PURE__*/ (0, $kF5Av$jsx)((0, $kF5Av$Item), {
|
|
2803
|
+
textValue: item[key] || "key",
|
|
2797
2804
|
children: props.renderOption ? props.renderOption?.(item) : item?.[labelKey]
|
|
2798
2805
|
}, item[key] ?? "key")
|
|
2799
2806
|
});
|
|
@@ -3226,11 +3233,9 @@ const $8370e4d32f002899$export$5109c6dd95d8fb00 = /*#__PURE__*/ $kF5Av$forwardRe
|
|
|
3226
3233
|
state: state,
|
|
3227
3234
|
triggerRef: pickerRef,
|
|
3228
3235
|
placement: "bottom start",
|
|
3229
|
-
children: /*#__PURE__*/ (0, $kF5Av$jsx)((0, $
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
numberOfMonths: numberOfMonths
|
|
3233
|
-
})
|
|
3236
|
+
children: /*#__PURE__*/ (0, $kF5Av$jsx)((0, $dcb2850cb2ddaca2$export$e1aef45b828286de), {
|
|
3237
|
+
...calendarProps,
|
|
3238
|
+
numberOfMonths: numberOfMonths
|
|
3234
3239
|
})
|
|
3235
3240
|
})
|
|
3236
3241
|
]
|