@tamagui/core 1.125.7 → 1.125.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.
package/dist/native.js CHANGED
@@ -1555,13 +1555,16 @@ var require_insertStyleRule_native = __commonJS({
1555
1555
  };
1556
1556
  }
1557
1557
  }
1558
- var tamaguiSelectorRegex = /^:root\s?\.t_[A-Za-z0-9_\,\s\:\.]+\s+\.tm_xxt\s?$/;
1558
+ var tamaguiSelectorRegex = /\.tm_xxt/;
1559
1559
  function getTamaguiSelector(rule) {
1560
1560
  var collectThemes = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
1561
1561
  if (rule instanceof CSSStyleRule) {
1562
1562
  var text = rule.selectorText;
1563
1563
  if (text[0] === ":" && text[1] === "r" && tamaguiSelectorRegex.test(text)) {
1564
- var id = getIdentifierFromTamaguiSelector(text);
1564
+ var id = getIdentifierFromTamaguiSelector(
1565
+ // next.js minifies it so its in front
1566
+ text.replace(tamaguiSelectorRegex, "")
1567
+ );
1565
1568
  return collectThemes ? [
1566
1569
  id,
1567
1570
  rule,
@@ -2749,11 +2752,8 @@ var require_consoleLog_native = __commonJS({
2749
2752
  return __copyProps2(__defProp2({}, "__esModule", {
2750
2753
  value: !0
2751
2754
  }), mod);
2752
- }, consoleLog_exports = {};
2753
- __export2(consoleLog_exports, {
2754
- gc: function() {
2755
- return gc;
2756
- },
2755
+ }, consoleLog_native_exports = {};
2756
+ __export2(consoleLog_native_exports, {
2757
2757
  groupCollapsed: function() {
2758
2758
  return groupCollapsed;
2759
2759
  },
@@ -2761,8 +2761,9 @@ var require_consoleLog_native = __commonJS({
2761
2761
  return groupEnd;
2762
2762
  }
2763
2763
  });
2764
- module2.exports = __toCommonJS2(consoleLog_exports);
2765
- var import_constants2 = require_index_native2(), groupEnd = console.groupEnd.bind(console), gc = console.groupCollapsed.bind(console), groupCollapsed = import_constants2.isWeb ? gc : console.info;
2764
+ module2.exports = __toCommonJS2(consoleLog_native_exports);
2765
+ var groupEnd = function() {
2766
+ }, groupCollapsed = console.info;
2766
2767
  }
2767
2768
  });
2768
2769