@kaushverse/pickify 1.2.5 → 1.2.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.
package/dist/index.js CHANGED
@@ -757,7 +757,8 @@ var FloatingButton = class extends import_react4.default.Component {
757
757
  const startAngle = -Math.PI / 3;
758
758
  const endAngle = -Math.PI * 0.8;
759
759
  const angle = startAngle + index / (totalActions - 1 || 1) * (endAngle - startAngle);
760
- const adjustedRadius = radius * 0.65;
760
+ const baseRadius = radius * 0.65;
761
+ const adjustedRadius = index === actions.length - 1 ? baseRadius * 0.8 : baseRadius;
761
762
  translateX = adjustedRadius * Math.cos(angle);
762
763
  translateY = adjustedRadius * Math.sin(angle);
763
764
  }
package/dist/index.mjs CHANGED
@@ -741,7 +741,8 @@ var FloatingButton = class extends React4.Component {
741
741
  const startAngle = -Math.PI / 3;
742
742
  const endAngle = -Math.PI * 0.8;
743
743
  const angle = startAngle + index / (totalActions - 1 || 1) * (endAngle - startAngle);
744
- const adjustedRadius = radius * 0.65;
744
+ const baseRadius = radius * 0.65;
745
+ const adjustedRadius = index === actions.length - 1 ? baseRadius * 0.8 : baseRadius;
745
746
  translateX = adjustedRadius * Math.cos(angle);
746
747
  translateY = adjustedRadius * Math.sin(angle);
747
748
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaushverse/pickify",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "A fully customizable React Native picker with search, multi-select, grouping, and async support.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",