tamagui 1.129.11-1751323254461 → 1.129.11-1751338345152

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,6 +28,8 @@ 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,
31
33
  variants: {
32
34
  horizontal: {
33
35
  true: {
@@ -21,6 +21,8 @@ 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,
24
26
  variants: {
25
27
  horizontal: {
26
28
  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,EAEL,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;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;",
5
5
  "names": []
6
6
  }
@@ -21,6 +21,8 @@ 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,
24
26
  variants: {
25
27
  horizontal: {
26
28
  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;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"]
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"]
6
6
  }
@@ -1 +1,6 @@
1
- {"version":3,"names":[],"sources":["../../../src/lib/linear-gradient.native.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/lib/linear-gradient.native.ts"],
4
+ "mappings": "AAAA,cAAc;",
5
+ "names": []
6
+ }
@@ -3,6 +3,8 @@ 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,
6
8
  variants: {
7
9
  horizontal: {
8
10
  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,EAEL,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;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;",
5
5
  "names": []
6
6
  }
@@ -3,6 +3,8 @@ 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,
6
8
  variants: {
7
9
  horizontal: {
8
10
  true: {
@@ -1 +1 @@
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":[]}
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":[]}
@@ -3,6 +3,8 @@ 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,
6
8
  variants: {
7
9
  horizontal: {
8
10
  true: {
@@ -1 +1 @@
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":[]}
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":[]}
@@ -3,6 +3,8 @@ 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,
6
8
  variants: {
7
9
  horizontal: {
8
10
  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,EAEL,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;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;",
5
5
  "names": []
6
6
  }
@@ -3,6 +3,8 @@ 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,
6
8
  variants: {
7
9
  horizontal: {
8
10
  true: {
@@ -1 +1 @@
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":[]}
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":[]}
@@ -3,6 +3,8 @@ 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,
6
8
  variants: {
7
9
  horizontal: {
8
10
  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;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"]
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"]
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, content) {
8016
+ function getStyleTags(styles) {
8017
8017
  import_constants4.IS_REACT_19;
8018
8018
  }
8019
8019
  }
@@ -8223,7 +8223,9 @@ 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], isAnimated = willBeAnimated;
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;
8227
8229
  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(_) {
8228
8230
  return {
8229
8231
  ...state
@@ -8536,44 +8538,8 @@ var require_createComponent_native = __commonJS({
8536
8538
  });
8537
8539
  module2.exports = __toCommonJS2(createComponent_exports);
8538
8540
  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();
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 = {
8541
+ if (0) var cancelTouches;
8542
+ var BaseText, BaseView, hasSetupBaseViews = !1, lastInteractionWasKeyboard = {
8577
8543
  value: !1
8578
8544
  };
8579
8545
  import_constants4.isWeb && globalThis.document && (document.addEventListener("keydown", function() {
@@ -8730,7 +8696,9 @@ var require_createComponent_native = __commonJS({
8730
8696
  var updatedState = {
8731
8697
  ...state,
8732
8698
  ...next
8733
- }, nextStyles = (0, import_getSplitStyles.getSplitStyles)(props, staticConfig, theme, themeName, updatedState, styleProps, null, componentContext, elementType, startedUnhydrated, debugProp);
8699
+ };
8700
+ stateRef.current.nextComponentState = updatedState;
8701
+ var nextStyles = (0, import_getSplitStyles.getSplitStyles)(props, staticConfig, theme, themeName, updatedState, styleProps, null, componentContext, elementType, startedUnhydrated, debugProp);
8734
8702
  styleListener(nextStyles.style);
8735
8703
  } else ogSetStateShallow(next);
8736
8704
  };
@@ -13355,49 +13323,51 @@ var require_index_native19 = __commonJS({
13355
13323
  return cb();
13356
13324
  }), queuedUpdates.clear()));
13357
13325
  }
13326
+ var expectedFrameTime = 16.67, numDroppedFramesUntilPause = 10;
13358
13327
  if (import_constants4.isClient) if (rAF) {
13359
13328
  layoutOnAnimationFrame = function() {
13360
13329
  var now = Date.now(), timeSinceLastFrame = now - lastFrameAt;
13361
- if (lastFrameAt = now, strategy !== "off") {
13362
- var expectedFrameTime = 16.67, hasRecentSyncWork = timeSinceLastFrame > expectedFrameTime * numDroppedFramesUntilPause;
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;
13363
13336
  hasRecentSyncWork || Nodes.forEach(function(node) {
13364
13337
  updateLayoutIfChanged(node, lastFrameAt);
13365
13338
  });
13366
13339
  }
13367
13340
  rAF(layoutOnAnimationFrame);
13368
- }, layoutOnAnimationFrame2 = layoutOnAnimationFrame, lastFrameAt = Date.now(), numDroppedFramesUntilPause = 2;
13341
+ }, layoutOnAnimationFrame2 = layoutOnAnimationFrame, lastFrameAt = Date.now();
13369
13342
  async function updateLayoutIfChanged(node, frameId) {
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;
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);
13383
13357
  if (!cachedRect || // has changed one rect
13384
13358
  !(0, import_is_equal_shallow.isEqualShallow)(cachedRect, nodeRect) && (!cachedParentRect || !(0, import_is_equal_shallow.isEqualShallow)(cachedParentRect, parentRect))) {
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
- }
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);
13394
13364
  }
13395
13365
  }
13396
13366
  }
13397
13367
  }
13398
- rAF(layoutOnAnimationFrame);
13368
+ rAF(layoutOnAnimationFrame), frameCount = 0, runEveryXFrames = 6;
13399
13369
  } else process.env.NODE_ENV === "development" && console.warn("No requestAnimationFrame - please polyfill for onLayout to work correctly");
13400
- var layoutOnAnimationFrame, layoutOnAnimationFrame2, lastFrameAt, numDroppedFramesUntilPause, getElementLayoutEvent = function(nodeRect, parentRect) {
13370
+ var layoutOnAnimationFrame, layoutOnAnimationFrame2, lastFrameAt, frameCount, runEveryXFrames, getElementLayoutEvent = function(nodeRect, parentRect) {
13401
13371
  return {
13402
13372
  nativeEvent: {
13403
13373
  layout: getRelativeDimensions(nodeRect, parentRect),
@@ -30941,6 +30911,8 @@ EnsureFlexed.isVisuallyHidden = !0;
30941
30911
  var import_core5 = __toESM(require_index_native20()), import_stacks = __toESM(require_index_native24()), Fieldset = (0, import_core5.styled)(import_stacks.YStack, {
30942
30912
  name: "Fieldset",
30943
30913
  tag: "fieldset",
30914
+ // remove browser default styling
30915
+ borderWidth: 0,
30944
30916
  variants: {
30945
30917
  horizontal: {
30946
30918
  true: {