diff --git a/configurator/src/components/editors/ColorStudio.svelte b/configurator/src/components/editors/ColorStudio.svelte index 022876da..acdc5879 100644 --- a/configurator/src/components/editors/ColorStudio.svelte +++ b/configurator/src/components/editors/ColorStudio.svelte @@ -19,14 +19,11 @@ '--sf-focus-ring-width', '--sf-focus-ring-offset', ].map((name) => tokenByName.get(name)).filter(Boolean); - const workflow = ['Source pairs', 'Role map', 'Shade ramp', 'Usage check']; + const nav = ['Main colors', 'Semantic colors', 'Gradients', 'Shade curve', 'Contrast', 'Assignments']; - +
-
@@ -68,9 +65,6 @@ diff --git a/configurator/src/components/editors/EffectsStudio.svelte b/configurator/src/components/editors/EffectsStudio.svelte index 88ddf2e7..d6f72926 100644 --- a/configurator/src/components/editors/EffectsStudio.svelte +++ b/configurator/src/components/editors/EffectsStudio.svelte @@ -2,16 +2,14 @@ import { STUDIO_GROUPS, resolveStudioGroups } from '../../lib/studioSchema.js'; import StudioFrame from './StudioFrame.svelte'; import StudioControls from './StudioControls.svelte'; - import StudioWorkflow from './StudioWorkflow.svelte'; const groups = resolveStudioGroups(STUDIO_GROUPS.effects); - const workflow = ['Glass', 'Opacity', 'Scrim', 'Masks']; + const nav = ['Glass', 'Opacity', 'Scrim', 'Masks']; const states = ['normal', 'muted', 'disabled', 'pending']; - +
-
Glass & blur

Readable media card

Scrim, blur and muted states preview.

diff --git a/configurator/src/components/editors/LayoutStudio.svelte b/configurator/src/components/editors/LayoutStudio.svelte index 08764cdb..aab08359 100644 --- a/configurator/src/components/editors/LayoutStudio.svelte +++ b/configurator/src/components/editors/LayoutStudio.svelte @@ -5,17 +5,12 @@ import ContainerBars from '../ContainerBars.svelte'; const groups = resolveStudioGroups(STUDIO_GROUPS.layout); - const workflow = ['Containers', 'Grid', 'Measure', 'Anchors']; + const nav = ['Containers', 'Grid', 'Measure', 'Anchors']; const devices = ['Mobile', 'Tablet', 'Desktop']; - +
-
@@ -58,10 +53,6 @@ diff --git a/configurator/src/components/editors/MotionStudio.svelte b/configurator/src/components/editors/MotionStudio.svelte index 13bcb65d..a5b5793b 100644 --- a/configurator/src/components/editors/MotionStudio.svelte +++ b/configurator/src/components/editors/MotionStudio.svelte @@ -2,17 +2,15 @@ import { STUDIO_GROUPS, resolveStudioGroups } from '../../lib/studioSchema.js'; import StudioFrame from './StudioFrame.svelte'; import StudioControls from './StudioControls.svelte'; - import StudioWorkflow from './StudioWorkflow.svelte'; const groups = resolveStudioGroups(STUDIO_GROUPS.motion); - const workflow = ['Duration', 'Easing', 'Presets', 'Reduced']; + const nav = ['Duration', 'Easing', 'Presets', 'Reduced']; const durations = ['instant', 'fast', 'normal', 'slow']; const easings = ['linear', 'in', 'out', 'spring']; - +
-
Speed scaleMotion scale controls the feel of every duration without editing each preset by hand.
diff --git a/configurator/src/components/editors/ShadowStudio.svelte b/configurator/src/components/editors/ShadowStudio.svelte index 1b05e773..a2765481 100644 --- a/configurator/src/components/editors/ShadowStudio.svelte +++ b/configurator/src/components/editors/ShadowStudio.svelte @@ -2,16 +2,14 @@ import { STUDIO_GROUPS, resolveStudioGroups } from '../../lib/studioSchema.js'; import StudioFrame from './StudioFrame.svelte'; import StudioControls from './StudioControls.svelte'; - import StudioWorkflow from './StudioWorkflow.svelte'; const levels = ['xs', 's', 'm', 'l', 'xl', '2xl']; - const workflow = ['Elevation', 'Surfaces', 'Overlays', 'Media']; + const nav = ['Elevation', 'Surfaces', 'Overlays', 'Media']; const groups = resolveStudioGroups(STUDIO_GROUPS.shadows); - +
-
Elevation stackCompare every shadow level on the same surface and tune global strength/lightness once.
diff --git a/configurator/src/components/editors/ShapeStudio.svelte b/configurator/src/components/editors/ShapeStudio.svelte index 69e4da5c..5da8f627 100644 --- a/configurator/src/components/editors/ShapeStudio.svelte +++ b/configurator/src/components/editors/ShapeStudio.svelte @@ -2,17 +2,15 @@ import { STUDIO_GROUPS, resolveStudioGroups } from '../../lib/studioSchema.js'; import StudioFrame from './StudioFrame.svelte'; import StudioControls from './StudioControls.svelte'; - import StudioWorkflow from './StudioWorkflow.svelte'; const groups = resolveStudioGroups(STUDIO_GROUPS.borders); - const workflow = ['Radius', 'Borders', 'Dividers', 'Focus']; + const nav = ['Radius', 'Borders', 'Dividers', 'Focus']; const radii = ['xs', 's', 'm', 'l', 'xl', 'full']; const components = ['Button', 'Input', 'Card', 'Badge']; - +
-
Radius systemOne scale controls components from sharp utility chips to fully pill-shaped actions.
diff --git a/configurator/src/components/editors/SpacingStudio.svelte b/configurator/src/components/editors/SpacingStudio.svelte index fa791ec9..84502f70 100644 --- a/configurator/src/components/editors/SpacingStudio.svelte +++ b/configurator/src/components/editors/SpacingStudio.svelte @@ -4,15 +4,12 @@ import StudioControls from './StudioControls.svelte'; const steps = ['2xs', 'xs', 's', 'm', 'l', 'xl', '2xl', '3xl']; - const workflow = ['Scale', 'Rhythm', 'Components', 'Sections']; + const nav = ['Scale', 'Rhythm', 'Components', 'Sections']; const groups = resolveStudioGroups(STUDIO_GROUPS.spacing); - +
-
@@ -55,9 +52,6 @@ diff --git a/configurator/src/components/editors/StudioFrame.svelte b/configurator/src/components/editors/StudioFrame.svelte index 8f4d986e..3c8dae24 100644 --- a/configurator/src/components/editors/StudioFrame.svelte +++ b/configurator/src/components/editors/StudioFrame.svelte @@ -1,8 +1,34 @@
@@ -10,11 +36,31 @@

{eyebrow}

{title}

{#if description}{description}{/if} -
    -
  1. 01 Preview
  2. 02 Tune
  3. 03 Verify
  4. -
+ {#if sidebar} + {@render sidebar?.({ activePanel: selectedPanel, panelId })} + {:else if panelNav.length} + + {/if}
-
{@render children?.()}
+
{@render children?.()}
diff --git a/configurator/src/components/editors/StudioWorkflow.svelte b/configurator/src/components/editors/StudioWorkflow.svelte deleted file mode 100644 index cea3e2a7..00000000 --- a/configurator/src/components/editors/StudioWorkflow.svelte +++ /dev/null @@ -1,19 +0,0 @@ - - - - - diff --git a/configurator/src/components/editors/TypographyStudio.svelte b/configurator/src/components/editors/TypographyStudio.svelte index 73fe7d57..8297c45a 100644 --- a/configurator/src/components/editors/TypographyStudio.svelte +++ b/configurator/src/components/editors/TypographyStudio.svelte @@ -13,16 +13,9 @@ const scale = $derived(overrides['--sf-text-scale'] || 'var(--sf-text-scale, 1)'); - + (active = id)}>
-
-
- {#each TYPOGRAPHY_PANELS as p (p.id)} - - {/each} -
-

{panel.description}

-
+

{panel.description}

mobiletabletdesktop
@@ -52,11 +45,7 @@