Skip to content

juno-ui-components

Compare
Choose a tag to compare
@andypf andypf released this 06 Dec 11:15
· 1251 commits to main since this release
e80e5b8
[ui] Pagination (#247)

* [ui] Button: add icon margin only when there is a label or children

* [ui] Pagination: add fist implmentation WIP

* [ui] SelectOption: allow number and string for label, value props

* [ui] Pagination: add `isFirstPage`, `isLastPage` props

* [ui] SelectOption: remove obsolete mdx stories

* [ui] SelectOption: fix non-showing docstring

* [ui] Pagination: handle events

* [ui] Pagination: disable prev/next button if possible

* [ui] Pagination: better controls for story

* [ui] Pagination: add variant-based className

* [ui] Pagination: add first batch of tests

* [ui] Pagination: don’t try to calculate first and last page for now

* [ui] Pagination: add more tests for handlers

* [ui] bump version to 1.0.3

* [ui] Pagination: fix tests failing after refacturing

add await

* [ui] TextInput: accept number as value prop, too

* [ui] Pagination: prevent null value for input

* [ui] tests: wrap state-changing first renders and actions in `act()`

see https://reactjs.org/docs/test-utils.html#act