31 Commits

Author SHA1 Message Date
Atanas Korchev
854f9a81b5 Pre-generate API reference pages before dotnet publish
MSBuild evaluates **/*.razor globs at project evaluation time, before
targets run. The GenerateApiPages target creates .razor files too late
for them to be compiled on a clean build, resulting in a 13KB DLL with
no pages instead of 27MB. Fix by running the generator in a separate
step so files exist on disk before publish.
2026-03-12 14:49:43 +02:00
Vladimir Enchev
679de4297c API reference fixed 2026-03-12 14:10:43 +02:00
Vladimir Enchev
534be03af0 v10 (#2471)
* Chip and ChipList components added

Code improved

demos improved

Update Chip styles

Exctract mixins for button, badge and chip styles

Update Chip demos

Update Chip styles in themes

Fix chip styles in dropdowns

Fix icon position in different chip sizes

Fix chip border-radius

Optimize styles

Update Chip icon

Update premium themes

Chip/ChipList keyboard navigation fixed

Invalid code fixed

Update Chip focus styles

* Gantt added

code improved

demo update with more data

more demo improvements

more improvements

rendering updated

Gantt Splitter ChangeStateOnResize set to false

Gantt connecting lines added

Tooltips added

FIltering demo added

Gantt editing demos added

demo updated

scrollbar improved

Gantt ExpandRows() added

thead height made equal

material fixed

filtering improved

Subtitle2 removed

Gantt drag & resize added

Critical Path, Dependency Types and Baselines added

Today Line, Non-Working Days, TaskRender Callback, Vertical Date Markers and Custom Task Bar Template added

Zoom to fit and multiline headers added

Rendering optimized

Grouped header should be static

Invalidate row count on expand/collapse and filter

progress, critical path, red vertical line and baseline styling improved

frozen columns in demos should have Width set

alignment improved

Auto scroll to events when switching between views

Dependency Data added

* Move scheduler month view "more" button to slot header

The "+X more" button was absolutely positioned inside the events area,
occupying space that could hold an additional appointment. Move it inline
into the slot title header next to the day number so it no longer
consumes an event slot.

- Fix operator precedence bug in MaxAppointmentsInSlot auto-calculation
- Style the button end-aligned in the header using flex + margin-inline-start: auto
- Add demo appointments to trigger the "more" button in the default demo

* Use ResizeObserver to measure month view content height

Replace the hardcoded (Height - 60) / 6 calculation with actual
measurements from a ResizeObserver on the view content element. This
fixes appointment overflow at non-default scheduler heights (e.g. 500px)
where the 60px header estimate was inaccurate (~91px actual).

The MonthView now uses the existing createResizable JS pattern to
observe its own content area and dynamically computes the correct
MaxAppointmentsInSlot from the measured height and actual week count.

* Replace createScheduler with createResizable for ResizeObserver support

The scheduler-specific JS functions only used window resize events.
Switch to the shared createResizable/destroyResizable pattern which
uses ResizeObserver with a window resize fallback, consistent with
charts and gauges.

* Replace DocFX with Blazor class library for API reference generation

Add Radzen.Blazor.Api and Radzen.Blazor.Api.Generator projects that
generate .razor pages from Radzen.Blazor assembly metadata at build time.
Pages are generated conditionally (Release builds or -p:GenerateApiPages=true).
The API assembly is lazy-loaded to avoid initial payload penalty. Old .html
URLs are preserved via 301 redirects in CanonicalRedirectMiddleware.

* Improve API reference navigation and member anchors

- Add anchor links to member headings via RadzenText Anchor parameter
- Fix inherited member links to navigate to the specific member, not just the declaring type
- Add nav panel that expands/selects the current type on navigation
- Fix RadzenBody to scroll to fragment target instead of resetting to top

* Stop RadzenToc from updating URL hash on scroll and fix scroll container

- Remove navigateTo call from scroll handler so URL hash is not overwritten
- Set TOC Selector to .rz-body so it monitors the correct scrollable container

* Align API layout header with MainLayout

* Refactor RadzenToc scroll listener disposal and item link updates.

Return a disposable JS listener handle instead of storing expando handlers on elements, and move TOC item href refresh to NavigationManager location-change handling so links stay in sync with path/query changes.

* Add v10 RadzenToc changelog notes.

Document the RadzenToc breaking changes around link rendering, aria-selected semantics, and address bar behavior during scrolling, plus the high-level scroll tracking update.

* Fix RadzenToc NullReferenceException during concurrent disposal and API reference redirect loop.

Capture scrollListenerRef in a local variable before disposing to prevent a race condition when multiple RadzenTocItem components dispose concurrently. Skip scroll listener re-registration when the parent RadzenToc is already disposed. Remove UseDefaultFiles middleware and fix API Reference link to prevent redirect loops.

* Fix RadzenToc scrollspy to match Bootstrap ScrollSpy behavior.

Remove fallback that always highlighted the first item on load. Require
actual scroll (scrollY > 0) before activating the at-bottom branch so
short pages don't highlight the last item. Add click handler to
RadzenTocItem so clicking an item activates it immediately (matching the
DocFX affix click behavior).

* Fix misaligned code examples in generated API documentation

XML doc comment code blocks retained source-level indentation after
parsing, causing excessive leading whitespace in rendered examples.
Replace simple .Trim() with indentation normalization that strips
the common leading whitespace prefix from all lines.

* Update ApiLayout and MainTopNav

* Fixed .Server project Cannot provide a value for property 'AssemblyLoader' on type 'RadzenBlazorDemos.Routes'.

* Scatter and Bubble series added to Chart

* LinearGauge added

* Popup cut off on rightmost columns and flickers

Fix #2414, #2181

* CheckBoxList filter options update without clicking Apply

Fix #2155

* tests updated

* DataGrid Reload() lags one render behind

Fix #2214

* Gaps in Data for Charts

Fix #765

* DataGrid Fixed Column resizing will show visual white space between fixed columns

Fix #2228

* Setting Parameter on RadzenDataGridColumn<T> does not always trigger render of content

Fix #2215

* DataGrid column resizing does not work on mobile and tablet devices

Fix #2168

* RadzenAccordion invalid ARIA aatributes

Fix #1931

* DropDownDataGrid search text clear button added

Fix #1555

* Caruosel AnimationDuration added

Fix #2438

* Tooltip ARIA attributes improved

Fix #2314

* Long tooltip does not wrap

Fix #2320

* Clicking into Padding of PanelMenuItem does navigate but not expand Item

Fix #2244

* RadzenDatePicker FocusedDate synced with current date

Fix #1991

* Dialog OnSideClose gets called when opening and closing

Fix #1976

* RadzenNumeric RemoveNonNumericCharacters improved

Fix #1937

* Optimize CSS rules and SCSS mixins

* Fix percentage values in SCSS

* Update premium themes

* Line Chart markers cannot be dynamically turned off using @if

Fix #1229

* DropDownDataGrid exception when changing data object

Fix #1941

* RadzenChat new messages button added

Fix #2375

* RadzenHtmlEditor Immediate property added

Fix #2279

* Radzen Popup shows wrongly in a RTL

Fix #2271

* RadzenListBox/RadzenPickList EmptyTemplate and EmptyText added

Fix #2018

* DataGrid footer and header is being incorrectly rendered for frozen columns

Fix #1402

* PropertyAccess.GetValue() fixed to work with sub interfaces

Fix #1249

* RadzenPickList AllowVirtualization added

Fix #2456

* DataGrid add new row issue with LoadData method

Fix #365

* Various components keyboard navigation not working as described in the demos

Fix #2446

* RadzenDataGrid Keyboard Selection jumps when AllowVirtualization is enabled

Fix #2439

* RadzenPanelMenu MenuItemDisplayStyle.IconAndTextStacked added

Fix #2368

* RadzenPickList SelectedSourceChanged/SelectedTargetChanged  added

Fix #2324

* RadzenTabs AllowReorder property added

Fix #2318

* RadzenAccordion ExpandAll()/CollapseAll() added

Fix #2206

* RadzenDropZoneContainer Start/End Drag events added

Fix #2158

* RadzenDataGrid doesn't appear to do colspan/rowspan properly

Fix #1064

* Update Gantt styles

* Update Gantt styles and premium themes

* Update Gantt styles

* Update Gantt demos

* Update Linear Gauge demos

* Update component icons

* tests fixed

---------

Co-authored-by: Atanas Korchev <akorchev@gmail.com>
Co-authored-by: yordanov <vasil@yordanov.info>
2026-03-11 16:13:33 +02:00
Atanas Korchev
adc31c4024 Generate llms.txt index and per-component markdown documentation
Rewrite the RadzenBlazorDemos.Tools to produce a spec-compliant llms.txt
index with semantic grouping (parsed from ExampleService.cs via Roslyn) and
individual .md files per component page enriched with API reference tables
extracted from Radzen.Blazor XML documentation. Primary component pages
include full parameter/event tables; sub-feature pages link back to the
primary page's API reference.

Add a MapGet endpoint in the Host to serve .md files at their corresponding
URLs (e.g. /accordion.md). Update the Dockerfile to restore the Tools
project dependencies for proper Docker builds.
2026-02-17 18:28:03 +02:00
Vladimir Enchev
0d420604dd code fixed 2025-12-05 12:03:43 +02:00
Vladimir Enchev
777f5666e2 Docker improved to avoid running demos browse problems 2025-12-05 11:59:42 +02:00
Vladimir Enchev
3472949bf0 sdk updated 2025-11-11 17:46:25 +02:00
Atanas Korchev
47447badc1 Remove first line from Dockerfile. 2025-10-20 11:47:05 +03:00
Atanas Korchev
bf8c950a8a Build the API reference without mono. 2025-08-13 19:12:24 +03:00
Vladimir Enchev
f16ae734cc More DocFX removed 2025-08-13 18:18:01 +03:00
Vladimir Enchev
91196dca39 DOCFX removed 2025-08-13 18:17:17 +03:00
Vladimir Enchev
ea36ff5011 update 2025-08-13 18:13:50 +03:00
Vladimir Enchev
dad418140b mono:latest updated 2025-08-13 18:11:43 +03:00
Vladimir Enchev
d5f8877768 docker updated 2025-08-13 17:54:50 +03:00
Vladimir Enchev
95f2dfa8ac docker updated 2025-08-13 17:53:10 +03:00
Vladimir Enchev
040cccebe2 NET9 support added (#1785) 2024-11-12 22:21:55 +02:00
Vladimir Enchev
45ef0c78a3 docker updated 2024-10-10 15:33:05 +03:00
Vladimir Enchev
ee3fbcae78 8.0 restored 2023-11-14 22:02:24 +02:00
Vladimir Enchev
63ad119e63 version updated 2023-11-14 22:01:23 +02:00
Vladimir Enchev
bfcae3fc70 code removed 2023-11-14 21:57:48 +02:00
Vladimir Enchev
21b261b2d3 code fixed 2023-11-14 21:56:59 +02:00
Vladimir Enchev
9ac94167d2 attempt to clear 2023-11-14 21:55:43 +02:00
Vladimir Enchev
170c782ba2 code fixed 2023-11-14 21:53:21 +02:00
Vladimir Enchev
7465259340 docker updated 2023-11-14 21:52:41 +02:00
Vladimir Enchev
c871e8b64e docker updated to .NET 8 2023-11-14 18:49:48 +02:00
Vladimir Enchev
96f1863711 WebAssembly version of demos added (#704)
* Demos as WASM

* Copy the default wasm loading CSS.

* InMemory database instead SQLite

* DbContext filled with data

* Host project added

* Server renamed to Host

* Remove location.reload.

* Remove startup.

* Stop github caching to file. Use larger page size to improve load time.

* Display enum values.

* DbContext with static data

* Host DbContex added

* Examples and Sitemap added

* docker updated

* Theme changing.

* Update Dockerfile

* Set WORKDIR.

* Do not throw errors for duplicate assets.

* Do not inherit Index from DbContextPage

* Documentation works again.

* Sqlite removed from host

* DataGrid Save/Load settings fixed

* Demo source fixed

* Add loading.

* Add loading image

* Hide the loading with JS interop.

* Add the loading globally.

* Add server demos.

* Delete data files.

* Remove the db copy code from Dockerfile.

* DbContext seed fixed

* missing await added

* Separate solutions for all project, Blazor server and Blazor WebAssembly added

* tree demos data access fixed

* Avoid using Last() and First()

* Orders and OrderDetails data made smaller

* Update loading animation

* Move the loading to MainLayout.

* Update loading animation speed

* Seed() improved

* Revert "Move the loading to MainLayout."

This reverts commit f43ce050396b9483e8809af35493eb35531f254c.

* Fix homepage bg color with dark theme

* Revert "Revert "Move the loading to MainLayout.""

This reverts commit faee40d4ad92f474577434c61f31d847e6777a53.

Co-authored-by: Atanas Korchev <akorchev@gmail.com>
Co-authored-by: yordanov <vasil@yordanov.info>
2022-11-14 13:14:47 +02:00
Vladimir Enchev
cb36e60af7 sdk path changed 2022-11-08 19:19:24 +02:00
Vladimir Enchev
65baef92b1 .NET 7 support added 2022-11-08 19:16:34 +02:00
Vladimir Enchev
4ddae3d3ed version up and demos updated to .net 6 2021-11-11 08:46:08 +02:00
Atanas Korchev
21f269593a Update documentation links. 2021-10-29 15:31:42 +03:00
Atanas Korchev
515c15a662 Move Dockerfile to top level. Run docfx. 2021-10-29 15:09:43 +03:00