Skip to content

Commit 1a25f82

Browse files
committed
chore: update jest snapshots
1 parent 632b175 commit 1a25f82

File tree

1 file changed

+4
-124
lines changed

1 file changed

+4
-124
lines changed

src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap

Lines changed: 4 additions & 124 deletions
Original file line numberDiff line numberDiff line change
@@ -11565,89 +11565,13 @@ exports[`Components definition for dropdown matches the snapshot: dropdown 1`] =
1156511565
{
1156611566
"dashCaseName": "dropdown",
1156711567
"events": [
11568-
{
11569-
"cancelable": false,
11570-
"description": "Called when focus leaves the trigger or dropdown content.",
11571-
"detailInlineType": {
11572-
"name": "Pick<React.FocusEvent<Element, Element>, "relatedTarget" | "target">",
11573-
"properties": [
11574-
{
11575-
"inlineType": {
11576-
"name": "EventTarget & RelatedTarget",
11577-
"type": "union",
11578-
"values": [
11579-
"EventTarget",
11580-
"RelatedTarget",
11581-
],
11582-
},
11583-
"name": "relatedTarget",
11584-
"optional": false,
11585-
"type": "EventTarget & RelatedTarget",
11586-
},
11587-
{
11588-
"inlineType": {
11589-
"name": "EventTarget & Target",
11590-
"type": "union",
11591-
"values": [
11592-
"EventTarget",
11593-
"Target",
11594-
],
11595-
},
11596-
"name": "target",
11597-
"optional": false,
11598-
"type": "EventTarget & Target",
11599-
},
11600-
],
11601-
"type": "object",
11602-
},
11603-
"detailType": "Pick<React.FocusEvent<Element, Element>, "relatedTarget" | "target">",
11604-
"name": "onBlur",
11605-
},
1160611568
{
1160711569
"cancelable": false,
1160811570
"description": "Called when the user presses the Escape key while the dropdown is open.
1160911571
The dropdown does not close automatically - the parent component
1161011572
must update the \`open\` prop to close the dropdown.",
1161111573
"name": "onEscape",
1161211574
},
11613-
{
11614-
"cancelable": false,
11615-
"description": "Called when focus enters the trigger or dropdown content.",
11616-
"detailInlineType": {
11617-
"name": "Pick<React.FocusEvent<Element, Element>, "relatedTarget" | "target">",
11618-
"properties": [
11619-
{
11620-
"inlineType": {
11621-
"name": "EventTarget & RelatedTarget",
11622-
"type": "union",
11623-
"values": [
11624-
"EventTarget",
11625-
"RelatedTarget",
11626-
],
11627-
},
11628-
"name": "relatedTarget",
11629-
"optional": false,
11630-
"type": "EventTarget & RelatedTarget",
11631-
},
11632-
{
11633-
"inlineType": {
11634-
"name": "EventTarget & Target",
11635-
"type": "union",
11636-
"values": [
11637-
"EventTarget",
11638-
"Target",
11639-
],
11640-
},
11641-
"name": "target",
11642-
"optional": false,
11643-
"type": "EventTarget & Target",
11644-
},
11645-
],
11646-
"type": "object",
11647-
},
11648-
"detailType": "Pick<React.FocusEvent<Element, Element>, "relatedTarget" | "target">",
11649-
"name": "onFocus",
11650-
},
1165111575
{
1165211576
"cancelable": false,
1165311577
"description": "Called when focus enters the dropdown content from outside.
@@ -11775,67 +11699,23 @@ because fixed positioning results in a slight, visible lag when scrolling comple
1177511699
"type": "boolean",
1177611700
},
1177711701
{
11778-
"description": "Hides the block (top/bottom) borders of the dropdown content wrapper.",
11779-
"name": "hideBlockBorder",
11780-
"optional": true,
11781-
"type": "boolean",
11782-
},
11783-
{
11784-
"description": "Maximum width constraint for the dropdown.
11785-
- Number: maximum width in pixels
11786-
- 'trigger': dropdown cannot exceed the trigger width
11787-
- undefined: fit to content width (no max constraint)",
11788-
"inlineType": {
11789-
"name": "DropdownWidthConstraint",
11790-
"type": "union",
11791-
"values": [
11792-
"number",
11793-
""trigger"",
11794-
],
11795-
},
11702+
"description": "Maximum width constraint for the dropdown in pixels.",
1179611703
"name": "maxWidth",
1179711704
"optional": true,
11798-
"type": "DropdownWidthConstraint",
11705+
"type": "number",
1179911706
},
1180011707
{
11801-
"description": "Minimum width constraint for the dropdown.
11802-
- Number: minimum width in pixels
11803-
- 'trigger': dropdown will be at least as wide as the trigger
11804-
- undefined: no minimum constraint (fits content)",
11805-
"inlineType": {
11806-
"name": "DropdownWidthConstraint",
11807-
"type": "union",
11808-
"values": [
11809-
"number",
11810-
""trigger"",
11811-
],
11812-
},
11708+
"description": "Minimum width constraint for the dropdown in pixels.",
1181311709
"name": "minWidth",
1181411710
"optional": true,
11815-
"type": "DropdownWidthConstraint",
11711+
"type": "number",
1181611712
},
1181711713
{
1181811714
"description": "Open state of the dropdown.",
1181911715
"name": "open",
1182011716
"optional": true,
1182111717
"type": "boolean",
1182211718
},
11823-
{
11824-
"description": "Preferred alignment of the dropdown relative to its trigger.
11825-
The dropdown will attempt this alignment first, but will automatically
11826-
adjust if there's insufficient space on the preferred side.",
11827-
"inlineType": {
11828-
"name": "DropdownAlignment",
11829-
"type": "union",
11830-
"values": [
11831-
"center",
11832-
"start",
11833-
],
11834-
},
11835-
"name": "preferredAlignment",
11836-
"optional": true,
11837-
"type": "string",
11838-
},
1183911719
],
1184011720
"regions": [
1184111721
{

0 commit comments

Comments
 (0)