Repository navigation
v0.1.0-alpha.22
Pre-release
Pre-release
·
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'sReveal,ShowPasswordLabelandRequirementsmoved there,TextFieldType.Passwordis gone, and TextField refuses a[DataType(DataType.Password)]property); a month or a year isMonthFieldorYearField(DateFieldType.Monthand.Yearare gone; Calendar'sTypeis now aCalendarType); a floating action button isFloatingButton(FloatingandFloatPositionare gone from every button, and the enum isFloatPlacement, set byPlacement); link tabs areTabNavwithTabLinks (Tabs holds onlyTab); a menu with no button isContextMenu(aMenuneeds aLabelor aTrigger); theming part of a page isThemeScope(IzzyThemerenders only the head tags and no longer takesChildContent,ClassorStyle). - Toggles are checkboxes:
PressedandPressedChangedare gone from Button, IconButton, ConfirmButton, CopyButton, DialogTrigger, DialogClose, ToolbarButton and ToolbarIconButton. UseToggleButton(orToolbarToggleButtonin a Toolbar), andToggleGroupfor several. - Table and DataGrid columns go in
<Columns>, not directly in the grid. DataGrid'sEditLayoutandEditFormTemplateparts are replaced by theEditDialogandEditDialogFormslots and the grid'sEditColumns,EditLayout,EditDialogSizeandEditDialogTitle. - Renamed:
Popover.Mode→AutoClose(true by default;PopoverModeis 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.AriaLabelandTreeView.AriaLabel→Label,TreeView.Expanded→ExpandedItems, Table's and DataGrid'sFilterFromAddress→FilterFromQuery, DataGrid'sOpenDetails/DetailsOpen→ExpandedDetails/ExpandAllDetailsandOpenGroups/GroupsOpen→ExpandedGroups/ExpandAllGroups, andShowText→ShowLabelon DataGridAdd, DataGridColumnPicker, DataGridExport and DataGridFilterBuilder. - Sticky bars:
Positionon Banner, AppHeader and AppFooter is replaced bySticky(a bool), andBarPositionis gone. - ColorPicker:
PresetsandPresetTextareSwatchesandSwatchText, andPresetsLabelis gone; the swatch opens a ColorPanel in a popover. - Slider:
ShowValueis gone; useValueTooltip(over the thumb) andShowEnds(Min and Max at the track's ends). - Image throws without
Alt. PassAlt=""for a picture that only decorates. - PasswordField sets
autocomplete="current-password"by default, ornew-passwordwhen it hasRequirements; setAutoCompleteto change it.
New components
- Charts:
Chartwith bar, line, area, scatter, bubble and waterfall series (ChartBarSeriesand 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,GaugeandSparkline. 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 aChartRangeSelectorstrip),Syncto zoom and hover several charts together, drill-down by address, and live data (Refresh).RangeSelectoron 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,
Announcerand 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
OrientationandHeight,ValueTooltip,ShowEnds,MarksandShowStepMarks. - MultiSelect
AllowCustomtakes typed values, such as labels or email addresses. - Tabs
OnCloseandOnAddclose and add tabs, with links on static pages. - Menu
ContextForopens a menu by right-click, long press or Shift+F10 as well as its button. - Form
ConfirmLeaveasks 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-activeshows as the accent and a dot (DataGrid's Filter button uses it). Breakpoint.Xxl(1536px),AvatarSize.Xxs,--ib-chart-title-sizeand--ib-chart-title-weight, richer code syntax colors, andIzzyTextstrings 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/accessibilityredirects 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