mirror of
https://github.com/prymitive/karma
synced 2026-08-28 11:17:28 +00:00
feat(ci): add stylelint
This commit is contained in:
committed by
Łukasz Mierzwa
parent
b5d590bcfc
commit
6444cd05ec
@@ -9,7 +9,7 @@ exports[`<LabelWithPercent /> matches snapshot with isActive=true 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
25
|
||||
</span>
|
||||
@@ -36,7 +36,7 @@ exports[`<LabelWithPercent /> matches snapshot with isActive=true 1`] = `
|
||||
</svg>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -60,7 +60,7 @@ exports[`<LabelWithPercent /> matches snapshot with offset=0 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
25
|
||||
</span>
|
||||
@@ -73,7 +73,7 @@ exports[`<LabelWithPercent /> matches snapshot with offset=0 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -97,7 +97,7 @@ exports[`<LabelWithPercent /> matches snapshot with offset=25 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
25
|
||||
</span>
|
||||
@@ -110,7 +110,7 @@ exports[`<LabelWithPercent /> matches snapshot with offset=25 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
|
||||
@@ -56,7 +56,7 @@ const LabelWithPercent: FC<{
|
||||
return (
|
||||
<div className="d-inline-block mw-100">
|
||||
<span className={cs.className} style={cs.style}>
|
||||
<span className="me-1 px-1 bg-primary text-white components-labelWithPercent-percent">
|
||||
<span className="me-1 px-1 bg-primary text-white components-label-with-percent-percent">
|
||||
{hits}
|
||||
</span>
|
||||
<span onClick={handleClick}>
|
||||
@@ -71,7 +71,7 @@ const LabelWithPercent: FC<{
|
||||
/>
|
||||
) : null}
|
||||
</span>
|
||||
<div className="progress components-labelWithPercent-progress me-1">
|
||||
<div className="progress components-label-with-percent-progress me-1">
|
||||
{offset === 0 ? null : (
|
||||
<div
|
||||
className="progress-bar bg-transparent"
|
||||
|
||||
@@ -25,7 +25,7 @@ const TableRows: FC<{
|
||||
<tr key={nameStats.name}>
|
||||
<td width="25%" className="text-nowrap mw-100 p-1">
|
||||
<span className="badge bg-light components-label mx-0 mt-0 mb-auto ps-0 text-start">
|
||||
<span className="bg-primary text-white me-1 px-1 components-labelWithPercent-percent">
|
||||
<span className="bg-primary text-white me-1 px-1 components-label-with-percent-percent">
|
||||
{nameStats.hits}
|
||||
</span>
|
||||
{nameStats.name}
|
||||
|
||||
@@ -35,7 +35,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="badge bg-light components-label mx-0 mt-0 mb-auto ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="bg-primary text-white me-1 px-1 components-labelWithPercent-percent"
|
||||
class="bg-primary text-white me-1 px-1 components-label-with-percent-percent"
|
||||
>
|
||||
16
|
||||
</span>
|
||||
@@ -53,7 +53,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
8
|
||||
</span>
|
||||
@@ -66,7 +66,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -85,7 +85,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
4
|
||||
</span>
|
||||
@@ -98,7 +98,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -125,7 +125,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
4
|
||||
</span>
|
||||
@@ -138,7 +138,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -169,7 +169,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="badge bg-light components-label mx-0 mt-0 mb-auto ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="bg-primary text-white me-1 px-1 components-labelWithPercent-percent"
|
||||
class="bg-primary text-white me-1 px-1 components-label-with-percent-percent"
|
||||
>
|
||||
20
|
||||
</span>
|
||||
@@ -187,7 +187,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
1
|
||||
</span>
|
||||
@@ -200,7 +200,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -219,7 +219,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
1
|
||||
</span>
|
||||
@@ -232,7 +232,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -259,7 +259,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
1
|
||||
</span>
|
||||
@@ -272,7 +272,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -299,7 +299,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
1
|
||||
</span>
|
||||
@@ -312,7 +312,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -339,7 +339,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
1
|
||||
</span>
|
||||
@@ -352,7 +352,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -379,7 +379,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
1
|
||||
</span>
|
||||
@@ -392,7 +392,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -419,7 +419,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
1
|
||||
</span>
|
||||
@@ -432,7 +432,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -459,7 +459,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
1
|
||||
</span>
|
||||
@@ -472,7 +472,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -499,7 +499,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-default components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
1
|
||||
</span>
|
||||
@@ -512,7 +512,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
@@ -548,7 +548,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="badge bg-light components-label mx-0 mt-0 mb-auto ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="bg-primary text-white me-1 px-1 components-labelWithPercent-percent"
|
||||
class="bg-primary text-white me-1 px-1 components-label-with-percent-percent"
|
||||
>
|
||||
5
|
||||
</span>
|
||||
@@ -566,7 +566,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
class="components-label badge bg-dark components-label-dark components-label-with-hover mb-0 ps-0 text-start"
|
||||
>
|
||||
<span
|
||||
class="me-1 px-1 bg-primary text-white components-labelWithPercent-percent"
|
||||
class="me-1 px-1 bg-primary text-white components-label-with-percent-percent"
|
||||
>
|
||||
5
|
||||
</span>
|
||||
@@ -579,7 +579,7 @@ exports[`<OverviewModalContent /> matches snapshot with labels to show 1`] = `
|
||||
</span>
|
||||
</span>
|
||||
<div
|
||||
class="progress components-labelWithPercent-progress me-1"
|
||||
class="progress components-label-with-percent-progress me-1"
|
||||
>
|
||||
<div
|
||||
aria-valuemax="100"
|
||||
|
||||
Reference in New Issue
Block a user