awing-library 2.1.2-dev.79 → 2.1.2-dev.80

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.
Files changed (2) hide show
  1. package/dist/esm/index.js +10 -7
  2. package/package.json +1 -1
package/dist/esm/index.js CHANGED
@@ -177642,18 +177642,21 @@ function TableCellEditable(props) {
177642
177642
  const inputProps = Object.assign(Object.assign(Object.assign({}, ![FIELD_TYPE.ASYNC_AUTOCOMPLETE, FIELD_TYPE.AUTOCOMPLETE].includes(cellDefinition === null || cellDefinition === void 0 ? void 0 : cellDefinition.type) ? {
177643
177643
  InputProps: {
177644
177644
  disableUnderline: true,
177645
- style: Object.assign({
177646
- textAlign: isContainer ? 'left' : ((_a = cellDefinition === null || cellDefinition === void 0 ? void 0 : cellDefinition.TableCellProps) === null || _a === void 0 ? void 0 : _a.align) == 'right' ? 'end' : undefined,
177645
+ style: {
177646
+ textAlign: ((_a = cellDefinition === null || cellDefinition === void 0 ? void 0 : cellDefinition.TableCellProps) === null || _a === void 0 ? void 0 : _a.align) == 'right' ? 'end' : undefined,
177647
177647
  padding: '0px 8px'
177648
- }, isContainer ? {
177649
- textAlign: 'left'
177650
- } : {})
177648
+ }
177651
177649
  }
177652
177650
  } : {}), cellDefinition), {
177653
177651
  disableHelperText: true
177654
177652
  });
177655
- console.log('inputProps', inputProps);
177656
- return jsxRuntimeExports.jsx(InputFactory, Object.assign({}, inputProps));
177653
+ return jsxRuntimeExports.jsx(InputFactory, Object.assign({}, inputProps, {
177654
+ sx: {
177655
+ '& .MuiInput-input': {
177656
+ textAlign: isContainer ? 'left' : undefined
177657
+ }
177658
+ }
177659
+ }));
177657
177660
  };
177658
177661
  return isContainer ? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
177659
177662
  children: isTooltip ? jsxRuntimeExports.jsx(StyleTooltip$1, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.2-dev.79",
3
+ "version": "2.1.2-dev.80",
4
4
  "main": "dist/esm/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/index.d.ts",