Changelog for unreleased (UNRELEASED)
The following sections list the changes in ownCloud Design System unreleased.
- 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
-
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
andmixins
. 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
andOcResourceName
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.
Changelog for 13.0.0 (2022-03-23)
The following sections list the changes in ownCloud Design System 13.0.0.
- Bugfix - Disabled OcSelect background: #2008
- Bugfix - Icons/Thumbnails were only visible for clickable resources: #2007
- Bugfix - OcSelect transparent background: #2036
- Change - Default type of OcButton: #2009
- Change - Remove OcStatusIndicators from OcResource: #2014
- Enhancement - Configurable OcResource parentfolder name: #2029
- Enhancement - Icons for drawio, ifc and odg resource types: #2005
- Enhancement - Polish OcSwitch: #2018
- Enhancement - Make filled primary OcButton use gradient background: #2036
- Enhancement - Redesign OcStatusIndicators: #2014
- Enhancement - Underline OcResourceName: #2019
- Enhancement - Apply size property to oc-tag: #2011
-
Bugfix - Disabled OcSelect background: #2008
We've fixed a bug that prevented the background of disabled OcSelect components from using theming colors.
-
Bugfix - Icons/Thumbnails were only visible for clickable resources: #2007
We fixed that only clickable resources had icons/thumbnails in
OcResource
. It was fixed by introducing anOcResourceLink
component that reduces code complexity and duplication when linking resources. -
Bugfix - OcSelect transparent background: #2036
We fixed a non-transparent background in the OcSelect button, leading to visual glitches.
-
Change - Default type of OcButton: #2009
We've changed the default type of buttons rendered by
OcButton
tobutton
. Browsers otherwise assume they are of typesubmit
which leads to very unexpected behavior in forms, especially as we useOcButton
in a lot of (not so obvious) places for a11y reasons. -
Change - Remove OcStatusIndicators from OcResource: #2014
We've removed OcStatusIndicators from OcResource since it will be moved in a separate column
-
Enhancement - Configurable OcResource parentfolder name: #2029
We've added a
parent-folder-name-default
property to the OcResource component. Before, an empty parent resulted in a hardcoded "All files and folders" which becomes misleading with the introduction of spaces in oCIS. -
Enhancement - Icons for drawio, ifc and odg resource types: #2005
We've added resource type extension mapping and icons for the drawio, ifc, ipynb and odg file extensions.
-
Enhancement - Polish OcSwitch: #2018
We've adjusted the OcSwitch to fit the redesign
-
Enhancement - Make filled primary OcButton use gradient background: #2036
We've updated the OcButton to use the gradient background color when used in its
filled
appearance. -
Enhancement - Redesign OcStatusIndicators: #2014
We've redesigned the share/status indicators to fit the new design in web.
-
Enhancement - Underline OcResourceName: #2019
We've added an underline on hover effect to OcResourceName
-
Enhancement - Apply size property to oc-tag: #2011
We've added a size property to oc-tag
Changelog for 12.2.2 (2022-03-03)
The following sections list the changes in ownCloud Design System 12.2.2.
-
Bugfix - Initial focus in OcModal: #2001
We've fixed a bug that was introduced in the last version, where the initial focus element provided via the focusTrapInitial property was broken.
-
Bugfix - Hidden overflow on OcModal: #2000
We've fixed a bug that prevented overflow within the OcModal to e.g. use dropdowns inside the modal body.
Changelog for 12.2.1 (2022-03-02)
The following sections list the changes in ownCloud Design System 12.2.1.
- Bugfix - OcTable Sort: #1996
- Bugfix - Icon & background color for mobile OcBreadcrumb: #1980
- Bugfix - Initial focus in OcModal: #1995
-
Bugfix - OcTable Sort: #1996
We've fixed a visual bug that caused the field sort arrow to be always visible.
-
Bugfix - Icon & background color for mobile OcBreadcrumb: #1980
The icon in the mobile OcBreadcrumb drop was missing, also the background color made reading the content impossible. This has been adressed.
-
Bugfix - Initial focus in OcModal: #1995
We've fixed a bug that was introduced in the last version, where the initial focus of modals with text fields was broken.
Changelog for 12.2.0 (2022-02-28)
The following sections list the changes in ownCloud Design System 12.2.0.
- Enhancement - Apply outstanding background color to oc-card: #1974
- Enhancement - Extend modal focus-trap functionality: #1987
- Enhancement - Redesign OcBreadcrumb: #6218
- Enhancement - Redesign files table related components: #1958
-
Enhancement - Apply outstanding background color to oc-card: #1974
We've adjusted he background color to oc-card to have an outstanding look
-
Enhancement - Extend modal focus-trap functionality: #1987
We've added the option to define which child element should be focused initially.
-
Enhancement - Redesign OcBreadcrumb: #6218
We've adjustet the look of the OcBreadcrumb to fit the Redesign
-
Enhancement - Redesign files table related components: #1958
We've adjusted OcTable, OcResource, OcDrop and OcCheckbox to fit the redesign.
Changelog for 12.1.0 (2022-02-10)
The following sections list the changes in ownCloud Design System 12.1.0.
-
Bugfix - Background-primary-gradient border: #6383
The
.oc-background-primary-gradient
class was setting the CSS border property instead of only the border-color, hereby removing any border-width the target tag might already carry. This lead to some very small differences when rendering buttons and has been resolved now. -
Enhancement - Redesign OcModal: #1953
We have redesigned the OcModal to suit better to dark mode UIs, to have a nicer background overlay, to always have a primary confirm button and fixed some icon bugs in its code examples.
Changelog for 12.0.0 (2022-02-07)
The following sections list the changes in ownCloud Design System 12.0.0.
- Bugfix - Missing OcDrop shadow: #1926
- Bugfix - OcNotification positioning: #1658
- Bugfix - Rename GhostElement: #1845
- Bugfix - OcTooltip isn't reactive: #1863
- Change - Drop Internet Explorer support: #1909
- Change - Do not sort in OcTable: #1825
- Change - Pass folderLink to OcResource component: #1913
- Change - Remove OcAppSideBar component: #1810
- Change - Remove OcAppBar component: #1810
- Change - Remove implicit ODS registration: #1848
- Change - Remove oc-table-files from ods: #1817
- Change - Remove OcGrid options: #1658
- Change - Move OcSidebarNav and OcSidebarNavItem to web: #6036
- Change - Remove UiKit: #1658
- Change - Remove unused props for unstyled components: #1795
- Change - Use remixicons for redesign: #1826
- Enhancement - Make Vue-Composition-API available: #1848
- Enhancement - Export mappings of types, icons and colors of resources: #1920
- Enhancement - Fix OcAvatar line-height: #1810
- Enhancement - Add option to render table cells lazy: #1848
- Enhancement - Make OcDrop rounded: #1881
- Enhancement - Change background color of OcDrop: #1919
- Enhancement - Improve OcList: #1881
- Enhancement - Show path / parent folder to distinguish files: #5953
- Enhancement - Redesign Filetype icons: #6278
- Enhancement - Adjust OcSearchBar to new design: #1810
- Enhancement - Sizes: #1858
- Enhancement - Add svg icon for spaces: #1846
- Enhancement - OcTable header alignment: #1922
- Enhancement - Use Roboto font: #1876
-
Bugfix - Missing OcDrop shadow: #1926
In certain situations, other DOM elements made the OcDrop shadow invisible. This has been resolved.
-
Bugfix - OcNotification positioning: #1658
We have taken care of the positioning in the OcNotification component, which didn't work as expected. Notifications can now be displayed on the left or right side or centered.
-
Bugfix - Rename GhostElement: #1845
We've renamed the GhostElement component to OcGhostElement to follow the atomic design principles.
-
Bugfix - OcTooltip isn't reactive: #1863
We've fixed an issue with the OcTooltip when the tooltip gets hidden by reactivity and then reactivated with some value.
-
Change - Drop Internet Explorer support: #1909
Since it's nearing its end-of-life, we've dropped polyfills for IE in favor of a smaller bundle size.
-
Change - Do not sort in OcTable: #1825
We removed sorting from OcTable and added a
sort
event instead, which can be used to sort the data externally. This is crucial for server side sorting and handling pagination correctly. -
Change - Pass folderLink to OcResource component: #1913
For more flexibility, the folderLink needs to be passed to the OcResource component
-
Change - Remove OcAppSideBar component: #1810
We have removed the OcAppSideBar component since it's not actively used anywhere.
-
Change - Remove OcAppBar component: #1810
We have removed the OcAppBar component since it's not actively used anywhere and broken.
-
Change - Remove implicit ODS registration: #1848
Remove implicit registration of ODS, from now on applications using ODS must register it explicit via
Vue.use
. -
Change - Remove oc-table-files from ods: #1817
Ods oc-table-files always contained concrete web-app-files logic, to make development more agile and keep things close oc-table-files was removed from ODS and relocated to live in web-app-files from now on.
-
Change - Remove OcGrid options: #1658
We have removed the
match
andchildWidth
option in the OcGrid component since they were unused and relied heavily on the removed UiKit library. -
Change - Move OcSidebarNav and OcSidebarNavItem to web: #6036
We've moved OcSidebarNav and OcSidebarNavItem to web and renamed it to SidebarNav and SidebarNavItem.
-
Change - Remove UiKit: #1658
We have removed the UiKit library this design system originally was built on. The necessary style rules for the design system itself and our web repository have been internalized, and everything else got dropped to greatly reduce bundle size and build times.
Please note that with this change, we have also dropped and/or refactored a lot of CSS classes and correlated styling.
-
Change - Remove unused props for unstyled components: #1795
We removed the
stopClassProgragation
property in two components, which resulted in unstyled components before but was unused. -
Change - Use remixicons for redesign: #1826
We've switched the iconset to remixicons to fit the new design.
-
Enhancement - Make Vue-Composition-API available: #1848
To support upcoming Vue composition-api we
ve added the compatibility layer from the creators. From now on all features described here
https://github.com/vuejs/composition-api` can be used. -
Enhancement - Export mappings of types, icons and colors of resources: #1920
The bundled design system now contains two json files that map file extensions to their dedicated resource icon and the corresponding color token.
-
Enhancement - Fix OcAvatar line-height: #1810
We've fixed an visual bug that caused the OcAvatar to be positioned 1px too high
-
Enhancement - Add option to render table cells lazy: #1848
In cases where an instance of
OcTable
has many child rows and cells, it can be a bottleneck to render all of them immediately. With this in mind we've added the lazy option to the table fields object where the consuming app can decide how lazy rendering should behave.By default lazy cell rendering is disabled, to enable it add a lazy object to the field.
Following options are available: *
delay: 250
- when the cell visibility on screen is below the given milliseconds value rendering gets skipped. *mode: show
- cell gets rendered and stays painted, no de-rendering happens. *mode: showHide
- cell gets rendered when it enters the screen and de-rendered when its off. *rootMargin: 100px
- given value will be added to the outer area of the element which then increases the visibility detection radius -
Enhancement - Make OcDrop rounded: #1881
We've added a border-radius for the OcDrop to make it rounded.
-
Enhancement - Change background color of OcDrop: #1919
The OcDrop component now has a different background color than the default color to improve the contrast.
-
Enhancement - Improve OcList: #1881
We've fixed some styling and added a 'raw' property in OcList to disable list styling.
-
Enhancement - Show path / parent folder to distinguish files: #5953
We've added an option to show the path / parent folder under the resource name in order to distinguish files better
-
Enhancement - Redesign Filetype icons: #6278
We've adjusted the resource icons to fit the redesign. We've added a new OcResourceIcon component that is themable.
-
Enhancement - Adjust OcSearchBar to new design: #1810
We've redesigned the OcSearchBar to fit the new design.
-
Enhancement - Sizes: #1858
The size variables which define margins and paddings have been changed to use multiples of 8 instead of 10.
-
Enhancement - Add svg icon for spaces: #1846
-
Enhancement - OcTable header alignment: #1922
We've applied the full row height to the table header and made it vertically centered to give a more fluffy experience for the eye.
-
Enhancement - Use Roboto font: #1876
We've switched the default font from Fira Sans to Roboto.
Changelog for 11.3.1 (2021-12-03)
The following sections list the changes in ownCloud Design System 11.3.1.
- Bugfix - Padding in breadcrumb context menu: #1813
-
Bugfix - Padding in breadcrumb context menu: #1813
We've removed the padding from the context menu in the breadcrumbs to align its visual appearance with the context menu in the files table.
Changelog for 11.3.0 (2021-12-03)
The following sections list the changes in ownCloud Design System 11.3.0.
- Bugfix - Set language for date formatting: #1806
- Enhancement - Relative date tooltips in the OcTableFiles component: #1787
- Enhancement - Breadcrumb contextmenu: #6030
- Enhancement - Optional padding size for OcDrop: #1798
- Enhancement - Truncate file names while preserving file extensions: #1758
-
Bugfix - Set language for date formatting: #1806
We're now setting the language when formatting dates, so that localized parts of the date/time get shown according to the respective language.
-
Enhancement - Relative date tooltips in the OcTableFiles component: #1787
Relative dates like "1 day ago" now have a tooltip that shows the absolute date. The following dates in the files table are affected:
- modify date * share date * delete date
-
Enhancement - Breadcrumb contextmenu: #6030
We've added a button to the last item of the OcBreadcrumb component that triggers a dropdown which can be customizably filled.
-
Enhancement - Optional padding size for OcDrop: #1798
We've added a
paddingSize
property to the OcDrop component for specifying a dedicated padding of the div that wraps the content slot. It defaults to "medium" and also allows to remove the padding entirely. -
Enhancement - Truncate file names while preserving file extensions: #1758
File names that exceed the horizontal space of a file list now get truncated while preserving their extensions. This way, the user can quickly identify the type of a file.
Changelog for 11.2.2 (2021-11-11)
The following sections list the changes in ownCloud Design System 11.2.2.
- Bugfix - Fix extension icon rendering: #1779
-
Bugfix - Fix extension icon rendering: #1779
The
extension
icon wouldn't render in the ownCloud web. We fixed the SVG file to prevent this problem.
Changelog for 11.2.1 (2021-11-10)
The following sections list the changes in ownCloud Design System 11.2.1.
- Bugfix - Fix files table event: #1777
-
Bugfix - Fix files table event: #1777
In v11.2.0 we refactored the naming of the table drag and drop events. This introduced a naming clash in the files table events which is fixed now.
Changelog for 11.2.0 (2021-11-09)
The following sections list the changes in ownCloud Design System 11.2.0.
- Enhancement - Add accentuated class for OcTable: #5967
- Enhancement - Add Ghost Element for Drag & Drop: #5788
- Enhancement - Add "extension" svg icon: #1771
- Enhancement - Add closure to mutate resource dom selector: #1766
- Enhancement - Reduce filename text weight: #1759
-
Enhancement - Add accentuated class for OcTable: #5967
We've added an accentuated class for the OcTable for accentuating certain files e.g. after uploading, in a different way than already highlighted resources.
-
Enhancement - Add Ghost Element for Drag & Drop: #5788
We've added a custom ghost element for the drag&drop functionality in the OcTableFiles to better visualize the action to the user.
-
Enhancement - Add "extension" svg icon: #1771
-
Enhancement - Add closure to mutate resource dom selector: #1766
In some cases the resource or item id is not a valid dom selector, we've introduced an optional closure property for oc-table and oc-table-files to customize the selector to its need.
-
Enhancement - Reduce filename text weight: #1759
We reduced the font weight for filenames to make the files list easier for the eye.
Changelog for 11.1.0 (2021-11-03)
The following sections list the changes in ownCloud Design System 11.1.0.
- Bugfix - Limit select event in OcTableFiles: #1753
- Bugfix - Add word-break rule to OcNotificationMessage component: #1712
- Bugfix - OcTable sorting case sensitivity: #1698
- Bugfix - Drag and Drop triggers wrong actions: #5808
- Enhancement - Make OcDatepicker themable: #1679
- Enhancement - Streamline OcTextInput: #1636
-
Bugfix - Limit select event in OcTableFiles: #1753
We've updated the behaviour in the OcTableFiles component so select events only get fired if the target row is not already selected. This allows for batch actions in the contextmenu which was limited to only one resource before.
-
Bugfix - Add word-break rule to OcNotificationMessage component: #1712
We had issues with long filenames overflowing the OcNotificationMessage body.
#1712 https://github.com/owncloud/owncloud-design-system/pulls/1736
-
Bugfix - OcTable sorting case sensitivity: #1698
We've addressed the problem when sorting upper and lowercase which resulted in both being sorted separately.
-
Bugfix - Drag and Drop triggers wrong actions: #5808
We addressed the problem when a user tries to upload a file via drag and drop which falsely triggered the drag and drop move in the files table.
-
Enhancement - Make OcDatepicker themable: #1679
We've added styling to the OcDatepicker to use the colors set by the used theme.
-
Enhancement - Streamline OcTextInput: #1636
We have updated the OcTextInput component to be in line with other form components in the design system.
- Fixed the clear button being visible even when element is disabled - Made clear button emit null instead of empty string - Made input/change event handling a bit more consistent - Added defaultValue prop that is for now passed as placeholder to the input field
Changelog for 11.0.0 (2021-10-04)
The following sections list the changes in ownCloud Design System 11.0.0.
- Bugfix - Prevent contextmenu display issues within OcTableFiles: #1691
- Bugfix - Prevent hover style on footer of : #1667
- Change - Replace vue-datetime with v-calendar in our datepicker component: #1661
- Enhancement - Allow hover option in OcTableFiles: #1632
-
Bugfix - Prevent contextmenu display issues within OcTableFiles: #1691
Context menu for files table now detects if available space is enough to show all items. If not, it automatically calculates the height and adds scroll bars to the menu.
-
Bugfix - Prevent hover style on footer of : #1667
-
Change - Replace vue-datetime with v-calendar in our datepicker component: #1661
We've added
v-calendar
dependency so that we can use it as our datepicker component. By doing so, we removed the old datepicker library that we use,vue-datetime
. -
Enhancement - Allow hover option in OcTableFiles: #1632
We've added the possibility to use the
hover
option from OcTable also in OcTableFiles.
Changelog for 10.0.0 (2021-09-13)
The following sections list the changes in ownCloud Design System 10.0.0.
- Bugfix - Reset droptarget background color in OcTableFiles: #1625
- Change - Label for OcSelect: #1633
- Change - Use route query to store active page: #1626
- Change - Refactor OcAvatarGroup and rename to OcAvatars: #5736
- Enhancement - Make OcAvatarX sizeable: #1645
- Enhancement - Switch filesize calculation base: #1598
-
Bugfix - Reset droptarget background color in OcTableFiles: #1625
The targeted table row in the OcTableFiles gets highlighted background when another resource is dragged over it for visual user feedback, but the background wasn't reset upon a successful drop event, which has been fixed.
-
Change - Label for OcSelect: #1633
We've added a configurable
<label>
for OcSelect accessible via thelabel
property. This shadows thelabel
property ofvue-select
. Hence we introduced theoptionLabel
property on OcSelect which maps to thelabel
property ofvue-select
. -
Change - Use route query to store active page: #1626
We've switched the storage of current paginated page to use route query object instead of param.
-
Change - Refactor OcAvatarGroup and rename to OcAvatars: #5736
We've added more share types for the OcAvatars and refactored the components used, also we removed the expand animation when focused or hovered.
-
Enhancement - Make OcAvatarX sizeable: #1645
We've added the possibility to size Avatars and gave e.g. OcAvatarGroup a width and iconSize.
-
Enhancement - Switch filesize calculation base: #1598
We've switched from base-2 to base-10 when calculating the displayed file-size to align it better with user expectations.
Changelog for 9.3.0 (2021-08-23)
The following sections list the changes in ownCloud Design System 9.3.0.
- Bugfix - Fix search for options provided as objects: #1602
- Bugfix - Contextmenu button triggered wrong event: #1610
- Bugfix - Use pointer cursor for OcSelect actions: #1604
- Enhancement - OcTableFiles Contextmenu Tooltip: #1610
- Enhancement - Highlight droptarget in OcTableFiles: #1610
- Enhancement - Remove "Showdetails" button in OcTableFiles: #1610
-
Bugfix - Fix search for options provided as objects: #1602
We fixed a regression that was introduced in #1521.
vue-select
automatically uses the property specified inlabel
for filtering. When custom filtering based on Fuse.js was introduced that functionality got lost. Hence it was not possible to filter objects at all. -
Bugfix - Contextmenu button triggered wrong event: #1610
The contextmenu button in the OcTableFiles triggered a
showDetails
event, which lead to the sidebar appearing instead of the (expected) contextmenu. This has been fixed. -
Bugfix - Use pointer cursor for OcSelect actions: #1604
We changed the cursor for the actions (down/up arrows) on
OcSelect
topointer
. It used to be atext
cursor. -
Enhancement - OcTableFiles Contextmenu Tooltip: #1610
Since most of the quickactions in the OcTableFiles have a tooltip the contextmenu button should get one, too. It also replaces the (removed) Showdetails button and leads to better discoverability of the contextmenu (and therefore the sidebar).
-
Enhancement - Highlight droptarget in OcTableFiles: #1610
The targeted table row in the OcTableFiles now gets a highlighted background when another resource is dragged over it for visual user feedback.
-
Enhancement - Remove "Showdetails" button in OcTableFiles: #1610
We removed the Showdetails button in the OcTableFiles quickactions to de-clutter the UI. Opening the sidebar is supposed to happen from the contextmenu which gets triggered by the three dots button.
Changelog for 9.2.0 (2021-08-18)
The following sections list the changes in ownCloud Design System 9.2.0.
- Enhancement - Add select items icon: #1597
-
Enhancement - Add select items icon: #1597
We added new icon that suggests users to select items in order to enable interactions.
Changelog for 9.1.0 (2021-08-17)
The following sections list the changes in ownCloud Design System 9.1.0.
- Bugfix - Initial sorting for OcTableFiles: #1588
- Bugfix - Sorting by date: #1552
- Enhancement - Add sidebar toggle icons: #5165
- Enhancement - Show compile errors and enforce node.js version in package.json: #1579
- Enhancement - Downgrade sass version: #1583
-
Bugfix - Initial sorting for OcTableFiles: #1588
The OcTableFiles component didn't apply initial sorting. This was set to the first sortable field in the list of fields (which is "name").
-
Bugfix - Sorting by date: #1552
The OcTableFiles component sorted rows lexicographically by relative dates (e.g. "1 hour ago"). This was fixed to sort by unix timestamps instead.
-
Enhancement - Add sidebar toggle icons: #5165
We added new chevron icons for the toggle button to switch between sidebar open and close
-
Enhancement - Show compile errors and enforce node.js version in package.json: #1579
Ensure we show compile-time errors on the command line when present and enforce Node.js v14.0.0 or greater to permit optional chaining to be used
-
Enhancement - Downgrade sass version: #1583
Decrease the version of sass in order to prevent emitting of deprecation warnings in the ui-kit libray.
Changelog for 9.0.1 (2021-08-11)
The following sections list the changes in ownCloud Design System 9.0.1.
- Bugfix - Contextmenu should change selection model: #1580
-
Bugfix - Contextmenu should change selection model: #1580
We changed the rightclick logic so the selection model changes to the file the rightclick was performed on.
Changelog for 9.0.0 (2021-08-09)
The following sections list the changes in ownCloud Design System 9.0.0.
- Change - Remove deprecated components: #1545
- Change - Enable multiple highlighting for OcTableFiles: #5164
- Change - Production Bundle Content: #1553
- Enhancement - Add drop target: #1575
- Enhancement - Group files and folder when sorting by name: #5613
- Enhancement - Add manual mode to oc-drop: #1575
- Enhancement - Add sign-out icon: #5590
- Enhancement - Added drag-drop property: #5592
-
Change - Remove deprecated components: #1545
To focus on the quality of the currently relevant components and to reduce bundle size, we are dropping a bunch of deprecated components from our design system.
List of removed components, for reference:
- OcActionDrop.vue - OcAppLayout.vue - OcAutocomplete.vue - OcDatepicker.vue - OcDisclosureDrop.vue - OcNav.vue - OcNavItem.vue - OcNavbar.vue - OcTabItem.vue - OcTabbed.vue - OcTabbedPanel.vue - OcTabbedTab.vue - OcTabs.vue - OcTopBar.vue - OcUser.vue - _OcNavbarItem.vue - _OcSidebarNavDivider.vue - _OcSidebarNavHeader.vue - _OcTopBarItem.vue - _OcTopBarLogo.vue
-
Change - Enable multiple highlighting for OcTableFiles: #5164
We changed the highlighting in a way that now every selected file is highlighted automatically. The
highlighted
prop has been removed as it's not used anymore. -
Change - Production Bundle Content: #1553
In the past, we shipped the docs
.scss
file and some example images which now have been removed from the production bundle to reduce size. -
Enhancement - Add drop target: #1575
We've added a target prop to the
oc-drop
component so that the drop can be opened at another element than the trigger. -
Enhancement - Group files and folder when sorting by name: #5613
Like in oc10 when sorting by name, files and folders should be listed separately
-
Enhancement - Add manual mode to oc-drop: #1575
We've added the manual mode to
oc-drop
component. This mode enables showing/hiding the drop only via provided methods (see docs). -
Enhancement - Add sign-out icon: #5590
There has been confusion in user experience about the current usage of the
exit_to_app
icon as sign-out icon. We have added a dedicatedsign-out
icon to avoid this in the future. -
Enhancement - Added drag-drop property: #5592
In order to enable file moving via drag & drop we added the property drag-drop on OcTable and OcTableFiles
Changelog for 8.3.1 (2021-08-04)
The following sections list the changes in ownCloud Design System 8.3.1.
- Bugfix - Unnecessary context menu events: #1564
-
Bugfix - Unnecessary context menu events: #1564
Clicking on the context menu in OcTableFiles was emitting unnecessary showDetails events. This has been fixed.
Changelog for 8.3.0 (2021-07-28)
The following sections list the changes in ownCloud Design System 8.3.0.
- Enhancement - Update vue select: #1536
Changelog for 8.2.0 (2021-07-23)
The following sections list the changes in ownCloud Design System 8.2.0.
- Bugfix - Button as inline element: #1529
- Bugfix - OcTableFiles Contextmenu ID: #1525
- Enhancement - Deprecate OcAutocomplete: #1521
- Enhancement - Add OcRecipient component: #1521
- Enhancement - Add
search:input
event to OcSelect: #1521
-
Bugfix - Button as inline element: #1529
We made our OcButton an inline-flex instead of a flex element, so that it behaves correctly regarding alignment inside containers.
-
Bugfix - OcTableFiles Contextmenu ID: #1525
Handling of
=
s in resource IDs in the OcTableFiles contextmenu was broken and lead to undesired behavior. This has been fixed now. -
Enhancement - Deprecate OcAutocomplete: #1521
We've deprecated the OcAutocomplete component. OcSelect with
:multiple="true"
prop can be used to achieve the same behaviour. -
Enhancement - Add OcRecipient component: #1521
We've added OcRecipient component.
-
Enhancement - Add
search:input
event to OcSelect: #1521We've added
search:input
event to the OcSelect component which is triggered when a search query is typed into the select.
Changelog for 8.1.0 (2021-07-22)
The following sections list the changes in ownCloud Design System 8.1.0.
- Bugfix - No hover on current breadcrumb item: #1416
- Bugfix - Inverse button hover: #1401
- Bugfix - OcSwitch Off State is not pixel perfect: #1458
- Enhancement - OcSwitch off state color: #1457
- Enhancement - OcTableFiles dropdown menu: #1420
- Enhancement - OcTextarea configurable Enter/Linebreak: #1422
-
Bugfix - No hover on current breadcrumb item: #1416
The current page's breadcrumb item is not interactive and shouldn't have a focus on hover, so we removed it.
-
Bugfix - Inverse button hover: #1401
Icons inside inverse buttons were hidden on hover, which shouldn't happen anymore. Also added an icon and some padding to the OcButton docs.
-
Bugfix - OcSwitch Off State is not pixel perfect: #1458
We've addressed the fact that the OcSwitch wasn't aligned properly in it's off state. Both states are now aligned equaly.
-
Enhancement - OcSwitch off state color: #1457
We've addressed the fact that the OcSwitch 'off' state color doesn't differ enough from 'on' state
-
Enhancement - OcTableFiles dropdown menu: #1420
The OcTableFiles component now has a slot that will be displayed inside an OcDrop upon either right-clicking a table row or the three-dot button on the right end of the row.
-
Enhancement - OcTextarea configurable Enter/Linebreak: #1422
OcTextArea has now an property 'submitOnEnter'. This prop controls how the textarea should react to ENTER.
Changelog for 8.0.0 (2021-07-08)
The following sections list the changes in ownCloud Design System 8.0.0.
- Change - Rename previews to thumbnails: #1429
- Change - Remove custom model from OcSelect: #1478
- Enhancement - Add page size component: #1478
- Enhancement - Initial focus in OcModal: #1453
- Enhancement - Table Sorting by String or Function: #1377
-
Change - Rename previews to thumbnails: #1429
Until now, we have been referring to preview images in OcFilesTable and OcResource as
preview
. The technically more correct term for our use case would bethumbnail
and since we're introducing proper previews in the web repo now this change renamespreviews
in ODS tothumbnails
to avoid naming conflicts down the road. -
Change - Remove custom model from OcSelect: #1478
We've removed the custom model defined in OcSelect component. It is no longer possible to pass the value via
model
prop. You can usevalue
instead.v-model
is still available. -
Enhancement - Add page size component: #1478
We've added page size component. This component can be used for specifying the pagination limit of items per page.
-
Enhancement - Initial focus in OcModal: #1453
The OcModal component sets the initial focus to the input element now, if one exists. If the input element doesn't exist the focus remains on the modal itself, like we had it before.
-
Enhancement - Table Sorting by String or Function: #1377
Sorting inside the OcTable now can be done by passing a string or a function, so you can e.g. sort objects inside Array by their properties.
Changelog for 7.5.0 (2021-06-25)
The following sections list the changes in ownCloud Design System 7.5.0.
- Bugfix - Show
--
as file-size when the folder size is not yet computed: #1402 - Enhancement - Improve
OcSwitch
UI and accessibility: #1421
-
Bugfix - Show
--
as file-size when the folder size is not yet computed: #1402When the folder size is unknown (not yet calculated or cannot be calculated) the server returns
-1
as the size. In this case we now show--
and not only an empty string -
Enhancement - Improve
OcSwitch
UI and accessibility: #1421We've added round corners to the
OcSwitch
component so that it is more consistent with other elements in our UI. We've also made the component accessible, added visible label and enabled toggling its state with the spacebar.
Changelog for 7.4.2 (2021-06-21)
The following sections list the changes in ownCloud Design System 7.4.2.
- Bugfix - 0.5px separator line between OcSidebarNav items: #1402
- Bugfix - OcIcon crashes if icon gets updated: #1407
- Bugfix - Pagination renders unnecessary ... skip label: #1406
-
Bugfix - 0.5px separator line between OcSidebarNav items: #1402
The small line between OcSidebarNav items was displayed with different widths depending on the used browser, since some can't handle half-pixel values. We've changed that to create the same look across browsers.
-
Bugfix - OcIcon crashes if icon gets updated: #1407
Before this bugfix, updating
oc-icon
name prop crashedvue-inline-svg
. We had to overwritevue-inline-svg
download method and forgot to implement itsisPending
property on the returned promise.This is fixed now and tested
-
Bugfix - Pagination renders unnecessary ... skip label: #1406
In cases where the pagination should only render 4 pages at once and 4 are available, it rendered a skip label
< 1 2 ... 4 >
even if it's not required.Now this is fixed and it renders
< 1 2 3 4 >
instead.
Changelog for 7.4.0 (2021-06-17)
The following sections list the changes in ownCloud Design System 7.4.0.
-
Bugfix - Sticky OcAppSideBar Header: #1384
The OcAppSideBar Header is now sticky so the user always sees the filename and most important info. UX is also improved since he now can always close the appsidebar on mobile without having to scroll back to the top.
-
Enhancement - Theme-able breakpoint variables: #5281
We've added custom CSS props for breakpoints a while ago but missed adding them to the theming initialization, so they weren't theme-able until now.
Changelog for 7.4.1 (2021-06-17)
The following sections list the changes in ownCloud Design System 7.4.1.
- Bugfix - Remove pagination list padding: #1398
- Bugfix - Visible separator between OcSidebarNav items: #1387
-
Bugfix - Remove pagination list padding: #1398
The pagination list had a small left padding which caused it to be visually off from the desired horizontal center.
-
Bugfix - Visible separator between OcSidebarNav items: #1387
We have added a small line between OcSidebarNav items in the
active
andhover
state to visually make them better differentiable.
Changelog for 7.3.0 (2021-06-14)
The following sections list the changes in ownCloud Design System 7.3.0.
- Enhancement - Logo sizing: #795
-
Enhancement - Logo sizing: #795
We've added theming variables for the max-width and max-height of the OcLogo component and increased the default (max-)height.
Changelog for 7.2.0 (2021-06-11)
The following sections list the changes in ownCloud Design System 7.2.0.
- Bugfix - Use correct selected background colour: #1368
- Enhancement - Add pagination component: #1055
- Enhancement - Table Row Mounted Event: #1371
-
Bugfix - Use correct selected background colour: #1368
We've fixed the css custom property in
.oc-background-selected
helper class so that the background highlighted colour is used there instead. -
Enhancement - Add pagination component: #1055
We've added
OcPagination
component. -
Enhancement - Table Row Mounted Event: #1371
The OcTable now emits an event if a row is mounted.
Changelog for 7.1.0 (2021-06-02)
The following sections list the changes in ownCloud Design System 7.1.0.
- Enhancement - Accessible label for all landmarks in OcSidebarNav: #1345
- Enhancement - Add check icon without circle: #1341
-
Enhancement - Accessible label for all landmarks in OcSidebarNav: #1345
The OcSidebarNav component now has properties for providing accessible labels for all landmarks of the sidebar.
-
Enhancement - Add check icon without circle: #1341
According to community requests, we've added a check/tick/approve icon without a background shape.
Changelog for 7.0.1 (2021-06-01)
The following sections list the changes in ownCloud Design System 7.0.1.
- Bugfix - OcStatusIndicator ID fixes: #1342
-
Bugfix - OcStatusIndicator ID fixes: #1342
Inside the OcStatusIndicator, components were rendering the same IDs which resulted in invalid HTML. Since the clickhandler on the OcStatusIndicator also was refering to these IDs and they now are dynamically generated on the frontend, it has now been replaced with a computed property which receives the click target.
Also, the accessible description (only applicable to screen readers) has been changed from
<span>
to<p>
which sounds better to the listener.
Changelog for 7.0.0 (2021-05-31)
The following sections list the changes in ownCloud Design System 7.0.0.
- Bugfix - Interactive texts in OcTooltips: #1288
- Bugfix - Make OcSidebarNavitem text bold: #1308
- Bugfix - Move arialabel in OcSideBarNav to nav element: #1325
- Bugfix - Do not define table header height via row height var: #1309
- Bugfix - Non-interactive tooltips: #1330
- Change - Rename OcSidebar to OcSidebarNav: #1300
- Change - Use slots in OcSidebarNav: #1300
- Enhancement - A11y color contrasts: #1302
- Enhancement - Color contrast for OcSidebarNav: #1310
- Enhancement - Avatar link & count a11y improvements: #1298
- Enhancement - Add inverse button variant: #1300
- Enhancement - Modals listen to escape key: #1324
- Enhancement - Apply CSS custom properties to
:host
: #1333 - Enhancement - Aria-labelledby through heading for modals: #1327
- Enhancement - Reduce the height of the filelist rows: #1319
- Enhancement - Add tabindex on active breadcrumb element: #1334
- Enhancement - Clear button for OcTextInput: #1329
- Enhancement - Themable Table Row Height: #1291
- Enhancement - Use button to trigger table sort: #1309
-
Bugfix - Interactive texts in OcTooltips: #1288
The new tooltip texts would only be initialized once and then didn't offer the possibility of chaging reactively. By updating the directive, we've changed that.
-
Bugfix - Make OcSidebarNavitem text bold: #1308
We've made the text of
OcSidebarNavItem
component bold again. -
Bugfix - Move arialabel in OcSideBarNav to nav element: #1325
The accessibleLabel property describing the navigation inside the OcSideBarNav was set to the whole component, yet was meant to describe the
<nav>
element so we changed its target. -
Bugfix - Do not define table header height via row height var: #1309
We've separated the height styles of table header and table row so that the row height variable is not affecting both of them.
-
Bugfix - Non-interactive tooltips: #1330
Interactive tooltips were breaking correct z-index behaviour so we set them to non-interactive.
-
Change - Rename OcSidebar to OcSidebarNav: #1300
We've changed the name of the
OcSidebar
component toOcSidebarNav
to better reflect that it shouldn't be used for anything else than the navigation. -
Change - Use slots in OcSidebarNav: #1300
We've moved away from defining the nav items in the
OcSidebarNav
via props to including them through slots. The component now contains 3 slots -header
,nav
andfooter
. -
Enhancement - A11y color contrasts: #1302
The color contrast checker now runs when generating tokens via the yarn token command and reports if any colors don't match the minimum color contrast
-
Enhancement - Color contrast for OcSidebarNav: #1310
We've set different colors for the active and hover state of nav items in the OcSidebarNav component. Those colors now fulfill required color contrast ratios.
-
Enhancement - Avatar link & count a11y improvements: #1298
- wrappend OcAvatarLink in span (was div) - wrappend OcAvatarCount in span (was div) - changed the way the OcAvatarLink background color was picked, which improves the color contrast to
4.5 (a11y requirement)
-
Enhancement - Add inverse button variant: #1300
We've added inverse button variant which should be used on a dark background.
-
Enhancement - Modals listen to escape key: #1324
The modal component now also emits its "cancel" event when the user presses the escape key. This can for example be used to close the modal via keyboard.
-
Enhancement - Apply CSS custom properties to
:host
: #1333We've applied CSS custom properties to
:host
so that we can access them also in web components. -
Enhancement - Aria-labelledby through heading for modals: #1327
The modal component now has an
aria-labelledby
attribute linked to the<h2>
tag inside, for improved accessibility. -
Enhancement - Reduce the height of the filelist rows: #1319
We've reduced the height of the filelist rows to the possible minimum to provide a more condensed view especially for desktop users. The possible minimum of the filelist row is currently determined by the height of the filename and the sharing-indicators below the filename.
-
Enhancement - Add tabindex on active breadcrumb element: #1334
We've added a tabindex to the span that can represent the latest breadcrumb to make it possible to set the focus there on page navigation for accessibility reasons.
-
Enhancement - Clear button for OcTextInput: #1329
The OcTextInput component now has an optional button for clearing the input.
-
Enhancement - Themable Table Row Height: #1291
By moving the table row height from a component property to a themable variable, we give users of the web frontend a way to customize the appearance of their UI (instead of only giving the freedom to users of the ODS).
-
Enhancement - Use button to trigger table sort: #1309
We've added a button to the table head cell which can trigger sort for its column so that it is keyboard accessible and is aligned directly next to the cell text.
Changelog for 6.4.0 (2021-05-06)
The following sections list the changes in ownCloud Design System 6.4.0.
- Bugfix - OcSpinner make ariaLabel prop optional: #1251
- Enhancement - Lazy img loading & accessibility for OcAvatar: #1282
- Enhancement - Add description for avatar groups: #1250
- Enhancement - Make files table headings more descriptive: #1252
- Enhancement - Remove uk-drop from OcDrop: #1269
- Enhancement - Accessibility for OcSelect: #1268
- Enhancement - Remove the notification close button: #1247
- Enhancement - Show the notification close button via property: #1247
- Enhancement - Tooltips: #1263
-
Bugfix - OcSpinner make ariaLabel prop optional: #1251
The OcSpinner component had a required property that caused console errors. Since we're not always using it in a case where a label is required, we've made it optional but strongly recommend to use it unless the element is wrapped in/equiped with a
aria-hidden="true"
attribute. -
Enhancement - Lazy img loading & accessibility for OcAvatar: #1282
- Add lazy loading to OcImg component - Internalize former dependency vue-avatar into OcAvatar - Make OcAvatar use OcImg component, using lazy loading - Change OcAvatar to be a11y compliant (color contrasts, DOM structure)
-
Enhancement - Add description for avatar groups: #1250
The description is mandatory for avatar groups because the avatar group element is hidden for screen readers.
-
Enhancement - Make files table headings more descriptive: #1252
This makes it easier to understand for people using a screen reader.
-
Enhancement - Remove uk-drop from OcDrop: #1269
We've used uikit to manage oc-drop before, now tippy.js acts as a drop in replacement. The api stays the same.
-
Enhancement - Accessibility for OcSelect: #1268
- Add l10n for default no options text - Add l10n for vue-select combobox aria-label
-
Enhancement - Remove the notification close button: #1247
The notification will now automatically close after a certain amount of time which can be defined via property. Also fixed some links in the docs in addition to that.
-
Enhancement - Show the notification close button via property: #1247
Close button can now be enabled via property dismissible, additionally the notification will now automatically close after a certain amount of time. The duration a notification shows can be defined via a newly added property. Also fixed some links in the docs in addition to that.
-
Enhancement - Tooltips: #1263
We've used uikit to display tooltips before, now we added a own
v-oc-tooltip
directive and use this instead. This improves accessibility and possibilities for later re-use.
Changelog for 6.3.0 (2021-04-29)
The following sections list the changes in ownCloud Design System 6.3.0.
- Bugfix - Remove login paragraph meta styling: #1246
- Bugfix - Set correct href to oc-button if type is router-link: #1245
- Bugfix - Translateable default close button label in OcSidebar: #1243
- Bugfix - Remove unnecessary role attribute from oc-icon: #1241
- Enhancement - Improved accessibility for oc-accordion: #1241
- Enhancement - Aria-hide images if needed: #1244
- Enhancement - Use bigger font size for breadcrumbs: #1239
- Enhancement - Modal focus trap: #1237
- Enhancement - Add prop to define table padding: #1240
-
Bugfix - Remove login paragraph meta styling: #1246
The login screen styling paragraph tag was expanding uikit's text-meta which doesn't have enough contrast for accessibility. By removing it we fall back to the themed text color on the login/redirect pages.
-
Bugfix - Set correct href to oc-button if type is router-link: #1245
While setting the type property to 'router-link' the empty href property has overwritten the href target with null. Now the href property will be set correctly.
-
Bugfix - Translateable default close button label in OcSidebar: #1243
The sidebar component's close button label was hardcoded to be in English. Since the label is pretty unambiguous we can move its translations to the ODS.
-
Bugfix - Remove unnecessary role attribute from oc-icon: #1241
The oc-icon component had
role="presentation"
on the svg if there is no accessible label. Since we already havearia-hidden="true"
the role is not needed. Removing it for less code complexity. -
Enhancement - Improved accessibility for oc-accordion: #1241
We improved the accessibility of the oc-accordion component: - Switch from ul+li to just using divs. A list of accordions is not useful. - Make sure that collapsed accordions have aria-expanded="false" (attribute vanished from the html before, needs to be a string). - Remove aria-label from the button as the button already contains all the accessibility hints it needs.
-
Enhancement - Aria-hide images if needed: #1244
When the
alt
property of the oc-image is empty we now setaria-hidden="true"
. -
Enhancement - Use bigger font size for breadcrumbs: #1239
We've increased the font size of breadcrumbs to match the one from
oc-table
items. -
Enhancement - Modal focus trap: #1237
We've added Vue focus trap library to trap the keyboard navigation inside of the modal. To enable the focus trap, use prop
focusTrapActive
. -
Enhancement - Add prop to define table padding: #1240
We've added new prop called
paddingX
which can be used to set the padding along x axis of theoc-table
oroc-table-files
.
Changelog for 6.1.0 (2021-04-22)
The following sections list the changes in ownCloud Design System 6.1.0.
- Enhancement - Files table accessibility: #1229
- Enhancement - Improve modal component: #1214
- Enhancement - Improve accessibility of oc-breadcrumb component: #1228
- Enhancement - OCDrop accessibility: #1230
- Enhancement - Accessibility improvements on the sidebar component: #1231
-
Enhancement - Files table accessibility: #1229
- Add accessible description in case a resource link opens in a new window * Add accessible description for status indicators * Adjust some of the labels to make them more descriptive * Fix broken outline on directories
-
Enhancement - Improve modal component: #1214
We've made the OcModal component more accessible: - It now features
role="dialog"
andaria-modal="true"
- The modal title is now a<h2>
- Component styles have been moved from an individual stylesheet to the component file -
Enhancement - Improve accessibility of oc-breadcrumb component: #1228
In order to enhance accessibility oc breadcrumb has been wrapped into a
tag. The-
element changed to
-
Enhancement - OCDrop accessibility: #1230
Changed DOM order of example data to allow proper tab interactions, added focus border to a elements in list.
-
Enhancement - Accessibility improvements on the sidebar component: #1231
Added a current page indicator and an overall aria label to the sidebar. Also implemented an alt property for the logo. It used the product name previously which is problematic because alt needs to describe the link rather than the image.
- element, furthermore aria-current=page applies to the last item and
the default home breadcrumb has been removed. Keyboard navigation has been fixed.
Changelog for 6.2.0 (2021-04-22)
The following sections list the changes in ownCloud Design System 6.2.0.
- Bugfix - Remove required prop from sidebar & obsolete role: #1233
- Enhancement - Add tabindex to table rows: #1233
-
Bugfix - Remove required prop from sidebar & obsolete role: #1233
- property productName shouldn't be required anymore in OcSidebar after logoAlt has been
introduced - role="progressbar" is obsolete on
<progress>
HTML elements
- property productName shouldn't be required anymore in OcSidebar after logoAlt has been
introduced - role="progressbar" is obsolete on
-
Enhancement - Add tabindex to table rows: #1233
By adding a negative tabindex the table rows are now focusable which is an important aspect of accessibility/keyboard navigation.
Changelog for 6.0.0 (2021-04-19)
The following sections list the changes in ownCloud Design System 6.0.0.
- Change - Use style-dictionary instead of theo: #1217
- Enhancement - More themable variables: #1224
- Enhancement - Table sorting: #1219
-
Change - Use style-dictionary instead of theo: #1217
We've used theo to generate tokens, it was a bit cumbersome to manage global aliases and hard to define property based filters.
From now on we use amazon style-dictionary to generate the tokens which is more flexible. In the same process we renamed the tokens to get a more meaningful naming convention for css // scss variables.
-
Enhancement - More themable variables: #1224
Due to recent changes, more variables other than colors have been moved from SASS to CSS variables and are therefore customizable through theming. This change loads them correctly when providing a
theme.json
as a Vue plugin option. -
Enhancement - Table sorting: #1219
The latest version of OcTable and OcTableFiles had no more sorting. We brought it back. It can be enabled by simply adding a
sortable: true
to table fields.
Changelog for 6.0.1 (2021-04-19)
The following sections list the changes in ownCloud Design System 6.0.1.
- Bugfix - Swap background colors: #1227
-
Bugfix - Swap background colors: #1227
In the
v6.0.0
release, the color values forbackground-muted
andbackground-hightlighted
got swapped by accident. This produced unwanted results in the results and gets reverted to the original and working version with this change.
Changelog for 5.1.0 (2021-04-15)
The following sections list the changes in ownCloud Design System 5.1.0.
- Bugfix - Remove fixed login logo width: #1207
- Bugfix - Muted color class: #1210
- Enhancement - OcCheckbox remove aria checked: #1212
- Enhancement - Text-inital helper class: #1211
- Enhancement - Update tag border color: #1213
-
Bugfix - Remove fixed login logo width: #1207
The logo displayed on login/error pages had a fixed width and height, wich was fine for the provided ownCloud logo but produced suboptimal results when using files with other width/height ratios. By changing this to max-width & max-height we allow for other files while keeping their proper aspect ratio.
-
Bugfix - Muted color class: #1210
The
uk-text-muted
class caused some inconsistancy in ownCloud-web, sometimes being overwritten by default uikit styles. Changing it tooc-text-muted
and updating the references in ownCloud-web should prevent this. -
Enhancement - OcCheckbox remove aria checked: #1212
We've introduced
aria-checked
on the checkbox component but since then learned it's redundant information, so we're removing it again. -
Enhancement - Text-inital helper class: #1211
Introducing a
oc-text-inital
class to set font-size, e.g. in headings, back to1rem
. -
Enhancement - Update tag border color: #1213
The OcTag border color didn't offer enough contrast, so it's been updated to match the font color. Also, the OcTag styles have been moved to the component level.
Changelog for 5.0.0 (2021-04-08)
The following sections list the changes in ownCloud Design System 5.0.0.
- Change - Use peerDependencies instead of dependencies: #1202
- Enhancement - Export translations: #1201
-
Change - Use peerDependencies instead of dependencies: #1202
In the past we used dependencies in package.json which can blow up the bundle size a lot. Expect this, it is also possible that the same package with 2 versions is part of the bundle.
From now on dependencies that are required to use ODS are added to the peerDependencies section in package.json. Then the consuming application has to add the dependency on it's own and can decide which minor or bugfix version to use.
-
Enhancement - Export translations: #1201
Some ODS components depend on translations and they correctly get pulled from Transifex into
l10n/translations.json
, yet we never exported them for other projects to use. Now, they get copied into thedist
folder and can be imported and used alongside the styles and components.
Changelog for 5.0.1 (2021-04-08)
The following sections list the changes in ownCloud Design System 5.0.1.
- Bugfix - Add missing peerDependency: #1205
-
Bugfix - Add missing peerDependency: #1205
In the 5.0.0 release, we missed to add the dependency for
vue-inline-svg
to the peerDependencies.
Changelog for 4.3.0 (2021-04-07)
The following sections list the changes in ownCloud Design System 4.3.0.
-
Bugfix - Embed svg images: #1198
We've changed the way how svg images get loaded in oc-icon. Before this, svg images where transformed to data urls by webpack. Now, we use require to inline them, which prevents the browser from doing a XMLHttpRequest that can lead to problems with the content-security-police.
-
Enhancement - Create
oc-select
component: #1198We've created a new component called
oc-select
. This component is based on vue-select and can be used to selecting values in a dropdown.
Changelog for 4.2.1 (2021-04-01)
The following sections list the changes in ownCloud Design System 4.2.1.
- Bugfix - Use primary text color for the dropzone: #1192
- Bugfix - Progressbar background color: #1192
-
Bugfix - Use primary text color for the dropzone: #1192
We've changed the color of the dropzone hint message to the
oc-color
so that the text is visible even when brand and background colors are both dark. -
Bugfix - Progressbar background color: #1192
The progressbar background color wasn't theme-able and therefore inherited uikit-styles that provided undesired results on dark backgrounds. It now uses the text-muted color for the background.
Changelog for 4.1.2 (2021-03-31)
The following sections list the changes in ownCloud Design System 4.1.2.
- Bugfix - Breadcrumb font size: #1185
- Bugfix - Links in oc-avatar-group: #1184
- Bugfix - Modal title variation: #1185
- Bugfix - Muted text uikit class: #1185
- Bugfix - No underline on button hover: #1185
-
Bugfix - Breadcrumb font size: #1185
The
lead
class in breadcrumbs didn't resize the font to match<h1>
tags. This fix brings back the old behavior. -
Bugfix - Links in oc-avatar-group: #1184
The oc-avatar-group was showing all link, ignoring the
maxDisplayed
property. We fixed that by properly cutting off the items used for rendering avatars. -
Bugfix - Modal title variation: #1185
The modal variation was only reflected in the title color in the
danger
variation. Now, the title colors gets correctly adapted to any of the 5 possible variations -
Bugfix - Muted text uikit class: #1185
The
uk-text-muted
was overwritten to correctly use CI colors. -
Bugfix - No underline on button hover: #1185
When hovering
<button>
s we don't want to display an underline to differentiate them properly from<a>
s and<router-link>
s.
Changelog for 4.2.0 (2021-03-31)
The following sections list the changes in ownCloud Design System 4.2.0.
- Bugfix - Input border variable: #1187
- Enhancement - Use oc-color for breadcrumbs: #1189
- Enhancement - Add
oc-text-lead
class: #1189 - Enhancement - Unify input colors: #1190
-
Bugfix - Input border variable: #1187
The custom CSS prop for
input-border
had a duplicate and wrong dash and was therefore not rendered correctly. -
Enhancement - Use oc-color for breadcrumbs: #1189
We've changed the colour of breadcrumbs to use the
oc-color
instead of the brand color. -
Enhancement - Add
oc-text-lead
class: #1189We've added a utility class called
oc-text-lead
which is increasing the font size of the text. -
Enhancement - Unify input colors: #1190
OcAutocomplete
,OcTextInput
,OcTextarea
andOcSearchBar
had all slightly different ways of using variables to defined border- and text-colors. This change introduces two dedicated color varaibles for text inside input fields (for theme-ability) and unifies their usage. It also moves the styles for these components from a stylesheet each into a<style>
tag in each Vue component.
Changelog for 4.1.1 (2021-03-30)
The following sections list the changes in ownCloud Design System 4.1.1.
- Bugfix - OcTextInput Coloring: #1182
-
Bugfix - OcTextInput Coloring: #1182
The OcTextInput input validation didn't correctly change to the
danger
orwarning
color variations (discovered this when checking the modals inweb
). This change fixes it, correctly changing colors when the validation gets triggered.
Changelog for 4.1.0 (2021-03-26)
The following sections list the changes in ownCloud Design System 4.1.0.
- Enhancement - Add messages to autocomplete component: #1174
- Enhancement - Datepicker input style: #1176
- Enhancement - Turn placeholders in OcModal into descriptionMessages: #1172
-
Enhancement - Add messages to autocomplete component: #1174
The component supports 3 kinds of messages: description, warning and error. The description message will basically replace the informative text which was displayed via placeholder. While it's still possible to use a placeholder if you need it, we encourage you to not use it anymore. A label is always required, a description message can be added if more context is needed.
-
Enhancement - Datepicker input style: #1176
The input style of the datepicker now matches with the ones we use in other components (like text input e.g.).
-
Enhancement - Turn placeholders in OcModal into descriptionMessages: #1172
We have dropped the support for placeholders in the
<oc-text-input>
component. As this component is used inside OcModal, this change also drops placeholder support and adds the possibilty to instead make use of a descriptionMessage (which is only being display if no inputError is present).
Changelog for 4.0.0 (2021-03-25)
The following sections list the changes in ownCloud Design System 4.0.0.
- Bugfix - Increase the datepicker z-index: #1147
- Change - Add label to the autocomplete component: #1156
- Change - Add properties to make icons and images a11y-compliant: #1161
- Change - Remove URL prop from icons: #1082
- Change - Refactor variations & color palette: #1140
- Enhancement - Add focus border to accordion items: #1158
- Enhancement - Add label and messages to datepicker: #1149
- Enhancement - Add label and messages to textarea: #1144
- Enhancement - Make alert component a11y-compliant: #1166
- Enhancement - Add aria label to the home icon within the breadcrumb: #1152
- Enhancement - Add aria properties to checkbox: #1145
- Enhancement - Element nesting: #1155
- Enhancement - Add aria properties to radio input: #1148
- Enhancement - Remove the OcTextInput component from the OcSearchBar component: #1151
- Enhancement - Make searchbar component a11y-compliant: #1164
- Enhancement - Implement labels and descriptions for text input fields: #1141
- Enhancement - Initialize the design system with themable colors: #1168
-
Bugfix - Increase the datepicker z-index: #1147
The z-index of the datepicker modal was set to 1, which is a pretty small value for a modal window. As a result the date picker modal has been displayed behind the code example in the design system.
-
Change - Add label to the autocomplete component: #1156
Adding the label "from the outside" is not a11y compliant as you cannot get the id of the actual input element which therefore cannot be referenced. This change also removes all the unnecessary prefixes which were used in the component.
-
Change - Add properties to make icons and images a11y-compliant: #1161
-
Change - Remove URL prop from icons: #1082
We've removed the URL prop from icons which was replacing the internal icons with an image loading the icon from arbitrary URLs. As of now, only internal icons can be used in the
oc-icon
component. -
Change - Refactor variations & color palette: #1140
We have updated the ownCloud Design System colors, removing duplicates, introducing CI colors and explicitly adding colors that formerly were calculated or came from uikit.
We have also unified the usage of "variations" that are used to give visual clues about different usages of the same components. Icons, buttons, modals and notifications (and perhaps others) can now have the variations
passive, primary, success, danger, warning
.While doing that, we also replaced the SASS variables in
src/
with custom CSS properties which are overwrite-able at runtime, so theming the ODS is possible now (at least from a colors perspective, font sizes and spacing will eventually follow). -
Enhancement - Add focus border to accordion items: #1158
-
Enhancement - Add label and messages to datepicker: #1149
This also implies all the necessary accessibility changes.
-
Enhancement - Add label and messages to textarea: #1144
This also implies all the necessary accessibility changes.
-
Enhancement - Make alert component a11y-compliant: #1166
It is now possible to reach and submit the "close"-button of an alert via keyboard. This change also removes the "uk-close" icon as it is not a11y-compliant.
-
Enhancement - Add aria label to the home icon within the breadcrumb: #1152
-
Enhancement - Add aria properties to checkbox: #1145
This also implies all the necessary accessibility changes.
-
Enhancement - Element nesting: #1155
Fix the nesting for some html elements to make them w3c compliant.
-
Enhancement - Add aria properties to radio input: #1148
This also implies all the necessary accessibility changes.
-
Enhancement - Remove the OcTextInput component from the OcSearchBar component: #1151
Also replace the loading spinner with the OcSpinner component in the course of this.
-
Enhancement - Make searchbar component a11y-compliant: #1164
It is now possible to reach and submit the "clear"-button within the search bar via keyboard. After a search query has been cleared, the input will be focused again. This change also removes the "uk-close" icon as it is not a11y-compliant.
-
Enhancement - Implement labels and descriptions for text input fields: #1141
This also implies all the required accessibility changes.
-
Enhancement - Initialize the design system with themable colors: #1168
By passing suitable plugin options, you can overwrite the CSS color variables within the ODS to adjust it to your likings. The default color values are generated from within the design system and act as a fallback if no (or not all) options are passed when initializing the design system plugin.
Changelog for 3.2.2 (2021-03-22)
The following sections list the changes in ownCloud Design System 3.2.2.
- Bugfix - Remove leading comma from link avatar group tooltip: #1165
-
Bugfix - Remove leading comma from link avatar group tooltip: #1165
We fixed a bug in the oc-avatar-group component, which showed a leading ", " in its tooltip in case it was only about links.
Changelog for 3.2.1 (2021-03-17)
The following sections list the changes in ownCloud Design System 3.2.1.
- Bugfix - Folder names with dots: #1153
-
Bugfix - Folder names with dots: #1153
Folder names with dots showed were separated into a basename and extension part in the oc-resource-name component, which has been fixed. Additionally, the oc-resource-name component now as a
resource-type
attribute, which reflects thetype
property of the displayed resource. This makes testing easier.
Changelog for 3.2.0 (2021-03-12)
The following sections list the changes in ownCloud Design System 3.2.0.
- Bugfix - Use correct color for the accordion title: #1130
- Bugfix - Update table component in OcIcon docs: #1127
- Bugfix - Update OcSwitch docs: #1135
- Enhancement - Use accessible labels for avatars in the avatars group component: #1126
- Enhancement - Extract SAAS functionality from
src/
to `docs/``: #1134 - Enhancement - Improve documentation for image and user component: #1133
- Enhancement - Remove filetype icon variation: #1139
-
Bugfix - Use correct color for the accordion title: #1130
In the last release, we introduced a regression in the accordion component. The custom color set for its title had not been respected and the button color was used instead. We've fixed this to use the custom color again.
-
Bugfix - Update table component in OcIcon docs: #1127
The
<oc-table>
component had a breaking change in the 2.1.0 release, which broke the oc-icon component docs. To fix it we needed to use the new<oc-table-simple>
component instead, which mimics the behaviour of the old<oc-table>
component. -
Bugfix - Update OcSwitch docs: #1135
The OcSwitch documentation was featuring the
<oc-star>
component which was dropped a while ago. This change deletes an obsoleteoc-star.scss
file and updates the OcSwitch documentation by displaying its reactive functionality using other HTML elements. -
Enhancement - Use accessible labels for avatars in the avatars group component: #1126
We've added the accessible labels for all avatars in the avatars group component because they are shown there without any supporting label thus rendering them hidden from screen readers.
-
Enhancement - Extract SAAS functionality from
src/
to `docs/``: #1134Some SCSS-files were only used to build the ODS documentation, but lived within the design system styles. We moved them to the documentation folder to avoid shipping them with the official ODS releases.
-
Enhancement - Improve documentation for image and user component: #1133
Changed the documentation markup for more semantic HTML that also looks better.
-
Enhancement - Remove filetype icon variation: #1139
This icon variation wasn't really used anywhere but added duplicate CSS rules and could therefore be removed.
Changelog for 3.1.0 (2021-02-24)
The following sections list the changes in ownCloud Design System 3.1.0.
- Enhancement - Add name attribute in the resource name component: #1119
-
Enhancement - Add name attribute in the resource name component: #1119
We've added a
resource-name
data attribute in theoc-resource-name
component which equals the concatenated resource path, name and extension.
Changelog for 3.0.0 (2021-02-24)
The following sections list the changes in ownCloud Design System 3.0.0.
- Bugfix - Button hover color: #1091
- Bugfix - Missing logo in OcSidebar: #1090
- Change - Merge resource target path with folder path: #1085
- Change - Make dropzone component public: #1100
- Change - Remove basic styles: #1084
- Change - Add resource path attribute to oc-resource-name: #1103
- Change - Pass object as the target route: #1102
- Change - Use values as keys for table cells: #1094
- Change - Use resources instead of ids in selection model: #1095
- Change - Text utility classes: #1115
- Enhancement - Add link avatar component: #1101
- Enhancement - Add prop for the table header position: #1092
- Enhancement - Remove the trailing slash from resource target path: #1087
- Enhancement - Add
disabled
prop to table components: #1093 - Enhancement - Add table footer: #1099
- Enhancement - Add
isSelectable
prop to files table component: #1093
-
Bugfix - Button hover color: #1091
When hovering the oc-button (primary) component had different styling, depending on if it was used as
a
orbutton
tag. This was caused by the underlyingui-kit
styles, since no specific component-based styling was provided. By making the hover styling explicit in the component stylesheet, this is fixed. -
Bugfix - Missing logo in OcSidebar: #1090
After to changes in the formerly referenced structure of the ownCloud.com website, no logo was displayed in the sidebar anymore. Due to license changes in this repository, it was decided not to include an ownCloud-branded logo anymore, so this change adds a placeholder svg file in
assets/example/
. -
Change - Merge resource target path with folder path: #1085
We've merged the resource target route path with the folder path in the
router-link
. When passing the path as a parameter, it wasn't being recognised and the navigation just pointed to the target route path. By explicitly merging them, we make sure that the navigation behaves as expected. -
Change - Make dropzone component public: #1100
We've made the dropzone component public so that it appears in the documentation.
-
Change - Remove basic styles: #1084
We've removed styles from the body element and from the #oc-content element. We were forcing styles on a global level which were too specific and because of that limited the usage of the design system. Any specific styling like that should be done in the consuming app.
-
Change - Add resource path attribute to oc-resource-name: #1103
We added a custom attribute to the oc-resource-name component which contains the full resource path. While this is not needed for rendering the component, this makes end to end testing much easier.
-
Change - Pass object as the target route: #1102
We've changed the
targetRoute
prop in theoc-resource
component to accept an object instead of a string. This object is now accepting keysname
,params
andquery
. Onlyname
is required. All keys are then passed to the router link which enables using more complex routes. -
Change - Use values as keys for table cells: #1094
We've started using values as keys for the table cells so that they are reactive to the changes in values.
-
Change - Use resources instead of ids in selection model: #1095
We changed the selection model of the
oc-table-files
component to use resources instead of their ids. -
Change - Text utility classes: #1115
We introduced text utility classes for deciding if a text element should break into multiple lines, prevent line breaks or truncate text with an ellipsis.
-
Enhancement - Add link avatar component: #1101
We've created a link avatar component which mimics styles of the avatar component.
-
Enhancement - Add prop for the table header position: #1092
We've added a prop which is defining the top position of the table header if the
sticky
prop is set totrue
. -
Enhancement - Remove the trailing slash from resource target path: #1087
We've removed the trailing slash from the resource target path. We're merging target path with the folder path into one and place a slash in between them. Having trailing slash in the target path resulted in two slashes in the final path.
-
Enhancement - Add
disabled
prop to table components: #1093We've added
disabled
prop tooc-table
andoc-table-files
components. This prop is used to pass IDs of disabled resources so that they are clearly distinguishable from the other resources. -
Enhancement - Add table footer: #1099
We've added a footer to the table and table files components. To add any content to the footer, use
footer
slot. -
Enhancement - Add
isSelectable
prop to files table component: #1093We've added
isSelectable
prop tooc-table-files
component. This prop is used to assert whether resources in the table can be selected.
Changelog for 2.1.1 (2021-01-21)
The following sections list the changes in ownCloud Design System 2.1.1.
- Bugfix - Fix uniqueId: #1060
-
Bugfix - Fix uniqueId: #1060
The uniqueId helper function returned a callback instead of a string.
Changelog for 2.1.2 (2021-01-21)
The following sections list the changes in ownCloud Design System 2.1.2.
- Change - Pin UIkit version to 3.5.16: #1064
-
Change - Pin UIkit version to 3.5.16: #1064
We've pinned the version of UIkit to 3.5.16. The reason for this is that the version 3.5.17 caused a regression to our autocomplete component. Since we want to remove UIkit from the ODS in the near future, we are not taking the time to come up with a fix. We do not plan to upgrade UIkit anymore.
Changelog for 2.1.0 (2021-01-19)
The following sections list the changes in ownCloud Design System 2.1.0.
- Change - Create new table component: #1177
- Enhancement - Introduce breakpoints tokens and utility classes: #1045
- Enhancement - Create new files table component: #1177
-
Change - Create new table component: #1177
We've dropped the table component and created a new one from scratch. The new component is defining its fields and data via props. To still use more "traditional" table, take a look at component
OcTableSimple
. -
Enhancement - Introduce breakpoints tokens and utility classes: #1045
We've added tokens and utility classes to dynamically display/hide content depending on the breakpoints.
-
Enhancement - Create new files table component: #1177
We've built a new files table component which has a set of pre-defined fields. Which fields will be displayed depends on the provided resources. This component also wraps a few other components:
- OcResource - OcAvatarGroup
Changelog for 2.0.4 (2020-12-15)
The following sections list the changes in ownCloud Design System 2.0.4.
- Bugfix - Positioning of dropzone: #1052
-
Bugfix - Positioning of dropzone: #1052
Switch oc-dropzone positioning from fixed to absolute, fixed always orientates by the viewport which means it always covers the entire screen. This is something we can't know and the decision should be left to the consuming app.
Instead we use position absolute to just cover the next parent which ist positioned relative to the viewport. In situations where the body is higher or wider than the viewport fixed works better because absolute won't cover the scrollable parts of the content.
Since oc apps always do scrolling on their own this is no problem
Changelog for 2.0.3 (2020-12-12)
The following sections list the changes in ownCloud Design System 2.0.3.
- Bugfix - Breadcrumb icon floating: #1053
-
Bugfix - Breadcrumb icon floating: #1053
Home icon in breadcrumb don't break into second line anymore
Changelog for 2.0.2 (2020-12-07)
The following sections list the changes in ownCloud Design System 2.0.2.
-
Bugfix - Add
to
prop tooc-tag
component: #975We've added an optional
to
prop to theoc-tag
component so that it is properly assigned to the element in case ofrouter-link
type. -
Enhancement - Add new icons: #975
We've added a
key
andchecklist
icons.#975 https://fontawesome.com/icons/key?style=solid https://fontawesome.com/icons/tasks?style=solid
Changelog for 2.0.1 (2020-12-02)
The following sections list the changes in ownCloud Design System 2.0.1.
- Bugfix - Fix component docs: #937
-
Bugfix - Fix component docs: #937
The docs were broken after merging Elements and Patterns into a Components section. Apparently
Components
is not allowed as section name for technical reasons, so we renamed it tooC Components
.
Changelog for 2.0.0 (2020-11-23)
The following sections list the changes in ownCloud Design System 2.0.0.
- Change - Change license to Apache 2: #933
- Change - Move all elements into components section: #933
- Enhancement - Add tag component: #927
-
Change - Change license to Apache 2: #933
We've changed the license of the design system to Apache 2.
-
Change - Move all elements into components section: #933
We've moved all elements into a new section called components.
-
Enhancement - Add tag component: #927
We've added a tag component which is to be used for displaying various information.
Changelog for 1.15.0 (2020-11-04)
The following sections list the changes in ownCloud Design System 1.15.0.
- Change - Introduce mode for accordion: #925
- Change - Add folder open icon: #923
- Enhancement - Add color prop to buttons: #924
-
Change - Introduce mode for accordion: #925
The oc-accordion component was allowing both clicks on accordion items and modified property values for
expandedId
/expandedIds
to modify the internal state of the accordion. We now introduced a propertymode
, which defaults toclick
, for selecting the mode for controlling the internal state. From now on it can be either click or data, but not mixed anymore. -
Change - Add folder open icon: #923
We added an icon for
folder open
-
Enhancement - Add color prop to buttons: #924
We've added a new property to the button component to enable setting a different color when the variation is set to
raw
. Available colors aredefault
,primary
andtext
.
Changelog for 1.13.0 (2020-10-28)
The following sections list the changes in ownCloud Design System 1.13.0.
- Change - New accordion component implementation: #911
-
Change - New accordion component implementation: #911
We rewrote the accordion component to remove UIKit styles and align with our own styling. Some accessibility aspects are already implement, for example expanding and collapsing accordion items by pressing space or enter already works. More will come later on.
Changelog for 1.14.0 (2020-10-28)
The following sections list the changes in ownCloud Design System 1.14.0.
-
Change - Accordion improvements: #916
We improved the accordion component to allow external control for the expanded/collapsed state of accordion items.
-
Change - Add file version icon: #917
We added an icon for
file version
Changelog for 1.12.2 (2020-10-26)
The following sections list the changes in ownCloud Design System 1.12.2.
- Change - Adjust styles of buttons with disabled state: #909
- Change - Remove fill color for document icon: #902
-
Change - Adjust styles of buttons with disabled state: #909
We've changed the background color of buttons with disabled state to properly differentiate them from all other buttons.
-
Change - Remove fill color for document icon: #902
We've removed the hardcoded fill color of the document icon.
Changelog for 1.12.1 (2020-10-05)
The following sections list the changes in ownCloud Design System 1.12.1.
- Bugfix - Icon variation on notification message: #843
- Bugfix - Use correct input background color: #892
-
Bugfix - Icon variation on notification message: #843
We fixed a bug in the notification message component where the a wrong variation was applied to icons.
-
Bugfix - Use correct input background color: #892
We've moved definition of the input background color from hook into its class.
Changelog for 1.12.0 (2020-10-03)
The following sections list the changes in ownCloud Design System 1.12.0.
- Change - Small design improvements: #890
- Change - Add flat style for oc-loader: #884
- Change - Updated checkbox and radiobutton components: #890
- Enhancement - Add margin and padding utility classes: #890
-
Change - Small design improvements: #890
We've changed a few color design tokens. We've rotated the
link
icon 45 degrees to the left. We've changed the spacing values and united them in one design token for both margin and padding. -
Change - Add flat style for oc-loader: #884
The oc-loader component now has a
flat
style, which removes the border radius and shrinks the height. It can be enabled by setting theflat
property on the component totrue
. With this the visual appearance of the loader is less prominent. -
Change - Updated checkbox and radiobutton components: #890
We updated the OcCheckbox and OcRadio components so that it's possible to use them properly with
v-model
. OcRadio had the radiobutton on the right side of the label. We moved it over to the left side for consistency. -
Enhancement - Add margin and padding utility classes: #890
We've added utility classes which can assign margin and padding to elements. In their own subsections of utilities section in our design system documentation can be found how to use them.
Changelog for 1.11.1 (2020-09-21)
The following sections list the changes in ownCloud Design System 1.11.1.
- Change - Switch UI icon: #882
-
Change - Switch UI icon: #882
We've added a new icon for switching between UI versions - or resources in general.
Changelog for 1.11.0 (2020-09-18)
The following sections list the changes in ownCloud Design System 1.11.0.
- Bugfix - Pass event in button click handler: #872
- Bugfix - Fix buttons in modal: #876
- Change - Align buttons content to center: #875
- Change - Use flexbox in buttons instead of css grid: #873
- Change - Option for gap on oc-button: #878
- Change - Option for justify-content on oc-button: #878
- Change - Delete pages: #876
-
Bugfix - Pass event in button click handler: #872
The click event for oc-button now passes the actual click event into the handler.
-
Bugfix - Fix buttons in modal: #876
We fixed the button layout of the oc-modal component, which was broken since we introduced our new oc-button.
-
Change - Align buttons content to center: #875
We've aligned the buttons content to the center.
-
Change - Use flexbox in buttons instead of css grid: #873
We've started using flexbox in the button component instead of css grid to position children correctly. This gives us more flexibility for the alignment of children.
-
Change - Option for gap on oc-button: #878
OcButton now has a property for defining a
gap
value out of xsmall, small, normal, medium, large and xlarge. The sizes are the same as in our margin classes. -
Change - Option for justify-content on oc-button: #878
OcButton now has a property for defining a
justify-content
value out of left, center, right, space-between, space-around and space-evenly.#878 https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
-
Change - Delete pages: #876
We deleted the pages from our documentation. They were showcasing some of our components, but hard to maintain.
Changelog for 1.10.1 (2020-09-17)
The following sections list the changes in ownCloud Design System 1.10.1.
- Bugfix - Fix wrong extend syntax: #870
-
Bugfix - Fix wrong extend syntax: #870
We've fixed the wrong extend syntax in oc-user-menu which was written in LESS. This syntax caused an issue with loading all styles and e.g. margin utility classes were not working.
Changelog for 1.10.0 (2020-09-16)
The following sections list the changes in ownCloud Design System 1.10.0.
- Change - Add prop to hide navigation in sidebar: #859
- Change - Remove icon prop from buttons and use css grid: #418
- Enhancement - Add new icons: #858
- Enhancement - Add visibility off icon: #855
-
Change - Add prop to hide navigation in sidebar: #859
We added a prop for the sidebar component to hide the navigation. This is a breaking change, as we removed the internal logic hiding the navigation entirely in favor of the new prop.
-
Change - Remove icon prop from buttons and use css grid: #418
We've removed the prop which was responsible for displaying icons in the button component. To add an icon into the button, it needs to be included in the slot together with the text. We've added css grid into the button to ensure that all child items of the button will have a predefined gutter between them. We've removed all UIKit button styles from the button component.
-
Enhancement - Add new icons: #858
We've added new icons which can be used to symbolise adding new shares, creating links and shared with lists. We've also removed a wrong fill color from visibility off icon.
#858 #864 https://fontawesome.com/icons/share-square?style=solid https://material.io/resources/icons/?search=group&icon=group_add&style=baseline
-
Enhancement - Add visibility off icon: #855
We've added a new icon to represent state when visibility is off. This can be used e.g. when toggling the visibility of a password.
#855 https://material.io/resources/icons/?search=eye&icon=visibility_off&style=baseline
Changelog for 1.9.0 (2020-07-28)
The following sections list the changes in ownCloud Design System 1.9.0.
- Enhancement - Add new variations and sizes of progress bar: #819
-
Enhancement - Add new variations and sizes of progress bar: #819
We've added new variations and sizes of the progress bar component. Variations change the color of the progress bar and can be either
primary
orwarning
. Sizes affect the height of the progress bar where it can be eitherdefault
orsmall
.
Changelog for 1.8.0 (2020-07-03)
The following sections list the changes in ownCloud Design System 1.8.0.
- Change - Use oc-spinner css class in oc-search-bar component: #802
- Enhancement - Show dropdown in autocomplete on focus: #804
- Enhancement - Add lead breadcrumb variation: #806
- Enhancement - Add mainContent slot to the sidebar: #804
- Enhancement - Add move icon: #807
-
Change - Use oc-spinner css class in oc-search-bar component: #802
UiKit spinner is not supporting IE11. The css classes around oc-spinner have been introduces previously and now they are used in the component oc-search-bar as well.
-
Enhancement - Show dropdown in autocomplete on focus: #804
In case the input is focused and it still has a value the dropdown will open
-
Enhancement - Add lead breadcrumb variation: #806
We've added a lead variation to the breadcrumbs. This variation gives large font size to breadcrumb items.
-
Enhancement - Add mainContent slot to the sidebar: #804
We've added slot called mainContent into the sidebar component. This slot replaces the navigation if defined.
-
Enhancement - Add move icon: #807
We've added the material design folder move icon.
Changelog for 1.7.0 (2020-06-17)
The following sections list the changes in ownCloud Design System 1.7.0.
- Enhancement - Bring oC primary brand and interaction colors: #546
- Enhancement - Improve the design of buttons: #784
- Enhancement - Increase the logo clearspace: #786
- Enhancement - Automatically focus modal: #781
- Enhancement - Use Source Sans Pro: #785
-
Enhancement - Bring oC primary brand and interaction colors: #546
We've brought the ownCloud corporate identity brand and interaction colors. The primary brand colour is used as a background in the sidebar. Interaction colours are used in buttons and links.
-
Enhancement - Improve the design of buttons: #784
We've added border-radius to buttons, added shadow to the primary button and adjusted font-weight and padding.
-
Enhancement - Increase the logo clearspace: #786
We've increased the gutter between top corner of the sidebar and the logo. We've also decreased the size of the logo itself.
-
Enhancement - Automatically focus modal: #781
When the modal is mounted, it receives automatically a focus. The focus is sent directly to the modal itself so skipping the wrapping div which works only as a background.
-
Enhancement - Use Source Sans Pro: #785
We've started using Source Sans Pro in the default theme as the font.
Changelog for 1.6.0 (2020-05-26)
The following sections list the changes in ownCloud Design System 1.6.0.
- Bugfix - Made modal position fixed: #769
- Change - Removed change and keydown events from text input: #768
-
Bugfix - Made modal position fixed: #769
We've made the position of modal fixed and added z-index so it is always going to be visible on top of the content.
-
Change - Removed change and keydown events from text input: #768
We've removed change and keydown custom events from text input component. All listeners are passed to the input element so all events are still accessible. Focus and input events are still implemented as custom events.
Changelog for 1.5.0 (2020-05-13)
The following sections list the changes in ownCloud Design System 1.5.0.
- Bugfix - Do not try to emit value after confirming modal if input is missing: #749
- Bugfix - Disable confirm button in the modal component if there is an error: #741
- Bugfix - Use input event instead of keydown in the modal component: #741
- Bugfix - Do not mutate input value prop in the modal directly: #741
- Change - Do not enforce muted color as background of app bar: #750
- Change - Deprecated application menu component: #735
- Enhancement - Created sidebar component: #735
- Enhancement - Created animation section in docs: #735
-
Bugfix - Do not try to emit value after confirming modal if input is missing: #749
Confirming modal resulted in an error if the modal haven't got an input. We've fixed this by not attempting to emit the value if the prop
hasInput
is set to false. -
Bugfix - Disable confirm button in the modal component if there is an error: #741
We've added check to disable confirm button in the modal component in case the input inside of the modal has an error.
-
Bugfix - Use input event instead of keydown in the modal component: #741
We've started using the input event instead of the keydown in the modal component to properly pass the value of the input.
-
Bugfix - Do not mutate input value prop in the modal directly: #741
We've used a local state as a v-model of the input in the modal to avoid direct mutations of the input value property.
-
Change - Do not enforce muted color as background of app bar: #750
We've stopped enforcing the muted color as a background of the app bar.
-
Change - Deprecated application menu component: #735
We've deprecated the application menu component in favor of the sidebar component.
-
Enhancement - Created sidebar component: #735
We've created a sidebar component which is to be used as an in-app navigation and which will contain the branding.
-
Enhancement - Created animation section in docs: #735
We've added an animation section in the documentation to show available animations and how to use them.
Changelog for 1.4.0 (2020-04-29)
The following sections list the changes in ownCloud Design System 1.4.0.
- Enhancement - Extended the modal component with input: #730
-
Enhancement - Extended the modal component with input: #730
We've added an input into the modal component which can be displayed via prop. If the input is displayed, the message gets overridden. The content slot can override the input. In the confirm event is now emitted the value of input.
Changelog for 1.3.0 (2020-04-23)
The following sections list the changes in ownCloud Design System 1.3.0.
- Enhancement - Added the modal component: #723
-
Enhancement - Added the modal component: #723
We've added the modal component together with a basic documentation.
Changelog for 1.2.2 (2020-04-08)
The following sections list the changes in ownCloud Design System 1.2.2.
- Bugfix - Fix oc-autocomplete: #710
-
Bugfix - Fix oc-autocomplete: #710
We fixed a bug in OcAutocomplete which was introduced with the removal of lodash as a dependency.
Changelog for 1.2.1 (2020-04-07)
The following sections list the changes in ownCloud Design System 1.2.1.
- Bugfix - Correct layout of search bar: #706
- Enhancement - Bind attributes and events to input in oc-text-input: #706
-
Bugfix - Correct layout of search bar: #706
We've fixed layout of search bar which was broken after we introduced error message in oc-text-input.
-
Enhancement - Bind attributes and events to input in oc-text-input: #706
We've binded attributes and events to input in oc-text-input so that they are passed properly instead of passing them to the root element.
Changelog for 1.2.0 (2020-03-27)
The following sections list the changes in ownCloud Design System 1.2.0.
- Bugfix - Fixed oc-text-input not appearing in generated docs: #688
- Change - Render error and warning messages in oc-text-input: #689
-
Bugfix - Fixed oc-text-input not appearing in generated docs: #688
The oc-text-input element didn't appear in the generated docs because of a compilation warning.
-
Change - Render error and warning messages in oc-text-input: #689
The oc-text-input element now has properties for rendering a warning or error message below the input field. The input field border receives the respective matching color as well. Also it's possible to reserve a fixed vertical space below the input element, so that an appearing message doesn't break the layout around the input element.
Changelog for 1.1.1 (2020-03-18)
The following sections list the changes in ownCloud Design System 1.1.1.
- Bugfix - Fixed oc-icon to reload image when url changes: #681
-
Bugfix - Fixed oc-icon to reload image when url changes: #681
The oc-icon component will now reload its image whenever the url property has been modified
Changelog for 1.1.0 (2020-03-17)
The following sections list the changes in ownCloud Design System 1.1.0.
- Bugfix - Made scrollbar styles consistent: #660
- Bugfix - Removed width class from sidebar menu: #668
- Enhancement - Added iconUrl to oc-file element: #678
-
Bugfix - Made scrollbar styles consistent: #660
Scrollbar styles are now more consistent between Chrome and Firefox.
-
Bugfix - Removed width class from sidebar menu: #668
There were different values for width of the sidebar menu and it's left position when hidden. We've removed the width class so that the width and left position are the same and the sidebar menu is no more overlapping when it's state is hidden.
-
Enhancement - Added iconUrl to oc-file element: #678
The oc-file element now supports passing an arbitrary URL to be displayed as a file thumbnail. It will fall back to the icon name in case the thumbnail could not be loaded.
Changelog for 1.0.4 (2020-02-26)
The following sections list the changes in ownCloud Design System 1.0.4.
- Bugfix - Removed size for oc-button with raw variation: #654
-
Bugfix - Removed size for oc-button with raw variation: #654
Raw variation of buttons have no border, so they now also don't have a size enforced to avoid needless white space.
Changelog for 1.0.3 (2020-02-25)
The following sections list the changes in ownCloud Design System 1.0.3.
- Bugfix - Removed uppercase on buttons: #442
-
Bugfix - Removed uppercase on buttons: #442
Buttons look nicer without the uppercase which was brought in by default by UIKit.
Changelog for 1.0.2 (2020-02-24)
The following sections list the changes in ownCloud Design System 1.0.2.
- Change - Small sidebar navigation design improvements: #583
-
Change - Small sidebar navigation design improvements: #583
We've changed the padding of sidebar nav to small and removed text transformation to uppercase.
Changelog for 1.0.1 (2020-01-30)
The following sections list the changes in ownCloud Design System 1.0.1.
- Enhancement - Initial release: #10
-
Enhancement - Initial release: #10
We created the ownCloud Design System to provide developers with well documents and reusable vue.js components.
-