From 58b299918c744e2914cd1e4626fa4ba00733d469 Mon Sep 17 00:00:00 2001 From: Nathan Curtis Date: Mon, 16 Dec 2024 15:34:19 -0800 Subject: [PATCH] [TM-1402] Update storyshot. --- .../TreeSpeciesInput.stories.tsx | 2 ++ .../TreeSpeciesInput.stories.storyshot | 24 +++++++++++++++++++ .../WizardForm/WizardForm.stories.tsx | 4 ++++ 3 files changed, 30 insertions(+) diff --git a/src/components/elements/Inputs/TreeSpeciesInput/TreeSpeciesInput.stories.tsx b/src/components/elements/Inputs/TreeSpeciesInput/TreeSpeciesInput.stories.tsx index 6e0df7760..f3fbe7609 100644 --- a/src/components/elements/Inputs/TreeSpeciesInput/TreeSpeciesInput.stories.tsx +++ b/src/components/elements/Inputs/TreeSpeciesInput/TreeSpeciesInput.stories.tsx @@ -27,6 +27,8 @@ export const Default: Story = { label: "Tree Species Grown", description: "List the tree species that you expect to restore on this project, across all sites. Please enter the scientific name for each tree species.", + withPreviousCounts: false, + useTaxonomicBackbone: true, required: true, value: [ { diff --git a/src/components/elements/Inputs/TreeSpeciesInput/__snapshots__/TreeSpeciesInput.stories.storyshot b/src/components/elements/Inputs/TreeSpeciesInput/__snapshots__/TreeSpeciesInput.stories.storyshot index 609851ed6..9810e81fc 100644 --- a/src/components/elements/Inputs/TreeSpeciesInput/__snapshots__/TreeSpeciesInput.stories.storyshot +++ b/src/components/elements/Inputs/TreeSpeciesInput/__snapshots__/TreeSpeciesInput.stories.storyshot @@ -133,6 +133,18 @@ exports[`Storyshots Components/Elements/Inputs/TreeSpeciesInput Default 1`] = `
+
+
+

+

+
+

{ description: "TRee species input description", fieldProps: { title: "Tree Species", + withPreviousCounts: false, + useTaxonomicBackbone: false, buttonCaptionSuffix: "Species", required: true }, @@ -204,6 +206,8 @@ const getSteps = (edit?: boolean): FormStepSchema[] => { fieldProps: { title: "Tree Species", + withPreviousCounts: false, + useTaxonomicBackbone: false, buttonCaptionSuffix: "Species", required: true, withNumbers: true