@portnet/ui 0.1.18 → 0.1.20

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.
@@ -144,8 +144,11 @@ const PuiFormikDateTimeField = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
144
144
  const formikContext = (0, _formik.useFormikContext)();
145
145
  const [hasError, setHasError] = React.useState(false);
146
146
  const handleChange = value => {
147
- formikContext.setFieldValue(name, value);
148
- onChange(value);
147
+ const formattedValue = format ? value.format(format) : value.toISOString();
148
+ formikContext.setFieldValue(name, formattedValue);
149
+ if (onChange) {
150
+ onChange(formattedValue);
151
+ }
149
152
  };
150
153
  const handleBlur = event => {
151
154
  onBlur(event);
@@ -111,6 +111,7 @@ const StyledMuiTable = (0, _styles.styled)( /*#__PURE__*/React.forwardRef((props
111
111
  textOverflow: "ellipsis",
112
112
  overflow: "hidden",
113
113
  maxHeight: "none",
114
+ minWidth: 'maxWidth',
114
115
  wordBreak: "break-word",
115
116
  "&.tableAction": {
116
117
  justifyContent: "center",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portnet/ui",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "Portnet UI",
5
5
  "keywords": [
6
6
  "react",