@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/main.js
CHANGED
|
@@ -2544,24 +2544,15 @@ const $765152e7e434b079$export$5ff5fb60b45fffad = (0, $80923bc9c1ba824c$export$3
|
|
|
2544
2544
|
py: 8
|
|
2545
2545
|
});
|
|
2546
2546
|
const $765152e7e434b079$export$22a81bdd3a723b46 = (0, $80923bc9c1ba824c$export$3817b7a54a07cec7)("ul", {
|
|
2547
|
-
borderRadius: 8,
|
|
2548
|
-
background: "white",
|
|
2549
|
-
boxShadow: "$subtle",
|
|
2550
|
-
boxSizing: "border-box",
|
|
2551
2547
|
padding: 0,
|
|
2552
2548
|
margin: 0,
|
|
2553
2549
|
listStyle: "none",
|
|
2554
|
-
fontFamily: "$sans"
|
|
2555
|
-
fontSize: "$3",
|
|
2556
|
-
maxHeight: 300,
|
|
2557
|
-
overflow: "auto",
|
|
2558
|
-
outline: "none",
|
|
2559
|
-
p: 6,
|
|
2560
|
-
border: "1px solid $gray3"
|
|
2550
|
+
fontFamily: "$sans"
|
|
2561
2551
|
});
|
|
2562
2552
|
const $765152e7e434b079$export$844bee7de236d7ec = (0, $80923bc9c1ba824c$export$3817b7a54a07cec7)("li", {
|
|
2563
2553
|
boxSizing: "border-box",
|
|
2564
|
-
|
|
2554
|
+
px: 8,
|
|
2555
|
+
py: 8,
|
|
2565
2556
|
outline: "none",
|
|
2566
2557
|
borderRadius: 7,
|
|
2567
2558
|
"&[data-pressed='true']": {
|
|
@@ -2723,6 +2714,21 @@ const $6f8af3bc5f5b1477$export$3ac1e88a1c0b9f1 = (0, $80923bc9c1ba824c$export$38
|
|
|
2723
2714
|
|
|
2724
2715
|
|
|
2725
2716
|
|
|
2717
|
+
|
|
2718
|
+
const $3347a410c0691704$var$PopoverContent = (0, $80923bc9c1ba824c$export$3817b7a54a07cec7)((0, $7003944ca9ba7b6a$export$2e2bcd8739ae039), {
|
|
2719
|
+
borderRadius: 8,
|
|
2720
|
+
background: "white",
|
|
2721
|
+
boxShadow: "$subtle",
|
|
2722
|
+
boxSizing: "border-box",
|
|
2723
|
+
margin: 0,
|
|
2724
|
+
fontFamily: "$sans",
|
|
2725
|
+
fontSize: "$3",
|
|
2726
|
+
maxHeight: 300,
|
|
2727
|
+
overflow: "auto",
|
|
2728
|
+
outline: "none",
|
|
2729
|
+
p: 6,
|
|
2730
|
+
border: "1px solid $gray3"
|
|
2731
|
+
});
|
|
2726
2732
|
const $3347a410c0691704$export$5b6b19405a83ff9d = /*#__PURE__*/ $E4F9t$react.forwardRef(({ children: children , offset: offset = 4 , state: state , css: css , ...props }, ref)=>{
|
|
2727
2733
|
const popoverRef = $E4F9t$react.useRef(null);
|
|
2728
2734
|
const { popoverProps: popoverProps , underlayProps: underlayProps } = (0, $E4F9t$reactaria.usePopover)({
|
|
@@ -2736,7 +2742,7 @@ const $3347a410c0691704$export$5b6b19405a83ff9d = /*#__PURE__*/ $E4F9t$react.for
|
|
|
2736
2742
|
className: "underlay",
|
|
2737
2743
|
...underlayProps
|
|
2738
2744
|
}),
|
|
2739
|
-
/*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)(
|
|
2745
|
+
/*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)($3347a410c0691704$var$PopoverContent, {
|
|
2740
2746
|
css: css,
|
|
2741
2747
|
className: "overlay",
|
|
2742
2748
|
...popoverProps,
|
|
@@ -2829,6 +2835,7 @@ const $0a4561d925fa922e$export$a26e8b900a29a570 = /*#__PURE__*/ (0, ($parcel$int
|
|
|
2829
2835
|
ref: ref,
|
|
2830
2836
|
...props,
|
|
2831
2837
|
children: (item)=>/*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)((0, $E4F9t$reactstately.Item), {
|
|
2838
|
+
textValue: item[key] || "key",
|
|
2832
2839
|
children: props.renderOption ? props.renderOption?.(item) : item?.[labelKey]
|
|
2833
2840
|
}, item[key] ?? "key")
|
|
2834
2841
|
});
|
|
@@ -3261,11 +3268,9 @@ const $4d607687132d9f4f$export$5109c6dd95d8fb00 = /*#__PURE__*/ $E4F9t$react.for
|
|
|
3261
3268
|
state: state,
|
|
3262
3269
|
triggerRef: pickerRef,
|
|
3263
3270
|
placement: "bottom start",
|
|
3264
|
-
children: /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)((0, $
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
numberOfMonths: numberOfMonths
|
|
3268
|
-
})
|
|
3271
|
+
children: /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)((0, $0ec4a031b4f9a702$export$e1aef45b828286de), {
|
|
3272
|
+
...calendarProps,
|
|
3273
|
+
numberOfMonths: numberOfMonths
|
|
3269
3274
|
})
|
|
3270
3275
|
})
|
|
3271
3276
|
]
|