@aglyn/aglyn 1.0.0-beta.172 → 1.0.0-beta.173

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.
@@ -1409,7 +1409,7 @@ export const ASSIST_DOCS_INDEX = [
1409
1409
  title: 'Responsive styling & custom CSS',
1410
1410
  heading: 'Scheme-scoped colors',
1411
1411
  anchor: '#scheme-scoped-colors',
1412
- text: 'Published sites follow each visitor\'s light/dark scheme (system setting, or their own choice via the theme mode switcher component) unless the theme has its Dark scheme switched off, so a hardcoded light-mode hex can be unreadable in dark mode. Two tools keep colors correct in both schemes:\nTheme color references (preferred). Every color picker — text, background, and border color, plus color attributes on components — opens on your site theme\'s palette references first: Primary, Secondary, Background, Surface, Text, Divider, and friends. Each swatch is split to preview its light and dark resolutions, and selecting one stores the reference (e.g. background.paper), not a fixed color — the element automatically re-colors when the site switches schemes. Pick Custom color to reveal the full picker when you really want a fixed value.\nPer-scheme custom colors. The artboard\'s scheme toggle (the sun/moon button in the toolbar) doubles as a styling scope, exactly like the device preview does for breakpoints:\n- Light preview (default) — color edits set the element\'s base colors, which both schemes share until dark overrides exist.\n- Dark preview — the styles panel shows a "Styling: dark scheme" chip, and edits to text, background, and border color become dark-only overrides. Light mode keeps the base values; the canvas shows the dark result as you edit.\nOnly color fields scope to the scheme — spacing, sizing, typography, and layout always apply to both schemes no matter which one you preview. Clearing a color while previewing dark removes the override and falls back to the base color. Scheme overrides compose with breakpoint scoping: previewing dark on the MD – Laptop artboard writes a dark override that applies from MD up.'
1412
+ text: 'Published sites follow each visitor\'s light/dark scheme (system setting, or their own choice via the theme mode switcher component) unless the theme has its Dark scheme switched off, so a hardcoded light-mode hex can be unreadable in dark mode. Two tools keep colors correct in both schemes:\nTheme color references (preferred). Every color picker — text, background, and border color, plus color attributes on components — opens on your site theme\'s palette references first: Primary, Secondary, Background, Surface, Text, Divider, and friends. Each swatch is split to preview its light and dark resolutions, and selecting one stores the reference (e.g. background.paper), not a fixed color — the element automatically re-colors when the site switches schemes. Pick Custom color to reveal the full picker when you really want a fixed value.\nPer-scheme custom colors. The artboard\'s scheme toggle (the sun/moon button in the toolbar) doubles as a styling scope, exactly like the device preview does for breakpoints:\n- Light preview (default) — color edits set the element\'s base colors, which both schemes share until dark overrides exist.\n- Dark preview — the styles panel shows a "Styling: dark scheme" chip, and edits to text, background, and border color become dark-only overrides. Light mode keeps the base values; the canvas shows the dark result as you edit.\nOnly color fields scope to the scheme — spacing, sizing, typography, and layout always apply to both schemes no matter which one you preview. Clearing a color while previewing dark removes the override and falls back to the base color. Scheme overrides compose with breakpoint scoping: previewing dark on the MD – Laptop artboard writes a dark override that applies from MD up.\nKeep one part of the page light or dark {#pin-a-color-sc'
1413
1413
  },
1414
1414
  {
1415
1415
  path: '/building-sites/besigner/responsive-styling',
@@ -1479,7 +1479,7 @@ export const ASSIST_DOCS_INDEX = [
1479
1479
  title: 'Reusable components',
1480
1480
  heading: 'Detach',
1481
1481
  anchor: '#detach',
1482
- text: 'Detach from component, on an instance, turns it back into ordinary elements with fresh ids — the confirmation reads "Detached — this copy no longer follows the component." Use it when one page needs a variation the shared source shouldn\'t carry.\nWhat you get is what the page was showing. The property values set on that instance — and every per-instance style and attribute override applied to it, on its outer element and on each element inside it — are baked into the copy as ordinary text, images, styles and attributes, so the section looks identical before and after; it is simply editable now. Nothing in the copy still points at a property.\nDetach copies the component\'s published tree — unsaved or unpublished edits sitting in the component\'s working version are not what you get.'
1482
+ text: 'Detach from component, on an instance, turns it back into ordinary elements with fresh ids — the confirmation reads "Detached — this copy no longer follows the component." Use it when one page needs a variation the shared source shouldn\'t carry.\nWhat you get is what the page was showing. The property values set on that instance — and every style and setting changed on that page only, on its outer element and on each element inside it — are baked into the copy as ordinary text, images, styles and attributes, so the section looks identical before and after; it is simply editable now. Nothing in the copy still points at a property.\nDetach copies the component\'s published tree — unsaved or unpublished edits sitting in the component\'s working version are not what you get.'
1483
1483
  },
1484
1484
  {
1485
1485
  path: '/building-sites/besigner/reusable-components',
@@ -2265,6 +2265,13 @@ export const ASSIST_DOCS_INDEX = [
2265
2265
  anchor: '#layout-properties',
2266
2266
  text: 'A layout can take properties, the way a reusable component does, so one frame can differ from screen to screen — a banner one screen shows and another hides, a call to action worded per page — without a second layout.\n1. Open the layout in the Besigner and choose File ▸ Properties…\n2. Add property. Every property type a reusable component offers is here, with its default, help, settings and condition set with the same controls.\n3. Inside the layout, put the property\'s token — {{prop.bannerText}} — in any text or string attribute, or bind a field to it with the field\'s {} button: a switch to a Yes / no, an icon picker to an Icon. Hide when and Hide unless take a property too, so a screen can remove part of the layout\'s chrome.\nEach screen sets the values in Screen Properties, under Shared layout, below the Layout picker: one field per property, drawn with the control its type names. Leave a field empty and the layout\'s default renders. Save layout values stores them on the screen version being edited, beside its layout binding, so publishing that version publishes its values with it.\nValues are kept per layout. Binding a screen to a different layout starts from that layout\'s defaults, and a screen inside nested layouts sets each layout\'s properties separately.\nProperties saved on the layout\'s published version reach live screens straight away — that version is what they render. On any other version they go live when you publish it.\nPages the site builds without a screen of their own — search results, author pages, and a collection with no template screen — render inside the site\'s built-in page layout with its properties\' defaults.'
2267
2267
  },
2268
+ {
2269
+ path: '/building-sites/screens-and-layouts/layouts',
2270
+ title: 'Layouts',
2271
+ heading: 'Restyle the layout on one page',
2272
+ anchor: '#restyle-the-layout-on-one-page',
2273
+ text: 'A screen can change how the layout\'s elements look on that page alone: a transparent nav over this page\'s hero, a different footer background on a landing page. The layout\'s content stays the layout\'s, and every other screen using it keeps the layout\'s own styling.\n1. Open the screen in the Besigner. The banner above the canvas names the shared layout that frames it.\n2. Choose Style the layout on this page and pick an element. The list follows the layout\'s hierarchy, and a dot marks each element this page already restyles.\n3. The Styles tab opens on that element, marked Styles only, and says Styling the layout\'s … on this page only. Every control works as it does on the page\'s own elements, including breakpoints, the dark scheme and hover states. Each property you change is listed as a chip: its ✕ returns that property to the layout\'s value, and Reset clears them all.\n4. Save or publish the screen as usual. The styling is part of the screen version, so it is undoable, kept in a saved draft, and goes live when that version does.\nThe Attributes tab points you to the layout for anything else: an element\'s text, links and settings are edited in the layout itself (Edit layout). Select any element on the page to leave this mode.\nIf the layout is later edited and an element you restyled is removed, that styling is simply ignored. A reusable component the layout places, such as a site nav, can be restyled the same way: the change applies to its outer element.'
2274
+ },
2268
2275
  {
2269
2276
  path: '/building-sites/screens-and-layouts/layouts',
2270
2277
  title: 'Layouts',