Commit Graph

1396 Commits (81b1e8bd83200da2cfba6181a74050ba7650e111)

Author SHA1 Message Date
Tuğçe Küçükoğlu aeaf46189b
Merge pull request #7299 from J-Michalek/fix/multi-select-filter-and-option-focus
fix(multi-select): autoFilterFocus and autoOptionFocus working together
2025-03-04 15:37:44 +03:00
tugcekucukoglu 4866db7969 Merge branch 'master' of https://github.com/primefaces/primevue 2025-03-04 14:59:38 +03:00
Tuğçe Küçükoğlu ab9571ab0a
Merge pull request #7314 from qburst/fix--7306
fix: add name attribute in select
2025-03-04 14:59:21 +03:00
Rasmus 364f0b855d
Merge branch 'primefaces:master' into master 2025-03-04 13:59:14 +02:00
tugcekucukoglu 32626f1778 Refactor 2025-03-04 14:46:41 +03:00
Tuğçe Küçükoğlu d89df55691
Merge pull request #7319 from ekh-anadeainc/fix/gallery-item-navigators
fix: galleria item navigators disable state
2025-03-04 14:46:15 +03:00
tugcekucukoglu 4c3203b0e0 Refactor code 2025-03-04 14:42:27 +03:00
Tuğçe Küçükoğlu 06812556e1
Merge pull request #7357 from Winter979/fix-select-button-allow-empty-with-multiple
make allowEmpty compatible with multiple on SelectButton
2025-03-04 14:41:41 +03:00
Cagatay Civici fbdf551bac Add base button and demos 2025-03-04 14:17:02 +03:00
Tuğçe Küçükoğlu c5b58f2b51
Merge pull request #7326 from rgrosjean/fix/icon_button_without_label
Button with icon onyl - Rollback change from #7123
2025-03-04 12:44:32 +03:00
tugcekucukoglu b3798724ce Remove console log 2025-03-04 12:36:02 +03:00
Tuğçe Küçükoğlu ebc9217efa
Merge pull request #7362 from sivareddyuppathi/select-overlay-fix
fix: #7360 - Select: style error when resize window
2025-03-04 12:35:21 +03:00
tugcekucukoglu 2911768e82 Fixed #7364 - Select: unexpected horizontal scroll 2025-03-04 11:09:12 +03:00
GitHub Actions Bot d55109551c Update API doc 2025-03-04 07:05:22 +00:00
tugcekucukoglu c0441ef4ea Button type definition updates 2025-03-04 10:04:33 +03:00
tugcekucukoglu 11681f14cf Fixed #6788 2025-03-04 09:59:59 +03:00
Cagatay Civici 8d7f1416d5 Implemented ProgressBar 2025-03-03 23:23:53 +03:00
Cagatay Civici 6744594399 Implemented Skeleton for Volt 2025-03-03 22:54:07 +03:00
Reddy Uppathi cc7ccb8495 fix: #7360 - Select: style error when resize window 2025-03-04 01:15:11 +05:30
Cagatay Civici 04c1f6bd8b Merge branch 'master' of https://github.com/primefaces/primevue 2025-03-03 22:39:01 +03:00
Cagatay Civici 7e5e5f6650 Implemented Avatar 2025-03-03 22:38:57 +03:00
tugcekucukoglu b51eca6679 Fixed #7361 - Rating: add focus-visible after clicked and then shift-tab 2025-03-03 20:27:25 +03:00
tugcekucukoglu 26bd526305 Format code 2025-03-03 18:44:27 +03:00
Cagatay Civici 69ebbb02cf Implemented Chip 2025-03-03 17:59:38 +03:00
Cagatay Civici a40075764e Implemented InputNumber 2025-03-03 16:56:28 +03:00
Cagatay Civici 4f15aba565 Implemented Rating 2025-03-03 14:00:23 +03:00
Jonathon b88f80b0f5 make allowEmpty compatible with multiple on SelectButton 2025-03-03 15:38:01 +08:00
Cagatay Civici 53ce61a637 Implemented RadioButton 2025-03-02 01:12:11 +03:00
Cagatay Civici 18848a9803 Implemented Checkbox 2025-03-02 00:47:51 +03:00
Cagatay Civici e21ab4a480 Implemented SelectButton 2025-03-02 00:04:47 +03:00
Cagatay Civici fbce6895bb Implemented ToggleButton 2025-03-01 23:47:05 +03:00
Cagatay Civici ee0e002e26 Implemented Timeline 2025-03-01 22:45:40 +03:00
Cagatay Civici b846d84214 Implemented ToggleSwitch 2025-03-01 19:44:31 +03:00
Cagatay Civici 4907ed932e Cleanup unused props, fixed import 2025-03-01 17:45:34 +03:00
Cagatay Civici fb5fa733fc Implemented Slider 2025-03-01 17:43:15 +03:00
Cagatay Civici b1466fd7cd Implemented PlexTextarea 2025-03-01 17:01:54 +03:00
Cagatay Civici 443fd41198 Use cn for data-p 2025-03-01 16:43:27 +03:00
Cagatay Civici 94fe4e59a7 Add filled variant support 2025-03-01 15:43:07 +03:00
Akif Ayçiçek c5a2863ce2
fix(DataTable): #7335
When `groupRowsBy` is set to `rowspan` and row expansion is enabled, the last rows in a group would shift left. This was caused by the hidden columns defined in `groupRowsBy`. The issue became more noticeable as more rows were expanded. This fix ensures consistent table layout regardless of row expansion.
2025-03-01 02:13:19 +03:00
Cagatay Civici b7c4b443b0 Initiate Plex 2025-03-01 01:59:25 +03:00
tugcekucukoglu 3584b7c456 Type definition path correction 2025-02-28 15:14:58 +03:00
Mert Sincan 9462acb06e refactor: update nuxt version and nuxt-module 2025-02-28 11:32:34 +00:00
Jochen Hörmann 361e78c395 Make message detail optional in toast message 2025-02-26 17:59:56 +01:00
Romain Grosjean 7b6be96e60 Rollback change from #7123 2025-02-25 20:26:51 +01:00
Cagatay Civici 8866b60211 Merge branch 'master' of https://github.com/primefaces/primevue 2025-02-25 13:12:48 +03:00
Cagatay Civici 2639193d3b Use asChild for custom components, no need for to in d.ts in this case. 2025-02-25 13:12:40 +03:00
GitHub Actions Bot 3b85db5603 Code Format 2025-02-25 08:21:46 +00:00
tugcekucukoglu 8bc70ef1fd Released 4.3.1 2025-02-25 11:20:47 +03:00
tugcekucukoglu c0d66b8623 Fixed #7318 2025-02-25 11:08:32 +03:00
tugcekucukoglu f059452da6 Fixed #7317 2025-02-25 11:06:54 +03:00
tugcekucukoglu 4991b82e00 Fixed #7316 2025-02-25 11:05:59 +03:00
ekh 7df1f9ee21 fix: galleria item navigator disable state 2025-02-25 12:04:25 +04:00
Rasmus 2e61789e4d Enhance AutoComplete keyboard interaction for Space key
- Add dedicated handler for Space key press in AutoComplete
- Trigger selection on Space key when a focused option exists
- Maintain existing Enter key behavior for option selection
2025-02-25 09:16:30 +02:00
navedqb c5a0156585
pass name attribute in select 2025-02-25 11:22:03 +05:30
GitHub Actions Bot c11b13cf10 Code Format 2025-02-24 14:04:29 +00:00
tugcekucukoglu 32fc6a9d97 Summary updates 2025-02-24 17:03:26 +03:00
J-Michalek a0e68a619b fix(multi-select): autoFilterFocus and autoOptionFocus working together 2025-02-22 07:19:42 +01:00
Aditya Chandra 2e1442aca9 Merge branch 'master' into fix/editor-losing-focus-in-tab-panel 2025-02-21 16:53:30 +07:00
GitHub Actions Bot e4e5100b52 Code Format 2025-02-20 20:51:25 +00:00
Cagatay Civici 3832b2d9d7 Release 4.3.0-rc.1 2025-02-20 23:50:22 +03:00
Valentin 1293efcf37
Cache hue value locally on ColorPicker
Signed-off-by: Valentin <valentin@waldeck.dev>
2025-02-20 21:49:14 +01:00
tugcekucukoglu c2dec9919e Fixed #7257 - Slider yields float values when not dragging handles beforehand 2025-02-20 15:22:18 +03:00
tugcekucukoglu 5894fa3a6d Fixed #7141 2025-02-20 14:48:54 +03:00
tugcekucukoglu 34e6fe0655 Fixed #7246 - CascadeSelect breaks when modelValue doesn't exist in the options 2025-02-20 12:22:23 +03:00
tugcekucukoglu 44064c5e5c Refactor #7062 2025-02-20 11:13:20 +03:00
Tuğçe Küçükoğlu 73bfa103ae
Merge pull request #7282 from J-Michalek/fix/select-filter-and-option-focus
fix(select): autoFilterFocus and autoOptionFocus working together
2025-02-20 10:39:15 +03:00
Jakub Michálek 6d8aa45167 fix(select): auto focus option in autoUpdateModel
This makes sure that the first option gets focused
after the select is open and also if the options are changes
in cases where the options are being loaded and passed
to the select at a later point.
2025-02-20 06:00:47 +01:00
J-Michalek d71183fcc4 fix(select): autoFilterFocus and autoOptionFocus working together 2025-02-19 19:44:42 +01:00
Tuğçe Küçükoğlu bdf5ac3b5b
Merge pull request #7157 from strubix/french-input-number
feat(InputNumber): French keyboard decimal support
2025-02-19 15:56:29 +03:00
Tuğçe Küçükoğlu 840180afee
Merge pull request #7247 from FloEdelmann/patch-2
fix: allow partial filter button props in DataTable
2025-02-19 15:25:23 +03:00
Tuğçe Küçükoğlu 39ab3d65db
Merge pull request #7226 from henrynguyen7/patch-1
Fix multi-row range selection on lazily paginated multi-selection Datatable (#7227)
2025-02-19 15:08:06 +03:00
Tuğçe Küçükoğlu 35b13d74ca
Merge pull request #7233 from mehdirande/bugfix/outside-click-on-capture-phase
Fix: Trigger outsideClickListener in capture phase to handle stopPropagation
2025-02-19 14:31:33 +03:00
Tuğçe Küçükoğlu c40713bfd0
Merge pull request #7267 from qburst/fix--7265
fix: hide clear icon when options array is empty
2025-02-19 14:27:22 +03:00
Tuğçe Küçükoğlu 0821053929
Merge pull request #7240 from JohannesRiegler/master
Fixed #7021 - Galleria: thumbnails don't work on mobile
2025-02-19 13:47:07 +03:00
Tuğçe Küçükoğlu f705bb1559
Merge pull request #7232 from addeeandra/fix/tab-inkbar-position
Fixed #7224 - Wrong InkBar position when set default value in TabList
2025-02-19 13:36:47 +03:00
Tuğçe Küçükoğlu 105c581e4b
Merge pull request #7236 from mehdirande/type/autocomplete-chip-slot
Fix: Add removeCallback and index in Autocomplete chip slot definition
2025-02-19 13:33:22 +03:00
Tuğçe Küçükoğlu ff790a568c
Merge pull request #7245 from FloEdelmann/patch-1
fix: restore filter icon override functionality
2025-02-19 13:31:15 +03:00
tugcekucukoglu 4aac2c5c5f Refactor #5261 2025-02-19 13:28:28 +03:00
Tuğçe Küçükoğlu d474e51aca
Merge pull request #7276 from FlorentGimaret/feature/datatable-recursive-loop
fix: #5878, #5261 : DataTable recursive loop
2025-02-19 13:27:41 +03:00
Florent Gimaret 0b5407965c fix: #5878, #5261 : DataTable recursive loop introduced by commit 01b38bf 2025-02-18 15:24:14 +01:00
navedqb e32b9b27cd
fix: hide clear icon when options is empty 2025-02-17 15:42:34 +05:30
ZolanPro 049d89e5a8
Fix InputNumber clearTimer: clearInterval -> clearTimeout 2025-02-16 14:59:13 +01:00
Cagatay Civici 6ecf77a9b5 Merge branch 'prod' 2025-02-16 00:46:52 +03:00
Cagatay Civici a4e3274a17 Update PrimeFlex related information 2025-02-16 00:46:31 +03:00
Flo Edelmann 9e04b21951
fix: allow partial filter button props in DataTable 2025-02-12 18:46:53 +01:00
Flo Edelmann 8300628b46
fix: restore filter icon override functionality 2025-02-12 18:18:46 +01:00
Aditya Chandra 615c79dfce fixed - editor initial value not set correctly 2025-02-12 21:14:22 +07:00
Johannes Riegler c2e830bcb3 Fixed #7021 - Galleria: thumbnails don't work on mobile 2025-02-12 12:25:13 +01:00
Mehdi Rande 5f4408d6df Fix: Add removeCallback and index in Autocomplete chip slot definition 2025-02-12 09:02:33 +01:00
Mehdi Rande f6293cf4f5 Fix: Trigger outsideClickListener in capture phase to handle stopPropagation
This commit addresses the issue where the overlay in components does not hide
when clicking outside the component, if the click event is stopped using
stopPropagation on an element or its parents.

The solution changes the event listener for detecting outside clicks to be
triggered in the capture phase instead of the bubbling phase.
This ensures that the outside click is correctly detected even if
stopPropagation is called.
2025-02-11 18:34:43 +01:00
Aditya Chandra b6cc223bcc fix: wrong tabList inkbar placement when using default value 2025-02-11 22:04:33 +07:00
tugcekucukoglu 7a3b228ae3 Refactor #7090 - For Tab 2025-02-10 10:09:53 +03:00
tugcekucukoglu 8a50610fd6 Fixed #7222 - DataTable: Colspan not working correctly when selectionMode='single' in Column 2025-02-10 09:56:27 +03:00
Henry Nguyen af5e626064
Fix multi-row range selection on lazily paginated multi-selection Datatable
On a datatable that has the paginator enabled, with lazy=true, and selectionMode="multiple", then on the first page, shift-clicking multiple rows functions properly as expected by selecting all shift-clicked rows. However, when navigating to any page other than the first page, shift-clicking does NOT work, and instead cancels out any selection.

What's happening is that inside the [`selectRange()`](https://github.com/primefaces/primevue/blob/master/packages/primevue/src/datatable/DataTable.vue#L1190) method of datatable, `this.processedData` contains an array of data that is rendered on the current page of the table, and we use the indexes of rows that the user has shift+clicked in order to access the array by those indexes, which we call [`rangeStart` and `rangeEnd`](https://github.com/primefaces/primevue/blob/master/packages/primevue/src/datatable/DataTable.vue#L1190). For example, consider a collection of data containing 50 total items. On a datatable displaying 10 rows at a time, `this.processedData` will contain an array of length 10, and when the user shift+clicks the first three rows, we will assign a `rangeStart` of 0 and a `rangeEnd` of 2 for selection.

The problem is that when we navigate to the other pages other than the first, `this.processedData` still only contains a subset of the total dataset, but our `rangeStart` and `rangeEnd` indexes contain the indexes relative to the entire total dataset. Continuing on with the previous example, when we navigate to page 2 and try to shift+click the first three rows, `this.processedData` still only contains an array of length 10, since we are only rendering 10 items at a time, but `rangeStart` will be 10 and `rangeEnd` will be 12, which are both outside the bounds of the `this.processedData` array so no rows end up being selected.

Currently there is [code that meant to account for this](https://github.com/primefaces/primevue/blob/master/packages/primevue/src/datatable/DataTable.vue#L1182C13-L1182C45), by subtracting the number rows from previous pages so that we get the properly offset indexes relative to the `this.processedData` subset, not the total. Specifically, it first determines `rangeStart` and `rangeEnd` relative to the total dataset, and then subtracts `this.first` from both values, where `this.first` appears as though it's meant to be the number of items that are contained in the pages previous to the current page (a.k.a. the index of the _first_ item on the _current_ page of the subset of data from the total dataset).

The bug is that `this.first` does not actually contain the expected value here to properly perform the offset. Continuing from the above example, when shift+clicking the first three rows on the second page of results, `rangeStart` and `rangeEnd` will be 10 and 12 respectively, and we would expect that we subtract 10 from the first page of results to get correct values of 0 and 2. However, `this.first` is actually 0, and so we end up with `rangeStart` and `rangeEnd` of 10 and 12, which are outside the bounds of `this.processedData` which cannot be processed on subsequent lines.

This PR attempts to fix this bug by adjusting the subtraction to use `this.d_first` instead of `this.first`, which has been confirmed to contain the desired value of the total number of rows in previous pages. In the above example, it contains 10 for the second page, 20 for the third page, 30 for the fourth page, so on, which causes `rangeStart` and `rangeEnd` to contain the proper expected values for accessing `this.processedData` correctly.

Alternatively, we could've instead updated the assignment of `this.first` to contain `this.d_first`, so that the current code here would function correctly. However, I'm not sure what other undesired effects that might cause, so am requesting more knowledgeable eyes to review the above proposal. Many thanks!! 🙏 ❤️
2025-02-08 23:34:28 -08:00
tugcekucukoglu ff3b7a58a9 Fixed #7219 - Multiselect unnecessarily scrolling to bottom of options on open 2025-02-07 16:26:28 +03:00
tugcekucukoglu 01c488f08e Fixed #7221 - Dock: Blocked aria-hidden on an element error 2025-02-07 16:12:16 +03:00
Tuğçe Küçükoğlu 238404aa68
Merge pull request #7210 from MstrVLT/Fix-Issue-#7208
fix(VirtualScroller): Typo - missing calculations for grid column
2025-02-07 10:06:16 +03:00
SamVanini 4a333b684e feat(datatable): Added generics to type data and newData #7194 2025-02-06 23:07:54 +01:00
tugcekucukoglu 013583d9a4 Format fix 2025-02-06 19:08:30 +03:00
tugcekucukoglu 61cb4594b0 Fixed #7209 - Form components: wrong default value of variant prop in .d.ts files 2025-02-06 17:37:09 +03:00