Releases: vmware-clarity/ng-clarity
Releases · vmware-clarity/ng-clarity
v13.14.3
13.14.3 (2023-03-08)
Bug Fixes
- button: add mapping of warning button to danger styles (5b2fd1c)
- datagrid: add workaround to enable
clrDgSelectable
with*ngFor
(ccda8c1), closes #157 - datagrid: prevent "manage columns" from making rows selectable (a84ce08), closes #475 #503
- datagrid: set non-selectable multi select rows to disabled on initial render (8ecc2bf)
- datepicker: add title to next month icon to align with other icons (a402512)
v15.0.1
15.0.1 (2023-02-28)
Bug Fixes
v13.14.2
13.14.2 (2023-02-28)
Bug Fixes
v15.0.0
15.0.0 (2023-02-21)
Bug Fixes
- close only last-opened modal/detail pane when escape key is pressed (5e70321)
- close only nested popover when escape key is pressed (28918d2), closes #314
- combobox: do not prefilter when first opened (e84886a), closes #386
- datagrid: focus detail pane header when opened (2435902)
- datagrid: pagination input should only change page on enter (aab576a)
- modal: capture and return focus (7c811ae)
- modal: focus modal title when modal opened (25b2354)
- modal: prevent scrolling content under modal when tabbing (78e47f2)
- prevent error on destroy in
StopEscapePropagationDirective
(0b12a10) - tree-view: associate tree node content with checkbox as label (6a24e3d)
- vertical-nav: remove
aria-label
from vertical nav group buttons (e6884d7) - wizard: restore wizard sidenav scss variables (8585ae6)
Features
- datagrid: automatically associate page size label (e50a118)
- datagrid: remove
dategrid*
properties fromClrCommonStrings
(d931a9c) - datagrid: remove deprecated sorting properties (6af3832)
- datagrid: rename
closeCheck
methodclose
(7dc50d9) - datagrid: rename css custom properties to add "color" suffix (e7ace9b)
- datagrid: require using common strings to translate column toggle (45ef6d1)
- datagrid: use
DragDropModule
from@angular/cdk
(3f93d4c) - dropdown: remove
disabled
attribute fromclrDropdownItem
(3346573) - modal: remove
ClrFocusOnViewInitModule
fromModalModule
(7caa4e8) - remove
ClrDragAndDropModule
in favor of@angular/cdk
(b0f7ba6) - remove
clrFocusTrap
in favor of@angular/cdk
(c3cabf0) - remove
datepickerToggle
fallback common string property (2d2c6ea) - remove deprecated
ClrAriaLiveService
in favor of@angular/cdk
(893e306) - remove deprecated, unused
$clr-monoFont
scss variable (3498379) - require Angular 15 (f25922d)
- shim: remove leftover mappings for sidenav colors (87a0d0b)
- sidenav: remove deprecated sidenav in favor of verical nav (5465f80), closes #316
- stack-view: remove dead stack view
setsize
andposinset
inputs (5f37608) - stack-view: remove undocumented experimental edit mode (aab7d82)
- stepper: remove
aria-live
announcement for error state (3250027) - tree-view: enable "type ahead"/letter key navigation by default (46e663c)
- use
cdkTrapFocus
directive from@angular/cdk
(4828c5c) - wizard: remove deprecated, undocumented inline wizard mode (7470769)
- wizard: rename "sidenav" css custom properties to "stepnav" (c8d4d5c)
- wizard: rename css custom properties to remove ambiguity (0977648)
- wizard: rename css custom property to use kebab casing (0e85c0a)
BREAKING CHANGES
- wizard: There were css custom properties for the wizard that used "sidenav" in the name. This is inconsistent with the rest of the code which uses "stepnav" for the wizard nav element, so
sidenav
was replaced withstepnav
in all such variables. The same renames were made for the scss variables (prefixed with$
). - wizard: There were two similarly css custom properties that had basically the same name (one with a dash and one without). The following renames have been made:
--clr-wizard-stepnav-border-color
->--clr-wizard-stepnav-item-border-color
--clr-wizard-stepnav-border-color--active
->--clr-wizard-stepnav-item-border-color--active
--clr-wizard-step-nav-border-color
->--clr-wizard-stepnav-border-color
The same renames were made for the scss variables (prefixed with$
). - wizard: One css custom property was renamed to correctly use kebab casing for consistency:
--clr-wizard-main-textColor
->--clr-wizard-main-text-color
The same rename was made for the scss variable (prefixed with$
). - datagrid: Two css custom properties were renamed to add the missing "color" suffix:
--clr-datagrid-row-hover
->--clr-datagrid-row-hover-color
--clr-datagrid-action-toggle
->--clr-datagrid-action-toggle-color
The same renames were made for the scss variables (prefixed with$
). - combobox: the combobox list is no longer prefiltered on first dialog open, but shows all options.
- The unused
$clr-monoFont
scss variable has been removed. - If you application handles a bubbled escape
keyup
event from a nested popover, that event will not reach your event handler anymore because this fix involves stopping propagation of such events. - modal: The
ModalModule
no longer exportsClrFocusOnViewInitModule
. - tree-view: The internal DOM structure of the tree node component has been changed. The
.clr-treenode-content
element is no longer rendered for selectable tree nodes; instead, the tree node content is rendered inside the checkbox's label element. - The
datepickerToggle
common string property was removed. UsedatepickerToggleChooseDateLabel
anddatepickerToggleChangeDateLabel
instead. - datagrid: The
closeCheck
method onClrDatagridDetail
has been renamed toclose
. - datagrid: Any page size
label
workarounds should be removed. - datagrid:
• The pagination input will only change the current page on enter keypress.
• The pagination input will resets the input value to the actual current page on blur. - tree-view:
• TheClrForTypeAhead
directive and theClrForTypeAheadModule
have been removed.
• If you are importing theClrForTypeAheadModule
, you can just remove it.
• If you are using theClrForTypeAhead
directive class, you will need to adjust your code.
• TheclrForTypeAhead
input will still work onclr-tree-node
elements.
• If your tree nodes have non-visible text (e.g. screen reader text), you will likely need to set theclrForTypeAhead
input to just the visible text for the letter key navigation to work properly. - dropdown: Use
clrDisabled
instead ofdisabled
to disable aclrDropdownItem
. - stepper: The stepper will no longer announce error states. Applications can use `LiveAnnoun...
v13.14.1
v15.0.0-rc.2
15.0.0-rc.2 (2023-02-13)
Bug Fixes
Features
- widen peer dependencies to allow Angular v15 (8da4b99)
Reverts
- Revert "fix(vertical-nav): add aria list structure to vertical nav links" (f1a6680)
v13.14.0
v15.0.0-rc.1
15.0.0-rc.1 (2023-02-06)
Bug Fixes
- close only last-opened modal/detail pane when escape key is pressed (5e70321)
- close only nested popover when escape key is pressed (28918d2), closes #314
- combobox: do not prefilter when first opened (e84886a), closes #386
- datagrid: focus detail pane header when opened (2435902)
- datagrid: pagination input should only change page on enter (aab576a)
- modal: capture and return focus (7c811ae)
- modal: focus modal title when modal opened (25b2354)
- modal: prevent scrolling content under modal when tabbing (78e47f2)
- prevent error on destroy in
StopEscapePropagationDirective
(0b12a10) - tree-view: associate tree node content with checkbox as label (6a24e3d)
- vertical-nav: remove
aria-label
from vertical nav group buttons (e6884d7) - wizard: restore wizard sidenav scss variables (8585ae6)
Features
- datagrid: automatically associate page size label (e50a118)
- datagrid: remove
dategrid*
properties fromClrCommonStrings
(d931a9c) - datagrid: remove deprecated sorting properties (6af3832)
- datagrid: rename
closeCheck
methodclose
(7dc50d9) - datagrid: rename css custom properties to add "color" suffix (e7ace9b)
- datagrid: require using common strings to translate column toggle (45ef6d1)
- datagrid: use
DragDropModule
from@angular/cdk
(3f93d4c) - dropdown: remove
disabled
attribute fromclrDropdownItem
(3346573) - modal: remove
ClrFocusOnViewInitModule
fromModalModule
(7caa4e8) - remove
ClrDragAndDropModule
in favor of@angular/cdk
(b0f7ba6) - remove
clrFocusTrap
in favor of@angular/cdk
(c3cabf0) - remove
datepickerToggle
fallback common string property (2d2c6ea) - remove deprecated
ClrAriaLiveService
in favor of@angular/cdk
(893e306) - remove deprecated, unused
$clr-monoFont
scss variable (3498379) - require Angular 15 (f25922d)
- shim: remove leftover mappings for sidenav colors (87a0d0b)
- sidenav: remove deprecated sidenav in favor of verical nav (5465f80), closes #316
- stack-view: remove dead stack view
setsize
andposinset
inputs (5f37608) - stack-view: remove undocumented experimental edit mode (aab7d82)
- stepper: remove
aria-live
announcement for error state (3250027) - tree-view: enable "type ahead"/letter key navigation by default (46e663c)
- use
cdkTrapFocus
directive from@angular/cdk
(4828c5c) - wizard: remove deprecated, undocumented inline wizard mode (7470769)
- wizard: rename "sidenav" css custom properties to "stepnav" (c8d4d5c)
- wizard: rename css custom properties to remove ambiguity (0977648)
- wizard: rename css custom property to use kebab casing (0e85c0a)
BREAKING CHANGES
- datagrid: The
showColumns
andselectAll
common strings must be used translate the datagrid column toggle title and select all button text. Theclr-dg-column-toggle-title
andclr-dg-column-toggle-button
components were deprecated and now can no longer be used. - wizard: There were css custom properties for the wizard that used "sidenav" in the name. This is inconsistent with the rest of the code which uses "stepnav" for the wizard nav element, so
sidenav
was replaced withstepnav
in all such variables. The same renames were made for the scss variables (prefixed with$
). - wizard: There were two similarly css custom properties that had basically the same name (one with a dash and one without). The following renames have been made:
--clr-wizard-stepnav-border-color
->--clr-wizard-stepnav-item-border-color
--clr-wizard-stepnav-border-color--active
->--clr-wizard-stepnav-item-border-color--active
--clr-wizard-step-nav-border-color
->--clr-wizard-stepnav-border-color
The same renames were made for the scss variables (prefixed with$
). - wizard: One css custom property was renamed to correctly use kebab casing for consistency:
--clr-wizard-main-textColor
->--clr-wizard-main-text-color
The same rename was made for the scss variable (prefixed with$
). - datagrid: Two css custom properties were renamed to add the missing "color" suffix:
--clr-datagrid-row-hover
->--clr-datagrid-row-hover-color
--clr-datagrid-action-toggle
->--clr-datagrid-action-toggle-color
The same renames were made for the scss variables (prefixed with$
). - combobox: the combobox list is no longer prefiltered on first dialog open, but shows all options.
- The unused
$clr-monoFont
scss variable has been removed. - If you application handles a bubbled escape
keyup
event from a nested popover, that event will not reach your event handler anymore because this fix involves stopping propagation of such events. - modal: The
ModalModule
no longer exportsClrFocusOnViewInitModule
. - tree-view: The internal DOM structure of the tree node component has been changed. The
.clr-treenode-content
element is no longer rendered for selectable tree nodes; instead, the tree node content is rendered inside the checkbox's label element. - The
datepickerToggle
common string property was removed. UsedatepickerToggleChooseDateLabel
anddatepickerToggleChangeDateLabel
instead. - datagrid: The
closeCheck
method onClrDatagridDetail
has been renamed toclose
. - datagrid: Any page size
label
workarounds should be removed. - datagrid:
• The pagination input will only change the current page on enter keypress.
• The pagination input will resets the input value to the actual current page on blur. - tree-view:
• TheClrForTypeAhead
directive and theClrForTypeAheadModule
have been removed.
• If you are importing theClrForTypeAheadModule
, you can just remove it.
• If you are using theClrForTypeAhead
directive class, you will need to adjust your code.
• TheclrForTypeAhead
input will still work onclr-tree-node
elements.
• If your tree nodes have non-visible text (e.g. screen reader text), you will likely need to set the...
v15.0.0-beta.7
15.0.0-beta.7 (2023-02-06)
Bug Fixes
Features
- add
@cds/core
shim (c7c51e5) - datagrid: rename css custom properties to add "color" suffix (e7ace9b)
- datagrid: require using common strings to translate column toggle (45ef6d1)
- shim: remove leftover mappings for sidenav colors (87a0d0b)
- wizard: rename "sidenav" css custom properties to "stepnav" (c8d4d5c)
- wizard: rename css custom properties to remove ambiguity (0977648)
- wizard: rename css custom property to use kebab casing (0e85c0a)
BREAKING CHANGES
- datagrid: The
showColumns
andselectAll
common strings must be used translate the datagrid column toggle title and select all button text. Theclr-dg-column-toggle-title
andclr-dg-column-toggle-button
components were deprecated and now can no longer be used. - wizard: There were css custom properties for the wizard that used "sidenav" in the name. This is inconsistent with the rest of the code which uses "stepnav" for the wizard nav element, so
sidenav
was replaced withstepnav
in all such variables. The same renames were made for the scss variables (prefixed with$
). - wizard: There were two similarly css custom properties that had basically the same name (one with a dash and one without). The following renames have been made:
--clr-wizard-stepnav-border-color
->--clr-wizard-stepnav-item-border-color
--clr-wizard-stepnav-border-color--active
->--clr-wizard-stepnav-item-border-color--active
--clr-wizard-step-nav-border-color
->--clr-wizard-stepnav-border-color
The same renames were made for the scss variables (prefixed with$
). - wizard: One css custom property was renamed to correctly use kebab casing for consistency:
--clr-wizard-main-textColor
->--clr-wizard-main-text-color
The same rename was made for the scss variable (prefixed with$
). - datagrid: Two css custom properties were renamed to add the missing "color" suffix:
--clr-datagrid-row-hover
->--clr-datagrid-row-hover-color
--clr-datagrid-action-toggle
->--clr-datagrid-action-toggle-color
The same renames were made for the scss variables (prefixed with$
). - combobox: the combobox list is no longer prefiltered on first dialog open, but shows all options.