tamagui 1.123.8 → 1.123.9

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.
@@ -1432,7 +1432,6 @@ var require_validStyleProps_native = __commonJS({
1432
1432
  ...textColors
1433
1433
  }
1434
1434
  }, stylePropsUnitless = {
1435
- perspective: !0,
1436
1435
  WebkitLineClamp: !0,
1437
1436
  animationIterationCount: !0,
1438
1437
  aspectRatio: !0,
@@ -5423,134 +5422,6 @@ var require_expandStyles_native = __commonJS({
5423
5422
  }
5424
5423
  });
5425
5424
 
5426
- // ../../core/web/dist/cjs/helpers/normalizeValueWithProperty.native.js
5427
- var require_normalizeValueWithProperty_native = __commonJS({
5428
- "../../core/web/dist/cjs/helpers/normalizeValueWithProperty.native.js"(exports2, module2) {
5429
- "use strict";
5430
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
5431
- for (var name in all) __defProp2(target, name, {
5432
- get: all[name],
5433
- enumerable: !0
5434
- });
5435
- }, __copyProps2 = function(to, from, except, desc) {
5436
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
5437
- if (from && typeof from == "object" || typeof from == "function") try {
5438
- for (var _loop = function() {
5439
- var key = _step.value;
5440
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
5441
- get: function() {
5442
- return from[key];
5443
- },
5444
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
5445
- });
5446
- }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
5447
- } catch (err) {
5448
- _didIteratorError = !0, _iteratorError = err;
5449
- } finally {
5450
- try {
5451
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
5452
- } finally {
5453
- if (_didIteratorError)
5454
- throw _iteratorError;
5455
- }
5456
- }
5457
- return to;
5458
- }, __toCommonJS2 = function(mod) {
5459
- return __copyProps2(__defProp2({}, "__esModule", {
5460
- value: !0
5461
- }), mod);
5462
- }, normalizeValueWithProperty_exports = {};
5463
- __export2(normalizeValueWithProperty_exports, {
5464
- normalizeValueWithProperty: function() {
5465
- return normalizeValueWithProperty;
5466
- },
5467
- reverseMapClassNameToValue: function() {
5468
- return reverseMapClassNameToValue;
5469
- }
5470
- });
5471
- module2.exports = __toCommonJS2(normalizeValueWithProperty_exports);
5472
- var import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_insertStyleRule = require_insertStyleRule_native(), stylePropsAllPlusTransforms = {
5473
- ...import_helpers.stylePropsAll,
5474
- translateX: !0,
5475
- translateY: !0
5476
- };
5477
- function normalizeValueWithProperty(value) {
5478
- var property = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
5479
- if (!import_constants4.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value == "boolean") return value;
5480
- var res = value;
5481
- return value && typeof value == "object" ? value : (typeof value == "number" ? res = `${value}px` : property && (res = `${res}`), res);
5482
- }
5483
- var rcache = {};
5484
- function reverseMapClassNameToValue(key, className) {
5485
- var selectors = (0, import_insertStyleRule.getAllSelectors)(), cssRule = selectors[className];
5486
- if (rcache[cssRule]) return rcache[cssRule];
5487
- if (cssRule) {
5488
- var cssVal = cssRule.replace(/.*:/, "").replace(/;.*/, "").trim(), res;
5489
- return cssVal.startsWith("var(") ? res = cssVal : import_helpers.stylePropsUnitless[key] ? res = +cssVal : cssVal.endsWith("px") ? res = +cssVal.replace("px", "") : res = cssVal, rcache[cssRule] = res, res;
5490
- }
5491
- }
5492
- }
5493
- });
5494
-
5495
- // ../../core/web/dist/cjs/helpers/transformsToString.native.js
5496
- var require_transformsToString_native = __commonJS({
5497
- "../../core/web/dist/cjs/helpers/transformsToString.native.js"(exports2, module2) {
5498
- "use strict";
5499
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
5500
- for (var name in all) __defProp2(target, name, {
5501
- get: all[name],
5502
- enumerable: !0
5503
- });
5504
- }, __copyProps2 = function(to, from, except, desc) {
5505
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
5506
- if (from && typeof from == "object" || typeof from == "function") try {
5507
- for (var _loop = function() {
5508
- var key = _step.value;
5509
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
5510
- get: function() {
5511
- return from[key];
5512
- },
5513
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
5514
- });
5515
- }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
5516
- } catch (err) {
5517
- _didIteratorError = !0, _iteratorError = err;
5518
- } finally {
5519
- try {
5520
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
5521
- } finally {
5522
- if (_didIteratorError)
5523
- throw _iteratorError;
5524
- }
5525
- }
5526
- return to;
5527
- }, __toCommonJS2 = function(mod) {
5528
- return __copyProps2(__defProp2({}, "__esModule", {
5529
- value: !0
5530
- }), mod);
5531
- }, transformsToString_exports = {};
5532
- __export2(transformsToString_exports, {
5533
- transformsToString: function() {
5534
- return transformsToString;
5535
- }
5536
- });
5537
- module2.exports = __toCommonJS2(transformsToString_exports);
5538
- var import_normalizeValueWithProperty = require_normalizeValueWithProperty_native();
5539
- function transformsToString(transforms) {
5540
- return transforms.map(
5541
- // { scale: 2 } => 'scale(2)'
5542
- // { translateX: 20 } => 'translateX(20px)'
5543
- // { matrix: [1,2,3,4,5,6] } => 'matrix(1,2,3,4,5,6)'
5544
- // { perspective: 1000 } => perspective(1000px)
5545
- function(transform) {
5546
- var type = Object.keys(transform)[0], value = transform[type];
5547
- return type === "matrix" || type === "matrix3d" ? `${type}(${value.join(",")})` : `${type}(${(0, import_normalizeValueWithProperty.normalizeValueWithProperty)(value, type)})`;
5548
- }
5549
- ).join(" ");
5550
- }
5551
- }
5552
- });
5553
-
5554
5425
  // ../../core/web/dist/cjs/helpers/getCSSStylesAtomic.native.js
5555
5426
  var require_getCSSStylesAtomic_native = __commonJS({
5556
5427
  "../../core/web/dist/cjs/helpers/getCSSStylesAtomic.native.js"(exports2, module2) {
@@ -5587,8 +5458,8 @@ var require_getCSSStylesAtomic_native = __commonJS({
5587
5458
  return __copyProps2(__defProp2({}, "__esModule", {
5588
5459
  value: !0
5589
5460
  }), mod);
5590
- }, getCSSStylesAtomic_exports = {};
5591
- __export2(getCSSStylesAtomic_exports, {
5461
+ }, getCSSStylesAtomic_native_exports = {};
5462
+ __export2(getCSSStylesAtomic_native_exports, {
5592
5463
  getCSSStylesAtomic: function() {
5593
5464
  return getCSSStylesAtomic2;
5594
5465
  },
@@ -5599,177 +5470,10 @@ var require_getCSSStylesAtomic_native = __commonJS({
5599
5470
  return styleToCSS;
5600
5471
  }
5601
5472
  });
5602
- module2.exports = __toCommonJS2(getCSSStylesAtomic_exports);
5603
- var import_helpers = require_index_native7(), import_config = require_config_native(), import_defaultOffset = require_defaultOffset_native(), import_normalizeColor = require_normalizeColor_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_transformsToString = require_transformsToString_native(), import_useMedia = require_useMedia_native();
5604
- function getCSSStylesAtomic2(style) {
5605
- styleToCSS(style);
5606
- var out = [];
5607
- for (var key in style) if (key !== "$$css") {
5608
- var val = style[key];
5609
- if (key in import_pseudoDescriptors.pseudoDescriptors) val && out.push(...getStyleAtomic(val, import_pseudoDescriptors.pseudoDescriptors[key]));
5610
- else if ((0, import_useMedia.isMediaKey)(key)) for (var subKey in val) {
5611
- var so = getStyleObject(val, subKey);
5612
- so && (so[0] = key, out.push(so));
5613
- }
5614
- else {
5615
- var so1 = getStyleObject(style, key);
5616
- so1 && out.push(so1);
5617
- }
5618
- }
5619
- return out;
5620
- }
5621
- var getStyleAtomic = function(style, pseudo) {
5622
- styleToCSS(style);
5623
- var out = [];
5624
- for (var key in style) {
5625
- var so = getStyleObject(style, key, pseudo);
5626
- so && out.push(so);
5627
- }
5628
- return out;
5629
- }, conf = null, getStyleObject = function(style, key, pseudo) {
5630
- var val = style[key];
5631
- if (val != null) {
5632
- key === "transform" && Array.isArray(style.transform) && (val = (0, import_transformsToString.transformsToString)(val));
5633
- var value = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(val, key), hash = (0, import_helpers.simpleHash)(typeof value == "string" ? value : `${value}`), pseudoPrefix = pseudo ? `0${pseudo.name}-` : "";
5634
- conf || (conf = (0, import_config.getConfigMaybe)());
5635
- var shortProp = (conf == null ? void 0 : conf.inverseShorthands[key]) || key, identifier = `_${shortProp}-${pseudoPrefix}${hash}`, rules = createAtomicRules(identifier, key, value, pseudo);
5636
- return [
5637
- // array for performance
5638
- key,
5639
- value,
5640
- identifier,
5641
- pseudo == null ? void 0 : pseudo.name,
5642
- rules
5643
- ];
5644
- }
5645
- };
5646
- function styleToCSS(style) {
5647
- var { shadowOffset, shadowRadius, shadowColor, shadowOpacity } = style;
5648
- if (shadowRadius || shadowColor) {
5649
- var offset4 = shadowOffset || import_defaultOffset.defaultOffset, width = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(offset4.width), height = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(offset4.height), radius = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(shadowRadius), color = (0, import_normalizeColor.normalizeColor)(shadowColor, shadowOpacity), shadow = `${width} ${height} ${radius} ${color}`;
5650
- style.boxShadow = style.boxShadow ? `${style.boxShadow}, ${shadow}` : shadow, delete style.shadowOffset, delete style.shadowRadius, delete style.shadowColor, delete style.shadowOpacity;
5651
- }
5652
- var { textShadowColor, textShadowOffset, textShadowRadius } = style;
5653
- if (textShadowColor || textShadowOffset || textShadowRadius) {
5654
- var { height: height1, width: width1 } = textShadowOffset || import_defaultOffset.defaultOffset, radius1 = textShadowRadius || 0, color1 = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(textShadowColor, "textShadowColor");
5655
- if (color1 && (height1 !== 0 || width1 !== 0 || radius1 !== 0)) {
5656
- var blurRadius = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(radius1), offsetX = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(width1), offsetY = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(height1);
5657
- style.textShadow = `${offsetX} ${offsetY} ${blurRadius} ${color1}`;
5658
- }
5659
- delete style.textShadowColor, delete style.textShadowOffset, delete style.textShadowRadius;
5660
- }
5661
- }
5662
- function createDeclarationBlock(style) {
5663
- var important = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, next = "", _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
5664
- try {
5665
- for (var _iterator = style[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
5666
- var [key, value] = _step.value;
5667
- next += `${hyphenateStyleName(key)}:${value}${important ? " !important" : ""};`;
5668
- }
5669
- } catch (err) {
5670
- _didIteratorError = !0, _iteratorError = err;
5671
- } finally {
5672
- try {
5673
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
5674
- } finally {
5675
- if (_didIteratorError) throw _iteratorError;
5676
- }
5677
- }
5678
- return `{${next}}`;
5679
- }
5680
- var hcache = {}, toHyphenLower = function(match) {
5681
- return `-${match.toLowerCase()}`;
5682
- }, hyphenateStyleName = function(key) {
5683
- if (key in hcache) return hcache[key];
5684
- var val = key.replace(/[A-Z]/g, toHyphenLower);
5685
- return hcache[key] = val, val;
5686
- }, selectorPriority = function() {
5687
- var res = {};
5688
- for (var key in import_pseudoDescriptors.pseudoDescriptors) {
5689
- var pseudo = import_pseudoDescriptors.pseudoDescriptors[key];
5690
- res[pseudo.name] = `${[
5691
- ...Array(pseudo.priority)
5692
- ].map(function() {
5693
- return ":root";
5694
- }).join("")} `;
5695
- }
5696
- return res;
5697
- }();
5698
- function createAtomicRules(identifier, property, value, pseudo) {
5699
- var pseudoIdPostfix = pseudo ? pseudo.name === "disabled" ? "[aria-disabled]" : `:${pseudo.name}` : "", pseudoSelector = pseudo == null ? void 0 : pseudo.selector, selector = pseudo ? pseudoSelector ? `${pseudoSelector} .${identifier}` : `${selectorPriority[pseudo.name]} .${identifier}${pseudoIdPostfix}` : `:root .${identifier}`;
5700
- pseudoSelector === import_pseudoDescriptors.pseudoDescriptors.enterStyle.selector && (selector = `${selector}, .${identifier}${pseudoSelector}`);
5701
- var important = !!pseudo, rules = [];
5702
- switch (property) {
5703
- // Equivalent to using '::placeholder'
5704
- case "placeholderTextColor": {
5705
- var block = createDeclarationBlock([
5706
- [
5707
- "color",
5708
- value
5709
- ],
5710
- [
5711
- "opacity",
5712
- 1
5713
- ]
5714
- ], important);
5715
- rules.push(`${selector}::placeholder${block}`);
5716
- break;
5717
- }
5718
- // all webkit prefixed rules
5719
- case "backgroundClip":
5720
- case "userSelect": {
5721
- var propertyCapitalized = `${property[0].toUpperCase()}${property.slice(1)}`, webkitProperty = `Webkit${propertyCapitalized}`, block1 = createDeclarationBlock([
5722
- [
5723
- property,
5724
- value
5725
- ],
5726
- [
5727
- webkitProperty,
5728
- value
5729
- ]
5730
- ], important);
5731
- rules.push(`${selector}${block1}`);
5732
- break;
5733
- }
5734
- // Polyfill for additional 'pointer-events' values
5735
- case "pointerEvents": {
5736
- var finalValue = value;
5737
- value === "auto" || value === "box-only" ? (finalValue = "auto", value === "box-only" && rules.push(`${selector}>*${boxOnly}`)) : (value === "none" || value === "box-none") && (finalValue = "none", value === "box-none" && rules.push(`${selector}>*${boxNone}`));
5738
- var block2 = createDeclarationBlock([
5739
- [
5740
- "pointerEvents",
5741
- finalValue
5742
- ]
5743
- ], !0);
5744
- rules.push(`${selector}${block2}`);
5745
- break;
5746
- }
5747
- default: {
5748
- var block3 = createDeclarationBlock([
5749
- [
5750
- property,
5751
- value
5752
- ]
5753
- ], important);
5754
- rules.push(`${selector}${block3}`);
5755
- break;
5756
- }
5757
- }
5758
- return (pseudo == null ? void 0 : pseudo.name) === "hover" && (rules = rules.map(function(r) {
5759
- return `@media (hover) {${r}}`;
5760
- })), rules;
5761
- }
5762
- var boxNone = createDeclarationBlock([
5763
- [
5764
- "pointerEvents",
5765
- "auto"
5766
- ]
5767
- ], !0), boxOnly = createDeclarationBlock([
5768
- [
5769
- "pointerEvents",
5770
- "none"
5771
- ]
5772
- ], !0);
5473
+ module2.exports = __toCommonJS2(getCSSStylesAtomic_native_exports);
5474
+ var empty = function() {
5475
+ console.warn("no-op native");
5476
+ }, getCSSStylesAtomic2 = empty, getStyleAtomic = empty, styleToCSS = empty;
5773
5477
  }
5774
5478
  });
5775
5479
 
@@ -5934,6 +5638,75 @@ var require_log_native = __commonJS({
5934
5638
  }
5935
5639
  });
5936
5640
 
5641
+ // ../../core/web/dist/cjs/helpers/normalizeValueWithProperty.native.js
5642
+ var require_normalizeValueWithProperty_native = __commonJS({
5643
+ "../../core/web/dist/cjs/helpers/normalizeValueWithProperty.native.js"(exports2, module2) {
5644
+ "use strict";
5645
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
5646
+ for (var name in all) __defProp2(target, name, {
5647
+ get: all[name],
5648
+ enumerable: !0
5649
+ });
5650
+ }, __copyProps2 = function(to, from, except, desc) {
5651
+ var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
5652
+ if (from && typeof from == "object" || typeof from == "function") try {
5653
+ for (var _loop = function() {
5654
+ var key = _step.value;
5655
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
5656
+ get: function() {
5657
+ return from[key];
5658
+ },
5659
+ enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
5660
+ });
5661
+ }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
5662
+ } catch (err) {
5663
+ _didIteratorError = !0, _iteratorError = err;
5664
+ } finally {
5665
+ try {
5666
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
5667
+ } finally {
5668
+ if (_didIteratorError)
5669
+ throw _iteratorError;
5670
+ }
5671
+ }
5672
+ return to;
5673
+ }, __toCommonJS2 = function(mod) {
5674
+ return __copyProps2(__defProp2({}, "__esModule", {
5675
+ value: !0
5676
+ }), mod);
5677
+ }, normalizeValueWithProperty_exports = {};
5678
+ __export2(normalizeValueWithProperty_exports, {
5679
+ normalizeValueWithProperty: function() {
5680
+ return normalizeValueWithProperty;
5681
+ },
5682
+ reverseMapClassNameToValue: function() {
5683
+ return reverseMapClassNameToValue;
5684
+ }
5685
+ });
5686
+ module2.exports = __toCommonJS2(normalizeValueWithProperty_exports);
5687
+ var import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_insertStyleRule = require_insertStyleRule_native(), stylePropsAllPlusTransforms = {
5688
+ ...import_helpers.stylePropsAll,
5689
+ translateX: !0,
5690
+ translateY: !0
5691
+ };
5692
+ function normalizeValueWithProperty(value) {
5693
+ var property = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
5694
+ if (!import_constants4.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value == "boolean") return value;
5695
+ var res = value;
5696
+ return value && typeof value == "object" ? value : (typeof value == "number" ? res = `${value}px` : property && (res = `${res}`), res);
5697
+ }
5698
+ var rcache = {};
5699
+ function reverseMapClassNameToValue(key, className) {
5700
+ var selectors = (0, import_insertStyleRule.getAllSelectors)(), cssRule = selectors[className];
5701
+ if (rcache[cssRule]) return rcache[cssRule];
5702
+ if (cssRule) {
5703
+ var cssVal = cssRule.replace(/.*:/, "").replace(/;.*/, "").trim(), res;
5704
+ return cssVal.startsWith("var(") ? res = cssVal : import_helpers.stylePropsUnitless[key] ? res = +cssVal : cssVal.endsWith("px") ? res = +cssVal.replace("px", "") : res = cssVal, rcache[cssRule] = res, res;
5705
+ }
5706
+ }
5707
+ }
5708
+ });
5709
+
5937
5710
  // ../../core/web/dist/cjs/constants/webToNativeProps.native.js
5938
5711
  var require_webToNativeProps_native = __commonJS({
5939
5712
  "../../core/web/dist/cjs/constants/webToNativeProps.native.js"(exports2, module2) {
@@ -6952,6 +6725,65 @@ var require_sortString_native = __commonJS({
6952
6725
  }
6953
6726
  });
6954
6727
 
6728
+ // ../../core/web/dist/cjs/helpers/transformsToString.native.js
6729
+ var require_transformsToString_native = __commonJS({
6730
+ "../../core/web/dist/cjs/helpers/transformsToString.native.js"(exports2, module2) {
6731
+ "use strict";
6732
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
6733
+ for (var name in all) __defProp2(target, name, {
6734
+ get: all[name],
6735
+ enumerable: !0
6736
+ });
6737
+ }, __copyProps2 = function(to, from, except, desc) {
6738
+ var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
6739
+ if (from && typeof from == "object" || typeof from == "function") try {
6740
+ for (var _loop = function() {
6741
+ var key = _step.value;
6742
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
6743
+ get: function() {
6744
+ return from[key];
6745
+ },
6746
+ enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
6747
+ });
6748
+ }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
6749
+ } catch (err) {
6750
+ _didIteratorError = !0, _iteratorError = err;
6751
+ } finally {
6752
+ try {
6753
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
6754
+ } finally {
6755
+ if (_didIteratorError)
6756
+ throw _iteratorError;
6757
+ }
6758
+ }
6759
+ return to;
6760
+ }, __toCommonJS2 = function(mod) {
6761
+ return __copyProps2(__defProp2({}, "__esModule", {
6762
+ value: !0
6763
+ }), mod);
6764
+ }, transformsToString_exports = {};
6765
+ __export2(transformsToString_exports, {
6766
+ transformsToString: function() {
6767
+ return transformsToString;
6768
+ }
6769
+ });
6770
+ module2.exports = __toCommonJS2(transformsToString_exports);
6771
+ var import_normalizeValueWithProperty = require_normalizeValueWithProperty_native();
6772
+ function transformsToString(transforms) {
6773
+ return transforms.map(
6774
+ // { scale: 2 } => 'scale(2)'
6775
+ // { translateX: 20 } => 'translateX(20px)'
6776
+ // { matrix: [1,2,3,4,5,6] } => 'matrix(1,2,3,4,5,6)'
6777
+ // { perspective: 1000 } => perspective(1000px)
6778
+ function(transform) {
6779
+ var type = Object.keys(transform)[0], value = transform[type];
6780
+ return type === "matrix" || type === "matrix3d" ? `${type}(${value.join(",")})` : `${type}(${(0, import_normalizeValueWithProperty.normalizeValueWithProperty)(value, type)})`;
6781
+ }
6782
+ ).join(" ");
6783
+ }
6784
+ }
6785
+ });
6786
+
6955
6787
  // ../../core/web/dist/cjs/helpers/getSplitStyles.native.js
6956
6788
  var require_getSplitStyles_native = __commonJS({
6957
6789
  "../../core/web/dist/cjs/helpers/getSplitStyles.native.js"(exports2, module2) {
@@ -7016,7 +6848,7 @@ var require_getSplitStyles_native = __commonJS({
7016
6848
  }
7017
6849
  });
7018
6850
  module2.exports = __toCommonJS2(getSplitStyles_exports);
7019
- var import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_accessibilityDirectMap = require_accessibilityDirectMap_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_useMedia = require_useMedia_native(), import_createMediaStyle = require_createMediaStyle_native(), import_expandStyles = require_expandStyles_native(), import_getGroupPropParts = require_getGroupPropParts_native(), import_getCSSStylesAtomic = require_getCSSStylesAtomic_native(), import_insertStyleRule = require_insertStyleRule_native(), import_isActivePlatform = require_isActivePlatform_native(), import_isActiveTheme = require_isActiveTheme_native(), import_log = require_log_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_propMapper = require_propMapper_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_skipProps = require_skipProps_native(), import_sortString = require_sortString_native(), import_transformsToString = require_transformsToString_native(), consoleGroupCollapsed = import_constants4.isWeb ? console.groupCollapsed : console.info, conf, PROP_SPLIT = "-";
6851
+ var import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_accessibilityDirectMap = require_accessibilityDirectMap_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_useMedia = require_useMedia_native(), import_createMediaStyle = require_createMediaStyle_native(), import_expandStyles = require_expandStyles_native(), import_getCSSStylesAtomic = require_getCSSStylesAtomic_native(), import_getGroupPropParts = require_getGroupPropParts_native(), import_insertStyleRule = require_insertStyleRule_native(), import_isActivePlatform = require_isActivePlatform_native(), import_isActiveTheme = require_isActiveTheme_native(), import_log = require_log_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_propMapper = require_propMapper_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_skipProps = require_skipProps_native(), import_sortString = require_sortString_native(), import_transformsToString = require_transformsToString_native(), consoleGroupCollapsed = import_constants4.isWeb ? console.groupCollapsed : console.info, conf, PROP_SPLIT = "-";
7020
6852
  function isValidStyleKey(key, validStyles, accept) {
7021
6853
  return key in validStyles ? !0 : accept && key in accept;
7022
6854
  }
@@ -7158,7 +6990,7 @@ var require_getSplitStyles_native = __commonJS({
7158
6990
  var importance1 = (0, import_useMedia.getMediaImportanceIfMoreImportant)(mediaKeyShort, "space", usedKeys, !0);
7159
6991
  importance1 && (space = val2.space, usedKeys.space = importance1);
7160
6992
  }
7161
- var mediaStyles = (0, import_getCSSStylesAtomic.getStylesAtomic)(mediaStyle), priority = mediaStylesSeen;
6993
+ var mediaStyles = (0, import_getCSSStylesAtomic.getCSSStylesAtomic)(mediaStyle), priority = mediaStylesSeen;
7162
6994
  mediaStylesSeen += 1;
7163
6995
  var _iteratorNormalCompletion12 = !0, _didIteratorError12 = !1, _iteratorError12 = void 0;
7164
6996
  try {
@@ -7262,7 +7094,7 @@ var require_getSplitStyles_native = __commonJS({
7262
7094
  for (var keyOg in props) _loop(keyOg);
7263
7095
  var avoidNormalize = styleProps.noNormalize === !1;
7264
7096
  if (!avoidNormalize) {
7265
- if (styleState.style && ((0, import_expandStyles.fixStyles)(styleState.style), import_constants4.isWeb && !isReactNative && (0, import_getCSSStylesAtomic.styleToCSS)(styleState.style)), styleState.flatTransforms) {
7097
+ if (styleState.style && ((0, import_expandStyles.fixStyles)(styleState.style), !styleProps.noExpand && !styleProps.noMergeStyle && import_constants4.isWeb && !isReactNative && (0, import_getCSSStylesAtomic.styleToCSS)(styleState.style)), styleState.flatTransforms) {
7266
7098
  var _styleState;
7267
7099
  (_styleState = styleState).style || (_styleState.style = {}), Object.entries(styleState.flatTransforms).sort(function(param, param1) {
7268
7100
  var [a] = param, [b] = param1;
@@ -7282,7 +7114,7 @@ var require_getSplitStyles_native = __commonJS({
7282
7114
  }
7283
7115
  if (0) var _styleState_style, shouldStringifyTransforms;
7284
7116
  if (0) {
7285
- if (styleState.style && shouldDoClasses) {
7117
+ if (!styleProps.noMergeStyle && styleState.style && shouldDoClasses) {
7286
7118
  var retainedStyles, shouldRetain;
7287
7119
  if (!styleState.style.$$css) {
7288
7120
  var atomic, _iteratorNormalCompletion, _didIteratorError, _iteratorError;
@@ -7302,7 +7134,7 @@ var require_getSplitStyles_native = __commonJS({
7302
7134
  } else if (viewProps.tabIndex == null) var _viewProps_focusable, isFocusable, role;
7303
7135
  }
7304
7136
  var styleProp = props.style;
7305
- if (styleProp) if (isHOC) viewProps.style = normalizeStyle(styleProp);
7137
+ if (!styleProps.noMergeStyle && styleProp) if (isHOC) viewProps.style = normalizeStyle(styleProp);
7306
7138
  else for (var isArray = Array.isArray(styleProp), len = isArray ? styleProp.length : 1, i = 0; i < len; i++) {
7307
7139
  var style = isArray ? styleProp[i] : styleProp;
7308
7140
  if (style) if (style.$$css) Object.assign(styleState.classNames, style);
@@ -7332,11 +7164,11 @@ var require_getSplitStyles_native = __commonJS({
7332
7164
  pseudoGroups,
7333
7165
  mediaGroups
7334
7166
  }, asChildExceptStyleLike = asChild === "except-style" || asChild === "except-style-web";
7335
- if (!asChildExceptStyleLike) {
7167
+ if (!styleProps.noMergeStyle && !asChildExceptStyleLike) {
7336
7168
  var style2 = styleState.style;
7337
7169
  if (0) {
7338
7170
  var _staticConfig_defaultProps, fontFamily, fontFamilyClassName, groupClassName, componentNameFinal, componentClassName, classList, finalClassName;
7339
- if (!styleProps.noMergeStyle && !(styleProps.isAnimated && !conf.animations.supportsCSSVars && isReactNative) && isReactNative) {
7171
+ if (!(styleProps.isAnimated && !conf.animations.supportsCSSVars && isReactNative) && isReactNative) {
7340
7172
  var cnStyles, _iteratorNormalCompletion1, _didIteratorError1, _iteratorError1;
7341
7173
  try {
7342
7174
  for (var _iterator1, _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = !0) var name;
@@ -7344,7 +7176,7 @@ var require_getSplitStyles_native = __commonJS({
7344
7176
  } finally {
7345
7177
  }
7346
7178
  }
7347
- } else style2 && !styleProps.noMergeStyle && (viewProps.style = style2);
7179
+ } else style2 && (viewProps.style = style2);
7348
7180
  }
7349
7181
  if (0)
7350
7182
  try {
@@ -25067,9 +24899,9 @@ var require_Popover_native = __commonJS({
25067
24899
  // (closed !== unmounted when animating out)
25068
24900
  trapFocus: trapFocus ?? context.open,
25069
24901
  disableOutsidePointerEvents: !0,
25070
- onCloseAutoFocus: (0, import_helpers.composeEventHandlers)(props.onCloseAutoFocus, function(event) {
24902
+ onCloseAutoFocus: props.onCloseAutoFocus === !1 ? void 0 : (0, import_helpers.composeEventHandlers)(props.onCloseAutoFocus, function(event) {
25071
24903
  var _context_triggerRef_current;
25072
- event.preventDefault(), isRightClickOutsideRef.current || (_context_triggerRef_current = context.triggerRef.current) === null || _context_triggerRef_current === void 0 || _context_triggerRef_current.focus();
24904
+ event.defaultPrevented || (event.preventDefault(), isRightClickOutsideRef.current || (_context_triggerRef_current = context.triggerRef.current) === null || _context_triggerRef_current === void 0 || _context_triggerRef_current.focus());
25073
24905
  }),
25074
24906
  onPointerDownOutside: (0, import_helpers.composeEventHandlers)(props.onPointerDownOutside, function(event) {
25075
24907
  var originalEvent = event.detail.originalEvent, ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === !0, isRightClick = originalEvent.button === 2 || ctrlLeftClick;