Repository navigation
chore: version packages - #31
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@wirecore/wirelayer-css@0.9.0
Minor Changes
849eac6: Display parts for dense desktop UIs, all opt-in:
Progress status="neutral": a grey fill, e.g. for a cancelled transfer (also React Native)Avatar initials: own initials instead of the ones fromname("MS" for "my-server"; also React Native)Card size="sm": smaller radius, padding and title, for lists of cards inside a dialog (wc-card-smin HTML);ConfigProvider sizeleaves cards aloneCodein the main package: code in a sentence with the look ofInlineCode, without syntax colours and without theoptional
shikirounded-cardandrounded-panelnow count as radii for tailwind-merge (likerounded-popup): another radius inclass/classesreplaces them instead of both classes ending up on the element.@wirecore/wirelayer-native@0.6.0
Minor Changes
849eac6: Display parts for dense desktop UIs, all opt-in:
Progress status="neutral": a grey fill, e.g. for a cancelled transfer (also React Native)Avatar initials: own initials instead of the ones fromname("MS" for "my-server"; also React Native)Card size="sm": smaller radius, padding and title, for lists of cards inside a dialog (wc-card-smin HTML);ConfigProvider sizeleaves cards aloneCodein the main package: code in a sentence with the look ofInlineCode, without syntax colours and without theoptional
shikirounded-cardandrounded-panelnow count as radii for tailwind-merge (likerounded-popup): another radius inclass/classesreplaces them instead of both classes ending up on the element.849eac6: Choices that cannot be empty give their value type without the empty value – no
$event && …guard for a model thatis never empty. Only the types change, unless noted:
RadioGroupandSegmentedControlwithrequired: v-model /onValueChangegetV, notV | null. A form resetback to an empty start (the only way Ark empties the group) is no longer passed on for a required group.
SegmentedControltakesrequirednow (aria-requiredon the group); React Native'sRadioGroupis typed the sameNativeSelectwithoutplaceholder:V, notV | ''(only the placeholder option gives'')Patch Changes
@wirecore/wirelayer-react@0.9.0
Minor Changes
849eac6: Display parts for dense desktop UIs, all opt-in:
Progress status="neutral": a grey fill, e.g. for a cancelled transfer (also React Native)Avatar initials: own initials instead of the ones fromname("MS" for "my-server"; also React Native)Card size="sm": smaller radius, padding and title, for lists of cards inside a dialog (wc-card-smin HTML);ConfigProvider sizeleaves cards aloneCodein the main package: code in a sentence with the look ofInlineCode, without syntax colours and without theoptional
shikirounded-cardandrounded-panelnow count as radii for tailwind-merge (likerounded-popup): another radius inclass/classesreplaces them instead of both classes ending up on the element.849eac6:
ContextMenu'sbefore-open/onBeforeOpengets a second argument{ source: 'pointer' | 'keyboard', focused }:opened with Shift+F10 or the menu key,
focusedis the element with the focus – a list can tell a row from its emptyspace even when the browser fires the event on the whole area. The first argument stays as it was.
createContextMenuSource()in the recipes tells the two apart.849eac6: Focus for dialogs and wizards whose content changes:
data-autoselecton a field in aDialog: it gets the focus when the dialog opens, with its text selected (e.g. aprefilled name). Without it Ark's choice stays (an alertdialog's close button,
data-autofocus, the first element)focusFirst(container)(also from the component packages) focuses like opening does –data-autoselect,data-autofocus/autofocus, otherwise the first field; Vue'sDialogContentexposes it asfocusFirst()Wizard focusOnStepChangemoves the focus into each new step the same way (not after a failed check: the invalidfield keeps it)
autoselectElement(content)in the recipes for a dialog's own initial focus849eac6: Choices that cannot be empty give their value type without the empty value – no
$event && …guard for a model thatis never empty. Only the types change, unless noted:
RadioGroupandSegmentedControlwithrequired: v-model /onValueChangegetV, notV | null. A form resetback to an empty start (the only way Ark empties the group) is no longer passed on for a required group.
SegmentedControltakesrequirednow (aria-requiredon the group); React Native'sRadioGroupis typed the sameNativeSelectwithoutplaceholder:V, notV | ''(only the placeholder option gives'')849eac6:
NumberInputwithemptyFallback, for fields that always need a number (e.g. a port): an emptied field keeps its valuewhile it is empty and falls back to
min(or 0) or to the last valid number (previous) when it is left or Enter ispressed. v-model /
onValueChangeis then typednumber. Without it an emptied field still reports null.Note for type code around the components:
NumberInput(Vue) is generic now, soInstanceType<typeof NumberInput>andStorybook's
Meta<typeof NumberInput>need a cast (as for Select).849eac6: Token colours as fixed values for canvas libraries (xterm.js, charts) that cannot read CSS variables:
resolveTokens(element?)gives the colours that apply right now (mode, theme and own overrides) as hex –#rrggbbaaforthe translucent ones – and
watchTokens(onChange)reports a change of mode, theme or system colour scheme. Thecomposable/hook
useResolvedTokens()keeps them up to date.849eac6:
SelectwithemptyValue, e.g.""for a model that uses an empty string for "nothing chosen": the value counts asnull – the placeholder shows, no development warning about an unknown value – and clearing gives it back instead of null
(typed
V | E). Without it""is still an unknown value shown as text.849eac6:
Tabsfor panels that live elsewhere (editor or terminal tabs, panes shown withv-show):TabsTrigger controls="pane-id"pointsaria-controlsat that element;nullremoves it (tabs without panels)Tabstakesnullas its value: no tab selected. The first enabled tab then stays reachable with Tab (Ark takesevery tab out of the Tab order without a selection); Tabs without a value stay as they were
849eac6: Own texts in
Wizard(andStepper):finishLabelnames the last button (default "Finish"), and a step'svalidatemay return a text (also async) – it keeps the step open and is shown as its error instead of "Please check the entries
in this step".
Patch Changes
z-index: var(--z-index)(in the base layer). Ark sets the z-index inline, but Vue removed it again whenever the popuprendered anew – the list then lay behind the dialog, looked closed and the pointer hit the dialog.
@wirecore/wirelayer-recipes@0.8.0
Minor Changes
849eac6: Display parts for dense desktop UIs, all opt-in:
Progress status="neutral": a grey fill, e.g. for a cancelled transfer (also React Native)Avatar initials: own initials instead of the ones fromname("MS" for "my-server"; also React Native)Card size="sm": smaller radius, padding and title, for lists of cards inside a dialog (wc-card-smin HTML);ConfigProvider sizeleaves cards aloneCodein the main package: code in a sentence with the look ofInlineCode, without syntax colours and without theoptional
shikirounded-cardandrounded-panelnow count as radii for tailwind-merge (likerounded-popup): another radius inclass/classesreplaces them instead of both classes ending up on the element.849eac6:
ContextMenu'sbefore-open/onBeforeOpengets a second argument{ source: 'pointer' | 'keyboard', focused }:opened with Shift+F10 or the menu key,
focusedis the element with the focus – a list can tell a row from its emptyspace even when the browser fires the event on the whole area. The first argument stays as it was.
createContextMenuSource()in the recipes tells the two apart.849eac6: Focus for dialogs and wizards whose content changes:
data-autoselecton a field in aDialog: it gets the focus when the dialog opens, with its text selected (e.g. aprefilled name). Without it Ark's choice stays (an alertdialog's close button,
data-autofocus, the first element)focusFirst(container)(also from the component packages) focuses like opening does –data-autoselect,data-autofocus/autofocus, otherwise the first field; Vue'sDialogContentexposes it asfocusFirst()Wizard focusOnStepChangemoves the focus into each new step the same way (not after a failed check: the invalidfield keeps it)
autoselectElement(content)in the recipes for a dialog's own initial focusPatch Changes
vite devruns gets its classes right away. The plugin addedits sources file to the CSS, but Tailwind's Vite plugin only builds a CSS file again when a file it imports changes on
disk – the classes were missing until a restart (cards without padding, tiny avatars). In the dev server the imports now
live in a file in Vite's cache folder; the build is unchanged.
@wirecore/wirelayer-tokens@0.5.0
Minor Changes
resolveTokens(element?)gives the colours that apply right now (mode, theme and own overrides) as hex –#rrggbbaaforthe translucent ones – and
watchTokens(onChange)reports a change of mode, theme or system colour scheme. Thecomposable/hook
useResolvedTokens()keeps them up to date.Patch Changes
z-index: var(--z-index)(in the base layer). Ark sets the z-index inline, but Vue removed it again whenever the popuprendered anew – the list then lay behind the dialog, looked closed and the pointer hit the dialog.
@wirecore/wirelayer-vue@0.9.0
Minor Changes
849eac6: Display parts for dense desktop UIs, all opt-in:
Progress status="neutral": a grey fill, e.g. for a cancelled transfer (also React Native)Avatar initials: own initials instead of the ones fromname("MS" for "my-server"; also React Native)Card size="sm": smaller radius, padding and title, for lists of cards inside a dialog (wc-card-smin HTML);ConfigProvider sizeleaves cards aloneCodein the main package: code in a sentence with the look ofInlineCode, without syntax colours and without theoptional
shikirounded-cardandrounded-panelnow count as radii for tailwind-merge (likerounded-popup): another radius inclass/classesreplaces them instead of both classes ending up on the element.849eac6:
ContextMenu'sbefore-open/onBeforeOpengets a second argument{ source: 'pointer' | 'keyboard', focused }:opened with Shift+F10 or the menu key,
focusedis the element with the focus – a list can tell a row from its emptyspace even when the browser fires the event on the whole area. The first argument stays as it was.
createContextMenuSource()in the recipes tells the two apart.849eac6: Focus for dialogs and wizards whose content changes:
data-autoselecton a field in aDialog: it gets the focus when the dialog opens, with its text selected (e.g. aprefilled name). Without it Ark's choice stays (an alertdialog's close button,
data-autofocus, the first element)focusFirst(container)(also from the component packages) focuses like opening does –data-autoselect,data-autofocus/autofocus, otherwise the first field; Vue'sDialogContentexposes it asfocusFirst()Wizard focusOnStepChangemoves the focus into each new step the same way (not after a failed check: the invalidfield keeps it)
autoselectElement(content)in the recipes for a dialog's own initial focus849eac6: Choices that cannot be empty give their value type without the empty value – no
$event && …guard for a model thatis never empty. Only the types change, unless noted:
RadioGroupandSegmentedControlwithrequired: v-model /onValueChangegetV, notV | null. A form resetback to an empty start (the only way Ark empties the group) is no longer passed on for a required group.
SegmentedControltakesrequirednow (aria-requiredon the group); React Native'sRadioGroupis typed the sameNativeSelectwithoutplaceholder:V, notV | ''(only the placeholder option gives'')849eac6:
NumberInputwithemptyFallback, for fields that always need a number (e.g. a port): an emptied field keeps its valuewhile it is empty and falls back to
min(or 0) or to the last valid number (previous) when it is left or Enter ispressed. v-model /
onValueChangeis then typednumber. Without it an emptied field still reports null.Note for type code around the components:
NumberInput(Vue) is generic now, soInstanceType<typeof NumberInput>andStorybook's
Meta<typeof NumberInput>need a cast (as for Select).849eac6: Token colours as fixed values for canvas libraries (xterm.js, charts) that cannot read CSS variables:
resolveTokens(element?)gives the colours that apply right now (mode, theme and own overrides) as hex –#rrggbbaaforthe translucent ones – and
watchTokens(onChange)reports a change of mode, theme or system colour scheme. Thecomposable/hook
useResolvedTokens()keeps them up to date.849eac6:
SelectwithemptyValue, e.g.""for a model that uses an empty string for "nothing chosen": the value counts asnull – the placeholder shows, no development warning about an unknown value – and clearing gives it back instead of null
(typed
V | E). Without it""is still an unknown value shown as text.849eac6:
Tabsfor panels that live elsewhere (editor or terminal tabs, panes shown withv-show):TabsTrigger controls="pane-id"pointsaria-controlsat that element;nullremoves it (tabs without panels)Tabstakesnullas its value: no tab selected. The first enabled tab then stays reachable with Tab (Ark takesevery tab out of the Tab order without a selection); Tabs without a value stay as they were
849eac6: Own texts in
Wizard(andStepper):finishLabelnames the last button (default "Finish"), and a step'svalidatemay return a text (also async) – it keeps the step open and is shown as its error instead of "Please check the entries
in this step".
Patch Changes
z-index: var(--z-index)(in the base layer). Ark sets the z-index inline, but Vue removed it again whenever the popuprendered anew – the list then lay behind the dialog, looked closed and the pointer hit the dialog.
@wirecore/wirelayer-blocks-react@0.2.7
Patch Changes
@wirecore/wirelayer-blocks-vue@0.2.7
Patch Changes