@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.
- package/dist/cjs/components/a/a.native.js +7 -7
- package/dist/cjs/components/a/a.web.js +7 -7
- package/dist/cjs/components/d/d.native.js +8 -8
- package/dist/cjs/components/d/d.web.js +10 -7
- package/dist/cjs/components/e/e.native.js +7 -14
- package/dist/cjs/components/e/e.web.js +7 -9
- package/dist/cjs/components/i/i.native.js +9 -5
- package/dist/cjs/components/i/i.web.js +9 -5
- package/dist/cjs/components/l/l.web.js +7 -9
- package/dist/cjs/components/o/o.native.js +4 -4
- package/dist/cjs/components/o/o.web.js +7 -4
- package/dist/cjs/components/p/p.native.js +4 -4
- package/dist/cjs/components/p/p.web.js +7 -4
- package/dist/cjs/components/s/s.native.js +4 -4
- package/dist/cjs/components/t/t.native.js +7 -8
- package/dist/cjs/components/t/t.web.js +7 -8
- package/dist/cjs/components/u/errorBoundary.js +27 -0
- package/dist/cjs/components/u/provider.native.js +3 -2
- package/dist/cjs/components/u/provider.web.js +3 -2
- package/dist/cjs/hooks/index.js +0 -3
- package/dist/cjs/hooks/index.native.js +2 -2
- package/dist/cjs/hooks/index.web.js +2 -2
- package/dist/cjs/hooks/useInteractiveHandlers/useInteractiveHandlers.native.js +43 -0
- package/dist/cjs/hooks/useInteractiveHandlers/useInteractiveHandlers.web.js +45 -0
- package/dist/cjs/hooks/useInteractiveState/useInteractiveState.native.js +53 -15
- package/dist/cjs/hooks/useInteractiveState/useInteractiveState.web.js +51 -39
- package/dist/cjs/hooks/useOnChange.js +1 -1
- package/dist/cjs/hooks/useStyles/useStyles.helpers.js +35 -0
- package/dist/cjs/hooks/useStyles/useStyles.native.js +42 -0
- package/dist/cjs/hooks/useStyles/useStyles.web.js +71 -0
- package/dist/esm/components/a/a.native.js +7 -7
- package/dist/esm/components/a/a.web.js +7 -7
- package/dist/esm/components/d/d.native.js +6 -6
- package/dist/esm/components/d/d.web.js +8 -5
- package/dist/esm/components/e/e.native.js +6 -13
- package/dist/esm/components/e/e.web.js +6 -8
- package/dist/esm/components/i/i.native.js +7 -3
- package/dist/esm/components/i/i.web.js +7 -3
- package/dist/esm/components/l/l.web.js +6 -8
- package/dist/esm/components/o/o.native.js +3 -3
- package/dist/esm/components/o/o.web.js +6 -3
- package/dist/esm/components/p/p.native.js +3 -3
- package/dist/esm/components/p/p.web.js +6 -3
- package/dist/esm/components/s/s.native.js +3 -3
- package/dist/esm/components/t/t.native.js +6 -7
- package/dist/esm/components/t/t.web.js +6 -7
- package/dist/esm/components/u/errorBoundary.js +23 -0
- package/dist/esm/components/u/provider.native.js +3 -2
- package/dist/esm/components/u/provider.web.js +3 -2
- package/dist/esm/hooks/index.js +0 -3
- package/dist/esm/hooks/index.native.js +2 -2
- package/dist/esm/hooks/index.web.js +2 -2
- package/dist/esm/hooks/useInteractiveHandlers/useInteractiveHandlers.native.js +40 -0
- package/dist/esm/hooks/useInteractiveHandlers/useInteractiveHandlers.web.js +42 -0
- package/dist/esm/hooks/useInteractiveState/useInteractiveState.native.js +54 -16
- package/dist/esm/hooks/useInteractiveState/useInteractiveState.web.js +51 -39
- package/dist/esm/hooks/useOnChange.js +1 -1
- package/dist/esm/hooks/useStyles/useStyles.helpers.js +29 -0
- package/dist/esm/hooks/useStyles/useStyles.native.js +38 -0
- package/dist/esm/hooks/useStyles/useStyles.web.js +66 -0
- package/dist/native/cjs/components/a/a.native.js +7 -7
- package/dist/native/cjs/components/a/a.web.js +7 -7
- package/dist/native/cjs/components/d/d.native.js +8 -8
- package/dist/native/cjs/components/d/d.web.js +10 -7
- package/dist/native/cjs/components/e/e.native.js +7 -14
- package/dist/native/cjs/components/e/e.web.js +7 -9
- package/dist/native/cjs/components/i/i.native.js +9 -5
- package/dist/native/cjs/components/i/i.web.js +9 -5
- package/dist/native/cjs/components/l/l.web.js +7 -9
- package/dist/native/cjs/components/o/o.native.js +4 -4
- package/dist/native/cjs/components/o/o.web.js +7 -4
- package/dist/native/cjs/components/p/p.native.js +4 -4
- package/dist/native/cjs/components/p/p.web.js +7 -4
- package/dist/native/cjs/components/s/s.native.js +4 -4
- package/dist/native/cjs/components/t/t.native.js +7 -8
- package/dist/native/cjs/components/t/t.web.js +7 -8
- package/dist/native/cjs/components/u/errorBoundary.js +27 -0
- package/dist/native/cjs/components/u/provider.native.js +3 -2
- package/dist/native/cjs/components/u/provider.web.js +3 -2
- package/dist/native/cjs/hooks/index.js +0 -3
- package/dist/native/cjs/hooks/index.native.js +2 -2
- package/dist/native/cjs/hooks/index.web.js +2 -2
- package/dist/native/cjs/hooks/useInteractiveHandlers/useInteractiveHandlers.native.js +43 -0
- package/dist/native/cjs/hooks/useInteractiveHandlers/useInteractiveHandlers.web.js +45 -0
- package/dist/native/cjs/hooks/useInteractiveState/useInteractiveState.native.js +53 -15
- package/dist/native/cjs/hooks/useInteractiveState/useInteractiveState.web.js +51 -39
- package/dist/native/cjs/hooks/useOnChange.js +1 -1
- package/dist/native/cjs/hooks/useStyles/useStyles.helpers.js +35 -0
- package/dist/native/cjs/hooks/useStyles/useStyles.native.js +42 -0
- package/dist/native/cjs/hooks/useStyles/useStyles.web.js +71 -0
- package/dist/native/esm/components/a/a.native.js +7 -7
- package/dist/native/esm/components/a/a.web.js +7 -7
- package/dist/native/esm/components/d/d.native.js +6 -6
- package/dist/native/esm/components/d/d.web.js +8 -5
- package/dist/native/esm/components/e/e.native.js +6 -13
- package/dist/native/esm/components/e/e.web.js +6 -8
- package/dist/native/esm/components/i/i.native.js +7 -3
- package/dist/native/esm/components/i/i.web.js +7 -3
- package/dist/native/esm/components/l/l.web.js +6 -8
- package/dist/native/esm/components/o/o.native.js +3 -3
- package/dist/native/esm/components/o/o.web.js +6 -3
- package/dist/native/esm/components/p/p.native.js +3 -3
- package/dist/native/esm/components/p/p.web.js +6 -3
- package/dist/native/esm/components/s/s.native.js +3 -3
- package/dist/native/esm/components/t/t.native.js +6 -7
- package/dist/native/esm/components/t/t.web.js +6 -7
- package/dist/native/esm/components/u/errorBoundary.js +23 -0
- package/dist/native/esm/components/u/provider.native.js +3 -2
- package/dist/native/esm/components/u/provider.web.js +3 -2
- package/dist/native/esm/hooks/index.js +0 -3
- package/dist/native/esm/hooks/index.native.js +2 -2
- package/dist/native/esm/hooks/index.web.js +2 -2
- package/dist/native/esm/hooks/useInteractiveHandlers/useInteractiveHandlers.native.js +40 -0
- package/dist/native/esm/hooks/useInteractiveHandlers/useInteractiveHandlers.web.js +42 -0
- package/dist/native/esm/hooks/useInteractiveState/useInteractiveState.native.js +54 -16
- package/dist/native/esm/hooks/useInteractiveState/useInteractiveState.web.js +51 -39
- package/dist/native/esm/hooks/useOnChange.js +1 -1
- package/dist/native/esm/hooks/useStyles/useStyles.helpers.js +29 -0
- package/dist/native/esm/hooks/useStyles/useStyles.native.js +38 -0
- package/dist/native/esm/hooks/useStyles/useStyles.web.js +66 -0
- package/dist/native/tsconfig.native.cjs.tsbuildinfo +1 -1
- package/dist/native/tsconfig.native.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/types/components/a/a.native.d.ts +1 -1
- package/dist/types/components/a/a.native.d.ts.map +1 -1
- package/dist/types/components/a/a.web.d.ts +1 -1
- package/dist/types/components/a/a.web.d.ts.map +1 -1
- package/dist/types/components/d/d.native.d.ts +1 -1
- package/dist/types/components/d/d.native.d.ts.map +1 -1
- package/dist/types/components/d/d.web.d.ts +1 -1
- package/dist/types/components/d/d.web.d.ts.map +1 -1
- package/dist/types/components/e/e.native.d.ts +1 -1
- package/dist/types/components/e/e.native.d.ts.map +1 -1
- package/dist/types/components/e/e.web.d.ts +1 -1
- package/dist/types/components/e/e.web.d.ts.map +1 -1
- package/dist/types/components/i/i.native.d.ts +1 -1
- package/dist/types/components/i/i.native.d.ts.map +1 -1
- package/dist/types/components/i/i.web.d.ts +1 -1
- package/dist/types/components/i/i.web.d.ts.map +1 -1
- package/dist/types/components/i/useIUtils.d.ts +2 -2
- package/dist/types/components/l/l.web.d.ts +1 -1
- package/dist/types/components/l/l.web.d.ts.map +1 -1
- package/dist/types/components/o/o.native.d.ts +1 -1
- package/dist/types/components/o/o.native.d.ts.map +1 -1
- package/dist/types/components/o/o.web.d.ts +1 -1
- package/dist/types/components/o/o.web.d.ts.map +1 -1
- package/dist/types/components/p/p.native.d.ts +1 -1
- package/dist/types/components/p/p.native.d.ts.map +1 -1
- package/dist/types/components/p/p.web.d.ts +1 -1
- package/dist/types/components/p/p.web.d.ts.map +1 -1
- package/dist/types/components/s/s.native.d.ts +1 -1
- package/dist/types/components/s/s.native.d.ts.map +1 -1
- package/dist/types/components/t/t.native.d.ts +1 -1
- package/dist/types/components/t/t.native.d.ts.map +1 -1
- package/dist/types/components/t/t.web.d.ts +1 -1
- package/dist/types/components/t/t.web.d.ts.map +1 -1
- package/dist/types/components/u/errorBoundary.d.ts +18 -0
- package/dist/types/components/u/errorBoundary.d.ts.map +1 -0
- package/dist/types/components/u/provider.native.d.ts +1 -1
- package/dist/types/components/u/provider.native.d.ts.map +1 -1
- package/dist/types/components/u/provider.web.d.ts +1 -1
- package/dist/types/components/u/provider.web.d.ts.map +1 -1
- package/dist/types/components/u/types.d.ts +5 -0
- package/dist/types/components/u/types.d.ts.map +1 -1
- package/dist/types/hooks/index.d.ts +0 -3
- package/dist/types/hooks/index.d.ts.map +1 -1
- package/dist/types/hooks/index.native.d.ts +2 -2
- package/dist/types/hooks/index.native.d.ts.map +1 -1
- package/dist/types/hooks/index.web.d.ts +2 -2
- package/dist/types/hooks/index.web.d.ts.map +1 -1
- package/dist/types/hooks/useInteractiveHandlers/useInteractiveHandlers.native.d.ts +11 -0
- package/dist/types/hooks/useInteractiveHandlers/useInteractiveHandlers.native.d.ts.map +1 -0
- package/dist/types/hooks/useInteractiveHandlers/useInteractiveHandlers.web.d.ts +12 -0
- package/dist/types/hooks/useInteractiveHandlers/useInteractiveHandlers.web.d.ts.map +1 -0
- package/dist/types/hooks/useInteractiveState/useInteractiveState.native.d.ts +12 -6
- package/dist/types/hooks/useInteractiveState/useInteractiveState.native.d.ts.map +1 -1
- package/dist/types/hooks/useInteractiveState/useInteractiveState.web.d.ts +13 -12
- package/dist/types/hooks/useInteractiveState/useInteractiveState.web.d.ts.map +1 -1
- package/dist/types/hooks/useOnChange.d.ts +3 -3
- package/dist/types/hooks/useOnChange.d.ts.map +1 -1
- package/dist/types/hooks/useStyles/useStyles.helpers.d.ts +171 -0
- package/dist/types/hooks/useStyles/useStyles.helpers.d.ts.map +1 -0
- package/dist/types/hooks/useStyles/useStyles.native.d.ts +15 -0
- package/dist/types/hooks/useStyles/useStyles.native.d.ts.map +1 -0
- package/dist/types/hooks/useStyles/useStyles.types.d.ts +6 -0
- package/dist/types/hooks/useStyles/useStyles.types.d.ts.map +1 -0
- package/dist/types/hooks/useStyles/useStyles.web.d.ts +11 -0
- package/dist/types/hooks/useStyles/useStyles.web.d.ts.map +1 -0
- package/dist/types/types/base.d.ts +44 -11
- package/dist/types/types/base.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/hooks/useAction/useAction.native.js +0 -18
- package/dist/cjs/hooks/useAction/useAction.web.js +0 -21
- package/dist/cjs/hooks/useOnHoverOrPress.js +0 -21
- package/dist/esm/hooks/useAction/useAction.native.js +0 -14
- package/dist/esm/hooks/useAction/useAction.web.js +0 -17
- package/dist/esm/hooks/useOnHoverOrPress.js +0 -17
- package/dist/native/cjs/hooks/useAction/types.js +0 -2
- package/dist/native/cjs/hooks/useAction/useAction.native.js +0 -18
- package/dist/native/cjs/hooks/useAction/useAction.web.js +0 -21
- package/dist/native/cjs/hooks/useInteractiveState/useInteractiveState.types.js +0 -2
- package/dist/native/cjs/hooks/useOnHoverOrPress.js +0 -21
- package/dist/native/esm/hooks/useAction/types.js +0 -1
- package/dist/native/esm/hooks/useAction/useAction.native.js +0 -14
- package/dist/native/esm/hooks/useAction/useAction.web.js +0 -17
- package/dist/native/esm/hooks/useInteractiveState/useInteractiveState.types.js +0 -1
- package/dist/native/esm/hooks/useOnHoverOrPress.js +0 -17
- package/dist/types/hooks/useAction/types.d.ts +0 -7
- package/dist/types/hooks/useAction/types.d.ts.map +0 -1
- package/dist/types/hooks/useAction/useAction.native.d.ts +0 -5
- package/dist/types/hooks/useAction/useAction.native.d.ts.map +0 -1
- package/dist/types/hooks/useAction/useAction.web.d.ts +0 -5
- package/dist/types/hooks/useAction/useAction.web.d.ts.map +0 -1
- package/dist/types/hooks/useInteractiveState/useInteractiveState.types.d.ts +0 -18
- package/dist/types/hooks/useInteractiveState/useInteractiveState.types.d.ts.map +0 -1
- package/dist/types/hooks/useOnHoverOrPress.d.ts +0 -12
- package/dist/types/hooks/useOnHoverOrPress.d.ts.map +0 -1
- /package/dist/cjs/hooks/{useAction/types.js → useStyles/useStyles.types.js} +0 -0
- /package/dist/esm/hooks/{useAction/types.js → useStyles/useStyles.types.js} +0 -0
- /package/dist/{cjs/hooks/useInteractiveState/useInteractiveState.types.js → native/cjs/hooks/useStyles/useStyles.types.js} +0 -0
- /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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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":"
|
|
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,
|
|
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":"
|
|
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,
|
|
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":"
|
|
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,
|
|
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":"
|
|
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: "
|
|
6
|
-
masterInputType: "number" | "
|
|
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,
|
|
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,
|
|
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, ...
|
|
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,
|
|
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, ...
|
|
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":"
|
|
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, ...
|
|
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,
|
|
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, ...
|
|
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":"
|
|
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, ...
|
|
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,
|
|
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,
|
|
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":"
|
|
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,
|
|
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":"
|
|
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":"
|
|
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":"
|
|
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;
|
|
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,
|
|
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,
|
|
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,
|
|
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 {
|
|
3
|
-
export declare function useInteractiveState(
|
|
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':
|
|
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,
|
|
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
|
-
|
|
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':
|
|
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
|
-
|
|
14
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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,
|
|
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:
|
|
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;
|
|
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"}
|