@parrot-co/parrot-ui 0.0.44 → 0.0.46

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
@@ -23,6 +23,7 @@ $parcel$export(module.exports, "Input", () => $a40dc702bc0ad3b7$export$f5b8910ce
23
23
  $parcel$export(module.exports, "Text", () => $6fb5722ea7b379d7$export$2e2bcd8739ae039);
24
24
  $parcel$export(module.exports, "Textarea", () => $4f64c191050a7283$export$379139ebc1c2b235);
25
25
  $parcel$export(module.exports, "Button", () => $8d4373b1a05e63fb$export$353f5b6fc5456de1);
26
+ $parcel$export(module.exports, "IconButton", () => $626c660fba87c9a3$export$c25acd513dcc8062);
26
27
  $parcel$export(module.exports, "Checkbox", () => $869aa95ca6defa25$export$48513f6b9f8ce62d);
27
28
  $parcel$export(module.exports, "CheckboxGroup", () => $b8075849c644c9bf$export$4aa08d5625cb8ead);
28
29
  $parcel$export(module.exports, "Radio", () => $98a03e69ce05a78a$export$d7b12c4107be0d61);
@@ -2544,24 +2545,15 @@ const $765152e7e434b079$export$5ff5fb60b45fffad = (0, $80923bc9c1ba824c$export$3
2544
2545
  py: 8
2545
2546
  });
2546
2547
  const $765152e7e434b079$export$22a81bdd3a723b46 = (0, $80923bc9c1ba824c$export$3817b7a54a07cec7)("ul", {
2547
- borderRadius: 8,
2548
- background: "white",
2549
- boxShadow: "$subtle",
2550
- boxSizing: "border-box",
2551
2548
  padding: 0,
2552
2549
  margin: 0,
2553
2550
  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"
2551
+ fontFamily: "$sans"
2561
2552
  });
2562
2553
  const $765152e7e434b079$export$844bee7de236d7ec = (0, $80923bc9c1ba824c$export$3817b7a54a07cec7)("li", {
2563
2554
  boxSizing: "border-box",
2564
- padding: "10px 12px",
2555
+ px: 8,
2556
+ py: 8,
2565
2557
  outline: "none",
2566
2558
  borderRadius: 7,
2567
2559
  "&[data-pressed='true']": {
@@ -2723,6 +2715,21 @@ const $6f8af3bc5f5b1477$export$3ac1e88a1c0b9f1 = (0, $80923bc9c1ba824c$export$38
2723
2715
 
2724
2716
 
2725
2717
 
2718
+
2719
+ const $3347a410c0691704$var$PopoverContent = (0, $80923bc9c1ba824c$export$3817b7a54a07cec7)((0, $7003944ca9ba7b6a$export$2e2bcd8739ae039), {
2720
+ borderRadius: 8,
2721
+ background: "white",
2722
+ boxShadow: "$subtle",
2723
+ boxSizing: "border-box",
2724
+ margin: 0,
2725
+ fontFamily: "$sans",
2726
+ fontSize: "$3",
2727
+ maxHeight: 300,
2728
+ overflow: "auto",
2729
+ outline: "none",
2730
+ p: 6,
2731
+ border: "1px solid $gray3"
2732
+ });
2726
2733
  const $3347a410c0691704$export$5b6b19405a83ff9d = /*#__PURE__*/ $E4F9t$react.forwardRef(({ children: children , offset: offset = 4 , state: state , css: css , ...props }, ref)=>{
2727
2734
  const popoverRef = $E4F9t$react.useRef(null);
2728
2735
  const { popoverProps: popoverProps , underlayProps: underlayProps } = (0, $E4F9t$reactaria.usePopover)({
@@ -2736,7 +2743,7 @@ const $3347a410c0691704$export$5b6b19405a83ff9d = /*#__PURE__*/ $E4F9t$react.for
2736
2743
  className: "underlay",
2737
2744
  ...underlayProps
2738
2745
  }),
2739
- /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)((0, $7003944ca9ba7b6a$export$2e2bcd8739ae039), {
2746
+ /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)($3347a410c0691704$var$PopoverContent, {
2740
2747
  css: css,
2741
2748
  className: "overlay",
2742
2749
  ...popoverProps,
@@ -3262,11 +3269,9 @@ const $4d607687132d9f4f$export$5109c6dd95d8fb00 = /*#__PURE__*/ $E4F9t$react.for
3262
3269
  state: state,
3263
3270
  triggerRef: pickerRef,
3264
3271
  placement: "bottom start",
3265
- children: /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)((0, $99240aa62a70fb69$export$83ab9905f75b2566), {
3266
- children: /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)((0, $0ec4a031b4f9a702$export$e1aef45b828286de), {
3267
- ...calendarProps,
3268
- numberOfMonths: numberOfMonths
3269
- })
3272
+ children: /*#__PURE__*/ (0, $E4F9t$reactjsxruntime.jsx)((0, $0ec4a031b4f9a702$export$e1aef45b828286de), {
3273
+ ...calendarProps,
3274
+ numberOfMonths: numberOfMonths
3270
3275
  })
3271
3276
  })
3272
3277
  ]