Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`Radio Component > props.checked is equal to true 1`] = `
exports[`Radio > props > :checked input element 1`] = `
<label
class="t-radio t-is-checked"
tabindex="0"
Expand All @@ -22,9 +22,9 @@ exports[`Radio Component > props.checked is equal to true 1`] = `
</label>
`;

exports[`Radio Component > props.checked works fine 1`] = `
exports[`Radio > props > :checked[false] explicit 1`] = `
<label
class="t-radio t-is-checked"
class="t-radio"
tabindex="0"
>
<input
Expand All @@ -44,9 +44,9 @@ exports[`Radio Component > props.checked works fine 1`] = `
</label>
`;

exports[`Radio Component > props.checked works fine 2`] = `
exports[`Radio > props > :checked[true] 1`] = `
<label
class="t-radio"
class="t-radio t-is-checked"
tabindex="0"
>
<input
Expand All @@ -66,7 +66,7 @@ exports[`Radio Component > props.checked works fine 2`] = `
</label>
`;

exports[`Radio Component > props.default works fine 1`] = `
exports[`Radio > props > :default[function] 1`] = `
<label
class="t-radio"
tabindex="0"
Expand All @@ -92,13 +92,13 @@ exports[`Radio Component > props.default works fine 1`] = `
</label>
`;

exports[`Radio Component > props.disabled works fine 1`] = `
exports[`Radio > props > :default[slot] 1`] = `
<label
class="t-radio t-is-disabled"
class="t-radio"
tabindex="0"
>
<input
class="t-radio__former"
disabled=""
name=""
tabindex="-1"
type="radio"
Expand All @@ -110,13 +110,17 @@ exports[`Radio Component > props.disabled works fine 1`] = `
class="t-radio__label"
>

Text
<span
class="custom-node"
>
TNode
</span>

</span>
</label>
`;

exports[`Radio Component > props.disabled works fine 2`] = `
exports[`Radio > props > :disabled[false] explicit 1`] = `
<label
class="t-radio"
tabindex="0"
Expand All @@ -140,13 +144,13 @@ exports[`Radio Component > props.disabled works fine 2`] = `
</label>
`;

exports[`Radio Component > slots.default works fine 1`] = `
exports[`Radio > props > :disabled[true] 1`] = `
<label
class="t-radio"
tabindex="0"
class="t-radio t-is-disabled"
>
<input
class="t-radio__former"
disabled=""
name=""
tabindex="-1"
type="radio"
Expand All @@ -158,17 +162,13 @@ exports[`Radio Component > slots.default works fine 1`] = `
class="t-radio__label"
>

<span
class="custom-node"
>
TNode
</span>
Text

</span>
</label>
`;

exports[`RadioGroup Component > props.disabled is equal true 1`] = `
exports[`RadioGroup > props > :disabled with children 1`] = `
<div
class="t-radio-group t-size-m t-radio-group__outline"
>
Expand Down Expand Up @@ -201,6 +201,7 @@ exports[`RadioGroup Component > props.disabled is equal true 1`] = `
>
<input
class="t-radio__former"
data-allow-uncheck="true"
data-value="'2'"
disabled=""
name=""
Expand All @@ -224,7 +225,7 @@ exports[`RadioGroup Component > props.disabled is equal true 1`] = `
>
<input
class="t-radio__former"
data-value="3"
data-value="'3'"
disabled=""
name=""
tabindex="-1"
Expand All @@ -238,11 +239,7 @@ exports[`RadioGroup Component > props.disabled is equal true 1`] = `
class="t-radio__label"
>

<span
class="custom-node"
>
Radio3
</span>
Radio3

</span>
</label>
Expand All @@ -251,7 +248,7 @@ exports[`RadioGroup Component > props.disabled is equal true 1`] = `
>
<input
class="t-radio__former"
data-value="4"
data-value="'4'"
disabled=""
name=""
tabindex="-1"
Expand All @@ -274,7 +271,7 @@ exports[`RadioGroup Component > props.disabled is equal true 1`] = `
</div>
`;

exports[`RadioGroup Component > props.disabled is equal true 2`] = `
exports[`RadioGroup > props > :disabled with options 1`] = `
<div
class="t-radio-group t-size-m t-radio-group__outline"
>
Expand Down Expand Up @@ -307,7 +304,6 @@ exports[`RadioGroup Component > props.disabled is equal true 2`] = `
>
<input
class="t-radio__former"
data-allow-uncheck="true"
data-value="'2'"
disabled=""
name=""
Expand All @@ -331,7 +327,7 @@ exports[`RadioGroup Component > props.disabled is equal true 2`] = `
>
<input
class="t-radio__former"
data-value="'3'"
data-value="3"
disabled=""
name=""
tabindex="-1"
Expand All @@ -345,7 +341,11 @@ exports[`RadioGroup Component > props.disabled is equal true 2`] = `
class="t-radio__label"
>

Radio3
<span
class="custom-node"
>
Radio3
</span>

</span>
</label>
Expand All @@ -354,7 +354,7 @@ exports[`RadioGroup Component > props.disabled is equal true 2`] = `
>
<input
class="t-radio__former"
data-value="'4'"
data-value="4"
disabled=""
name=""
tabindex="-1"
Expand All @@ -377,7 +377,7 @@ exports[`RadioGroup Component > props.disabled is equal true 2`] = `
</div>
`;

exports[`RadioGroup Component > props.name is equal to 'custom-radio-name' 1`] = `
exports[`RadioGroup > props > :name with children 1`] = `
<div
class="t-radio-group t-size-m t-radio-group__outline"
>
Expand Down Expand Up @@ -411,6 +411,7 @@ exports[`RadioGroup Component > props.name is equal to 'custom-radio-name' 1`] =
>
<input
class="t-radio__former"
data-allow-uncheck="true"
data-value="'2'"
name="custom-radio-name"
tabindex="-1"
Expand All @@ -434,7 +435,7 @@ exports[`RadioGroup Component > props.name is equal to 'custom-radio-name' 1`] =
>
<input
class="t-radio__former"
data-value="3"
data-value="'3'"
name="custom-radio-name"
tabindex="-1"
type="radio"
Expand All @@ -447,11 +448,7 @@ exports[`RadioGroup Component > props.name is equal to 'custom-radio-name' 1`] =
class="t-radio__label"
>

<span
class="custom-node"
>
Radio3
</span>
Radio3

</span>
</label>
Expand All @@ -460,7 +457,7 @@ exports[`RadioGroup Component > props.name is equal to 'custom-radio-name' 1`] =
>
<input
class="t-radio__former"
data-value="4"
data-value="'4'"
disabled=""
name="custom-radio-name"
tabindex="-1"
Expand All @@ -483,7 +480,7 @@ exports[`RadioGroup Component > props.name is equal to 'custom-radio-name' 1`] =
</div>
`;

exports[`RadioGroup Component > props.name is equal to 'custom-radio-name' 2`] = `
exports[`RadioGroup > props > :name with options 1`] = `
<div
class="t-radio-group t-size-m t-radio-group__outline"
>
Expand Down Expand Up @@ -517,7 +514,6 @@ exports[`RadioGroup Component > props.name is equal to 'custom-radio-name' 2`] =
>
<input
class="t-radio__former"
data-allow-uncheck="true"
data-value="'2'"
name="custom-radio-name"
tabindex="-1"
Expand All @@ -541,7 +537,7 @@ exports[`RadioGroup Component > props.name is equal to 'custom-radio-name' 2`] =
>
<input
class="t-radio__former"
data-value="'3'"
data-value="3"
name="custom-radio-name"
tabindex="-1"
type="radio"
Expand All @@ -554,7 +550,11 @@ exports[`RadioGroup Component > props.name is equal to 'custom-radio-name' 2`] =
class="t-radio__label"
>

Radio3
<span
class="custom-node"
>
Radio3
</span>

</span>
</label>
Expand All @@ -563,7 +563,7 @@ exports[`RadioGroup Component > props.name is equal to 'custom-radio-name' 2`] =
>
<input
class="t-radio__former"
data-value="'4'"
data-value="4"
disabled=""
name="custom-radio-name"
tabindex="-1"
Expand Down
Loading
Loading