tamagui 1.67.0 → 1.68.0
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/native.js +49 -4
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +36 -0
- package/dist/test.native.js.map +1 -1
- package/package.json +52 -52
package/dist/native.js
CHANGED
|
@@ -4625,10 +4625,12 @@ var require_createComponent_native = __commonJS({
|
|
|
4625
4625
|
delay: 800,
|
|
4626
4626
|
...typeof devVisualizerConfig == "object" ? devVisualizerConfig : {}
|
|
4627
4627
|
};
|
|
4628
|
-
document.addEventListener("
|
|
4629
|
-
|
|
4628
|
+
document.addEventListener("blur", () => {
|
|
4629
|
+
clearTimeout(tm);
|
|
4630
|
+
}), document.addEventListener("keydown", ({ key, defaultPrevented }) => {
|
|
4631
|
+
defaultPrevented || (clearTimeout(tm), key === options.key && (tm = setTimeout(() => {
|
|
4630
4632
|
isShowing = !0, debugKeyListeners == null || debugKeyListeners.forEach((l) => l(!0));
|
|
4631
|
-
}, options.delay));
|
|
4633
|
+
}, options.delay)));
|
|
4632
4634
|
}), document.addEventListener("keyup", ({ key, defaultPrevented }) => {
|
|
4633
4635
|
defaultPrevented || key === options.key && (clearTimeout(tm), isShowing && (debugKeyListeners == null || debugKeyListeners.forEach((l) => l(!1))));
|
|
4634
4636
|
});
|
|
@@ -4816,7 +4818,14 @@ var require_createComponent_native = __commonJS({
|
|
|
4816
4818
|
keys: mediaListeningKeys
|
|
4817
4819
|
});
|
|
4818
4820
|
let isAnimatedReactNativeWeb = hasAnimationProp && isReactNative;
|
|
4819
|
-
if (process.env.NODE_ENV === "development" && debugProp && debugProp !== "profile" && (console.groupCollapsed(">>>"), console.log(
|
|
4821
|
+
if (process.env.NODE_ENV === "development" && debugProp && debugProp !== "profile" && (console.groupCollapsed(">>>"), console.log(
|
|
4822
|
+
"props in",
|
|
4823
|
+
propsIn,
|
|
4824
|
+
"mapped to",
|
|
4825
|
+
props,
|
|
4826
|
+
"in order",
|
|
4827
|
+
Object.keys(props)
|
|
4828
|
+
), console.log("splitStyles", splitStyles), console.log("media", { shouldListenForMedia, isMediaArray, mediaListeningKeys }), console.log("className", Object.values(splitStyles.classNames)), import_constants.isClient && console.log("ref", hostRef, "(click to view)"), console.groupEnd(), debugProp === "break"))
|
|
4820
4829
|
debugger;
|
|
4821
4830
|
let {
|
|
4822
4831
|
viewProps: viewPropsIn,
|
|
@@ -12333,6 +12342,24 @@ var require_Checkbox_native = __commonJS({
|
|
|
12333
12342
|
}
|
|
12334
12343
|
}
|
|
12335
12344
|
},
|
|
12345
|
+
disabled: {
|
|
12346
|
+
true: {
|
|
12347
|
+
pointerEvents: "none",
|
|
12348
|
+
userSelect: "none",
|
|
12349
|
+
cursor: "not-allowed",
|
|
12350
|
+
hoverStyle: {
|
|
12351
|
+
borderColor: "$borderColor",
|
|
12352
|
+
backgroundColor: "$background"
|
|
12353
|
+
},
|
|
12354
|
+
pressStyle: {
|
|
12355
|
+
borderColor: "$borderColor",
|
|
12356
|
+
backgroundColor: "$backgroundColor"
|
|
12357
|
+
},
|
|
12358
|
+
focusStyle: {
|
|
12359
|
+
outlineWidth: 0
|
|
12360
|
+
}
|
|
12361
|
+
}
|
|
12362
|
+
},
|
|
12336
12363
|
size: {
|
|
12337
12364
|
"...size": (val, { tokens }) => ({
|
|
12338
12365
|
borderRadius: (0, import_core12.getVariableValue)((0, import_get_token2.getSize)(val)) / 8
|
|
@@ -14457,6 +14484,24 @@ var require_RadioGroup_native = __commonJS({
|
|
|
14457
14484
|
}
|
|
14458
14485
|
}
|
|
14459
14486
|
},
|
|
14487
|
+
disabled: {
|
|
14488
|
+
true: {
|
|
14489
|
+
pointerEvents: "none",
|
|
14490
|
+
userSelect: "none",
|
|
14491
|
+
cursor: "not-allowed",
|
|
14492
|
+
hoverStyle: {
|
|
14493
|
+
borderColor: "$borderColor",
|
|
14494
|
+
backgroundColor: "$background"
|
|
14495
|
+
},
|
|
14496
|
+
pressStyle: {
|
|
14497
|
+
borderColor: "$borderColor",
|
|
14498
|
+
backgroundColor: "$backgroundColor"
|
|
14499
|
+
},
|
|
14500
|
+
focusStyle: {
|
|
14501
|
+
outlineWidth: 0
|
|
14502
|
+
}
|
|
14503
|
+
}
|
|
14504
|
+
},
|
|
14460
14505
|
size: {
|
|
14461
14506
|
"...size": (value, { props }) => {
|
|
14462
14507
|
let size = Math.floor(
|