pytech-ui 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.d.ts CHANGED
@@ -1 +1 @@
1
- export {};
1
+ export * from './universal';
package/build/index.js CHANGED
@@ -1,2 +1,17 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./universal"), exports);
@@ -0,0 +1,3 @@
1
+ import Props from './types';
2
+ declare const _default: import("react").MemoExoticComponent<({ children }: Props) => import("react").JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const react_1 = require("react");
4
+ const jetpack_compose_1 = require("@expo/ui/jetpack-compose");
5
+ exports.default = (0, react_1.memo)(({ children }) => (<jetpack_compose_1.Host style={{ flex: 1 }}>
6
+ {children}
7
+ </jetpack_compose_1.Host>));
@@ -0,0 +1,3 @@
1
+ import Props from './types';
2
+ declare const _default: import("react").MemoExoticComponent<({ children }: Props) => import("react").ReactNode>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import Props from './types';
2
+ declare const _default: import("react").MemoExoticComponent<({ children }: Props) => import("react").JSX.Element>;
3
+ export default _default;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const react_1 = require("react");
4
+ const swift_ui_1 = require("@expo/ui/swift-ui");
5
+ exports.default = (0, react_1.memo)(({ children }) => (<swift_ui_1.Host style={{ flex: 1 }}>
6
+ {children}
7
+ </swift_ui_1.Host>));
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const react_1 = require("react");
4
+ exports.default = (0, react_1.memo)(({ children }) => children);
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ /**
3
+ The children to render inside the component.
4
+ */
5
+ children?: React.ReactNode;
6
+ };
7
+ export default Props;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { default as Host } from './Host';
2
+ export type { default as HostProps } from './Host/types';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Host = void 0;
7
+ var Host_1 = require("./Host");
8
+ Object.defineProperty(exports, "Host", { enumerable: true, get: function () { return __importDefault(Host_1).default; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pytech-ui",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Librería de componentes de UI para Pytech",
5
5
  "keywords": [
6
6
  "react-native",