From fe76399bf834c2bcd4355a6672c5871129ef3619 Mon Sep 17 00:00:00 2001 From: John Coburn Date: Thu, 19 Dec 2024 09:20:09 -0600 Subject: [PATCH 1/4] Add the `pagingOffset` prop to MCL prev-next paging props. Add the `pagingOffset` prop to MCL prev-next paging props. --- components/lib/MultiColumnList/MultiColumnList.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/lib/MultiColumnList/MultiColumnList.d.ts b/components/lib/MultiColumnList/MultiColumnList.d.ts index 0d779c1..6bde3a6 100644 --- a/components/lib/MultiColumnList/MultiColumnList.d.ts +++ b/components/lib/MultiColumnList/MultiColumnList.d.ts @@ -154,6 +154,8 @@ export type MultiColumnListPagingTypes = pagingCanGoNext?: boolean; pagingCanGoPrevious?: boolean; hidePageIndices?: boolean; + /** optional prop for manually controlling the page numbers indicated on the prev/next controls **/ + pagingOffset? : number; } | { pagingType?: 'click' | 'scroll'; From d10ae6b2ed0f83f53b8e48c3f7e73a634c98e2d3 Mon Sep 17 00:00:00 2001 From: John Coburn Date: Thu, 19 Dec 2024 09:22:16 -0600 Subject: [PATCH 2/4] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d00aae2..c04b604 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 2.3.0 in progress [[STTYPES-13](https://folio-org.atlassian.net/browse/STTYPES-13)] Add actual types for `acq-components`, `components`, `core` and `smart-components`. +[[STTYPES-16](https://folio-org.atlassian.net/browse/STTYPES-16)] Add `pagingOffset` prop to `` paging props. ## [2.2.0](https://github.com/folio-org/stripes-types/tree/v2.2.0) (2024-10-11) From 628f9579a456b0d64e1e4e730f04026734c9a99e Mon Sep 17 00:00:00 2001 From: John Coburn Date: Thu, 19 Dec 2024 09:23:28 -0600 Subject: [PATCH 3/4] Small changelog format adjustment. make changes a bulleted list under in-progress. --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c04b604..8686bb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ ## 2.3.0 in progress -[[STTYPES-13](https://folio-org.atlassian.net/browse/STTYPES-13)] Add actual types for `acq-components`, `components`, `core` and `smart-components`. -[[STTYPES-16](https://folio-org.atlassian.net/browse/STTYPES-16)] Add `pagingOffset` prop to `` paging props. +* [[STTYPES-13](https://folio-org.atlassian.net/browse/STTYPES-13)] Add actual types for `acq-components`, `components`, `core` and `smart-components`. +* [[STTYPES-16](https://folio-org.atlassian.net/browse/STTYPES-16)] Add `pagingOffset` prop to `` paging props. ## [2.2.0](https://github.com/folio-org/stripes-types/tree/v2.2.0) (2024-10-11) From 2cf13168daee216797c6bb7b8e1b37c24c58ce02 Mon Sep 17 00:00:00 2001 From: John Coburn Date: Thu, 19 Dec 2024 10:32:31 -0600 Subject: [PATCH 4/4] Minor lint --- components/lib/MultiColumnList/MultiColumnList.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/MultiColumnList/MultiColumnList.d.ts b/components/lib/MultiColumnList/MultiColumnList.d.ts index 6bde3a6..baccf90 100644 --- a/components/lib/MultiColumnList/MultiColumnList.d.ts +++ b/components/lib/MultiColumnList/MultiColumnList.d.ts @@ -154,7 +154,7 @@ export type MultiColumnListPagingTypes = pagingCanGoNext?: boolean; pagingCanGoPrevious?: boolean; hidePageIndices?: boolean; - /** optional prop for manually controlling the page numbers indicated on the prev/next controls **/ + /** optional prop for manually controlling the page numbers indicated on the prev/next controls */ pagingOffset? : number; } | {