jfs-components 0.0.58 → 0.0.59

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.
@@ -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-04-14T19:47:53.357Z
7
+ * Generated: 2026-04-14T20:02:24.340Z
8
8
  */
9
9
  export declare const iconRegistry: Record<string, {
10
10
  path: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jfs-components",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "description": "React Native Jio Finance Components Library",
5
5
  "author": "sunshuaiqi@gmail.com",
6
6
  "license": "MIT",
@@ -97,7 +97,7 @@ function Button({
97
97
  const lineHeight = getVariableByName('button/lineHeight', modes) || 19
98
98
  const fontSize = getVariableByName('button/fontSize', modes) || 16
99
99
  const textColor = getVariableByName('button/foreground', modes) || '#0f0d0a'
100
- const iconColor = getVariableByName('button/icon/color', modes) ?? textColor
100
+ const iconColor = textColor
101
101
  const iconSize = getVariableByName('button/icon/size', modes) ?? 18
102
102
 
103
103
  const [isHovered, setIsHovered] = useState(false)
@@ -48,7 +48,7 @@ function ButtonGroup({
48
48
  style,
49
49
  }: ButtonGroupProps) {
50
50
  // Resolve design tokens
51
- const gap = getVariableByName('buttonGroup/padding/gap', modes) ?? 12
51
+ const gap = getVariableByName('buttonGroup/gap', modes) ?? 12
52
52
  const paddingHorizontal = getVariableByName('buttonGroup/padding/horizontal', modes) ?? 0
53
53
  const paddingVertical = getVariableByName('buttonGroup/padding/vertical', modes) ?? 0
54
54
 
@@ -276,7 +276,7 @@ function Drawer({
276
276
 
277
277
  // Design Tokens
278
278
  const backgroundColor = getVariableByName('drawer/background', modes) || '#f5f5f5'
279
- const radius = getVariableByName('drawer/radius', modes) || 12
279
+ const radius = getVariableByName('drawer/radius/top', modes) || 12
280
280
 
281
281
  // Handle
282
282
  const handleColor = getVariableByName('drawer/handlebar/background', modes) || '#e0e0e3'
@@ -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-04-14T19:47:53.357Z
7
+ * Generated: 2026-04-14T20:02:24.340Z
8
8
  */
9
9
 
10
10
  // Icon name to SVG data mapping