forked from Megabit/Blazorise
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AntDesign: upgrade to latest 4.24.15 version (Megabit#5354)
* Added new css antDesign version * fixed bugs with alert The problem with the button: in other providers, the button is inside Alert.razor, here the problem arises when we talk about ant design, in short, ant design has one div more than the others, and the alert descrtiption and alert message must be passed to that div, but not the button because otherwise the wrong positioning of the close button occurs * returned original alert demo * added breadcrumb.scss * fixed breadcrumb * removed unnecessary scss * fixed breadcrum html * fixed accordion * Remove duplicate key * Fix Switch styles * Remove script file * Fix Bar item width * Release notes * Update AntDesign guide * fic select size * Fix select close styles * Fix alert close * Fix card link * Tabs WIP * Fix tabs content * Fix row columns * Fix validation styles * Fix rows and cols gutters * Fix table resizer --------- Co-authored-by: steal4life <[email protected]>
- Loading branch information
1 parent
28e5d9f
commit 75cda39
Showing
37 changed files
with
370 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> | ||
<link rel="manifest" href="manifest.json"> | ||
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/antd/4.0.0/antd.css" integrity="sha256-nzhI/tsi9npc5ir08wCgBpg43SEIrc7crRJLsHE0/60=" crossorigin="anonymous" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/antd/4.24.15/antd.min.css" integrity="sha512-Ac6zlwN6S+uQSinFAcV27Gd/TtKEDt7XWXn2xWO4Xi9dTbbpT9/vJb+VT5af6nZywrgBD3qUFTb5y1VN4YD94Q==" crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
<link href="_content/Blazorise.Icons.FontAwesome/v6/css/all.min.css" rel="stylesheet"> | ||
|
||
<link href="_content/Blazorise/blazorise.css?v=1.4.2.0" rel="stylesheet" /> | ||
|
@@ -35,7 +35,6 @@ | |
</div> | ||
</div> | ||
|
||
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/antd/4.0.0/antd.js" integrity="sha256-KweF5YgNWHMkRH8LlzYKyIdtbH/CmGuYShXmvtWUZBA=" crossorigin="anonymous"></script>--> | ||
<!-- EXTENSIONS --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.7.1/chart.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Blazorise.Docs/Pages/Docs/Guides/AntDesign/Code/AntDesignGuideSourceFilesExampleCode.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...zorise.Docs/Pages/Docs/Guides/AntDesign/Examples/AntDesignGuideSourceFilesExample.snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@inherits Blazorise.Alert | ||
<CascadingValue Value="@this" IsFixed> | ||
<CascadingValue Value="@State"> | ||
<div @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames" role="alert" @attributes="@Attributes"> | ||
<div class="ant-alert-content"> | ||
@ChildContent | ||
</div> | ||
</div> | ||
</CascadingValue> | ||
</CascadingValue> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@inherits Blazorise.AlertDescription | ||
<span @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames" @attributes="@Attributes"> | ||
<div @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames" @attributes="@Attributes"> | ||
@ChildContent | ||
</span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@inherits Blazorise.AlertMessage | ||
<span @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames" @attributes="@Attributes"> | ||
<div @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames" @attributes="@Attributes"> | ||
@ChildContent | ||
</span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
@inherits Blazorise.Breadcrumb | ||
<CascadingValue Value="@this" IsFixed> | ||
<div @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames" aria-label="breadcrumbs" @attributes="@Attributes"> | ||
@ChildContent | ||
</div> | ||
<nav @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames" aria-label="breadcrumbs" @attributes="@Attributes"> | ||
<ol> | ||
@ChildContent | ||
</ol> | ||
</nav> | ||
</CascadingValue> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@inherits Blazorise.BreadcrumbItem | ||
<CascadingValue Value="@this" IsFixed> | ||
<span @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames"> | ||
<li> | ||
@ChildContent | ||
</span> | ||
</li> | ||
</CascadingValue> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
@inherits Blazorise.CardLink | ||
<div @ref="@ElementRef" id="@ElementId" class="@ClassNames" style="@StyleNames" @attributes="@Attributes"> | ||
<a href="@To" title="@Title" target="@TargetName"> | ||
@ChildContent | ||
</a> | ||
</div> | ||
<a @ref="@ElementRef" id="@ElementId" class="@ClassNames" href="@To" title="@Title" target="@TargetName" style="@StyleNames" @attributes="@Attributes"> | ||
@ChildContent | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@typeparam TValue | ||
@inherits Blazorise.SelectItem<TValue> | ||
<div @ref="@ElementRef" id="@ElementId" aria-selected="false" class="@SelectItemClassNames" style="@StyleNames" hidden="@Hidden" @onclick="@OnClickHandler" @onmouseover="@OnMouseOverHandler" @onmouseout="@OnMouseOutHandler"> | ||
<div @ref="@ElementRef" id="@ElementId" aria-selected="@ActiveString" class="@SelectItemClassNames" style="@StyleNames" hidden="@Hidden" @onclick="@OnClickHandler" @onmouseover="@OnMouseOverHandler" @onmouseout="@OnMouseOutHandler"> | ||
<div class="ant-select-item-option-content">@ChildContent</div> | ||
<span class="ant-select-item-option-state" unselectable="on" aria-hidden="true" style="user-select: none;"></span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,10 @@ | |
border-color: $border; | ||
} | ||
} | ||
|
||
.ant-close { | ||
position: absolute; | ||
right: 15px; | ||
top: 15px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -466,3 +466,15 @@ | |
} | ||
} | ||
} | ||
|
||
.ant-menu-inline { | ||
&.ant-menu-root { | ||
.ant-menu-item { | ||
display: block; | ||
|
||
> a { | ||
display: block; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,3 +49,7 @@ | |
width: 100%; | ||
margin-left: 0px; | ||
} | ||
|
||
.ant-card-link + .ant-card-link { | ||
margin-left: 1.25rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.