@tamagui/form 1.135.3 → 1.135.4-1761748186554
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/Form.native.js +66 -46
- package/dist/cjs/Form.native.js.map +1 -6
- package/dist/cjs/index.native.js +13 -12
- package/dist/cjs/index.native.js.map +1 -6
- package/dist/jsx/Form.native.js +81 -40
- package/dist/jsx/Form.native.js.map +1 -6
- package/dist/jsx/index.native.js +21 -2
- package/dist/jsx/index.native.js.map +1 -6
- package/package.json +11 -10
package/dist/cjs/Form.native.js
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
7
|
var __export = (target, all) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
16
23
|
var Form_exports = {};
|
|
17
24
|
__export(Form_exports, {
|
|
18
25
|
Form: () => Form2,
|
|
@@ -22,41 +29,54 @@ __export(Form_exports, {
|
|
|
22
29
|
useFormContext: () => useFormContext
|
|
23
30
|
});
|
|
24
31
|
module.exports = __toCommonJS(Form_exports);
|
|
25
|
-
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
33
|
+
import_core = require("@tamagui/core"),
|
|
34
|
+
import_create_context = require("@tamagui/create-context"),
|
|
35
|
+
import_helpers = require("@tamagui/helpers"),
|
|
36
|
+
FORM_NAME = "Form",
|
|
37
|
+
FormFrame = (0, import_core.styled)(import_core.Stack, {
|
|
38
|
+
name: FORM_NAME,
|
|
39
|
+
tag: "form"
|
|
40
|
+
}),
|
|
41
|
+
[createFormContext] = (0, import_create_context.createContextScope)(FORM_NAME),
|
|
42
|
+
[FormProvider, useFormContext] = createFormContext(FORM_NAME),
|
|
43
|
+
TRIGGER_NAME = "FormTrigger",
|
|
44
|
+
FormTriggerFrame = (0, import_core.styled)(import_core.View, {
|
|
45
|
+
name: TRIGGER_NAME
|
|
46
|
+
}),
|
|
47
|
+
FormTrigger = FormTriggerFrame.styleable(function (props, forwardedRef) {
|
|
48
|
+
var {
|
|
49
|
+
__scopeForm,
|
|
50
|
+
children,
|
|
51
|
+
onPress,
|
|
52
|
+
...triggerProps
|
|
53
|
+
} = props,
|
|
54
|
+
context = useFormContext(TRIGGER_NAME, __scopeForm);
|
|
55
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(FormTriggerFrame, {
|
|
56
|
+
tag: "button",
|
|
57
|
+
...triggerProps,
|
|
58
|
+
ref: forwardedRef,
|
|
59
|
+
onPress: (0, import_helpers.composeEventHandlers)(onPress, context.onSubmit),
|
|
60
|
+
children
|
|
61
|
+
});
|
|
62
|
+
}),
|
|
63
|
+
FormComponent = FormFrame.extractable(function (param) {
|
|
64
|
+
var {
|
|
65
|
+
onSubmit,
|
|
66
|
+
...props
|
|
67
|
+
} = param;
|
|
68
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(FormProvider, {
|
|
69
|
+
scope: props.__scopeForm,
|
|
70
|
+
onSubmit,
|
|
71
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(FormFrame, {
|
|
72
|
+
...props,
|
|
73
|
+
onSubmit: function (e) {
|
|
74
|
+
return e.preventDefault();
|
|
75
|
+
}
|
|
76
|
+
})
|
|
77
|
+
});
|
|
78
|
+
}),
|
|
79
|
+
Form2 = (0, import_helpers.withStaticProperties)(FormComponent, {
|
|
80
|
+
Trigger: FormTrigger
|
|
38
81
|
});
|
|
39
|
-
|
|
40
|
-
var { onSubmit, ...props } = param;
|
|
41
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FormProvider, {
|
|
42
|
-
scope: props.__scopeForm,
|
|
43
|
-
onSubmit,
|
|
44
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FormFrame, {
|
|
45
|
-
...props,
|
|
46
|
-
onSubmit: function(e) {
|
|
47
|
-
return e.preventDefault();
|
|
48
|
-
}
|
|
49
|
-
})
|
|
50
|
-
});
|
|
51
|
-
}), Form2 = (0, import_helpers.withStaticProperties)(FormComponent, {
|
|
52
|
-
Trigger: FormTrigger
|
|
53
|
-
});
|
|
54
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
55
|
-
0 && (module.exports = {
|
|
56
|
-
Form,
|
|
57
|
-
FormFrame,
|
|
58
|
-
FormProvider,
|
|
59
|
-
FormTrigger,
|
|
60
|
-
useFormContext
|
|
61
|
-
});
|
|
62
|
-
//# sourceMappingURL=Form.js.map
|
|
82
|
+
//# sourceMappingURL=Form.native.js.map
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/Form.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,cAAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAA4B,8BAC5B,cAAoC,0BACpC,wBAAmC,oCACnC,iBAA2D,6BACvD,YAAY,QACL,gBAAY,oBAAO,mBAAO;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AACT,CAAC,GAGwG,CAAC,iBAAiB,QAAI,0CAAmB,SAAS,GAChJ,CAAC,cAAc,cAAc,IAAI,kBAAkB,SAAS,GAGkC,eAAe,eACpH,uBAAmB,oBAAO,kBAAM;AAAA,EAChC,MAAM;AACV,CAAC,GACU,cAAc,iBAAiB,UAAU,SAAS,OAAO,cAAc;AAC9E,MAAI,EAAE,aAAa,UAAU,SAAS,GAAG,aAAa,IAAI,OACtD,UAAU,eAAe,cAAc,WAAW;AACtD,SAAqB,uCAAAC,KAAK,kBAAkB;AAAA,IACxC,KAAK;AAAA,IACL,GAAG;AAAA,IACH,KAAK;AAAA,IACL,aAAS,qCAAqB,SAAS,QAAQ,QAAQ;AAAA,IACvD;AAAA,EACJ,CAAC;AACL,CAAC,GAGwG,gBAAgB,UAAU,YAAY,SAAc,OAAO;AAChK,MAAI,EAAE,UAAU,GAAG,MAAM,IAAI;AAC7B,SAAqB,uCAAAA,KAAK,cAAc;AAAA,IACpC,OAAO,MAAM;AAAA,IACb;AAAA,IACA,UAAwB,uCAAAA,KAAK,WAAW;AAAA,MACpC,GAAG;AAAA,MACH,UAAU,SAAS,GAAG;AAClB,eAAO,EAAE,eAAe;AAAA,MAC5B;AAAA,IACJ,CAAC;AAAA,EACL,CAAC;AACL,CAAC,GACUD,YAAO,qCAAqB,eAAe;AAAA,EAClD,SAAS;AACb,CAAC;",
|
|
5
|
-
"names": ["Form", "_jsx"]
|
|
6
|
-
}
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Form_exports","__export","Form","Form2","FormFrame","FormProvider","FormTrigger","useFormContext","module","exports","import_jsx_runtime","require","import_core","import_create_context","import_helpers","FORM_NAME","styled","Stack","name","tag","createFormContext","createContextScope","TRIGGER_NAME","FormTriggerFrame","View","styleable","props","forwardedRef","__scopeForm","children","onPress","triggerProps","context","jsx","ref","composeEventHandlers","onSubmit","FormComponent","extractable","param","scope","e","preventDefault","withStaticProperties"],"sources":["../../src/Form.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,YAAA;AAAAC,QAAA,CAAAD,YAAA;EAAAE,IAAA,EAAAA,CAAA,KAAAC,KAAA;EAAAC,SAAA,EAAAA,CAAA,KAAAA,SAAA;EAAAC,YAAA,EAAAA,CAAA,KAAAA,YAAA;EAAAC,WAAA,EAAAA,CAAA,KAAAA,WAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAd,YAAoC,CAAAK,YAAA;AAKpC,IAAAU,kBAAkB,GAAAC,OAEL,oBAAY;EAAAC,WAAO,GAAAD,OAAA,gBAAO;EAAAE,qBAAA,GAAAF,OAAA;EAAAG,cAAA,GAAAH,OAAA;EAAAI,SAAA;EAAAX,SAAA,OAAAQ,WAAA,CAAAI,MAAA,EAAAJ,WAAA,CAAAK,KAAA;IACrCC,IAAA,EAAMH,SAAA;IACNI,GAAA,EAAK;EACP,CAAC;EAOK,CAACC,iBAAiB,QAAIP,qBAAA,CAAAQ,kBAAA,EAAmBN,SAAS;EAM3C,CAACV,YAAA,EAAcE,cAAc,IACxCa,iBAAA,CAAoCL,SAAS;EAUzCO,YAAA,GAAe;EAEfC,gBAAA,OAAmBX,WAAA,CAAAI,MAAA,EAAOJ,WAAA,CAAAY,IAAA,EAAM;IACpCN,IAAA,EAAMI;EACR,CAAC;EAIYhB,WAAA,GAAciB,gBAAA,CAAiBE,SAAA,WAAAC,KAAA,EAAAC,YAAA;IAC1C,IAAC;QAAAC,WAAsC;QAAAC,QAAiB;QAAAC,OAAA;QAAA,GAAAC;MAAA,IAAAL,KAAA;MAAAM,OAAA,GAAAzB,cAAA,CAAAe,YAAA,EAAAM,WAAA;IACtD,sBAAqB,IAAAlB,kBAAsB,CAAAuB,GAAA,EAAAV,gBAAiB,EACtD;MAENJ,GAAA,UACE;MAAA,GAACY,YAAA;MAAAG,GAAA,EAAAP,YAAA;MAAAG,OACC,EAAI,IAAAhB,cAAA,CAAAqB,oBAAA,EAAAL,OAAA,EAAAE,OAAA,CAAAI,QAAA;MAAAP;IACC;EACA;EAAAQ,aACL,GAAAjC,SAAS,CAAAkC,WAAA,WAAAC,KAAA,EAAqB;IAAgC;MAE7DH,QAAA;MAAA,GAAAV;IAAA,IAAAa,KAAA;IAAA,0BAAA7B,kBAAA,CAAAuB,GAAA,EAAA5B,YAAA;MACHmC,KAAA,EAAAd,KAAA,CAAAE,WAAA;MAEJQ,QAAA;MAOIP,QAAA,iBAA0B,IAAAnB,kBAA0B,CAAAuB,GAAA,EAAA7B,SAAA;QACxD,GAAAsB,KAAA;QACGU,QAAA,WAAAA,CAAAK,CAAA;UACsB,OAAAA,CAAA,CAAAC,cAAA;QACzB;MAOW;IACX;EACF,CAAC;EAAAvC,KAAA,OAAAW,cAAA,CAAA6B,oBAAA,EAAAN,aAAA","ignoreList":[]}
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
7
|
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
9
|
+
get: () => from[key],
|
|
10
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
|
+
});
|
|
12
|
+
return to;
|
|
13
|
+
},
|
|
14
|
+
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
16
|
+
value: !0
|
|
17
|
+
}), mod);
|
|
13
18
|
var index_exports = {};
|
|
14
19
|
module.exports = __toCommonJS(index_exports);
|
|
15
|
-
__reExport(index_exports, require("./Form"), module.exports);
|
|
16
|
-
|
|
17
|
-
0 && (module.exports = {
|
|
18
|
-
...require("./Form")
|
|
19
|
-
});
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
20
|
+
__reExport(index_exports, require("./Form.native.js"), module.exports);
|
|
21
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/index.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,mBAAd;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","module","exports"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAP,YAAc,CAAAK,aAAA","ignoreList":[]}
|
package/dist/jsx/Form.native.js
CHANGED
|
@@ -1,41 +1,82 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
});
|
|
31
|
-
}), Form2 = withStaticProperties(FormComponent, {
|
|
32
|
-
Trigger: FormTrigger
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
23
|
+
var Form_exports = {};
|
|
24
|
+
__export(Form_exports, {
|
|
25
|
+
Form: () => Form2,
|
|
26
|
+
FormFrame: () => FormFrame,
|
|
27
|
+
FormProvider: () => FormProvider,
|
|
28
|
+
FormTrigger: () => FormTrigger,
|
|
29
|
+
useFormContext: () => useFormContext
|
|
33
30
|
});
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
31
|
+
module.exports = __toCommonJS(Form_exports);
|
|
32
|
+
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
33
|
+
import_core = require("@tamagui/core"),
|
|
34
|
+
import_create_context = require("@tamagui/create-context"),
|
|
35
|
+
import_helpers = require("@tamagui/helpers"),
|
|
36
|
+
FORM_NAME = "Form",
|
|
37
|
+
FormFrame = (0, import_core.styled)(import_core.Stack, {
|
|
38
|
+
name: FORM_NAME,
|
|
39
|
+
tag: "form"
|
|
40
|
+
}),
|
|
41
|
+
[createFormContext] = (0, import_create_context.createContextScope)(FORM_NAME),
|
|
42
|
+
[FormProvider, useFormContext] = createFormContext(FORM_NAME),
|
|
43
|
+
TRIGGER_NAME = "FormTrigger",
|
|
44
|
+
FormTriggerFrame = (0, import_core.styled)(import_core.View, {
|
|
45
|
+
name: TRIGGER_NAME
|
|
46
|
+
}),
|
|
47
|
+
FormTrigger = FormTriggerFrame.styleable(function (props, forwardedRef) {
|
|
48
|
+
var {
|
|
49
|
+
__scopeForm,
|
|
50
|
+
children,
|
|
51
|
+
onPress,
|
|
52
|
+
...triggerProps
|
|
53
|
+
} = props,
|
|
54
|
+
context = useFormContext(TRIGGER_NAME, __scopeForm);
|
|
55
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(FormTriggerFrame, {
|
|
56
|
+
tag: "button",
|
|
57
|
+
...triggerProps,
|
|
58
|
+
ref: forwardedRef,
|
|
59
|
+
onPress: (0, import_helpers.composeEventHandlers)(onPress, context.onSubmit),
|
|
60
|
+
children
|
|
61
|
+
});
|
|
62
|
+
}),
|
|
63
|
+
FormComponent = FormFrame.extractable(function (param) {
|
|
64
|
+
var {
|
|
65
|
+
onSubmit,
|
|
66
|
+
...props
|
|
67
|
+
} = param;
|
|
68
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(FormProvider, {
|
|
69
|
+
scope: props.__scopeForm,
|
|
70
|
+
onSubmit,
|
|
71
|
+
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(FormFrame, {
|
|
72
|
+
...props,
|
|
73
|
+
onSubmit: function (e) {
|
|
74
|
+
return e.preventDefault();
|
|
75
|
+
}
|
|
76
|
+
})
|
|
77
|
+
});
|
|
78
|
+
}),
|
|
79
|
+
Form2 = (0, import_helpers.withStaticProperties)(FormComponent, {
|
|
80
|
+
Trigger: FormTrigger
|
|
81
|
+
});
|
|
82
|
+
//# sourceMappingURL=Form.native.js.map
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/Form.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAAS,OAAO,YAAY;AAC5B,SAAS,OAAO,MAAM,cAAc;AACpC,SAAS,0BAA0B;AACnC,SAAS,sBAAsB,4BAA4B;AAC3D,IAAI,YAAY,QACL,YAAY,OAAO,OAAO;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AACT,CAAC,GAGwG,CAAC,iBAAiB,IAAI,mBAAmB,SAAS,GAChJ,CAAC,cAAc,cAAc,IAAI,kBAAkB,SAAS,GAGkC,eAAe,eACpH,mBAAmB,OAAO,MAAM;AAAA,EAChC,MAAM;AACV,CAAC,GACU,cAAc,iBAAiB,UAAU,SAAS,OAAO,cAAc;AAC9E,MAAI,EAAE,aAAa,UAAU,SAAS,GAAG,aAAa,IAAI,OACtD,UAAU,eAAe,cAAc,WAAW;AACtD,SAAqB,qBAAK,kBAAkB;AAAA,IACxC,KAAK;AAAA,IACL,GAAG;AAAA,IACH,KAAK;AAAA,IACL,SAAS,qBAAqB,SAAS,QAAQ,QAAQ;AAAA,IACvD;AAAA,EACJ,CAAC;AACL,CAAC,GAGwG,gBAAgB,UAAU,YAAY,SAAc,OAAO;AAChK,MAAI,EAAE,UAAU,GAAG,MAAM,IAAI;AAC7B,SAAqB,qBAAK,cAAc;AAAA,IACpC,OAAO,MAAM;AAAA,IACb;AAAA,IACA,UAAwB,qBAAK,WAAW;AAAA,MACpC,GAAG;AAAA,MACH,UAAU,SAAS,GAAG;AAClB,eAAO,EAAE,eAAe;AAAA,MAC5B;AAAA,IACJ,CAAC;AAAA,EACL,CAAC;AACL,CAAC,GACUA,QAAO,qBAAqB,eAAe;AAAA,EAClD,SAAS;AACb,CAAC;",
|
|
5
|
-
"names": ["Form"]
|
|
6
|
-
}
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","Form_exports","Form","Form2","FormFrame","FormProvider","FormTrigger","useFormContext","module","exports","import_jsx_runtime","require","import_core","import_create_context","import_helpers","FORM_NAME","styled","Stack","tag","createFormContext","createContextScope","TRIGGER_NAME","FormTriggerFrame","View","styleable","props","forwardedRef","__scopeForm","children","onPress","triggerProps","context"],"sources":["../../src/Form.tsx"],"sourcesContent":[null],"mappings":"AACA,YAAS;;AAET,IAAAA,SAAS,GAAAC,MAAA,CAAAC,cAA0B;AACnC,IAAAC,gBAAS,GAAAF,MAAA,CAAAG,wBAAsB;AA6CzB,IAAAC,iBAAA,GAAAJ,MAAA,CAAAK,mBAAA;AA3CN,IAAAC,YAAM,GAAYN,MAAA,CAELO,SAAA,CAAAC,cAAmB;AAAO,IACrCC,QAAM,GAAAA,CAAAC,MAAA,EAAAC,GAAA;IACN,KAAK,IAAAC,IAAA,IAAAD,GAAA,EAQDZ,SAAC,CAAAW,MAAA,EAAiBE,IAAI;MAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;MAAmBE,UAAS,EAM1C;IAAA;EAawB;EACpCC,WAAM,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;IACP,IAIYF,IAAA,WAAcA,IAAA,YAAiB,WAAAA,IAAA,gBACzC,SAAsCG,GAAA,IAAAhB,iBAAiB,CAAAa,IAAA,GACtD,CAAAX,YAAQ,CAAAe,IAAA,CAAaL,EAAA,EAAAI,GAAA,KAAUA,GAAA,KAASF,MAAG,IAAAnB,SAAiB,CAAAiB,EAAA,EAAAI,GACtD;MAAAP,GAAA,EAAUA,CAAA,KAAAI,IAAA,CAAAG,GAAA,CAAe;MAAAN,UAAA,EAAc,EAAAK,IAAA,GAAAjB,gBAAW,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;IAExD,OAAAE,EACE;EAAA;AAAC,IAAAM,YAAA,GAAAC,GAAA,IAAAR,WAAA,CAAAhB,SAAA;EAAAyB,KAAA;AAAA,IAAAD,GAAA;AAAA,IAAAE,YACK;AAAAhB,QACH,CAAAgB,YAAI;EAAAC,IAAA,EACLA,CAAA,KAAKC,KAAA;EAAAC,SACL,EAAAA,CAAA,KAASA,SAAA;EAAqDC,YAE7D,EAAAA,CAAA,KAAAA,YAAA;EAAAC,WAAA,EAAAA,CAAA,KAAAA,WAAA;EAAAC,cACH,EAAAA,CAAA,KAAAA;AAAA,EAEJ;AACFC,MAMM,CAAAC,OAAA,GAAAX,YAA0B,CAAAG,YAAY;AAAc,IACxDS,kBAAA,GAAAC,OAAA;EAAAC,WAAA,GAAAD,OAAA;EAAAE,qBAAA,GAAAF,OAAA;EAAAG,cAAA,GAAAH,OAAA;EAAAI,SAAA;EAAAX,SAAA,OAAAQ,WAAA,CAAAI,MAAA,EAAAJ,WAAA,CAAAK,KAAA;IACA7B,IAAG,EAAA2B,SAAA;IACLG,GAA2B;EACzB;EAAA,CAAAC,iBACE,QAACN,qBAAa,CAAOO,kBAAM,EAAaL,SACtC;EAAA,CAAAV,YAAA,EAAAE,cAAC,IAAAY,iBAA8B,CAAAJ,SAAU,CAAC;EAAAM,YAAa,gBACzD;EAAAC,gBAAA,OAAAV,WAAA,CAAAI,MAAA,EAAAJ,WAAA,CAAAW,IAAA;IAEHnC,IAEY,EAAAiC;EAA2C,EACtD;EAAAf,WAAS,GAAAgB,gBAAA,CAAAE,SAAA,WAAAC,KAAA,EAAAC,YAAA;IACV;QAAAC,WAAA;QAAAC,QAAA;QAAAC,OAAA;QAAA,GAAAC;MAAA,IAAAL,KAAA;MAAAM,OAAA,GAAAxB,cAAA,CAAAc,YAAA,EAAAM,WAAA","ignoreList":[]}
|
package/dist/jsx/index.native.js
CHANGED
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
9
|
+
get: () => from[key],
|
|
10
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
|
+
});
|
|
12
|
+
return to;
|
|
13
|
+
},
|
|
14
|
+
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
16
|
+
value: !0
|
|
17
|
+
}), mod);
|
|
18
|
+
var index_exports = {};
|
|
19
|
+
module.exports = __toCommonJS(index_exports);
|
|
20
|
+
__reExport(index_exports, require("./Form.native.js"), module.exports);
|
|
21
|
+
//# sourceMappingURL=index.native.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/form",
|
|
3
|
-
"version": "1.135.
|
|
3
|
+
"version": "1.135.4-1761748186554",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"sideEffects": [
|
|
5
6
|
"*.css"
|
|
6
7
|
],
|
|
@@ -36,17 +37,17 @@
|
|
|
36
37
|
}
|
|
37
38
|
},
|
|
38
39
|
"dependencies": {
|
|
39
|
-
"@tamagui/compose-refs": "1.135.
|
|
40
|
-
"@tamagui/core": "1.135.
|
|
41
|
-
"@tamagui/create-context": "1.135.
|
|
42
|
-
"@tamagui/focusable": "1.135.
|
|
43
|
-
"@tamagui/get-button-sized": "1.135.
|
|
44
|
-
"@tamagui/get-font-sized": "1.135.
|
|
45
|
-
"@tamagui/helpers": "1.135.
|
|
46
|
-
"@tamagui/text": "1.135.
|
|
40
|
+
"@tamagui/compose-refs": "1.135.4-1761748186554",
|
|
41
|
+
"@tamagui/core": "1.135.4-1761748186554",
|
|
42
|
+
"@tamagui/create-context": "1.135.4-1761748186554",
|
|
43
|
+
"@tamagui/focusable": "1.135.4-1761748186554",
|
|
44
|
+
"@tamagui/get-button-sized": "1.135.4-1761748186554",
|
|
45
|
+
"@tamagui/get-font-sized": "1.135.4-1761748186554",
|
|
46
|
+
"@tamagui/helpers": "1.135.4-1761748186554",
|
|
47
|
+
"@tamagui/text": "1.135.4-1761748186554"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
|
-
"@tamagui/build": "1.135.
|
|
50
|
+
"@tamagui/build": "1.135.4-1761748186554",
|
|
50
51
|
"react": "*"
|
|
51
52
|
},
|
|
52
53
|
"publishConfig": {
|