Skip to content

Commit 732b07f

Browse files
Clean up for release
Build Server commit: Update release notes, commit inline icons (if needed), site component documentation (if needed). Remove patch.md or minor.md
1 parent 8234fcd commit 732b07f

File tree

3 files changed

+73
-43
lines changed

3 files changed

+73
-43
lines changed

components/component-docs.json

Lines changed: 72 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,13 @@
585585
"computed": false
586586
}
587587
},
588+
"isOpenTooltip": {
589+
"type": {
590+
"name": "bool"
591+
},
592+
"required": false,
593+
"description": "Open the More Tooltip"
594+
},
588595
"moreLabel": {
589596
"type": {
590597
"name": "string"
@@ -10316,30 +10323,6 @@
1031610323
"params": [],
1031710324
"returns": null
1031810325
},
10319-
{
10320-
"name": "decorateGrandKidsWithKeyToSilenceWarning",
10321-
"docblock": null,
10322-
"modifiers": [],
10323-
"params": [
10324-
{
10325-
"name": "grandKids",
10326-
"type": null
10327-
}
10328-
],
10329-
"returns": null
10330-
},
10331-
{
10332-
"name": "grandKidsWithAsstText",
10333-
"docblock": null,
10334-
"modifiers": [],
10335-
"params": [
10336-
{
10337-
"name": "child",
10338-
"type": null
10339-
}
10340-
],
10341-
"returns": null
10342-
},
1034310326
{
1034410327
"name": "handleCancel",
1034510328
"docblock": null,
@@ -10372,13 +10355,6 @@
1037210355
}
1037310356
],
1037410357
"returns": null
10375-
},
10376-
{
10377-
"name": "renderAssistantText",
10378-
"docblock": null,
10379-
"modifiers": [],
10380-
"params": [],
10381-
"returns": null
1038210358
}
1038310359
],
1038410360
"props": {
@@ -10443,6 +10419,27 @@
1044310419
"computed": false
1044410420
}
1044510421
},
10422+
"assistiveText": {
10423+
"type": {
10424+
"name": "shape",
10425+
"value": {
10426+
"tooltipTipLearnMoreIcon": {
10427+
"name": "string",
10428+
"required": false
10429+
},
10430+
"triggerLearnMoreIcon": {
10431+
"name": "string",
10432+
"required": false
10433+
}
10434+
}
10435+
},
10436+
"required": false,
10437+
"description": "**Assistive text for accessibility**\nThis object is merged with the default props object on every render.\n* `tooltipTipLearnMoreIcon`: This text is inside the info icon within the tooltip content and exists to \"complete the sentence\" for assistive tech users.\n* `triggerLearnMoreIcon`: This text is inside the info icon that triggers the tooltip in order to have text within the link.",
10438+
"defaultValue": {
10439+
"value": "{\n tooltipTipLearnMoreIcon: 'this link',\n triggerLearnMoreIcon: 'Learn More',\n}",
10440+
"computed": false
10441+
}
10442+
},
1044610443
"children": {
1044710444
"type": {
1044810445
"name": "node"
@@ -10486,6 +10483,27 @@
1048610483
"required": false,
1048710484
"description": "A unique ID is needed in order to support keyboard navigation, ARIA support, and connect the popover to the triggering element."
1048810485
},
10486+
"labels": {
10487+
"type": {
10488+
"name": "shape",
10489+
"value": {
10490+
"learnMoreAfter": {
10491+
"name": "string",
10492+
"required": false
10493+
},
10494+
"learnMoreBefore": {
10495+
"name": "string",
10496+
"required": false
10497+
}
10498+
}
10499+
},
10500+
"required": false,
10501+
"description": "**Text labels for internationalization**\nThis object is merged with the default props object on every render.\n* `learnMoreAfter`: This label appears in the tooltip after the info icon.\n* `learnMoreBefore`: This label appears in the tooltip before the info icon.",
10502+
"defaultValue": {
10503+
"value": "{\n learnMoreAfter: 'to learn more.',\n learnMoreBefore: 'Click',\n}",
10504+
"computed": false
10505+
}
10506+
},
1048910507
"isOpen": {
1049010508
"type": {
1049110509
"name": "bool"
@@ -10543,7 +10561,7 @@
1054310561
"required": false,
1054410562
"description": "Custom styles to be added to wrapping triggering `div`."
1054510563
},
10546-
"variant": {
10564+
"theme": {
1054710565
"type": {
1054810566
"name": "enum",
1054910567
"value": [
@@ -10558,11 +10576,32 @@
1055810576
]
1055910577
},
1056010578
"required": false,
10561-
"description": "Determines the variant of tooltip: for informative purpose (blue background) or warning purpose (red background)",
10579+
"description": "Determines the theme of tooltip: for informative purpose (blue background) or warning purpose (red background). This used to be `variant`.",
1056210580
"defaultValue": {
1056310581
"value": "'info'",
1056410582
"computed": false
1056510583
}
10584+
},
10585+
"variant": {
10586+
"type": {
10587+
"name": "enum",
10588+
"value": [
10589+
{
10590+
"value": "'base'",
10591+
"computed": false
10592+
},
10593+
{
10594+
"value": "'learnMore'",
10595+
"computed": false
10596+
}
10597+
]
10598+
},
10599+
"required": false,
10600+
"description": "Determines the type of the tooltip.",
10601+
"defaultValue": {
10602+
"value": "'base'",
10603+
"computed": false
10604+
}
1056610605
}
1056710606
},
1056810607
"route": "tooltips",

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

patch.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)