Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

13.1.0-rc.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@lookacat lookacat released this 20 Apr 10:37

Changelog 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.

    #2053
    #2055

  • Bugfix - OcTextInput: Fix event handlers in loops: #2054

    We pass all event handlers specified on OcTextInput to the underlying input element
    except for input, change and focus event handlers. We fixed an issue in this exclusion
    code that made change, input and focus handlers be re-registered on rerenders,
    particularly in loop rerenders, so they were called multiple times for a single event.

    #2054

  • Enhancement - Add OcContextualHelper: #6590

    We've added a contextual helper component to provide more information based on the context

    owncloud/web#6590
    #2064

  • 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.

    owncloud/web#6729
    #2061

  • Enhancement - Export package members: #2048

    Add exports for composables, utils, components, directives, helpers and
    mixins. Start using them via import { composables, utils, ... } from 'owncloud-design-system'.

    #2048

  • Enhancement - OcModal input type: #2077

    We've added an option to set the input type for input fields in the OcModal component.

    #2077

  • Enhancement - Make OcResource inline-flex: #2041

    We've changed OcResource's display CSS attribute to inline-flex to prevent a line break

    #2041

  • Enhancement - Add isFileExtensionDisplayed property: #2087

    We've added the isFileExtensionDisplayed property to the OcResource and
    OcResourceName components, to determine whether the file extension should be displayed or
    not.

    owncloud/web#6730
    #2087

  • Enhancement - Redesign OcGhostElement: #2049

    We've redesigned OcGhostElement to use OcResourceIcon and to display a better preview of the
    items that have been dragged

    #2049

  • 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.

    #2059