@madie/madie-design-system 1.2.61 → 1.2.63

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.
@@ -64,7 +64,7 @@ const DateField = ({
64
64
  id={id}
65
65
  size="small"
66
66
  {...rest}
67
- value={value ? dayjs.utc(value).format("YYYY/MM/DD") : "-"}
67
+ value={value ? dayjs.utc(value).format("MM/DD/YYYY") : "-"}
68
68
  />
69
69
  )
70
70
  }
@@ -58,7 +58,7 @@ const DateTimeField = ({
58
58
  return (
59
59
  <ReadOnlyTextField
60
60
  label={label}
61
- value={dateTimeValue ? dayjs.utc(dateTimeValue).format("YYYY/MM/DD HH:mm A") : "-"}
61
+ value={dateTimeValue ? dayjs.utc(dateTimeValue).format("MM/DD/YYYY hh:mm A") : "-"}
62
62
  id={id}
63
63
  size="small"
64
64
  />
@@ -22,7 +22,7 @@ const RadioButton = ({
22
22
  ...rest
23
23
  }) => {
24
24
  if (disabled) {
25
- const option = options?.find(option => String(option.value) === rest.value);
25
+ const option = options?.find(option => String(option.value) === String(rest.value));
26
26
  return (
27
27
  <ReadOnlyTextField
28
28
  required={required}
@@ -184,6 +184,9 @@ const RichTextEditor = ({
184
184
  Gapcursor,
185
185
  Table.configure({
186
186
  resizable: true,
187
+ HTMLAttributes: {
188
+ class: "rich-text-table",
189
+ },
187
190
  }),
188
191
  TableRow,
189
192
  TableHeader,