@arcblock/ux 2.13.12 → 2.13.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 (95) hide show
  1. package/lib/ActivityIndicator/index.js +9 -5
  2. package/lib/Address/did-address.js +14 -7
  3. package/lib/BlockletV2/blocklet.js +1 -1
  4. package/lib/CloseButton/index.js +1 -2
  5. package/lib/Colors/index.d.ts +1 -3
  6. package/lib/Colors/index.js +2 -4
  7. package/lib/Colors/themes/default.d.ts +3 -66
  8. package/lib/Colors/themes/default.js +4 -74
  9. package/lib/Colors/themes/did-connect.d.ts +11 -6
  10. package/lib/Colors/themes/did-connect.js +17 -12
  11. package/lib/Colors/themes/temp.d.ts +3 -0
  12. package/lib/Colors/themes/temp.js +3 -0
  13. package/lib/Config/config-provider.d.ts +4 -5
  14. package/lib/Config/config-provider.js +7 -26
  15. package/lib/Config/theme-mode-toggle.js +0 -1
  16. package/lib/DID/index.js +3 -4
  17. package/lib/Datatable/CustomToolbar.js +3 -0
  18. package/lib/Datatable/index.js +105 -71
  19. package/lib/Footer/index.js +2 -5
  20. package/lib/Header/header.js +3 -1
  21. package/lib/Header/responsive-header.js +3 -1
  22. package/lib/Layout/dashboard/index.js +14 -2
  23. package/lib/Layout/dashboard/sidebar.js +1 -2
  24. package/lib/LoadingMask/index.js +4 -3
  25. package/lib/Locale/selector.js +3 -3
  26. package/lib/NavMenu/nav-menu.js +14 -9
  27. package/lib/NavMenu/products.js +3 -1
  28. package/lib/NavMenu/style.js +7 -3
  29. package/lib/NavMenu/sub-item-group.js +1 -1
  30. package/lib/PhoneInput/country-select.js +2 -3
  31. package/lib/SessionBlocklet/index.js +3 -3
  32. package/lib/SessionUser/components/did-space.js +14 -28
  33. package/lib/SessionUser/components/logged-in.js +2 -2
  34. package/lib/SessionUser/components/quick-login-item.js +13 -11
  35. package/lib/SessionUser/components/session-user-item.js +5 -6
  36. package/lib/SessionUser/components/session-user-switch.js +15 -13
  37. package/lib/SessionUser/components/un-login.js +9 -7
  38. package/lib/SessionUser/components/user-info.js +9 -8
  39. package/lib/SessionUser/images/did-spaces.svg +7 -13
  40. package/lib/Success/index.js +8 -4
  41. package/lib/Switch/index.js +3 -3
  42. package/lib/Tabs/index.js +8 -9
  43. package/lib/Theme/theme-provider.d.ts +5 -1
  44. package/lib/Theme/theme-provider.js +60 -5
  45. package/lib/Theme/theme.d.ts +6 -3
  46. package/lib/Theme/theme.js +55 -19
  47. package/lib/UserCard/Container/card.js +1 -1
  48. package/lib/UserCard/Container/dialog.js +1 -1
  49. package/lib/Util/index.d.ts +8 -0
  50. package/lib/Util/index.js +23 -1
  51. package/lib/type.d.ts +5 -1
  52. package/package.json +7 -6
  53. package/src/ActivityIndicator/index.jsx +4 -4
  54. package/src/Address/did-address.tsx +5 -5
  55. package/src/BlockletV2/blocklet.tsx +1 -1
  56. package/src/CloseButton/index.tsx +1 -2
  57. package/src/Colors/index.ts +2 -7
  58. package/src/Colors/themes/default.ts +4 -50
  59. package/src/Colors/themes/did-connect.ts +13 -6
  60. package/src/Colors/themes/temp.ts +3 -0
  61. package/src/Config/config-provider.tsx +17 -30
  62. package/src/Config/theme-mode-toggle.tsx +1 -1
  63. package/src/DID/index.tsx +3 -4
  64. package/src/Datatable/CustomToolbar.jsx +1 -0
  65. package/src/Datatable/index.jsx +107 -70
  66. package/src/Footer/index.tsx +2 -2
  67. package/src/Header/header.tsx +1 -1
  68. package/src/Header/responsive-header.tsx +2 -0
  69. package/src/Layout/dashboard/index.tsx +8 -4
  70. package/src/Layout/dashboard/sidebar.tsx +1 -2
  71. package/src/LoadingMask/index.tsx +3 -4
  72. package/src/Locale/selector.tsx +3 -4
  73. package/src/NavMenu/nav-menu.tsx +15 -10
  74. package/src/NavMenu/products.tsx +1 -1
  75. package/src/NavMenu/style.ts +5 -2
  76. package/src/NavMenu/sub-item-group.tsx +1 -1
  77. package/src/PhoneInput/country-select.tsx +2 -3
  78. package/src/SessionBlocklet/index.tsx +3 -3
  79. package/src/SessionUser/components/did-space.tsx +14 -10
  80. package/src/SessionUser/components/logged-in.tsx +2 -2
  81. package/src/SessionUser/components/quick-login-item.tsx +11 -12
  82. package/src/SessionUser/components/session-user-item.tsx +3 -6
  83. package/src/SessionUser/components/session-user-switch.tsx +13 -12
  84. package/src/SessionUser/components/un-login.tsx +7 -6
  85. package/src/SessionUser/components/user-info.tsx +7 -8
  86. package/src/SessionUser/images/did-spaces.svg +7 -13
  87. package/src/Success/index.tsx +6 -4
  88. package/src/Switch/index.jsx +3 -3
  89. package/src/Tabs/index.tsx +8 -9
  90. package/src/Theme/theme-provider.tsx +73 -2
  91. package/src/Theme/theme.ts +73 -22
  92. package/src/UserCard/Container/card.tsx +1 -1
  93. package/src/UserCard/Container/dialog.tsx +1 -1
  94. package/src/Util/index.ts +25 -0
  95. package/src/type.d.ts +5 -1
@@ -503,99 +503,133 @@ const alignCss = css`
503
503
  `;
504
504
  const TableContainer = styled('div', {
505
505
  shouldForwardProp: prop => prop !== 'verticalKeyWidth'
506
- })`
507
- &.datatable-hide-header {
508
- thead.MuiTableHead-root {
509
- display: none;
506
+ })(({
507
+ theme,
508
+ verticalKeyWidth
509
+ }) => {
510
+ const primaryTextColor = theme.palette.text.primary;
511
+ const defaultBgColor = theme.palette.background.default;
512
+ const hoverBgColor = theme.palette.action.hover;
513
+ const oddRowBgColor = theme.palette.grey[50];
514
+ const verticalKeyWidthStyle = verticalKeyWidth ? `
515
+ ${theme.breakpoints.down('md')} {
516
+ [class*='MUIDataTable-responsiveBase'] {
517
+ tr:not([class*='responsiveSimple']) {
518
+ td.MuiTableCell-body {
519
+ > div {
520
+ &:first-of-type {
521
+ width: ${verticalKeyWidth + (!/\D/.test(verticalKeyWidth) ? 'px' : '')};
522
+ }
523
+ }
524
+ }
525
+ }
526
+ }
527
+ }
528
+ ` : '';
529
+ return css`
530
+ &.datatable-hide-header {
531
+ thead.MuiTableHead-root {
532
+ display: none;
533
+ }
510
534
  }
511
- }
512
535
 
513
- td {
514
- &.vertical-align-top {
515
- align-items: flex-start;
516
- }
517
- &.vertical-align-center {
518
- align-items: center;
519
- }
520
- &.vertical-align-bottom {
521
- align-items: flex-end;
536
+ td {
537
+ &.vertical-align-top {
538
+ align-items: flex-start;
539
+ }
540
+ &.vertical-align-center {
541
+ align-items: center;
542
+ }
543
+ &.vertical-align-bottom {
544
+ align-items: flex-end;
545
+ }
522
546
  }
523
- }
524
547
 
525
- height: 100%;
526
- > .MuiPaper-root {
527
- display: flex;
528
- flex-direction: column;
529
548
  height: 100%;
530
- box-shadow: none;
531
- }
532
- ${props => props.theme.breakpoints.down('md')} {
533
- td.MuiTableCell-body {
534
- padding-right: 0;
549
+ > .MuiPaper-root {
550
+ display: flex;
551
+ flex-direction: column;
552
+ height: 100%;
553
+ box-shadow: none;
554
+ background: none;
555
+ background-color: ${defaultBgColor};
535
556
  }
536
- [class*='MUIDataTable-responsiveBase'] {
537
- tr:not([class*='responsiveSimple']) {
538
- td.MuiTableCell-body {
539
- display: flex;
540
- > div {
541
- width: auto;
542
- flex: 1;
543
- &:first-of-type {
544
- font-weight: bold;
545
- font-size: 14px;
557
+ ${theme.breakpoints.down('md')} {
558
+ td.MuiTableCell-body {
559
+ padding-right: 0;
560
+ }
561
+ [class*='MUIDataTable-responsiveBase'] {
562
+ tr:not([class*='responsiveSimple']) {
563
+ td.MuiTableCell-body {
564
+ display: flex;
565
+ > div {
546
566
  width: auto;
547
- flex: 0 0 auto;
548
- padding-right: 16px;
549
- &:empty {
550
- padding-right: 0;
567
+ flex: 1;
568
+ &:first-of-type {
569
+ font-weight: bold;
570
+ font-size: 14px;
571
+ width: auto;
572
+ flex: 0 0 auto;
573
+ padding-right: 16px;
574
+ &:empty {
575
+ padding-right: 0;
576
+ }
551
577
  }
552
578
  }
553
579
  }
554
580
  }
555
581
  }
556
582
  }
557
- }
558
- ${props => props.theme.breakpoints.up('md')} {
559
- ${alignCss}
560
- }
561
- ${props => props.theme.breakpoints.up('sm')} {
562
- [class*='responsiveSimple'] {
583
+ ${theme.breakpoints.up('md')} {
563
584
  ${alignCss}
564
585
  }
565
- }
586
+ ${theme.breakpoints.up('sm')} {
587
+ [class*='responsiveSimple'] {
588
+ ${alignCss}
589
+ }
590
+ }
566
591
 
567
- ${inProps => {
568
- if (inProps.verticalKeyWidth) {
569
- return `
570
- ${inProps.theme.breakpoints.down('md')} {
571
- [class*='MUIDataTable-responsiveBase'] {
572
- tr:not([class*='responsiveSimple']) {
573
- td.MuiTableCell-body {
574
- > div {
575
- &:first-of-type {
576
- width: ${inProps.verticalKeyWidth + (!/\D/.test(inProps.verticalKeyWidth) ? 'px' : '')};
577
- }
578
- }
579
- }
580
- }
581
- }
582
- }
583
- `;
584
- }
585
- return '';
586
- }}
592
+ ${verticalKeyWidthStyle}
587
593
 
588
- &.datatable-stripped {
589
- .MuiTableBody-root {
590
- tr:nth-of-type(odd) {
591
- background-color: ${props => props.theme.palette.action.hover};
594
+ .MuiTableCell-head {
595
+ color: ${primaryTextColor};
596
+ background-color: ${defaultBgColor};
597
+ }
598
+
599
+ .MuiTableCell-root {
600
+ color: ${primaryTextColor};
601
+ }
602
+
603
+ .MuiTableRow-root {
604
+ background-color: ${defaultBgColor};
605
+ &:nth-of-type(even) {
606
+ background-color: ${defaultBgColor};
607
+ }
608
+ &:hover {
609
+ background-color: ${hoverBgColor};
610
+ }
611
+ &.MuiTableRow-footer {
612
+ background-color: ${defaultBgColor};
592
613
  }
593
614
  }
594
- }
595
- `;
615
+
616
+ &.datatable-stripped {
617
+ .MuiTableRow-root:nth-of-type(odd) {
618
+ background-color: ${oddRowBgColor};
619
+ &:hover {
620
+ background-color: ${hoverBgColor};
621
+ }
622
+ &.MuiTableRow-footer {
623
+ background-color: ${defaultBgColor};
624
+ }
625
+ }
626
+ }
627
+ `;
628
+ });
596
629
  const FooterContainer = styled('div')`
597
630
  display: flex;
598
631
  align-items: center;
632
+ background-color: ${props => props.theme.palette.background.default};
599
633
  .datatable-footer {
600
634
  position: relative;
601
635
  margin-left: auto;
@@ -100,7 +100,7 @@ const Container = styled('div', {
100
100
  position: relative;
101
101
  margin-top: 64px;
102
102
  padding: 24px 0 32px;
103
- border-top: 1px solid ${props => props.dark ? props.theme.palette.grey[900] : '#dee2e7'};
103
+ border-top: 1px solid ${props => props.theme.palette.divider};
104
104
  box-sizing: border-box;
105
105
  width: 100%;
106
106
 
@@ -115,10 +115,7 @@ const Container = styled('div', {
115
115
  flex-wrap: wrap;
116
116
 
117
117
  .footer-item {
118
- color: ${({
119
- theme,
120
- dark
121
- }) => dark ? theme.palette.grey[500] : theme.palette.grey[900]};
118
+ color: ${props => props.theme.palette.text.hint};
122
119
  display: flex;
123
120
  align-items: center;
124
121
  flex-wrap: wrap;
@@ -156,7 +156,9 @@ const Root = styled(Box)`
156
156
  }
157
157
  .header-brand-desc {
158
158
  margin-top: 4px;
159
- color: #9397a1;
159
+ color: ${({
160
+ theme
161
+ }) => theme.palette.text.hint};
160
162
  }
161
163
  }
162
164
  .header-brand-addon {
@@ -99,7 +99,9 @@ function ResponsiveHeader({
99
99
  style: {
100
100
  top: 64,
101
101
  bottom: 0,
102
- boxShadow: 'none'
102
+ boxShadow: 'none',
103
+ backgroundImage: 'none',
104
+ backgroundColor: theme.palette.background.paper
103
105
  }
104
106
  },
105
107
  children: /*#__PURE__*/_jsx(MenuPanel, {
@@ -63,6 +63,7 @@ function Dashboard({
63
63
  fullWidth = false,
64
64
  dense = 'auto',
65
65
  footerProps = {},
66
+ sx,
66
67
  children,
67
68
  ...rest
68
69
  }) {
@@ -100,6 +101,7 @@ function Dashboard({
100
101
  }
101
102
  }, []);
102
103
  return /*#__PURE__*/_jsxs(Wrapper, {
104
+ sx: sx,
103
105
  ...rest,
104
106
  className: classes,
105
107
  sidebarWidth: sidebarWidth,
@@ -177,6 +179,7 @@ function Dashboard({
177
179
  }),
178
180
  children: children
179
181
  }), footerVisible && /*#__PURE__*/_jsx(Footer, {
182
+ dark: theme.palette.mode === 'dark',
180
183
  ...footerProps
181
184
  })]
182
185
  })]
@@ -190,6 +193,9 @@ const Wrapper = styled('div', {
190
193
  display: flex;
191
194
  flex-direction: column;
192
195
  height: 100vh;
196
+ background-color: ${({
197
+ theme
198
+ }) => theme.palette.background.default};
193
199
  }
194
200
  .dashboard-body {
195
201
  overflow: hidden;
@@ -219,11 +225,17 @@ const Wrapper = styled('div', {
219
225
  }
220
226
  &.dashboard-dense {
221
227
  .dashboard-header {
222
- border-bottom: 1px solid #eee;
228
+ border-bottom: 1px solid;
229
+ border-color: ${({
230
+ theme
231
+ }) => theme.palette.divider};
223
232
  }
224
233
  .dashboard-sidebar {
225
234
  width: 256px;
226
- border-right: 1px solid #eee;
235
+ border-right: 1px solid;
236
+ border-color: ${({
237
+ theme
238
+ }) => theme.palette.divider};
227
239
  }
228
240
  }
229
241
  ${props => props.theme.breakpoints.up('md')} {
@@ -1,6 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import Typography from '@mui/material/Typography';
3
- import { teal } from '@mui/material/colors';
4
3
  import clsx from 'clsx';
5
4
  import { styled } from '../../Theme';
6
5
  import { NavLink } from './external-link';
@@ -91,7 +90,7 @@ const Root = styled('div')`
91
90
  &.layout-sidebar-link--active {
92
91
  color: ${props => props.theme.palette.primary.main};
93
92
  background: ${gradient};
94
- border-left-color: ${teal.A700};
93
+ border-left-color: ${props => props.theme.palette.primary.main};
95
94
  }
96
95
  }
97
96
  .layout-sidebar-icon {
@@ -1,6 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Box } from '@mui/material';
3
- import { temp as colors } from '../Colors';
4
3
  export default function LoadingMask({
5
4
  size = 64,
6
5
  padding,
@@ -38,7 +37,7 @@ export default function LoadingMask({
38
37
  height: finialSize,
39
38
  overflow: 'hidden',
40
39
  borderRadius: `${finialRadius}px`,
41
- backgroundColor: colors.strokeBorderBase,
40
+ backgroundColor: 'grey.200',
42
41
  '&::before,&::after': {
43
42
  content: '""',
44
43
  position: 'absolute',
@@ -57,7 +56,9 @@ export default function LoadingMask({
57
56
  borderRadius: `${finialRadius - finialBorderWidth}px`
58
57
  },
59
58
  '&::before': {
60
- background: `conic-gradient(from 45deg, ${colors.foregroundsFgInteractiveTransparent} 0%, ${colors.foregroundsFgInteractiveTransparent} 50%, ${colors.foregroundsFgInteractive} 90%, ${colors.foregroundsFgInteractive} 100%)`,
59
+ background: ({
60
+ palette
61
+ }) => `conic-gradient(from 45deg, transparent 0%, transparent 50%, ${palette.secondary.main} 90%, ${palette.secondary.main} 100%)`,
61
62
  transform: 'scale(100)',
62
63
  animation: `rotate ${finialDuration}s linear infinite`,
63
64
  '@keyframes rotate': {
@@ -98,9 +98,9 @@ export default function LocaleSelector(props) {
98
98
  children: /*#__PURE__*/_jsx(Box, {
99
99
  className: "locales",
100
100
  sx: {
101
- backgroundColor: 'background.default',
101
+ backgroundColor: 'background.paper',
102
102
  boxShadow: 2,
103
- borderRadius: 2
103
+ borderRadius: 1
104
104
  },
105
105
  children: /*#__PURE__*/_jsx(ClickAwayListener, {
106
106
  onClickAway: onClose,
@@ -130,7 +130,7 @@ export default function LocaleSelector(props) {
130
130
  icon: CheckIcon,
131
131
  className: code === locale ? 'check-icon check-icon-visible' : 'check-icon',
132
132
  sx: {
133
- marginRight: 0.5,
133
+ marginRight: 1,
134
134
  visibility: code === locale ? 'visible' : 'hidden'
135
135
  }
136
136
  }), name]
@@ -8,6 +8,7 @@ import { useCreation, useMemoizedFn, useReactive, useSize, useThrottleFn } from
8
8
  import { NavMenuProvider, useNavMenuContext } from './nav-menu-context';
9
9
  import { NavMenuRoot, NavMenuItem, NavMenuSub, NavMenuSubList, NavMenuStyled } from './style';
10
10
  import { SubContainer } from './sub-container';
11
+ import { useTheme } from '../Theme';
11
12
 
12
13
  // 过滤 children 中的 Item/Sub, 忽略其它类型的 element
13
14
  function filterItems(children) {
@@ -34,12 +35,16 @@ function NavMenu({
34
35
  mode = 'horizontal',
35
36
  children: _childs = null,
36
37
  activeId = null,
37
- textColor = '#9397a1',
38
- activeTextColor = '#25292f',
39
- bgColor = '#fff',
38
+ textColor,
39
+ activeTextColor,
40
+ bgColor,
40
41
  onSelected,
41
42
  ...rest
42
43
  }) {
44
+ const theme = useTheme();
45
+ const $textColor = useCreation(() => theme.palette.grey[400], [theme]);
46
+ const $activeTextColor = useCreation(() => theme.palette.text.primary, [theme]);
47
+ const $bgColor = useCreation(() => theme.palette.background.default, [theme]);
43
48
  // eslint-disable-next-line no-param-reassign
44
49
  const children = filterItems(_childs);
45
50
  if (!items?.length && !children?.length) {
@@ -64,14 +69,14 @@ function NavMenu({
64
69
  return {
65
70
  ...currentState,
66
71
  mode,
67
- textColor,
68
- activeTextColor,
69
- bgColor,
72
+ textColor: $textColor,
73
+ activeTextColor: $activeTextColor,
74
+ bgColor: $bgColor,
70
75
  activate,
71
76
  open,
72
77
  close
73
78
  };
74
- }, [currentState.activeId, currentState.hiddenItemCount, currentState.openedIds, mode, textColor, activeTextColor, bgColor, activate, open, close]);
79
+ }, [currentState.activeId, currentState.hiddenItemCount, currentState.openedIds, mode, $textColor, $activeTextColor, $bgColor, activate, open, close]);
75
80
  const navMenuRef = useRef(null);
76
81
  const itemRefs = useRef([]);
77
82
  const moreIconRef = useRef(null);
@@ -193,8 +198,8 @@ function NavMenu({
193
198
  children: /*#__PURE__*/_jsx(NavMenuStyled, {
194
199
  ...rest,
195
200
  className: classes,
196
- $textColor: textColor,
197
- $bgColor: bgColor,
201
+ $textColor: $textColor,
202
+ $bgColor: $bgColor,
198
203
  children: /*#__PURE__*/_jsxs(NavMenuRoot, {
199
204
  className: clsx('navmenu-root', `navmenu-root--${mode}`),
200
205
  ref: navMenuRef,
@@ -1407,7 +1407,9 @@ const Wrapper = styled(Box)`
1407
1407
  width: 80vw;
1408
1408
  max-width: 900px;
1409
1409
  padding: 8px;
1410
- background: #f7f9fc;
1410
+ background: ${({
1411
+ theme
1412
+ }) => theme.palette.grey[100]};
1411
1413
  border-radius: 8px;
1412
1414
 
1413
1415
  &.is-inline {
@@ -4,7 +4,8 @@ export const NavMenuStyled = styled('nav', {
4
4
  shouldForwardProp: prop => prop !== '$bgColor' && prop !== '$textColor'
5
5
  })(({
6
6
  $bgColor,
7
- $textColor
7
+ $textColor,
8
+ theme
8
9
  }) => ({
9
10
  position: 'relative',
10
11
  padding: '0 16px',
@@ -13,7 +14,10 @@ export const NavMenuStyled = styled('nav', {
13
14
  flexGrow: 100,
14
15
  backgroundColor: $bgColor,
15
16
  color: $textColor,
16
- fontSize: '16px'
17
+ fontSize: '16px',
18
+ '&.navmenu--inline': {
19
+ backgroundColor: theme.palette.background.paper
20
+ }
17
21
  }));
18
22
 
19
23
  // .navmenu-root
@@ -242,7 +246,7 @@ export const NavMenuSubList = styled('ul')(({
242
246
  margin: 0,
243
247
  padding: '16px',
244
248
  borderRadius: '4px',
245
- background: theme.palette.background.default,
249
+ backgroundColor: theme.palette.background.paper,
246
250
  '& .navmenu-item + .navmenu-item': {
247
251
  marginTop: '8px'
248
252
  }
@@ -6,7 +6,7 @@ const Group = styled(Box)`
6
6
  border-radius: 8px;
7
7
  background-color: ${({
8
8
  theme
9
- }) => theme.palette.background.default};
9
+ }) => theme.palette.background.paper};
10
10
  cursor: auto;
11
11
 
12
12
  .group-label {
@@ -3,7 +3,6 @@ import { useMemo, forwardRef, useState } from 'react';
3
3
  import { Box, MenuItem, Select, Typography, TextField } from '@mui/material';
4
4
  import { FlagEmoji, defaultCountries, parseCountry } from 'react-international-phone';
5
5
  import ArrowDownwardIcon from '@arcblock/icons/lib/ArrowDown';
6
- import { temp as colors } from '../Colors';
7
6
  import { mergeSx } from '../Util/style';
8
7
 
9
8
  // 定义组件类型
@@ -101,11 +100,11 @@ const CountrySelectInner = /*#__PURE__*/forwardRef(({
101
100
  },
102
101
  '&:hover': {
103
102
  'fieldset.MuiOutlinedInput-notchedOutline': {
104
- borderColor: colors.dividerColor
103
+ borderColor: 'divider'
105
104
  }
106
105
  },
107
106
  'fieldset.MuiOutlinedInput-notchedOutline': {
108
- borderColor: colors.dividerColor
107
+ borderColor: 'divider'
109
108
  },
110
109
  '.MuiMenuItem-root': {
111
110
  justifyContent: 'flex-start'
@@ -90,7 +90,7 @@ export default function SessionBlocklet({
90
90
  children: /*#__PURE__*/_jsxs(Paper, {
91
91
  variant: "outlined",
92
92
  sx: {
93
- borderRadius: 3,
93
+ borderRadius: 1.5,
94
94
  width: 350,
95
95
  maxWidth: '90vw',
96
96
  p: 2,
@@ -119,7 +119,7 @@ export default function SessionBlocklet({
119
119
  gap: 1,
120
120
  width: '100%',
121
121
  height: '100%',
122
- borderRadius: 2,
122
+ borderRadius: 1,
123
123
  '&:hover': {
124
124
  backgroundColor: 'action.hover'
125
125
  }
@@ -128,7 +128,7 @@ export default function SessionBlocklet({
128
128
  component: "img",
129
129
  src: `${BLOCKLET_SERVICE_PATH_PREFIX}/blocklet/logo-bundle/${item.component.did}`,
130
130
  sx: {
131
- borderRadius: 2,
131
+ borderRadius: 1,
132
132
  width: 50,
133
133
  height: 50,
134
134
  objectFit: 'contain'