Hide unused helper marks on selection cards and modal section labels until tooltip behavior ships.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
adilallo
2026-08-21 16:28:38 -06:00
co-authored by Cursor
parent ef60175805
commit 440b6a9657
19 changed files with 92 additions and 25 deletions
+6 -5
View File
@@ -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}
/>
</div>
<div className="space-y-2">
@@ -147,7 +148,7 @@ export const AllVariants = {
recommended={false}
selected={true}
orientation="vertical"
showInfoIcon={true}
showInfoIcon={false}
/>
</div>
</div>
@@ -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,
},