Repository navigation
Releases
@wirecore/wirelayer-vue@0.16.0
Minor Changes
- 1ee83b2: Banner for permanent, page-wide notices ("TEST SYSTEM", maintenance):
solidfills it opaquely in the colour of the
variant with the matching text colour (info →bg-info text-on-info, …, neutral →bg-fg text-bg);position="sticky"
keeps it in the flow and at the top edge while the page scrolls (opaque also withoutsolid, below dialogs and
drawers). React Native getssolid(nosticky). Stories Solid and Sticky.
Patch Changes
- be1e29a: Tabs with
lazyMount: the panel that was open when the tabs mounted stays mounted (hidden) when its tab is left, as
documented – onlyunmountOnExitremoves a panel again. Ark's Vue presence forgot that panel and removed it, so e.g.
form fields in it were gone on submit. TabsContent now mounts the panels itself with the same rules. - d256625: Textarea with
autoResize: measures its height again once it becomes visible and whenever its width changes. Mounted
hidden (an inactive tab, a closed accordion, a popover before it opens) it measured 0 and stayed one line high. A
hidden textarea now keeps its rows until it can be measured. Story Textarea in Tabs. - Updated dependencies [1ee83b2]
- @wirecore/wirelayer-recipes@0.15.0
@wirecore/wirelayer-recipes@0.15.0
Minor Changes
- 1ee83b2: Banner for permanent, page-wide notices ("TEST SYSTEM", maintenance):
solidfills it opaquely in the colour of the
variant with the matching text colour (info →bg-info text-on-info, …, neutral →bg-fg text-bg);position="sticky"
keeps it in the flow and at the top edge while the page scrolls (opaque also withoutsolid, below dialogs and
drawers). React Native getssolid(nosticky). Stories Solid and Sticky.
@wirecore/wirelayer-react@0.16.0
Minor Changes
- 1ee83b2: Banner for permanent, page-wide notices ("TEST SYSTEM", maintenance):
solidfills it opaquely in the colour of the
variant with the matching text colour (info →bg-info text-on-info, …, neutral →bg-fg text-bg);position="sticky"
keeps it in the flow and at the top edge while the page scrolls (opaque also withoutsolid, below dialogs and
drawers). React Native getssolid(nosticky). Stories Solid and Sticky.
Patch Changes
- d256625: Textarea with
autoResize: measures its height again once it becomes visible and whenever its width changes. Mounted
hidden (an inactive tab, a closed accordion, a popover before it opens) it measured 0 and stayed one line high. A
hidden textarea now keeps its rows until it can be measured. Story Textarea in Tabs. - Updated dependencies [1ee83b2]
- @wirecore/wirelayer-recipes@0.15.0
@wirecore/wirelayer-native@0.11.0
Minor Changes
- 1ee83b2: Banner for permanent, page-wide notices ("TEST SYSTEM", maintenance):
solidfills it opaquely in the colour of the
variant with the matching text colour (info →bg-info text-on-info, …, neutral →bg-fg text-bg);position="sticky"
keeps it in the flow and at the top edge while the page scrolls (opaque also withoutsolid, below dialogs and
drawers). React Native getssolid(nosticky). Stories Solid and Sticky.
Patch Changes
- Updated dependencies [1ee83b2]
- @wirecore/wirelayer-recipes@0.15.0
@wirecore/wirelayer-css@0.15.0
Minor Changes
- 1ee83b2: Banner for permanent, page-wide notices ("TEST SYSTEM", maintenance):
solidfills it opaquely in the colour of the
variant with the matching text colour (info →bg-info text-on-info, …, neutral →bg-fg text-bg);position="sticky"
keeps it in the flow and at the top edge while the page scrolls (opaque also withoutsolid, below dialogs and
drawers). React Native getssolid(nosticky). Stories Solid and Sticky.
@wirecore/wirelayer-blocks-vue@0.2.16
@wirecore/wirelayer-blocks-react@0.2.16
@wirecore/wirelayer-vue@0.15.1
Patch Changes
- 8fe49e8: DatePicker, DateRangePicker and TimePicker: the parts announce their changes in the app's language again with Ark UI
5.40 (@zag-js/live-region1.47), e.g. "Jahr, 1990" instead of "Year, 1990". Its live region has no id
__live-region__anymore and is created once when the field mounts;translateDateAnnouncementsnow finds the regions
bydata-live-announcerand works with both versions. - Updated dependencies [8fe49e8]
- @wirecore/wirelayer-recipes@0.14.1
@wirecore/wirelayer-vue@0.15.0
Minor Changes
-
8e91c91: New
choose()next toconfirm(): it asks the same way in the app-wideConfirmDialogbut tells the buttons from
closing – it resolves with'confirm','cancel'(the cancel button) or'dismiss'(Escape, the close button, the
back button on Android, a newer request). For dialogs whose second button is an action of its own ("No, assign by
hand", "Discard"), where closing should do nothing.confirm()andprompt()stay as they are; new type
ConfirmChoice. Story Choose in every Storybook; the PrimeVue migration guide names it under Pitfalls. -
092ac0e: Countdown:
format="clock"shows the time as a clock – "05:12:33" instead of "05 Hrs 12 Min 33 Sec". The units stay
for screen readers (sr-only; on iOS and Android the timer reads its value text as before), the colons are hidden from
them. Withvariant="boxed"one box surrounds the whole clock. New recipe variantformatand slotseparator; story
Clock in every Storybook. -
9b8629d: DataTable: settings for the built-in cell editors, like
filterInputPropsfor the filters.- New column option
editInputProps(typeDataTableEditInputOptions):numbereditors takemin,max,step,
allowDecimal(false: whole numbers only) andformatOptions(e.g. a currency, with the numberInput feature);
selecteditorsfilter(a search in the list) andclearable(a cleared choice isnull);multiSelecteditors
filter,clearable,maxShownandselectAll;placeholderfor all. commit: 'confirm'ineditInputPropsof aselecteditor: in the cell mode the choice only counts on Enter (on
the closed field), Tab or leaving the cell, not right when it is picked – for columns where a slip of the mouse costs.editablealso takes a function(row) => boolean: rows it answers false for get no editor at all (the cell shows
its value, Tab skips it, pasting reports it as read-only), instead of rejecting the value invalidate.
- New column option
-
693adb4: DataTable:
footerPosition="top"shows the totals row (aggregate,footer, own footer cells) right below the
headers instead of below the rows – withscrollHeightit stays in view with the sticky headers. The line separates it
from the rows below (recipe variantfooterTop). Story Totals on top. -
c10e906: DataTable: the column option
headerHintexplains a column – an (i) button next to the header shows the text
(Toggletip, outside the sort button), and screen readers get it as the description of the column header. The button is
no taller than the header text (recipe slotsheadHintandheadHintIcon), so the header row keeps its height. Story
Header hint. -
ce8a9ae: DataTable: sorting by several columns can be set once for the whole app. The
dataTablerecipe gets a variant
multiSortwithout classes of its own –{ dataTable: { defaultVariants: { multiSort: true } } }in the
RecipesProvider/ConfigProvider lets Shift+click (and the column menu) sort every table by further columns, as
sortMode="multiple"did on a single table;sortModeon a table still wins. As in the multiple mode,sorting
(v-model:sorting,onSortingChange) is then an array. -
83aa41e: Dialog and Drawer: whether a click outside closes them can be set once for the whole app. The
dialoganddrawer
recipes get a variantcloseOnInteractOutsidewithout classes of its own –{ dialog: { defaultVariants: { closeOnInteractOutside: false } }, drawer: { defaultVariants: { closeOnInteractOutside: false } } }in the
RecipesProvider/ConfigProvider keeps every modal dialog and drawer open on a click outside (no lost input in form
dialogs); the prop on a singleDialogorDrawerstill wins.openDialog()follows the default of thedialogrecipe; its optioncloseOnInteractOutsidewins over it.confirm()andprompt()are alertdialogs and never close on a click outside – unchanged.- Docs: Customizing lists the new default, the PrimeVue migration guide names it under Pitfalls. React Native has no
RecipesProvider, the prop stays on the single dialog there.
-
1c190d0: TagsInput: every suggestion without typing.
openOnFocusopens the suggestions when the field gets the focus or is
clicked;triggeradds a button with an arrow at the end of the field that opens and closes them ("Show suggestions",
not a tab stop – Arrow down does the same, the focus stays in the field). New recipe slotstriggerand
triggerIcon; story All suggestions.
Patch Changes
-
ea451bb: DataTable filters:
filterInputPropstakesselectAll(multiSelect filters: an entry that selects all choices, as on
MultiSelect) andformatOptions(number filters with the numberInput feature, e.g.
{ style: 'currency', currency: 'EUR' }). The list of a multiSelect filter in the filter row no longer starts with an
"All" choice – the empty field already shows "All", and "Select all" would have chosen it as well. -
3b3d56d: DataTable:
searchPlaceholdersets the text of the empty search field and its name for screen readers ("Find a club"
instead of "Search …" and "Search ");searchInputAttrspasses more attributes to the search input, e.g.
{ 'data-tour': 'search' }as the target of a Tour step. -
cc2c66c: DatePicker, DateRangePicker, MonthPicker and YearPicker: a date with a part emptied is no longer kept. Ark's segmented
field only reports a change when every part is filled or every part is empty – deleting the year of "12.05.1990" left
the old date in the model, a form saved it although the field showed "12.05.JJJJ". Now the field reports the dates
before the incomplete one (nullfor a single date, only the start for a range) right after the key or when it is left,
so a required field fails; the typed parts stay. Completing the date reports it again, also when it is the same as
before.- The parts of the date and time fields (also TimePicker, TimeRangePicker and the times below the calendar) announce
their changes in the language of the app instead of Ark's English ("Jahr, Leer" instead of "Year, Empty"): the part
names fromdateSegments, the new textdateInput.emptyin every bundled language. - New helpers in the recipes:
partialDateIndex(root)andtranslateDateAnnouncements(element, texts).
- The parts of the date and time fields (also TimePicker, TimeRangePicker and the times below the calendar) announce
-
a348907: Sortable: a drag with the mouse no longer gets stuck. The handle listened for the pointer itself; once the dragged item
moved in the DOM (to another place, above all into another list) the browser ended the pointer capture, the release
landed elsewhere and the item stayed picked up (data-grabbed). The controller now follows the press on the document
until it ends.- Near the edge of a scrolling area (or the window) a drag scrolls it – the innermost area that can still scroll that
way, then the ones around it. - A copy of the item follows the pointer while it is dragged (recipe slot
preview,aria-hiddenand inert), also on
the way out of a source list (clone), where nothing showed until the pointer was over a target. - New story Scrolling; browser tests for drags across several places, into another list and near the edge.
- Near the edge of a scrolling area (or the window) a drag scrolls it – the innermost area that can still scroll that
-
Updated dependencies [092ac0e]
-
Updated dependencies [693adb4]
-
Updated dependencies [c10e906]
-
Updated dependencies [ce8a9ae]
-
Updated dependencies [cc2c66c]
-
Updated dependencies [83aa41e]
-
Updated dependencies [3d79a05]
-
Updated dependencies [a348907]
-
Updated dependencies [1c190d0]
- @wirecore/wirelayer-recipes@0.14.0
@wirecore/wirelayer-recipes@0.14.1
Patch Changes
- 8fe49e8: DatePicker, DateRangePicker and TimePicker: the parts announce their changes in the app's language again with Ark UI
5.40 (@zag-js/live-region1.47), e.g. "Jahr, 1990" instead of "Year, 1990". Its live region has no id
__live-region__anymore and is created once when the field mounts;translateDateAnnouncementsnow finds the regions
bydata-live-announcerand works with both versions.