Skip to content

Commit

Permalink
update storybook snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
dottyy committed Jun 7, 2024
1 parent dc75529 commit d2067fe
Show file tree
Hide file tree
Showing 14 changed files with 80 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ exports[`Storyshots Components/Elements/Cards/GoalProgressCard/Card Progress And
className="text-14-bold"
data-testid="txt"
>
1332
1,332
</p>
</div>
<div
Expand All @@ -165,7 +165,7 @@ exports[`Storyshots Components/Elements/Cards/GoalProgressCard/Card Progress And
className="text-14-bold"
data-testid="txt"
>
530000
530,000
</p>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exports[`Storyshots Components/Elements/Cards/GoalProgressCard/Item Default 1`]
className="text-14-bold"
data-testid="txt"
>
530000
530,000
</p>
</div>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -69,39 +69,31 @@ exports[`Storyshots Components/Elements/Commentary Default 1`] = `
<p
className="text-grey-700 text-14-light"
data-testid="txt"
>
img-attachment.jpeg
</p>
/>
</div>
<div
className="rounded-xl bg-neutral-150 px-2 py-1"
>
<p
className="text-grey-700 text-14-light"
data-testid="txt"
>
img-attachment-with-large-name.jpeg
</p>
/>
</div>
<div
className="rounded-xl bg-neutral-150 px-2 py-1"
>
<p
className="text-grey-700 text-14-light"
data-testid="txt"
>
img-attachment.jpeg
</p>
/>
</div>
<div
className="rounded-xl bg-neutral-150 px-2 py-1"
>
<p
className="text-grey-700 text-14-light"
data-testid="txt"
>
img-attachment.jpeg
</p>
/>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ exports[`Storyshots Components/Elements/Inputs/AutoComplete Default 1`] = `
className="w-full outline-none transition-all duration-300 ease-in-out focus:ring-transparent px-3 py-[9px] rounded-lg focus:border-primary-500 border border-neutral-200"
data-headlessui-state=""
id=":rc:"
onChange={[Function]}
onChangeCapture={[Function]}
onClick={[Function]}
onKeyUp={[Function]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ exports[`Storyshots Components/Elements/Inputs/Input Default 1`] = `
aria-invalid={false}
className="w-full outline-none transition-all duration-300 ease-in-out focus:ring-transparent px-3 py-[9px] rounded-lg focus:border-primary-500 border border-neutral-200"
id=":r16:"
onChange={[Function]}
placeholder="Input placeholder"
type="text"
/>
Expand Down Expand Up @@ -66,6 +67,7 @@ exports[`Storyshots Components/Elements/Inputs/Input Disabled 1`] = `
className="w-full outline-none transition-all duration-300 ease-in-out focus:ring-transparent px-3 py-[9px] rounded-lg focus:border-primary-500 border border-neutral-200"
disabled={true}
id=":r18:"
onChange={[Function]}
placeholder="Input placeholder"
type="text"
/>
Expand Down Expand Up @@ -103,6 +105,7 @@ exports[`Storyshots Components/Elements/Inputs/Input Error 1`] = `
aria-invalid={true}
className="w-full outline-none transition-all duration-300 ease-in-out focus:ring-transparent px-3 py-[9px] rounded-lg focus:border-primary-500 border border-error focus:border-error"
id=":r17:"
onChange={[Function]}
placeholder="Input placeholder"
type="text"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ exports[`Storyshots Components/Elements/Inputs/InputTable Default 1`] = `
className="text-heading-100 text-center w-full outline-none transition-all duration-300 ease-in-out focus:ring-transparent border-0 border-b py-[10px] px-0 pl-4 border-b-neutral-400"
id=":r19:"
name="full-time-jobs"
onChange={[Function]}
onKeyDown={[Function]}
placeholder="Enter a value"
type="number"
Expand Down Expand Up @@ -97,6 +98,7 @@ exports[`Storyshots Components/Elements/Inputs/InputTable Default 1`] = `
className="text-heading-100 text-center w-full outline-none transition-all duration-300 ease-in-out focus:ring-transparent border-0 border-b py-[10px] px-0 pl-4 border-b-neutral-400"
id=":r1a:"
name="part-time-jobs"
onChange={[Function]}
onKeyDown={[Function]}
placeholder="Enter a value"
type="number"
Expand Down Expand Up @@ -132,6 +134,7 @@ exports[`Storyshots Components/Elements/Inputs/InputTable Default 1`] = `
className="text-heading-100 text-center w-full outline-none transition-all duration-300 ease-in-out focus:ring-transparent border-0 border-b py-[10px] px-0 pl-4 border-b-neutral-400"
id=":r1b:"
name="women-employees"
onChange={[Function]}
onKeyDown={[Function]}
placeholder="Enter a value"
type="number"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`Storyshots Components/Elements/Inputs/TreeSpeciesInput Default 1`] = `
<label
className="mr-2 inline uppercase text-bold-body-300"
data-testid="txt"
htmlFor=":r2b:"
htmlFor=":r2c:"
>
Tree Species Grown *
</label>
Expand All @@ -19,7 +19,7 @@ exports[`Storyshots Components/Elements/Inputs/TreeSpeciesInput Default 1`] = `
}
}
data-testid="txt"
id=":r2b:-description"
id=":r2c:-description"
/>
<div>
<div
Expand Down Expand Up @@ -47,12 +47,13 @@ exports[`Storyshots Components/Elements/Inputs/TreeSpeciesInput Default 1`] = `
className="relative"
>
<input
aria-describedby=":r2c:-description"
aria-describedby=":r2d:-description"
aria-invalid={false}
className="w-full outline-none transition-all duration-300 ease-in-out focus:ring-transparent border-0 border-b py-[10px] px-0 border-b-neutral-400"
defaultValue="Test"
id=":r2c:"
id=":r2d:"
name="name"
onChange={[Function]}
onKeyDownCapture={[Function]}
placeholder="Species Name"
type="text"
Expand Down Expand Up @@ -103,7 +104,7 @@ exports[`Storyshots Components/Elements/Inputs/TreeSpeciesInput With Number 1`]
<label
className="mr-2 inline uppercase text-bold-body-300"
data-testid="txt"
htmlFor=":r2d:"
htmlFor=":r2e:"
>
Tree Species Grown *
</label>
Expand All @@ -115,7 +116,7 @@ exports[`Storyshots Components/Elements/Inputs/TreeSpeciesInput With Number 1`]
}
}
data-testid="txt"
id=":r2d:-description"
id=":r2e:-description"
/>
<div>
<div
Expand Down Expand Up @@ -149,12 +150,13 @@ exports[`Storyshots Components/Elements/Inputs/TreeSpeciesInput With Number 1`]
className="relative"
>
<input
aria-describedby=":r2e:-description"
aria-describedby=":r2f:-description"
aria-invalid={false}
className="w-full outline-none transition-all duration-300 ease-in-out focus:ring-transparent border-0 border-b py-[10px] px-0 border-b-neutral-400"
defaultValue="Test"
id=":r2e:"
id=":r2f:"
name="name"
onChange={[Function]}
onKeyDownCapture={[Function]}
placeholder="Species Name"
type="text"
Expand All @@ -168,12 +170,13 @@ exports[`Storyshots Components/Elements/Inputs/TreeSpeciesInput With Number 1`]
className="relative"
>
<input
aria-describedby=":r2f:-description"
aria-describedby=":r2g:-description"
aria-invalid={false}
className="w-full outline-none transition-all duration-300 ease-in-out focus:ring-transparent border-0 border-b py-[10px] px-0 pl-4 border-b-neutral-400"
defaultValue={23}
id=":r2f:"
id=":r2g:"
name="amount"
onChange={[Function]}
onKeyDown={[Function]}
onKeyDownCapture={[Function]}
placeholder="Enter value"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`Storyshots Components/Elements/Inputs/TextArea Default 1`] = `
<label
className="mr-2 inline uppercase text-bold-body-300"
data-testid="txt"
htmlFor=":r2g:"
htmlFor=":r2b:"
>
Input Label
</label>
Expand All @@ -19,14 +19,13 @@ exports[`Storyshots Components/Elements/Inputs/TextArea Default 1`] = `
}
}
data-testid="txt"
id=":r2g:-description"
id=":r2b:-description"
/>
<textarea
className="min-h-[150px] w-full rounded-lg px-3 py-2 focus:border-primary-500 outline-none transition-all duration-300 ease-in-out focus:ring-transparent border-light "
id=":r2g:"
id=":r2b:"
onChange={[Function]}
placeholder="Input placeholder"
value=""
/>
</div>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,15 @@ exports[`Storyshots Components/Extensive/Modal/ModalConfirm Default 1`] = `
/>
</div>
<div
className="text-right text-xs text-grey-500"
className="display-grid"
>
0
/255
characters
<div
className="text-right text-xs text-grey-500"
>
0
/255
characters
</div>
</div>
</div>
<div
Expand Down
Loading

0 comments on commit d2067fe

Please sign in to comment.