tamagui 1.123.7 → 1.123.8

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.
@@ -5423,9 +5423,137 @@ var require_expandStyles_native = __commonJS({
5423
5423
  }
5424
5424
  });
5425
5425
 
5426
- // ../../core/web/dist/cjs/helpers/getStylesAtomic.native.js
5427
- var require_getStylesAtomic_native = __commonJS({
5428
- "../../core/web/dist/cjs/helpers/getStylesAtomic.native.js"(exports2, module2) {
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
+ // ../../core/web/dist/cjs/helpers/getCSSStylesAtomic.native.js
5555
+ var require_getCSSStylesAtomic_native = __commonJS({
5556
+ "../../core/web/dist/cjs/helpers/getCSSStylesAtomic.native.js"(exports2, module2) {
5429
5557
  "use strict";
5430
5558
  var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
5431
5559
  for (var name in all) __defProp2(target, name, {
@@ -5459,22 +5587,189 @@ var require_getStylesAtomic_native = __commonJS({
5459
5587
  return __copyProps2(__defProp2({}, "__esModule", {
5460
5588
  value: !0
5461
5589
  }), mod);
5462
- }, getStylesAtomic_native_exports = {};
5463
- __export2(getStylesAtomic_native_exports, {
5590
+ }, getCSSStylesAtomic_exports = {};
5591
+ __export2(getCSSStylesAtomic_exports, {
5592
+ getCSSStylesAtomic: function() {
5593
+ return getCSSStylesAtomic2;
5594
+ },
5464
5595
  getStyleAtomic: function() {
5465
5596
  return getStyleAtomic;
5466
5597
  },
5467
- getStylesAtomic: function() {
5468
- return getStylesAtomic2;
5469
- },
5470
5598
  styleToCSS: function() {
5471
5599
  return styleToCSS;
5472
5600
  }
5473
5601
  });
5474
- module2.exports = __toCommonJS2(getStylesAtomic_native_exports);
5475
- var empty = function() {
5476
- console.warn("no-op native");
5477
- }, getStylesAtomic2 = empty, getStyleAtomic = empty, styleToCSS = empty;
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);
5478
5773
  }
5479
5774
  });
5480
5775
 
@@ -5639,75 +5934,6 @@ var require_log_native = __commonJS({
5639
5934
  }
5640
5935
  });
5641
5936
 
5642
- // ../../core/web/dist/cjs/helpers/normalizeValueWithProperty.native.js
5643
- var require_normalizeValueWithProperty_native = __commonJS({
5644
- "../../core/web/dist/cjs/helpers/normalizeValueWithProperty.native.js"(exports2, module2) {
5645
- "use strict";
5646
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
5647
- for (var name in all) __defProp2(target, name, {
5648
- get: all[name],
5649
- enumerable: !0
5650
- });
5651
- }, __copyProps2 = function(to, from, except, desc) {
5652
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
5653
- if (from && typeof from == "object" || typeof from == "function") try {
5654
- for (var _loop = function() {
5655
- var key = _step.value;
5656
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
5657
- get: function() {
5658
- return from[key];
5659
- },
5660
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
5661
- });
5662
- }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
5663
- } catch (err) {
5664
- _didIteratorError = !0, _iteratorError = err;
5665
- } finally {
5666
- try {
5667
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
5668
- } finally {
5669
- if (_didIteratorError)
5670
- throw _iteratorError;
5671
- }
5672
- }
5673
- return to;
5674
- }, __toCommonJS2 = function(mod) {
5675
- return __copyProps2(__defProp2({}, "__esModule", {
5676
- value: !0
5677
- }), mod);
5678
- }, normalizeValueWithProperty_exports = {};
5679
- __export2(normalizeValueWithProperty_exports, {
5680
- normalizeValueWithProperty: function() {
5681
- return normalizeValueWithProperty;
5682
- },
5683
- reverseMapClassNameToValue: function() {
5684
- return reverseMapClassNameToValue;
5685
- }
5686
- });
5687
- module2.exports = __toCommonJS2(normalizeValueWithProperty_exports);
5688
- var import_constants4 = require_index_native6(), import_helpers = require_index_native7(), import_insertStyleRule = require_insertStyleRule_native(), stylePropsAllPlusTransforms = {
5689
- ...import_helpers.stylePropsAll,
5690
- translateX: !0,
5691
- translateY: !0
5692
- };
5693
- function normalizeValueWithProperty(value) {
5694
- var property = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
5695
- if (!import_constants4.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value == "boolean") return value;
5696
- var res = value;
5697
- return value && typeof value == "object" ? value : (typeof value == "number" ? res = `${value}px` : property && (res = `${res}`), res);
5698
- }
5699
- var rcache = {};
5700
- function reverseMapClassNameToValue(key, className) {
5701
- var selectors = (0, import_insertStyleRule.getAllSelectors)(), cssRule = selectors[className];
5702
- if (rcache[cssRule]) return rcache[cssRule];
5703
- if (cssRule) {
5704
- var cssVal = cssRule.replace(/.*:/, "").replace(/;.*/, "").trim(), res;
5705
- 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;
5706
- }
5707
- }
5708
- }
5709
- });
5710
-
5711
5937
  // ../../core/web/dist/cjs/constants/webToNativeProps.native.js
5712
5938
  var require_webToNativeProps_native = __commonJS({
5713
5939
  "../../core/web/dist/cjs/constants/webToNativeProps.native.js"(exports2, module2) {
@@ -6726,64 +6952,6 @@ var require_sortString_native = __commonJS({
6726
6952
  }
6727
6953
  });
6728
6954
 
6729
- // ../../core/web/dist/cjs/helpers/transformsToString.native.js
6730
- var require_transformsToString_native = __commonJS({
6731
- "../../core/web/dist/cjs/helpers/transformsToString.native.js"(exports2, module2) {
6732
- "use strict";
6733
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
6734
- for (var name in all) __defProp2(target, name, {
6735
- get: all[name],
6736
- enumerable: !0
6737
- });
6738
- }, __copyProps2 = function(to, from, except, desc) {
6739
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
6740
- if (from && typeof from == "object" || typeof from == "function") try {
6741
- for (var _loop = function() {
6742
- var key = _step.value;
6743
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
6744
- get: function() {
6745
- return from[key];
6746
- },
6747
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
6748
- });
6749
- }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
6750
- } catch (err) {
6751
- _didIteratorError = !0, _iteratorError = err;
6752
- } finally {
6753
- try {
6754
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
6755
- } finally {
6756
- if (_didIteratorError)
6757
- throw _iteratorError;
6758
- }
6759
- }
6760
- return to;
6761
- }, __toCommonJS2 = function(mod) {
6762
- return __copyProps2(__defProp2({}, "__esModule", {
6763
- value: !0
6764
- }), mod);
6765
- }, transformsToString_exports = {};
6766
- __export2(transformsToString_exports, {
6767
- transformsToString: function() {
6768
- return transformsToString;
6769
- }
6770
- });
6771
- module2.exports = __toCommonJS2(transformsToString_exports);
6772
- var import_normalizeValueWithProperty = require_normalizeValueWithProperty_native();
6773
- function transformsToString(transforms) {
6774
- return transforms.map(
6775
- // { scale: 2 } => 'scale(2)'
6776
- // { translateX: 20 } => 'translateX(20px)'
6777
- // { matrix: [1,2,3,4,5,6] } => 'matrix(1,2,3,4,5,6)'
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
-
6787
6955
  // ../../core/web/dist/cjs/helpers/getSplitStyles.native.js
6788
6956
  var require_getSplitStyles_native = __commonJS({
6789
6957
  "../../core/web/dist/cjs/helpers/getSplitStyles.native.js"(exports2, module2) {
@@ -6848,7 +7016,7 @@ var require_getSplitStyles_native = __commonJS({
6848
7016
  }
6849
7017
  });
6850
7018
  module2.exports = __toCommonJS2(getSplitStyles_exports);
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_getGroupPropParts = require_getGroupPropParts_native(), import_getStylesAtomic = require_getStylesAtomic_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 = "-";
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 = "-";
6852
7020
  function isValidStyleKey(key, validStyles, accept) {
6853
7021
  return key in validStyles ? !0 : accept && key in accept;
6854
7022
  }
@@ -6939,7 +7107,7 @@ var require_getSplitStyles_native = __commonJS({
6939
7107
  var descriptor = import_pseudoDescriptors.pseudoDescriptors[key4], isEnter = key4 === "enterStyle", isExit = key4 === "exitStyle";
6940
7108
  if (!descriptor) return;
6941
7109
  if (shouldDoClasses && !isExit) {
6942
- var pseudoStyles = (0, import_getStylesAtomic.getStyleAtomic)(pseudoStyleObject, descriptor), _iteratorNormalCompletion2 = !0, _didIteratorError2 = !1, _iteratorError2 = void 0;
7110
+ var pseudoStyles = (0, import_getCSSStylesAtomic.getStyleAtomic)(pseudoStyleObject, descriptor), _iteratorNormalCompletion2 = !0, _didIteratorError2 = !1, _iteratorError2 = void 0;
6943
7111
  try {
6944
7112
  for (var _iterator2 = pseudoStyles[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = !0) {
6945
7113
  var psuedoStyle = _step2.value, fullKey = `${psuedoStyle[import_helpers.StyleObjectProperty]}${PROP_SPLIT}${descriptor.name}`;
@@ -6990,7 +7158,7 @@ var require_getSplitStyles_native = __commonJS({
6990
7158
  var importance1 = (0, import_useMedia.getMediaImportanceIfMoreImportant)(mediaKeyShort, "space", usedKeys, !0);
6991
7159
  importance1 && (space = val2.space, usedKeys.space = importance1);
6992
7160
  }
6993
- var mediaStyles = (0, import_getStylesAtomic.getStylesAtomic)(mediaStyle), priority = mediaStylesSeen;
7161
+ var mediaStyles = (0, import_getCSSStylesAtomic.getStylesAtomic)(mediaStyle), priority = mediaStylesSeen;
6994
7162
  mediaStylesSeen += 1;
6995
7163
  var _iteratorNormalCompletion12 = !0, _didIteratorError12 = !1, _iteratorError12 = void 0;
6996
7164
  try {
@@ -7094,7 +7262,7 @@ var require_getSplitStyles_native = __commonJS({
7094
7262
  for (var keyOg in props) _loop(keyOg);
7095
7263
  var avoidNormalize = styleProps.noNormalize === !1;
7096
7264
  if (!avoidNormalize) {
7097
- if (styleState.style && ((0, import_expandStyles.fixStyles)(styleState.style), import_constants4.isWeb && !isReactNative && (0, import_getStylesAtomic.styleToCSS)(styleState.style)), styleState.flatTransforms) {
7265
+ if (styleState.style && ((0, import_expandStyles.fixStyles)(styleState.style), import_constants4.isWeb && !isReactNative && (0, import_getCSSStylesAtomic.styleToCSS)(styleState.style)), styleState.flatTransforms) {
7098
7266
  var _styleState;
7099
7267
  (_styleState = styleState).style || (_styleState.style = {}), Object.entries(styleState.flatTransforms).sort(function(param, param1) {
7100
7268
  var [a] = param, [b] = param1;
@@ -11066,7 +11234,7 @@ var require_index_native14 = __commonJS({
11066
11234
  __reExport2(index_exports2, require_expandStyles_native(), module2.exports);
11067
11235
  __reExport2(index_exports2, require_getExpandedShorthands_native(), module2.exports);
11068
11236
  __reExport2(index_exports2, require_getSplitStyles_native(), module2.exports);
11069
- __reExport2(index_exports2, require_getStylesAtomic_native(), module2.exports);
11237
+ __reExport2(index_exports2, require_getCSSStylesAtomic_native(), module2.exports);
11070
11238
  __reExport2(index_exports2, require_createComponent_native(), module2.exports);
11071
11239
  __reExport2(index_exports2, require_getThemeCSSRules_native(), module2.exports);
11072
11240
  __reExport2(index_exports2, require_getVariantExtras_native(), module2.exports);
@@ -30701,9 +30869,9 @@ __export(index_exports, {
30701
30869
  createTokens: () => import_core11.createTokens,
30702
30870
  createVariable: () => import_core11.createVariable,
30703
30871
  defaultStyles: () => defaultStyles,
30872
+ getCSSStylesAtomic: () => import_core11.getCSSStylesAtomic,
30704
30873
  getConfig: () => import_core11.getConfig,
30705
30874
  getMedia: () => import_core11.getMedia,
30706
- getStylesAtomic: () => import_core11.getStylesAtomic,
30707
30875
  getThemes: () => import_core11.getThemes,
30708
30876
  getToken: () => import_core11.getToken,
30709
30877
  getTokenValue: () => import_core11.getTokenValue,
@@ -31058,9 +31226,9 @@ var import_core11 = __toESM(require_index_native18());
31058
31226
  createTokens,
31059
31227
  createVariable,
31060
31228
  defaultStyles,
31229
+ getCSSStylesAtomic,
31061
31230
  getConfig,
31062
31231
  getMedia,
31063
- getStylesAtomic,
31064
31232
  getThemes,
31065
31233
  getToken,
31066
31234
  getTokenValue,