@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.
Files changed (73) hide show
  1. package/lib/ActivityIndicator/index.js +16 -16
  2. package/lib/Alert/index.js +17 -17
  3. package/lib/AnimationWaiter/index.js +13 -13
  4. package/lib/Blocklet/blocklet.js +15 -15
  5. package/lib/Blocklet/utils.d.ts +1 -1
  6. package/lib/Blocklet/utils.js +5 -6
  7. package/lib/BlockletNFT/index.js +23 -23
  8. package/lib/BlockletV2/utils.d.ts +1 -1
  9. package/lib/BlockletV2/utils.js +6 -7
  10. package/lib/Center/index.js +6 -7
  11. package/lib/CodeBlock/LightBox.d.ts +3 -2
  12. package/lib/CodeBlock/LightBox.js +2 -3
  13. package/lib/CookieConsent/index.js +1 -1
  14. package/lib/CountDown/index.js +23 -24
  15. package/lib/Datatable/CustomToolbar.js +71 -71
  16. package/lib/Datatable/TableSearch.js +18 -18
  17. package/lib/Datatable/index.js +77 -77
  18. package/lib/Earth/index.js +46 -47
  19. package/lib/Footer/index.js +8 -8
  20. package/lib/Icon/image.js +16 -17
  21. package/lib/InfoRow/index.js +11 -11
  22. package/lib/Layout/dashboard/index.js +18 -20
  23. package/lib/Layout/dashboard/sidebar.js +12 -12
  24. package/lib/Layout/dashboard-legacy/index.js +20 -20
  25. package/lib/Layout/dashboard-legacy/sidebar.js +16 -16
  26. package/lib/Layout/index.js +29 -29
  27. package/lib/Metric/index.js +9 -9
  28. package/lib/NFTDisplay/svg-embedder/inline-svg.js +6 -7
  29. package/lib/PricingTable/index.js +9 -9
  30. package/lib/Result/result.js +14 -14
  31. package/lib/Screenshot/BaseScreenshot/index.js +9 -10
  32. package/lib/Screenshot/index.js +26 -27
  33. package/lib/Video/index.js +11 -11
  34. package/lib/Wallet/Action.js +12 -12
  35. package/lib/Wallet/Download.js +11 -11
  36. package/lib/WechatPrompt/index.js +1 -1
  37. package/package.json +7 -7
  38. package/src/ActivityIndicator/index.jsx +2 -3
  39. package/src/Address/Address.stories.jsx +1 -2
  40. package/src/Alert/index.jsx +2 -2
  41. package/src/AnimationWaiter/index.jsx +2 -2
  42. package/src/Blocklet/blocklet.jsx +2 -2
  43. package/src/Blocklet/utils.jsx +1 -2
  44. package/src/BlockletNFT/index.jsx +2 -2
  45. package/src/BlockletV2/utils.js +1 -2
  46. package/src/Center/index.tsx +1 -2
  47. package/src/CodeBlock/LightBox.tsx +1 -2
  48. package/src/Colors/Colors.stories.jsx +1 -1
  49. package/src/CookieConsent/index.tsx +1 -1
  50. package/src/CountDown/index.tsx +2 -2
  51. package/src/DID/DID.stories.jsx +1 -2
  52. package/src/Datatable/CustomToolbar.jsx +2 -3
  53. package/src/Datatable/TableSearch.jsx +2 -2
  54. package/src/Datatable/index.jsx +4 -4
  55. package/src/Earth/index.tsx +2 -3
  56. package/src/Footer/index.tsx +1 -1
  57. package/src/Icon/image.tsx +1 -2
  58. package/src/InfoRow/index.tsx +2 -2
  59. package/src/Layout/dashboard/index.tsx +1 -3
  60. package/src/Layout/dashboard/sidebar.tsx +2 -2
  61. package/src/Layout/dashboard-legacy/index.tsx +1 -1
  62. package/src/Layout/dashboard-legacy/sidebar.tsx +2 -2
  63. package/src/Layout/index.tsx +1 -2
  64. package/src/Metric/index.tsx +2 -2
  65. package/src/NFTDisplay/svg-embedder/inline-svg.tsx +2 -2
  66. package/src/PricingTable/index.tsx +2 -2
  67. package/src/Result/result.tsx +1 -1
  68. package/src/Screenshot/BaseScreenshot/index.tsx +2 -2
  69. package/src/Screenshot/index.tsx +3 -3
  70. package/src/Video/index.tsx +2 -2
  71. package/src/Wallet/Action.tsx +2 -2
  72. package/src/Wallet/Download.tsx +2 -2
  73. package/src/WechatPrompt/index.tsx +1 -1
@@ -1,4 +1,4 @@
1
- import { Box, Typography } from '@mui/material';
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(Box)<ContentProps>`
79
+ const Content = styled('div')<ContentProps>`
80
80
  display: flex;
81
81
  justify-content: center;
82
82
  align-items: center;
@@ -1,5 +1,5 @@
1
1
  import useBrowser from '@arcblock/react-hooks/lib/useBrowser';
2
- import { Box, Typography, type SxProps } from '@mui/material';
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(Box)<ContainerProps>`
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;
@@ -44,7 +44,7 @@ export default function WechatPrompt() {
44
44
  );
45
45
  }
46
46
 
47
- const Container = styled(Box)`
47
+ const Container = styled('div')`
48
48
  .wechat-title {
49
49
  height: 80px;
50
50
  line-height: 80px;