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

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/esm/index.js CHANGED
@@ -177642,14 +177642,17 @@ 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: {
177646
- textAlign: ((_a = cellDefinition === null || cellDefinition === void 0 ? void 0 : cellDefinition.TableCellProps) === null || _a === void 0 ? void 0 : _a.align) == 'right' ? 'end' : undefined,
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,
177647
177647
  padding: '0px 8px'
177648
- }
177648
+ }, isContainer ? {
177649
+ textAlign: 'left'
177650
+ } : {})
177649
177651
  }
177650
177652
  } : {}), cellDefinition), {
177651
177653
  disableHelperText: true
177652
177654
  });
177655
+ console.log('inputProps', inputProps);
177653
177656
  return jsxRuntimeExports.jsx(InputFactory, Object.assign({}, inputProps));
177654
177657
  };
177655
177658
  return isContainer ? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
@@ -177887,7 +177890,7 @@ function TableRowEditable(props) {
177887
177890
  children: colDef.label
177888
177891
  }), jsxRuntimeExports.jsx(Stack, {
177889
177892
  sx: {
177890
- textAlign: "left"
177893
+ textAlign: 'left'
177891
177894
  },
177892
177895
  children: colDef.isTooltip ? jsxRuntimeExports.jsx(StyleTooltip, {
177893
177896
  title: colDef.getTitleTooltip && colDef.getTitleTooltip(content),
@@ -177913,8 +177916,7 @@ function TableRowEditable(props) {
177913
177916
  sx: {
177914
177917
  flex: '0 1 calc(33.333% - 16px)',
177915
177918
  boxSizing: 'border-box',
177916
- p: 2,
177917
- textAlign: "left!important"
177919
+ p: 2
177918
177920
  },
177919
177921
  children: jsxRuntimeExports.jsx(TableCellEditable, {
177920
177922
  isContainer: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.2-dev.77",
3
+ "version": "2.1.2-dev.79",
4
4
  "main": "dist/esm/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/index.d.ts",