61 Commits

Author SHA1 Message Date
Vladimir Enchev
0696cd20d5 Various warnings resolved and TreatWarningsAsErrors enabled (#2409) 2026-01-07 09:29:58 +02:00
Martin Hans
f422573fcc Add resizable option to side dialog. (#2331)
* Add resizable option to side dialog.

* Fix resize bar CSS class typo and make sideDialogResizeHandleJsModule nullable

* Add tests for resizable side dialog.

* Rename element references.

* Enable nullable refernce types for RadzenDialg.razor.cs

* Resolve requested change

Move code back to RadzenDialog.razor.

* Use sideDialog.classList to gather position rather than data-dir attribute.

* Rework initSideDialogResize function.

- Take position from options.
- Take width and height from sideDialogs clientWidth and clientHeight.
- Take minWidth and minHeight from options.
- Remove superflous pointer capturing.
- Remove superflous 'dragging' class.

* Replace title and aria label string constants by properties.

* Treat resizableMinWidth and resizableMinHeight as present.

* Reformat

* Use options.resizableMinWidth/Height only

* No need to set min-width neither min-height on side dialog.

* Rename ResizableMinWidth => MinWidth, ResizableMinHeight => MinHeight.

* Rename initSideDialogResize => createSideDialogResizer.

* Add dialog resize bar css variables

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: yordanov <vasil@yordanov.info>
2025-12-03 10:22:33 +02:00
Vladimir Enchev
3255afb487 DialogService method CloseSideAsync made virtual
Fix #2349
2025-11-10 09:28:07 +02:00
Vladimir Enchev
4ec95c2f1c Various types extracted in separate files 2025-11-05 14:31:34 +02:00
Vladimir Enchev
81c943ecda "Update dialog properties" does not work for side dialogs.
Fix #2091
2025-10-23 12:10:38 +03:00
Victor Ureta
eb74460fcf add icon in Title Dialog (#2170)
* add icon in Title Dialog

* fix IconColor in DialogService.cs

* fix variables
2025-05-26 18:48:47 +03:00
Atanas Korchev
28fe2949f2 Add CloseSideAsync method to DialogService which waits for the close animation to complete. Closes #2161. 2025-05-20 11:49:50 +03:00
Greg Horvath
377b2613db Fixes bug #2113. (#2114) 2025-04-23 07:18:00 +03:00
Vladimir Enchev
e9991fc995 DialogService Alert() and Confirm() overloads with RenderFragment added 2025-04-07 14:55:22 +03:00
Jeffrey van der Stad
3ce4f8da3a Updated unit tests in DialogServiceTests.cs to assert properties OkButtonText and CancelButtonText in ConfirmOptions and AlertOptions, with default values set to "Ok" and "Cancel". Modified DialogService.cs to initialize these properties if not specified. (#2063) 2025-03-30 10:48:45 +03:00
Atanas Korchev
b254152746 Remove markup string (#2066)
* Remove MarkupString usage from the demos.

* Remove MarkupString from RadzenPanelMenu.

* Remove MarkupString from RadzenAccordion.

* Remove MarkupString from RadzenIcon

* Remove MarkupString from RadzenSplitButton

* Remove MarkupString from RadzenButton

* Add spaces in the keyboard navigation grid.

* Remove MarkupString from RadzenDialog

* Use literal strings for the icons in the Index page.

* Remove MarkupString from RadzenSelectbar

* Remove MarkupString from RadzenFieldset

* Remove MarkupString from everything else.
2025-03-29 12:30:41 +02:00
Vladimir Enchev
92d69d9053 DialogService Alert and Confirm buttons text missing when no options are specified
Fix #2060
2025-03-28 07:39:12 +02:00
Jeffrey van der Stad
3fd3916ef9 Enhance dialog options with property change notifications to support automatic UI updates (#2051)
* Enhance dialog options with property change notifications

* Update dialog properties and functionality

- Changed dialog text in `DialogPage.razor` to reflect new functionality.
- Updated button text in `DialogWithCascadingValueCaller.razor` and modified dialog title.
- Enhanced `DialogWithCascadingValueImplementation.razor` with new buttons for setting titles and toggling close options, and added methods for updating the dialog title and counter.

* Add unit tests and improve DialogService options handling

* Allow internal methods visibility for unit tests

Added an `ItemGroup` in the project file to include an
`InternalsVisibleTo` attribute for the `Radzen.Blazor.Tests`
assembly, enabling unit tests to access internal methods.
2025-03-24 08:10:57 +02:00
Vladimir Enchev
fb64381af9 Where() by string should handle null item 2025-03-01 11:03:07 +02:00
Vladimir Enchev
cdabe516eb DialogService non generic open methods added
Fix #1987
2025-02-28 11:08:58 +02:00
Vladimir Enchev
7b15c190d3 Revert "Fix OnSideClose being called on open (#1977)"
This reverts commit 75da4667b7.
2025-02-20 11:12:05 +02:00
Caleb Weeks
75da4667b7 Fix OnSideClose being called on open (#1977)
Co-authored-by: Caleb Weeks <seth.weeks@carrier.com>
2025-02-18 07:50:37 +02:00
Vladimir Enchev
4d72ef1efe comment fixed 2025-01-15 16:04:58 +02:00
Vladimir Enchev
a00bce399f DialogService OpenSide() method added 2025-01-15 16:03:17 +02:00
Vladimir Enchev
f99fc6f15f SideDialogOptions AutoFocusFirstElement added 2024-08-08 11:49:53 +03:00
Vladimir Enchev
92e4249eec 5.0 (#1603)
* Initial commit

Update spacing css classes in demos

Update spacing css classes in demos

Improve Notification layout and styles

Fix Notification with custom position in RTL mode

Update spacing css classes in demos

Add box-sizing: border-box to components

Remove bootstrap css from App.razor

Fix text-align in tabs demos

Rename CSS classes and update markup in RadzenDatePicker

Remove bootstrap scss

Tabs anchor element should inherit the text color

Update margins in typography

Remove bootstrap instructions from get started page

Remove bootstrap css from demos

Update premium themes

Add variable fonts

Remove legacy color tokens and token maps

Remove --rz-form-group-margin-bottom as it is not used

Add base color tokens

Add Base style values

Remove -styles scss map and use  and  styles maps instead

Remove -styles scss map and use  and  styles maps instead

Remove -styles scss map and use  and  styles maps instead

Remove -styles scss map and use  and  styles maps instead

Format button's styles

Reset body margin to 0

Splitter icons should use --rz-icon-font-family

Add styles for image and svg

Replace MaterialIcons font with MaterialSymbols variable font

Update RadzenButton's demos

Update RadzenBadge's demos

Update Colors demo page

Update RadzenProgressBars' demos

Use Base instead of Secondary button style in Confirm Dialog

Update DataGrid Hierarchy demos

Unify DataGrid filter buttons

Replace light with base button styles

Replace secondary with base button style

RadzenTheme, RadzenThemeSwitch and ThemeService.

Reorder base color variables

Add rtl mode animation to ProgressBar

Update SpeechToTextButton default button style and animation

Add CookieThemeService.

Fix base color variable value in software theme

Add Software Dark and Humanistic Dark themes

Update RadzenThemeSwitch

Default base text button should inherit color from its parent element

Update ColoPicker background for transparent color preview

Add Material Dark theme

Material Dark theme is now free

Remove ambiguous method name.

Update demos configurator

Update premium themes

Update the services to follow the options pattern for DI registration.

Improve RadzenThemeSwitch to use the current theme.

Rename ThemeSwitch to AppearanceToggle and add a demo page

Update SplitButton's dropdown icon demo

Create getting-started.html

Update getting-started.html

Update getting-started.html

Add --rz-grid-group-header-item-color and fix column footer color

Fix demos code snippet colors

Add changelog and update demo status badges

Update Changelog

Persist the current theme.

Update getting-started.html

Rename getting-started.html to md.

Render the theme CSS class at RadzenLayout level.

Hide the right sidebar by default.

Isolate CSS variables in a single rule

Revamp the getting started help article.

Remove nested README.md. Link getting started instructions.

Add Scheduler highlight background color css variable

Sidebar border right should be inline-end

Inputs should inherit font-family

Buttons in code viewer and event console should use base button style

Add Standard Dark theme

Update Changelog

Sidebar border right in themes should be inline-end

Render RadzenTheme only when needed.

Add cursor pointer to SidebarToggle

Fix AppearanceToggle margin

Update default theme colors

Update standard theme colors

Fix filter color in humanistic dark theme

Update software dark theme colors

Add humanistic dark wcag theme

Add software dark wcag theme

Add standard dark wcag theme

Buttons for add and remove now use base button style

Update Get Started styling

Update Dark WCAG theme colors

Update SideBar transition styles

Remove theme name css class

Add premium themes

code fixed

more code fixes

* Update Icon demo page content

* Fix --rz-grid-filter-buttons-background-color in Standard theme

* Remove obsolete fonts

* tests fixed

---------

Co-authored-by: yordanov <vasil@yordanov.info>
2024-07-18 16:24:20 +03:00
Vladimir Enchev
ac407375ab Dialog Resize and Drag events added 2024-07-18 10:32:18 +03:00
Krystian Szatan
f1ab0e3449 Added missing ContentCssClass set in DialogService (#1521)
* Dialog - custom container class

New parameter ContentCssClass

* Update DialogContainer.razor

* Revert rz-dialog-titlebar

* Update DialogService.cs

Added ContentCssClass
2024-05-21 09:33:02 +03:00
Krystian Szatan
bce50b991e Dialog - custom container class (#1518)
* Dialog - custom container class

New parameter ContentCssClass

* Update DialogContainer.razor

* Revert rz-dialog-titlebar
2024-05-20 12:57:23 +03:00
Vladimir Enchev
9e9ab6ae13 Dialog options TitleContent property added 2024-01-09 11:59:11 +02:00
DanRogers99
3705b740c9 Close Nested Modals (#1227) 2023-10-31 09:34:12 +02:00
Thorsten Liborius
8476fdb77f OpenAsync method signature changed to virtual to support unit testing (#1117)
Co-authored-by: Thorsten Liborius <thorsten.liborius@shkb.ch>
2023-08-18 08:05:31 +03:00
Dave Bagler
7c476ec104 Dialog wrapper class option. (#985)
* Adding WrapperCSSClass parameter to the dialog service.

* Updating container rendering and adding demo.
2023-05-25 08:11:47 +03:00
Vladimir Enchev
e9e9c9f702 EscapeTabIndex renamed to CloseTabIndex 2023-04-21 11:14:53 +03:00
DanRogers99
1e3d653d1c Add support for setting tab index for escape button in dialogs (#915) 2023-04-21 11:13:09 +03:00
Eric
a04b131394 Updated confirm/alert methods to virtual in the dialog service to allow for mocking in unit tests (#860)
Co-authored-by: Eric Barke <ebarke@silvergate.com>
2023-03-17 10:34:04 +02:00
Vladimir Enchev
aae7eba068 MarkupString support added for DialogService Confirm and Alert 2023-02-22 11:21:57 +02:00
Marco Papst
e1df231137 Feature: Open a Dialog on the side (#739)
* implement side dialog based on DialogService

* extend Dialog sample

* add optional Mask and RIght/Left position for side dialog

* add OpenSideAsync to dialog documentation

* mark Dialog as updated in demos

* add top and bottom position for side dialog

* extend side dialog docs with details to only one open dialog

* reduce default height of top/bottom side dialog

* fix failing test in RadzenNumeric due to NullreferenceException

Co-authored-by: Marco Papst <papst@sma.de>
2022-12-13 13:48:23 +02:00
Vladimir Enchev
599e514afc DialogService.OpenAsync will not execute Radzen.openDialog() when options.ChildContent is set
Fix #717
2022-11-22 16:31:05 +02:00
Vladimir Enchev
d449469a99 DialogService Alert dialog added 2022-11-03 11:28:56 +02:00
yordanov
0c3878a8fc Improve dialog responsiveness and refactor styles 2022-10-25 09:58:08 +03:00
starkuss
5a36e72616 enable possibility to add custom css class to dialog (#616) 2022-09-23 09:25:37 +03:00
Vladimir Enchev
a10df3a133 reference disposed 2022-09-19 11:00:02 +03:00
Vladimir Enchev
77e3952849 DialogService Close() method made virtual
Fix #588
2022-08-26 15:02:58 +03:00
Vladimir Enchev
a2a434d6fd comment removed 2022-02-16 10:09:35 +02:00
Vladimir Enchev
b00fcc25ea DialogOptions CloseDialogOnEsc property added 2022-02-15 17:28:32 +02:00
Vladimir Enchev
e9624ab6d6 Close dialog on ESC added 2022-02-15 17:03:03 +02:00
Vladimir Enchev
da36e3c1fa IJSRuntime param added 2022-02-09 13:59:17 +02:00
Vladimir Enchev
9b85f8673c DialogService Confirm AutoFocusFirstElement support added 2022-02-01 21:46:01 +02:00
Vladimir Enchev
4211259874 Dialog bottom option setting fixed 2022-01-26 19:59:44 +02:00
OlgaV23
1fa6d61468 Some spelling fixes (#283) 2021-11-18 15:28:27 +02:00
Atanas Korchev
4e6eb6c53a Remove automatic descriptions. 2021-10-29 15:09:43 +03:00
Vladimir Enchev
d998f87099 more xml comments imoroved 2021-10-29 15:09:43 +03:00
Vladimir Enchev
c532ecbfb8 DialogService example added 2021-10-29 15:09:43 +03:00
Vladimir Enchev
8d5d74dc48 child content comments improved 2021-10-29 15:09:43 +03:00