@expo/ui 55.0.1 → 55.0.3

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 (269) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/CONTRIBUTING.md +30 -0
  3. package/android/build.gradle +2 -2
  4. package/android/src/main/java/expo/modules/ui/AnimatedVisibilityView.kt +130 -0
  5. package/android/src/main/java/expo/modules/ui/CardView.kt +138 -34
  6. package/android/src/main/java/expo/modules/ui/CheckboxView.kt +98 -0
  7. package/android/src/main/java/expo/modules/ui/ChipView.kt +267 -142
  8. package/android/src/main/java/expo/modules/ui/DatePickerView.kt +302 -31
  9. package/android/src/main/java/expo/modules/ui/ExpoUIModule.kt +204 -57
  10. package/android/src/main/java/expo/modules/ui/HorizontalFloatingToolbarView.kt +21 -8
  11. package/android/src/main/java/expo/modules/ui/ModifierRegistry.kt +149 -40
  12. package/android/src/main/java/expo/modules/ui/ProgressView.kt +189 -89
  13. package/android/src/main/java/expo/modules/ui/RNHostView.kt +204 -50
  14. package/android/src/main/java/expo/modules/ui/RadioButtonView.kt +3 -7
  15. package/android/src/main/java/expo/modules/ui/SegmentedButtonView.kt +115 -0
  16. package/android/src/main/java/expo/modules/ui/SegmentedControlView.kt +35 -0
  17. package/android/src/main/java/expo/modules/ui/SliderView.kt +70 -12
  18. package/android/src/main/java/expo/modules/ui/SwitchView.kt +62 -104
  19. package/android/src/main/java/expo/modules/ui/ToggleButtonView.kt +95 -57
  20. package/android/src/main/java/expo/modules/ui/button/Button.kt +117 -158
  21. package/android/src/main/java/expo/modules/ui/button/FloatingActionButton.kt +92 -0
  22. package/android/src/main/java/expo/modules/ui/button/IconButton.kt +73 -80
  23. package/android/src/main/java/expo/modules/ui/convertibles/AnimatableFloat.kt +26 -0
  24. package/android/src/main/java/expo/modules/ui/convertibles/AnimationSpecParams.kt +93 -0
  25. package/android/src/main/java/expo/modules/ui/convertibles/GraphicsLayerParams.kt +24 -0
  26. package/android/src/main/java/expo/modules/ui/menu/DropdownMenu.kt +39 -0
  27. package/android/src/main/java/expo/modules/ui/menu/DropdownMenuItem.kt +70 -0
  28. package/android/src/main/java/expo/modules/ui/menu/DropdownMenuRecords.kt +18 -0
  29. package/build/jetpack-compose/AnimatedVisibility/index.d.ts +134 -0
  30. package/build/jetpack-compose/AnimatedVisibility/index.d.ts.map +1 -0
  31. package/build/jetpack-compose/AnimatedVisibility/symbols.d.ts +3 -0
  32. package/build/jetpack-compose/AnimatedVisibility/symbols.d.ts.map +1 -0
  33. package/build/jetpack-compose/Button/index.d.ts +65 -51
  34. package/build/jetpack-compose/Button/index.d.ts.map +1 -1
  35. package/build/jetpack-compose/Card/index.d.ts +72 -14
  36. package/build/jetpack-compose/Card/index.d.ts.map +1 -1
  37. package/build/jetpack-compose/Checkbox/index.d.ts +73 -0
  38. package/build/jetpack-compose/Checkbox/index.d.ts.map +1 -0
  39. package/build/jetpack-compose/Chip/index.d.ts +247 -27
  40. package/build/jetpack-compose/Chip/index.d.ts.map +1 -1
  41. package/build/jetpack-compose/DatePicker/index.d.ts +137 -3
  42. package/build/jetpack-compose/DatePicker/index.d.ts.map +1 -1
  43. package/build/jetpack-compose/DropdownMenu/DropdownMenuItem.d.ts +70 -0
  44. package/build/jetpack-compose/DropdownMenu/DropdownMenuItem.d.ts.map +1 -0
  45. package/build/jetpack-compose/DropdownMenu/index.d.ts +68 -0
  46. package/build/jetpack-compose/DropdownMenu/index.d.ts.map +1 -0
  47. package/build/jetpack-compose/FloatingActionButton/index.d.ts +150 -0
  48. package/build/jetpack-compose/FloatingActionButton/index.d.ts.map +1 -0
  49. package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts +2 -2
  50. package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts.map +1 -1
  51. package/build/jetpack-compose/IconButton/index.d.ts +45 -29
  52. package/build/jetpack-compose/IconButton/index.d.ts.map +1 -1
  53. package/build/jetpack-compose/MultiChoiceSegmentedButtonRow/index.d.ts +17 -0
  54. package/build/jetpack-compose/MultiChoiceSegmentedButtonRow/index.d.ts.map +1 -0
  55. package/build/jetpack-compose/Progress/index.d.ts +78 -35
  56. package/build/jetpack-compose/Progress/index.d.ts.map +1 -1
  57. package/build/jetpack-compose/RadioButton/index.d.ts +2 -2
  58. package/build/jetpack-compose/RadioButton/index.d.ts.map +1 -1
  59. package/build/jetpack-compose/SegmentedButton/index.d.ts +74 -0
  60. package/build/jetpack-compose/SegmentedButton/index.d.ts.map +1 -0
  61. package/build/jetpack-compose/SingleChoiceSegmentedButtonRow/index.d.ts +17 -0
  62. package/build/jetpack-compose/SingleChoiceSegmentedButtonRow/index.d.ts.map +1 -0
  63. package/build/jetpack-compose/Slider/index.d.ts +34 -10
  64. package/build/jetpack-compose/Slider/index.d.ts.map +1 -1
  65. package/build/jetpack-compose/Spacer/index.d.ts +2 -2
  66. package/build/jetpack-compose/Switch/index.d.ts +25 -47
  67. package/build/jetpack-compose/Switch/index.d.ts.map +1 -1
  68. package/build/jetpack-compose/ToggleButton/index.d.ts +60 -32
  69. package/build/jetpack-compose/ToggleButton/index.d.ts.map +1 -1
  70. package/build/jetpack-compose/index.d.ts +5 -4
  71. package/build/jetpack-compose/index.d.ts.map +1 -1
  72. package/build/jetpack-compose/modifiers/animation.d.ts +44 -0
  73. package/build/jetpack-compose/modifiers/animation.d.ts.map +1 -0
  74. package/build/jetpack-compose/modifiers/index.d.ts +68 -4
  75. package/build/jetpack-compose/modifiers/index.d.ts.map +1 -1
  76. package/build/swift-ui/AccessoryWidgetBackground/index.d.ts +4 -0
  77. package/build/swift-ui/AccessoryWidgetBackground/index.d.ts.map +1 -0
  78. package/build/swift-ui/ConfirmationDialog/index.d.ts.map +1 -1
  79. package/build/swift-ui/ContextMenu/index.d.ts.map +1 -1
  80. package/build/swift-ui/ControlGroup/index.d.ts +29 -0
  81. package/build/swift-ui/ControlGroup/index.d.ts.map +1 -0
  82. package/build/swift-ui/Gauge/index.d.ts.map +1 -1
  83. package/build/swift-ui/Image/index.d.ts +7 -1
  84. package/build/swift-ui/Image/index.d.ts.map +1 -1
  85. package/build/swift-ui/Label/index.d.ts.map +1 -1
  86. package/build/swift-ui/LabeledContent/index.d.ts.map +1 -1
  87. package/build/swift-ui/Menu/index.d.ts.map +1 -1
  88. package/build/swift-ui/Picker/index.d.ts.map +1 -1
  89. package/build/swift-ui/Popover/index.d.ts.map +1 -1
  90. package/build/swift-ui/ProgressView/index.d.ts +1 -5
  91. package/build/swift-ui/ProgressView/index.d.ts.map +1 -1
  92. package/build/swift-ui/Section/index.d.ts.map +1 -1
  93. package/build/swift-ui/Slider/index.d.ts.map +1 -1
  94. package/build/swift-ui/SlotView.d.ts +5 -0
  95. package/build/swift-ui/SlotView.d.ts.map +1 -0
  96. package/build/swift-ui/Stepper/index.d.ts +3 -3
  97. package/build/swift-ui/Stepper/index.d.ts.map +1 -1
  98. package/build/swift-ui/Text/index.d.ts +33 -1
  99. package/build/swift-ui/Text/index.d.ts.map +1 -1
  100. package/build/swift-ui/index.d.ts +2 -0
  101. package/build/swift-ui/index.d.ts.map +1 -1
  102. package/build/swift-ui/modifiers/index.d.ts +54 -1
  103. package/build/swift-ui/modifiers/index.d.ts.map +1 -1
  104. package/build/swift-ui/modifiers/shapes/index.d.ts +2 -2
  105. package/build/swift-ui/types.d.ts +7 -0
  106. package/build/swift-ui/types.d.ts.map +1 -1
  107. package/expo-module.config.json +1 -1
  108. package/ios/AccessoryWidgetBackgroundView.swift +27 -0
  109. package/ios/BottomSheetView.swift +1 -6
  110. package/ios/ClosedRangeDateRecord.swift +10 -0
  111. package/ios/ColorPickerView.swift +9 -8
  112. package/ios/ConfirmationDialog/ConfirmationDialog.swift +7 -15
  113. package/ios/ConfirmationDialog/ConfirmationDialogProps.swift +0 -5
  114. package/ios/ContextMenu/ContextMenu.swift +27 -22
  115. package/ios/ContextMenu/ContextMenuRecords.swift +0 -6
  116. package/ios/ControlGroupView.swift +33 -0
  117. package/ios/DatePickerView.swift +7 -5
  118. package/ios/DisclosureGroupView.swift +5 -7
  119. package/ios/ExpoUIModule.swift +10 -32
  120. package/ios/GaugeView.swift +4 -26
  121. package/ios/HostView.swift +1 -2
  122. package/ios/ImageView.swift +22 -11
  123. package/ios/Label.swift +2 -17
  124. package/ios/LabeledContentView.swift +3 -27
  125. package/ios/ListView.swift +6 -14
  126. package/ios/Menu/MenuRecords.swift +0 -2
  127. package/ios/Menu/MenuView.swift +2 -5
  128. package/ios/Modifiers/DefaultScrollAnchorForRoleModifier.swift +32 -0
  129. package/ios/Modifiers/DefaultScrollAnchorModifier.swift +16 -0
  130. package/ios/Modifiers/ResizableModifier.swift +24 -0
  131. package/ios/Modifiers/Rotation3DEffectModifier.swift +20 -0
  132. package/ios/Modifiers/View+ModifierArray.swift +29 -0
  133. package/ios/Modifiers/ViewModifierRegistry.swift +37 -3
  134. package/ios/Modifiers/WidgetModifiers.swift +46 -0
  135. package/ios/Picker/PickerView.swift +8 -16
  136. package/ios/Popover/PopoverProps.swift +0 -4
  137. package/ios/Popover/PopoverView.swift +5 -11
  138. package/ios/ProgressView.swift +0 -5
  139. package/ios/RNHostView.swift +91 -10
  140. package/ios/SectionView.swift +9 -17
  141. package/ios/SecureFieldView.swift +0 -1
  142. package/ios/ShareLink/ShareLinkView.swift +1 -1
  143. package/ios/SliderView.swift +16 -31
  144. package/ios/SlotView.swift +38 -0
  145. package/ios/StepperView.swift +12 -16
  146. package/ios/TextFieldView.swift +0 -1
  147. package/ios/TextView.swift +37 -1
  148. package/ios/Toggle/ToggleView.swift +5 -7
  149. package/ios/UIBaseView.swift +34 -3
  150. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3-sources.jar +0 -0
  151. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3-sources.jar.md5 +1 -0
  152. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3-sources.jar.sha1 +1 -0
  153. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3-sources.jar.sha256 +1 -0
  154. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3-sources.jar.sha512 +1 -0
  155. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.aar +0 -0
  156. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.aar.md5 +1 -0
  157. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.aar.sha1 +1 -0
  158. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.aar.sha256 +1 -0
  159. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.aar.sha512 +1 -0
  160. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.1/expo.modules.ui-55.0.1.module → 55.0.3/expo.modules.ui-55.0.3.module} +22 -22
  161. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.module.md5 +1 -0
  162. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.module.sha1 +1 -0
  163. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.module.sha256 +1 -0
  164. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.module.sha512 +1 -0
  165. package/local-maven-repo/expo/modules/ui/expo.modules.ui/{55.0.1/expo.modules.ui-55.0.1.pom → 55.0.3/expo.modules.ui-55.0.3.pom} +1 -1
  166. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.pom.md5 +1 -0
  167. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.pom.sha1 +1 -0
  168. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.pom.sha256 +1 -0
  169. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.3/expo.modules.ui-55.0.3.pom.sha512 +1 -0
  170. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml +4 -4
  171. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.md5 +1 -1
  172. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha1 +1 -1
  173. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha256 +1 -1
  174. package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha512 +1 -1
  175. package/package.json +5 -2
  176. package/src/jetpack-compose/AnimatedVisibility/index.tsx +206 -0
  177. package/src/jetpack-compose/AnimatedVisibility/symbols.ts +8 -0
  178. package/src/jetpack-compose/Button/index.tsx +69 -92
  179. package/src/jetpack-compose/Card/index.tsx +105 -29
  180. package/src/jetpack-compose/Checkbox/index.tsx +126 -0
  181. package/src/jetpack-compose/Chip/index.tsx +391 -51
  182. package/src/jetpack-compose/DatePicker/index.tsx +215 -6
  183. package/src/jetpack-compose/DropdownMenu/DropdownMenuItem.tsx +126 -0
  184. package/src/jetpack-compose/DropdownMenu/index.tsx +107 -0
  185. package/src/jetpack-compose/FloatingActionButton/index.tsx +207 -0
  186. package/src/jetpack-compose/HorizontalFloatingToolbar/index.tsx +4 -2
  187. package/src/jetpack-compose/IconButton/index.tsx +49 -56
  188. package/src/jetpack-compose/MultiChoiceSegmentedButtonRow/index.tsx +34 -0
  189. package/src/jetpack-compose/Progress/index.tsx +120 -62
  190. package/src/jetpack-compose/RadioButton/index.tsx +8 -9
  191. package/src/jetpack-compose/SegmentedButton/index.tsx +109 -0
  192. package/src/jetpack-compose/SingleChoiceSegmentedButtonRow/index.tsx +34 -0
  193. package/src/jetpack-compose/Slider/index.tsx +76 -29
  194. package/src/jetpack-compose/Spacer/index.tsx +2 -2
  195. package/src/jetpack-compose/Switch/index.tsx +32 -84
  196. package/src/jetpack-compose/ToggleButton/index.tsx +67 -43
  197. package/src/jetpack-compose/index.ts +5 -4
  198. package/src/jetpack-compose/modifiers/animation.ts +37 -0
  199. package/src/jetpack-compose/modifiers/index.ts +86 -6
  200. package/src/swift-ui/AccessoryWidgetBackground/index.tsx +12 -0
  201. package/src/swift-ui/ConfirmationDialog/index.tsx +4 -12
  202. package/src/swift-ui/ContextMenu/index.tsx +6 -20
  203. package/src/swift-ui/ControlGroup/index.tsx +59 -0
  204. package/src/swift-ui/Gauge/index.tsx +5 -20
  205. package/src/swift-ui/Image/index.tsx +7 -1
  206. package/src/swift-ui/Label/index.tsx +2 -5
  207. package/src/swift-ui/LabeledContent/index.tsx +3 -12
  208. package/src/swift-ui/Menu/index.tsx +2 -6
  209. package/src/swift-ui/Picker/index.tsx +4 -11
  210. package/src/swift-ui/Popover/index.tsx +3 -12
  211. package/src/swift-ui/ProgressView/index.tsx +1 -3
  212. package/src/swift-ui/Section/index.tsx +4 -9
  213. package/src/swift-ui/Slider/index.tsx +4 -12
  214. package/src/swift-ui/SlotView.tsx +8 -0
  215. package/src/swift-ui/Stepper/index.tsx +7 -7
  216. package/src/swift-ui/Text/index.tsx +66 -2
  217. package/src/swift-ui/index.tsx +2 -0
  218. package/src/swift-ui/modifiers/index.ts +87 -1
  219. package/src/swift-ui/types.ts +5 -0
  220. package/android/src/main/java/expo/modules/ui/FilterChipView.kt +0 -59
  221. package/android/src/main/java/expo/modules/ui/PickerView.kt +0 -161
  222. package/android/src/main/java/expo/modules/ui/TextButtonView.kt +0 -33
  223. package/android/src/main/java/expo/modules/ui/menu/ContextMenu.kt +0 -183
  224. package/android/src/main/java/expo/modules/ui/menu/ContextMenuRecords.kt +0 -64
  225. package/build/jetpack-compose/Button/types.d.ts +0 -5
  226. package/build/jetpack-compose/Button/types.d.ts.map +0 -1
  227. package/build/jetpack-compose/ContextMenu/Submenu.d.ts +0 -17
  228. package/build/jetpack-compose/ContextMenu/Submenu.d.ts.map +0 -1
  229. package/build/jetpack-compose/ContextMenu/index.d.ts +0 -65
  230. package/build/jetpack-compose/ContextMenu/index.d.ts.map +0 -1
  231. package/build/jetpack-compose/ContextMenu/utils.d.ts +0 -24
  232. package/build/jetpack-compose/ContextMenu/utils.d.ts.map +0 -1
  233. package/build/jetpack-compose/FilterChip/index.d.ts +0 -49
  234. package/build/jetpack-compose/FilterChip/index.d.ts.map +0 -1
  235. package/build/jetpack-compose/Picker/index.d.ts +0 -62
  236. package/build/jetpack-compose/Picker/index.d.ts.map +0 -1
  237. package/build/jetpack-compose/TextButton/index.d.ts +0 -29
  238. package/build/jetpack-compose/TextButton/index.d.ts.map +0 -1
  239. package/ios/ConfirmationDialog/ConfirmationDialogComponents.swift +0 -26
  240. package/ios/ContextMenu/ContextMenuComponents.swift +0 -37
  241. package/ios/Menu/MenuComponents.swift +0 -12
  242. package/ios/Picker/PickerComponents.swift +0 -24
  243. package/ios/Popover/PopoverComponents.swift +0 -18
  244. package/ios/SectionComponents.swift +0 -34
  245. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1-sources.jar +0 -0
  246. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1-sources.jar.md5 +0 -1
  247. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1-sources.jar.sha1 +0 -1
  248. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1-sources.jar.sha256 +0 -1
  249. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1-sources.jar.sha512 +0 -1
  250. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.aar +0 -0
  251. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.aar.md5 +0 -1
  252. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.aar.sha1 +0 -1
  253. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.aar.sha256 +0 -1
  254. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.aar.sha512 +0 -1
  255. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.module.md5 +0 -1
  256. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.module.sha1 +0 -1
  257. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.module.sha256 +0 -1
  258. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.module.sha512 +0 -1
  259. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.pom.md5 +0 -1
  260. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.pom.sha1 +0 -1
  261. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.pom.sha256 +0 -1
  262. package/local-maven-repo/expo/modules/ui/expo.modules.ui/55.0.1/expo.modules.ui-55.0.1.pom.sha512 +0 -1
  263. package/src/jetpack-compose/Button/types.ts +0 -57
  264. package/src/jetpack-compose/ContextMenu/Submenu.tsx +0 -21
  265. package/src/jetpack-compose/ContextMenu/index.tsx +0 -149
  266. package/src/jetpack-compose/ContextMenu/utils.ts +0 -144
  267. package/src/jetpack-compose/FilterChip/index.tsx +0 -89
  268. package/src/jetpack-compose/Picker/index.tsx +0 -90
  269. package/src/jetpack-compose/TextButton/index.tsx +0 -55
@@ -0,0 +1,17 @@
1
+ import { type ModifierConfig } from '../../types';
2
+ export type SingleChoiceSegmentedButtonRowProps = {
3
+ /**
4
+ * SegmentedButton children.
5
+ */
6
+ children: React.ReactNode;
7
+ /**
8
+ * Modifiers for the component.
9
+ */
10
+ modifiers?: ModifierConfig[];
11
+ };
12
+ /**
13
+ * A row container for single-choice `SegmentedButton` children.
14
+ * Maps to Material 3 `SingleChoiceSegmentedButtonRow`.
15
+ */
16
+ export declare function SingleChoiceSegmentedButtonRow(props: SingleChoiceSegmentedButtonRowProps): import("react").JSX.Element;
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/SingleChoiceSegmentedButtonRow/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,MAAM,MAAM,mCAAmC,GAAG;IAChD;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;CAC9B,CAAC;AAKF;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,mCAAmC,+BAUxF"}
@@ -1,10 +1,10 @@
1
1
  import { type ColorValue } from 'react-native';
2
- import { ExpoModifier } from '../../types';
2
+ import { type ModifierConfig } from '../../types';
3
3
  /**
4
- * Colors for slider's core elements.
4
+ * Colors for slider elements. Maps directly to Material3's `SliderDefaults.colors()`.
5
5
  * @platform android
6
6
  */
7
- export type SliderElementColors = {
7
+ export type SliderColors = {
8
8
  thumbColor?: ColorValue;
9
9
  activeTrackColor?: ColorValue;
10
10
  inactiveTrackColor?: ColorValue;
@@ -33,22 +33,46 @@ export type SliderProps = {
33
33
  */
34
34
  max?: number;
35
35
  /**
36
- * Colors for slider's core elements.
37
- * @platform android
36
+ * Whether the slider is enabled for user interaction.
37
+ * @default true
38
38
  */
39
- elementColors?: SliderElementColors;
39
+ enabled?: boolean;
40
40
  /**
41
- * Slider color.
41
+ * Colors for slider elements. Maps to Material3's `SliderDefaults.colors()`.
42
+ * @platform android
42
43
  */
43
- color?: ColorValue;
44
+ colors?: SliderColors;
44
45
  /**
45
46
  * Callback triggered on dragging along the slider.
46
47
  */
47
48
  onValueChange?: (value: number) => void;
49
+ /**
50
+ * Callback triggered when the user finishes changing the value (for example, lifts a finger).
51
+ * Maps to Material3's `onValueChangeFinished`.
52
+ */
53
+ onValueChangeFinished?: () => void;
48
54
  /**
49
55
  * Modifiers for the component.
50
56
  */
51
- modifiers?: ExpoModifier[];
57
+ modifiers?: ModifierConfig[];
58
+ /**
59
+ * Slot children for custom thumb and track.
60
+ */
61
+ children?: React.ReactNode;
52
62
  };
53
- export declare function Slider(props: SliderProps): import("react").JSX.Element;
63
+ /**
64
+ * A slider component that wraps Material3's `Slider`.
65
+ *
66
+ * @platform android
67
+ */
68
+ declare function SliderComponent(props: SliderProps): import("react").JSX.Element;
69
+ declare namespace SliderComponent {
70
+ var Thumb: (props: {
71
+ children: React.ReactNode;
72
+ }) => import("react").JSX.Element;
73
+ var Track: (props: {
74
+ children: React.ReactNode;
75
+ }) => import("react").JSX.Element;
76
+ }
77
+ export { SliderComponent as Slider };
54
78
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Slider/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAa,MAAM,aAAa,CAAC;AAGtD;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,iBAAiB,CAAC,EAAE,UAAU,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH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K,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAqDF;;;;GAIG;AACH,iBAAS,eAAe,CAAC,KAAK,EAAE,WAAW,+BAG1C;kBAHQ,eAAe;uBAnBF;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;uBAU7B;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;;AAiBnD,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import { ExpoModifier } from '../../types';
2
2
  export type SpacerProps = {
3
3
  /**
4
- * Modifiers for the component. Use weight() modifier to make the spacer flexible.
4
+ * Modifiers for the component. Use `weight()` modifier to make the spacer flexible.
5
5
  */
6
6
  modifiers?: ExpoModifier[];
7
7
  };
8
8
  /**
9
9
  * A spacer component that fills available space.
10
- * Use with the weight() modifier to create flexible spacing in Row or Column layouts.
10
+ * Use with the `weight()` modifier to create flexible spacing in `Row` or `Column` layouts.
11
11
  *
12
12
  * @example
13
13
  * ```tsx
@@ -1,24 +1,25 @@
1
1
  import { type ColorValue } from 'react-native';
2
- import { ExpoModifier } from '../../types';
2
+ import { type ModifierConfig } from '../../types';
3
3
  /**
4
- * Only for switch.
4
+ * Colors for switch core elements.
5
5
  */
6
- type SwitchElementColors = {
6
+ export type SwitchColors = {
7
7
  checkedThumbColor?: ColorValue;
8
8
  checkedTrackColor?: ColorValue;
9
+ checkedBorderColor?: ColorValue;
10
+ checkedIconColor?: ColorValue;
9
11
  uncheckedThumbColor?: ColorValue;
10
12
  uncheckedTrackColor?: ColorValue;
11
- };
12
- /**
13
- * Only for checkbox.
14
- */
15
- type CheckboxElementColors = {
16
- checkedColor?: ColorValue;
17
- disabledCheckedColor?: ColorValue;
18
- uncheckedColor?: ColorValue;
19
- disabledUncheckedColor?: ColorValue;
20
- checkmarkColor?: ColorValue;
21
- disabledIndeterminateColor?: ColorValue;
13
+ uncheckedBorderColor?: ColorValue;
14
+ uncheckedIconColor?: ColorValue;
15
+ disabledCheckedThumbColor?: ColorValue;
16
+ disabledCheckedTrackColor?: ColorValue;
17
+ disabledCheckedBorderColor?: ColorValue;
18
+ disabledCheckedIconColor?: ColorValue;
19
+ disabledUncheckedThumbColor?: ColorValue;
20
+ disabledUncheckedTrackColor?: ColorValue;
21
+ disabledUncheckedBorderColor?: ColorValue;
22
+ disabledUncheckedIconColor?: ColorValue;
22
23
  };
23
24
  export type SwitchProps = {
24
25
  /**
@@ -26,53 +27,27 @@ export type SwitchProps = {
26
27
  */
27
28
  value: boolean;
28
29
  /**
29
- * Label for the switch.
30
- *
31
- * > On Android, the label has an effect only when the `Switch` is used inside a `ContextMenu`.
32
- */
33
- label?: string;
34
- /**
35
- * Type of the switch component. Can be `'checkbox'`, `'switch'`, or `'button'`.
36
- * @default 'switch'
30
+ * Whether the switch is enabled.
31
+ * @default true
37
32
  */
38
- variant?: 'checkbox' | 'switch' | 'button';
33
+ enabled?: boolean;
39
34
  /**
40
35
  * Callback function that is called when the checked state changes.
41
36
  */
42
- onValueChange?: (value: boolean) => void;
37
+ onCheckedChange?: (value: boolean) => void;
43
38
  /**
44
- * Picker color.
39
+ * Colors for switch core elements.
45
40
  */
46
- color?: ColorValue;
41
+ colors?: SwitchColors;
47
42
  /**
48
43
  * Modifiers for the component.
49
44
  */
50
- modifiers?: ExpoModifier[];
45
+ modifiers?: ModifierConfig[];
51
46
  /**
52
47
  * Children containing ThumbContent slot.
53
48
  * @platform android
54
49
  */
55
50
  children?: React.ReactNode;
56
- } & (SwitchSwitchVariantProps | SwitchCheckboxVariantProps | SwitchButtonVariantProps);
57
- export type SwitchSwitchVariantProps = {
58
- variant?: 'switch';
59
- /**
60
- * Colors for switch's core elements.
61
- * @platform android
62
- */
63
- elementColors?: SwitchElementColors;
64
- };
65
- export type SwitchCheckboxVariantProps = {
66
- variant: 'checkbox';
67
- /**
68
- * Colors for checkbox core elements.
69
- * @platform android
70
- */
71
- elementColors?: CheckboxElementColors;
72
- };
73
- export type SwitchButtonVariantProps = {
74
- variant: 'button';
75
- elementColors?: undefined;
76
51
  };
77
52
  type ThumbContentProps = {
78
53
  children: React.ReactNode;
@@ -82,6 +57,9 @@ type ThumbContentProps = {
82
57
  * @platform android
83
58
  */
84
59
  export declare function SwitchThumbContent(props: ThumbContentProps): import("react").JSX.Element;
60
+ /**
61
+ * A switch component.
62
+ */
85
63
  declare function SwitchComponent(props: SwitchProps): import("react").JSX.Element;
86
64
  declare namespace SwitchComponent {
87
65
  var ThumbContent: typeof SwitchThumbContent;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/Switch/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAwB,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAErE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAK3C;;GAEG;AACH,KAAK,mBAAmB,GAAG;IACzB,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,mBAAmB,CAAC,EAAE,UAAU,CAAC;IACjC,mBAAmB,CAAC,EAAE,UAAU,CAAC;CAClC,CAAC;AAGF;;GAEG;AACH,KAAK,qBAAqB,GAAG;IAC3B,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAClC,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,sBAAsB,CAAC,EAAE,UAAU,CAAC;IACpC,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,0BAA0B,CAAC,EAAE,UAAU,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB;;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;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,iBAAiB,+BAE1D;AAcD;;GAEG;AACH,iBAAS,eAAe,CAAC,KAAK,EAAE,WAAW,+BAE1C;kBAFQ,eAAe;;;;AAOxB,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,CAAC"}
@@ -1,54 +1,82 @@
1
1
  import { type ColorValue } from 'react-native';
2
- import { type ExpoModifier } from '../../types';
2
+ import type { ModifierConfig, ViewEvent } from '../../types';
3
+ /**
4
+ * Colors for toggle button elements.
5
+ */
6
+ export type ToggleButtonColors = {
7
+ containerColor?: ColorValue;
8
+ contentColor?: ColorValue;
9
+ checkedContainerColor?: ColorValue;
10
+ checkedContentColor?: ColorValue;
11
+ disabledContainerColor?: ColorValue;
12
+ disabledContentColor?: ColorValue;
13
+ };
3
14
  export type ToggleButtonProps = {
4
15
  /**
5
16
  * Whether the toggle button is checked.
6
17
  */
7
18
  checked: boolean;
8
19
  /**
9
- * Text to display in the button.
10
- */
11
- text?: string;
12
- /**
13
- * The variant of the toggle button.
14
- * - `'default'` - Material 3 ToggleButton
15
- * - `'icon'` - Icon toggle button
16
- * - `'filledIcon'` - Filled icon toggle button
17
- * - `'outlinedIcon'` - Outlined icon toggle button
18
- * @default 'default'
19
- */
20
- variant?: 'default' | 'icon' | 'filledIcon' | 'outlinedIcon';
21
- /**
22
- * The color of the toggle button when checked.
20
+ * Callback that is called when the checked state changes.
23
21
  */
24
- color?: ColorValue;
22
+ onCheckedChange?: (checked: boolean) => void;
25
23
  /**
26
- * Whether the button is disabled.
24
+ * Whether the button is enabled for user interaction.
25
+ * @default true
27
26
  */
28
- disabled?: boolean;
27
+ enabled?: boolean;
29
28
  /**
30
- * Callback that is called when the checked state changes.
29
+ * Colors for toggle button elements.
31
30
  */
32
- onCheckedChange?: (checked: boolean) => void;
31
+ colors?: ToggleButtonColors;
33
32
  /**
34
33
  * Modifiers for the component.
35
34
  */
36
- modifiers?: ExpoModifier[];
35
+ modifiers?: ModifierConfig[];
37
36
  /**
38
- * The content to display inside the toggle button.
37
+ * Content to display inside the toggle button.
39
38
  */
40
- children?: React.ReactNode;
39
+ children: React.ReactNode;
41
40
  };
41
+ type NativeToggleButtonProps = Omit<ToggleButtonProps, 'onCheckedChange' | 'children'> & {
42
+ children?: React.ReactNode;
43
+ } & ViewEvent<'onCheckedChange', {
44
+ checked: boolean;
45
+ }>;
46
+ /**
47
+ * @hidden
48
+ */
49
+ export declare function transformToggleButtonProps(props: Omit<ToggleButtonProps, 'children'>): NativeToggleButtonProps;
42
50
  /**
43
51
  * A toggle button component that can be toggled on and off.
44
- *
45
- * When `text` prop is provided, it displays the text.
46
- * Otherwise, custom children can be passed to render custom content.
47
52
  */
48
- declare function ToggleButton(props: ToggleButtonProps): import("react").JSX.Element;
49
- declare namespace ToggleButton {
50
- var DefaultIconSpacing: any;
51
- var DefaultIconSize: any;
52
- }
53
- export { ToggleButton };
53
+ declare const ToggleButton: {
54
+ (props: ToggleButtonProps): import("react").JSX.Element;
55
+ displayName: string;
56
+ } & {
57
+ DefaultIconSpacing: number;
58
+ DefaultIconSize: number;
59
+ };
60
+ /**
61
+ * An icon toggle button with no background.
62
+ */
63
+ declare const IconToggleButton: {
64
+ (props: ToggleButtonProps): import("react").JSX.Element;
65
+ displayName: string;
66
+ };
67
+ /**
68
+ * A filled icon toggle button with a solid background.
69
+ */
70
+ declare const FilledIconToggleButton: {
71
+ (props: ToggleButtonProps): import("react").JSX.Element;
72
+ displayName: string;
73
+ };
74
+ /**
75
+ * An outlined icon toggle button with a border and no fill.
76
+ */
77
+ declare const OutlinedIconToggleButton: {
78
+ (props: ToggleButtonProps): import("react").JSX.Element;
79
+ displayName: string;
80
+ };
81
+ export { ToggleButton, IconToggleButton, FilledIconToggleButton, OutlinedIconToggleButton };
54
82
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/ToggleButton/index.tsx"],"names":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4
  export * from './Card';
5
+ export * from './Checkbox';
5
6
  export * from './Chip';
6
- export * from './FilterChip';
7
7
  export * from './Button';
8
8
  export * from './Icon';
9
9
  export * from './IconButton';
10
- export * from './ContextMenu';
10
+ export * from './DropdownMenu';
11
11
  export * from './Divider';
12
12
  export * from './Host';
13
13
  export * from './LazyColumn';
14
14
  export * from './ListItem';
15
15
  export * from './RNHostView';
16
16
  export * from './DatePicker';
17
- export * from './Picker';
17
+ export * from './SegmentedButton';
18
18
  export * from './Progress';
19
19
  export * from './Slider';
20
20
  export * from './Spacer';
21
21
  export * from './Switch';
22
- export * from './TextButton';
23
22
  export * from './TextInput';
24
23
  export * from './ToggleButton';
25
24
  export * from './Shape';
@@ -28,10 +27,12 @@ export * from './Carousel';
28
27
  export * from './SearchBar';
29
28
  export * from './DockedSearchBar';
30
29
  export * from './HorizontalFloatingToolbar';
30
+ export * from './FloatingActionButton';
31
31
  export * from './PullToRefreshBox';
32
32
  export * from './RadioButton';
33
33
  export * from './Surface';
34
34
  export * from './Text';
35
+ export * from './AnimatedVisibility';
35
36
  export * from './Box';
36
37
  export * from './Row';
37
38
  export * from './Column';
@@ -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,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,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,UAAU,CAAC;AACzB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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,cAAc,QAAQ,CAAC;AAEvB,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"}
@@ -0,0 +1,44 @@
1
+ export declare const spring: (params?: {
2
+ dampingRatio?: number;
3
+ stiffness?: number;
4
+ visibilityThreshold?: number;
5
+ }) => {
6
+ dampingRatio?: number;
7
+ stiffness?: number;
8
+ visibilityThreshold?: number;
9
+ $type: "spring";
10
+ };
11
+ export declare const tween: (params?: {
12
+ durationMillis?: number;
13
+ delayMillis?: number;
14
+ easing?: "linear" | "fastOutSlowIn" | "fastOutLinearIn" | "linearOutSlowIn" | "ease";
15
+ }) => {
16
+ durationMillis?: number;
17
+ delayMillis?: number;
18
+ easing?: "linear" | "fastOutSlowIn" | "fastOutLinearIn" | "linearOutSlowIn" | "ease";
19
+ $type: "tween";
20
+ };
21
+ export declare const snap: (params?: {
22
+ delayMillis?: number;
23
+ }) => {
24
+ delayMillis?: number;
25
+ $type: "snap";
26
+ };
27
+ export declare const keyframes: (params: {
28
+ durationMillis: number;
29
+ delayMillis?: number;
30
+ keyframes: Record<number, number>;
31
+ }) => {
32
+ durationMillis: number;
33
+ delayMillis?: number;
34
+ keyframes: Record<number, number>;
35
+ $type: "keyframes";
36
+ };
37
+ export type AnimationSpec = ReturnType<typeof spring | typeof tween | typeof snap | typeof keyframes>;
38
+ export declare const animated: (targetValue: number, spec?: AnimationSpec) => {
39
+ $animated: true;
40
+ targetValue: number;
41
+ animationSpec: AnimationSpec;
42
+ };
43
+ export type AnimatedValue = ReturnType<typeof animated>;
44
+ //# sourceMappingURL=animation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../../src/jetpack-compose/modifiers/animation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,GAAI,SAAS;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;mBAHgB,MAAM;gBACT,MAAM;0BACI,MAAM;;CACiB,CAAC;AAEhD,eAAO,MAAM,KAAK,GAAI,SAAS;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,QAAQ,GAAG,eAAe,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,MAAM,CAAC;CACtF;qBAHkB,MAAM;kBACT,MAAM;aACX,QAAQ,GAAG,eAAe,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,MAAM;;CACxC,CAAC;AAE/C,eAAO,MAAM,IAAI,GAAI,SAAS;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE;kBAAR,MAAM;;CAGlD,CAAC;AAEH,eAAO,MAAM,SAAS,GAAI,QAAQ;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC;oBAHiB,MAAM;kBACR,MAAM;eACT,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;;CACe,CAAC;AAEnD,MAAM,MAAM,aAAa,GAAG,UAAU,CACpC,OAAO,MAAM,GAAG,OAAO,KAAK,GAAG,OAAO,IAAI,GAAG,OAAO,SAAS,CAC9D,CAAC;AAGF,eAAO,MAAM,QAAQ,GAAI,aAAa,MAAM,EAAE,OAAM,aAAwB;;;;CAI1E,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import { type ColorValue } from 'react-native';
2
+ import { type AnimatedValue } from './animation';
2
3
  export { type ExpoModifier } from '../../types';
4
+ export { animated, spring, tween, snap, keyframes, type AnimationSpec, type AnimatedValue, } from './animation';
3
5
  export type Alignment = 'topStart' | 'topCenter' | 'topEnd' | 'centerStart' | 'center' | 'centerEnd' | 'bottomStart' | 'bottomCenter' | 'bottomEnd' | 'top' | 'centerVertically' | 'bottom' | 'start' | 'centerHorizontally' | 'end';
4
6
  /**
5
7
  * Applies equal padding on all sides.
@@ -92,6 +94,47 @@ export declare const blur: (radius: number) => import("./createModifier").Modifi
92
94
  * @param degrees - Rotation angle in degrees.
93
95
  */
94
96
  export declare const rotate: (degrees: number) => import("./createModifier").ModifierConfig;
97
+ /**
98
+ * Applies a graphics layer transformation with animation support.
99
+ * @param params - Transform and visual effect parameters.
100
+ * @see [Compose graphicsLayer documentation](https://developer.android.com/develop/ui/compose/graphics/draw/modifiers).
101
+ */
102
+ export declare const graphicsLayer: (params: {
103
+ /** Rotation around the X axis in degrees. */
104
+ rotationX?: number | AnimatedValue;
105
+ /** Rotation around the Y axis in degrees. */
106
+ rotationY?: number | AnimatedValue;
107
+ /** Rotation around the Z axis in degrees. */
108
+ rotationZ?: number | AnimatedValue;
109
+ /** Horizontal scale factor (1.0 = no change). */
110
+ scaleX?: number | AnimatedValue;
111
+ /** Vertical scale factor (1.0 = no change). */
112
+ scaleY?: number | AnimatedValue;
113
+ /** Opacity (0.0 = transparent, 1.0 = opaque). */
114
+ alpha?: number | AnimatedValue;
115
+ /** Horizontal translation in dp. */
116
+ translationX?: number | AnimatedValue;
117
+ /** Vertical translation in dp. */
118
+ translationY?: number | AnimatedValue;
119
+ /** Distance from the camera in dp. Affects 3D rotation perspective. */
120
+ cameraDistance?: number;
121
+ /** Shadow elevation in dp. */
122
+ shadowElevation?: number | AnimatedValue;
123
+ /** Horizontal pivot point for transforms (0.0 = left, 0.5 = center, 1.0 = right). */
124
+ transformOriginX?: number;
125
+ /** Vertical pivot point for transforms (0.0 = top, 0.5 = center, 1.0 = bottom). */
126
+ transformOriginY?: number;
127
+ /** Whether to clip content to the shape. */
128
+ clip?: boolean;
129
+ /** Shape for clipping and shadow. Uses the same shapes as the `clip` modifier. */
130
+ shape?: BuiltinShape;
131
+ /** Color of the ambient shadow. */
132
+ ambientShadowColor?: ColorValue;
133
+ /** Color of the spot shadow. */
134
+ spotShadowColor?: ColorValue;
135
+ /** Compositing strategy: 'auto', 'offscreen', or 'modulate'. */
136
+ compositingStrategy?: "auto" | "offscreen" | "modulate";
137
+ }) => import("./createModifier").ModifierConfig;
95
138
  /**
96
139
  * Sets the z-index for layering.
97
140
  * @param index - Z-index value.
@@ -99,8 +142,8 @@ export declare const rotate: (degrees: number) => import("./createModifier").Mod
99
142
  export declare const zIndex: (index: number) => import("./createModifier").ModifierConfig;
100
143
  /**
101
144
  * Animates size changes with spring animation.
102
- * @param dampingRatio - Spring damping ratio. Default is DampingRatioNoBouncy.
103
- * @param stiffness - Spring stiffness. Default is StiffnessMedium.
145
+ * @param dampingRatio - Spring damping ratio. Default is `DampingRatioNoBouncy`.
146
+ * @param stiffness - Spring stiffness. Default is `StiffnessMedium`.
104
147
  */
105
148
  export declare const animateContentSize: (dampingRatio?: number, stiffness?: number) => import("./createModifier").ModifierConfig;
106
149
  /**
@@ -121,14 +164,35 @@ export declare const matchParentSize: () => import("./createModifier").ModifierC
121
164
  /**
122
165
  * Makes the view clickable.
123
166
  * @param handler - Function to call when clicked.
167
+ * @param options - Optional configuration.
168
+ * @param options.indication - Whether to show a ripple indication. Defaults to `true`.
124
169
  */
125
- export declare const clickable: (handler: () => void) => import("./createModifier").ModifierConfig;
170
+ export declare const clickable: (handler: () => void, options?: {
171
+ indication?: boolean;
172
+ }) => import("./createModifier").ModifierConfig;
126
173
  /**
127
174
  * Makes the view selectable, like a radio button row.
128
175
  * @param selected - Whether the item is currently selected.
129
176
  * @param handler - Function to call when the item is clicked.
177
+ * @param role - Optional semantic role for accessibility: 'radioButton', 'checkbox', 'switch', or 'tab'.
178
+ */
179
+ export declare const selectable: (selected: boolean, handler: () => void, role?: "radioButton" | "checkbox" | "switch" | "tab") => import("./createModifier").ModifierConfig;
180
+ /**
181
+ * Marks a column/row as a selectable group for accessibility.
182
+ * Screen readers will treat the children as a group of selectable items.
183
+ */
184
+ export declare const selectableGroup: () => import("./createModifier").ModifierConfig;
185
+ /**
186
+ * Makes the view toggleable with accessibility semantics.
187
+ * Use this to make a row containing a checkbox or switch tappable as a whole.
188
+ * @param value - The current toggle state.
189
+ * @param handler - Function to call when toggled.
190
+ * @param options - Optional configuration.
191
+ * @param options.role - The semantic role for accessibility: `'checkbox'`, `'radioButton'`, `'switch'`, or `'tab'`.
130
192
  */
131
- export declare const selectable: (selected: boolean, handler: () => void) => import("./createModifier").ModifierConfig;
193
+ export declare const toggleable: (value: boolean, handler: () => void, options?: {
194
+ role?: "checkbox" | "radioButton" | "switch" | "tab";
195
+ }) => import("./createModifier").ModifierConfig;
132
196
  /**
133
197
  * Sets the test ID for testing frameworks.
134
198
  * @param tag - Test ID string.
@@ -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;AAG/C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,SAAS,GAEjB,UAAU,GACV,WAAW,GACX,QAAQ,GACR,aAAa,GACb,QAAQ,GACR,WAAW,GACX,aAAa,GACb,cAAc,GACd,WAAW,GAEX,KAAK,GACL,kBAAkB,GAClB,QAAQ,GAER,OAAO,GACP,o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G,YAAY;wBAIvC,MAAM,GAAG,WAAW,KAAG,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCxD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,YAAY,8CAAsC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type CommonViewModifierProps } from '../types';
2
+ export type AccessoryWidgetBackgroundProps = CommonViewModifierProps;
3
+ export declare function AccessoryWidgetBackground(props: AccessoryWidgetBackgroundProps): import("react").JSX.Element;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/AccessoryWidgetBackground/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,MAAM,8BAA8B,GAAG,uBAAuB,CAAC;AAKrE,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,8BAA8B,+BAE9E"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/ConfirmationDialog/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD;;;OAGG;IACH,eAAe,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;CACtD,GAAG,uBAAuB,CAAC;AAuC5B;;;;GAIG;AACH,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,+BAezD;kBAfQ,kBAAkB;yBAvBH;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;yBAO7B;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;yBAO7B;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;;AA8BrD,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/ConfirmationDialog/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD;;;OAGG;IACH,eAAe,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;CACtD,GAAG,uBAAuB,CAAC;AA8B5B;;;;GAIG;AACH,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,+BAezD;kBAfQ,kBAAkB;yBAvBH;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;yBAO7B;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;yBAO7B;QAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;KAAE;;AA8BrD,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/ContextMenu/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAqBhD;;GAEG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,+BAEzD;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,+BAE3D;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,+BAE3D;AAED;;GAEG;AACH,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAE3C;kBAFQ,WAAW;;;;;AAQpB,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/swift-ui/ContextMenu/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAGhD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAMhD;;GAEG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,+BAEzD;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,+BAE3D;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,+BAE3D;AAED;;GAEG;AACH,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAE3C;kBAFQ,WAAW;;;;;AAQpB,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { type ReactNode } from 'react';
2
+ import { type SFSymbol } from 'sf-symbols-typescript';
3
+ import { type CommonViewModifierProps } from '../types';
4
+ export interface ControlGroupProps extends CommonViewModifierProps {
5
+ /**
6
+ * The label for the control group. Can be a string for simple text labels,
7
+ * or a `Label` component for custom label content. When omitted, the control group
8
+ * has no label.
9
+ * @platform iOS 16.0+
10
+ * @platform tvOS 17.0+
11
+ */
12
+ label?: string | ReactNode;
13
+ /**
14
+ * An SF Symbol name to display alongside the label.
15
+ * Only used when `label` is a string.
16
+ * @platform iOS 16.0+
17
+ * @platform tvOS 17.0+
18
+ */
19
+ systemImage?: SFSymbol;
20
+ /**
21
+ * The control group's content.
22
+ * Can contain `Button`, `Toggle`, `Picker`, or other interactive controls.
23
+ * @platform iOS
24
+ * @platform tvOS 17.0+
25
+ */
26
+ children: ReactNode;
27
+ }
28
+ export declare function ControlGroup(props: ControlGroupProps): import("react").JSX.Element;
29
+ //# sourceMappingURL=index.d.ts.map