Skip to content

Commit

Permalink
Merge pull request #156 from FrameMuse/141-add-named-components
Browse files Browse the repository at this point in the history
Add named components
  • Loading branch information
FrameMuse authored May 23, 2023
2 parents 63f6d23 + 1a50850 commit 04ee544
Show file tree
Hide file tree
Showing 5 changed files with 423 additions and 318 deletions.
222 changes: 116 additions & 106 deletions coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1684837378953" clover="3.2.0">
<project timestamp="1684837378954" name="All files">
<metrics statements="145" coveredstatements="139" conditionals="61" coveredconditionals="50" methods="51" coveredmethods="48" elements="257" coveredelements="237" complexity="0" loc="145" ncloc="145" packages="1" files="9" classes="9"/>
<coverage generated="1684839959040" clover="3.2.0">
<project timestamp="1684839959040" name="All files">
<metrics statements="155" coveredstatements="147" conditionals="65" coveredconditionals="53" methods="54" coveredmethods="51" elements="274" coveredelements="251" complexity="0" loc="155" ncloc="155" packages="1" files="9" classes="9"/>
<file name="Deffered.ts" path="/home/kotto/github/react-modal-global/src/Deffered.ts">
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
<line num="25" count="65" type="stmt"/>
<line num="26" count="65" type="stmt"/>
<line num="27" count="65" type="stmt"/>
<line num="25" count="73" type="stmt"/>
<line num="26" count="73" type="stmt"/>
<line num="27" count="73" type="stmt"/>
</file>
<file name="ModalContainer.tsx" path="/home/kotto/github/react-modal-global/src/ModalContainer.tsx">
<metrics statements="11" coveredstatements="11" conditionals="8" coveredconditionals="8" methods="4" coveredmethods="4"/>
Expand All @@ -23,86 +23,96 @@
<line num="67" count="36" type="stmt"/>
</file>
<file name="ModalController.ts" path="/home/kotto/github/react-modal-global/src/ModalController.ts">
<metrics statements="59" coveredstatements="54" conditionals="26" coveredconditionals="19" methods="24" coveredmethods="22"/>
<line num="36" count="44" type="stmt"/>
<line num="37" count="44" type="stmt"/>
<line num="40" count="124" type="stmt"/>
<line num="43" count="44" type="stmt"/>
<line num="45" count="49" type="stmt"/>
<line num="48" count="341" type="stmt"/>
<line num="56" count="14" type="cond" truecount="1" falsecount="1"/>
<line num="58" count="14" type="stmt"/>
<line num="59" count="14" type="stmt"/>
<line num="65" count="61" type="cond" truecount="2" falsecount="0"/>
<line num="67" count="35" type="stmt"/>
<line num="68" count="35" type="stmt"/>
<line num="99" count="65" type="stmt"/>
<line num="102" count="65" type="stmt"/>
<line num="106" count="65" type="cond" truecount="2" falsecount="0"/>
<line num="107" count="30" type="stmt"/>
<line num="108" count="30" type="cond" truecount="2" falsecount="0"/>
<metrics statements="69" coveredstatements="62" conditionals="30" coveredconditionals="22" methods="27" coveredmethods="25"/>
<line num="38" count="50" type="stmt"/>
<line num="39" count="50" type="stmt"/>
<line num="42" count="134" type="stmt"/>
<line num="45" count="50" type="stmt"/>
<line num="47" count="51" type="stmt"/>
<line num="50" count="376" type="stmt"/>
<line num="58" count="14" type="cond" truecount="1" falsecount="1"/>
<line num="60" count="14" type="stmt"/>
<line num="61" count="14" type="stmt"/>
<line num="67" count="69" type="cond" truecount="2" falsecount="0"/>
<line num="69" count="37" type="stmt"/>
<line num="70" count="37" type="stmt"/>
<line num="99" count="73" type="stmt"/>
<line num="102" count="73" type="stmt"/>
<line num="106" count="73" type="cond" truecount="2" falsecount="0"/>
<line num="107" count="36" type="stmt"/>
<line num="108" count="36" type="cond" truecount="2" falsecount="0"/>
<line num="109" count="4" type="stmt"/>
<line num="113" count="61" type="cond" truecount="4" falsecount="0"/>
<line num="113" count="69" type="cond" truecount="4" falsecount="0"/>
<line num="114" count="3" type="stmt"/>
<line num="116" count="61" type="stmt"/>
<line num="117" count="61" type="stmt"/>
<line num="119" count="61" type="stmt"/>
<line num="121" count="61" type="stmt"/>
<line num="130" count="2" type="stmt"/>
<line num="131" count="2" type="cond" truecount="1" falsecount="1"/>
<line num="132" count="2" type="stmt"/>
<line num="137" count="2" type="stmt"/>
<line num="144" count="28" type="cond" truecount="1" falsecount="1"/>
<line num="145" count="28" type="cond" truecount="1" falsecount="1"/>
<line num="147" count="28" type="cond" truecount="2" falsecount="0"/>
<line num="148" count="14" type="stmt"/>
<line num="150" count="14" type="stmt"/>
<line num="153" count="14" type="stmt"/>
<line num="154" count="14" type="stmt"/>
<line num="161" count="5" type="stmt"/>
<line num="162" count="2" type="stmt"/>
<line num="169" count="2" type="stmt"/>
<line num="170" count="9" type="cond" truecount="2" falsecount="0"/>
<line num="171" count="1" type="stmt"/>
<line num="174" count="8" type="cond" truecount="1" falsecount="1"/>
<line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="176" count="0" type="stmt"/>
<line num="180" count="8" type="stmt"/>
<line num="182" count="8" type="stmt"/>
<line num="189" count="4" type="stmt"/>
<line num="201" count="0" type="stmt"/>
<line num="203" count="0" type="stmt"/>
<line num="204" count="0" type="stmt"/>
<line num="216" count="107" type="stmt"/>
<line num="217" count="107" type="stmt"/>
<line num="218" count="107" type="stmt"/>
<line num="220" count="107" type="stmt"/>
<line num="221" count="63" type="stmt"/>
<line num="222" count="63" type="stmt"/>
<line num="223" count="63" type="stmt"/>
<line num="227" count="291" type="stmt"/>
<line num="230" count="44" type="stmt"/>
<line num="232" count="124" type="stmt"/>
<line num="116" count="69" type="stmt"/>
<line num="117" count="69" type="stmt"/>
<line num="119" count="69" type="stmt"/>
<line num="121" count="69" type="stmt"/>
<line num="127" count="4" type="stmt"/>
<line num="129" count="4" type="stmt"/>
<line num="138" count="6" type="stmt"/>
<line num="139" count="6" type="cond" truecount="2" falsecount="0"/>
<line num="140" count="5" type="stmt"/>
<line num="143" count="6" type="stmt"/>
<line num="150" count="4" type="stmt"/>
<line num="152" count="4" type="stmt"/>
<line num="159" count="28" type="cond" truecount="1" falsecount="1"/>
<line num="160" count="28" type="cond" truecount="1" falsecount="1"/>
<line num="162" count="28" type="cond" truecount="2" falsecount="0"/>
<line num="163" count="14" type="stmt"/>
<line num="165" count="14" type="stmt"/>
<line num="168" count="14" type="stmt"/>
<line num="169" count="14" type="stmt"/>
<line num="176" count="5" type="stmt"/>
<line num="177" count="2" type="stmt"/>
<line num="184" count="2" type="stmt"/>
<line num="185" count="9" type="cond" truecount="2" falsecount="0"/>
<line num="186" count="1" type="stmt"/>
<line num="189" count="8" type="cond" truecount="1" falsecount="1"/>
<line num="190" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="191" count="0" type="stmt"/>
<line num="195" count="8" type="stmt"/>
<line num="197" count="8" type="stmt"/>
<line num="204" count="4" type="stmt"/>
<line num="209" count="8" type="stmt"/>
<line num="211" count="8" type="cond" truecount="1" falsecount="1"/>
<line num="212" count="0" type="stmt"/>
<line num="215" count="8" type="cond" truecount="1" falsecount="1"/>
<line num="216" count="0" type="stmt"/>
<line num="219" count="8" type="stmt"/>
<line num="233" count="0" type="stmt"/>
<line num="235" count="0" type="stmt"/>
<line num="236" count="0" type="stmt"/>
<line num="248" count="113" type="stmt"/>
<line num="249" count="113" type="stmt"/>
<line num="250" count="113" type="stmt"/>
<line num="252" count="113" type="stmt"/>
<line num="253" count="63" type="stmt"/>
<line num="254" count="63" type="stmt"/>
<line num="255" count="63" type="stmt"/>
<line num="259" count="291" type="stmt"/>
<line num="262" count="50" type="stmt"/>
<line num="264" count="134" type="stmt"/>
</file>
<file name="ModalWindow.ts" path="/home/kotto/github/react-modal-global/src/ModalWindow.ts">
<metrics statements="18" coveredstatements="17" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="4"/>
<line num="25" count="3" type="stmt"/>
<line num="32" count="3" type="stmt"/>
<line num="75" count="65" type="stmt"/>
<line num="76" count="65" type="stmt"/>
<line num="78" count="65" type="stmt"/>
<line num="79" count="65" type="stmt"/>
<line num="81" count="65" type="stmt"/>
<line num="83" count="65" type="stmt"/>
<line num="84" count="65" type="stmt"/>
<line num="86" count="65" type="stmt"/>
<line num="99" count="65" type="stmt"/>
<line num="75" count="73" type="stmt"/>
<line num="76" count="73" type="stmt"/>
<line num="78" count="73" type="stmt"/>
<line num="79" count="73" type="stmt"/>
<line num="81" count="73" type="stmt"/>
<line num="83" count="73" type="stmt"/>
<line num="84" count="73" type="stmt"/>
<line num="86" count="73" type="stmt"/>
<line num="99" count="73" type="stmt"/>
<line num="100" count="14" type="stmt"/>
<line num="101" count="14" type="stmt"/>
<line num="103" count="14" type="stmt"/>
<line num="115" count="2" type="stmt"/>
<line num="128" count="65" type="stmt"/>
<line num="130" count="65" type="stmt"/>
<line num="128" count="73" type="stmt"/>
<line num="130" count="73" type="stmt"/>
<line num="131" count="0" type="stmt"/>
</file>
<file name="context.ts" path="/home/kotto/github/react-modal-global/src/context.ts">
Expand Down Expand Up @@ -131,26 +141,26 @@
<line num="31" count="25" type="stmt"/>
<line num="33" count="25" type="stmt"/>
<line num="34" count="25" type="stmt"/>
<line num="39" count="66" type="cond" truecount="1" falsecount="1"/>
<line num="42" count="66" type="stmt"/>
<line num="43" count="66" type="stmt"/>
<line num="44" count="246" type="cond" truecount="4" falsecount="0"/>
<line num="45" count="132" type="cond" truecount="2" falsecount="0"/>
<line num="46" count="1" type="stmt"/>
<line num="48" count="131" type="stmt"/>
<line num="51" count="245" type="stmt"/>
<line num="56" count="246" type="cond" truecount="2" falsecount="0"/>
<line num="58" count="65" type="cond" truecount="4" falsecount="0"/>
<line num="59" count="12" type="stmt"/>
<line num="62" count="53" type="stmt"/>
<line num="65" count="181" type="stmt"/>
<line num="69" count="66" type="stmt"/>
<line num="71" count="66" type="stmt"/>
<line num="72" count="246" type="stmt"/>
<line num="74" count="246" type="stmt"/>
<line num="75" count="246" type="stmt"/>
<line num="79" count="66" type="stmt"/>
<line num="80" count="66" type="stmt"/>
<line num="39" count="74" type="cond" truecount="1" falsecount="1"/>
<line num="42" count="74" type="stmt"/>
<line num="43" count="74" type="stmt"/>
<line num="44" count="320" type="cond" truecount="4" falsecount="0"/>
<line num="45" count="172" type="cond" truecount="2" falsecount="0"/>
<line num="46" count="7" type="stmt"/>
<line num="48" count="165" type="stmt"/>
<line num="51" count="313" type="stmt"/>
<line num="56" count="320" type="cond" truecount="2" falsecount="0"/>
<line num="58" count="81" type="cond" truecount="4" falsecount="0"/>
<line num="59" count="20" type="stmt"/>
<line num="62" count="61" type="stmt"/>
<line num="65" count="239" type="stmt"/>
<line num="69" count="74" type="stmt"/>
<line num="71" count="74" type="stmt"/>
<line num="72" count="320" type="stmt"/>
<line num="74" count="320" type="stmt"/>
<line num="75" count="320" type="stmt"/>
<line num="79" count="74" type="stmt"/>
<line num="80" count="74" type="stmt"/>
<line num="89" count="36" type="stmt"/>
<line num="90" count="8" type="cond" truecount="3" falsecount="1"/>
<line num="91" count="8" type="cond" truecount="2" falsecount="0"/>
Expand All @@ -159,17 +169,17 @@
<line num="108" count="3" type="stmt"/>
<line num="110" count="1" type="stmt"/>
<line num="112" count="1" type="stmt"/>
<line num="121" count="65" type="stmt"/>
<line num="122" count="65" type="stmt"/>
<line num="124" count="65" type="stmt"/>
<line num="125" count="3356" type="stmt"/>
<line num="127" count="3356" type="stmt"/>
<line num="128" count="3356" type="stmt"/>
<line num="131" count="65" type="stmt"/>
<line num="132" count="65" type="stmt"/>
<line num="133" count="65" type="stmt"/>
<line num="134" count="65" type="stmt"/>
<line num="136" count="65" type="stmt"/>
<line num="121" count="73" type="stmt"/>
<line num="122" count="73" type="stmt"/>
<line num="124" count="73" type="stmt"/>
<line num="125" count="5324" type="stmt"/>
<line num="127" count="5324" type="stmt"/>
<line num="128" count="5324" type="stmt"/>
<line num="131" count="73" type="stmt"/>
<line num="132" count="73" type="stmt"/>
<line num="133" count="73" type="stmt"/>
<line num="134" count="73" type="stmt"/>
<line num="136" count="73" type="stmt"/>
<line num="140" count="2" type="cond" truecount="1" falsecount="1"/>
<line num="142" count="2" type="stmt"/>
<line num="144" count="2" type="stmt"/>
Expand Down
Loading

0 comments on commit 04ee544

Please sign in to comment.