@expo/ui 55.0.4 → 55.0.6
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/CHANGELOG.md +22 -1
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/ui/AlertDialogView.kt +56 -28
- package/android/src/main/java/expo/modules/ui/BasicAlertDialogView.kt +9 -1
- package/android/src/main/java/expo/modules/ui/CarouselView.kt +93 -67
- package/android/src/main/java/expo/modules/ui/DividerView.kt +21 -2
- package/android/src/main/java/expo/modules/ui/ExpoUIModule.kt +25 -17
- package/android/src/main/java/expo/modules/ui/ModifierRegistry.kt +6 -0
- package/android/src/main/java/expo/modules/ui/PullToRefreshBoxView.kt +20 -3
- package/android/src/main/java/expo/modules/ui/SlotView.kt +8 -0
- package/android/src/main/java/expo/modules/ui/SurfaceView.kt +88 -11
- package/android/src/main/java/expo/modules/ui/TextInputView.kt +15 -3
- package/android/src/main/java/expo/modules/ui/TextView.kt +145 -12
- package/build/jetpack-compose/AlertDialog/index.d.ts +72 -36
- package/build/jetpack-compose/AlertDialog/index.d.ts.map +1 -1
- package/build/jetpack-compose/BasicAlertDialog/index.d.ts +7 -2
- package/build/jetpack-compose/BasicAlertDialog/index.d.ts.map +1 -1
- package/build/jetpack-compose/Card/index.d.ts.map +1 -1
- package/build/jetpack-compose/Carousel/index.d.ts +86 -23
- package/build/jetpack-compose/Carousel/index.d.ts.map +1 -1
- package/build/jetpack-compose/Divider/index.d.ts +20 -5
- package/build/jetpack-compose/Divider/index.d.ts.map +1 -1
- package/build/jetpack-compose/Progress/index.d.ts +6 -7
- package/build/jetpack-compose/Progress/index.d.ts.map +1 -1
- package/build/jetpack-compose/PullToRefreshBox/index.d.ts +34 -9
- package/build/jetpack-compose/PullToRefreshBox/index.d.ts.map +1 -1
- package/build/jetpack-compose/Surface/index.d.ts +52 -2
- package/build/jetpack-compose/Surface/index.d.ts.map +1 -1
- package/build/jetpack-compose/Text/index.d.ts +77 -89
- package/build/jetpack-compose/Text/index.d.ts.map +1 -1
- package/build/jetpack-compose/TextInput/index.d.ts +18 -3
- package/build/jetpack-compose/TextInput/index.d.ts.map +1 -1
- package/build/jetpack-compose/index.d.ts +2 -2
- package/build/jetpack-compose/index.d.ts.map +1 -1
- package/build/jetpack-compose/modifiers/index.d.ts +5 -0
- package/build/jetpack-compose/modifiers/index.d.ts.map +1 -1
- package/build/swift-ui/modifiers/index.d.ts +1 -1
- package/build/types.d.ts +26 -0
- package/build/types.d.ts.map +1 -1
- package/expo-module.config.json +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.4/expo.modules.ui-55.0.4-sources.jar → 55.0.6/expo.modules.ui-55.0.6-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.4/expo.modules.ui-55.0.4.module → 55.0.6/expo.modules.ui-55.0.6.module} +22 -22
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.4/expo.modules.ui-55.0.4.pom → 55.0.6/expo.modules.ui-55.0.6.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.pom.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml +4 -4
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha512 +1 -1
- package/package.json +2 -2
- package/src/jetpack-compose/AlertDialog/index.tsx +94 -41
- package/src/jetpack-compose/BasicAlertDialog/index.tsx +9 -2
- package/src/jetpack-compose/Card/index.tsx +4 -2
- package/src/jetpack-compose/Carousel/index.tsx +118 -30
- package/src/jetpack-compose/Divider/index.tsx +34 -14
- package/src/jetpack-compose/Progress/index.tsx +11 -9
- package/src/jetpack-compose/PullToRefreshBox/index.tsx +35 -18
- package/src/jetpack-compose/Surface/index.tsx +75 -4
- package/src/jetpack-compose/Text/index.tsx +171 -101
- package/src/jetpack-compose/TextInput/index.tsx +38 -8
- package/src/jetpack-compose/index.ts +2 -2
- package/src/jetpack-compose/modifiers/index.ts +10 -0
- package/src/swift-ui/modifiers/index.ts +1 -1
- package/src/types.ts +27 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.4/expo.modules.ui-55.0.4.pom.sha512 +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/TextInput/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/TextInput/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAatD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,aAAa,CAAC;AAEjE,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,UAAU,CAAC;AAErD,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B;;OAEG;IACH,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;;;;;;;;;;;OAeG;IACH,YAAY,CAAC,EACT,SAAS,GACT,eAAe,GACf,SAAS,GACT,WAAW,GACX,eAAe,GACf,KAAK,GACL,aAAa,CAAC;IAClB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;;;;;;;OAWG;IACH,cAAc,CAAC,EAAE,YAAY,GAAG,MAAM,GAAG,WAAW,GAAG,aAAa,GAAG,OAAO,CAAC;IAC/E;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,cAAc,EAAE,cAAc,GAAG,UAAU,CAAC,GAAG;IACrF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,SAAS,CAAC,gBAAgB,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AA+BnD;;GAEG;AACH,iBAAS,kBAAkB,CAAC,KAAK,EAAE,cAAc,+BAEhD;kBAFQ,kBAAkB;uBAPL;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;;AAanD,OAAO,EAAE,kBAAkB,IAAI,SAAS,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './MaterialSymbolsAssetsTransformer.fx';
|
|
2
2
|
export * from './AlertDialog';
|
|
3
|
-
export
|
|
3
|
+
export { BasicAlertDialog, type BasicAlertDialogProps } from './BasicAlertDialog';
|
|
4
4
|
export * from './Card';
|
|
5
5
|
export * from './Checkbox';
|
|
6
6
|
export * from './Chip';
|
|
@@ -31,7 +31,7 @@ export * from './FloatingActionButton';
|
|
|
31
31
|
export * from './PullToRefreshBox';
|
|
32
32
|
export * from './RadioButton';
|
|
33
33
|
export * from './Surface';
|
|
34
|
-
export
|
|
34
|
+
export { type TextProps, Text } from './Text';
|
|
35
35
|
export * from './AnimatedVisibility';
|
|
36
36
|
export * from './Box';
|
|
37
37
|
export * from './Row';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/jetpack-compose/index.ts"],"names":[],"mappings":"AAAA,OAAO,uCAAuC,CAAC;AAE/C,cAAc,eAAe,CAAC;AAC9B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/jetpack-compose/index.ts"],"names":[],"mappings":"AAAA,OAAO,uCAAuC,CAAC;AAE/C,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAClF,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -57,6 +57,11 @@ export declare const wrapContentWidth: (alignment?: "start" | "centerHorizontall
|
|
|
57
57
|
* @param alignment - Optional vertical alignment ('top', 'centerVertically', 'bottom').
|
|
58
58
|
*/
|
|
59
59
|
export declare const wrapContentHeight: (alignment?: "top" | "centerVertically" | "bottom") => import("./createModifier").ModifierConfig;
|
|
60
|
+
/**
|
|
61
|
+
* Adds padding to avoid the software keyboard (IME).
|
|
62
|
+
* When the keyboard is visible, padding is added to keep content above it.
|
|
63
|
+
*/
|
|
64
|
+
export declare const imePadding: () => import("./createModifier").ModifierConfig;
|
|
60
65
|
/**
|
|
61
66
|
* Offsets the view from its natural position.
|
|
62
67
|
* @param x - Horizontal offset in dp.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/modifiers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EACL,QAAQ,EACR,MAAM,EACN,KAAK,EACL,IAAI,EACJ,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,aAAa,G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ChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GACD;IACE,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GACD;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAIlD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM;eACmB,YAAY;YAClB,YAAY;4BAClB,MAAM,GAAG,WAAW,KAAG,YAAY;wBAIvC,MAAM,GAAG,WAAW,KAAG,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCxD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,YAAY,8CAAsC,CAAC"}
|
|
@@ -405,7 +405,7 @@ export declare const colorInvert: (inverted?: boolean) => ModifierConfig;
|
|
|
405
405
|
export declare const grayscale: (amount: number) => ModifierConfig;
|
|
406
406
|
/**
|
|
407
407
|
* Sets the button style for button views.
|
|
408
|
-
* @param style - The button style.
|
|
408
|
+
* @param style - The button style. `'glass'` and `'glassProminent'` are available on iOS 26+ and tvOS 26+ only.
|
|
409
409
|
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/buttonstyle(_:)).
|
|
410
410
|
*/
|
|
411
411
|
export declare const buttonStyle: (style: "automatic" | "bordered" | "borderedProminent" | "borderless" | "glass" | "glassProminent" | "plain") => ModifierConfig;
|
package/build/types.d.ts
CHANGED
|
@@ -18,4 +18,30 @@ export interface ModifierConfig {
|
|
|
18
18
|
* with JSON Config pattern for better DX and platform consistency.
|
|
19
19
|
*/
|
|
20
20
|
export type ExpoModifier = ModifierConfig;
|
|
21
|
+
/**
|
|
22
|
+
* Properties for the dialog window, matching `DialogProperties` in Compose.
|
|
23
|
+
*/
|
|
24
|
+
export type DialogProperties = {
|
|
25
|
+
/**
|
|
26
|
+
* Whether the dialog can be dismissed by pressing the back button.
|
|
27
|
+
* @default true
|
|
28
|
+
*/
|
|
29
|
+
dismissOnBackPress?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the dialog can be dismissed by clicking outside of it.
|
|
32
|
+
* @default true
|
|
33
|
+
*/
|
|
34
|
+
dismissOnClickOutside?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the dialog should use the platform default width.
|
|
37
|
+
* @default true
|
|
38
|
+
*/
|
|
39
|
+
usePlatformDefaultWidth?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the dialog's decor fits system windows (status bar, navigation bar, and more).
|
|
42
|
+
* When `true`, the dialog's content will be inset to avoid overlapping with system UI.
|
|
43
|
+
* @default true
|
|
44
|
+
*/
|
|
45
|
+
decorFitsSystemWindows?: boolean;
|
|
46
|
+
};
|
|
21
47
|
//# sourceMappingURL=types.d.ts.map
|
package/build/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,SAAS,CAAC,IAAI,SAAS,MAAM,EAAE,IAAI,IAAI,MAAM,CACvD,IAAI,EACJ,IAAI,SAAS,MAAM,GACf,CAAC,CAAC,KAAK,EAAE;IAAE,WAAW,EAAE,IAAI,CAAA;CAAE,KAAK,IAAI,CAAC,GAAG,SAAS,GACpD,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAC7B,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,SAAS,CAAC,IAAI,SAAS,MAAM,EAAE,IAAI,IAAI,MAAM,CACvD,IAAI,EACJ,IAAI,SAAS,MAAM,GACf,CAAC,CAAC,KAAK,EAAE;IAAE,WAAW,EAAE,IAAI,CAAA;CAAE,KAAK,IAAI,CAAC,GAAG,SAAS,GACpD,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAC7B,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC"}
|
package/expo-module.config.json
CHANGED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
842a9e705fc6c5a9a94a83b899d73290
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e02546fcc9f2eb8b2cf114f4bc9964e61559d1b7
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9e41e20514ba78549290fca198dfafeef52cb9b6cd44e7f130bc70bc694e3ce2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
21475940274700602a5834f5ea05d291a402867dd0b559f3dbe542334261cdaa71a8ffb6982002484366b1c867af8c6345f4a7af5b65c7a3aca769afa4ed7ae3
|
|
Binary file
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.aar.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
41d27965d811f8e7ff139da1498c10ef
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.aar.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
85294227116be6b3124c109761203215e022864c
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.aar.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d95e7cbfa5303b18e5b25d7141c71aea1b0090a99992829a01017ef745d722b3
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.aar.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d6d041076afb0d30cd3ca99834dd1a48c82f8053cdfae8aba3064b5a0829c0c184cf36f83dbbc9927a2d6f6106fe3d4dca422a3b72ba3ae5795e161025caaabd
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "expo.modules.ui",
|
|
5
5
|
"module": "expo.modules.ui",
|
|
6
|
-
"version": "55.0.
|
|
6
|
+
"version": "55.0.6",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.ui-55.0.
|
|
28
|
-
"url": "expo.modules.ui-55.0.
|
|
29
|
-
"size":
|
|
30
|
-
"sha512": "
|
|
31
|
-
"sha256": "
|
|
32
|
-
"sha1": "
|
|
33
|
-
"md5": "
|
|
27
|
+
"name": "expo.modules.ui-55.0.6.aar",
|
|
28
|
+
"url": "expo.modules.ui-55.0.6.aar",
|
|
29
|
+
"size": 984876,
|
|
30
|
+
"sha512": "d6d041076afb0d30cd3ca99834dd1a48c82f8053cdfae8aba3064b5a0829c0c184cf36f83dbbc9927a2d6f6106fe3d4dca422a3b72ba3ae5795e161025caaabd",
|
|
31
|
+
"sha256": "d95e7cbfa5303b18e5b25d7141c71aea1b0090a99992829a01017ef745d722b3",
|
|
32
|
+
"sha1": "85294227116be6b3124c109761203215e022864c",
|
|
33
|
+
"md5": "41d27965d811f8e7ff139da1498c10ef"
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
@@ -120,13 +120,13 @@
|
|
|
120
120
|
],
|
|
121
121
|
"files": [
|
|
122
122
|
{
|
|
123
|
-
"name": "expo.modules.ui-55.0.
|
|
124
|
-
"url": "expo.modules.ui-55.0.
|
|
125
|
-
"size":
|
|
126
|
-
"sha512": "
|
|
127
|
-
"sha256": "
|
|
128
|
-
"sha1": "
|
|
129
|
-
"md5": "
|
|
123
|
+
"name": "expo.modules.ui-55.0.6.aar",
|
|
124
|
+
"url": "expo.modules.ui-55.0.6.aar",
|
|
125
|
+
"size": 984876,
|
|
126
|
+
"sha512": "d6d041076afb0d30cd3ca99834dd1a48c82f8053cdfae8aba3064b5a0829c0c184cf36f83dbbc9927a2d6f6106fe3d4dca422a3b72ba3ae5795e161025caaabd",
|
|
127
|
+
"sha256": "d95e7cbfa5303b18e5b25d7141c71aea1b0090a99992829a01017ef745d722b3",
|
|
128
|
+
"sha1": "85294227116be6b3124c109761203215e022864c",
|
|
129
|
+
"md5": "41d27965d811f8e7ff139da1498c10ef"
|
|
130
130
|
}
|
|
131
131
|
]
|
|
132
132
|
},
|
|
@@ -140,13 +140,13 @@
|
|
|
140
140
|
},
|
|
141
141
|
"files": [
|
|
142
142
|
{
|
|
143
|
-
"name": "expo.modules.ui-55.0.
|
|
144
|
-
"url": "expo.modules.ui-55.0.
|
|
145
|
-
"size":
|
|
146
|
-
"sha512": "
|
|
147
|
-
"sha256": "
|
|
148
|
-
"sha1": "
|
|
149
|
-
"md5": "
|
|
143
|
+
"name": "expo.modules.ui-55.0.6-sources.jar",
|
|
144
|
+
"url": "expo.modules.ui-55.0.6-sources.jar",
|
|
145
|
+
"size": 63032,
|
|
146
|
+
"sha512": "21475940274700602a5834f5ea05d291a402867dd0b559f3dbe542334261cdaa71a8ffb6982002484366b1c867af8c6345f4a7af5b65c7a3aca769afa4ed7ae3",
|
|
147
|
+
"sha256": "9e41e20514ba78549290fca198dfafeef52cb9b6cd44e7f130bc70bc694e3ce2",
|
|
148
|
+
"sha1": "e02546fcc9f2eb8b2cf114f4bc9964e61559d1b7",
|
|
149
|
+
"md5": "842a9e705fc6c5a9a94a83b899d73290"
|
|
150
150
|
}
|
|
151
151
|
]
|
|
152
152
|
}
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.module.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dbdd146b20540799f2f61e77d4417f21
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.module.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6b50bfac04bbcc2e431229c68eca87caeb55fabd
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.module.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
218195de806d744d6513cc7de623c71174843f2fb8007a3a3d09e8dfbe9fbc07
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.module.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
484f40eb1d4adbc37ad73479c6c1f2addeb7a60e8e224d6148fd8ab7734b16ecb5efbb1aba101d8639536787aa88c093f274ea62be9af9615e0a4fa2966ad476
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>expo.modules.ui</groupId>
|
|
11
11
|
<artifactId>expo.modules.ui</artifactId>
|
|
12
|
-
<version>55.0.
|
|
12
|
+
<version>55.0.6</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.ui</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.pom.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c26bfb2dcd39a570d4dfa43f86f10861
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.pom.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0af2124ba59381efc5898f91970ba1e51b8c2d85
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.pom.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9a77808fa35aaa1abe70b255ec6e779213ba34a66f0d2ebf7a3117b3a0990ea0
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.6/expo.modules.ui-55.0.6.pom.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
611c217c9d7ac4e2f197c1eb7bbb87148b43415b516ce31ef272ea251169e59960dede17c68eb93f860aa4a6ca40d7f1826a0277fa8a361e4da18c170adc6083
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>expo.modules.ui</groupId>
|
|
4
4
|
<artifactId>expo.modules.ui</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>55.0.
|
|
7
|
-
<release>55.0.
|
|
6
|
+
<latest>55.0.6</latest>
|
|
7
|
+
<release>55.0.6</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>55.0.
|
|
9
|
+
<version>55.0.6</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260327185008</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
f9ac3cfd22062fc751572fb4e6aba359
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
06469ef6b5fa9a1cb2b9d7f690ac457c48b88117
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a1b4056b41622aa831897b5361d65ab5d7d9d63f1c3e20574be69ce3f242ccd9
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
68998038ed18cb392a5e9325360d6043c3303a6fd78ed173811daf04ba8b166f11a3aa3564f0b27b0aa9b485b11a9acb9e3c266dbcabb95d760098791dc7b70f
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/ui",
|
|
3
|
-
"version": "55.0.
|
|
3
|
+
"version": "55.0.6",
|
|
4
4
|
"description": "A collection of UI components",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.fx.js"
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"react": "*",
|
|
68
68
|
"react-native": "*"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "f63217deac00dcd278f75d9846933c11e5c6f9a3"
|
|
71
71
|
}
|
|
@@ -1,85 +1,138 @@
|
|
|
1
1
|
import { requireNativeView } from 'expo';
|
|
2
2
|
import { type ColorValue } from 'react-native';
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { type ViewEvent, type ModifierConfig, type DialogProperties } from '../../types';
|
|
5
5
|
import { createViewModifierEventListener } from '../modifiers/utils';
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Colors for the alert dialog, matching `AlertDialogDefaults` in Compose.
|
|
9
|
+
*/
|
|
10
|
+
export type AlertDialogColors = {
|
|
8
11
|
/**
|
|
9
|
-
* The background color of the
|
|
12
|
+
* The background color of the dialog.
|
|
10
13
|
*/
|
|
11
14
|
containerColor?: ColorValue;
|
|
12
15
|
/**
|
|
13
|
-
* The
|
|
14
|
-
*/
|
|
15
|
-
contentColor?: ColorValue;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export type AlertDialogProps = {
|
|
19
|
-
/**
|
|
20
|
-
* The title of the alert dialog.
|
|
16
|
+
* The color of the icon.
|
|
21
17
|
*/
|
|
22
|
-
|
|
18
|
+
iconContentColor?: ColorValue;
|
|
23
19
|
/**
|
|
24
|
-
* The
|
|
20
|
+
* The color of the title text.
|
|
25
21
|
*/
|
|
26
|
-
|
|
22
|
+
titleContentColor?: ColorValue;
|
|
27
23
|
/**
|
|
28
|
-
* The
|
|
24
|
+
* The color of the body text.
|
|
29
25
|
*/
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
dismissButtonText?: string;
|
|
26
|
+
textContentColor?: ColorValue;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export type AlertDialogProps = {
|
|
35
30
|
/**
|
|
36
|
-
*
|
|
31
|
+
* Colors for the alert dialog.
|
|
37
32
|
*/
|
|
38
|
-
|
|
33
|
+
colors?: AlertDialogColors;
|
|
39
34
|
/**
|
|
40
|
-
* The
|
|
35
|
+
* The tonal elevation of the dialog in dp, which affects its background color
|
|
36
|
+
* based on the color scheme.
|
|
41
37
|
*/
|
|
42
|
-
|
|
38
|
+
tonalElevation?: number;
|
|
43
39
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* @default false
|
|
40
|
+
* Properties for the dialog window.
|
|
47
41
|
*/
|
|
48
|
-
|
|
42
|
+
properties?: DialogProperties;
|
|
49
43
|
/**
|
|
50
|
-
* Callback that is called when the user tries to
|
|
44
|
+
* Callback that is called when the user tries to dismiss the dialog
|
|
45
|
+
* (for example, by tapping outside of it or pressing the back button).
|
|
51
46
|
*/
|
|
52
|
-
|
|
47
|
+
onDismissRequest?: () => void;
|
|
53
48
|
/**
|
|
54
|
-
*
|
|
49
|
+
* Modifiers for the component.
|
|
55
50
|
*/
|
|
56
|
-
|
|
57
|
-
|
|
51
|
+
modifiers?: ModifierConfig[];
|
|
58
52
|
/**
|
|
59
|
-
*
|
|
53
|
+
* Children containing slot sub-components (`AlertDialog.Title`, `AlertDialog.Text`,
|
|
54
|
+
* `AlertDialog.ConfirmButton`, `AlertDialog.DismissButton`, `AlertDialog.Icon`).
|
|
60
55
|
*/
|
|
61
|
-
|
|
56
|
+
children?: React.ReactNode;
|
|
62
57
|
};
|
|
63
58
|
|
|
64
|
-
|
|
59
|
+
type NativeAlertDialogProps = Omit<AlertDialogProps, 'onDismissRequest'> &
|
|
60
|
+
ViewEvent<'onDismissRequest', { onDismissRequest?: () => void }>;
|
|
65
61
|
|
|
66
62
|
const AlertDialogNativeView: React.ComponentType<NativeAlertDialogProps> = requireNativeView(
|
|
67
63
|
'ExpoUI',
|
|
68
64
|
'AlertDialogView'
|
|
69
65
|
);
|
|
70
66
|
|
|
71
|
-
|
|
72
|
-
|
|
67
|
+
const SlotNativeView: React.ComponentType<{ slotName: string; children: React.ReactNode }> =
|
|
68
|
+
requireNativeView('ExpoUI', 'SlotView');
|
|
69
|
+
|
|
70
|
+
function transformProps(
|
|
71
|
+
props: Omit<AlertDialogProps, 'children'>
|
|
72
|
+
): Omit<NativeAlertDialogProps, 'children'> {
|
|
73
|
+
const { modifiers, onDismissRequest, ...restProps } = props;
|
|
73
74
|
return {
|
|
74
75
|
modifiers,
|
|
75
76
|
...(modifiers ? createViewModifierEventListener(modifiers) : undefined),
|
|
76
77
|
...restProps,
|
|
78
|
+
onDismissRequest: () => {
|
|
79
|
+
onDismissRequest?.();
|
|
80
|
+
},
|
|
77
81
|
};
|
|
78
82
|
}
|
|
79
83
|
|
|
80
84
|
/**
|
|
81
|
-
*
|
|
85
|
+
* The title slot of the `AlertDialog`.
|
|
86
|
+
*/
|
|
87
|
+
function AlertDialogTitle(props: { children: React.ReactNode }) {
|
|
88
|
+
return <SlotNativeView slotName="title">{props.children}</SlotNativeView>;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* The text (body) slot of the `AlertDialog`.
|
|
82
93
|
*/
|
|
83
|
-
|
|
84
|
-
return <
|
|
94
|
+
function AlertDialogText(props: { children: React.ReactNode }) {
|
|
95
|
+
return <SlotNativeView slotName="text">{props.children}</SlotNativeView>;
|
|
85
96
|
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* The confirm button slot of the `AlertDialog`.
|
|
100
|
+
*/
|
|
101
|
+
function AlertDialogConfirmButton(props: { children: React.ReactNode }) {
|
|
102
|
+
return <SlotNativeView slotName="confirmButton">{props.children}</SlotNativeView>;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* The dismiss button slot of the `AlertDialog`.
|
|
107
|
+
*/
|
|
108
|
+
function AlertDialogDismissButton(props: { children: React.ReactNode }) {
|
|
109
|
+
return <SlotNativeView slotName="dismissButton">{props.children}</SlotNativeView>;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* The icon slot of the `AlertDialog`.
|
|
114
|
+
*/
|
|
115
|
+
function AlertDialogIcon(props: { children: React.ReactNode }) {
|
|
116
|
+
return <SlotNativeView slotName="icon">{props.children}</SlotNativeView>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Renders an `AlertDialog` component with slot-based content matching the Compose API.
|
|
121
|
+
* Content is provided via slot sub-components: `AlertDialog.Title`, `AlertDialog.Text`,
|
|
122
|
+
* `AlertDialog.ConfirmButton`, `AlertDialog.DismissButton`, and `AlertDialog.Icon`.
|
|
123
|
+
*/
|
|
124
|
+
function AlertDialogComponent(props: AlertDialogProps) {
|
|
125
|
+
const { children, ...restProps } = props;
|
|
126
|
+
return <AlertDialogNativeView {...transformProps(restProps)}>{children}</AlertDialogNativeView>;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
AlertDialogComponent.Title = AlertDialogTitle;
|
|
130
|
+
AlertDialogComponent.Text = AlertDialogText;
|
|
131
|
+
AlertDialogComponent.ConfirmButton = AlertDialogConfirmButton;
|
|
132
|
+
AlertDialogComponent.DismissButton = AlertDialogDismissButton;
|
|
133
|
+
AlertDialogComponent.Icon = AlertDialogIcon;
|
|
134
|
+
|
|
135
|
+
export { AlertDialogComponent as AlertDialog };
|
|
136
|
+
|
|
137
|
+
// Re-exported so the docs generator includes DialogProperties on the AlertDialog API page.
|
|
138
|
+
export type { DialogProperties };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { requireNativeView } from 'expo';
|
|
2
2
|
|
|
3
|
-
import { type ViewEvent, type
|
|
3
|
+
import { type ViewEvent, type ModifierConfig, type DialogProperties } from '../../types';
|
|
4
4
|
import { createViewModifierEventListener } from '../modifiers/utils';
|
|
5
5
|
|
|
6
6
|
export type BasicAlertDialogProps = {
|
|
@@ -13,10 +13,14 @@ export type BasicAlertDialogProps = {
|
|
|
13
13
|
* (e.g. by tapping outside of it or pressing the back button).
|
|
14
14
|
*/
|
|
15
15
|
onDismissRequest?: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* Properties for the dialog window.
|
|
18
|
+
*/
|
|
19
|
+
properties?: DialogProperties;
|
|
16
20
|
/**
|
|
17
21
|
* Modifiers for the component.
|
|
18
22
|
*/
|
|
19
|
-
modifiers?:
|
|
23
|
+
modifiers?: ModifierConfig[];
|
|
20
24
|
};
|
|
21
25
|
|
|
22
26
|
type NativeBasicAlertDialogProps = Omit<BasicAlertDialogProps, 'onDismissRequest'> &
|
|
@@ -49,3 +53,6 @@ function transformProps(props: BasicAlertDialogProps): NativeBasicAlertDialogPro
|
|
|
49
53
|
export function BasicAlertDialog(props: BasicAlertDialogProps) {
|
|
50
54
|
return <BasicAlertDialogNativeView {...transformProps(props)} />;
|
|
51
55
|
}
|
|
56
|
+
|
|
57
|
+
// Re-exported so the docs generator includes DialogProperties on the BasicAlertDialog API page.
|
|
58
|
+
export type { DialogProperties };
|
|
@@ -40,9 +40,11 @@ function createCardComponent<P extends { modifiers?: ModifierConfig[] }>(
|
|
|
40
40
|
viewName: string
|
|
41
41
|
): React.ComponentType<P> {
|
|
42
42
|
const NativeView: React.ComponentType<P> = requireNativeView('ExpoUI', viewName);
|
|
43
|
-
|
|
43
|
+
function Component(props: P) {
|
|
44
44
|
return <NativeView {...transformProps(props)} />;
|
|
45
|
-
}
|
|
45
|
+
}
|
|
46
|
+
Component.displayName = viewName;
|
|
47
|
+
return Component;
|
|
46
48
|
}
|
|
47
49
|
|
|
48
50
|
// region Card
|