Skip to content

v0.1.0-alpha.22

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Nov 05:43
· 889 commits to main since this release

Charts (fourteen types, with zoom, drill-down, live data and synced charts), a Scheduler, a Chat, a rich text editor, tree selects, and an accessibility pass over every component with a new Accessibility section in the docs. Several components were split where one did two jobs, and parameters that broke the library's conventions were renamed, so read the Breaking list before upgrading: Razor accepts an old parameter name without a warning.

Breaking

  • Split into their own components: a password field is PasswordField (TextField's Reveal, ShowPasswordLabel and Requirements moved there, TextFieldType.Password is gone, and TextField refuses a [DataType(DataType.Password)] property); a month or a year is MonthField or YearField (DateFieldType.Month and .Year are gone; Calendar's Type is now a CalendarType); a floating action button is FloatingButton (Floating and FloatPosition are gone from every button, and the enum is FloatPlacement, set by Placement); link tabs are TabNav with TabLinks (Tabs holds only Tab); a menu with no button is ContextMenu (a Menu needs a Label or a Trigger); theming part of a page is ThemeScope (IzzyTheme renders only the head tags and no longer takes ChildContent, Class or Style).
  • Toggles are checkboxes: Pressed and PressedChanged are gone from Button, IconButton, ConfirmButton, CopyButton, DialogTrigger, DialogClose, ToolbarButton and ToolbarIconButton. Use ToggleButton (or ToolbarToggleButton in a Toolbar), and ToggleGroup for several.
  • Table and DataGrid columns go in <Columns>, not directly in the grid. DataGrid's EditLayout and EditFormTemplate parts are replaced by the EditDialog and EditDialogForm slots and the grid's EditColumns, EditLayout, EditDialogSize and EditDialogTitle.
  • Renamed: Popover.Mode → AutoClose (true by default; PopoverMode is gone), Icon.Role → Purpose (IconRole → IconPurpose), Heading.Outline → OnThisPage, Anchor.Inherit → InheritColor, Barcode.ModuleWidth → BarWidth, DescriptionList.Divided → Dividers, Diff.Context → ContextLines, PinField.Masked → Secret, Step.Hidden → Visible (inverted), ListView.AriaLabel and TreeView.AriaLabel → Label, TreeView.Expanded → ExpandedItems, Table's and DataGrid's FilterFromAddress → FilterFromQuery, DataGrid's OpenDetails/DetailsOpen → ExpandedDetails/ExpandAllDetails and OpenGroups/GroupsOpen → ExpandedGroups/ExpandAllGroups, and ShowText → ShowLabel on DataGridAdd, DataGridColumnPicker, DataGridExport and DataGridFilterBuilder.
  • Sticky bars: Position on Banner, AppHeader and AppFooter is replaced by Sticky (a bool), and BarPosition is gone.
  • ColorPicker: Presets and PresetText are Swatches and SwatchText, and PresetsLabel is gone; the swatch opens a ColorPanel in a popover.
  • Slider: ShowValue is gone; use ValueTooltip (over the thumb) and ShowEnds (Min and Max at the track's ends).
  • Image throws without Alt. Pass Alt="" for a picture that only decorates.
  • PasswordField sets autocomplete="current-password" by default, or new-password when it has Requirements; set AutoComplete to change it.

New components

  • Charts: Chart with bar, line, area, scatter, bubble and waterfall series (ChartBarSeries and the others), axes (ChartArgumentAxis, ChartValueAxis, a second value axis, log scales), ChartTooltip, reference lines and bands, annotations, trend lines, value labels and a Show data table; PieChart (and donut), NestedDonutChart, FunnelChart, HeatmapChart, CalendarHeatmap, RadarChart, SankeyChart, TreemapChart, Gauge and Sparkline. All are drawn on the server as SVG and read with JavaScript off. With IzzyBlazor's script: tooltips and keys, legend toggles, zoom (View, drag, wheel, pinch and keys, or a ChartRangeSelector strip), Sync to zoom and hover several charts together, drill-down by address, and live data (Refresh). RangeSelector on its own chooses a range for anything.
  • Scheduler: day, week, month and agenda views with add, edit and delete by form, categories, drag to move, templates, a toolbar of its own parts, and loading only the days shown.
  • Chat and ChatEntry: a conversation with a composer that posts on static pages, streamed replies, attachments and people's messages in bubbles.
  • RichTextEditor (a field that posts HTML, with Markdown shortcuts, links, images, tables, code blocks, task lists and its own undo), RichText (sanitized HTML shown as prose, with RichTextSanitizer) and Markdown.
  • TreeSelect and MultiTreeSelect: choose from a tree in a field, with children that load.
  • ColorPanel: swatches, a picker, opacity and fields, inline.
  • RangeSlider (two thumbs, bound to a NumberRange), ProgressCircle, SpeedDial, Blockquote.
  • LiveRegion, Announcer and AnnouncerRegion: tell screen reader users what changed, on interactive and static pages.
  • DynamicColumn (columns known only at run time) and ColumnBand (headers over groups of columns) for Table and DataGrid.

Other changes

  • TextField Mask, formatted as typed and on the server.
  • Slider Orientation and Height, ValueTooltip, ShowEnds, Marks and ShowStepMarks.
  • MultiSelect AllowCustom takes typed values, such as labels or email addresses.
  • Tabs OnClose and OnAdd close and add tabs, with links on static pages.
  • Menu ContextFor opens a menu by right-click, long press or Shift+F10 as well as its button.
  • Form ConfirmLeave asks before leaving a form with unsaved changes.
  • DataGrid: a column menu (sort, add to sort, freeze, fit, hide, group), a column picker with search, bands and handles, and Alt+Left and Alt+Right to move a grouping level.
  • Filter panels show "(Select all)", and the filter button stays lit while its panel is open.
  • Button data-active shows as the accent and a dot (DataGrid's Filter button uses it).
  • Breakpoint.Xxl (1536px), AvatarSize.Xxs, --ib-chart-title-size and --ib-chart-title-weight, richer code syntax colors, and IzzyText strings for the new components.
  • Dialogs keep their layout while they close.

Accessibility

  • Focus shows on every control in Windows high-contrast mode, and progress bars, slider tracks and carousel dots keep their system colors there.
  • A control that takes focus scrolls clear of AppShell's sticky header and footer, and of a Table's sticky header.
  • Small buttons (a field's clear button, a tab's close button, TreeSelect's clear) take clicks from a 24-pixel area; the Scheduler's month appointments are 24 pixels tall.
  • A light brand color keeps a focus ring with 3:1 contrast.
  • Every component's keys are in its Keyboard table, and shortcuts outside the standard patterns are announced with aria-keyshortcuts.
  • Table and DataGrid header buttons are named "Filter" and "Options", so a cell's column isn't read twice.

Docs site

  • An Accessibility section: the standards, how components are checked, known gaps with workarounds, every component's keys, and a guide to testing your own pages. docs/common/accessibility redirects to it.
  • Components are in 14 groups, each area of the docs has its own sidebar, and the components page shows every component as a card, A to Z.
  • Each chart type has its own page; the old Chart topic pages for bars, lines and scatter redirect.
  • Troubleshooting is one sidebar link to an index you can filter by area.
  • A new home page with a live store dashboard.

Full Changelog: v0.1.0-alpha.21...v0.1.0-alpha.22