Pagination component is added into experiment in this pr https://github.com/OfficeDev/office-ui-fabric-react/pull/7100 and there are some more work before this control can graduate from experiment package.
OUFR
__Code Sample__
__CodePens__
ComboBox Example
Individual Buttons Example
__Types__
| Name      | Type     | Default Value | Description |
|-----------|----------|---------------|-------------|
| className | string   |               | Optional class name to be added to the root |
Fabric Team
subComponentStyles Note: Adding some ideas for future iterations of the Pagination control.
One behavior that this control _may_ want to support is the ability to navigate pagination numbers using the ARROW keys. To support this, I think it would require wrapping them in a FocusZone. Currently you can only navigate via TAB which is enough to meet accessibility standards. But I instinctively tried to use LEFT/RIGHT.
The control's types _may_ also want to inherit from React.AllHTMLAttributes or some such to better support native props without requiring us to explicitly add things such as ariaLabel, className, etc.
In this recording you can see a flashing of the selected page in the middle. If this is a part of the default button visual effect, we might wanna look into giving it a smoother fadeout of some sort (perhaps a CSS transition). @betrue-final-final what do you think on that? Should we smooth out the flashing of the background or remove it completely?
Very interesting opportunity to coordinate with the XAML team who is creating their own pagination control.
https://github.com/Microsoft/microsoft-ui-xaml/issues/60
Spoke with them today about making sure we're working off the same designs and driving for feature/variant parity, as well as interface consistency.
There are a few things wrong with the recording @Vitalius1.
Any progress here @caradong
@micahgodbolt we should discuss if there are any leftovers here.
Last time I synced with Micah, the next step is to adopt the slot implementation. I have not get a chance to finish those yet. Let me know if we want to have a quick sync again about this.
Hi @caradong,
Any work continuing to on this issue?
Thanks.