jfs-components 0.0.5 → 0.0.7

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 (358) hide show
  1. package/lib/commonjs/components/Accordion/Accordion.mdx +1 -1
  2. package/lib/commonjs/components/ActionFooter/ActionFooter.js +2 -14
  3. package/lib/commonjs/components/ActionFooter/ActionFooter.js.map +1 -1
  4. package/lib/commonjs/components/ActionFooter/ActionFooter.mdx +1 -1
  5. package/lib/commonjs/components/ActionTile/ActionTile.js +10 -1
  6. package/lib/commonjs/components/ActionTile/ActionTile.js.map +1 -1
  7. package/lib/commonjs/components/ActionTile/ActionTile.mdx +5 -1
  8. package/lib/commonjs/components/AppBar/AppBar.js +109 -231
  9. package/lib/commonjs/components/AppBar/AppBar.js.map +1 -1
  10. package/lib/commonjs/components/AppBar/AppBar.mdx +51 -39
  11. package/lib/commonjs/components/Avatar/Avatar.mdx +9 -1
  12. package/lib/commonjs/components/AvatarGroup/AvatarGroup.mdx +9 -1
  13. package/lib/commonjs/components/Badge/Badge.mdx +1 -1
  14. package/lib/commonjs/components/Balance/Balance.js +77 -0
  15. package/lib/commonjs/components/Balance/Balance.js.map +1 -0
  16. package/lib/commonjs/components/Balance/Balance.mdx +62 -0
  17. package/lib/commonjs/components/BottomNav/BottomNav.js +9 -1
  18. package/lib/commonjs/components/BottomNav/BottomNav.js.map +1 -1
  19. package/lib/commonjs/components/BottomNav/BottomNav.mdx +5 -1
  20. package/lib/commonjs/components/BottomNavItem/BottomNavItem.js +9 -1
  21. package/lib/commonjs/components/BottomNavItem/BottomNavItem.js.map +1 -1
  22. package/lib/commonjs/components/BottomNavItem/BottomNavItem.mdx +5 -1
  23. package/lib/commonjs/components/Button/Button.mdx +5 -1
  24. package/lib/commonjs/components/ButtonGroup/ButtonGroup.js +64 -0
  25. package/lib/commonjs/components/ButtonGroup/ButtonGroup.js.map +1 -0
  26. package/lib/commonjs/components/ButtonGroup/ButtonGroup.mdx +56 -0
  27. package/lib/commonjs/components/Card/Card.mdx +1 -1
  28. package/lib/commonjs/components/CardFeedback/CardFeedback.mdx +5 -1
  29. package/lib/commonjs/components/ChipGroup/ChipGroup.js +54 -0
  30. package/lib/commonjs/components/ChipGroup/ChipGroup.js.map +1 -0
  31. package/lib/commonjs/components/ChipGroup/ChipGroup.mdx +40 -0
  32. package/lib/commonjs/components/ChipSelect/ChipSelect.js +103 -0
  33. package/lib/commonjs/components/ChipSelect/ChipSelect.js.map +1 -0
  34. package/lib/commonjs/components/ChipSelect/ChipSelect.mdx +80 -0
  35. package/lib/commonjs/components/CtaCard/CtaCard.js +15 -20
  36. package/lib/commonjs/components/CtaCard/CtaCard.js.map +1 -1
  37. package/lib/commonjs/components/CtaCard/CtaCard.mdx +1 -1
  38. package/lib/commonjs/components/Disclaimer/Disclaimer.js +9 -1
  39. package/lib/commonjs/components/Disclaimer/Disclaimer.js.map +1 -1
  40. package/lib/commonjs/components/Disclaimer/Disclaimer.mdx +5 -1
  41. package/lib/commonjs/components/Divider/Divider.mdx +5 -1
  42. package/lib/commonjs/components/Drawer/Drawer.mdx +9 -1
  43. package/lib/commonjs/components/EmptyState/EmptyState.js +138 -0
  44. package/lib/commonjs/components/EmptyState/EmptyState.js.map +1 -0
  45. package/lib/commonjs/components/EmptyState/EmptyState.mdx +73 -0
  46. package/lib/commonjs/components/FilterBar/FilterBar.mdx +1 -1
  47. package/lib/commonjs/components/HStack/HStack.js +67 -0
  48. package/lib/commonjs/components/HStack/HStack.js.map +1 -0
  49. package/lib/commonjs/components/HStack/HStack.mdx +44 -0
  50. package/lib/commonjs/components/IconButton/IconButton.mdx +5 -1
  51. package/lib/commonjs/components/IconCapsule/IconCapsule.js +12 -4
  52. package/lib/commonjs/components/IconCapsule/IconCapsule.js.map +1 -1
  53. package/lib/commonjs/components/IconCapsule/IconCapsule.mdx +12 -4
  54. package/lib/commonjs/components/Introduction.mdx +3 -98
  55. package/lib/commonjs/components/LazyList/LazyList.mdx +1 -1
  56. package/lib/commonjs/components/ListGroup/ListGroup.js +3 -30
  57. package/lib/commonjs/components/ListGroup/ListGroup.js.map +1 -1
  58. package/lib/commonjs/components/ListGroup/ListGroup.mdx +5 -1
  59. package/lib/commonjs/components/ListItem/ListItem.js +5 -37
  60. package/lib/commonjs/components/ListItem/ListItem.js.map +1 -1
  61. package/lib/commonjs/components/ListItem/ListItem.mdx +5 -1
  62. package/lib/commonjs/components/MediaCard/MediaCard.mdx +5 -1
  63. package/lib/commonjs/components/MerchantProfile/MerchantProfile.mdx +1 -1
  64. package/lib/commonjs/components/MoneyValue/MoneyValue.mdx +6 -2
  65. package/lib/commonjs/components/NavArrow/NavArrow.js +42 -17
  66. package/lib/commonjs/components/NavArrow/NavArrow.js.map +1 -1
  67. package/lib/commonjs/components/NavArrow/NavArrow.mdx +5 -1
  68. package/lib/commonjs/components/PageTitle/PageTitle.js +10 -1
  69. package/lib/commonjs/components/PageTitle/PageTitle.js.map +1 -1
  70. package/lib/commonjs/components/PageTitle/PageTitle.mdx +5 -1
  71. package/lib/commonjs/components/Screen/Screen.js +53 -0
  72. package/lib/commonjs/components/Screen/Screen.js.map +1 -0
  73. package/lib/commonjs/components/Screen/Screen.mdx +58 -0
  74. package/lib/commonjs/components/Section/Section.js +3 -25
  75. package/lib/commonjs/components/Section/Section.js.map +1 -1
  76. package/lib/commonjs/components/Section/Section.mdx +5 -1
  77. package/lib/commonjs/components/Stepper/Step.mdx +5 -1
  78. package/lib/commonjs/components/Stepper/StepLabel.mdx +5 -1
  79. package/lib/commonjs/components/Stepper/Stepper.mdx +1 -1
  80. package/lib/commonjs/components/SupportText/SupportText.js +83 -0
  81. package/lib/commonjs/components/SupportText/SupportText.js.map +1 -0
  82. package/lib/commonjs/components/SupportText/SupportText.mdx +48 -0
  83. package/lib/commonjs/components/SupportText/SupportTextIcon.js +47 -0
  84. package/lib/commonjs/components/SupportText/SupportTextIcon.js.map +1 -0
  85. package/lib/commonjs/components/SupportText/SupportTextIcon.mdx +35 -0
  86. package/lib/commonjs/components/SupportText/index.js +21 -0
  87. package/lib/commonjs/components/SupportText/index.js.map +1 -0
  88. package/lib/commonjs/components/TextInput/TextInput.mdx +9 -1
  89. package/lib/commonjs/components/ThreadHero/ThreadHero.mdx +1 -1
  90. package/lib/commonjs/components/Tooltip/Tooltip.mdx +5 -1
  91. package/lib/commonjs/components/TransactionBubble/TransactionBubble.mdx +1 -1
  92. package/lib/commonjs/components/TransactionDetails/TransactionDetails.js +2 -24
  93. package/lib/commonjs/components/TransactionDetails/TransactionDetails.js.map +1 -1
  94. package/lib/commonjs/components/TransactionDetails/TransactionDetails.mdx +1 -1
  95. package/lib/commonjs/components/TransactionStatus/TransactionStatus.mdx +1 -1
  96. package/lib/commonjs/components/UpiHandle/UpiHandle.js +9 -1
  97. package/lib/commonjs/components/UpiHandle/UpiHandle.js.map +1 -1
  98. package/lib/commonjs/components/UpiHandle/UpiHandle.mdx +5 -1
  99. package/lib/commonjs/components/VStack/VStack.js +73 -0
  100. package/lib/commonjs/components/VStack/VStack.js.map +1 -0
  101. package/lib/commonjs/components/VStack/VStack.mdx +44 -0
  102. package/lib/commonjs/components/index.js +28 -0
  103. package/lib/commonjs/components/index.js.map +1 -1
  104. package/lib/commonjs/design-tokens/JFS Variables-variables-full.json +1 -18633
  105. package/lib/commonjs/icons/ic_info.svg +1 -0
  106. package/lib/commonjs/icons/ic_warning.svg +1 -0
  107. package/lib/commonjs/icons/registry.js +2 -2
  108. package/lib/commonjs/icons/registry.js.map +1 -1
  109. package/lib/commonjs/utils/react-utils.js +47 -0
  110. package/lib/commonjs/utils/react-utils.js.map +1 -0
  111. package/lib/module/components/Accordion/Accordion.mdx +1 -1
  112. package/lib/module/components/ActionFooter/ActionFooter.js +2 -14
  113. package/lib/module/components/ActionFooter/ActionFooter.js.map +1 -1
  114. package/lib/module/components/ActionFooter/ActionFooter.mdx +1 -1
  115. package/lib/module/components/ActionTile/ActionTile.js +10 -1
  116. package/lib/module/components/ActionTile/ActionTile.js.map +1 -1
  117. package/lib/module/components/ActionTile/ActionTile.mdx +5 -1
  118. package/lib/module/components/AppBar/AppBar.js +109 -231
  119. package/lib/module/components/AppBar/AppBar.js.map +1 -1
  120. package/lib/module/components/AppBar/AppBar.mdx +51 -39
  121. package/lib/module/components/Avatar/Avatar.mdx +9 -1
  122. package/lib/module/components/AvatarGroup/AvatarGroup.mdx +9 -1
  123. package/lib/module/components/Badge/Badge.mdx +1 -1
  124. package/lib/module/components/Balance/Balance.js +72 -0
  125. package/lib/module/components/Balance/Balance.js.map +1 -0
  126. package/lib/module/components/Balance/Balance.mdx +62 -0
  127. package/lib/module/components/BottomNav/BottomNav.js +9 -1
  128. package/lib/module/components/BottomNav/BottomNav.js.map +1 -1
  129. package/lib/module/components/BottomNav/BottomNav.mdx +5 -1
  130. package/lib/module/components/BottomNavItem/BottomNavItem.js +9 -1
  131. package/lib/module/components/BottomNavItem/BottomNavItem.js.map +1 -1
  132. package/lib/module/components/BottomNavItem/BottomNavItem.mdx +5 -1
  133. package/lib/module/components/Button/Button.mdx +5 -1
  134. package/lib/module/components/ButtonGroup/ButtonGroup.js +59 -0
  135. package/lib/module/components/ButtonGroup/ButtonGroup.js.map +1 -0
  136. package/lib/module/components/ButtonGroup/ButtonGroup.mdx +56 -0
  137. package/lib/module/components/Card/Card.mdx +1 -1
  138. package/lib/module/components/CardFeedback/CardFeedback.mdx +5 -1
  139. package/lib/module/components/ChipGroup/ChipGroup.js +49 -0
  140. package/lib/module/components/ChipGroup/ChipGroup.js.map +1 -0
  141. package/lib/module/components/ChipGroup/ChipGroup.mdx +40 -0
  142. package/lib/module/components/ChipSelect/ChipSelect.js +98 -0
  143. package/lib/module/components/ChipSelect/ChipSelect.js.map +1 -0
  144. package/lib/module/components/ChipSelect/ChipSelect.mdx +80 -0
  145. package/lib/module/components/CtaCard/CtaCard.js +15 -20
  146. package/lib/module/components/CtaCard/CtaCard.js.map +1 -1
  147. package/lib/module/components/CtaCard/CtaCard.mdx +1 -1
  148. package/lib/module/components/Disclaimer/Disclaimer.js +9 -1
  149. package/lib/module/components/Disclaimer/Disclaimer.js.map +1 -1
  150. package/lib/module/components/Disclaimer/Disclaimer.mdx +5 -1
  151. package/lib/module/components/Divider/Divider.mdx +5 -1
  152. package/lib/module/components/Drawer/Drawer.mdx +9 -1
  153. package/lib/module/components/EmptyState/EmptyState.js +132 -0
  154. package/lib/module/components/EmptyState/EmptyState.js.map +1 -0
  155. package/lib/module/components/EmptyState/EmptyState.mdx +73 -0
  156. package/lib/module/components/FilterBar/FilterBar.mdx +1 -1
  157. package/lib/module/components/HStack/HStack.js +61 -0
  158. package/lib/module/components/HStack/HStack.js.map +1 -0
  159. package/lib/module/components/HStack/HStack.mdx +44 -0
  160. package/lib/module/components/IconButton/IconButton.mdx +5 -1
  161. package/lib/module/components/IconCapsule/IconCapsule.js +12 -4
  162. package/lib/module/components/IconCapsule/IconCapsule.js.map +1 -1
  163. package/lib/module/components/IconCapsule/IconCapsule.mdx +12 -4
  164. package/lib/module/components/Introduction.mdx +3 -98
  165. package/lib/module/components/LazyList/LazyList.mdx +1 -1
  166. package/lib/module/components/ListGroup/ListGroup.js +1 -30
  167. package/lib/module/components/ListGroup/ListGroup.js.map +1 -1
  168. package/lib/module/components/ListGroup/ListGroup.mdx +5 -1
  169. package/lib/module/components/ListItem/ListItem.js +1 -35
  170. package/lib/module/components/ListItem/ListItem.js.map +1 -1
  171. package/lib/module/components/ListItem/ListItem.mdx +5 -1
  172. package/lib/module/components/MediaCard/MediaCard.mdx +5 -1
  173. package/lib/module/components/MerchantProfile/MerchantProfile.mdx +1 -1
  174. package/lib/module/components/MoneyValue/MoneyValue.mdx +6 -2
  175. package/lib/module/components/NavArrow/NavArrow.js +42 -17
  176. package/lib/module/components/NavArrow/NavArrow.js.map +1 -1
  177. package/lib/module/components/NavArrow/NavArrow.mdx +5 -1
  178. package/lib/module/components/PageTitle/PageTitle.js +10 -1
  179. package/lib/module/components/PageTitle/PageTitle.js.map +1 -1
  180. package/lib/module/components/PageTitle/PageTitle.mdx +5 -1
  181. package/lib/module/components/Screen/Screen.js +47 -0
  182. package/lib/module/components/Screen/Screen.js.map +1 -0
  183. package/lib/module/components/Screen/Screen.mdx +58 -0
  184. package/lib/module/components/Section/Section.js +1 -23
  185. package/lib/module/components/Section/Section.js.map +1 -1
  186. package/lib/module/components/Section/Section.mdx +5 -1
  187. package/lib/module/components/Stepper/Step.mdx +5 -1
  188. package/lib/module/components/Stepper/StepLabel.mdx +5 -1
  189. package/lib/module/components/Stepper/Stepper.mdx +1 -1
  190. package/lib/module/components/SupportText/SupportText.js +78 -0
  191. package/lib/module/components/SupportText/SupportText.js.map +1 -0
  192. package/lib/module/components/SupportText/SupportText.mdx +48 -0
  193. package/lib/module/components/SupportText/SupportTextIcon.js +42 -0
  194. package/lib/module/components/SupportText/SupportTextIcon.js.map +1 -0
  195. package/lib/module/components/SupportText/SupportTextIcon.mdx +35 -0
  196. package/lib/module/components/SupportText/index.js +5 -0
  197. package/lib/module/components/SupportText/index.js.map +1 -0
  198. package/lib/module/components/TextInput/TextInput.mdx +9 -1
  199. package/lib/module/components/ThreadHero/ThreadHero.mdx +1 -1
  200. package/lib/module/components/Tooltip/Tooltip.mdx +5 -1
  201. package/lib/module/components/TransactionBubble/TransactionBubble.mdx +1 -1
  202. package/lib/module/components/TransactionDetails/TransactionDetails.js +2 -26
  203. package/lib/module/components/TransactionDetails/TransactionDetails.js.map +1 -1
  204. package/lib/module/components/TransactionDetails/TransactionDetails.mdx +1 -1
  205. package/lib/module/components/TransactionStatus/TransactionStatus.mdx +1 -1
  206. package/lib/module/components/UpiHandle/UpiHandle.js +9 -1
  207. package/lib/module/components/UpiHandle/UpiHandle.js.map +1 -1
  208. package/lib/module/components/UpiHandle/UpiHandle.mdx +5 -1
  209. package/lib/module/components/VStack/VStack.js +67 -0
  210. package/lib/module/components/VStack/VStack.js.map +1 -0
  211. package/lib/module/components/VStack/VStack.mdx +44 -0
  212. package/lib/module/components/index.js +4 -0
  213. package/lib/module/components/index.js.map +1 -1
  214. package/lib/module/design-tokens/JFS Variables-variables-full.json +1 -18633
  215. package/lib/module/design-tokens/figma-variables-resolver.js +2 -2
  216. package/lib/module/design-tokens/figma-variables-resolver.js.map +1 -1
  217. package/lib/module/icons/ic_info.svg +1 -0
  218. package/lib/module/icons/ic_warning.svg +1 -0
  219. package/lib/module/icons/registry.js +2 -2
  220. package/lib/module/icons/registry.js.map +1 -1
  221. package/lib/module/utils/react-utils.js +43 -0
  222. package/lib/module/utils/react-utils.js.map +1 -0
  223. package/lib/typescript/components/ActionFooter/ActionFooter.d.ts.map +1 -1
  224. package/lib/typescript/components/ActionTile/ActionTile.d.ts +1 -1
  225. package/lib/typescript/components/ActionTile/ActionTile.d.ts.map +1 -1
  226. package/lib/typescript/components/AppBar/AppBar.d.ts +34 -68
  227. package/lib/typescript/components/AppBar/AppBar.d.ts.map +1 -1
  228. package/lib/typescript/components/Balance/Balance.d.ts +44 -0
  229. package/lib/typescript/components/Balance/Balance.d.ts.map +1 -0
  230. package/lib/typescript/components/BottomNav/BottomNav.d.ts +1 -1
  231. package/lib/typescript/components/BottomNav/BottomNav.d.ts.map +1 -1
  232. package/lib/typescript/components/BottomNavItem/BottomNavItem.d.ts +1 -1
  233. package/lib/typescript/components/BottomNavItem/BottomNavItem.d.ts.map +1 -1
  234. package/lib/typescript/components/ButtonGroup/ButtonGroup.d.ts +36 -0
  235. package/lib/typescript/components/ButtonGroup/ButtonGroup.d.ts.map +1 -0
  236. package/lib/typescript/components/ChipGroup/ChipGroup.d.ts +29 -0
  237. package/lib/typescript/components/ChipGroup/ChipGroup.d.ts.map +1 -0
  238. package/lib/typescript/components/ChipSelect/ChipSelect.d.ts +47 -0
  239. package/lib/typescript/components/ChipSelect/ChipSelect.d.ts.map +1 -0
  240. package/lib/typescript/components/CtaCard/CtaCard.d.ts +1 -1
  241. package/lib/typescript/components/CtaCard/CtaCard.d.ts.map +1 -1
  242. package/lib/typescript/components/Disclaimer/Disclaimer.d.ts +1 -1
  243. package/lib/typescript/components/Disclaimer/Disclaimer.d.ts.map +1 -1
  244. package/lib/typescript/components/EmptyState/EmptyState.d.ts +38 -0
  245. package/lib/typescript/components/EmptyState/EmptyState.d.ts.map +1 -0
  246. package/lib/typescript/components/HStack/HStack.d.ts +41 -0
  247. package/lib/typescript/components/HStack/HStack.d.ts.map +1 -0
  248. package/lib/typescript/components/IconCapsule/IconCapsule.d.ts +1 -1
  249. package/lib/typescript/components/IconCapsule/IconCapsule.d.ts.map +1 -1
  250. package/lib/typescript/components/ListGroup/ListGroup.d.ts.map +1 -1
  251. package/lib/typescript/components/ListItem/ListItem.d.ts.map +1 -1
  252. package/lib/typescript/components/NavArrow/NavArrow.d.ts +3 -3
  253. package/lib/typescript/components/NavArrow/NavArrow.d.ts.map +1 -1
  254. package/lib/typescript/components/PageTitle/PageTitle.d.ts +1 -1
  255. package/lib/typescript/components/PageTitle/PageTitle.d.ts.map +1 -1
  256. package/lib/typescript/components/Screen/Screen.d.ts +23 -0
  257. package/lib/typescript/components/Screen/Screen.d.ts.map +1 -0
  258. package/lib/typescript/components/Section/Section.d.ts.map +1 -1
  259. package/lib/typescript/components/SupportText/SupportText.d.ts +34 -0
  260. package/lib/typescript/components/SupportText/SupportText.d.ts.map +1 -0
  261. package/lib/typescript/components/SupportText/SupportTextIcon.d.ts +10 -0
  262. package/lib/typescript/components/SupportText/SupportTextIcon.d.ts.map +1 -0
  263. package/lib/typescript/components/SupportText/index.d.ts +3 -0
  264. package/lib/typescript/components/SupportText/index.d.ts.map +1 -0
  265. package/lib/typescript/components/TransactionDetails/TransactionDetails.d.ts.map +1 -1
  266. package/lib/typescript/components/UpiHandle/UpiHandle.d.ts +1 -1
  267. package/lib/typescript/components/UpiHandle/UpiHandle.d.ts.map +1 -1
  268. package/lib/typescript/components/VStack/VStack.d.ts +41 -0
  269. package/lib/typescript/components/VStack/VStack.d.ts.map +1 -0
  270. package/lib/typescript/components/index.d.ts +4 -0
  271. package/lib/typescript/components/index.d.ts.map +1 -1
  272. package/lib/typescript/icons/registry.d.ts +1 -1
  273. package/lib/typescript/icons/registry.d.ts.map +1 -1
  274. package/lib/typescript/utils/react-utils.d.ts +7 -0
  275. package/lib/typescript/utils/react-utils.d.ts.map +1 -0
  276. package/package.json +7 -5
  277. package/src/components/.token-metadata.json +468 -12
  278. package/src/components/Accordion/Accordion.mdx +1 -1
  279. package/src/components/ActionFooter/ActionFooter.mdx +1 -1
  280. package/src/components/ActionFooter/ActionFooter.tsx +3 -12
  281. package/src/components/ActionTile/ActionTile.mdx +5 -1
  282. package/src/components/ActionTile/ActionTile.tsx +5 -1
  283. package/src/components/AppBar/AppBar.mdx +51 -39
  284. package/src/components/AppBar/AppBar.tsx +149 -263
  285. package/src/components/Avatar/Avatar.mdx +9 -1
  286. package/src/components/AvatarGroup/AvatarGroup.mdx +9 -1
  287. package/src/components/Badge/Badge.mdx +1 -1
  288. package/src/components/Balance/Balance.mdx +62 -0
  289. package/src/components/Balance/Balance.tsx +107 -0
  290. package/src/components/BottomNav/BottomNav.mdx +5 -1
  291. package/src/components/BottomNav/BottomNav.tsx +6 -3
  292. package/src/components/BottomNavItem/BottomNavItem.mdx +5 -1
  293. package/src/components/BottomNavItem/BottomNavItem.tsx +19 -16
  294. package/src/components/Button/Button.mdx +5 -1
  295. package/src/components/ButtonGroup/ButtonGroup.mdx +56 -0
  296. package/src/components/ButtonGroup/ButtonGroup.tsx +78 -0
  297. package/src/components/Card/Card.mdx +1 -1
  298. package/src/components/CardFeedback/CardFeedback.mdx +5 -1
  299. package/src/components/ChipGroup/ChipGroup.mdx +40 -0
  300. package/src/components/ChipGroup/ChipGroup.tsx +67 -0
  301. package/src/components/ChipSelect/ChipSelect.mdx +80 -0
  302. package/src/components/ChipSelect/ChipSelect.tsx +138 -0
  303. package/src/components/CtaCard/CtaCard.mdx +1 -1
  304. package/src/components/CtaCard/CtaCard.tsx +16 -21
  305. package/src/components/Disclaimer/Disclaimer.mdx +5 -1
  306. package/src/components/Disclaimer/Disclaimer.tsx +6 -3
  307. package/src/components/Divider/Divider.mdx +5 -1
  308. package/src/components/Drawer/Drawer.mdx +9 -1
  309. package/src/components/EmptyState/EmptyState.mdx +73 -0
  310. package/src/components/EmptyState/EmptyState.tsx +181 -0
  311. package/src/components/FilterBar/FilterBar.mdx +1 -1
  312. package/src/components/HStack/HStack.mdx +44 -0
  313. package/src/components/HStack/HStack.tsx +95 -0
  314. package/src/components/IconButton/IconButton.mdx +5 -1
  315. package/src/components/IconCapsule/IconCapsule.mdx +12 -4
  316. package/src/components/IconCapsule/IconCapsule.tsx +13 -10
  317. package/src/components/Introduction.mdx +3 -98
  318. package/src/components/LazyList/LazyList.mdx +1 -1
  319. package/src/components/ListGroup/ListGroup.mdx +5 -1
  320. package/src/components/ListGroup/ListGroup.tsx +5 -43
  321. package/src/components/ListItem/ListItem.mdx +5 -1
  322. package/src/components/ListItem/ListItem.tsx +15 -60
  323. package/src/components/MediaCard/MediaCard.mdx +5 -1
  324. package/src/components/MerchantProfile/MerchantProfile.mdx +1 -1
  325. package/src/components/MoneyValue/MoneyValue.mdx +6 -2
  326. package/src/components/NavArrow/NavArrow.mdx +5 -1
  327. package/src/components/NavArrow/NavArrow.tsx +48 -16
  328. package/src/components/PageTitle/PageTitle.mdx +5 -1
  329. package/src/components/PageTitle/PageTitle.tsx +8 -4
  330. package/src/components/Screen/Screen.mdx +58 -0
  331. package/src/components/Screen/Screen.tsx +60 -0
  332. package/src/components/Section/Section.mdx +5 -1
  333. package/src/components/Section/Section.tsx +17 -46
  334. package/src/components/Stepper/Step.mdx +5 -1
  335. package/src/components/Stepper/StepLabel.mdx +5 -1
  336. package/src/components/Stepper/Stepper.mdx +1 -1
  337. package/src/components/SupportText/SupportText.mdx +48 -0
  338. package/src/components/SupportText/SupportText.tsx +104 -0
  339. package/src/components/SupportText/SupportTextIcon.mdx +35 -0
  340. package/src/components/SupportText/SupportTextIcon.tsx +45 -0
  341. package/src/components/SupportText/index.ts +2 -0
  342. package/src/components/TextInput/TextInput.mdx +9 -1
  343. package/src/components/ThreadHero/ThreadHero.mdx +1 -1
  344. package/src/components/Tooltip/Tooltip.mdx +5 -1
  345. package/src/components/TransactionBubble/TransactionBubble.mdx +1 -1
  346. package/src/components/TransactionDetails/TransactionDetails.mdx +1 -1
  347. package/src/components/TransactionDetails/TransactionDetails.tsx +1 -38
  348. package/src/components/TransactionStatus/TransactionStatus.mdx +1 -1
  349. package/src/components/UpiHandle/UpiHandle.mdx +5 -1
  350. package/src/components/UpiHandle/UpiHandle.tsx +4 -1
  351. package/src/components/VStack/VStack.mdx +44 -0
  352. package/src/components/VStack/VStack.tsx +100 -0
  353. package/src/components/index.ts +4 -0
  354. package/src/design-tokens/JFS Variables-variables-full.json +1 -18633
  355. package/src/icons/ic_info.svg +1 -0
  356. package/src/icons/ic_warning.svg +1 -0
  357. package/src/icons/registry.ts +9 -1
  358. package/src/utils/react-utils.ts +51 -0
@@ -0,0 +1,95 @@
1
+ import React from 'react'
2
+ import { View, StyleProp, ViewStyle, ViewProps } from 'react-native'
3
+ import { getVariableByName } from '../../design-tokens/figma-variables-resolver'
4
+ import { useTokens } from '../../design-tokens/JFSThemeProvider'
5
+ import { cloneChildrenWithModes } from '../../utils/react-utils'
6
+
7
+ export interface HStackProps extends ViewProps {
8
+ /**
9
+ * The content to display inside the stack.
10
+ */
11
+ children?: React.ReactNode;
12
+ /**
13
+ * Alignment of children along the cross axis (vertical for HStack).
14
+ * Maps to alignItems.
15
+ */
16
+ alignVertical?: ViewStyle['alignItems'];
17
+ /**
18
+ * Justification of children along the main axis (horizontal for HStack).
19
+ * Maps to justifyContent.
20
+ */
21
+ justifyHorizontal?: ViewStyle['justifyContent'];
22
+ /**
23
+ * Controls whether children can wrap.
24
+ * Maps to flexWrap.
25
+ */
26
+ wrap?: boolean | 'wrap' | 'nowrap' | 'wrap-reverse';
27
+ /**
28
+ * If true, reverses the direction of the stack (row-reverse).
29
+ */
30
+ reverse?: boolean;
31
+ /**
32
+ * Prop for web semantics, often mapped to HTML tags.
33
+ */
34
+ as?: any;
35
+ /**
36
+ * Modes object to override default variable values.
37
+ */
38
+ modes?: Record<string, any>;
39
+ }
40
+
41
+ /**
42
+ * HStack component for horizontal layout using design token spacing.
43
+ */
44
+ export const HStack = ({
45
+ children,
46
+ alignVertical,
47
+ justifyHorizontal,
48
+ wrap,
49
+ reverse = false,
50
+ as,
51
+ modes: propModes = {},
52
+ style,
53
+ ...rest
54
+ }: HStackProps) => {
55
+ const { modes: globalModes } = useTokens()
56
+ const modes = { ...globalModes, ...propModes }
57
+
58
+ const paddingTop = getVariableByName('hstack/padding/top', modes)
59
+ const paddingBottom = getVariableByName('hstack/padding/bottom', modes)
60
+ const paddingLeft = getVariableByName('hstack/padding/left', modes)
61
+ const paddingRight = getVariableByName('hstack/padding/right', modes)
62
+ const gap = getVariableByName('hstack/gap', modes)
63
+
64
+ const flexWrap = typeof wrap === 'boolean' ? (wrap ? 'wrap' : 'nowrap') : wrap
65
+
66
+ const containerStyle: ViewStyle = {
67
+ flexDirection: reverse ? 'row-reverse' : 'row',
68
+ alignItems: alignVertical,
69
+ justifyContent: justifyHorizontal,
70
+ flexWrap,
71
+ paddingTop,
72
+ paddingBottom,
73
+ paddingLeft,
74
+ paddingRight,
75
+ gap,
76
+ }
77
+
78
+ // Pass modes down to children
79
+ const processedChildren = children
80
+ ? cloneChildrenWithModes(children, modes)
81
+ : null
82
+
83
+ const viewProps = {
84
+ ...rest,
85
+ as,
86
+ }
87
+
88
+ return (
89
+ <View style={[containerStyle, style]} {...viewProps}>
90
+ {processedChildren}
91
+ </View>
92
+ )
93
+ }
94
+
95
+ export default HStack
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas, PureArgsTable as ArgsTable } from '@storybook/addon-docs/blocks';
1
+ import { Meta, Story, Canvas, Controls } from '@storybook/blocks';
2
2
  import * as IconButtonStories from './IconButton.stories';
3
3
  import IconButton from './IconButton';
4
4
  import { AccessibilitySection, AnatomySection, UsageConstraintsSection } from '../docs/DocSections';
@@ -28,6 +28,10 @@ This component uses the following design token collections. Each collection supp
28
28
  ### Color Mode
29
29
  - **Modes:** Light | Dark
30
30
  - **Default:** Light
31
+
32
+ ### Colors Router
33
+ - **Modes:** POC | Old
34
+ - **Default:** POC
31
35
  ## Usage
32
36
 
33
37
  <Canvas>
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas, PureArgsTable as ArgsTable } from '@storybook/addon-docs/blocks';
1
+ import { Meta, Story, Canvas, Controls } from '@storybook/blocks';
2
2
  import * as IconCapsuleStories from './IconCapsule.stories';
3
3
  import IconCapsule from './IconCapsule';
4
4
  import { AccessibilitySection, AnatomySection, UsageConstraintsSection } from '../docs/DocSections';
@@ -17,6 +17,10 @@ This component uses the following design token collections. Each collection supp
17
17
  - **Modes:** M | L | S
18
18
  - **Default:** M
19
19
 
20
+ ### Emphasis
21
+ - **Modes:** High | Medium | Low
22
+ - **Default:** High
23
+
20
24
  ### Appearance.Brand
21
25
  - **Modes:** Primary | Secondary | Neutral
22
26
  - **Default:** Primary
@@ -24,6 +28,10 @@ This component uses the following design token collections. Each collection supp
24
28
  ### Color Mode
25
29
  - **Modes:** Light | Dark
26
30
  - **Default:** Light
31
+
32
+ ### Colors Router
33
+ - **Modes:** POC | Old
34
+ - **Default:** POC
27
35
  ## Usage
28
36
 
29
37
  <Canvas>
@@ -62,11 +70,11 @@ This component uses the following design token collections. Each collection supp
62
70
  This component uses the following design tokens, resolved through `getVariableByName`:
63
71
 
64
72
  - **`iconCapsule/background`**
73
+ - **`iconCapsule/border/color`**
74
+ - **`iconCapsule/border/size`**
75
+ - **`iconCapsule/icon/color`**
65
76
  - **`iconCapsule/icon/size`**
66
77
  - **`iconCapsule/radius`**
67
78
  - **`iconCapsule/size`**
68
- - **`iconCapsuleborder/color`**
69
- - **`iconCapsuleborder/size`**
70
- - **`iconCapsuleicon/color`**
71
79
 
72
80
  All tokens support mode-based theming through the `modes` prop.
@@ -1,6 +1,7 @@
1
1
  import React from 'react'
2
2
  import { View, type StyleProp, type ViewStyle } from 'react-native'
3
3
  import { getVariableByName } from '../../design-tokens/figma-variables-resolver'
4
+ import { useTokens } from '../../design-tokens/JFSThemeProvider'
4
5
  import Icon from '../../icons/Icon'
5
6
 
6
7
  type IconCapsuleProps = {
@@ -38,20 +39,22 @@ type IconCapsuleProps = {
38
39
  * <IconCapsule iconName="ic_card" accessibilityLabel="Credit card icon" />
39
40
  * ```
40
41
  */
41
- function IconCapsule({
42
+ function IconCapsule({
42
43
  iconName = "ic_card",
43
- modes = {},
44
+ modes: propModes = {},
44
45
  accessibilityLabel,
45
46
  accessibilityRole = "image",
46
47
  ...rest
47
48
  }: IconCapsuleProps) {
49
+ const { modes: globalModes } = useTokens()
50
+ const modes = { ...globalModes, ...propModes }
48
51
  // Resolve design tokens using the provided modes
49
52
  const size = getVariableByName('iconCapsule/size', modes) || 42
50
53
  const radius = getVariableByName('iconCapsule/radius', modes) || 9999
51
54
  const backgroundColor = getVariableByName('iconCapsule/background', modes) || '#cfa159'
52
- const borderColor = getVariableByName('iconCapsuleborder/color', modes) || 'rgba(255,255,255,0)'
53
- const borderSize = getVariableByName('iconCapsuleborder/size', modes) || 1
54
- const iconColor = getVariableByName('iconCapsuleicon/color', modes) || '#0f0d0a'
55
+ const borderColor = getVariableByName('iconCapsule/border/color', modes) || 'rgba(255,255,255,0)'
56
+ const borderSize = getVariableByName('iconCapsule/border/size', modes) || 1
57
+ const iconColor = getVariableByName('iconCapsule/icon/color', modes) || '#0f0d0a'
55
58
  const iconSize = getVariableByName('iconCapsule/icon/size', modes) || 18
56
59
 
57
60
  // Convert radius to React Native format (if 9999, use size/2 for perfect circle)
@@ -72,17 +75,17 @@ function IconCapsule({
72
75
 
73
76
  // Generate default accessibility label from icon name if not provided
74
77
  const defaultAccessibilityLabel = accessibilityLabel || iconName.replace(/^ic_/, '').replace(/_/g, ' ').replace(/\b\w/g, l => l.toUpperCase())
75
-
78
+
76
79
  return (
77
- <View
80
+ <View
78
81
  style={containerStyle}
79
82
  accessibilityRole={accessibilityRole}
80
83
  accessibilityLabel={defaultAccessibilityLabel}
81
84
  {...rest}
82
85
  >
83
- <Icon
84
- name={iconName}
85
- size={iconSize}
86
+ <Icon
87
+ name={iconName}
88
+ size={iconSize}
86
89
  color={iconColor}
87
90
  accessibilityElementsHidden={true}
88
91
  importantForAccessibility="no"
@@ -1,102 +1,7 @@
1
- import { Meta } from '@storybook/addon-docs/blocks';
1
+ import { Meta } from '@storybook/blocks';
2
2
 
3
3
  <Meta title="Introduction" />
4
4
 
5
- # Welcome to React Native Storybook
6
-
7
- Welcome to the component library documentation for this React Native project. This Storybook instance provides comprehensive documentation and interactive examples of all components in the application.
8
-
9
- ## What is Storybook?
10
-
11
- Storybook is a tool for building UI components in isolation. It makes development, testing, and documentation easier by providing a sandbox environment where you can:
12
-
13
- - **Develop components in isolation** - Build components without worrying about app-specific dependencies
14
- - **Test edge cases** - Easily test components with different props and states
15
- - **Document components** - Create living documentation that stays in sync with your code
16
- - **Share with your team** - Provide a visual reference for designers and developers
17
-
18
- ## Documentation Contract
19
-
20
- Every component page now follows a consistent template:
21
-
22
- - **Accessibility** — how to label, hint, and expose roles/states so assistive tech users get the right cues.
23
- - **Anatomy** — key slots/parts you can compose or override (leading/trailing, slots, tokens).
24
- - **Usage Constraints** — safe overrides, layout expectations, and behaviors to avoid.
25
-
26
- Use these sections as a checklist when creating or reviewing stories so guidance stays close to the API.
27
-
28
- ## Performance Panel
29
-
30
- A lightweight performance panel is enabled for all stories. Open the **Performance** addon in the Storybook toolbar to inspect mount/remount timings and interaction costs. Use it to:
31
-
32
- - Compare render timing between variants without creating extra stories.
33
- - Spot regressions when props or modes change.
34
- - Validate that heavy children (lists, drawers, sheets) still mount within budget.
35
-
36
- ## Getting Started
37
-
38
- ### Running Storybook
39
-
40
- #### For Web (Development)
41
- ```bash
42
- yarn storybook-web
43
- ```
44
- This will start Storybook on `http://localhost:6006`
45
-
46
- #### For React Native (iOS/Android)
47
- ```bash
48
- # iOS
49
- yarn ios
50
-
51
- # Android
52
- yarn android
53
- ```
54
-
55
- ### Building Storybook for Production
56
- ```bash
57
- yarn build:storybook-web
58
- ```
59
-
60
- ## Component Organization
61
-
62
- Components are organized in the `src/components` directory. Each component typically includes:
63
-
64
- - **Component file** - The main component implementation
65
- - **Story file** - Interactive examples and test cases
66
- - **Documentation** - Comprehensive documentation with usage examples
67
-
68
- ## Available Components
69
-
70
- ### Avatar
71
- - **Avatar** - A flexible avatar component that displays user profile pictures or monogram initials. Supports multiple size modes and is fully integrated with Figma design tokens.
72
-
73
- ### IconCapsule
74
- - **IconCapsule** - A flexible icon capsule component that displays an icon within a styled circular or rounded container. Supports different icons and appearance modes, fully integrated with Figma design tokens.
75
-
76
- ## Documentation Features
77
-
78
- This Storybook instance includes:
79
-
80
- - ✅ **Automatic documentation** - Generated from JSDoc comments and component metadata
81
- - ✅ **Interactive examples** - Live, editable component examples
82
- - ✅ **Props documentation** - Automatic props table generation
83
- - ✅ **MDX support** - Rich documentation with Markdown and JSX
84
-
85
- ## Best Practices
86
-
87
- When creating new components:
88
-
89
- 1. **Add JSDoc comments** - Document your components with JSDoc for automatic documentation
90
- 2. **Create stories** - Add multiple stories showing different states and use cases
91
- 3. **Use TypeScript/PropTypes** - Define prop types for better documentation
92
- 4. **Write MDX docs** - Create comprehensive documentation pages when needed
93
-
94
- ## Resources
95
-
96
- - [Storybook Documentation](https://storybook.js.org/)
97
- - [React Native Storybook](https://github.com/storybookjs/react-native)
98
-
99
- ---
100
-
101
- Happy coding! 🚀
5
+ # Introduction
102
6
 
7
+ Welcome to the JFS Components Library.
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas, PureArgsTable as ArgsTable } from '@storybook/addon-docs/blocks';
1
+ import { Meta, Story, Canvas, Controls } from '@storybook/blocks';
2
2
  import * as LazyListStories from './LazyList.stories';
3
3
  import LazyList from './LazyList';
4
4
  import { AccessibilitySection, AnatomySection, UsageConstraintsSection } from '../docs/DocSections';
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas, PureArgsTable as ArgsTable } from '@storybook/addon-docs/blocks';
1
+ import { Meta, Story, Canvas, Controls } from '@storybook/blocks';
2
2
  import * as ListGroupStories from './ListGroup.stories';
3
3
  import ListGroup from './ListGroup';
4
4
  import { AccessibilitySection, AnatomySection, UsageConstraintsSection } from '../docs/DocSections';
@@ -13,6 +13,10 @@ Helper function to recursively clone children and pass modes prop to components
13
13
 
14
14
  This component uses the following design token collections. Each collection supports multiple modes that can be configured via the `modes` prop.
15
15
 
16
+ ### Colors Router
17
+ - **Modes:** POC | Old
18
+ - **Default:** POC
19
+
16
20
  ### Title Level
17
21
  - **Modes:** Default | Bold
18
22
  - **Default:** Default
@@ -6,45 +6,7 @@ import { getVariableByName } from '../../design-tokens/figma-variables-resolver'
6
6
  * Helper function to recursively clone children and pass modes prop to components that accept it.
7
7
  * This ensures that all child components in slots receive the modes prop from the parent.
8
8
  */
9
- function cloneChildrenWithModes(
10
- children: React.ReactNode,
11
- modes: Record<string, any>
12
- ): React.ReactNode[] {
13
- const result = React.Children.map(children, (child) => {
14
- if (!React.isValidElement(child)) {
15
- return child
16
- }
17
-
18
- // Get existing children
19
- const childChildren = (child.props as any)?.children
20
- const hasChildren = childChildren !== undefined && childChildren !== null
21
-
22
- // Clone the child with modes prop if it doesn't already have one
23
- // or merge with existing modes if it does
24
- // Merge order: parent modes first, then child's explicit modes override them
25
- const existingModes = (child.props as any)?.modes
26
- const mergedModes = existingModes ? { ...modes, ...existingModes } : modes
27
-
28
- // Recursively process children if they exist
29
- const processedChildren: React.ReactNode | undefined = hasChildren
30
- ? cloneChildrenWithModes(
31
- React.Children.toArray(childChildren),
32
- modes
33
- )
34
- : undefined
35
-
36
- // Clone element with modes and processed children
37
- return React.cloneElement(
38
- child,
39
- {
40
- ...(child.props as any),
41
- modes: mergedModes,
42
- },
43
- processedChildren
44
- )
45
- })
46
- return result || []
47
- }
9
+ import { cloneChildrenWithModes } from '../../utils/react-utils'
48
10
 
49
11
  type ListGroupProps = {
50
12
  label?: string;
@@ -126,7 +88,7 @@ function ListGroup({
126
88
  const defaultAccessibilityLabel = accessibilityLabel || label || "List group"
127
89
 
128
90
  return (
129
- <View
91
+ <View
130
92
  style={[containerStyle, style]}
131
93
  accessibilityRole="list"
132
94
  accessibilityLabel={defaultAccessibilityLabel}
@@ -134,8 +96,8 @@ function ListGroup({
134
96
  {...rest}
135
97
  >
136
98
  {label ? (
137
- <Text
138
- style={[labelStyle, processedSlot && { marginBottom: gap }]}
99
+ <Text
100
+ style={[labelStyle, processedSlot && { marginBottom: gap }]}
139
101
  numberOfLines={1}
140
102
  accessibilityElementsHidden={true}
141
103
  importantForAccessibility="no"
@@ -153,7 +115,7 @@ function ListGroup({
153
115
  const items = React.Children.toArray(processedSlot)
154
116
  const isLast = index === items.length - 1
155
117
  const wrapperStyle = !isLast ? { marginBottom: gap } : {}
156
-
118
+
157
119
  return (
158
120
  <View key={child.key || `wrapper-${index}`} style={wrapperStyle}>
159
121
  {child}
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas, PureArgsTable as ArgsTable } from '@storybook/addon-docs/blocks';
1
+ import { Meta, Story, Canvas, Controls } from '@storybook/blocks';
2
2
  import * as ListItemStories from './ListItem.stories';
3
3
  import ListItem from './ListItem';
4
4
  import { AccessibilitySection, AnatomySection, UsageConstraintsSection } from '../docs/DocSections';
@@ -26,6 +26,10 @@ This component uses the following design token collections. Each collection supp
26
26
  ### Color Mode
27
27
  - **Modes:** Light | Dark
28
28
  - **Default:** Light
29
+
30
+ ### Colors Router
31
+ - **Modes:** POC | Old
32
+ - **Default:** POC
29
33
  ## Usage
30
34
 
31
35
  ### Horizontal Layout with NavArrow
@@ -12,52 +12,7 @@ import { usePressableWebSupport, type WebAccessibilityProps } from '../../utils/
12
12
  * @param forcedModes - Optional modes that will ALWAYS be applied last, overriding any other modes.
13
13
  * Useful for slots that need to enforce specific context values.
14
14
  */
15
- function cloneChildrenWithModes(
16
- children: React.ReactNode,
17
- modes: Record<string, any>,
18
- forcedModes?: Record<string, any>
19
- ): React.ReactNode[] {
20
- const result = React.Children.map(children, (child) => {
21
- if (!React.isValidElement(child)) {
22
- return child
23
- }
24
-
25
- // Get existing children
26
- const childChildren = (child.props as any)?.children
27
- const hasChildren = childChildren !== undefined && childChildren !== null
28
-
29
- // Clone the child with modes prop if it doesn't already have one
30
- // or merge with existing modes if it does
31
- // Merge order: parent modes first, then child's explicit modes override them,
32
- // then forcedModes (if provided) are applied last and can never be overridden
33
- const existingModes = (child.props as any)?.modes
34
- const mergedModes = forcedModes
35
- ? { ...modes, ...(existingModes || {}), ...forcedModes }
36
- : existingModes
37
- ? { ...modes, ...existingModes }
38
- : modes
39
-
40
- // Recursively process children if they exist
41
- const processedChildren: React.ReactNode | undefined = hasChildren
42
- ? cloneChildrenWithModes(
43
- React.Children.toArray(childChildren),
44
- modes,
45
- forcedModes
46
- )
47
- : undefined
48
-
49
- // Clone element with modes and processed children
50
- return React.cloneElement(
51
- child,
52
- {
53
- ...(child.props as any),
54
- modes: mergedModes,
55
- },
56
- processedChildren
57
- )
58
- })
59
- return result || []
60
- }
15
+ import { cloneChildrenWithModes } from '../../utils/react-utils'
61
16
 
62
17
  type ListItemProps = {
63
18
  layout?: 'Vertical' | 'Horizontal';
@@ -179,15 +134,15 @@ function ListItem({
179
134
  const sharedLayoutStyle: ViewStyle =
180
135
  layout === 'Horizontal'
181
136
  ? {
182
- flexDirection: 'row' as const,
183
- alignItems: 'center' as const,
184
- gap,
185
- }
137
+ flexDirection: 'row' as const,
138
+ alignItems: 'center' as const,
139
+ gap,
140
+ }
186
141
  : {
187
- flexDirection: 'column' as const,
188
- alignItems: 'center' as const,
189
- gap,
190
- }
142
+ flexDirection: 'column' as const,
143
+ alignItems: 'center' as const,
144
+ gap,
145
+ }
191
146
 
192
147
  const innerContentBaseStyle: ViewStyle = {
193
148
  flexDirection: 'row',
@@ -224,8 +179,8 @@ function ListItem({
224
179
 
225
180
 
226
181
  // Generate default accessibility label from title and supportText if not provided
227
- const defaultAccessibilityLabel = accessibilityLabel ||
228
- (layout === 'Horizontal'
182
+ const defaultAccessibilityLabel = accessibilityLabel ||
183
+ (layout === 'Horizontal'
229
184
  ? `${title}${showSupportText && supportText ? `, ${supportText}` : ''}`
230
185
  : supportText)
231
186
 
@@ -330,8 +285,8 @@ function ListItem({
330
285
  accessibilityRole="button"
331
286
  accessibilityLabel={defaultAccessibilityLabel}
332
287
  accessibilityHint={accessibilityHint}
333
- accessibilityState={{
334
- ...accessibilityState
288
+ accessibilityState={{
289
+ ...accessibilityState
335
290
  }}
336
291
  onPress={onPress}
337
292
  style={({ pressed }) => [
@@ -374,8 +329,8 @@ function ListItem({
374
329
  accessibilityRole="button"
375
330
  accessibilityLabel={defaultAccessibilityLabel}
376
331
  accessibilityHint={accessibilityHint}
377
- accessibilityState={{
378
- ...accessibilityState
332
+ accessibilityState={{
333
+ ...accessibilityState
379
334
  }}
380
335
  onPress={onPress}
381
336
  style={({ pressed }) => [
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas, PureArgsTable as ArgsTable } from '@storybook/addon-docs/blocks';
1
+ import { Meta, Story, Canvas, Controls } from '@storybook/blocks';
2
2
  import * as MediaCardStories from './MediaCard.stories';
3
3
  import MediaCard from './MediaCard';
4
4
  import { AnatomySection, UsageConstraintsSection } from '../docs/DocSections';
@@ -13,6 +13,10 @@ This component uses the following design token collections. Each collection supp
13
13
  ### Contrast Context
14
14
  - **Modes:** on dark | on light
15
15
  - **Default:** on dark
16
+
17
+ ### Colors Router
18
+ - **Modes:** POC | Old
19
+ - **Default:** POC
16
20
  ## Usage
17
21
 
18
22
  <Canvas>
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas, PureArgsTable as ArgsTable } from '@storybook/addon-docs/blocks';
1
+ import { Meta, Story, Canvas, Controls } from '@storybook/blocks';
2
2
  import * as MerchantProfileStories from './MerchantProfile.stories';
3
3
  import MerchantProfile from './MerchantProfile';
4
4
  import { AccessibilitySection, AnatomySection, UsageConstraintsSection } from '../docs/DocSections';
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas, PureArgsTable as ArgsTable } from '@storybook/addon-docs/blocks';
1
+ import { Meta, Story, Canvas, Controls } from '@storybook/blocks';
2
2
  import * as MoneyValueStories from './MoneyValue.stories';
3
3
  import MoneyValue from './MoneyValue';
4
4
  import { AccessibilitySection, AnatomySection, UsageConstraintsSection } from '../docs/DocSections';
@@ -17,8 +17,12 @@ This component uses the following design token collections. Each collection supp
17
17
  - **Modes:** Light | Dark
18
18
  - **Default:** Light
19
19
 
20
+ ### Colors Router
21
+ - **Modes:** POC | Old
22
+ - **Default:** POC
23
+
20
24
  ### Context3
21
- - **Modes:** Default | Transaction Bubble
25
+ - **Modes:** Default | Transaction Bubble | Balance
22
26
  - **Default:** Default
23
27
  ## Usage
24
28
 
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas, PureArgsTable as ArgsTable } from '@storybook/addon-docs/blocks';
1
+ import { Meta, Story, Canvas, Controls } from '@storybook/blocks';
2
2
  import * as NavArrowStories from './NavArrow.stories';
3
3
  import NavArrow from './NavArrow';
4
4
 
@@ -16,6 +16,10 @@ This component uses the following design token collections. Each collection supp
16
16
  - **Modes:** Light | Dark
17
17
  - **Default:** Light
18
18
 
19
+ ### Colors Router
20
+ - **Modes:** POC | Old
21
+ - **Default:** POC
22
+
19
23
  ### Context2
20
24
  - **Modes:** Default | AppBar
21
25
  - **Default:** Default