jfs-components 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/lib/commonjs/components/ActionTile/ActionTile.js +10 -1
  2. package/lib/commonjs/components/ActionTile/ActionTile.js.map +1 -1
  3. package/lib/commonjs/components/AppBar/AppBar.js +18 -2
  4. package/lib/commonjs/components/AppBar/AppBar.js.map +1 -1
  5. package/lib/commonjs/components/BottomNav/BottomNav.js +9 -1
  6. package/lib/commonjs/components/BottomNav/BottomNav.js.map +1 -1
  7. package/lib/commonjs/components/BottomNavItem/BottomNavItem.js +9 -1
  8. package/lib/commonjs/components/BottomNavItem/BottomNavItem.js.map +1 -1
  9. package/lib/commonjs/components/CtaCard/CtaCard.js +10 -2
  10. package/lib/commonjs/components/CtaCard/CtaCard.js.map +1 -1
  11. package/lib/commonjs/components/Disclaimer/Disclaimer.js +9 -1
  12. package/lib/commonjs/components/Disclaimer/Disclaimer.js.map +1 -1
  13. package/lib/commonjs/components/IconCapsule/IconCapsule.js +9 -1
  14. package/lib/commonjs/components/IconCapsule/IconCapsule.js.map +1 -1
  15. package/lib/commonjs/components/PageTitle/PageTitle.js +10 -1
  16. package/lib/commonjs/components/PageTitle/PageTitle.js.map +1 -1
  17. package/lib/commonjs/components/UpiHandle/UpiHandle.js +9 -1
  18. package/lib/commonjs/components/UpiHandle/UpiHandle.js.map +1 -1
  19. package/lib/commonjs/design-tokens/figma-variables-resolver.js +9 -3
  20. package/lib/commonjs/design-tokens/figma-variables-resolver.js.map +2 -1
  21. package/lib/commonjs/icons/registry.js +1 -1
  22. package/lib/module/components/ActionTile/ActionTile.js +10 -1
  23. package/lib/module/components/ActionTile/ActionTile.js.map +1 -1
  24. package/lib/module/components/AppBar/AppBar.js +18 -2
  25. package/lib/module/components/AppBar/AppBar.js.map +1 -1
  26. package/lib/module/components/BottomNav/BottomNav.js +9 -1
  27. package/lib/module/components/BottomNav/BottomNav.js.map +1 -1
  28. package/lib/module/components/BottomNavItem/BottomNavItem.js +9 -1
  29. package/lib/module/components/BottomNavItem/BottomNavItem.js.map +1 -1
  30. package/lib/module/components/CtaCard/CtaCard.js +10 -2
  31. package/lib/module/components/CtaCard/CtaCard.js.map +1 -1
  32. package/lib/module/components/Disclaimer/Disclaimer.js +9 -1
  33. package/lib/module/components/Disclaimer/Disclaimer.js.map +1 -1
  34. package/lib/module/components/IconCapsule/IconCapsule.js +9 -1
  35. package/lib/module/components/IconCapsule/IconCapsule.js.map +1 -1
  36. package/lib/module/components/PageTitle/PageTitle.js +10 -1
  37. package/lib/module/components/PageTitle/PageTitle.js.map +1 -1
  38. package/lib/module/components/UpiHandle/UpiHandle.js +9 -1
  39. package/lib/module/components/UpiHandle/UpiHandle.js.map +1 -1
  40. package/lib/module/design-tokens/figma-variables-resolver.js.map +2 -1
  41. package/lib/module/icons/registry.js +1 -1
  42. package/lib/typescript/components/ActionTile/ActionTile.d.ts +1 -1
  43. package/lib/typescript/components/ActionTile/ActionTile.d.ts.map +1 -1
  44. package/lib/typescript/components/AppBar/AppBar.d.ts +2 -2
  45. package/lib/typescript/components/AppBar/AppBar.d.ts.map +1 -1
  46. package/lib/typescript/components/BottomNav/BottomNav.d.ts +1 -1
  47. package/lib/typescript/components/BottomNav/BottomNav.d.ts.map +1 -1
  48. package/lib/typescript/components/BottomNavItem/BottomNavItem.d.ts +1 -1
  49. package/lib/typescript/components/BottomNavItem/BottomNavItem.d.ts.map +1 -1
  50. package/lib/typescript/components/CtaCard/CtaCard.d.ts +1 -1
  51. package/lib/typescript/components/CtaCard/CtaCard.d.ts.map +1 -1
  52. package/lib/typescript/components/Disclaimer/Disclaimer.d.ts +1 -1
  53. package/lib/typescript/components/Disclaimer/Disclaimer.d.ts.map +1 -1
  54. package/lib/typescript/components/IconCapsule/IconCapsule.d.ts +1 -1
  55. package/lib/typescript/components/IconCapsule/IconCapsule.d.ts.map +1 -1
  56. package/lib/typescript/components/PageTitle/PageTitle.d.ts +1 -1
  57. package/lib/typescript/components/PageTitle/PageTitle.d.ts.map +1 -1
  58. package/lib/typescript/components/UpiHandle/UpiHandle.d.ts +1 -1
  59. package/lib/typescript/components/UpiHandle/UpiHandle.d.ts.map +1 -1
  60. package/lib/typescript/icons/registry.d.ts +1 -1
  61. package/package.json +1 -1
  62. package/src/components/ActionTile/ActionTile.tsx +5 -1
  63. package/src/components/AppBar/AppBar.tsx +18 -11
  64. package/src/components/BottomNav/BottomNav.tsx +6 -3
  65. package/src/components/BottomNavItem/BottomNavItem.tsx +19 -16
  66. package/src/components/CtaCard/CtaCard.tsx +5 -2
  67. package/src/components/Disclaimer/Disclaimer.tsx +6 -3
  68. package/src/components/IconCapsule/IconCapsule.tsx +10 -7
  69. package/src/components/PageTitle/PageTitle.tsx +8 -4
  70. package/src/components/UpiHandle/UpiHandle.tsx +4 -1
  71. package/src/icons/registry.ts +1 -1
@@ -1,6 +1,7 @@
1
1
  import React, { useState } from 'react'
2
2
  import { Pressable, View, Text, Image, type ViewStyle, type TextStyle, type ImageStyle } 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
  // Default static asset from the component folder.
@@ -40,7 +41,7 @@ type UpiHandleProps = {
40
41
  */
41
42
  function UpiHandle({
42
43
  label = 'Label',
43
- modes = {},
44
+ modes: propModes = {},
44
45
  showIcon = true,
45
46
  iconName = 'ic_scan_qr_code',
46
47
  onPress,
@@ -49,6 +50,8 @@ function UpiHandle({
49
50
  accessibilityHint,
50
51
  ...rest
51
52
  }: UpiHandleProps) {
53
+ const { modes: globalModes } = useTokens()
54
+ const modes = { ...globalModes, ...propModes }
52
55
  // Token‑driven container styling
53
56
  const backgroundColor =
54
57
  getVariableByName('upiHandle/background', modes) || '#f5f5f5'
@@ -4,7 +4,7 @@
4
4
  * Auto-generated from SVG files in src/icons/
5
5
  * DO NOT EDIT MANUALLY - Run "npm run icons:generate" to regenerate
6
6
  *
7
- * Generated: 2026-01-22T08:22:14.301Z
7
+ * Generated: 2026-01-22T12:09:47.639Z
8
8
  */
9
9
 
10
10
  // Icon name to SVG data mapping