@tamagui/progress 1.88.21 → 1.88.23
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/esm/Progress.native.js +16 -43
- package/dist/esm/Progress.native.js.map +1 -1
- package/dist/esm/index.native.js +1 -19
- package/dist/esm/index.native.js.map +1 -1
- package/dist/jsx/Progress.native.js +16 -43
- package/dist/jsx/Progress.native.js.map +1 -1
- package/dist/jsx/index.native.js +1 -19
- package/dist/jsx/index.native.js.map +1 -1
- package/package.json +8 -8
|
@@ -1,37 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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 Progress_exports = {};
|
|
25
|
-
__export(Progress_exports, {
|
|
26
|
-
Progress: () => Progress,
|
|
27
|
-
ProgressFrame: () => ProgressFrame,
|
|
28
|
-
ProgressIndicator: () => ProgressIndicator,
|
|
29
|
-
ProgressIndicatorFrame: () => ProgressIndicatorFrame,
|
|
30
|
-
createProgressScope: () => createProgressScope
|
|
31
|
-
});
|
|
32
|
-
module.exports = __toCommonJS(Progress_exports);
|
|
33
|
-
var import_core = require("@tamagui/core"), import_create_context = require("@tamagui/create-context"), import_get_token = require("@tamagui/get-token"), import_helpers = require("@tamagui/helpers"), import_stacks = require("@tamagui/stacks"), React = __toESM(require("react")), import_jsx_runtime = require("react/jsx-runtime");
|
|
34
|
-
const PROGRESS_NAME = "Progress", [createProgressContext, createProgressScope] = (0, import_create_context.createContextScope)(PROGRESS_NAME), [ProgressProvider, useProgressContext] = createProgressContext(PROGRESS_NAME), INDICATOR_NAME = "ProgressIndicator", ProgressIndicatorFrame = (0, import_core.styled)(import_stacks.ThemeableStack, {
|
|
1
|
+
import { getVariableValue, styled } from "@tamagui/core";
|
|
2
|
+
import { createContextScope } from "@tamagui/create-context";
|
|
3
|
+
import { getSize } from "@tamagui/get-token";
|
|
4
|
+
import { withStaticProperties } from "@tamagui/helpers";
|
|
5
|
+
import { ThemeableStack } from "@tamagui/stacks";
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
const PROGRESS_NAME = "Progress", [createProgressContext, createProgressScope] = createContextScope(PROGRESS_NAME), [ProgressProvider, useProgressContext] = createProgressContext(PROGRESS_NAME), INDICATOR_NAME = "ProgressIndicator", ProgressIndicatorFrame = styled(ThemeableStack, {
|
|
35
9
|
name: INDICATOR_NAME,
|
|
36
10
|
variants: {
|
|
37
11
|
unstyled: {
|
|
@@ -47,7 +21,7 @@ const PROGRESS_NAME = "Progress", [createProgressContext, createProgressScope] =
|
|
|
47
21
|
}
|
|
48
22
|
}), ProgressIndicator = ProgressIndicatorFrame.styleable(function(props, forwardedRef) {
|
|
49
23
|
const { __scopeProgress, ...indicatorProps } = props, context = useProgressContext(INDICATOR_NAME, __scopeProgress), pct = context.max - (context.value ?? 0), x = -(context.width === 0 ? 300 : context.width) * (pct / 100);
|
|
50
|
-
return /* @__PURE__ */
|
|
24
|
+
return /* @__PURE__ */ jsx(
|
|
51
25
|
ProgressIndicatorFrame,
|
|
52
26
|
{
|
|
53
27
|
"data-state": getProgressState(context.value, context.max),
|
|
@@ -79,7 +53,7 @@ function isValidMaxNumber(max) {
|
|
|
79
53
|
function isValidValueNumber(value, max) {
|
|
80
54
|
return isNumber(value) && !Number.isNaN(value) && value <= max && value >= 0;
|
|
81
55
|
}
|
|
82
|
-
const DEFAULT_MAX = 100, ProgressFrame =
|
|
56
|
+
const DEFAULT_MAX = 100, ProgressFrame = styled(ThemeableStack, {
|
|
83
57
|
name: "Progress",
|
|
84
58
|
variants: {
|
|
85
59
|
unstyled: {
|
|
@@ -91,10 +65,10 @@ const DEFAULT_MAX = 100, ProgressFrame = (0, import_core.styled)(import_stacks.T
|
|
|
91
65
|
},
|
|
92
66
|
size: {
|
|
93
67
|
"...size": (val) => {
|
|
94
|
-
const size = Math.round(
|
|
68
|
+
const size = Math.round(getVariableValue(getSize(val)) * 0.25);
|
|
95
69
|
return {
|
|
96
70
|
height: size,
|
|
97
|
-
minWidth:
|
|
71
|
+
minWidth: getVariableValue(size) * 20,
|
|
98
72
|
width: "100%"
|
|
99
73
|
};
|
|
100
74
|
}
|
|
@@ -103,7 +77,7 @@ const DEFAULT_MAX = 100, ProgressFrame = (0, import_core.styled)(import_stacks.T
|
|
|
103
77
|
defaultVariants: {
|
|
104
78
|
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
105
79
|
}
|
|
106
|
-
}), Progress =
|
|
80
|
+
}), Progress = withStaticProperties(
|
|
107
81
|
ProgressFrame.styleable(function(props, forwardedRef) {
|
|
108
82
|
const {
|
|
109
83
|
// @ts-expect-error
|
|
@@ -114,7 +88,7 @@ const DEFAULT_MAX = 100, ProgressFrame = (0, import_core.styled)(import_stacks.T
|
|
|
114
88
|
size = "$true",
|
|
115
89
|
...progressProps
|
|
116
90
|
} = props, max = isValidMaxNumber(maxProp) ? maxProp : DEFAULT_MAX, value = isValidValueNumber(valueProp, max) ? valueProp : null, valueLabel = isNumber(value) ? getValueLabel(value, max) : void 0, [width, setWidth] = React.useState(0);
|
|
117
|
-
return /* @__PURE__ */
|
|
91
|
+
return /* @__PURE__ */ jsx(ProgressProvider, { scope: __scopeProgress, value, max, width, children: /* @__PURE__ */ jsx(
|
|
118
92
|
ProgressFrame,
|
|
119
93
|
{
|
|
120
94
|
"aria-valuemax": max,
|
|
@@ -141,12 +115,11 @@ const DEFAULT_MAX = 100, ProgressFrame = (0, import_core.styled)(import_stacks.T
|
|
|
141
115
|
Indicator: ProgressIndicator
|
|
142
116
|
}
|
|
143
117
|
);
|
|
144
|
-
|
|
145
|
-
0 && (module.exports = {
|
|
118
|
+
export {
|
|
146
119
|
Progress,
|
|
147
120
|
ProgressFrame,
|
|
148
121
|
ProgressIndicator,
|
|
149
122
|
ProgressIndicatorFrame,
|
|
150
123
|
createProgressScope
|
|
151
|
-
}
|
|
124
|
+
};
|
|
152
125
|
//# sourceMappingURL=Progress.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Progress.tsx"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAIA,SAAS,kBAAkB,cAAc;AAEzC,SAAS,0BAA0B;AACnC,SAAS,eAAe;AACxB,SAAS,4BAA4B;AACrC,SAAS,sBAAmC;AAC5C,YAAY,WAAW;AA8CnB;AA3CJ,MAAM,gBAAgB,YAEhB,CAAC,uBAAuB,mBAAmB,IAAI,mBAAmB,aAAa,GAE/E,CAAC,kBAAkB,kBAAkB,IACzC,sBAA4C,aAAa,GAMrD,iBAAiB,qBAEV,yBAAyB,OAAO,gBAAgB;AAAA,EAC3D,MAAM;AAAA,EAEN,UAAU;AAAA,IACR,UAAU;AAAA,MAC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QACC,GAAG;AAAA,QACJ,UAAU,CAAC,MAAM;AA/L3B;AAgMY,mBAAS,EAAE,YAAY,OAAO,KAAK,IACnC,mBAAc,aAAd,+BAAyB;AAAA,QAC3B;AAAA,QACA,KAAK;AAAA;AAAA,IACP,GACF;AAAA,EAEJ,CAAC;AAAA,EACD;AAAA,IACE,WAAW;AAAA,EACb;AACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/esm/index.native.js
CHANGED
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
-
return to;
|
|
11
|
-
}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
12
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
13
|
-
var src_exports = {};
|
|
14
|
-
module.exports = __toCommonJS(src_exports);
|
|
15
|
-
__reExport(src_exports, require("./Progress"), module.exports);
|
|
16
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
17
|
-
0 && (module.exports = {
|
|
18
|
-
...require("./Progress")
|
|
19
|
-
});
|
|
1
|
+
export * from "./Progress";
|
|
20
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,37 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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 Progress_exports = {};
|
|
25
|
-
__export(Progress_exports, {
|
|
26
|
-
Progress: () => Progress,
|
|
27
|
-
ProgressFrame: () => ProgressFrame,
|
|
28
|
-
ProgressIndicator: () => ProgressIndicator,
|
|
29
|
-
ProgressIndicatorFrame: () => ProgressIndicatorFrame,
|
|
30
|
-
createProgressScope: () => createProgressScope
|
|
31
|
-
});
|
|
32
|
-
module.exports = __toCommonJS(Progress_exports);
|
|
33
|
-
var import_core = require("@tamagui/core"), import_create_context = require("@tamagui/create-context"), import_get_token = require("@tamagui/get-token"), import_helpers = require("@tamagui/helpers"), import_stacks = require("@tamagui/stacks"), React = __toESM(require("react")), import_jsx_runtime = require("react/jsx-runtime");
|
|
34
|
-
const PROGRESS_NAME = "Progress", [createProgressContext, createProgressScope] = (0, import_create_context.createContextScope)(PROGRESS_NAME), [ProgressProvider, useProgressContext] = createProgressContext(PROGRESS_NAME), INDICATOR_NAME = "ProgressIndicator", ProgressIndicatorFrame = (0, import_core.styled)(import_stacks.ThemeableStack, {
|
|
1
|
+
import { getVariableValue, styled } from "@tamagui/core";
|
|
2
|
+
import { createContextScope } from "@tamagui/create-context";
|
|
3
|
+
import { getSize } from "@tamagui/get-token";
|
|
4
|
+
import { withStaticProperties } from "@tamagui/helpers";
|
|
5
|
+
import { ThemeableStack } from "@tamagui/stacks";
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
const PROGRESS_NAME = "Progress", [createProgressContext, createProgressScope] = createContextScope(PROGRESS_NAME), [ProgressProvider, useProgressContext] = createProgressContext(PROGRESS_NAME), INDICATOR_NAME = "ProgressIndicator", ProgressIndicatorFrame = styled(ThemeableStack, {
|
|
35
9
|
name: INDICATOR_NAME,
|
|
36
10
|
variants: {
|
|
37
11
|
unstyled: {
|
|
@@ -47,7 +21,7 @@ const PROGRESS_NAME = "Progress", [createProgressContext, createProgressScope] =
|
|
|
47
21
|
}
|
|
48
22
|
}), ProgressIndicator = ProgressIndicatorFrame.styleable(function(props, forwardedRef) {
|
|
49
23
|
const { __scopeProgress, ...indicatorProps } = props, context = useProgressContext(INDICATOR_NAME, __scopeProgress), pct = context.max - (context.value ?? 0), x = -(context.width === 0 ? 300 : context.width) * (pct / 100);
|
|
50
|
-
return /* @__PURE__ */
|
|
24
|
+
return /* @__PURE__ */ jsx(
|
|
51
25
|
ProgressIndicatorFrame,
|
|
52
26
|
{
|
|
53
27
|
"data-state": getProgressState(context.value, context.max),
|
|
@@ -79,7 +53,7 @@ function isValidMaxNumber(max) {
|
|
|
79
53
|
function isValidValueNumber(value, max) {
|
|
80
54
|
return isNumber(value) && !Number.isNaN(value) && value <= max && value >= 0;
|
|
81
55
|
}
|
|
82
|
-
const DEFAULT_MAX = 100, ProgressFrame =
|
|
56
|
+
const DEFAULT_MAX = 100, ProgressFrame = styled(ThemeableStack, {
|
|
83
57
|
name: "Progress",
|
|
84
58
|
variants: {
|
|
85
59
|
unstyled: {
|
|
@@ -91,10 +65,10 @@ const DEFAULT_MAX = 100, ProgressFrame = (0, import_core.styled)(import_stacks.T
|
|
|
91
65
|
},
|
|
92
66
|
size: {
|
|
93
67
|
"...size": (val) => {
|
|
94
|
-
const size = Math.round(
|
|
68
|
+
const size = Math.round(getVariableValue(getSize(val)) * 0.25);
|
|
95
69
|
return {
|
|
96
70
|
height: size,
|
|
97
|
-
minWidth:
|
|
71
|
+
minWidth: getVariableValue(size) * 20,
|
|
98
72
|
width: "100%"
|
|
99
73
|
};
|
|
100
74
|
}
|
|
@@ -103,7 +77,7 @@ const DEFAULT_MAX = 100, ProgressFrame = (0, import_core.styled)(import_stacks.T
|
|
|
103
77
|
defaultVariants: {
|
|
104
78
|
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
105
79
|
}
|
|
106
|
-
}), Progress =
|
|
80
|
+
}), Progress = withStaticProperties(
|
|
107
81
|
ProgressFrame.styleable(function(props, forwardedRef) {
|
|
108
82
|
const {
|
|
109
83
|
// @ts-expect-error
|
|
@@ -114,7 +88,7 @@ const DEFAULT_MAX = 100, ProgressFrame = (0, import_core.styled)(import_stacks.T
|
|
|
114
88
|
size = "$true",
|
|
115
89
|
...progressProps
|
|
116
90
|
} = props, max = isValidMaxNumber(maxProp) ? maxProp : DEFAULT_MAX, value = isValidValueNumber(valueProp, max) ? valueProp : null, valueLabel = isNumber(value) ? getValueLabel(value, max) : void 0, [width, setWidth] = React.useState(0);
|
|
117
|
-
return /* @__PURE__ */
|
|
91
|
+
return /* @__PURE__ */ jsx(ProgressProvider, { scope: __scopeProgress, value, max, width, children: /* @__PURE__ */ jsx(
|
|
118
92
|
ProgressFrame,
|
|
119
93
|
{
|
|
120
94
|
"aria-valuemax": max,
|
|
@@ -141,12 +115,11 @@ const DEFAULT_MAX = 100, ProgressFrame = (0, import_core.styled)(import_stacks.T
|
|
|
141
115
|
Indicator: ProgressIndicator
|
|
142
116
|
}
|
|
143
117
|
);
|
|
144
|
-
|
|
145
|
-
0 && (module.exports = {
|
|
118
|
+
export {
|
|
146
119
|
Progress,
|
|
147
120
|
ProgressFrame,
|
|
148
121
|
ProgressIndicator,
|
|
149
122
|
ProgressIndicatorFrame,
|
|
150
123
|
createProgressScope
|
|
151
|
-
}
|
|
124
|
+
};
|
|
152
125
|
//# sourceMappingURL=Progress.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Progress.tsx"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAIA,SAAS,kBAAkB,cAAc;AAEzC,SAAS,0BAA0B;AACnC,SAAS,eAAe;AACxB,SAAS,4BAA4B;AACrC,SAAS,sBAAmC;AAC5C,YAAY,WAAW;AA8CnB;AA3CJ,MAAM,gBAAgB,YAEhB,CAAC,uBAAuB,mBAAmB,IAAI,mBAAmB,aAAa,GAE/E,CAAC,kBAAkB,kBAAkB,IACzC,sBAA4C,aAAa,GAMrD,iBAAiB,qBAEV,yBAAyB,OAAO,gBAAgB;AAAA,EAC3D,MAAM;AAAA,EAEN,UAAU;AAAA,IACR,UAAU;AAAA,MACR,OAAO;AAAA,QACL,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,cAAc;AAAA,MAChB;AAAA,IACF;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,UAAU,QAAQ,IAAI,qBAAqB;AAAA,EAC7C;AACF,CAAC,GAIK,oBAAoB,uBAAuB,UAAU,SACzD,OACA,cACA;AACA,QAAM,EAAE,iBAAiB,GAAG,eAAe,IAAI,OACzC,UAAU,mBAAmB,gBAAgB,eAAe,GAC5D,MAAM,QAAQ,OAAO,QAAQ,SAAS,IAEtC,IAAI,EAAE,QAAQ,UAAU,IAAI,MAAM,QAAQ,UAAU,MAAM;AAChE,SACE;AAAA,IAAC;AAAA;AAAA,M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BAAiB;AAAA,IACf,UAAU,QAAQ,IAAI,qBAAqB;AAAA,EAC7C;AACF,CAAC,GAUK,WAAW;AAAA,EACf,cAAc,UAA8B,SAAkB,OAAO,cAAc;AACjF,UAAM;AAAA;AAAA,MAEJ;AAAA,MACA,OAAO;AAAA,MACP,KAAK;AAAA,MACL,gBAAgB;AAAA,MAChB,OAAO;AAAA,MACP,GAAG;AAAA,IACL,IAAI,OAEE,MAAM,iBAAiB,OAAO,IAAI,UAAU,aAC5C,QAAQ,mBAAmB,WAAW,GAAG,IAAI,YAAY,MACzD,aAAa,SAAS,KAAK,IAAI,cAAc,OAAO,GAAG,IAAI,QAC3D,CAAC,OAAO,QAAQ,IAAI,MAAM,SAAS,CAAC;AAE1C,WACE,oBAAC,oBAAiB,OAAO,iBAAiB,OAAc,KAAU,OAChE;AAAA,MAAC;AAAA;AAAA,QACC,iBAAe;AAAA,QACf,iBAAe;AAAA,QACf,iBAAe,SAAS,KAAK,IAAI,QAAQ;AAAA,QACzC,kBAAgB;AAAA,QAEhB,MAAK;AAAA,QACL,cAAY,iBAAiB,OAAO,GAAG;AAAA,QACvC,cAAY,SAAS;AAAA,QACrB,YAAU;AAAA,QACT,GAAI,cAAc,aAAa,MAAQ;AAAA,UACtC;AAAA,QACF;AAAA,QACC,GAAG;AAAA,QACJ,UAAU,CAAC,MAAM;AA/L3B;AAgMY,mBAAS,EAAE,YAAY,OAAO,KAAK,IACnC,mBAAc,aAAd,+BAAyB;AAAA,QAC3B;AAAA,QACA,KAAK;AAAA;AAAA,IACP,GACF;AAAA,EAEJ,CAAC;AAAA,EACD;AAAA,IACE,WAAW;AAAA,EACb;AACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/jsx/index.native.js
CHANGED
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
-
return to;
|
|
11
|
-
}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
12
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
13
|
-
var src_exports = {};
|
|
14
|
-
module.exports = __toCommonJS(src_exports);
|
|
15
|
-
__reExport(src_exports, require("./Progress"), module.exports);
|
|
16
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
17
|
-
0 && (module.exports = {
|
|
18
|
-
...require("./Progress")
|
|
19
|
-
});
|
|
1
|
+
export * from "./Progress";
|
|
20
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/progress",
|
|
3
|
-
"version": "1.88.
|
|
3
|
+
"version": "1.88.23",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tamagui/compose-refs": "1.88.
|
|
36
|
-
"@tamagui/core": "1.88.
|
|
37
|
-
"@tamagui/create-context": "1.88.
|
|
38
|
-
"@tamagui/get-token": "1.88.
|
|
39
|
-
"@tamagui/helpers": "1.88.
|
|
40
|
-
"@tamagui/stacks": "1.88.
|
|
35
|
+
"@tamagui/compose-refs": "1.88.23",
|
|
36
|
+
"@tamagui/core": "1.88.23",
|
|
37
|
+
"@tamagui/create-context": "1.88.23",
|
|
38
|
+
"@tamagui/get-token": "1.88.23",
|
|
39
|
+
"@tamagui/helpers": "1.88.23",
|
|
40
|
+
"@tamagui/stacks": "1.88.23"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "*",
|
|
44
44
|
"react-native": "*"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@tamagui/build": "1.88.
|
|
47
|
+
"@tamagui/build": "1.88.23",
|
|
48
48
|
"react": "^18.2.0",
|
|
49
49
|
"react-native": "^0.72.6"
|
|
50
50
|
},
|