@ceed/ads 1.38.0 → 1.39.0

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.cjs CHANGED
@@ -5559,8 +5559,9 @@ var StyledDialogFrame = (0, import_joy41.styled)(ModalDialog, {
5559
5559
  padding: 0
5560
5560
  });
5561
5561
  var DialogFrame = import_react32.default.forwardRef((props, ref) => {
5562
- const { title, children, actions, fullscreen, ...innerProps } = props;
5563
- return /* @__PURE__ */ import_react32.default.createElement(StyledDialogFrame, { layout: fullscreen ? "fullscreen" : "center", ref, ...innerProps }, /* @__PURE__ */ import_react32.default.createElement(DialogTitle_default, null, title), /* @__PURE__ */ import_react32.default.createElement(DialogContent_default, null, children), /* @__PURE__ */ import_react32.default.createElement(DialogActions_default, null, actions));
5562
+ const { title, children, actions, fullscreen, onSubmit, ...innerProps } = props;
5563
+ const formProps = onSubmit ? { component: "form", onSubmit } : void 0;
5564
+ return /* @__PURE__ */ import_react32.default.createElement(StyledDialogFrame, { layout: fullscreen ? "fullscreen" : "center", ref, ...formProps, ...innerProps }, /* @__PURE__ */ import_react32.default.createElement(DialogTitle_default, null, title), /* @__PURE__ */ import_react32.default.createElement(DialogContent_default, null, children), /* @__PURE__ */ import_react32.default.createElement(DialogActions_default, null, actions));
5564
5565
  });
5565
5566
  DialogFrame.displayName = "DialogFrame";
5566
5567
 
@@ -8015,7 +8016,8 @@ function RadioTileGroup(props) {
8015
8016
  label: ({ disabled }) => ({
8016
8017
  sx: (theme) => ({
8017
8018
  ...theme.typography[{ sm: "body-sm", md: "body-md", lg: "body-lg" }[size]],
8018
- color: disabled ? theme.palette.neutral.outlinedDisabledColor : theme.palette.neutral.outlinedColor
8019
+ color: disabled ? theme.palette.neutral.outlinedDisabledColor : theme.palette.neutral.outlinedColor,
8020
+ textAlign
8019
8021
  })
8020
8022
  })
8021
8023
  }
package/dist/index.js CHANGED
@@ -5442,8 +5442,9 @@ var StyledDialogFrame = styled18(ModalDialog, {
5442
5442
  padding: 0
5443
5443
  });
5444
5444
  var DialogFrame = React29.forwardRef((props, ref) => {
5445
- const { title, children, actions, fullscreen, ...innerProps } = props;
5446
- return /* @__PURE__ */ React29.createElement(StyledDialogFrame, { layout: fullscreen ? "fullscreen" : "center", ref, ...innerProps }, /* @__PURE__ */ React29.createElement(DialogTitle_default, null, title), /* @__PURE__ */ React29.createElement(DialogContent_default, null, children), /* @__PURE__ */ React29.createElement(DialogActions_default, null, actions));
5445
+ const { title, children, actions, fullscreen, onSubmit, ...innerProps } = props;
5446
+ const formProps = onSubmit ? { component: "form", onSubmit } : void 0;
5447
+ return /* @__PURE__ */ React29.createElement(StyledDialogFrame, { layout: fullscreen ? "fullscreen" : "center", ref, ...formProps, ...innerProps }, /* @__PURE__ */ React29.createElement(DialogTitle_default, null, title), /* @__PURE__ */ React29.createElement(DialogContent_default, null, children), /* @__PURE__ */ React29.createElement(DialogActions_default, null, actions));
5447
5448
  });
5448
5449
  DialogFrame.displayName = "DialogFrame";
5449
5450
 
@@ -7914,7 +7915,8 @@ function RadioTileGroup(props) {
7914
7915
  label: ({ disabled }) => ({
7915
7916
  sx: (theme) => ({
7916
7917
  ...theme.typography[{ sm: "body-sm", md: "body-md", lg: "body-lg" }[size]],
7917
- color: disabled ? theme.palette.neutral.outlinedDisabledColor : theme.palette.neutral.outlinedColor
7918
+ color: disabled ? theme.palette.neutral.outlinedDisabledColor : theme.palette.neutral.outlinedColor,
7919
+ textAlign
7918
7920
  })
7919
7921
  })
7920
7922
  }