You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 01db4bf
Browse filesBrowse the repository at this point in the historyBrowse files
chore(core): what Lab's RefreshControl reads from Core, and UIRefreshControl's values
Core's internal touch entry re-exports, by name, what Lab's
RefreshControl reads: the pan recognizer and its hook, the motion math
and UIKit tables of its pull, the touch presentation hook, the
selectable-text test, and the page's scroll-style claims, which let a
pull at the page's top compose with a scroll lock. The animator's factory keeps its internal name,
`createMotionAnimator`.
The UIKit constants table gains UIRefreshControl's measured values
(`refreshControl`): the refreshing inset, the trigger, the pull after
it, the indicator's reveal, spokes, spin and gradient, the trigger
springs, and the end clock, each with its source. MEASUREMENTS.md lists
the captures still open. The table-imports check lets an internal entry
that no Core source imports re-export a component's table by name; an
internal module that Core imports stays shared code. The locale catalog
gains `@astryx.refreshControl.refreshing`.
[chore] Internal: Core's internal touch entry re-exports what Lab's RefreshControl reads: the pan recognizer and its hook, the motion math and UIKit tables of its pull, and the page's scroll-style claims. The UIKit constants table gains UIRefreshControl's measured values (`refreshControl`), and the locale catalog gains `@astryx.refreshControl.refreshing` ("Refreshing"). Apps import nothing new.
Copy file name to clipboardExpand all lines: packages/core/locales/en.json
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -747,6 +747,10 @@
747
747
"defaultMessage": "Copy link to {heading}",
748
748
"description": "Accessible name on the Markdown heading copy button in its default state. `{heading}` is the heading's plain text, or its generated id when the text is empty; pairs with `markdownHeadingLinks.copied`."
749
749
},
750
+
"@astryx.refreshControl.refreshing": {
751
+
"defaultMessage": "Refreshing",
752
+
"description": "Announced to screen readers when a pull to refresh (or a programmatic refresh) starts."
753
+
},
750
754
"@astryx.richTextEditor.tabEscapeHint": {
751
755
"defaultMessage": "Press Escape then Tab to move focus out of the editor.",
752
756
"description": "Screen-reader-only hint attached to the RichTextEditor text area. Tab indents text inside the editor, so this tells keyboard users the two-key sequence that moves focus out of it."
| M-RC2 | Indicator placement | RefreshLab: slow pulls to 2 × the trigger distance on the 400 and 874 pt views, a screen recording beside the layer log | the control's frame and the spinner's position against the overscroll (moves with the content, pinned, or centred in the gap) | B, C |
332
+
| M-RC3 | Pull after the trigger | RefreshLab: pulls to 300 pt at 150 and 50 pt/s on the 334 and 874 pt views; a second pull while refreshing | the offset against the finger past 2 × `height` (is the step back systematic?), and the distance at which a pull while refreshing fires | C |
333
+
| M-RC4 | Trigger springs | RefreshLab: pulls through the trigger at 50, 150 and 400 pt/s | the turn spring's stiffness against the release speed (its overdamping and the gradient's targets are measured) | A |
334
+
| M-RC5 | End of a refresh | RefreshLab: `endRefreshing` while scrolled 300 pt away, while dragging, with a touch 100 ms into it, and 50 ms after a begin | what moves when scrolled away, the end under a finger, what a touch during the end does, any minimum visible time; a screen recording | A, B |
335
+
| M-RC7 | Programmatic begin | RefreshLab: `beginRefreshing` at the top and when scrolled 300 pt | whether the content moves to reveal the control, and its curve | A, C |
Copy file name to clipboardExpand all lines: packages/core/src/motion/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ roles through `resolveMotion`.
26
26
|`uikit/picker.ts`| UIPickerView: row pitch, height and rubber band, velocity floor, the coast's stop speed, snap at rest, tap spin, tick. |
27
27
|`uikit/segmented.ts`| UISegmentedControl: the selection indicator's spring; under Reduce Motion the animator's cross-fade replaces it. |
28
28
|`uikit/switch.ts`| UISwitch on iOS 26.2: geometry, the lift, settle, travel and tracking springs, the flip distance, the track colour. |
29
+
|`uikit/refresh.ts`| UIRefreshControl: the refreshing inset, the trigger, the pull after it, the indicator's reveal, spokes and spin, the trigger springs, the end clock. |
29
30
|`roles.ts`| The internal motion roles: the springs, durations and curves `spec:AST-094` FR4 names, registered by the shared tables, and a role's CSS form read back. |
30
31
|`roleValue.ts`| A role's CSS form, written: a spring's duration and bounce, a duration in ms, a curve's `cubic-bezier()`. |
31
32
|`resolveMotion.ts`| A role's value: its table value, as the per-role tables stay internal (`spec:AST-094` DEC-15). |
0 commit comments