Skip to content

Releases: vmware-clarity/ng-clarity

v13.14.3

08 Mar 17:52
Compare
Choose a tag to compare

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

28 Feb 21:14
Compare
Choose a tag to compare

15.0.1 (2023-02-28)

Bug Fixes

  • datagrid: disable row checkbox/radio button in Angular v15 (95ebfb4), closes #520
  • datagrid: resolve manage columns and popover shim color issues (c62e9b3)
  • datagrid: show "not allowed" cursor in disabled selection cell (6479e36)
  • include minified cds-core shim in @clr/ui package (a21fe72)

v13.14.2

28 Feb 20:59
Compare
Choose a tag to compare

13.14.2 (2023-02-28)

Bug Fixes

  • datagrid: disable row checkbox/radio button in Angular v15 (e22219e), closes #520
  • datagrid: resolve manage columns and popover shim color issues (86339ac)
  • datagrid: show "not allowed" cursor in disabled selection cell (b9f4204)
  • include minified cds-core shim in @clr/ui package (b24f0bb)

v15.0.0

21 Feb 17:58
Compare
Choose a tag to compare

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 from ClrCommonStrings (d931a9c)
  • datagrid: remove deprecated sorting properties (6af3832)
  • datagrid: rename closeCheck method close (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 from clrDropdownItem (3346573)
  • modal: remove ClrFocusOnViewInitModule from ModalModule (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 and posinset 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 with stepnav 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 exports ClrFocusOnViewInitModule.
  • 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. Use datepickerToggleChooseDateLabel and datepickerToggleChangeDateLabel instead.
  • datagrid: The closeCheck method on ClrDatagridDetail has been renamed to close.
  • 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:
    • The ClrForTypeAhead directive and the ClrForTypeAheadModule have been removed.
    • If you are importing the ClrForTypeAheadModule, you can just remove it.
    • If you are using the ClrForTypeAhead directive class, you will need to adjust your code.
    • The clrForTypeAhead input will still work on clr-tree-node elements.
    • If your tree nodes have non-visible text (e.g. screen reader text), you will likely need to set the clrForTypeAhead input to just the visible text for the letter key navigation to work properly.
  • dropdown: Use clrDisabled instead of disabled to disable a clrDropdownItem.
  • stepper: The stepper will no longer announce error states. Applications can use `LiveAnnoun...
Read more

v13.14.1

21 Feb 16:17
Compare
Choose a tag to compare

13.14.1 (2023-02-21)

Bug Fixes

  • datagrid: apply type guard to *clrDgItems context (8c88712)

v15.0.0-rc.2

13 Feb 23:48
Compare
Choose a tag to compare
v15.0.0-rc.2 Pre-release
Pre-release

15.0.0-rc.2 (2023-02-13)

Bug Fixes

  • forms: update validation with onpush strategy components (7dbaabd), closes #476

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

13 Feb 22:51
Compare
Choose a tag to compare

13.14.0 (2023-02-13)

Bug Fixes

  • forms: update validation with onpush strategy components (7dbaabd), closes #476

Features

  • widen peer dependencies to allow Angular v15 (8da4b99)

Reverts

  • Revert "fix(vertical-nav): add aria list structure to vertical nav links" (f1a6680)

v15.0.0-rc.1

06 Feb 16:13
Compare
Choose a tag to compare
v15.0.0-rc.1 Pre-release
Pre-release

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 from ClrCommonStrings (d931a9c)
  • datagrid: remove deprecated sorting properties (6af3832)
  • datagrid: rename closeCheck method close (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 from clrDropdownItem (3346573)
  • modal: remove ClrFocusOnViewInitModule from ModalModule (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 and posinset 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 and selectAll common strings must be used translate the datagrid column toggle title and select all button text. The clr-dg-column-toggle-title and clr-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 with stepnav 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 exports ClrFocusOnViewInitModule.
  • 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. Use datepickerToggleChooseDateLabel and datepickerToggleChangeDateLabel instead.
  • datagrid: The closeCheck method on ClrDatagridDetail has been renamed to close.
  • 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:
    • The ClrForTypeAhead directive and the ClrForTypeAheadModule have been removed.
    • If you are importing the ClrForTypeAheadModule, you can just remove it.
    • If you are using the ClrForTypeAhead directive class, you will need to adjust your code.
    • The clrForTypeAhead input will still work on clr-tree-node elements.
    • If your tree nodes have non-visible text (e.g. screen reader text), you will likely need to set the...
Read more

v15.0.0-beta.7

06 Feb 15:42
Compare
Choose a tag to compare
v15.0.0-beta.7 Pre-release
Pre-release

15.0.0-beta.7 (2023-02-06)

Bug Fixes

  • combobox: do not prefilter when first opened (e84886a), closes #386

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 and selectAll common strings must be used translate the datagrid column toggle title and select all button text. The clr-dg-column-toggle-title and clr-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 with stepnav 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.

v13.13.0

06 Feb 15:03
Compare
Choose a tag to compare

13.13.0 (2023-02-06)

Features