@react-xp/aeiou 0.1.0-beta.9 → 1.0.0-beta.0

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 (222) hide show
  1. package/dist/cjs/components/a/a.native.js +7 -7
  2. package/dist/cjs/components/a/a.web.js +7 -7
  3. package/dist/cjs/components/d/d.native.js +8 -8
  4. package/dist/cjs/components/d/d.web.js +10 -7
  5. package/dist/cjs/components/e/e.native.js +7 -14
  6. package/dist/cjs/components/e/e.web.js +7 -9
  7. package/dist/cjs/components/i/i.native.js +9 -5
  8. package/dist/cjs/components/i/i.web.js +9 -5
  9. package/dist/cjs/components/l/l.web.js +7 -9
  10. package/dist/cjs/components/o/o.native.js +4 -4
  11. package/dist/cjs/components/o/o.web.js +7 -4
  12. package/dist/cjs/components/p/p.native.js +4 -4
  13. package/dist/cjs/components/p/p.web.js +7 -4
  14. package/dist/cjs/components/s/s.native.js +4 -4
  15. package/dist/cjs/components/t/t.native.js +7 -8
  16. package/dist/cjs/components/t/t.web.js +7 -8
  17. package/dist/cjs/components/u/errorBoundary.js +27 -0
  18. package/dist/cjs/components/u/provider.native.js +3 -2
  19. package/dist/cjs/components/u/provider.web.js +3 -2
  20. package/dist/cjs/hooks/index.js +0 -3
  21. package/dist/cjs/hooks/index.native.js +2 -2
  22. package/dist/cjs/hooks/index.web.js +2 -2
  23. package/dist/cjs/hooks/useInteractiveHandlers/useInteractiveHandlers.native.js +43 -0
  24. package/dist/cjs/hooks/useInteractiveHandlers/useInteractiveHandlers.web.js +45 -0
  25. package/dist/cjs/hooks/useInteractiveState/useInteractiveState.native.js +53 -15
  26. package/dist/cjs/hooks/useInteractiveState/useInteractiveState.web.js +51 -39
  27. package/dist/cjs/hooks/useOnChange.js +1 -1
  28. package/dist/cjs/hooks/useStyles/useStyles.helpers.js +35 -0
  29. package/dist/cjs/hooks/useStyles/useStyles.native.js +42 -0
  30. package/dist/cjs/hooks/useStyles/useStyles.web.js +71 -0
  31. package/dist/esm/components/a/a.native.js +7 -7
  32. package/dist/esm/components/a/a.web.js +7 -7
  33. package/dist/esm/components/d/d.native.js +6 -6
  34. package/dist/esm/components/d/d.web.js +8 -5
  35. package/dist/esm/components/e/e.native.js +6 -13
  36. package/dist/esm/components/e/e.web.js +6 -8
  37. package/dist/esm/components/i/i.native.js +7 -3
  38. package/dist/esm/components/i/i.web.js +7 -3
  39. package/dist/esm/components/l/l.web.js +6 -8
  40. package/dist/esm/components/o/o.native.js +3 -3
  41. package/dist/esm/components/o/o.web.js +6 -3
  42. package/dist/esm/components/p/p.native.js +3 -3
  43. package/dist/esm/components/p/p.web.js +6 -3
  44. package/dist/esm/components/s/s.native.js +3 -3
  45. package/dist/esm/components/t/t.native.js +6 -7
  46. package/dist/esm/components/t/t.web.js +6 -7
  47. package/dist/esm/components/u/errorBoundary.js +23 -0
  48. package/dist/esm/components/u/provider.native.js +3 -2
  49. package/dist/esm/components/u/provider.web.js +3 -2
  50. package/dist/esm/hooks/index.js +0 -3
  51. package/dist/esm/hooks/index.native.js +2 -2
  52. package/dist/esm/hooks/index.web.js +2 -2
  53. package/dist/esm/hooks/useInteractiveHandlers/useInteractiveHandlers.native.js +40 -0
  54. package/dist/esm/hooks/useInteractiveHandlers/useInteractiveHandlers.web.js +42 -0
  55. package/dist/esm/hooks/useInteractiveState/useInteractiveState.native.js +54 -16
  56. package/dist/esm/hooks/useInteractiveState/useInteractiveState.web.js +51 -39
  57. package/dist/esm/hooks/useOnChange.js +1 -1
  58. package/dist/esm/hooks/useStyles/useStyles.helpers.js +29 -0
  59. package/dist/esm/hooks/useStyles/useStyles.native.js +38 -0
  60. package/dist/esm/hooks/useStyles/useStyles.web.js +66 -0
  61. package/dist/native/cjs/components/a/a.native.js +7 -7
  62. package/dist/native/cjs/components/a/a.web.js +7 -7
  63. package/dist/native/cjs/components/d/d.native.js +8 -8
  64. package/dist/native/cjs/components/d/d.web.js +10 -7
  65. package/dist/native/cjs/components/e/e.native.js +7 -14
  66. package/dist/native/cjs/components/e/e.web.js +7 -9
  67. package/dist/native/cjs/components/i/i.native.js +9 -5
  68. package/dist/native/cjs/components/i/i.web.js +9 -5
  69. package/dist/native/cjs/components/l/l.web.js +7 -9
  70. package/dist/native/cjs/components/o/o.native.js +4 -4
  71. package/dist/native/cjs/components/o/o.web.js +7 -4
  72. package/dist/native/cjs/components/p/p.native.js +4 -4
  73. package/dist/native/cjs/components/p/p.web.js +7 -4
  74. package/dist/native/cjs/components/s/s.native.js +4 -4
  75. package/dist/native/cjs/components/t/t.native.js +7 -8
  76. package/dist/native/cjs/components/t/t.web.js +7 -8
  77. package/dist/native/cjs/components/u/errorBoundary.js +27 -0
  78. package/dist/native/cjs/components/u/provider.native.js +3 -2
  79. package/dist/native/cjs/components/u/provider.web.js +3 -2
  80. package/dist/native/cjs/hooks/index.js +0 -3
  81. package/dist/native/cjs/hooks/index.native.js +2 -2
  82. package/dist/native/cjs/hooks/index.web.js +2 -2
  83. package/dist/native/cjs/hooks/useInteractiveHandlers/useInteractiveHandlers.native.js +43 -0
  84. package/dist/native/cjs/hooks/useInteractiveHandlers/useInteractiveHandlers.web.js +45 -0
  85. package/dist/native/cjs/hooks/useInteractiveState/useInteractiveState.native.js +53 -15
  86. package/dist/native/cjs/hooks/useInteractiveState/useInteractiveState.web.js +51 -39
  87. package/dist/native/cjs/hooks/useOnChange.js +1 -1
  88. package/dist/native/cjs/hooks/useStyles/useStyles.helpers.js +35 -0
  89. package/dist/native/cjs/hooks/useStyles/useStyles.native.js +42 -0
  90. package/dist/native/cjs/hooks/useStyles/useStyles.web.js +71 -0
  91. package/dist/native/esm/components/a/a.native.js +7 -7
  92. package/dist/native/esm/components/a/a.web.js +7 -7
  93. package/dist/native/esm/components/d/d.native.js +6 -6
  94. package/dist/native/esm/components/d/d.web.js +8 -5
  95. package/dist/native/esm/components/e/e.native.js +6 -13
  96. package/dist/native/esm/components/e/e.web.js +6 -8
  97. package/dist/native/esm/components/i/i.native.js +7 -3
  98. package/dist/native/esm/components/i/i.web.js +7 -3
  99. package/dist/native/esm/components/l/l.web.js +6 -8
  100. package/dist/native/esm/components/o/o.native.js +3 -3
  101. package/dist/native/esm/components/o/o.web.js +6 -3
  102. package/dist/native/esm/components/p/p.native.js +3 -3
  103. package/dist/native/esm/components/p/p.web.js +6 -3
  104. package/dist/native/esm/components/s/s.native.js +3 -3
  105. package/dist/native/esm/components/t/t.native.js +6 -7
  106. package/dist/native/esm/components/t/t.web.js +6 -7
  107. package/dist/native/esm/components/u/errorBoundary.js +23 -0
  108. package/dist/native/esm/components/u/provider.native.js +3 -2
  109. package/dist/native/esm/components/u/provider.web.js +3 -2
  110. package/dist/native/esm/hooks/index.js +0 -3
  111. package/dist/native/esm/hooks/index.native.js +2 -2
  112. package/dist/native/esm/hooks/index.web.js +2 -2
  113. package/dist/native/esm/hooks/useInteractiveHandlers/useInteractiveHandlers.native.js +40 -0
  114. package/dist/native/esm/hooks/useInteractiveHandlers/useInteractiveHandlers.web.js +42 -0
  115. package/dist/native/esm/hooks/useInteractiveState/useInteractiveState.native.js +54 -16
  116. package/dist/native/esm/hooks/useInteractiveState/useInteractiveState.web.js +51 -39
  117. package/dist/native/esm/hooks/useOnChange.js +1 -1
  118. package/dist/native/esm/hooks/useStyles/useStyles.helpers.js +29 -0
  119. package/dist/native/esm/hooks/useStyles/useStyles.native.js +38 -0
  120. package/dist/native/esm/hooks/useStyles/useStyles.web.js +66 -0
  121. package/dist/native/tsconfig.native.cjs.tsbuildinfo +1 -1
  122. package/dist/native/tsconfig.native.esm.tsbuildinfo +1 -1
  123. package/dist/tsconfig.cjs.tsbuildinfo +1 -1
  124. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  125. package/dist/types/components/a/a.native.d.ts +1 -1
  126. package/dist/types/components/a/a.native.d.ts.map +1 -1
  127. package/dist/types/components/a/a.web.d.ts +1 -1
  128. package/dist/types/components/a/a.web.d.ts.map +1 -1
  129. package/dist/types/components/d/d.native.d.ts +1 -1
  130. package/dist/types/components/d/d.native.d.ts.map +1 -1
  131. package/dist/types/components/d/d.web.d.ts +1 -1
  132. package/dist/types/components/d/d.web.d.ts.map +1 -1
  133. package/dist/types/components/e/e.native.d.ts +1 -1
  134. package/dist/types/components/e/e.native.d.ts.map +1 -1
  135. package/dist/types/components/e/e.web.d.ts +1 -1
  136. package/dist/types/components/e/e.web.d.ts.map +1 -1
  137. package/dist/types/components/i/i.native.d.ts +1 -1
  138. package/dist/types/components/i/i.native.d.ts.map +1 -1
  139. package/dist/types/components/i/i.web.d.ts +1 -1
  140. package/dist/types/components/i/i.web.d.ts.map +1 -1
  141. package/dist/types/components/i/useIUtils.d.ts +2 -2
  142. package/dist/types/components/l/l.web.d.ts +1 -1
  143. package/dist/types/components/l/l.web.d.ts.map +1 -1
  144. package/dist/types/components/o/o.native.d.ts +1 -1
  145. package/dist/types/components/o/o.native.d.ts.map +1 -1
  146. package/dist/types/components/o/o.web.d.ts +1 -1
  147. package/dist/types/components/o/o.web.d.ts.map +1 -1
  148. package/dist/types/components/p/p.native.d.ts +1 -1
  149. package/dist/types/components/p/p.native.d.ts.map +1 -1
  150. package/dist/types/components/p/p.web.d.ts +1 -1
  151. package/dist/types/components/p/p.web.d.ts.map +1 -1
  152. package/dist/types/components/s/s.native.d.ts +1 -1
  153. package/dist/types/components/s/s.native.d.ts.map +1 -1
  154. package/dist/types/components/t/t.native.d.ts +1 -1
  155. package/dist/types/components/t/t.native.d.ts.map +1 -1
  156. package/dist/types/components/t/t.web.d.ts +1 -1
  157. package/dist/types/components/t/t.web.d.ts.map +1 -1
  158. package/dist/types/components/u/errorBoundary.d.ts +18 -0
  159. package/dist/types/components/u/errorBoundary.d.ts.map +1 -0
  160. package/dist/types/components/u/provider.native.d.ts +1 -1
  161. package/dist/types/components/u/provider.native.d.ts.map +1 -1
  162. package/dist/types/components/u/provider.web.d.ts +1 -1
  163. package/dist/types/components/u/provider.web.d.ts.map +1 -1
  164. package/dist/types/components/u/types.d.ts +5 -0
  165. package/dist/types/components/u/types.d.ts.map +1 -1
  166. package/dist/types/hooks/index.d.ts +0 -3
  167. package/dist/types/hooks/index.d.ts.map +1 -1
  168. package/dist/types/hooks/index.native.d.ts +2 -2
  169. package/dist/types/hooks/index.native.d.ts.map +1 -1
  170. package/dist/types/hooks/index.web.d.ts +2 -2
  171. package/dist/types/hooks/index.web.d.ts.map +1 -1
  172. package/dist/types/hooks/useInteractiveHandlers/useInteractiveHandlers.native.d.ts +11 -0
  173. package/dist/types/hooks/useInteractiveHandlers/useInteractiveHandlers.native.d.ts.map +1 -0
  174. package/dist/types/hooks/useInteractiveHandlers/useInteractiveHandlers.web.d.ts +12 -0
  175. package/dist/types/hooks/useInteractiveHandlers/useInteractiveHandlers.web.d.ts.map +1 -0
  176. package/dist/types/hooks/useInteractiveState/useInteractiveState.native.d.ts +12 -6
  177. package/dist/types/hooks/useInteractiveState/useInteractiveState.native.d.ts.map +1 -1
  178. package/dist/types/hooks/useInteractiveState/useInteractiveState.web.d.ts +13 -12
  179. package/dist/types/hooks/useInteractiveState/useInteractiveState.web.d.ts.map +1 -1
  180. package/dist/types/hooks/useOnChange.d.ts +3 -3
  181. package/dist/types/hooks/useOnChange.d.ts.map +1 -1
  182. package/dist/types/hooks/useStyles/useStyles.helpers.d.ts +171 -0
  183. package/dist/types/hooks/useStyles/useStyles.helpers.d.ts.map +1 -0
  184. package/dist/types/hooks/useStyles/useStyles.native.d.ts +15 -0
  185. package/dist/types/hooks/useStyles/useStyles.native.d.ts.map +1 -0
  186. package/dist/types/hooks/useStyles/useStyles.types.d.ts +6 -0
  187. package/dist/types/hooks/useStyles/useStyles.types.d.ts.map +1 -0
  188. package/dist/types/hooks/useStyles/useStyles.web.d.ts +11 -0
  189. package/dist/types/hooks/useStyles/useStyles.web.d.ts.map +1 -0
  190. package/dist/types/types/base.d.ts +44 -11
  191. package/dist/types/types/base.d.ts.map +1 -1
  192. package/package.json +1 -1
  193. package/dist/cjs/hooks/useAction/useAction.native.js +0 -18
  194. package/dist/cjs/hooks/useAction/useAction.web.js +0 -21
  195. package/dist/cjs/hooks/useOnHoverOrPress.js +0 -21
  196. package/dist/esm/hooks/useAction/useAction.native.js +0 -14
  197. package/dist/esm/hooks/useAction/useAction.web.js +0 -17
  198. package/dist/esm/hooks/useOnHoverOrPress.js +0 -17
  199. package/dist/native/cjs/hooks/useAction/types.js +0 -2
  200. package/dist/native/cjs/hooks/useAction/useAction.native.js +0 -18
  201. package/dist/native/cjs/hooks/useAction/useAction.web.js +0 -21
  202. package/dist/native/cjs/hooks/useInteractiveState/useInteractiveState.types.js +0 -2
  203. package/dist/native/cjs/hooks/useOnHoverOrPress.js +0 -21
  204. package/dist/native/esm/hooks/useAction/types.js +0 -1
  205. package/dist/native/esm/hooks/useAction/useAction.native.js +0 -14
  206. package/dist/native/esm/hooks/useAction/useAction.web.js +0 -17
  207. package/dist/native/esm/hooks/useInteractiveState/useInteractiveState.types.js +0 -1
  208. package/dist/native/esm/hooks/useOnHoverOrPress.js +0 -17
  209. package/dist/types/hooks/useAction/types.d.ts +0 -7
  210. package/dist/types/hooks/useAction/types.d.ts.map +0 -1
  211. package/dist/types/hooks/useAction/useAction.native.d.ts +0 -5
  212. package/dist/types/hooks/useAction/useAction.native.d.ts.map +0 -1
  213. package/dist/types/hooks/useAction/useAction.web.d.ts +0 -5
  214. package/dist/types/hooks/useAction/useAction.web.d.ts.map +0 -1
  215. package/dist/types/hooks/useInteractiveState/useInteractiveState.types.d.ts +0 -18
  216. package/dist/types/hooks/useInteractiveState/useInteractiveState.types.d.ts.map +0 -1
  217. package/dist/types/hooks/useOnHoverOrPress.d.ts +0 -12
  218. package/dist/types/hooks/useOnHoverOrPress.d.ts.map +0 -1
  219. /package/dist/cjs/hooks/{useAction/types.js → useStyles/useStyles.types.js} +0 -0
  220. /package/dist/esm/hooks/{useAction/types.js → useStyles/useStyles.types.js} +0 -0
  221. /package/dist/{cjs/hooks/useInteractiveState/useInteractiveState.types.js → native/cjs/hooks/useStyles/useStyles.types.js} +0 -0
  222. /package/dist/{esm/hooks/useInteractiveState/useInteractiveState.types.js → native/esm/hooks/useStyles/useStyles.types.js} +0 -0
@@ -1,4 +1,4 @@
1
1
  import type { TDialogProps } from '../../types';
2
- export declare function D({ open, onOpenChange, placement, className, backdropClassName, containerClassName, contentClassName, children, ref, containerStyle, contentStyle, ...rest }: Omit<TDialogProps, 'closeOnBackdropClick' | 'style'>): import("react/jsx-runtime").JSX.Element;
2
+ export declare function D({ open, onOpenChange, placement, backdropClassName, backdropStyle, containerClassName, containerStyle, contentClassName, contentStyle, children, ref, ...restProps }: Omit<TDialogProps, 'closeOnBackdropClick' | 'style'>): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Dialog: typeof D;
4
4
  //# sourceMappingURL=d.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"d.native.d.ts","sourceRoot":"","sources":["../../../../src/components/d/d.native.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,aAAa,CAAC;AAGlE,wBAAgB,CAAC,CAAC,EAChB,IAAI,EACJ,YAAY,EACZ,SAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,QAAQ,EACR,GAAG,EACH,cAAc,EACd,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,IAAI,CAAC,YAAY,EAAE,sBAAsB,GAAG,OAAO,CAAC,2CA+CtD;AAED,eAAO,MAAM,MAAM,UAAI,CAAC"}
1
+ {"version":3,"file":"d.native.d.ts","sourceRoot":"","sources":["../../../../src/components/d/d.native.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAA0B,YAAY,EAAE,MAAM,aAAa,CAAC;AAGxE,wBAAgB,CAAC,CAAC,EAChB,IAAI,EACJ,YAAY,EACZ,SAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,QAAQ,EACR,GAAG,EACH,GAAG,SAAS,EACb,EAAE,IAAI,CAAC,YAAY,EAAE,sBAAsB,GAAG,OAAO,CAAC,2CAiDtD;AAED,eAAO,MAAM,MAAM,UAAI,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { TDialogProps } from '../../types';
2
- export declare function D({ open, onOpenChange, placement, className, backdropClassName, containerClassName, contentClassName, closeOnBackdropClick, children, ref, containerStyle, contentStyle, ...rest }: Omit<TDialogProps, 'style'>): import("react").ReactPortal | null;
2
+ export declare function D({ open, onOpenChange, placement, backdropClassName, backdropStyle, containerClassName, containerStyle, contentClassName, contentStyle, closeOnBackdropClick, children, ref, ...restProps }: Omit<TDialogProps, 'style'>): import("react").ReactPortal | null;
3
3
  export declare const Dialog: typeof D;
4
4
  //# sourceMappingURL=d.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"d.web.d.ts","sourceRoot":"","sources":["../../../../src/components/d/d.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAoB,YAAY,EAAa,MAAM,aAAa,CAAC;AAG7E,wBAAgB,CAAC,CAAC,EAChB,IAAI,EACJ,YAAY,EACZ,SAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,oBAA2B,EAC3B,QAAQ,EACR,GAAG,EACH,cAAc,EACd,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,sCA0D7B;AAED,eAAO,MAAM,MAAM,UAAI,CAAC"}
1
+ {"version":3,"file":"d.web.d.ts","sourceRoot":"","sources":["../../../../src/components/d/d.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGV,YAAY,EAEb,MAAM,aAAa,CAAC;AAGrB,wBAAgB,CAAC,CAAC,EAChB,IAAI,EACJ,YAAY,EACZ,SAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,oBAA2B,EAC3B,QAAQ,EACR,GAAG,EACH,GAAG,SAAS,EACb,EAAE,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,sCA8D7B;AAED,eAAO,MAAM,MAAM,UAAI,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { TElementProps } from '../../types';
2
- export declare function E({ className, children, onIn, onOut, onClick, onPress, ref, style, ...rest }: Omit<TElementProps, 'role'>): import("react/jsx-runtime").JSX.Element;
2
+ export declare function E({ className, children, ref, style, ...restProps }: Omit<TElementProps, 'role'>): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Element: typeof E;
4
4
  //# sourceMappingURL=e.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"e.native.d.ts","sourceRoot":"","sources":["../../../../src/components/e/e.native.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAgB,MAAM,aAAa,CAAC;AAG/D,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,OAAO,EACP,OAAO,EACP,GAAG,EACH,KAAK,EACL,GAAG,IAAI,EACR,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,2CA0B7B;AAED,eAAO,MAAM,OAAO,UAAI,CAAC"}
1
+ {"version":3,"file":"e.native.d.ts","sourceRoot":"","sources":["../../../../src/components/e/e.native.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,GAAG,EACH,KAAK,EACL,GAAG,SAAS,EACb,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,2CAe7B;AAED,eAAO,MAAM,OAAO,UAAI,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { TElementProps } from '../../types';
2
- export declare function E({ className, children, onIn, onOut, onPress, onClick, ref, style, ...rest }: TElementProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function E({ className, children, ref, role, style, ...restProps }: TElementProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Element: typeof E;
4
4
  //# sourceMappingURL=e.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"e.web.d.ts","sourceRoot":"","sources":["../../../../src/components/e/e.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAa,MAAM,aAAa,CAAC;AAE5D,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,OAAO,EACP,OAAO,EACP,GAAG,EACH,KAAK,EACL,GAAG,IAAI,EACR,EAAE,aAAa,2CAqBf;AAED,eAAO,MAAM,OAAO,UAAI,CAAC"}
1
+ {"version":3,"file":"e.web.d.ts","sourceRoot":"","sources":["../../../../src/components/e/e.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,GAAG,EACH,IAAI,EACJ,KAAK,EACL,GAAG,SAAS,EACb,EAAE,aAAa,2CAiBf;AAED,eAAO,MAAM,OAAO,UAAI,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { TInputProps } from '../../types';
2
- export declare function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, editable, disabled, ref, style, ...rest }: TInputProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function I<TValue = string>({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, editable, ref, name, style, ...restProps }: TInputProps<TValue>): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Input: typeof I;
4
4
  //# sourceMappingURL=i.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i.native.d.ts","sourceRoot":"","sources":["../../../../src/components/i/i.native.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAgB,MAAM,aAAa,CAAC;AAG7D,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,KAAK,EACL,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,aAAa,EACb,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,KAAK,EACL,GAAG,IAAI,EACR,EAAE,WAAW,2CA+Bb;AAED,eAAO,MAAM,KAAK,UAAI,CAAC"}
1
+ {"version":3,"file":"i.native.d.ts","sourceRoot":"","sources":["../../../../src/components/i/i.native.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,wBAAgB,CAAC,CAAC,MAAM,GAAG,MAAM,EAAE,EACjC,SAAS,EACT,KAAK,EACL,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,aAAa,EACb,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,GAAG,EACH,IAAI,EACJ,KAAK,EACL,GAAG,SAAS,EACb,EAAE,WAAW,CAAC,MAAM,CAAC,2CAkCrB;AAED,eAAO,MAAM,KAAK,UAAI,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { TInputProps } from '../../types';
2
- export declare function I({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, disabled, editable, ref, style, ...rest }: TInputProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function I<TValue = string>({ className, value, defaultValue, placeholder, onChange, onChangeValue, type, inputMode, keyboardType, editable, ref, style, ...restProps }: TInputProps<TValue>): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Input: typeof I;
4
4
  //# sourceMappingURL=i.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i.web.d.ts","sourceRoot":"","sources":["../../../../src/components/i/i.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAa,MAAM,aAAa,CAAC;AAG1D,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,KAAK,EACL,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,aAAa,EACb,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,KAAK,EACL,GAAG,IAAI,EACR,EAAE,WAAW,2CAkCb;AAED,eAAO,MAAM,KAAK,UAAI,CAAC"}
1
+ {"version":3,"file":"i.web.d.ts","sourceRoot":"","sources":["../../../../src/components/i/i.web.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,wBAAgB,CAAC,CAAC,MAAM,GAAG,MAAM,EAAE,EACjC,SAAS,EACT,KAAK,EACL,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,aAAa,EACb,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,GAAG,EACH,KAAK,EACL,GAAG,SAAS,EACb,EAAE,WAAW,CAAC,MAAM,CAAC,2CAqCrB;AAED,eAAO,MAAM,KAAK,UAAI,CAAC"}
@@ -2,8 +2,8 @@ import type { TInputProps } from '../../types';
2
2
  export declare const useIUtils: () => {
3
3
  treatTypeModeAndKeyboardType: ({ inputMode, keyboardType, type, }: Pick<TInputProps, "inputMode" | "keyboardType" | "type">) => {
4
4
  masterInputKeyboardType: "url" | "numeric" | "default" | "email-address" | "phone-pad" | "decimal-pad" | undefined;
5
- masterInputMode: "text" | "email" | "url" | "tel" | "search" | "numeric" | "decimal" | undefined;
6
- masterInputType: "number" | "checkbox" | "text" | "password" | "email" | "url" | "tel" | "date" | "file" | "hidden" | (string & {});
5
+ masterInputMode: "search" | "text" | "email" | "url" | "tel" | "numeric" | "decimal" | undefined;
6
+ masterInputType: "number" | "text" | "checkbox" | "password" | "email" | "url" | "tel" | "date" | "file" | "hidden" | (string & {});
7
7
  };
8
8
  };
9
9
  //# sourceMappingURL=useIUtils.d.ts.map
@@ -1,4 +1,4 @@
1
1
  import type { TLinkProps } from '../../types';
2
- export declare function L({ className, children, to, href, onClick, onPress, preventDefault, ref, style, ...rest }: TLinkProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function L({ className, children, to, href, preventDefault, ref, style, ...restProps }: TLinkProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Link: typeof L;
4
4
  //# sourceMappingURL=l.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"l.web.d.ts","sourceRoot":"","sources":["../../../../src/components/l/l.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,aAAa,CAAC;AAEzD,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,EAAE,EACF,IAAI,EACJ,OAAO,EACP,OAAO,EACP,cAAc,EACd,GAAG,EACH,KAAK,EACL,GAAG,IAAI,EACR,EAAE,UAAU,2CAoBZ;AAED,eAAO,MAAM,IAAI,UAAI,CAAC"}
1
+ {"version":3,"file":"l.web.d.ts","sourceRoot":"","sources":["../../../../src/components/l/l.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,EAAE,EACF,IAAI,EACJ,cAAc,EACd,GAAG,EACH,KAAK,EACL,GAAG,SAAS,EACb,EAAE,UAAU,2CAkBZ;AAED,eAAO,MAAM,IAAI,UAAI,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { TOverflowProps } from '../../types';
2
- export declare function O({ className, children, horizontal, ref, ...rest }: TOverflowProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function O({ className, children, horizontal, ref, ...restProps }: TOverflowProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Overflow: typeof O;
4
4
  //# sourceMappingURL=o.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"o.native.d.ts","sourceRoot":"","sources":["../../../../src/components/o/o.native.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,GAAG,EACH,GAAG,IAAI,EACR,EAAE,cAAc,2CAahB;AAED,eAAO,MAAM,QAAQ,UAAI,CAAC"}
1
+ {"version":3,"file":"o.native.d.ts","sourceRoot":"","sources":["../../../../src/components/o/o.native.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,GAAG,EACH,GAAG,SAAS,EACb,EAAE,cAAc,2CAahB;AAED,eAAO,MAAM,QAAQ,UAAI,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { TOverflowProps } from '../../types';
2
- export declare function O({ className, children, horizontal, ref, style, ...rest }: TOverflowProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function O({ className, children, horizontal, ref, style, ...restProps }: TOverflowProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Overflow: typeof O;
4
4
  //# sourceMappingURL=o.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"o.web.d.ts","sourceRoot":"","sources":["../../../../src/components/o/o.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,aAAa,CAAC;AAE7D,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,GAAG,EACH,KAAK,EACL,GAAG,IAAI,EACR,EAAE,cAAc,2CAchB;AAED,eAAO,MAAM,QAAQ,UAAI,CAAC"}
1
+ {"version":3,"file":"o.web.d.ts","sourceRoot":"","sources":["../../../../src/components/o/o.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,GAAG,EACH,KAAK,EACL,GAAG,SAAS,EACb,EAAE,cAAc,2CAiBhB;AAED,eAAO,MAAM,QAAQ,UAAI,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { TPictureProps } from '../../types';
2
- export declare function P({ className, src, source, ref, ...rest }: TPictureProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function P({ className, src, source, ref, ...restProps }: TPictureProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Picture: typeof P;
4
4
  //# sourceMappingURL=p.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"p.native.d.ts","sourceRoot":"","sources":["../../../../src/components/p/p.native.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,wBAAgB,CAAC,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa,2CAYxE;AAED,eAAO,MAAM,OAAO,UAAI,CAAC"}
1
+ {"version":3,"file":"p.native.d.ts","sourceRoot":"","sources":["../../../../src/components/p/p.native.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,GAAG,EACH,MAAM,EACN,GAAG,EACH,GAAG,SAAS,EACb,EAAE,aAAa,2CAYf;AAED,eAAO,MAAM,OAAO,UAAI,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { TPictureProps } from '../../types';
2
- export declare function P({ alt, className, ref, style, ...rest }: TPictureProps & {
2
+ export declare function P({ alt, className, ref, style, source, src, ...restProps }: TPictureProps & {
3
3
  alt: string;
4
4
  }): import("react/jsx-runtime").JSX.Element;
5
5
  export declare const Picture: typeof P;
@@ -1 +1 @@
1
- {"version":3,"file":"p.web.d.ts","sourceRoot":"","sources":["../../../../src/components/p/p.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAa,MAAM,aAAa,CAAC;AAE5D,wBAAgB,CAAC,CAAC,EAChB,GAAG,EACH,SAAS,EACT,GAAG,EACH,KAAK,EACL,GAAG,IAAI,EACR,EAAE,aAAa,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,2CAcjC;AAED,eAAO,MAAM,OAAO,UAAI,CAAC"}
1
+ {"version":3,"file":"p.web.d.ts","sourceRoot":"","sources":["../../../../src/components/p/p.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,wBAAgB,CAAC,CAAC,EAChB,GAAG,EACH,SAAS,EACT,GAAG,EACH,KAAK,EACL,MAAM,EACN,GAAG,EACH,GAAG,SAAS,EACb,EAAE,aAAa,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,2CAkBjC;AAED,eAAO,MAAM,OAAO,UAAI,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { TSafeProps } from '../../types';
2
- export declare function S({ className, children, ref, ...rest }: TSafeProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function S({ className, children, ref, ...restProps }: TSafeProps): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=s.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"s.native.d.ts","sourceRoot":"","sources":["../../../../src/components/s/s.native.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,wBAAgB,CAAC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,UAAU,2CAYlE"}
1
+ {"version":3,"file":"s.native.d.ts","sourceRoot":"","sources":["../../../../src/components/s/s.native.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,wBAAgB,CAAC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,SAAS,EAAE,EAAE,UAAU,2CAYvE"}
@@ -1,4 +1,4 @@
1
1
  import type { TTextProps } from '../../types';
2
- export declare function T({ className, children, onClick, onPress, ref, ...rest }: Omit<TTextProps, 'as'>): import("react/jsx-runtime").JSX.Element;
2
+ export declare function T({ className, children, ref, style, ...restProps }: Omit<TTextProps, 'as'>): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Text: typeof T;
4
4
  //# sourceMappingURL=t.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"t.native.d.ts","sourceRoot":"","sources":["../../../../src/components/t/t.native.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,OAAO,EACP,OAAO,EACP,GAAG,EACH,GAAG,IAAI,EACR,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,2CAiBxB;AAED,eAAO,MAAM,IAAI,UAAI,CAAC"}
1
+ {"version":3,"file":"t.native.d.ts","sourceRoot":"","sources":["../../../../src/components/t/t.native.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,GAAG,EACH,KAAK,EACL,GAAG,SAAS,EACb,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,2CAgBxB;AAED,eAAO,MAAM,IAAI,UAAI,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { TTextProps } from '../../types';
2
- export declare function T({ className, children, as, onClick, onPress, ref, ...rest }: TTextProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function T({ className, children, as, ref, style, ...restProps }: TTextProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Text: typeof T;
4
4
  //# sourceMappingURL=t.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"t.web.d.ts","sourceRoot":"","sources":["../../../../src/components/t/t.web.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,UAAU,EAAE,MAAM,aAAa,CAAC;AAEpD,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,EAAW,EACX,OAAO,EACP,OAAO,EACP,GAAG,EACH,GAAG,IAAI,EACR,EAAE,UAAU,2CAkBZ;AAED,eAAO,MAAM,IAAI,UAAI,CAAC"}
1
+ {"version":3,"file":"t.web.d.ts","sourceRoot":"","sources":["../../../../src/components/t/t.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAQ,UAAU,EAAE,MAAM,aAAa,CAAC;AAEpD,wBAAgB,CAAC,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,EAAW,EACX,GAAG,EACH,KAAK,EACL,GAAG,SAAS,EACb,EAAE,UAAU,2CAiBZ;AAED,eAAO,MAAM,IAAI,UAAI,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { Component, type PropsWithChildren } from 'react';
2
+ import type { TUniverseOnError } from './types';
3
+ export type TErrorBoundaryProps = PropsWithChildren & {
4
+ onError?: TUniverseOnError;
5
+ };
6
+ type TState = {
7
+ hasError: boolean;
8
+ };
9
+ export declare class ErrorBoundary extends Component<TErrorBoundaryProps, TState> {
10
+ constructor(props: TErrorBoundaryProps);
11
+ static getDerivedStateFromError(): {
12
+ hasError: boolean;
13
+ };
14
+ componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
15
+ render(): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
16
+ }
17
+ export {};
18
+ //# sourceMappingURL=errorBoundary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errorBoundary.d.ts","sourceRoot":"","sources":["../../../../src/components/u/errorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,GAAG;IACpD,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC5B,CAAC;AAEF,KAAK,MAAM,GAAG;IACZ,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,qBAAa,aAAc,SAAQ,SAAS,CAAC,mBAAmB,EAAE,MAAM,CAAC;gBAC3D,KAAK,EAAE,mBAAmB;IAKtC,MAAM,CAAC,wBAAwB;;;IAItB,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS;IAI1D,MAAM;CAWhB"}
@@ -1,4 +1,4 @@
1
1
  import type { TUniverseProps } from './types';
2
- export declare function U({ children, config }: TUniverseProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function U({ children, config, onError }: TUniverseProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Universe: typeof U;
4
4
  //# sourceMappingURL=provider.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provider.native.d.ts","sourceRoot":"","sources":["../../../../src/components/u/provider.native.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,wBAAgB,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,cAAc,2CAwBrD;AAED,eAAO,MAAM,QAAQ,UAAI,CAAC"}
1
+ {"version":3,"file":"provider.native.d.ts","sourceRoot":"","sources":["../../../../src/components/u/provider.native.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,wBAAgB,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,cAAc,2CA0B9D;AAED,eAAO,MAAM,QAAQ,UAAI,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { TUniverseProps } from './types';
2
- export declare function U({ children, config }: TUniverseProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function U({ children, config, onError }: TUniverseProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare const Universe: typeof U;
4
4
  //# sourceMappingURL=provider.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provider.web.d.ts","sourceRoot":"","sources":["../../../../src/components/u/provider.web.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,wBAAgB,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,cAAc,2CAsBrD;AAED,eAAO,MAAM,QAAQ,UAAI,CAAC"}
1
+ {"version":3,"file":"provider.web.d.ts","sourceRoot":"","sources":["../../../../src/components/u/provider.web.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,wBAAgB,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,cAAc,2CAwB9D;AAED,eAAO,MAAM,QAAQ,UAAI,CAAC"}
@@ -15,5 +15,10 @@ export type TUniverseContext = TUniverseConfig;
15
15
  export type TUniverseProps = {
16
16
  children: ReactNode;
17
17
  config?: TUniverseConfig;
18
+ onError?: TUniverseOnError;
19
+ };
20
+ export type TUniverseOnError = {
21
+ callback?: (error: Error, errorInfo: React.ErrorInfo) => void;
22
+ render?: ReactNode;
18
23
  };
19
24
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/u/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE/D,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,EAAE,oBAAoB,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,cAAc,EAAE,CAAC,WAAW,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC5D,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,oBAAoB,CAAC;AAEzE,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAE/C,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,eAAe,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/u/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE/D,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,EAAE,oBAAoB,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,cAAc,EAAE,CAAC,WAAW,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAC5D,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,oBAAoB,CAAC;AAEzE,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAE/C,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IAC9D,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC"}
@@ -1,7 +1,4 @@
1
- export * from './useAction/useAction.web';
2
1
  export * from './useCn';
3
- export * from './useInteractiveState/useInteractiveState.web';
4
2
  export * from './useOnChange';
5
- export * from './useOnHoverOrPress';
6
3
  export * from './useProps';
7
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,SAAS,CAAC;AACxB,cAAc,+CAA+C,CAAC;AAC9D,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC"}
@@ -1,7 +1,7 @@
1
- export * from './useAction/useAction.native';
2
1
  export * from './useCn';
2
+ export * from './useInteractiveHandlers/useInteractiveHandlers.native';
3
3
  export * from './useInteractiveState/useInteractiveState.native';
4
4
  export * from './useOnChange';
5
- export * from './useOnHoverOrPress';
6
5
  export * from './useProps';
6
+ export * from './useStyles/useStyles.native';
7
7
  //# sourceMappingURL=index.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.native.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,SAAS,CAAC;AACxB,cAAc,kDAAkD,CAAC;AACjE,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.native.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,wDAAwD,CAAC;AACvE,cAAc,kDAAkD,CAAC;AACjE,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,8BAA8B,CAAC"}
@@ -1,7 +1,7 @@
1
- export * from './useAction/useAction.web';
2
1
  export * from './useCn';
2
+ export * from './useInteractiveHandlers/useInteractiveHandlers.web';
3
3
  export * from './useInteractiveState/useInteractiveState.web';
4
4
  export * from './useOnChange';
5
- export * from './useOnHoverOrPress';
6
5
  export * from './useProps';
6
+ export * from './useStyles/useStyles.web';
7
7
  //# sourceMappingURL=index.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.web.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,SAAS,CAAC;AACxB,cAAc,+CAA+C,CAAC;AAC9D,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.web.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,qDAAqD,CAAC;AACpE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { GestureResponderEvent, NativeSyntheticEvent, TargetedEvent } from 'react-native';
2
+ import type { TInteractiveHandlersProps } from '../../types';
3
+ export declare function useInteractiveHandlers({ disabled, onBlur, onClick, onFocus, onPress, onIn, onOut, }?: TInteractiveHandlersProps): {
4
+ disabled: boolean | undefined;
5
+ eventHandlers: {
6
+ onBlur: (e: NativeSyntheticEvent<TargetedEvent>) => void;
7
+ onFocus: (e: NativeSyntheticEvent<TargetedEvent>) => void;
8
+ onPress: (e: GestureResponderEvent) => void;
9
+ };
10
+ };
11
+ //# sourceMappingURL=useInteractiveHandlers.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useInteractiveHandlers.native.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useInteractiveHandlers/useInteractiveHandlers.native.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACd,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAE7D,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,KAAK,GACN,GAAE,yBAA8B;;;oBAIjB,oBAAoB,CAAC,aAAa,CAAC;qBAOlC,oBAAoB,CAAC,aAAa,CAAC;qBAOnC,qBAAqB;;EA+BrC"}
@@ -0,0 +1,12 @@
1
+ import type { TAny, TInteractiveHandlersProps } from '../../types';
2
+ export declare function useInteractiveHandlers({ disabled, onBlur, onClick, onFocus, onPress, onIn, onOut, }?: TInteractiveHandlersProps): {
3
+ disabled: boolean | undefined;
4
+ eventHandlers: {
5
+ onBlur: (e: React.FocusEvent<TAny>) => void;
6
+ onClick: (e: React.MouseEvent<TAny>) => void;
7
+ onFocus: (e: React.FocusEvent<TAny>) => void;
8
+ onMouseEnter: (e: React.MouseEvent<TAny>) => void;
9
+ onMouseLeave: (e: React.MouseEvent<TAny>) => void;
10
+ };
11
+ };
12
+ //# sourceMappingURL=useInteractiveHandlers.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useInteractiveHandlers.web.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useInteractiveHandlers/useInteractiveHandlers.web.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAEnE,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,KAAK,GACN,GAAE,yBAA8B;;;oBAEjB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;qBAOrB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;qBAatB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;0BAOjB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;0BAOtB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;;EAa3C"}
@@ -1,15 +1,21 @@
1
- import type { GestureResponderEvent } from 'react-native';
2
- import type { TUseInteractiveStateOptions } from './useInteractiveState.types';
3
- export declare function useInteractiveState(options?: TUseInteractiveStateOptions): {
4
- state: "idle" | "pressed" | "disabled";
1
+ import type { GestureResponderEvent, NativeSyntheticEvent, TargetedEvent } from 'react-native';
2
+ import type { TInteractionState, TInteractiveStateProps } from '../../types';
3
+ export declare function useInteractiveState({ disabled, onBlur, onClick, onFocus, onPress, onIn, onOut, }?: TInteractiveStateProps): {
5
4
  dataAttrs: {
6
- readonly 'data-state': "idle" | "pressed" | "disabled";
7
- readonly 'data-pressed': "true" | "false";
5
+ readonly 'data-state': TInteractionState;
8
6
  readonly 'data-disabled': "true" | "false";
7
+ readonly 'data-focused': "true" | "false";
8
+ readonly 'data-hovered': "true" | "false";
9
+ readonly 'data-pressed': "true" | "false";
9
10
  };
11
+ disabled: boolean | undefined;
10
12
  eventHandlers: {
13
+ onBlur: (e: NativeSyntheticEvent<TargetedEvent>) => void;
14
+ onFocus: (e: NativeSyntheticEvent<TargetedEvent>) => void;
15
+ onPress: (e: GestureResponderEvent) => void;
11
16
  onPressIn: (e: GestureResponderEvent) => void;
12
17
  onPressOut: (e: GestureResponderEvent) => void;
13
18
  };
19
+ interactiveState: TInteractionState;
14
20
  };
15
21
  //# sourceMappingURL=useInteractiveState.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useInteractiveState.native.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useInteractiveState/useInteractiveState.native.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAEV,2BAA2B,EAC5B,MAAM,6BAA6B,CAAC;AAErC,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,2BAAgC;;;;;;;;uBAiB1D,qBAAqB;wBAIpB,qBAAqB;;EAOxC"}
1
+ {"version":3,"file":"useInteractiveState.native.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useInteractiveState/useInteractiveState.native.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACd,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE7E,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,KAAK,GACN,GAAE,sBAA2B;;;;;;;;;;oBAed,oBAAoB,CAAC,aAAa,CAAC;qBASlC,oBAAoB,CAAC,aAAa,CAAC;qBASnC,qBAAqB;uBAyBnB,qBAAqB;wBASpB,qBAAqB;;;EAiBxC"}
@@ -1,21 +1,22 @@
1
- import type { TAny } from '../../types';
2
- import type { TInteractiveState, TUseInteractiveStateOptions } from './useInteractiveState.types';
3
- export declare function useInteractiveState(options?: TUseInteractiveStateOptions): {
4
- state: TInteractiveState;
1
+ import type { TAny, TInteractionState, TInteractiveStateProps } from '../../types';
2
+ export declare function useInteractiveState({ disabled, onBlur, onClick, onFocus, onPress, onIn, onOut, }?: TInteractiveStateProps): {
5
3
  dataAttrs: {
6
- readonly 'data-state': TInteractiveState;
4
+ readonly 'data-state': TInteractionState;
5
+ readonly 'data-disabled': "true" | "false";
6
+ readonly 'data-focused': "true" | "false";
7
7
  readonly 'data-hovered': "true" | "false";
8
8
  readonly 'data-pressed': "true" | "false";
9
- readonly 'data-focused': "true" | "false";
10
- readonly 'data-disabled': "true" | "false";
11
9
  };
10
+ disabled: boolean | undefined;
12
11
  eventHandlers: {
13
- onMouseEnter: () => void;
14
- onMouseLeave: () => void;
12
+ onBlur: (e: React.FocusEvent<TAny>) => void;
13
+ onClick: (e: React.MouseEvent<TAny>) => void;
14
+ onFocus: (e: React.FocusEvent<TAny>) => void;
15
15
  onMouseDown: (e: React.MouseEvent<TAny>) => void;
16
- onMouseUp: () => void;
17
- onFocus: () => void;
18
- onBlur: () => void;
16
+ onMouseEnter: (e: React.MouseEvent<TAny>) => void;
17
+ onMouseLeave: (e: React.MouseEvent<TAny>) => void;
18
+ onMouseUp: (e: React.MouseEvent<TAny>) => void;
19
19
  };
20
+ interactiveState: TInteractionState;
20
21
  };
21
22
  //# sourceMappingURL=useInteractiveState.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useInteractiveState.web.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useInteractiveState/useInteractiveState.web.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,EACV,iBAAiB,EACjB,2BAA2B,EAC5B,MAAM,6BAA6B,CAAC;AAErC,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,2BAAgC;;;;;;;;;;;;yBAkCxD,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;;;;;EAqB1C"}
1
+ {"version":3,"file":"useInteractiveState.web.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useInteractiveState/useInteractiveState.web.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,IAAI,EACJ,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,aAAa,CAAC;AAErB,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,KAAK,GACN,GAAE,sBAA2B;;;;;;;;;;oBAad,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;qBASrB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;qBAatB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;yBASlB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;0BAOrB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;0BAStB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;uBAWzB,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC;;;EAiBxC"}
@@ -1,9 +1,9 @@
1
1
  import type { TAny } from '../types';
2
- type TOnChangeProps = {
2
+ type TOnChangeProps<TValue = string> = {
3
3
  onChange?: (event: TAny) => void;
4
- onChangeValue?: (value: string) => void;
4
+ onChangeValue?: (value: TValue) => void;
5
5
  };
6
- export declare const useOnChange: ({ onChange, onChangeValue }: TOnChangeProps) => {
6
+ export declare const useOnChange: <TValue = string>({ onChange, onChangeValue, }: TOnChangeProps<TValue>) => {
7
7
  onChange: (event?: TAny) => void;
8
8
  };
9
9
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"useOnChange.d.ts","sourceRoot":"","sources":["../../../src/hooks/useOnChange.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,KAAK,cAAc,GAAG;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,6BAA6B,cAAc;uBAG9C,IAAI;CAa5B,CAAC"}
1
+ {"version":3,"file":"useOnChange.d.ts","sourceRoot":"","sources":["../../../src/hooks/useOnChange.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,KAAK,cAAc,CAAC,MAAM,GAAG,MAAM,IAAI;IACrC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,MAAM,GAAG,MAAM,EAAE,8BAG1C,cAAc,CAAC,MAAM,CAAC;uBAGA,IAAI;CAa5B,CAAC"}