@micha.bigler/ui-core-micha 4.37.0 → 4.37.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.37.1 - UCM-AUTH-16
4
+
5
+ Setup wizard step labels use a wider three-column layout on narrow screens, keeping longer labels readable while retaining the desktop row and existing navigation behavior.
6
+
3
7
  ## 4.37.0 - UCM-CHAT-18
4
8
 
5
9
  `ChatWorkspace` and `ChatThread` accept the optional `showReplyCaption` (default `true`). With `false` the line under a finished
@@ -82,7 +82,16 @@ export function SetupWizardShell({ steps = [], currentStepId, completedStepIds =
82
82
  }
83
83
  };
84
84
  const hasPrimary = Boolean(primaryLabel) && Boolean(onPrimary || primaryForm);
85
- return (_jsxs(Box, { component: "section", "aria-labelledby": titleId, sx: { width: '100%', maxWidth: 600, mx: 'auto', pt: { xs: 3, sm: 4 }, pb: 5 }, children: [_jsxs(Box, { component: "header", sx: { mb: 3.5 }, children: [_jsxs(Box, { sx: { display: 'flex', alignItems: 'baseline', justifyContent: 'space-between', gap: 2 }, children: [_jsx(Typography, { component: "p", variant: "subtitle2", children: t('Onboarding.SETUP') }), _jsx(Typography, { component: "p", variant: "body2", color: "text.secondary", "aria-live": "polite", children: t('Onboarding.STEP_COUNTER', { current: currentIndex + 1, total }) })] }), _jsx(Box, { component: "nav", "aria-label": t('Onboarding.SETUP'), children: _jsx(Box, { component: "ol", sx: { display: 'flex', listStyle: 'none', gap: { xs: 0, sm: 0.5 }, m: 0, mt: 2.25, p: 0 }, children: steps.map((step, index) => {
85
+ return (_jsxs(Box, { component: "section", "aria-labelledby": titleId, sx: { width: '100%', maxWidth: 600, mx: 'auto', pt: { xs: 3, sm: 4 }, pb: 5 }, children: [_jsxs(Box, { component: "header", sx: { mb: 3.5 }, children: [_jsxs(Box, { sx: { display: 'flex', alignItems: 'baseline', justifyContent: 'space-between', gap: 2 }, children: [_jsx(Typography, { component: "p", variant: "subtitle2", children: t('Onboarding.SETUP') }), _jsx(Typography, { component: "p", variant: "body2", color: "text.secondary", "aria-live": "polite", children: t('Onboarding.STEP_COUNTER', { current: currentIndex + 1, total }) })] }), _jsx(Box, { component: "nav", "aria-label": t('Onboarding.SETUP'), children: _jsx(Box, { component: "ol", sx: {
86
+ display: { xs: 'grid', sm: 'flex' },
87
+ gridTemplateColumns: { xs: 'repeat(3, minmax(0, 1fr))', sm: 'none' },
88
+ alignItems: 'start',
89
+ listStyle: 'none',
90
+ gap: { xs: 0, sm: 0.5 },
91
+ m: 0,
92
+ mt: 2.25,
93
+ p: 0,
94
+ }, children: steps.map((step, index) => {
86
95
  const isCurrent = index === currentIndex;
87
96
  const isComplete = completedStepIds.includes(step.id) && !isCurrent;
88
97
  const selectable = !isCurrent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micha.bigler/ui-core-micha",
3
- "version": "4.37.0",
3
+ "version": "4.37.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "exports": {