@tamagui/core 3.0.0-beta.1149.1 → 3.0.0-beta.1161.1
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.cjs +7 -7
- package/dist/test.native.cjs +8 -8
- package/package.json +13 -13
package/dist/native.cjs
CHANGED
|
@@ -14095,7 +14095,7 @@ var getRulesForIdentifier = function(identifier) {
|
|
|
14095
14095
|
function scanAllSheets() {
|
|
14096
14096
|
var collectThemes = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : false;
|
|
14097
14097
|
arguments.length > 1 && arguments[1];
|
|
14098
|
-
if (
|
|
14098
|
+
if (process.env.TAMAGUI_RUNTIME !== "island" || collectThemes) return;
|
|
14099
14099
|
}
|
|
14100
14100
|
function trackInsertedStyle(id) {
|
|
14101
14101
|
var next = (totalSelectorsInserted.get(id) || 0) + 1;
|
|
@@ -14116,7 +14116,7 @@ function stopAccumulatingRules() {
|
|
|
14116
14116
|
};
|
|
14117
14117
|
}
|
|
14118
14118
|
function updateRules(identifier, rules) {
|
|
14119
|
-
if (
|
|
14119
|
+
if (process.env.TAMAGUI_RUNTIME !== "island" && trackAllRules) {
|
|
14120
14120
|
allRules[identifier] = rules.join(" ");
|
|
14121
14121
|
allRuleSets[identifier] = rules;
|
|
14122
14122
|
}
|
|
@@ -14127,7 +14127,7 @@ function setNonce(_) {
|
|
|
14127
14127
|
nonce = _;
|
|
14128
14128
|
}
|
|
14129
14129
|
function insertStyleRules(rulesToInsert) {
|
|
14130
|
-
if (process.env.
|
|
14130
|
+
if (process.env.TAMAGUI_RUNTIME === "island" || true) return;
|
|
14131
14131
|
if (!sheet$1 && document.head) {
|
|
14132
14132
|
var styleTag = document.createElement("style");
|
|
14133
14133
|
styleTag.id = "_tamagui-styles";
|
|
@@ -15179,7 +15179,7 @@ var getSplitStyles = function(props, staticConfig, theme, themeName, componentSt
|
|
|
15179
15179
|
var variants = styleStaticConfig.variants;
|
|
15180
15180
|
var viewProps = {};
|
|
15181
15181
|
var mediaState$1 = styleProps.mediaState || mediaState;
|
|
15182
|
-
var shouldDoClasses =
|
|
15182
|
+
var shouldDoClasses = process.env.TAMAGUI_RUNTIME !== "island" && acceptsClassName && false;
|
|
15183
15183
|
var rulesToInsert = void 0;
|
|
15184
15184
|
var classNames = {};
|
|
15185
15185
|
var hasMedia = false;
|
|
@@ -16725,7 +16725,7 @@ var isDisabled = function(props) {
|
|
|
16725
16725
|
var useSplitStyles = function(a, b, c, d, e, f, g, h, i, j, k, l, m, n) {
|
|
16726
16726
|
"use no memo";
|
|
16727
16727
|
var res = getSplitStyles(a, b, c, d, e, f, g, h, i, j, k, l, m, n);
|
|
16728
|
-
if (
|
|
16728
|
+
if (process.env.TAMAGUI_RUNTIME !== "island" && false);
|
|
16729
16729
|
return res;
|
|
16730
16730
|
};
|
|
16731
16731
|
//#endregion
|
|
@@ -17564,7 +17564,7 @@ function createComponent(staticConfig) {
|
|
|
17564
17564
|
for (var key2 in styledContextValue) if (!(key2 in overriddenContextProps)) overriddenContextProps[key2] = styledContextValue[key2];
|
|
17565
17565
|
content = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Provider, _objectSpread2(_objectSpread2({ __disableMergeDefaultValues: true }, overriddenContextProps), {}, { children: content }));
|
|
17566
17566
|
}
|
|
17567
|
-
if (
|
|
17567
|
+
if (process.env.TAMAGUI_RUNTIME !== "island" && false);
|
|
17568
17568
|
return content;
|
|
17569
17569
|
};
|
|
17570
17570
|
function notifyGroupSubscribers(groupContext, groupEmitter, pseudo) {
|
|
@@ -17754,7 +17754,7 @@ function normalizeStyle(style) {
|
|
|
17754
17754
|
//#endregion
|
|
17755
17755
|
//#region ../web/dist/esm/helpers/wrapStyleTags.native.js
|
|
17756
17756
|
function getStyleTags(styles) {
|
|
17757
|
-
if (
|
|
17757
|
+
if (process.env.TAMAGUI_RUNTIME !== "island" && false);
|
|
17758
17758
|
}
|
|
17759
17759
|
//#endregion
|
|
17760
17760
|
//#region ../web/dist/esm/createFont.native.js
|
package/dist/test.native.cjs
CHANGED
|
@@ -4738,7 +4738,7 @@ var getRulesForIdentifier = function(identifier) {
|
|
|
4738
4738
|
var sortedRules = [];
|
|
4739
4739
|
var sortedRulesStale = true;
|
|
4740
4740
|
var getAllRules = function() {
|
|
4741
|
-
if (
|
|
4741
|
+
if (process.env.TAMAGUI_RUNTIME !== "island") {
|
|
4742
4742
|
if (sortedRulesStale) {
|
|
4743
4743
|
sortedRules = Object.keys(allRules).sort().map(function(key) {
|
|
4744
4744
|
return allRules[key];
|
|
@@ -4752,7 +4752,7 @@ var getAllRules = function() {
|
|
|
4752
4752
|
function scanAllSheets() {
|
|
4753
4753
|
var collectThemes = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : false;
|
|
4754
4754
|
arguments.length > 1 && arguments[1];
|
|
4755
|
-
if (
|
|
4755
|
+
if (process.env.TAMAGUI_RUNTIME !== "island" || collectThemes) {
|
|
4756
4756
|
if (globalThis.process.env.NODE_ENV === "test") return;
|
|
4757
4757
|
return;
|
|
4758
4758
|
}
|
|
@@ -4776,7 +4776,7 @@ function stopAccumulatingRules() {
|
|
|
4776
4776
|
};
|
|
4777
4777
|
}
|
|
4778
4778
|
function updateRules(identifier, rules) {
|
|
4779
|
-
if (
|
|
4779
|
+
if (process.env.TAMAGUI_RUNTIME !== "island" && trackAllRules) {
|
|
4780
4780
|
allRules[identifier] = rules.join(" ");
|
|
4781
4781
|
allRuleSets[identifier] = rules;
|
|
4782
4782
|
sortedRulesStale = true;
|
|
@@ -4788,7 +4788,7 @@ function setNonce(_) {
|
|
|
4788
4788
|
nonce = _;
|
|
4789
4789
|
}
|
|
4790
4790
|
function insertStyleRules(rulesToInsert) {
|
|
4791
|
-
if (process.env.
|
|
4791
|
+
if (process.env.TAMAGUI_RUNTIME === "island" || true) return;
|
|
4792
4792
|
if (!sheet && document.head) {
|
|
4793
4793
|
var styleTag = document.createElement("style");
|
|
4794
4794
|
styleTag.id = "_tamagui-styles";
|
|
@@ -5929,7 +5929,7 @@ var getSplitStyles = function(props, staticConfig, theme, themeName, componentSt
|
|
|
5929
5929
|
var variants = styleStaticConfig.variants;
|
|
5930
5930
|
var viewProps = {};
|
|
5931
5931
|
var mediaState$1 = styleProps.mediaState || mediaState;
|
|
5932
|
-
var shouldDoClasses =
|
|
5932
|
+
var shouldDoClasses = process.env.TAMAGUI_RUNTIME !== "island" && acceptsClassName && false;
|
|
5933
5933
|
var rulesToInsert = void 0;
|
|
5934
5934
|
var classNames = {};
|
|
5935
5935
|
var hasMedia = false;
|
|
@@ -7636,7 +7636,7 @@ var isDisabled = function(props) {
|
|
|
7636
7636
|
var useSplitStyles = function(a, b, c, d, e, f, g, h, i, j, k, l, m, n) {
|
|
7637
7637
|
"use no memo";
|
|
7638
7638
|
var res = getSplitStyles(a, b, c, d, e, f, g, h, i, j, k, l, m, n);
|
|
7639
|
-
if (
|
|
7639
|
+
if (process.env.TAMAGUI_RUNTIME !== "island" && false);
|
|
7640
7640
|
return res;
|
|
7641
7641
|
};
|
|
7642
7642
|
//#endregion
|
|
@@ -8663,7 +8663,7 @@ ${banner}
|
|
|
8663
8663
|
content = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Provider, _objectSpread2(_objectSpread2({ __disableMergeDefaultValues: true }, overriddenContextProps), {}, { children: content }));
|
|
8664
8664
|
}
|
|
8665
8665
|
if (globalThis.process.env.NODE_ENV === "development" && time$1) time$1`context-override`;
|
|
8666
|
-
if (
|
|
8666
|
+
if (process.env.TAMAGUI_RUNTIME !== "island" && false);
|
|
8667
8667
|
if (globalThis.process.env.NODE_ENV === "development" && time$1) time$1`style-tags`;
|
|
8668
8668
|
if (globalThis.process.env.NODE_ENV === "development") {
|
|
8669
8669
|
if (debugProp && debugProp !== "profile") {
|
|
@@ -8874,7 +8874,7 @@ function normalizeStyle(style) {
|
|
|
8874
8874
|
//#endregion
|
|
8875
8875
|
//#region ../web/dist/esm/helpers/wrapStyleTags.native.js
|
|
8876
8876
|
function getStyleTags(styles) {
|
|
8877
|
-
if (
|
|
8877
|
+
if (process.env.TAMAGUI_RUNTIME !== "island" && false);
|
|
8878
8878
|
}
|
|
8879
8879
|
//#endregion
|
|
8880
8880
|
//#region ../web/dist/esm/createFont.native.js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/core",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.1161.1",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -137,20 +137,20 @@
|
|
|
137
137
|
"clean:build": "tamagui-build clean:build"
|
|
138
138
|
},
|
|
139
139
|
"dependencies": {
|
|
140
|
-
"@tamagui/compose-refs": "3.0.0-beta.
|
|
141
|
-
"@tamagui/constants": "3.0.0-beta.
|
|
142
|
-
"@tamagui/helpers": "3.0.0-beta.
|
|
143
|
-
"@tamagui/react-native-media-driver": "3.0.0-beta.
|
|
144
|
-
"@tamagui/react-native-use-pressable": "3.0.0-beta.
|
|
145
|
-
"@tamagui/size": "3.0.0-beta.
|
|
146
|
-
"@tamagui/use-element-layout": "3.0.0-beta.
|
|
147
|
-
"@tamagui/use-event": "3.0.0-beta.
|
|
148
|
-
"@tamagui/web": "3.0.0-beta.
|
|
140
|
+
"@tamagui/compose-refs": "3.0.0-beta.1161.1",
|
|
141
|
+
"@tamagui/constants": "3.0.0-beta.1161.1",
|
|
142
|
+
"@tamagui/helpers": "3.0.0-beta.1161.1",
|
|
143
|
+
"@tamagui/react-native-media-driver": "3.0.0-beta.1161.1",
|
|
144
|
+
"@tamagui/react-native-use-pressable": "3.0.0-beta.1161.1",
|
|
145
|
+
"@tamagui/size": "3.0.0-beta.1161.1",
|
|
146
|
+
"@tamagui/use-element-layout": "3.0.0-beta.1161.1",
|
|
147
|
+
"@tamagui/use-event": "3.0.0-beta.1161.1",
|
|
148
|
+
"@tamagui/web": "3.0.0-beta.1161.1"
|
|
149
149
|
},
|
|
150
150
|
"devDependencies": {
|
|
151
|
-
"@tamagui/build": "3.0.0-beta.
|
|
152
|
-
"@tamagui/native-bundle": "3.0.0-beta.
|
|
153
|
-
"@tamagui/react-native-web-lite": "3.0.0-beta.
|
|
151
|
+
"@tamagui/build": "3.0.0-beta.1161.1",
|
|
152
|
+
"@tamagui/native-bundle": "3.0.0-beta.1161.1",
|
|
153
|
+
"@tamagui/react-native-web-lite": "3.0.0-beta.1161.1",
|
|
154
154
|
"@testing-library/react": "^16.1.0",
|
|
155
155
|
"csstype": "^3.0.10",
|
|
156
156
|
"react": "19.2.3",
|