@tamagui/static 1.99.1 → 1.100.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/checkDeps.native.js +53 -58
- package/dist/cjs/checkDeps.native.js.map +1 -1
- package/dist/cjs/extractor/bundle.native.js +65 -79
- package/dist/cjs/extractor/bundle.native.js.map +1 -1
- package/dist/cjs/extractor/bundleConfig.js +2 -4
- package/dist/cjs/extractor/bundleConfig.js.map +1 -1
- package/dist/cjs/extractor/bundleConfig.native.js +67 -83
- package/dist/cjs/extractor/bundleConfig.native.js.map +1 -1
- package/dist/cjs/extractor/createExtractor.js +8 -16
- package/dist/cjs/extractor/createExtractor.js.map +1 -1
- package/dist/cjs/extractor/createExtractor.native.js +70 -92
- package/dist/cjs/extractor/createExtractor.native.js.map +1 -1
- package/dist/cjs/extractor/extractHelpers.js +4 -8
- package/dist/cjs/extractor/extractHelpers.js.map +1 -1
- package/dist/cjs/extractor/extractHelpers.native.js +11 -22
- package/dist/cjs/extractor/extractHelpers.native.js.map +1 -1
- package/dist/cjs/extractor/extractMediaStyle.js +3 -6
- package/dist/cjs/extractor/extractMediaStyle.js.map +1 -1
- package/dist/cjs/extractor/extractMediaStyle.native.js +10 -20
- package/dist/cjs/extractor/extractMediaStyle.native.js.map +1 -1
- package/dist/cjs/extractor/extractToClassNames.js +5 -7
- package/dist/cjs/extractor/extractToClassNames.js.map +1 -1
- package/dist/cjs/extractor/extractToClassNames.native.js +66 -79
- package/dist/cjs/extractor/extractToClassNames.native.js.map +1 -1
- package/dist/cjs/extractor/generateTamaguiStudioConfig.js +3 -6
- package/dist/cjs/extractor/generateTamaguiStudioConfig.js.map +1 -1
- package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js +63 -78
- package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
- package/dist/cjs/extractor/generatedUid.native.js +2 -4
- package/dist/cjs/extractor/generatedUid.native.js.map +1 -1
- package/dist/cjs/extractor/getStaticBindingsForScope.js +4 -8
- package/dist/cjs/extractor/getStaticBindingsForScope.js.map +1 -1
- package/dist/cjs/extractor/getStaticBindingsForScope.native.js +82 -94
- package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +1 -1
- package/dist/cjs/extractor/hoistClassNames.js +1 -2
- package/dist/cjs/extractor/hoistClassNames.js.map +1 -1
- package/dist/cjs/extractor/hoistClassNames.native.js +1 -2
- package/dist/cjs/extractor/hoistClassNames.native.js.map +1 -1
- package/dist/cjs/extractor/literalToAst.native.js +6 -12
- package/dist/cjs/extractor/literalToAst.native.js.map +1 -1
- package/dist/cjs/extractor/loadTamagui.native.js +75 -92
- package/dist/cjs/extractor/loadTamagui.native.js.map +1 -1
- package/dist/cjs/extractor/normalizeTernaries.native.js +2 -4
- package/dist/cjs/extractor/normalizeTernaries.native.js.map +1 -1
- package/dist/cjs/extractor/removeUnusedHooks.js +2 -4
- package/dist/cjs/extractor/removeUnusedHooks.js.map +1 -1
- package/dist/cjs/extractor/removeUnusedHooks.native.js +4 -8
- package/dist/cjs/extractor/removeUnusedHooks.native.js.map +1 -1
- package/dist/cjs/extractor/watchTamaguiConfig.native.js +57 -63
- package/dist/cjs/extractor/watchTamaguiConfig.native.js.map +1 -1
- package/dist/cjs/server.native.js +53 -58
- package/dist/cjs/server.native.js.map +1 -1
- package/dist/esm/checkDeps.native.js +53 -58
- package/dist/esm/checkDeps.native.js.map +1 -1
- package/dist/esm/extractor/bundle.native.js +65 -79
- package/dist/esm/extractor/bundle.native.js.map +1 -1
- package/dist/esm/extractor/bundleConfig.js +2 -4
- package/dist/esm/extractor/bundleConfig.js.map +1 -1
- package/dist/esm/extractor/bundleConfig.native.js +67 -83
- package/dist/esm/extractor/bundleConfig.native.js.map +1 -1
- package/dist/esm/extractor/createExtractor.js +8 -16
- package/dist/esm/extractor/createExtractor.js.map +1 -1
- package/dist/esm/extractor/createExtractor.native.js +70 -92
- package/dist/esm/extractor/createExtractor.native.js.map +1 -1
- package/dist/esm/extractor/extractHelpers.js +4 -8
- package/dist/esm/extractor/extractHelpers.js.map +1 -1
- package/dist/esm/extractor/extractHelpers.native.js +11 -22
- package/dist/esm/extractor/extractHelpers.native.js.map +1 -1
- package/dist/esm/extractor/extractMediaStyle.js +3 -6
- package/dist/esm/extractor/extractMediaStyle.js.map +1 -1
- package/dist/esm/extractor/extractMediaStyle.native.js +10 -20
- package/dist/esm/extractor/extractMediaStyle.native.js.map +1 -1
- package/dist/esm/extractor/extractToClassNames.js +5 -7
- package/dist/esm/extractor/extractToClassNames.js.map +1 -1
- package/dist/esm/extractor/extractToClassNames.native.js +66 -79
- package/dist/esm/extractor/extractToClassNames.native.js.map +1 -1
- package/dist/esm/extractor/generateTamaguiStudioConfig.js +3 -6
- package/dist/esm/extractor/generateTamaguiStudioConfig.js.map +1 -1
- package/dist/esm/extractor/generateTamaguiStudioConfig.native.js +63 -78
- package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
- package/dist/esm/extractor/generatedUid.native.js +2 -4
- package/dist/esm/extractor/generatedUid.native.js.map +1 -1
- package/dist/esm/extractor/getStaticBindingsForScope.js +4 -8
- package/dist/esm/extractor/getStaticBindingsForScope.js.map +1 -1
- package/dist/esm/extractor/getStaticBindingsForScope.native.js +82 -94
- package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +1 -1
- package/dist/esm/extractor/hoistClassNames.js +1 -2
- package/dist/esm/extractor/hoistClassNames.js.map +1 -1
- package/dist/esm/extractor/hoistClassNames.native.js +1 -2
- package/dist/esm/extractor/hoistClassNames.native.js.map +1 -1
- package/dist/esm/extractor/literalToAst.native.js +6 -12
- package/dist/esm/extractor/literalToAst.native.js.map +1 -1
- package/dist/esm/extractor/loadTamagui.native.js +75 -92
- package/dist/esm/extractor/loadTamagui.native.js.map +1 -1
- package/dist/esm/extractor/normalizeTernaries.native.js +2 -4
- package/dist/esm/extractor/normalizeTernaries.native.js.map +1 -1
- package/dist/esm/extractor/removeUnusedHooks.js +2 -4
- package/dist/esm/extractor/removeUnusedHooks.js.map +1 -1
- package/dist/esm/extractor/removeUnusedHooks.native.js +4 -8
- package/dist/esm/extractor/removeUnusedHooks.native.js.map +1 -1
- package/dist/esm/extractor/watchTamaguiConfig.native.js +57 -63
- package/dist/esm/extractor/watchTamaguiConfig.native.js.map +1 -1
- package/dist/esm/server.native.js +53 -58
- package/dist/esm/server.native.js.map +1 -1
- package/package.json +15 -15
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/createExtractor.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AACA,uBAAmC,sBAGnC,kBAAqB,qCACrB,IAAmB,kCACnB,mBAAgC,+BAShC,0BAAyC,gDAEzC,mBAA4B,yBAC5B,4BAAmC,0CAWnC,yBAAqD,8BACrD,yBAAgC,8BAChC,wBASO,6BACP,6BAAoC,kCACpC,mCAA6D,wCAC7D,sBAA6B,2BAC7B,qBAA6C,0BAC7C,kBAAyB,uBACzB,4BAAmC,iCACnC,gCAAqC,qCACrC,2BAAkC,gCAClC,eAAsB,oBACtB,6BAAoC;AAlDP,SAAA,qBAAA,KAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoD7B,IAAMA,kBAAkB;EACtBC,KAAK;EACLC,OAAO;EACPC,WAAW;AACb,GAEMC,aAAa;EACjBC,UAAU;EACVC,UAAU;AACZ,GAEMC,gBAAgB,SAACC,GAAAA;SAAeA;GAMlCC,oBAAoB;AAExB,SAASC,gBAAgBC,OAAqB;AAC5C,SAAOA,MAAMC,qBAAqBD,M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,8BAAA,SAAA,WAAA,KAAA,GAAA,OAAA,6BAAA,IAAmB;AAAnB,cAAMxV,OAAN,OAAA;AACH0V,0DAAkB1V,MAAMvB,gBAAAA;QAC1B;;AAFK,6BAAA,IAAA,kBAAA;;;WAAA,8BAAA,WAAA,UAAA,QAAA,WAAA,OAAA;;cAAA;kBAAA;;;IAGP;AAEAkB,cAAGgW,KAAKlX,qBAAqB,SAAA,GAEtBwF;EACT;AACF;",
|
5
5
|
"names": ["UNTOUCHED_PROPS", "key", "style", "className", "validHooks", "useMedia", "useTheme", "createTernary", "x", "hasLoggedBaseInfo", "isFullyDisabled", "props", "disableExtraction", "disableDebugAttr", "createExtractor", "logger", "console", "platform", "INLINE_EXTRACTABLE", "ref", "onPress", "onHoverIn", "onHoverOut", "onPressIn", "onPressOut", "componentState", "focus", "focusVisible", "hover", "unmounted", "press", "pressIn", "disabled", "styleProps", "resolveValues", "noClassNames", "isAnimated", "shouldAddDebugProp", "process", "env", "npm_package_dependencies_next", "projectInfo", "loadSync", "loadTamaguiSync", "load", "loadTamagui", "options", "cleanupBeforeExit", "getTamagui", "tamaguiConfig", "parseSync", "f", "parseWithConfig", "parse", "fileOrPath", "components", "config", "importsWhitelist", "evaluateVars", "sourcePath", "onExtractTag", "onStyleRule", "getFlattenedNode", "disable", "disableExtractInlineMedia", "disableExtractVariables", "enableDynamicEvaluation", "includeExtensions", "extractStyledDefinitions", "prefixLogs", "excludeProps", "restProps", "includes", "requireTamaguiCore", "normalizeStyle", "getSplitStyles", "mediaQueryConfig", "propMapper", "proxyThemeVariables", "pseudoDescriptors", "shouldPrintDebug", "Array", "isArray", "Error", "some", "ext", "endsWith", "info", "join", "isValidStyleKey", "name", "staticConfig", "slice", "validStyles", "variants", "shorthands", "isTargetingHTML", "ogDebug", "tm", "timer", "propsWithFileInfo", "allLoadedComponents", "map", "comp", "Object", "keys", "nameToInfo", "DEBUG", "startsWith", "moduleName", "mark", "themes", "error", "exit", "firstThemeName", "firstTheme", "proxiedTheme", "themeAccessListeners", "Set", "defaultTheme", "Proxy", "get", "target", "Reflect", "has", "forEach", "cb", "String", "body", "type", "program", "length", "warn", "k", "JSON", "stringify", "getValidComponentsPaths", "doesUseValidImport", "hasImportedTheme", "importDeclarations", "bodyPath", "node", "source", "value", "valid", "isValidImport", "push", "specifiers", "specifier", "local", "names", "isValidComponent", "Boolean", "getValidImportedComponent", "componentName", "importDeclaration", "find", "dec", "spec", "getValidImport", "couldntParse", "modifiedComponents", "bindingCache", "callTraverse", "a", "traverse", "shouldDisableExtraction", "programPath", "res", "styled", "flattened", "optimized", "modified", "found", "version", "Math", "random", "Program", "enter", "path", "CallExpression", "t", "isIdentifier", "callee", "variableName", "isVariableDeclarator", "parent", "id", "parentNode", "arguments", "parentName", "definition", "isObjectExpression", "Component", "out", "forceExports", "cacheKey", "flatMap", "cached", "foundNames", "trim", "colorLog", "Color", "FgYellow", "componentSkipProps", "inlineWhenUnflattened", "inlineProps", "skipped", "styles", "staticNamespace", "getStaticBindingsForScope", "scope", "attemptEval", "createEvaluator", "evaluateAstNode", "attemptEvalSafe", "createSafeEvaluator", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "properties", "_step", "property", "isObjectProperty", "add", "FAILED_EVAL", "undefined", "classNames", "rulesToInsert", "rule", "rules", "prop", "objectProperty", "stringLiteral", "_iteratorNormalCompletion1", "_didIteratorError1", "_iteratorError1", "_iterator1", "_step1", "identifier", "JSXElement", "traversePath", "openingElement", "ogAttributes", "attributes", "attr", "findComponentName", "closingElement", "isJSXMemberExpression", "isJSXIdentifier", "binding", "getBinding", "isImportDeclaration", "component", "getValidComponent", "originalNodeName", "filePath", "relative", "cwd", "lineNumbers", "loc", "start", "line", "end", "codePosition", "debugPropValue", "filter", "n", "isJSXAttribute", "isStringLiteral", "unshift", "jsxAttribute", "jsxIdentifier", "basename", "createTernariesFromObjectProperties", "test", "side", "ternaryPartial", "isStaticObject", "mediaQueryKey", "isMediaQuery", "isExpression", "ternaries", "inlineMediaQuery", "logicalExpression", "isConditionalExpression", "objectExpression", "consequent", "alternate", "truthy", "falsy", "remove", "unaryExpression", "obj", "evaluateAttribute", "attribute", "isJSXSpreadAttribute", "arg", "argument", "conditional", "isLogicalExpression", "operator", "left", "right", "alt", "cons", "ternary", "inlined", "set", "isJSXExpressionContainer", "shortname", "shouldDeopt", "expression", "isJSXEmptyExpression", "_ref", "valuePath", "p", "styleValue", "propMapperStyleState", "fromEntries", "reactNativeWebInternals", "createDOMProps", "isTextView", "didInline", "val", "isStyle", "validHTMLAttributes", "toString", "inlineWhenUnflattenedOGVals", "defaultProps", "hasSetOptimized", "variantValues", "isBinaryExpression", "lVal", "rVal", "addBinaryConditional", "staticConditional", "getStaticConditional", "staticLogical", "getStaticLogical", "experimentalFlattenDynamicValues", "staticExpr", "cond", "binaryExpression", "aVal", "cVal", "err", "message", "every", "propName", "mergeToEnd", "normalizeStyleWithoutVariants", "expanded", "mergeStyles", "prev", "next", "assign", "isText", "tagName", "tag", "flatNode", "deoptProps", "animations", "isReactNative", "attrs", "Map", "usedKeys", "theme", "viewProps", "conf", "curProps", "debug", "stack", "flat", "isPresent", "logLines", "attrStr", "parentFn", "findTopmostFunction", "hasSpread", "hasOnlyStringChildren", "selfClosing", "children", "themeVal", "delete", "isStaticObjectVariant", "canFlattenProps", "size", "shouldFlatten", "isStyledHOC", "isHOC", "neverFlatten", "usedThemeKeys", "skipMap", "defaultStyleAttrs", "jsxExpressionContainer", "literalToAst", "reduce", "cur", "indexOf", "normalized", "normalizeTernaries", "rest", "shouldWrapTheme", "importSpecifier", "replaceWith", "jsxElement", "jsxOpeningElement", "jsxClosingElement", "objToStr", "foundStaticProps", "booleanLiteral", "completeProps", "acc", "styleState", "cn", "fullKey", "getProps", "includeProps", "debugName", "fallbackProps", "experimentalFlattenThemesOnNative", "outProps", "pseudos", "fontFamily", "setPropsToFontFamily", "shouldKeepOriginalAttr", "getStyleError", "c", "outKey", "outVal", "existingStyleKeys", "i", "_iteratorNormalCompletion2", "_didIteratorError2", "_iteratorError2", "_iterator2", "entries", "_step2", "index", "splice", "isNativeNotFlat", "parserProps", "jsxPath", "isFlattened", "TAMAGUI_DEBUG", "all", "from", "removeUnusedHooks", "done"]
|
6
6
|
}
|
@@ -71,14 +71,11 @@ function findComponentName(scope) {
|
|
71
71
|
return t.isFunctionDeclaration(node) ? node.id?.name : componentName;
|
72
72
|
}
|
73
73
|
function isValidThemeHook(props, jsxPath, n, sourcePath) {
|
74
|
-
if (!t.isIdentifier(n.object) || !t.isIdentifier(n.property))
|
75
|
-
return !1;
|
74
|
+
if (!t.isIdentifier(n.object) || !t.isIdentifier(n.property)) return !1;
|
76
75
|
const binding = jsxPath.scope.getAllBindings()[n.object.name];
|
77
|
-
if (!binding?.path || !binding.path.isVariableDeclarator())
|
78
|
-
return !1;
|
76
|
+
if (!binding?.path || !binding.path.isVariableDeclarator()) return !1;
|
79
77
|
const init = binding.path.node.init;
|
80
|
-
if (!init || !t.isCallExpression(init) || !t.isIdentifier(init.callee) || init.callee.name !== "useTheme")
|
81
|
-
return !1;
|
78
|
+
if (!init || !t.isCallExpression(init) || !t.isIdentifier(init.callee) || init.callee.name !== "useTheme") return !1;
|
82
79
|
const importNode = binding.scope.getBinding("useTheme")?.path.parent;
|
83
80
|
return !(!t.isImportDeclaration(importNode) || sourcePath && !isValidImport(props, sourcePath));
|
84
81
|
}
|
@@ -87,8 +84,7 @@ function getValidComponent(props, moduleName, componentName) {
|
|
87
84
|
if (componentName[0].toUpperCase() !== componentName[0])
|
88
85
|
return !1;
|
89
86
|
for (const loaded of props.allLoadedComponents) {
|
90
|
-
if (!loaded)
|
91
|
-
continue;
|
87
|
+
if (!loaded) continue;
|
92
88
|
const isInModule = moduleName === "*" || moduleName.startsWith(loaded.moduleName), foundComponent = loaded.nameToInfo[componentName];
|
93
89
|
if (isInModule && foundComponent)
|
94
90
|
return foundComponent;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3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b,UAAM,aAAa,eAAe,OAAO,WAAW,WAAW,OAAO,UAAU,GAC1E,iBAAiB,OAAO,WAAW,aAAa;AACtD,QAAI,cAAc;AAChB,aAAO;AAAA,EAEX;AAEA,SAAO;AACT;AAEO,MAAM,gBAAgB,CAAC,OAAmC,eAAuB;AACtF,MAAI,OAAO,cAAe;AACxB,UAAM,IAAI,MAAM,gBAAgB;AAElC,QAAM,UAAU,WAAW,WAAW,GAAG;AACzC,SAAO;AAAA,IACL;AAAA,IACA,SAAS,UACL,yBAAyB,OAAO,UAAU,IAC1C,mBAAmB,OAAO,UAAU;AAAA,EAC1C;AACF,GAEa,iBAAiB,CAC5B,OACA,YACA,kBACG;AACH,QAAM,EAAE,SAAS,QAAQ,IAAI,cAAc,OAAO,UAAU;AAC5D,SAAI,CAAC,WAAW,CAAC,gBACR,OAEF,kBAAkB,OAAO,UAAU,MAAM,YAAY,aAAa,KAAK;AAChF,GAEa,gBAAgB,CAC3B,OACA,YACA,kBAEK,gBAGE,EAAQ,eAAe,OAAO,YAAY,aAAa,IAFrD,cAAc,OAAO,UAAU,EAAE,SAKtC,gCAA4B,wBAAQ,CAAC,UAElC,CAAC,GAAG,oBAAI,IAAI,CAAC,iBAAiB,WAAW,GAAI,MAAM,cAAc,CAAC,CAAE,CAAC,CAAC,CAC9E,GAEY,8BAA0B,wBAAQ,CAAC,UACvC,0BAA0B,KAAK,EAAE,QAAQ,CAAC,QAAQ;AACvD,QAAM,WAAO,iBAAAC,SAAS,GAAG;AAEzB,SAAO,KADO,2BAAS,IAAI,GACZ,GAAG,EAAE,OAAO,OAAO;AACpC,CAAC,CACF;",
|
5
5
|
"names": ["generate", "findRoot"]
|
6
6
|
}
|
@@ -42,21 +42,17 @@ module.exports = __toCommonJS(extractHelpers_exports);
|
|
42
42
|
var import_node_path = require("node:path"), import_generator = __toESM(require("@babel/generator")), t = __toESM(require("@babel/types")), import_find_root = __toESM(require("find-root")), import_memoize = require("../helpers/memoize");
|
43
43
|
function _array_like_to_array(arr, len) {
|
44
44
|
(len == null || len > arr.length) && (len = arr.length);
|
45
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
46
|
-
arr2[i] = arr[i];
|
45
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
47
46
|
return arr2;
|
48
47
|
}
|
49
48
|
function _array_with_holes(arr) {
|
50
|
-
if (Array.isArray(arr))
|
51
|
-
return arr;
|
49
|
+
if (Array.isArray(arr)) return arr;
|
52
50
|
}
|
53
51
|
function _array_without_holes(arr) {
|
54
|
-
if (Array.isArray(arr))
|
55
|
-
return _array_like_to_array(arr);
|
52
|
+
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
56
53
|
}
|
57
54
|
function _iterable_to_array(iter) {
|
58
|
-
if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
59
|
-
return Array.from(iter);
|
55
|
+
if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
60
56
|
}
|
61
57
|
function _iterable_to_array_limit(arr, i) {
|
62
58
|
var _i = arr == null ? null : typeof Symbol < "u" && arr[Symbol.iterator] || arr["@@iterator"];
|
@@ -71,8 +67,7 @@ function _iterable_to_array_limit(arr, i) {
|
|
71
67
|
try {
|
72
68
|
!_n && _i.return != null && _i.return();
|
73
69
|
} finally {
|
74
|
-
if (_d)
|
75
|
-
throw _e;
|
70
|
+
if (_d) throw _e;
|
76
71
|
}
|
77
72
|
}
|
78
73
|
return _arr;
|
@@ -92,13 +87,10 @@ function _to_consumable_array(arr) {
|
|
92
87
|
}
|
93
88
|
function _unsupported_iterable_to_array(o, minLen) {
|
94
89
|
if (o) {
|
95
|
-
if (typeof o == "string")
|
96
|
-
return _array_like_to_array(o, minLen);
|
90
|
+
if (typeof o == "string") return _array_like_to_array(o, minLen);
|
97
91
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
98
|
-
if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set")
|
99
|
-
|
100
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
101
|
-
return _array_like_to_array(o, minLen);
|
92
|
+
if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set") return Array.from(n);
|
93
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
102
94
|
}
|
103
95
|
}
|
104
96
|
function isPresent(input) {
|
@@ -152,14 +144,11 @@ function findComponentName(scope) {
|
|
152
144
|
}
|
153
145
|
function isValidThemeHook(props, jsxPath, n, sourcePath) {
|
154
146
|
var _binding_scope_getBinding;
|
155
|
-
if (!t.isIdentifier(n.object) || !t.isIdentifier(n.property))
|
156
|
-
return !1;
|
147
|
+
if (!t.isIdentifier(n.object) || !t.isIdentifier(n.property)) return !1;
|
157
148
|
var bindings = jsxPath.scope.getAllBindings(), binding = bindings[n.object.name];
|
158
|
-
if (!(binding != null && binding.path) || !binding.path.isVariableDeclarator())
|
159
|
-
return !1;
|
149
|
+
if (!(binding != null && binding.path) || !binding.path.isVariableDeclarator()) return !1;
|
160
150
|
var init = binding.path.node.init;
|
161
|
-
if (!init || !t.isCallExpression(init) || !t.isIdentifier(init.callee) || init.callee.name !== "useTheme")
|
162
|
-
return !1;
|
151
|
+
if (!init || !t.isCallExpression(init) || !t.isIdentifier(init.callee) || init.callee.name !== "useTheme") return !1;
|
163
152
|
var importNode = (_binding_scope_getBinding = binding.scope.getBinding("useTheme")) === null || _binding_scope_getBinding === void 0 ? void 0 : _binding_scope_getBinding.path.parent;
|
164
153
|
return !(!t.isImportDeclaration(importNode) || sourcePath && !isValidImport(props, sourcePath));
|
165
154
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/extractHelpers.ts"],
|
4
|
-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C,wBAAQ,SAACnC,OAAAA;AAEzC,SAAQ,qBAAG,IAAIoC,IAAI;IAAC;IAAiB;IAAlB,OAA6B,qBAAIpC,MAAMqC,cAAc,CAAA,CAAE,CAAA,CAAA,CAAA;AAC5E,CAAA,GAEarB,8BAA0BmB,wBAAQ,SAACnC,OAAAA;AAC9C,SAAOkC,0BAA0BlC,KAAAA,EAAOsC,QAAQ,SAACC,KAAAA;AAC/C,QAAMC,WAAOC,iBAAAA,SAASF,GAAAA,GAChBG,YAAQC,2BAASH,IAAAA;AACvB,WAAO;MAACE;MAAOH;MAAKK,OAAOX,OAAAA;EAC7B,CAAA;AACF,CAAA;",
|
5
5
|
"names": ["isPresent", "input", "isSimpleSpread", "node", "t", "isIdentifier", "argument", "isMemberExpression", "attrStr", "attr", "type", "getNameAttr", "value", "ternaryStr", "objToStr", "obj", "spacer", "Object", "entries", "map", "k", "v", "Array", "isArray", "JSON", "stringify", "join", "isJSXSpreadAttribute", "name", "x", "conditional", "test", "object", "property", "generate", "code", "isFilledObj", "consequent", "alternate", "flat", "keys", "length", "findComponentName", "scope", "componentName", "cur", "path", "parentPath", "isProgram", "parent", "isExportNamedDeclaration", "declaration", "isVariableDeclaration", "declarations", "dec", "isVariableDeclarator", "id", "isFunctionDeclaration", "isValidThemeHook", "props", "jsxPath", "n", "sourcePath", "binding", "bindings", "getAllBindings", "init", "isCallExpression", "callee", "importNode", "getBinding", "isImportDeclaration", "isValidImport", "isInsideComponentPackage", "moduleName", "getValidComponentsPaths", "some", "startsWith", "isComponentPackage", "srcName", "getValidComponent", "toUpperCase", "allLoadedComponents", "loaded", "isInModule", "foundComponent", "nameToInfo", "isValidModule", "Error", "isLocal", "isValid", "getValidImport", "Boolean", "getValidComponentPackages", "memoize", "Set", "components", "flatMap", "pkg", "root", "findRoot", "based", "basename", "filter"]
|
6
6
|
}
|
@@ -103,8 +103,7 @@ function getMediaInfoFromExpression(props, test, jsxPath, sourcePath, inlineMedi
|
|
103
103
|
};
|
104
104
|
if (t.isMemberExpression(test) && t.isIdentifier(test.object) && t.isIdentifier(test.property)) {
|
105
105
|
const name = test.object.name, key = test.property.name, binding = jsxPath.scope.getAllBindings()[name];
|
106
|
-
if (!binding)
|
107
|
-
return !1;
|
106
|
+
if (!binding) return !1;
|
108
107
|
const bindingNode = binding.path?.node;
|
109
108
|
return !t.isVariableDeclarator(bindingNode) || !bindingNode.init || !isValidMediaCall(props, jsxPath, bindingNode.init, sourcePath) ? !1 : { key, bindingName: name };
|
110
109
|
}
|
@@ -115,11 +114,9 @@ function getMediaInfoFromExpression(props, test, jsxPath, sourcePath, inlineMedi
|
|
115
114
|
return null;
|
116
115
|
}
|
117
116
|
function isValidMediaCall(props, jsxPath, init, sourcePath) {
|
118
|
-
if (!init || !t.isCallExpression(init) || !t.isIdentifier(init.callee) || init.callee.name !== "useMedia")
|
119
|
-
return !1;
|
117
|
+
if (!init || !t.isCallExpression(init) || !t.isIdentifier(init.callee) || init.callee.name !== "useMedia") return !1;
|
120
118
|
const mediaBinding = jsxPath.scope.getAllBindings().useMedia;
|
121
|
-
if (!mediaBinding)
|
122
|
-
return !1;
|
119
|
+
if (!mediaBinding) return !1;
|
123
120
|
const useMediaImport = mediaBinding.path.parent;
|
124
121
|
return !(!t.isImportDeclaration(useMediaImport) || !(0, import_extractHelpers.isValidImport)(props, sourcePath));
|
125
122
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/extractMediaStyle.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,QAAmB,kCAEnB,OAAsB,mCAGtB,4BAAmC,0CAEnC,wBAAyC;AAElC,SAAS,kBACd,OACA,SACA,SACA,eACA,YACA,aAAa,GACb,mBAAwC,IACxC;AACA,QAAM,EAAE,iBAAiB,oBAAoB,QAAI,8CAAmB,KAAK,GACnE,KAAK,qBAAqB,OAAO,SA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EO,SAAS,iBACd,OACA,SACA,MACA,YACA;AAIA,MAHI,CAAC,QAAQ,CAAC,EAAE,iBAAiB,IAAI,KACjC,CAAC,EAAE,aAAa,KAAK,MAAM,KAE3B,KAAK,OAAO,SAAS,WAAY,QAAO;AAE5C,QAAM,eADW,QAAQ,MAAM,eAAe,EAChB;AAC9B,MAAI,CAAC,aAAc,QAAO;AAC1B,QAAM,iBAAiB,aAAa,KAAK;AAEzC,SADI,GAAC,EAAE,oBAAoB,cAAc,KACrC,KAAC,qCAAc,OAAO,UAAU;AAItC;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -30,13 +30,11 @@ module.exports = __toCommonJS(extractMediaStyle_exports);
|
|
30
30
|
var t = __toESM(require("@babel/types")), core = __toESM(require("@tamagui/core")), import_requireTamaguiCore = require("../helpers/requireTamaguiCore"), import_extractHelpers = require("./extractHelpers");
|
31
31
|
function _array_like_to_array(arr, len) {
|
32
32
|
(len == null || len > arr.length) && (len = arr.length);
|
33
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
34
|
-
arr2[i] = arr[i];
|
33
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
35
34
|
return arr2;
|
36
35
|
}
|
37
36
|
function _array_without_holes(arr) {
|
38
|
-
if (Array.isArray(arr))
|
39
|
-
return _array_like_to_array(arr);
|
37
|
+
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
40
38
|
}
|
41
39
|
function _define_property(obj, key, value) {
|
42
40
|
return key in obj ? Object.defineProperty(obj, key, {
|
@@ -47,8 +45,7 @@ function _define_property(obj, key, value) {
|
|
47
45
|
}) : obj[key] = value, obj;
|
48
46
|
}
|
49
47
|
function _iterable_to_array(iter) {
|
50
|
-
if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
51
|
-
return Array.from(iter);
|
48
|
+
if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
52
49
|
}
|
53
50
|
function _non_iterable_spread() {
|
54
51
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
@@ -84,13 +81,10 @@ function _to_consumable_array(arr) {
|
|
84
81
|
}
|
85
82
|
function _unsupported_iterable_to_array(o, minLen) {
|
86
83
|
if (o) {
|
87
|
-
if (typeof o == "string")
|
88
|
-
return _array_like_to_array(o, minLen);
|
84
|
+
if (typeof o == "string") return _array_like_to_array(o, minLen);
|
89
85
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
90
|
-
if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set")
|
91
|
-
|
92
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
93
|
-
return _array_like_to_array(o, minLen);
|
86
|
+
if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set") return Array.from(n);
|
87
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
94
88
|
}
|
95
89
|
}
|
96
90
|
function extractMediaStyle(props, ternary, jsxPath, tamaguiConfig, sourcePath) {
|
@@ -126,8 +120,7 @@ function extractMediaStyle(props, ternary, jsxPath, tamaguiConfig, sourcePath) {
|
|
126
120
|
shouldPrintDebug === "verbose" && console.info(" media styles:", importance, styleObj, singleMediaStyles.map(function(x) {
|
127
121
|
return x.identifier;
|
128
122
|
}).join(", ")), mediaStyles = _to_consumable_array(mediaStyles).concat(_to_consumable_array(singleMediaStyles));
|
129
|
-
}, _iterator = styleOpts[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)
|
130
|
-
_loop();
|
123
|
+
}, _iterator = styleOpts[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
|
131
124
|
} catch (err) {
|
132
125
|
_didIteratorError = !0, _iteratorError = err;
|
133
126
|
} finally {
|
@@ -166,8 +159,7 @@ function getMediaInfoFromExpression(props, test, jsxPath, sourcePath, inlineMedi
|
|
166
159
|
};
|
167
160
|
if (t.isMemberExpression(test) && t.isIdentifier(test.object) && t.isIdentifier(test.property)) {
|
168
161
|
var _binding_path, name = test.object.name, key = test.property.name, bindings = jsxPath.scope.getAllBindings(), binding = bindings[name];
|
169
|
-
if (!binding)
|
170
|
-
return !1;
|
162
|
+
if (!binding) return !1;
|
171
163
|
var bindingNode = (_binding_path = binding.path) === null || _binding_path === void 0 ? void 0 : _binding_path.node;
|
172
164
|
return !t.isVariableDeclarator(bindingNode) || !bindingNode.init || !isValidMediaCall(props, jsxPath, bindingNode.init, sourcePath) ? !1 : {
|
173
165
|
key,
|
@@ -184,11 +176,9 @@ function getMediaInfoFromExpression(props, test, jsxPath, sourcePath, inlineMedi
|
|
184
176
|
return null;
|
185
177
|
}
|
186
178
|
function isValidMediaCall(props, jsxPath, init, sourcePath) {
|
187
|
-
if (!init || !t.isCallExpression(init) || !t.isIdentifier(init.callee) || init.callee.name !== "useMedia")
|
188
|
-
return !1;
|
179
|
+
if (!init || !t.isCallExpression(init) || !t.isIdentifier(init.callee) || init.callee.name !== "useMedia") return !1;
|
189
180
|
var bindings = jsxPath.scope.getAllBindings(), mediaBinding = bindings.useMedia;
|
190
|
-
if (!mediaBinding)
|
191
|
-
return !1;
|
181
|
+
if (!mediaBinding) return !1;
|
192
182
|
var useMediaImport = mediaBinding.path.parent;
|
193
183
|
return !(!t.isImportDeclaration(useMediaImport) || !(0, import_extractHelpers.isValidImport)(props, sourcePath));
|
194
184
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/extractMediaStyle.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,QAAmB,kCAE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AAA,SAAAA,SAAAA,+BAA2CuE;AAExD,WADI,CAACtB,EAAEuB,qBAAqBD,IAAAA,KACxB,CAACA,KAAKE,QAAQ,CAACC,iBAAiB5E,OAAOE,SAASuE,KAAKE,MAAMvE,UAAAA,IACtD,KACF;MAAEQ,KAAAA;MAAKiD,aAAajD;IAAI;EACjC;AACA,SAAO;AACT;AAEO,SAASgE,iBACd5E,OACAE,SACAyE,MACAvE,YAAkB;AAKlB,MAHI,CAACuE,QAAQ,CAACxB,EAAE2B,iBAAiBH,IAAAA,KAC7B,CAACxB,EAAEY,aAAaY,KAAKI,MAAM,KAE3BJ,KAAKI,OAAOZ,SAAS,WAAY,QAAO;AAC5C,MAAMC,WAAWlE,QAAQmE,MAAMC,eAAc,GACvCU,eAAeZ,SAAS;AAC9B,MAAI,CAACY,aAAc,QAAO;AAC1B,MAAMC,iBAAiBD,aAAaR,KAAKU;AAEzC,SADI,GAAC/B,EAAEgC,oBAAoBF,cAAAA,KACvB,KAACG,qCAAcpF,OAAOI,UAAAA;AAI5B;",
|
5
5
|
"names": ["extractMediaStyle", "props", "ternary", "jsxPath", "tamaguiConfig", "sourcePath", "importance", "shouldPrintDebug", "requireTamaguiCore", "getStylesAtomic", "mediaObjectToString", "mt", "getMediaQueryTernary", "key", "mq", "media", "console", "error", "Object", "keys", "getStyleObj", "styleObj", "negate", "styleOpts", "consequent", "alternate", "filter", "isPresent", "length", "info", "mediaKeys", "mediaKeyPrecendence", "reduce", "acc", "cur", "i", "Array", "fill", "join", "mediaStyles", "styles", "singleMediaStyles", "map", "style", "mediaStyle", "core", "createMediaStyle", "className", "identifier", "x", "remove", "ternaryWithoutMedia", "t", "isLogicalExpression", "test", "operator", "mediaLeft", "getMediaInfoFromExpression", "left", "inlineMediaQuery", "right", "result", "bindingName", "isMemberExpression", "isIdentifier", "object", "property", "binding", "name", "bindings", "scope", "getAllBindings", "bindingNode", "path", "node", "isVariableDeclarator", "init", "isValidMediaCall", "getBinding", "isCallExpression", "callee", "mediaBinding", "useMediaImport", "parent", "isImportDeclaration", "isValidImport"]
|
6
6
|
}
|
@@ -106,8 +106,7 @@ async function extractToClassNames({
|
|
106
106
|
k in viewStyles && (style[k] = style[k] ?? viewStyles[k]);
|
107
107
|
return style;
|
108
108
|
}, addStyles = (style) => {
|
109
|
-
if (!style)
|
110
|
-
return [];
|
109
|
+
if (!style) return [];
|
111
110
|
const styleWithPrev = ensureNeededPrevStyle(style), res2 = getStylesAtomic(styleWithPrev);
|
112
111
|
return res2.length && (finalStyles = [...finalStyles, ...res2]), res2;
|
113
112
|
};
|
@@ -246,12 +245,11 @@ async function extractToClassNames({
|
|
246
245
|
const val = cssMap.get(className);
|
247
246
|
val.commentTexts.push(comment), cssMap.set(className, val);
|
248
247
|
}
|
249
|
-
} else
|
250
|
-
rules.
|
251
|
-
css: rules.join(`
|
248
|
+
} else rules.length && cssMap.set(className, {
|
249
|
+
css: rules.join(`
|
252
250
|
`),
|
253
|
-
|
254
|
-
|
251
|
+
commentTexts: [comment]
|
252
|
+
});
|
255
253
|
}
|
256
254
|
}
|
257
255
|
});
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/extractToClassNames.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAAsB,+BACtB,OAAsB,+BAEtB,mBAAqB,sCACrB,IAAmB,kCACnB,UAAyB,sCAGzB,4BAAmC,0CAEnC,oBAA2B,yBAC3B,wBAA+B,6BAE/B,+BAAsC,oCACtC,wBAA+B,6BAC/B,2BAAkC,gCAClC,yBAAgC,8BAChC,kBAAyB,uBACzB,gCAAgD,qCAChD,eAAsB,oBACtB,sBAA6B;AAE7B,MAAM,mBAAmB;AAAA,EACvB,eAAe;AAAA,EACf,cAAc;AAAA,EACd,aAAa;AAAA,EACb,cAAc;AAChB;AAkBA,eAAsB,oBAAoB;AAAA,EACxC;AAAA,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