Граф коммитов

2889 Коммитов

Автор SHA1 Сообщение Дата
Vincent Baaij f6fb727fd2 Skip publish symbols step for now 2024-09-06 15:29:48 +02:00
Vincent Baaij 10a73c3c90 Change workflow titles 2024-09-06 14:10:43 +02:00
Vincent Baaij b99ee43bfc Rename deploy flows and make titles clearer 2024-09-06 14:07:54 +02:00
Vincent Baaij 55c0433041 Yaml typo... 2024-09-06 14:01:04 +02:00
Vincent Baaij 2ea9206869 Update WhatsNew 2024-09-06 13:54:49 +02:00
Vincent Baaij 1c9fc62cfd
[Anchor] Fix hypertext appearance with icon in start/end slot (#2624) 2024-09-06 12:23:35 +02:00
Vincent Baaij cd25fa019e Merge branch 'dev' of https://github.com/microsoft/fluentui-blazor into dev 2024-09-06 11:01:45 +02:00
Vincent Baaij e9ef914853 Minor template csproj whitespace changes 2024-09-06 11:01:38 +02:00
Christian Dulu 406d3fcbbf
[FluentInputBase] Force `EditContext` to be re-associated with the Dispatcher (#2620)
Co-authored-by: Vincent Baaij <vnbaaij@outlook.com>
2024-09-06 10:09:48 +02:00
Vincent Baaij a1ba63a1ff Update home version banner 2024-09-05 21:27:27 +02:00
Vincent Baaij 3ffbbbbc04 Merge branch 'dev' of https://github.com/microsoft/fluentui-blazor into dev 2024-09-05 21:22:27 +02:00
Vincent Baaij 844e52afdd Only run test project on .NET 9 2024-09-05 21:22:22 +02:00
Vincent Baaij e90e2e85b7
[Icons] Update to Fluent UI System Icons 1.1.256 (#2613) 2024-09-03 14:28:54 +02:00
Denis Voituron 6e1b7858df
[Overlay] Add FullScreenInteractiveExceptElementId (#2580) 2024-08-30 17:55:47 +02:00
Vincent Baaij 80ad64bc71 Disable warnaserrors for now 2024-08-29 16:21:19 +02:00
Vincent Baaij 8ef41a85d9 Some small workflow updates 2024-08-29 15:55:17 +02:00
Vincent Baaij 65e475c28f Merge branch 'dev' of https://github.com/microsoft/fluentui-blazor into dev 2024-08-29 15:46:36 +02:00
Vincent Baaij f9161f4e49 Update DevOps pipelines to include .NET 9 2024-08-29 15:46:28 +02:00
Vincent Baaij adaeba2937
Revert "[FluentSlider] Use current-value instead of value attribute in web component" (#2591)
* Revert "[FluentSlider] Use current-value instead of value attribute in web co…"

This reverts commit 0f6d06a3dc.

* Re-add binding test
2024-08-29 11:23:52 +02:00
Vincent Baaij ad0f71c4c5
[General] Add .net9.0 as targeted framework (#2590)
* - Update NuGet packages
- Add net9.0

* Update SDK

* Fix build-core-lib

* Update version and change workflows

* Move BCL package so right version cn be used

* Process review comments in all GH workflows

* Try to go back to .NET 8 for ReportGenerator

* Trying to fix ReportGenerator
2024-08-29 10:59:18 +02:00
Vincent Baaij 9d21ce8935
[DataGrid] Provide new way to render column actions (#2586)
* Store progress

* Use records for string parameter collections

* Tabbing error 🤦‍♂️

* Move and change column 'label resources' records

* Process PR review comments
2024-08-27 21:29:39 +02:00
Vincent Baaij 139c1c1816
[DataGrid] Add parameter to provide labels to resize UI (#2585)
* Add resize buttons aria labels

* Use a record to group resize aria labels. ResizeLabel has been removedand can now be set throught the record as well

* Adjust example to new 2024 dataset
2024-08-27 10:46:37 +02:00
Vincent Baaij 168a896239
[Dialog] Remove tabindex=-1 on fluent-dialog tag (#2584)
* - Remove tabindex=-1 on fluent-dialog
- Add null checks

* Update Dialog verified files
2024-08-26 19:08:55 +00:00
Vincent Baaij 8496705f83 -FluentMenu change from #2579 had commented Parameter attribute
- Add 2024 Olymics data and set examples to use that
2024-08-26 16:51:02 +02:00
Vincent Baaij d0ce14d920
[Menu] Pass through more parameters to region the menu is anchored to (#2579)
* Pass HorizintalViewportLock and HorizontalScaling through to AnchoredRegion

* Add new menu params to provider
2024-08-25 12:15:44 +02:00
Vincent Baaij 463dd05b7b
[DataGrid] Invoke OnRowClick from HandleOnRowKeyDownAsync (#2577) 2024-08-24 16:31:34 +02:00
Ricky 1656e40143
[DatePicker] Add OnDoubleClick event and DoubleClickToDate parameter (#2567)
* [FluentDatePicker] Added OnDoubleClick event and DoubleClickToToday parameter.

* [DatePicker] DoubleClickToToday was changed to DoubleClickToDate. Added test for OnDoubleClick event.
2024-08-24 16:29:23 +02:00
Vincent Baaij b8bebe05c7
[Javascript Caching] Do not add version number to lib.module.js file (#2572) 2024-08-23 00:10:00 +02:00
Vincent Baaij 3c886cecf5
[Dialog] Fix regression, see details in #2542 (#2568)
* Fix #2542 by not including Instance.ontent in hash code method.

* Fix issue by adding Visible to DialogParameters. Dialog Hide/Show methods will now set Visible value. Provider will only render dialog if Visible is true.
2024-08-22 22:15:32 +02:00
Vincent Baaij 621aa4ea5e
[Dialog] Make dismiss button larger and use neutral color (#2565)
* - Make dialog header dismiss button a bit larger
- Change dismiss icon color

* Update tests

* Temp disable one test
2024-08-21 22:55:55 +02:00
Vincent Baaij 4a32968a4e Fix test 2024-08-21 19:58:55 +02:00
Vincent Baaij ac17756278
[DataGrid] Fix resizing to initial column widths issue (#2561)
* Use dictionary for initialColumnsWidths

* Add cleanup
2024-08-21 17:10:48 +02:00
Vincent Baaij 86b74e23f9
[NumberField] Add AutoComplete parameter (#2560) 2024-08-21 15:27:50 +02:00
Vincent Baaij fcaef9fbc3 Add PublishSymbols task 2024-08-20 23:12:57 +02:00
Vincent Baaij 625b76dc8b Fix #2493 by adding extradocumentation 2024-08-20 21:21:59 +02:00
Vincent Baaij 3c13b3fdfb Fix #2477 by excluding '.loading-content-row' from hover CSS rule 2024-08-20 21:05:10 +02:00
Vincent Baaij 9bd2cb6390 Merge branch 'dev' of https://github.com/microsoft/fluentui-blazor into dev 2024-08-20 20:51:53 +02:00
Vincent Baaij 4fdb5829ed Fix #2466
Clean up issue tester code
2024-08-20 20:51:47 +02:00
Kevin Becker 1aae32f210
[DataGrid] Add AutoFit feature to size columns automatically as good as possible (#2496)
* Add AutoFit feature to FluentDataGrid component

Introduced the AutoFit property to the FluentDataGrid component, enabling columns to auto-fit the grid width using JavaScript. Updated XML documentation and added a new demo section in DataGridPage.razor to showcase this feature. Created DataGridAutoFit.razor component for demonstration purposes.

Modified FluentDataGrid.razor and FluentDataGrid.razor.cs to implement AutoFit functionality, including invoking a JavaScript function to adjust column widths. Simplified SortByColumnAsync methods using ternary operators.

Updated CSS in FluentDataGrid.razor.css and FluentDataGridCell.razor.css to support AutoFit, ensuring proper styling and visibility of grid cells. Added autoFitGridColumns JavaScript function in FluentDataGrid.razor.js. Removed redundant CSS rules and adjusted formatting for consistency.

* Provide better comment for the AutoFit feature and fix merge conflict artifacts.

* Add AutoFit parameter to FluentDataGrid component

Updated DataGridPage.razor to correct a typo and provide additional information about the AutoFit parameter. Removed GridTemplateColumns="auto-fit" from DataGridAutoFit.razor as it is now handled internally. Modified OnParametersSetAsync and OnAfterRenderAsync in FluentDataGrid.razor.cs to support AutoFit. Improved autoFitGridColumns function in FluentDataGrid.razor.js.

* Place `Parameter` attribute on separate line for `AutoFit`. Also fixed the `Parameter` attribute for `LoadingContent`.

---------

Co-authored-by: Kevin Becker <kevin.becker@senioroi.com>
Co-authored-by: Denis Voituron <dvoituron@outlook.com>
Co-authored-by: Vincent Baaij <vnbaaij@outlook.com>
2024-08-20 20:42:16 +02:00
Vincent Baaij 10e0e5823b
[Checkbox] Fix looping value error when used in a Stack (#2417)
* Add short delay
* Fix tests
2024-08-20 20:11:56 +02:00
Denis Voituron 3549b64e74
[FluentMenu] Add a FluentMenuProvider (#2510) 2024-08-20 08:51:35 +00:00
Daniel Pastoor f38fa65a5e
[DataGrid] Fix pagination when using itemprovider (#2530)
* use "with" instead of "assert" because of an eslint issue

* Added "TotalViewItemCount" to fix pagination for the ItemsProvider where the total amount can be different from the amount that you want to show

* Fixed unit test by restoring wrong used property on aria-rowcount

---------

Co-authored-by: Vincent Baaij <vnbaaij@outlook.com>
2024-08-20 10:47:15 +02:00
Steven T. Cramer 00834034c0
[DataGrid] Improve data refresh logic (#2512)
* Improve data refresh logic in FluentDataGrid

This commit enhances the OnParametersSetAsync method in FluentDataGrid to
better handle state changes:

- Updated mustRefreshData calculation to consider pagination state changes
- Moved _lastRefreshedPaginationStateHash update earlier in RefreshDataCoreAsync

These changes ensure that:
1. The grid correctly detects when a refresh is needed due to pagination changes
2. The pagination state hash is captured at the start of the refresh process

This improvement helps maintain data consistency, especially in scenarios
with rapid state changes or when other events trigger state updates.

* Fix Grid data source change detection to avoid boxing

- Replace object casting and reference comparison with direct Equals method calls
- Separately compare Items and ItemsProvider with their last assigned values
- Eliminate false positive change detections caused by boxing
- Improve performance by reducing unnecessary data refreshes

* Don't use GetHashCode for comparison. TotalCount should NOT be a part of the comparison. As this is an output not an input.

* use _lastRefreshedPaginationState instead of _lastRefreshedPaginationStateHash

* Remove blank line

---------

Co-authored-by: Denis Voituron <dvoituron@outlook.com>
Co-authored-by: Vincent Baaij <vnbaaij@outlook.com>
2024-08-20 08:35:28 +00:00
Vincent Baaij c051963ab8
[Icons] Update Fluent UI System Icons to 1.1.253 (#2558)
* Update Fluent UI System Icons to 1.1.253
2024-08-20 10:29:46 +02:00
Denis Voituron 23dc6823fd
Add Autocomplete AdditionalAttributes (#2522) 2024-08-13 16:20:23 +02:00
LuohuaRain 14ade4671a
fix a typo (#2518) 2024-08-13 15:45:25 +02:00
Denis Voituron e694ad345b
Add an event "ondragend" (#2504) 2024-08-11 17:27:29 +00:00
LuohuaRain ba3cbcf024
fix: FluentToast width issue when using timestamp in i18n (#2508) 2024-08-10 08:14:31 +02:00
LuohuaRain 7b747797a8
[FluentMessageBar] Add id attribute to FluentMessageBar (#2505) 2024-08-09 14:53:14 +02:00
Denis Voituron 2c4e280216
Fix Done button when last step is disabled (#2503) 2024-08-09 11:30:41 +02:00