@availity/mui-table 2.0.6 → 2.0.8
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/CHANGELOG.md +15 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +6 -6
- package/src/lib/TableCell.tsx +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [2.0.8](https://github.com/Availity/element/compare/@availity/mui-table@2.0.7...@availity/mui-table@2.0.8) (2026-06-03)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* made the position for table cells placeholder be relative, GPS-498 ([47cd378](https://github.com/Availity/element/commit/47cd37870975434f2c372401f2167e205dbae2f4))
|
|
11
|
+
|
|
12
|
+
## [2.0.7](https://github.com/Availity/element/compare/@availity/mui-table@2.0.6...@availity/mui-table@2.0.7) (2026-05-27)
|
|
13
|
+
|
|
14
|
+
### Dependency Updates
|
|
15
|
+
|
|
16
|
+
* `mui-chip` updated to version `2.0.6`
|
|
17
|
+
* `mui-form-utils` updated to version `2.0.6`
|
|
18
|
+
* `mui-textfield` updated to version `2.0.6`
|
|
19
|
+
* `mui-pagination` updated to version `2.0.6`
|
|
5
20
|
## [2.0.6](https://github.com/Availity/element/compare/@availity/mui-table@2.0.5...@availity/mui-table@2.0.6) (2026-03-03)
|
|
6
21
|
|
|
7
22
|
### Dependency Updates
|
package/dist/index.js
CHANGED
|
@@ -95,7 +95,7 @@ var TableCell = (_a) => {
|
|
|
95
95
|
const isPlaceholderActive = !disableEmptyPlaceholder && !children;
|
|
96
96
|
const placeholder = /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
|
|
97
97
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { "aria-hidden": true, children: "\u2014" }),
|
|
98
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { style: import_mui_utils.visuallyHidden, children: "No Data" })
|
|
98
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { style: __spreadProps(__spreadValues({}, import_mui_utils.visuallyHidden), { position: "relative" }), children: "No Data" })
|
|
99
99
|
] });
|
|
100
100
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_TableCell.default, __spreadProps(__spreadValues({}, props), { children: isPlaceholderActive ? placeholder : children }));
|
|
101
101
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -56,7 +56,7 @@ var TableCell = (_a) => {
|
|
|
56
56
|
const isPlaceholderActive = !disableEmptyPlaceholder && !children;
|
|
57
57
|
const placeholder = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
58
58
|
/* @__PURE__ */ jsx3("div", { "aria-hidden": true, children: "\u2014" }),
|
|
59
|
-
/* @__PURE__ */ jsx3("div", { style: visuallyHidden, children: "No Data" })
|
|
59
|
+
/* @__PURE__ */ jsx3("div", { style: __spreadProps(__spreadValues({}, visuallyHidden), { position: "relative" }), children: "No Data" })
|
|
60
60
|
] });
|
|
61
61
|
return /* @__PURE__ */ jsx3(MuiTableCell, __spreadProps(__spreadValues({}, props), { children: isPlaceholderActive ? placeholder : children }));
|
|
62
62
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-table",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"description": "Availity MUI Table Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -41,21 +41,21 @@
|
|
|
41
41
|
"publish:canary": "yarn npm publish --access public --tag canary"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@availity/mui-form-utils": "2.0.
|
|
44
|
+
"@availity/mui-form-utils": "2.0.6",
|
|
45
45
|
"@availity/mui-icon": "2.1.0",
|
|
46
|
-
"@availity/mui-pagination": "2.0.
|
|
46
|
+
"@availity/mui-pagination": "2.0.6",
|
|
47
47
|
"@availity/mui-utils": "2.0.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@availity/mui-button": "2.0.2",
|
|
51
|
-
"@availity/mui-chip": "2.0.
|
|
52
|
-
"@availity/mui-form-utils": "2.0.
|
|
51
|
+
"@availity/mui-chip": "2.0.6",
|
|
52
|
+
"@availity/mui-form-utils": "2.0.6",
|
|
53
53
|
"@availity/mui-icon": "2.1.0",
|
|
54
54
|
"@availity/mui-layout": "^2.0.1",
|
|
55
55
|
"@availity/mui-link": "2.0.2",
|
|
56
56
|
"@availity/mui-menu": "2.0.2",
|
|
57
57
|
"@availity/mui-paper": "2.0.1",
|
|
58
|
-
"@availity/mui-textfield": "2.0.
|
|
58
|
+
"@availity/mui-textfield": "2.0.6",
|
|
59
59
|
"@availity/mui-typography": "2.0.1",
|
|
60
60
|
"@mui/material": "^7.3.4",
|
|
61
61
|
"react": "19.2.0",
|
package/src/lib/TableCell.tsx
CHANGED
|
@@ -18,9 +18,9 @@ export type TableCellProps = {
|
|
|
18
18
|
disableEmptyPlaceholder?: boolean;
|
|
19
19
|
} & MuiTableCellProps;
|
|
20
20
|
|
|
21
|
-
export const TableCell = ({disableEmptyPlaceholder = false, children, ...props}: TableCellProps): React.JSX.Element => {
|
|
21
|
+
export const TableCell = ({ disableEmptyPlaceholder = false, children, ...props }: TableCellProps): React.JSX.Element => {
|
|
22
22
|
const isPlaceholderActive = !disableEmptyPlaceholder && !children;
|
|
23
|
-
const placeholder = <><div aria-hidden>—</div><div style={visuallyHidden}>No Data</div></>;
|
|
23
|
+
const placeholder = <><div aria-hidden>—</div><div style={{ ...visuallyHidden, position: 'relative' }}>No Data</div></>;
|
|
24
24
|
|
|
25
25
|
return <MuiTableCell {...props}>{isPlaceholderActive ? placeholder : children}</MuiTableCell>;
|
|
26
26
|
};
|