@wandelbots/wandelbots-js-react-components 2.36.0-pr.feature-design-pass.378.e01a6c5 → 2.36.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/wandelbots-js-react-components",
3
- "version": "2.36.0-pr.feature-design-pass.378.e01a6c5",
3
+ "version": "2.36.0",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -85,7 +85,7 @@ export const AppHeader = externalizeComponent(
85
85
  ...sx,
86
86
  }}
87
87
  >
88
- <Toolbar sx={{ minHeight: "62px !important" }}>
88
+ <Toolbar sx={{ minHeight: "64px !important" }}>
89
89
  {/* App Icon */}
90
90
  <Box sx={{ mr: 2, display: "flex", alignItems: "center" }}>
91
91
  {appIcon}
@@ -173,9 +173,9 @@ export const ProgramControl = externalizeComponent(
173
173
  }
174
174
  onClick={config.onClick}
175
175
  sx={{
176
- width: "88px",
177
- height: "88px",
178
- borderRadius: "88px",
176
+ width: "110px",
177
+ height: "110px",
178
+ borderRadius: "110px",
179
179
  backgroundColor: config.color,
180
180
  opacity:
181
181
  config.enabled &&
@@ -197,7 +197,7 @@ export const ProgramControl = externalizeComponent(
197
197
  backgroundColor: config.color,
198
198
  opacity: 0.3,
199
199
  },
200
- minWidth: "88px",
200
+ minWidth: "110px",
201
201
  flexShrink: 0,
202
202
  }}
203
203
  >
@@ -74,13 +74,14 @@ export const TabBar = externalizeComponent(
74
74
  sx={{ height: "100%", display: "flex", flexDirection: "column", ...sx }}
75
75
  >
76
76
  {/* Tabs */}
77
- <Box sx={{ px: 0, py: 0 }}>
77
+ <Box sx={{ px: 3, pt: 3, pb: 3 }}>
78
78
  <Tabs
79
79
  value={activeTab}
80
80
  onChange={handleTabChange}
81
81
  sx={{
82
- minHeight: "32px",
82
+ minHeight: "auto",
83
83
  backgroundColor: "transparent",
84
+ mt: 3,
84
85
  "& .MuiTabs-indicator": {
85
86
  display: "none", // Hide the default indicator
86
87
  },
@@ -97,15 +98,16 @@ export const TabBar = externalizeComponent(
97
98
  iconPosition="start"
98
99
  disableRipple
99
100
  sx={{
100
- minHeight: "32px",
101
- height: "32px",
102
- padding: "0px 10px",
103
- borderRadius: "12px",
101
+ minHeight: "auto",
102
+ minWidth: "auto",
103
+ padding: "4px 8px",
104
+ borderRadius: "10px",
104
105
  backgroundColor: (theme) =>
105
106
  theme.palette.backgroundPaperElevation?.[11] || "#32344B",
106
107
  color: "text.primary",
107
108
  opacity: activeTab === index ? 1 : 0.38,
108
- fontSize: "13px",
109
+ textTransform: "none",
110
+ fontWeight: 500,
109
111
  transition: "all 0.2s ease-in-out",
110
112
  "&:hover": {
111
113
  opacity: activeTab === index ? 1 : 0.6,
@@ -129,7 +131,7 @@ export const TabBar = externalizeComponent(
129
131
  </Box>
130
132
 
131
133
  {/* Border line */}
132
- <Box sx={{ mt: "32px", borderBottom: 1, borderColor: "divider" }} />
134
+ <Box sx={{ mx: 3, borderBottom: 1, borderColor: "divider" }} />
133
135
 
134
136
  {/* Tab Content */}
135
137
  <Box sx={{ flex: 1, overflow: "auto" }}>