mini_program_ui 0.2.8
mini_program_ui: ^0.2.8 copied to clipboard
Pure-Dart authoring helpers for versioned Mp JSON mini-program screens.
Changelog #
0.2.8 #
- Add root-only
Mp.pageauthoring for explicit safe-area and background ownership without the SDK's legacy compatibility padding. - Add
Mp.topBarwith bounded leading, title, and action regions so compact headers remain stable across narrow Android screens.
0.2.7 #
- Add lifecycle-owned
Mp.display.brightnessScopeauthoring for temporary, host-controlled window brightness with automatic restoration.
0.2.6 #
- Add
Mp.share.openfor user-initiated system sharing of bounded text, absolute HTTPS URLs, and app-owned opaque media references. - Keep native paths, content URIs, file bytes, and share-completion claims out of authored JSON and live state.
0.2.5 #
- Add trusted artifact and Publisher API audio/video source models.
- Add headless
Mp.audioplayback actions, inlineMp.videoView, andMp.videocontrols with strict source, player, volume, speed, and cache-mode validation. - Add the host-managed
audiocache bucket alongside existing video policy. - Add
Mp.audio.setVolume/setSpeed, video enter/exit-fullscreen actions, and optionalonReady,onEnded, andonErrorvideo lifecycle actions.
0.2.4 #
- Add cross-platform
Mp.qr.generaterendering and host-controlledMp.qr.scanauthoring with bounded values, timeouts, and state targets.
0.2.3 #
- Add
Mp.camera.capturePhotoandMp.camera.cancelwith optional bounded dimensions and host-private opaque media references. - Add
Mp.flashlight.turnOn,turnOff,toggle, andgetStatusactions. - Add app-owned temporary media composition through
MpImageSource.hostMedia,Mp.file.upload(mediaRefs: ...), andMp.media.release.
0.2.2 #
- Add strictly validated
Mp.file.upload,Mp.file.download, andMp.file.cancelauthoring actions for Publisher API file transfers. - Keep native paths and file bytes outside mini-program JSON and live state.
0.2.1 #
- Add a live-state-controlled
Mp.stateTextFieldfor reusable single-line and multiline local editing with bounded input, actions, and explicit styling. - Add semantic
Mp.tapaction wrapping for arbitrary authored child content. - Add common add, delete, edit, and note icon names.
0.2.0 #
- Establish the feature-oriented authoring architecture as the supported baseline while preserving the public barrel API and serialized JSON output.
- Remove the temporary legacy
lib/srccompatibility re-exports announced in0.1.13; mini-program authors must importmini_program_ui.dart.
0.1.13 #
- Reorganize the pure-Dart authoring implementation into core, program, and feature-owned libraries while preserving the existing public API and JSON.
- Keep
Mpas a signatures-and-delegation facade and add architecture tests for dependency direction, public exports, and legacy internal import shims. - Retain old
lib/srcimport paths as compatibility re-exports until0.2.0.
0.1.12 #
- Add strict
Mp.location.getCurrentauthoring for foreground, one-time, approximate host-provided location requests.
0.1.11 #
- Add artifact-local JSON load and ranked search action helpers.
- Add controlled search fields, horizontal list/repeat layouts, single-series line charts, and root pull-to-refresh authoring nodes.
- Add reusable location, weather, wind, temperature, and world icon names.
0.1.10 #
- Add bounded
Mp.actionScopedefinitions and staticMp.action.callreferences for compact, reusable in-screen behavior.
0.1.9 #
- Add reactive
Mp.conditionnode authoring. - Add generic
Mp.action.ifElsebranching actions. - Add lifecycle-owned
Mp.timer.countdownnodes with pause, restart, remaining-seconds state, and completion actions. - Add generic brain, trophy, timer, close, refresh, and bolt icon names.
0.1.8 #
- Add reusable styled text buttons and semantic icon buttons for compact, domain-specific mini-program controls.
- Add
history,backspace, andarrowBackruntime icon names.
0.1.7 #
- Add
state.setDefault,state.decrement,state.copy, andstate.toggle. - Extend
state.incrementwith bound operands, defaults, and numeric bounds. - Add atomic
state.patch,Mp.initialize, andMp.stateScopebuilders. - Add app-scoped
Mp.cache.infousage and accepted-policy introspection.
0.1.6 #
- Add bounded text and list state transformation action helpers.
- Add safe offline evaluate, compare, random, and aggregate math helpers.
0.1.5 #
- Add
Mp.cache.*authoring helpers formemory,data,image,state, andvideocache actions. - Keep
sessionand host-pinned cache priority out of mini-program authoring helpers.
0.1.3 #
- add
Mp.lazy.chunkandMp.lazy.loadMoreauthoring helpers for manual chunk/page loading with provider-neutral backend actions
0.1.2 #
- add
Mp.lazy.sectionauthoring helpers for cached lazy sections, action execution, status state, retry configuration, and placeholder/error templates
0.1.1 #
- refresh package metadata for the post-
0.1.0patch release
0.1.0 #
- add Mp state, router, sequence, and
stateBuilderauthoring helpers - keep
Mp.navigationcompatibility while addingMp.routerparams/results - add Mp authoring helpers for auth, backend, paged backend, and navigation runtime parity nodes and actions
- add the pure-Dart Mp JSON authoring foundation
- add explicit
MpProgramscreen registry and deterministic screen JSON output - add layout, text, image, card, button, and email-auth action helpers
0.1.4 #
- Update the contracts dependency for the current static artifact plus runtime API boundary.