Closed desmondinho closed 4 weeks ago
This pull request modifies the PreviewCode.razor
component by replacing its nested <div>
structure with a new <Preview>
component, which simplifies the rendering of child content and class management. The PreviewCode.razor.cs
file introduces a new parameter, PreviewClasses
, and removes the previous Slots
class. Multiple layout configuration files are updated to include a new constructor for initializing layout properties. Additionally, several _Imports.razor
files are updated with new using directives, and various classes and methods throughout the LumexUI framework are enhanced for improved functionality and customization.
File | Change Summary |
---|---|
docs/LumexUI.Docs/LumexUI.Docs.Client/Components/PreviewCode.razor |
Replaced nested <div> structure with a single <Preview> component; @ChildContent remains unchanged. |
docs/LumexUI.Docs/LumexUI.Docs.Client/Components/PreviewCode.razor.cs |
Removed Slots class; added PreviewClasses parameter; simplified CSS class management. |
docs/LumexUI.Docs/LumexUI.Docs.Client/Pages/Components/Accordion/PreviewCodes/*.razor |
Updated attribute name from Classes to PreviewClasses in PreviewCode component. |
docs/LumexUI.Docs/LumexUI.Docs.Client/Samples/Layout/*.html |
Introduced LayoutConfig() constructor; added new HTML snippets for layout examples. |
docs/LumexUI.Docs/LumexUI.Docs.Client/_Imports.razor |
Added new using directives for TailwindMerge and LumexUI.Docs.Theme . |
src/LumexUI/Theme/Layout/LayoutConfig.cs |
Added properties and methods to improve layout configuration. |
src/LumexUI/Theme/Colors/Models/ColorScale.cs |
Updated constructor signature and properties in ColorScale . |
src/LumexUI/Scripts/Plugin/plugin.js |
Enhanced lumexui plugin configuration with new properties. |
PreviewCode.razor
file regarding the handling of CSS classes and the introduction of a new parameter for managing styles.Theme
documentation and introduces new types related to theming, which connects to the changes in the PreviewCode
component that also focus on CSS class management and theming aspects.🐇 In the meadow, new styles bloom,
APreview
component makes room.
WithChildContent
and classes to share,
Custom layouts dance in the air.
FromSlots
toPreviewClasses
, we cheer,
In the world of LumexUI, creativity's near! 🌼
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.37%. Comparing base (
19b89dc
) to head (4fbc5a8
). Report is 22 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by CodeRabbit
Preview
component for customizable preview interfaces.