Commit 2134c91
authored
Bump to 17.1.0 (#621)
### Added
- Added item-aware content offset adjustment APIs, declarative
auto-scroll support, and scroll-in-progress state for custom scrolling
behaviors.
```swift
list.autoScrollAction = .pin(
.item(targetIdentifier),
itemPosition: .verticalContentOffsetAdjustment { info in
max(0.0, info.itemFrame.maxY - info.visibleContentFrame.maxY)
},
scrollInterruptionPolicy: .deferDuringUserScrolling
)
```
Use `.skipDuringUserScrolling` instead when the auto-scroll should be
dropped rather than retried after the user scroll ends.
### Checklist
Please do the following before merging:
- [x] Ensure any public-facing changes are reflected in the
[changelog](https://github.com/square/Listable/blob/main/CHANGELOG.md).
Include them in the `Main` section.1 parent fe74f3f commit 2134c91
435 files changed
Lines changed: 11187 additions & 29 deletions
File tree
- docs
- BlueprintLists/docsets
- Listable
- Classes
- ListActions
- ListLayoutContent
- ListView
- ReorderingActions
- StaticSource
- Enums
- AutoScrollAction
- CustomWidth
- Sizing
- Constraint
- ViewAnimation
- Extensions
- SectionedDiff
- Protocols
- Structs
- Behavior
- Underflow
- EmbeddedList
- FlowAppearance
- ItemLayout
- RowUnderflowAlignment
- Spacings
- ItemPreview
- ItemReordering
- Item
- LayoutDescription
- ListContentBounds
- ListScrollPositionInfo
- ListStateObserver
- ContentUpdated
- InsertionsAndRemovals
- ListableLocalizedStrings
- LocalizedItemCollator
- PagedAppearance
- Peek
- RefreshControl
- ScrollPosition
- SwipeActionsViewStyle
- SwipeAction
- TableAppearance
- SectionLayout
- ViewProperties
- CornerStyle
- docsets
- Listable.docset/Contents/Resources
- Documents
- Classes
- ListActions
- ListLayoutContent
- ListView
- ReorderingActions
- StaticSource
- Enums
- AutoScrollAction
- CustomWidth
- Sizing
- Constraint
- ViewAnimation
- Extensions
- SectionedDiff
- Protocols
- Structs
- Behavior
- Underflow
- EmbeddedList
- FlowAppearance
- ItemLayout
- RowUnderflowAlignment
- Spacings
- ItemPreview
- ItemReordering
- Item
- LayoutDescription
- ListContentBounds
- ListScrollPositionInfo
- ListStateObserver
- ContentUpdated
- InsertionsAndRemovals
- ListableLocalizedStrings
- LocalizedItemCollator
- PagedAppearance
- Peek
- RefreshControl
- ScrollPosition
- SwipeActionsViewStyle
- SwipeAction
- TableAppearance
- SectionLayout
- ViewProperties
- CornerStyle
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
7 | 21 | | |
8 | 22 | | |
9 | 23 | | |
| |||
16 | 30 | | |
17 | 31 | | |
18 | 32 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
142 | 145 | | |
143 | 146 | | |
144 | 147 | | |
| |||
543 | 546 | | |
544 | 547 | | |
545 | 548 | | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
546 | 555 | | |
547 | 556 | | |
548 | 557 | | |
| |||
704 | 713 | | |
705 | 714 | | |
706 | 715 | | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
707 | 719 | | |
708 | 720 | | |
709 | 721 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
545 | 548 | | |
546 | 549 | | |
547 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
548 | 557 | | |
549 | 558 | | |
550 | 559 | | |
| |||
706 | 715 | | |
707 | 716 | | |
708 | 717 | | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
709 | 721 | | |
710 | 722 | | |
711 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
545 | 548 | | |
546 | 549 | | |
547 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
548 | 557 | | |
549 | 558 | | |
550 | 559 | | |
| |||
706 | 715 | | |
707 | 716 | | |
708 | 717 | | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
709 | 721 | | |
710 | 722 | | |
711 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
545 | 548 | | |
546 | 549 | | |
547 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
548 | 557 | | |
549 | 558 | | |
550 | 559 | | |
| |||
706 | 715 | | |
707 | 716 | | |
708 | 717 | | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
709 | 721 | | |
710 | 722 | | |
711 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
545 | 548 | | |
546 | 549 | | |
547 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
548 | 557 | | |
549 | 558 | | |
550 | 559 | | |
| |||
706 | 715 | | |
707 | 716 | | |
708 | 717 | | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
709 | 721 | | |
710 | 722 | | |
711 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
545 | 548 | | |
546 | 549 | | |
547 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
548 | 557 | | |
549 | 558 | | |
550 | 559 | | |
| |||
706 | 715 | | |
707 | 716 | | |
708 | 717 | | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
709 | 721 | | |
710 | 722 | | |
711 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
545 | 548 | | |
546 | 549 | | |
547 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
548 | 557 | | |
549 | 558 | | |
550 | 559 | | |
| |||
706 | 715 | | |
707 | 716 | | |
708 | 717 | | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
709 | 721 | | |
710 | 722 | | |
711 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
545 | 548 | | |
546 | 549 | | |
547 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
548 | 557 | | |
549 | 558 | | |
550 | 559 | | |
| |||
706 | 715 | | |
707 | 716 | | |
708 | 717 | | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
709 | 721 | | |
710 | 722 | | |
711 | 723 | | |
| |||
0 commit comments