@react-xp/aeiou 0.1.0-beta.5 → 0.1.0-beta.7

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.
Files changed (67) hide show
  1. package/dist/cjs/components/a/a.native.js +2 -2
  2. package/dist/cjs/components/a/a.web.js +2 -2
  3. package/dist/cjs/components/d/d.web.js +2 -2
  4. package/dist/cjs/components/e/e.native.js +2 -2
  5. package/dist/cjs/components/e/e.web.js +2 -2
  6. package/dist/cjs/components/i/i.native.js +2 -2
  7. package/dist/cjs/components/i/i.web.js +2 -2
  8. package/dist/cjs/components/l/l.web.js +2 -2
  9. package/dist/cjs/components/o/o.web.js +2 -2
  10. package/dist/cjs/components/p/p.web.js +2 -2
  11. package/dist/esm/components/a/a.native.js +2 -2
  12. package/dist/esm/components/a/a.web.js +2 -2
  13. package/dist/esm/components/d/d.web.js +2 -2
  14. package/dist/esm/components/e/e.native.js +2 -2
  15. package/dist/esm/components/e/e.web.js +2 -2
  16. package/dist/esm/components/i/i.native.js +2 -2
  17. package/dist/esm/components/i/i.web.js +2 -2
  18. package/dist/esm/components/l/l.web.js +2 -2
  19. package/dist/esm/components/o/o.web.js +2 -2
  20. package/dist/esm/components/p/p.web.js +2 -2
  21. package/dist/native/cjs/components/a/a.native.js +2 -2
  22. package/dist/native/cjs/components/a/a.web.js +2 -2
  23. package/dist/native/cjs/components/d/d.web.js +2 -2
  24. package/dist/native/cjs/components/e/e.native.js +2 -2
  25. package/dist/native/cjs/components/e/e.web.js +2 -2
  26. package/dist/native/cjs/components/i/i.native.js +2 -2
  27. package/dist/native/cjs/components/i/i.web.js +2 -2
  28. package/dist/native/cjs/components/l/l.web.js +2 -2
  29. package/dist/native/cjs/components/o/o.web.js +2 -2
  30. package/dist/native/cjs/components/p/p.web.js +2 -2
  31. package/dist/native/esm/components/a/a.native.js +2 -2
  32. package/dist/native/esm/components/a/a.web.js +2 -2
  33. package/dist/native/esm/components/d/d.web.js +2 -2
  34. package/dist/native/esm/components/e/e.native.js +2 -2
  35. package/dist/native/esm/components/e/e.web.js +2 -2
  36. package/dist/native/esm/components/i/i.native.js +2 -2
  37. package/dist/native/esm/components/i/i.web.js +2 -2
  38. package/dist/native/esm/components/l/l.web.js +2 -2
  39. package/dist/native/esm/components/o/o.web.js +2 -2
  40. package/dist/native/esm/components/p/p.web.js +2 -2
  41. package/dist/native/tsconfig.native.cjs.tsbuildinfo +1 -1
  42. package/dist/native/tsconfig.native.esm.tsbuildinfo +1 -1
  43. package/dist/tsconfig.cjs.tsbuildinfo +1 -1
  44. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  45. package/dist/types/components/a/a.native.d.ts +1 -1
  46. package/dist/types/components/a/a.native.d.ts.map +1 -1
  47. package/dist/types/components/a/a.web.d.ts +1 -1
  48. package/dist/types/components/a/a.web.d.ts.map +1 -1
  49. package/dist/types/components/d/d.web.d.ts +1 -1
  50. package/dist/types/components/d/d.web.d.ts.map +1 -1
  51. package/dist/types/components/e/e.native.d.ts +1 -1
  52. package/dist/types/components/e/e.native.d.ts.map +1 -1
  53. package/dist/types/components/e/e.web.d.ts +1 -1
  54. package/dist/types/components/e/e.web.d.ts.map +1 -1
  55. package/dist/types/components/i/i.native.d.ts +1 -1
  56. package/dist/types/components/i/i.native.d.ts.map +1 -1
  57. package/dist/types/components/i/i.web.d.ts +1 -1
  58. package/dist/types/components/i/i.web.d.ts.map +1 -1
  59. package/dist/types/components/l/l.web.d.ts +1 -1
  60. package/dist/types/components/l/l.web.d.ts.map +1 -1
  61. package/dist/types/components/o/o.web.d.ts +1 -1
  62. package/dist/types/components/o/o.web.d.ts.map +1 -1
  63. package/dist/types/components/p/p.web.d.ts +1 -1
  64. package/dist/types/components/p/p.web.d.ts.map +1 -1
  65. package/dist/types/types/base.d.ts +6 -1
  66. package/dist/types/types/base.d.ts.map +1 -1
  67. package/package.json +1 -1
@@ -6,12 +6,12 @@ const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const react_native_1 = require("react-native");
7
7
  const index_native_1 = require("../../hooks/index.native");
8
8
  const index_native_2 = require("../e/index.native");
9
- function A({ className, children, onPress, onClick, disabled, ref, ...rest }) {
9
+ function A({ className, children, onPress, onClick, disabled, ref, style, ...rest }) {
10
10
  const cn = (0, index_native_1.useCn)();
11
11
  const { onAction } = (0, index_native_1.useAction)({
12
12
  onClick,
13
13
  onPress,
14
14
  });
15
- return ((0, jsx_runtime_1.jsx)(react_native_1.Pressable, { ref: ref, onPress: onAction, disabled: disabled, ...rest, children: (0, jsx_runtime_1.jsx)(index_native_2.E, { className: cn(disabled && 'opacity-60', className), children: children }) }));
15
+ return ((0, jsx_runtime_1.jsx)(react_native_1.Pressable, { ref: ref, onPress: onAction, disabled: disabled, children: (0, jsx_runtime_1.jsx)(index_native_2.E, { className: cn(disabled && 'opacity-60', className), style: style, ...rest, children: children }) }));
16
16
  }
17
17
  exports.Action = A;
@@ -4,12 +4,12 @@ exports.Action = void 0;
4
4
  exports.A = A;
5
5
  const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const index_web_1 = require("../../hooks/index.web");
7
- function A({ className, children, onPress, onClick, disabled, ref, ...rest }) {
7
+ function A({ className, children, onPress, onClick, disabled, ref, style, ...rest }) {
8
8
  const cn = (0, index_web_1.useCn)();
9
9
  const { onAction } = (0, index_web_1.useAction)({
10
10
  onClick,
11
11
  onPress,
12
12
  });
13
- return ((0, jsx_runtime_1.jsx)("button", { ref: ref, type: "button", disabled: disabled, className: cn('cursor-pointer', disabled && 'opacity-60', className), onClick: onAction, ...rest, children: children }));
13
+ return ((0, jsx_runtime_1.jsx)("button", { ref: ref, type: "button", disabled: disabled, className: cn('cursor-pointer', disabled && 'opacity-60', className), onClick: onAction, style: style, ...rest, children: children }));
14
14
  }
15
15
  exports.Action = A;
@@ -6,7 +6,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const react_dom_1 = require("react-dom");
7
7
  const index_web_1 = require("../../hooks/index.web");
8
8
  const index_web_2 = require("../e/index.web");
9
- function D({ open, onOpenChange, placement = 'center', className, backdropClassName, containerClassName, contentClassName, closeOnBackdropClick = true, children, ref, ...rest }) {
9
+ function D({ open, onOpenChange, placement = 'center', className, backdropClassName, containerClassName, contentClassName, closeOnBackdropClick = true, children, ref, style, ...rest }) {
10
10
  const cn = (0, index_web_1.useCn)();
11
11
  if (typeof document === 'undefined')
12
12
  return null;
@@ -30,6 +30,6 @@ function D({ open, onOpenChange, placement = 'center', className, backdropClassN
30
30
  const contentClasses = cn('relative max-h-[90vh] w-full max-w-lg overflow-auto rounded-lg bg-background p-4 shadow-lg', placement === 'left' || placement === 'right' ? 'h-full max-h-none' : '', placement === 'bottom' || placement === 'top' ? 'max-w-none' : '', className, contentClassName);
31
31
  return (0, react_dom_1.createPortal)((0, jsx_runtime_1.jsx)(index_web_2.E, { className: backdropClasses, role: "presentation", onClick: handleBackdropClick, children: (0, jsx_runtime_1.jsx)("div", { ref: ref,
32
32
  // biome-ignore lint/a11y/useSemanticElements: <explanation>
33
- role: "dialog", "aria-modal": "true", className: contentClasses, ...rest, children: children }) }), document.body);
33
+ role: "dialog", "aria-modal": "true", className: contentClasses, style: style, ...rest, children: children }) }), document.body);
34
34
  }
35
35
  exports.Dialog = D;
@@ -6,7 +6,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const react_native_1 = require("react-native");
7
7
  const index_native_1 = require("../../hooks/index.native");
8
8
  const index_native_2 = require("../t/index.native");
9
- function E({ className, children, onPress, onClick, ref, ...rest }) {
9
+ function E({ className, children, onPress, onClick, ref, style, ...rest }) {
10
10
  const cn = (0, index_native_1.useCn)();
11
11
  const { onAction } = (0, index_native_1.useAction)({
12
12
  onClick,
@@ -16,6 +16,6 @@ function E({ className, children, onPress, onClick, ref, ...rest }) {
16
16
  onAction();
17
17
  return false;
18
18
  };
19
- return ((0, jsx_runtime_1.jsx)(react_native_1.View, { ref: ref, className: cn(className), onStartShouldSetResponder: handleOnPress, ...rest, children: typeof children === 'string' ? (0, jsx_runtime_1.jsx)(index_native_2.T, { children: children }) : children }));
19
+ return ((0, jsx_runtime_1.jsx)(react_native_1.View, { ref: ref, className: cn(className), onStartShouldSetResponder: handleOnPress, style: style, ...rest, children: typeof children === 'string' ? (0, jsx_runtime_1.jsx)(index_native_2.T, { children: children }) : children }));
20
20
  }
21
21
  exports.Element = E;
@@ -4,12 +4,12 @@ exports.Element = void 0;
4
4
  exports.E = E;
5
5
  const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const index_web_1 = require("../../hooks/index.web");
7
- function E({ className, children, onPress, onClick, ref, ...rest }) {
7
+ function E({ className, children, onPress, onClick, ref, style, ...rest }) {
8
8
  const cn = (0, index_web_1.useCn)();
9
9
  const { onAction } = (0, index_web_1.useAction)({
10
10
  onClick,
11
11
  onPress,
12
12
  });
13
- return ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: cn(className), onClick: onAction, ...rest, children: children }));
13
+ return ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: cn(className), onClick: onAction, style: style, ...rest, children: children }));
14
14
  }
15
15
  exports.Element = E;
@@ -6,7 +6,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const react_native_1 = require("react-native");
7
7
  const index_native_1 = require("../../hooks/index.native");
8
8
  const useIUtils_1 = require("./useIUtils");
9
- function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, editable, disabled, ref, ...rest }) {
9
+ function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, editable, disabled, ref, style, ...rest }) {
10
10
  const { treatTypeModeAndKeyboardType } = (0, useIUtils_1.useIUtils)();
11
11
  const cn = (0, index_native_1.useCn)();
12
12
  const { onChange: handleOnChange } = (0, index_native_1.useOnChange)({
@@ -25,6 +25,6 @@ function I({ className, value, defaultValue, placeholder, onChange, onChangeValu
25
25
  if (onChangeValue)
26
26
  onChangeValue(event.nativeEvent.text);
27
27
  };
28
- return ((0, jsx_runtime_1.jsx)(react_native_1.TextInput, { ref: ref, className: cn(!effectiveEditable && 'opacity-60', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleChange, secureTextEntry: masterInputType === 'password', keyboardType: masterInputKeyboardType, editable: effectiveEditable, ...rest }));
28
+ return ((0, jsx_runtime_1.jsx)(react_native_1.TextInput, { ref: ref, className: cn(!effectiveEditable && 'opacity-60', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleChange, secureTextEntry: masterInputType === 'password', keyboardType: masterInputKeyboardType, editable: effectiveEditable, style: style, ...rest }));
29
29
  }
30
30
  exports.Input = I;
@@ -5,7 +5,7 @@ exports.I = I;
5
5
  const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const index_web_1 = require("../../hooks/index.web");
7
7
  const useIUtils_1 = require("./useIUtils");
8
- function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, disabled, editable, ref, ...rest }) {
8
+ function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, disabled, editable, ref, style, ...rest }) {
9
9
  const { treatTypeModeAndKeyboardType } = (0, useIUtils_1.useIUtils)();
10
10
  const cn = (0, index_web_1.useCn)();
11
11
  const { onChange: handleOnChange } = (0, index_web_1.useOnChange)({
@@ -18,6 +18,6 @@ function I({ className, value, defaultValue, placeholder, onChange, onChangeValu
18
18
  keyboardType,
19
19
  type,
20
20
  });
21
- return ((0, jsx_runtime_1.jsx)("input", { ref: ref, type: masterInputType, inputMode: masterInputMode, className: cn('outline-none', effectiveDisabled && 'opacity-60 cursor-not-allowed', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleOnChange, disabled: effectiveDisabled, ...rest }));
21
+ return ((0, jsx_runtime_1.jsx)("input", { ref: ref, type: masterInputType, inputMode: masterInputMode, className: cn('outline-none', effectiveDisabled && 'opacity-60 cursor-not-allowed', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleOnChange, disabled: effectiveDisabled, style: style, ...rest }));
22
22
  }
23
23
  exports.Input = I;
@@ -5,13 +5,13 @@ exports.L = L;
5
5
  const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const index_native_1 = require("../../hooks/index.native");
7
7
  const index_web_1 = require("../../hooks/index.web");
8
- function L({ className, children, to, href, onClick, onPress, preventDefault, ref, ...rest }) {
8
+ function L({ className, children, to, href, onClick, onPress, preventDefault, ref, style, ...rest }) {
9
9
  const cn = (0, index_web_1.useCn)();
10
10
  const { onAction } = (0, index_native_1.useAction)({
11
11
  onClick,
12
12
  onPress,
13
13
  });
14
14
  const resolvedHref = href ?? to ?? '#';
15
- return ((0, jsx_runtime_1.jsx)("a", { ref: ref, href: resolvedHref, className: cn('cursor-pointer', className), onClick: onAction, ...rest, children: children }));
15
+ return ((0, jsx_runtime_1.jsx)("a", { ref: ref, href: resolvedHref, className: cn('cursor-pointer', className), onClick: onAction, style: style, ...rest, children: children }));
16
16
  }
17
17
  exports.Link = L;
@@ -4,9 +4,9 @@ exports.Overflow = void 0;
4
4
  exports.O = O;
5
5
  const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const index_web_1 = require("../../hooks/index.web");
7
- function O({ className, children, horizontal, ref, ...rest }) {
7
+ function O({ className, children, horizontal, ref, style, ...rest }) {
8
8
  const cn = (0, index_web_1.useCn)();
9
9
  const overflowClass = horizontal ? 'overflow-x-auto' : 'overflow-y-auto';
10
- return ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: cn(overflowClass, className), ...rest, children: children }));
10
+ return ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: cn(overflowClass, className), style: style, ...rest, children: children }));
11
11
  }
12
12
  exports.Overflow = O;
@@ -4,10 +4,10 @@ exports.Picture = void 0;
4
4
  exports.P = P;
5
5
  const jsx_runtime_1 = require("react/jsx-runtime");
6
6
  const index_web_1 = require("../../hooks/index.web");
7
- function P({ alt, className, ref, ...rest }) {
7
+ function P({ alt, className, ref, style, ...rest }) {
8
8
  const cn = (0, index_web_1.useCn)();
9
9
  return (
10
10
  // biome-ignore lint/a11y/useAltText: <explanation>
11
- (0, jsx_runtime_1.jsx)("img", { alt: alt, "aria-label": alt, ref: ref, className: cn('object-cover', className), ...rest }));
11
+ (0, jsx_runtime_1.jsx)("img", { alt: alt, "aria-label": alt, ref: ref, className: cn('object-cover', className), style: style, ...rest }));
12
12
  }
13
13
  exports.Picture = P;
@@ -2,12 +2,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Pressable } from 'react-native';
3
3
  import { useAction, useCn } from '../../hooks/index.native';
4
4
  import { E } from '../e/index.native';
5
- export function A({ className, children, onPress, onClick, disabled, ref, ...rest }) {
5
+ export function A({ className, children, onPress, onClick, disabled, ref, style, ...rest }) {
6
6
  const cn = useCn();
7
7
  const { onAction } = useAction({
8
8
  onClick,
9
9
  onPress,
10
10
  });
11
- return (_jsx(Pressable, { ref: ref, onPress: onAction, disabled: disabled, ...rest, children: _jsx(E, { className: cn(disabled && 'opacity-60', className), children: children }) }));
11
+ return (_jsx(Pressable, { ref: ref, onPress: onAction, disabled: disabled, children: _jsx(E, { className: cn(disabled && 'opacity-60', className), style: style, ...rest, children: children }) }));
12
12
  }
13
13
  export const Action = A;
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useAction, useCn } from '../../hooks/index.web';
3
- export function A({ className, children, onPress, onClick, disabled, ref, ...rest }) {
3
+ export function A({ className, children, onPress, onClick, disabled, ref, style, ...rest }) {
4
4
  const cn = useCn();
5
5
  const { onAction } = useAction({
6
6
  onClick,
7
7
  onPress,
8
8
  });
9
- return (_jsx("button", { ref: ref, type: "button", disabled: disabled, className: cn('cursor-pointer', disabled && 'opacity-60', className), onClick: onAction, ...rest, children: children }));
9
+ return (_jsx("button", { ref: ref, type: "button", disabled: disabled, className: cn('cursor-pointer', disabled && 'opacity-60', className), onClick: onAction, style: style, ...rest, children: children }));
10
10
  }
11
11
  export const Action = A;
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { createPortal } from 'react-dom';
3
3
  import { useCn } from '../../hooks/index.web';
4
4
  import { E } from '../e/index.web';
5
- export function D({ open, onOpenChange, placement = 'center', className, backdropClassName, containerClassName, contentClassName, closeOnBackdropClick = true, children, ref, ...rest }) {
5
+ export function D({ open, onOpenChange, placement = 'center', className, backdropClassName, containerClassName, contentClassName, closeOnBackdropClick = true, children, ref, style, ...rest }) {
6
6
  const cn = useCn();
7
7
  if (typeof document === 'undefined')
8
8
  return null;
@@ -26,6 +26,6 @@ export function D({ open, onOpenChange, placement = 'center', className, backdro
26
26
  const contentClasses = cn('relative max-h-[90vh] w-full max-w-lg overflow-auto rounded-lg bg-background p-4 shadow-lg', placement === 'left' || placement === 'right' ? 'h-full max-h-none' : '', placement === 'bottom' || placement === 'top' ? 'max-w-none' : '', className, contentClassName);
27
27
  return createPortal(_jsx(E, { className: backdropClasses, role: "presentation", onClick: handleBackdropClick, children: _jsx("div", { ref: ref,
28
28
  // biome-ignore lint/a11y/useSemanticElements: <explanation>
29
- role: "dialog", "aria-modal": "true", className: contentClasses, ...rest, children: children }) }), document.body);
29
+ role: "dialog", "aria-modal": "true", className: contentClasses, style: style, ...rest, children: children }) }), document.body);
30
30
  }
31
31
  export const Dialog = D;
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { View } from 'react-native';
3
3
  import { useAction, useCn } from '../../hooks/index.native';
4
4
  import { T } from '../t/index.native';
5
- export function E({ className, children, onPress, onClick, ref, ...rest }) {
5
+ export function E({ className, children, onPress, onClick, ref, style, ...rest }) {
6
6
  const cn = useCn();
7
7
  const { onAction } = useAction({
8
8
  onClick,
@@ -12,6 +12,6 @@ export function E({ className, children, onPress, onClick, ref, ...rest }) {
12
12
  onAction();
13
13
  return false;
14
14
  };
15
- return (_jsx(View, { ref: ref, className: cn(className), onStartShouldSetResponder: handleOnPress, ...rest, children: typeof children === 'string' ? _jsx(T, { children: children }) : children }));
15
+ return (_jsx(View, { ref: ref, className: cn(className), onStartShouldSetResponder: handleOnPress, style: style, ...rest, children: typeof children === 'string' ? _jsx(T, { children: children }) : children }));
16
16
  }
17
17
  export const Element = E;
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useAction, useCn } from '../../hooks/index.web';
3
- export function E({ className, children, onPress, onClick, ref, ...rest }) {
3
+ export function E({ className, children, onPress, onClick, ref, style, ...rest }) {
4
4
  const cn = useCn();
5
5
  const { onAction } = useAction({
6
6
  onClick,
7
7
  onPress,
8
8
  });
9
- return (_jsx("div", { ref: ref, className: cn(className), onClick: onAction, ...rest, children: children }));
9
+ return (_jsx("div", { ref: ref, className: cn(className), onClick: onAction, style: style, ...rest, children: children }));
10
10
  }
11
11
  export const Element = E;
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { TextInput } from 'react-native';
3
3
  import { useCn, useOnChange } from '../../hooks/index.native';
4
4
  import { useIUtils } from './useIUtils';
5
- export function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, editable, disabled, ref, ...rest }) {
5
+ export function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, editable, disabled, ref, style, ...rest }) {
6
6
  const { treatTypeModeAndKeyboardType } = useIUtils();
7
7
  const cn = useCn();
8
8
  const { onChange: handleOnChange } = useOnChange({
@@ -21,6 +21,6 @@ export function I({ className, value, defaultValue, placeholder, onChange, onCha
21
21
  if (onChangeValue)
22
22
  onChangeValue(event.nativeEvent.text);
23
23
  };
24
- return (_jsx(TextInput, { ref: ref, className: cn(!effectiveEditable && 'opacity-60', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleChange, secureTextEntry: masterInputType === 'password', keyboardType: masterInputKeyboardType, editable: effectiveEditable, ...rest }));
24
+ return (_jsx(TextInput, { ref: ref, className: cn(!effectiveEditable && 'opacity-60', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleChange, secureTextEntry: masterInputType === 'password', keyboardType: masterInputKeyboardType, editable: effectiveEditable, style: style, ...rest }));
25
25
  }
26
26
  export const Input = I;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useCn, useOnChange } from '../../hooks/index.web';
3
3
  import { useIUtils } from './useIUtils';
4
- export function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, disabled, editable, ref, ...rest }) {
4
+ export function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, disabled, editable, ref, style, ...rest }) {
5
5
  const { treatTypeModeAndKeyboardType } = useIUtils();
6
6
  const cn = useCn();
7
7
  const { onChange: handleOnChange } = useOnChange({
@@ -14,6 +14,6 @@ export function I({ className, value, defaultValue, placeholder, onChange, onCha
14
14
  keyboardType,
15
15
  type,
16
16
  });
17
- return (_jsx("input", { ref: ref, type: masterInputType, inputMode: masterInputMode, className: cn('outline-none', effectiveDisabled && 'opacity-60 cursor-not-allowed', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleOnChange, disabled: effectiveDisabled, ...rest }));
17
+ return (_jsx("input", { ref: ref, type: masterInputType, inputMode: masterInputMode, className: cn('outline-none', effectiveDisabled && 'opacity-60 cursor-not-allowed', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleOnChange, disabled: effectiveDisabled, style: style, ...rest }));
18
18
  }
19
19
  export const Input = I;
@@ -1,13 +1,13 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useAction } from '../../hooks/index.native';
3
3
  import { useCn } from '../../hooks/index.web';
4
- export function L({ className, children, to, href, onClick, onPress, preventDefault, ref, ...rest }) {
4
+ export function L({ className, children, to, href, onClick, onPress, preventDefault, ref, style, ...rest }) {
5
5
  const cn = useCn();
6
6
  const { onAction } = useAction({
7
7
  onClick,
8
8
  onPress,
9
9
  });
10
10
  const resolvedHref = href ?? to ?? '#';
11
- return (_jsx("a", { ref: ref, href: resolvedHref, className: cn('cursor-pointer', className), onClick: onAction, ...rest, children: children }));
11
+ return (_jsx("a", { ref: ref, href: resolvedHref, className: cn('cursor-pointer', className), onClick: onAction, style: style, ...rest, children: children }));
12
12
  }
13
13
  export const Link = L;
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useCn } from '../../hooks/index.web';
3
- export function O({ className, children, horizontal, ref, ...rest }) {
3
+ export function O({ className, children, horizontal, ref, style, ...rest }) {
4
4
  const cn = useCn();
5
5
  const overflowClass = horizontal ? 'overflow-x-auto' : 'overflow-y-auto';
6
- return (_jsx("div", { ref: ref, className: cn(overflowClass, className), ...rest, children: children }));
6
+ return (_jsx("div", { ref: ref, className: cn(overflowClass, className), style: style, ...rest, children: children }));
7
7
  }
8
8
  export const Overflow = O;
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useCn } from '../../hooks/index.web';
3
- export function P({ alt, className, ref, ...rest }) {
3
+ export function P({ alt, className, ref, style, ...rest }) {
4
4
  const cn = useCn();
5
5
  return (
6
6
  // biome-ignore lint/a11y/useAltText: <explanation>
7
- _jsx("img", { alt: alt, "aria-label": alt, ref: ref, className: cn('object-cover', className), ...rest }));
7
+ _jsx("img", { alt: alt, "aria-label": alt, ref: ref, className: cn('object-cover', className), style: style, ...rest }));
8
8
  }
9
9
  export const Picture = P;
@@ -6,12 +6,12 @@ const jsx_runtime_1 = require("nativewind/jsx-runtime");
6
6
  const react_native_1 = require("react-native");
7
7
  const index_native_1 = require("../../hooks/index.native");
8
8
  const index_native_2 = require("../e/index.native");
9
- function A({ className, children, onPress, onClick, disabled, ref, ...rest }) {
9
+ function A({ className, children, onPress, onClick, disabled, ref, style, ...rest }) {
10
10
  const cn = (0, index_native_1.useCn)();
11
11
  const { onAction } = (0, index_native_1.useAction)({
12
12
  onClick,
13
13
  onPress,
14
14
  });
15
- return ((0, jsx_runtime_1.jsx)(react_native_1.Pressable, { ref: ref, onPress: onAction, disabled: disabled, ...rest, children: (0, jsx_runtime_1.jsx)(index_native_2.E, { className: cn(disabled && 'opacity-60', className), children: children }) }));
15
+ return ((0, jsx_runtime_1.jsx)(react_native_1.Pressable, { ref: ref, onPress: onAction, disabled: disabled, children: (0, jsx_runtime_1.jsx)(index_native_2.E, { className: cn(disabled && 'opacity-60', className), style: style, ...rest, children: children }) }));
16
16
  }
17
17
  exports.Action = A;
@@ -4,12 +4,12 @@ exports.Action = void 0;
4
4
  exports.A = A;
5
5
  const jsx_runtime_1 = require("nativewind/jsx-runtime");
6
6
  const index_web_1 = require("../../hooks/index.web");
7
- function A({ className, children, onPress, onClick, disabled, ref, ...rest }) {
7
+ function A({ className, children, onPress, onClick, disabled, ref, style, ...rest }) {
8
8
  const cn = (0, index_web_1.useCn)();
9
9
  const { onAction } = (0, index_web_1.useAction)({
10
10
  onClick,
11
11
  onPress,
12
12
  });
13
- return ((0, jsx_runtime_1.jsx)("button", { ref: ref, type: "button", disabled: disabled, className: cn('cursor-pointer', disabled && 'opacity-60', className), onClick: onAction, ...rest, children: children }));
13
+ return ((0, jsx_runtime_1.jsx)("button", { ref: ref, type: "button", disabled: disabled, className: cn('cursor-pointer', disabled && 'opacity-60', className), onClick: onAction, style: style, ...rest, children: children }));
14
14
  }
15
15
  exports.Action = A;
@@ -6,7 +6,7 @@ const jsx_runtime_1 = require("nativewind/jsx-runtime");
6
6
  const react_dom_1 = require("react-dom");
7
7
  const index_web_1 = require("../../hooks/index.web");
8
8
  const index_web_2 = require("../e/index.web");
9
- function D({ open, onOpenChange, placement = 'center', className, backdropClassName, containerClassName, contentClassName, closeOnBackdropClick = true, children, ref, ...rest }) {
9
+ function D({ open, onOpenChange, placement = 'center', className, backdropClassName, containerClassName, contentClassName, closeOnBackdropClick = true, children, ref, style, ...rest }) {
10
10
  const cn = (0, index_web_1.useCn)();
11
11
  if (typeof document === 'undefined')
12
12
  return null;
@@ -30,6 +30,6 @@ function D({ open, onOpenChange, placement = 'center', className, backdropClassN
30
30
  const contentClasses = cn('relative max-h-[90vh] w-full max-w-lg overflow-auto rounded-lg bg-background p-4 shadow-lg', placement === 'left' || placement === 'right' ? 'h-full max-h-none' : '', placement === 'bottom' || placement === 'top' ? 'max-w-none' : '', className, contentClassName);
31
31
  return (0, react_dom_1.createPortal)((0, jsx_runtime_1.jsx)(index_web_2.E, { className: backdropClasses, role: "presentation", onClick: handleBackdropClick, children: (0, jsx_runtime_1.jsx)("div", { ref: ref,
32
32
  // biome-ignore lint/a11y/useSemanticElements: <explanation>
33
- role: "dialog", "aria-modal": "true", className: contentClasses, ...rest, children: children }) }), document.body);
33
+ role: "dialog", "aria-modal": "true", className: contentClasses, style: style, ...rest, children: children }) }), document.body);
34
34
  }
35
35
  exports.Dialog = D;
@@ -6,7 +6,7 @@ const jsx_runtime_1 = require("nativewind/jsx-runtime");
6
6
  const react_native_1 = require("react-native");
7
7
  const index_native_1 = require("../../hooks/index.native");
8
8
  const index_native_2 = require("../t/index.native");
9
- function E({ className, children, onPress, onClick, ref, ...rest }) {
9
+ function E({ className, children, onPress, onClick, ref, style, ...rest }) {
10
10
  const cn = (0, index_native_1.useCn)();
11
11
  const { onAction } = (0, index_native_1.useAction)({
12
12
  onClick,
@@ -16,6 +16,6 @@ function E({ className, children, onPress, onClick, ref, ...rest }) {
16
16
  onAction();
17
17
  return false;
18
18
  };
19
- return ((0, jsx_runtime_1.jsx)(react_native_1.View, { ref: ref, className: cn(className), onStartShouldSetResponder: handleOnPress, ...rest, children: typeof children === 'string' ? (0, jsx_runtime_1.jsx)(index_native_2.T, { children: children }) : children }));
19
+ return ((0, jsx_runtime_1.jsx)(react_native_1.View, { ref: ref, className: cn(className), onStartShouldSetResponder: handleOnPress, style: style, ...rest, children: typeof children === 'string' ? (0, jsx_runtime_1.jsx)(index_native_2.T, { children: children }) : children }));
20
20
  }
21
21
  exports.Element = E;
@@ -4,12 +4,12 @@ exports.Element = void 0;
4
4
  exports.E = E;
5
5
  const jsx_runtime_1 = require("nativewind/jsx-runtime");
6
6
  const index_web_1 = require("../../hooks/index.web");
7
- function E({ className, children, onPress, onClick, ref, ...rest }) {
7
+ function E({ className, children, onPress, onClick, ref, style, ...rest }) {
8
8
  const cn = (0, index_web_1.useCn)();
9
9
  const { onAction } = (0, index_web_1.useAction)({
10
10
  onClick,
11
11
  onPress,
12
12
  });
13
- return ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: cn(className), onClick: onAction, ...rest, children: children }));
13
+ return ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: cn(className), onClick: onAction, style: style, ...rest, children: children }));
14
14
  }
15
15
  exports.Element = E;
@@ -6,7 +6,7 @@ const jsx_runtime_1 = require("nativewind/jsx-runtime");
6
6
  const react_native_1 = require("react-native");
7
7
  const index_native_1 = require("../../hooks/index.native");
8
8
  const useIUtils_1 = require("./useIUtils");
9
- function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, editable, disabled, ref, ...rest }) {
9
+ function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, editable, disabled, ref, style, ...rest }) {
10
10
  const { treatTypeModeAndKeyboardType } = (0, useIUtils_1.useIUtils)();
11
11
  const cn = (0, index_native_1.useCn)();
12
12
  const { onChange: handleOnChange } = (0, index_native_1.useOnChange)({
@@ -25,6 +25,6 @@ function I({ className, value, defaultValue, placeholder, onChange, onChangeValu
25
25
  if (onChangeValue)
26
26
  onChangeValue(event.nativeEvent.text);
27
27
  };
28
- return ((0, jsx_runtime_1.jsx)(react_native_1.TextInput, { ref: ref, className: cn(!effectiveEditable && 'opacity-60', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleChange, secureTextEntry: masterInputType === 'password', keyboardType: masterInputKeyboardType, editable: effectiveEditable, ...rest }));
28
+ return ((0, jsx_runtime_1.jsx)(react_native_1.TextInput, { ref: ref, className: cn(!effectiveEditable && 'opacity-60', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleChange, secureTextEntry: masterInputType === 'password', keyboardType: masterInputKeyboardType, editable: effectiveEditable, style: style, ...rest }));
29
29
  }
30
30
  exports.Input = I;
@@ -5,7 +5,7 @@ exports.I = I;
5
5
  const jsx_runtime_1 = require("nativewind/jsx-runtime");
6
6
  const index_web_1 = require("../../hooks/index.web");
7
7
  const useIUtils_1 = require("./useIUtils");
8
- function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, disabled, editable, ref, ...rest }) {
8
+ function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, disabled, editable, ref, style, ...rest }) {
9
9
  const { treatTypeModeAndKeyboardType } = (0, useIUtils_1.useIUtils)();
10
10
  const cn = (0, index_web_1.useCn)();
11
11
  const { onChange: handleOnChange } = (0, index_web_1.useOnChange)({
@@ -18,6 +18,6 @@ function I({ className, value, defaultValue, placeholder, onChange, onChangeValu
18
18
  keyboardType,
19
19
  type,
20
20
  });
21
- return ((0, jsx_runtime_1.jsx)("input", { ref: ref, type: masterInputType, inputMode: masterInputMode, className: cn('outline-none', effectiveDisabled && 'opacity-60 cursor-not-allowed', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleOnChange, disabled: effectiveDisabled, ...rest }));
21
+ return ((0, jsx_runtime_1.jsx)("input", { ref: ref, type: masterInputType, inputMode: masterInputMode, className: cn('outline-none', effectiveDisabled && 'opacity-60 cursor-not-allowed', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleOnChange, disabled: effectiveDisabled, style: style, ...rest }));
22
22
  }
23
23
  exports.Input = I;
@@ -5,13 +5,13 @@ exports.L = L;
5
5
  const jsx_runtime_1 = require("nativewind/jsx-runtime");
6
6
  const index_native_1 = require("../../hooks/index.native");
7
7
  const index_web_1 = require("../../hooks/index.web");
8
- function L({ className, children, to, href, onClick, onPress, preventDefault, ref, ...rest }) {
8
+ function L({ className, children, to, href, onClick, onPress, preventDefault, ref, style, ...rest }) {
9
9
  const cn = (0, index_web_1.useCn)();
10
10
  const { onAction } = (0, index_native_1.useAction)({
11
11
  onClick,
12
12
  onPress,
13
13
  });
14
14
  const resolvedHref = href ?? to ?? '#';
15
- return ((0, jsx_runtime_1.jsx)("a", { ref: ref, href: resolvedHref, className: cn('cursor-pointer', className), onClick: onAction, ...rest, children: children }));
15
+ return ((0, jsx_runtime_1.jsx)("a", { ref: ref, href: resolvedHref, className: cn('cursor-pointer', className), onClick: onAction, style: style, ...rest, children: children }));
16
16
  }
17
17
  exports.Link = L;
@@ -4,9 +4,9 @@ exports.Overflow = void 0;
4
4
  exports.O = O;
5
5
  const jsx_runtime_1 = require("nativewind/jsx-runtime");
6
6
  const index_web_1 = require("../../hooks/index.web");
7
- function O({ className, children, horizontal, ref, ...rest }) {
7
+ function O({ className, children, horizontal, ref, style, ...rest }) {
8
8
  const cn = (0, index_web_1.useCn)();
9
9
  const overflowClass = horizontal ? 'overflow-x-auto' : 'overflow-y-auto';
10
- return ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: cn(overflowClass, className), ...rest, children: children }));
10
+ return ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: cn(overflowClass, className), style: style, ...rest, children: children }));
11
11
  }
12
12
  exports.Overflow = O;
@@ -4,10 +4,10 @@ exports.Picture = void 0;
4
4
  exports.P = P;
5
5
  const jsx_runtime_1 = require("nativewind/jsx-runtime");
6
6
  const index_web_1 = require("../../hooks/index.web");
7
- function P({ alt, className, ref, ...rest }) {
7
+ function P({ alt, className, ref, style, ...rest }) {
8
8
  const cn = (0, index_web_1.useCn)();
9
9
  return (
10
10
  // biome-ignore lint/a11y/useAltText: <explanation>
11
- (0, jsx_runtime_1.jsx)("img", { alt: alt, "aria-label": alt, ref: ref, className: cn('object-cover', className), ...rest }));
11
+ (0, jsx_runtime_1.jsx)("img", { alt: alt, "aria-label": alt, ref: ref, className: cn('object-cover', className), style: style, ...rest }));
12
12
  }
13
13
  exports.Picture = P;
@@ -2,12 +2,12 @@ import { jsx as _jsx } from "nativewind/jsx-runtime";
2
2
  import { Pressable } from 'react-native';
3
3
  import { useAction, useCn } from '../../hooks/index.native';
4
4
  import { E } from '../e/index.native';
5
- export function A({ className, children, onPress, onClick, disabled, ref, ...rest }) {
5
+ export function A({ className, children, onPress, onClick, disabled, ref, style, ...rest }) {
6
6
  const cn = useCn();
7
7
  const { onAction } = useAction({
8
8
  onClick,
9
9
  onPress,
10
10
  });
11
- return (_jsx(Pressable, { ref: ref, onPress: onAction, disabled: disabled, ...rest, children: _jsx(E, { className: cn(disabled && 'opacity-60', className), children: children }) }));
11
+ return (_jsx(Pressable, { ref: ref, onPress: onAction, disabled: disabled, children: _jsx(E, { className: cn(disabled && 'opacity-60', className), style: style, ...rest, children: children }) }));
12
12
  }
13
13
  export const Action = A;
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "nativewind/jsx-runtime";
2
2
  import { useAction, useCn } from '../../hooks/index.web';
3
- export function A({ className, children, onPress, onClick, disabled, ref, ...rest }) {
3
+ export function A({ className, children, onPress, onClick, disabled, ref, style, ...rest }) {
4
4
  const cn = useCn();
5
5
  const { onAction } = useAction({
6
6
  onClick,
7
7
  onPress,
8
8
  });
9
- return (_jsx("button", { ref: ref, type: "button", disabled: disabled, className: cn('cursor-pointer', disabled && 'opacity-60', className), onClick: onAction, ...rest, children: children }));
9
+ return (_jsx("button", { ref: ref, type: "button", disabled: disabled, className: cn('cursor-pointer', disabled && 'opacity-60', className), onClick: onAction, style: style, ...rest, children: children }));
10
10
  }
11
11
  export const Action = A;
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "nativewind/jsx-runtime";
2
2
  import { createPortal } from 'react-dom';
3
3
  import { useCn } from '../../hooks/index.web';
4
4
  import { E } from '../e/index.web';
5
- export function D({ open, onOpenChange, placement = 'center', className, backdropClassName, containerClassName, contentClassName, closeOnBackdropClick = true, children, ref, ...rest }) {
5
+ export function D({ open, onOpenChange, placement = 'center', className, backdropClassName, containerClassName, contentClassName, closeOnBackdropClick = true, children, ref, style, ...rest }) {
6
6
  const cn = useCn();
7
7
  if (typeof document === 'undefined')
8
8
  return null;
@@ -26,6 +26,6 @@ export function D({ open, onOpenChange, placement = 'center', className, backdro
26
26
  const contentClasses = cn('relative max-h-[90vh] w-full max-w-lg overflow-auto rounded-lg bg-background p-4 shadow-lg', placement === 'left' || placement === 'right' ? 'h-full max-h-none' : '', placement === 'bottom' || placement === 'top' ? 'max-w-none' : '', className, contentClassName);
27
27
  return createPortal(_jsx(E, { className: backdropClasses, role: "presentation", onClick: handleBackdropClick, children: _jsx("div", { ref: ref,
28
28
  // biome-ignore lint/a11y/useSemanticElements: <explanation>
29
- role: "dialog", "aria-modal": "true", className: contentClasses, ...rest, children: children }) }), document.body);
29
+ role: "dialog", "aria-modal": "true", className: contentClasses, style: style, ...rest, children: children }) }), document.body);
30
30
  }
31
31
  export const Dialog = D;
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "nativewind/jsx-runtime";
2
2
  import { View } from 'react-native';
3
3
  import { useAction, useCn } from '../../hooks/index.native';
4
4
  import { T } from '../t/index.native';
5
- export function E({ className, children, onPress, onClick, ref, ...rest }) {
5
+ export function E({ className, children, onPress, onClick, ref, style, ...rest }) {
6
6
  const cn = useCn();
7
7
  const { onAction } = useAction({
8
8
  onClick,
@@ -12,6 +12,6 @@ export function E({ className, children, onPress, onClick, ref, ...rest }) {
12
12
  onAction();
13
13
  return false;
14
14
  };
15
- return (_jsx(View, { ref: ref, className: cn(className), onStartShouldSetResponder: handleOnPress, ...rest, children: typeof children === 'string' ? _jsx(T, { children: children }) : children }));
15
+ return (_jsx(View, { ref: ref, className: cn(className), onStartShouldSetResponder: handleOnPress, style: style, ...rest, children: typeof children === 'string' ? _jsx(T, { children: children }) : children }));
16
16
  }
17
17
  export const Element = E;
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "nativewind/jsx-runtime";
2
2
  import { useAction, useCn } from '../../hooks/index.web';
3
- export function E({ className, children, onPress, onClick, ref, ...rest }) {
3
+ export function E({ className, children, onPress, onClick, ref, style, ...rest }) {
4
4
  const cn = useCn();
5
5
  const { onAction } = useAction({
6
6
  onClick,
7
7
  onPress,
8
8
  });
9
- return (_jsx("div", { ref: ref, className: cn(className), onClick: onAction, ...rest, children: children }));
9
+ return (_jsx("div", { ref: ref, className: cn(className), onClick: onAction, style: style, ...rest, children: children }));
10
10
  }
11
11
  export const Element = E;
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "nativewind/jsx-runtime";
2
2
  import { TextInput } from 'react-native';
3
3
  import { useCn, useOnChange } from '../../hooks/index.native';
4
4
  import { useIUtils } from './useIUtils';
5
- export function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, editable, disabled, ref, ...rest }) {
5
+ export function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, editable, disabled, ref, style, ...rest }) {
6
6
  const { treatTypeModeAndKeyboardType } = useIUtils();
7
7
  const cn = useCn();
8
8
  const { onChange: handleOnChange } = useOnChange({
@@ -21,6 +21,6 @@ export function I({ className, value, defaultValue, placeholder, onChange, onCha
21
21
  if (onChangeValue)
22
22
  onChangeValue(event.nativeEvent.text);
23
23
  };
24
- return (_jsx(TextInput, { ref: ref, className: cn(!effectiveEditable && 'opacity-60', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleChange, secureTextEntry: masterInputType === 'password', keyboardType: masterInputKeyboardType, editable: effectiveEditable, ...rest }));
24
+ return (_jsx(TextInput, { ref: ref, className: cn(!effectiveEditable && 'opacity-60', className), value: value, defaultValue: defaultValue, placeholder: placeholder, onChange: handleChange, secureTextEntry: masterInputType === 'password', keyboardType: masterInputKeyboardType, editable: effectiveEditable, style: style, ...rest }));
25
25
  }
26
26
  export const Input = I;