Repository navigation
v1.22.0
Minor Changes
- 2d3fe87: New Forms block: Address, and the
address-fieldspart it uses. Country comes first, then the fields that country's addresses use, named its way and in its order, with a list of states or provinces where it has one and a check of the postal code.validateAddressgives an error for each field. Also new: acountrieslist, acountry-flagpart that blocks with a flag now install in place of the wholegeopart, aniconon eachOptionSelectoption, and a faint edge on every flag.
Patch Changes
-
8663e70: Command Menu: results that arrive after you type put Enter on the first one.
-
0e41127: Address Fields exports
getCountryOptions, its country list with flags as options for a select. -
12dcac9: Chart Panel's legend draws a
hatchedkey, for a part that is estimated or projected. -
629f636: Integrations shows each service's own logo in place of its first letter. Brand Logos adds the BigQuery, Microsoft Teams and PagerDuty logos.
-
2d3fe87: The
kanbanpart exportsKanbanLabel, one label drawn asKanbanLabelsdraws each, andgetDueDateLabel, the wordsKanbanDueDateshows for a due date. -
1fe73c1: AI Message Parts reads the citations the AI SDK puts on a reply's text: Claude's web search reply, which arrives in pieces split around what it cites, now shows as one text with
[n]after each cited passage, and its sources list only the pages it cites, in the order cited. -
769b6d8: Number Field takes a
formprop, so a field outside its form still submits it on Enter, and passes on a typed value rounded as the field shows it. -
0e41127:
SaveBarand the onboarding footer mark themselves withdata-floating-bar, so parts that float at the bottom of the window can keep clear of them.DataTableListItemshades a ticked row (data-state='selected') as a table row does. -
9e78565: Team has a
WorkloadBar: one person's load against what they can take, with what's past it hatched in orange and an optional part drawn as done. Team 02 draws its bars with it. -
20adb9e: Shortcut Button: the Escape key shows as Esc in its tooltip.
-
8663e70: New Shortcut Button part: a button whose tooltip shows its label and its keyboard shortcut. With
listen, the key presses it from anywhere on the page, except while someone types or a menu or dialog is open. -
769b6d8: Page Header's
TabLinkstakes anidand anindicatoron each tab, so a page can move focus to a tab it opened and mark one with unsaved changes.ActionsMenutakes anid, anicon, asizeand avariant, so it can be the menu half of a split button. -
6b73bb7:
TabLinksandTopNavtakevariant='pill', which fills the open tab for tabs that sit in a bar, a tab's focus ring now shows inside the tab instead of being clipped by the row, andSearchButtonis as tall as the bar's other controls, with a muted label, and takesvariant='secondary'for a filled field on a tinted canvas.MobileNavinapp-shell.tsx: a menu button that opens an app's pages in a sheet, for a phone, whereTopNavhas no room.NavLinktakes an optionaliconfor it.TopNavnow fills the room it has in a row, so it no longer shrinks to More and the open tab.TabLinkstabs (andNavLink) take an optionalicon, shown before the title in the rail and under More.SearchButtontakescollapseBelow='lg'to shrink to its icon below 1024px, for a bar that also holds tabs.TabLinks' More is drawn like the tabs beside it, with the number of hidden tabs as aNavTagand a chevron, in place of "More (3)".ActionsMenutakescountfor that tag andtriggerClassNameto draw a text trigger as plain markup.SearchButton's placeholder defaults to "Search", without an ellipsis. -
0e41127:
zonedPartsinformat.tsreads aYYYY-MM-DDday as that day in every time zone, as the other date helpers do.