@sanity/ui 2.0.0-alpha.15 → 2.0.0-alpha.16

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/index.js CHANGED
@@ -8860,26 +8860,27 @@ const DialogCard = react.forwardRef(function DialogCard2(props, ref) {
8860
8860
  children: [showHeader && /* @__PURE__ */jsxRuntime.jsx(DialogHeader, {
8861
8861
  $isContentScrollable: isContentScrollable,
8862
8862
  $hasScrolledFromTop: hasScrolledFromTop,
8863
- paddingLeft: 4,
8864
- paddingRight: 3,
8865
- paddingY: 3,
8866
8863
  children: /* @__PURE__ */jsxRuntime.jsxs(Flex, {
8867
8864
  align: "center",
8868
8865
  children: [/* @__PURE__ */jsxRuntime.jsx(Box, {
8869
8866
  flex: 1,
8867
+ margin: 1,
8868
+ padding: 4,
8870
8869
  children: header && /* @__PURE__ */jsxRuntime.jsx(Text, {
8871
8870
  id: labelId,
8872
8871
  size: 1,
8873
8872
  weight: "medium",
8874
8873
  children: header
8875
8874
  })
8876
- }), showCloseButton && /* @__PURE__ */jsxRuntime.jsx(Button, {
8877
- "aria-label": "Close dialog",
8878
- disabled: !onClose,
8879
- icon: icons.CloseIcon,
8880
- mode: "bleed",
8881
- onClick: onClose,
8882
- padding: 3
8875
+ }), showCloseButton && /* @__PURE__ */jsxRuntime.jsx(Box, {
8876
+ padding: 3,
8877
+ children: /* @__PURE__ */jsxRuntime.jsx(Button, {
8878
+ "aria-label": "Close dialog",
8879
+ disabled: !onClose,
8880
+ icon: icons.CloseIcon,
8881
+ mode: "bleed",
8882
+ onClick: onClose
8883
+ })
8883
8884
  })]
8884
8885
  })
8885
8886
  }), /* @__PURE__ */jsxRuntime.jsx(DialogContent, {