@abtnode/ux 1.16.14-beta-c775fe49 → 1.16.14-beta-c81e5ca0

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.
@@ -76,7 +76,17 @@ function AuditLog(_ref2) {
76
76
  color: "textSecondary",
77
77
  component: "p",
78
78
  gutterBottom: true,
79
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactRouterDom.Link, {
79
+ display: "flex",
80
+ alignItems: "center",
81
+ children: [showScope && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactRouterDom.Link, {
82
+ to: log.link,
83
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tag.default, {
84
+ style: {
85
+ marginRight: 8
86
+ },
87
+ children: scopeFormatter(log.scope)
88
+ })
89
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactRouterDom.Link, {
80
90
  to: getUserLink({
81
91
  log,
82
92
  inService,
@@ -85,27 +95,17 @@ function AuditLog(_ref2) {
85
95
  target: "_blank",
86
96
  children: [log.actor.fullName, log.actor.role ? "(".concat(log.actor.role, ")") : '']
87
97
  }), ' ', "- ", log.action]
88
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Typography.default, {
98
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, {
89
99
  className: "log-content",
90
100
  maxWidth: "lg",
91
101
  color: "textPrimary",
92
102
  component: "div",
93
103
  "data-color-mode": "light",
94
104
  gutterBottom: true,
95
- display: "flex",
96
- alignItems: "center",
97
- children: [showScope && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactRouterDom.Link, {
98
- to: log.link,
99
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tag.default, {
100
- style: {
101
- marginRight: 8
102
- },
103
- children: scopeFormatter(log.scope)
104
- })
105
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactMarkdownPreview.default, {
105
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactMarkdownPreview.default, {
106
106
  source: log.content,
107
107
  linkTarget: "_blank"
108
- })]
108
+ })
109
109
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Box.default, {
110
110
  className: "log-meta",
111
111
  variant: "body2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/ux",
3
- "version": "1.16.14-beta-c775fe49",
3
+ "version": "1.16.14-beta-c81e5ca0",
4
4
  "description": "UX components shared across abtnode packages",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -23,9 +23,9 @@
23
23
  "author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@abtnode/auth": "1.16.14-beta-c775fe49",
27
- "@abtnode/constant": "1.16.14-beta-c775fe49",
28
- "@abtnode/util": "1.16.14-beta-c775fe49",
26
+ "@abtnode/auth": "1.16.14-beta-c81e5ca0",
27
+ "@abtnode/constant": "1.16.14-beta-c81e5ca0",
28
+ "@abtnode/util": "1.16.14-beta-c81e5ca0",
29
29
  "@ahooksjs/use-url-state": "^3.5.1",
30
30
  "@arcblock/did": "^1.18.88",
31
31
  "@arcblock/did-connect": "^2.6.8",
@@ -35,10 +35,10 @@
35
35
  "@arcblock/react-hooks": "^2.6.8",
36
36
  "@arcblock/terminal": "^2.6.8",
37
37
  "@arcblock/ux": "^2.6.8",
38
- "@blocklet/constant": "1.16.14-beta-c775fe49",
38
+ "@blocklet/constant": "1.16.14-beta-c81e5ca0",
39
39
  "@blocklet/launcher-layout": "2.1.83",
40
40
  "@blocklet/list": "^0.12.25",
41
- "@blocklet/meta": "1.16.14-beta-c775fe49",
41
+ "@blocklet/meta": "1.16.14-beta-c81e5ca0",
42
42
  "@blocklet/ui-react": "^2.6.8",
43
43
  "@emotion/react": "^11.10.4",
44
44
  "@emotion/styled": "^11.10.4",
@@ -93,5 +93,5 @@
93
93
  "@babel/preset-react": "^7.18.6",
94
94
  "babel-plugin-inline-react-svg": "^1.1.2"
95
95
  },
96
- "gitHead": "8a87fffd7e47a2573d3fec7b8b23559b204726f5"
96
+ "gitHead": "7b7029946719716f857b646f1c963702a3bf5e88"
97
97
  }