@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/module.js CHANGED
@@ -1158,7 +1158,7 @@ function $ad85ba12e832a3ea$var$MenuSectionInner({ state: state, section: section
1158
1158
  style: style,
1159
1159
  className: (0, $cce662c1d2ec881b$export$a274e22fb40f762e)(className, "p-list-section"),
1160
1160
  children: [
1161
- /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
1161
+ section.key !== state.collection.getFirstKey() && /*#__PURE__*/ (0, $hgUW1$jsx)("li", {
1162
1162
  className: "p-list-separator",
1163
1163
  ...separatorProps
1164
1164
  }),
@@ -2880,6 +2880,7 @@ function $727b3a4d9b39464f$export$e6a97ba2cae5bb94({ items: items, render: rende
2880
2880
 
2881
2881
 
2882
2882
 
2883
+
2883
2884
  function $4bad2c10a2b6e638$export$c6fdb837b070b4ff({ children: children, state: state, ...props }) {
2884
2885
  const modalRef = $hgUW1$useRef(null);
2885
2886
  const { modalProps: modalProps, underlayProps: underlayProps } = (0, $hgUW1$useModalOverlay)(props, // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
@@ -2898,7 +2899,7 @@ function $4bad2c10a2b6e638$export$c6fdb837b070b4ff({ children: children, state:
2898
2899
  })
2899
2900
  });
2900
2901
  }
2901
- function $4bad2c10a2b6e638$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 }) {
2902
+ function $4bad2c10a2b6e638$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 }) {
2902
2903
  const dialogRef = $hgUW1$useRef(null);
2903
2904
  const { dialogProps: dialogProps, titleProps: titleProps } = (0, $hgUW1$useDialog)({
2904
2905
  role: "dialog",
@@ -2910,15 +2911,16 @@ function $4bad2c10a2b6e638$var$Dialog({ width: width = 400, title: title, onCanc
2910
2911
  }
2911
2912
  return /*#__PURE__*/ (0, $hgUW1$jsxs)("div", {
2912
2913
  "data-radius": "md",
2913
- className: "p-modal-content",
2914
+ className: (0, $cce662c1d2ec881b$export$a274e22fb40f762e)("p-modal-content", className),
2914
2915
  "data-variant": variant,
2915
2916
  style: {
2916
- minWidth: width
2917
+ minWidth: width,
2918
+ ...style
2917
2919
  },
2918
2920
  ref: dialogRef,
2919
2921
  ...dialogProps,
2920
2922
  children: [
2921
- /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $e2f278d76a00796a$export$f51f4c4ede09e011), {
2923
+ !hideTitle && /*#__PURE__*/ (0, $hgUW1$jsxs)((0, $e2f278d76a00796a$export$f51f4c4ede09e011), {
2922
2924
  align: "center",
2923
2925
  as: "header",
2924
2926
  justify: "space-between",