awing-library 2.1.2-dev.92 → 2.1.2-dev.94

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 +28 -19
  2. package/package.json +1 -1
package/dist/esm/index.js CHANGED
@@ -177883,31 +177883,37 @@ function TableRowEditable(props) {
177883
177883
  const isMergeColumn = fieldName === mergeRowsBy;
177884
177884
  const isDisplay = isMergeColumn ? itemIndex === 0 || convertItems[itemIndex - 1][fieldName] !== row[fieldName] : true;
177885
177885
  return isDisplay && jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
177886
- children: jsxRuntimeExports.jsxs(Box$1, {
177886
+ children: jsxRuntimeExports.jsx(Box$1, {
177887
177887
  sx: {
177888
177888
  flex: '0 1 calc(33.333% - 16px)',
177889
177889
  boxSizing: 'border-box',
177890
177890
  p: 2
177891
177891
  },
177892
- children: [!!colDef.label && jsxRuntimeExports.jsx(FormLabel$1, {
177892
+ children: jsxRuntimeExports.jsxs(Box$1, {
177893
177893
  sx: {
177894
- fontSize: '0.7rem'
177894
+ marginTop: '4px'
177895
177895
  },
177896
- children: colDef.label
177897
- }), jsxRuntimeExports.jsx(Stack, {
177898
- sx: {
177899
- textAlign: 'left',
177900
- minHeight: '24px',
177901
- borderBottom: '1px solid rgba(0, 0, 0, .42)'
177902
- },
177903
- children: colDef.isTooltip ? jsxRuntimeExports.jsx(StyleTooltip, {
177904
- title: colDef.getTitleTooltip && colDef.getTitleTooltip(content),
177905
- placement: "top-start",
177906
- children: jsxRuntimeExports.jsx("div", {
177907
- children: content
177908
- })
177909
- }) : colDef.contentGetter(row, rowIdx)
177910
- })]
177896
+ children: [!!colDef.label && jsxRuntimeExports.jsx(FormLabel$1, {
177897
+ sx: {
177898
+ fontSize: '0.7rem'
177899
+ },
177900
+ children: colDef.label
177901
+ }), jsxRuntimeExports.jsx(Stack, {
177902
+ sx: {
177903
+ textAlign: 'left',
177904
+ minHeight: '24px',
177905
+ borderBottom: '1px solid rgba(0, 0, 0, .42)',
177906
+ padding: '4px 8px 4px 8px'
177907
+ },
177908
+ children: colDef.isTooltip ? jsxRuntimeExports.jsx(StyleTooltip, {
177909
+ title: colDef.getTitleTooltip && colDef.getTitleTooltip(content),
177910
+ placement: "top-start",
177911
+ children: jsxRuntimeExports.jsx("div", {
177912
+ children: content
177913
+ })
177914
+ }) : colDef.contentGetter(row, rowIdx)
177915
+ })]
177916
+ })
177911
177917
  }, idx)
177912
177918
  });
177913
177919
  }
@@ -177926,7 +177932,10 @@ function TableRowEditable(props) {
177926
177932
  boxSizing: 'border-box',
177927
177933
  p: 2,
177928
177934
  '& .MuiFormControl-root': {
177929
- borderBottom: '1px solid rgba(0, 0, 0, .42)'
177935
+ borderBottom: '1px solid rgba(0, 0, 0, .42)',
177936
+ '& .MuiInputBase-inputMultiline': {
177937
+ padding: '4px 0 5px'
177938
+ }
177930
177939
  }
177931
177940
  },
177932
177941
  children: jsxRuntimeExports.jsx(TableCellEditable, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.2-dev.92",
3
+ "version": "2.1.2-dev.94",
4
4
  "main": "dist/esm/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/index.d.ts",