@yahoo/uds-mobile 2.7.1 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +12 -22
  2. package/dist/_virtual/_rolldown/runtime.js +6 -11
  3. package/dist/bin/fixtures/dist/index.mjs +17 -20
  4. package/dist/bin/fonts/dist/index.mjs +22 -13
  5. package/dist/bin/generateTheme.mjs +2 -5
  6. package/dist/bin/mobile/scripts/utils/configToRNMappings.mjs +1 -2
  7. package/dist/bin/modes/dist/index.mjs +1 -2
  8. package/dist/bin/palette/dist/index.mjs +15 -4
  9. package/dist/bin/uds-mobile.mjs +1 -3
  10. package/dist/components/AndroidBackHandler.cjs +3 -5
  11. package/dist/components/AndroidBackHandler.js +1 -2
  12. package/dist/components/AndroidBackHandler.js.map +1 -1
  13. package/dist/components/Avatar.cjs +6 -8
  14. package/dist/components/Avatar.d.cts +2 -2
  15. package/dist/components/Avatar.d.cts.map +1 -1
  16. package/dist/components/Avatar.d.ts +2 -2
  17. package/dist/components/Avatar.d.ts.map +1 -1
  18. package/dist/components/Avatar.js +1 -2
  19. package/dist/components/Avatar.js.map +1 -1
  20. package/dist/components/Badge.cjs +6 -8
  21. package/dist/components/Badge.d.cts +2 -2
  22. package/dist/components/Badge.d.cts.map +1 -1
  23. package/dist/components/Badge.d.ts +2 -2
  24. package/dist/components/Badge.d.ts.map +1 -1
  25. package/dist/components/Badge.js +1 -2
  26. package/dist/components/Badge.js.map +1 -1
  27. package/dist/components/Banner/Banner.cjs +7 -9
  28. package/dist/components/Banner/Banner.d.cts +2 -2
  29. package/dist/components/Banner/Banner.d.cts.map +1 -1
  30. package/dist/components/Banner/Banner.d.ts +2 -2
  31. package/dist/components/Banner/Banner.d.ts.map +1 -1
  32. package/dist/components/Banner/Banner.js +1 -2
  33. package/dist/components/Banner/Banner.js.map +1 -1
  34. package/dist/components/Banner/BannerContent.cjs +3 -5
  35. package/dist/components/Banner/BannerContent.d.cts +2 -2
  36. package/dist/components/Banner/BannerContent.d.cts.map +1 -1
  37. package/dist/components/Banner/BannerContent.d.ts +2 -2
  38. package/dist/components/Banner/BannerContent.d.ts.map +1 -1
  39. package/dist/components/Banner/BannerContent.js +1 -2
  40. package/dist/components/Banner/BannerContent.js.map +1 -1
  41. package/dist/components/Banner/BannerDescription.cjs +4 -6
  42. package/dist/components/Banner/BannerDescription.d.cts +2 -2
  43. package/dist/components/Banner/BannerDescription.d.cts.map +1 -1
  44. package/dist/components/Banner/BannerDescription.d.ts +2 -2
  45. package/dist/components/Banner/BannerDescription.d.ts.map +1 -1
  46. package/dist/components/Banner/BannerDescription.js +1 -2
  47. package/dist/components/Banner/BannerDescription.js.map +1 -1
  48. package/dist/components/Banner/BannerTitle.cjs +4 -6
  49. package/dist/components/Banner/BannerTitle.d.cts +2 -2
  50. package/dist/components/Banner/BannerTitle.d.cts.map +1 -1
  51. package/dist/components/Banner/BannerTitle.d.ts +2 -2
  52. package/dist/components/Banner/BannerTitle.d.ts.map +1 -1
  53. package/dist/components/Banner/BannerTitle.js +1 -2
  54. package/dist/components/Banner/BannerTitle.js.map +1 -1
  55. package/dist/components/Banner/index.cjs +6 -7
  56. package/dist/components/Banner/index.js +1 -2
  57. package/dist/components/Banner/utils.cjs +3 -5
  58. package/dist/components/Banner/utils.js +1 -2
  59. package/dist/components/Banner/utils.js.map +1 -1
  60. package/dist/components/BlurTarget.cjs +3 -5
  61. package/dist/components/BlurTarget.d.cts +2 -2
  62. package/dist/components/BlurTarget.d.cts.map +1 -1
  63. package/dist/components/BlurTarget.d.ts +2 -2
  64. package/dist/components/BlurTarget.d.ts.map +1 -1
  65. package/dist/components/BlurTarget.js +1 -2
  66. package/dist/components/BlurTarget.js.map +1 -1
  67. package/dist/components/BottomSheet/BottomSheet.cjs +16 -18
  68. package/dist/components/BottomSheet/BottomSheet.d.cts +2 -2
  69. package/dist/components/BottomSheet/BottomSheet.d.cts.map +1 -1
  70. package/dist/components/BottomSheet/BottomSheet.d.ts +2 -2
  71. package/dist/components/BottomSheet/BottomSheet.d.ts.map +1 -1
  72. package/dist/components/BottomSheet/BottomSheet.js +1 -2
  73. package/dist/components/BottomSheet/BottomSheet.js.map +1 -1
  74. package/dist/components/BottomSheet/BottomSheetContent.cjs +4 -6
  75. package/dist/components/BottomSheet/BottomSheetContent.d.cts +2 -2
  76. package/dist/components/BottomSheet/BottomSheetContent.d.cts.map +1 -1
  77. package/dist/components/BottomSheet/BottomSheetContent.d.ts +2 -2
  78. package/dist/components/BottomSheet/BottomSheetContent.d.ts.map +1 -1
  79. package/dist/components/BottomSheet/BottomSheetContent.js +1 -2
  80. package/dist/components/BottomSheet/BottomSheetContent.js.map +1 -1
  81. package/dist/components/BottomSheet/BottomSheetDismiss.cjs +4 -6
  82. package/dist/components/BottomSheet/BottomSheetDismiss.d.cts +2 -2
  83. package/dist/components/BottomSheet/BottomSheetDismiss.d.cts.map +1 -1
  84. package/dist/components/BottomSheet/BottomSheetDismiss.d.ts +2 -2
  85. package/dist/components/BottomSheet/BottomSheetDismiss.d.ts.map +1 -1
  86. package/dist/components/BottomSheet/BottomSheetDismiss.js +1 -2
  87. package/dist/components/BottomSheet/BottomSheetDismiss.js.map +1 -1
  88. package/dist/components/BottomSheet/BottomSheetHandle.cjs +5 -7
  89. package/dist/components/BottomSheet/BottomSheetHandle.d.cts +2 -2
  90. package/dist/components/BottomSheet/BottomSheetHandle.d.cts.map +1 -1
  91. package/dist/components/BottomSheet/BottomSheetHandle.d.ts +2 -2
  92. package/dist/components/BottomSheet/BottomSheetHandle.d.ts.map +1 -1
  93. package/dist/components/BottomSheet/BottomSheetHandle.js +1 -2
  94. package/dist/components/BottomSheet/BottomSheetHandle.js.map +1 -1
  95. package/dist/components/BottomSheet/BottomSheetHeader.cjs +4 -6
  96. package/dist/components/BottomSheet/BottomSheetHeader.d.cts +2 -2
  97. package/dist/components/BottomSheet/BottomSheetHeader.d.cts.map +1 -1
  98. package/dist/components/BottomSheet/BottomSheetHeader.d.ts +2 -2
  99. package/dist/components/BottomSheet/BottomSheetHeader.d.ts.map +1 -1
  100. package/dist/components/BottomSheet/BottomSheetHeader.js +1 -2
  101. package/dist/components/BottomSheet/BottomSheetHeader.js.map +1 -1
  102. package/dist/components/BottomSheet/BottomSheetInternalProvider.cjs +3 -5
  103. package/dist/components/BottomSheet/BottomSheetInternalProvider.d.cts +2 -2
  104. package/dist/components/BottomSheet/BottomSheetInternalProvider.d.cts.map +1 -1
  105. package/dist/components/BottomSheet/BottomSheetInternalProvider.d.ts +2 -2
  106. package/dist/components/BottomSheet/BottomSheetInternalProvider.d.ts.map +1 -1
  107. package/dist/components/BottomSheet/BottomSheetInternalProvider.js +1 -2
  108. package/dist/components/BottomSheet/BottomSheetInternalProvider.js.map +1 -1
  109. package/dist/components/BottomSheet/BottomSheetProvider.cjs +4 -6
  110. package/dist/components/BottomSheet/BottomSheetProvider.d.cts +2 -2
  111. package/dist/components/BottomSheet/BottomSheetProvider.d.cts.map +1 -1
  112. package/dist/components/BottomSheet/BottomSheetProvider.d.ts +2 -2
  113. package/dist/components/BottomSheet/BottomSheetProvider.d.ts.map +1 -1
  114. package/dist/components/BottomSheet/BottomSheetProvider.js +1 -2
  115. package/dist/components/BottomSheet/BottomSheetProvider.js.map +1 -1
  116. package/dist/components/BottomSheet/BottomSheetTrigger.cjs +4 -6
  117. package/dist/components/BottomSheet/BottomSheetTrigger.d.cts +2 -2
  118. package/dist/components/BottomSheet/BottomSheetTrigger.d.cts.map +1 -1
  119. package/dist/components/BottomSheet/BottomSheetTrigger.d.ts +2 -2
  120. package/dist/components/BottomSheet/BottomSheetTrigger.d.ts.map +1 -1
  121. package/dist/components/BottomSheet/BottomSheetTrigger.js +1 -2
  122. package/dist/components/BottomSheet/BottomSheetTrigger.js.map +1 -1
  123. package/dist/components/BottomSheet/index.cjs +10 -11
  124. package/dist/components/BottomSheet/index.js +1 -2
  125. package/dist/components/BottomSheet/useBottomSheetDrag.cjs +4 -6
  126. package/dist/components/BottomSheet/useBottomSheetDrag.js +1 -2
  127. package/dist/components/BottomSheet/useBottomSheetDrag.js.map +1 -1
  128. package/dist/components/BottomSheet/useBottomSheetScroll.cjs +4 -6
  129. package/dist/components/BottomSheet/useBottomSheetScroll.d.cts +5 -5
  130. package/dist/components/BottomSheet/useBottomSheetScroll.d.ts +5 -5
  131. package/dist/components/BottomSheet/useBottomSheetScroll.js +1 -2
  132. package/dist/components/BottomSheet/useBottomSheetScroll.js.map +1 -1
  133. package/dist/components/BottomSheet/useBottomSheetSnapModel.cjs +6 -8
  134. package/dist/components/BottomSheet/useBottomSheetSnapModel.js +3 -4
  135. package/dist/components/BottomSheet/useBottomSheetSnapModel.js.map +1 -1
  136. package/dist/components/BottomSheet/useBottomSheetStore.cjs +3 -5
  137. package/dist/components/BottomSheet/useBottomSheetStore.js +1 -2
  138. package/dist/components/BottomSheet/useBottomSheetStore.js.map +1 -1
  139. package/dist/components/BottomSheet/useExpansionMargins.cjs +4 -6
  140. package/dist/components/BottomSheet/useExpansionMargins.js +1 -2
  141. package/dist/components/BottomSheet/useExpansionMargins.js.map +1 -1
  142. package/dist/components/BottomSheet/useKeyboardAvoidance.cjs +3 -5
  143. package/dist/components/BottomSheet/useKeyboardAvoidance.js +1 -2
  144. package/dist/components/BottomSheet/useKeyboardAvoidance.js.map +1 -1
  145. package/dist/components/BottomSheet/utils.cjs +2 -4
  146. package/dist/components/BottomSheet/utils.js +1 -1
  147. package/dist/components/BottomSheet/utils.js.map +1 -1
  148. package/dist/components/Box.cjs +3 -5
  149. package/dist/components/Box.d.cts +2 -2
  150. package/dist/components/Box.d.cts.map +1 -1
  151. package/dist/components/Box.d.ts +2 -2
  152. package/dist/components/Box.d.ts.map +1 -1
  153. package/dist/components/Box.js +1 -2
  154. package/dist/components/Box.js.map +1 -1
  155. package/dist/components/Button.cjs +8 -10
  156. package/dist/components/Button.d.cts +2 -2
  157. package/dist/components/Button.d.cts.map +1 -1
  158. package/dist/components/Button.d.ts +2 -2
  159. package/dist/components/Button.d.ts.map +1 -1
  160. package/dist/components/Button.js +1 -2
  161. package/dist/components/Button.js.map +1 -1
  162. package/dist/components/Checkbox.cjs +9 -11
  163. package/dist/components/Checkbox.d.cts +2 -2
  164. package/dist/components/Checkbox.d.cts.map +1 -1
  165. package/dist/components/Checkbox.d.ts +2 -2
  166. package/dist/components/Checkbox.d.ts.map +1 -1
  167. package/dist/components/Checkbox.js +1 -2
  168. package/dist/components/Checkbox.js.map +1 -1
  169. package/dist/components/Chip.cjs +7 -9
  170. package/dist/components/Chip.d.cts +2 -2
  171. package/dist/components/Chip.d.cts.map +1 -1
  172. package/dist/components/Chip.d.ts +2 -2
  173. package/dist/components/Chip.d.ts.map +1 -1
  174. package/dist/components/Chip.js +1 -2
  175. package/dist/components/Chip.js.map +1 -1
  176. package/dist/components/HStack.cjs +4 -6
  177. package/dist/components/HStack.d.cts +2 -2
  178. package/dist/components/HStack.d.cts.map +1 -1
  179. package/dist/components/HStack.d.ts +2 -2
  180. package/dist/components/HStack.d.ts.map +1 -1
  181. package/dist/components/HStack.js +1 -2
  182. package/dist/components/HStack.js.map +1 -1
  183. package/dist/components/Icon.cjs +3 -5
  184. package/dist/components/Icon.d.cts +4 -4
  185. package/dist/components/Icon.d.cts.map +1 -1
  186. package/dist/components/Icon.d.ts +4 -4
  187. package/dist/components/Icon.d.ts.map +1 -1
  188. package/dist/components/Icon.js +1 -2
  189. package/dist/components/Icon.js.map +1 -1
  190. package/dist/components/IconButton.cjs +7 -9
  191. package/dist/components/IconButton.d.cts +2 -2
  192. package/dist/components/IconButton.d.cts.map +1 -1
  193. package/dist/components/IconButton.d.ts +2 -2
  194. package/dist/components/IconButton.d.ts.map +1 -1
  195. package/dist/components/IconButton.js +1 -2
  196. package/dist/components/IconButton.js.map +1 -1
  197. package/dist/components/IconSlot.cjs +4 -6
  198. package/dist/components/IconSlot.d.cts +2 -2
  199. package/dist/components/IconSlot.d.cts.map +1 -1
  200. package/dist/components/IconSlot.d.ts +2 -2
  201. package/dist/components/IconSlot.d.ts.map +1 -1
  202. package/dist/components/IconSlot.js +1 -2
  203. package/dist/components/IconSlot.js.map +1 -1
  204. package/dist/components/Image.cjs +3 -5
  205. package/dist/components/Image.d.cts +2 -2
  206. package/dist/components/Image.d.cts.map +1 -1
  207. package/dist/components/Image.d.ts +2 -2
  208. package/dist/components/Image.d.ts.map +1 -1
  209. package/dist/components/Image.js +1 -2
  210. package/dist/components/Image.js.map +1 -1
  211. package/dist/components/Input.cjs +7 -9
  212. package/dist/components/Input.d.cts +2 -2
  213. package/dist/components/Input.d.cts.map +1 -1
  214. package/dist/components/Input.d.ts +2 -2
  215. package/dist/components/Input.d.ts.map +1 -1
  216. package/dist/components/Input.js +1 -2
  217. package/dist/components/Input.js.map +1 -1
  218. package/dist/components/Link.cjs +4 -6
  219. package/dist/components/Link.d.cts +2 -2
  220. package/dist/components/Link.d.cts.map +1 -1
  221. package/dist/components/Link.d.ts +2 -2
  222. package/dist/components/Link.d.ts.map +1 -1
  223. package/dist/components/Link.js +1 -2
  224. package/dist/components/Link.js.map +1 -1
  225. package/dist/components/Pressable.cjs +3 -5
  226. package/dist/components/Pressable.d.cts +4 -4
  227. package/dist/components/Pressable.d.cts.map +1 -1
  228. package/dist/components/Pressable.d.ts +4 -4
  229. package/dist/components/Pressable.d.ts.map +1 -1
  230. package/dist/components/Pressable.js +1 -2
  231. package/dist/components/Pressable.js.map +1 -1
  232. package/dist/components/Radio.cjs +8 -10
  233. package/dist/components/Radio.d.cts +2 -2
  234. package/dist/components/Radio.d.cts.map +1 -1
  235. package/dist/components/Radio.d.ts +2 -2
  236. package/dist/components/Radio.d.ts.map +1 -1
  237. package/dist/components/Radio.js +1 -2
  238. package/dist/components/Radio.js.map +1 -1
  239. package/dist/components/Screen.cjs +5 -7
  240. package/dist/components/Screen.d.cts +2 -2
  241. package/dist/components/Screen.d.cts.map +1 -1
  242. package/dist/components/Screen.d.ts +2 -2
  243. package/dist/components/Screen.d.ts.map +1 -1
  244. package/dist/components/Screen.js +1 -2
  245. package/dist/components/Screen.js.map +1 -1
  246. package/dist/components/Scrim.cjs +4 -6
  247. package/dist/components/Scrim.d.cts +2 -2
  248. package/dist/components/Scrim.d.cts.map +1 -1
  249. package/dist/components/Scrim.d.ts +2 -2
  250. package/dist/components/Scrim.d.ts.map +1 -1
  251. package/dist/components/Scrim.js +1 -2
  252. package/dist/components/Scrim.js.map +1 -1
  253. package/dist/components/Switch.cjs +6 -8
  254. package/dist/components/Switch.d.cts +2 -2
  255. package/dist/components/Switch.d.cts.map +1 -1
  256. package/dist/components/Switch.d.ts +2 -2
  257. package/dist/components/Switch.d.ts.map +1 -1
  258. package/dist/components/Switch.js +1 -2
  259. package/dist/components/Switch.js.map +1 -1
  260. package/dist/components/Text.cjs +3 -5
  261. package/dist/components/Text.d.cts +2 -2
  262. package/dist/components/Text.d.cts.map +1 -1
  263. package/dist/components/Text.d.ts +2 -2
  264. package/dist/components/Text.d.ts.map +1 -1
  265. package/dist/components/Text.js +1 -2
  266. package/dist/components/Text.js.map +1 -1
  267. package/dist/components/UDSProvider.cjs +4 -6
  268. package/dist/components/UDSProvider.d.cts +2 -2
  269. package/dist/components/UDSProvider.d.cts.map +1 -1
  270. package/dist/components/UDSProvider.d.ts +2 -2
  271. package/dist/components/UDSProvider.d.ts.map +1 -1
  272. package/dist/components/UDSProvider.js +1 -2
  273. package/dist/components/UDSProvider.js.map +1 -1
  274. package/dist/components/VStack.cjs +4 -6
  275. package/dist/components/VStack.d.cts +2 -2
  276. package/dist/components/VStack.d.cts.map +1 -1
  277. package/dist/components/VStack.d.ts +2 -2
  278. package/dist/components/VStack.d.ts.map +1 -1
  279. package/dist/components/VStack.js +1 -2
  280. package/dist/components/VStack.js.map +1 -1
  281. package/dist/jest/index.cjs +8 -10
  282. package/dist/jest/index.js +1 -2
  283. package/dist/jest/index.js.map +1 -1
  284. package/dist/jest/mocks/icons.cjs +8 -11
  285. package/dist/jest/mocks/icons.js +1 -2
  286. package/dist/jest/mocks/icons.js.map +1 -1
  287. package/dist/jest/mocks/react-native.cjs +6 -5
  288. package/dist/jest/mocks/react-native.js +1 -2
  289. package/dist/jest/mocks/react-native.js.map +1 -1
  290. package/dist/jest/mocks/reanimated.cjs +11 -10
  291. package/dist/jest/mocks/reanimated.js +1 -2
  292. package/dist/jest/mocks/reanimated.js.map +1 -1
  293. package/dist/jest/mocks/styles.cjs +8 -11
  294. package/dist/jest/mocks/styles.js +1 -2
  295. package/dist/jest/mocks/styles.js.map +1 -1
  296. package/dist/jest/mocks/svg.cjs +11 -10
  297. package/dist/jest/mocks/svg.js +2 -3
  298. package/dist/jest/mocks/svg.js.map +1 -1
  299. package/dist/jest/mocks/unistyles.cjs +8 -11
  300. package/dist/jest/mocks/unistyles.js +1 -2
  301. package/dist/jest/mocks/unistyles.js.map +1 -1
  302. package/dist/jest/setup.cjs +6 -8
  303. package/dist/jest/setup.js +1 -2
  304. package/dist/jest/setup.js.map +1 -1
  305. package/dist/motion-tokens/dist/index.cjs +1 -3
  306. package/dist/motion-tokens/dist/index.js +1 -1
  307. package/dist/motion-tokens/dist/index.js.map +1 -1
  308. package/dist/motion.cjs +3 -5
  309. package/dist/motion.js +1 -2
  310. package/dist/motion.js.map +1 -1
  311. package/dist/native/UDSScreenCornerRadiusModule.cjs +2 -4
  312. package/dist/native/UDSScreenCornerRadiusModule.js +1 -1
  313. package/dist/portal.cjs +3 -5
  314. package/dist/portal.d.cts +2 -2
  315. package/dist/portal.d.cts.map +1 -1
  316. package/dist/portal.d.ts +2 -2
  317. package/dist/portal.d.ts.map +1 -1
  318. package/dist/portal.js +1 -2
  319. package/dist/portal.js.map +1 -1
  320. package/fonts/uds-icons.ttf +0 -0
  321. package/package.json +1 -1
@@ -2,7 +2,6 @@
2
2
  import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
3
3
  import React from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
-
6
5
  //#region src/jest/mocks/reanimated.tsx
7
6
  var reanimated_exports = /* @__PURE__ */ __exportAll({
8
7
  Animated: () => Animated,
@@ -204,7 +203,7 @@ const measure = jest.fn(() => ({
204
203
  pageY: 0
205
204
  }));
206
205
  const scrollTo = jest.fn();
207
-
208
206
  //#endregion
209
207
  export { Animated, Animated as default, Easing, FadeIn, FadeOut, SlideInRight, SlideOutLeft, ZoomIn, ZoomOut, cancelAnimation, convertToRGBA, createAnimatedComponent, interpolate, interpolateColor, isWorklet, measure, reanimated_exports, runOnJS, runOnUI, scrollTo, useAnimatedGestureHandler, useAnimatedProps, useAnimatedReaction, useAnimatedRef, useAnimatedScrollHandler, useAnimatedStyle, useDerivedValue, useSharedValue, withDecay, withDelay, withRepeat, withSequence, withSpring, withTiming };
208
+
210
209
  //# sourceMappingURL=reanimated.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reanimated.js","names":[],"sources":["../../../src/jest/mocks/reanimated.tsx"],"sourcesContent":["/**\n * Jest mock for react-native-reanimated.\n *\n * Provides minimal implementations for testing components\n * that use Reanimated animations.\n */\n\n/// <reference types=\"jest\" />\n\nimport type { ComponentType, PropsWithChildren, ReactNode } from 'react';\nimport React from 'react';\n\n// Shared value mock\nfunction useSharedValue<T>(initialValue: T) {\n return {\n value: initialValue,\n addListener: jest.fn(),\n removeListener: jest.fn(),\n modify: jest.fn(),\n };\n}\n\n// Derived value mock\nfunction useDerivedValue<T>(derivedFn: () => T): { value: T } {\n try {\n return { value: derivedFn() };\n } catch {\n return { value: undefined as T };\n }\n}\n\n// Animated style mock - returns empty object for snapshots\nfunction useAnimatedStyle<T extends object>(styleWorklet: () => T): T {\n try {\n return styleWorklet();\n } catch {\n return {} as T;\n }\n}\n\n// Animation timing functions - return the target value immediately\nfunction withTiming<T>(toValue: T): T {\n return toValue;\n}\n\nfunction withSpring<T>(toValue: T): T {\n return toValue;\n}\n\nfunction withDelay<T>(_delay: number, animation: T): T {\n return animation;\n}\n\nfunction withSequence<T>(...animations: T[]): T {\n return animations[animations.length - 1];\n}\n\nfunction withRepeat<T>(animation: T): T {\n return animation;\n}\n\nfunction withDecay(config: { velocity?: number; deceleration?: number }): number {\n return config.velocity ?? 0;\n}\n\n// Interpolation mock\nfunction interpolate(\n value: number,\n inputRange: readonly number[],\n outputRange: readonly number[],\n _extrapolation?: 'clamp' | 'extend' | { extrapolateLeft?: string; extrapolateRight?: string },\n): number {\n // Simple linear interpolation for testing\n if (value <= inputRange[0]) {\n return outputRange[0];\n }\n if (value >= inputRange[inputRange.length - 1]) {\n return outputRange[outputRange.length - 1];\n }\n\n // Find the segment\n for (let i = 0; i < inputRange.length - 1; i++) {\n if (value >= inputRange[i] && value <= inputRange[i + 1]) {\n const progress = (value - inputRange[i]) / (inputRange[i + 1] - inputRange[i]);\n return outputRange[i] + progress * (outputRange[i + 1] - outputRange[i]);\n }\n }\n\n return outputRange[outputRange.length - 1];\n}\n\nfunction interpolateColor(\n value: number,\n inputRange: readonly number[],\n outputRange: readonly string[],\n): string {\n if (value <= inputRange[0]) {\n return outputRange[0];\n }\n if (value >= inputRange[inputRange.length - 1]) {\n return outputRange[outputRange.length - 1];\n }\n // For testing, just return the closest color\n const index = Math.round(\n ((value - inputRange[0]) / (inputRange[inputRange.length - 1] - inputRange[0])) *\n (outputRange.length - 1),\n );\n return outputRange[Math.min(index, outputRange.length - 1)];\n}\n\n// Easing mock\nconst Easing = {\n linear: (t: number) => t,\n ease: (t: number) => t,\n quad: (t: number) => t * t,\n cubic: (t: number) => t * t * t,\n poly: (_n: number) => (t: number) => t,\n sin: (t: number) => t,\n circle: (t: number) => t,\n exp: (t: number) => t,\n elastic: (_bounciness?: number) => (t: number) => t,\n back: (_s?: number) => (t: number) => t,\n bounce: (t: number) => t,\n bezier: () => (t: number) => t,\n bezierFn: () => (t: number) => t,\n in: (easing: (t: number) => number) => easing,\n out: (easing: (t: number) => number) => easing,\n inOut: (easing: (t: number) => number) => easing,\n};\n\n// Gesture handler event hooks\nfunction useAnimatedGestureHandler(): Record<string, unknown> {\n return {};\n}\n\nfunction useAnimatedScrollHandler(): Record<string, unknown> {\n return {};\n}\n\n// Animated props\nfunction useAnimatedProps<T extends object>(propsWorklet: () => T): T {\n try {\n return propsWorklet();\n } catch {\n return {} as T;\n }\n}\n\n// Refs\nfunction useAnimatedRef<T>(): { current: T | null } {\n return { current: null };\n}\n\n// Reactions\nfunction useAnimatedReaction(): void {\n // no-op\n}\n\n// Simple mock components that don't depend on react-native imports\n// (to avoid issues with React Native's Jest mock initialization order)\ninterface MockViewProps {\n children?: ReactNode;\n style?: object;\n testID?: string;\n [key: string]: unknown;\n}\n\nfunction MockView({ children, style, testID, ...props }: MockViewProps) {\n // Use a simple div-like structure for Jest\n return React.createElement('View', { style, testID, ...props }, children);\n}\n\nfunction MockText({ children, style, testID, ...props }: MockViewProps) {\n return React.createElement('Text', { style, testID, ...props }, children);\n}\n\nfunction MockScrollView({ children, style, testID, ...props }: MockViewProps) {\n return React.createElement('ScrollView', { style, testID, ...props }, children);\n}\n\nfunction MockImage({ style, testID = 'AnimatedImage', ...props }: MockViewProps) {\n return React.createElement('Image', { style, testID, ...props });\n}\n\n// Animated component factory - creates a pass-through wrapper\nfunction createAnimatedComponent<T extends ComponentType<object>>(Component: T) {\n function AnimatedComponent({ children, style, ...props }: PropsWithChildren<{ style?: object }>) {\n // Flatten animated styles for rendering\n const flatStyle = Array.isArray(style) ? Object.assign({}, ...style) : style;\n const Comp = Component as ComponentType<{ style?: object; children?: ReactNode }>;\n return (\n <Comp style={flatStyle} {...props}>\n {children}\n </Comp>\n );\n }\n AnimatedComponent.displayName = `Animated(${(Component as { displayName?: string }).displayName || Component.name || 'Component'})`;\n return AnimatedComponent;\n}\n\n// Animated namespace with pre-created mock components\nconst Animated = {\n View: MockView,\n Text: MockText,\n Image: MockImage,\n ScrollView: MockScrollView,\n createAnimatedComponent,\n};\n\n// Layout animations\nconst FadeIn = { duration: jest.fn().mockReturnThis() };\nconst FadeOut = { duration: jest.fn().mockReturnThis() };\nconst SlideInRight = { duration: jest.fn().mockReturnThis() };\nconst SlideOutLeft = { duration: jest.fn().mockReturnThis() };\nconst ZoomIn = { duration: jest.fn().mockReturnThis() };\nconst ZoomOut = { duration: jest.fn().mockReturnThis() };\n\n// Color conversion\nfunction convertToRGBA(color: string | number): string {\n if (typeof color === 'string') {\n return color;\n }\n return `rgba(${(color >> 16) & 255}, ${(color >> 8) & 255}, ${color & 255}, 1)`;\n}\n\n// Run on JS/UI\nfunction runOnJS<T extends (...args: unknown[]) => unknown>(fn: T): T {\n return fn;\n}\n\nfunction runOnUI<T extends (...args: unknown[]) => unknown>(fn: T): T {\n return fn;\n}\n\n// Worklet helper\nfunction isWorklet(): boolean {\n return false;\n}\n\n// Cancel animation\nconst cancelAnimation = jest.fn();\n\n// Measure\nconst measure = jest.fn(() => ({\n x: 0,\n y: 0,\n width: 100,\n height: 100,\n pageX: 0,\n pageY: 0,\n}));\n\n// Scroll to\nconst scrollTo = jest.fn();\n\nexport default Animated;\n\nexport {\n Animated,\n cancelAnimation,\n convertToRGBA,\n createAnimatedComponent,\n Easing,\n FadeIn,\n FadeOut,\n interpolate,\n interpolateColor,\n isWorklet,\n measure,\n runOnJS,\n runOnUI,\n scrollTo,\n SlideInRight,\n SlideOutLeft,\n useAnimatedGestureHandler,\n useAnimatedProps,\n useAnimatedReaction,\n useAnimatedRef,\n useAnimatedScrollHandler,\n useAnimatedStyle,\n useDerivedValue,\n useSharedValue,\n withDecay,\n withDelay,\n withRepeat,\n withSequence,\n withSpring,\n withTiming,\n ZoomIn,\n ZoomOut,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,SAAS,eAAkB,cAAiB;AAC1C,QAAO;EACL,OAAO;EACP,aAAa,KAAK,IAAI;EACtB,gBAAgB,KAAK,IAAI;EACzB,QAAQ,KAAK,IAAI;EAClB;;AAIH,SAAS,gBAAmB,WAAkC;AAC5D,KAAI;AACF,SAAO,EAAE,OAAO,WAAW,EAAE;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YAAa,UAAuC,eAAe,UAAU,QAAQ,YAAY;AACjI,QAAO;;AAIT,MAAM,WAAW;CACf,MAAM;CACN,MAAM;CACN,OAAO;CACP,YAAY;CACZ;CACD;AAGD,MAAM,SAAS,EAAE,UAAU,KAAK,IAAI,CAAC,gBAAgB,EAAE;AACvD,MAAM,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC,gBAAgB,EAAE;AACxD,MAAM,eAAe,EAAE,UAAU,KAAK,IAAI,CAAC,gBAAgB,EAAE;AAC7D,MAAM,eAAe,EAAE,UAAU,KAAK,IAAI,CAAC,gBAAgB,EAAE;AAC7D,MAAM,SAAS,EAAE,UAAU,KAAK,IAAI,CAAC,gBAAgB,EAAE;AACvD,MAAM,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC,gBAAgB,EAAE;AAGxD,SAAS,cAAc,OAAgC;AACrD,KAAI,OAAO,UAAU,SACnB,QAAO;AAET,QAAO,QAAS,SAAS,KAAM,IAAI,IAAK,SAAS,IAAK,IAAI,IAAI,QAAQ,IAAI;;AAI5E,SAAS,QAAmD,IAAU;AACpE,QAAO;;AAGT,SAAS,QAAmD,IAAU;AACpE,QAAO;;AAIT,SAAS,YAAqB;AAC5B,QAAO;;AAIT,MAAM,kBAAkB,KAAK,IAAI;AAGjC,MAAM,UAAU,KAAK,UAAU;CAC7B,GAAG;CACH,GAAG;CACH,OAAO;CACP,QAAQ;CACR,OAAO;CACP,OAAO;CACR,EAAE;AAGH,MAAM,WAAW,KAAK,IAAI"}
1
+ {"version":3,"file":"reanimated.js","names":["Comp"],"sources":["../../../src/jest/mocks/reanimated.tsx"],"sourcesContent":["/**\n * Jest mock for react-native-reanimated.\n *\n * Provides minimal implementations for testing components\n * that use Reanimated animations.\n */\n\n/// <reference types=\"jest\" />\n\nimport type { ComponentType, PropsWithChildren, ReactNode } from 'react';\nimport React from 'react';\n\n// Shared value mock\nfunction useSharedValue<T>(initialValue: T) {\n return {\n value: initialValue,\n addListener: jest.fn(),\n removeListener: jest.fn(),\n modify: jest.fn(),\n };\n}\n\n// Derived value mock\nfunction useDerivedValue<T>(derivedFn: () => T): { value: T } {\n try {\n return { value: derivedFn() };\n } catch {\n return { value: undefined as T };\n }\n}\n\n// Animated style mock - returns empty object for snapshots\nfunction useAnimatedStyle<T extends object>(styleWorklet: () => T): T {\n try {\n return styleWorklet();\n } catch {\n return {} as T;\n }\n}\n\n// Animation timing functions - return the target value immediately\nfunction withTiming<T>(toValue: T): T {\n return toValue;\n}\n\nfunction withSpring<T>(toValue: T): T {\n return toValue;\n}\n\nfunction withDelay<T>(_delay: number, animation: T): T {\n return animation;\n}\n\nfunction withSequence<T>(...animations: T[]): T {\n return animations[animations.length - 1];\n}\n\nfunction withRepeat<T>(animation: T): T {\n return animation;\n}\n\nfunction withDecay(config: { velocity?: number; deceleration?: number }): number {\n return config.velocity ?? 0;\n}\n\n// Interpolation mock\nfunction interpolate(\n value: number,\n inputRange: readonly number[],\n outputRange: readonly number[],\n _extrapolation?: 'clamp' | 'extend' | { extrapolateLeft?: string; extrapolateRight?: string },\n): number {\n // Simple linear interpolation for testing\n if (value <= inputRange[0]) {\n return outputRange[0];\n }\n if (value >= inputRange[inputRange.length - 1]) {\n return outputRange[outputRange.length - 1];\n }\n\n // Find the segment\n for (let i = 0; i < inputRange.length - 1; i++) {\n if (value >= inputRange[i] && value <= inputRange[i + 1]) {\n const progress = (value - inputRange[i]) / (inputRange[i + 1] - inputRange[i]);\n return outputRange[i] + progress * (outputRange[i + 1] - outputRange[i]);\n }\n }\n\n return outputRange[outputRange.length - 1];\n}\n\nfunction interpolateColor(\n value: number,\n inputRange: readonly number[],\n outputRange: readonly string[],\n): string {\n if (value <= inputRange[0]) {\n return outputRange[0];\n }\n if (value >= inputRange[inputRange.length - 1]) {\n return outputRange[outputRange.length - 1];\n }\n // For testing, just return the closest color\n const index = Math.round(\n ((value - inputRange[0]) / (inputRange[inputRange.length - 1] - inputRange[0])) *\n (outputRange.length - 1),\n );\n return outputRange[Math.min(index, outputRange.length - 1)];\n}\n\n// Easing mock\nconst Easing = {\n linear: (t: number) => t,\n ease: (t: number) => t,\n quad: (t: number) => t * t,\n cubic: (t: number) => t * t * t,\n poly: (_n: number) => (t: number) => t,\n sin: (t: number) => t,\n circle: (t: number) => t,\n exp: (t: number) => t,\n elastic: (_bounciness?: number) => (t: number) => t,\n back: (_s?: number) => (t: number) => t,\n bounce: (t: number) => t,\n bezier: () => (t: number) => t,\n bezierFn: () => (t: number) => t,\n in: (easing: (t: number) => number) => easing,\n out: (easing: (t: number) => number) => easing,\n inOut: (easing: (t: number) => number) => easing,\n};\n\n// Gesture handler event hooks\nfunction useAnimatedGestureHandler(): Record<string, unknown> {\n return {};\n}\n\nfunction useAnimatedScrollHandler(): Record<string, unknown> {\n return {};\n}\n\n// Animated props\nfunction useAnimatedProps<T extends object>(propsWorklet: () => T): T {\n try {\n return propsWorklet();\n } catch {\n return {} as T;\n }\n}\n\n// Refs\nfunction useAnimatedRef<T>(): { current: T | null } {\n return { current: null };\n}\n\n// Reactions\nfunction useAnimatedReaction(): void {\n // no-op\n}\n\n// Simple mock components that don't depend on react-native imports\n// (to avoid issues with React Native's Jest mock initialization order)\ninterface MockViewProps {\n children?: ReactNode;\n style?: object;\n testID?: string;\n [key: string]: unknown;\n}\n\nfunction MockView({ children, style, testID, ...props }: MockViewProps) {\n // Use a simple div-like structure for Jest\n return React.createElement('View', { style, testID, ...props }, children);\n}\n\nfunction MockText({ children, style, testID, ...props }: MockViewProps) {\n return React.createElement('Text', { style, testID, ...props }, children);\n}\n\nfunction MockScrollView({ children, style, testID, ...props }: MockViewProps) {\n return React.createElement('ScrollView', { style, testID, ...props }, children);\n}\n\nfunction MockImage({ style, testID = 'AnimatedImage', ...props }: MockViewProps) {\n return React.createElement('Image', { style, testID, ...props });\n}\n\n// Animated component factory - creates a pass-through wrapper\nfunction createAnimatedComponent<T extends ComponentType<object>>(Component: T) {\n function AnimatedComponent({ children, style, ...props }: PropsWithChildren<{ style?: object }>) {\n // Flatten animated styles for rendering\n const flatStyle = Array.isArray(style) ? Object.assign({}, ...style) : style;\n const Comp = Component as ComponentType<{ style?: object; children?: ReactNode }>;\n return (\n <Comp style={flatStyle} {...props}>\n {children}\n </Comp>\n );\n }\n AnimatedComponent.displayName = `Animated(${(Component as { displayName?: string }).displayName || Component.name || 'Component'})`;\n return AnimatedComponent;\n}\n\n// Animated namespace with pre-created mock components\nconst Animated = {\n View: MockView,\n Text: MockText,\n Image: MockImage,\n ScrollView: MockScrollView,\n createAnimatedComponent,\n};\n\n// Layout animations\nconst FadeIn = { duration: jest.fn().mockReturnThis() };\nconst FadeOut = { duration: jest.fn().mockReturnThis() };\nconst SlideInRight = { duration: jest.fn().mockReturnThis() };\nconst SlideOutLeft = { duration: jest.fn().mockReturnThis() };\nconst ZoomIn = { duration: jest.fn().mockReturnThis() };\nconst ZoomOut = { duration: jest.fn().mockReturnThis() };\n\n// Color conversion\nfunction convertToRGBA(color: string | number): string {\n if (typeof color === 'string') {\n return color;\n }\n return `rgba(${(color >> 16) & 255}, ${(color >> 8) & 255}, ${color & 255}, 1)`;\n}\n\n// Run on JS/UI\nfunction runOnJS<T extends (...args: unknown[]) => unknown>(fn: T): T {\n return fn;\n}\n\nfunction runOnUI<T extends (...args: unknown[]) => unknown>(fn: T): T {\n return fn;\n}\n\n// Worklet helper\nfunction isWorklet(): boolean {\n return false;\n}\n\n// Cancel animation\nconst cancelAnimation = jest.fn();\n\n// Measure\nconst measure = jest.fn(() => ({\n x: 0,\n y: 0,\n width: 100,\n height: 100,\n pageX: 0,\n pageY: 0,\n}));\n\n// Scroll to\nconst scrollTo = jest.fn();\n\nexport default Animated;\n\nexport {\n Animated,\n cancelAnimation,\n convertToRGBA,\n createAnimatedComponent,\n Easing,\n FadeIn,\n FadeOut,\n interpolate,\n interpolateColor,\n isWorklet,\n measure,\n runOnJS,\n runOnUI,\n scrollTo,\n SlideInRight,\n SlideOutLeft,\n useAnimatedGestureHandler,\n useAnimatedProps,\n useAnimatedReaction,\n useAnimatedRef,\n useAnimatedScrollHandler,\n useAnimatedStyle,\n useDerivedValue,\n useSharedValue,\n withDecay,\n withDelay,\n withRepeat,\n withSequence,\n withSpring,\n withTiming,\n ZoomIn,\n ZoomOut,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,SAAS,eAAkB,cAAiB;AAC1C,QAAO;EACL,OAAO;EACP,aAAa,KAAK,IAAI;EACtB,gBAAgB,KAAK,IAAI;EACzB,QAAQ,KAAK,IAAI;EAClB;;AAIH,SAAS,gBAAmB,WAAkC;AAC5D,KAAI;AACF,SAAO,EAAE,OAAO,WAAW,EAAE;SACvB;AACN,SAAO,EAAE,OAAO,KAAA,GAAgB;;;AAKpC,SAAS,iBAAmC,cAA0B;AACpE,KAAI;AACF,SAAO,cAAc;SACf;AACN,SAAO,EAAE;;;AAKb,SAAS,WAAc,SAAe;AACpC,QAAO;;AAGT,SAAS,WAAc,SAAe;AACpC,QAAO;;AAGT,SAAS,UAAa,QAAgB,WAAiB;AACrD,QAAO;;AAGT,SAAS,aAAgB,GAAG,YAAoB;AAC9C,QAAO,WAAW,WAAW,SAAS;;AAGxC,SAAS,WAAc,WAAiB;AACtC,QAAO;;AAGT,SAAS,UAAU,QAA8D;AAC/E,QAAO,OAAO,YAAY;;AAI5B,SAAS,YACP,OACA,YACA,aACA,gBACQ;AAER,KAAI,SAAS,WAAW,GACtB,QAAO,YAAY;AAErB,KAAI,SAAS,WAAW,WAAW,SAAS,GAC1C,QAAO,YAAY,YAAY,SAAS;AAI1C,MAAK,IAAI,IAAI,GAAG,IAAI,WAAW,SAAS,GAAG,IACzC,KAAI,SAAS,WAAW,MAAM,SAAS,WAAW,IAAI,IAAI;EACxD,MAAM,YAAY,QAAQ,WAAW,OAAO,WAAW,IAAI,KAAK,WAAW;AAC3E,SAAO,YAAY,KAAK,YAAY,YAAY,IAAI,KAAK,YAAY;;AAIzE,QAAO,YAAY,YAAY,SAAS;;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C,MAAM,UAAU,KAAK,UAAU;CAC7B,GAAG;CACH,GAAG;CACH,OAAO;CACP,QAAQ;CACR,OAAO;CACP,OAAO;CACR,EAAE;AAGH,MAAM,WAAW,KAAK,IAAI"}
@@ -1,9 +1,7 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3
- const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
4
-
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
5
3
  //#region src/jest/mocks/styles.ts
6
- var styles_exports = /* @__PURE__ */ require_runtime.__exportAll({
4
+ var styles_exports = /* @__PURE__ */ require("../../_virtual/_rolldown/runtime.cjs").__exportAll({
7
5
  avatarStyles: () => avatarStyles,
8
6
  badgeStyles: () => badgeStyles,
9
7
  buttonStyles: () => buttonStyles,
@@ -305,7 +303,6 @@ const iconButtonStyles = createComponentStyles({
305
303
  color: "#000000"
306
304
  }
307
305
  });
308
-
309
306
  //#endregion
310
307
  exports.avatarStyles = avatarStyles;
311
308
  exports.badgeStyles = badgeStyles;
@@ -317,11 +314,11 @@ exports.inputStyles = inputStyles;
317
314
  exports.linkStyles = linkStyles;
318
315
  exports.radioStyles = radioStyles;
319
316
  exports.styles = styles;
320
- Object.defineProperty(exports, 'styles_exports', {
321
- enumerable: true,
322
- get: function () {
323
- return styles_exports;
324
- }
317
+ Object.defineProperty(exports, "styles_exports", {
318
+ enumerable: true,
319
+ get: function() {
320
+ return styles_exports;
321
+ }
325
322
  });
326
323
  exports.switchStyles = switchStyles;
327
- exports.textStyles = textStyles;
324
+ exports.textStyles = textStyles;
@@ -1,6 +1,5 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
2
  import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
3
-
4
3
  //#region src/jest/mocks/styles.ts
5
4
  var styles_exports = /* @__PURE__ */ __exportAll({
6
5
  avatarStyles: () => avatarStyles,
@@ -304,7 +303,7 @@ const iconButtonStyles = createComponentStyles({
304
303
  color: "#000000"
305
304
  }
306
305
  });
307
-
308
306
  //#endregion
309
307
  export { avatarStyles, badgeStyles, buttonStyles, checkboxStyles, chipStyles, iconButtonStyles, inputStyles, linkStyles, radioStyles, styles, styles_exports, switchStyles, textStyles };
308
+
310
309
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":[],"sources":["../../../src/jest/mocks/styles.ts"],"sourcesContent":["/**\n * Jest mock for generated/styles.\n *\n * Provides proxy-based mocks for the generated style objects\n * (styles, buttonStyles, etc.) with useVariants as a no-op.\n */\n\n/// <reference types=\"jest\" />\n\n// Default style values for foundation\nconst defaultFoundation = {\n // Layout\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'stretch',\n justifyContent: 'flex-start',\n // Spacing\n padding: 0,\n paddingHorizontal: 0,\n paddingVertical: 0,\n margin: 0,\n gap: 0,\n // Colors\n backgroundColor: 'transparent',\n color: '#000000',\n borderColor: 'transparent',\n // Border\n borderWidth: 0,\n borderRadius: 0,\n // Typography\n fontFamily: 'System',\n fontSize: 14,\n lineHeight: 20,\n fontWeight: 'regular',\n // Effects\n opacity: 1,\n boxShadow: '',\n};\n\n// Create a style object with useVariants attached\nfunction createStyleObject(baseStyles: Record<string, unknown> = {}) {\n const proxy = new Proxy(\n { ...defaultFoundation, ...baseStyles, useVariants: jest.fn() },\n {\n get(target, prop) {\n if (prop === 'useVariants') {\n return jest.fn();\n }\n if (prop in target) {\n return target[prop as keyof typeof target];\n }\n // Return sensible defaults for unknown properties\n if (typeof prop === 'string') {\n if (prop.includes('color') || prop.includes('Color')) {\n return '#000000';\n }\n if (prop.includes('width') || prop.includes('Width')) {\n return 0;\n }\n if (prop.includes('radius') || prop.includes('Radius')) {\n return 0;\n }\n if (prop.includes('size') || prop.includes('Size')) {\n return 16;\n }\n if (prop.includes('spacing') || prop.includes('Spacing')) {\n return 0;\n }\n if (prop.includes('gap') || prop.includes('Gap')) {\n return 0;\n }\n }\n return undefined;\n },\n },\n );\n return proxy;\n}\n\n// Create a component style object (like buttonStyles) with multiple style keys\nfunction createComponentStyles(styleKeys: Record<string, Record<string, unknown>>) {\n const result: Record<string, unknown> = { useVariants: jest.fn() };\n\n for (const [key, baseStyles] of Object.entries(styleKeys)) {\n result[key] = createStyleObject(baseStyles);\n }\n\n return new Proxy(result, {\n get(target, prop) {\n if (prop === 'useVariants') {\n return jest.fn();\n }\n if (prop in target) {\n return target[prop as keyof typeof target];\n }\n // Return a default style object for any unknown key\n if (typeof prop === 'string') {\n return createStyleObject();\n }\n return undefined;\n },\n });\n}\n\n// Main styles export\nexport const styles = createComponentStyles({\n foundation: defaultFoundation,\n});\n\n// Button styles\nexport const buttonStyles = createComponentStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center',\n gap: 8,\n paddingHorizontal: 16,\n paddingVertical: 10,\n backgroundColor: '#6001D2',\n borderRadius: 8,\n borderWidth: 0,\n borderColor: 'transparent',\n opacity: 1,\n boxShadow: '',\n },\n text: {\n fontFamily: 'YahooProductSans-Medium',\n fontSize: 14,\n letterSpacing: 0,\n lineHeight: 20,\n color: '#FFFFFF',\n },\n icon: {\n fontSize: 16,\n iconSizeToken: 'sm',\n lineHeight: 16,\n color: '#FFFFFF',\n },\n});\n\n// Text styles\nexport const textStyles = createComponentStyles({\n root: {\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 14,\n lineHeight: 20,\n color: '#000000',\n },\n});\n\n// Input styles\nexport const inputStyles = createComponentStyles({\n root: {\n display: 'flex',\n flexDirection: 'column',\n gap: 4,\n },\n label: {\n fontFamily: 'YahooProductSans-Medium',\n fontSize: 14,\n lineHeight: 20,\n color: '#000000',\n },\n inputContainer: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n paddingHorizontal: 12,\n paddingVertical: 10,\n backgroundColor: '#FFFFFF',\n borderRadius: 8,\n borderWidth: 1,\n borderColor: '#E0E0E0',\n },\n input: {\n flex: 1,\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 16,\n lineHeight: 24,\n color: '#000000',\n },\n helperText: {\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 12,\n lineHeight: 16,\n color: '#666666',\n },\n});\n\n// Checkbox styles\nexport const checkboxStyles = createComponentStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n gap: 8,\n },\n box: {\n width: 20,\n height: 20,\n borderRadius: 4,\n borderWidth: 2,\n borderColor: '#6001D2',\n backgroundColor: 'transparent',\n },\n label: {\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 14,\n lineHeight: 20,\n color: '#000000',\n },\n});\n\n// Switch styles\nexport const switchStyles = createComponentStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n gap: 8,\n },\n track: {\n width: 48,\n height: 28,\n borderRadius: 14,\n backgroundColor: '#E0E0E0',\n },\n thumb: {\n width: 24,\n height: 24,\n borderRadius: 12,\n backgroundColor: '#FFFFFF',\n },\n label: {\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 14,\n lineHeight: 20,\n color: '#000000',\n },\n});\n\n// Avatar styles\nexport const avatarStyles = createComponentStyles({\n root: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 9999,\n backgroundColor: '#E0E0E0',\n overflow: 'hidden',\n },\n image: {\n width: '100%',\n height: '100%',\n },\n initials: {\n fontFamily: 'YahooProductSans-Medium',\n fontSize: 14,\n color: '#000000',\n },\n});\n\n// Badge styles\nexport const badgeStyles = createComponentStyles({\n root: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n paddingHorizontal: 8,\n paddingVertical: 2,\n borderRadius: 4,\n backgroundColor: '#E0E0E0',\n },\n text: {\n fontFamily: 'YahooProductSans-Medium',\n fontSize: 12,\n lineHeight: 16,\n color: '#000000',\n },\n});\n\n// Chip styles\nexport const chipStyles = createComponentStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n gap: 4,\n paddingHorizontal: 12,\n paddingVertical: 6,\n borderRadius: 16,\n backgroundColor: '#F5F5F5',\n borderWidth: 1,\n borderColor: '#E0E0E0',\n },\n text: {\n fontFamily: 'YahooProductSans-Medium',\n fontSize: 14,\n lineHeight: 20,\n color: '#000000',\n },\n});\n\n// Link styles\nexport const linkStyles = createComponentStyles({\n root: {\n flexDirection: 'row',\n alignItems: 'center',\n gap: 4,\n },\n text: {\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 14,\n lineHeight: 20,\n color: '#6001D2',\n textDecorationLine: 'underline',\n },\n});\n\n// Radio styles\nexport const radioStyles = createComponentStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n gap: 8,\n },\n circle: {\n width: 20,\n height: 20,\n borderRadius: 10,\n borderWidth: 2,\n borderColor: '#6001D2',\n backgroundColor: 'transparent',\n },\n dot: {\n width: 10,\n height: 10,\n borderRadius: 5,\n backgroundColor: '#6001D2',\n },\n label: {\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 14,\n lineHeight: 20,\n color: '#000000',\n },\n});\n\n// IconButton styles\nexport const iconButtonStyles = createComponentStyles({\n root: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 8,\n backgroundColor: 'transparent',\n },\n icon: {\n fontSize: 24,\n color: '#000000',\n },\n});\n\n// Type for StyleProps\nexport interface StyleProps {\n color?: string;\n backgroundColor?: string;\n borderColor?: string;\n borderWidth?: number;\n borderRadius?: number;\n [key: string]: unknown;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAUA,MAAM,oBAAoB;CAExB,SAAS;CACT,eAAe;CACf,YAAY;CACZ,gBAAgB;CAEhB,SAAS;CACT,mBAAmB;CACnB,iBAAiB;CACjB,QAAQ;CACR,KAAK;CAEL,iBAAiB;CACjB,OAAO;CACP,aAAa;CAEb,aAAa;CACb,cAAc;CAEd,YAAY;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;AAGF,MAAa,mBAAmB,sBAAsB;CACpD,MAAM;EACJ,SAAS;EACT,YAAY;EACZ,gBAAgB;EAChB,cAAc;EACd,iBAAiB;EAClB;CACD,MAAM;EACJ,UAAU;EACV,OAAO;EACR;CACF,CAAC"}
1
+ {"version":3,"file":"styles.js","names":[],"sources":["../../../src/jest/mocks/styles.ts"],"sourcesContent":["/**\n * Jest mock for generated/styles.\n *\n * Provides proxy-based mocks for the generated style objects\n * (styles, buttonStyles, etc.) with useVariants as a no-op.\n */\n\n/// <reference types=\"jest\" />\n\n// Default style values for foundation\nconst defaultFoundation = {\n // Layout\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'stretch',\n justifyContent: 'flex-start',\n // Spacing\n padding: 0,\n paddingHorizontal: 0,\n paddingVertical: 0,\n margin: 0,\n gap: 0,\n // Colors\n backgroundColor: 'transparent',\n color: '#000000',\n borderColor: 'transparent',\n // Border\n borderWidth: 0,\n borderRadius: 0,\n // Typography\n fontFamily: 'System',\n fontSize: 14,\n lineHeight: 20,\n fontWeight: 'regular',\n // Effects\n opacity: 1,\n boxShadow: '',\n};\n\n// Create a style object with useVariants attached\nfunction createStyleObject(baseStyles: Record<string, unknown> = {}) {\n const proxy = new Proxy(\n { ...defaultFoundation, ...baseStyles, useVariants: jest.fn() },\n {\n get(target, prop) {\n if (prop === 'useVariants') {\n return jest.fn();\n }\n if (prop in target) {\n return target[prop as keyof typeof target];\n }\n // Return sensible defaults for unknown properties\n if (typeof prop === 'string') {\n if (prop.includes('color') || prop.includes('Color')) {\n return '#000000';\n }\n if (prop.includes('width') || prop.includes('Width')) {\n return 0;\n }\n if (prop.includes('radius') || prop.includes('Radius')) {\n return 0;\n }\n if (prop.includes('size') || prop.includes('Size')) {\n return 16;\n }\n if (prop.includes('spacing') || prop.includes('Spacing')) {\n return 0;\n }\n if (prop.includes('gap') || prop.includes('Gap')) {\n return 0;\n }\n }\n return undefined;\n },\n },\n );\n return proxy;\n}\n\n// Create a component style object (like buttonStyles) with multiple style keys\nfunction createComponentStyles(styleKeys: Record<string, Record<string, unknown>>) {\n const result: Record<string, unknown> = { useVariants: jest.fn() };\n\n for (const [key, baseStyles] of Object.entries(styleKeys)) {\n result[key] = createStyleObject(baseStyles);\n }\n\n return new Proxy(result, {\n get(target, prop) {\n if (prop === 'useVariants') {\n return jest.fn();\n }\n if (prop in target) {\n return target[prop as keyof typeof target];\n }\n // Return a default style object for any unknown key\n if (typeof prop === 'string') {\n return createStyleObject();\n }\n return undefined;\n },\n });\n}\n\n// Main styles export\nexport const styles = createComponentStyles({\n foundation: defaultFoundation,\n});\n\n// Button styles\nexport const buttonStyles = createComponentStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n justifyContent: 'center',\n gap: 8,\n paddingHorizontal: 16,\n paddingVertical: 10,\n backgroundColor: '#6001D2',\n borderRadius: 8,\n borderWidth: 0,\n borderColor: 'transparent',\n opacity: 1,\n boxShadow: '',\n },\n text: {\n fontFamily: 'YahooProductSans-Medium',\n fontSize: 14,\n letterSpacing: 0,\n lineHeight: 20,\n color: '#FFFFFF',\n },\n icon: {\n fontSize: 16,\n iconSizeToken: 'sm',\n lineHeight: 16,\n color: '#FFFFFF',\n },\n});\n\n// Text styles\nexport const textStyles = createComponentStyles({\n root: {\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 14,\n lineHeight: 20,\n color: '#000000',\n },\n});\n\n// Input styles\nexport const inputStyles = createComponentStyles({\n root: {\n display: 'flex',\n flexDirection: 'column',\n gap: 4,\n },\n label: {\n fontFamily: 'YahooProductSans-Medium',\n fontSize: 14,\n lineHeight: 20,\n color: '#000000',\n },\n inputContainer: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n paddingHorizontal: 12,\n paddingVertical: 10,\n backgroundColor: '#FFFFFF',\n borderRadius: 8,\n borderWidth: 1,\n borderColor: '#E0E0E0',\n },\n input: {\n flex: 1,\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 16,\n lineHeight: 24,\n color: '#000000',\n },\n helperText: {\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 12,\n lineHeight: 16,\n color: '#666666',\n },\n});\n\n// Checkbox styles\nexport const checkboxStyles = createComponentStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n gap: 8,\n },\n box: {\n width: 20,\n height: 20,\n borderRadius: 4,\n borderWidth: 2,\n borderColor: '#6001D2',\n backgroundColor: 'transparent',\n },\n label: {\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 14,\n lineHeight: 20,\n color: '#000000',\n },\n});\n\n// Switch styles\nexport const switchStyles = createComponentStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n gap: 8,\n },\n track: {\n width: 48,\n height: 28,\n borderRadius: 14,\n backgroundColor: '#E0E0E0',\n },\n thumb: {\n width: 24,\n height: 24,\n borderRadius: 12,\n backgroundColor: '#FFFFFF',\n },\n label: {\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 14,\n lineHeight: 20,\n color: '#000000',\n },\n});\n\n// Avatar styles\nexport const avatarStyles = createComponentStyles({\n root: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 9999,\n backgroundColor: '#E0E0E0',\n overflow: 'hidden',\n },\n image: {\n width: '100%',\n height: '100%',\n },\n initials: {\n fontFamily: 'YahooProductSans-Medium',\n fontSize: 14,\n color: '#000000',\n },\n});\n\n// Badge styles\nexport const badgeStyles = createComponentStyles({\n root: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n paddingHorizontal: 8,\n paddingVertical: 2,\n borderRadius: 4,\n backgroundColor: '#E0E0E0',\n },\n text: {\n fontFamily: 'YahooProductSans-Medium',\n fontSize: 12,\n lineHeight: 16,\n color: '#000000',\n },\n});\n\n// Chip styles\nexport const chipStyles = createComponentStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n gap: 4,\n paddingHorizontal: 12,\n paddingVertical: 6,\n borderRadius: 16,\n backgroundColor: '#F5F5F5',\n borderWidth: 1,\n borderColor: '#E0E0E0',\n },\n text: {\n fontFamily: 'YahooProductSans-Medium',\n fontSize: 14,\n lineHeight: 20,\n color: '#000000',\n },\n});\n\n// Link styles\nexport const linkStyles = createComponentStyles({\n root: {\n flexDirection: 'row',\n alignItems: 'center',\n gap: 4,\n },\n text: {\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 14,\n lineHeight: 20,\n color: '#6001D2',\n textDecorationLine: 'underline',\n },\n});\n\n// Radio styles\nexport const radioStyles = createComponentStyles({\n root: {\n display: 'flex',\n flexDirection: 'row',\n alignItems: 'center',\n gap: 8,\n },\n circle: {\n width: 20,\n height: 20,\n borderRadius: 10,\n borderWidth: 2,\n borderColor: '#6001D2',\n backgroundColor: 'transparent',\n },\n dot: {\n width: 10,\n height: 10,\n borderRadius: 5,\n backgroundColor: '#6001D2',\n },\n label: {\n fontFamily: 'YahooProductSans-Regular',\n fontSize: 14,\n lineHeight: 20,\n color: '#000000',\n },\n});\n\n// IconButton styles\nexport const iconButtonStyles = createComponentStyles({\n root: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 8,\n backgroundColor: 'transparent',\n },\n icon: {\n fontSize: 24,\n color: '#000000',\n },\n});\n\n// Type for StyleProps\nexport interface StyleProps {\n color?: string;\n backgroundColor?: string;\n borderColor?: string;\n borderWidth?: number;\n borderRadius?: number;\n [key: string]: unknown;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAUA,MAAM,oBAAoB;CAExB,SAAS;CACT,eAAe;CACf,YAAY;CACZ,gBAAgB;CAEhB,SAAS;CACT,mBAAmB;CACnB,iBAAiB;CACjB,QAAQ;CACR,KAAK;CAEL,iBAAiB;CACjB,OAAO;CACP,aAAa;CAEb,aAAa;CACb,cAAc;CAEd,YAAY;CACZ,UAAU;CACV,YAAY;CACZ,YAAY;CAEZ,SAAS;CACT,WAAW;CACZ;AAGD,SAAS,kBAAkB,aAA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;EACd,iBAAiB;EAClB;CACD,MAAM;EACJ,UAAU;EACV,OAAO;EACR;CACF,CAAC"}
@@ -1,11 +1,13 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
3
- const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
2
+ Object.defineProperties(exports, {
3
+ __esModule: { value: true },
4
+ [Symbol.toStringTag]: { value: "Module" }
5
+ });
6
+ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
4
7
  let react = require("react");
5
8
  react = require_runtime.__toESM(react);
6
9
  let react_native = require("react-native");
7
10
  let react_jsx_runtime = require("react/jsx-runtime");
8
-
9
11
  //#region src/jest/mocks/svg.tsx
10
12
  var svg_exports = /* @__PURE__ */ require_runtime.__exportAll({
11
13
  Circle: () => Circle,
@@ -96,7 +98,6 @@ const SvgSymbol = createShapeComponent("Symbol");
96
98
  const SvgImage = createShapeComponent("SvgImage");
97
99
  const ForeignObject = createShapeComponent("ForeignObject");
98
100
  const Marker = createShapeComponent("Marker");
99
-
100
101
  //#endregion
101
102
  exports.Circle = Circle;
102
103
  exports.ClipPath = ClipPath;
@@ -125,9 +126,9 @@ exports.TSpan = TSpan;
125
126
  exports.Text = SvgText;
126
127
  exports.TextPath = TextPath;
127
128
  exports.Use = Use;
128
- Object.defineProperty(exports, 'svg_exports', {
129
- enumerable: true,
130
- get: function () {
131
- return svg_exports;
132
- }
133
- });
129
+ Object.defineProperty(exports, "svg_exports", {
130
+ enumerable: true,
131
+ get: function() {
132
+ return svg_exports;
133
+ }
134
+ });
@@ -1,9 +1,8 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
2
  import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
3
- import React from "react";
3
+ import "react";
4
4
  import { View } from "react-native";
5
5
  import { jsx } from "react/jsx-runtime";
6
-
7
6
  //#region src/jest/mocks/svg.tsx
8
7
  var svg_exports = /* @__PURE__ */ __exportAll({
9
8
  Circle: () => Circle,
@@ -94,7 +93,7 @@ const SvgSymbol = createShapeComponent("Symbol");
94
93
  const SvgImage = createShapeComponent("SvgImage");
95
94
  const ForeignObject = createShapeComponent("ForeignObject");
96
95
  const Marker = createShapeComponent("Marker");
97
-
98
96
  //#endregion
99
97
  export { Circle, ClipPath, Defs, Ellipse, ForeignObject, G, SvgImage as Image, Line, LinearGradient, Marker, Mask, Path, Pattern, Polygon, Polyline, RadialGradient, Rect, Stop, Svg, Svg as default, SvgUri, SvgXml, SvgSymbol as Symbol, TSpan, SvgText as Text, TextPath, Use, svg_exports };
98
+
100
99
  //# sourceMappingURL=svg.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"svg.js","names":[],"sources":["../../../src/jest/mocks/svg.tsx"],"sourcesContent":["/**\n * Jest mock for react-native-svg.\n *\n * Provides minimal implementations for testing components\n * that render SVG icons.\n */\n\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\nimport { View } from 'react-native';\n\n// Common SVG element props\ninterface SvgProps extends PropsWithChildren {\n width?: number | string;\n height?: number | string;\n viewBox?: string;\n fill?: string;\n stroke?: string;\n style?: object;\n testID?: string;\n}\n\n// Main Svg component\nfunction Svg({ children, testID = 'Svg', style, ...props }: SvgProps) {\n return (\n <View testID={testID} style={style as object} {...props}>\n {children}\n </View>\n );\n}\n\n// SvgXml for inline XML rendering (used by Icon multicolor)\nfunction SvgXml({\n xml: _xml,\n width,\n height,\n ...props\n}: {\n xml: string;\n width?: number | string;\n height?: number | string;\n}) {\n return (\n <View testID=\"SvgXml\" style={{ width: width as number, height: height as number }} {...props} />\n );\n}\n\n// SvgUri for remote SVG loading\nfunction SvgUri({\n uri: _uri,\n width,\n height,\n ...props\n}: {\n uri: string;\n width?: number | string;\n height?: number | string;\n}) {\n return (\n <View testID=\"SvgUri\" style={{ width: width as number, height: height as number }} {...props} />\n );\n}\n\n// SVG shape elements - render as View with testID\n// Using a helper to create shape components with proper typing\nfunction createShapeComponent(testID: string) {\n return function ShapeComponent({ children, style }: SvgProps) {\n return (\n <View testID={testID} style={style as object}>\n {children}\n </View>\n );\n };\n}\n\nconst Circle = createShapeComponent('Circle');\nconst Rect = createShapeComponent('Rect');\nconst Path = createShapeComponent('Path');\nconst Line = createShapeComponent('Line');\nconst Polygon = createShapeComponent('Polygon');\nconst Polyline = createShapeComponent('Polyline');\nconst Ellipse = createShapeComponent('Ellipse');\nconst SvgText = createShapeComponent('SvgText');\nconst TSpan = createShapeComponent('TSpan');\nconst TextPath = createShapeComponent('TextPath');\nconst G = createShapeComponent('G');\nconst Use = createShapeComponent('Use');\nconst Defs = createShapeComponent('Defs');\nconst ClipPath = createShapeComponent('ClipPath');\nconst Mask = createShapeComponent('Mask');\nconst LinearGradient = createShapeComponent('LinearGradient');\nconst RadialGradient = createShapeComponent('RadialGradient');\nconst Stop = createShapeComponent('Stop');\nconst Pattern = createShapeComponent('Pattern');\nconst SvgSymbol = createShapeComponent('Symbol');\nconst SvgImage = createShapeComponent('SvgImage');\nconst ForeignObject = createShapeComponent('ForeignObject');\nconst Marker = createShapeComponent('Marker');\n\nexport default Svg;\n\n// Export with react-native-svg compatible names\nexport {\n Circle,\n ClipPath,\n Defs,\n Ellipse,\n ForeignObject,\n G,\n SvgImage as Image,\n Line,\n LinearGradient,\n Marker,\n Mask,\n Path,\n Pattern,\n Polygon,\n Polyline,\n RadialGradient,\n Rect,\n Stop,\n Svg,\n SvgUri,\n SvgXml,\n SvgSymbol as Symbol,\n SvgText as Text,\n TextPath,\n TSpan,\n Use,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,SAAS,IAAI,EAAE,UAAU,SAAS,OAAO,OAAO,GAAG,SAAmB;AACpE,QACE,oBAAC;EAAa;EAAe;EAAiB,GAAI;EAC/C;GACI;;AAKX,SAAS,OAAO,EACd,KAAK,MACL,OACA,QACA,GAAG,SAKF;AACD,QACE,oBAAC;EAAK,QAAO;EAAS,OAAO;GAAS;GAAyB;GAAkB;EAAE,GAAI;GAAS;;AAKpG,SAAS,OAAO,EACd,KAAK,MACL,OACA,QACA,GAAG,SAKF;AACD,QACE,oBAAC;EAAK,QAAO;EAAS,OAAO;GAAS;GAAyB;GAAkB;EAAE,GAAI;GAAS;;AAMpG,SAAS,qBAAqB,QAAgB;AAC5C,QAAO,SAAS,eAAe,EAAE,UAAU,SAAmB;AAC5D,SACE,oBAAC;GAAa;GAAe;GAC1B;IACI;;;AAKb,MAAM,SAAS,qBAAqB,SAAS;AAC7C,MAAM,OAAO,qBAAqB,OAAO;AACzC,MAAM,OAAO,qBAAqB,OAAO;AACzC,MAAM,OAAO,qBAAqB,OAAO;AACzC,MAAM,UAAU,qBAAqB,UAAU;AAC/C,MAAM,WAAW,qBAAqB,WAAW;AACjD,MAAM,UAAU,qBAAqB,UAAU;AAC/C,MAAM,UAAU,qBAAqB,UAAU;AAC/C,MAAM,QAAQ,qBAAqB,QAAQ;AAC3C,MAAM,WAAW,qBAAqB,WAAW;AACjD,MAAM,IAAI,qBAAqB,IAAI;AACnC,MAAM,MAAM,qBAAqB,MAAM;AACvC,MAAM,OAAO,qBAAqB,OAAO;AACzC,MAAM,WAAW,qBAAqB,WAAW;AACjD,MAAM,OAAO,qBAAqB,OAAO;AACzC,MAAM,iBAAiB,qBAAqB,iBAAiB;AAC7D,MAAM,iBAAiB,qBAAqB,iBAAiB;AAC7D,MAAM,OAAO,qBAAqB,OAAO;AACzC,MAAM,UAAU,qBAAqB,UAAU;AAC/C,MAAM,YAAY,qBAAqB,SAAS;AAChD,MAAM,WAAW,qBAAqB,WAAW;AACjD,MAAM,gBAAgB,qBAAqB,gBAAgB;AAC3D,MAAM,SAAS,qBAAqB,SAAS"}
1
+ {"version":3,"file":"svg.js","names":[],"sources":["../../../src/jest/mocks/svg.tsx"],"sourcesContent":["/**\n * Jest mock for react-native-svg.\n *\n * Provides minimal implementations for testing components\n * that render SVG icons.\n */\n\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\nimport { View } from 'react-native';\n\n// Common SVG element props\ninterface SvgProps extends PropsWithChildren {\n width?: number | string;\n height?: number | string;\n viewBox?: string;\n fill?: string;\n stroke?: string;\n style?: object;\n testID?: string;\n}\n\n// Main Svg component\nfunction Svg({ children, testID = 'Svg', style, ...props }: SvgProps) {\n return (\n <View testID={testID} style={style as object} {...props}>\n {children}\n </View>\n );\n}\n\n// SvgXml for inline XML rendering (used by Icon multicolor)\nfunction SvgXml({\n xml: _xml,\n width,\n height,\n ...props\n}: {\n xml: string;\n width?: number | string;\n height?: number | string;\n}) {\n return (\n <View testID=\"SvgXml\" style={{ width: width as number, height: height as number }} {...props} />\n );\n}\n\n// SvgUri for remote SVG loading\nfunction SvgUri({\n uri: _uri,\n width,\n height,\n ...props\n}: {\n uri: string;\n width?: number | string;\n height?: number | string;\n}) {\n return (\n <View testID=\"SvgUri\" style={{ width: width as number, height: height as number }} {...props} />\n );\n}\n\n// SVG shape elements - render as View with testID\n// Using a helper to create shape components with proper typing\nfunction createShapeComponent(testID: string) {\n return function ShapeComponent({ children, style }: SvgProps) {\n return (\n <View testID={testID} style={style as object}>\n {children}\n </View>\n );\n };\n}\n\nconst Circle = createShapeComponent('Circle');\nconst Rect = createShapeComponent('Rect');\nconst Path = createShapeComponent('Path');\nconst Line = createShapeComponent('Line');\nconst Polygon = createShapeComponent('Polygon');\nconst Polyline = createShapeComponent('Polyline');\nconst Ellipse = createShapeComponent('Ellipse');\nconst SvgText = createShapeComponent('SvgText');\nconst TSpan = createShapeComponent('TSpan');\nconst TextPath = createShapeComponent('TextPath');\nconst G = createShapeComponent('G');\nconst Use = createShapeComponent('Use');\nconst Defs = createShapeComponent('Defs');\nconst ClipPath = createShapeComponent('ClipPath');\nconst Mask = createShapeComponent('Mask');\nconst LinearGradient = createShapeComponent('LinearGradient');\nconst RadialGradient = createShapeComponent('RadialGradient');\nconst Stop = createShapeComponent('Stop');\nconst Pattern = createShapeComponent('Pattern');\nconst SvgSymbol = createShapeComponent('Symbol');\nconst SvgImage = createShapeComponent('SvgImage');\nconst ForeignObject = createShapeComponent('ForeignObject');\nconst Marker = createShapeComponent('Marker');\n\nexport default Svg;\n\n// Export with react-native-svg compatible names\nexport {\n Circle,\n ClipPath,\n Defs,\n Ellipse,\n ForeignObject,\n G,\n SvgImage as Image,\n Line,\n LinearGradient,\n Marker,\n Mask,\n Path,\n Pattern,\n Polygon,\n Polyline,\n RadialGradient,\n Rect,\n Stop,\n Svg,\n SvgUri,\n SvgXml,\n SvgSymbol as Symbol,\n SvgText as Text,\n TextPath,\n TSpan,\n Use,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,SAAS,IAAI,EAAE,UAAU,SAAS,OAAO,OAAO,GAAG,SAAmB;AACpE,QACE,oBAAC,MAAD;EAAc;EAAe;EAAiB,GAAI;EAC/C;EACI,CAAA;;AAKX,SAAS,OAAO,EACd,KAAK,MACL,OACA,QACA,GAAG,SAKF;AACD,QACE,oBAAC,MAAD;EAAM,QAAO;EAAS,OAAO;GAAS;GAAyB;GAAkB;EAAE,GAAI;EAAS,CAAA;;AAKpG,SAAS,OAAO,EACd,KAAK,MACL,OACA,QACA,GAAG,SAKF;AACD,QACE,oBAAC,MAAD;EAAM,QAAO;EAAS,OAAO;GAAS;GAAyB;GAAkB;EAAE,GAAI;EAAS,CAAA;;AAMpG,SAAS,qBAAqB,QAAgB;AAC5C,QAAO,SAAS,eAAe,EAAE,UAAU,SAAmB;AAC5D,SACE,oBAAC,MAAD;GAAc;GAAe;GAC1B;GACI,CAAA;;;AAKb,MAAM,SAAS,qBAAqB,SAAS;AAC7C,MAAM,OAAO,qBAAqB,OAAO;AACzC,MAAM,OAAO,qBAAqB,OAAO;AACzC,MAAM,OAAO,qBAAqB,OAAO;AACzC,MAAM,UAAU,qBAAqB,UAAU;AAC/C,MAAM,WAAW,qBAAqB,WAAW;AACjD,MAAM,UAAU,qBAAqB,UAAU;AAC/C,MAAM,UAAU,qBAAqB,UAAU;AAC/C,MAAM,QAAQ,qBAAqB,QAAQ;AAC3C,MAAM,WAAW,qBAAqB,WAAW;AACjD,MAAM,IAAI,qBAAqB,IAAI;AACnC,MAAM,MAAM,qBAAqB,MAAM;AACvC,MAAM,OAAO,qBAAqB,OAAO;AACzC,MAAM,WAAW,qBAAqB,WAAW;AACjD,MAAM,OAAO,qBAAqB,OAAO;AACzC,MAAM,iBAAiB,qBAAqB,iBAAiB;AAC7D,MAAM,iBAAiB,qBAAqB,iBAAiB;AAC7D,MAAM,OAAO,qBAAqB,OAAO;AACzC,MAAM,UAAU,qBAAqB,UAAU;AAC/C,MAAM,YAAY,qBAAqB,SAAS;AAChD,MAAM,WAAW,qBAAqB,WAAW;AACjD,MAAM,gBAAgB,qBAAqB,gBAAgB;AAC3D,MAAM,SAAS,qBAAqB,SAAS"}
@@ -1,9 +1,7 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3
- const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
4
-
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
5
3
  //#region src/jest/mocks/unistyles.ts
6
- var unistyles_exports = /* @__PURE__ */ require_runtime.__exportAll({
4
+ var unistyles_exports = /* @__PURE__ */ require("../../_virtual/_rolldown/runtime.cjs").__exportAll({
7
5
  StyleSheet: () => StyleSheet,
8
6
  UnistylesRuntime: () => UnistylesRuntime,
9
7
  useAnimatedTheme: () => useAnimatedTheme,
@@ -127,17 +125,16 @@ const StyleSheet = {
127
125
  const UnistylesRuntime = mockRuntime;
128
126
  const useAnimatedTheme = jest.fn(() => ({ value: mockTheme }));
129
127
  const useAnimatedVariantColor = jest.fn((_path, fallback) => ({ value: fallback ?? "#000000" }));
130
-
131
128
  //#endregion
132
129
  exports.StyleSheet = StyleSheet;
133
130
  exports.UnistylesRuntime = UnistylesRuntime;
134
- Object.defineProperty(exports, 'unistyles_exports', {
135
- enumerable: true,
136
- get: function () {
137
- return unistyles_exports;
138
- }
131
+ Object.defineProperty(exports, "unistyles_exports", {
132
+ enumerable: true,
133
+ get: function() {
134
+ return unistyles_exports;
135
+ }
139
136
  });
140
137
  exports.useAnimatedTheme = useAnimatedTheme;
141
138
  exports.useAnimatedVariantColor = useAnimatedVariantColor;
142
139
  exports.useInitialTheme = useInitialTheme;
143
- exports.useUnistyles = useUnistyles;
140
+ exports.useUnistyles = useUnistyles;
@@ -1,6 +1,5 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
2
  import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
3
-
4
3
  //#region src/jest/mocks/unistyles.ts
5
4
  var unistyles_exports = /* @__PURE__ */ __exportAll({
6
5
  StyleSheet: () => StyleSheet,
@@ -126,7 +125,7 @@ const StyleSheet = {
126
125
  const UnistylesRuntime = mockRuntime;
127
126
  const useAnimatedTheme = jest.fn(() => ({ value: mockTheme }));
128
127
  const useAnimatedVariantColor = jest.fn((_path, fallback) => ({ value: fallback ?? "#000000" }));
129
-
130
128
  //#endregion
131
129
  export { StyleSheet, UnistylesRuntime, unistyles_exports, useAnimatedTheme, useAnimatedVariantColor, useInitialTheme, useUnistyles };
130
+
132
131
  //# sourceMappingURL=unistyles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"unistyles.js","names":[],"sources":["../../../src/jest/mocks/unistyles.ts"],"sourcesContent":["/**\n * Jest mock for react-native-unistyles.\n *\n * Provides minimal implementations of:\n * - useUnistyles() hook\n * - StyleSheet.create() / StyleSheet.configure()\n * - UnistylesRuntime\n */\n\n/// <reference types=\"jest\" />\n\nconst mockTheme = {\n colors: {\n text: {\n primary: '#000000',\n secondary: '#666666',\n tertiary: '#999999',\n muted: '#CCCCCC',\n onColor: '#FFFFFF',\n brand: '#6001D2',\n alert: '#D93025',\n positive: '#188038',\n warning: '#F29900',\n info: '#1A73E8',\n },\n background: {\n primary: '#FFFFFF',\n secondary: '#F5F5F5',\n accent: '#E8E0F0',\n brand: '#6001D2',\n 'brand-secondary': '#F3E8FF',\n alert: '#D93025',\n 'alert-secondary': '#FDECEA',\n positive: '#188038',\n 'positive-secondary': '#E6F4EA',\n warning: '#F29900',\n 'warning-secondary': '#FEF7E0',\n info: '#1A73E8',\n 'info-secondary': '#E8F0FE',\n 'elevation-0': '#FFFFFF',\n 'elevation-1': '#FFFFFF',\n 'elevation-2': '#FFFFFF',\n 'elevation-3': '#FFFFFF',\n 'elevation-4': '#FFFFFF',\n 'elevation-5': '#FFFFFF',\n },\n border: {\n primary: '#E0E0E0',\n secondary: '#CCCCCC',\n },\n },\n spacing: {\n '0': 0,\n '1': 4,\n '2': 8,\n '3': 12,\n '4': 16,\n '5': 20,\n '6': 24,\n '8': 32,\n '10': 40,\n '12': 48,\n },\n borderRadius: {\n none: 0,\n xs: 2,\n sm: 4,\n md: 8,\n lg: 12,\n xl: 16,\n full: 9999,\n },\n components: {},\n};\n\nconst mockRuntime = {\n themeName: 'light' as 'light' | 'dark',\n colorScheme: 'light' as 'light' | 'dark',\n setTheme: jest.fn(),\n setColorScheme: jest.fn(),\n screen: {\n width: 375,\n height: 812,\n },\n insets: {\n top: 44,\n bottom: 34,\n left: 0,\n right: 0,\n },\n statusBar: {\n height: 44,\n },\n navigationBar: {\n height: 0,\n },\n};\n\nconst useUnistyles = jest.fn(() => ({\n theme: mockTheme,\n rt: mockRuntime,\n}));\n\nconst useInitialTheme = jest.fn();\n\n// StyleSheet mock that handles both static and dynamic styles\nconst createStyleSheet = (styleCreator: unknown) => {\n // If it's a function (dynamic styles), call it with mock theme\n if (typeof styleCreator === 'function') {\n const styles = styleCreator(mockTheme, mockRuntime);\n // Add useVariants as a no-op for each style object\n if (styles && typeof styles === 'object') {\n const result = { ...styles };\n for (const key of Object.keys(result)) {\n const styleObj = result[key];\n if (styleObj && typeof styleObj === 'object') {\n (styleObj as Record<string, unknown>).useVariants = jest.fn();\n }\n }\n return result;\n }\n return styles;\n }\n // Static styles, return as-is\n return styleCreator;\n};\n\nconst StyleSheet = {\n create: createStyleSheet,\n configure: jest.fn(),\n};\n\nconst UnistylesRuntime = mockRuntime;\n\n// react-native-unistyles/reanimated exports\n// These are used for animated theme values in components like Button, Switch, Link, IconButton\n\nconst useAnimatedTheme = jest.fn(() => ({\n value: mockTheme,\n}));\n\nconst useAnimatedVariantColor = jest.fn((_path: string, fallback?: string) => ({\n value: fallback ?? '#000000',\n}));\n\n// All exports at the end of the file\nexport {\n StyleSheet,\n UnistylesRuntime,\n useAnimatedTheme,\n useAnimatedVariantColor,\n useInitialTheme,\n useUnistyles,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAWA,MAAM,YAAY;CAChB,QAAQ;EACN,MAAM;GACJ,SAAS;GACT,WAAW;GACX,UAAU;GACV,OAAO;GACP,SAAS;GACT,OAAO;GACP,OAAO;GACP,UAAU;GACV,SAAS;GACT,MAAM;GACP;EACD,YAAY;GACV,SAAS;GACT,WAAW;GACX,QAAQ;GACR,OAAO;GACP,mBAAmB;GACnB,OAAO;GACP,mBAAmB;GACnB,UAAU;GACV,sBAAsB;GACtB,SAAS;GACT,qBAAqB;GACrB,MAAM;GACN,kBAAkB;GAClB,eAAe;GACf,eAAe;GACf,eAAe;GACf,eAAe;GACf,eAAe;GACf,eAAe;GAChB;EACD,QAAQ;GACN,SAAS;GACT,WAAW;GACZ;EACF;CACD,SAAS;EACP,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,MAAM;EACN,MAAM;EACP;CACD,cAAc;EACZ,MAAM;EACN,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,MAAM;EACP;CACD,YAAY,EAAE;CACf;AAED,MAAM,cAAc;CAClB,WAAW;CACX,aAAa;CACb,UAAU,KAAK,IAAI;CACnB,gBAAgB,KAAK,IAAI;CACzB,QAAQ;EACN,OAAO;EACP,QAAQ;EACT;CACD,QAAQ;EACN,KAAK;EACL,QAAQ;EACR,MAAM;EACN,OAAO;EACR;CACD,WAAW,EACT,QAAQ,IACT;CACD,eAAe,EACb,QAAQ,GACT;CACF;AAED,MAAM,eAAe,KAAK,UAAU;CAClC,OAAO;CACP,IAAI;CACL,EAAE;AAEH,MAAM,kBAAkB,KAAK,IAAI;AAGjC,MAAM,oBAAoB,iBAA0B;AAElD,KAAI,OAAO,iBAAiB,YAAY;EACtC,MAAM,SAAS,aAAa,WAAW,YAAY;AAEnD,MAAI,UAAU,OAAO,WAAW,UAAU;GACxC,MAAM,SAAS,EAAE,GAAG,QAAQ;AAC5B,QAAK,MAAM,OAAO,OAAO,KAAK,OAAO,EAAE;IACrC,MAAM,WAAW,OAAO;AACxB,QAAI,YAAY,OAAO,aAAa,SAClC,CAAC,SAAqC,cAAc,KAAK,IAAI;;AAGjE,UAAO;;AAET,SAAO;;AAGT,QAAO;;AAGT,MAAM,aAAa;CACjB,QAAQ;CACR,WAAW,KAAK,IAAI;CACrB;AAED,MAAM,mBAAmB;AAKzB,MAAM,mBAAmB,KAAK,UAAU,EACtC,OAAO,WACR,EAAE;AAEH,MAAM,0BAA0B,KAAK,IAAI,OAAe,cAAuB,EAC7E,OAAO,YAAY,WACpB,EAAE"}
1
+ {"version":3,"file":"unistyles.js","names":[],"sources":["../../../src/jest/mocks/unistyles.ts"],"sourcesContent":["/**\n * Jest mock for react-native-unistyles.\n *\n * Provides minimal implementations of:\n * - useUnistyles() hook\n * - StyleSheet.create() / StyleSheet.configure()\n * - UnistylesRuntime\n */\n\n/// <reference types=\"jest\" />\n\nconst mockTheme = {\n colors: {\n text: {\n primary: '#000000',\n secondary: '#666666',\n tertiary: '#999999',\n muted: '#CCCCCC',\n onColor: '#FFFFFF',\n brand: '#6001D2',\n alert: '#D93025',\n positive: '#188038',\n warning: '#F29900',\n info: '#1A73E8',\n },\n background: {\n primary: '#FFFFFF',\n secondary: '#F5F5F5',\n accent: '#E8E0F0',\n brand: '#6001D2',\n 'brand-secondary': '#F3E8FF',\n alert: '#D93025',\n 'alert-secondary': '#FDECEA',\n positive: '#188038',\n 'positive-secondary': '#E6F4EA',\n warning: '#F29900',\n 'warning-secondary': '#FEF7E0',\n info: '#1A73E8',\n 'info-secondary': '#E8F0FE',\n 'elevation-0': '#FFFFFF',\n 'elevation-1': '#FFFFFF',\n 'elevation-2': '#FFFFFF',\n 'elevation-3': '#FFFFFF',\n 'elevation-4': '#FFFFFF',\n 'elevation-5': '#FFFFFF',\n },\n border: {\n primary: '#E0E0E0',\n secondary: '#CCCCCC',\n },\n },\n spacing: {\n '0': 0,\n '1': 4,\n '2': 8,\n '3': 12,\n '4': 16,\n '5': 20,\n '6': 24,\n '8': 32,\n '10': 40,\n '12': 48,\n },\n borderRadius: {\n none: 0,\n xs: 2,\n sm: 4,\n md: 8,\n lg: 12,\n xl: 16,\n full: 9999,\n },\n components: {},\n};\n\nconst mockRuntime = {\n themeName: 'light' as 'light' | 'dark',\n colorScheme: 'light' as 'light' | 'dark',\n setTheme: jest.fn(),\n setColorScheme: jest.fn(),\n screen: {\n width: 375,\n height: 812,\n },\n insets: {\n top: 44,\n bottom: 34,\n left: 0,\n right: 0,\n },\n statusBar: {\n height: 44,\n },\n navigationBar: {\n height: 0,\n },\n};\n\nconst useUnistyles = jest.fn(() => ({\n theme: mockTheme,\n rt: mockRuntime,\n}));\n\nconst useInitialTheme = jest.fn();\n\n// StyleSheet mock that handles both static and dynamic styles\nconst createStyleSheet = (styleCreator: unknown) => {\n // If it's a function (dynamic styles), call it with mock theme\n if (typeof styleCreator === 'function') {\n const styles = styleCreator(mockTheme, mockRuntime);\n // Add useVariants as a no-op for each style object\n if (styles && typeof styles === 'object') {\n const result = { ...styles };\n for (const key of Object.keys(result)) {\n const styleObj = result[key];\n if (styleObj && typeof styleObj === 'object') {\n (styleObj as Record<string, unknown>).useVariants = jest.fn();\n }\n }\n return result;\n }\n return styles;\n }\n // Static styles, return as-is\n return styleCreator;\n};\n\nconst StyleSheet = {\n create: createStyleSheet,\n configure: jest.fn(),\n};\n\nconst UnistylesRuntime = mockRuntime;\n\n// react-native-unistyles/reanimated exports\n// These are used for animated theme values in components like Button, Switch, Link, IconButton\n\nconst useAnimatedTheme = jest.fn(() => ({\n value: mockTheme,\n}));\n\nconst useAnimatedVariantColor = jest.fn((_path: string, fallback?: string) => ({\n value: fallback ?? '#000000',\n}));\n\n// All exports at the end of the file\nexport {\n StyleSheet,\n UnistylesRuntime,\n useAnimatedTheme,\n useAnimatedVariantColor,\n useInitialTheme,\n useUnistyles,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAWA,MAAM,YAAY;CAChB,QAAQ;EACN,MAAM;GACJ,SAAS;GACT,WAAW;GACX,UAAU;GACV,OAAO;GACP,SAAS;GACT,OAAO;GACP,OAAO;GACP,UAAU;GACV,SAAS;GACT,MAAM;GACP;EACD,YAAY;GACV,SAAS;GACT,WAAW;GACX,QAAQ;GACR,OAAO;GACP,mBAAmB;GACnB,OAAO;GACP,mBAAmB;GACnB,UAAU;GACV,sBAAsB;GACtB,SAAS;GACT,qBAAqB;GACrB,MAAM;GACN,kBAAkB;GAClB,eAAe;GACf,eAAe;GACf,eAAe;GACf,eAAe;GACf,eAAe;GACf,eAAe;GAChB;EACD,QAAQ;GACN,SAAS;GACT,WAAW;GACZ;EACF;CACD,SAAS;EACP,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,MAAM;EACN,MAAM;EACP;CACD,cAAc;EACZ,MAAM;EACN,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,MAAM;EACP;CACD,YAAY,EAAE;CACf;AAED,MAAM,cAAc;CAClB,WAAW;CACX,aAAa;CACb,UAAU,KAAK,IAAI;CACnB,gBAAgB,KAAK,IAAI;CACzB,QAAQ;EACN,OAAO;EACP,QAAQ;EACT;CACD,QAAQ;EACN,KAAK;EACL,QAAQ;EACR,MAAM;EACN,OAAO;EACR;CACD,WAAW,EACT,QAAQ,IACT;CACD,eAAe,EACb,QAAQ,GACT;CACF;AAED,MAAM,eAAe,KAAK,UAAU;CAClC,OAAO;CACP,IAAI;CACL,EAAE;AAEH,MAAM,kBAAkB,KAAK,IAAI;AAGjC,MAAM,oBAAoB,iBAA0B;AAElD,KAAI,OAAO,iBAAiB,YAAY;EACtC,MAAM,SAAS,aAAa,WAAW,YAAY;AAEnD,MAAI,UAAU,OAAO,WAAW,UAAU;GACxC,MAAM,SAAS,EAAE,GAAG,QAAQ;AAC5B,QAAK,MAAM,OAAO,OAAO,KAAK,OAAO,EAAE;IACrC,MAAM,WAAW,OAAO;AACxB,QAAI,YAAY,OAAO,aAAa,SACjC,UAAqC,cAAc,KAAK,IAAI;;AAGjE,UAAO;;AAET,SAAO;;AAGT,QAAO;;AAGT,MAAM,aAAa;CACjB,QAAQ;CACR,WAAW,KAAK,IAAI;CACrB;AAED,MAAM,mBAAmB;AAKzB,MAAM,mBAAmB,KAAK,UAAU,EACtC,OAAO,WACR,EAAE;AAEH,MAAM,0BAA0B,KAAK,IAAI,OAAe,cAAuB,EAC7E,OAAO,YAAY,WACpB,EAAE"}
@@ -1,10 +1,9 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3
- const require_jest_mocks_icons = require('./mocks/icons.cjs');
4
- const require_jest_mocks_reanimated = require('./mocks/reanimated.cjs');
5
- const require_jest_mocks_svg = require('./mocks/svg.cjs');
6
- const require_jest_mocks_unistyles = require('./mocks/unistyles.cjs');
7
-
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const require_jest_mocks_icons = require("./mocks/icons.cjs");
4
+ const require_jest_mocks_reanimated = require("./mocks/reanimated.cjs");
5
+ const require_jest_mocks_svg = require("./mocks/svg.cjs");
6
+ const require_jest_mocks_unistyles = require("./mocks/unistyles.cjs");
8
7
  //#region src/jest/setup.ts
9
8
  /**
10
9
  * Registers Jest mocks for native dependencies.
@@ -34,7 +33,6 @@ function setupUDSMobileJest() {
34
33
  function resetSetupState() {
35
34
  isSetup = false;
36
35
  }
37
-
38
36
  //#endregion
39
37
  exports.resetSetupState = resetSetupState;
40
- exports.setupUDSMobileJest = setupUDSMobileJest;
38
+ exports.setupUDSMobileJest = setupUDSMobileJest;
@@ -3,7 +3,6 @@ import { ICON_SIZE_MAP, glyphMap, glyphNames, svgGlyphNames, svgMap } from "./mo
3
3
  import { reanimated_exports } from "./mocks/reanimated.js";
4
4
  import { svg_exports } from "./mocks/svg.js";
5
5
  import { unistyles_exports, useAnimatedTheme, useAnimatedVariantColor } from "./mocks/unistyles.js";
6
-
7
6
  //#region src/jest/setup.ts
8
7
  /**
9
8
  * Registers Jest mocks for native dependencies.
@@ -33,7 +32,7 @@ function setupUDSMobileJest() {
33
32
  function resetSetupState() {
34
33
  isSetup = false;
35
34
  }
36
-
37
35
  //#endregion
38
36
  export { resetSetupState, setupUDSMobileJest };
37
+
39
38
  //# sourceMappingURL=setup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"setup.js","names":["mockUnistyles","mockUnistyles.useAnimatedTheme","mockUnistyles.useAnimatedVariantColor","mockReanimated","mockSvg","mockIcons.glyphMap","mockIcons.glyphNames","mockIcons.svgMap","mockIcons.svgGlyphNames","mockIcons.ICON_SIZE_MAP"],"sources":["../../src/jest/setup.ts"],"sourcesContent":["/**\n * Registers Jest mocks for native dependencies.\n */\n\n// Jest allows variables prefixed with 'mock' in jest.mock() factories\nimport * as mockIcons from './mocks/icons';\nimport * as mockReanimated from './mocks/reanimated';\nimport * as mockSvg from './mocks/svg';\nimport * as mockUnistyles from './mocks/unistyles';\n\nlet isSetup = false;\n\nexport function setupUDSMobileJest(): void {\n if (isSetup) {\n return;\n }\n\n jest.mock('react-native-unistyles', () => mockUnistyles);\n\n jest.mock('react-native-unistyles/reanimated', () => ({\n useAnimatedTheme: mockUnistyles.useAnimatedTheme,\n useAnimatedVariantColor: mockUnistyles.useAnimatedVariantColor,\n }));\n\n jest.mock('react-native-reanimated', () => mockReanimated);\n\n jest.mock('react-native-svg', () => mockSvg);\n\n jest.mock('@yahoo/uds-icons/glyphMap', () => ({\n glyphMap: mockIcons.glyphMap,\n glyphNames: mockIcons.glyphNames,\n }));\n\n jest.mock('@yahoo/uds-icons/svgMap', () => ({\n svgMap: mockIcons.svgMap,\n svgGlyphNames: mockIcons.svgGlyphNames,\n }));\n\n jest.mock('@yahoo/uds-icons/tokens', () => ({\n ICON_SIZE_MAP: mockIcons.ICON_SIZE_MAP,\n }));\n\n isSetup = true;\n}\n\n/** @internal */\nexport function resetSetupState(): void {\n isSetup = false;\n}\n"],"mappings":";;;;;;;;;;AAUA,IAAI,UAAU;AAEd,SAAgB,qBAA2B;AACzC,KAAI,QACF;AAGF,MAAK,KAAK,gCAAgCA,kBAAc;AAExD,MAAK,KAAK,4CAA4C;EAClCC;EACOC;EAC1B,EAAE;AAEH,MAAK,KAAK,iCAAiCC,mBAAe;AAE1D,MAAK,KAAK,0BAA0BC,YAAQ;AAE5C,MAAK,KAAK,oCAAoC;EAClCC;EACEC;EACb,EAAE;AAEH,MAAK,KAAK,kCAAkC;EAClCC;EACOC;EAChB,EAAE;AAEH,MAAK,KAAK,kCAAkC,EAC3BC,eAChB,EAAE;AAEH,WAAU;;;AAIZ,SAAgB,kBAAwB;AACtC,WAAU"}
1
+ {"version":3,"file":"setup.js","names":["mockUnistyles","mockUnistyles.useAnimatedTheme","mockUnistyles.useAnimatedVariantColor","mockReanimated","mockSvg","mockIcons.glyphMap","mockIcons.glyphNames","mockIcons.svgMap","mockIcons.svgGlyphNames","mockIcons.ICON_SIZE_MAP"],"sources":["../../src/jest/setup.ts"],"sourcesContent":["/**\n * Registers Jest mocks for native dependencies.\n */\n\n// Jest allows variables prefixed with 'mock' in jest.mock() factories\nimport * as mockIcons from './mocks/icons';\nimport * as mockReanimated from './mocks/reanimated';\nimport * as mockSvg from './mocks/svg';\nimport * as mockUnistyles from './mocks/unistyles';\n\nlet isSetup = false;\n\nexport function setupUDSMobileJest(): void {\n if (isSetup) {\n return;\n }\n\n jest.mock('react-native-unistyles', () => mockUnistyles);\n\n jest.mock('react-native-unistyles/reanimated', () => ({\n useAnimatedTheme: mockUnistyles.useAnimatedTheme,\n useAnimatedVariantColor: mockUnistyles.useAnimatedVariantColor,\n }));\n\n jest.mock('react-native-reanimated', () => mockReanimated);\n\n jest.mock('react-native-svg', () => mockSvg);\n\n jest.mock('@yahoo/uds-icons/glyphMap', () => ({\n glyphMap: mockIcons.glyphMap,\n glyphNames: mockIcons.glyphNames,\n }));\n\n jest.mock('@yahoo/uds-icons/svgMap', () => ({\n svgMap: mockIcons.svgMap,\n svgGlyphNames: mockIcons.svgGlyphNames,\n }));\n\n jest.mock('@yahoo/uds-icons/tokens', () => ({\n ICON_SIZE_MAP: mockIcons.ICON_SIZE_MAP,\n }));\n\n isSetup = true;\n}\n\n/** @internal */\nexport function resetSetupState(): void {\n isSetup = false;\n}\n"],"mappings":";;;;;;;;;AAUA,IAAI,UAAU;AAEd,SAAgB,qBAA2B;AACzC,KAAI,QACF;AAGF,MAAK,KAAK,gCAAgCA,kBAAc;AAExD,MAAK,KAAK,4CAA4C;EAClCC;EACOC;EAC1B,EAAE;AAEH,MAAK,KAAK,iCAAiCC,mBAAe;AAE1D,MAAK,KAAK,0BAA0BC,YAAQ;AAE5C,MAAK,KAAK,oCAAoC;EAClCC;EACEC;EACb,EAAE;AAEH,MAAK,KAAK,kCAAkC;EAClCC;EACOC;EAChB,EAAE;AAEH,MAAK,KAAK,kCAAkC,EAC3BC,eAChB,EAAE;AAEH,WAAU;;;AAIZ,SAAgB,kBAAwB;AACtC,WAAU"}
@@ -1,5 +1,4 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
-
3
2
  //#region ../motion-tokens/dist/index.js
4
3
  /*! © 2026 Yahoo, Inc. UDS Motion Tokens v0.0.0-development */
5
4
  /**
@@ -103,7 +102,6 @@ const motion = {
103
102
  }
104
103
  }
105
104
  };
106
-
107
105
  //#endregion
108
106
  exports.SCALE_EFFECTS = SCALE_EFFECTS;
109
- exports.motion = motion;
107
+ exports.motion = motion;
@@ -102,7 +102,7 @@ const motion = {
102
102
  }
103
103
  }
104
104
  };
105
-
106
105
  //#endregion
107
106
  export { SCALE_EFFECTS, motion };
107
+
108
108
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../motion-tokens/dist/index.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Motion Tokens v0.0.0-development */\n//#region src/index.ts\n/**\n* Scale effect values for button press/hover animations.\n* Used by both web (CSS transforms) and mobile (Reanimated).\n*/\nconst SCALE_EFFECTS = {\n\tup: 1.03,\n\tdown: .97,\n\tnone: 1\n};\nconst animation = {\n\tnone: \"none\",\n\tspin: \"spin 1s linear infinite\",\n\tping: \"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite\",\n\tpulse: \"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite\",\n\tbounce: \"bounce 1s infinite\"\n};\nconst transitionDelay = {\n\t\"0\": \"0s\",\n\t\"75\": \"75ms\",\n\t\"100\": \"100ms\",\n\t\"150\": \"150ms\",\n\t\"200\": \"200ms\",\n\t\"300\": \"300ms\",\n\t\"500\": \"500ms\",\n\t\"700\": \"700ms\",\n\t\"1000\": \"1000ms\"\n};\nconst transitionDuration = {\n\t\"0\": \"0s\",\n\t\"75\": \"75ms\",\n\t\"100\": \"100ms\",\n\t\"150\": \"150ms\",\n\t\"200\": \"200ms\",\n\t\"300\": \"300ms\",\n\t\"500\": \"500ms\",\n\t\"700\": \"700ms\",\n\t\"1000\": \"1000ms\"\n};\nconst transitionTiming = {\n\tlinear: \"linear\",\n\tin: \"cubic-bezier(0.4, 0, 1, 1)\",\n\tout: \"cubic-bezier(0, 0, 0.2, 1)\",\n\t\"in-out\": \"cubic-bezier(0.4, 0, 0.2, 1)\"\n};\nconst motion = {\n\tdamped: {\n\t\t\"1\": {\n\t\t\tdamping: 20.585796264350424,\n\t\t\tstiffness: 62.37968115365702\n\t\t},\n\t\t\"2\": {\n\t\t\tdamping: 29.312551281312288,\n\t\t\tstiffness: 126.47801753759964\n\t\t},\n\t\t\"3\": {\n\t\t\tdamping: 48.92799401356162,\n\t\t\tstiffness: 352.3892336537332\n\t\t},\n\t\t\"4\": {\n\t\t\tdamping: 123.42690994256348,\n\t\t\tstiffness: 2242.474548821137\n\t\t}\n\t},\n\tsmooth: {\n\t\t\"1\": {\n\t\t\tdamping: 16.46863701148034,\n\t\t\tstiffness: 67.80400125397502\n\t\t},\n\t\t\"2\": {\n\t\t\tdamping: 23.45004102504983,\n\t\t\tstiffness: 137.47610601913004\n\t\t},\n\t\t\"3\": {\n\t\t\tdamping: 39.1423952108493,\n\t\t\tstiffness: 383.03177571057955\n\t\t},\n\t\t\"4\": {\n\t\t\tdamping: 98.7415279540508,\n\t\t\tstiffness: 2437.4723356751488\n\t\t}\n\t},\n\tsubtle: {\n\t\t\"1\": {\n\t\t\tdamping: 13.04316051309243,\n\t\t\tstiffness: 67.80400125397502\n\t\t},\n\t\t\"2\": {\n\t\t\tdamping: 18.572432491839468,\n\t\t\tstiffness: 137.47610601913004\n\t\t},\n\t\t\"3\": {\n\t\t\tdamping: 31.000777006992646,\n\t\t\tstiffness: 383.03177571057955\n\t\t},\n\t\t\"4\": {\n\t\t\tdamping: 78.20329013960823,\n\t\t\tstiffness: 2437.4723356751488\n\t\t}\n\t},\n\tbouncy: {\n\t\t\"1\": {\n\t\t\tdamping: 9.229712940600143,\n\t\t\tstiffness: 48.880672622541795\n\t\t},\n\t\t\"2\": {\n\t\t\tdamping: 12.634144343496553,\n\t\t\tstiffness: 91.59092691366399\n\t\t},\n\t\t\"3\": {\n\t\t\tdamping: 19.40217701790486,\n\t\t\tstiffness: 216.00395877230474\n\t\t},\n\t\t\"4\": {\n\t\t\tdamping: 37.541723184430275,\n\t\t\tstiffness: 808.7032559422912\n\t\t}\n\t},\n\tveryBouncy: {\n\t\t\"1\": {\n\t\t\tdamping: 6.902290754946187,\n\t\t\tstiffness: 38.92152745126911\n\t\t},\n\t\t\"2\": {\n\t\t\tdamping: 9.155550514215523,\n\t\t\tstiffness: 68.48134828711234\n\t\t},\n\t\t\"3\": {\n\t\t\tdamping: 13.244464908166709,\n\t\t\tstiffness: 143.30858570843873\n\t\t},\n\t\t\"4\": {\n\t\t\tdamping: 22.17862652876726,\n\t\t\tstiffness: 401.85804919502965\n\t\t}\n\t}\n};\n/**\n* SpringMotionConfig default values.\n* Used by both the component and build-time analysis tools.\n*/\nconst SPRING_MOTION_DEFAULTS = {\n\tlayoutVariant: \"subtle\",\n\tlayoutSpeed: \"3\",\n\tcolorVariant: \"smooth\",\n\tcolorSpeed: \"3\"\n};\n\n//#endregion\nexport { SCALE_EFFECTS, SPRING_MOTION_DEFAULTS, animation, motion, transitionDelay, transitionDuration, transitionTiming };\n//# sourceMappingURL=index.js.map"],"mappings":";;;;;;;AAMA,MAAM,gBAAgB;CACrB,IAAI;CACJ,MAAM;CACN,MAAM;CACN;AAoCD,MAAM,SAAS;CACd,QAAQ;EACP,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD;CACD,QAAQ;EACP,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD;CACD,QAAQ;EACP,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD;CACD,QAAQ;EACP,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD;CACD,YAAY;EACX,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD;CACD"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../motion-tokens/dist/index.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Motion Tokens v0.0.0-development */\n//#region src/index.ts\n/**\n* Scale effect values for button press/hover animations.\n* Used by both web (CSS transforms) and mobile (Reanimated).\n*/\nconst SCALE_EFFECTS = {\n\tup: 1.03,\n\tdown: .97,\n\tnone: 1\n};\nconst animation = {\n\tnone: \"none\",\n\tspin: \"spin 1s linear infinite\",\n\tping: \"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite\",\n\tpulse: \"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite\",\n\tbounce: \"bounce 1s infinite\"\n};\nconst transitionDelay = {\n\t\"0\": \"0s\",\n\t\"75\": \"75ms\",\n\t\"100\": \"100ms\",\n\t\"150\": \"150ms\",\n\t\"200\": \"200ms\",\n\t\"300\": \"300ms\",\n\t\"500\": \"500ms\",\n\t\"700\": \"700ms\",\n\t\"1000\": \"1000ms\"\n};\nconst transitionDuration = {\n\t\"0\": \"0s\",\n\t\"75\": \"75ms\",\n\t\"100\": \"100ms\",\n\t\"150\": \"150ms\",\n\t\"200\": \"200ms\",\n\t\"300\": \"300ms\",\n\t\"500\": \"500ms\",\n\t\"700\": \"700ms\",\n\t\"1000\": \"1000ms\"\n};\nconst transitionTiming = {\n\tlinear: \"linear\",\n\tin: \"cubic-bezier(0.4, 0, 1, 1)\",\n\tout: \"cubic-bezier(0, 0, 0.2, 1)\",\n\t\"in-out\": \"cubic-bezier(0.4, 0, 0.2, 1)\"\n};\nconst motion = {\n\tdamped: {\n\t\t\"1\": {\n\t\t\tdamping: 20.585796264350424,\n\t\t\tstiffness: 62.37968115365702\n\t\t},\n\t\t\"2\": {\n\t\t\tdamping: 29.312551281312288,\n\t\t\tstiffness: 126.47801753759964\n\t\t},\n\t\t\"3\": {\n\t\t\tdamping: 48.92799401356162,\n\t\t\tstiffness: 352.3892336537332\n\t\t},\n\t\t\"4\": {\n\t\t\tdamping: 123.42690994256348,\n\t\t\tstiffness: 2242.474548821137\n\t\t}\n\t},\n\tsmooth: {\n\t\t\"1\": {\n\t\t\tdamping: 16.46863701148034,\n\t\t\tstiffness: 67.80400125397502\n\t\t},\n\t\t\"2\": {\n\t\t\tdamping: 23.45004102504983,\n\t\t\tstiffness: 137.47610601913004\n\t\t},\n\t\t\"3\": {\n\t\t\tdamping: 39.1423952108493,\n\t\t\tstiffness: 383.03177571057955\n\t\t},\n\t\t\"4\": {\n\t\t\tdamping: 98.7415279540508,\n\t\t\tstiffness: 2437.4723356751488\n\t\t}\n\t},\n\tsubtle: {\n\t\t\"1\": {\n\t\t\tdamping: 13.04316051309243,\n\t\t\tstiffness: 67.80400125397502\n\t\t},\n\t\t\"2\": {\n\t\t\tdamping: 18.572432491839468,\n\t\t\tstiffness: 137.47610601913004\n\t\t},\n\t\t\"3\": {\n\t\t\tdamping: 31.000777006992646,\n\t\t\tstiffness: 383.03177571057955\n\t\t},\n\t\t\"4\": {\n\t\t\tdamping: 78.20329013960823,\n\t\t\tstiffness: 2437.4723356751488\n\t\t}\n\t},\n\tbouncy: {\n\t\t\"1\": {\n\t\t\tdamping: 9.229712940600143,\n\t\t\tstiffness: 48.880672622541795\n\t\t},\n\t\t\"2\": {\n\t\t\tdamping: 12.634144343496553,\n\t\t\tstiffness: 91.59092691366399\n\t\t},\n\t\t\"3\": {\n\t\t\tdamping: 19.40217701790486,\n\t\t\tstiffness: 216.00395877230474\n\t\t},\n\t\t\"4\": {\n\t\t\tdamping: 37.541723184430275,\n\t\t\tstiffness: 808.7032559422912\n\t\t}\n\t},\n\tveryBouncy: {\n\t\t\"1\": {\n\t\t\tdamping: 6.902290754946187,\n\t\t\tstiffness: 38.92152745126911\n\t\t},\n\t\t\"2\": {\n\t\t\tdamping: 9.155550514215523,\n\t\t\tstiffness: 68.48134828711234\n\t\t},\n\t\t\"3\": {\n\t\t\tdamping: 13.244464908166709,\n\t\t\tstiffness: 143.30858570843873\n\t\t},\n\t\t\"4\": {\n\t\t\tdamping: 22.17862652876726,\n\t\t\tstiffness: 401.85804919502965\n\t\t}\n\t}\n};\n/**\n* SpringMotionConfig default values.\n* Used by both the component and build-time analysis tools.\n*/\nconst SPRING_MOTION_DEFAULTS = {\n\tlayoutVariant: \"subtle\",\n\tlayoutSpeed: \"3\",\n\tcolorVariant: \"smooth\",\n\tcolorSpeed: \"3\"\n};\n//#endregion\nexport { SCALE_EFFECTS, SPRING_MOTION_DEFAULTS, animation, motion, transitionDelay, transitionDuration, transitionTiming };\n\n//# sourceMappingURL=index.js.map"],"mappings":";;;;;;;AAMA,MAAM,gBAAgB;CACrB,IAAI;CACJ,MAAM;CACN,MAAM;CACN;AAoCD,MAAM,SAAS;CACd,QAAQ;EACP,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD;CACD,QAAQ;EACP,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD;CACD,QAAQ;EACP,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD;CACD,QAAQ;EACP,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD;CACD,YAAY;EACX,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD,KAAK;GACJ,SAAS;GACT,WAAW;GACX;EACD;CACD"}
package/dist/motion.cjs CHANGED
@@ -1,7 +1,6 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3
- const require_index = require('./motion-tokens/dist/index.cjs');
4
-
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const require_index = require("./motion-tokens/dist/index.cjs");
5
4
  //#region src/motion.ts
6
5
  /**
7
6
  * Motion configuration for UDS Mobile
@@ -47,11 +46,10 @@ const ANIMATION_DURATION = {
47
46
  normal: 200,
48
47
  slow: 300
49
48
  };
50
-
51
49
  //#endregion
52
50
  exports.ANIMATION_DURATION = ANIMATION_DURATION;
53
51
  exports.BUTTON_SPRING_CONFIG = BUTTON_SPRING_CONFIG;
54
52
  exports.ICON_SPRING_CONFIG = ICON_SPRING_CONFIG;
55
53
  exports.MOTION_CONFIG = MOTION_CONFIG;
56
54
  exports.SCALE_EFFECTS = require_index.SCALE_EFFECTS;
57
- exports.motion = require_index.motion;
55
+ exports.motion = require_index.motion;
package/dist/motion.js CHANGED
@@ -1,6 +1,5 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
2
  import { SCALE_EFFECTS, motion } from "./motion-tokens/dist/index.js";
3
-
4
3
  //#region src/motion.ts
5
4
  /**
6
5
  * Motion configuration for UDS Mobile
@@ -46,7 +45,7 @@ const ANIMATION_DURATION = {
46
45
  normal: 200,
47
46
  slow: 300
48
47
  };
49
-
50
48
  //#endregion
51
49
  export { ANIMATION_DURATION, BUTTON_SPRING_CONFIG, ICON_SPRING_CONFIG, MOTION_CONFIG, SCALE_EFFECTS, motion };
50
+
52
51
  //# sourceMappingURL=motion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"motion.js","names":[],"sources":["../src/motion.ts"],"sourcesContent":["/**\n * Motion configuration for UDS Mobile\n *\n * Imports motion configs from web UDS tokens and provides\n * React Native Reanimated compatible helpers.\n *\n * @see packages/uds/src/tokens/configs/motion.ts\n */\n\nimport { motion } from '@yahoo/uds-motion-tokens';\n\n/* -------------------------------------------------------------------------- */\n/* Spring Motion Configs */\n/* -------------------------------------------------------------------------- */\n\n/**\n * Re-export motion config from web UDS tokens.\n * Contains spring configurations for different animation styles.\n */\nexport { motion };\n\n/**\n * Convenience accessors for commonly used motion configs.\n * Button uses 'subtle.3' for layout animations and 'smooth.3' for color.\n */\nexport const MOTION_CONFIG = {\n subtle: motion.subtle,\n smooth: motion.smooth,\n bouncy: motion.bouncy,\n damped: motion.damped,\n veryBouncy: motion.veryBouncy,\n} as const;\n\n/* -------------------------------------------------------------------------- */\n/* React Native Reanimated Helpers */\n/* -------------------------------------------------------------------------- */\n\n/**\n * Default spring config for button press animations.\n * Uses subtle.3 to match web Button behavior.\n */\nexport const BUTTON_SPRING_CONFIG = {\n damping: motion.subtle['3'].damping,\n stiffness: motion.subtle['3'].stiffness,\n mass: 1,\n} as const;\n\n/**\n * Spring config for icon enter/exit animations.\n */\nexport const ICON_SPRING_CONFIG = {\n damping: motion.smooth['3'].damping,\n stiffness: motion.smooth['3'].stiffness,\n mass: 0.5,\n} as const;\n\n/**\n * Duration constants for non-spring animations (in milliseconds).\n */\nexport const ANIMATION_DURATION = {\n fast: 150,\n normal: 200,\n slow: 300,\n} as const;\n\nexport { SCALE_EFFECTS } from '@yahoo/uds-motion-tokens';\n"],"mappings":";;;;;;;;;;;;;;;;AAyBA,MAAa,gBAAgB;CAC3B,QAAQ,OAAO;CACf,QAAQ,OAAO;CACf,QAAQ,OAAO;CACf,QAAQ,OAAO;CACf,YAAY,OAAO;CACpB;;;;;AAUD,MAAa,uBAAuB;CAClC,SAAS,OAAO,OAAO,KAAK;CAC5B,WAAW,OAAO,OAAO,KAAK;CAC9B,MAAM;CACP;;;;AAKD,MAAa,qBAAqB;CAChC,SAAS,OAAO,OAAO,KAAK;CAC5B,WAAW,OAAO,OAAO,KAAK;CAC9B,MAAM;CACP;;;;AAKD,MAAa,qBAAqB;CAChC,MAAM;CACN,QAAQ;CACR,MAAM;CACP"}
1
+ {"version":3,"file":"motion.js","names":[],"sources":["../src/motion.ts"],"sourcesContent":["/**\n * Motion configuration for UDS Mobile\n *\n * Imports motion configs from web UDS tokens and provides\n * React Native Reanimated compatible helpers.\n *\n * @see packages/uds/src/tokens/configs/motion.ts\n */\n\nimport { motion } from '@yahoo/uds-motion-tokens';\n\n/* -------------------------------------------------------------------------- */\n/* Spring Motion Configs */\n/* -------------------------------------------------------------------------- */\n\n/**\n * Re-export motion config from web UDS tokens.\n * Contains spring configurations for different animation styles.\n */\nexport { motion };\n\n/**\n * Convenience accessors for commonly used motion configs.\n * Button uses 'subtle.3' for layout animations and 'smooth.3' for color.\n */\nexport const MOTION_CONFIG = {\n subtle: motion.subtle,\n smooth: motion.smooth,\n bouncy: motion.bouncy,\n damped: motion.damped,\n veryBouncy: motion.veryBouncy,\n} as const;\n\n/* -------------------------------------------------------------------------- */\n/* React Native Reanimated Helpers */\n/* -------------------------------------------------------------------------- */\n\n/**\n * Default spring config for button press animations.\n * Uses subtle.3 to match web Button behavior.\n */\nexport const BUTTON_SPRING_CONFIG = {\n damping: motion.subtle['3'].damping,\n stiffness: motion.subtle['3'].stiffness,\n mass: 1,\n} as const;\n\n/**\n * Spring config for icon enter/exit animations.\n */\nexport const ICON_SPRING_CONFIG = {\n damping: motion.smooth['3'].damping,\n stiffness: motion.smooth['3'].stiffness,\n mass: 0.5,\n} as const;\n\n/**\n * Duration constants for non-spring animations (in milliseconds).\n */\nexport const ANIMATION_DURATION = {\n fast: 150,\n normal: 200,\n slow: 300,\n} as const;\n\nexport { SCALE_EFFECTS } from '@yahoo/uds-motion-tokens';\n"],"mappings":";;;;;;;;;;;;;;;AAyBA,MAAa,gBAAgB;CAC3B,QAAQ,OAAO;CACf,QAAQ,OAAO;CACf,QAAQ,OAAO;CACf,QAAQ,OAAO;CACf,YAAY,OAAO;CACpB;;;;;AAUD,MAAa,uBAAuB;CAClC,SAAS,OAAO,OAAO,KAAK;CAC5B,WAAW,OAAO,OAAO,KAAK;CAC9B,MAAM;CACP;;;;AAKD,MAAa,qBAAqB;CAChC,SAAS,OAAO,OAAO,KAAK;CAC5B,WAAW,OAAO,OAAO,KAAK;CAC9B,MAAM;CACP;;;;AAKD,MAAa,qBAAqB;CAChC,MAAM;CACN,QAAQ;CACR,MAAM;CACP"}
@@ -1,12 +1,10 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3
-
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
3
  //#region src/native/UDSScreenCornerRadiusModule.ts
5
4
  const nativeModule = (globalThis.expo?.modules)?.UDSScreenCornerRadius ?? null;
6
5
  const loadState = nativeModule ? "loaded" : "failed";
7
6
  const loadListeners = [];
8
-
9
7
  //#endregion
10
8
  exports.loadListeners = loadListeners;
11
9
  exports.loadState = loadState;
12
- exports.nativeModule = nativeModule;
10
+ exports.nativeModule = nativeModule;
@@ -3,7 +3,7 @@
3
3
  const nativeModule = (globalThis.expo?.modules)?.UDSScreenCornerRadius ?? null;
4
4
  const loadState = nativeModule ? "loaded" : "failed";
5
5
  const loadListeners = [];
6
-
7
6
  //#endregion
8
7
  export { loadListeners, loadState, nativeModule };
8
+
9
9
  //# sourceMappingURL=UDSScreenCornerRadiusModule.js.map
package/dist/portal.cjs CHANGED
@@ -1,10 +1,9 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS Mobile v0.0.0-development */
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3
- const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ require("./_virtual/_rolldown/runtime.cjs");
4
4
  let react = require("react");
5
5
  let react_native = require("react-native");
6
6
  let react_jsx_runtime = require("react/jsx-runtime");
7
-
8
7
  //#region src/portal.tsx
9
8
  function portalReducer(state, action) {
10
9
  switch (action.type) {
@@ -75,7 +74,6 @@ function PortalProvider({ children }) {
75
74
  });
76
75
  }
77
76
  const styles = react_native.StyleSheet.create({ overlay: { ...react_native.StyleSheet.absoluteFill } });
78
-
79
77
  //#endregion
80
78
  exports.Portal = Portal;
81
- exports.PortalProvider = PortalProvider;
79
+ exports.PortalProvider = PortalProvider;
package/dist/portal.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- import * as react from "react";
2
+ import * as _$react from "react";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region src/portal.d.ts
@@ -12,7 +12,7 @@ declare function PortalProvider({
12
12
  children
13
13
  }: {
14
14
  children: ReactNode;
15
- }): react.JSX.Element;
15
+ }): _$react.JSX.Element;
16
16
  //#endregion
17
17
  export { Portal, PortalProvider };
18
18
  //# sourceMappingURL=portal.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"portal.d.cts","names":[],"sources":["../src/portal.tsx"],"mappings":";;;;;iBAoFS,MAAA,CAAA;EAAS;AAAA;EAAc,QAAA,EAAU,SAAA;AAAA;AAAA,iBAmBjC,cAAA,CAAA;EAAiB;AAAA;EAAc,QAAA,EAAU,SAAA;AAAA,IAAW,KAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"portal.d.cts","names":[],"sources":["../src/portal.tsx"],"mappings":";;;;;iBAoFS,MAAA,CAAA;EAAS;AAAA;EAAc,QAAA,EAAU,SAAA;AAAA;AAAA,iBAmBjC,cAAA,CAAA;EAAiB;AAAA;EAAc,QAAA,EAAU,SAAA;AAAA,IAAW,OAAA,CAAA,GAAA,CAAA,OAAA"}
package/dist/portal.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- import * as react from "react";
2
+ import * as _$react from "react";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region src/portal.d.ts
@@ -12,7 +12,7 @@ declare function PortalProvider({
12
12
  children
13
13
  }: {
14
14
  children: ReactNode;
15
- }): react.JSX.Element;
15
+ }): _$react.JSX.Element;
16
16
  //#endregion
17
17
  export { Portal, PortalProvider };
18
18
  //# sourceMappingURL=portal.d.ts.map