Skip to main content

WireKit v2.75.0

Minor release

Minor. A captcha runs ALTCHA's script only as the file its hash names. One new component: an item, a row of a title, a line under it, media before it and controls at its end. A sidebar with drawer opens as a drawer below lg, an app shell opens its navigation from the end of the line on a phone, and a dropdown with shared draws one menu for the rows of a list. @wirekitStyles and @wirekitScripts version a file by a digest of its content. Most of the other entries are fixes: values that were lost or drawn wrong, a page that moved behind an overlay, panels that closed on a resize, and text in the color of the surface it stands on.

Security

  • A captcha runs ALTCHA's script only as the file its hash names. From the default address the script carries the sha384 of ALTCHA 3.5.0 in integrity, with crossorigin="anonymous", so a file with other content does not run. An application that serves a copy names its hash in components.captcha.altcha.integrity or with the new integrity prop; a copy without a hash loads as before.

Added

  • New item: a row of a title, a line of text under it, media before it and controls at its end. <x-wirekit::item> stands alone with a frame of its own or as a row of <x-wirekit::item.group>, a named list with a rule between rows. for makes the title the label of a switch, level makes it a heading, and below 24rem of the item's own width a labeled button moves under the text while a switch or an icon button stays at the end.
  • A sidebar with drawer opens as a drawer below lg. A column in the content, such as a details panel beside a reading column, kept its width on a phone. With drawer it leaves the flow there, and a floating button at its side opens it from that side, over the content and behind a backdrop; Escape, the backdrop or the button closes it, and the focus goes back to the button. From lg up the column stands in its row as before, folding and resizing as set.
  • An app shell opens its navigation from the end of the line on a phone, with mobile-side="end". Below lg the drawer then slides in from the edge opposite the start of the line, in the console layout as well, and its close button stands at that edge, where a sidebar.toggle at the end of the header sits. Above lg nothing changes. The drawer opens from its button only.
  • A dropdown with shared draws its menu once for the rows of a list, and dropdown.trigger with for opens it from each row. A list where every row had a menu carried every panel in its HTML, lazy or not, and sent them all again with every Livewire update. A shared dropdown draws its panel once. Each row carries its trigger and the values its entries act on, such as :with="['line' => $line->id]", and the entries read them as names: wire:click="discount(line)". The menu opens at the trigger that was pressed, and closing it gives the focus back to that trigger.
  • card.body takes justify, which lays its content out as a column over the height of the card. The card then lays its parts out as a column, and the body takes the room the head and the foot leave. A tile with a minimum height, or a card its grid row stretches, keeps the first part of its body at the top and the last at the bottom: a name above, a price below. The values are those of stack: start, center, end, between, around and evenly.
  • The link component takes underline="quiet", a line in the border color that takes the color of the link under the pointer and on focus. It suits a screen with many links, such as the names in a list or a back link above a page, where a full underline weighs too much. The line stays, so the words still read as a link without their color.
  • An announcement banner takes intent="neutral", which paints the raised surface and the text of the part it stands in. Every other intent paints a color of its own, so a part of the page with colors of its own could draw its bar only by bending the accent. A neutral bar paints --color-wk-bg-elevated and --color-wk-text, as a navbar and a footer do, in both surfaces.
  • A lightbox takes its bounds from four custom properties, --wk-lightbox-max-width, --wk-lightbox-max-height, --wk-lightbox-media-max-width and --wk-lightbox-media-max-height, which default to the shares of the window it used before. A host that shows the viewer in a box smaller than the window sets them on that box.
  • A part of the page that is not drawn keeps its unsaved values in the unsaved hint and in the question before leaving. An element in the place of the part, such as the placeholder of a tab the page leaves out, names the paths of its fields with data-wk-unsaved-fields, a JSON object from each path to its name or a JSON list of paths, and they are tracked as if their fields stood there. The question names an unsaved value under one by that name, and its entry brings the element into view and opens what stands around it.
  • wirekit.blaze compiles the button and the icon as well, with button and icon. With livewire/blaze installed, a screen that redraws many buttons at every answer, a till or a toolbar on every row of a list, spends less of its time in Blade around each button and each icon. Both render the same markup as under Blade, and both switches are off by default.
  • <x-wirekit::fonts source="package"> links the bundled fonts from the WireKit route, which answers every font with Access-Control-Allow-Origin: *, so a frame with sandbox and no allow-same-origin, or its srcdoc, receives them. See a document with an opaque origin.
  • BrowserStorage::entries() lists what the components store in the browser. One entry per key a component writes: the component, the key and the prop or setting it comes from, local storage or a cookie and what picks one, and when the component writes it. BrowserStorage::of('app-rail') returns the entries of one component, so a register of an application's cookies and storage entries reads them in PHP instead of from the components' JavaScript.
  • An icon-only button says so when its icon stands in the default slot. That slot is the label, rendered visually hidden, so an icon written there was hidden with it and the button drew an empty box. Such a button now throws in the console and logs a warning in a request, as one without a name does; the glyph belongs in iconLeft or iconRight.
  • wirekit:doctor:props leaves a destructive action alone that says why it acts at once. data-wk-acts-at-once with the reason on the control, such as the unsubscribe button of a newsletter, where withdrawing a consent has to be as easy as giving it, keeps --fail-on-convention from failing on it. An empty reason is none.

Changed

  • @wirekitStyles and @wirekitScripts version a file by a digest of its content, not by its modification time. An application that publishes the assets in every deploy, or runs several servers, now names one file by one URL everywhere, and a browser or an edge loads it again only when its bytes change. Cache busting shows the new form of ?v=.
  • A bar of tabs wraps its tabs onto further lines when they do not fit, instead of scrolling sideways. On a phone a bar that scrolled hid its last tabs behind a scrollbar. wrap is now on by default for tabs and tabs.list; wrap="md" and the other widths still wrap from that width up and scroll below it, and :wrap="false" keeps the bar that scrolls, which the page now shows beside the one that wraps (A Long Bar That Scrolls).
  • On a screen narrower than 40rem a data list sets each label above its value in the horizontal and detail layouts. Side by side in a column a phone wide, the label kept a third of the row or up to 10rem of it, and a host name or a sentence broke into a narrow column against the far edge. Above it, the value has the whole row. Wider screens keep the two side by side.
  • A sidebar with truncate cuts a long name only under a pointer that can hover, and shows it whole in the kit's tooltip while it is cut. The name carried a native title, which a touch screen cannot show, and was cut there all the same. On a touch screen it now wraps, as it does without truncate, and the same holds for the names of a sidebar.group and a sidebar.collapsible, and for an app rail entry with truncate while the rail shows its names. Beside a badge-label the cut name stands in the one tooltip of the counter, above its sentence.
  • A tooltip around words or an icon looks like the button it makes of them under the pointer. It made them a tab stop with role="button", but they took no fill, while the buttons beside them did. They take the hover fill of the kit's quiet buttons now, a little wider than the words, which keep their place in the line. A button or link in the slot keeps its own hover, and a disabled control the tooltip explains takes no fill around it.
  • A code block with copy and no filename puts its copy button in the top corner of the code. It drew a row with a border that held the button alone, a second header above the code. The button now stands on the code's background, so a long first line passes under it rather than through it, and a block that wraps keeps the button's width free at the end of its lines. A block with a filename keeps its row, with the name and the button.
  • WireKit's Artisan commands wait until they are called. Each command carries #[AsCommand] with its name, so Laravel defers it, and starting an application's console, a scheduled run included, no longer builds all of WireKit's commands through the container.
  • The marketing landing page recipe and the page its command writes into an application no longer claim a certification, GDPR compliance or an uptime figure. A site built from it would have stated them as its own. The features stay: the security card keeps zero trust, single sign-on, audit logs and key encryption, the failover card its edge locations, and the stat that showed an uptime percentage counts edge locations.

Fixed

  • Under .until-saved, a value whose field a response takes out of the page stays unsaved in the unsaved hint. A request that draws another part of a form sends the values of the part it leaves, and its response took their fields away before it was weighed, so those values counted as saved although nothing saved them, and the question before leaving said nothing of them. The response is now weighed by the scope and the form each field stood in as the request left: the value stays unsaved until a save, and a wire:submit of the form around it saves it.
  • A multi-select, a tags input and an image hotspots editor bound to a property that holds null, or to a key the component's state does not have, start empty. wire:model handed them null or undefined where each reads a list, so a multi-select threw on every entry it drew and took no pick, a tags input threw on the first tag, and the hotspots editor threw as it loaded. Such a binding now reads as nothing chosen and keeps its value until the first pick, tag or point, which writes a list.
  • A countdown bound with wire:model writes to its binding only when it runs out, also when a render moves its deadline. The deadline stood in the component's Alpine expression, so each render that moved it, such as one that counts to now()->addHour(), set the countdown up again, and it sent done: false to the server a request later, though it had neither run out nor been touched. The deadline now travels on the countdown's root, and a render sets the clock without starting it over; a deadline moved ahead after expiry sets done back to false and fires wirekit-countdown-expired again at the new deadline.
  • A data table clears every match when a filter that holds NAN, INF or text that is not UTF-8 changes. A list as a filter that held such a value was compared as an empty text, the same as no filter, so a render that changed or cleared it kept every match selected, and the rows of the new filter were selected as they arrived. The filter is now compared as a bulk selection compares it, with such a number as null and such text with U+FFFD.
  • A badge or a count given a float that is no number, NAN or INF, draws nothing. The badges of a sidebar, an app rail, a dropdown and the other components that show a count in a pill read NAN or INF, and so did the counts of a kanban column and a stage card, where INF also marked a kanban column as over its limit.
  • A ticker, the heat cells of a status matrix and the marks of a slider draw no NaN or ∞. A delta written as a number too large for a float, such as "1e999", showed +∞% and announced a rise, and a heat cell holding such a text showed ∞. A slider whose marks list held NAN, INF or such a text drew a mark labeled NaN or ∞ at the end of its track. Such a delta is now no change, such a cell an empty one, and such a mark is left out.
  • A price draws no figure that is no number. A float such as NAN or INF, which fdiv() returns and a double precision column can hold, and a numeric string that reads as one, such as "1e999", were taken as figures and written as NaN € or ∞ €. They are now refused like a figure in words: reported during development and left out in production, the whole price for amount and only its own part for base, unit-price and delta. A product card, a cart summary and the items of a cart list draw their figures through it.
  • Schema::unitPrice() no longer writes a quantity Merchant Center does not read. A quantity that keeps more than two decimals in mg, ml or cm, such as 0.125 ml, went out as it came. It now throws an InvalidArgumentException in a test and on the console, and in a request the price goes out without its unit price and the quantity is logged.
  • The asset route lets a browser or an edge keep a file only under the version it names. It answered every request with a year-long immutable, so a page of a new release whose script reached a server of the old one, as in a rollout over several servers, could have the old file kept under the new key. The version the directives name keeps immutable; any other, or none, gets the file with no-cache. Cache busting says how an application lets every such request reach it.
  • The routes of the font stylesheets, of the per-page bundle and of the flags let a browser or an edge keep a file only under the version it names, and a fonts stylesheet is versioned by a digest of its content. The stylesheets carried the file's modification time, so an application that publishes in every deploy or runs several servers named one stylesheet by several URLs, and the routes answered every request with a year-long immutable. The font files and the bundle's chunks, which carry no version or their content in their names, keep the year. Cache busting covers it.
  • The page behind an open modal, drawer or any other overlay that locks the page's scroll stands where it stood, also when the body does not start at the edge of the window. The scroll lock pins the body with position: fixed and gave it the width of the window. On a page whose <html> carries padding, or whose <body> keeps the browser's default margin, the content grew wider and moved up or down for as long as the overlay was open. A body centered by automatic margins moved to the start of the line. The lock now keeps the body's width, its margins and the place of its content, and pads the body for a hidden scrollbar on top of the padding it has.
  • Every panel the kit caps to the room the window leaves measures that room again when the window changes size, as the dropdown already did. Seven kept the cap of the moment they opened: the notification center, the navigation menu, the context menu, the filter builder, the column menu of a data table, and the panels of the date picker, the datetime picker and the time picker. In a window that grew, such a panel stayed short and scrolled inside itself; in one that shrank, it ran past the new edge. A navigation menu also closed on every resize, and now closes only on one that moves its trigger, as the others do.
  • The panels of a filter builder, a notification center and the date and time pickers stay open through a resize that leaves their trigger where it stood. They closed on every resize, as they close on a scroll that moves the trigger, so a phone's keyboard coming up for a field in the panel shut it, and WebKit shut a panel that had just opened with a resize it delivered late, which left the filter builder's field without the focus. A resize that moves the trigger still closes the panel.
  • The phone and tablet drawer of an app shell opens over the header, and its close button stands where the menu button stands. The drawer opened below the header, so the menu button stayed in sight but did nothing while the page beside the drawer was inert, and the close button sat one row lower. The close button now takes the menu button's place and the focus, from either edge, and the column in the drawer draws no border at the edge of the window.
  • On a page read from right to left, the navigation drawer of an app shell slides in from the right below lg. It came in from the left, the end of such a line, while the column stood at the right above the breakpoint and the menu button at the start of the header.
  • In an app shell, the drawer that holds the rail and the second column below lg stays inside its shell. It was as wide as the two columns together, and a shell narrower than that, on a small phone or inside a padded page, cut the second column off at its edge. The drawer now stops short of the shell's far edge by --size-wk-drawer-inset, as every drawer of the kit does: the second column gives way, the rail keeps its width, and a menu a reader widened at the desktop no longer brings that width into the drawer.
  • A navbar writes in the text color of the surface it paints. In a part of the page that sets its own colors, as data-wk-tokens does, it painted the part's surface and wrote in the page's text. A transparent navbar paints no surface and keeps the color of what it stands on.
  • A header, a bottom nav, a sticky panel, a bento cell, an item group and an accordion write in the text color of the surface they paint. In a part of the page that sets its own colors they painted the part's surface and wrote in the page's text, as the navbar did.
  • A navbar with force-mobile grows with its open menu at every width. From the md breakpoint on, the bar kept the fixed height it has with its entries in one row, so the open menu hung out of the bar, over whatever followed it, and the bar's bottom line ran behind the first entry.
  • The actions of a navbar stand beside the menu button while the entries are in the menu. Under force-mobile, and below md, the bar shared its free space between the brand, the actions and the menu button, which left the actions in the middle of the bar.
  • A mouse wheel moves the row of a navbar with mobile="scroll". Only a trackpad or Shift moved it sideways. A vertical turn over the row now moves it until it reaches an end, and from there the page scrolls again.
  • The dot an unsaved field shows beside its label, and at the code of a translatable input, stands in the warning's text tone. It took the light warning fill of the line, too faint against the page for a mark that says unsaved on its own. The line around an unsaved field keeps the lighter tone, since the words or the dot stand beside it.
  • The list of an open notification center shows its whole focus ring. The list fills the panel from edge to edge, and the panel, which scrolls, cut the ring drawn outside the list on both sides, so the keyboard focus showed as a line above the list and a line below it. The ring now runs inside the list.
  • An app rail with a height of its own ends with the drawer of an app shell on a phone. In the drawer the rail stands below the row of the close button, so a rail given a height reached past the end of the drawer by that row, and its last entries stood below the backdrop. The rail now ends with the drawer, and its own scroller takes the entries that do not fit.
  • An app rail with expandable and no footer ends with its last entry in the drawer of an app shell on a phone. Below lg the rail is the strip of the drawer and hides its expand toggle, so a foot that held nothing but the toggle stood under the last entry as an empty band with a separator. That foot is now hidden with the toggle below lg. A rail with a footer keeps its foot, and at the desktop the toggle stands at the bottom of the rail as before.
  • A wordmark in the wide app rail starts where the glyphs of the modules start. app-rail.brand put the middle of its mark on the middle of the glyphs, which suits a round mark and set a wordmark half the difference between the two sizes before them. A brand with an expanded form aligns the start of its wordmark now, and the new align chooses for any brand: edge for a wordmark in the default slot, center for a round mark.
  • An avatar in the icon slot of an app rail entry or of a folded sidebar entry keeps its initials on its disc. The slot holds the avatar to the size of the rail's glyph, and its initials kept the font of the larger disc, so a wide pair such as MW was cut. They now take a font of the glyph's size.
  • The names of a sidebar with collapsible stay put when its width changes for any reason but its opening. They faded in from nothing again after every step of a resizable handle taken with the arrow keys or the step controls, and in Chromium after the window changed its size, so they blinked. They now fade in only when the column opens.
  • The head of a sidebar holds what it carries in the middle of a row at least as tall as the smallest brand row. A heading or a short line in the head stood close under the top edge of the column, with the first label of the list much further below it, while a brand's name had room on both sides. The head is now never shorter than --size-wk-xs, so a head that holds a brand keeps its height.
  • A sidebar with resizable in the sidebar slot of an app shell sets the width of the shell's column. The sidebar writes the width the reader sets onto itself, and the column around it went on with the default, so a drag widened the sidebar over the content while the column and the content stayed where they were. Above lg the column is now as wide as the sidebar it holds, open, folded and while either moves. The columns that fold in the Multi-Column Shell take the width a reader drags, and remember it.
  • A sidebar that is both collapsible and resizable keeps the width the reader drags it to when it stands in a row beside other content. It could shrink like any flex item, so text beside it pressed it narrower than the reader made it, and a drag or a step of the arrow keys moved its edge only part of the way. A resizable sidebar that does not fold already kept its width.
  • A sidebar with drawer closes from the spot of the floating button that opened it. The open drawer covered that button, and the one button left in sight was the column's collapse control, which changes nothing on screen in a drawer. The drawer now puts its own close button on that spot, as the app shell's drawer does with its menu button, keeps its foot clear for it, and leaves the collapse control out below lg.
  • On a phone a shell bar puts its end cluster on a row of its own once it no longer fits beside the leading cluster. The actions kept their size beside the strip, so in the console layout on a phone the first section stood cut beside Create payment. Below lg, where the columns beside the bar stand in the drawer, a bar with an end cluster wraps: the leading cluster keeps the first row, beside a menu button, and the actions stand under it. Below sm a leading cluster of navbar entries stands them one under the other, each on a line of its own, with the actions on the row under them, so no section waits out of sight past the edge of a strip that scrolls, and the bar grows with the column. A bar that fits keeps its single row and its height, and from lg up every bar keeps its exact height.
  • On a touch screen, an input beside a prefix or a suffix keeps half of its frame to type in. WireKit's stylesheet sits in no cascade layer, and its touch rules reset the minimum width of a framed field to zero, which won over the field's own utility class: a long prefix, such as a host before a path, kept its whole width and left the field a few pixels on a phone. Such a field now keeps the minimum width its classes give it, half of the frame or a min-w-* given to the field, and the prefix is cut with an ellipsis, as under a mouse.
  • In a row with align-fields, a checkbox, a radio and a toggle stand on the middle of the input beside them. The control track held the space under the input as well, so its middle stood below the input's, and a control with its label beside it was taller than its label. The track is now as tall as the controls on it, and such a control is as tall as its label. A hint or an error in such a row stands one gap below its control.
  • A toggle without a visible label sits on the middle of the text beside it. Its root was a few pixels taller than the switch and held the switch at its top, because the label stood in a line of text. A row that centered the toggle beside a word put the switch above the word's middle.
  • A time picker without popover shows its time on the middle of the field in Safari on macOS, at every size. Its native field took a block box, and WebKit set the time against the top edge, most visibly at md and lg. It now takes the grid a date or a time in an input takes.
  • The segments of a typed time in a time picker and of a typed moment in a datetime picker stand close together in Safari. Each segment took the width of its font's widest glyph there, which with most fonts set the hours, the minutes and the period far apart. Each segment is as wide as its digits now, in every browser.
  • The presets of a range calendar and date picker draw their rule down the whole height of the month beside them. The rule ended under the last preset while the month went on below it. On a phone, where the presets stand above the month as a select, nothing changes.
  • A captcha shows a box where its widget will stand, until the widget is drawn. With defer it showed its label and nothing under it until the form was used, and without it nothing until the provider's script had loaded, so a reader could not tell that something was to be done there. The box holds a Start the check button in its middle under defer, says the check is loading while the script loads, and says so if the script does not load. Once the widget is drawn the box leaves, and a focus in it moves to the widget's place. The three texts are in every bundled language.
  • On a phone a table of three or more columns in prose stacks its rows, every cell under the name of its column. Below 40rem the columns shared the width so thinly that nearly every word broke. Such a table now becomes a block per row, as a table with stacked rows does, with the names taken from its head and the roles of a table written out, so a screen reader reads every cell with the name of its column; this holds in a scroll region as well. A table of two columns, a table without a head and a table marked data-wk-table-stack="off" keep their form, and from 40rem up every table is a table.
  • A table of two columns in prose gives its first column two fifths of its width on a phone. Below 48rem the automatic layout left a column of terms beside a column of sentences one to three letters wide, as in a data processing agreement a Markdown pipeline renders. The terms keep their words now, and the sentences take the rest of the width.
  • A table in prose whose parent carries a tabindex scrolls in that parent on a phone, with its columns and its words whole. Below 48rem the fixed layout, the first of two columns at two fifths, words broken anywhere and hyphens reached such a table as well, and WebKit pressed a wide one onto the width of its frame instead of letting the region scroll. A parent a keyboard reaches now scrolls, as a pre with a tabindex does, and a scroll area around a table is such a parent.
  • One long word in a stacked table cell breaks inside its column again. Since a stacked cell keeps a badge or a code at the width of its words, a code holding a name or a token wider than the value column ran past the card. Every item of a stacked cell now ends at its column, and a short one keeps its width.
  • A card with as="button" holds no div any more. A button holds phrasing content only, and card.header, card.body and card.footer wrote a div inside it, as did the column beside the chevron. In a card whose element holds phrasing content only, a button or a label, they write span elements now, laid out as the blocks they were, and each of the three parts takes as for another element.
  • A lightbox keeps a caption of several lines on screen in a short window, such as a phone held sideways. The media took a share of the window that left the caption room for about one line, and the rest ran past the bottom edge. The media now gives up the height the caption needs, and without a caption it keeps its size.
  • The caption of a lightbox keeps to the width its media may take. On a phone a long caption stood a few pixels wider than a landscape image, as the viewer may be wider than its media. In a short window a long caption can still stand wider than the smaller image, which gives it the room below: a caption that narrowed with the image would grow taller and take that room back.
  • A turned category axis in WebKit gives its first name the room it needs on the left and no more, so the columns of a column chart on a phone are as wide as in other engines. A name the axis leaves out stands empty, and WebKit, which every browser on an iPhone uses, reported a box for it all the same, so the room on the left grew by more than the first name needs and the drawing started further right. Such a name is no longer measured, neither for that room nor where the values along the axis of a chart that lies are spread apart.
  • Turned names on an ApexCharts category axis no longer stand on one another, and none is left out where it has room. ApexCharts thins turned names by the width of each along the axis. That lets short ones through, so on a phone the 24 hours of a day stood one on another. It also lets a long name take out the next one, so on a tablet columns stood unnamed at irregular places, though each shortened name had room. Names closer across their direction than a line of their text are now thinned to a scale, every second or third from the first, and every other name stands. An xaxis.tickAmount, an xaxis.labels.hideOverlappingLabels or an xaxis.labels.rotate of 0 set in the options or in window.Apex leaves the thinning to ApexCharts.
  • A long turned name on an ApexCharts category axis keeps its start and ends in "…", and the drawing keeps its width. ApexCharts turns names that do not fit side by side, and it let a long one run past the bottom of the chart, where its first words were cut away. At the same time the chart widened its left edge for the part nobody could see: on a phone a column chart of many long names kept less than half its width for the columns. A turned name now ends above the bottom, its full text in the tip, and the edges are measured with the names as they are drawn. The long names example shows it.
  • A short name on an ApexCharts category axis stands whole where its column has room for it, and two different names never read the same. With a handful of names ApexCharts shortened each to the width of one column less than there are, so on a phone four short names lost their ends and three of them read alike, though each fitted under its column. Each name now takes the width of its column, and where two would be shortened to the same text, each shows the words that tell it apart.
  • A line or an area series without two neighboring values shows its points as markers. ApexCharts draws a line between two values and no mark on a point of its own, so a chart over a single day, one value in each series, came out empty above a table that held both values. Such a series now shows a marker on each point, every other series keeps its line without markers, and a markers.size set in the options or in window.Apex stays as it is.
  • The values on the x-axis of a bar that lies read as the values of an upright column do, grouped in the application's language. ApexCharts writes them with xaxis.labels.formatter, which was left unset, so a bar chart with plotOptions.bar.horizontal read 15000 beside a column that read 15,000. They now take the decimals their series names, and an xaxis.labels.formatter set in the options or in window.Apex writes them instead. The last of them is measured against the right edge of the drawing as well, where its last digit could be cut off.
  • The tooltip of a shortened chart axis label and the hover preview of a reading minimap stay clear of a classic scrollbar. Both measured the window by its whole width, which counts a scrollbar such as Windows draws, so near the right edge the tooltip could end under the scrollbar and the preview stay beside it. They now take the width of the window without its scrollbar, as the kit's panels do, and a region the kit brings into view no longer counts as in view while it stands under the scrollbar.
  • The tooltip of a shortened chart axis label stands at its label inside an element with a transform, a filter or contain: paint, such as a panel that slides in. Such an element holds a fixed element in place of the window, and the tooltip stood off by the element's distance from the top of the window. Where the tooltip lands is now measured, and it is moved by the difference.
  • With wirekit.blaze switched on, a page header with a description, the cell that moves a table row and every other kit component that writes a text or a table cell in its own markup render again. In an application that registers livewire/blaze before it boots, the kit took Blaze's runtime away from these views, and the page ended with an error.
  • The convention hints of wirekit:doctor:props read nothing in the panel of an overlay as part of the row, the group of actions or the table cell around it. The cancel and submit buttons in the form of an alert dialog made form-buttons-wrap name the row its trigger stood in, a button in a modal beside a row's own button read as a second main action, and the title a modal shows in a table cell kept row-actions-at-the-end from naming the trigger after it. A panel opens away from where its overlay stands, and the control in the overlay's trigger slot stands there and still counts.
  • wirekit:doctor:props reads a @wirekitLast block as the @if it is. Two buttons in the two branches of such a block were taken as side by side, so a row that renders one of them was reported as two main actions in one group, and an @else inside the block moved the branches of an @if around it. The block now divides its branches as @if does.

Documentation

  • The pricing page and landing page blueprints are public. On the pricing page, the "Save 20%" badge keeps the distance the rest of the period row has, the ring of the highlighted plan shows on all four sides, the plans start closer under the period toggle, and the questions keep their width when one opens.
  • The dropdown triggers in the navbar examples read like the entries beside them: a ghost button in the default size with its chevron, where they were gray buttons in a smaller type.
  • The unsaved hint page shows the dot an unsaved field takes where its words have no room. In a column as narrow as a sidebar's, a short label keeps the words and a long one shows the dot in the warning's text tone, with the words as the label's title.
  • The previews of the app rail stand in an app shell, with the rail in its rail slot, so on a phone the rail goes behind the shell's menu button, as in an application. The two previews that compare rails side by side, shape and tone, show at desktop width.
  • Where fields stand one under another in a preview of input, number input or time picker, they stand in a stack, so the code under Show Code keeps the space between a field and the label of the next one. Pasted as it was, each label touched the field above it and stood closer to it than to its own.
  • The section headings of the marketing landing page recipe stay centered once they wrap. A heading in a stack with align="center" stood at the left edge as soon as it took two lines, above a centered lede, so at tablet width and on a phone the page centered some section headings and not others. The headings carry class="text-center", and the recipe says why.
  • The navbar of the marketing landing page recipe and two examples on the navbar page keep the brand and the menu button in one line on a phone. Their two buttons with words stood beside the menu button at every width, and on a narrow screen they pushed it into a row of its own under the brand. Below md the buttons stand in the menu slot now, the way the navbar page describes.
  • The raw SVG before "Save" in the button example "Icon component and raw SVG side by side" draws an arrow into a tray. It drew a filled black trapezoid: its path held a second shape inside the first that only a fill rule would have cut out.
  • No sentence of the docs stresses a word with capitals any more. The pages on app shell, field, hero and navbar, the public CSS API, the integration guide, Adding WireKit to the Livewire Starter Kit and the marketing landing TOC recipe set such a word in bold now.
  • The page on wirekit:doctor shows the two words its report prints for an unmeasured check as code.

Components

Every component this release changes, each linked to its page: Accordion · Alert Dialog · Announcement Banner · App Rail · App Shell · Avatar · Bento Grid · Bottom Nav · Button · Calendar · Captcha · Card · Chart · Checkbox · Code Block · Color Picker · Combobox · Command Palette · Context Menu · Countdown · Data List · Data Table · Date Picker · Datetime Picker · Drawer · Dropdown · Editor · Event Calendar · Field · File Upload · Filter Builder · Fonts · Header · Hover Card · Icon · Image Editor · Image Hotspots Editor · Inline Edit · Input · Item · Kanban · Lightbox · Link component · Live List · Menubar · Message · Modal · Multi-Select · Navbar · Navigation Menu · Notification Center · Number Input · OTP Input · Password Input · Phone · Popover · Price · Prose · Radio · Range Slider · Rating · Reading · Row · Scope Switcher · Segmented Control · Select · Shell Bar · Shortcuts · Sidebar · Slider · Stage Card · Status Matrix · Sticky Panel · Swatch Group · Table · Tabs · Tags Input · Textarea · Theme Controller · Ticker · Time Picker · Toggle · Tooltip · Tour · Translatable Input · Unsaved Hint