You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR closes out all current doc change requests.
Closes#10181
COPYBARA_INTEGRATE_REVIEW=#10181 from andrewoverton:dev-docs-03-15-cherry-pick 00414a4
PiperOrigin-RevId: 363178361
Copy file name to clipboardExpand all lines: components/BottomSheet/README.md
+3-7
Original file line number
Diff line number
Diff line change
@@ -68,20 +68,16 @@ As a user of the bottom sheet component, it is up to you to determine that its c
68
68
69
69
We recommend giving all of these properties appropriate values for your use case.
70
70
71
-
## Types
71
+
**Types**
72
72
73
73
There are three types suitable for different use cases:
74
-
1.[Standard bottom sheets](#standard-bottom-sheet) display content that complements the screen’s primary content and remain visible while users interact with the primary content
74
+
1. Standard bottom sheets display content that complements the screen’s primary content and remain visible while users interact with the primary content
75
75
1.[Modal bottom sheets](#modal-bottom-sheet) are an alternative to inline menus or simple dialogs on mobile and provide room for additional items, longer descriptions, and iconography, and must be dismissed in order to interact with the underlying content
76
76
1.[Expanding bottom sheets](#expanding-bottom-sheet) provide a small, collapsed surface that can be expanded by the user to access a key feature or task to offer the persistent access of a standard sheet with the space and focus of a modal sheet.
77
77
78
78

79
79
80
-
## Standard bottom sheet
81
-
82
-
Standard bottom sheets coexist with the screen’s main UI region and allow for simultaneously viewing and interacting with both regions. They are commonly used to keep a feature or secondary content visible on screen when content in main UI region is frequently scrolled or panned.
83
-
84
-
There is no standard bottom sheet implementation on iOS. This is because the iOS bottom sheet implementation makes use of custom view controller transitions, which do not allow interaction with the presenting view controller, even when the presented view controller does not take up the whole screen.
80
+
_**Note:** Standard bottom sheets aren't supported on iOS. This is because the iOS bottom sheet implementation makes use of custom view controller transitions, which do not allow interaction with the presenting view controller, even when the presented view controller does not take up the whole screen._
Copy file name to clipboardExpand all lines: components/Buttons/docs/buttons.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -160,9 +160,9 @@ repeats weekly on the following day(s)." The list items do not need
160
160
(representing a day of the week) has the `accessibilityHint` value, "Toggles
161
161
this day."
162
162
163
-
## Types
163
+
**Types**
164
164
165
-
There are four types of buttons: 1. [Text button](#text-button) 2. [Outlined button](#outlined-button) 3. [Contained button](#contained-button) 4. Toggle button (*not supported in iOS*)"
165
+
There are four types of buttons: 1\.[Text button](#text-button) 2\.[Outlined button](#outlined-button) 3\.[Contained button](#contained-button) 4\. Toggle button (*not supported in iOS*)"
166
166
167
167

- Leave the default `UICollectionView` selection setting (single selection).
186
-
187
199
- Use `MDCChipCollectionViewCell` as `UICollectionView` cells. (`MDCChipCollectionViewCell` manages the state of the chip based on selection state of `UICollectionView` automatically)
- Use `MDCChipCollectionViewCell` as `UICollectionView` cells. (`MDCChipCollectionViewCell` manages the state of the chip based on selection state of `UICollectionView` automatically)
- Use `MDCChipCollectionViewCell` as `UICollectionView` cells. (`MDCChipCollectionViewCell` manages the state of the chip based on selection state of `UICollectionView` automatically)
While `MDCBottomDrawerViewController` supports the accessibility escape "Z" gesture, it is advisible that the content view controller provides its own dismiss action affordance. Note that it is the responsibility of the header and content view controllers to implement any custom accessibility behavior.
63
63
64
-
## Types
64
+
## Bottom navigation drawer
65
65
66
66
Both bottom navigation drawers and side navigation drawers exist, but we only offer a bottom navigation drawer implementation.
67
67
68
-
## Bottom navigation drawer
69
-
70
68
Our bottom navigation drawer implementation is centered around `MDCBottomDrawerViewController`, a `UIViewController` subclass. `MDCBottomDrawerViewController` has a `contentViewController` property, whose view is displayed as the primary content of the drawer, as well as a `headerViewController` property, whose view is positioned above the content view controller and sticks to the top when the drawer is full-screen. For more information on implementing custom view controller classes see [Apple's View Controller Programming Guide](https://developer.apple.com/library/archive/featuredarticles/ViewControllerPGforiPhoneOS/DefiningYourSubclass.html#//apple_ref/doc/uid/TP40007457-CH7-SW1).
0 commit comments