Skip to content

v0.1.0-alpha.31

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Nov 19:47
· 11 commits to main since this release

izzy audit checks pages behind a sign-in, izzy upgrade --plan says what a move to another release takes before it moves, izzy adds an app's own colors, and VoiceOver on Safari reads dialogs, menus, date fields, toasts and grid editing as they change.

Components

  • New: Swatch shows a color with its name: a chip, the name (Label) and under it the token's variable (--ib-color-primary-soft) or a raw color's CSS. TextColor puts "Aa" on the chip in a second color, for pairs such as SuccessSoft and SuccessText. The chip is hidden from screen readers and the name is text.
  • New: Toast draws one toast in the page, as ToastRegion draws it (an Outline Alert, dismissible, not announced), for a design or a sample of the theme.
  • New: Inline on Menu and Dialog. A Menu with Inline is drawn open on the page with no button: a group named by Label (required), its items plain links and buttons. A Dialog with Inline is drawn open in the page's flow: not modal, no backdrop, its close button drawn but inert.
  • New: [ImportantParameters] on a component names the options a form shows first (at most 8), beside the component's definition. Every component and part of the library has its list, and izzy describe component --json marks them x-priority: "important".
  • Fixed: DataGrid and TreeList write a bool column as Yes or No, as their filter and edit field do. It read True or False.
  • Ids on a static page are counted, ib-tabs-1, ib-tabs-2, so a page gets the same ids on every request and an enhanced navigation changes none. They were random, and a static page's search patched every one. Interactive renders stay random.
  • Tabs: each panel is a tabpanel named by its tab in the server's markup. A live region in a panel was silent on Safari after an enhanced navigation.
  • Dialog: a modal dialog takes focus as it opens when the browser would pick its Close button, so VoiceOver starts at the title and reads the dialog. It read only "Close button" and then the page behind. A field the browser chose, autofocus and focus set by code are kept.
  • Menu: a plain item is no longer read as "expanded" by VoiceOver, and a menu or a DataGrid row menu opened with Shift+F10 stays open on Safari. It closed as it opened.
  • Static pages: a link or button that opens or closes something (a group's row, a row's detail) is read again after the navigation it starts, with its new state ("expanded"). VoiceOver said nothing.
  • DataGrid: editing is read by VoiceOver on Safari: F2's row field, a cell's field, and the Edit link after Escape or a save. They were silent or read one word.
  • Calendar: the chosen day's button has aria-pressed, so VoiceOver reads it as selected (in DateField, MultiDateField and a range's ends too).
  • DateRangeField: choosing the last day reads the new range. VoiceOver read the old one.
  • TimeField: the list reads the chosen time as selected as it opens.
  • Clearable fields: the field is read after Clear.
  • DateField, DateRangeField and TimeField: the panel's button is named by the field's label and then its own text, "Check-in Change date, Monday, June 14, 2027", so two fields in a form no longer read the same. A test that finds the input by its label text may now find the button too: find it by role and name.
  • Toasts: VoiceOver reads the close button once (it read "Dismiss Dismiss"), and pressing Dismiss gives focus back to where it was. Alert's and Banner's close button is named by hidden text.

CLI

  • New: izzy audit behind a sign-in. A page that leads to a sign-in page (Identity's /Account/Login, a page with a password field and an address to return to, or another site's sign-in such as Microsoft or Google) is signInRequired and not checked; one that leads to /Account/AccessDenied is accessDenied. The summary, report.md, report.html and tasks.md say so and never say "No findings" for it, and --fail-on counts it as unchecked. --sign-in opens a browser window of izzy's own for you to sign in however the app has you do it, and keeps the app's cookies in .izzy/sign-in.json (owner-only, git-ignored) for the audits after; --sign-out deletes them. --sign-in sample signs in as a kit's sample user (Izzy CRM's Jamie Davis) with no window. Results have signIn and signInCommand.
  • New: izzy upgrade --plan (Pro) says what a move to another release takes, and writes nothing: the solution's IzzyBlazor packages and izzy in its tool manifest, each with its place and new version; what the release requires (its .NET and the packages it needs at least) and whether the app has it; what needs you (a global.json on an older SDK, Dockerfile and CI images on older .NET, Microsoft packages left behind, what a trial restore refuses); what it couldn't check; and the uses of what the releases in between renamed or removed. --to, --no-restore, --json. Each release's requirements ship in IzzyBlazor.Core under tools/izzy.
  • Fixed: izzy update works from the app's solution folder: an app made from the App starter kept its izzy on the old version, and a Directory.Packages.props beside the solution was missed. A project the solution doesn't list is left alone.
  • New: izzy check lists where an app uses what a release renamed or removed, in its .razor, .cs and .css files, each with its place and what to use instead. Free, no account; it writes nothing.
  • izzy upgrade renames CSS variables a release renamed, in stylesheets too, and izzy update lists them (--ib-font-sans is --ib-font-body since alpha.2).
  • New: izzy add token, rename token and remove token edit an app's own color: izzy add token promo --light #7c3aed writes --ib-color-promo and --ib-color-on-promo in wwwroot/theme.css and Accent.Promo and Color.Promo as extension members, working out what isn't given from the library's palette and warning under 4.5:1. Rename changes the app's uses; remove refuses while the app uses it. No account.
  • New: izzy describe tokens lists the library's CSS variables by group, with type, description and value in light and dark, from the app's own package.
  • New: izzy theme vars prints the tags IzzyTheme writes for a set of options (--brand #0f766e --json), and izzy theme sample a page of the library's components in that theme, both rendered by the app's own IzzyBlazor package with no app running.
  • New: izzy capabilities --json lists what this izzy takes: each command with its usage, the plan it needs and its options, and the features a front end can rely on.
  • izzy set, wrap, unwrap and extract need a free account, not Pro.
  • New: --expect <hash> on every command that writes changes: a run whose changes differ from the preview's hash writes nothing and ends with exit code 6. A changeset's JSON has hash and generated (the ports and GUIDs izzy picked).
  • izzy inspect --json lists the choices for an Accent or Color option, the app's own tokens with the library's.
  • izzy describe and izzy list give each component and example a picture (light and dark), and write code in descriptions in backticks.
  • izzy add razor takes --parameter Name:type (once per parameter), --child-content, --typeparam, --code-behind and --css.
  • "CRUD pages" is "Pages for a Model" in the catalog and docs; the command is still izzy add crud. The grid page's first column is the record's name (a first and last name together, with the email under it), and the form marks a field required only when it can be left empty. izzy describe crud --model <Model> gives the defaults add crud would pick for that model.
  • izzy add crud says in one sentence which properties link to other records and are left out.
  • izzy audit --json --out writes report.html with its pictures.
  • izzy new and izzy add no longer say an item "comes with a free account" to a signed-in person when the templates couldn't be had.
  • The App starter's settings read as help under their fields.
  • izzy needs the ASP.NET Core runtime (the theme commands render the library).

Site

  • Docs tables fit a phone: two columns are equal halves, and three or more stack a row a card. The footer links the License.
  • Pricing marks what isn't built yet as Planned, lists support (GitHub for everyone, email help with Pro), and moves editing in the IDE to the free account.
  • ContextMenu's examples can be opened from the keyboard.
  • The whole site's audit baseline is remade: 553 pages, no real findings.
  • Issues are filed through forms for a component, izzy or a template, or the docs site.

Docs

  • The audit's Pages behind a sign-in; Pages for a Model; the Tokens page's own colors; izzy check, upgrade --plan, describe tokens, theme vars, theme sample and capabilities in the CLI reference.

Releases

  • A release with no catalog token fails before the packages go out. alpha.30 went out with none, and its izzy had no starters, blocks or kits until the job ran again.

Full Changelog: v0.1.0-alpha.30...v0.1.0-alpha.31