@expo/ui 55.0.0 → 55.0.2

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.
Files changed (168) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/CONTRIBUTING.md +30 -0
  3. package/android/build.gradle +2 -2
  4. package/android/src/main/java/expo/modules/ui/DatePickerView.kt +90 -7
  5. package/android/src/main/java/expo/modules/ui/HorizontalFloatingToolbarView.kt +21 -8
  6. package/android/src/main/java/expo/modules/ui/ModifierRegistry.kt +105 -39
  7. package/android/src/main/java/expo/modules/ui/RNHostView.kt +204 -50
  8. package/android/src/main/java/expo/modules/ui/SwitchView.kt +70 -4
  9. package/android/src/main/java/expo/modules/ui/button/IconButton.kt +7 -1
  10. package/android/src/main/java/expo/modules/ui/convertibles/AnimatableFloat.kt +26 -0
  11. package/android/src/main/java/expo/modules/ui/convertibles/AnimationSpecParams.kt +93 -0
  12. package/android/src/main/java/expo/modules/ui/convertibles/GraphicsLayerParams.kt +24 -0
  13. package/build/jetpack-compose/Box/index.d.ts +14 -0
  14. package/build/jetpack-compose/Box/index.d.ts.map +1 -0
  15. package/build/jetpack-compose/Column/index.d.ts +22 -0
  16. package/build/jetpack-compose/Column/index.d.ts.map +1 -0
  17. package/build/jetpack-compose/DatePicker/index.d.ts +99 -0
  18. package/build/jetpack-compose/DatePicker/index.d.ts.map +1 -1
  19. package/build/jetpack-compose/FlowRow/index.d.ts +14 -0
  20. package/build/jetpack-compose/FlowRow/index.d.ts.map +1 -0
  21. package/build/jetpack-compose/LazyColumn/index.d.ts +0 -3
  22. package/build/jetpack-compose/LazyColumn/index.d.ts.map +1 -1
  23. package/build/jetpack-compose/Row/index.d.ts +22 -0
  24. package/build/jetpack-compose/Row/index.d.ts.map +1 -0
  25. package/build/jetpack-compose/Spacer/index.d.ts +2 -2
  26. package/build/jetpack-compose/Switch/index.d.ts +18 -0
  27. package/build/jetpack-compose/Switch/index.d.ts.map +1 -1
  28. package/build/jetpack-compose/index.d.ts +4 -1
  29. package/build/jetpack-compose/index.d.ts.map +1 -1
  30. package/build/jetpack-compose/layout-types.d.ts +26 -0
  31. package/build/jetpack-compose/layout-types.d.ts.map +1 -0
  32. package/build/jetpack-compose/layout.d.ts +5 -36
  33. package/build/jetpack-compose/layout.d.ts.map +1 -1
  34. package/build/jetpack-compose/modifiers/animation.d.ts +44 -0
  35. package/build/jetpack-compose/modifiers/animation.d.ts.map +1 -0
  36. package/build/jetpack-compose/modifiers/index.d.ts +50 -3
  37. package/build/jetpack-compose/modifiers/index.d.ts.map +1 -1
  38. package/build/swift-ui/AccessoryWidgetBackground/index.d.ts +4 -0
  39. package/build/swift-ui/AccessoryWidgetBackground/index.d.ts.map +1 -0
  40. package/build/swift-ui/ConfirmationDialog/index.d.ts.map +1 -1
  41. package/build/swift-ui/ContextMenu/index.d.ts.map +1 -1
  42. package/build/swift-ui/ControlGroup/index.d.ts +29 -0
  43. package/build/swift-ui/ControlGroup/index.d.ts.map +1 -0
  44. package/build/swift-ui/Gauge/index.d.ts.map +1 -1
  45. package/build/swift-ui/Image/index.d.ts +7 -1
  46. package/build/swift-ui/Image/index.d.ts.map +1 -1
  47. package/build/swift-ui/Label/index.d.ts.map +1 -1
  48. package/build/swift-ui/LabeledContent/index.d.ts.map +1 -1
  49. package/build/swift-ui/Menu/index.d.ts.map +1 -1
  50. package/build/swift-ui/Picker/index.d.ts.map +1 -1
  51. package/build/swift-ui/Popover/index.d.ts.map +1 -1
  52. package/build/swift-ui/Section/index.d.ts.map +1 -1
  53. package/build/swift-ui/Slider/index.d.ts.map +1 -1
  54. package/build/swift-ui/SlotView.d.ts +5 -0
  55. package/build/swift-ui/SlotView.d.ts.map +1 -0
  56. package/build/swift-ui/index.d.ts +2 -0
  57. package/build/swift-ui/index.d.ts.map +1 -1
  58. package/build/swift-ui/modifiers/index.d.ts +38 -1
  59. package/build/swift-ui/modifiers/index.d.ts.map +1 -1
  60. package/expo-module.config.json +1 -1
  61. package/ios/AccessoryWidgetBackgroundView.swift +27 -0
  62. package/ios/ConfirmationDialog/ConfirmationDialog.swift +3 -9
  63. package/ios/ConfirmationDialog/ConfirmationDialogProps.swift +0 -5
  64. package/ios/ContextMenu/ContextMenu.swift +27 -22
  65. package/ios/ContextMenu/ContextMenuRecords.swift +0 -6
  66. package/ios/ControlGroupView.swift +33 -0
  67. package/ios/ExpoUIModule.swift +10 -32
  68. package/ios/GaugeView.swift +4 -26
  69. package/ios/HostView.swift +1 -2
  70. package/ios/ImageView.swift +22 -11
  71. package/ios/Label.swift +2 -17
  72. package/ios/LabeledContentView.swift +3 -27
  73. package/ios/Menu/MenuRecords.swift +0 -2
  74. package/ios/Menu/MenuView.swift +2 -5
  75. package/ios/Modifiers/ResizableModifier.swift +24 -0
  76. package/ios/Modifiers/Rotation3DEffectModifier.swift +20 -0
  77. package/ios/Modifiers/View+ModifierArray.swift +29 -0
  78. package/ios/Modifiers/ViewModifierRegistry.swift +39 -3
  79. package/ios/Modifiers/WidgetModifiers.swift +46 -0
  80. package/ios/Picker/PickerView.swift +2 -6
  81. package/ios/Popover/PopoverProps.swift +0 -4
  82. package/ios/Popover/PopoverView.swift +2 -6
  83. package/ios/RNHostView.swift +91 -10
  84. package/ios/SectionView.swift +6 -12
  85. package/ios/SecureFieldView.swift +0 -1
  86. package/ios/ShareLink/ShareLinkView.swift +1 -1
  87. package/ios/SliderView.swift +10 -27
  88. package/ios/SlotView.swift +38 -0
  89. package/ios/TextFieldView.swift +0 -1
  90. package/ios/UIBaseView.swift +34 -3
  91. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0/expo.modules.ui-55.0.0-sources.jar → 55.0.2/expo.modules.ui-55.0.2-sources.jar} +0 -0
  92. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2-sources.jar.md5 +1 -0
  93. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2-sources.jar.sha1 +1 -0
  94. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2-sources.jar.sha256 +1 -0
  95. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2-sources.jar.sha512 +1 -0
  96. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.aar +0 -0
  97. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.aar.md5 +1 -0
  98. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.aar.sha1 +1 -0
  99. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.aar.sha256 +1 -0
  100. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.aar.sha512 +1 -0
  101. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0/expo.modules.ui-55.0.0.module → 55.0.2/expo.modules.ui-55.0.2.module} +22 -22
  102. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.module.md5 +1 -0
  103. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.module.sha1 +1 -0
  104. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.module.sha256 +1 -0
  105. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.module.sha512 +1 -0
  106. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.0/expo.modules.ui-55.0.0.pom → 55.0.2/expo.modules.ui-55.0.2.pom} +1 -1
  107. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.pom.md5 +1 -0
  108. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.pom.sha1 +1 -0
  109. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.pom.sha256 +1 -0
  110. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.2/expo.modules.ui-55.0.2.pom.sha512 +1 -0
  111. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml +4 -4
  112. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.md5 +1 -1
  113. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha1 +1 -1
  114. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha256 +1 -1
  115. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha512 +1 -1
  116. package/package.json +2 -2
  117. package/src/jetpack-compose/Box/index.tsx +26 -0
  118. package/src/jetpack-compose/Column/index.tsx +39 -0
  119. package/src/jetpack-compose/DatePicker/index.tsx +106 -2
  120. package/src/jetpack-compose/FlowRow/index.tsx +29 -0
  121. package/src/jetpack-compose/LazyColumn/index.tsx +0 -3
  122. package/src/jetpack-compose/Row/index.tsx +36 -0
  123. package/src/jetpack-compose/Spacer/index.tsx +2 -2
  124. package/src/jetpack-compose/Switch/index.tsx +18 -0
  125. package/src/jetpack-compose/index.ts +4 -1
  126. package/src/jetpack-compose/layout-types.ts +48 -0
  127. package/src/jetpack-compose/layout.tsx +5 -106
  128. package/src/jetpack-compose/modifiers/animation.ts +37 -0
  129. package/src/jetpack-compose/modifiers/index.ts +60 -4
  130. package/src/swift-ui/AccessoryWidgetBackground/index.tsx +12 -0
  131. package/src/swift-ui/ConfirmationDialog/index.tsx +4 -12
  132. package/src/swift-ui/ContextMenu/index.tsx +6 -20
  133. package/src/swift-ui/ControlGroup/index.tsx +59 -0
  134. package/src/swift-ui/Gauge/index.tsx +5 -20
  135. package/src/swift-ui/Image/index.tsx +7 -1
  136. package/src/swift-ui/Label/index.tsx +2 -5
  137. package/src/swift-ui/LabeledContent/index.tsx +3 -12
  138. package/src/swift-ui/Menu/index.tsx +2 -6
  139. package/src/swift-ui/Picker/index.tsx +4 -11
  140. package/src/swift-ui/Popover/index.tsx +3 -12
  141. package/src/swift-ui/Section/index.tsx +4 -9
  142. package/src/swift-ui/Slider/index.tsx +4 -12
  143. package/src/swift-ui/SlotView.tsx +8 -0
  144. package/src/swift-ui/index.tsx +2 -0
  145. package/src/swift-ui/modifiers/index.ts +54 -1
  146. package/ios/ConfirmationDialog/ConfirmationDialogComponents.swift +0 -26
  147. package/ios/ContextMenu/ContextMenuComponents.swift +0 -37
  148. package/ios/Menu/MenuComponents.swift +0 -12
  149. package/ios/Picker/PickerComponents.swift +0 -24
  150. package/ios/Popover/PopoverComponents.swift +0 -18
  151. package/ios/SectionComponents.swift +0 -34
  152. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.md5 +0 -1
  153. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.sha1 +0 -1
  154. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.sha256 +0 -1
  155. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0-sources.jar.sha512 +0 -1
  156. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar +0 -0
  157. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.md5 +0 -1
  158. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.sha1 +0 -1
  159. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.sha256 +0 -1
  160. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.aar.sha512 +0 -1
  161. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.md5 +0 -1
  162. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.sha1 +0 -1
  163. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.sha256 +0 -1
  164. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.module.sha512 +0 -1
  165. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.md5 +0 -1
  166. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.sha1 +0 -1
  167. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.sha256 +0 -1
  168. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.0/expo.modules.ui-55.0.0.pom.sha512 +0 -1
@@ -1,6 +1,7 @@
1
1
  import { requireNativeView } from 'expo';
2
2
  import { NativeSyntheticEvent } from 'react-native';
3
3
 
4
+ import { Slot } from '../SlotView';
4
5
  import { createViewModifierEventListener } from '../modifiers/utils';
5
6
  import { type CommonViewModifierProps } from '../types';
6
7
 
@@ -34,22 +35,12 @@ const PopoverNativeView: React.ComponentType<NativePopoverViewProps> = requireNa
34
35
  'PopoverView'
35
36
  );
36
37
 
37
- const PopoverViewContent: React.ComponentType<object> = requireNativeView(
38
- 'ExpoUI',
39
- 'PopoverViewContent'
40
- );
41
-
42
- const PopoverViewPopContent: React.ComponentType<object> = requireNativeView(
43
- 'ExpoUI',
44
- 'PopoverViewPopContent'
45
- );
46
-
47
38
  function PopoverTrigger(props: { children: React.ReactNode }) {
48
- return <PopoverViewContent {...props} />;
39
+ return <Slot name="trigger">{props.children}</Slot>;
49
40
  }
50
41
 
51
42
  function PopoverContent(props: { children: React.ReactNode }) {
52
- return <PopoverViewPopContent {...props} />;
43
+ return <Slot name="popover">{props.children}</Slot>;
53
44
  }
54
45
 
55
46
  Popover.Trigger = PopoverTrigger;
@@ -1,5 +1,6 @@
1
1
  import { requireNativeView } from 'expo';
2
2
 
3
+ import { Slot } from '../SlotView';
3
4
  import { createViewModifierEventListener } from '../modifiers/utils';
4
5
  import { type CommonViewModifierProps } from '../types';
5
6
 
@@ -45,12 +46,6 @@ const SectionNativeView: React.ComponentType<SectionNativeProps> = requireNative
45
46
  'SectionView'
46
47
  );
47
48
 
48
- const SectionHeader: React.ComponentType<object> = requireNativeView('ExpoUI', 'SectionHeader');
49
-
50
- const SectionFooter: React.ComponentType<object> = requireNativeView('ExpoUI', 'SectionFooter');
51
-
52
- const SectionContent: React.ComponentType<object> = requireNativeView('ExpoUI', 'SectionContent');
53
-
54
49
  /**
55
50
  * Section component uses the native [Section](https://developer.apple.com/documentation/swiftui/section) component.
56
51
  */
@@ -65,9 +60,9 @@ export function Section(props: SectionProps) {
65
60
  onIsExpandedChange(e.nativeEvent.isExpanded),
66
61
  })}
67
62
  {...restProps}>
68
- {header && <SectionHeader>{header}</SectionHeader>}
69
- {footer && <SectionFooter>{footer}</SectionFooter>}
70
- <SectionContent>{children}</SectionContent>
63
+ {header && <Slot name="header">{header}</Slot>}
64
+ {footer && <Slot name="footer">{footer}</Slot>}
65
+ <Slot name="content">{children}</Slot>
71
66
  </SectionNativeView>
72
67
  );
73
68
  }
@@ -1,6 +1,7 @@
1
1
  import { requireNativeView } from 'expo';
2
2
  import type { NativeSyntheticEvent } from 'react-native';
3
3
 
4
+ import { Slot } from '../SlotView';
4
5
  import { type CommonViewModifierProps } from '../types';
5
6
 
6
7
  export type SliderProps = {
@@ -56,11 +57,6 @@ const SliderNativeView: React.ComponentType<NativeSliderProps> = requireNativeVi
56
57
  'SliderView'
57
58
  );
58
59
 
59
- const SliderValueLabelNativeView: React.ComponentType<{
60
- kind: 'label' | 'minimum' | 'maximum';
61
- children?: React.ReactNode;
62
- }> = requireNativeView('ExpoUI', 'SliderLabelView');
63
-
64
60
  function transformSliderProps(props: SliderProps): NativeSliderProps {
65
61
  const {
66
62
  label,
@@ -90,13 +86,9 @@ export function Slider(props: SliderProps) {
90
86
 
91
87
  return (
92
88
  <SliderNativeView {...transformSliderProps(props)}>
93
- {label && <SliderValueLabelNativeView kind="label">{label}</SliderValueLabelNativeView>}
94
- {minimumValueLabel && (
95
- <SliderValueLabelNativeView kind="minimum">{minimumValueLabel}</SliderValueLabelNativeView>
96
- )}
97
- {maximumValueLabel && (
98
- <SliderValueLabelNativeView kind="maximum">{maximumValueLabel}</SliderValueLabelNativeView>
99
- )}
89
+ {label && <Slot name="label">{label}</Slot>}
90
+ {minimumValueLabel && <Slot name="minimum">{minimumValueLabel}</Slot>}
91
+ {maximumValueLabel && <Slot name="maximum">{maximumValueLabel}</Slot>}
100
92
  </SliderNativeView>
101
93
  );
102
94
  }
@@ -0,0 +1,8 @@
1
+ import { requireNativeView } from 'expo';
2
+
3
+ const SlotNativeView: React.ComponentType<{ name: string; children?: React.ReactNode }> =
4
+ requireNativeView('ExpoUI', 'SlotView');
5
+
6
+ export function Slot({ name, children }: { name: string; children?: React.ReactNode }) {
7
+ return <SlotNativeView name={name}>{children}</SlotNativeView>;
8
+ }
@@ -1,9 +1,11 @@
1
+ export * from './AccessoryWidgetBackground';
1
2
  export * from './BottomSheet';
2
3
  export * from './Button';
3
4
  export * from './Chart';
4
5
  export * from './ColorPicker';
5
6
  export * from './ContentUnavailableView';
6
7
  export * from './ConfirmationDialog';
8
+ export * from './ControlGroup';
7
9
  export * from './ContextMenu';
8
10
  export * from './DatePicker';
9
11
  export * from './Divider';
@@ -238,6 +238,24 @@ export const scaleEffect = (scale: number | { x: number; y: number }) =>
238
238
  */
239
239
  export const rotationEffect = (angle: number) => createModifier('rotationEffect', { angle });
240
240
 
241
+ /**
242
+ * Applies a 3D rotation transformation.
243
+ * @param params - The rotation parameters: `angle` (in degrees), `axis` (x, y, z), and `perspective`.
244
+ * @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/rotation3deffect(_:axis:anchor:anchorz:perspective:)).
245
+ */
246
+ export const rotation3DEffect = (params: {
247
+ angle: number;
248
+ axis?: { x?: number; y?: number; z?: number };
249
+ perspective?: number;
250
+ }) =>
251
+ createModifier('rotation3DEffect', {
252
+ angle: params.angle,
253
+ axisX: params.axis?.x ?? 0,
254
+ axisY: params.axis?.y ?? 0,
255
+ axisZ: params.axis?.z ?? 0,
256
+ perspective: params.perspective ?? 1,
257
+ });
258
+
241
259
  /**
242
260
  * Applies an offset (translation) to a view.
243
261
  * @param params - The offset parameters: `x` and `y`.
@@ -978,6 +996,37 @@ export type ListStyle = 'automatic' | 'plain' | 'inset' | 'insetGrouped' | 'grou
978
996
  */
979
997
  export const listStyle = (style: ListStyle) => createModifier('listStyle', { style });
980
998
 
999
+ /**
1000
+ * Adds a luminance to alpha effect to this view.
1001
+ * @see Official [SwiftUI documentation](https://developer.apple.com/documentation/SwiftUI/View/luminanceToAlpha()).
1002
+ */
1003
+ export const luminanceToAlpha = () => createModifier('luminanceToAlpha', {});
1004
+
1005
+ /**
1006
+ * Sets the mode by which SwiftUI resizes an image to fit its space.
1007
+ * @param capInsets - Inset values that indicate a portion of the image that SwiftUI doesn’t resize.
1008
+ * @param resizingMode - The mode by which SwiftUI resizes the image.
1009
+ * @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/image/resizable(capinsets:resizingmode:)).
1010
+ */
1011
+ export const resizable = (
1012
+ capInsets?: {
1013
+ top?: number;
1014
+ bottom?: number;
1015
+ leading?: number;
1016
+ trailing?: number;
1017
+ },
1018
+ resizingMode?: 'stretch' | 'tile'
1019
+ ) => createModifier('resizable', { ...capInsets, resizingMode });
1020
+
1021
+ /**
1022
+ * Specifies the how to render an Image when using the WidgetKit/WidgetRenderingMode/accented mode.
1023
+ * @param renderingMode - A constant describing how the Image should be rendered.
1024
+ * @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/image/widgetaccentedrenderingmode(_:)).
1025
+ */
1026
+ export const widgetAccentedRenderingMode = (
1027
+ renderingMode: 'fullColor' | 'accented' | 'desaturated' | 'accentedDesaturated'
1028
+ ) => createModifier('widgetAccentedRenderingMode', { renderingMode });
1029
+
981
1030
  // =============================================================================
982
1031
  // Type Definitions
983
1032
  // =============================================================================
@@ -999,12 +1048,14 @@ export type BuiltInModifier =
999
1048
  | ReturnType<typeof onTapGesture>
1000
1049
  | ReturnType<typeof onLongPressGesture>
1001
1050
  | ReturnType<typeof onAppear>
1051
+ | ReturnType<typeof luminanceToAlpha>
1002
1052
  | ReturnType<typeof onDisappear>
1003
1053
  | ReturnType<typeof opacity>
1004
1054
  | ReturnType<typeof clipShape>
1005
1055
  | ReturnType<typeof border>
1006
1056
  | ReturnType<typeof scaleEffect>
1007
1057
  | ReturnType<typeof rotationEffect>
1058
+ | ReturnType<typeof rotation3DEffect>
1008
1059
  | ReturnType<typeof offset>
1009
1060
  | ReturnType<typeof foregroundColor>
1010
1061
  | ReturnType<typeof foregroundStyle>
@@ -1076,7 +1127,9 @@ export type BuiltInModifier =
1076
1127
  | ReturnType<typeof progressViewStyle>
1077
1128
  | ReturnType<typeof gaugeStyle>
1078
1129
  | ReturnType<typeof listStyle>
1079
- | ReturnType<typeof contentTransition>;
1130
+ | ReturnType<typeof contentTransition>
1131
+ | ReturnType<typeof resizable>
1132
+ | ReturnType<typeof widgetAccentedRenderingMode>;
1080
1133
 
1081
1134
  /**
1082
1135
  * Main ViewModifier type that supports both built-in and 3rd party modifiers.
@@ -1,26 +0,0 @@
1
- import SwiftUI
2
- import ExpoModulesCore
3
-
4
- internal struct ConfirmationDialogTrigger: ExpoSwiftUI.View {
5
- @ObservedObject var props: ConfirmationDialogTriggerProps
6
-
7
- var body: some View {
8
- Children()
9
- }
10
- }
11
-
12
- internal struct ConfirmationDialogActions: ExpoSwiftUI.View {
13
- @ObservedObject var props: ConfirmationDialogActionsProps
14
-
15
- var body: some View {
16
- Children()
17
- }
18
- }
19
-
20
- internal struct ConfirmationDialogMessage: ExpoSwiftUI.View {
21
- @ObservedObject var props: ConfirmationDialogMessageProps
22
-
23
- var body: some View {
24
- Children()
25
- }
26
- }
@@ -1,37 +0,0 @@
1
- import SwiftUI
2
- import ExpoModulesCore
3
-
4
- internal struct LongPressContextMenu<ActivationElement: View, MenuContent: View>: View {
5
- let activationElement: ActivationElement
6
- let menuContent: MenuContent
7
-
8
- var body: some View {
9
- activationElement.contextMenu(menuItems: {
10
- menuContent
11
- })
12
- }
13
- }
14
-
15
- internal struct ContextMenuPreview: ExpoSwiftUI.View {
16
- @ObservedObject var props: ContextMenuPreviewProps
17
-
18
- var body: some View {
19
- Children()
20
- }
21
- }
22
-
23
- internal struct ContextMenuContent: ExpoSwiftUI.View {
24
- @ObservedObject var props: ContextMenuContentProps
25
-
26
- var body: some View {
27
- Children()
28
- }
29
- }
30
-
31
- internal struct ContextMenuActivationElement: ExpoSwiftUI.View {
32
- @ObservedObject var props: ContextMenuActivationElementProps
33
-
34
- var body: some View {
35
- Children()
36
- }
37
- }
@@ -1,12 +0,0 @@
1
- // Copyright 2025-present 650 Industries. All rights reserved.
2
-
3
- import SwiftUI
4
- import ExpoModulesCore
5
-
6
- internal struct MenuLabel: ExpoSwiftUI.View {
7
- @ObservedObject var props: MenuLabelProps
8
-
9
- var body: some View {
10
- Children()
11
- }
12
- }
@@ -1,24 +0,0 @@
1
- // Copyright 2025-present 650 Industries. All rights reserved.
2
-
3
- import SwiftUI
4
- import ExpoModulesCore
5
-
6
- internal final class PickerContentProps: ExpoSwiftUI.ViewProps {}
7
-
8
- internal final class PickerLabelProps: ExpoSwiftUI.ViewProps {}
9
-
10
- internal struct PickerContentView: ExpoSwiftUI.View {
11
- @ObservedObject var props: PickerContentProps
12
-
13
- var body: some View {
14
- Children()
15
- }
16
- }
17
-
18
- internal struct PickerLabelView: ExpoSwiftUI.View {
19
- @ObservedObject var props: PickerLabelProps
20
-
21
- var body: some View {
22
- Children()
23
- }
24
- }
@@ -1,18 +0,0 @@
1
- import ExpoModulesCore
2
- import SwiftUI
3
-
4
- internal struct PopoverViewContent: ExpoSwiftUI.View {
5
- @ObservedObject var props: PopoverViewContentPorps
6
-
7
- var body: some View {
8
- Children()
9
- }
10
- }
11
-
12
- internal struct PopoverViewPopContent: ExpoSwiftUI.View {
13
- @ObservedObject var props: PopoverViewPopContentPorps
14
-
15
- var body: some View {
16
- Children()
17
- }
18
- }
@@ -1,34 +0,0 @@
1
- // Copyright 2025-present 650 Industries. All rights reserved.
2
-
3
- import SwiftUI
4
- import ExpoModulesCore
5
-
6
- internal final class SectionHeaderProps: ExpoSwiftUI.ViewProps {}
7
-
8
- internal final class SectionFooterProps: ExpoSwiftUI.ViewProps {}
9
-
10
- internal final class SectionContentProps: ExpoSwiftUI.ViewProps {}
11
-
12
- internal struct SectionHeader: ExpoSwiftUI.View {
13
- @ObservedObject var props: SectionHeaderProps
14
-
15
- var body: some View {
16
- Children()
17
- }
18
- }
19
-
20
- internal struct SectionFooter: ExpoSwiftUI.View {
21
- @ObservedObject var props: SectionFooterProps
22
-
23
- var body: some View {
24
- Children()
25
- }
26
- }
27
-
28
- internal struct SectionContent: ExpoSwiftUI.View {
29
- @ObservedObject var props: SectionContentProps
30
-
31
- var body: some View {
32
- Children()
33
- }
34
- }
@@ -1 +0,0 @@
1
- 6e19bff717c5770bfbfab0f7b94f6e98217dc504
@@ -1 +0,0 @@
1
- addee5fe747747c7459fb227f67189cd0c0a064fe2a037ed67057c560e7fb335
@@ -1 +0,0 @@
1
- fe721d26e09241994a20838afa7aecfcd15a3c74bb104a3b42753cb73608ad6784f0d820db4b654b6fd65df1165574b8353040f8d0a2161c2e3413e18c2b9b79
@@ -1 +0,0 @@
1
- 28406ef3849bb822054f845e1e731d11
@@ -1 +0,0 @@
1
- 6c884449165b70583d08844b02f31ab547df4438
@@ -1 +0,0 @@
1
- 981050003cd4b3d57f26a29a9e0466bdbdae41cc8df253b571858ba1e46a6ab9
@@ -1 +0,0 @@
1
- 35a4fa077be99bf9bebfd55d3398894d0150be4a5a60503d407a6a487290f5b2fdd0b0624986ef2781097d50a3c1fe973786fd79a738e94d1de0228b04ab3e01
@@ -1 +0,0 @@
1
- 16bbc6d6ebf2ad13f84336cc98e712e394c94d3f
@@ -1 +0,0 @@
1
- 7bd69b5138e85b3f667649a3d2967db4599501141e80ab024f7d909e29a08b1f
@@ -1 +0,0 @@
1
- 422527512f454d53a49147ee9fb7257fb8b01ebf43cdb48ea56e31c4ce569490b38c7cf5f0479cfb1b309396504d39dc89cbc5156efea1c459ca5193e1ef789c
@@ -1 +0,0 @@
1
- f252338c6e97eeea2181d83d5c5493f2
@@ -1 +0,0 @@
1
- a69749732bbb74d9ef23ce0c1508c38bb41707d9
@@ -1 +0,0 @@
1
- 8ef946a320955f52ed239de327c0006d9806229a7c6a2b25f0080634dab7ed82
@@ -1 +0,0 @@
1
- b1cbb30b5a78b049422d1589a4285d58c6a56ac85f07689e4a372e11b3bad54efc4482e6f1c2c3b8bace60e9c4fc173cae08ba7b235826b957e28f7f37bdcaad