Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3761,9 +3761,6 @@ When returning \`null\`, the default rendering will be applied for that item.",
},
"name": "renderOption",
"optional": true,
"systemTags": [
"core",
],
"type": "AutosuggestProps.ItemRenderer",
},
{
Expand Down Expand Up @@ -18936,9 +18933,6 @@ For more information, see the
},
"name": "renderOption",
"optional": true,
"systemTags": [
"core",
],
"type": "MultiselectProps.MultiselectOptionItemRenderer",
},
{
Expand Down Expand Up @@ -25184,9 +25178,6 @@ For more information, see the
},
"name": "renderOption",
"optional": true,
"systemTags": [
"core",
],
"type": "SelectProps.SelectOptionItemRenderer",
},
{
Expand Down
2 changes: 0 additions & 2 deletions src/autosuggest/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@
* The component still manages focus, keyboard interactions, and selection state, but it no longer applies its default item layout or typography.
*
* When returning `null`, the default rendering will be applied for that item.
*
* @awsuiSystem core
*/
renderOption?: AutosuggestProps.ItemRenderer;

Expand Down Expand Up @@ -275,7 +273,7 @@
}
}

// TODO: use DropdownOption type same as in select and multiselect

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Build components

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Build components (React 18)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components accessibility tests shards (4/6)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components accessibility tests shards (1/6)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components motion tests (React 18)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components motion tests (React 16)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / build (React 18) / build

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / build / build

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components unit tests

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components integration tests shards (React 18, shard 3/4)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components integration tests shards (React 18, shard 1/4)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components integration tests shards (React 16, shard 3/4)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components integration tests shards (React 16, shard 4/4)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components integration tests shards (React 16, shard 1/4)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components integration tests shards (React 18, shard 4/4)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components integration tests shards (React 18, shard 2/4)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components integration tests shards (React 16, shard 2/4)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components accessibility tests shards (5/6)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components accessibility tests shards (3/6)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components accessibility tests shards (2/6)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'

Check warning on line 276 in src/autosuggest/interfaces.ts

View workflow job for this annotation

GitHub Actions / dry-run / Components accessibility tests shards (6/6)

Unexpected 'todo' comment: 'TODO: use DropdownOption type same as in...'
export type AutosuggestItem = (AutosuggestProps.Option | AutosuggestProps.OptionGroup) & {
type?: 'parent' | 'child' | 'use-entered';
option: OptionDefinition | OptionGroup;
Expand Down
2 changes: 0 additions & 2 deletions src/multiselect/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ export interface MultiselectProps extends BaseSelectProps {
enableSelectAll?: boolean;
/**
* Specifies a render function to render custom options in the dropdown menu.
*
* @awsuiSystem core
*/
renderOption?: MultiselectProps.MultiselectOptionItemRenderer;
}
Expand Down
2 changes: 0 additions & 2 deletions src/select/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ export interface SelectProps extends BaseSelectProps {
autoFocus?: boolean;
/**
* Specifies a render function to render custom options in the dropdown menu or trigger.
*
* @awsuiSystem core
*/
renderOption?: SelectProps.SelectOptionItemRenderer;
}
Expand Down
Loading