@symbiote-native/angular 0.8.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -10
- package/babel-register-composed.cjs +58 -18
- package/bin/symbiote-angular-dev.cjs +16 -4
- package/build/angular/anchor-host-registry.js +1 -15
- package/build/angular/anchor-host-registry.js.map +1 -1
- package/build/angular/change-detection-flush.d.ts +31 -0
- package/build/angular/change-detection-flush.js +110 -0
- package/build/angular/change-detection-flush.js.map +1 -0
- package/build/angular/components/activity-indicator-props.d.ts +2 -0
- package/build/angular/components/activity-indicator-props.js +2 -0
- package/build/angular/components/activity-indicator-props.js.map +1 -0
- package/build/angular/components/button-props.d.ts +2 -0
- package/build/angular/components/button-props.js +2 -0
- package/build/angular/components/button-props.js.map +1 -0
- package/build/angular/components/flat-list/index.d.ts +2 -1
- package/build/angular/components/flat-list/index.js +22 -10
- package/build/angular/components/flat-list/index.js.map +1 -1
- package/build/angular/components/image-background-props.d.ts +6 -0
- package/build/angular/components/image-background-props.js +2 -0
- package/build/angular/components/image-background-props.js.map +1 -0
- package/build/angular/components/{image/shared.d.ts → image-shared.d.ts} +4 -4
- package/build/angular/components/{image/shared.js → image-shared.js} +39 -28
- package/build/angular/components/image-shared.js.map +1 -0
- package/build/angular/components/input-accessory-view-props.d.ts +7 -0
- package/build/angular/components/input-accessory-view-props.js +9 -0
- package/build/angular/components/input-accessory-view-props.js.map +1 -0
- package/build/angular/components/keyboard-avoiding-view/index.d.ts +2 -1
- package/build/angular/components/keyboard-avoiding-view/index.js +28 -27
- package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -1
- package/build/angular/components/modal/index.d.ts +2 -0
- package/build/angular/components/modal/index.js +33 -20
- package/build/angular/components/modal/index.js.map +1 -1
- package/build/angular/components/pressable-props.d.ts +32 -0
- package/build/angular/components/pressable-props.js +11 -0
- package/build/angular/components/pressable-props.js.map +1 -0
- package/build/angular/components/refresh-control-props.d.ts +16 -0
- package/build/angular/components/refresh-control-props.js +14 -0
- package/build/angular/components/refresh-control-props.js.map +1 -0
- package/build/angular/components/safe-area-view-props.d.ts +7 -0
- package/build/angular/components/safe-area-view-props.js +11 -0
- package/build/angular/components/safe-area-view-props.js.map +1 -0
- package/build/angular/components/scroll-view-props.d.ts +76 -0
- package/build/angular/components/scroll-view-props.js +18 -0
- package/build/angular/components/scroll-view-props.js.map +1 -0
- package/build/angular/components/section-list/index.d.ts +3 -0
- package/build/angular/components/section-list/index.js +10 -1
- package/build/angular/components/section-list/index.js.map +1 -1
- package/build/angular/components/text-input-props.d.ts +45 -0
- package/build/angular/components/text-input-props.js +18 -0
- package/build/angular/components/text-input-props.js.map +1 -0
- package/build/angular/components/touchable-native-feedback/touchable-native-feedback-props.d.ts +6 -0
- package/build/angular/components/touchable-native-feedback/touchable-native-feedback-props.js +2 -0
- package/build/angular/components/touchable-native-feedback/touchable-native-feedback-props.js.map +1 -0
- package/build/angular/components/touchable-props.d.ts +14 -0
- package/build/angular/components/touchable-props.js +13 -0
- package/build/angular/components/touchable-props.js.map +1 -0
- package/build/angular/components/touchable-without-feedback/touchable-without-feedback-props.d.ts +3 -0
- package/build/angular/components/touchable-without-feedback/touchable-without-feedback-props.js +2 -0
- package/build/angular/components/touchable-without-feedback/touchable-without-feedback-props.js.map +1 -0
- package/build/angular/components/virtualized-list/index.d.ts +8 -1
- package/build/angular/components/virtualized-list/index.js +373 -278
- package/build/angular/components/virtualized-list/index.js.map +1 -1
- package/build/angular/components/virtualized-section-list/index.d.ts +3 -0
- package/build/angular/components/virtualized-section-list/index.js +10 -1
- package/build/angular/components/virtualized-section-list/index.js.map +1 -1
- package/build/angular/components.d.ts +21 -27
- package/build/angular/components.js +13 -15
- package/build/angular/components.js.map +1 -1
- package/build/angular/create-portal/index.d.ts +11 -2
- package/build/angular/create-portal/index.js +37 -11
- package/build/angular/create-portal/index.js.map +1 -1
- package/build/angular/create-tunnel/index.js +1 -1
- package/build/angular/element-props.d.ts +53 -0
- package/build/angular/element-props.js +2 -0
- package/build/angular/element-props.js.map +1 -0
- package/build/angular/elements.d.ts +528 -0
- package/build/angular/elements.js +1444 -0
- package/build/angular/elements.js.map +1 -0
- package/build/angular/gate-demand.d.ts +37 -0
- package/build/angular/gate-demand.js +84 -0
- package/build/angular/gate-demand.js.map +1 -0
- package/build/angular/host-instance/index.js +1 -1
- package/build/angular/index.d.ts +5 -2
- package/build/angular/index.js +16 -1
- package/build/angular/index.js.map +1 -1
- package/build/angular/modules/animated/create-animated-component.d.ts +6 -6
- package/build/angular/modules/animated/create-animated-component.js +73 -81
- package/build/angular/modules/animated/create-animated-component.js.map +1 -1
- package/build/angular/modules/animated/index.js +1 -1
- package/build/angular/modules/animated/index.js.map +1 -1
- package/build/angular/modules/image/index.d.ts +3 -0
- package/build/angular/modules/image/index.js +16 -0
- package/build/angular/modules/image/index.js.map +1 -0
- package/build/angular/primitives/index.d.ts +28 -16
- package/build/angular/primitives/index.js +77 -31
- package/build/angular/primitives/index.js.map +1 -1
- package/build/angular/primitives/shared.d.ts +2 -3
- package/build/angular/primitives/shared.js +8 -53
- package/build/angular/primitives/shared.js.map +1 -1
- package/build/angular/register.d.ts +1 -0
- package/build/angular/register.js +16 -0
- package/build/angular/register.js.map +1 -0
- package/build/angular/render/index.js +4 -2
- package/build/angular/render/index.js.map +1 -1
- package/build/angular/renderer/index.js +207 -60
- package/build/angular/renderer/index.js.map +1 -1
- package/build/angular/renderer/value-change.d.ts +2 -0
- package/build/angular/renderer/value-change.js +9 -0
- package/build/angular/renderer/value-change.js.map +1 -0
- package/metro-config.cjs +23 -5
- package/metro-css-parser.cjs +2 -1
- package/package.json +17 -7
- package/src/anchor-host-registry.ts +1 -15
- package/src/change-detection-flush.ts +120 -0
- package/src/components/activity-indicator-props.ts +21 -0
- package/src/components/button-props.ts +26 -0
- package/src/components/flat-list/index.ts +12 -4
- package/src/components/image-background-props.ts +24 -0
- package/src/components/{image/shared.ts → image-shared.ts} +57 -26
- package/src/components/input-accessory-view-props.ts +21 -0
- package/src/components/keyboard-avoiding-view/index.ts +27 -16
- package/src/components/modal/index.ts +32 -11
- package/src/components/pressable-props.ts +73 -0
- package/src/components/refresh-control-props.ts +43 -0
- package/src/components/safe-area-view-props.ts +28 -0
- package/src/components/scroll-view-props.ts +109 -0
- package/src/components/section-list/index.ts +18 -0
- package/src/components/text-input-props.ts +72 -0
- package/src/components/touchable-native-feedback/touchable-native-feedback-props.ts +23 -0
- package/src/components/touchable-props.ts +30 -0
- package/src/components/touchable-without-feedback/touchable-without-feedback-props.ts +21 -0
- package/src/components/virtualized-list/index.ts +254 -153
- package/src/components/virtualized-section-list/index.ts +18 -0
- package/src/components.ts +86 -35
- package/src/create-portal/index.ts +39 -9
- package/src/create-tunnel/index.ts +1 -1
- package/src/diagnostics.ts +1 -1
- package/src/element-props.ts +90 -0
- package/src/elements.ts +919 -0
- package/src/gate-demand.ts +109 -0
- package/src/host-instance/index.ts +1 -1
- package/src/index.ts +54 -15
- package/src/modules/animated/create-animated-component.ts +73 -59
- package/src/modules/animated/index.ts +1 -1
- package/src/modules/image/index.ts +18 -0
- package/src/primitives/index.ts +47 -16
- package/src/primitives/shared.ts +11 -44
- package/src/register.ts +15 -0
- package/src/render/index.ts +4 -2
- package/src/renderer/index.ts +239 -80
- package/src/renderer/value-change.ts +8 -0
- package/build/angular/components/activity-indicator/index.android.d.ts +0 -13
- package/build/angular/components/activity-indicator/index.android.js +0 -29
- package/build/angular/components/activity-indicator/index.android.js.map +0 -1
- package/build/angular/components/activity-indicator/index.d.ts +0 -1
- package/build/angular/components/activity-indicator/index.ios.d.ts +0 -9
- package/build/angular/components/activity-indicator/index.ios.js +0 -26
- package/build/angular/components/activity-indicator/index.ios.js.map +0 -1
- package/build/angular/components/activity-indicator/index.js +0 -4
- package/build/angular/components/activity-indicator/index.js.map +0 -1
- package/build/angular/components/activity-indicator/shared.d.ts +0 -67
- package/build/angular/components/activity-indicator/shared.js +0 -260
- package/build/angular/components/activity-indicator/shared.js.map +0 -1
- package/build/angular/components/button.d.ts +0 -65
- package/build/angular/components/button.js +0 -351
- package/build/angular/components/button.js.map +0 -1
- package/build/angular/components/image/index.android.d.ts +0 -15
- package/build/angular/components/image/index.android.js +0 -91
- package/build/angular/components/image/index.android.js.map +0 -1
- package/build/angular/components/image/index.d.ts +0 -1
- package/build/angular/components/image/index.ios.d.ts +0 -15
- package/build/angular/components/image/index.ios.js +0 -91
- package/build/angular/components/image/index.ios.js.map +0 -1
- package/build/angular/components/image/index.js +0 -3
- package/build/angular/components/image/index.js.map +0 -1
- package/build/angular/components/image/shared.js.map +0 -1
- package/build/angular/components/image-background.d.ts +0 -82
- package/build/angular/components/image-background.js +0 -434
- package/build/angular/components/image-background.js.map +0 -1
- package/build/angular/components/input-accessory-view/index.d.ts +0 -65
- package/build/angular/components/input-accessory-view/index.js +0 -290
- package/build/angular/components/input-accessory-view/index.js.map +0 -1
- package/build/angular/components/pressable/index.d.ts +0 -129
- package/build/angular/components/pressable/index.js +0 -473
- package/build/angular/components/pressable/index.js.map +0 -1
- package/build/angular/components/refresh-control/index.d.ts +0 -90
- package/build/angular/components/refresh-control/index.js +0 -380
- package/build/angular/components/refresh-control/index.js.map +0 -1
- package/build/angular/components/safe-area-view/index.d.ts +0 -62
- package/build/angular/components/safe-area-view/index.js +0 -287
- package/build/angular/components/safe-area-view/index.js.map +0 -1
- package/build/angular/components/scroll-view/index.android.d.ts +0 -20
- package/build/angular/components/scroll-view/index.android.js +0 -262
- package/build/angular/components/scroll-view/index.android.js.map +0 -1
- package/build/angular/components/scroll-view/index.d.ts +0 -3
- package/build/angular/components/scroll-view/index.ios.d.ts +0 -8
- package/build/angular/components/scroll-view/index.ios.js +0 -92
- package/build/angular/components/scroll-view/index.ios.js.map +0 -1
- package/build/angular/components/scroll-view/index.js +0 -6
- package/build/angular/components/scroll-view/index.js.map +0 -1
- package/build/angular/components/scroll-view/projection.d.ts +0 -67
- package/build/angular/components/scroll-view/projection.js +0 -560
- package/build/angular/components/scroll-view/projection.js.map +0 -1
- package/build/angular/components/scroll-view/shared.d.ts +0 -239
- package/build/angular/components/scroll-view/shared.js +0 -832
- package/build/angular/components/scroll-view/shared.js.map +0 -1
- package/build/angular/components/scroll-view/sticky-header.d.ts +0 -40
- package/build/angular/components/scroll-view/sticky-header.js +0 -224
- package/build/angular/components/scroll-view/sticky-header.js.map +0 -1
- package/build/angular/components/switch/index.android.d.ts +0 -24
- package/build/angular/components/switch/index.android.js +0 -112
- package/build/angular/components/switch/index.android.js.map +0 -1
- package/build/angular/components/switch/index.d.ts +0 -1
- package/build/angular/components/switch/index.ios.d.ts +0 -23
- package/build/angular/components/switch/index.ios.js +0 -111
- package/build/angular/components/switch/index.ios.js.map +0 -1
- package/build/angular/components/switch/index.js +0 -4
- package/build/angular/components/switch/index.js.map +0 -1
- package/build/angular/components/switch/shared.d.ts +0 -49
- package/build/angular/components/switch/shared.js +0 -191
- package/build/angular/components/switch/shared.js.map +0 -1
- package/build/angular/components/text-input.d.ts +0 -161
- package/build/angular/components/text-input.js +0 -659
- package/build/angular/components/text-input.js.map +0 -1
- package/build/angular/components/touchable/index.d.ts +0 -276
- package/build/angular/components/touchable/index.js +0 -1422
- package/build/angular/components/touchable/index.js.map +0 -1
- package/build/angular/components/touchable-native-feedback/index.d.ts +0 -86
- package/build/angular/components/touchable-native-feedback/index.js +0 -407
- package/build/angular/components/touchable-native-feedback/index.js.map +0 -1
- package/src/components/activity-indicator/index.android.ts +0 -23
- package/src/components/activity-indicator/index.ios.ts +0 -21
- package/src/components/activity-indicator/index.ts +0 -4
- package/src/components/activity-indicator/shared.ts +0 -225
- package/src/components/button.ts +0 -220
- package/src/components/image/index.android.ts +0 -99
- package/src/components/image/index.ios.ts +0 -99
- package/src/components/image/index.ts +0 -3
- package/src/components/image-background.ts +0 -290
- package/src/components/input-accessory-view/index.ts +0 -240
- package/src/components/pressable/index.ts +0 -462
- package/src/components/refresh-control/index.ts +0 -340
- package/src/components/safe-area-view/index.ts +0 -231
- package/src/components/scroll-view/index.android.ts +0 -205
- package/src/components/scroll-view/index.ios.ts +0 -81
- package/src/components/scroll-view/index.ts +0 -7
- package/src/components/scroll-view/projection.ts +0 -713
- package/src/components/scroll-view/shared.ts +0 -1066
- package/src/components/scroll-view/sticky-header.ts +0 -267
- package/src/components/switch/index.android.ts +0 -113
- package/src/components/switch/index.ios.ts +0 -112
- package/src/components/switch/index.ts +0 -4
- package/src/components/switch/shared.ts +0 -284
- package/src/components/text-input.ts +0 -613
- package/src/components/touchable/index.ts +0 -913
- package/src/components/touchable-native-feedback/index.ts +0 -317
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-background-props.js","sourceRoot":"","sources":["../../../src/components/image-background-props.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { type IGatedAccessibilityEvent } from '../gate-demand';
|
|
2
3
|
import { type IAccessibilityProps, type IAriaProps, type IImageProps, type IImageSourceProp } from '@symbiote-native/components';
|
|
3
4
|
import { type ISymbioteEvent } from '@symbiote-native/engine';
|
|
4
5
|
export { setImageSourceResolver } from '@symbiote-native/components';
|
|
5
6
|
export type { IImageProps, IImageSource, IImageSourceProp, IResizeMode, IImageSize, IImageCacheStatus, } from '@symbiote-native/components';
|
|
6
7
|
export declare const IMAGE_INPUTS: string[];
|
|
7
8
|
export declare const IMAGE_OUTPUTS: string[];
|
|
9
|
+
export declare function isImageEventCallback(value: unknown): value is (event: ISymbioteEvent) => void;
|
|
8
10
|
export declare function resolveImageProps(input: Record<string, unknown>): Record<string, unknown>;
|
|
9
11
|
export declare abstract class ImageBase {
|
|
10
12
|
static readonly getSize: (uri: string, success?: (width: number, height: number) => void, failure?: (error: unknown) => void) => Promise<import("@symbiote-native/engine").IImageSize>;
|
|
@@ -86,10 +88,8 @@ export declare abstract class ImageBase {
|
|
|
86
88
|
readonly error: EventEmitter<ISymbioteEvent>;
|
|
87
89
|
readonly progress: EventEmitter<ISymbioteEvent>;
|
|
88
90
|
readonly partialLoad: EventEmitter<ISymbioteEvent>;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
handleMagicTap(event: Event): void;
|
|
92
|
-
handleAccessibilityEscape(event: Event): void;
|
|
91
|
+
private readonly gateDemand;
|
|
92
|
+
protected gatedAccessibilityHandler(name: IGatedAccessibilityEvent, callback: ((event: ISymbioteEvent) => void) | undefined): ((event: Event) => void) | undefined;
|
|
93
93
|
handleLoadStart(event: Event): void;
|
|
94
94
|
handleLoad(event: Event): void;
|
|
95
95
|
handleLoadEnd(event: Event): void;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
// The input surface and prop fold `AnimatedImage` builds on. The `Image` COMPONENT that used to
|
|
2
|
+
// share it is gone (2026-09-10) — the primitive is the `<image>` tag, matched by `ImageElement`,
|
|
3
|
+
// and `registerImageBehavior` folds its source on that path. `Animated.Image` is not a primitive
|
|
4
|
+
// and stays a component, so what it needs from here survived the deletion; the folder collapsed to
|
|
5
|
+
// this one flat file with it (`symbiote-file-layout`).
|
|
1
6
|
import { EventEmitter, computed, signal } from '@angular/core';
|
|
7
|
+
import { gateWanted, injectGateDemand, } from '../gate-demand';
|
|
2
8
|
import { imageStatics, renderImage, resolveAccessibilityProps, } from '@symbiote-native/components';
|
|
3
9
|
import { isSymbioteEvent, } from '@symbiote-native/engine';
|
|
4
10
|
export { setImageSourceResolver } from '@symbiote-native/components';
|
|
@@ -110,6 +116,11 @@ function asCrossOrigin(value) {
|
|
|
110
116
|
function asStyle(value) {
|
|
111
117
|
return typeof value === 'object' && value !== null ? value : undefined;
|
|
112
118
|
}
|
|
119
|
+
// Narrows a value out of the untyped animated prop bag. A runtime guard rather than a cast: the
|
|
120
|
+
// bag is built at runtime from merged animated values, so nothing upstream has proven the shape.
|
|
121
|
+
export function isImageEventCallback(value) {
|
|
122
|
+
return typeof value === 'function';
|
|
123
|
+
}
|
|
113
124
|
export function resolveImageProps(input) {
|
|
114
125
|
const passthrough = {
|
|
115
126
|
resizeMethod: input['resizeMethod'],
|
|
@@ -284,29 +295,29 @@ export class ImageBase {
|
|
|
284
295
|
error = new EventEmitter();
|
|
285
296
|
progress = new EventEmitter();
|
|
286
297
|
partialLoad = new EventEmitter();
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
this.
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
298
|
+
// Null unless an adapter wrapper renders this Image in its own template — ImageBackground does.
|
|
299
|
+
// An app's own `<Image>` gets null and answers from its own `.observed`.
|
|
300
|
+
gateDemand = injectGateDemand();
|
|
301
|
+
// The four accessibility events are boolean-GATED Fabric events
|
|
302
|
+
// (`.claude/rules/fabric-boolean-event-gates.md`): native fires them only when the committed
|
|
303
|
+
// payload carries a FUNCTION at that key. A template `(accessibilityAction)="..."` binding on the
|
|
304
|
+
// intrinsic host lights the gate unconditionally; this reaches the app two ways — a plain
|
|
305
|
+
// `[onAccessibilityAction]` @Input callback, or the `accessibilityAction` @Output — and the gate
|
|
306
|
+
// must light only when at least one of the two is actually wired. Returned `undefined` means
|
|
307
|
+
// `setEventListener` never sees a function, so the gate stays dark.
|
|
308
|
+
gatedAccessibilityHandler(name, callback) {
|
|
309
|
+
const emitter = this[name];
|
|
310
|
+
// A WRAPPER's binding is not a subscriber, and `.observed` cannot tell the two apart.
|
|
311
|
+
// ImageBackground renders this component and binds all four, so without the demand every
|
|
312
|
+
// Image inside one lit its gates. See `gate-demand.ts`.
|
|
313
|
+
if (!gateWanted(this.gateDemand, name, emitter) && callback === undefined)
|
|
314
|
+
return undefined;
|
|
315
|
+
return event => {
|
|
316
|
+
if (!isSymbioteEvent(event))
|
|
317
|
+
return;
|
|
318
|
+
callback?.(event);
|
|
319
|
+
emitter.emit(event);
|
|
320
|
+
};
|
|
310
321
|
}
|
|
311
322
|
handleLoadStart(event) {
|
|
312
323
|
if (!isSymbioteEvent(event))
|
|
@@ -399,10 +410,10 @@ export class ImageBase {
|
|
|
399
410
|
ariaValueMin: this.ariaValueMin,
|
|
400
411
|
ariaValueNow: this.ariaValueNow,
|
|
401
412
|
ariaValueText: this.ariaValueText,
|
|
402
|
-
onAccessibilityAction: this.onAccessibilityAction,
|
|
403
|
-
onAccessibilityTap: this.onAccessibilityTap,
|
|
404
|
-
onMagicTap: this.onMagicTap,
|
|
405
|
-
onAccessibilityEscape: this.onAccessibilityEscape,
|
|
413
|
+
onAccessibilityAction: this.gatedAccessibilityHandler('accessibilityAction', this.onAccessibilityAction),
|
|
414
|
+
onAccessibilityTap: this.gatedAccessibilityHandler('accessibilityTap', this.onAccessibilityTap),
|
|
415
|
+
onMagicTap: this.gatedAccessibilityHandler('magicTap', this.onMagicTap),
|
|
416
|
+
onAccessibilityEscape: this.gatedAccessibilityHandler('accessibilityEscape', this.onAccessibilityEscape),
|
|
406
417
|
onLoadStart: this.onLoadStart,
|
|
407
418
|
onLoad: this.onLoad,
|
|
408
419
|
onLoadEnd: this.onLoadEnd,
|
|
@@ -446,4 +457,4 @@ export class ImageBase {
|
|
|
446
457
|
return resolveImageProps(this.imageInputProps);
|
|
447
458
|
}
|
|
448
459
|
}
|
|
449
|
-
//# sourceMappingURL=shared.js.map
|
|
460
|
+
//# sourceMappingURL=image-shared.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-shared.js","sourceRoot":"","sources":["../../../src/components/image-shared.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,iGAAiG;AACjG,iGAAiG;AACjG,mGAAmG;AACnG,uDAAuD;AACvD,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AA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D,qBAAqB,EACrB,IAAI,CAAC,qBAAqB,CAC3B;YACD,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,aAAa,EAAE,IAAI,CAAC,aAAa;SAClC,CAAC;IACJ,CAAC;IAED,8FAA8F;IAC9F,gGAAgG;IAChG,0EAA0E;IAC1E,+FAA+F;IAC/F,iFAAiF;IACjF,EAAE;IACF,0FAA0F;IAC1F,uCAAuC;IACvC,EAAE;IACF,sFAAsF;IACtF,+FAA+F;IAC/F,iGAAiG;IACjG,gDAAgD;IAC7B,cAAc,GAAG,MAAM,CAAC,CAAC;uFAAC,CAAC;IAEpC,kBAAkB;QAC1B,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,0FAA0F;IAC1F,gGAAgG;IAChG,+FAA+F;IAC/F,iGAAiG;IACjG,EAAE;IACF,4FAA4F;IAC5F,6FAA6F;IAC7F,4BAA4B;IACnB,UAAU,GAAG,QAAQ,CAA0B,GAAG,EAAE;QAC3D,IAAI,CAAC,cAAc,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC,eAAe,EAAE,CAAC;IAChC,CAAC;mFAAC,CAAC;IAEO,eAAe;QACvB,OAAO,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IACjD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { IAccessibilityProps, IAriaProps } from '@symbiote-native/components';
|
|
2
|
+
import type { IStyleProp, IViewStyle } from '@symbiote-native/engine';
|
|
3
|
+
export interface IAngularInputAccessoryViewProps extends IAccessibilityProps, IAriaProps {
|
|
4
|
+
nativeID?: string;
|
|
5
|
+
backgroundColor?: string;
|
|
6
|
+
style?: IStyleProp<IViewStyle>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// The `<input-accessory-view>` tag's prop surface. The tag is matched by
|
|
2
|
+
// `InputAccessoryViewElement` (`../elements`) and commits one `RCTInputAccessoryView`; its whole
|
|
3
|
+
// wrapper was a prop FOLD with no aliasing at all (`registerInputAccessoryViewBehavior`), so it was
|
|
4
|
+
// deleted 2026-09-10 and the behavior applies the same mapping on the tag's own path.
|
|
5
|
+
//
|
|
6
|
+
// The type stays for a component forwarding a bag, and because `IAngularInputAccessoryViewProps` is
|
|
7
|
+
// public API.
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=input-accessory-view-props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-accessory-view-props.js","sourceRoot":"","sources":["../../../src/components/input-accessory-view-props.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,iGAAiG;AACjG,oGAAoG;AACpG,sFAAsF;AACtF,EAAE;AACF,oGAAoG;AACpG,cAAc"}
|
|
@@ -77,7 +77,8 @@ export declare class KeyboardAvoidingView implements IAngularKeyboardAvoidingVie
|
|
|
77
77
|
get wrapperStyle(): IStyleProp<IViewStyle> | undefined;
|
|
78
78
|
get innerStyle(): IStyleProp<IViewStyle> | undefined;
|
|
79
79
|
get hostProps(): Record<string, unknown>;
|
|
80
|
-
emit
|
|
80
|
+
private emit;
|
|
81
|
+
private eventEmitterHandler;
|
|
81
82
|
get folded(): Partial<IAngularKeyboardAvoidingViewProps>;
|
|
82
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<KeyboardAvoidingView, never>;
|
|
83
84
|
static ɵcmp: i0.ɵɵComponentDeclaration<KeyboardAvoidingView, "KeyboardAvoidingView", never, { "behavior": { "alias": "behavior"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "keyboardVerticalOffset": { "alias": "keyboardVerticalOffset"; "required": false; }; "contentContainerStyle": { "alias": "contentContainerStyle"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "required": false; }; "accessible": { "alias": "accessible"; "required": false; }; "accessibilityLabel": { "alias": "accessibilityLabel"; "required": false; }; "accessibilityHint": { "alias": "accessibilityHint"; "required": false; }; "accessibilityRole": { "alias": "accessibilityRole"; "required": false; }; "accessibilityState": { "alias": "accessibilityState"; "required": false; }; "accessibilityValue": { "alias": "accessibilityValue"; "required": false; }; "accessibilityActions": { "alias": "accessibilityActions"; "required": false; }; "accessibilityLabelledBy": { "alias": "accessibilityLabelledBy"; "required": false; }; "importantForAccessibility": { "alias": "importantForAccessibility"; "required": false; }; "accessibilityLiveRegion": { "alias": "accessibilityLiveRegion"; "required": false; }; "screenReaderFocusable": { "alias": "screenReaderFocusable"; "required": false; }; "accessibilityViewIsModal": { "alias": "accessibilityViewIsModal"; "required": false; }; "accessibilityElementsHidden": { "alias": "accessibilityElementsHidden"; "required": false; }; "accessibilityIgnoresInvertColors": { "alias": "accessibilityIgnoresInvertColors"; "required": false; }; "accessibilityLanguage": { "alias": "accessibilityLanguage"; "required": false; }; "accessibilityRespondsToUserInteraction": { "alias": "accessibilityRespondsToUserInteraction"; "required": false; }; "accessibilityShowsLargeContentViewer": { "alias": "accessibilityShowsLargeContentViewer"; "required": false; }; "accessibilityLargeContentTitle": { "alias": "accessibilityLargeContentTitle"; "required": false; }; "role": { "alias": "role"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; }; "ariaLive": { "alias": "aria-live"; "required": false; }; "ariaHidden": { "alias": "aria-hidden"; "required": false; }; "ariaBusy": { "alias": "aria-busy"; "required": false; }; "ariaChecked": { "alias": "aria-checked"; "required": false; }; "ariaDisabled": { "alias": "aria-disabled"; "required": false; }; "ariaExpanded": { "alias": "aria-expanded"; "required": false; }; "ariaSelected": { "alias": "aria-selected"; "required": false; }; "ariaModal": { "alias": "aria-modal"; "required": false; }; "ariaValueMax": { "alias": "aria-valuemax"; "required": false; }; "ariaValueMin": { "alias": "aria-valuemin"; "required": false; }; "ariaValueNow": { "alias": "aria-valuenow"; "required": false; }; "ariaValueText": { "alias": "aria-valuetext"; "required": false; }; }, { "layout": "layout"; "accessibilityAction": "accessibilityAction"; "accessibilityTap": "accessibilityTap"; "magicTap": "magicTap"; "accessibilityEscape": "accessibilityEscape"; }, never, ["*", "*"], true, [{ directive: typeof i1.SymbioteStyleInputDirective; inputs: { "style": "style"; }; outputs: {}; }]>;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// Angular twin of React's setState / Vue's reactive ref), ngOnDestroy tears the subscriptions down,
|
|
7
7
|
// and the wrapper's onLayout measures the frame that feeds the next event's inset. The user
|
|
8
8
|
// children nest under the wrapper (or, for 'position', an inner View) via <ng-content>. No native
|
|
9
|
-
// host of its own — it wraps
|
|
9
|
+
// host of its own — it wraps view — so this stays a flat single file.
|
|
10
10
|
//
|
|
11
11
|
// Full parity: behavior 'height'|'position'|'padding', enabled, keyboardVerticalOffset,
|
|
12
12
|
// contentContainerStyle, onLayout, plus the full a11y/aria surface every View carries.
|
|
@@ -82,7 +82,7 @@ export class KeyboardAvoidingView {
|
|
|
82
82
|
subscriptions = [];
|
|
83
83
|
changeDetector = inject(ChangeDetectorRef);
|
|
84
84
|
// This component's OWN host — the non-painting anchor `class="..."` at the use site resolves
|
|
85
|
-
// onto (see anchorHostStyle's doc comment) — NOT a ViewChild into the inner
|
|
85
|
+
// onto (see anchorHostStyle's doc comment) — NOT a ViewChild into the inner view (this
|
|
86
86
|
// component has none; the wrapper IS the outer template node hostProps binds onto).
|
|
87
87
|
elementRef = inject(ElementRef);
|
|
88
88
|
ngOnInit() {
|
|
@@ -182,15 +182,24 @@ export class KeyboardAvoidingView {
|
|
|
182
182
|
nativeID: this.nativeID,
|
|
183
183
|
accessible: this.accessible,
|
|
184
184
|
...this.folded,
|
|
185
|
+
onAccessibilityAction: this.eventEmitterHandler(this.accessibilityAction),
|
|
186
|
+
onAccessibilityTap: this.eventEmitterHandler(this.accessibilityTap),
|
|
187
|
+
onMagicTap: this.eventEmitterHandler(this.magicTap),
|
|
188
|
+
onAccessibilityEscape: this.eventEmitterHandler(this.accessibilityEscape),
|
|
185
189
|
};
|
|
186
190
|
}
|
|
187
191
|
// Forward an engine event to the matching @Output(), narrowing the template's untyped $event
|
|
188
|
-
// first.
|
|
189
|
-
// [onX] property bindings; events flow through (event) only).
|
|
192
|
+
// first.
|
|
190
193
|
emit(emitter, event) {
|
|
191
194
|
if (isSymbioteEvent(event))
|
|
192
195
|
emitter.emit(event);
|
|
193
196
|
}
|
|
197
|
+
// The four accessibility events are boolean-GATED Fabric events
|
|
198
|
+
// (`.claude/rules/fabric-boolean-event-gates.md`). `.observed`-gated, unlike `layout` above which
|
|
199
|
+
// this component needs unconditionally for its own internal frame measurement.
|
|
200
|
+
eventEmitterHandler(emitter) {
|
|
201
|
+
return emitter.observed ? event => this.emit(emitter, event) : undefined;
|
|
202
|
+
}
|
|
194
203
|
// Fold the web aria-*/role aliases into the canonical accessibility* props once per render, so the
|
|
195
204
|
// host node never sees an aria-* key (native ignores them) — the shared transform every adapter runs.
|
|
196
205
|
get folded() {
|
|
@@ -231,23 +240,16 @@ export class KeyboardAvoidingView {
|
|
|
231
240
|
}
|
|
232
241
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: KeyboardAvoidingView, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
233
242
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: KeyboardAvoidingView, isStandalone: true, selector: "KeyboardAvoidingView", inputs: { behavior: "behavior", enabled: "enabled", keyboardVerticalOffset: "keyboardVerticalOffset", contentContainerStyle: "contentContainerStyle", style: "style", testID: "testID", nativeID: "nativeID", accessible: "accessible", accessibilityLabel: "accessibilityLabel", accessibilityHint: "accessibilityHint", accessibilityRole: "accessibilityRole", accessibilityState: "accessibilityState", accessibilityValue: "accessibilityValue", accessibilityActions: "accessibilityActions", accessibilityLabelledBy: "accessibilityLabelledBy", importantForAccessibility: "importantForAccessibility", accessibilityLiveRegion: "accessibilityLiveRegion", screenReaderFocusable: "screenReaderFocusable", accessibilityViewIsModal: "accessibilityViewIsModal", accessibilityElementsHidden: "accessibilityElementsHidden", accessibilityIgnoresInvertColors: "accessibilityIgnoresInvertColors", accessibilityLanguage: "accessibilityLanguage", accessibilityRespondsToUserInteraction: "accessibilityRespondsToUserInteraction", accessibilityShowsLargeContentViewer: "accessibilityShowsLargeContentViewer", accessibilityLargeContentTitle: "accessibilityLargeContentTitle", role: "role", ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledBy: ["aria-labelledby", "ariaLabelledBy"], ariaLive: ["aria-live", "ariaLive"], ariaHidden: ["aria-hidden", "ariaHidden"], ariaBusy: ["aria-busy", "ariaBusy"], ariaChecked: ["aria-checked", "ariaChecked"], ariaDisabled: ["aria-disabled", "ariaDisabled"], ariaExpanded: ["aria-expanded", "ariaExpanded"], ariaSelected: ["aria-selected", "ariaSelected"], ariaModal: ["aria-modal", "ariaModal"], ariaValueMax: ["aria-valuemax", "ariaValueMax"], ariaValueMin: ["aria-valuemin", "ariaValueMin"], ariaValueNow: ["aria-valuenow", "ariaValueNow"], ariaValueText: ["aria-valuetext", "ariaValueText"] }, outputs: { layout: "layout", accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape" }, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
234
|
-
<
|
|
235
|
-
[symbioteHostProps]="hostProps"
|
|
236
|
-
(accessibilityAction)="emit(accessibilityAction, $event)"
|
|
237
|
-
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
238
|
-
(magicTap)="emit(magicTap, $event)"
|
|
239
|
-
(accessibilityEscape)="emit(accessibilityEscape, $event)"
|
|
240
|
-
(layout)="handleLayout($event)"
|
|
241
|
-
>
|
|
243
|
+
<view [symbioteHostProps]="hostProps" (layout)="handleLayout($event)">
|
|
242
244
|
@if (isNested) {
|
|
243
|
-
<
|
|
245
|
+
<view [style]="innerStyle">
|
|
244
246
|
<ng-content></ng-content>
|
|
245
|
-
</
|
|
247
|
+
</view>
|
|
246
248
|
} @else {
|
|
247
249
|
<ng-content></ng-content>
|
|
248
250
|
}
|
|
249
|
-
</
|
|
250
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ViewHost, selector: "
|
|
251
|
+
</view>
|
|
252
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ViewHost, selector: "view" }, { kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
251
253
|
}
|
|
252
254
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: KeyboardAvoidingView, decorators: [{
|
|
253
255
|
type: Component,
|
|
@@ -263,23 +265,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
263
265
|
// The wrapper carries a11y + onLayout; 'position' ('nested') pushes the children in an inner
|
|
264
266
|
// View by `bottom: inset`, the wrapper modes adjust the single wrapper directly. Only one @if
|
|
265
267
|
// branch is instantiated, so each branch's <ng-content> projects the children unambiguously.
|
|
268
|
+
// `layout` stays a plain, unconditional template binding: unlike the four accessibility events
|
|
269
|
+
// below, this component READS its own onLayout internally (handleLayout measures the frame that
|
|
270
|
+
// feeds the next keyboard event's inset math — see keyboard-avoiding-view-rn-contract.md), so the
|
|
271
|
+
// gate must stay lit regardless of whether the app subscribes to the `layout` @Output(). Gating it
|
|
272
|
+
// on `.observed` would silently break the inset fixpoint correction the moment an app didn't
|
|
273
|
+
// listen to `layout`.
|
|
266
274
|
template: `
|
|
267
|
-
<
|
|
268
|
-
[symbioteHostProps]="hostProps"
|
|
269
|
-
(accessibilityAction)="emit(accessibilityAction, $event)"
|
|
270
|
-
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
271
|
-
(magicTap)="emit(magicTap, $event)"
|
|
272
|
-
(accessibilityEscape)="emit(accessibilityEscape, $event)"
|
|
273
|
-
(layout)="handleLayout($event)"
|
|
274
|
-
>
|
|
275
|
+
<view [symbioteHostProps]="hostProps" (layout)="handleLayout($event)">
|
|
275
276
|
@if (isNested) {
|
|
276
|
-
<
|
|
277
|
+
<view [style]="innerStyle">
|
|
277
278
|
<ng-content></ng-content>
|
|
278
|
-
</
|
|
279
|
+
</view>
|
|
279
280
|
} @else {
|
|
280
281
|
<ng-content></ng-content>
|
|
281
282
|
}
|
|
282
|
-
</
|
|
283
|
+
</view>
|
|
283
284
|
`,
|
|
284
285
|
}]
|
|
285
286
|
}], propDecorators: { behavior: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/keyboard-avoiding-view/index.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,6FAA6F;AAC7F,0GAA0G;AAC1G,mGAAmG;AACnG,qGAAqG;AACrG,oGAAoG;AACpG,4FAA4F;AAC5F,kGAAkG;AAClG
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/keyboard-avoiding-view/index.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,6FAA6F;AAC7F,0GAA0G;AAC1G,mGAAmG;AACnG,qGAAqG;AACrG,oGAAoG;AACpG,4FAA4F;AAC5F,kGAAkG;AAClG,sEAAsE;AACtE,EAAE;AACF,wFAAwF;AACxF,uFAAuF;AAEvF,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,YAAY,EACZ,MAAM,EACN,KAAK,EACL,MAAM,GAGP,MAAM,eAAe,CA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EAAE,0BAA0B,CAAC;oBAC/C,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,6FAA6F;oBAC7F,8FAA8F;oBAC9F,6FAA6F;oBAC7F,+FAA+F;oBAC/F,gGAAgG;oBAChG,kGAAkG;oBAClG,mGAAmG;oBACnG,6FAA6F;oBAC7F,sBAAsB;oBACtB,QAAQ,EAAE;;;;;;;;;;GAUT;iBACF;;sBAIE,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBAKL,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBAEL,KAAK;;sBAEL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;uBAAC,YAAY;;sBAClB,KAAK;uBAAC,iBAAiB;;sBACvB,KAAK;uBAAC,WAAW;;sBACjB,KAAK;uBAAC,aAAa;;sBACnB,KAAK;uBAAC,WAAW;;sBACjB,KAAK;uBAAC,cAAc;;sBACpB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,YAAY;;sBAClB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,gBAAgB"}
|
|
@@ -87,8 +87,10 @@ export declare class Modal implements IAngularModalInputs, OnInit, OnChanges, Do
|
|
|
87
87
|
private get descriptor();
|
|
88
88
|
ngDoCheck(): void;
|
|
89
89
|
readonly hostProps: import("@angular/core").Signal<Record<string, unknown>>;
|
|
90
|
+
readonly containerProps: Readonly<Record<string, unknown>>;
|
|
90
91
|
get containerStyle(): unknown;
|
|
91
92
|
emit(emitter: EventEmitter<ISymbioteEvent>, event: unknown): void;
|
|
93
|
+
private eventEmitterHandler;
|
|
92
94
|
private accessibilityInputs;
|
|
93
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<Modal, never>;
|
|
94
96
|
static ɵcmp: i0.ɵɵComponentDeclaration<Modal, "Modal", never, { "visible": { "alias": "visible"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; "backdropColor": { "alias": "backdropColor"; "required": false; }; "animationType": { "alias": "animationType"; "required": false; }; "presentationStyle": { "alias": "presentationStyle"; "required": false; }; "supportedOrientations": { "alias": "supportedOrientations"; "required": false; }; "hardwareAccelerated": { "alias": "hardwareAccelerated"; "required": false; }; "statusBarTranslucent": { "alias": "statusBarTranslucent"; "required": false; }; "navigationBarTranslucent": { "alias": "navigationBarTranslucent"; "required": false; }; "allowSwipeDismissal": { "alias": "allowSwipeDismissal"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testID": { "alias": "testID"; "required": false; }; "accessible": { "alias": "accessible"; "required": false; }; "accessibilityLabel": { "alias": "accessibilityLabel"; "required": false; }; "accessibilityHint": { "alias": "accessibilityHint"; "required": false; }; "accessibilityRole": { "alias": "accessibilityRole"; "required": false; }; "accessibilityState": { "alias": "accessibilityState"; "required": false; }; "accessibilityValue": { "alias": "accessibilityValue"; "required": false; }; "accessibilityActions": { "alias": "accessibilityActions"; "required": false; }; "accessibilityLabelledBy": { "alias": "accessibilityLabelledBy"; "required": false; }; "importantForAccessibility": { "alias": "importantForAccessibility"; "required": false; }; "accessibilityLiveRegion": { "alias": "accessibilityLiveRegion"; "required": false; }; "screenReaderFocusable": { "alias": "screenReaderFocusable"; "required": false; }; "accessibilityViewIsModal": { "alias": "accessibilityViewIsModal"; "required": false; }; "accessibilityElementsHidden": { "alias": "accessibilityElementsHidden"; "required": false; }; "accessibilityIgnoresInvertColors": { "alias": "accessibilityIgnoresInvertColors"; "required": false; }; "accessibilityLanguage": { "alias": "accessibilityLanguage"; "required": false; }; "accessibilityRespondsToUserInteraction": { "alias": "accessibilityRespondsToUserInteraction"; "required": false; }; "accessibilityShowsLargeContentViewer": { "alias": "accessibilityShowsLargeContentViewer"; "required": false; }; "accessibilityLargeContentTitle": { "alias": "accessibilityLargeContentTitle"; "required": false; }; "role": { "alias": "role"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; }; "ariaLive": { "alias": "aria-live"; "required": false; }; "ariaHidden": { "alias": "aria-hidden"; "required": false; }; "ariaBusy": { "alias": "aria-busy"; "required": false; }; "ariaChecked": { "alias": "aria-checked"; "required": false; }; "ariaDisabled": { "alias": "aria-disabled"; "required": false; }; "ariaExpanded": { "alias": "aria-expanded"; "required": false; }; "ariaSelected": { "alias": "aria-selected"; "required": false; }; "ariaModal": { "alias": "aria-modal"; "required": false; }; "ariaValueMax": { "alias": "aria-valuemax"; "required": false; }; "ariaValueMin": { "alias": "aria-valuemin"; "required": false; }; "ariaValueNow": { "alias": "aria-valuenow"; "required": false; }; "ariaValueText": { "alias": "aria-valuetext"; "required": false; }; }, { "show": "show"; "dismiss": "dismiss"; "requestClose": "requestClose"; "orientationChange": "orientationChange"; "accessibilityAction": "accessibilityAction"; "accessibilityTap": "accessibilityTap"; "magicTap": "magicTap"; "accessibilityEscape": "accessibilityEscape"; }, never, ["*"], true, [{ directive: typeof i1.SymbioteStyleInputDirective; inputs: { "style": "style"; }; outputs: {}; }]>;
|
|
@@ -72,8 +72,8 @@ export class Modal {
|
|
|
72
72
|
state = createInitialModalState(false);
|
|
73
73
|
changeDetector = inject(ChangeDetectorRef);
|
|
74
74
|
// This component's OWN host — the non-painting anchor `class="..."` at the use site resolves
|
|
75
|
-
// onto (see anchorHostStyle's doc comment) — NOT the inner `
|
|
76
|
-
// that hosts the user children; the outer `
|
|
75
|
+
// onto (see anchorHostStyle's doc comment) — NOT the inner `view [style]="containerStyle"`
|
|
76
|
+
// that hosts the user children; the outer `modal` node (bound via `hostProps` below) is
|
|
77
77
|
// the real primitive the anchor sits in front of.
|
|
78
78
|
elementRef = inject(ElementRef);
|
|
79
79
|
ngOnInit() {
|
|
@@ -141,7 +141,7 @@ export class Modal {
|
|
|
141
141
|
this.lastAnchorStyle = anchorStyle;
|
|
142
142
|
this.hostPropsRevision.update(revision => revision + 1);
|
|
143
143
|
}
|
|
144
|
-
// renderModal's own MODAL_HOST_STYLE (position:'absolute') is the outer
|
|
144
|
+
// renderModal's own MODAL_HOST_STYLE (position:'absolute') is the outer modal node's
|
|
145
145
|
// style; the anchor's class-derived style goes FIRST, that resolved style SECOND —
|
|
146
146
|
// flattenStyle's later-wins collapse keeps the modal's own style winning over its ambient class.
|
|
147
147
|
//
|
|
@@ -155,17 +155,38 @@ export class Modal {
|
|
|
155
155
|
return {
|
|
156
156
|
...descriptorProps,
|
|
157
157
|
style: [anchorHostStyle(this.elementRef), descriptorProps.style],
|
|
158
|
+
onAccessibilityAction: this.eventEmitterHandler(this.accessibilityAction),
|
|
159
|
+
onAccessibilityTap: this.eventEmitterHandler(this.accessibilityTap),
|
|
160
|
+
onMagicTap: this.eventEmitterHandler(this.magicTap),
|
|
161
|
+
onAccessibilityEscape: this.eventEmitterHandler(this.accessibilityEscape),
|
|
158
162
|
};
|
|
159
163
|
}, /* @ts-ignore */
|
|
160
164
|
...(ngDevMode ? [{ debugName: "hostProps" }] : /* istanbul ignore next */ []));
|
|
165
|
+
// Through the props bag rather than `[collapsable]="false"`: `view` matches `ViewHost`, a real
|
|
166
|
+
// component, so a binding it does not declare is NG8002 under `ngc` — and `CUSTOM_ELEMENTS_SCHEMA`
|
|
167
|
+
// does not rescue a binding on a MATCHED component. Invisible to `tsc` and to vitest; only a real
|
|
168
|
+
// AOT build says so. Frozen and shared, so the directive's own diff sees one unchanged object.
|
|
169
|
+
containerProps = Object.freeze({
|
|
170
|
+
collapsable: false,
|
|
171
|
+
});
|
|
161
172
|
get containerStyle() {
|
|
162
173
|
const container = this.descriptor.children[0];
|
|
163
174
|
return typeof container === 'string' ? undefined : container.props.style;
|
|
164
175
|
}
|
|
176
|
+
// NOT private: `(orientationChange)="emit(...)"` in the template above calls it, and a template
|
|
177
|
+
// can only reach public members. `tsc` does not typecheck Angular templates, so `private` here
|
|
178
|
+
// compiles clean and fails only under `ngc --compilationMode partial`.
|
|
165
179
|
emit(emitter, event) {
|
|
166
180
|
if (isSymbioteEvent(event))
|
|
167
181
|
emitter.emit(event);
|
|
168
182
|
}
|
|
183
|
+
// The four accessibility events are boolean-GATED Fabric events
|
|
184
|
+
// (`.claude/rules/fabric-boolean-event-gates.md`) — `show`/`dismiss`/`requestClose`/
|
|
185
|
+
// `orientationChange` are NOT (Modal's own MODAL_EVENTS), so those stay unconditional template
|
|
186
|
+
// bindings above. `.observed`-gated, mirroring Pressable's.
|
|
187
|
+
eventEmitterHandler(emitter) {
|
|
188
|
+
return emitter.observed ? event => this.emit(emitter, event) : undefined;
|
|
189
|
+
}
|
|
169
190
|
// Typed as the a11y intersection WITH the string index (the bag renderModal spreads into the
|
|
170
191
|
// host props), so resolveAccessibilityProps's result stays assignable to passthrough.
|
|
171
192
|
accessibilityInputs() {
|
|
@@ -209,23 +230,19 @@ export class Modal {
|
|
|
209
230
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Modal, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
210
231
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: Modal, isStandalone: true, selector: "Modal", inputs: { visible: "visible", transparent: "transparent", backdropColor: "backdropColor", animationType: "animationType", presentationStyle: "presentationStyle", supportedOrientations: "supportedOrientations", hardwareAccelerated: "hardwareAccelerated", statusBarTranslucent: "statusBarTranslucent", navigationBarTranslucent: "navigationBarTranslucent", allowSwipeDismissal: "allowSwipeDismissal", style: "style", testID: "testID", accessible: "accessible", accessibilityLabel: "accessibilityLabel", accessibilityHint: "accessibilityHint", accessibilityRole: "accessibilityRole", accessibilityState: "accessibilityState", accessibilityValue: "accessibilityValue", accessibilityActions: "accessibilityActions", accessibilityLabelledBy: "accessibilityLabelledBy", importantForAccessibility: "importantForAccessibility", accessibilityLiveRegion: "accessibilityLiveRegion", screenReaderFocusable: "screenReaderFocusable", accessibilityViewIsModal: "accessibilityViewIsModal", accessibilityElementsHidden: "accessibilityElementsHidden", accessibilityIgnoresInvertColors: "accessibilityIgnoresInvertColors", accessibilityLanguage: "accessibilityLanguage", accessibilityRespondsToUserInteraction: "accessibilityRespondsToUserInteraction", accessibilityShowsLargeContentViewer: "accessibilityShowsLargeContentViewer", accessibilityLargeContentTitle: "accessibilityLargeContentTitle", role: "role", ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledBy: ["aria-labelledby", "ariaLabelledBy"], ariaLive: ["aria-live", "ariaLive"], ariaHidden: ["aria-hidden", "ariaHidden"], ariaBusy: ["aria-busy", "ariaBusy"], ariaChecked: ["aria-checked", "ariaChecked"], ariaDisabled: ["aria-disabled", "ariaDisabled"], ariaExpanded: ["aria-expanded", "ariaExpanded"], ariaSelected: ["aria-selected", "ariaSelected"], ariaModal: ["aria-modal", "ariaModal"], ariaValueMax: ["aria-valuemax", "ariaValueMax"], ariaValueMin: ["aria-valuemin", "ariaValueMin"], ariaValueNow: ["aria-valuenow", "ariaValueNow"], ariaValueText: ["aria-valuetext", "ariaValueText"] }, outputs: { show: "show", dismiss: "dismiss", requestClose: "requestClose", orientationChange: "orientationChange", accessibilityAction: "accessibilityAction", accessibilityTap: "accessibilityTap", magicTap: "magicTap", accessibilityEscape: "accessibilityEscape" }, usesOnChanges: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: `
|
|
211
232
|
@if (shouldRender) {
|
|
212
|
-
<
|
|
233
|
+
<modal
|
|
213
234
|
[symbioteHostProps]="hostProps()"
|
|
214
235
|
(show)="show.emit()"
|
|
215
236
|
(dismiss)="dismiss.emit()"
|
|
216
237
|
(requestClose)="requestClose.emit()"
|
|
217
238
|
(orientationChange)="emit(orientationChange, $event)"
|
|
218
|
-
(accessibilityAction)="emit(accessibilityAction, $event)"
|
|
219
|
-
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
220
|
-
(magicTap)="emit(magicTap, $event)"
|
|
221
|
-
(accessibilityEscape)="emit(accessibilityEscape, $event)"
|
|
222
239
|
>
|
|
223
|
-
<
|
|
240
|
+
<view [style]="containerStyle" [symbioteHostProps]="containerProps">
|
|
224
241
|
<ng-content></ng-content>
|
|
225
|
-
</
|
|
226
|
-
</
|
|
242
|
+
</view>
|
|
243
|
+
</modal>
|
|
227
244
|
}
|
|
228
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ModalHost, selector: "
|
|
245
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ModalHost, selector: "modal" }, { kind: "component", type: ViewHost, selector: "view" }, { kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
229
246
|
}
|
|
230
247
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Modal, decorators: [{
|
|
231
248
|
type: Component,
|
|
@@ -240,21 +257,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
240
257
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
241
258
|
template: `
|
|
242
259
|
@if (shouldRender) {
|
|
243
|
-
<
|
|
260
|
+
<modal
|
|
244
261
|
[symbioteHostProps]="hostProps()"
|
|
245
262
|
(show)="show.emit()"
|
|
246
263
|
(dismiss)="dismiss.emit()"
|
|
247
264
|
(requestClose)="requestClose.emit()"
|
|
248
265
|
(orientationChange)="emit(orientationChange, $event)"
|
|
249
|
-
(accessibilityAction)="emit(accessibilityAction, $event)"
|
|
250
|
-
(accessibilityTap)="emit(accessibilityTap, $event)"
|
|
251
|
-
(magicTap)="emit(magicTap, $event)"
|
|
252
|
-
(accessibilityEscape)="emit(accessibilityEscape, $event)"
|
|
253
266
|
>
|
|
254
|
-
<
|
|
267
|
+
<view [style]="containerStyle" [symbioteHostProps]="containerProps">
|
|
255
268
|
<ng-content></ng-content>
|
|
256
|
-
</
|
|
257
|
-
</
|
|
269
|
+
</view>
|
|
270
|
+
</modal>
|
|
258
271
|
}
|
|
259
272
|
`,
|
|
260
273
|
}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/modal/index.ts"],"names":[],"mappings":"AAAA,iGAAiG;AACjG,gGAAgG;AAChG,kGAAkG;AAClG,2GAA2G;AAC3G,8FAA8F;AAC9F,oGAAoG;AACpG,gGAAgG;AAChG,kGAAkG;AAClG,oEAAoE;AAEpE,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,MAAM,EACN,KAAK,EACL,MAAM,EACN,MAAM,GAKP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACX,yBAAyB,EACzB,iBAAiB,GAQlB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,IAAI,EACJ,eAAe,GAIhB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,eAAe,EACf,SAAS,EACT,0BAA0B,EAC1B,2BAA2B,EAC3B,QAAQ,GACT,MAAM,kBAAkB,CAAC;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/modal/index.ts"],"names":[],"mappings":"AAAA,iGAAiG;AACjG,gGAAgG;AAChG,kGAAkG;AAClG,2GAA2G;AAC3G,8FAA8F;AAC9F,oGAAoG;AACpG,gGAAg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ACjC,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,0BAA0B,CAAC;oBAC1D,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE;;;;;;;;;;;;;;GAcT;iBACF;;sBAEE,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,MAAM;;sBACN,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBAEL,KAAK;;sBAEL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;;sBACL,KAAK;uBAAC,YAAY;;sBAClB,KAAK;uBAAC,iBAAiB;;sBACvB,KAAK;uBAAC,WAAW;;sBACjB,KAAK;uBAAC,aAAa;;sBACnB,KAAK;uBAAC,WAAW;;sBACjB,KAAK;uBAAC,cAAc;;sBACpB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,YAAY;;sBAClB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,eAAe;;sBACrB,KAAK;uBAAC,gBAAgB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { IAccessibilityProps, IAriaProps, IPressableAndroidRippleConfig, IPressHandler, IPressState, IRectOffset } from '@symbiote-native/components';
|
|
2
|
+
import type { IStyleProp, IViewStyle } from '@symbiote-native/engine';
|
|
3
|
+
export type { IPressState, IPressableAndroidRippleConfig, } from '@symbiote-native/components';
|
|
4
|
+
export interface IAngularPressableProps extends IAccessibilityProps, IAriaProps {
|
|
5
|
+
onPress?: IPressHandler;
|
|
6
|
+
onPressIn?: IPressHandler;
|
|
7
|
+
onPressOut?: IPressHandler;
|
|
8
|
+
onPressMove?: IPressHandler;
|
|
9
|
+
onLongPress?: IPressHandler;
|
|
10
|
+
delayLongPress?: number;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
cancelable?: boolean;
|
|
13
|
+
hitSlop?: IRectOffset;
|
|
14
|
+
pressRetentionOffset?: IRectOffset;
|
|
15
|
+
unstable_pressDelay?: number;
|
|
16
|
+
android_ripple?: IPressableAndroidRippleConfig;
|
|
17
|
+
android_disableSound?: boolean;
|
|
18
|
+
onHoverIn?: IPressHandler;
|
|
19
|
+
onHoverOut?: IPressHandler;
|
|
20
|
+
delayHoverIn?: number;
|
|
21
|
+
delayHoverOut?: number;
|
|
22
|
+
testID?: string;
|
|
23
|
+
nativeID?: string;
|
|
24
|
+
hasTVPreferredFocus?: boolean;
|
|
25
|
+
nextFocusDown?: number;
|
|
26
|
+
nextFocusForward?: number;
|
|
27
|
+
nextFocusLeft?: number;
|
|
28
|
+
nextFocusRight?: number;
|
|
29
|
+
nextFocusUp?: number;
|
|
30
|
+
style?: IStyleProp<IViewStyle> | ((state: IPressState) => IStyleProp<IViewStyle>);
|
|
31
|
+
}
|
|
32
|
+
export type IAngularPressableInputs = Omit<IAngularPressableProps, 'onPress' | 'onPressIn' | 'onPressOut' | 'onPressMove' | 'onLongPress' | 'onHoverIn' | 'onHoverOut' | 'onAccessibilityAction' | 'onAccessibilityTap' | 'onMagicTap' | 'onAccessibilityEscape'>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// The `<pressable>` tag's prop surface. The tag is matched by `PressableElement`
|
|
2
|
+
// (`../elements`) and carries the press machine as an engine behavior
|
|
3
|
+
// (`registerPressableBehavior`), so the wrapper that used to run it in Angular was deleted
|
|
4
|
+
// 2026-09-10.
|
|
5
|
+
//
|
|
6
|
+
// The type stays for a component forwarding a bag, for the four `Touchable*` prop types that share
|
|
7
|
+
// this base, and because `IAngularPressableProps` is public API. Mirrors React's IPressableProps
|
|
8
|
+
// minus children, which Angular takes via `<ng-content>`, and minus the render-prop `children`
|
|
9
|
+
// React allows.
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=pressable-props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pressable-props.js","sourceRoot":"","sources":["../../../src/components/pressable-props.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,sEAAsE;AACtE,2FAA2F;AAC3F,cAAc;AACd,EAAE;AACF,mGAAmG;AACnG,iGAAiG;AACjG,+FAA+F;AAC/F,gBAAgB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { IAccessibilityProps, IAriaProps } from '@symbiote-native/components';
|
|
2
|
+
import type { IStyleProp, IViewStyle } from '@symbiote-native/engine';
|
|
3
|
+
export interface IAngularRefreshControlProps extends IAccessibilityProps, IAriaProps {
|
|
4
|
+
refreshing: boolean;
|
|
5
|
+
id?: string;
|
|
6
|
+
onRefresh?: () => void | Promise<void>;
|
|
7
|
+
tintColor?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
titleColor?: string;
|
|
10
|
+
progressViewOffset?: number;
|
|
11
|
+
colors?: readonly string[];
|
|
12
|
+
progressBackgroundColor?: string;
|
|
13
|
+
size?: 'default' | 'large';
|
|
14
|
+
enabled?: boolean;
|
|
15
|
+
style?: IStyleProp<IViewStyle>;
|
|
16
|
+
}
|