tamagui 1.117.2 → 1.118.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/native.js +5 -5
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +5 -5
- package/dist/test.native.js.map +2 -2
- package/package.json +54 -54
package/dist/native.js
CHANGED
|
@@ -1586,6 +1586,8 @@ var require_validStyleProps_native = __commonJS({
|
|
|
1586
1586
|
...tokenCategories.radius,
|
|
1587
1587
|
...stylePropsTransform,
|
|
1588
1588
|
...stylePropsUnitless,
|
|
1589
|
+
boxShadow: !0,
|
|
1590
|
+
filter: !0,
|
|
1589
1591
|
...import_constants4.isAndroid ? {
|
|
1590
1592
|
elevationAndroid: !0
|
|
1591
1593
|
} : {}
|
|
@@ -21797,9 +21799,7 @@ var require_useCheckbox_native = __commonJS({
|
|
|
21797
21799
|
module2.exports = __toCommonJS2(useCheckbox_exports);
|
|
21798
21800
|
var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_label = require_index_native45(), import_react3 = __toESM2(require("react")), import_BubbleInput = require_BubbleInput_native(), import_utils3 = require_utils_native2();
|
|
21799
21801
|
function useCheckbox(props, param, ref) {
|
|
21800
|
-
var [checked, setChecked] = param, { labelledBy: ariaLabelledby, name, required, disabled, value = "on", onCheckedChange, ...checkboxProps } = props, [button, setButton] = import_react3.default.useState(null), composedRefs = (0, import_compose_refs.useComposedRefs)(ref,
|
|
21801
|
-
return setButton(node);
|
|
21802
|
-
}), hasConsumerStoppedPropagationRef = import_react3.default.useRef(!1), isFormControl = import_constants4.isWeb ? button ? !!button.closest("form") : !0 : !1, labelId = (0, import_label.useLabelContext)(button), labelledBy = ariaLabelledby || labelId;
|
|
21802
|
+
var [checked, setChecked] = param, { labelledBy: ariaLabelledby, name, required, disabled, value = "on", onCheckedChange, ...checkboxProps } = props, [button, setButton] = import_react3.default.useState(null), composedRefs = (0, import_compose_refs.useComposedRefs)(ref, setButton), hasConsumerStoppedPropagationRef = import_react3.default.useRef(!1), isFormControl = import_constants4.isWeb ? button ? !!button.closest("form") : !0 : !1, labelId = (0, import_label.useLabelContext)(button), labelledBy = ariaLabelledby || labelId;
|
|
21803
21803
|
return {
|
|
21804
21804
|
bubbleInput: import_constants4.isWeb && isFormControl ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_BubbleInput.BubbleInput, {
|
|
21805
21805
|
isHidden: !0,
|
|
@@ -27372,9 +27372,9 @@ var require_SelectItem_native = __commonJS({
|
|
|
27372
27372
|
}, [
|
|
27373
27373
|
value
|
|
27374
27374
|
]);
|
|
27375
|
-
var textId = React4.useId(),
|
|
27375
|
+
var textId = React4.useId(), refCallback = React4.useCallback(function(node) {
|
|
27376
27376
|
import_constants4.isWeb && node instanceof HTMLElement && listRef && (listRef.current[index] = node);
|
|
27377
|
-
});
|
|
27377
|
+
}, []), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, refCallback);
|
|
27378
27378
|
(0, import_constants4.useIsomorphicLayoutEffect)(function() {
|
|
27379
27379
|
setValueAtIndex(index, value);
|
|
27380
27380
|
}, [
|