@arcblock/ux 3.0.39 → 3.0.42
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/lib/Layout/dashboard/index.d.ts +2 -0
- package/lib/Layout/dashboard/index.js +33 -32
- package/lib/NavMenu/images/aigne.svg.js +2 -4
- package/lib/NavMenu/images/aistro.png +0 -0
- package/lib/NavMenu/images/did.svg.js +2 -2
- package/lib/NavMenu/index.d.ts +1 -1
- package/lib/NavMenu/products.d.ts +3 -2
- package/lib/NavMenu/products.js +284 -147
- package/lib/NavMenu/style.js +5 -4
- package/lib/NavMenu/sub-item-group.js +7 -1
- package/lib/UserCard/index.js +9 -5
- package/package.json +7 -7
- package/src/Layout/dashboard/index.tsx +4 -1
- package/src/NavMenu/images/aigne.svg +6 -8
- package/src/NavMenu/images/aistro.png +0 -0
- package/src/NavMenu/images/did.svg +5 -3
- package/src/NavMenu/index.ts +1 -1
- package/src/NavMenu/products.tsx +429 -253
- package/src/NavMenu/style.ts +2 -1
- package/src/NavMenu/sub-item-group.tsx +7 -1
- package/src/UserCard/index.tsx +3 -3
- package/lib/NavMenu/images/ai-kit.svg.js +0 -7
- package/lib/NavMenu/images/aistro.svg.js +0 -5
- package/lib/NavMenu/images/did-connect.svg.js +0 -5
- package/lib/NavMenu/images/did-name-service.svg.js +0 -5
- package/src/NavMenu/images/aistro.svg +0 -14
- package/src/NavMenu/images/did-connect.svg +0 -26
- package/src/NavMenu/images/did-name-service.svg +0 -3
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.42",
|
4
4
|
"description": "Common used react components for arcblock products",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -60,16 +60,16 @@
|
|
60
60
|
"react": "^19.0.0",
|
61
61
|
"react-router-dom": "^6.22.3"
|
62
62
|
},
|
63
|
-
"gitHead": "
|
63
|
+
"gitHead": "d17657ac3774ee73a5bfe0eaac30cc9a8fbfe7cf",
|
64
64
|
"dependencies": {
|
65
|
-
"@arcblock/bridge": "3.0.
|
65
|
+
"@arcblock/bridge": "3.0.42",
|
66
66
|
"@arcblock/did": "^1.21.0",
|
67
67
|
"@arcblock/did-motif": "^1.1.14",
|
68
|
-
"@arcblock/icons": "3.0.
|
69
|
-
"@arcblock/nft-display": "3.0.
|
70
|
-
"@arcblock/react-hooks": "3.0.
|
68
|
+
"@arcblock/icons": "3.0.42",
|
69
|
+
"@arcblock/nft-display": "3.0.42",
|
70
|
+
"@arcblock/react-hooks": "3.0.42",
|
71
71
|
"@blocklet/js-sdk": "^1.16.46",
|
72
|
-
"@blocklet/theme": "3.0.
|
72
|
+
"@blocklet/theme": "3.0.42",
|
73
73
|
"@fontsource/roboto": "~5.1.1",
|
74
74
|
"@fontsource/ubuntu-mono": "^5.2.6",
|
75
75
|
"@iconify-icons/logos": "^1.2.36",
|
@@ -59,6 +59,8 @@ export interface DashboardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
59
59
|
dense?: 'auto' | boolean;
|
60
60
|
footerProps?: FooterProps;
|
61
61
|
sx?: SxProps;
|
62
|
+
/** 是否隐藏 html title, 默认不隐藏, 避免重复导致 html title 失效 */
|
63
|
+
hideHtmlTitle?: boolean;
|
62
64
|
}
|
63
65
|
|
64
66
|
function Dashboard({
|
@@ -71,6 +73,7 @@ function Dashboard({
|
|
71
73
|
footerProps = {},
|
72
74
|
sx = {},
|
73
75
|
children,
|
76
|
+
hideHtmlTitle = false,
|
74
77
|
...rest
|
75
78
|
}: DashboardProps) {
|
76
79
|
const theme = useTheme();
|
@@ -96,7 +99,7 @@ function Dashboard({
|
|
96
99
|
|
97
100
|
return (
|
98
101
|
<Wrapper sx={sx} {...rest} className={classes} sidebarWidth={sidebarWidth}>
|
99
|
-
<Helmet title={title} key={title} />
|
102
|
+
{!hideHtmlTitle && <Helmet title={title} key={title} />}
|
100
103
|
{headerVisible && (
|
101
104
|
<StyledUxHeader {..._headerProps} className="dashboard-header">
|
102
105
|
{links?.length
|
@@ -1,8 +1,6 @@
|
|
1
|
-
<svg
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
<
|
6
|
-
|
7
|
-
</g>
|
8
|
-
</svg>
|
1
|
+
<svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<rect x="73.1603" y="109.16" width="253.435" height="181.679" rx="36.6412" fill="none" stroke="currentColor"
|
3
|
+
stroke-width="18.3206" />
|
4
|
+
<ellipse cx="164" cy="199.618" rx="16.0305" ry="28.626" fill="currentColor" />
|
5
|
+
<ellipse cx="234.991" cy="199.618" rx="16.0305" ry="28.626" fill="currentColor" />
|
6
|
+
</svg>
|
Binary file
|
@@ -1,3 +1,5 @@
|
|
1
|
-
<svg
|
2
|
-
<path
|
3
|
-
|
1
|
+
<svg viewBox="0 0 90 65" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path
|
3
|
+
d="M79.4248 0.700195C85.1132 0.700234 89.7244 5.31169 89.7246 11V54.2344C89.7244 59.9227 85.1132 64.5341 79.4248 64.5342H11.1562C5.46786 64.5342 0.856682 59.9227 0.856445 54.2344V54.0186H5.45605V54.2344C5.45629 57.3822 8.00837 59.9336 11.1562 59.9336H79.4248C82.5726 59.9336 85.1248 57.3822 85.125 54.2344V11C85.1248 7.8522 82.5727 5.29984 79.4248 5.2998H11.1562C8.00837 5.2998 5.45629 7.85217 5.45605 11V11.4893H0.856445V11C0.856676 5.31166 5.46786 0.700195 11.1562 0.700195H79.4248ZM11.293 17.6914C14.2375 17.6914 16.7876 18.3114 18.9434 19.5508C21.1254 20.762 22.8219 22.4798 24.0312 24.7051C25.2406 26.9304 25.8447 29.5504 25.8447 32.5645C25.8447 35.5502 25.2405 38.1418 24.0312 40.3389C22.8219 42.536 21.1255 44.2399 18.9434 45.4512C16.7875 46.6624 14.2375 47.2686 11.293 47.2686H1V17.6914H11.293ZM35.2061 47.2686H29.8818V17.6914H35.2061V47.2686ZM50.8828 17.6914C53.8272 17.6914 56.3774 18.3114 58.5332 19.5508C60.7151 20.7619 62.4108 22.48 63.6201 24.7051C64.8295 26.9304 65.4346 29.5505 65.4346 32.5645C65.4346 35.5503 64.8295 38.1417 63.6201 40.3389C62.4108 42.5359 60.7152 44.2399 58.5332 45.4512C56.3774 46.6624 53.8272 47.2685 50.8828 47.2686H40.5898V17.6914H50.8828ZM73.4785 36.7568C75.1235 36.7568 76.457 38.0913 76.457 39.7363C76.4568 41.3811 75.1234 42.7148 73.4785 42.7148C71.8338 42.7147 70.5003 41.381 70.5 39.7363C70.5 38.0914 71.8336 36.757 73.4785 36.7568ZM6.32422 42.4941H11.1357C14.1064 42.4941 16.3934 41.6204 17.9971 39.874C19.6008 38.0994 20.4023 35.663 20.4023 32.5645C20.4023 29.4378 19.6008 26.9727 17.9971 25.1699C16.3934 23.3674 14.1063 22.4659 11.1357 22.4658H6.32422V42.4941ZM45.9141 42.4941H50.7246C53.6954 42.4941 55.9832 41.6205 57.5869 39.874C59.1905 38.0994 59.9922 35.6628 59.9922 32.5645C59.9922 29.4378 59.1906 26.9727 57.5869 25.1699C55.9832 23.3672 53.6954 22.4658 50.7246 22.4658H45.9141V42.4941ZM73.4785 22.8574C75.1235 22.8574 76.457 24.1909 76.457 25.8359C76.457 27.4809 75.1235 28.8145 73.4785 28.8145C71.8336 28.8143 70.5 27.4808 70.5 25.8359C70.5 24.191 71.8337 22.8576 73.4785 22.8574Z"
|
4
|
+
fill="currentColor" />
|
5
|
+
</svg>
|
package/src/NavMenu/index.ts
CHANGED