Skip to content

docs(mobile/4): accordion, @selectionChange, per-platform icons, native:font overhaul - #453

Merged
shanerbaner82 merged 1 commit into
mainfrom
docs/mobile-ui-aug-features
Aug 3, 2026
Merged

shanerbaner82 merged 1 commit into
mainfrom
docs/mobile-ui-aug-features

Conversation

@shanerbaner82

Copy link
Copy Markdown
Contributor

Documents the four nativephp/mobile-ui features merged today (2026-08-03):

New page

  • edge-components/accordion.md (order 90) — <native:accordion> with header/content children, expanded as a live two-way binding, @change contract, FAQ example, programmatic API. Includes an explicit note that native:model alone won't drive an accordion (the precompiler binds :value, which Accordion doesn't read) with the working :expanded + @change="__syncProperty(...)" form.

Updated pages

  • text-input.md — new Caret and selection reporting section for @selectionChange: handler signature, Unicode code-point offsets, 150ms native coalescing (selection-debounce-ms, 16ms floor), cost aside, and the contract bullets (secure inputs never emit, programmatic pushes emit one end-caret event, discontiguous iOS selections collapse to one span, read-only reports Android-only). Plus Per-platform icons (ios-leading-icon / android-trailing-icon etc.).
  • button.md / chip.md / tab-row.md — ios-icon / android-icon overrides (with ios/android shorthand where it exists, trailing-slot forms on button), fallback semantics, and the iOS button height fix (glyph no longer drives button height).
  • text.md — native:font rewritten for the new interactive single-family flow: catalog search, style multiselect, config fonts aliases written on download, --default / --reset / --clear-cache / --force, non-interactive/CI behavior, and an upgrading aside for the removed --weights / --italic flags.

Every documented behavior was verified against the package source (applyAttributes(), renderers, FontCommand/GoogleFonts) rather than the PR descriptions — a few subtleties (exact-name CLI matching, Regular-with-fallback in non-interactive runs, no short aliases on trailing slots) are stated as the code actually behaves.

🤖 Generated with Claude Code

…ve:font overhaul

Documents the four mobile-ui features that landed today:

- New accordion page: header/content structure, live expanded binding,
  @change contract, and why native:model alone won't drive it
- text-input: caret & selection reporting (@selectionChange) and
  per-platform leading/trailing icon attributes
- button/chip/tab-row: ios-icon / android-icon overrides, and the iOS
  button height fix note
- text: native:font rewritten for the interactive single-family flow,
  config aliases, --reset/--clear-cache, and the removed --weights/--italic

All behavior verified against the released package source.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@shanerbaner82
shanerbaner82 merged commit d0a4ee2 into main Aug 3, 2026
2 checks passed
@shanerbaner82
shanerbaner82 deleted the docs/mobile-ui-aug-features branch August 3, 2026 22:03
SimonTingle pushed a commit to SimonTingle/nativephp.com that referenced this pull request Sep 19, 2026
…atures

docs(mobile/4): accordion, @selectionChange, per-platform icons, native:font overhaul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant