@tamagui/progress 1.93.3 → 1.94.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/dist/cjs/NativeProgressIOS.js +0 -33
- package/dist/cjs/NativeProgressIOS.js.map +0 -6
- package/dist/cjs/NativeProgressIOS.native.js +0 -84
- package/dist/cjs/NativeProgressIOS.native.js.map +0 -6
- package/dist/esm/NativeProgressIOS.js +0 -12
- package/dist/esm/NativeProgressIOS.js.map +0 -6
- package/dist/esm/NativeProgressIOS.mjs +0 -15
- package/dist/esm/NativeProgressIOS.native.js +0 -58
- package/dist/esm/NativeProgressIOS.native.js.map +0 -6
- package/dist/jsx/NativeProgressIOS.js +0 -12
- package/dist/jsx/NativeProgressIOS.js.map +0 -6
- package/dist/jsx/NativeProgressIOS.mjs +0 -15
- package/dist/jsx/NativeProgressIOS.native.js +0 -58
- package/dist/jsx/NativeProgressIOS.native.js.map +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/progress",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.94.1",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tamagui/compose-refs": "1.
|
|
36
|
-
"@tamagui/core": "1.
|
|
37
|
-
"@tamagui/create-context": "1.
|
|
38
|
-
"@tamagui/get-token": "1.
|
|
39
|
-
"@tamagui/helpers": "1.
|
|
40
|
-
"@tamagui/stacks": "1.
|
|
35
|
+
"@tamagui/compose-refs": "1.94.1",
|
|
36
|
+
"@tamagui/core": "1.94.1",
|
|
37
|
+
"@tamagui/create-context": "1.94.1",
|
|
38
|
+
"@tamagui/get-token": "1.94.1",
|
|
39
|
+
"@tamagui/helpers": "1.94.1",
|
|
40
|
+
"@tamagui/stacks": "1.94.1"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "*",
|
|
44
44
|
"react-native": "*"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@tamagui/build": "1.
|
|
47
|
+
"@tamagui/build": "1.94.1",
|
|
48
48
|
"react": "^18.2.0",
|
|
49
49
|
"react-native": "^0.73.4"
|
|
50
50
|
},
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
16
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
17
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
18
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
19
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
21
|
-
mod
|
|
22
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
23
|
-
var NativeProgressIOS_exports = {};
|
|
24
|
-
__export(NativeProgressIOS_exports, {
|
|
25
|
-
Progress: () => Progress
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(NativeProgressIOS_exports);
|
|
28
|
-
var import_expo_modules_core = require("expo-modules-core"), React = __toESM(require("react")), import_react_native = require("react-native-web"), import_jsx_runtime = require("react/jsx-runtime");
|
|
29
|
-
const NativeView = import_react_native.Platform.OS === "ios" ? (0, import_expo_modules_core.requireNativeViewManager)("Progress") : null, Progress = React.forwardRef(
|
|
30
|
-
({ max, ...restProps }, ref) => NativeView ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NativeView, { ref, max: max ?? 1, ...restProps }) : null
|
|
31
|
-
);
|
|
32
|
-
Progress.Indicator = (props) => null;
|
|
33
|
-
//# sourceMappingURL=NativeProgressIOS.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/NativeProgressIOS.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+BAAyC,8BACzC,QAAuB,2BACvB,sBAAyB,yBAQd;AANX,MAAM,aACJ,6BAAS,OAAO,YAAQ,mDAAyB,UAAU,IAAI,MAEpD,WAAW,MAAM;AAAA,EAC5B,CAAC,EAAE,KAAK,GAAG,UAAU,GAAqB,QACnC,aACE,4CAAC,cAAW,KAAU,KAAK,OAAO,GAAI,GAAG,WAAW,IADnC;AAG5B;AAGA,SAAS,YAAY,CAAC,UAAe;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
10
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
return to;
|
|
15
|
-
};
|
|
16
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
-
mod
|
|
23
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
24
|
-
var NativeProgressIOS_exports = {};
|
|
25
|
-
__export(NativeProgressIOS_exports, {
|
|
26
|
-
Progress: () => Progress
|
|
27
|
-
});
|
|
28
|
-
module.exports = __toCommonJS(NativeProgressIOS_exports);
|
|
29
|
-
var import_jsx_runtime = require("react/jsx-runtime"), import_expo_modules_core = require("expo-modules-core"), React = __toESM(require("react")), import_react_native = require("react-native");
|
|
30
|
-
function _define_property(obj, key, value) {
|
|
31
|
-
return key in obj ? Object.defineProperty(obj, key, {
|
|
32
|
-
value,
|
|
33
|
-
enumerable: !0,
|
|
34
|
-
configurable: !0,
|
|
35
|
-
writable: !0
|
|
36
|
-
}) : obj[key] = value, obj;
|
|
37
|
-
}
|
|
38
|
-
function _object_spread(target) {
|
|
39
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
40
|
-
var source = arguments[i] != null ? arguments[i] : {}, ownKeys = Object.keys(source);
|
|
41
|
-
typeof Object.getOwnPropertySymbols == "function" && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
42
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
43
|
-
}))), ownKeys.forEach(function(key) {
|
|
44
|
-
_define_property(target, key, source[key]);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
return target;
|
|
48
|
-
}
|
|
49
|
-
function _object_without_properties(source, excluded) {
|
|
50
|
-
if (source == null)
|
|
51
|
-
return {};
|
|
52
|
-
var target = _object_without_properties_loose(source, excluded), key, i;
|
|
53
|
-
if (Object.getOwnPropertySymbols) {
|
|
54
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
55
|
-
for (i = 0; i < sourceSymbolKeys.length; i++)
|
|
56
|
-
key = sourceSymbolKeys[i], !(excluded.indexOf(key) >= 0) && Object.prototype.propertyIsEnumerable.call(source, key) && (target[key] = source[key]);
|
|
57
|
-
}
|
|
58
|
-
return target;
|
|
59
|
-
}
|
|
60
|
-
function _object_without_properties_loose(source, excluded) {
|
|
61
|
-
if (source == null)
|
|
62
|
-
return {};
|
|
63
|
-
var target = {}, sourceKeys = Object.keys(source), key, i;
|
|
64
|
-
for (i = 0; i < sourceKeys.length; i++)
|
|
65
|
-
key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
|
|
66
|
-
return target;
|
|
67
|
-
}
|
|
68
|
-
var NativeView = import_react_native.Platform.OS === "ios" ? (0, import_expo_modules_core.requireNativeViewManager)("Progress") : null, Progress = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
|
|
69
|
-
var max = _param.max, restProps = _object_without_properties(_param, [
|
|
70
|
-
"max"
|
|
71
|
-
]);
|
|
72
|
-
return NativeView ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NativeView, _object_spread({
|
|
73
|
-
ref,
|
|
74
|
-
max: max ?? 1
|
|
75
|
-
}, restProps)) : null;
|
|
76
|
-
});
|
|
77
|
-
Progress.Indicator = function(props) {
|
|
78
|
-
return null;
|
|
79
|
-
};
|
|
80
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
81
|
-
0 && (module.exports = {
|
|
82
|
-
Progress
|
|
83
|
-
});
|
|
84
|
-
//# sourceMappingURL=NativeProgressIOS.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/Users/n8/tamagui/packages/progress/src/NativeProgressIOS.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAAA,2BAAyC,8BACzC,QAAuB,2BACvB,sBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEzB,IAAMA,aACJC,6BAASC,OAAO,YAAQC,mDAAyB,UAAA,IAAc,MAEpDC,WAAWC,sBAAMC,WAC5B,SAAA,QAA0CC,KAAAA;MAAvCC,MAAAA,OAAAA,KAAQC,YAAAA,2BAAAA,QAAAA;IAARD;;AACD,SAAKR,aACE,uCAAAU,KAACV,YAAAA,eAAAA;IAAWO;IAAUC,KAAKA,OAAO;KAAOC,SAAAA,CAAAA,IADxB;AAE1B,CAAA;AAIFL,SAASO,YAAY,SAACC,OAAAA;SAAe;;",
|
|
5
|
-
"names": ["NativeView", "Platform", "OS", "requireNativeViewManager", "Progress", "React", "forwardRef", "ref", "max", "restProps", "_jsx", "Indicator", "props"]
|
|
6
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { requireNativeViewManager } from "expo-modules-core";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { Platform } from "react-native-web";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
const NativeView = Platform.OS === "ios" ? requireNativeViewManager("Progress") : null, Progress = React.forwardRef(
|
|
6
|
-
({ max, ...restProps }, ref) => NativeView ? /* @__PURE__ */ jsx(NativeView, { ref, max: max ?? 1, ...restProps }) : null
|
|
7
|
-
);
|
|
8
|
-
Progress.Indicator = (props) => null;
|
|
9
|
-
export {
|
|
10
|
-
Progress
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=NativeProgressIOS.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/NativeProgressIOS.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAAS,gCAAgC;AACzC,YAAY,WAAW;AACvB,SAAS,gBAAgB;AAQd;AANX,MAAM,aACJ,SAAS,OAAO,QAAQ,yBAAyB,UAAU,IAAI,MAEpD,WAAW,MAAM;AAAA,EAC5B,CAAC,EAAE,KAAK,GAAG,UAAU,GAAqB,QACnC,aACE,oBAAC,cAAW,KAAU,KAAK,OAAO,GAAI,GAAG,WAAW,IADnC;AAG5B;AAGA,SAAS,YAAY,CAAC,UAAe;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { requireNativeViewManager } from "expo-modules-core";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { Platform } from "react-native-web";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
const NativeView = Platform.OS === "ios" ? requireNativeViewManager("Progress") : null,
|
|
6
|
-
Progress = React.forwardRef(({
|
|
7
|
-
max,
|
|
8
|
-
...restProps
|
|
9
|
-
}, ref) => NativeView ? /* @__PURE__ */jsx(NativeView, {
|
|
10
|
-
ref,
|
|
11
|
-
max: max ?? 1,
|
|
12
|
-
...restProps
|
|
13
|
-
}) : null);
|
|
14
|
-
Progress.Indicator = props => null;
|
|
15
|
-
export { Progress };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { requireNativeViewManager } from "expo-modules-core";
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import { Platform } from "react-native";
|
|
5
|
-
function _define_property(obj, key, value) {
|
|
6
|
-
return key in obj ? Object.defineProperty(obj, key, {
|
|
7
|
-
value,
|
|
8
|
-
enumerable: !0,
|
|
9
|
-
configurable: !0,
|
|
10
|
-
writable: !0
|
|
11
|
-
}) : obj[key] = value, obj;
|
|
12
|
-
}
|
|
13
|
-
function _object_spread(target) {
|
|
14
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
15
|
-
var source = arguments[i] != null ? arguments[i] : {}, ownKeys = Object.keys(source);
|
|
16
|
-
typeof Object.getOwnPropertySymbols == "function" && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
17
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
18
|
-
}))), ownKeys.forEach(function(key) {
|
|
19
|
-
_define_property(target, key, source[key]);
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
return target;
|
|
23
|
-
}
|
|
24
|
-
function _object_without_properties(source, excluded) {
|
|
25
|
-
if (source == null)
|
|
26
|
-
return {};
|
|
27
|
-
var target = _object_without_properties_loose(source, excluded), key, i;
|
|
28
|
-
if (Object.getOwnPropertySymbols) {
|
|
29
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
30
|
-
for (i = 0; i < sourceSymbolKeys.length; i++)
|
|
31
|
-
key = sourceSymbolKeys[i], !(excluded.indexOf(key) >= 0) && Object.prototype.propertyIsEnumerable.call(source, key) && (target[key] = source[key]);
|
|
32
|
-
}
|
|
33
|
-
return target;
|
|
34
|
-
}
|
|
35
|
-
function _object_without_properties_loose(source, excluded) {
|
|
36
|
-
if (source == null)
|
|
37
|
-
return {};
|
|
38
|
-
var target = {}, sourceKeys = Object.keys(source), key, i;
|
|
39
|
-
for (i = 0; i < sourceKeys.length; i++)
|
|
40
|
-
key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
|
|
41
|
-
return target;
|
|
42
|
-
}
|
|
43
|
-
var NativeView = Platform.OS === "ios" ? requireNativeViewManager("Progress") : null, Progress = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
|
|
44
|
-
var max = _param.max, restProps = _object_without_properties(_param, [
|
|
45
|
-
"max"
|
|
46
|
-
]);
|
|
47
|
-
return NativeView ? /* @__PURE__ */ _jsx(NativeView, _object_spread({
|
|
48
|
-
ref,
|
|
49
|
-
max: max ?? 1
|
|
50
|
-
}, restProps)) : null;
|
|
51
|
-
});
|
|
52
|
-
Progress.Indicator = function(props) {
|
|
53
|
-
return null;
|
|
54
|
-
};
|
|
55
|
-
export {
|
|
56
|
-
Progress
|
|
57
|
-
};
|
|
58
|
-
//# sourceMappingURL=NativeProgressIOS.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/Users/n8/tamagui/packages/progress/src/NativeProgressIOS.tsx"],
|
|
4
|
-
"mappings": ";AAAA,SAASA,gCAAgC;AACzC,YAAYC,WAAW;AACvB,SAASC,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEzB,IAAMC,aACJD,SAASE,OAAO,QAAQJ,yBAAyB,UAAA,IAAc,MAEpDK,WAAWJ,sBAAMK,WAC5B,SAAA,QAA0CC,KAAAA;MAAvCC,MAAAA,OAAAA,KAAQC,YAAAA,2BAAAA,QAAAA;IAARD;;AACD,SAAKL,aACE,qBAACA,YAAAA,eAAAA;IAAWI;IAAUC,KAAKA,OAAO;KAAOC,SAAAA,CAAAA,IADxB;AAE1B,CAAA;AAIFJ,SAASK,YAAY,SAACC,OAAAA;SAAe;;",
|
|
5
|
-
"names": ["requireNativeViewManager", "React", "Platform", "NativeView", "OS", "Progress", "forwardRef", "ref", "max", "restProps", "Indicator", "props"]
|
|
6
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { requireNativeViewManager } from "expo-modules-core";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { Platform } from "react-native-web";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
const NativeView = Platform.OS === "ios" ? requireNativeViewManager("Progress") : null, Progress = React.forwardRef(
|
|
6
|
-
({ max, ...restProps }, ref) => NativeView ? /* @__PURE__ */ jsx(NativeView, { ref, max: max ?? 1, ...restProps }) : null
|
|
7
|
-
);
|
|
8
|
-
Progress.Indicator = (props) => null;
|
|
9
|
-
export {
|
|
10
|
-
Progress
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=NativeProgressIOS.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/NativeProgressIOS.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAAS,gCAAgC;AACzC,YAAY,WAAW;AACvB,SAAS,gBAAgB;AAQd;AANX,MAAM,aACJ,SAAS,OAAO,QAAQ,yBAAyB,UAAU,IAAI,MAEpD,WAAW,MAAM;AAAA,EAC5B,CAAC,EAAE,KAAK,GAAG,UAAU,GAAqB,QACnC,aACE,oBAAC,cAAW,KAAU,KAAK,OAAO,GAAI,GAAG,WAAW,IADnC;AAG5B;AAGA,SAAS,YAAY,CAAC,UAAe;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { requireNativeViewManager } from "expo-modules-core";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { Platform } from "react-native-web";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
const NativeView = Platform.OS === "ios" ? requireNativeViewManager("Progress") : null,
|
|
6
|
-
Progress = React.forwardRef(({
|
|
7
|
-
max,
|
|
8
|
-
...restProps
|
|
9
|
-
}, ref) => NativeView ? /* @__PURE__ */jsx(NativeView, {
|
|
10
|
-
ref,
|
|
11
|
-
max: max ?? 1,
|
|
12
|
-
...restProps
|
|
13
|
-
}) : null);
|
|
14
|
-
Progress.Indicator = props => null;
|
|
15
|
-
export { Progress };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { requireNativeViewManager } from "expo-modules-core";
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import { Platform } from "react-native";
|
|
5
|
-
function _define_property(obj, key, value) {
|
|
6
|
-
return key in obj ? Object.defineProperty(obj, key, {
|
|
7
|
-
value,
|
|
8
|
-
enumerable: !0,
|
|
9
|
-
configurable: !0,
|
|
10
|
-
writable: !0
|
|
11
|
-
}) : obj[key] = value, obj;
|
|
12
|
-
}
|
|
13
|
-
function _object_spread(target) {
|
|
14
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
15
|
-
var source = arguments[i] != null ? arguments[i] : {}, ownKeys = Object.keys(source);
|
|
16
|
-
typeof Object.getOwnPropertySymbols == "function" && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
17
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
18
|
-
}))), ownKeys.forEach(function(key) {
|
|
19
|
-
_define_property(target, key, source[key]);
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
return target;
|
|
23
|
-
}
|
|
24
|
-
function _object_without_properties(source, excluded) {
|
|
25
|
-
if (source == null)
|
|
26
|
-
return {};
|
|
27
|
-
var target = _object_without_properties_loose(source, excluded), key, i;
|
|
28
|
-
if (Object.getOwnPropertySymbols) {
|
|
29
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
30
|
-
for (i = 0; i < sourceSymbolKeys.length; i++)
|
|
31
|
-
key = sourceSymbolKeys[i], !(excluded.indexOf(key) >= 0) && Object.prototype.propertyIsEnumerable.call(source, key) && (target[key] = source[key]);
|
|
32
|
-
}
|
|
33
|
-
return target;
|
|
34
|
-
}
|
|
35
|
-
function _object_without_properties_loose(source, excluded) {
|
|
36
|
-
if (source == null)
|
|
37
|
-
return {};
|
|
38
|
-
var target = {}, sourceKeys = Object.keys(source), key, i;
|
|
39
|
-
for (i = 0; i < sourceKeys.length; i++)
|
|
40
|
-
key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
|
|
41
|
-
return target;
|
|
42
|
-
}
|
|
43
|
-
var NativeView = Platform.OS === "ios" ? requireNativeViewManager("Progress") : null, Progress = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
|
|
44
|
-
var max = _param.max, restProps = _object_without_properties(_param, [
|
|
45
|
-
"max"
|
|
46
|
-
]);
|
|
47
|
-
return NativeView ? /* @__PURE__ */ _jsx(NativeView, _object_spread({
|
|
48
|
-
ref,
|
|
49
|
-
max: max ?? 1
|
|
50
|
-
}, restProps)) : null;
|
|
51
|
-
});
|
|
52
|
-
Progress.Indicator = function(props) {
|
|
53
|
-
return null;
|
|
54
|
-
};
|
|
55
|
-
export {
|
|
56
|
-
Progress
|
|
57
|
-
};
|
|
58
|
-
//# sourceMappingURL=NativeProgressIOS.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/Users/n8/tamagui/packages/progress/src/NativeProgressIOS.tsx"],
|
|
4
|
-
"mappings": ";AAAA,SAASA,gCAAgC;AACzC,YAAYC,WAAW;AACvB,SAASC,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEzB,IAAMC,aACJD,SAASE,OAAO,QAAQJ,yBAAyB,UAAA,IAAc,MAEpDK,WAAWJ,sBAAMK,WAC5B,SAAA,QAA0CC,KAAAA;MAAvCC,MAAAA,OAAAA,KAAQC,YAAAA,2BAAAA,QAAAA;IAARD;;AACD,SAAKL,aACE,qBAACA,YAAAA,eAAAA;IAAWI;IAAUC,KAAKA,OAAO;KAAOC,SAAAA,CAAAA,IADxB;AAE1B,CAAA;AAIFJ,SAASK,YAAY,SAACC,OAAAA;SAAe;;",
|
|
5
|
-
"names": ["requireNativeViewManager", "React", "Platform", "NativeView", "OS", "Progress", "forwardRef", "ref", "max", "restProps", "Indicator", "props"]
|
|
6
|
-
}
|