-
+
{scopes.map((scope) => (
-
+
{value}
diff --git a/stories/cards/Selection.stories.js b/stories/cards/Selection.stories.js
index 0b6468f..0fe5824 100644
--- a/stories/cards/Selection.stories.js
+++ b/stories/cards/Selection.stories.js
@@ -36,7 +36,8 @@ export default {
},
showInfoIcon: {
control: { type: "boolean" },
- description: "Show info icon next to label (typically in vertical)",
+ description:
+ "Optional helper ? next to the label. Off in product until tooltip behavior ships.",
},
onClick: { action: "clicked" },
},
@@ -82,7 +83,7 @@ export const VerticalRecommended = {
recommended: true,
selected: false,
orientation: "vertical",
- showInfoIcon: true,
+ showInfoIcon: false,
},
};
@@ -93,7 +94,7 @@ export const VerticalSelected = {
recommended: false,
selected: true,
orientation: "vertical",
- showInfoIcon: true,
+ showInfoIcon: false,
},
};
@@ -134,7 +135,7 @@ export const AllVariants = {
recommended={true}
selected={false}
orientation="vertical"
- showInfoIcon={true}
+ showInfoIcon={false}
/>
@@ -147,7 +148,7 @@ export const AllVariants = {
recommended={false}
selected={true}
orientation="vertical"
- showInfoIcon={true}
+ showInfoIcon={false}
/>
diff --git a/stories/create-flow/ModalTextAreaField.stories.js b/stories/create-flow/ModalTextAreaField.stories.js
index 6e17f72..6376558 100644
--- a/stories/create-flow/ModalTextAreaField.stories.js
+++ b/stories/create-flow/ModalTextAreaField.stories.js
@@ -9,7 +9,7 @@ export default {
docs: {
description: {
component:
- "Shared 'labelled text area' field used by every create-flow modal section. Pairs `InputLabel` (with help icon) with a `TextArea` set to the `embedded` appearance.",
+ "Shared 'labelled text area' field used by every create-flow modal section. Pairs `InputLabel` with a `TextArea` set to the `embedded` appearance. Section help marks stay off until tooltip behavior ships.",
},
},
},
@@ -35,7 +35,7 @@ export const Default = {
},
args: {
label: "Description",
- helpIcon: true,
+ helpIcon: false,
placeholder: "What does this rule cover?",
rows: 4,
},
diff --git a/tests/components/ApplicableScopeField.test.tsx b/tests/components/ApplicableScopeField.test.tsx
index 7daaa2c..2367114 100644
--- a/tests/components/ApplicableScopeField.test.tsx
+++ b/tests/components/ApplicableScopeField.test.tsx
@@ -119,4 +119,10 @@ describe("ApplicableScopeField behavior", () => {
screen.queryByRole("textbox", { name: /Add Applicable Scope/i }),
).not.toBeInTheDocument();
});
+
+ it("does not render a section help icon", () => {
+ renderWithProviders(