@nativetail/ui 0.0.4 → 0.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativetail/ui",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {},
@@ -23,7 +23,7 @@ export const ActionSheet = forwardRef<DialogMethods, ActionSheetProps>(
23
23
  {
24
24
  containerClassName,
25
25
  contentClassName,
26
- useBlur = true,
26
+ useBlur = false,
27
27
  onCancel,
28
28
  children,
29
29
  options,
@@ -18,7 +18,7 @@ export const BottomSheet = forwardRef<ActionSheetRef, BottomSheetProps>(
18
18
  containerClassName,
19
19
  contentClassName,
20
20
  children,
21
- useBlur,
21
+ useBlur = false,
22
22
  indicatorClassName,
23
23
  ...props
24
24
  },
@@ -28,7 +28,7 @@ export const BottomSheet = forwardRef<ActionSheetRef, BottomSheetProps>(
28
28
  return (
29
29
  <ActionSheet
30
30
  ref={ref}
31
- containerStyle={tw.style("bg-background/75", containerClassName)}
31
+ containerStyle={tw.style("bg-background/95", containerClassName)}
32
32
  gestureEnabled
33
33
  indicatorStyle={tw.style("bg-muted/15", indicatorClassName)}
34
34
  {...props}
@@ -27,7 +27,7 @@ export const Dialog = forwardRef<DialogMethods, DialogProps>(function Dialog(
27
27
  {
28
28
  containerClassName,
29
29
  contentClassName,
30
- useBlur = true,
30
+ useBlur = false,
31
31
  children,
32
32
  onRequestClose,
33
33
  }: DialogProps,
@@ -130,7 +130,7 @@ let timeout: NodeJS.Timeout;
130
130
  const DropdownMenu = ({
131
131
  className,
132
132
  children,
133
- useBlur = true,
133
+ useBlur = false,
134
134
  }: {
135
135
  className?: string;
136
136
  children: ReactNode;
@@ -58,6 +58,10 @@ export function Input({
58
58
  {leftElement && (
59
59
  <View className="absolute left-2 bottom-2">{leftElement}</View>
60
60
  )}
61
+
62
+ {rightElement && (
63
+ <View className="absolute right-2 bottom-2">{rightElement}</View>
64
+ )}
61
65
  {error && <Text className="text-danger text-sm">{error}</Text>}
62
66
 
63
67
  {isSecretToggleable && (