Pagination
A control for navigating to the next or previous page of a large data set.- Updated dependencies [13f5848]
- @eds/select-input@4.6.9
-
87f2db7: Adds block and size props + allow hiding of select options when only one option provided
What was the breaking change: New behaviour for itemsPerPageOptions is to hide the select items per page component when only one option is provided. Previously the select option would always show.
How: Evaluate if styling is broken for existing implementations when only one option provided to itemsPerPageOptions.
- Updated dependencies [37e1a6d]
- @eds/icon@5.0.0
- @eds/button@4.4.1
- @eds/select-input@4.6.8
- @eds/a11y@4.2.5
- Updated dependencies [75f75a3]
- @eds/button@4.4.0
- @eds/a11y@4.2.4
- @eds/select-input@4.6.7
- @eds/select-input@4.6.6
- Updated dependencies [eb0b250]
- Updated dependencies [640a104]
- @eds/icon@4.5.0
- @eds/button@4.3.3
- @eds/select-input@4.6.5
- @eds/a11y@4.2.3
- @eds/select-input@4.6.4
- Updated dependencies [0d45582]
- Updated dependencies [225c185]
- @eds/icon@4.4.3
- @eds/button@4.3.2
- @eds/select-input@4.6.3
- @eds/a11y@4.2.2
- Updated dependencies [ec61a43]
- @eds/select-input@4.6.2
- Updated dependencies [76387bd]
- Updated dependencies [e0d9a41]
- Updated dependencies [76387bd]
- Updated dependencies [76387bd]
- Updated dependencies [76387bd]
- @eds/select-input@4.6.1
- @eds/core@4.1.2
- @eds/text@4.1.0
- @eds/a11y@4.2.1
- @eds/button@4.3.1
- @eds/flex@4.0.10
- @eds/icon@4.4.2
- Updated dependencies [25e65180]
- Updated dependencies [a4ece30e]
- @eds/a11y@4.2.0
- @eds/select-input@4.6.0
- Updated dependencies [b308964d]
- Updated dependencies [1558a464]
- Updated dependencies [c7329492]
- Updated dependencies [1558a464]
- Updated dependencies [fbae37fd]
- @eds/icon@4.4.1
- @eds/core@4.1.1
- @eds/button@4.3.0
- @eds/select-input@4.5.0
- @eds/a11y@4.1.4
- @eds/flex@4.0.9
- @eds/text@4.0.9
- Updated dependencies [d3042175]
- Updated dependencies [23a791d9]
- @eds/icon@4.4.0
- @eds/select-input@4.4.1
- Updated dependencies [9073b400]
- Updated dependencies [9073b400]
- Updated dependencies [669b03f8]
- @eds/select-input@4.4.0
- @eds/core@4.1.0
- @eds/icon@4.3.0
- @eds/a11y@4.1.3
- @eds/button@4.2.4
- @eds/flex@4.0.8
- @eds/text@4.0.8
- Updated dependencies
- @eds/icon@4.2.8
- @eds/select-input@4.3.9
- c9fe02ea: Toaster design improvements
- Updated dependencies [c9fe02ea]
- @eds/select-input@4.3.8
- @eds/button@4.2.3
- @eds/utils@4.0.4
- @eds/flex@4.0.7
- @eds/icon@4.2.7
- @eds/text@4.0.7
- Updated dependencies [2109bbf0]
- @eds/button@4.2.2
- @eds/select-input@4.3.7
- Updated dependencies [c0499725]
- Updated dependencies [143fb224]
- Updated dependencies [6767cdb3]
- Updated dependencies [981ef5ba]
- @eds/icon@4.2.6
- @eds/utils@4.0.3
- @eds/button@4.2.1
- @eds/select-input@4.3.6
- @eds/flex@4.0.6
- @eds/text@4.0.6
- Updated dependencies [fb650762]
- Updated dependencies [b85824bc]
- Updated dependencies [60cc8cc5]
- Updated dependencies [0b1e9f3c]
- @eds/button@4.2.0
- @eds/select-input@4.3.5
- @eds/utils@4.0.2
- @eds/core@4.0.3
- @eds/icon@4.2.5
- @eds/a11y@4.1.2
- @eds/flex@4.0.5
- @eds/text@4.0.5
- b2afb4e: Fixed fill content issue with tables
- Updated dependencies [b2afb4e]
- @eds/select-input@4.3.4
- @eds/icon@4.2.4
- d044d68: Created tables patterns
- Updated dependencies [5ce4ebe]
- Updated dependencies [d044d68]
- @eds/icon@4.2.3
- @eds/select-input@4.3.3
- Updated dependencies [58590b4]
- @eds/core@4.0.2
- @eds/a11y@4.1.1
- @eds/button@4.1.3
- @eds/flex@4.0.4
- @eds/icon@4.2.2
- @eds/select-input@4.3.2
- @eds/text@4.0.4
- Updated dependencies
- @eds/button@4.1.2
- @eds/icon@4.2.1
- @eds/select-input@4.3.1
- @eds/flex@4.0.3
- @eds/text@4.0.3
- Updated dependencies [44e1f7a0]
- Updated dependencies [44e1f7a0]
- Updated dependencies [44e1f7a0]
- @eds/a11y@4.1.0
- @eds/select-input@4.3.0
- Updated dependencies [8416b5c]
- Updated dependencies [509c41f]
- Updated dependencies [9df31b6]
- @eds/select-input@4.2.2
- @eds/button@4.1.1
-
3331a51: Pagination is now a controlled component and defaults to a 1 based index
- As a controlled component the currentPage and currentItemsPerPage props are now required.
- The documentation for Pagination has been extended to include interactive examples of these changes.
Updating from 4.x to 5.x:
- If you have a 1 based index API and were modifying the page number you received from the onPageUpdate function by adding 1, you will no longer need the "+1". If you wish to continue using 0 based indexing you can set the indexBased prop to 0.
- currentPage is now a required prop.
- currentItemsPerPage is now a required prop.
- initialPage is deprecated, use a default value in your useState for currentPage instead.
- initialItemsPerPage is deprecated, use a default value in your useState for currentItemsPerPage instead.
Why the breaking change? The most common use for Pagination by far will be connecting to 1 based pagination APIs. This will simplify application codebases that are consuming the Pagination component. Additionally, currentPage and currentItemsPerPage can be controlled more freely, while still leaving extensive validity checks up to the Pagination component.
- ca8ea9b: Added GroupBase, OptionProps, Awaitable to exported types. Added ItemsPerPageOption to exported types in Pagination.
- Updated dependencies [ca8ea9b]
- Updated dependencies [8bd43cd]
- Updated dependencies [4bdc642]
- Updated dependencies [acfa010]
- @eds/select-input@4.2.1
- @eds/button@4.1.0
- Updated dependencies [ad260e8]
- Updated dependencies [8eb020f]
- @eds/select-input@4.2.0
- @eds/icon@4.2.0
- e0729c4: Improved how @eds packages manage their dependencies and peerDependencies.
- Updated dependencies [f09cc14]
- Updated dependencies [e0729c4]
- @eds/core@4.0.1
- @eds/a11y@4.0.1
- @eds/button@4.0.2
- @eds/flex@4.0.2
- @eds/icon@4.1.1
- @eds/select-input@4.1.1
- @eds/text@4.0.2
- @eds/utils@4.0.1
- Updated dependencies [e6f51dc]
- Updated dependencies [3ca7e34]
- Updated dependencies [be3f575]
- Updated dependencies [3d2f751]
- @eds/select-input@4.1.0
- @eds/icon@4.1.0
- @eds/flex@4.0.1
- @eds/text@4.0.1
- @eds/button@4.0.1
- e99cdb6: Offical release of EDS 4.0.0
- Updated dependencies [b897900]
- Updated dependencies [0793bc8]
- Updated dependencies [e99cdb6]
- @eds/button@4.0.0
- @eds/core@4.0.0
- @eds/select-input@4.0.0
- @eds/utils@4.0.0
- @eds/a11y@4.0.0
- @eds/flex@4.0.0
- @eds/icon@4.0.0
- @eds/text@4.0.0
- Updated dependencies [d3af132]
- @eds/select-input@0.0.19
- Updated dependencies [63c40d7]
- @eds/utils@0.0.8
- Updated dependencies [53250bf]
- @eds/icon@0.0.12
- @eds/select-input@0.0.18
- Updated dependencies [71bf60c]
- @eds/icon@0.0.11
- @eds/select-input@0.0.17
- Updated dependencies [aca2c6fc]
- Updated dependencies [0a91da29]
- @eds/core@0.0.10
- @eds/select-input@0.0.16
- @eds/utils@0.0.7
- @eds/flex@0.0.11
- @eds/text@0.0.11
- @eds/a11y@0.0.10
- @eds/button@0.0.15
- @eds/icon@0.0.10
- Updated dependencies [9d87439]
- @eds/utils@0.0.6
- 885a519: Adding new helper useId from reach-ui to local and removing reach-ui dependency
- Updated dependencies [885a519]
- @eds/core@0.0.9
- @eds/a11y@0.0.9
- @eds/button@0.0.14
- @eds/flex@0.0.10
- @eds/icon@0.0.9
- @eds/select-input@0.0.15
- @eds/text@0.0.10
- Updated dependencies [7e975b9]
- @eds/button@0.0.13
- @eds/select-input@0.0.14
- Updated dependencies [abc41ab]
- @eds/button@0.0.12
- @eds/select-input@0.0.13
- 5a0464b: Restructure of space tokens to make room for new xlarge token (2rem/32px).
- Updated dependencies [5a0464b]
- @eds/button@0.0.11
- @eds/flex@0.0.9
- @eds/icon@0.0.8
- @eds/select-input@0.0.12
- @eds/text@0.0.9
- @eds/a11y@0.0.8
- @eds/a11y@0.0.7
- @eds/button@0.0.10
- @eds/flex@0.0.8
- @eds/icon@0.0.7
- @eds/select-input@0.0.11
- @eds/text@0.0.8
- Updated dependencies [ed689b7]
- @eds/select-input@0.0.10
- 61d16c1:
- Pagination: Added feature that 0 items should be displayed when itemsCount=0.
- Utils: Added capitaliseFirstLetter utility function.
- Updated dependencies [61d16c1]
- @eds/utils@0.0.5
- Updated dependencies [1a73246]
- @eds/button@0.0.9
- @eds/select-input@0.0.9
- Updated dependencies [5f747ba]
- @eds/button@0.0.8
- @eds/select-input@0.0.8
- @eds/a11y@0.0.6
- @eds/button@0.0.7
- @eds/flex@0.0.7
- @eds/icon@0.0.6
- @eds/select-input@0.0.7
- @eds/text@0.0.7
- Updated dependencies [9d850b3]
- Updated dependencies [8aa3df6]
- Updated dependencies [43cd43e]
- Updated dependencies [3db0be0]
- @eds/button@0.0.6
- @eds/select-input@0.0.6
- @eds/flex@0.0.6
- @eds/text@0.0.6
- @eds/a11y@0.0.5
- @eds/button@0.0.5
- @eds/flex@0.0.5
- @eds/icon@0.0.5
- @eds/select-input@0.0.5
- @eds/text@0.0.5
-
8e9c9e9: Moved breakpoint and mediaQuery tokens to tokens file, and renamed them according to tshirt size naming convention.
-
4b8ad31: Box and Flex component updates
- Renamed direction and wrap to flexDirection and flexWrap
- Changed flexWrap props to take the normal css values
- Removed duplication of flexDirection and all the unnecessary defaults in Flex component
- Moved all the flexbox props to live in the primitive BoxProps, making the Flex component a pure convenience component
- Added missing flexbox props to BoxProps; alignContent, order, flexFlow
-
Updated dependencies [8e9c9e9]
-
Updated dependencies [de3c841]
-
Updated dependencies [7e1274c]
-
Updated dependencies [4b8ad31]
- @eds/flex@0.0.4
- @eds/button@0.0.4
- @eds/select-input@0.0.4
- @eds/text@0.0.4
- @eds/icon@0.0.4
- @eds/a11y@0.0.4
- 68e6611: Added pagination component, fixed button styling, added pagination specific icons, and extended select-input props to allow more react-select features.
- 16f4c45: Support React v16.9 to v18
- Updated dependencies [68e6611]
- Updated dependencies [e84b1d4]
- Updated dependencies [16f4c45]
- @eds/button@0.0.3
- @eds/icon@0.0.3
- @eds/select-input@0.0.3
- @eds/a11y@0.0.3
- @eds/flex@0.0.3
- @eds/text@0.0.3