tamagui 1.129.11 → 1.129.12-1751358691172

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
  }
@@ -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
@@ -2559,6 +2559,9 @@ var require_insertStyleRule_native = __commonJS({
2559
2559
  shouldInsertStyleRules: function() {
2560
2560
  return shouldInsertStyleRules;
2561
2561
  },
2562
+ stopAccumulatingRules: function() {
2563
+ return stopAccumulatingRules;
2564
+ },
2562
2565
  updateRules: function() {
2563
2566
  return updateRules;
2564
2567
  }
@@ -2649,7 +2652,7 @@ var require_insertStyleRule_native = __commonJS({
2649
2652
  return themes;
2650
2653
  }
2651
2654
  }
2652
- function track(id) {
2655
+ function trackInsertedStyle(id) {
2653
2656
  var remove = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, next = (totalSelectorsInserted.get(id) || 0) + (remove ? -1 : 1);
2654
2657
  return totalSelectorsInserted.set(id, next), next;
2655
2658
  }
@@ -2697,7 +2700,7 @@ var require_insertStyleRule_native = __commonJS({
2697
2700
  }
2698
2701
  continue;
2699
2702
  }
2700
- var total = track(identifier, remove);
2703
+ var total = trackInsertedStyle(identifier, remove);
2701
2704
  if (remove) total === 0 && delete allSelectors[identifier];
2702
2705
  else if (!(identifier in allSelectors)) {
2703
2706
  var isTransform = identifier.startsWith("_transform-"), shouldInsert = isTransform ? addTransform(identifier, cssRule.cssText, cssRule) : !0;
@@ -2797,53 +2800,62 @@ var require_insertStyleRule_native = __commonJS({
2797
2800
  var getIdentifierFromTamaguiSelector = function(selector) {
2798
2801
  var dotIndex = selector.indexOf(":");
2799
2802
  return dotIndex > -1 ? selector.slice(7, dotIndex) : selector.slice(7);
2800
- }, sheet = null;
2803
+ }, sheet = null, trackAllRules = !0;
2804
+ function stopAccumulatingRules() {
2805
+ trackAllRules = !0;
2806
+ }
2801
2807
  function updateRules(identifier, rules) {
2802
- return identifier in allRules ? !1 : (allRules[identifier] = rules.join(" "), identifier.startsWith("_transform-") ? addTransform(identifier, rules[0]) : !0);
2808
+ return trackAllRules && (allRules[identifier] = rules.join(" ")), identifier.startsWith("_transform-") ? addTransform(identifier, rules[0]) : !0;
2803
2809
  }
2804
2810
  var nonce = "";
2805
2811
  function setNonce2(_) {
2806
2812
  nonce = _;
2807
2813
  }
2808
2814
  function insertStyleRules2(rulesToInsert) {
2809
- if (!sheet && import_constants4.isClient && document.head) {
2810
- var styleTag = document.createElement("style");
2811
- nonce && (styleTag.nonce = nonce), sheet = document.head.appendChild(styleTag).sheet;
2812
- }
2813
- if (sheet) for (var key in rulesToInsert) {
2814
- var styleObject = rulesToInsert[key], identifier = styleObject[import_helpers.StyleObjectIdentifier];
2815
- if (shouldInsertStyleRules(identifier)) {
2816
- var rules = styleObject[import_helpers.StyleObjectRules];
2817
- allSelectors[identifier] = rules.join(`
2818
- `), track(identifier), updateRules(identifier, rules);
2819
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
2820
- try {
2821
- for (var _iterator = rules[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
2822
- var rule = _step.value;
2823
- if (process.env.NODE_ENV === "production") try {
2824
- sheet.insertRule(rule, sheet.cssRules.length);
2825
- } catch (err) {
2826
- console.error("Error inserting CSS", err);
2827
- }
2828
- else sheet.insertRule(rule, sheet.cssRules.length);
2829
- }
2830
- } catch (err) {
2831
- _didIteratorError = !0, _iteratorError = err;
2832
- } finally {
2815
+ if (import_constants4.isClient) {
2816
+ if (!sheet && document.head) {
2817
+ var styleTag = document.createElement("style");
2818
+ nonce && (styleTag.nonce = nonce), sheet = document.head.appendChild(styleTag).sheet;
2819
+ }
2820
+ if (!sheet) {
2821
+ console.warn("[tamagui] no sheet");
2822
+ return;
2823
+ }
2824
+ for (var key in rulesToInsert) {
2825
+ var styleObject = rulesToInsert[key], identifier = styleObject[import_helpers.StyleObjectIdentifier];
2826
+ if (shouldInsertStyleRules(identifier)) {
2827
+ var rules = styleObject[import_helpers.StyleObjectRules];
2828
+ allSelectors[identifier] = rules.join(`
2829
+ `), updateRules(identifier, rules), trackInsertedStyle(identifier);
2830
+ var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
2833
2831
  try {
2834
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
2832
+ for (var _iterator = rules[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
2833
+ var rule = _step.value;
2834
+ if (process.env.NODE_ENV === "production") try {
2835
+ sheet.insertRule(rule, sheet.cssRules.length);
2836
+ } catch (err) {
2837
+ console.error("Error inserting CSS", err);
2838
+ }
2839
+ else sheet.insertRule(rule, sheet.cssRules.length);
2840
+ }
2841
+ } catch (err) {
2842
+ _didIteratorError = !0, _iteratorError = err;
2835
2843
  } finally {
2836
- if (_didIteratorError) throw _iteratorError;
2844
+ try {
2845
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
2846
+ } finally {
2847
+ if (_didIteratorError) throw _iteratorError;
2848
+ }
2837
2849
  }
2838
2850
  }
2839
2851
  }
2840
2852
  }
2841
2853
  }
2842
- var minInsertAmt = process.env.TAMAGUI_INSERT_SELECTOR_TRIES ? +process.env.TAMAGUI_INSERT_SELECTOR_TRIES : 1;
2854
+ var maxToInsert = process.env.TAMAGUI_INSERT_SELECTOR_TRIES ? +process.env.TAMAGUI_INSERT_SELECTOR_TRIES : 1;
2843
2855
  function shouldInsertStyleRules(identifier) {
2844
2856
  if (process.env.IS_STATIC === "is_static") return !0;
2845
- var total = totalSelectorsInserted.get(identifier);
2846
- return process.env.NODE_ENV === "development" && totalSelectorsInserted.size > +(process.env.TAMAGUI_STYLE_INSERTION_WARNING_LIMIT || 1e4) && console.warn('Warning: inserting many CSS rules, you may be animating something and generating many CSS insertions, which can degrade performance. Instead, try using the "disableClassName" property on elements that change styles often. To disable this warning set TAMAGUI_STYLE_INSERTION_WARNING_LIMIT from 50000 to something higher'), total === void 0 || total < minInsertAmt;
2857
+ var total = totalSelectorsInserted.get(identifier) || 0;
2858
+ return process.env.NODE_ENV === "development" && total > +(process.env.TAMAGUI_STYLE_INSERTION_WARNING_LIMIT || 10) && console.warn('Warning: inserting many CSS rules, you may be animating something and generating many CSS insertions, which can degrade performance. Instead, try using the "disableClassName" property on elements that change styles often. To disable this warning set TAMAGUI_STYLE_INSERTION_WARNING_LIMIT from 50000 to something higher'), total < maxToInsert;
2847
2859
  }
2848
2860
  }
2849
2861
  });
@@ -6500,7 +6512,7 @@ var require_getSplitStyles_native = __commonJS({
6500
6512
  try {
6501
6513
  for (var _iterator2 = pseudoStyles[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = !0) {
6502
6514
  var psuedoStyle = _step2.value, fullKey = `${psuedoStyle[import_helpers.StyleObjectProperty]}${PROP_SPLIT}${descriptor.name}`;
6503
- fullKey in usedKeys || (addStyleToInsertRules(rulesToInsert, psuedoStyle, startedUnhydrated), classNames[fullKey] = psuedoStyle[import_helpers.StyleObjectIdentifier]);
6515
+ fullKey in usedKeys || (addStyleToInsertRules(rulesToInsert, psuedoStyle), classNames[fullKey] = psuedoStyle[import_helpers.StyleObjectIdentifier]);
6504
6516
  }
6505
6517
  } catch (err) {
6506
6518
  _didIteratorError2 = !0, _iteratorError2 = err;
@@ -6578,7 +6590,7 @@ var require_getSplitStyles_native = __commonJS({
6578
6590
  var out = (0, import_createMediaStyle.createMediaStyle)(style3, mediaKeyShort, import_useMedia.mediaQueryConfig, isMedia, !1, priority);
6579
6591
  process.env.NODE_ENV === "development" && debug === "verbose" && (0, import_log.log)("\u{1F4FA} media style:", out);
6580
6592
  var subKey = isSubStyle ? style3[2] : "", fullKey1 = `${style3[import_helpers.StyleObjectProperty]}${subKey}${PROP_SPLIT}${mediaKeyShort}${style3[import_helpers.StyleObjectPseudo] || ""}`;
6581
- fullKey1 in usedKeys || (addStyleToInsertRules(rulesToInsert, out, startedUnhydrated), classNames[fullKey1] = out[import_helpers.StyleObjectIdentifier]);
6593
+ fullKey1 in usedKeys || (addStyleToInsertRules(rulesToInsert, out), classNames[fullKey1] = out[import_helpers.StyleObjectIdentifier]);
6582
6594
  }
6583
6595
  }
6584
6596
  } catch (err) {
@@ -6872,7 +6884,6 @@ var require_getSplitStyles_native = __commonJS({
6872
6884
  return res;
6873
6885
  };
6874
6886
  function addStyleToInsertRules(rulesToInsert, styleObject) {
6875
- var startedUnhydrated = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
6876
6887
  if (0) var identifier;
6877
6888
  }
6878
6889
  var defaultColor = process.env.TAMAGUI_DEFAULT_COLOR || "rgba(0,0,0,0)", animatableDefaults = {
@@ -8013,7 +8024,7 @@ var require_wrapStyleTags_native = __commonJS({
8013
8024
  });
8014
8025
  module2.exports = __toCommonJS2(wrapStyleTags_exports);
8015
8026
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_helpers = require_index_native7();
8016
- function getStyleTags(styles, content) {
8027
+ function getStyleTags(styles) {
8017
8028
  import_constants4.IS_REACT_19;
8018
8029
  }
8019
8030
  }
@@ -8202,14 +8213,14 @@ var require_useComponentState_native = __commonJS({
8202
8213
  var import_constants4 = require_index_native6(), import_is_equal_shallow = require_index_native13(), import_use_did_finish_ssr = require_index_native14(), import_react3 = require("react"), import_defaultComponentState = require_defaultComponentState_native(), import_isObj = require_isObj_native(), import_log = require_log_native(), useComponentState = function(props, param, staticConfig, config) {
8203
8214
  var { animationDriver } = param, _animationDriver_usePresence, isHydrated = (0, import_use_did_finish_ssr.useDidFinishSSR)(), needsHydration = !(0, import_use_did_finish_ssr.useIsClientOnly)(), [startedUnhydrated] = (0, import_react3.useState)(needsHydration && !isHydrated), useAnimations = animationDriver == null ? void 0 : animationDriver.useAnimations, stateRef = (0, import_react3.useRef)(void 0);
8204
8215
  stateRef.current || (stateRef.current = {});
8205
- var hasAnimationProp = !!("animation" in props || props.style && hasAnimatedStyleValue(props.style)), supportsCSSVars = animationDriver == null ? void 0 : animationDriver.supportsCSSVars, curStateRef = stateRef.current;
8216
+ var hasAnimationProp = !!("animation" in props || props.style && hasAnimatedStyleValue(props.style)), supportsCSS = animationDriver == null ? void 0 : animationDriver.supportsCSS, curStateRef = stateRef.current;
8206
8217
  !needsHydration && hasAnimationProp && (curStateRef.hasAnimated = !0);
8207
8218
  var willBeAnimatedClient = function() {
8208
8219
  var next = !!(hasAnimationProp && !staticConfig.isHOC && useAnimations);
8209
8220
  return !!(next || curStateRef.hasAnimated);
8210
8221
  }(), willBeAnimated = !import_constants4.isServer && willBeAnimatedClient;
8211
8222
  willBeAnimated && !curStateRef.hasAnimated && (curStateRef.hasAnimated = !0);
8212
- var { disableClassName } = props, presence = willBeAnimated && props.animatePresence !== !1 && (animationDriver == null || (_animationDriver_usePresence = animationDriver.usePresence) === null || _animationDriver_usePresence === void 0 ? void 0 : _animationDriver_usePresence.call(animationDriver)) || null, presenceState = presence == null ? void 0 : presence[2], isExiting = (presenceState == null ? void 0 : presenceState.isPresent) === !1, isEntering = (presenceState == null ? void 0 : presenceState.isPresent) === !0 && presenceState.initial !== !1, hasEnterStyle = !!props.enterStyle, hasAnimationThatNeedsHydrate = hasAnimationProp && !isHydrated && ((animationDriver == null ? void 0 : animationDriver.isReactNative) || !supportsCSSVars), hasEnterState = hasEnterStyle || isEntering, shouldEnter = hasEnterState || hasAnimationThatNeedsHydrate || // disableClassName doesnt work server side, only client, so needs hydrate
8223
+ var { disableClassName } = props, presence = willBeAnimated && props.animatePresence !== !1 && (animationDriver == null || (_animationDriver_usePresence = animationDriver.usePresence) === null || _animationDriver_usePresence === void 0 ? void 0 : _animationDriver_usePresence.call(animationDriver)) || null, presenceState = presence == null ? void 0 : presence[2], isExiting = (presenceState == null ? void 0 : presenceState.isPresent) === !1, isEntering = (presenceState == null ? void 0 : presenceState.isPresent) === !0 && presenceState.initial !== !1, hasEnterStyle = !!props.enterStyle, hasAnimationThatNeedsHydrate = hasAnimationProp && !isHydrated && ((animationDriver == null ? void 0 : animationDriver.isReactNative) || !supportsCSS), hasEnterState = hasEnterStyle || isEntering, shouldEnter = hasEnterState || hasAnimationThatNeedsHydrate || // disableClassName doesnt work server side, only client, so needs hydrate
8213
8224
  // this is just for a better ux, supports css variables for light/dark, media queries, etc
8214
8225
  disableClassName, initialState = shouldEnter ? (
8215
8226
  // on the very first render we switch all spring animation drivers to css rendering
@@ -8223,7 +8234,9 @@ var require_useComponentState_native = __commonJS({
8223
8234
  var states = (0, import_react3.useState)(initialState), state = props.forceStyle ? {
8224
8235
  ...states[0],
8225
8236
  [props.forceStyle]: !0
8226
- } : states[0], setState = states[1], isAnimated = willBeAnimated;
8237
+ } : states[0], setState = states[1];
8238
+ stateRef.current.nextComponentState && (Object.assign(state, stateRef.current.nextComponentState), stateRef.current.nextComponentState = void 0);
8239
+ var isAnimated = willBeAnimated;
8227
8240
  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
8241
  return {
8229
8242
  ...state
@@ -8239,7 +8252,7 @@ var require_useComponentState_native = __commonJS({
8239
8252
  }
8240
8253
  var noClass = !import_constants4.isWeb || !!props.forceStyle || isAnimated && (animationDriver == null ? void 0 : animationDriver.needsWebStyles);
8241
8254
  if (import_constants4.isWeb && (!import_constants4.isServer || isHydrated)) {
8242
- var isAnimatedAndHydrated = isAnimated && !supportsCSSVars, isClassNameDisabled = !staticConfig.acceptsClassName && (config.disableSSR || !state.unmounted), isDisabledManually = disableClassName && !state.unmounted;
8255
+ var isAnimatedAndHydrated = isAnimated && !supportsCSS, isClassNameDisabled = !staticConfig.acceptsClassName && (config.disableSSR || !state.unmounted), isDisabledManually = disableClassName && !state.unmounted;
8243
8256
  (isAnimatedAndHydrated || isDisabledManually || isClassNameDisabled) && (noClass = !0, process.env.NODE_ENV === "development" && props.debug && (0, import_log.log)("avoiding className", {
8244
8257
  isAnimatedAndHydrated,
8245
8258
  isDisabledManually,
@@ -8303,7 +8316,7 @@ var require_useComponentState_native = __commonJS({
8303
8316
  noClass,
8304
8317
  state,
8305
8318
  stateRef,
8306
- supportsCSSVars,
8319
+ supportsCSS,
8307
8320
  willBeAnimated,
8308
8321
  willBeAnimatedClient
8309
8322
  };
@@ -8536,44 +8549,8 @@ var require_createComponent_native = __commonJS({
8536
8549
  });
8537
8550
  module2.exports = __toCommonJS2(createComponent_exports);
8538
8551
  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 = {
8552
+ if (0) var cancelTouches;
8553
+ var BaseText, BaseView, hasSetupBaseViews = !1, lastInteractionWasKeyboard = {
8577
8554
  value: !1
8578
8555
  };
8579
8556
  import_constants4.isWeb && globalThis.document && (document.addEventListener("keydown", function() {
@@ -8650,7 +8627,7 @@ var require_createComponent_native = __commonJS({
8650
8627
  }, [
8651
8628
  componentName2
8652
8629
  ]);
8653
- var animationDriver = componentContext.animationDriver, useAnimations = animationDriver == null ? void 0 : animationDriver.useAnimations, componentState = (0, import_useComponentState.useComponentState)(props, componentContext, staticConfig, config), { curStateRef, disabled, groupName, hasAnimationProp, hasEnterStyle, isAnimated, isExiting, isHydrated, presence, presenceState, setState, noClass, state, stateRef, supportsCSSVars, willBeAnimated, willBeAnimatedClient, startedUnhydrated } = componentState, setStateShallow = componentState.setStateShallow;
8630
+ var animationDriver = componentContext.animationDriver, useAnimations = animationDriver == null ? void 0 : animationDriver.useAnimations, componentState = (0, import_useComponentState.useComponentState)(props, componentContext, staticConfig, config), { curStateRef, disabled, groupName, hasAnimationProp, hasEnterStyle, isAnimated, isExiting, isHydrated, presence, presenceState, setState, noClass, state, stateRef, supportsCSS, willBeAnimated, willBeAnimatedClient, startedUnhydrated } = componentState, setStateShallow = componentState.setStateShallow;
8654
8631
  process.env.NODE_ENV === "development" && time2 && time2`use-state`;
8655
8632
  var hasTextAncestor = !!(import_constants4.isWeb && isText && componentContext.inText), isTaggable = !Component || typeof Component == "string", tagProp = props.tag, element = import_constants4.isWeb && isTaggable && tagProp || Component, BaseTextComponent = BaseText || element || "span", BaseViewComponent = BaseView || element || (hasTextAncestor ? "span" : "div"), elementType = isText ? BaseTextComponent : BaseViewComponent;
8656
8633
  animationDriver && isAnimated && // this should really be behind another prop as it's not really related to
@@ -8674,7 +8651,7 @@ var require_createComponent_native = __commonJS({
8674
8651
  noClass,
8675
8652
  isAnimated,
8676
8653
  isWeb: import_constants4.isWeb,
8677
- supportsCSSVars
8654
+ supportsCSS
8678
8655
  });
8679
8656
  else {
8680
8657
  console.groupEnd();
@@ -8703,7 +8680,7 @@ var require_createComponent_native = __commonJS({
8703
8680
  (0, import_createVariable.setDidGetVariableValue)(!1), process.env.NODE_ENV === "development" && time2 && time2`media`;
8704
8681
  var resolveValues = (
8705
8682
  // if HOC + mounted + has animation prop, resolve as value so it passes non-variable to child
8706
- isAnimated && !supportsCSSVars || isHOC && state.unmounted == !1 && hasAnimationProp ? "value" : "auto"
8683
+ isAnimated && !supportsCSS || isHOC && state.unmounted == !1 && hasAnimationProp ? "value" : "auto"
8707
8684
  ), styleProps = {
8708
8685
  mediaState: mediaState3,
8709
8686
  noClass,
@@ -8730,7 +8707,9 @@ var require_createComponent_native = __commonJS({
8730
8707
  var updatedState = {
8731
8708
  ...state,
8732
8709
  ...next
8733
- }, nextStyles = (0, import_getSplitStyles.getSplitStyles)(props, staticConfig, theme, themeName, updatedState, styleProps, null, componentContext, elementType, startedUnhydrated, debugProp);
8710
+ };
8711
+ stateRef.current.nextComponentState = updatedState;
8712
+ var nextStyles = (0, import_getSplitStyles.getSplitStyles)(props, staticConfig, theme, themeName, updatedState, styleProps, null, componentContext, elementType, startedUnhydrated, debugProp);
8734
8713
  styleListener(nextStyles.style);
8735
8714
  } else ogSetStateShallow(next);
8736
8715
  };
@@ -8770,7 +8749,7 @@ var require_createComponent_native = __commonJS({
8770
8749
  !isTaggable && props.forceStyle && (viewProps.forceStyle = props.forceStyle), isHOC && _themeProp && (viewProps.theme = _themeProp), tagProp && elementType.acceptTagProp && (viewProps.tag = tagProp);
8771
8750
  var animationStyles, shouldUseAnimation = (
8772
8751
  // if it supports css vars we run it on server too to get matching initial style
8773
- (supportsCSSVars ? willBeAnimatedClient : willBeAnimated) && useAnimations && !isHOC
8752
+ (supportsCSS ? willBeAnimatedClient : willBeAnimated) && useAnimations && !isHOC
8774
8753
  ), animatedRef;
8775
8754
  if (shouldUseAnimation) {
8776
8755
  var useStyleEmitter = animationDriver != null && animationDriver.avoidReRenders ? function(listener) {
@@ -8835,8 +8814,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
8835
8814
  }
8836
8815
  var tm;
8837
8816
  if (state.unmounted) {
8838
- var _config_animations2, _animationDriver_supportsCSSVars;
8839
- if (((_animationDriver_supportsCSSVars = animationDriver == null ? void 0 : animationDriver.supportsCSSVars) !== null && _animationDriver_supportsCSSVars !== void 0 ? _animationDriver_supportsCSSVars : !(config == null || (_config_animations2 = config.animations) === null || _config_animations2 === void 0) && _config_animations2.supportsCSSVars) || import_constants4.isAndroid) return tm = setTimeout(function() {
8817
+ if (animationDriver != null && animationDriver.supportsCSS || import_constants4.isAndroid) return tm = setTimeout(function() {
8840
8818
  setStateShallow({
8841
8819
  unmounted: !1
8842
8820
  });
@@ -11421,7 +11399,7 @@ var require_TamaguiProvider_native = __commonJS({
11421
11399
  }
11422
11400
  });
11423
11401
  module2.exports = __toCommonJS2(TamaguiProvider_exports);
11424
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native14(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_ComponentContext = require_ComponentContext_native(), import_useMedia = require_useMedia_native(), import_ThemeProvider = require_ThemeProvider_native();
11402
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native14(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_ComponentContext = require_ComponentContext_native(), import_useMedia = require_useMedia_native(), import_ThemeProvider = require_ThemeProvider_native(), import_insertStyleRule = require_insertStyleRule_native();
11425
11403
  function TamaguiProvider2(param) {
11426
11404
  var { children, disableInjectCSS, config, className, defaultTheme, disableRootThemeClass, reset, themeClassNameOnRoot } = param;
11427
11405
  import_constants4.IS_REACT_19 || import_constants4.isClient && (0, import_constants4.useIsomorphicLayoutEffect)(function() {
@@ -11435,7 +11413,7 @@ var require_TamaguiProvider_native = __commonJS({
11435
11413
  config,
11436
11414
  disableInjectCSS
11437
11415
  ]), (0, import_constants4.useIsomorphicLayoutEffect)(function() {
11438
- (0, import_useMedia.updateMediaListeners)();
11416
+ (0, import_insertStyleRule.stopAccumulatingRules)(), (0, import_useMedia.updateMediaListeners)();
11439
11417
  }, []);
11440
11418
  var contents = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(UnmountedClassName, {
11441
11419
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_ComponentContext.ComponentContext.Provider, {
@@ -13355,49 +13333,51 @@ var require_index_native19 = __commonJS({
13355
13333
  return cb();
13356
13334
  }), queuedUpdates.clear()));
13357
13335
  }
13336
+ var expectedFrameTime = 16.67, numDroppedFramesUntilPause = 10;
13358
13337
  if (import_constants4.isClient) if (rAF) {
13359
13338
  layoutOnAnimationFrame = function() {
13360
13339
  var now = Date.now(), timeSinceLastFrame = now - lastFrameAt;
13361
- if (lastFrameAt = now, strategy !== "off") {
13362
- var expectedFrameTime = 16.67, hasRecentSyncWork = timeSinceLastFrame > expectedFrameTime * numDroppedFramesUntilPause;
13340
+ if (lastFrameAt = now, frameCount < runEveryXFrames) {
13341
+ frameCount++, rAF(layoutOnAnimationFrame);
13342
+ return;
13343
+ }
13344
+ if (frameCount = 0, strategy !== "off") {
13345
+ var hasRecentSyncWork = timeSinceLastFrame > expectedFrameTime * numDroppedFramesUntilPause;
13363
13346
  hasRecentSyncWork || Nodes.forEach(function(node) {
13364
13347
  updateLayoutIfChanged(node, lastFrameAt);
13365
13348
  });
13366
13349
  }
13367
13350
  rAF(layoutOnAnimationFrame);
13368
- }, layoutOnAnimationFrame2 = layoutOnAnimationFrame, lastFrameAt = Date.now(), numDroppedFramesUntilPause = 2;
13351
+ }, layoutOnAnimationFrame2 = layoutOnAnimationFrame, lastFrameAt = Date.now();
13369
13352
  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;
13353
+ var onLayout = LayoutHandlers.get(node);
13354
+ if (typeof onLayout == "function") {
13355
+ var parentNode = node.parentElement;
13356
+ if (parentNode) {
13357
+ var nodeRect, parentRect;
13358
+ if (strategy === "async") {
13359
+ var [nr, pr] = await Promise.all([
13360
+ getBoundingClientRectAsync(node),
13361
+ getBoundingClientRectAsync(parentNode)
13362
+ ]);
13363
+ if (frameId !== lastFrameAt) return;
13364
+ nodeRect = nr, parentRect = pr;
13365
+ } else nodeRect = node.getBoundingClientRect(), parentRect = parentNode.getBoundingClientRect();
13366
+ var cachedRect = NodeRectCache.get(node), cachedParentRect = NodeRectCache.get(parentNode);
13383
13367
  if (!cachedRect || // has changed one rect
13384
13368
  !(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
- }
13369
+ NodeRectCache.set(node, nodeRect), ParentRectCache.set(parentNode, parentRect);
13370
+ var event = getElementLayoutEvent(nodeRect, parentRect);
13371
+ avoidUpdates ? queuedUpdates.set(node, function() {
13372
+ return onLayout(event);
13373
+ }) : onLayout(event);
13394
13374
  }
13395
13375
  }
13396
13376
  }
13397
13377
  }
13398
- rAF(layoutOnAnimationFrame);
13378
+ rAF(layoutOnAnimationFrame), frameCount = 0, runEveryXFrames = 6;
13399
13379
  } 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) {
13380
+ var layoutOnAnimationFrame, layoutOnAnimationFrame2, lastFrameAt, frameCount, runEveryXFrames, getElementLayoutEvent = function(nodeRect, parentRect) {
13401
13381
  return {
13402
13382
  nativeEvent: {
13403
13383
  layout: getRelativeDimensions(nodeRect, parentRect),
@@ -18467,7 +18447,7 @@ var require_SheetImplementationCustom_native = __commonJS({
18467
18447
  var parentSheet = import_react3.default.useContext(import_contexts.ParentSheetContext), { animation, animationConfig: animationConfigProp, modal = !1, zIndex = parentSheet.zIndex + 1, moveOnKeyboardChange = !1, unmountChildrenWhenHidden = !1, portalProps, containerComponent: ContainerComponent = import_react3.default.Fragment } = props, state = (0, import_useSheetOpenState.useSheetOpenState)(props), [overlayComponent, setOverlayComponent] = import_react3.default.useState(null), providerProps = (0, import_useSheetProviderProps.useSheetProviderProps)(props, state, {
18468
18448
  onOverlayComponent: setOverlayComponent
18469
18449
  }), { frameSize, setFrameSize, snapPoints, snapPointsMode, hasFit, position, setPosition, scrollBridge, screenSize, setMaxContentSize, maxSnapPoint } = providerProps, { open, controller, isHidden } = state, sheetRef = import_react3.default.useRef(void 0), ref = (0, import_compose_refs.useComposedRefs)(forwardedRef, sheetRef, providerProps.contentRef), { animationDriver } = (0, import_core12.useConfiguration)(), animationConfig = function() {
18470
- if (animationDriver.supportsCSSVars) return {};
18450
+ if (animationDriver.supportsCSS) return {};
18471
18451
  var [animationProp, animationPropConfig] = animation ? Array.isArray(animation) ? animation : [
18472
18452
  animation
18473
18453
  ] : [];
@@ -30941,6 +30921,8 @@ EnsureFlexed.isVisuallyHidden = !0;
30941
30921
  var import_core5 = __toESM(require_index_native20()), import_stacks = __toESM(require_index_native24()), Fieldset = (0, import_core5.styled)(import_stacks.YStack, {
30942
30922
  name: "Fieldset",
30943
30923
  tag: "fieldset",
30924
+ // remove browser default styling
30925
+ borderWidth: 0,
30944
30926
  variants: {
30945
30927
  horizontal: {
30946
30928
  true: {