13.1.0-rc.5
Pre-releaseChangelog for [13.1.0] (2022-04-14)
Summary
- Bugfix - Disabled textarea color contrast in darkmode: #2055
- Bugfix - OcTextInput: Fix event handlers in loops: #2054
- Enhancement - Add OcContextualHelper: #6590
- Enhancement - Add selection range for OcModal and OcTextInput: #6729
- Enhancement - Export package members: #2048
- Enhancement - OcModal input type: #2077
- Enhancement - Make OcResource inline-flex: #2041
- Enhancement - Add
isFileExtensionDisplayed
property: #2087 - Enhancement - Redesign OcGhostElement: #2049
- Enhancement - Replace deprecated String.prototype.substr(): #2059
Details
-
Bugfix - Disabled textarea color contrast in darkmode: #2055
We fixed an issue that made text on disabled textarea fields unreadable since it was the same
color as the background. -
Bugfix - OcTextInput: Fix event handlers in loops: #2054
We pass all event handlers specified on
OcTextInput
to the underlyinginput
element
except forinput
,change
andfocus
event handlers. We fixed an issue in this exclusion
code that madechange
,input
andfocus
handlers be re-registered on rerenders,
particularly in loop rerenders, so they were called multiple times for a single event. -
Enhancement - Add OcContextualHelper: #6590
We've added a contextual helper component to provide more information based on the context
-
Enhancement - Add selection range for OcModal and OcTextInput: #6729
We've added the possibility to set a selection range for the initial focus selection in OcModal
and OcTextinput. -
Enhancement - Export package members: #2048
Add exports for
composables
,utils
,components
,directives
,helpers
and
mixins
. Start using them viaimport { composables, utils, ... } from 'owncloud-design-system'
. -
Enhancement - OcModal input type: #2077
We've added an option to set the input type for input fields in the OcModal component.
-
Enhancement - Make OcResource inline-flex: #2041
We've changed OcResource's display CSS attribute to inline-flex to prevent a line break
-
Enhancement - Add
isFileExtensionDisplayed
property: #2087We've added the
isFileExtensionDisplayed
property to theOcResource
and
OcResourceName
components, to determine whether the file extension should be displayed or
not. -
Enhancement - Redesign OcGhostElement: #2049
We've redesigned OcGhostElement to use OcResourceIcon and to display a better preview of the
items that have been dragged -
Enhancement - Replace deprecated String.prototype.substr(): #2059
We've replaced all occurrences of the deprecated String.prototype.substr() function with
String.prototype.slice() which works similarly but isn't deprecated.