Skip to content

Commit ae3110e

Browse files
committed
feat(button): readme
1 parent 65dc263 commit ae3110e

File tree

2 files changed

+290
-78
lines changed

2 files changed

+290
-78
lines changed

AllTestResults/coverage.cobertura.xml

Lines changed: 77 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,84 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<coverage line-rate="0.8484" branch-rate="0.5454" version="1.9" timestamp="1748003945" lines-covered="56" lines-valid="66" branches-covered="6" branches-valid="11">
2+
<coverage line-rate="0.8332999999999999" branch-rate="0.7272" version="1.9" timestamp="1748009390" lines-covered="55" lines-valid="66" branches-covered="8" branches-valid="11">
33
<sources>
44
<source>C:\dev\repos\TELBlazor\TELBlazor.Components\</source>
55
</sources>
66
<packages>
7-
<package name="TELBlazor.Components" line-rate="0.8484" branch-rate="0.5454" complexity="48">
7+
<package name="TELBlazor.Components" line-rate="0.8332999999999999" branch-rate="0.7272" complexity="48">
88
<classes>
9-
<class name="TELBlazor.Components.Components.BaseComponents.TELButton" filename="Components\BaseComponents\TELButton.razor" line-rate="0.9166" branch-rate="0.75" complexity="19">
9+
<class name="TELBlazor.Components.Components.BaseComponents.TELButton" filename="Components\BaseComponents\TELButton.razor" line-rate="1" branch-rate="1" complexity="19">
1010
<methods>
11-
<method name="BuildRenderTree" signature="(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)" line-rate="0.6" branch-rate="0.5" complexity="2">
11+
<method name="BuildRenderTree" signature="(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)" line-rate="1" branch-rate="1" complexity="2">
1212
<lines>
13-
<line number="5" hits="18" branch="True" condition-coverage="50% (1/2)">
13+
<line number="5" hits="40" branch="True" condition-coverage="100% (2/2)">
1414
<conditions>
15-
<condition number="9" type="jump" coverage="50%" />
15+
<condition number="9" type="jump" coverage="100%" />
1616
</conditions>
1717
</line>
18-
<line number="6" hits="0" branch="False" />
19-
<line number="17" hits="0" branch="False" />
20-
<line number="19" hits="18" branch="False" />
21-
<line number="43" hits="18" branch="False" />
18+
<line number="6" hits="4" branch="False" />
19+
<line number="17" hits="4" branch="False" />
20+
<line number="19" hits="36" branch="False" />
21+
<line number="43" hits="36" branch="False" />
2222
</lines>
2323
</method>
2424
<method name="get_IsSubmitButtonForEditForm" signature="()" line-rate="1" branch-rate="1" complexity="1">
2525
<lines>
26-
<line number="56" hits="54" branch="False" />
26+
<line number="56" hits="78" branch="False" />
2727
</lines>
2828
</method>
2929
<method name="get_FormData" signature="()" line-rate="1" branch-rate="1" complexity="1">
3030
<lines>
31-
<line number="57" hits="72" branch="False" />
31+
<line number="57" hits="110" branch="False" />
3232
</lines>
3333
</method>
3434
<method name="get_NoJSActionUrl" signature="()" line-rate="1" branch-rate="1" complexity="1">
3535
<lines>
36-
<line number="58" hits="36" branch="False" />
36+
<line number="58" hits="56" branch="False" />
3737
</lines>
3838
</method>
3939
<method name="get_OnClick" signature="()" line-rate="1" branch-rate="1" complexity="1">
4040
<lines>
41-
<line number="59" hits="18" branch="False" />
41+
<line number="59" hits="52" branch="False" />
4242
</lines>
4343
</method>
4444
<method name="get_PreventDoubleClick" signature="()" line-rate="1" branch-rate="1" complexity="1">
4545
<lines>
46-
<line number="60" hits="54" branch="False" />
46+
<line number="60" hits="114" branch="False" />
4747
</lines>
4848
</method>
4949
<method name="get_ButtonText" signature="()" line-rate="1" branch-rate="1" complexity="1">
5050
<lines>
51-
<line number="65" hits="36" branch="False" />
51+
<line number="65" hits="80" branch="False" />
5252
</lines>
5353
</method>
5454
<method name="get_ButtonStyle" signature="()" line-rate="1" branch-rate="1" complexity="1">
5555
<lines>
56-
<line number="66" hits="54" branch="False" />
56+
<line number="66" hits="78" branch="False" />
5757
</lines>
5858
</method>
5959
<method name="get_AdditionalCssClasses" signature="()" line-rate="1" branch-rate="1" complexity="1">
6060
<lines>
61-
<line number="67" hits="54" branch="False" />
61+
<line number="67" hits="62" branch="False" />
6262
</lines>
6363
</method>
6464
<method name="get_ToolTipTitle" signature="()" line-rate="1" branch-rate="1" complexity="1">
6565
<lines>
66-
<line number="68" hits="36" branch="False" />
66+
<line number="68" hits="60" branch="False" />
6767
</lines>
6868
</method>
6969
<method name="get_AriaLabel" signature="()" line-rate="1" branch-rate="1" complexity="1">
7070
<lines>
71-
<line number="74" hits="36" branch="False" />
71+
<line number="74" hits="60" branch="False" />
7272
</lines>
7373
</method>
7474
<method name="get_AssistiveText" signature="()" line-rate="1" branch-rate="1" complexity="1">
7575
<lines>
76-
<line number="75" hits="36" branch="False" />
76+
<line number="75" hits="60" branch="False" />
7777
</lines>
7878
</method>
7979
<method name="get_TabIndex" signature="()" line-rate="1" branch-rate="1" complexity="1">
8080
<lines>
81-
<line number="76" hits="54" branch="False" />
81+
<line number="76" hits="78" branch="False" />
8282
</lines>
8383
</method>
8484
<method name="get_AriaRole" signature="()" line-rate="1" branch-rate="1" complexity="1">
@@ -93,13 +93,13 @@
9393
</method>
9494
<method name="&lt;BuildRenderTree&gt;b__0_1" signature="(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)" line-rate="1" branch-rate="1" complexity="2">
9595
<lines>
96-
<line number="28" hits="90" branch="True" condition-coverage="100% (2/2)">
96+
<line number="28" hits="316" branch="True" condition-coverage="100% (2/2)">
9797
<conditions>
9898
<condition number="134" type="jump" coverage="100%" />
9999
</conditions>
100100
</line>
101-
<line number="29" hits="18" branch="False" />
102-
<line number="31" hits="18" branch="False" />
101+
<line number="29" hits="104" branch="False" />
102+
<line number="31" hits="104" branch="False" />
103103
</lines>
104104
</method>
105105
<method name=".ctor" signature="()" line-rate="1" branch-rate="1" complexity="1">
@@ -110,36 +110,36 @@
110110
</method>
111111
</methods>
112112
<lines>
113-
<line number="5" hits="18" branch="True" condition-coverage="50% (1/2)">
113+
<line number="5" hits="40" branch="True" condition-coverage="100% (2/2)">
114114
<conditions>
115-
<condition number="9" type="jump" coverage="50%" />
115+
<condition number="9" type="jump" coverage="100%" />
116116
</conditions>
117117
</line>
118-
<line number="6" hits="0" branch="False" />
119-
<line number="17" hits="0" branch="False" />
120-
<line number="19" hits="18" branch="False" />
121-
<line number="43" hits="18" branch="False" />
122-
<line number="56" hits="54" branch="False" />
123-
<line number="57" hits="72" branch="False" />
124-
<line number="58" hits="36" branch="False" />
125-
<line number="59" hits="18" branch="False" />
126-
<line number="60" hits="54" branch="False" />
127-
<line number="65" hits="36" branch="False" />
128-
<line number="66" hits="54" branch="False" />
129-
<line number="67" hits="54" branch="False" />
130-
<line number="68" hits="36" branch="False" />
131-
<line number="74" hits="36" branch="False" />
132-
<line number="75" hits="36" branch="False" />
133-
<line number="76" hits="54" branch="False" />
118+
<line number="6" hits="4" branch="False" />
119+
<line number="17" hits="4" branch="False" />
120+
<line number="19" hits="36" branch="False" />
121+
<line number="43" hits="36" branch="False" />
122+
<line number="56" hits="78" branch="False" />
123+
<line number="57" hits="110" branch="False" />
124+
<line number="58" hits="56" branch="False" />
125+
<line number="59" hits="52" branch="False" />
126+
<line number="60" hits="114" branch="False" />
127+
<line number="65" hits="80" branch="False" />
128+
<line number="66" hits="78" branch="False" />
129+
<line number="67" hits="62" branch="False" />
130+
<line number="68" hits="60" branch="False" />
131+
<line number="74" hits="60" branch="False" />
132+
<line number="75" hits="60" branch="False" />
133+
<line number="76" hits="78" branch="False" />
134134
<line number="78" hits="18" branch="False" />
135135
<line number="79" hits="18" branch="False" />
136-
<line number="28" hits="90" branch="True" condition-coverage="100% (2/2)">
136+
<line number="28" hits="316" branch="True" condition-coverage="100% (2/2)">
137137
<conditions>
138138
<condition number="134" type="jump" coverage="100%" />
139139
</conditions>
140140
</line>
141-
<line number="29" hits="18" branch="False" />
142-
<line number="31" hits="18" branch="False" />
141+
<line number="29" hits="104" branch="False" />
142+
<line number="31" hits="104" branch="False" />
143143
<line number="86" hits="18" branch="False" />
144144
<line number="87" hits="18" branch="False" />
145145
</lines>
@@ -238,18 +238,18 @@
238238
<line number="62" hits="36" branch="False" />
239239
</lines>
240240
</class>
241-
<class name="TELBlazor.Components.TELBlazorPackageVersion.VersionInfo" filename="TELBlazorPackageVersion\VersionInfo.cs" line-rate="1" branch-rate="1" complexity="1">
241+
<class name="TELBlazor.Components.TELBlazorPackageVersion.VersionInfo" filename="TELBlazorPackageVersion\VersionInfo.cs" line-rate="0" branch-rate="1" complexity="1">
242242
<methods>
243-
<method name=".cctor" signature="()" line-rate="1" branch-rate="1" complexity="1">
243+
<method name=".cctor" signature="()" line-rate="0" branch-rate="1" complexity="1">
244244
<lines>
245-
<line number="1" hits="1" branch="False" />
246-
<line number="2" hits="1" branch="False" />
245+
<line number="1" hits="0" branch="False" />
246+
<line number="2" hits="0" branch="False" />
247247
</lines>
248248
</method>
249249
</methods>
250250
<lines>
251-
<line number="1" hits="1" branch="False" />
252-
<line number="2" hits="1" branch="False" />
251+
<line number="1" hits="0" branch="False" />
252+
<line number="2" hits="0" branch="False" />
253253
</lines>
254254
</class>
255255
<class name="TELBlazor.Components.Core.TELComponentBase" filename="Core\TELComponentBase.cs" line-rate="1" branch-rate="1" complexity="5">
@@ -312,42 +312,42 @@
312312
<line number="12" hits="0" branch="False" />
313313
</lines>
314314
</class>
315-
<class name="TELBlazor.Components.Core.Extensions.TELButtonStyleExtensions" filename="Core\Extensions\TELButtonStyleExtensions.cs" line-rate="0.6" branch-rate="0.2" complexity="5">
315+
<class name="TELBlazor.Components.Core.Extensions.TELButtonStyleExtensions" filename="Core\Extensions\TELButtonStyleExtensions.cs" line-rate="0.7" branch-rate="0.4" complexity="5">
316316
<methods>
317-
<method name="ToCssClass" signature="(TELBlazor.Components.Core.Enums.TELButtonStyle)" line-rate="0.6" branch-rate="0.2" complexity="5">
317+
<method name="ToCssClass" signature="(TELBlazor.Components.Core.Enums.TELButtonStyle)" line-rate="0.7" branch-rate="0.4" complexity="5">
318318
<lines>
319-
<line number="15" hits="18" branch="False" />
320-
<line number="16" hits="18" branch="True" condition-coverage="20% (1/5)">
319+
<line number="15" hits="22" branch="False" />
320+
<line number="16" hits="22" branch="True" condition-coverage="40% (2/5)">
321321
<conditions>
322-
<condition number="6" type="switch" coverage="20%" />
322+
<condition number="6" type="switch" coverage="40%" />
323323
</conditions>
324324
</line>
325-
<line number="17" hits="18" branch="False" />
326-
<line number="18" hits="0" branch="False" />
325+
<line number="17" hits="22" branch="False" />
326+
<line number="18" hits="20" branch="False" />
327327
<line number="19" hits="0" branch="False" />
328328
<line number="20" hits="0" branch="False" />
329-
<line number="21" hits="18" branch="False" />
329+
<line number="21" hits="2" branch="False" />
330330
<line number="22" hits="0" branch="False" />
331-
<line number="23" hits="18" branch="False" />
332-
<line number="24" hits="18" branch="False" />
331+
<line number="23" hits="22" branch="False" />
332+
<line number="24" hits="22" branch="False" />
333333
</lines>
334334
</method>
335335
</methods>
336336
<lines>
337-
<line number="15" hits="18" branch="False" />
338-
<line number="16" hits="18" branch="True" condition-coverage="20% (1/5)">
337+
<line number="15" hits="22" branch="False" />
338+
<line number="16" hits="22" branch="True" condition-coverage="40% (2/5)">
339339
<conditions>
340-
<condition number="6" type="switch" coverage="20%" />
340+
<condition number="6" type="switch" coverage="40%" />
341341
</conditions>
342342
</line>
343-
<line number="17" hits="18" branch="False" />
344-
<line number="18" hits="0" branch="False" />
343+
<line number="17" hits="22" branch="False" />
344+
<line number="18" hits="20" branch="False" />
345345
<line number="19" hits="0" branch="False" />
346346
<line number="20" hits="0" branch="False" />
347-
<line number="21" hits="18" branch="False" />
347+
<line number="21" hits="2" branch="False" />
348348
<line number="22" hits="0" branch="False" />
349-
<line number="23" hits="18" branch="False" />
350-
<line number="24" hits="18" branch="False" />
349+
<line number="23" hits="22" branch="False" />
350+
<line number="24" hits="22" branch="False" />
351351
</lines>
352352
</class>
353353
<class name="TELBlazor.Components.Core.DI.DI" filename="Core\DI\DI.cs" line-rate="0" branch-rate="1" complexity="1">
@@ -364,22 +364,22 @@
364364
<line number="22" hits="0" branch="False" />
365365
</lines>
366366
</class>
367-
<class name="TELBlazor.Components.Core.Configuration.TELBlazorBaseComponentConfiguration" filename="Core\Configuration\TELBlazorBaseComponentConfiguration.cs" line-rate="1" branch-rate="1" complexity="2">
367+
<class name="TELBlazor.Components.Core.Configuration.TELBlazorBaseComponentConfiguration" filename="Core\Configuration\TELBlazorBaseComponentConfiguration.cs" line-rate="0" branch-rate="1" complexity="2">
368368
<methods>
369-
<method name="get_JSEnabled" signature="()" line-rate="1" branch-rate="1" complexity="1">
369+
<method name="get_JSEnabled" signature="()" line-rate="0" branch-rate="1" complexity="1">
370370
<lines>
371-
<line number="14" hits="54" branch="False" />
371+
<line number="14" hits="0" branch="False" />
372372
</lines>
373373
</method>
374-
<method name="get_HostType" signature="()" line-rate="1" branch-rate="1" complexity="1">
374+
<method name="get_HostType" signature="()" line-rate="0" branch-rate="1" complexity="1">
375375
<lines>
376-
<line number="17" hits="54" branch="False" />
376+
<line number="17" hits="0" branch="False" />
377377
</lines>
378378
</method>
379379
</methods>
380380
<lines>
381-
<line number="14" hits="54" branch="False" />
382-
<line number="17" hits="54" branch="False" />
381+
<line number="14" hits="0" branch="False" />
382+
<line number="17" hits="0" branch="False" />
383383
</lines>
384384
</class>
385385
</classes>

0 commit comments

Comments
 (0)