Skip to content

Commit 58ddd8e

Browse files
authored
Merge branch 'main' into refactor-style-modules
2 parents 0142e1a + 38a9eb8 commit 58ddd8e

File tree

5 files changed

+351
-18
lines changed

5 files changed

+351
-18
lines changed

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

Lines changed: 104 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31875,7 +31875,10 @@ This utility does not open the dropdown. To find dropdown items, call \`openDrop
3187531875
{
3187631876
"description": "Finds an item in the open dropdown by item id. Returns null if there is no open dropdown.
3187731877

31878-
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.",
31878+
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.
31879+
31880+
Supported options:
31881+
* \`disabled\` (boolean) - Use it to find the disabled or non-disabled item.",
3187931882
"name": "findItemById",
3188031883
"parameters": [
3188131884
{
@@ -31885,6 +31888,14 @@ This utility does not open the dropdown. To find dropdown items, call \`openDrop
3188531888
"name": "id",
3188631889
"typeName": "string",
3188731890
},
31891+
{
31892+
"defaultValue": "{}",
31893+
"flags": {
31894+
"isOptional": false,
31895+
},
31896+
"name": "options",
31897+
"typeName": "{ disabled?: boolean | undefined; }",
31898+
},
3188831899
],
3188931900
"returnType": {
3189031901
"isNullable": true,
@@ -31918,9 +31929,21 @@ This utility does not open the dropdown. To find dropdown items, call \`openDrop
3191831929
{
3191931930
"description": "Finds all the items in the open dropdown. Returns empty array if there is no open dropdown.
3192031931

31921-
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.",
31932+
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.
31933+
31934+
Supported options:
31935+
* \`disabled\` (boolean) - Use it to find all disabled or non-disabled items.",
3192231936
"name": "findItems",
31923-
"parameters": [],
31937+
"parameters": [
31938+
{
31939+
"defaultValue": "{}",
31940+
"flags": {
31941+
"isOptional": false,
31942+
},
31943+
"name": "options",
31944+
"typeName": "{ disabled?: boolean | undefined; }",
31945+
},
31946+
],
3192431947
"returnType": {
3192531948
"isNullable": false,
3192631949
"name": "Array",
@@ -41996,7 +42019,10 @@ This utility does not open the dropdown. To find dropdown items, call \`openDrop
4199642019
{
4199742020
"description": "Finds an item in the open dropdown by item id. Returns null if there is no open dropdown.
4199842021

41999-
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.",
42022+
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.
42023+
42024+
Supported options:
42025+
* \`disabled\` (boolean) - Use it to find the disabled or non-disabled item.",
4200042026
"inheritedFrom": {
4200142027
"name": "ButtonDropdownWrapper.findItemById",
4200242028
},
@@ -42009,6 +42035,14 @@ This utility does not open the dropdown. To find dropdown items, call \`openDrop
4200942035
"name": "id",
4201042036
"typeName": "string",
4201142037
},
42038+
{
42039+
"defaultValue": "{}",
42040+
"flags": {
42041+
"isOptional": false,
42042+
},
42043+
"name": "options",
42044+
"typeName": "{ disabled?: boolean | undefined; }",
42045+
},
4201242046
],
4201342047
"returnType": {
4201442048
"isNullable": true,
@@ -42045,12 +42079,24 @@ This utility does not open the dropdown. To find dropdown items, call \`openDrop
4204542079
{
4204642080
"description": "Finds all the items in the open dropdown. Returns empty array if there is no open dropdown.
4204742081

42048-
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.",
42082+
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.
42083+
42084+
Supported options:
42085+
* \`disabled\` (boolean) - Use it to find all disabled or non-disabled items.",
4204942086
"inheritedFrom": {
4205042087
"name": "ButtonDropdownWrapper.findItems",
4205142088
},
4205242089
"name": "findItems",
42053-
"parameters": [],
42090+
"parameters": [
42091+
{
42092+
"defaultValue": "{}",
42093+
"flags": {
42094+
"isOptional": false,
42095+
},
42096+
"name": "options",
42097+
"typeName": "{ disabled?: boolean | undefined; }",
42098+
},
42099+
],
4205442100
"returnType": {
4205542101
"isNullable": false,
4205642102
"name": "Array",
@@ -43299,7 +43345,10 @@ This utility does not open the dropdown. To find dropdown items, call \`openDrop
4329943345
{
4330043346
"description": "Finds an item in the open dropdown by item id. Returns null if there is no open dropdown.
4330143347

43302-
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.",
43348+
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.
43349+
43350+
Supported options:
43351+
* \`disabled\` (boolean) - Use it to find the disabled or non-disabled item.",
4330343352
"name": "findItemById",
4330443353
"parameters": [
4330543354
{
@@ -43309,6 +43358,14 @@ This utility does not open the dropdown. To find dropdown items, call \`openDrop
4330943358
"name": "id",
4331043359
"typeName": "string",
4331143360
},
43361+
{
43362+
"defaultValue": "{}",
43363+
"flags": {
43364+
"isOptional": false,
43365+
},
43366+
"name": "options",
43367+
"typeName": "{ disabled?: boolean | undefined; }",
43368+
},
4331243369
],
4331343370
"returnType": {
4331443371
"isNullable": false,
@@ -43318,9 +43375,21 @@ This utility does not open the dropdown. To find dropdown items, call \`openDrop
4331843375
{
4331943376
"description": "Finds all the items in the open dropdown. Returns empty array if there is no open dropdown.
4332043377

43321-
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.",
43378+
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.
43379+
43380+
Supported options:
43381+
* \`disabled\` (boolean) - Use it to find all disabled or non-disabled items.",
4332243382
"name": "findItems",
43323-
"parameters": [],
43383+
"parameters": [
43384+
{
43385+
"defaultValue": "{}",
43386+
"flags": {
43387+
"isOptional": false,
43388+
},
43389+
"name": "options",
43390+
"typeName": "{ disabled?: boolean | undefined; }",
43391+
},
43392+
],
4332443393
"returnType": {
4332543394
"isNullable": false,
4332643395
"name": "MultiElementWrapper",
@@ -50429,7 +50498,10 @@ This utility does not open the dropdown. To find dropdown items, call \`openDrop
5042950498
{
5043050499
"description": "Finds an item in the open dropdown by item id. Returns null if there is no open dropdown.
5043150500

50432-
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.",
50501+
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.
50502+
50503+
Supported options:
50504+
* \`disabled\` (boolean) - Use it to find the disabled or non-disabled item.",
5043350505
"inheritedFrom": {
5043450506
"name": "ButtonDropdownWrapper.findItemById",
5043550507
},
@@ -50442,6 +50514,14 @@ This utility does not open the dropdown. To find dropdown items, call \`openDrop
5044250514
"name": "id",
5044350515
"typeName": "string",
5044450516
},
50517+
{
50518+
"defaultValue": "{}",
50519+
"flags": {
50520+
"isOptional": false,
50521+
},
50522+
"name": "options",
50523+
"typeName": "{ disabled?: boolean | undefined; }",
50524+
},
5044550525
],
5044650526
"returnType": {
5044750527
"isNullable": false,
@@ -50451,12 +50531,24 @@ This utility does not open the dropdown. To find dropdown items, call \`openDrop
5045150531
{
5045250532
"description": "Finds all the items in the open dropdown. Returns empty array if there is no open dropdown.
5045350533

50454-
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.",
50534+
This utility does not open the dropdown. To find dropdown items, call \`openDropdown()\` first.
50535+
50536+
Supported options:
50537+
* \`disabled\` (boolean) - Use it to find all disabled or non-disabled items.",
5045550538
"inheritedFrom": {
5045650539
"name": "ButtonDropdownWrapper.findItems",
5045750540
},
5045850541
"name": "findItems",
50459-
"parameters": [],
50542+
"parameters": [
50543+
{
50544+
"defaultValue": "{}",
50545+
"flags": {
50546+
"isOptional": false,
50547+
},
50548+
"name": "options",
50549+
"typeName": "{ disabled?: boolean | undefined; }",
50550+
},
50551+
],
5046050552
"returnType": {
5046150553
"isNullable": false,
5046250554
"name": "MultiElementWrapper",

src/__tests__/snapshot-tests/__snapshots__/test-utils-selectors.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ exports[`test-utils selectors 1`] = `
9292
"button-dropdown": [
9393
"awsui_button-dropdown_sne0l",
9494
"awsui_description_sne0l",
95+
"awsui_disabled_93a1u",
9596
"awsui_dropdown-trigger_sne0l",
9697
"awsui_expandable_16mm3",
9798
"awsui_highlighted_93a1u",

0 commit comments

Comments
 (0)