@valpro-labs/ui 1.8.1 → 1.8.2

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.
@@ -19,7 +19,7 @@ function RewardItem({ iconUrl, tinted = false, name, amount, tierLabel, progress
19
19
  const foreground = typeof foregroundRaw === 'string' ? foregroundRaw : undefined;
20
20
  const showProgress = !isCompleted && isNext && !!xp && progressionXp !== undefined;
21
21
  const progressPct = showProgress ? Math.min(100, (progressionXp / xp) * 100) : 0;
22
- return (_jsxs(View, { className: cn('relative flex-row items-center gap-x-3 overflow-hidden px-4 py-3', isCompleted && 'bg-val-green-ui/20', className), children: [showProgress ? (_jsx(View, { className: "bg-val-green-ui/10 absolute top-0 bottom-0 left-0", style: { width: `${progressPct}%` } })) : null, _jsx(View, { className: "size-10 items-center justify-center", children: iconUrl ? (_jsx(Image, { source: iconUrl, style: {
22
+ return (_jsxs(View, { className: cn('relative flex-row items-center gap-x-4 overflow-hidden px-4 py-3', isCompleted && 'bg-val-green-ui/20', className), children: [showProgress ? (_jsx(View, { className: "bg-val-green-ui/10 absolute top-0 bottom-0 left-0", style: { width: `${progressPct}%` } })) : null, _jsx(View, { className: "size-12 items-center justify-center", children: iconUrl ? (_jsx(Image, { source: iconUrl, style: {
23
23
  width: '100%',
24
24
  height: '100%',
25
25
  tintColor: tinted ? foreground : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valpro-labs/ui",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "Cross-platform UI component library for Valpro Labs",
5
5
  "homepage": "https://github.com/valpro-labs/ui#readme",
6
6
  "bugs": {