@tamagui/core 2.0.0-rc.26 → 2.0.0-rc.26-1773683384816
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/.turbo/turbo-build.log +2 -2
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +0 -2
- package/dist/esm/index.mjs.map +1 -1
- package/dist/native.cjs +100 -86
- package/dist/test.native.cjs +100 -86
- package/package.json +10 -10
- package/.tamagui/tamagui-components.config.cjs +0 -21315
- package/.tamagui/tamagui.config.json +0 -32211
- package/dist/cjs/createOptimizedView.js +0 -22
- package/dist/cjs/createOptimizedView.js.map +0 -6
- package/dist/cjs/getBaseViews.js +0 -23
- package/dist/cjs/getBaseViews.js.map +0 -6
- package/dist/cjs/inject-styles.js +0 -28
- package/dist/cjs/inject-styles.js.map +0 -6
- package/dist/cjs/reactNativeTypes.js +0 -14
- package/dist/cjs/reactNativeTypes.js.map +0 -6
- package/dist/cjs/vendor/Pressability.js +0 -22
- package/dist/cjs/vendor/Pressability.js.map +0 -6
- package/dist/esm/createOptimizedView.js +0 -6
- package/dist/esm/createOptimizedView.js.map +0 -6
- package/dist/esm/getBaseViews.js +0 -7
- package/dist/esm/getBaseViews.js.map +0 -6
- package/dist/esm/inject-styles.js +0 -12
- package/dist/esm/inject-styles.js.map +0 -6
- package/dist/esm/reactNativeTypes.js +0 -1
- package/dist/esm/reactNativeTypes.js.map +0 -6
- package/dist/esm/vendor/Pressability.js +0 -6
- package/dist/esm/vendor/Pressability.js.map +0 -6
package/.turbo/turbo-build.log
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from "@tamagui/web";
|
|
2
|
-
import "@tamagui/react-native-media-driver";
|
|
3
2
|
import { createMeasure, createMeasureInWindow, createMeasureLayout, enable, useElementLayout } from "@tamagui/use-element-layout";
|
|
4
3
|
import { TamaguiProvider as WebTamaguiProvider, Text as WebText, View as WebView, createTamagui as createTamaguiWeb, setupHooks, useIsomorphicLayoutEffect } from "@tamagui/web";
|
|
5
|
-
import "./createOptimizedView.mjs";
|
|
6
4
|
import { getBaseViews } from "./getBaseViews.mjs";
|
|
7
5
|
import { LayoutMeasurementController, registerLayoutNode, setOnLayoutStrategy } from "@tamagui/use-element-layout";
|
|
8
6
|
export * from "./reactNativeTypes.mjs";
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createMeasure","createMeasureInWindow","createMeasureLayout","enable","useElementLayout","TamaguiProvider","WebTamaguiProvider","Text","WebText","View","WebView","createTamagui","createTamaguiWeb","setupHooks","useIsomorphicLayoutEffect","getBaseViews","LayoutMeasurementController","registerLayoutNode","setOnLayoutStrategy","jsx","props","conf","baseViews","setElementProps","node","measure","measureInWindow","measureLayout","usePropsTransform","elementType","propsIn","stateRef","willHydrate","isDOM","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","collapsable","focusable","accessible","accessibilityDisabled","onLayout","hrefAttrs","plainDOMProps","href","download","rel","target","charAt"],"sources":["../../src/index.tsx"],"sourcesContent":[null],"mappings":"AACA,cAAc;
|
|
1
|
+
{"version":3,"names":["createMeasure","createMeasureInWindow","createMeasureLayout","enable","useElementLayout","TamaguiProvider","WebTamaguiProvider","Text","WebText","View","WebView","createTamagui","createTamaguiWeb","setupHooks","useIsomorphicLayoutEffect","getBaseViews","LayoutMeasurementController","registerLayoutNode","setOnLayoutStrategy","jsx","props","conf","baseViews","setElementProps","node","measure","measureInWindow","measureLayout","usePropsTransform","elementType","propsIn","stateRef","willHydrate","isDOM","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","collapsable","focusable","accessible","accessibilityDisabled","onLayout","hrefAttrs","plainDOMProps","href","download","rel","target","charAt"],"sources":["../../src/index.tsx"],"sourcesContent":[null],"mappings":"AACA,cAAc;AAGd,SACEA,aAAA,EACAC,qBAAA,EACAC,mBAAA,EACAC,MAAA,EACAC,gBAAA,QACK;AAaP,SACEC,eAAA,IAAmBC,kBAAA,EACnBC,IAAA,IAAQC,OAAA,EACRC,IAAA,IAAQC,OAAA,EACRC,aAAA,IAAiBC,gBAAA,EACjBC,UAAA,EACAC,yBAAA,QACK;AAEP,SAASC,YAAA,QAAoB;AAI7B,SACEC,2BAAA,EACAC,kBAAA,EACAC,mBAAA,QAEK;AA8BP,cAAc;AAQL,SAAAC,GAAA;AALF,MAAMd,eAAA,GAAmBe,KAAA,KAC9BN,yBAAA,CAA0B,MAAM;IAC9BX,MAAA,CAAO;EACT,GAAG,EAAE,GAEE,eAAAgB,GAAA,CAACb,kBAAA;IAAoB,GAAGc;EAAA,CAAO;EAI3BT,aAAA,GAA0CU,IAAA,IAM9CT,gBAAA,CAAiBS,IAAI;EAGxBC,SAAA,GAAYP,YAAA,CAAa;AAI/BF,UAAA,CAAW;EACTE,YAAA;EAEAQ,eAAA,EAAkBC,IAAA,IAAS;IAGnBA,IAAA,IAAQ,CAACA,IAAA,CAAKC,OAAA,KAChBD,IAAA,CAAKC,OAAA,KAAYzB,aAAA,CAAcwB,IAAI,GACnCA,IAAA,CAAKE,eAAA,KAAoBzB,qBAAA,CAAsBuB,IAAI,GACnDA,IAAA,CAAKG,aAAA,KAAkBzB,mBAAA,CAAoBsB,IAAI;EAGrD;EAEAI,kBAAkBC,WAAA,EAAaC,OAAA,EAASC,QAAA,EAAUC,WAAA,EAAa;IACnB;MACxC,MAAMC,KAAA,GAAQ,OAAOJ,WAAA,IAAgB;QAG/B;UAAA;UAEJK,wBAAA;UACAC,+BAAA;UACAC,cAAA;UACAC,gBAAA;UACAC,eAAA;UACAC,iBAAA;UACAC,kBAAA;UACAC,gBAAA;UACAC,oBAAA;UACAC,6BAAA;UACAC,0BAAA;UACAC,iCAAA;UACAC,mCAAA;UACAC,0CAAA;UACAC,yBAAA;UACAC,gCAAA;UAAA;UAGAC,WAAA;UACAC,SAAA;UAAA;UAGAC,UAAA;UACAC,qBAAA;UAEAC,QAAA;UACAC,SAAA;UAEA,GAAGC;QACL,IAAI1B,OAAA;MAQJ,KANIE,WAAA,IAAeC,KAAA,KACjB7B,gBAAA,CAAiB2B,QAAA,EAAWE,KAAA,GAAqBqB,QAAA,GAAb,MAA6B,GAK/DrB,KAAA,EAAO;QAET,IAAIuB,aAAA,CAAcC,IAAA,IAAQF,SAAA,EAAW;UACnC,MAAM;YAAEG,QAAA;YAAUC,GAAA;YAAKC;UAAO,IAAIL,SAAA;UAC9BG,QAAA,IAAY,SACdF,aAAA,CAAcE,QAAA,GAAWA,QAAA,GAEvBC,GAAA,KACFH,aAAA,CAAcG,GAAA,GAAMA,GAAA,GAElB,OAAOC,MAAA,IAAW,aACpBJ,aAAA,CAAcI,MAAA,GAASA,MAAA,CAAOC,MAAA,CAAO,CAAC,MAAM,MAAM,IAAID,MAAM,KAAKA,MAAA;QAErE;QACA,OAAOJ,aAAA;MACT;IACF;EACF;AAgBF,CAAC;AAIM,MAAM/C,IAAA,GAAOC,OAAA;EACPH,IAAA,GAAOC,OAAA","ignoreList":[]}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from "@tamagui/web";
|
|
2
|
-
import "@tamagui/react-native-media-driver";
|
|
3
2
|
import { createMeasure, createMeasureInWindow, createMeasureLayout, enable, useElementLayout } from "@tamagui/use-element-layout";
|
|
4
3
|
import { TamaguiProvider as WebTamaguiProvider, Text as WebText, View as WebView, createTamagui as createTamaguiWeb, setupHooks, useIsomorphicLayoutEffect } from "@tamagui/web";
|
|
5
|
-
import "./createOptimizedView.mjs";
|
|
6
4
|
import { getBaseViews } from "./getBaseViews.mjs";
|
|
7
5
|
import { LayoutMeasurementController, registerLayoutNode, setOnLayoutStrategy } from "@tamagui/use-element-layout";
|
|
8
6
|
export * from "./reactNativeTypes.mjs";
|
package/dist/esm/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createMeasure","createMeasureInWindow","createMeasureLayout","enable","useElementLayout","TamaguiProvider","WebTamaguiProvider","Text","WebText","View","WebView","createTamagui","createTamaguiWeb","setupHooks","useIsomorphicLayoutEffect","getBaseViews","LayoutMeasurementController","registerLayoutNode","setOnLayoutStrategy","jsx","props","conf","baseViews","setElementProps","node","measure","measureInWindow","measureLayout","usePropsTransform","elementType","propsIn","stateRef","willHydrate","isDOM","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","collapsable","focusable","accessible","accessibilityDisabled","onLayout","hrefAttrs","plainDOMProps","href","download","rel","target","charAt"],"sources":["../../src/index.tsx"],"sourcesContent":[null],"mappings":"AACA,cAAc;
|
|
1
|
+
{"version":3,"names":["createMeasure","createMeasureInWindow","createMeasureLayout","enable","useElementLayout","TamaguiProvider","WebTamaguiProvider","Text","WebText","View","WebView","createTamagui","createTamaguiWeb","setupHooks","useIsomorphicLayoutEffect","getBaseViews","LayoutMeasurementController","registerLayoutNode","setOnLayoutStrategy","jsx","props","conf","baseViews","setElementProps","node","measure","measureInWindow","measureLayout","usePropsTransform","elementType","propsIn","stateRef","willHydrate","isDOM","onMoveShouldSetResponder","onMoveShouldSetResponderCapture","onResponderEnd","onResponderGrant","onResponderMove","onResponderReject","onResponderRelease","onResponderStart","onResponderTerminate","onResponderTerminationRequest","onScrollShouldSetResponder","onScrollShouldSetResponderCapture","onSelectionChangeShouldSetResponder","onSelectionChangeShouldSetResponderCapture","onStartShouldSetResponder","onStartShouldSetResponderCapture","collapsable","focusable","accessible","accessibilityDisabled","onLayout","hrefAttrs","plainDOMProps","href","download","rel","target","charAt"],"sources":["../../src/index.tsx"],"sourcesContent":[null],"mappings":"AACA,cAAc;AAGd,SACEA,aAAA,EACAC,qBAAA,EACAC,mBAAA,EACAC,MAAA,EACAC,gBAAA,QACK;AAaP,SACEC,eAAA,IAAmBC,kBAAA,EACnBC,IAAA,IAAQC,OAAA,EACRC,IAAA,IAAQC,OAAA,EACRC,aAAA,IAAiBC,gBAAA,EACjBC,UAAA,EACAC,yBAAA,QACK;AAEP,SAASC,YAAA,QAAoB;AAI7B,SACEC,2BAAA,EACAC,kBAAA,EACAC,mBAAA,QAEK;AA8BP,cAAc;AAQL,SAAAC,GAAA;AALF,MAAMd,eAAA,GAAmBe,KAAA,KAC9BN,yBAAA,CAA0B,MAAM;IAC9BX,MAAA,CAAO;EACT,GAAG,EAAE,GAEE,eAAAgB,GAAA,CAACb,kBAAA;IAAoB,GAAGc;EAAA,CAAO;EAI3BT,aAAA,GAA0CU,IAAA,IAM9CT,gBAAA,CAAiBS,IAAI;EAGxBC,SAAA,GAAYP,YAAA,CAAa;AAI/BF,UAAA,CAAW;EACTE,YAAA;EAEAQ,eAAA,EAAkBC,IAAA,IAAS;IAGnBA,IAAA,IAAQ,CAACA,IAAA,CAAKC,OAAA,KAChBD,IAAA,CAAKC,OAAA,KAAYzB,aAAA,CAAcwB,IAAI,GACnCA,IAAA,CAAKE,eAAA,KAAoBzB,qBAAA,CAAsBuB,IAAI,GACnDA,IAAA,CAAKG,aAAA,KAAkBzB,mBAAA,CAAoBsB,IAAI;EAGrD;EAEAI,kBAAkBC,WAAA,EAAaC,OAAA,EAASC,QAAA,EAAUC,WAAA,EAAa;IACnB;MACxC,MAAMC,KAAA,GAAQ,OAAOJ,WAAA,IAAgB;QAG/B;UAAA;UAEJK,wBAAA;UACAC,+BAAA;UACAC,cAAA;UACAC,gBAAA;UACAC,eAAA;UACAC,iBAAA;UACAC,kBAAA;UACAC,gBAAA;UACAC,oBAAA;UACAC,6BAAA;UACAC,0BAAA;UACAC,iCAAA;UACAC,mCAAA;UACAC,0CAAA;UACAC,yBAAA;UACAC,gCAAA;UAAA;UAGAC,WAAA;UACAC,SAAA;UAAA;UAGAC,UAAA;UACAC,qBAAA;UAEAC,QAAA;UACAC,SAAA;UAEA,GAAGC;QACL,IAAI1B,OAAA;MAQJ,KANIE,WAAA,IAAeC,KAAA,KACjB7B,gBAAA,CAAiB2B,QAAA,EAAWE,KAAA,GAAqBqB,QAAA,GAAb,MAA6B,GAK/DrB,KAAA,EAAO;QAET,IAAIuB,aAAA,CAAcC,IAAA,IAAQF,SAAA,EAAW;UACnC,MAAM;YAAEG,QAAA;YAAUC,GAAA;YAAKC;UAAO,IAAIL,SAAA;UAC9BG,QAAA,IAAY,SACdF,aAAA,CAAcE,QAAA,GAAWA,QAAA,GAEvBC,GAAA,KACFH,aAAA,CAAcG,GAAA,GAAMA,GAAA,GAElB,OAAOC,MAAA,IAAW,aACpBJ,aAAA,CAAcI,MAAA,GAASA,MAAA,CAAOC,MAAA,CAAO,CAAC,MAAM,MAAM,IAAID,MAAM,KAAKA,MAAA;QAErE;QACA,OAAOJ,aAAA;MACT;IACF;EACF;AAgBF,CAAC;AAIM,MAAM/C,IAAA,GAAOC,OAAA;EACPH,IAAA,GAAOC,OAAA","ignoreList":[]}
|
package/dist/native.cjs
CHANGED
|
@@ -7581,76 +7581,6 @@ function resolvePlatformNames(nativeProp) {
|
|
|
7581
7581
|
) : Array.isArray(nativeProp) ? nativeProp : [nativeProp], set = new Set(platforms2);
|
|
7582
7582
|
return set.has("mobile") && (set.add("android"), set.add("ios"), set.delete("mobile")), set;
|
|
7583
7583
|
}
|
|
7584
|
-
var nonAnimatableWebViewProps = {
|
|
7585
|
-
backgroundAttachment: true,
|
|
7586
|
-
backgroundBlendMode: true,
|
|
7587
|
-
backgroundClip: true,
|
|
7588
|
-
backgroundOrigin: true,
|
|
7589
|
-
backgroundRepeat: true,
|
|
7590
|
-
borderBottomStyle: true,
|
|
7591
|
-
borderLeftStyle: true,
|
|
7592
|
-
borderRightStyle: true,
|
|
7593
|
-
borderTopStyle: true,
|
|
7594
|
-
contain: true,
|
|
7595
|
-
containerType: true,
|
|
7596
|
-
content: true,
|
|
7597
|
-
float: true,
|
|
7598
|
-
maskBorderMode: true,
|
|
7599
|
-
maskBorderRepeat: true,
|
|
7600
|
-
maskClip: true,
|
|
7601
|
-
maskComposite: true,
|
|
7602
|
-
maskMode: true,
|
|
7603
|
-
maskOrigin: true,
|
|
7604
|
-
maskRepeat: true,
|
|
7605
|
-
maskType: true,
|
|
7606
|
-
objectFit: true,
|
|
7607
|
-
overflowBlock: true,
|
|
7608
|
-
overflowInline: true,
|
|
7609
|
-
overflowX: true,
|
|
7610
|
-
overflowY: true,
|
|
7611
|
-
// NOTE: pointerEvents is NOT web-only - it's a core React Native View prop (not a style)
|
|
7612
|
-
pointerEvents: true,
|
|
7613
|
-
scrollbarWidth: true,
|
|
7614
|
-
textWrap: true,
|
|
7615
|
-
touchAction: true,
|
|
7616
|
-
transformStyle: true,
|
|
7617
|
-
willChange: true
|
|
7618
|
-
}, nonAnimatableWebTextProps = {
|
|
7619
|
-
whiteSpace: true,
|
|
7620
|
-
wordWrap: true,
|
|
7621
|
-
textOverflow: true,
|
|
7622
|
-
WebkitBoxOrient: true
|
|
7623
|
-
}, webOnlyStylePropsView = __spreadProps(__spreadValues({}, nonAnimatableWebViewProps), {
|
|
7624
|
-
transition: true,
|
|
7625
|
-
backdropFilter: true,
|
|
7626
|
-
WebkitBackdropFilter: true,
|
|
7627
|
-
background: true,
|
|
7628
|
-
borderTop: true,
|
|
7629
|
-
borderRight: true,
|
|
7630
|
-
borderBottom: true,
|
|
7631
|
-
borderLeft: true,
|
|
7632
|
-
backgroundPosition: true,
|
|
7633
|
-
backgroundSize: true,
|
|
7634
|
-
borderImage: true,
|
|
7635
|
-
caretColor: true,
|
|
7636
|
-
clipPath: true,
|
|
7637
|
-
mask: true,
|
|
7638
|
-
maskBorder: true,
|
|
7639
|
-
maskBorderOutset: true,
|
|
7640
|
-
maskBorderSlice: true,
|
|
7641
|
-
maskBorderSource: true,
|
|
7642
|
-
maskBorderWidth: true,
|
|
7643
|
-
maskImage: true,
|
|
7644
|
-
maskPosition: true,
|
|
7645
|
-
maskSize: true,
|
|
7646
|
-
objectPosition: true,
|
|
7647
|
-
textEmphasis: true,
|
|
7648
|
-
userSelect: true
|
|
7649
|
-
}), webOnlyStylePropsText = __spreadProps(__spreadValues({}, nonAnimatableWebTextProps), {
|
|
7650
|
-
textDecorationDistance: true,
|
|
7651
|
-
// cursor: now cross-platform - in stylePropsView
|
|
7652
|
-
WebkitLineClamp: true
|
|
7653
|
-
});
|
|
7654
7584
|
var cssShorthandLonghands = {
|
|
7655
7585
|
// border longhands
|
|
7656
7586
|
borderWidth: true,
|
|
@@ -7920,6 +7850,76 @@ var cssShorthandLonghands = {
|
|
|
7920
7850
|
var Decorated = /* @__PURE__ */ Symbol(), withStaticProperties = function(component, staticProps) {
|
|
7921
7851
|
return Object.assign(component, staticProps), component[Decorated] = true, component;
|
|
7922
7852
|
};
|
|
7853
|
+
var nonAnimatableWebViewProps = {
|
|
7854
|
+
backgroundAttachment: true,
|
|
7855
|
+
backgroundBlendMode: true,
|
|
7856
|
+
backgroundClip: true,
|
|
7857
|
+
backgroundOrigin: true,
|
|
7858
|
+
backgroundRepeat: true,
|
|
7859
|
+
borderBottomStyle: true,
|
|
7860
|
+
borderLeftStyle: true,
|
|
7861
|
+
borderRightStyle: true,
|
|
7862
|
+
borderTopStyle: true,
|
|
7863
|
+
contain: true,
|
|
7864
|
+
containerType: true,
|
|
7865
|
+
content: true,
|
|
7866
|
+
float: true,
|
|
7867
|
+
maskBorderMode: true,
|
|
7868
|
+
maskBorderRepeat: true,
|
|
7869
|
+
maskClip: true,
|
|
7870
|
+
maskComposite: true,
|
|
7871
|
+
maskMode: true,
|
|
7872
|
+
maskOrigin: true,
|
|
7873
|
+
maskRepeat: true,
|
|
7874
|
+
maskType: true,
|
|
7875
|
+
objectFit: true,
|
|
7876
|
+
overflowBlock: true,
|
|
7877
|
+
overflowInline: true,
|
|
7878
|
+
overflowX: true,
|
|
7879
|
+
overflowY: true,
|
|
7880
|
+
// NOTE: pointerEvents is NOT web-only - it's a core React Native View prop (not a style)
|
|
7881
|
+
pointerEvents: true,
|
|
7882
|
+
scrollbarWidth: true,
|
|
7883
|
+
textWrap: true,
|
|
7884
|
+
touchAction: true,
|
|
7885
|
+
transformStyle: true,
|
|
7886
|
+
willChange: true
|
|
7887
|
+
}, nonAnimatableWebTextProps = {
|
|
7888
|
+
whiteSpace: true,
|
|
7889
|
+
wordWrap: true,
|
|
7890
|
+
textOverflow: true,
|
|
7891
|
+
WebkitBoxOrient: true
|
|
7892
|
+
}, webOnlyStylePropsView = __spreadProps(__spreadValues({}, nonAnimatableWebViewProps), {
|
|
7893
|
+
transition: true,
|
|
7894
|
+
backdropFilter: true,
|
|
7895
|
+
WebkitBackdropFilter: true,
|
|
7896
|
+
background: true,
|
|
7897
|
+
borderTop: true,
|
|
7898
|
+
borderRight: true,
|
|
7899
|
+
borderBottom: true,
|
|
7900
|
+
borderLeft: true,
|
|
7901
|
+
backgroundPosition: true,
|
|
7902
|
+
backgroundSize: true,
|
|
7903
|
+
borderImage: true,
|
|
7904
|
+
caretColor: true,
|
|
7905
|
+
clipPath: true,
|
|
7906
|
+
mask: true,
|
|
7907
|
+
maskBorder: true,
|
|
7908
|
+
maskBorderOutset: true,
|
|
7909
|
+
maskBorderSlice: true,
|
|
7910
|
+
maskBorderSource: true,
|
|
7911
|
+
maskBorderWidth: true,
|
|
7912
|
+
maskImage: true,
|
|
7913
|
+
maskPosition: true,
|
|
7914
|
+
maskSize: true,
|
|
7915
|
+
objectPosition: true,
|
|
7916
|
+
textEmphasis: true,
|
|
7917
|
+
userSelect: true
|
|
7918
|
+
}), webOnlyStylePropsText = __spreadProps(__spreadValues({}, nonAnimatableWebTextProps), {
|
|
7919
|
+
textDecorationDistance: true,
|
|
7920
|
+
// cursor: now cross-platform - in stylePropsView
|
|
7921
|
+
WebkitLineClamp: true
|
|
7922
|
+
});
|
|
7923
7923
|
function _type_of$6(obj) {
|
|
7924
7924
|
"@swc/helpers - typeof";
|
|
7925
7925
|
return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
@@ -8618,18 +8618,6 @@ var nativeStyle = "borderStyle", borderDefaults = {
|
|
|
8618
8618
|
var empty = function() {
|
|
8619
8619
|
console.warn("no-op native");
|
|
8620
8620
|
}, getCSSStylesAtomic = empty, getStyleAtomic = empty, styleToCSS = empty;
|
|
8621
|
-
function scanAllSheets() {
|
|
8622
|
-
if (!process.env.TAMAGUI_DID_OUTPUT_CSS) {
|
|
8623
|
-
return;
|
|
8624
|
-
}
|
|
8625
|
-
}
|
|
8626
|
-
process.env.TAMAGUI_BAIL_AFTER_SCANNING_X_CSS_RULES;
|
|
8627
|
-
function setNonce(_2) {
|
|
8628
|
-
}
|
|
8629
|
-
function insertStyleRules(rulesToInsert) {
|
|
8630
|
-
return;
|
|
8631
|
-
}
|
|
8632
|
-
process.env.TAMAGUI_INSERT_SELECTOR_TRIES ? +process.env.TAMAGUI_INSERT_SELECTOR_TRIES : 1;
|
|
8633
8621
|
function isActivePlatform(key) {
|
|
8634
8622
|
if (!key.startsWith("$platform")) return true;
|
|
8635
8623
|
var platform = key.slice(10);
|
|
@@ -8856,6 +8844,14 @@ function setLastFontFamilyToken(value) {
|
|
|
8856
8844
|
var getTokenForKey = function(key, value, styleProps2, styleState) {
|
|
8857
8845
|
var _staticConfig_accept, resolveAs = styleProps2.resolveValues || "none";
|
|
8858
8846
|
if (resolveAs === "none") return value;
|
|
8847
|
+
var opacityModifier;
|
|
8848
|
+
if (key in (tokenCategories.color || {})) {
|
|
8849
|
+
var slashIdx = value.indexOf("/");
|
|
8850
|
+
if (slashIdx > 0) {
|
|
8851
|
+
var num = Number(value.slice(slashIdx + 1));
|
|
8852
|
+
Number.isNaN(num) || (opacityModifier = num / 100, value = value.slice(0, slashIdx));
|
|
8853
|
+
}
|
|
8854
|
+
}
|
|
8859
8855
|
var {
|
|
8860
8856
|
theme,
|
|
8861
8857
|
conf: conf2 = getConfig(),
|
|
@@ -8903,6 +8899,10 @@ var getTokenForKey = function(key, value, styleProps2, styleState) {
|
|
|
8903
8899
|
}
|
|
8904
8900
|
if (hasSet) {
|
|
8905
8901
|
var out = resolveVariableValue(key, valOrVar, resolveAs);
|
|
8902
|
+
if (opacityModifier !== void 0 && opacityModifier < 1) {
|
|
8903
|
+
var _normalizeColor;
|
|
8904
|
+
out = (_normalizeColor = normalizeColor(String(out), opacityModifier)) !== null && _normalizeColor !== void 0 ? _normalizeColor : out;
|
|
8905
|
+
}
|
|
8906
8906
|
return out;
|
|
8907
8907
|
}
|
|
8908
8908
|
};
|
|
@@ -10201,8 +10201,6 @@ function themeable(Component, staticConfig) {
|
|
|
10201
10201
|
}), withTheme = withThemeComponent;
|
|
10202
10202
|
return withTheme.displayName = `Themed(${(Component == null ? void 0 : Component.displayName) || (Component == null ? void 0 : Component.name) || "Anonymous"})`, withTheme;
|
|
10203
10203
|
}
|
|
10204
|
-
function getStyleTags(styles2) {
|
|
10205
|
-
}
|
|
10206
10204
|
var ClientOnlyContext = /* @__PURE__ */ React.createContext(false), ClientOnly = function(param) {
|
|
10207
10205
|
var {
|
|
10208
10206
|
children,
|
|
@@ -10738,7 +10736,9 @@ function createComponent(staticConfig) {
|
|
|
10738
10736
|
}), attachFocus && {
|
|
10739
10737
|
onFocus: function(e) {
|
|
10740
10738
|
var next = {};
|
|
10741
|
-
componentContext.setParentFocusState && (
|
|
10739
|
+
componentContext.setParentFocusState && (componentContext.setParentFocusState({
|
|
10740
|
+
focusWithin: true
|
|
10741
|
+
}), next.focusWithin = true), (pseudos == null ? void 0 : pseudos.focusVisibleStyle) && lastInteractionWasKeyboard.value ? next.focusVisible = true : next.focus = true, setStateShallow(next), onFocus == null ? void 0 : onFocus(e);
|
|
10742
10742
|
},
|
|
10743
10743
|
onBlur: function(e) {
|
|
10744
10744
|
componentContext.setParentFocusState && componentContext.setParentFocusState({
|
|
@@ -10794,7 +10794,7 @@ function createComponent(staticConfig) {
|
|
|
10794
10794
|
if (renderReset && ResetPresence && (content = /* @__PURE__ */ jsxRuntime.jsx(ResetPresence, {
|
|
10795
10795
|
disabled: !needsReset,
|
|
10796
10796
|
children: content
|
|
10797
|
-
})), "focusWithinStyle" in propsIn && (content = /* @__PURE__ */ jsxRuntime.jsx(ComponentContext.Provider, __spreadProps(__spreadValues({}, componentContext), {
|
|
10797
|
+
})), ("focusWithinStyle" in propsIn || (pseudos == null ? void 0 : pseudos.focusWithinStyle)) && (content = /* @__PURE__ */ jsxRuntime.jsx(ComponentContext.Provider, __spreadProps(__spreadValues({}, componentContext), {
|
|
10798
10798
|
setParentFocusState: setStateShallow,
|
|
10799
10799
|
children: content
|
|
10800
10800
|
}))), "group" in props && (content = /* @__PURE__ */ jsxRuntime.jsx(GroupContext.Provider, {
|
|
@@ -10884,6 +10884,18 @@ var registerCSSVariable = function(v) {
|
|
|
10884
10884
|
var unitless = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
10885
10885
|
return process.env.TAMAGUI_DID_OUTPUT_CSS ? "" : `--${process.env.TAMAGUI_CSS_VARIABLE_PREFIX || ""}${createCSSVariable(v.name, false)}:${!unitless && typeof v.val == "number" ? `${v.val}px` : v.val}`;
|
|
10886
10886
|
}, tokensValueToVariable = /* @__PURE__ */ new Map(), autoVariables = [], mutatedAutoVariables = [];
|
|
10887
|
+
function scanAllSheets() {
|
|
10888
|
+
if (!process.env.TAMAGUI_DID_OUTPUT_CSS) {
|
|
10889
|
+
return;
|
|
10890
|
+
}
|
|
10891
|
+
}
|
|
10892
|
+
process.env.TAMAGUI_BAIL_AFTER_SCANNING_X_CSS_RULES;
|
|
10893
|
+
function setNonce(_2) {
|
|
10894
|
+
}
|
|
10895
|
+
function insertStyleRules(rulesToInsert) {
|
|
10896
|
+
return;
|
|
10897
|
+
}
|
|
10898
|
+
process.env.TAMAGUI_INSERT_SELECTOR_TRIES ? +process.env.TAMAGUI_INSERT_SELECTOR_TRIES : 1;
|
|
10887
10899
|
function isTamaguiComponent(comp, name) {
|
|
10888
10900
|
var config = comp == null ? void 0 : comp.staticConfig;
|
|
10889
10901
|
return !!(config && (!name || name === config.componentName));
|
|
@@ -11002,6 +11014,8 @@ function ensureThemeVariable(theme, key) {
|
|
|
11002
11014
|
val
|
|
11003
11015
|
});
|
|
11004
11016
|
}
|
|
11017
|
+
function getStyleTags(styles2) {
|
|
11018
|
+
}
|
|
11005
11019
|
var fontWeights = ["100", "200", "300", "400", "500", "600", "700", "800", "900"], processSection = function(section, keys, defaultValue2) {
|
|
11006
11020
|
if (typeof section == "string") return section;
|
|
11007
11021
|
var sectionKeys = Object.keys(section), fillValue = section[sectionKeys[0]];
|
package/dist/test.native.cjs
CHANGED
|
@@ -606,76 +606,6 @@ function resolvePlatformNames(nativeProp) {
|
|
|
606
606
|
) : Array.isArray(nativeProp) ? nativeProp : [nativeProp], set = new Set(platforms2);
|
|
607
607
|
return set.has("mobile") && (set.add("android"), set.add("ios"), set.delete("mobile")), set;
|
|
608
608
|
}
|
|
609
|
-
var nonAnimatableWebViewProps = {
|
|
610
|
-
backgroundAttachment: true,
|
|
611
|
-
backgroundBlendMode: true,
|
|
612
|
-
backgroundClip: true,
|
|
613
|
-
backgroundOrigin: true,
|
|
614
|
-
backgroundRepeat: true,
|
|
615
|
-
borderBottomStyle: true,
|
|
616
|
-
borderLeftStyle: true,
|
|
617
|
-
borderRightStyle: true,
|
|
618
|
-
borderTopStyle: true,
|
|
619
|
-
contain: true,
|
|
620
|
-
containerType: true,
|
|
621
|
-
content: true,
|
|
622
|
-
float: true,
|
|
623
|
-
maskBorderMode: true,
|
|
624
|
-
maskBorderRepeat: true,
|
|
625
|
-
maskClip: true,
|
|
626
|
-
maskComposite: true,
|
|
627
|
-
maskMode: true,
|
|
628
|
-
maskOrigin: true,
|
|
629
|
-
maskRepeat: true,
|
|
630
|
-
maskType: true,
|
|
631
|
-
objectFit: true,
|
|
632
|
-
overflowBlock: true,
|
|
633
|
-
overflowInline: true,
|
|
634
|
-
overflowX: true,
|
|
635
|
-
overflowY: true,
|
|
636
|
-
// NOTE: pointerEvents is NOT web-only - it's a core React Native View prop (not a style)
|
|
637
|
-
pointerEvents: true,
|
|
638
|
-
scrollbarWidth: true,
|
|
639
|
-
textWrap: true,
|
|
640
|
-
touchAction: true,
|
|
641
|
-
transformStyle: true,
|
|
642
|
-
willChange: true
|
|
643
|
-
}, nonAnimatableWebTextProps = {
|
|
644
|
-
whiteSpace: true,
|
|
645
|
-
wordWrap: true,
|
|
646
|
-
textOverflow: true,
|
|
647
|
-
WebkitBoxOrient: true
|
|
648
|
-
}, webOnlyStylePropsView = __spreadProps(__spreadValues({}, nonAnimatableWebViewProps), {
|
|
649
|
-
transition: true,
|
|
650
|
-
backdropFilter: true,
|
|
651
|
-
WebkitBackdropFilter: true,
|
|
652
|
-
background: true,
|
|
653
|
-
borderTop: true,
|
|
654
|
-
borderRight: true,
|
|
655
|
-
borderBottom: true,
|
|
656
|
-
borderLeft: true,
|
|
657
|
-
backgroundPosition: true,
|
|
658
|
-
backgroundSize: true,
|
|
659
|
-
borderImage: true,
|
|
660
|
-
caretColor: true,
|
|
661
|
-
clipPath: true,
|
|
662
|
-
mask: true,
|
|
663
|
-
maskBorder: true,
|
|
664
|
-
maskBorderOutset: true,
|
|
665
|
-
maskBorderSlice: true,
|
|
666
|
-
maskBorderSource: true,
|
|
667
|
-
maskBorderWidth: true,
|
|
668
|
-
maskImage: true,
|
|
669
|
-
maskPosition: true,
|
|
670
|
-
maskSize: true,
|
|
671
|
-
objectPosition: true,
|
|
672
|
-
textEmphasis: true,
|
|
673
|
-
userSelect: true
|
|
674
|
-
}), webOnlyStylePropsText = __spreadProps(__spreadValues({}, nonAnimatableWebTextProps), {
|
|
675
|
-
textDecorationDistance: true,
|
|
676
|
-
// cursor: now cross-platform - in stylePropsView
|
|
677
|
-
WebkitLineClamp: true
|
|
678
|
-
});
|
|
679
609
|
var cssShorthandLonghands = {
|
|
680
610
|
// border longhands
|
|
681
611
|
borderWidth: true,
|
|
@@ -945,6 +875,76 @@ var cssShorthandLonghands = {
|
|
|
945
875
|
var Decorated = /* @__PURE__ */ Symbol(), withStaticProperties = function(component, staticProps) {
|
|
946
876
|
return Object.assign(component, staticProps), component[Decorated] = true, component;
|
|
947
877
|
};
|
|
878
|
+
var nonAnimatableWebViewProps = {
|
|
879
|
+
backgroundAttachment: true,
|
|
880
|
+
backgroundBlendMode: true,
|
|
881
|
+
backgroundClip: true,
|
|
882
|
+
backgroundOrigin: true,
|
|
883
|
+
backgroundRepeat: true,
|
|
884
|
+
borderBottomStyle: true,
|
|
885
|
+
borderLeftStyle: true,
|
|
886
|
+
borderRightStyle: true,
|
|
887
|
+
borderTopStyle: true,
|
|
888
|
+
contain: true,
|
|
889
|
+
containerType: true,
|
|
890
|
+
content: true,
|
|
891
|
+
float: true,
|
|
892
|
+
maskBorderMode: true,
|
|
893
|
+
maskBorderRepeat: true,
|
|
894
|
+
maskClip: true,
|
|
895
|
+
maskComposite: true,
|
|
896
|
+
maskMode: true,
|
|
897
|
+
maskOrigin: true,
|
|
898
|
+
maskRepeat: true,
|
|
899
|
+
maskType: true,
|
|
900
|
+
objectFit: true,
|
|
901
|
+
overflowBlock: true,
|
|
902
|
+
overflowInline: true,
|
|
903
|
+
overflowX: true,
|
|
904
|
+
overflowY: true,
|
|
905
|
+
// NOTE: pointerEvents is NOT web-only - it's a core React Native View prop (not a style)
|
|
906
|
+
pointerEvents: true,
|
|
907
|
+
scrollbarWidth: true,
|
|
908
|
+
textWrap: true,
|
|
909
|
+
touchAction: true,
|
|
910
|
+
transformStyle: true,
|
|
911
|
+
willChange: true
|
|
912
|
+
}, nonAnimatableWebTextProps = {
|
|
913
|
+
whiteSpace: true,
|
|
914
|
+
wordWrap: true,
|
|
915
|
+
textOverflow: true,
|
|
916
|
+
WebkitBoxOrient: true
|
|
917
|
+
}, webOnlyStylePropsView = __spreadProps(__spreadValues({}, nonAnimatableWebViewProps), {
|
|
918
|
+
transition: true,
|
|
919
|
+
backdropFilter: true,
|
|
920
|
+
WebkitBackdropFilter: true,
|
|
921
|
+
background: true,
|
|
922
|
+
borderTop: true,
|
|
923
|
+
borderRight: true,
|
|
924
|
+
borderBottom: true,
|
|
925
|
+
borderLeft: true,
|
|
926
|
+
backgroundPosition: true,
|
|
927
|
+
backgroundSize: true,
|
|
928
|
+
borderImage: true,
|
|
929
|
+
caretColor: true,
|
|
930
|
+
clipPath: true,
|
|
931
|
+
mask: true,
|
|
932
|
+
maskBorder: true,
|
|
933
|
+
maskBorderOutset: true,
|
|
934
|
+
maskBorderSlice: true,
|
|
935
|
+
maskBorderSource: true,
|
|
936
|
+
maskBorderWidth: true,
|
|
937
|
+
maskImage: true,
|
|
938
|
+
maskPosition: true,
|
|
939
|
+
maskSize: true,
|
|
940
|
+
objectPosition: true,
|
|
941
|
+
textEmphasis: true,
|
|
942
|
+
userSelect: true
|
|
943
|
+
}), webOnlyStylePropsText = __spreadProps(__spreadValues({}, nonAnimatableWebTextProps), {
|
|
944
|
+
textDecorationDistance: true,
|
|
945
|
+
// cursor: now cross-platform - in stylePropsView
|
|
946
|
+
WebkitLineClamp: true
|
|
947
|
+
});
|
|
948
948
|
function _type_of$6(obj) {
|
|
949
949
|
"@swc/helpers - typeof";
|
|
950
950
|
return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
@@ -2187,18 +2187,6 @@ var nativeStyle = "borderStyle", borderDefaults = {
|
|
|
2187
2187
|
var empty = function() {
|
|
2188
2188
|
console.warn("no-op native");
|
|
2189
2189
|
}, getCSSStylesAtomic = empty, getStyleAtomic = empty, styleToCSS = empty;
|
|
2190
|
-
function scanAllSheets() {
|
|
2191
|
-
if (!process.env.TAMAGUI_DID_OUTPUT_CSS) {
|
|
2192
|
-
return;
|
|
2193
|
-
}
|
|
2194
|
-
}
|
|
2195
|
-
process.env.TAMAGUI_BAIL_AFTER_SCANNING_X_CSS_RULES;
|
|
2196
|
-
function setNonce(_2) {
|
|
2197
|
-
}
|
|
2198
|
-
function insertStyleRules(rulesToInsert) {
|
|
2199
|
-
return;
|
|
2200
|
-
}
|
|
2201
|
-
process.env.TAMAGUI_INSERT_SELECTOR_TRIES ? +process.env.TAMAGUI_INSERT_SELECTOR_TRIES : 1;
|
|
2202
2190
|
function isActivePlatform(key) {
|
|
2203
2191
|
if (!key.startsWith("$platform")) return true;
|
|
2204
2192
|
var platform = key.slice(10);
|
|
@@ -2425,6 +2413,14 @@ function setLastFontFamilyToken(value) {
|
|
|
2425
2413
|
var getTokenForKey = function(key, value, styleProps, styleState) {
|
|
2426
2414
|
var _staticConfig_accept, resolveAs = styleProps.resolveValues || "none";
|
|
2427
2415
|
if (resolveAs === "none") return value;
|
|
2416
|
+
var opacityModifier;
|
|
2417
|
+
if (key in (tokenCategories.color || {})) {
|
|
2418
|
+
var slashIdx = value.indexOf("/");
|
|
2419
|
+
if (slashIdx > 0) {
|
|
2420
|
+
var num = Number(value.slice(slashIdx + 1));
|
|
2421
|
+
Number.isNaN(num) || (opacityModifier = num / 100, value = value.slice(0, slashIdx));
|
|
2422
|
+
}
|
|
2423
|
+
}
|
|
2428
2424
|
var {
|
|
2429
2425
|
theme,
|
|
2430
2426
|
conf: conf2 = getConfig(),
|
|
@@ -2472,6 +2468,10 @@ var getTokenForKey = function(key, value, styleProps, styleState) {
|
|
|
2472
2468
|
}
|
|
2473
2469
|
if (hasSet) {
|
|
2474
2470
|
var out = resolveVariableValue(key, valOrVar, resolveAs);
|
|
2471
|
+
if (opacityModifier !== void 0 && opacityModifier < 1) {
|
|
2472
|
+
var _normalizeColor;
|
|
2473
|
+
out = (_normalizeColor = normalizeColor(String(out), opacityModifier)) !== null && _normalizeColor !== void 0 ? _normalizeColor : out;
|
|
2474
|
+
}
|
|
2475
2475
|
return out;
|
|
2476
2476
|
}
|
|
2477
2477
|
};
|
|
@@ -3772,8 +3772,6 @@ function themeable(Component, staticConfig) {
|
|
|
3772
3772
|
}), withTheme = withThemeComponent;
|
|
3773
3773
|
return withTheme.displayName = `Themed(${(Component == null ? void 0 : Component.displayName) || (Component == null ? void 0 : Component.name) || "Anonymous"})`, withTheme;
|
|
3774
3774
|
}
|
|
3775
|
-
function getStyleTags(styles) {
|
|
3776
|
-
}
|
|
3777
3775
|
var ClientOnlyContext = /* @__PURE__ */ React.createContext(false), ClientOnly = function(param) {
|
|
3778
3776
|
var {
|
|
3779
3777
|
children,
|
|
@@ -4313,7 +4311,9 @@ function createComponent(staticConfig) {
|
|
|
4313
4311
|
}), attachFocus && {
|
|
4314
4312
|
onFocus: function(e) {
|
|
4315
4313
|
var next = {};
|
|
4316
|
-
componentContext.setParentFocusState && (
|
|
4314
|
+
componentContext.setParentFocusState && (componentContext.setParentFocusState({
|
|
4315
|
+
focusWithin: true
|
|
4316
|
+
}), next.focusWithin = true), (pseudos == null ? void 0 : pseudos.focusVisibleStyle) && lastInteractionWasKeyboard.value ? next.focusVisible = true : next.focus = true, setStateShallow(next), onFocus == null ? void 0 : onFocus(e);
|
|
4317
4317
|
},
|
|
4318
4318
|
onBlur: function(e) {
|
|
4319
4319
|
componentContext.setParentFocusState && componentContext.setParentFocusState({
|
|
@@ -4369,7 +4369,7 @@ function createComponent(staticConfig) {
|
|
|
4369
4369
|
if (renderReset && ResetPresence && (content = /* @__PURE__ */ jsxRuntime.jsx(ResetPresence, {
|
|
4370
4370
|
disabled: !needsReset,
|
|
4371
4371
|
children: content
|
|
4372
|
-
})), "focusWithinStyle" in propsIn && (content = /* @__PURE__ */ jsxRuntime.jsx(ComponentContext.Provider, __spreadProps(__spreadValues({}, componentContext), {
|
|
4372
|
+
})), ("focusWithinStyle" in propsIn || (pseudos == null ? void 0 : pseudos.focusWithinStyle)) && (content = /* @__PURE__ */ jsxRuntime.jsx(ComponentContext.Provider, __spreadProps(__spreadValues({}, componentContext), {
|
|
4373
4373
|
setParentFocusState: setStateShallow,
|
|
4374
4374
|
children: content
|
|
4375
4375
|
}))), "group" in props && (content = /* @__PURE__ */ jsxRuntime.jsx(GroupContext.Provider, {
|
|
@@ -4459,6 +4459,18 @@ var registerCSSVariable = function(v) {
|
|
|
4459
4459
|
var unitless = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
4460
4460
|
return process.env.TAMAGUI_DID_OUTPUT_CSS ? "" : `--${process.env.TAMAGUI_CSS_VARIABLE_PREFIX || ""}${createCSSVariable(v.name, false)}:${!unitless && typeof v.val == "number" ? `${v.val}px` : v.val}`;
|
|
4461
4461
|
}, tokensValueToVariable = /* @__PURE__ */ new Map(), autoVariables = [], mutatedAutoVariables = [];
|
|
4462
|
+
function scanAllSheets() {
|
|
4463
|
+
if (!process.env.TAMAGUI_DID_OUTPUT_CSS) {
|
|
4464
|
+
return;
|
|
4465
|
+
}
|
|
4466
|
+
}
|
|
4467
|
+
process.env.TAMAGUI_BAIL_AFTER_SCANNING_X_CSS_RULES;
|
|
4468
|
+
function setNonce(_2) {
|
|
4469
|
+
}
|
|
4470
|
+
function insertStyleRules(rulesToInsert) {
|
|
4471
|
+
return;
|
|
4472
|
+
}
|
|
4473
|
+
process.env.TAMAGUI_INSERT_SELECTOR_TRIES ? +process.env.TAMAGUI_INSERT_SELECTOR_TRIES : 1;
|
|
4462
4474
|
function isTamaguiComponent(comp, name) {
|
|
4463
4475
|
var config = comp == null ? void 0 : comp.staticConfig;
|
|
4464
4476
|
return !!(config && (!name || name === config.componentName));
|
|
@@ -4577,6 +4589,8 @@ function ensureThemeVariable(theme, key) {
|
|
|
4577
4589
|
val
|
|
4578
4590
|
});
|
|
4579
4591
|
}
|
|
4592
|
+
function getStyleTags(styles) {
|
|
4593
|
+
}
|
|
4580
4594
|
var fontWeights = ["100", "200", "300", "400", "500", "600", "700", "800", "900"], processSection = function(section, keys, defaultValue2) {
|
|
4581
4595
|
if (typeof section == "string") return section;
|
|
4582
4596
|
var sectionKeys = Object.keys(section), fillValue = section[sectionKeys[0]];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/core",
|
|
3
|
-
"version": "2.0.0-rc.26",
|
|
3
|
+
"version": "2.0.0-rc.26-1773683384816",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -79,17 +79,17 @@
|
|
|
79
79
|
"clean:build": "tamagui-build clean:build"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@tamagui/helpers": "2.0.0-rc.26",
|
|
83
|
-
"@tamagui/react-native-media-driver": "2.0.0-rc.26",
|
|
84
|
-
"@tamagui/react-native-use-pressable": "2.0.0-rc.26",
|
|
85
|
-
"@tamagui/use-element-layout": "2.0.0-rc.26",
|
|
86
|
-
"@tamagui/use-event": "2.0.0-rc.26",
|
|
87
|
-
"@tamagui/web": "2.0.0-rc.26"
|
|
82
|
+
"@tamagui/helpers": "2.0.0-rc.26-1773683384816",
|
|
83
|
+
"@tamagui/react-native-media-driver": "2.0.0-rc.26-1773683384816",
|
|
84
|
+
"@tamagui/react-native-use-pressable": "2.0.0-rc.26-1773683384816",
|
|
85
|
+
"@tamagui/use-element-layout": "2.0.0-rc.26-1773683384816",
|
|
86
|
+
"@tamagui/use-event": "2.0.0-rc.26-1773683384816",
|
|
87
|
+
"@tamagui/web": "2.0.0-rc.26-1773683384816"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@tamagui/build": "2.0.0-rc.26",
|
|
91
|
-
"@tamagui/native-bundle": "2.0.0-rc.26",
|
|
92
|
-
"@tamagui/react-native-web-lite": "2.0.0-rc.26",
|
|
90
|
+
"@tamagui/build": "2.0.0-rc.26-1773683384816",
|
|
91
|
+
"@tamagui/native-bundle": "2.0.0-rc.26-1773683384816",
|
|
92
|
+
"@tamagui/react-native-web-lite": "2.0.0-rc.26-1773683384816",
|
|
93
93
|
"@testing-library/react": "^16.1.0",
|
|
94
94
|
"csstype": "^3.0.10",
|
|
95
95
|
"react": ">=19",
|