@tamagui/core 3.0.0-beta.745.1 → 3.0.0-beta.748.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.cjs CHANGED
@@ -15696,6 +15696,34 @@ var resolveVariants = function(key, value, styleProps, styleState, parentVariant
15696
15696
  return entries || [];
15697
15697
  }
15698
15698
  }
15699
+ if (value && (typeof value === "undefined" ? "undefined" : _type_of$8(value)) === "object" && !Array.isArray(value) && !isVariable(value) && isConditionalStyleObject(styleState, value)) {
15700
+ var entries1;
15701
+ for (var objKey in value) {
15702
+ var payload = value[objKey];
15703
+ if (payload == null) continue;
15704
+ var resolved1 = resolveVariantValue(key, payload, styleProps, styleState, parentVariantKey);
15705
+ if (!resolved1) continue;
15706
+ entries1 || (entries1 = []);
15707
+ var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;
15708
+ try {
15709
+ for (var _iterator1 = resolved1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {
15710
+ var entry1 = _step1.value;
15711
+ if (objKey !== "default") entry1[3] = objKey;
15712
+ entries1.push(entry1);
15713
+ }
15714
+ } catch (err) {
15715
+ _didIteratorError1 = true;
15716
+ _iteratorError1 = err;
15717
+ } finally {
15718
+ try {
15719
+ if (!_iteratorNormalCompletion1 && _iterator1.return != null) _iterator1.return();
15720
+ } finally {
15721
+ if (_didIteratorError1) throw _iteratorError1;
15722
+ }
15723
+ }
15724
+ }
15725
+ return entries1 || [];
15726
+ }
15699
15727
  return resolveVariantValue(key, value, styleProps, styleState, parentVariantKey);
15700
15728
  };
15701
15729
  var resolveVariantValue = function(key, value, styleProps, styleState, parentVariantKey) {
@@ -5917,6 +5917,34 @@ var resolveVariants = function(key, value, styleProps, styleState, parentVariant
5917
5917
  return entries || [];
5918
5918
  }
5919
5919
  }
5920
+ if (value && (typeof value === "undefined" ? "undefined" : _type_of$9(value)) === "object" && !Array.isArray(value) && !isVariable(value) && isConditionalStyleObject(styleState, value)) {
5921
+ var entries1;
5922
+ for (var objKey in value) {
5923
+ var payload = value[objKey];
5924
+ if (payload == null) continue;
5925
+ var resolved1 = resolveVariantValue(key, payload, styleProps, styleState, parentVariantKey);
5926
+ if (!resolved1) continue;
5927
+ entries1 || (entries1 = []);
5928
+ var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;
5929
+ try {
5930
+ for (var _iterator1 = resolved1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {
5931
+ var entry1 = _step1.value;
5932
+ if (objKey !== "default") entry1[3] = objKey;
5933
+ entries1.push(entry1);
5934
+ }
5935
+ } catch (err) {
5936
+ _didIteratorError1 = true;
5937
+ _iteratorError1 = err;
5938
+ } finally {
5939
+ try {
5940
+ if (!_iteratorNormalCompletion1 && _iterator1.return != null) _iterator1.return();
5941
+ } finally {
5942
+ if (_didIteratorError1) throw _iteratorError1;
5943
+ }
5944
+ }
5945
+ }
5946
+ return entries1 || [];
5947
+ }
5920
5948
  return resolveVariantValue(key, value, styleProps, styleState, parentVariantKey);
5921
5949
  };
5922
5950
  var resolveVariantValue = function(key, value, styleProps, styleState, parentVariantKey) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/core",
3
- "version": "3.0.0-beta.745.1",
3
+ "version": "3.0.0-beta.748.1",
4
4
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -127,20 +127,20 @@
127
127
  "clean:build": "tamagui-build clean:build"
128
128
  },
129
129
  "dependencies": {
130
- "@tamagui/compose-refs": "3.0.0-beta.745.1",
131
- "@tamagui/constants": "3.0.0-beta.745.1",
132
- "@tamagui/helpers": "3.0.0-beta.745.1",
133
- "@tamagui/react-native-media-driver": "3.0.0-beta.745.1",
134
- "@tamagui/react-native-use-pressable": "3.0.0-beta.745.1",
135
- "@tamagui/size": "3.0.0-beta.745.1",
136
- "@tamagui/use-element-layout": "3.0.0-beta.745.1",
137
- "@tamagui/use-event": "3.0.0-beta.745.1",
138
- "@tamagui/web": "3.0.0-beta.745.1"
130
+ "@tamagui/compose-refs": "3.0.0-beta.748.1",
131
+ "@tamagui/constants": "3.0.0-beta.748.1",
132
+ "@tamagui/helpers": "3.0.0-beta.748.1",
133
+ "@tamagui/react-native-media-driver": "3.0.0-beta.748.1",
134
+ "@tamagui/react-native-use-pressable": "3.0.0-beta.748.1",
135
+ "@tamagui/size": "3.0.0-beta.748.1",
136
+ "@tamagui/use-element-layout": "3.0.0-beta.748.1",
137
+ "@tamagui/use-event": "3.0.0-beta.748.1",
138
+ "@tamagui/web": "3.0.0-beta.748.1"
139
139
  },
140
140
  "devDependencies": {
141
- "@tamagui/build": "3.0.0-beta.745.1",
142
- "@tamagui/native-bundle": "3.0.0-beta.745.1",
143
- "@tamagui/react-native-web-lite": "3.0.0-beta.745.1",
141
+ "@tamagui/build": "3.0.0-beta.748.1",
142
+ "@tamagui/native-bundle": "3.0.0-beta.748.1",
143
+ "@tamagui/react-native-web-lite": "3.0.0-beta.748.1",
144
144
  "@testing-library/react": "^16.1.0",
145
145
  "csstype": "^3.0.10",
146
146
  "react": "19.2.3",