@particle-academy/react-fancy 4.4.2 → 4.4.3

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.cjs CHANGED
@@ -2975,18 +2975,18 @@ function Field({
2975
2975
  ] });
2976
2976
  }
2977
2977
  var insidePaddingLeft = {
2978
- xs: "pl-7",
2979
- sm: "pl-8",
2980
- md: "pl-9",
2981
- lg: "pl-10",
2982
- xl: "pl-11"
2978
+ xs: "[&_input]:pl-7 [&_select]:pl-7 [&_textarea]:pl-7",
2979
+ sm: "[&_input]:pl-8 [&_select]:pl-8 [&_textarea]:pl-8",
2980
+ md: "[&_input]:pl-9 [&_select]:pl-9 [&_textarea]:pl-9",
2981
+ lg: "[&_input]:pl-10 [&_select]:pl-10 [&_textarea]:pl-10",
2982
+ xl: "[&_input]:pl-11 [&_select]:pl-11 [&_textarea]:pl-11"
2983
2983
  };
2984
2984
  var insidePaddingRight = {
2985
- xs: "pr-7",
2986
- sm: "pr-8",
2987
- md: "pr-9",
2988
- lg: "pr-10",
2989
- xl: "pr-11"
2985
+ xs: "[&_input]:pr-7 [&_select]:pr-7 [&_textarea]:pr-7",
2986
+ sm: "[&_input]:pr-8 [&_select]:pr-8 [&_textarea]:pr-8",
2987
+ md: "[&_input]:pr-9 [&_select]:pr-9 [&_textarea]:pr-9",
2988
+ lg: "[&_input]:pr-10 [&_select]:pr-10 [&_textarea]:pr-10",
2989
+ xl: "[&_input]:pr-11 [&_select]:pr-11 [&_textarea]:pr-11"
2990
2990
  };
2991
2991
  var affixOutsideClasses = "inline-flex items-center border border-zinc-300 bg-zinc-50 px-3 text-sm text-zinc-500 dark:border-zinc-700 dark:bg-zinc-800 dark:text-zinc-400";
2992
2992
  function InputWrapper({
@@ -3025,7 +3025,7 @@ function InputWrapper({
3025
3025
  hasOutsidePrefix && !hasOutsideSuffix && "[&_input]:rounded-l-none [&_select]:rounded-l-none [&_textarea]:rounded-l-none",
3026
3026
  !hasOutsidePrefix && hasOutsideSuffix && "[&_input]:rounded-r-none [&_select]:rounded-r-none [&_textarea]:rounded-r-none",
3027
3027
  hasOutsidePrefix && hasOutsideSuffix && "[&_input]:rounded-none [&_select]:rounded-none [&_textarea]:rounded-none",
3028
- hasInsidePrefix && `[&_input]:${insidePaddingLeft[size]} [&_select]:${insidePaddingLeft[size]} [&_textarea]:${insidePaddingLeft[size]}`
3028
+ hasInsidePrefix && insidePaddingLeft[size]
3029
3029
  ),
3030
3030
  children
3031
3031
  }
@@ -3044,8 +3044,8 @@ function InputWrapper({
3044
3044
  {
3045
3045
  className: cn(
3046
3046
  "w-full",
3047
- hasInsidePrefix && `[&_input]:${insidePaddingLeft[size]} [&_select]:${insidePaddingLeft[size]} [&_textarea]:${insidePaddingLeft[size]}`,
3048
- hasInsideSuffix && `[&_input]:${insidePaddingRight[size]} [&_select]:${insidePaddingRight[size]} [&_textarea]:${insidePaddingRight[size]}`
3047
+ hasInsidePrefix && insidePaddingLeft[size],
3048
+ hasInsideSuffix && insidePaddingRight[size]
3049
3049
  ),
3050
3050
  children
3051
3051
  }