tamagui 1.129.11-1751338700427 → 1.129.11

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.
@@ -28,8 +28,6 @@ var import_core = require("@tamagui/core"),
28
28
  const Fieldset = (0, import_core.styled)(import_stacks.YStack, {
29
29
  name: "Fieldset",
30
30
  tag: "fieldset",
31
- // remove browser default styling
32
- borderWidth: 0,
33
31
  variants: {
34
32
  horizontal: {
35
33
  true: {
@@ -21,8 +21,6 @@ var import_core = require("@tamagui/core"), import_stacks = require("@tamagui/st
21
21
  const Fieldset = (0, import_core.styled)(import_stacks.YStack, {
22
22
  name: "Fieldset",
23
23
  tag: "fieldset",
24
- // remove browser default styling
25
- borderWidth: 0,
26
24
  variants: {
27
25
  horizontal: {
28
26
  true: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/views/Fieldset.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAAuB,0BACvB,gBAAuB;AAEhB,MAAM,eAAW,oBAAO,sBAAQ;AAAA,EACrC,MAAM;AAAA,EACN,KAAK;AAAA;AAAA,EAGL,aAAa;AAAA,EAEb,UAAU;AAAA,IACR,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,eAAe;AAAA,QACf,YAAY;AAAA,MACd;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAAuB,0BACvB,gBAAuB;AAEhB,MAAM,eAAW,oBAAO,sBAAQ;AAAA,EACrC,MAAM;AAAA,EACN,KAAK;AAAA,EAEL,UAAU;AAAA,IACR,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,eAAe;AAAA,QACf,YAAY;AAAA,MACd;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -21,8 +21,6 @@ module.exports = __toCommonJS(Fieldset_exports);
21
21
  var import_core = require("@tamagui/core"), import_stacks = require("@tamagui/stacks"), Fieldset = (0, import_core.styled)(import_stacks.YStack, {
22
22
  name: "Fieldset",
23
23
  tag: "fieldset",
24
- // remove browser default styling
25
- borderWidth: 0,
26
24
  variants: {
27
25
  horizontal: {
28
26
  true: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/views/Fieldset.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AACA;;;;;kBAAuB,0BACvB,gBAAuB,4BAEVA,eAAWC,oBAAOC,sBAAQ;EACrCC,MAAM;EACNC,KAAK;;EAGLC,aAAa;EAEbC,UAAU;IACRC,YAAY;MACVC,MAAM;QACJC,eAAe;QACfC,YAAY;MACd;IACF;EACF;AACF,CAAA;",
5
- "names": ["Fieldset", "styled", "YStack", "name", "tag", "borderWidth", "variants", "horizontal", "true", "flexDirection", "alignItems"]
4
+ "mappings": ";;;;;;;;;;;;;;;AACA;;;;;kBAAuB,0BACvB,gBAAuB,4BAEVA,eAAWC,oBAAOC,sBAAQ;EACrCC,MAAM;EACNC,KAAK;EAELC,UAAU;IACRC,YAAY;MACVC,MAAM;QACJC,eAAe;QACfC,YAAY;MACd;IACF;EACF;AACF,CAAA;",
5
+ "names": ["Fieldset", "styled", "YStack", "name", "tag", "variants", "horizontal", "true", "flexDirection", "alignItems"]
6
6
  }
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/lib/linear-gradient.native.ts"],
4
- "mappings": "AAAA,cAAc;",
5
- "names": []
6
- }
1
+ {"version":3,"names":[],"sources":["../../../src/lib/linear-gradient.native.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc","ignoreList":[]}
@@ -3,8 +3,6 @@ import { YStack } from "@tamagui/stacks";
3
3
  const Fieldset = styled(YStack, {
4
4
  name: "Fieldset",
5
5
  tag: "fieldset",
6
- // remove browser default styling
7
- borderWidth: 0,
8
6
  variants: {
9
7
  horizontal: {
10
8
  true: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/views/Fieldset.tsx"],
4
- "mappings": "AACA,SAAS,cAAc;AACvB,SAAS,cAAc;AAEhB,MAAM,WAAW,OAAO,QAAQ;AAAA,EACrC,MAAM;AAAA,EACN,KAAK;AAAA;AAAA,EAGL,aAAa;AAAA,EAEb,UAAU;AAAA,IACR,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,eAAe;AAAA,QACf,YAAY;AAAA,MACd;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": "AACA,SAAS,cAAc;AACvB,SAAS,cAAc;AAEhB,MAAM,WAAW,OAAO,QAAQ;AAAA,EACrC,MAAM;AAAA,EACN,KAAK;AAAA,EAEL,UAAU;AAAA,IACR,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,eAAe;AAAA,QACf,YAAY;AAAA,MACd;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -3,8 +3,6 @@ import { YStack } from "@tamagui/stacks";
3
3
  const Fieldset = styled(YStack, {
4
4
  name: "Fieldset",
5
5
  tag: "fieldset",
6
- // remove browser default styling
7
- borderWidth: 0,
8
6
  variants: {
9
7
  horizontal: {
10
8
  true: {
@@ -1 +1 @@
1
- {"version":3,"names":["styled","YStack","Fieldset","name","tag","borderWidth","variants","horizontal","true","flexDirection","alignItems"],"sources":["../../../src/views/Fieldset.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AACvB,SAASC,MAAA,QAAc;AAEhB,MAAMC,QAAA,GAAWF,MAAA,CAAOC,MAAA,EAAQ;EACrCE,IAAA,EAAM;EACNC,GAAA,EAAK;EAAA;EAGLC,WAAA,EAAa;EAEbC,QAAA,EAAU;IACRC,UAAA,EAAY;MACVC,IAAA,EAAM;QACJC,aAAA,EAAe;QACfC,UAAA,EAAY;MACd;IACF;EACF;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["styled","YStack","Fieldset","name","tag","variants","horizontal","true","flexDirection","alignItems"],"sources":["../../../src/views/Fieldset.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AACvB,SAASC,MAAA,QAAc;AAEhB,MAAMC,QAAA,GAAWF,MAAA,CAAOC,MAAA,EAAQ;EACrCE,IAAA,EAAM;EACNC,GAAA,EAAK;EAELC,QAAA,EAAU;IACRC,UAAA,EAAY;MACVC,IAAA,EAAM;QACJC,aAAA,EAAe;QACfC,UAAA,EAAY;MACd;IACF;EACF;AACF,CAAC","ignoreList":[]}
@@ -3,8 +3,6 @@ import { YStack } from "@tamagui/stacks";
3
3
  var Fieldset = styled(YStack, {
4
4
  name: "Fieldset",
5
5
  tag: "fieldset",
6
- // remove browser default styling
7
- borderWidth: 0,
8
6
  variants: {
9
7
  horizontal: {
10
8
  true: {
@@ -1 +1 @@
1
- {"version":3,"names":["styled","YStack","Fieldset","name","tag","borderWidth","variants","horizontal","true","flexDirection","alignItems"],"sources":["../../../src/views/Fieldset.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AACvB,SAASC,MAAA,QAAc;AAEhB,IAAAC,QAAM,GAAAF,MAAW,CAAAC,MAAO;EAC7BE,IAAA,EAAM;EACNC,GAAA,EAAK;EAAA;EAGLC,WAAA,EAAa;EAEbC,QAAA,EAAU;IACRC,UAAA,EAAY;MACVC,IAAA,EAAM;QACJC,aAAA,EAAe;QACfC,UAAA,EAAY;MACd;IACF;EACF;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["styled","YStack","Fieldset","name","tag","variants","horizontal","true","flexDirection","alignItems"],"sources":["../../../src/views/Fieldset.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AACvB,SAASC,MAAA,QAAc;AAEhB,IAAAC,QAAM,GAAAF,MAAW,CAAAC,MAAO;EAC7BE,IAAA,EAAM;EACNC,GAAA,EAAK;EAELC,QAAA,EAAU;IACRC,UAAA,EAAY;MACVC,IAAA,EAAM;QACJC,aAAA,EAAe;QACfC,UAAA,EAAY;MACd;IACF;EACF;AACF,CAAC","ignoreList":[]}
@@ -3,8 +3,6 @@ import { YStack } from "@tamagui/stacks";
3
3
  const Fieldset = styled(YStack, {
4
4
  name: "Fieldset",
5
5
  tag: "fieldset",
6
- // remove browser default styling
7
- borderWidth: 0,
8
6
  variants: {
9
7
  horizontal: {
10
8
  true: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/views/Fieldset.tsx"],
4
- "mappings": "AACA,SAAS,cAAc;AACvB,SAAS,cAAc;AAEhB,MAAM,WAAW,OAAO,QAAQ;AAAA,EACrC,MAAM;AAAA,EACN,KAAK;AAAA;AAAA,EAGL,aAAa;AAAA,EAEb,UAAU;AAAA,IACR,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,eAAe;AAAA,QACf,YAAY;AAAA,MACd;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": "AACA,SAAS,cAAc;AACvB,SAAS,cAAc;AAEhB,MAAM,WAAW,OAAO,QAAQ;AAAA,EACrC,MAAM;AAAA,EACN,KAAK;AAAA,EAEL,UAAU;AAAA,IACR,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,eAAe;AAAA,QACf,YAAY;AAAA,MACd;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -3,8 +3,6 @@ import { YStack } from "@tamagui/stacks";
3
3
  const Fieldset = styled(YStack, {
4
4
  name: "Fieldset",
5
5
  tag: "fieldset",
6
- // remove browser default styling
7
- borderWidth: 0,
8
6
  variants: {
9
7
  horizontal: {
10
8
  true: {
@@ -1 +1 @@
1
- {"version":3,"names":["styled","YStack","Fieldset","name","tag","borderWidth","variants","horizontal","true","flexDirection","alignItems"],"sources":["../../../src/views/Fieldset.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AACvB,SAASC,MAAA,QAAc;AAEhB,MAAMC,QAAA,GAAWF,MAAA,CAAOC,MAAA,EAAQ;EACrCE,IAAA,EAAM;EACNC,GAAA,EAAK;EAAA;EAGLC,WAAA,EAAa;EAEbC,QAAA,EAAU;IACRC,UAAA,EAAY;MACVC,IAAA,EAAM;QACJC,aAAA,EAAe;QACfC,UAAA,EAAY;MACd;IACF;EACF;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["styled","YStack","Fieldset","name","tag","variants","horizontal","true","flexDirection","alignItems"],"sources":["../../../src/views/Fieldset.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AACvB,SAASC,MAAA,QAAc;AAEhB,MAAMC,QAAA,GAAWF,MAAA,CAAOC,MAAA,EAAQ;EACrCE,IAAA,EAAM;EACNC,GAAA,EAAK;EAELC,QAAA,EAAU;IACRC,UAAA,EAAY;MACVC,IAAA,EAAM;QACJC,aAAA,EAAe;QACfC,UAAA,EAAY;MACd;IACF;EACF;AACF,CAAC","ignoreList":[]}
@@ -3,8 +3,6 @@ import { YStack } from "@tamagui/stacks";
3
3
  var Fieldset = styled(YStack, {
4
4
  name: "Fieldset",
5
5
  tag: "fieldset",
6
- // remove browser default styling
7
- borderWidth: 0,
8
6
  variants: {
9
7
  horizontal: {
10
8
  true: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/views/Fieldset.tsx"],
4
- "mappings": "AACA,SAASA,cAAc;AACvB,SAASC,cAAc;AAEhB,IAAMC,WAAWF,OAAOC,QAAQ;EACrCE,MAAM;EACNC,KAAK;;EAGLC,aAAa;EAEbC,UAAU;IACRC,YAAY;MACVC,MAAM;QACJC,eAAe;QACfC,YAAY;MACd;IACF;EACF;AACF,CAAA;",
5
- "names": ["styled", "YStack", "Fieldset", "name", "tag", "borderWidth", "variants", "horizontal", "true", "flexDirection", "alignItems"]
4
+ "mappings": "AACA,SAASA,cAAc;AACvB,SAASC,cAAc;AAEhB,IAAMC,WAAWF,OAAOC,QAAQ;EACrCE,MAAM;EACNC,KAAK;EAELC,UAAU;IACRC,YAAY;MACVC,MAAM;QACJC,eAAe;QACfC,YAAY;MACd;IACF;EACF;AACF,CAAA;",
5
+ "names": ["styled", "YStack", "Fieldset", "name", "tag", "variants", "horizontal", "true", "flexDirection", "alignItems"]
6
6
  }
package/dist/native.js CHANGED
@@ -8013,7 +8013,7 @@ var require_wrapStyleTags_native = __commonJS({
8013
8013
  });
8014
8014
  module2.exports = __toCommonJS2(wrapStyleTags_exports);
8015
8015
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_helpers = require_index_native7();
8016
- function getStyleTags(styles) {
8016
+ function getStyleTags(styles, content) {
8017
8017
  import_constants4.IS_REACT_19;
8018
8018
  }
8019
8019
  }
@@ -8223,9 +8223,7 @@ var require_useComponentState_native = __commonJS({
8223
8223
  var states = (0, import_react3.useState)(initialState), state = props.forceStyle ? {
8224
8224
  ...states[0],
8225
8225
  [props.forceStyle]: !0
8226
- } : states[0], setState = states[1];
8227
- stateRef.current.nextComponentState && (Object.assign(state, stateRef.current.nextComponentState), stateRef.current.nextComponentState = void 0);
8228
- var isAnimated = willBeAnimated;
8226
+ } : states[0], setState = states[1], isAnimated = willBeAnimated;
8229
8227
  import_constants4.isWeb && hasAnimationThatNeedsHydrate && !staticConfig.isHOC && !isHydrated && (isAnimated = !1, curStateRef.willHydrate = !0), disabled !== state.disabled && (disabled && Object.assign(state, import_defaultComponentState.defaultComponentStateMounted), state.disabled = disabled, setState(function(_) {
8230
8228
  return {
8231
8229
  ...state
@@ -8538,8 +8536,44 @@ var require_createComponent_native = __commonJS({
8538
8536
  });
8539
8537
  module2.exports = __toCommonJS2(createComponent_exports);
8540
8538
  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_react3 = __toESM2(require("react")), import_config = require_config_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_ComponentContext = require_ComponentContext_native(), import_createVariable = require_createVariable_native(), import_defaultComponentState = require_defaultComponentState_native(), import_getShorthandValue = require_getShorthandValue_native(), import_getSplitStyles = require_getSplitStyles_native(), import_log = require_log_native(), import_mergeProps = require_mergeProps_native(), import_setElementProps = require_setElementProps_native(), import_subscribeToContextGroup = require_subscribeToContextGroup_native(), import_themeable = require_themeable_native(), import_wrapStyleTags = require_wrapStyleTags_native(), import_useComponentState = require_useComponentState_native(), import_useMedia = require_useMedia_native(), import_useTheme = require_useTheme_native(), import_setupHooks = require_setupHooks_native(), import_Slot = require_Slot_native(), import_Theme = require_Theme_native(), time2, debugKeyListeners, startVisualizer, componentSetStates = /* @__PURE__ */ new Set();
8541
- if (0) var cancelTouches;
8542
- var BaseText, BaseView, hasSetupBaseViews = !1, lastInteractionWasKeyboard = {
8539
+ typeof window < "u" && (cancelTouches = function() {
8540
+ componentSetStates.forEach(function(setState) {
8541
+ return setState(function(prev) {
8542
+ return prev.press || prev.pressIn ? {
8543
+ ...prev,
8544
+ press: !1,
8545
+ pressIn: !1
8546
+ } : prev;
8547
+ });
8548
+ }), componentSetStates.clear();
8549
+ }, addEventListener("mouseup", cancelTouches), addEventListener("touchend", cancelTouches), addEventListener("touchcancel", cancelTouches), process.env.NODE_ENV === "development" && (startVisualizer = function() {
8550
+ var devVisualizerConfig = import_config.devConfig === null || import_config.devConfig === void 0 ? void 0 : import_config.devConfig.visualizer;
8551
+ if (devVisualizerConfig) {
8552
+ var show2 = function(val) {
8553
+ clearTimeout(tm), isShowing = val, debugKeyListeners == null || debugKeyListeners.forEach(function(l) {
8554
+ return l(val);
8555
+ });
8556
+ }, show = show2;
8557
+ debugKeyListeners = /* @__PURE__ */ new Set();
8558
+ var tm, isShowing = !1, options = {
8559
+ key: "Alt",
8560
+ delay: 800,
8561
+ ...typeof devVisualizerConfig == "object" ? devVisualizerConfig : {}
8562
+ };
8563
+ window.addEventListener("blur", function() {
8564
+ show2(!1);
8565
+ }), window.addEventListener("keydown", function(param) {
8566
+ var { key, defaultPrevented } = param;
8567
+ defaultPrevented || (clearTimeout(tm), key === options.key && (tm = setTimeout(function() {
8568
+ show2(!0);
8569
+ }, options.delay)));
8570
+ }), window.addEventListener("keyup", function(param) {
8571
+ var { key, defaultPrevented } = param;
8572
+ defaultPrevented || key === options.key && isShowing && show2(!1);
8573
+ });
8574
+ }
8575
+ }));
8576
+ var cancelTouches, BaseText, BaseView, hasSetupBaseViews = !1, lastInteractionWasKeyboard = {
8543
8577
  value: !1
8544
8578
  };
8545
8579
  import_constants4.isWeb && globalThis.document && (document.addEventListener("keydown", function() {
@@ -8696,9 +8730,7 @@ var require_createComponent_native = __commonJS({
8696
8730
  var updatedState = {
8697
8731
  ...state,
8698
8732
  ...next
8699
- };
8700
- stateRef.current.nextComponentState = updatedState;
8701
- var nextStyles = (0, import_getSplitStyles.getSplitStyles)(props, staticConfig, theme, themeName, updatedState, styleProps, null, componentContext, elementType, startedUnhydrated, debugProp);
8733
+ }, nextStyles = (0, import_getSplitStyles.getSplitStyles)(props, staticConfig, theme, themeName, updatedState, styleProps, null, componentContext, elementType, startedUnhydrated, debugProp);
8702
8734
  styleListener(nextStyles.style);
8703
8735
  } else ogSetStateShallow(next);
8704
8736
  };
@@ -13323,51 +13355,49 @@ var require_index_native19 = __commonJS({
13323
13355
  return cb();
13324
13356
  }), queuedUpdates.clear()));
13325
13357
  }
13326
- var expectedFrameTime = 16.67, numDroppedFramesUntilPause = 10;
13327
13358
  if (import_constants4.isClient) if (rAF) {
13328
13359
  layoutOnAnimationFrame = function() {
13329
13360
  var now = Date.now(), timeSinceLastFrame = now - lastFrameAt;
13330
- if (lastFrameAt = now, frameCount < runEveryXFrames) {
13331
- frameCount++, rAF(layoutOnAnimationFrame);
13332
- return;
13333
- }
13334
- if (frameCount = 0, strategy !== "off") {
13335
- var hasRecentSyncWork = timeSinceLastFrame > expectedFrameTime * numDroppedFramesUntilPause;
13361
+ if (lastFrameAt = now, strategy !== "off") {
13362
+ var expectedFrameTime = 16.67, hasRecentSyncWork = timeSinceLastFrame > expectedFrameTime * numDroppedFramesUntilPause;
13336
13363
  hasRecentSyncWork || Nodes.forEach(function(node) {
13337
13364
  updateLayoutIfChanged(node, lastFrameAt);
13338
13365
  });
13339
13366
  }
13340
13367
  rAF(layoutOnAnimationFrame);
13341
- }, layoutOnAnimationFrame2 = layoutOnAnimationFrame, lastFrameAt = Date.now();
13368
+ }, layoutOnAnimationFrame2 = layoutOnAnimationFrame, lastFrameAt = Date.now(), numDroppedFramesUntilPause = 2;
13342
13369
  async function updateLayoutIfChanged(node, frameId) {
13343
- var onLayout = LayoutHandlers.get(node);
13344
- if (typeof onLayout == "function") {
13345
- var parentNode = node.parentElement;
13346
- if (parentNode) {
13347
- var nodeRect, parentRect;
13348
- if (strategy === "async") {
13349
- var [nr, pr] = await Promise.all([
13350
- getBoundingClientRectAsync(node),
13351
- getBoundingClientRectAsync(parentNode)
13352
- ]);
13353
- if (frameId !== lastFrameAt) return;
13354
- nodeRect = nr, parentRect = pr;
13355
- } else nodeRect = node.getBoundingClientRect(), parentRect = parentNode.getBoundingClientRect();
13356
- var cachedRect = NodeRectCache.get(node), cachedParentRect = NodeRectCache.get(parentNode);
13370
+ var parentNode = node.parentElement, nodeRect, parentRect;
13371
+ if (strategy === "async") {
13372
+ var [nr, pr] = await Promise.all([
13373
+ getBoundingClientRectAsync(node),
13374
+ getBoundingClientRectAsync(parentNode)
13375
+ ]);
13376
+ if (frameId !== lastFrameAt) return;
13377
+ nodeRect = nr, parentRect = pr;
13378
+ } else nodeRect = node.getBoundingClientRect(), parentRect = parentNode == null ? void 0 : parentNode.getBoundingClientRect();
13379
+ if (parentRect) {
13380
+ var onLayout = LayoutHandlers.get(node);
13381
+ if (typeof onLayout == "function") {
13382
+ var cachedRect = NodeRectCache.get(node), cachedParentRect = parentNode ? NodeRectCache.get(parentNode) : null;
13357
13383
  if (!cachedRect || // has changed one rect
13358
13384
  !(0, import_is_equal_shallow.isEqualShallow)(cachedRect, nodeRect) && (!cachedParentRect || !(0, import_is_equal_shallow.isEqualShallow)(cachedParentRect, parentRect))) {
13359
- NodeRectCache.set(node, nodeRect), ParentRectCache.set(parentNode, parentRect);
13360
- var event = getElementLayoutEvent(nodeRect, parentRect);
13361
- avoidUpdates ? queuedUpdates.set(node, function() {
13362
- return onLayout(event);
13363
- }) : onLayout(event);
13385
+ if (NodeRectCache.set(node, nodeRect), parentRect && parentNode && ParentRectCache.set(parentNode, parentRect), avoidUpdates) {
13386
+ var event = getElementLayoutEvent(nodeRect, parentRect);
13387
+ queuedUpdates.set(node, function() {
13388
+ return onLayout(event);
13389
+ });
13390
+ } else if (strategy !== "async") {
13391
+ var event1 = getElementLayoutEvent(nodeRect, parentRect);
13392
+ onLayout(event1);
13393
+ }
13364
13394
  }
13365
13395
  }
13366
13396
  }
13367
13397
  }
13368
- rAF(layoutOnAnimationFrame), frameCount = 0, runEveryXFrames = 6;
13398
+ rAF(layoutOnAnimationFrame);
13369
13399
  } else process.env.NODE_ENV === "development" && console.warn("No requestAnimationFrame - please polyfill for onLayout to work correctly");
13370
- var layoutOnAnimationFrame, layoutOnAnimationFrame2, lastFrameAt, frameCount, runEveryXFrames, getElementLayoutEvent = function(nodeRect, parentRect) {
13400
+ var layoutOnAnimationFrame, layoutOnAnimationFrame2, lastFrameAt, numDroppedFramesUntilPause, getElementLayoutEvent = function(nodeRect, parentRect) {
13371
13401
  return {
13372
13402
  nativeEvent: {
13373
13403
  layout: getRelativeDimensions(nodeRect, parentRect),
@@ -30911,8 +30941,6 @@ EnsureFlexed.isVisuallyHidden = !0;
30911
30941
  var import_core5 = __toESM(require_index_native20()), import_stacks = __toESM(require_index_native24()), Fieldset = (0, import_core5.styled)(import_stacks.YStack, {
30912
30942
  name: "Fieldset",
30913
30943
  tag: "fieldset",
30914
- // remove browser default styling
30915
- borderWidth: 0,
30916
30944
  variants: {
30917
30945
  horizontal: {
30918
30946
  true: {