Skip to content

Releases

pam-native-ui 2.0.0

Choose a tag to compare

@DavidWilliamBalbino DavidWilliamBalbino released this 17 Nov 05:22
7a2c4de

A rebuild. 1.x could not get a value from an input to PHP: p-model on any
p-* input stopped the app at boot, @change listeners were dropped and
on:change landed on a wrapper that never fires (see
docs/audit-1.0.md). 2.0 is a set of PAM single-file
components drawn by the PAM Native renderer, with two-way binding on every
input. Upgrade notes: UPGRADE.md.

  • Two-way binding. p-model on every input (p-text-field,
    p-textarea, p-checkbox, p-switch, p-radio-group, p-select,
    p-date-input, p-slider, p-stepper, p-segmented, p-chip, p-tabs)
    and overlay (p-sheet, p-dialog, p-snackbar), including
    p-model="$form->field" on a NativeForm. Requires PAM Native 1.51.
  • Forms. InteractsWithForm (error(), validateField(),
    submitForm(), submitting(), formFailed()), p-form with an announced
    error summary, and the Accepted, Between, Pattern and OneOf rules.
  • Predictable events. Each component declares its events
    (#[Event('change', 'string')]); @change and on:change are the same
    event; an unknown event or prop fails with the component and prop name.
  • Typed components. Every prop is a typed PHP 8.5 constructor parameter.
  • Theme. PAM brand (Instrument Sans, #0A0A0A/#161615/#3E3E3A,
    #EDEDEC/#A1A09A, accent #F53003) in light and dark, Material 3 shapes
    on Android and iOS shapes on iOS, 48 dp targets, UI-thread motion that
    honours reduce motion.
  • One renderer. The 9,400-line Android host and 4,000-line iOS host are
    gone: no Kotlin, Swift or native view in the package, so both platforms
    share one implementation and PAM Native's renderer.
  • Showcase (examples/showcase): every component, a validated sign-up
    form, a 500-row virtualized list, sheets, dialogs and snackbars.
  • Tests: tests/run.php (85 assertions through the PAM renderer) and
    tools/e2e_android.py (14 input round-trips on a device).
  • Removed: the 1.x Material facades (Pam\MobileUi\Material\*), the
    generated renderer, themes API and 60+ specialised tags. PamUI::mode() and
    ThemeMode remain as deprecated shims, and <AppScreen> renders
    <p-screen>.

Upgrade guide: UPGRADE.md. Requires pushinbr/pam-native ^1.51.

v1.0.7

Choose a tag to compare

@github-actions github-actions released this 31 Aug 21:58
8cc1f09

What's Changed

Full Changelog: v1.0.6...v1.0.7

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 26 Aug 12:18
f0c573c

What's Changed

Full Changelog: v0.10.1...v1.0.0

v0.10.1

Choose a tag to compare

@github-actions github-actions released this 25 Aug 03:27
ad08efe

What's Changed

Full Changelog: v0.10.0...v0.10.1

PAM Native UI 0.9.0

Choose a tag to compare

@DavidWilliamBalbino DavidWilliamBalbino released this 25 Aug 00:43
b0d8126

Certifies the complete PAM Native UI surface against PAM Native 0.9.1 across PHP 8.5, Android API 26/36 and UIKit.

What's Changed

Full Changelog: v0.8.2...v0.9.0

v0.8.2

Choose a tag to compare

@github-actions github-actions released this 24 Aug 17:03
f5bac3e

What's Changed

Full Changelog: v0.8.1...v0.8.2

PAM Native UI 0.8.1

Choose a tag to compare

@DavidWilliamBalbino DavidWilliamBalbino released this 24 Aug 13:03
004459b

Ensures the complete PHPStan level 9 generated UI matrix has a deterministic memory budget.

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 24 Aug 03:41
a4f1259

What's Changed

Full Changelog: v0.5.0...v0.8.0

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 10 Aug 22:04

PAM Mobile UI v0.4.0

Choose a tag to compare

@DavidWilliamBalbino DavidWilliamBalbino released this 28 Jul 02:35
55ffc5f

What's Changed

New Contributors

Full Changelog: push-in/pam-mobile-ui@v0.3.0...v0.4.0