@arcblock/ux 3.0.12 → 3.0.13
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/ActivityIndicator/index.js +16 -16
- package/lib/Alert/index.js +17 -17
- package/lib/AnimationWaiter/index.js +13 -13
- package/lib/Blocklet/blocklet.js +15 -15
- package/lib/Blocklet/utils.d.ts +1 -1
- package/lib/Blocklet/utils.js +5 -6
- package/lib/BlockletNFT/index.js +23 -23
- package/lib/BlockletV2/utils.d.ts +1 -1
- package/lib/BlockletV2/utils.js +6 -7
- package/lib/Center/index.js +6 -7
- package/lib/CodeBlock/LightBox.d.ts +3 -2
- package/lib/CodeBlock/LightBox.js +2 -3
- package/lib/CookieConsent/index.js +1 -1
- package/lib/CountDown/index.js +23 -24
- package/lib/Datatable/CustomToolbar.js +71 -71
- package/lib/Datatable/TableSearch.js +18 -18
- package/lib/Datatable/index.js +77 -77
- package/lib/Earth/index.js +46 -47
- package/lib/Footer/index.js +8 -8
- package/lib/Icon/image.js +16 -17
- package/lib/InfoRow/index.js +11 -11
- package/lib/Layout/dashboard/index.js +18 -20
- package/lib/Layout/dashboard/sidebar.js +12 -12
- package/lib/Layout/dashboard-legacy/index.js +20 -20
- package/lib/Layout/dashboard-legacy/sidebar.js +16 -16
- package/lib/Layout/index.js +29 -29
- package/lib/Metric/index.js +9 -9
- package/lib/NFTDisplay/svg-embedder/inline-svg.js +6 -7
- package/lib/PricingTable/index.js +9 -9
- package/lib/Result/result.js +14 -14
- package/lib/Screenshot/BaseScreenshot/index.js +9 -10
- package/lib/Screenshot/index.js +26 -27
- package/lib/Video/index.js +11 -11
- package/lib/Wallet/Action.js +12 -12
- package/lib/Wallet/Download.js +11 -11
- package/lib/WechatPrompt/index.js +1 -1
- package/package.json +7 -7
- package/src/ActivityIndicator/index.jsx +2 -3
- package/src/Address/Address.stories.jsx +1 -2
- package/src/Alert/index.jsx +2 -2
- package/src/AnimationWaiter/index.jsx +2 -2
- package/src/Blocklet/blocklet.jsx +2 -2
- package/src/Blocklet/utils.jsx +1 -2
- package/src/BlockletNFT/index.jsx +2 -2
- package/src/BlockletV2/utils.js +1 -2
- package/src/Center/index.tsx +1 -2
- package/src/CodeBlock/LightBox.tsx +1 -2
- package/src/Colors/Colors.stories.jsx +1 -1
- package/src/CookieConsent/index.tsx +1 -1
- package/src/CountDown/index.tsx +2 -2
- package/src/DID/DID.stories.jsx +1 -2
- package/src/Datatable/CustomToolbar.jsx +2 -3
- package/src/Datatable/TableSearch.jsx +2 -2
- package/src/Datatable/index.jsx +4 -4
- package/src/Earth/index.tsx +2 -3
- package/src/Footer/index.tsx +1 -1
- package/src/Icon/image.tsx +1 -2
- package/src/InfoRow/index.tsx +2 -2
- package/src/Layout/dashboard/index.tsx +1 -3
- package/src/Layout/dashboard/sidebar.tsx +2 -2
- package/src/Layout/dashboard-legacy/index.tsx +1 -1
- package/src/Layout/dashboard-legacy/sidebar.tsx +2 -2
- package/src/Layout/index.tsx +1 -2
- package/src/Metric/index.tsx +2 -2
- package/src/NFTDisplay/svg-embedder/inline-svg.tsx +2 -2
- package/src/PricingTable/index.tsx +2 -2
- package/src/Result/result.tsx +1 -1
- package/src/Screenshot/BaseScreenshot/index.tsx +2 -2
- package/src/Screenshot/index.tsx +3 -3
- package/src/Video/index.tsx +2 -2
- package/src/Wallet/Action.tsx +2 -2
- package/src/Wallet/Download.tsx +2 -2
- package/src/WechatPrompt/index.tsx +1 -1
package/src/Wallet/Action.tsx
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { Typography } from '@mui/material';
|
2
2
|
import isUndefined from 'lodash/isUndefined';
|
3
3
|
|
4
4
|
import logo from './images/abtwallet.png';
|
@@ -76,7 +76,7 @@ type ContentProps = {
|
|
76
76
|
color: string;
|
77
77
|
};
|
78
78
|
|
79
|
-
const Content = styled(
|
79
|
+
const Content = styled('div')<ContentProps>`
|
80
80
|
display: flex;
|
81
81
|
justify-content: center;
|
82
82
|
align-items: center;
|
package/src/Wallet/Download.tsx
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import useBrowser from '@arcblock/react-hooks/lib/useBrowser';
|
2
|
-
import {
|
2
|
+
import { Typography, type SxProps } from '@mui/material';
|
3
3
|
import isUndefined from 'lodash/isUndefined';
|
4
4
|
|
5
5
|
import AppStoreIcon from './images/app-store.svg?react';
|
@@ -125,7 +125,7 @@ type ContainerProps = {
|
|
125
125
|
storeLayout?: WalletDownloadProps['storeLayout'];
|
126
126
|
};
|
127
127
|
|
128
|
-
const Container = styled(
|
128
|
+
const Container = styled('div')<ContainerProps>`
|
129
129
|
display: flex;
|
130
130
|
flex-direction: ${(props) => (props.layout === 'vertical' ? 'column' : 'row')};
|
131
131
|
align-items: center;
|