@hoddy-ui/next 2.0.24 → 2.0.25

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.mjs CHANGED
@@ -1328,8 +1328,10 @@ var TextField = ({
1328
1328
  }) => {
1329
1329
  const colors2 = useColors();
1330
1330
  const [focused, setFocused] = useState7(false);
1331
- const labelAnim = useRef(new Animated.Value(0)).current;
1332
1331
  const height = moderateScale3(variant === "text" ? 50 : 45) * (size === "large" ? 1.2 : size === "small" ? 0.8 : 1);
1332
+ const labelAnim = useRef(
1333
+ new Animated.Value(height / moderateScale3(variant === "text" ? 2.5 : 3.2))
1334
+ ).current;
1333
1335
  React15.useEffect(() => {
1334
1336
  if (focused || value) {
1335
1337
  Animated.timing(labelAnim, {
@@ -1474,15 +1476,33 @@ var TextField = ({
1474
1476
  style: styles2.input
1475
1477
  }
1476
1478
  ),
1477
- end && /* @__PURE__ */ React15.createElement(View10, { style: { marginRight: 20 } }, end),
1478
- options && /* @__PURE__ */ React15.createElement(View10, { style: { marginRight: 20 } }, /* @__PURE__ */ React15.createElement(
1479
- Ionicons3,
1479
+ end && /* @__PURE__ */ React15.createElement(
1480
+ View10,
1480
1481
  {
1481
- name: "chevron-down",
1482
- color: colors2.textSecondary.main,
1483
- size: 24
1484
- }
1485
- ))
1482
+ style: {
1483
+ marginRight: 20,
1484
+ paddingTop: variant !== "outlined" ? ms(13) : 0
1485
+ }
1486
+ },
1487
+ end
1488
+ ),
1489
+ options && /* @__PURE__ */ React15.createElement(
1490
+ View10,
1491
+ {
1492
+ style: {
1493
+ marginRight: 20,
1494
+ paddingTop: variant !== "outlined" ? ms(13) : 0
1495
+ }
1496
+ },
1497
+ /* @__PURE__ */ React15.createElement(
1498
+ Ionicons3,
1499
+ {
1500
+ name: "chevron-down",
1501
+ color: colors2.textSecondary.main,
1502
+ size: 24
1503
+ }
1504
+ )
1505
+ )
1486
1506
  ), helperText && /* @__PURE__ */ React15.createElement(
1487
1507
  Typography_default,
1488
1508
  {