@parrot-co/parrot-ui 0.0.93 → 0.0.94

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
@@ -1209,7 +1209,7 @@ function $724eace27ebf345b$var$MenuSectionInner({ state: state, section: section
1209
1209
  style: style,
1210
1210
  className: (0, $62f1c614c0962470$export$a274e22fb40f762e)(className, "p-list-section"),
1211
1211
  children: [
1212
- /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)("li", {
1212
+ section.key !== state.collection.getFirstKey() && /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)("li", {
1213
1213
  className: "p-list-separator",
1214
1214
  ...separatorProps
1215
1215
  }),
@@ -2931,6 +2931,7 @@ function $9ff025417b0a683c$export$e6a97ba2cae5bb94({ items: items, render: rende
2931
2931
 
2932
2932
 
2933
2933
 
2934
+
2934
2935
  function $1278141024f0bc4d$export$c6fdb837b070b4ff({ children: children, state: state, ...props }) {
2935
2936
  const modalRef = $8zHUo$react.useRef(null);
2936
2937
  const { modalProps: modalProps, underlayProps: underlayProps } = (0, $8zHUo$reactaria.useModalOverlay)(props, // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
@@ -2949,7 +2950,7 @@ function $1278141024f0bc4d$export$c6fdb837b070b4ff({ children: children, state:
2949
2950
  })
2950
2951
  });
2951
2952
  }
2952
- function $1278141024f0bc4d$var$Dialog({ width: width = 400, title: title, onCancel: onCancel, onConfirm: onConfirm, confirmLabel: confirmLabel = "Confirm", cancelLabel: cancelLabel = "Cancel", description: description, children: children, confirmButtonProps: confirmButtonProps, cancelButtonProps: cancelButtonProps, variant: variant = "modal", showCloseButton: showCloseButton = true, onClose: onClose, onOpenChange: onOpenChange, ...props }) {
2953
+ function $1278141024f0bc4d$var$Dialog({ width: width = 400, title: title, onCancel: onCancel, onConfirm: onConfirm, confirmLabel: confirmLabel = "Confirm", cancelLabel: cancelLabel = "Cancel", description: description, children: children, confirmButtonProps: confirmButtonProps, cancelButtonProps: cancelButtonProps, variant: variant = "modal", showCloseButton: showCloseButton = true, onClose: onClose, onOpenChange: onOpenChange, className: className, style: style, hideTitle: hideTitle, ...props }) {
2953
2954
  const dialogRef = $8zHUo$react.useRef(null);
2954
2955
  const { dialogProps: dialogProps, titleProps: titleProps } = (0, $8zHUo$reactaria.useDialog)({
2955
2956
  role: "dialog",
@@ -2961,15 +2962,16 @@ function $1278141024f0bc4d$var$Dialog({ width: width = 400, title: title, onCanc
2961
2962
  }
2962
2963
  return /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsxs)("div", {
2963
2964
  "data-radius": "md",
2964
- className: "p-modal-content",
2965
+ className: (0, $62f1c614c0962470$export$a274e22fb40f762e)("p-modal-content", className),
2965
2966
  "data-variant": variant,
2966
2967
  style: {
2967
- minWidth: width
2968
+ minWidth: width,
2969
+ ...style
2968
2970
  },
2969
2971
  ref: dialogRef,
2970
2972
  ...dialogProps,
2971
2973
  children: [
2972
- /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsxs)((0, $c3a954a7c0cb5109$export$f51f4c4ede09e011), {
2974
+ !hideTitle && /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsxs)((0, $c3a954a7c0cb5109$export$f51f4c4ede09e011), {
2973
2975
  align: "center",
2974
2976
  as: "header",
2975
2977
  justify: "space-between",