@tamagui/demos 1.105.1 → 1.105.3
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/ProgressDemo.js +15 -5
- package/dist/cjs/ProgressDemo.js.map +1 -1
- package/dist/cjs/ProgressDemo.native.js +11 -4
- package/dist/cjs/ProgressDemo.native.js.map +2 -2
- package/dist/esm/ProgressDemo.js +15 -5
- package/dist/esm/ProgressDemo.js.map +1 -1
- package/dist/esm/ProgressDemo.mjs +12 -5
- package/dist/esm/ProgressDemo.mjs.map +1 -1
- package/dist/esm/ProgressDemo.native.js +11 -4
- package/dist/esm/ProgressDemo.native.js.map +2 -2
- package/dist/jsx/ProgressDemo.js +15 -5
- package/dist/jsx/ProgressDemo.js.map +1 -1
- package/dist/jsx/ProgressDemo.mjs +12 -5
- package/dist/jsx/ProgressDemo.mjs.map +1 -1
- package/dist/jsx/ProgressDemo.native.js +11 -4
- package/dist/jsx/ProgressDemo.native.js.map +2 -2
- package/package.json +19 -19
- package/src/ProgressDemo.tsx +14 -4
- package/types/CheckboxUnstyledDemo.d.ts +2 -2
- package/types/ProgressDemo.d.ts.map +1 -1
- package/types/SwitchUnstyledDemo.d.ts +2 -2
package/dist/cjs/ProgressDemo.js
CHANGED
|
@@ -19,25 +19,25 @@ __export(ProgressDemo_exports, {
|
|
|
19
19
|
module.exports = __toCommonJS(ProgressDemo_exports);
|
|
20
20
|
var import_react = require("react"), import_tamagui = require("tamagui"), import_jsx_runtime = require("react/jsx-runtime");
|
|
21
21
|
function ProgressDemo() {
|
|
22
|
-
const [size, setSize] = (0, import_react.useState)(4), [progress, setProgress] = (0, import_react.useState)(
|
|
22
|
+
const [key, setKey] = (0, import_react.useState)(0), [size, setSize] = (0, import_react.useState)(4), [progress, setProgress] = (0, import_react.useState)(0), sizeProp = `$${size}`;
|
|
23
23
|
return (0, import_react.useEffect)(() => {
|
|
24
24
|
const timer = setTimeout(() => setProgress(60), 1e3);
|
|
25
25
|
return () => {
|
|
26
26
|
clearTimeout(timer);
|
|
27
27
|
};
|
|
28
28
|
}, []), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
29
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.YStack, { height: 60, alignItems: "center",
|
|
29
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.YStack, { height: 60, alignItems: "center", gap: "$4", children: [
|
|
30
30
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.Paragraph, { height: 30, opacity: 0.5, children: [
|
|
31
31
|
"Size: ",
|
|
32
32
|
size
|
|
33
33
|
] }),
|
|
34
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Progress, { size: sizeProp, value: progress, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Progress.Indicator, { animation: "bouncy" }) })
|
|
34
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Progress, { size: sizeProp, value: progress, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Progress.Indicator, { animation: "bouncy" }) }, key)
|
|
35
35
|
] }),
|
|
36
36
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
37
37
|
import_tamagui.XStack,
|
|
38
38
|
{
|
|
39
39
|
alignItems: "center",
|
|
40
|
-
|
|
40
|
+
gap: "$2",
|
|
41
41
|
position: "absolute",
|
|
42
42
|
bottom: "$3",
|
|
43
43
|
left: "$4",
|
|
@@ -61,7 +61,17 @@ function ProgressDemo() {
|
|
|
61
61
|
]
|
|
62
62
|
}
|
|
63
63
|
),
|
|
64
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Button, { size: "$2", onPress: () => setProgress((prev) => (prev + 20) % 100), children: "Load" })
|
|
64
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Button, { size: "$2", onPress: () => setProgress((prev) => (prev + 20) % 100), children: "Load" }),
|
|
65
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
66
|
+
import_tamagui.Button,
|
|
67
|
+
{
|
|
68
|
+
size: "$2",
|
|
69
|
+
onPress: () => {
|
|
70
|
+
setKey(Math.random()), setProgress(0);
|
|
71
|
+
},
|
|
72
|
+
children: "Reset"
|
|
73
|
+
}
|
|
74
|
+
)
|
|
65
75
|
]
|
|
66
76
|
}
|
|
67
77
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ProgressDemo.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAoC,kBAEpC,iBAAoE,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAoC,kBAEpC,iBAAoE,oBAgBhE;AAdG,SAAS,eAAe;AAC7B,QAAM,CAAC,KAAK,MAAM,QAAI,uBAAS,CAAC,GAC1B,CAAC,MAAM,OAAO,QAAI,uBAAS,CAAC,GAC5B,CAAC,UAAU,WAAW,QAAI,uBAAS,CAAC,GACpC,WAAW,IAAI,IAAI;AAEzB,qCAAU,MAAM;AACd,UAAM,QAAQ,WAAW,MAAM,YAAY,EAAE,GAAG,GAAI;AACpD,WAAO,MAAM;AACX,mBAAa,KAAK;AAAA,IACpB;AAAA,EACF,GAAG,CAAC,CAAC,GAGH,4EACE;AAAA,iDAAC,yBAAO,QAAQ,IAAI,YAAW,UAAS,KAAI,MAC1C;AAAA,mDAAC,4BAAU,QAAQ,IAAI,SAAS,KAAK;AAAA;AAAA,QAC5B;AAAA,SACT;AAAA,MACA,4CAAC,2BAAmB,MAAM,UAAU,OAAO,UACzC,sDAAC,wBAAS,WAAT,EAAmB,WAAU,UAAS,KAD1B,GAEf;AAAA,OACF;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,YAAW;AAAA,QACX,KAAI;AAAA,QACJ,UAAS;AAAA,QACT,QAAO;AAAA,QACP,MAAK;AAAA,QACL,MAAM,EAAE,SAAS,OAAO;AAAA,QAExB;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,MAAK;AAAA,cACL,OAAO;AAAA,cACP,cAAc,CAAC,CAAC;AAAA,cAChB,KAAK;AAAA,cACL,KAAK;AAAA,cACL,MAAM;AAAA,cACN,eAAe,CAAC,CAAC,GAAG,MAAM;AACxB,wBAAQ,GAAG;AAAA,cACb;AAAA,cAEA;AAAA,4DAAC,sBAAO,OAAP,EAAa,aAAa,GAAG,aAAY,WACxC,sDAAC,sBAAO,aAAP,EAAmB,GACtB;AAAA,gBACA,4CAAC,sBAAO,OAAP,EAAa,UAAQ,IAAC,OAAO,GAAG;AAAA;AAAA;AAAA,UACnC;AAAA,UAEA,4CAAC,yBAAO,MAAK,MAAK,SAAS,MAAM,YAAY,CAAC,UAAU,OAAO,MAAM,GAAG,GAAG,kBAE3E;AAAA,UACA;AAAA,YAAC;AAAA;AAAA,cACC,MAAK;AAAA,cACL,SAAS,MAAM;AACb,uBAAO,KAAK,OAAO,CAAC,GACpB,YAAY,CAAC;AAAA,cACf;AAAA,cACD;AAAA;AAAA,UAED;AAAA;AAAA;AAAA,IACF;AAAA,KACF;AAEJ;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -61,7 +61,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
function ProgressDemo() {
|
|
64
|
-
var _useState = _sliced_to_array((0, import_react.useState)(
|
|
64
|
+
var _useState = _sliced_to_array((0, import_react.useState)(0), 2), key = _useState[0], setKey = _useState[1], _useState1 = _sliced_to_array((0, import_react.useState)(4), 2), size = _useState1[0], setSize = _useState1[1], _useState2 = _sliced_to_array((0, import_react.useState)(0), 2), progress = _useState2[0], setProgress = _useState2[1], sizeProp = "$".concat(size);
|
|
65
65
|
return (0, import_react.useEffect)(function() {
|
|
66
66
|
var timer = setTimeout(function() {
|
|
67
67
|
return setProgress(60);
|
|
@@ -74,7 +74,7 @@ function ProgressDemo() {
|
|
|
74
74
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.YStack, {
|
|
75
75
|
height: 60,
|
|
76
76
|
alignItems: "center",
|
|
77
|
-
|
|
77
|
+
gap: "$4",
|
|
78
78
|
children: [
|
|
79
79
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.Paragraph, {
|
|
80
80
|
height: 30,
|
|
@@ -90,12 +90,12 @@ function ProgressDemo() {
|
|
|
90
90
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Progress.Indicator, {
|
|
91
91
|
animation: "bouncy"
|
|
92
92
|
})
|
|
93
|
-
})
|
|
93
|
+
}, key)
|
|
94
94
|
]
|
|
95
95
|
}),
|
|
96
96
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
|
|
97
97
|
alignItems: "center",
|
|
98
|
-
|
|
98
|
+
gap: "$2",
|
|
99
99
|
position: "absolute",
|
|
100
100
|
bottom: "$3",
|
|
101
101
|
left: "$4",
|
|
@@ -136,6 +136,13 @@ function ProgressDemo() {
|
|
|
136
136
|
});
|
|
137
137
|
},
|
|
138
138
|
children: "Load"
|
|
139
|
+
}),
|
|
140
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Button, {
|
|
141
|
+
size: "$2",
|
|
142
|
+
onPress: function() {
|
|
143
|
+
setKey(Math.random()), setProgress(0);
|
|
144
|
+
},
|
|
145
|
+
children: "Reset"
|
|
139
146
|
})
|
|
140
147
|
]
|
|
141
148
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/code/demos/src/ProgressDemo.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;uDAAA,eAAoC,kBAEpC,iBAAoE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE7D,SAASA,eAAAA;AACd,
|
|
5
|
-
"names": ["ProgressDemo", "useState", "size", "setSize", "progress", "setProgress", "sizeProp", "useEffect", "timer", "setTimeout", "clearTimeout", "_jsxs", "_Fragment", "YStack", "height", "alignItems", "
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;uDAAA,eAAoC,kBAEpC,iBAAoE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE7D,SAASA,eAAAA;AACd,MAAsBC,YAAAA,qBAAAA,uBAAS,CAAA,GAAA,CAAA,GAAxBC,MAAeD,UAAAA,CAAAA,GAAVE,SAAUF,UAAAA,CAAAA,GACEA,aAAAA,qBAAAA,uBAAS,CAAA,GAAA,CAAA,GAA1BG,OAAiBH,WAAAA,CAAAA,GAAXI,UAAWJ,WAAAA,CAAAA,GACQA,aAAAA,qBAAAA,uBAAS,CAAA,GAAA,CAAA,GAAlCK,WAAyBL,WAAAA,CAAAA,GAAfM,cAAeN,WAAAA,CAAAA,GAC1BO,WAAY,IAAQ,OAALJ,IAAAA;AAErBK,qCAAU,WAAA;AACR,QAAMC,QAAQC,WAAW,WAAA;aAAMJ,YAAY,EAAA;OAAK,GAAA;AAChD,WAAO,WAAA;AACLK,mBAAaF,KAAAA;IACf;EACF,GAAG,CAAA,CAAE,GAGH,uCAAAG,MAAA,mBAAAC,UAAA;;MACE,uCAAAD,MAACE,uBAAAA;QAAOC,QAAQ;QAAIC,YAAW;QAASC,KAAI;;UAC1C,uCAAAL,MAACM,0BAAAA;YAAUH,QAAQ;YAAII,SAAS;;cAAK;cAC5BhB;;;UAET,uCAAAiB,KAACC,yBAAAA;YAAmBlB,MAAMI;YAAUe,OAAOjB;sBACzC,uCAAAe,KAACC,wBAASE,WAAS;cAACC,WAAU;;aADjBvB,GAAAA;;;MAKjB,uCAAAW,MAACa,uBAAAA;QACCT,YAAW;QACXC,KAAI;QACJS,UAAS;QACTC,QAAO;QACPC,MAAK;QACLC,MAAM;UAAEC,SAAS;QAAO;;UAExB,uCAAAlB,MAACmB,uBAAAA;YACC5B,MAAK;YACL6B,OAAO;YACPC,cAAc;cAAC;;YACfC,KAAK;YACLC,KAAK;YACLC,MAAM;YACNC,eAAe,SAAA,OAAA;uDAAEC,MAAAA,OAAAA,CAAAA;AACflC,sBAAQkC,GAAAA;YACV;;cAEA,uCAAAlB,KAACW,sBAAOQ,OAAK;gBAACC,aAAa;gBAAGC,aAAY;0BACxC,uCAAArB,KAACW,sBAAOW,aAAW,CAAA,CAAA;;cAErB,uCAAAtB,KAACW,sBAAOY,OAAK;gBAACC,UAAQ;gBAACC,OAAO;;;;UAGhC,uCAAAzB,KAAC0B,uBAAAA;YAAO3C,MAAK;YAAK4C,SAAS,WAAA;qBAAMzC,YAAY,SAAC0C,MAAAA;wBAAUA,OAAO,MAAM;;;sBAAM;;UAG3E,uCAAA5B,KAAC0B,uBAAAA;YACC3C,MAAK;YACL4C,SAAS,WAAA;AACP7C,qBAAO+C,KAAKC,OAAM,CAAA,GAClB5C,YAAY,CAAA;YACd;sBACD;;;;;;AAMT;",
|
|
5
|
+
"names": ["ProgressDemo", "useState", "key", "setKey", "size", "setSize", "progress", "setProgress", "sizeProp", "useEffect", "timer", "setTimeout", "clearTimeout", "_jsxs", "_Fragment", "YStack", "height", "alignItems", "gap", "Paragraph", "opacity", "_jsx", "Progress", "value", "Indicator", "animation", "XStack", "position", "bottom", "left", "$xxs", "display", "Slider", "width", "defaultValue", "min", "max", "step", "onValueChange", "val", "Track", "borderWidth", "borderColor", "TrackActive", "Thumb", "circular", "index", "Button", "onPress", "prev", "Math", "random"]
|
|
6
6
|
}
|
package/dist/esm/ProgressDemo.js
CHANGED
|
@@ -2,25 +2,25 @@ import { useEffect, useState } from "react";
|
|
|
2
2
|
import { Button, Paragraph, Progress, Slider, XStack, YStack } from "tamagui";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
function ProgressDemo() {
|
|
5
|
-
const [size, setSize] = useState(4), [progress, setProgress] = useState(
|
|
5
|
+
const [key, setKey] = useState(0), [size, setSize] = useState(4), [progress, setProgress] = useState(0), sizeProp = `$${size}`;
|
|
6
6
|
return useEffect(() => {
|
|
7
7
|
const timer = setTimeout(() => setProgress(60), 1e3);
|
|
8
8
|
return () => {
|
|
9
9
|
clearTimeout(timer);
|
|
10
10
|
};
|
|
11
11
|
}, []), /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12
|
-
/* @__PURE__ */ jsxs(YStack, { height: 60, alignItems: "center",
|
|
12
|
+
/* @__PURE__ */ jsxs(YStack, { height: 60, alignItems: "center", gap: "$4", children: [
|
|
13
13
|
/* @__PURE__ */ jsxs(Paragraph, { height: 30, opacity: 0.5, children: [
|
|
14
14
|
"Size: ",
|
|
15
15
|
size
|
|
16
16
|
] }),
|
|
17
|
-
/* @__PURE__ */ jsx(Progress, { size: sizeProp, value: progress, children: /* @__PURE__ */ jsx(Progress.Indicator, { animation: "bouncy" }) })
|
|
17
|
+
/* @__PURE__ */ jsx(Progress, { size: sizeProp, value: progress, children: /* @__PURE__ */ jsx(Progress.Indicator, { animation: "bouncy" }) }, key)
|
|
18
18
|
] }),
|
|
19
19
|
/* @__PURE__ */ jsxs(
|
|
20
20
|
XStack,
|
|
21
21
|
{
|
|
22
22
|
alignItems: "center",
|
|
23
|
-
|
|
23
|
+
gap: "$2",
|
|
24
24
|
position: "absolute",
|
|
25
25
|
bottom: "$3",
|
|
26
26
|
left: "$4",
|
|
@@ -44,7 +44,17 @@ function ProgressDemo() {
|
|
|
44
44
|
]
|
|
45
45
|
}
|
|
46
46
|
),
|
|
47
|
-
/* @__PURE__ */ jsx(Button, { size: "$2", onPress: () => setProgress((prev) => (prev + 20) % 100), children: "Load" })
|
|
47
|
+
/* @__PURE__ */ jsx(Button, { size: "$2", onPress: () => setProgress((prev) => (prev + 20) % 100), children: "Load" }),
|
|
48
|
+
/* @__PURE__ */ jsx(
|
|
49
|
+
Button,
|
|
50
|
+
{
|
|
51
|
+
size: "$2",
|
|
52
|
+
onPress: () => {
|
|
53
|
+
setKey(Math.random()), setProgress(0);
|
|
54
|
+
},
|
|
55
|
+
children: "Reset"
|
|
56
|
+
}
|
|
57
|
+
)
|
|
48
58
|
]
|
|
49
59
|
}
|
|
50
60
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ProgressDemo.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAAS,WAAW,gBAAgB;AAEpC,SAAS,QAAQ,WAAW,UAAU,QAAQ,QAAQ,cAAc;
|
|
4
|
+
"mappings": "AAAA,SAAS,WAAW,gBAAgB;AAEpC,SAAS,QAAQ,WAAW,UAAU,QAAQ,QAAQ,cAAc;AAgBhE,mBAMM,KAJF,YAFJ;AAdG,SAAS,eAAe;AAC7B,QAAM,CAAC,KAAK,MAAM,IAAI,SAAS,CAAC,GAC1B,CAAC,MAAM,OAAO,IAAI,SAAS,CAAC,GAC5B,CAAC,UAAU,WAAW,IAAI,SAAS,CAAC,GACpC,WAAW,IAAI,IAAI;AAEzB,mBAAU,MAAM;AACd,UAAM,QAAQ,WAAW,MAAM,YAAY,EAAE,GAAG,GAAI;AACpD,WAAO,MAAM;AACX,mBAAa,KAAK;AAAA,IACpB;AAAA,EACF,GAAG,CAAC,CAAC,GAGH,iCACE;AAAA,yBAAC,UAAO,QAAQ,IAAI,YAAW,UAAS,KAAI,MAC1C;AAAA,2BAAC,aAAU,QAAQ,IAAI,SAAS,KAAK;AAAA;AAAA,QAC5B;AAAA,SACT;AAAA,MACA,oBAAC,YAAmB,MAAM,UAAU,OAAO,UACzC,8BAAC,SAAS,WAAT,EAAmB,WAAU,UAAS,KAD1B,GAEf;AAAA,OACF;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,YAAW;AAAA,QACX,KAAI;AAAA,QACJ,UAAS;AAAA,QACT,QAAO;AAAA,QACP,MAAK;AAAA,QACL,MAAM,EAAE,SAAS,OAAO;AAAA,QAExB;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,MAAK;AAAA,cACL,OAAO;AAAA,cACP,cAAc,CAAC,CAAC;AAAA,cAChB,KAAK;AAAA,cACL,KAAK;AAAA,cACL,MAAM;AAAA,cACN,eAAe,CAAC,CAAC,GAAG,MAAM;AACxB,wBAAQ,GAAG;AAAA,cACb;AAAA,cAEA;AAAA,oCAAC,OAAO,OAAP,EAAa,aAAa,GAAG,aAAY,WACxC,8BAAC,OAAO,aAAP,EAAmB,GACtB;AAAA,gBACA,oBAAC,OAAO,OAAP,EAAa,UAAQ,IAAC,OAAO,GAAG;AAAA;AAAA;AAAA,UACnC;AAAA,UAEA,oBAAC,UAAO,MAAK,MAAK,SAAS,MAAM,YAAY,CAAC,UAAU,OAAO,MAAM,GAAG,GAAG,kBAE3E;AAAA,UACA;AAAA,YAAC;AAAA;AAAA,cACC,MAAK;AAAA,cACL,SAAS,MAAM;AACb,uBAAO,KAAK,OAAO,CAAC,GACpB,YAAY,CAAC;AAAA,cACf;AAAA,cACD;AAAA;AAAA,UAED;AAAA;AAAA;AAAA,IACF;AAAA,KACF;AAEJ;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -2,8 +2,9 @@ import { useEffect, useState } from "react";
|
|
|
2
2
|
import { Button, Paragraph, Progress, Slider, XStack, YStack } from "tamagui";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
function ProgressDemo() {
|
|
5
|
-
const [
|
|
6
|
-
[
|
|
5
|
+
const [key, setKey] = useState(0),
|
|
6
|
+
[size, setSize] = useState(4),
|
|
7
|
+
[progress, setProgress] = useState(0),
|
|
7
8
|
sizeProp = `$${size}`;
|
|
8
9
|
return useEffect(() => {
|
|
9
10
|
const timer = setTimeout(() => setProgress(60), 1e3);
|
|
@@ -14,7 +15,7 @@ function ProgressDemo() {
|
|
|
14
15
|
children: [/* @__PURE__ */jsxs(YStack, {
|
|
15
16
|
height: 60,
|
|
16
17
|
alignItems: "center",
|
|
17
|
-
|
|
18
|
+
gap: "$4",
|
|
18
19
|
children: [/* @__PURE__ */jsxs(Paragraph, {
|
|
19
20
|
height: 30,
|
|
20
21
|
opacity: 0.5,
|
|
@@ -25,10 +26,10 @@ function ProgressDemo() {
|
|
|
25
26
|
children: /* @__PURE__ */jsx(Progress.Indicator, {
|
|
26
27
|
animation: "bouncy"
|
|
27
28
|
})
|
|
28
|
-
})]
|
|
29
|
+
}, key)]
|
|
29
30
|
}), /* @__PURE__ */jsxs(XStack, {
|
|
30
31
|
alignItems: "center",
|
|
31
|
-
|
|
32
|
+
gap: "$2",
|
|
32
33
|
position: "absolute",
|
|
33
34
|
bottom: "$3",
|
|
34
35
|
left: "$4",
|
|
@@ -57,6 +58,12 @@ function ProgressDemo() {
|
|
|
57
58
|
size: "$2",
|
|
58
59
|
onPress: () => setProgress(prev => (prev + 20) % 100),
|
|
59
60
|
children: "Load"
|
|
61
|
+
}), /* @__PURE__ */jsx(Button, {
|
|
62
|
+
size: "$2",
|
|
63
|
+
onPress: () => {
|
|
64
|
+
setKey(Math.random()), setProgress(0);
|
|
65
|
+
},
|
|
66
|
+
children: "Reset"
|
|
60
67
|
})]
|
|
61
68
|
})]
|
|
62
69
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useState","Button","Paragraph","Progress","Slider","XStack","YStack","Fragment","jsx","jsxs","ProgressDemo","size","setSize","progress","setProgress","sizeProp","timer","setTimeout","clearTimeout","children","height","alignItems","
|
|
1
|
+
{"version":3,"names":["useEffect","useState","Button","Paragraph","Progress","Slider","XStack","YStack","Fragment","jsx","jsxs","ProgressDemo","key","setKey","size","setSize","progress","setProgress","sizeProp","timer","setTimeout","clearTimeout","children","height","alignItems","gap","opacity","value","Indicator","animation","position","bottom","left","$xxs","display","width","defaultValue","min","max","step","onValueChange","val","Track","borderWidth","borderColor","TrackActive","Thumb","circular","index","onPress","prev","Math","random"],"sources":["../../src/ProgressDemo.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,SAAA,EAAWC,QAAA,QAAgB;AAEpC,SAASC,MAAA,EAAQC,SAAA,EAAWC,QAAA,EAAUC,MAAA,EAAQC,MAAA,EAAQC,MAAA,QAAc;AAgBhE,SAAAC,QAAA,EAMMC,GAAA,EAJFC,IAAA,QAFJ;AAdG,SAASC,aAAA,EAAe;EAC7B,MAAM,CAACC,GAAA,EAAKC,MAAM,IAAIZ,QAAA,CAAS,CAAC;IAC1B,CAACa,IAAA,EAAMC,OAAO,IAAId,QAAA,CAAS,CAAC;IAC5B,CAACe,QAAA,EAAUC,WAAW,IAAIhB,QAAA,CAAS,CAAC;IACpCiB,QAAA,GAAW,IAAIJ,IAAI;EAEzB,OAAAd,SAAA,CAAU,MAAM;IACd,MAAMmB,KAAA,GAAQC,UAAA,CAAW,MAAMH,WAAA,CAAY,EAAE,GAAG,GAAI;IACpD,OAAO,MAAM;MACXI,YAAA,CAAaF,KAAK;IACpB;EACF,GAAG,EAAE,GAGH,eAAAT,IAAA,CAAAF,QAAA;IACEc,QAAA,kBAAAZ,IAAA,CAACH,MAAA;MAAOgB,MAAA,EAAQ;MAAIC,UAAA,EAAW;MAASC,GAAA,EAAI;MAC1CH,QAAA,kBAAAZ,IAAA,CAACP,SAAA;QAAUoB,MAAA,EAAQ;QAAIG,OAAA,EAAS;QAAKJ,QAAA,aAC5BR,IAAA;MAAA,CACT,GACA,eAAAL,GAAA,CAACL,QAAA;QAAmBU,IAAA,EAAMI,QAAA;QAAUS,KAAA,EAAOX,QAAA;QACzCM,QAAA,iBAAAb,GAAA,CAACL,QAAA,CAASwB,SAAA,EAAT;UAAmBC,SAAA,EAAU;QAAA,CAAS;MAAA,GAD1BjB,GAEf;IAAA,CACF,GAEA,eAAAF,IAAA,CAACJ,MAAA;MACCkB,UAAA,EAAW;MACXC,GAAA,EAAI;MACJK,QAAA,EAAS;MACTC,MAAA,EAAO;MACPC,IAAA,EAAK;MACLC,IAAA,EAAM;QAAEC,OAAA,EAAS;MAAO;MAExBZ,QAAA,kBAAAZ,IAAA,CAACL,MAAA;QACCS,IAAA,EAAK;QACLqB,KAAA,EAAO;QACPC,YAAA,EAAc,CAAC,CAAC;QAChBC,GAAA,EAAK;QACLC,GAAA,EAAK;QACLC,IAAA,EAAM;QACNC,aAAA,EAAeA,CAAC,CAACC,GAAG,MAAM;UACxB1B,OAAA,CAAQ0B,GAAG;QACb;QAEAnB,QAAA,kBAAAb,GAAA,CAACJ,MAAA,CAAOqC,KAAA,EAAP;UAAaC,WAAA,EAAa;UAAGC,WAAA,EAAY;UACxCtB,QAAA,iBAAAb,GAAA,CAACJ,MAAA,CAAOwC,WAAA,EAAP,EAAmB;QAAA,CACtB,GACA,eAAApC,GAAA,CAACJ,MAAA,CAAOyC,KAAA,EAAP;UAAaC,QAAA,EAAQ;UAACC,KAAA,EAAO;QAAA,CAAG;MAAA,CACnC,GAEA,eAAAvC,GAAA,CAACP,MAAA;QAAOY,IAAA,EAAK;QAAKmC,OAAA,EAASA,CAAA,KAAMhC,WAAA,CAAaiC,IAAA,KAAUA,IAAA,GAAO,MAAM,GAAG;QAAG5B,QAAA;MAAA,CAE3E,GACA,eAAAb,GAAA,CAACP,MAAA;QACCY,IAAA,EAAK;QACLmC,OAAA,EAASA,CAAA,KAAM;UACbpC,MAAA,CAAOsC,IAAA,CAAKC,MAAA,CAAO,CAAC,GACpBnC,WAAA,CAAY,CAAC;QACf;QACDK,QAAA;MAAA,CAED;IAAA,CACF;EAAA,CACF;AAEJ","ignoreList":[]}
|
|
@@ -43,7 +43,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
function ProgressDemo() {
|
|
46
|
-
var _useState = _sliced_to_array(useState(
|
|
46
|
+
var _useState = _sliced_to_array(useState(0), 2), key = _useState[0], setKey = _useState[1], _useState1 = _sliced_to_array(useState(4), 2), size = _useState1[0], setSize = _useState1[1], _useState2 = _sliced_to_array(useState(0), 2), progress = _useState2[0], setProgress = _useState2[1], sizeProp = "$".concat(size);
|
|
47
47
|
return useEffect(function() {
|
|
48
48
|
var timer = setTimeout(function() {
|
|
49
49
|
return setProgress(60);
|
|
@@ -56,7 +56,7 @@ function ProgressDemo() {
|
|
|
56
56
|
/* @__PURE__ */ _jsxs(YStack, {
|
|
57
57
|
height: 60,
|
|
58
58
|
alignItems: "center",
|
|
59
|
-
|
|
59
|
+
gap: "$4",
|
|
60
60
|
children: [
|
|
61
61
|
/* @__PURE__ */ _jsxs(Paragraph, {
|
|
62
62
|
height: 30,
|
|
@@ -72,12 +72,12 @@ function ProgressDemo() {
|
|
|
72
72
|
children: /* @__PURE__ */ _jsx(Progress.Indicator, {
|
|
73
73
|
animation: "bouncy"
|
|
74
74
|
})
|
|
75
|
-
})
|
|
75
|
+
}, key)
|
|
76
76
|
]
|
|
77
77
|
}),
|
|
78
78
|
/* @__PURE__ */ _jsxs(XStack, {
|
|
79
79
|
alignItems: "center",
|
|
80
|
-
|
|
80
|
+
gap: "$2",
|
|
81
81
|
position: "absolute",
|
|
82
82
|
bottom: "$3",
|
|
83
83
|
left: "$4",
|
|
@@ -118,6 +118,13 @@ function ProgressDemo() {
|
|
|
118
118
|
});
|
|
119
119
|
},
|
|
120
120
|
children: "Load"
|
|
121
|
+
}),
|
|
122
|
+
/* @__PURE__ */ _jsx(Button, {
|
|
123
|
+
size: "$2",
|
|
124
|
+
onPress: function() {
|
|
125
|
+
setKey(Math.random()), setProgress(0);
|
|
126
|
+
},
|
|
127
|
+
children: "Reset"
|
|
121
128
|
})
|
|
122
129
|
]
|
|
123
130
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/code/demos/src/ProgressDemo.tsx"],
|
|
4
|
-
"mappings": ";AAAA,SAASA,WAAWC,gBAAgB;AAEpC,SAASC,QAAQC,WAAWC,UAAUC,QAAQC,QAAQC,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE7D,SAASC,eAAAA;AACd,
|
|
5
|
-
"names": ["useEffect", "useState", "Button", "Paragraph", "Progress", "Slider", "XStack", "YStack", "ProgressDemo", "size", "setSize", "progress", "setProgress", "sizeProp", "timer", "setTimeout", "clearTimeout", "height", "alignItems", "
|
|
4
|
+
"mappings": ";AAAA,SAASA,WAAWC,gBAAgB;AAEpC,SAASC,QAAQC,WAAWC,UAAUC,QAAQC,QAAQC,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE7D,SAASC,eAAAA;AACd,MAAsBP,YAAAA,iBAAAA,SAAS,CAAA,GAAA,CAAA,GAAxBQ,MAAeR,UAAAA,CAAAA,GAAVS,SAAUT,UAAAA,CAAAA,GACEA,aAAAA,iBAAAA,SAAS,CAAA,GAAA,CAAA,GAA1BU,OAAiBV,WAAAA,CAAAA,GAAXW,UAAWX,WAAAA,CAAAA,GACQA,aAAAA,iBAAAA,SAAS,CAAA,GAAA,CAAA,GAAlCY,WAAyBZ,WAAAA,CAAAA,GAAfa,cAAeb,WAAAA,CAAAA,GAC1Bc,WAAY,IAAQ,OAALJ,IAAAA;AAErBX,mBAAU,WAAA;AACR,QAAMgB,QAAQC,WAAW,WAAA;aAAMH,YAAY,EAAA;OAAK,GAAA;AAChD,WAAO,WAAA;AACLI,mBAAaF,KAAAA;IACf;EACF,GAAG,CAAA,CAAE,GAGH,sBAAA,WAAA;;MACE,sBAACT,QAAAA;QAAOY,QAAQ;QAAIC,YAAW;QAASC,KAAI;;UAC1C,sBAAClB,WAAAA;YAAUgB,QAAQ;YAAIG,SAAS;;cAAK;cAC5BX;;;UAET,qBAACP,UAAAA;YAAmBO,MAAMI;YAAUQ,OAAOV;sBACzC,qBAACT,SAASoB,WAAS;cAACC,WAAU;;aADjBhB,GAAAA;;;MAKjB,sBAACH,QAAAA;QACCc,YAAW;QACXC,KAAI;QACJK,UAAS;QACTC,QAAO;QACPC,MAAK;QACLC,MAAM;UAAEC,SAAS;QAAO;;UAExB,sBAACzB,QAAAA;YACCM,MAAK;YACLoB,OAAO;YACPC,cAAc;cAAC;;YACfC,KAAK;YACLC,KAAK;YACLC,MAAM;YACNC,eAAe,SAAA,OAAA;uDAAEC,MAAAA,OAAAA,CAAAA;AACfzB,sBAAQyB,GAAAA;YACV;;cAEA,qBAAChC,OAAOiC,OAAK;gBAACC,aAAa;gBAAGC,aAAY;0BACxC,qBAACnC,OAAOoC,aAAW,CAAA,CAAA;;cAErB,qBAACpC,OAAOqC,OAAK;gBAACC,UAAQ;gBAACC,OAAO;;;;UAGhC,qBAAC1C,QAAAA;YAAOS,MAAK;YAAKkC,SAAS,WAAA;qBAAM/B,YAAY,SAACgC,MAAAA;wBAAUA,OAAO,MAAM;;;sBAAM;;UAG3E,qBAAC5C,QAAAA;YACCS,MAAK;YACLkC,SAAS,WAAA;AACPnC,qBAAOqC,KAAKC,OAAM,CAAA,GAClBlC,YAAY,CAAA;YACd;sBACD;;;;;;AAMT;",
|
|
5
|
+
"names": ["useEffect", "useState", "Button", "Paragraph", "Progress", "Slider", "XStack", "YStack", "ProgressDemo", "key", "setKey", "size", "setSize", "progress", "setProgress", "sizeProp", "timer", "setTimeout", "clearTimeout", "height", "alignItems", "gap", "opacity", "value", "Indicator", "animation", "position", "bottom", "left", "$xxs", "display", "width", "defaultValue", "min", "max", "step", "onValueChange", "val", "Track", "borderWidth", "borderColor", "TrackActive", "Thumb", "circular", "index", "onPress", "prev", "Math", "random"]
|
|
6
6
|
}
|
package/dist/jsx/ProgressDemo.js
CHANGED
|
@@ -2,25 +2,25 @@ import { useEffect, useState } from "react";
|
|
|
2
2
|
import { Button, Paragraph, Progress, Slider, XStack, YStack } from "tamagui";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
function ProgressDemo() {
|
|
5
|
-
const [size, setSize] = useState(4), [progress, setProgress] = useState(
|
|
5
|
+
const [key, setKey] = useState(0), [size, setSize] = useState(4), [progress, setProgress] = useState(0), sizeProp = `$${size}`;
|
|
6
6
|
return useEffect(() => {
|
|
7
7
|
const timer = setTimeout(() => setProgress(60), 1e3);
|
|
8
8
|
return () => {
|
|
9
9
|
clearTimeout(timer);
|
|
10
10
|
};
|
|
11
11
|
}, []), /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12
|
-
/* @__PURE__ */ jsxs(YStack, { height: 60, alignItems: "center",
|
|
12
|
+
/* @__PURE__ */ jsxs(YStack, { height: 60, alignItems: "center", gap: "$4", children: [
|
|
13
13
|
/* @__PURE__ */ jsxs(Paragraph, { height: 30, opacity: 0.5, children: [
|
|
14
14
|
"Size: ",
|
|
15
15
|
size
|
|
16
16
|
] }),
|
|
17
|
-
/* @__PURE__ */ jsx(Progress, { size: sizeProp, value: progress, children: /* @__PURE__ */ jsx(Progress.Indicator, { animation: "bouncy" }) })
|
|
17
|
+
/* @__PURE__ */ jsx(Progress, { size: sizeProp, value: progress, children: /* @__PURE__ */ jsx(Progress.Indicator, { animation: "bouncy" }) }, key)
|
|
18
18
|
] }),
|
|
19
19
|
/* @__PURE__ */ jsxs(
|
|
20
20
|
XStack,
|
|
21
21
|
{
|
|
22
22
|
alignItems: "center",
|
|
23
|
-
|
|
23
|
+
gap: "$2",
|
|
24
24
|
position: "absolute",
|
|
25
25
|
bottom: "$3",
|
|
26
26
|
left: "$4",
|
|
@@ -44,7 +44,17 @@ function ProgressDemo() {
|
|
|
44
44
|
]
|
|
45
45
|
}
|
|
46
46
|
),
|
|
47
|
-
/* @__PURE__ */ jsx(Button, { size: "$2", onPress: () => setProgress((prev) => (prev + 20) % 100), children: "Load" })
|
|
47
|
+
/* @__PURE__ */ jsx(Button, { size: "$2", onPress: () => setProgress((prev) => (prev + 20) % 100), children: "Load" }),
|
|
48
|
+
/* @__PURE__ */ jsx(
|
|
49
|
+
Button,
|
|
50
|
+
{
|
|
51
|
+
size: "$2",
|
|
52
|
+
onPress: () => {
|
|
53
|
+
setKey(Math.random()), setProgress(0);
|
|
54
|
+
},
|
|
55
|
+
children: "Reset"
|
|
56
|
+
}
|
|
57
|
+
)
|
|
48
58
|
]
|
|
49
59
|
}
|
|
50
60
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ProgressDemo.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAAS,WAAW,gBAAgB;AAEpC,SAAS,QAAQ,WAAW,UAAU,QAAQ,QAAQ,cAAc;
|
|
4
|
+
"mappings": "AAAA,SAAS,WAAW,gBAAgB;AAEpC,SAAS,QAAQ,WAAW,UAAU,QAAQ,QAAQ,cAAc;AAgBhE,mBAMM,KAJF,YAFJ;AAdG,SAAS,eAAe;AAC7B,QAAM,CAAC,KAAK,MAAM,IAAI,SAAS,CAAC,GAC1B,CAAC,MAAM,OAAO,IAAI,SAAS,CAAC,GAC5B,CAAC,UAAU,WAAW,IAAI,SAAS,CAAC,GACpC,WAAW,IAAI,IAAI;AAEzB,mBAAU,MAAM;AACd,UAAM,QAAQ,WAAW,MAAM,YAAY,EAAE,GAAG,GAAI;AACpD,WAAO,MAAM;AACX,mBAAa,KAAK;AAAA,IACpB;AAAA,EACF,GAAG,CAAC,CAAC,GAGH,iCACE;AAAA,yBAAC,UAAO,QAAQ,IAAI,YAAW,UAAS,KAAI,MAC1C;AAAA,2BAAC,aAAU,QAAQ,IAAI,SAAS,KAAK;AAAA;AAAA,QAC5B;AAAA,SACT;AAAA,MACA,oBAAC,YAAmB,MAAM,UAAU,OAAO,UACzC,8BAAC,SAAS,WAAT,EAAmB,WAAU,UAAS,KAD1B,GAEf;AAAA,OACF;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACC,YAAW;AAAA,QACX,KAAI;AAAA,QACJ,UAAS;AAAA,QACT,QAAO;AAAA,QACP,MAAK;AAAA,QACL,MAAM,EAAE,SAAS,OAAO;AAAA,QAExB;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,MAAK;AAAA,cACL,OAAO;AAAA,cACP,cAAc,CAAC,CAAC;AAAA,cAChB,KAAK;AAAA,cACL,KAAK;AAAA,cACL,MAAM;AAAA,cACN,eAAe,CAAC,CAAC,GAAG,MAAM;AACxB,wBAAQ,GAAG;AAAA,cACb;AAAA,cAEA;AAAA,oCAAC,OAAO,OAAP,EAAa,aAAa,GAAG,aAAY,WACxC,8BAAC,OAAO,aAAP,EAAmB,GACtB;AAAA,gBACA,oBAAC,OAAO,OAAP,EAAa,UAAQ,IAAC,OAAO,GAAG;AAAA;AAAA;AAAA,UACnC;AAAA,UAEA,oBAAC,UAAO,MAAK,MAAK,SAAS,MAAM,YAAY,CAAC,UAAU,OAAO,MAAM,GAAG,GAAG,kBAE3E;AAAA,UACA;AAAA,YAAC;AAAA;AAAA,cACC,MAAK;AAAA,cACL,SAAS,MAAM;AACb,uBAAO,KAAK,OAAO,CAAC,GACpB,YAAY,CAAC;AAAA,cACf;AAAA,cACD;AAAA;AAAA,UAED;AAAA;AAAA;AAAA,IACF;AAAA,KACF;AAEJ;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -2,8 +2,9 @@ import { useEffect, useState } from "react";
|
|
|
2
2
|
import { Button, Paragraph, Progress, Slider, XStack, YStack } from "tamagui";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
function ProgressDemo() {
|
|
5
|
-
const [
|
|
6
|
-
[
|
|
5
|
+
const [key, setKey] = useState(0),
|
|
6
|
+
[size, setSize] = useState(4),
|
|
7
|
+
[progress, setProgress] = useState(0),
|
|
7
8
|
sizeProp = `$${size}`;
|
|
8
9
|
return useEffect(() => {
|
|
9
10
|
const timer = setTimeout(() => setProgress(60), 1e3);
|
|
@@ -14,7 +15,7 @@ function ProgressDemo() {
|
|
|
14
15
|
children: [/* @__PURE__ */jsxs(YStack, {
|
|
15
16
|
height: 60,
|
|
16
17
|
alignItems: "center",
|
|
17
|
-
|
|
18
|
+
gap: "$4",
|
|
18
19
|
children: [/* @__PURE__ */jsxs(Paragraph, {
|
|
19
20
|
height: 30,
|
|
20
21
|
opacity: 0.5,
|
|
@@ -25,10 +26,10 @@ function ProgressDemo() {
|
|
|
25
26
|
children: /* @__PURE__ */jsx(Progress.Indicator, {
|
|
26
27
|
animation: "bouncy"
|
|
27
28
|
})
|
|
28
|
-
})]
|
|
29
|
+
}, key)]
|
|
29
30
|
}), /* @__PURE__ */jsxs(XStack, {
|
|
30
31
|
alignItems: "center",
|
|
31
|
-
|
|
32
|
+
gap: "$2",
|
|
32
33
|
position: "absolute",
|
|
33
34
|
bottom: "$3",
|
|
34
35
|
left: "$4",
|
|
@@ -57,6 +58,12 @@ function ProgressDemo() {
|
|
|
57
58
|
size: "$2",
|
|
58
59
|
onPress: () => setProgress(prev => (prev + 20) % 100),
|
|
59
60
|
children: "Load"
|
|
61
|
+
}), /* @__PURE__ */jsx(Button, {
|
|
62
|
+
size: "$2",
|
|
63
|
+
onPress: () => {
|
|
64
|
+
setKey(Math.random()), setProgress(0);
|
|
65
|
+
},
|
|
66
|
+
children: "Reset"
|
|
60
67
|
})]
|
|
61
68
|
})]
|
|
62
69
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useState","Button","Paragraph","Progress","Slider","XStack","YStack","Fragment","jsx","jsxs","ProgressDemo","size","setSize","progress","setProgress","sizeProp","timer","setTimeout","clearTimeout","children","height","alignItems","
|
|
1
|
+
{"version":3,"names":["useEffect","useState","Button","Paragraph","Progress","Slider","XStack","YStack","Fragment","jsx","jsxs","ProgressDemo","key","setKey","size","setSize","progress","setProgress","sizeProp","timer","setTimeout","clearTimeout","children","height","alignItems","gap","opacity","value","Indicator","animation","position","bottom","left","$xxs","display","width","defaultValue","min","max","step","onValueChange","val","Track","borderWidth","borderColor","TrackActive","Thumb","circular","index","onPress","prev","Math","random"],"sources":["../../src/ProgressDemo.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,SAAA,EAAWC,QAAA,QAAgB;AAEpC,SAASC,MAAA,EAAQC,SAAA,EAAWC,QAAA,EAAUC,MAAA,EAAQC,MAAA,EAAQC,MAAA,QAAc;AAgBhE,SAAAC,QAAA,EAMMC,GAAA,EAJFC,IAAA,QAFJ;AAdG,SAASC,aAAA,EAAe;EAC7B,MAAM,CAACC,GAAA,EAAKC,MAAM,IAAIZ,QAAA,CAAS,CAAC;IAC1B,CAACa,IAAA,EAAMC,OAAO,IAAId,QAAA,CAAS,CAAC;IAC5B,CAACe,QAAA,EAAUC,WAAW,IAAIhB,QAAA,CAAS,CAAC;IACpCiB,QAAA,GAAW,IAAIJ,IAAI;EAEzB,OAAAd,SAAA,CAAU,MAAM;IACd,MAAMmB,KAAA,GAAQC,UAAA,CAAW,MAAMH,WAAA,CAAY,EAAE,GAAG,GAAI;IACpD,OAAO,MAAM;MACXI,YAAA,CAAaF,KAAK;IACpB;EACF,GAAG,EAAE,GAGH,eAAAT,IAAA,CAAAF,QAAA;IACEc,QAAA,kBAAAZ,IAAA,CAACH,MAAA;MAAOgB,MAAA,EAAQ;MAAIC,UAAA,EAAW;MAASC,GAAA,EAAI;MAC1CH,QAAA,kBAAAZ,IAAA,CAACP,SAAA;QAAUoB,MAAA,EAAQ;QAAIG,OAAA,EAAS;QAAKJ,QAAA,aAC5BR,IAAA;MAAA,CACT,GACA,eAAAL,GAAA,CAACL,QAAA;QAAmBU,IAAA,EAAMI,QAAA;QAAUS,KAAA,EAAOX,QAAA;QACzCM,QAAA,iBAAAb,GAAA,CAACL,QAAA,CAASwB,SAAA,EAAT;UAAmBC,SAAA,EAAU;QAAA,CAAS;MAAA,GAD1BjB,GAEf;IAAA,CACF,GAEA,eAAAF,IAAA,CAACJ,MAAA;MACCkB,UAAA,EAAW;MACXC,GAAA,EAAI;MACJK,QAAA,EAAS;MACTC,MAAA,EAAO;MACPC,IAAA,EAAK;MACLC,IAAA,EAAM;QAAEC,OAAA,EAAS;MAAO;MAExBZ,QAAA,kBAAAZ,IAAA,CAACL,MAAA;QACCS,IAAA,EAAK;QACLqB,KAAA,EAAO;QACPC,YAAA,EAAc,CAAC,CAAC;QAChBC,GAAA,EAAK;QACLC,GAAA,EAAK;QACLC,IAAA,EAAM;QACNC,aAAA,EAAeA,CAAC,CAACC,GAAG,MAAM;UACxB1B,OAAA,CAAQ0B,GAAG;QACb;QAEAnB,QAAA,kBAAAb,GAAA,CAACJ,MAAA,CAAOqC,KAAA,EAAP;UAAaC,WAAA,EAAa;UAAGC,WAAA,EAAY;UACxCtB,QAAA,iBAAAb,GAAA,CAACJ,MAAA,CAAOwC,WAAA,EAAP,EAAmB;QAAA,CACtB,GACA,eAAApC,GAAA,CAACJ,MAAA,CAAOyC,KAAA,EAAP;UAAaC,QAAA,EAAQ;UAACC,KAAA,EAAO;QAAA,CAAG;MAAA,CACnC,GAEA,eAAAvC,GAAA,CAACP,MAAA;QAAOY,IAAA,EAAK;QAAKmC,OAAA,EAASA,CAAA,KAAMhC,WAAA,CAAaiC,IAAA,KAAUA,IAAA,GAAO,MAAM,GAAG;QAAG5B,QAAA;MAAA,CAE3E,GACA,eAAAb,GAAA,CAACP,MAAA;QACCY,IAAA,EAAK;QACLmC,OAAA,EAASA,CAAA,KAAM;UACbpC,MAAA,CAAOsC,IAAA,CAAKC,MAAA,CAAO,CAAC,GACpBnC,WAAA,CAAY,CAAC;QACf;QACDK,QAAA;MAAA,CAED;IAAA,CACF;EAAA,CACF;AAEJ","ignoreList":[]}
|
|
@@ -43,7 +43,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
function ProgressDemo() {
|
|
46
|
-
var _useState = _sliced_to_array(useState(
|
|
46
|
+
var _useState = _sliced_to_array(useState(0), 2), key = _useState[0], setKey = _useState[1], _useState1 = _sliced_to_array(useState(4), 2), size = _useState1[0], setSize = _useState1[1], _useState2 = _sliced_to_array(useState(0), 2), progress = _useState2[0], setProgress = _useState2[1], sizeProp = "$".concat(size);
|
|
47
47
|
return useEffect(function() {
|
|
48
48
|
var timer = setTimeout(function() {
|
|
49
49
|
return setProgress(60);
|
|
@@ -56,7 +56,7 @@ function ProgressDemo() {
|
|
|
56
56
|
/* @__PURE__ */ _jsxs(YStack, {
|
|
57
57
|
height: 60,
|
|
58
58
|
alignItems: "center",
|
|
59
|
-
|
|
59
|
+
gap: "$4",
|
|
60
60
|
children: [
|
|
61
61
|
/* @__PURE__ */ _jsxs(Paragraph, {
|
|
62
62
|
height: 30,
|
|
@@ -72,12 +72,12 @@ function ProgressDemo() {
|
|
|
72
72
|
children: /* @__PURE__ */ _jsx(Progress.Indicator, {
|
|
73
73
|
animation: "bouncy"
|
|
74
74
|
})
|
|
75
|
-
})
|
|
75
|
+
}, key)
|
|
76
76
|
]
|
|
77
77
|
}),
|
|
78
78
|
/* @__PURE__ */ _jsxs(XStack, {
|
|
79
79
|
alignItems: "center",
|
|
80
|
-
|
|
80
|
+
gap: "$2",
|
|
81
81
|
position: "absolute",
|
|
82
82
|
bottom: "$3",
|
|
83
83
|
left: "$4",
|
|
@@ -118,6 +118,13 @@ function ProgressDemo() {
|
|
|
118
118
|
});
|
|
119
119
|
},
|
|
120
120
|
children: "Load"
|
|
121
|
+
}),
|
|
122
|
+
/* @__PURE__ */ _jsx(Button, {
|
|
123
|
+
size: "$2",
|
|
124
|
+
onPress: function() {
|
|
125
|
+
setKey(Math.random()), setProgress(0);
|
|
126
|
+
},
|
|
127
|
+
children: "Reset"
|
|
121
128
|
})
|
|
122
129
|
]
|
|
123
130
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/code/demos/src/ProgressDemo.tsx"],
|
|
4
|
-
"mappings": ";AAAA,SAASA,WAAWC,gBAAgB;AAEpC,SAASC,QAAQC,WAAWC,UAAUC,QAAQC,QAAQC,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE7D,SAASC,eAAAA;AACd,
|
|
5
|
-
"names": ["useEffect", "useState", "Button", "Paragraph", "Progress", "Slider", "XStack", "YStack", "ProgressDemo", "size", "setSize", "progress", "setProgress", "sizeProp", "timer", "setTimeout", "clearTimeout", "height", "alignItems", "
|
|
4
|
+
"mappings": ";AAAA,SAASA,WAAWC,gBAAgB;AAEpC,SAASC,QAAQC,WAAWC,UAAUC,QAAQC,QAAQC,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE7D,SAASC,eAAAA;AACd,MAAsBP,YAAAA,iBAAAA,SAAS,CAAA,GAAA,CAAA,GAAxBQ,MAAeR,UAAAA,CAAAA,GAAVS,SAAUT,UAAAA,CAAAA,GACEA,aAAAA,iBAAAA,SAAS,CAAA,GAAA,CAAA,GAA1BU,OAAiBV,WAAAA,CAAAA,GAAXW,UAAWX,WAAAA,CAAAA,GACQA,aAAAA,iBAAAA,SAAS,CAAA,GAAA,CAAA,GAAlCY,WAAyBZ,WAAAA,CAAAA,GAAfa,cAAeb,WAAAA,CAAAA,GAC1Bc,WAAY,IAAQ,OAALJ,IAAAA;AAErBX,mBAAU,WAAA;AACR,QAAMgB,QAAQC,WAAW,WAAA;aAAMH,YAAY,EAAA;OAAK,GAAA;AAChD,WAAO,WAAA;AACLI,mBAAaF,KAAAA;IACf;EACF,GAAG,CAAA,CAAE,GAGH,sBAAA,WAAA;;MACE,sBAACT,QAAAA;QAAOY,QAAQ;QAAIC,YAAW;QAASC,KAAI;;UAC1C,sBAAClB,WAAAA;YAAUgB,QAAQ;YAAIG,SAAS;;cAAK;cAC5BX;;;UAET,qBAACP,UAAAA;YAAmBO,MAAMI;YAAUQ,OAAOV;sBACzC,qBAACT,SAASoB,WAAS;cAACC,WAAU;;aADjBhB,GAAAA;;;MAKjB,sBAACH,QAAAA;QACCc,YAAW;QACXC,KAAI;QACJK,UAAS;QACTC,QAAO;QACPC,MAAK;QACLC,MAAM;UAAEC,SAAS;QAAO;;UAExB,sBAACzB,QAAAA;YACCM,MAAK;YACLoB,OAAO;YACPC,cAAc;cAAC;;YACfC,KAAK;YACLC,KAAK;YACLC,MAAM;YACNC,eAAe,SAAA,OAAA;uDAAEC,MAAAA,OAAAA,CAAAA;AACfzB,sBAAQyB,GAAAA;YACV;;cAEA,qBAAChC,OAAOiC,OAAK;gBAACC,aAAa;gBAAGC,aAAY;0BACxC,qBAACnC,OAAOoC,aAAW,CAAA,CAAA;;cAErB,qBAACpC,OAAOqC,OAAK;gBAACC,UAAQ;gBAACC,OAAO;;;;UAGhC,qBAAC1C,QAAAA;YAAOS,MAAK;YAAKkC,SAAS,WAAA;qBAAM/B,YAAY,SAACgC,MAAAA;wBAAUA,OAAO,MAAM;;;sBAAM;;UAG3E,qBAAC5C,QAAAA;YACCS,MAAK;YACLkC,SAAS,WAAA;AACPnC,qBAAOqC,KAAKC,OAAM,CAAA,GAClBlC,YAAY,CAAA;YACd;sBACD;;;;;;AAMT;",
|
|
5
|
+
"names": ["useEffect", "useState", "Button", "Paragraph", "Progress", "Slider", "XStack", "YStack", "ProgressDemo", "key", "setKey", "size", "setSize", "progress", "setProgress", "sizeProp", "timer", "setTimeout", "clearTimeout", "height", "alignItems", "gap", "opacity", "value", "Indicator", "animation", "position", "bottom", "left", "$xxs", "display", "width", "defaultValue", "min", "max", "step", "onValueChange", "val", "Track", "borderWidth", "borderColor", "TrackActive", "Thumb", "circular", "index", "onPress", "prev", "Math", "random"]
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/demos",
|
|
3
|
-
"version": "1.105.
|
|
3
|
+
"version": "1.105.3",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -39,29 +39,29 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@tamagui/avatar": "1.105.
|
|
43
|
-
"@tamagui/button": "1.105.
|
|
44
|
-
"@tamagui/config": "1.105.
|
|
45
|
-
"@tamagui/core": "1.105.
|
|
46
|
-
"@tamagui/list-item": "1.105.
|
|
47
|
-
"@tamagui/logo": "1.105.
|
|
48
|
-
"@tamagui/lucide-icons": "1.105.
|
|
49
|
-
"@tamagui/menu": "1.105.
|
|
50
|
-
"@tamagui/popover": "1.105.
|
|
51
|
-
"@tamagui/progress": "1.105.
|
|
52
|
-
"@tamagui/radio-group": "1.105.
|
|
53
|
-
"@tamagui/select": "1.105.
|
|
54
|
-
"@tamagui/sheet": "1.105.
|
|
55
|
-
"@tamagui/slider": "1.105.
|
|
56
|
-
"@tamagui/stacks": "1.105.
|
|
57
|
-
"@tamagui/toast": "1.105.
|
|
58
|
-
"tamagui": "1.105.
|
|
42
|
+
"@tamagui/avatar": "1.105.3",
|
|
43
|
+
"@tamagui/button": "1.105.3",
|
|
44
|
+
"@tamagui/config": "1.105.3",
|
|
45
|
+
"@tamagui/core": "1.105.3",
|
|
46
|
+
"@tamagui/list-item": "1.105.3",
|
|
47
|
+
"@tamagui/logo": "1.105.3",
|
|
48
|
+
"@tamagui/lucide-icons": "1.105.3",
|
|
49
|
+
"@tamagui/menu": "1.105.3",
|
|
50
|
+
"@tamagui/popover": "1.105.3",
|
|
51
|
+
"@tamagui/progress": "1.105.3",
|
|
52
|
+
"@tamagui/radio-group": "1.105.3",
|
|
53
|
+
"@tamagui/select": "1.105.3",
|
|
54
|
+
"@tamagui/sheet": "1.105.3",
|
|
55
|
+
"@tamagui/slider": "1.105.3",
|
|
56
|
+
"@tamagui/stacks": "1.105.3",
|
|
57
|
+
"@tamagui/toast": "1.105.3",
|
|
58
|
+
"tamagui": "1.105.3"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"react": "*"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tamagui/build": "1.105.
|
|
64
|
+
"@tamagui/build": "1.105.3",
|
|
65
65
|
"react": "^18.2.0",
|
|
66
66
|
"react-dom": "^18.2.0"
|
|
67
67
|
},
|
package/src/ProgressDemo.tsx
CHANGED
|
@@ -3,8 +3,9 @@ import type { SizeTokens } from 'tamagui'
|
|
|
3
3
|
import { Button, Paragraph, Progress, Slider, XStack, YStack } from 'tamagui'
|
|
4
4
|
|
|
5
5
|
export function ProgressDemo() {
|
|
6
|
+
const [key, setKey] = useState(0)
|
|
6
7
|
const [size, setSize] = useState(4)
|
|
7
|
-
const [progress, setProgress] = useState(
|
|
8
|
+
const [progress, setProgress] = useState(0)
|
|
8
9
|
const sizeProp = `$${size}` as SizeTokens
|
|
9
10
|
|
|
10
11
|
useEffect(() => {
|
|
@@ -16,18 +17,18 @@ export function ProgressDemo() {
|
|
|
16
17
|
|
|
17
18
|
return (
|
|
18
19
|
<>
|
|
19
|
-
<YStack height={60} alignItems="center"
|
|
20
|
+
<YStack height={60} alignItems="center" gap="$4">
|
|
20
21
|
<Paragraph height={30} opacity={0.5}>
|
|
21
22
|
Size: {size}
|
|
22
23
|
</Paragraph>
|
|
23
|
-
<Progress size={sizeProp} value={progress}>
|
|
24
|
+
<Progress key={key} size={sizeProp} value={progress}>
|
|
24
25
|
<Progress.Indicator animation="bouncy" />
|
|
25
26
|
</Progress>
|
|
26
27
|
</YStack>
|
|
27
28
|
|
|
28
29
|
<XStack
|
|
29
30
|
alignItems="center"
|
|
30
|
-
|
|
31
|
+
gap="$2"
|
|
31
32
|
position="absolute"
|
|
32
33
|
bottom="$3"
|
|
33
34
|
left="$4"
|
|
@@ -53,6 +54,15 @@ export function ProgressDemo() {
|
|
|
53
54
|
<Button size="$2" onPress={() => setProgress((prev) => (prev + 20) % 100)}>
|
|
54
55
|
Load
|
|
55
56
|
</Button>
|
|
57
|
+
<Button
|
|
58
|
+
size="$2"
|
|
59
|
+
onPress={() => {
|
|
60
|
+
setKey(Math.random())
|
|
61
|
+
setProgress(0)
|
|
62
|
+
}}
|
|
63
|
+
>
|
|
64
|
+
Reset
|
|
65
|
+
</Button>
|
|
56
66
|
</XStack>
|
|
57
67
|
</>
|
|
58
68
|
)
|
|
@@ -21,7 +21,7 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
21
21
|
radiused?: boolean | undefined;
|
|
22
22
|
padded?: boolean | undefined;
|
|
23
23
|
chromeless?: boolean | "all" | undefined;
|
|
24
|
-
}>, "theme" | "native" | "debug" | "background" | "borderColor" | "outlineColor" | "shadowColor" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "themeInverse" | "id" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "style" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "transformOrigin" | "filter" | "backdropFilter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "containerType" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "objectFit" | "verticalAlign" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "blockSize" | "minBlockSize" | "maxBlockSize" | "inlineSize" | "minInlineSize" | "maxInlineSize" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "value" | "size" | `$${string}` | "unstyled" | "name" | "scaleIcon" |
|
|
24
|
+
}>, "theme" | "native" | "debug" | "background" | "borderColor" | "outlineColor" | "shadowColor" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "themeInverse" | "id" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "style" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "transformOrigin" | "filter" | "backdropFilter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "containerType" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "objectFit" | "verticalAlign" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "blockSize" | "minBlockSize" | "maxBlockSize" | "inlineSize" | "minInlineSize" | "maxInlineSize" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "value" | "size" | `$${string}` | "unstyled" | "name" | "scaleIcon" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust" | `$${number}` | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$theme-${string}` | `$theme-${number}`> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
25
25
|
scaleIcon?: number;
|
|
26
26
|
scaleSize?: number;
|
|
27
27
|
sizeAdjust?: number;
|
|
@@ -52,7 +52,7 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
52
52
|
radiused?: boolean | undefined;
|
|
53
53
|
padded?: boolean | undefined;
|
|
54
54
|
chromeless?: boolean | "all" | undefined;
|
|
55
|
-
}>, "theme" | "native" | "debug" | "background" | "borderColor" | "outlineColor" | "shadowColor" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "themeInverse" | "id" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "style" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "transformOrigin" | "filter" | "backdropFilter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "containerType" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "objectFit" | "verticalAlign" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "blockSize" | "minBlockSize" | "maxBlockSize" | "inlineSize" | "minInlineSize" | "maxInlineSize" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "value" | "size" | `$${string}` | "unstyled" | "name" | "scaleIcon" |
|
|
55
|
+
}>, "theme" | "native" | "debug" | "background" | "borderColor" | "outlineColor" | "shadowColor" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "themeInverse" | "id" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "style" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "transformOrigin" | "filter" | "backdropFilter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "containerType" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "objectFit" | "verticalAlign" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "blockSize" | "minBlockSize" | "maxBlockSize" | "inlineSize" | "minInlineSize" | "maxInlineSize" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "value" | "size" | `$${string}` | "unstyled" | "name" | "scaleIcon" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust" | `$${number}` | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$theme-${string}` | `$theme-${number}`> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
56
56
|
scaleIcon?: number;
|
|
57
57
|
scaleSize?: number;
|
|
58
58
|
sizeAdjust?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressDemo.d.ts","sourceRoot":"","sources":["../src/ProgressDemo.tsx"],"names":[],"mappings":"AAIA,wBAAgB,YAAY,
|
|
1
|
+
{"version":3,"file":"ProgressDemo.d.ts","sourceRoot":"","sources":["../src/ProgressDemo.tsx"],"names":[],"mappings":"AAIA,wBAAgB,YAAY,4CAgE3B"}
|
|
@@ -10,7 +10,7 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
10
10
|
left?: number;
|
|
11
11
|
right?: number;
|
|
12
12
|
} | undefined;
|
|
13
|
-
}>, "theme" | "native" | "debug" | "background" | "borderColor" | "outlineColor" | "shadowColor" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "themeInverse" | "id" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "style" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "transformOrigin" | "filter" | "backdropFilter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "containerType" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "objectFit" | "verticalAlign" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "blockSize" | "minBlockSize" | "maxBlockSize" | "inlineSize" | "minInlineSize" | "maxInlineSize" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "value" | "size" | `$${string}` | "unstyled" | "name" |
|
|
13
|
+
}>, "theme" | "native" | "debug" | "background" | "borderColor" | "outlineColor" | "shadowColor" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "themeInverse" | "id" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "style" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "transformOrigin" | "filter" | "backdropFilter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "containerType" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "objectFit" | "verticalAlign" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "blockSize" | "minBlockSize" | "maxBlockSize" | "inlineSize" | "minInlineSize" | "maxInlineSize" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "value" | "size" | `$${string}` | "unstyled" | "name" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | `$${number}` | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$theme-${string}` | `$theme-${number}` | "labeledBy" | "nativeProps"> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
14
14
|
size?: import("tamagui").SizeTokens | number;
|
|
15
15
|
unstyled?: boolean;
|
|
16
16
|
} & import("@tamagui/switch-headless").SwitchExtraProps & {
|
|
@@ -28,7 +28,7 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
28
28
|
left?: number;
|
|
29
29
|
right?: number;
|
|
30
30
|
} | undefined;
|
|
31
|
-
}>, "theme" | "native" | "debug" | "background" | "borderColor" | "outlineColor" | "shadowColor" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "themeInverse" | "id" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "style" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "transformOrigin" | "filter" | "backdropFilter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "containerType" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "objectFit" | "verticalAlign" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "blockSize" | "minBlockSize" | "maxBlockSize" | "inlineSize" | "minInlineSize" | "maxInlineSize" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "value" | "size" | `$${string}` | "unstyled" | "name" |
|
|
31
|
+
}>, "theme" | "native" | "debug" | "background" | "borderColor" | "outlineColor" | "shadowColor" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "themeInverse" | "id" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "style" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "transformOrigin" | "filter" | "backdropFilter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "containerType" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "objectFit" | "verticalAlign" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "blockSize" | "minBlockSize" | "maxBlockSize" | "inlineSize" | "minInlineSize" | "maxInlineSize" | "space" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "value" | "size" | `$${string}` | "unstyled" | "name" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | `$${number}` | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$theme-${string}` | `$theme-${number}` | "labeledBy" | "nativeProps"> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
32
32
|
size?: import("tamagui").SizeTokens | number;
|
|
33
33
|
unstyled?: boolean;
|
|
34
34
|
} & import("@tamagui/switch-headless").SwitchExtraProps & {
|