Releases: nextcloud-libraries/nextcloud-vue
Releases · nextcloud-libraries/nextcloud-vue
v8.20.0
v8.20.0 (2024-10-29)
📝 Notes
Now you can use v-model
directive, :model-value
prop, and @update:model-value
(@update:modelValue
) event in all data input components to have compatibility with v9 in the future.
<!-- Only v8 (Vue 2) -->
<NcTextField :value.sync="username" />
<!-- Compatible with both v8 (Vue 2) and v9 (Vue 3) -->
<NcTextField v-model="username" />
<!-- same as -->
<NcTextField :model-value="username" @update:model-value="username = $event" />
If you already use v-model
with a custom writable computed on :value.sync
components before, it might not work as expected anymore. Make sure to remove or adjust it before update.
See the full list in v9 breaking changes.
🚀 Enhancements
- feat: add
v-model
support for input-like components #5418 (kyteinsky) - feat: forward compatibility with v9 on
v-model
props/events #6172 (ShGKme) - feat(NcRichText): add styles to mount point for custom picker and custom widget elements #6108 (julien-nc)
- feat(NcRichText): make interactive widgets opt-in #6151 (Antreesy)
- feat: add
isDarkTheme
functions and composables #5698 (ShGKme) - feat: add
spawnDialog
function #6195 (susnux)
🐛 Fixed bugs
- fix(NcReferencePicker): allow closing modal dialog #6137 (JuliaKirschenheuter)
- fix(NcActions): RTL support #6148 (hamza221)
- fix(NcAppNavigation): RTL support #6144 (hamza221)
- fix(NcSelect): RTL support #6150 (hamza221)
- fix(NcAppDetailsToggle): RTL support #6145 (hamza221)
- fix(NcModal): RTL support #6171 (hamza221)
- fix(NcAppSidebar): RTL support #6187 (hamza221)
- fix(NcDateTimePicker): adjust component styling close to native appearance #6095 (GretaD)
- fix(NcTimeZonePicker): scope css styles #6184 (Antreesy)
- fix(NcAppSidebarTabs): force color-main-text for icons #6189 (Antreesy)
- fix(NcAppNavigationItem): use $scopedSlots instead of $slots #6161 (st3iny)
Changed
- Updated workflows and dependencies
- Updated translations
v8.19.0
v8.19.0 (2024-09-16)
🚀 Enhancements
- feat(NcModal): make dark header configurable #6083 (mejo-)
- feat(NcActions): Emit
closed
event only when the actions are fully closed #6065 (susnux)
🐛 Fixed bugs
- fix(NcAppNavigationItem): align utils with actions and other components #6054 (GVodyanov)
- fix(NcAvatar): add a fallback for missing CSS variable #6090 (Antreesy)
- fix(NcColorPicker): style advanced fields as NcInputField #6097 (Antreesy)
Changed
- Updated workflows and dependencies
v8.18.0
v8.18.0 (2024-09-12)
🚀 Enhancements
- feat(NcDialogButton): Allow to return
false
from callback to keep dialog open #6005 (susnux) - feat(NcHeaderButton): Add a button-only alternative for the header menu #6048 (susnux)
🐛 Fixed bugs
- fix(NcActions): Pressing
Escape
should always close the actions #6037 (susnux) - fix(NcListItem): make the max width in
oneline
mode apply only to the content name #6039 (GVodyanov) - fix(NcHeaderMenu): Ensure trigger button has the same width as a wrapper #6047 (susnux)
- fix(NcCheckboxRadioSwitch): switch may have incorrect checked-like background #6055 (Antreesy)
- fix(NcEmojiPicker): adjust hover effects to the new design #6056 (Antreesy)
Changed
- Updated workflows and dependencies
- Updated translations
v8.17.1
v8.17.1 (2024-08-30)
🐛 Fixed bugs
- fix(NcAppNavigation): keep border only on mobile #6008 (ShGKme)
- fix(NcRichText): discard reference widgets on text update #6011 (Antreesy)
- fix(NcCheckBoxRadioSwitch): do not toggle on a click on a link inside #6013 (DorraJaouad)
- fix: Adjust time intervals for relative time #6017 (susnux)
- fix(NcHeaderMenu): Remove padding from popover menu #6026 (susnux)
- fix(useHotKey): respect press of MacOS Cmd key as Ctrl key #6021 (Antreesy)
v8.17.0
v8.17.0 (2024-08-21)
🚀 Enhancements
- feat(NcButton): Allow to specify
target
attribute for buttons with href #5938 (mejo-) - feat(NcDialog): Allow to make the dialog a form #5932 (susnux)
- feat(NcListItem): allow to control the display of a three dot menu #5980 (DorraJaouad)
- feat(NcCounterBubble): add count prop for humanized count display #5863 (ShGKme)
- feat(useHotKey): add composable for keyboard shortcuts #5899 (Antreesy)
🐛 Fixed bugs
- fix(NcActions): Role
menu
needs a label assigned so label by trigger #5933 (susnux) - fix(NcListItem): Adjust icon color when the list item is active #5936 (susnux)
- fix(NcCounterBubble): make it perfectly aligned circle #5948 (ShGKme)
- fix(NcAvatar): extend variable size of status icons #5959 (Antreesy)
- fix(NcActions): NcActionCheckbox and NcActionRadio icon alignment #5958 (GretaD)
- fix(NcCheckboxRadioSwitch): adjust to new border radius #5974 (ShGKme)
- fix: use
--header-height
instead of50px
constant #5973 (ShGKme) - fix(NcAppSettingsDialog): Adjust navigation entries to match Nextcloud 30 design #5963 (susnux)
- fix(NcAppNavigationCaption): make name ellipsize #5982 (GVodyanov)
- fix(NcAppNavigation): add border-right #5953 (marcoambrosini)
- fix(NcRichText): modify MENTION_START regex to work on older MobileSafari versions #5976 (arthurlockman)
- fix(NcCounterBubble): increase size #5985 (ShGKme)
- fix(NcRichContenteditable): adjust to new design #5992 (ShGKme)
Changed
v8.16.0
v8.16.0 (2024-08-05)
🚀 Enhancements
- feat(NcNoteCard): Add
text
prop to pass the content of the note card #5894 (susnux) - feat(NcPasswordField): Add
as-text
prop to remove autocomplete #5896 (ShGKme) - feat(NcListItem): Provide additional slots for NcActions / extra actions customization #5870 (Antreesy)
- feat(NcUserBubble): Add RouterLink support #5708 #5917 (Antreesy)
🐛 Fixed bugs
- fix(NcSelect): Ensure that component height is the same as input element #5883 (susnux)
- fix(style): Adjust elements styles to unit-less line-height #5889 (ShGKme)
- fix(NcSettingsSection): Remove default h2 margin-top #5897 (ShGKme)
- fix(NcCounterButton): Adjust min-width to make it a right circle #5905 (ShGKme)
- fix(NcDashboardWidgetItem): Fix alignment of dashboard list items #5914 (juliushaertl)
- fix(NcNoteCard): Adjust padding and margin #5893 (susnux)
- fix(NcAvatar): Make button element round as the avatar #5898 #5916 (Antreesy))
Changed
- Updated translations
v8.15.1
v8.15.1 (2024-07-29)
🐛 Fixed bugs
- fix(NcListItem): Make paddings smaller again on Nextcloud 30 #5879 (susnux)
- fix(NcChip): Ensure chips without icon do not reserve empty space for icon #5859 (susnux)
- fix: alignment of listitem name for one line layout #5853 (GretaD)
- NcActionCheckbox: align with NcActionText #5839 (GVodyanov)
- NcSelect: make same height and color as NcTextField #5829 (GVodyanov)
- fix(NcSelect): increase avatar size to show subname #5865 (luka-nextcloud)
- NcListItem: remove max width #5830 (GVodyanov)
Changed
v8.15.0
v8.15.0 (2024-07-22)
🚀 Enhancements
- feat(NcAppNavigation): Provide consistent in-app search #5831 (susnux)
- feat(NcRichText): Call public reference API when unauthenticated #5800 (mejo-)
🐛 Fixed bugs
- fix(NcAppNavigationItem): Fix popper boundary element #5632 (ChristophWurst)
- Use correct date in header #5793 (AndyScherzinger)
- fix(NcAppNavigationSettings): border radius of toggle button #5765 (st3iny)
- fix(NcAppNavigationCaption): properly align with NcAppNavigationItem #5804 (GVodyanov)
- fix(NcActions): Use full window height #5806 (susnux\ #5842 (Antreesy)
- style(NcAppNavigationCaption): remove margin-bottom #5815 (GVodyanov)
- docs: Fix
NcAppNavigationCaption
examples #5820 (susnux) - fix(NcInputField): Make helper text aligned and maxcontrast color #5822 (susnux)
- fix(NcInputField): Make focus visible on trailing button look better #5823 (susnux)
- fix(NcInputField): Make sure label and placeholder is not jumping #5821 (susnux)
- fix(NcListItem): Anchor height was set not to content but random area #5780 (susnux)
- fix(NcListItem): do not render counter on falsy values #5834 (Antreesy)
- NcAppSettingsSection: make titles normal h3 size #5819 (GVodyanov)
- fix(NcAppSidebar): manage focus only after transition has finished #5833 (ShGKme)
- fix(NcColorPicker): Make the color circle size depend on clickable area #5816 (ChristophWurst)
- fix(NcAppContent): splitpane splitter styles with dark theme #5843 (mejo-)
- fix(NcModal): temporary deactivate focus-traps on modal open #5783 (Antreesy)
- fix(NcAppNavigationSearch): Fix focus button when clearing search #5850 (susnux)
Other Changes
- Updated translations
- Migrate REUSE to TOML #5791 (AndyScherzinger)
- Add reuse status badge #5794 (AndyScherzinger)
- chore(docs): remove SPDX header from component docs #5810 (ShGKme)
- fix(NcAppNavigationSettings): use tertiary styling for the toggle button #5814 (st3iny)
New Contributors
- @GVodyanov made their first contribution in #5819
v9.0.0-alpha.5
What's Changed
🚀 Enhancements
- [next] feat(NcAppSidebar): force show navigation for a single tab by @backportbot in #5751
- [next] feat: migrate
NcCollectionList
component fromnextcloud-vue-collections
by @backportbot in #5770 - [next] feat(NcButton): Add
size
prop to allow setting the button size tosmall
,normal
,large
by @backportbot in #5769 - [next] fix(NcDialog): Ensure the dialog is correctly labelled by its name by @backportbot in #5778
🐛 Fixed bugs
- [next] fix(NcMentionBubble): hide selectable mention id from widescreens by @backportbot in #5758
- [next] style(NcHeaderMenu): pass text-on-background color for header menu by @backportbot in #5760
- [next] Fix input field label alignment by @backportbot in #5768
- [next] fix(NcCheckboxRadioSwitch): Pass attrs to
input
if available by @backportbot in #5508 - [next] fix(NcAppNavigationSettings): border radius of toggle button by @backportbot in #5799
- [next] fix(NcAppNavigationCaption): Only pass needed props to NcActions by @susnux in #5568
Other Changes
- [next] fix(NcRichContentEditable): remove overlapping placeholder with tribute trigger by @backportbot in #5750
- [next] chore(NcUserStatusIcon): remove warn if status is not set by @ShGKme in #5744
- [next] fix(NcReferenceWidget): pass elements to intersection observer by @backportbot in #5759
- Migrate REUSE to TOML by @AndyScherzinger in #5792
- Prepare v9.0.0-alpha.5 release by @susnux in #5781
Full Changelog: v9.0.0-alpha.4...v9.0.0-alpha.5
v8.14.0
v8.14.0 (2024-07-04)
🚀 Enhancements
- feat(NcAppSidebar): force show navigation for a single tab #5740 (Antreesy)
- feat(NcButton): Add
size
prop to allow setting the button size tosmall
,normal
,large
#5767 (susnux) - feat: migrate
NcCollectionList
component fromnextcloud-vue-collections
#5757 (Antreesy) - fix(NcDialog): Ensure the dialog is correctly labelled by its name #5771 (susnux)
🐛 Fixed bugs
- fix: Migrate SCSS
$clickable-area
to CSS--default-clickable-area
#5694 (marcoambrosini) - fix(NcMentionBubble): hide selectable mention id from widescreens #5753 (Antreesy)
- style(NcHeaderMenu): pass text-on-background color for header menu #5747 (Antreesy)
- Fix input field label alignment #5766 (marcoambrosini)
- fix(NcRichContentEditable): remove overlapping placeholder with tribute trigger #5749 (DorraJaouad)
- fix(NcReferenceWidget): pass elements to intersection observer #5754 (DorraJaouad)
- fix(NcCheckboxRadioSwitch): only bind aria attributes to the input #5777 (skjnldsv)
Changed
- Updated translations