Name Description Size Coverage
AddToTabGroup.kt Prompt for the user to choose whether to add to a new or an existing tab group. @param tabGroups List of existing Tab Groups. @param onAddToNewTabGroup Invoked when user clicks to add to a new tab group. @param onAddToExistingTabGroup Invoked when user clicks to add to an existing tab group. 9289 -
CloseLastTabAndDeleteTabGroupConfirmationDialog.kt This dialog is used to prompt the user to confirm if they want to close the current tab and delete the associated tab group. @param onConfirmDelete Callback invoked when the user confirms closing the tab and deleting the group. @param onCancel Callback invoked when the user cancels the action. 3357 -
DeleteTabGroupConfirmationDialog.kt This dialog is used to prompt the user to confirm if they want to delete their selected tab group. It provides options to confirm or cancel the deletion. @param onConfirmDelete Callback invoked when the user confirms the deletion. @param onCancel Callback invoked when the user cancels the deletion. 3046 -
EditTabGroup.kt Prompt to edit a tab group. @param formState The current snapshot of [TabGroupFormState]. @param onTabGroupNameChange Invoked when the tab group's name updates. @param onTabGroupThemeChange Invoked when the tab group's theme updates. @param onConfirmSave Invoked when the clicks to save the tab group. 17336 -
ExpandedTabGroup.kt Renders an expanded view of a user's tab group. @param group: [TabsTrayItem.TabGroup] item rendered by the card. @param onItemClick Invoked when the user clicks on a [TabsTrayItem] in the group. @param onTabClose Invoked when the user clicks to close a [TabsTrayItem.Tab] in the group. @param onDeleteTabGroupClick Invoked when the user clicks on delete tab group. @param onEditTabGroupClick Invoked when the user clicks to edit the [group]. @param onCloseTabGroupClick Invoked when the user clicks to close a tab group. @param tabInteractionHandler Handler for tab interactions. 12023 -
fakes -
storage -
TabGroupCard.kt A Tab Group presented as a clickable item in a grid. @param group: The data of the [TabsTrayItem.TabGroup]. @param selectionState: The tab selection state. @param clickHandler: Handler for all click-handling inputs (long click, click, etc) @param modifier: The Modifier @param interactionState The tab item's interaction state (hover, drag, etc) @param onDeleteTabGroupClick Invoked when the user clicks on delete tab group. @param onEditTabGroupClick Invoked when the user clicks to edit the tab group. @param onCloseTabGroupClick Invoked when the user clicks to close the tab group. 22338 -
TabGroupRow.kt A Tab Group presented as a clickable item in a row or list. @param tabGroup The tab group to display. @param onClick The action to be performed when the tab group item is clicked. @param modifier The Modifier @param selectionState: The tab selection state. @param trailingContent Optional trailing content. @param trailingContentColor Optional content color for trailing content. @param shouldClickListen Whether the [TabGroupRow] should respond to click events. 7619 -
TabGroupsTestTag.kt 824 -
TabGroupThemeDot.kt A dot that represents a Tab Group theme. @param theme The theme of the tab group to display. 1115 -