tamagui 2.6.2 → 2.6.4
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/.turbo/turbo-build.log +2 -2
- package/dist/native.cjs +31 -3
- package/dist/test.cjs +32 -4
- package/package.json +65 -65
package/.turbo/turbo-build.log
CHANGED
package/dist/native.cjs
CHANGED
|
@@ -12804,11 +12804,16 @@ var init_validStyleProps_native = __esmMin((() => {
|
|
|
12804
12804
|
//#region ../../core/helpers/dist/esm/withStaticProperties.native.js
|
|
12805
12805
|
var Decorated, withStaticProperties;
|
|
12806
12806
|
var init_withStaticProperties_native = __esmMin((() => {
|
|
12807
|
+
init_objectSpread2();
|
|
12807
12808
|
Decorated = /* @__PURE__ */ Symbol();
|
|
12808
12809
|
withStaticProperties = function(component, staticProps) {
|
|
12809
|
-
|
|
12810
|
-
|
|
12811
|
-
|
|
12810
|
+
var out = function() {
|
|
12811
|
+
if (component[Decorated]) return typeof component === "function" ? Object.assign(component.bind(null), component) : _objectSpread2({}, component);
|
|
12812
|
+
return component;
|
|
12813
|
+
}();
|
|
12814
|
+
Object.assign(out, staticProps);
|
|
12815
|
+
out[Decorated] = true;
|
|
12816
|
+
return out;
|
|
12812
12817
|
};
|
|
12813
12818
|
}));
|
|
12814
12819
|
//#endregion
|
|
@@ -24405,6 +24410,29 @@ function tamaguiAutoUpdate(reference, floating, update) {
|
|
|
24405
24410
|
if (rafId) cancelAnimationFrame(rafId);
|
|
24406
24411
|
}];
|
|
24407
24412
|
if (_instanceof$5(reference, HTMLElement)) cleanups.push(registerLayoutNode(reference, update));
|
|
24413
|
+
if (typeof ResizeObserver !== "undefined") {
|
|
24414
|
+
var lastWidth = -1;
|
|
24415
|
+
var lastHeight = -1;
|
|
24416
|
+
var ro = new ResizeObserver(function(entries) {
|
|
24417
|
+
var entry = entries[entries.length - 1];
|
|
24418
|
+
if (!entry) return;
|
|
24419
|
+
var { width, height } = entry.contentRect;
|
|
24420
|
+
if (lastWidth === -1) {
|
|
24421
|
+
lastWidth = width;
|
|
24422
|
+
lastHeight = height;
|
|
24423
|
+
return;
|
|
24424
|
+
}
|
|
24425
|
+
if (width !== lastWidth || height !== lastHeight) {
|
|
24426
|
+
lastWidth = width;
|
|
24427
|
+
lastHeight = height;
|
|
24428
|
+
update();
|
|
24429
|
+
}
|
|
24430
|
+
});
|
|
24431
|
+
ro.observe(floating);
|
|
24432
|
+
cleanups.push(function() {
|
|
24433
|
+
return ro.disconnect();
|
|
24434
|
+
});
|
|
24435
|
+
}
|
|
24408
24436
|
var ancestors = [..._instanceof$5(reference, Element) ? getOverflowAncestors(reference) : [], ...getOverflowAncestors(floating)];
|
|
24409
24437
|
var uniqueAncestors = [...new Set(ancestors)];
|
|
24410
24438
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
package/dist/test.cjs
CHANGED
|
@@ -11841,7 +11841,7 @@ var require_react_dom_development = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
11841
11841
|
exports.useFormStatus = function() {
|
|
11842
11842
|
return resolveDispatcher().useHostTransitionStatus();
|
|
11843
11843
|
};
|
|
11844
|
-
exports.version = "19.
|
|
11844
|
+
exports.version = "19.2.8";
|
|
11845
11845
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
11846
11846
|
})();
|
|
11847
11847
|
}));
|
|
@@ -12982,11 +12982,16 @@ var init_validStyleProps_native = __esmMin((() => {
|
|
|
12982
12982
|
//#region ../../core/helpers/dist/esm/withStaticProperties.native.js
|
|
12983
12983
|
var Decorated, withStaticProperties;
|
|
12984
12984
|
var init_withStaticProperties_native = __esmMin((() => {
|
|
12985
|
+
init_objectSpread2();
|
|
12985
12986
|
Decorated = /* @__PURE__ */ Symbol();
|
|
12986
12987
|
withStaticProperties = function(component, staticProps) {
|
|
12987
|
-
|
|
12988
|
-
|
|
12989
|
-
|
|
12988
|
+
var out = function() {
|
|
12989
|
+
if (component[Decorated]) return typeof component === "function" ? Object.assign(component.bind(null), component) : _objectSpread2({}, component);
|
|
12990
|
+
return component;
|
|
12991
|
+
}();
|
|
12992
|
+
Object.assign(out, staticProps);
|
|
12993
|
+
out[Decorated] = true;
|
|
12994
|
+
return out;
|
|
12990
12995
|
};
|
|
12991
12996
|
}));
|
|
12992
12997
|
//#endregion
|
|
@@ -24472,6 +24477,29 @@ function tamaguiAutoUpdate(reference, floating, update) {
|
|
|
24472
24477
|
if (rafId) cancelAnimationFrame(rafId);
|
|
24473
24478
|
}];
|
|
24474
24479
|
if (_instanceof$5(reference, HTMLElement)) cleanups.push(registerLayoutNode(reference, update));
|
|
24480
|
+
if (typeof ResizeObserver !== "undefined") {
|
|
24481
|
+
var lastWidth = -1;
|
|
24482
|
+
var lastHeight = -1;
|
|
24483
|
+
var ro = new ResizeObserver(function(entries) {
|
|
24484
|
+
var entry = entries[entries.length - 1];
|
|
24485
|
+
if (!entry) return;
|
|
24486
|
+
var { width, height } = entry.contentRect;
|
|
24487
|
+
if (lastWidth === -1) {
|
|
24488
|
+
lastWidth = width;
|
|
24489
|
+
lastHeight = height;
|
|
24490
|
+
return;
|
|
24491
|
+
}
|
|
24492
|
+
if (width !== lastWidth || height !== lastHeight) {
|
|
24493
|
+
lastWidth = width;
|
|
24494
|
+
lastHeight = height;
|
|
24495
|
+
update();
|
|
24496
|
+
}
|
|
24497
|
+
});
|
|
24498
|
+
ro.observe(floating);
|
|
24499
|
+
cleanups.push(function() {
|
|
24500
|
+
return ro.disconnect();
|
|
24501
|
+
});
|
|
24502
|
+
}
|
|
24475
24503
|
var ancestors = [..._instanceof$5(reference, Element) ? getOverflowAncestors(reference) : [], ...getOverflowAncestors(floating)];
|
|
24476
24504
|
var uniqueAncestors = [...new Set(ancestors)];
|
|
24477
24505
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamagui",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.4",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"description": "Style and UI for React (web and native) meet an optimizing compiler",
|
|
6
6
|
"repository": {
|
|
@@ -77,72 +77,72 @@
|
|
|
77
77
|
"check-circular-deps": "npx madge --circular ./src/index.ts"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@tamagui/accordion": "2.6.
|
|
81
|
-
"@tamagui/adapt": "2.6.
|
|
82
|
-
"@tamagui/alert-dialog": "2.6.
|
|
83
|
-
"@tamagui/animate": "2.6.
|
|
84
|
-
"@tamagui/animate-presence": "2.6.
|
|
85
|
-
"@tamagui/avatar": "2.6.
|
|
86
|
-
"@tamagui/button": "2.6.
|
|
87
|
-
"@tamagui/card": "2.6.
|
|
88
|
-
"@tamagui/checkbox": "2.6.
|
|
89
|
-
"@tamagui/collapsible": "2.6.
|
|
90
|
-
"@tamagui/compose-refs": "2.6.
|
|
91
|
-
"@tamagui/constants": "2.6.
|
|
92
|
-
"@tamagui/context-menu": "2.6.
|
|
93
|
-
"@tamagui/core": "2.6.
|
|
94
|
-
"@tamagui/create-context": "2.6.
|
|
95
|
-
"@tamagui/create-menu": "2.6.
|
|
96
|
-
"@tamagui/dialog": "2.6.
|
|
97
|
-
"@tamagui/element": "2.6.
|
|
98
|
-
"@tamagui/elements": "2.6.
|
|
99
|
-
"@tamagui/fake-react-native": "2.6.
|
|
100
|
-
"@tamagui/focusable": "2.6.
|
|
101
|
-
"@tamagui/form": "2.6.
|
|
102
|
-
"@tamagui/get-button-sized": "2.6.
|
|
103
|
-
"@tamagui/get-font-sized": "2.6.
|
|
104
|
-
"@tamagui/get-token": "2.6.
|
|
105
|
-
"@tamagui/group": "2.6.
|
|
106
|
-
"@tamagui/helpers-tamagui": "2.6.
|
|
107
|
-
"@tamagui/image": "2.6.
|
|
108
|
-
"@tamagui/input": "2.6.
|
|
109
|
-
"@tamagui/label": "2.6.
|
|
110
|
-
"@tamagui/linear-gradient": "2.6.
|
|
111
|
-
"@tamagui/list-item": "2.6.
|
|
112
|
-
"@tamagui/menu": "2.6.
|
|
113
|
-
"@tamagui/polyfill-dev": "2.6.
|
|
114
|
-
"@tamagui/popover": "2.6.
|
|
115
|
-
"@tamagui/popper": "2.6.
|
|
116
|
-
"@tamagui/portal": "2.6.
|
|
117
|
-
"@tamagui/progress": "2.6.
|
|
118
|
-
"@tamagui/radio-group": "2.6.
|
|
119
|
-
"@tamagui/react-native-media-driver": "2.6.
|
|
120
|
-
"@tamagui/scroll-view": "2.6.
|
|
121
|
-
"@tamagui/select": "2.6.
|
|
122
|
-
"@tamagui/separator": "2.6.
|
|
123
|
-
"@tamagui/shapes": "2.6.
|
|
124
|
-
"@tamagui/sheet": "2.6.
|
|
125
|
-
"@tamagui/slider": "2.6.
|
|
126
|
-
"@tamagui/spacer": "2.6.
|
|
127
|
-
"@tamagui/spinner": "2.6.
|
|
128
|
-
"@tamagui/stacks": "2.6.
|
|
129
|
-
"@tamagui/switch": "2.6.
|
|
130
|
-
"@tamagui/tabs": "2.6.
|
|
131
|
-
"@tamagui/text": "2.6.
|
|
132
|
-
"@tamagui/theme": "2.6.
|
|
133
|
-
"@tamagui/toast": "2.6.
|
|
134
|
-
"@tamagui/toggle-group": "2.6.
|
|
135
|
-
"@tamagui/tooltip": "2.6.
|
|
136
|
-
"@tamagui/use-controllable-state": "2.6.
|
|
137
|
-
"@tamagui/use-debounce": "2.6.
|
|
138
|
-
"@tamagui/use-force-update": "2.6.
|
|
139
|
-
"@tamagui/use-window-dimensions": "2.6.
|
|
140
|
-
"@tamagui/visually-hidden": "2.6.
|
|
141
|
-
"@tamagui/font-size": "2.6.
|
|
142
|
-
"@tamagui/z-index-stack": "2.6.
|
|
80
|
+
"@tamagui/accordion": "2.6.4",
|
|
81
|
+
"@tamagui/adapt": "2.6.4",
|
|
82
|
+
"@tamagui/alert-dialog": "2.6.4",
|
|
83
|
+
"@tamagui/animate": "2.6.4",
|
|
84
|
+
"@tamagui/animate-presence": "2.6.4",
|
|
85
|
+
"@tamagui/avatar": "2.6.4",
|
|
86
|
+
"@tamagui/button": "2.6.4",
|
|
87
|
+
"@tamagui/card": "2.6.4",
|
|
88
|
+
"@tamagui/checkbox": "2.6.4",
|
|
89
|
+
"@tamagui/collapsible": "2.6.4",
|
|
90
|
+
"@tamagui/compose-refs": "2.6.4",
|
|
91
|
+
"@tamagui/constants": "2.6.4",
|
|
92
|
+
"@tamagui/context-menu": "2.6.4",
|
|
93
|
+
"@tamagui/core": "2.6.4",
|
|
94
|
+
"@tamagui/create-context": "2.6.4",
|
|
95
|
+
"@tamagui/create-menu": "2.6.4",
|
|
96
|
+
"@tamagui/dialog": "2.6.4",
|
|
97
|
+
"@tamagui/element": "2.6.4",
|
|
98
|
+
"@tamagui/elements": "2.6.4",
|
|
99
|
+
"@tamagui/fake-react-native": "2.6.4",
|
|
100
|
+
"@tamagui/focusable": "2.6.4",
|
|
101
|
+
"@tamagui/form": "2.6.4",
|
|
102
|
+
"@tamagui/get-button-sized": "2.6.4",
|
|
103
|
+
"@tamagui/get-font-sized": "2.6.4",
|
|
104
|
+
"@tamagui/get-token": "2.6.4",
|
|
105
|
+
"@tamagui/group": "2.6.4",
|
|
106
|
+
"@tamagui/helpers-tamagui": "2.6.4",
|
|
107
|
+
"@tamagui/image": "2.6.4",
|
|
108
|
+
"@tamagui/input": "2.6.4",
|
|
109
|
+
"@tamagui/label": "2.6.4",
|
|
110
|
+
"@tamagui/linear-gradient": "2.6.4",
|
|
111
|
+
"@tamagui/list-item": "2.6.4",
|
|
112
|
+
"@tamagui/menu": "2.6.4",
|
|
113
|
+
"@tamagui/polyfill-dev": "2.6.4",
|
|
114
|
+
"@tamagui/popover": "2.6.4",
|
|
115
|
+
"@tamagui/popper": "2.6.4",
|
|
116
|
+
"@tamagui/portal": "2.6.4",
|
|
117
|
+
"@tamagui/progress": "2.6.4",
|
|
118
|
+
"@tamagui/radio-group": "2.6.4",
|
|
119
|
+
"@tamagui/react-native-media-driver": "2.6.4",
|
|
120
|
+
"@tamagui/scroll-view": "2.6.4",
|
|
121
|
+
"@tamagui/select": "2.6.4",
|
|
122
|
+
"@tamagui/separator": "2.6.4",
|
|
123
|
+
"@tamagui/shapes": "2.6.4",
|
|
124
|
+
"@tamagui/sheet": "2.6.4",
|
|
125
|
+
"@tamagui/slider": "2.6.4",
|
|
126
|
+
"@tamagui/spacer": "2.6.4",
|
|
127
|
+
"@tamagui/spinner": "2.6.4",
|
|
128
|
+
"@tamagui/stacks": "2.6.4",
|
|
129
|
+
"@tamagui/switch": "2.6.4",
|
|
130
|
+
"@tamagui/tabs": "2.6.4",
|
|
131
|
+
"@tamagui/text": "2.6.4",
|
|
132
|
+
"@tamagui/theme": "2.6.4",
|
|
133
|
+
"@tamagui/toast": "2.6.4",
|
|
134
|
+
"@tamagui/toggle-group": "2.6.4",
|
|
135
|
+
"@tamagui/tooltip": "2.6.4",
|
|
136
|
+
"@tamagui/use-controllable-state": "2.6.4",
|
|
137
|
+
"@tamagui/use-debounce": "2.6.4",
|
|
138
|
+
"@tamagui/use-force-update": "2.6.4",
|
|
139
|
+
"@tamagui/use-window-dimensions": "2.6.4",
|
|
140
|
+
"@tamagui/visually-hidden": "2.6.4",
|
|
141
|
+
"@tamagui/font-size": "2.6.4",
|
|
142
|
+
"@tamagui/z-index-stack": "2.6.4"
|
|
143
143
|
},
|
|
144
144
|
"devDependencies": {
|
|
145
|
-
"@tamagui/build": "2.6.
|
|
145
|
+
"@tamagui/build": "2.6.4",
|
|
146
146
|
"react": ">=19",
|
|
147
147
|
"react-native": "0.83.2",
|
|
148
148
|
"react-native-web": "^0.21.0"
|