@dartech/arsenal-ui 1.3.29 → 1.3.31

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/index.js +7 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -191,16 +191,16 @@ const AlertDialog = ({
191
191
  }), jsxs(DialogActions, {
192
192
  children: [jsx(Button, Object.assign({
193
193
  onClick: onClose,
194
- color: "primary",
195
- variant: "contained"
194
+ variant: "outlined"
196
195
  }, {
197
196
  children: _closeButtonTitle
198
197
  })), _confirmButtonTitle && onConfirm ? jsx(Button, Object.assign({
199
198
  onClick: onConfirm,
200
- color: "secondary",
199
+ color: "primary",
201
200
  variant: "contained",
202
201
  autoFocus: true,
203
- disabled: _confirmButtonDisabled
202
+ disabled: _confirmButtonDisabled,
203
+ disableElevation: true
204
204
  }, {
205
205
  children: _confirmButtonTitle
206
206
  })) : null]
@@ -2684,10 +2684,12 @@ const TableAction = ({
2684
2684
  onClick,
2685
2685
  location
2686
2686
  }) => {
2687
+ var _a;
2687
2688
  if (location) {
2688
2689
  return jsx(IconButton, Object.assign({
2689
2690
  component: Link,
2690
- to: location,
2691
+ to: location.pathname,
2692
+ state: (_a = location.state) !== null && _a !== void 0 ? _a : null,
2691
2693
  size: "small"
2692
2694
  }, {
2693
2695
  children: jsx(Tooltip, Object.assign({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.3.29",
3
+ "version": "1.3.31",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"