diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b82f6c5259..9ec5ba29eb9 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,22 @@ # Changelog +## [17.4.0](https://github.com/primefaces/primeng/tree/17.4.0) (2024-01-24) + +[Full Changelog](https://github.com/primefaces/primeng/compare/17.3.3...17.4.0) + +**Implemented New Features and Enhancements:** +- MultiSelect: selectedItemsLabel is not localized [\#14554](https://github.com/primefaces/primeng/issues/14554) + +**Fixed bugs:** +- p-columnFilter: Missing icons to the table column filter dialog [\#14613](https://github.com/primefaces/primeng/issues/14613) +- p-multiselect: Displaying the multiselect options dialog causes page to horizontally scroll [\#14611](https://github.com/primefaces/primeng/issues/14611) +- p-calendar: Doesn't close on date selection in range mode [\#14558](https://github.com/primefaces/primeng/issues/14558) +- ConfirmPopup arror right side rendering defect [\#14557](https://github.com/primefaces/primeng/issues/14557) +- Dropdown: can't select input with Shift + Home / Shift + End [\#14540](https://github.com/primefaces/primeng/issues/14540) +- TreeTable: StyleClass wont apply [\#14559](https://github.com/primefaces/primeng/issues/14559) +- p-dropdown: optionValue is not working when object has property 'group' [\#14516](https://github.com/primefaces/primeng/issues/14516) +- Table pSelectableRow: cannot type space into an pInputText component [\#14531](https://github.com/primefaces/primeng/issues/14531) +- p-dropdown: Cannot clear dropdown programmatically [\#14544](https://github.com/primefaces/primeng/issues/14544) + ## [17.3.3](https://github.com/primefaces/primeng/tree/17.3.3) (2024-01-18) [Full Changelog](https://github.com/primefaces/primeng/compare/17.3.2...17.3.3) @@ -200,6 +218,18 @@ - TypeError: this.focusedItemInfo.mutate is not a function [\#14119](https://github.com/primefaces/primeng/issues/14119) - Upgrade to Angular 17? [\#14063](https://github.com/primefaces/primeng/issues/14063) +## ![LTS](https://www.primefaces.org/wp-content/uploads/2020/01/lts-icon-24.png "PrimeNG LTS") [16.9.4-LTS](https://www.npmjs.com/package/primeng/v/16.9.4-lts) (2024-01-19) + +**Fixed bugs:** +- Table Virtual Scroll with Fixed Columns and Lazy Loading Causes Erratic Scrolling and Incomplete Data Display [\#14488](https://github.com/primefaces/primeng/issues/14488) +- TreeTable with scrollHeight="flex" shrinks the header as the table rows are expanded. [\#14523](https://github.com/primefaces/primeng/issues/14523) +- GalleriaThumbnail afterViewInit use platformBrowser instead of isPlatformBrowser. [\#14534](https://github.com/primefaces/primeng/issues/14534) +- Autocomplete: focus not being applied when clicking around input [\#14530](https://github.com/primefaces/primeng/issues/14530) +- Button | StyleClass does not work as expected [\#14583](https://github.com/primefaces/primeng/issues/14583) +- MegaMenu | Error: Cannot read properties of undefined [\#14476](https://github.com/primefaces/primeng/issues/14476) +- Table: Apply and Clear text buttons for filter menu are missing [\#14289](https://github.com/primefaces/primeng/issues/14289) +- Dropdown: Infinite loop dynamic options array [\#14319](https://github.com/primefaces/primeng/issues/14319) + ## ![LTS](https://www.primefaces.org/wp-content/uploads/2020/01/lts-icon-24.png "PrimeNG LTS") [16.9.3-LTS](https://www.npmjs.com/package/primeng/v/16.9.3-lts) (2023-12-28) **Fixed bugs:** @@ -735,6 +765,16 @@ - Checkbox in p-treeNode always checked when using custom icon [\#12951](https://github.com/primefaces/primeng/issues/12951) - ConfirmDialog: Duplicated AcceptIcons [\#13001](https://github.com/primefaces/primeng/issues/13001) +## ![LTS](https://www.primefaces.org/wp-content/uploads/2020/01/lts-icon-24.png "PrimeNG LTS") [15.4.15-LTS](https://www.npmjs.com/package/primeng/v/15.4.15-lts) (2024-01-19) + +**Fixed bugs:** +- TreeTable with scrollHeight="flex" shrinks the header as the table rows are expanded. [\#14523](https://github.com/primefaces/primeng/issues/14523) +- GalleriaThumbnail afterViewInit use platformBrowser instead of isPlatformBrowser [\#14534](https://github.com/primefaces/primeng/issues/14534) +- Table Virtual Scroll with Fixed Columns and Lazy Loading Causes Erratic Scrolling and Incomplete Data Display [\#14488](https://github.com/primefaces/primeng/issues/14488) +- Autocomplete: focus not being applied when clicking around input [\#14530](https://github.com/primefaces/primeng/issues/14530) +- Button | StyleClass does not work as expected [\#14583](https://github.com/primefaces/primeng/issues/14583) + + ## ![LTS](https://www.primefaces.org/wp-content/uploads/2020/01/lts-icon-24.png "PrimeNG LTS") [15.4.14-LTS](https://www.npmjs.com/package/primeng/v/15.4.14-lts) (2023-12-14) **Fixed bugs:** diff --git a/package.json b/package.json index 46d48561e5a..9012fc60b3a 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "primeng", - "version": "17.3.3", + "version": "17.4.0", "license": "SEE LICENSE IN LICENSE.md", "scripts": { "ng": "ng", diff --git a/src/app/components/api/translationkeys.ts b/src/app/components/api/translationkeys.ts index 6472681e872..2c93a0ea02e 100644 --- a/src/app/components/api/translationkeys.ts +++ b/src/app/components/api/translationkeys.ts @@ -43,4 +43,5 @@ export class TranslationKeys { public static readonly EMPTY_FILTER_MESSAGE = 'emptyFilterMessage'; public static readonly SHOW_FILTER_MENU = 'Show Filter Menu'; public static readonly HIDE_FILTER_MENU = 'Hide Filter Menu'; + public static readonly SELECTION_MESSAGE = '{0} items selected'; } diff --git a/src/app/components/button/button.ts b/src/app/components/button/button.ts index 788b90f7bc3..196fba84d5d 100755 --- a/src/app/components/button/button.ts +++ b/src/app/components/button/button.ts @@ -411,6 +411,8 @@ export class Button implements AfterContentInit { @ContentChildren(PrimeTemplate) templates: QueryList | undefined; + constructor(public el: ElementRef) {} + spinnerIconClass(): string { return Object.entries(this.iconClass()) .filter(([, value]) => !!value) diff --git a/src/app/components/calendar/calendar.ts b/src/app/components/calendar/calendar.ts index ddca239abed..ab17a72b3e3 100755 --- a/src/app/components/calendar/calendar.ts +++ b/src/app/components/calendar/calendar.ts @@ -1486,7 +1486,7 @@ export class Calendar implements OnInit, OnDestroy, ControlValueAccessor { } } - if (this.isSingleSelection() && this.hideOnDateTimeSelect) { + if ((this.isSingleSelection() && this.hideOnDateTimeSelect) || (this.isRangeSelection() && this.value[1])) { setTimeout(() => { event.preventDefault(); this.hideOverlay(); diff --git a/src/app/components/dropdown/dropdown.ts b/src/app/components/dropdown/dropdown.ts index 8ccd5efece9..c1bd64f3bf7 100755 --- a/src/app/components/dropdown/dropdown.ts +++ b/src/app/components/dropdown/dropdown.ts @@ -268,13 +268,13 @@ export class DropdownItem {