@valpro-labs/ui 1.8.3 → 1.8.4

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, iconSize, iconStyle, tinted = false, name, amount
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-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: "bg-secondary size-11 items-center justify-center overflow-hidden rounded-lg", 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: "bg-secondary size-10 items-center justify-center overflow-hidden rounded-lg", children: iconUrl ? (_jsx(Image, { source: iconUrl, style: [
23
23
  {
24
24
  width: iconSize ?? '100%',
25
25
  height: iconSize ?? '100%',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valpro-labs/ui",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "description": "Cross-platform UI component library for Valpro Labs",
5
5
  "homepage": "https://github.com/valpro-labs/ui#readme",
6
6
  "bugs": {