@tamagui/web 3.0.0-beta.1402.1 → 3.0.0-beta.1407.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/cjs/helpers/getSplitStyles.native.cjs +5 -0
- package/dist/cjs/helpers/getSplitStyles.native.js +5 -0
- package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
- package/dist/esm/helpers/getSplitStyles.native.js +5 -0
- package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
- package/package.json +16 -16
- package/src/helpers/getSplitStyles.tsx +9 -0
- package/types/helpers/getSplitStyles.d.ts.map +1 -1
|
@@ -1142,6 +1142,11 @@ function writeStyleRecord(state, property, value, cursor, original, flags) {
|
|
|
1142
1142
|
var _direct;
|
|
1143
1143
|
var condition = conditionOverride !== -1 ? conditionOverride : cursor ? cursor[conditionValue] : 0;
|
|
1144
1144
|
var identity = cursor ? cursor[conditionKey] : "";
|
|
1145
|
+
if (value === "unset" && identity !== "") {
|
|
1146
|
+
value = void 0;
|
|
1147
|
+
original = void 0;
|
|
1148
|
+
flags |= recordRetract;
|
|
1149
|
+
}
|
|
1145
1150
|
var direct = state;
|
|
1146
1151
|
var slots = (_direct = direct).flatSlots || (_direct.flatSlots = /* @__PURE__ */ new Map());
|
|
1147
1152
|
var sourceLayer = ((_direct_flatPass = direct.flatPass) === null || _direct_flatPass === void 0 ? void 0 : _direct_flatPass[passSourceLayer]) || 0;
|
|
@@ -1142,6 +1142,11 @@ function writeStyleRecord(state, property, value, cursor, original, flags) {
|
|
|
1142
1142
|
var _direct;
|
|
1143
1143
|
var condition = conditionOverride !== -1 ? conditionOverride : cursor ? cursor[conditionValue] : 0;
|
|
1144
1144
|
var identity = cursor ? cursor[conditionKey] : "";
|
|
1145
|
+
if (value === "unset" && identity !== "") {
|
|
1146
|
+
value = void 0;
|
|
1147
|
+
original = void 0;
|
|
1148
|
+
flags |= recordRetract;
|
|
1149
|
+
}
|
|
1145
1150
|
var direct = state;
|
|
1146
1151
|
var slots = (_direct = direct).flatSlots || (_direct.flatSlots = /* @__PURE__ */ new Map());
|
|
1147
1152
|
var sourceLayer = ((_direct_flatPass = direct.flatPass) === null || _direct_flatPass === void 0 ? void 0 : _direct_flatPass[passSourceLayer]) || 0;
|