@yahoo/uds 3.122.2 → 3.123.0-beta.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.
Files changed (164) hide show
  1. package/dist/components/experimental/client/SegmentedControl.d.cts +2 -1
  2. package/dist/styles/styler.d.cts +12 -12
  3. package/dist/styles/styler.d.ts +12 -12
  4. package/dist/tailwind/dist/commands/css.cjs +17 -3
  5. package/dist/tailwind/dist/commands/css.d.cts.map +1 -1
  6. package/dist/tailwind/dist/commands/css.d.ts.map +1 -1
  7. package/dist/tailwind/dist/commands/css.helpers.cjs +2 -1
  8. package/dist/tailwind/dist/commands/css.helpers.js +2 -1
  9. package/dist/tailwind/dist/commands/css.helpers.js.map +1 -1
  10. package/dist/tailwind/dist/commands/css.js +17 -3
  11. package/dist/tailwind/dist/commands/css.js.map +1 -1
  12. package/dist/tailwind/dist/css/generate.cjs +3 -0
  13. package/dist/tailwind/dist/css/generate.helpers.cjs +14 -6
  14. package/dist/tailwind/dist/css/generate.helpers.js +15 -7
  15. package/dist/tailwind/dist/css/generate.helpers.js.map +1 -1
  16. package/dist/tailwind/dist/css/generate.js +3 -0
  17. package/dist/tailwind/dist/css/generate.js.map +1 -1
  18. package/dist/tailwind/dist/css/nodeUtils.cjs +91 -20
  19. package/dist/tailwind/dist/css/nodeUtils.js +90 -21
  20. package/dist/tailwind/dist/css/nodeUtils.js.map +1 -1
  21. package/dist/tailwind/dist/css/postcss.cjs +22 -1
  22. package/dist/tailwind/dist/css/postcss.helpers.cjs +12 -1
  23. package/dist/tailwind/dist/css/postcss.helpers.js +11 -1
  24. package/dist/tailwind/dist/css/postcss.helpers.js.map +1 -1
  25. package/dist/tailwind/dist/css/postcss.js +22 -2
  26. package/dist/tailwind/dist/css/postcss.js.map +1 -1
  27. package/dist/tailwind/dist/css/runner.cjs +171 -20
  28. package/dist/tailwind/dist/css/runner.helpers.cjs +58 -6
  29. package/dist/tailwind/dist/css/runner.helpers.js +54 -7
  30. package/dist/tailwind/dist/css/runner.helpers.js.map +1 -1
  31. package/dist/tailwind/dist/css/runner.js +172 -20
  32. package/dist/tailwind/dist/css/runner.js.map +1 -1
  33. package/dist/tailwind/dist/css/theme.d.cts +11 -0
  34. package/dist/tailwind/dist/css/theme.d.cts.map +1 -1
  35. package/dist/tailwind/dist/css/theme.d.ts +11 -0
  36. package/dist/tailwind/dist/css/theme.d.ts.map +1 -1
  37. package/dist/tailwind/dist/css/theme.js.map +1 -1
  38. package/dist/tailwind/dist/purger/optimized/ast/expressions.cjs +26 -3
  39. package/dist/tailwind/dist/purger/optimized/ast/expressions.js +26 -3
  40. package/dist/tailwind/dist/purger/optimized/ast/expressions.js.map +1 -1
  41. package/dist/uds/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +2 -0
  42. package/dist/uds/dist/automated-config/dist/properties.d.cts +5 -0
  43. package/dist/uds/dist/automated-config/dist/types/ComponentConfig.d.cts +3 -0
  44. package/dist/uds/dist/automated-config/dist/types/ComponentStyles.d.cts +2 -0
  45. package/dist/uds/dist/automated-config/dist/types/ConfigSchema.d.cts +2 -0
  46. package/dist/uds/dist/automated-config/dist/utils/buildConfigSchema.d.cts +7 -0
  47. package/dist/uds/dist/automated-config/dist/utils/coalesceConfigVariant.d.cts +2 -0
  48. package/dist/uds/dist/automated-config/dist/utils/defaults.d.cts +2 -0
  49. package/dist/uds/dist/automated-config/dist/utils/getConfigVariantComponentStatesMatrix.d.cts +2 -0
  50. package/dist/uds/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +3 -0
  51. package/dist/uds/dist/automated-config/dist/utils/getConfigVariantPseudoStates.d.cts +3 -0
  52. package/dist/uds/dist/automated-config/dist/utils/getConfigVariants.d.cts +2 -0
  53. package/dist/uds/dist/automated-config/dist/utils/index.d.cts +12 -0
  54. package/dist/uds/dist/automated-config/dist/utils/subcomponents.d.cts +2 -0
  55. package/dist/uds/dist/components/Box.d.cts +4 -0
  56. package/dist/uds/dist/components/Divider/Divider.d.cts +3 -0
  57. package/dist/uds/dist/components/Divider/DividerCore.d.cts +5 -0
  58. package/dist/uds/dist/components/Divider/DividerInternal.d.cts +5 -0
  59. package/dist/uds/dist/components/Divider/index.d.cts +2 -0
  60. package/dist/uds/dist/components/FormLabel.d.cts +4 -0
  61. package/dist/uds/dist/components/HStack.d.cts +5 -0
  62. package/dist/uds/dist/components/Icon.d.cts +4 -0
  63. package/dist/uds/dist/components/Image.d.cts +3 -0
  64. package/dist/uds/dist/components/Link.d.cts +4 -0
  65. package/dist/uds/dist/components/Scrim.d.cts +3 -0
  66. package/dist/uds/dist/components/Text.d.cts +4 -0
  67. package/dist/uds/dist/components/VStack.d.cts +5 -0
  68. package/dist/uds/dist/components/client/Avatar/Avatar.d.cts +2 -0
  69. package/dist/uds/dist/components/client/Avatar/AvatarIcon.d.cts +4 -0
  70. package/dist/uds/dist/components/client/Avatar/AvatarImage.d.cts +6 -0
  71. package/dist/uds/dist/components/client/Avatar/AvatarText.d.cts +4 -0
  72. package/dist/uds/dist/components/client/Avatar/index.d.cts +5 -0
  73. package/dist/uds/dist/components/client/Badge.d.cts +4 -0
  74. package/dist/uds/dist/components/client/BottomSheet/BottomSheet.d.cts +5 -0
  75. package/dist/uds/dist/components/client/BottomSheet/BottomSheetContent.d.cts +2 -0
  76. package/dist/uds/dist/components/client/BottomSheet/BottomSheetHeader.d.cts +2 -0
  77. package/dist/uds/dist/components/client/BottomSheet/BottomSheetProvider.d.cts +3 -0
  78. package/dist/uds/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.d.cts +3 -0
  79. package/dist/uds/dist/components/client/BottomSheet/index.d.cts +7 -0
  80. package/dist/uds/dist/components/client/BottomSheet/useBottomSheetStore.d.cts +2 -0
  81. package/dist/uds/dist/components/client/Button.d.cts +5 -0
  82. package/dist/uds/dist/components/client/Checkbox.d.cts +4 -0
  83. package/dist/uds/dist/components/client/Chip/Chip.d.cts +5 -0
  84. package/dist/uds/dist/components/client/Chip/ChipBase.d.cts +6 -0
  85. package/dist/uds/dist/components/client/Chip/ChipButton.d.cts +5 -0
  86. package/dist/uds/dist/components/client/Chip/ChipDismissible.d.cts +5 -0
  87. package/dist/uds/dist/components/client/Chip/ChipLink.d.cts +5 -0
  88. package/dist/uds/dist/components/client/Chip/ChipToggle.d.cts +5 -0
  89. package/dist/uds/dist/components/client/Chip/index.d.cts +6 -0
  90. package/dist/uds/dist/components/client/IconButton.d.cts +5 -0
  91. package/dist/uds/dist/components/client/Input/Input.d.cts +7 -0
  92. package/dist/uds/dist/components/client/Input/InputHelpText.d.cts +2 -0
  93. package/dist/uds/dist/components/client/Input/InputHelpTextInternal.d.cts +6 -0
  94. package/dist/uds/dist/components/client/Input/index.d.cts +3 -0
  95. package/dist/uds/dist/components/client/Menu/Menu.Content.d.cts +6 -0
  96. package/dist/uds/dist/components/client/Menu/Menu.Divider.d.cts +3 -0
  97. package/dist/uds/dist/components/client/Menu/Menu.Item.d.cts +6 -0
  98. package/dist/uds/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +6 -0
  99. package/dist/uds/dist/components/client/Menu/Menu.Provider.d.cts +3 -0
  100. package/dist/uds/dist/components/client/Menu/Menu.Trigger.d.cts +5 -0
  101. package/dist/uds/dist/components/client/Menu/Menu.d.cts +2 -0
  102. package/dist/uds/dist/components/client/Menu/Menu.index.d.cts +9 -0
  103. package/dist/uds/dist/components/client/Menu/index.d.cts +9 -0
  104. package/dist/uds/dist/components/client/Popover/Popover.d.cts +2 -0
  105. package/dist/uds/dist/components/client/Popover/PopoverContent.d.cts +5 -0
  106. package/dist/uds/dist/components/client/Popover/PopoverTrigger.d.cts +2 -0
  107. package/dist/uds/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +4 -0
  108. package/dist/uds/dist/components/client/Popover/index.d.cts +6 -0
  109. package/dist/uds/dist/components/client/Pressable.d.cts +4 -0
  110. package/dist/uds/dist/components/client/Radio/Radio.d.cts +4 -0
  111. package/dist/uds/dist/components/client/Radio/RadioGroupProvider.d.cts +4 -0
  112. package/dist/uds/dist/components/client/Radio/index.d.cts +3 -0
  113. package/dist/uds/dist/components/client/SpringMotionConfig.d.cts +5 -0
  114. package/dist/uds/dist/components/client/Switch.d.cts +4 -0
  115. package/dist/uds/dist/components/client/Toast/Toast.d.cts +8 -0
  116. package/dist/uds/dist/components/client/Toast/ToastContainer.d.cts +6 -0
  117. package/dist/uds/dist/components/client/Toast/ToastPortal.d.cts +3 -0
  118. package/dist/uds/dist/components/client/Toast/UDSToastConfigProvider.d.cts +5 -0
  119. package/dist/uds/dist/components/client/Toast/createToast.d.cts +6 -0
  120. package/dist/uds/dist/components/client/Toast/index.d.cts +6 -0
  121. package/dist/uds/dist/components/client/Tooltip/Tooltip.d.cts +2 -0
  122. package/dist/uds/dist/components/client/Tooltip/TooltipContent.d.cts +3 -0
  123. package/dist/uds/dist/components/client/Tooltip/TooltipTrigger.d.cts +2 -0
  124. package/dist/uds/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.cts +5 -0
  125. package/dist/uds/dist/components/client/Tooltip/index.d.cts +6 -0
  126. package/dist/uds/dist/components/client/index.d.cts +59 -0
  127. package/dist/uds/dist/components/client/providers/UDSBreakpointsConfigProvider.d.cts +4 -0
  128. package/dist/uds/dist/components/client/providers/UDSConfigProvider.d.cts +3 -0
  129. package/dist/uds/dist/components/index.d.cts +61 -0
  130. package/dist/uds/dist/config/dist/index.d.cts +4 -0
  131. package/dist/uds/dist/css-tokens/dist/index.d.cts +2 -0
  132. package/dist/uds/dist/fixtures/dist/index.d.cts +2 -0
  133. package/dist/uds/dist/fonts/dist/index.d.cts +2 -0
  134. package/dist/uds/dist/index.d.cts +93 -0
  135. package/dist/uds/dist/modes/dist/index.d.cts +2 -0
  136. package/dist/uds/dist/runtime/bottomSheetConfig.d.cts +3 -0
  137. package/dist/uds/dist/runtime/breakpointsConfig.d.cts +4 -0
  138. package/dist/uds/dist/runtime/index.d.cts +7 -0
  139. package/dist/uds/dist/runtime/popoverConfig.d.cts +5 -0
  140. package/dist/uds/dist/runtime/toastConfig.d.cts +4 -0
  141. package/dist/uds/dist/runtime/tooltipConfig.d.cts +5 -0
  142. package/dist/uds/dist/runtime/udsConfig.d.cts +8 -0
  143. package/dist/uds/dist/styles/styler.d.cts +2 -0
  144. package/dist/uds/dist/styles/stylerTypes.d.cts +3 -0
  145. package/dist/uds/dist/tailwind/dist/config/dist/index.d.cts +2 -0
  146. package/dist/uds/dist/tailwind/dist/index.d.cts +3 -0
  147. package/dist/uds/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.d.cts +2 -0
  148. package/dist/uds/dist/tailwind/dist/utils/parseTokens.d.cts +2 -0
  149. package/dist/uds/dist/tokens/automation/index.d.cts +10 -0
  150. package/dist/uds/dist/tokens/configs/shadow.d.cts +3 -0
  151. package/dist/uds/dist/tokens/consts/cssTokens.d.cts +2 -0
  152. package/dist/uds/dist/tokens/consts/defaultModes.d.cts +2 -0
  153. package/dist/uds/dist/tokens/consts/fontDeclarationsMap.d.cts +2 -0
  154. package/dist/uds/dist/tokens/index.d.cts +28 -0
  155. package/dist/uds/dist/tokens/parseButtonVariants.d.cts +3 -0
  156. package/dist/uds/dist/tokens/types.d.cts +9 -0
  157. package/dist/uds/dist/tokens/utils/getFontUrls.d.cts +4 -0
  158. package/dist/uds/dist/tokens/utils/spectrum.d.cts +3 -0
  159. package/dist/uds/dist/types/dist/index.d.cts +11 -0
  160. package/dist/uds/dist/types.d.cts +2 -0
  161. package/dist/uds/generated/componentData.cjs +131 -131
  162. package/dist/uds/generated/componentData.js +131 -131
  163. package/generated/componentData.json +183 -183
  164. package/package.json +1 -1
@@ -9,6 +9,25 @@ const importedSourceFileCache = /* @__PURE__ */ new Map();
9
9
  const tsConfigPathCache = /* @__PURE__ */ new Map();
10
10
  const compilerOptionsCache = /* @__PURE__ */ new Map();
11
11
  const hasImportQuery = (moduleSpecifier) => moduleSpecifier.includes("?");
12
+ const getLocalDefinitionNodes = (node) => {
13
+ if (!Node.isIdentifier(node)) return [];
14
+ const name = node.getText();
15
+ const nodeStart = node.getStart();
16
+ const sourceFile = node.getSourceFile();
17
+ return [
18
+ ...sourceFile.getDescendantsOfKind(SyntaxKind.VariableDeclaration).filter((definition) => definition.getName() === name && definition.getStart() <= nodeStart),
19
+ ...sourceFile.getDescendantsOfKind(SyntaxKind.Parameter).filter((definition) => definition.getName() === name && definition.getStart() <= nodeStart),
20
+ ...sourceFile.getDescendantsOfKind(SyntaxKind.BindingElement).filter((definition) => definition.getName() === name && definition.getStart() <= nodeStart),
21
+ ...sourceFile.getFunctions().filter((definition) => definition.getName() === name && definition.getStart() <= nodeStart)
22
+ ].sort((left, right) => right.getStart() - left.getStart()).slice(0, 1);
23
+ };
24
+ const getDefinitionNodesSafe = (node) => {
25
+ try {
26
+ return node.getDefinitionNodes();
27
+ } catch {
28
+ return getLocalDefinitionNodes(node);
29
+ }
30
+ };
12
31
  const isExistingFile = (candidate) => fs.existsSync(candidate) && fs.statSync(candidate).isFile();
13
32
  const resolveRelativeImportPath = (sourceFilePath, moduleSpecifier) => {
14
33
  if (!path.isAbsolute(sourceFilePath) || !moduleSpecifier.startsWith(".") || hasImportQuery(moduleSpecifier)) return null;
@@ -17,10 +36,14 @@ const resolveRelativeImportPath = (sourceFilePath, moduleSpecifier) => {
17
36
  basePath,
18
37
  `${basePath}.ts`,
19
38
  `${basePath}.tsx`,
39
+ `${basePath}.mjs`,
40
+ `${basePath}.cjs`,
20
41
  `${basePath}.js`,
21
42
  `${basePath}.jsx`,
22
43
  path.join(basePath, "index.ts"),
23
44
  path.join(basePath, "index.tsx"),
45
+ path.join(basePath, "index.mjs"),
46
+ path.join(basePath, "index.cjs"),
24
47
  path.join(basePath, "index.js"),
25
48
  path.join(basePath, "index.jsx")
26
49
  ].find((candidate) => isExistingFile(candidate)) ?? null;
@@ -181,7 +204,7 @@ const extractElementAccessValues = (node) => {
181
204
  const extractCallExpressionValues = (node, visited) => {
182
205
  if (!Node.isCallExpression(node)) return null;
183
206
  const expression = node.getExpression();
184
- const fromDefinitions = Node.isIdentifier(expression) ? expression.getDefinitionNodes().flatMap((definition) => {
207
+ const fromDefinitions = Node.isIdentifier(expression) ? getDefinitionNodesSafe(expression).flatMap((definition) => {
185
208
  if (Node.isFunctionDeclaration(definition)) return definition.getDescendantsOfKind(SyntaxKind.ReturnStatement).flatMap((returnStmt) => {
186
209
  const expression = returnStmt.getExpression();
187
210
  return expression ? extractStringLiterals(expression, visited) : [];
@@ -197,7 +220,7 @@ const extractCallExpressionValues = (node, visited) => {
197
220
  };
198
221
  const extractIdentifierValues = (node, visited) => {
199
222
  if (!Node.isIdentifier(node)) return null;
200
- const values = node.getDefinitionNodes().flatMap((definition) => {
223
+ const values = getDefinitionNodesSafe(node).flatMap((definition) => {
201
224
  if (Node.isVariableDeclaration(definition) || Node.isParameterDeclaration(definition) || Node.isBindingElement(definition)) {
202
225
  const initializer = definition.getInitializer();
203
226
  return initializer ? extractStringLiterals(initializer, visited) : [];
@@ -252,7 +275,7 @@ const extractObjectValues = (node, visited) => {
252
275
  return values;
253
276
  }
254
277
  if (Node.isIdentifier(node)) {
255
- node.getDefinitionNodes().forEach((definition) => {
278
+ getDefinitionNodesSafe(node).forEach((definition) => {
256
279
  if (Node.isVariableDeclaration(definition)) {
257
280
  const initializer = definition.getInitializer();
258
281
  if (initializer) if (Node.isAsExpression(initializer)) {
@@ -1 +1 @@
1
- {"version":3,"file":"expressions.js","names":[],"sources":["../../../../src/purger/optimized/ast/expressions.ts"],"sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\n\nimport { Node, Project, SyntaxKind, ts } from 'ts-morph';\n\nconst importedSourceProject = new Project({ useInMemoryFileSystem: true });\nconst importedSourceFileCache = new Map<string, ReturnType<Project['createSourceFile']>>();\nconst tsConfigPathCache = new Map<string, string | null>();\nconst compilerOptionsCache = new Map<string, ts.CompilerOptions | null>();\nconst hasImportQuery = (moduleSpecifier: string): boolean => moduleSpecifier.includes('?');\n\nconst isExistingFile = (candidate: string): boolean =>\n fs.existsSync(candidate) && fs.statSync(candidate).isFile();\n\nconst resolveRelativeImportPath = (\n sourceFilePath: string,\n moduleSpecifier: string,\n): string | null => {\n if (\n !path.isAbsolute(sourceFilePath) ||\n !moduleSpecifier.startsWith('.') ||\n hasImportQuery(moduleSpecifier)\n ) {\n return null;\n }\n\n const basePath = path.resolve(path.dirname(sourceFilePath), moduleSpecifier);\n const candidates = [\n basePath,\n `${basePath}.ts`,\n `${basePath}.tsx`,\n `${basePath}.js`,\n `${basePath}.jsx`,\n path.join(basePath, 'index.ts'),\n path.join(basePath, 'index.tsx'),\n path.join(basePath, 'index.js'),\n path.join(basePath, 'index.jsx'),\n ];\n\n return candidates.find((candidate) => isExistingFile(candidate)) ?? null;\n};\n\nconst findNearestTypeScriptConfig = (sourceFilePath: string): string | null => {\n const sourceDir = path.dirname(sourceFilePath);\n const cached = tsConfigPathCache.get(sourceDir);\n\n if (cached !== undefined) {\n return cached;\n }\n\n let currentDir = sourceDir;\n\n while (true) {\n const tsConfigPath = path.join(currentDir, 'tsconfig.json');\n if (isExistingFile(tsConfigPath)) {\n tsConfigPathCache.set(sourceDir, tsConfigPath);\n return tsConfigPath;\n }\n\n const jsConfigPath = path.join(currentDir, 'jsconfig.json');\n if (isExistingFile(jsConfigPath)) {\n tsConfigPathCache.set(sourceDir, jsConfigPath);\n return jsConfigPath;\n }\n\n const parentDir = path.dirname(currentDir);\n if (parentDir === currentDir) {\n tsConfigPathCache.set(sourceDir, null);\n return null;\n }\n\n currentDir = parentDir;\n }\n};\n\nconst getCompilerOptionsForSourceFile = (sourceFilePath: string): ts.CompilerOptions | null => {\n const configPath = findNearestTypeScriptConfig(sourceFilePath);\n if (!configPath) {\n return null;\n }\n\n const cached = compilerOptionsCache.get(configPath);\n if (cached !== undefined) {\n return cached;\n }\n\n const readResult = ts.readConfigFile(configPath, ts.sys.readFile);\n if (readResult.error) {\n compilerOptionsCache.set(configPath, null);\n return null;\n }\n\n const parsed = ts.parseJsonConfigFileContent(readResult.config, ts.sys, path.dirname(configPath));\n\n const compilerOptions =\n parsed.options.paths && !parsed.options.baseUrl\n ? { ...parsed.options, baseUrl: path.dirname(configPath) }\n : parsed.options;\n\n compilerOptionsCache.set(configPath, compilerOptions);\n return compilerOptions;\n};\n\nconst resolveConfigImportPath = (\n sourceFilePath: string,\n moduleSpecifier: string,\n): string | null => {\n if (hasImportQuery(moduleSpecifier)) {\n return null;\n }\n\n const compilerOptions = getCompilerOptionsForSourceFile(sourceFilePath);\n if (!compilerOptions) {\n return null;\n }\n\n const resolvedModule = ts.resolveModuleName(\n moduleSpecifier,\n sourceFilePath,\n compilerOptions,\n ts.sys,\n ).resolvedModule;\n\n if (!resolvedModule) {\n return null;\n }\n\n return isExistingFile(resolvedModule.resolvedFileName) ? resolvedModule.resolvedFileName : null;\n};\n\nconst resolveImportPath = (sourceFilePath: string, moduleSpecifier: string): string | null =>\n moduleSpecifier.startsWith('.')\n ? resolveRelativeImportPath(sourceFilePath, moduleSpecifier)\n : resolveConfigImportPath(sourceFilePath, moduleSpecifier);\n\nconst getImportedSourceFile = (filePath: string) => {\n const cached = importedSourceFileCache.get(filePath);\n if (cached) {\n return cached;\n }\n\n if (!fs.existsSync(filePath)) {\n return null;\n }\n\n const sourceFile = importedSourceProject.createSourceFile(\n filePath,\n fs.readFileSync(filePath, 'utf-8'),\n {\n overwrite: true,\n },\n );\n importedSourceFileCache.set(filePath, sourceFile);\n return sourceFile;\n};\n\nconst extractImportedIdentifierValues = (node: Node, visited: Set<Node>): string[] => {\n if (!Node.isIdentifier(node)) {\n return [];\n }\n\n const sourceFile = node.getSourceFile();\n const sourceFilePath = sourceFile.getFilePath();\n const importMatch = sourceFile\n .getImportDeclarations()\n .find((importDecl) =>\n importDecl\n .getNamedImports()\n .some(\n (namedImport) =>\n (namedImport.getAliasNode()?.getText() ?? namedImport.getName()) === node.getText(),\n ),\n );\n\n if (!importMatch) {\n return [];\n }\n\n const namedImport = importMatch\n .getNamedImports()\n .find(\n (candidate) =>\n (candidate.getAliasNode()?.getText() ?? candidate.getName()) === node.getText(),\n );\n\n if (!namedImport) {\n return [];\n }\n\n const resolvedPath = resolveImportPath(sourceFilePath, importMatch.getModuleSpecifierValue());\n if (!resolvedPath) {\n return [];\n }\n\n const importedSourceFile = getImportedSourceFile(resolvedPath);\n if (!importedSourceFile) {\n return [];\n }\n\n const declaration = importedSourceFile.getVariableDeclaration(namedImport.getName());\n const initializer = declaration?.getInitializer();\n return initializer ? extractStringLiterals(initializer, visited) : [];\n};\n\n/**\n * Extracts string literal values from an expression.\n *\n * Handles:\n * - Direct string literals: 'value'\n * - Ternary expressions: condition ? 'a' : 'b' -> ['a', 'b']\n * - Variable references: traces back to initializer\n * - Logical expressions: a || 'fallback', a ?? 'default'\n * - Function calls: traces to return statements\n * - Template literals: `value`\n * - As expressions: value as Type\n *\n * @param node The expression node to extract values from\n * @param visited Set of visited nodes to prevent infinite recursion\n * @returns Array of extracted string literal values\n */\nconst extractStringLiterals = (node: Node, visited: Set<Node> = new Set()): string[] => {\n if (visited.has(node)) {\n return [];\n }\n visited.add(node);\n\n const directValues = extractDirectLiteralValues(node);\n if (directValues) {\n return directValues;\n }\n\n const templateValues = extractTemplateExpressionValues(node, visited);\n if (templateValues) {\n return templateValues;\n }\n\n // Ternary/conditional expression: condition ? 'a' : 'b'\n if (Node.isConditionalExpression(node)) {\n return [\n ...extractStringLiterals(node.getWhenTrue(), visited),\n ...extractStringLiterals(node.getWhenFalse(), visited),\n ];\n }\n\n const binaryValues = extractBinaryExpressionValues(node, visited);\n if (binaryValues) {\n return binaryValues;\n }\n\n const wrappedExpressionValues = extractWrappedExpressionValues(node, visited);\n if (wrappedExpressionValues) {\n return wrappedExpressionValues;\n }\n\n const propertyAccessValues = extractPropertyAccessValues(node, visited);\n if (propertyAccessValues) {\n return propertyAccessValues;\n }\n\n const elementAccessValues = extractElementAccessValues(node);\n if (elementAccessValues) {\n return elementAccessValues;\n }\n\n const callExpressionValues = extractCallExpressionValues(node, visited);\n if (callExpressionValues) {\n return callExpressionValues;\n }\n\n const identifierValues = extractIdentifierValues(node, visited);\n if (identifierValues) {\n return identifierValues;\n }\n\n return [];\n};\n\nconst extractDirectLiteralValues = (node: Node): string[] | null => {\n if (Node.isStringLiteral(node) || Node.isNoSubstitutionTemplateLiteral(node)) {\n return [node.getLiteralValue()];\n }\n\n return null;\n};\n\nconst extractTemplateExpressionValues = (node: Node, visited: Set<Node>): string[] | null => {\n if (!Node.isTemplateExpression(node)) {\n return null;\n }\n\n const parts: string[][] = [[node.getHead().getLiteralText()]];\n\n node.getTemplateSpans().forEach((span) => {\n const exprValues = extractStringLiterals(span.getExpression(), visited);\n const literalText = span.getLiteral().getLiteralText();\n parts.push(\n exprValues.length > 0\n ? exprValues.map((value) => `${value}${literalText}`)\n : ['', literalText],\n );\n });\n\n return parts\n .reduce<\n string[]\n >((acc, segment) => acc.flatMap((base) => segment.map((frag) => `${base}${frag}`)), [''])\n .filter((value) => value.length > 0);\n};\n\nconst extractBinaryExpressionValues = (node: Node, visited: Set<Node>): string[] | null => {\n if (!Node.isBinaryExpression(node)) {\n return null;\n }\n\n const operator = node.getOperatorToken().getText();\n if (operator === '+') {\n const left = extractStringLiterals(node.getLeft(), visited);\n const right = extractStringLiterals(node.getRight(), visited);\n const combined = left.flatMap((l) => right.map((r) => `${l}${r}`));\n return combined.length > 0 ? combined : [];\n }\n\n if (operator === '||' || operator === '??') {\n return [\n ...extractStringLiterals(node.getLeft(), visited),\n ...extractStringLiterals(node.getRight(), visited),\n ];\n }\n\n return [];\n};\n\nconst extractWrappedExpressionValues = (node: Node, visited: Set<Node>): string[] | null => {\n if (Node.isParenthesizedExpression(node) || Node.isAsExpression(node)) {\n return extractStringLiterals(node.getExpression(), visited);\n }\n\n return null;\n};\n\nconst extractPropertyAccessValues = (node: Node, visited: Set<Node>): string[] | null => {\n if (!Node.isPropertyAccessExpression(node)) {\n return null;\n }\n\n const typeValues = extractLiteralValuesFromType(node);\n if (typeValues.length > 0) {\n return typeValues;\n }\n\n const propertyName = node.getName();\n return extractObjectValues(node.getExpression(), visited)\n .filter(\n (value): value is Record<string, unknown> =>\n typeof value === 'object' && value !== null && propertyName in value,\n )\n .map((value) => value[propertyName])\n .filter((value): value is string => typeof value === 'string');\n};\n\nconst extractElementAccessValues = (node: Node): string[] | null => {\n if (!Node.isElementAccessExpression(node)) {\n return null;\n }\n\n return extractLiteralValuesFromType(node);\n};\n\nconst extractCallExpressionValues = (node: Node, visited: Set<Node>): string[] | null => {\n if (!Node.isCallExpression(node)) {\n return null;\n }\n\n const expression = node.getExpression();\n\n const fromDefinitions = Node.isIdentifier(expression)\n ? expression.getDefinitionNodes().flatMap((definition) => {\n if (Node.isFunctionDeclaration(definition)) {\n return definition\n .getDescendantsOfKind(SyntaxKind.ReturnStatement)\n .flatMap((returnStmt) => {\n const expression = returnStmt.getExpression();\n return expression ? extractStringLiterals(expression, visited) : [];\n });\n }\n\n if (Node.isVariableDeclaration(definition)) {\n const initializer = definition.getInitializer();\n return initializer ? extractFromFunctionLike(initializer, visited) : [];\n }\n\n return [];\n })\n : [];\n\n const fromArguments = node.getArguments().flatMap((arg) => extractStringLiterals(arg, visited));\n\n return [...fromDefinitions, ...fromArguments];\n};\n\nconst extractIdentifierValues = (node: Node, visited: Set<Node>): string[] | null => {\n if (!Node.isIdentifier(node)) {\n return null;\n }\n\n const values = node.getDefinitionNodes().flatMap((definition) => {\n if (\n Node.isVariableDeclaration(definition) ||\n Node.isParameterDeclaration(definition) ||\n Node.isBindingElement(definition)\n ) {\n const initializer = definition.getInitializer();\n return initializer ? extractStringLiterals(initializer, visited) : [];\n }\n\n return [];\n });\n\n if (values.length > 0) {\n return values;\n }\n\n const importedValues = extractImportedIdentifierValues(node, visited);\n if (importedValues.length > 0) {\n return importedValues;\n }\n\n return extractLiteralValuesFromType(node);\n};\n\n/**\n * Extract string literals from arrow functions or function expressions\n */\nconst extractFromFunctionLike = (node: Node, visited: Set<Node>): string[] => {\n const values: string[] = [];\n\n if (Node.isArrowFunction(node)) {\n const body = node.getBody();\n if (Node.isBlock(body)) {\n body.getDescendantsOfKind(SyntaxKind.ReturnStatement).forEach((returnStmt) => {\n const returnExpr = returnStmt.getExpression();\n if (returnExpr) {\n values.push(...extractStringLiterals(returnExpr, visited));\n }\n });\n } else {\n values.push(...extractStringLiterals(body, visited));\n }\n } else if (Node.isFunctionExpression(node)) {\n node.getDescendantsOfKind(SyntaxKind.ReturnStatement).forEach((returnStmt) => {\n const returnExpr = returnStmt.getExpression();\n if (returnExpr) {\n values.push(...extractStringLiterals(returnExpr, visited));\n }\n });\n }\n\n return values;\n};\n\n/**\n * Extract object literal values from an expression.\n * Returns an array of all possible object values (for union types or indexed access).\n */\nconst extractObjectValues = (node: Node, visited: Set<Node>): unknown[] => {\n if (visited.has(node)) {\n return [];\n }\n visited.add(node);\n\n const values: unknown[] = [];\n\n // Object literal expression\n if (Node.isObjectLiteralExpression(node)) {\n const obj: Record<string, unknown> = {};\n node.getProperties().forEach((prop) => {\n if (Node.isPropertyAssignment(prop)) {\n const name = prop.getName();\n const init = prop.getInitializer();\n if (init && Node.isStringLiteral(init)) {\n obj[name] = init.getLiteralValue();\n } else if (init && Node.isObjectLiteralExpression(init)) {\n const nestedValues = extractObjectValues(init, visited);\n if (nestedValues.length > 0) {\n obj[name] = nestedValues[0];\n }\n }\n }\n });\n values.push(obj);\n return values;\n }\n\n // Identifier - trace to initializer\n if (Node.isIdentifier(node)) {\n node.getDefinitionNodes().forEach((definition) => {\n if (Node.isVariableDeclaration(definition)) {\n const initializer = definition.getInitializer();\n if (initializer) {\n // Handle 'as const' assertion\n if (Node.isAsExpression(initializer)) {\n const inner = initializer.getExpression();\n values.push(...extractObjectValues(inner, visited));\n } else {\n values.push(...extractObjectValues(initializer, visited));\n }\n }\n }\n });\n return values;\n }\n\n // Element access - return all values from the object\n if (Node.isElementAccessExpression(node)) {\n const expression = node.getExpression();\n const baseObjects = extractObjectValues(expression, visited);\n\n // For indexed access, return all possible values\n baseObjects.forEach((obj) => {\n if (typeof obj === 'object' && obj !== null) {\n Object.values(obj).forEach((value) => values.push(value));\n }\n });\n return values;\n }\n\n return values;\n};\n\n/**\n * Extract literal values from a TypeScript type (for union types like 'brand' | 'secondary')\n */\nexport const extractLiteralValuesFromType = (node: Node): string[] => {\n const values: string[] = [];\n const nodeType = node.getType();\n\n if (nodeType.isUnion()) {\n nodeType.getUnionTypes().forEach((unionMember) => {\n if (unionMember.isStringLiteral()) {\n values.push(unionMember.getLiteralValue() as string);\n }\n });\n } else if (nodeType.isStringLiteral()) {\n values.push(nodeType.getLiteralValue() as string);\n }\n\n return values;\n};\n\nexport { extractStringLiterals };\n"],"mappings":";;;;;;AAKA,MAAM,wBAAwB,IAAI,QAAQ,EAAE,uBAAuB,MAAM,CAAC;AAC1E,MAAM,0CAA0B,IAAI,KAAsD;AAC1F,MAAM,oCAAoB,IAAI,KAA4B;AAC1D,MAAM,uCAAuB,IAAI,KAAwC;AACzE,MAAM,kBAAkB,oBAAqC,gBAAgB,SAAS,IAAI;AAE1F,MAAM,kBAAkB,cACtB,GAAG,WAAW,UAAU,IAAI,GAAG,SAAS,UAAU,CAAC,QAAQ;AAE7D,MAAM,6BACJ,gBACA,oBACkB;AAClB,KACE,CAAC,KAAK,WAAW,eAAe,IAChC,CAAC,gBAAgB,WAAW,IAAI,IAChC,eAAe,gBAAgB,CAE/B,QAAO;CAGT,MAAM,WAAW,KAAK,QAAQ,KAAK,QAAQ,eAAe,EAAE,gBAAgB;AAa5E,QAZmB;EACjB;EACA,GAAG,SAAS;EACZ,GAAG,SAAS;EACZ,GAAG,SAAS;EACZ,GAAG,SAAS;EACZ,KAAK,KAAK,UAAU,WAAW;EAC/B,KAAK,KAAK,UAAU,YAAY;EAChC,KAAK,KAAK,UAAU,WAAW;EAC/B,KAAK,KAAK,UAAU,YAAY;EACjC,CAEiB,MAAM,cAAc,eAAe,UAAU,CAAC,IAAI;;AAGtE,MAAM,+BAA+B,mBAA0C;CAC7E,MAAM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,QAAQ;AACvD,SAAI,aAAa,SAAS,EACxB,KAAI,QAAQ,aAAa;;;IAI/B;AACF,SAAO,KAAK,IAAI;AAChB,SAAO;;AAIT,KAAI,KAAK,aAAa,KAAK,EAAE;AAC3B,OAAK,oBAAoB,CAAC,SAAS,eAAe;AAChD,OAAI,KAAK,sBAAsB,WAAW,EAAE;IAC1C,MAAM,cAAc,WAAW,gBAAgB;AAC/C,QAAI,YAEF,KAAI,KAAK,eAAe,YAAY,EAAE;KACpC,MAAM,QAAQ,YAAY,eAAe;AACzC,YAAO,KAAK,GAAG,oBAAoB,OAAO,QAAQ,CAAC;UAEnD,QAAO,KAAK,GAAG,oBAAoB,aAAa,QAAQ,CAAC;;IAI/D;AACF,SAAO;;AAIT,KAAI,KAAK,0BAA0B,KAAK,EAAE;AAKxC,EAHoB,oBADD,KAAK,eAAe,EACa,QAAQ,CAGhD,SAAS,QAAQ;AAC3B,OAAI,OAAO,QAAQ,YAAY,QAAQ,KACrC,QAAO,OAAO,IAAI,CAAC,SAAS,UAAU,OAAO,KAAK,MAAM,CAAC;IAE3D;AACF,SAAO;;AAGT,QAAO;;;;;AAMT,MAAa,gCAAgC,SAAyB;CACpE,MAAM,SAAmB,EAAE;CAC3B,MAAM,WAAW,KAAK,SAAS;AAE/B,KAAI,SAAS,SAAS,CACpB,UAAS,eAAe,CAAC,SAAS,gBAAgB;AAChD,MAAI,YAAY,iBAAiB,CAC/B,QAAO,KAAK,YAAY,iBAAiB,CAAW;GAEtD;UACO,SAAS,iBAAiB,CACnC,QAAO,KAAK,SAAS,iBAAiB,CAAW;AAGnD,QAAO"}
1
+ {"version":3,"file":"expressions.js","names":[],"sources":["../../../../src/purger/optimized/ast/expressions.ts"],"sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\n\nimport type { Identifier } from 'ts-morph';\nimport { Node, Project, SyntaxKind, ts } from 'ts-morph';\n\nconst importedSourceProject = new Project({ useInMemoryFileSystem: true });\nconst importedSourceFileCache = new Map<string, ReturnType<Project['createSourceFile']>>();\nconst tsConfigPathCache = new Map<string, string | null>();\nconst compilerOptionsCache = new Map<string, ts.CompilerOptions | null>();\nconst hasImportQuery = (moduleSpecifier: string): boolean => moduleSpecifier.includes('?');\n\nconst getLocalDefinitionNodes = (node: Node): Node[] => {\n if (!Node.isIdentifier(node)) {\n return [];\n }\n\n const name = node.getText();\n const nodeStart = node.getStart();\n const sourceFile = node.getSourceFile();\n\n const matches = [\n ...sourceFile\n .getDescendantsOfKind(SyntaxKind.VariableDeclaration)\n .filter((definition) => definition.getName() === name && definition.getStart() <= nodeStart),\n ...sourceFile\n .getDescendantsOfKind(SyntaxKind.Parameter)\n .filter((definition) => definition.getName() === name && definition.getStart() <= nodeStart),\n ...sourceFile\n .getDescendantsOfKind(SyntaxKind.BindingElement)\n .filter((definition) => definition.getName() === name && definition.getStart() <= nodeStart),\n ...sourceFile\n .getFunctions()\n .filter((definition) => definition.getName() === name && definition.getStart() <= nodeStart),\n ];\n\n return matches.sort((left, right) => right.getStart() - left.getStart()).slice(0, 1);\n};\n\nconst getDefinitionNodesSafe = (node: Identifier): Node[] => {\n try {\n return node.getDefinitionNodes();\n } catch {\n return getLocalDefinitionNodes(node);\n }\n};\n\nconst isExistingFile = (candidate: string): boolean =>\n fs.existsSync(candidate) && fs.statSync(candidate).isFile();\n\nconst resolveRelativeImportPath = (\n sourceFilePath: string,\n moduleSpecifier: string,\n): string | null => {\n if (\n !path.isAbsolute(sourceFilePath) ||\n !moduleSpecifier.startsWith('.') ||\n hasImportQuery(moduleSpecifier)\n ) {\n return null;\n }\n\n const basePath = path.resolve(path.dirname(sourceFilePath), moduleSpecifier);\n const candidates = [\n basePath,\n `${basePath}.ts`,\n `${basePath}.tsx`,\n `${basePath}.mjs`,\n `${basePath}.cjs`,\n `${basePath}.js`,\n `${basePath}.jsx`,\n path.join(basePath, 'index.ts'),\n path.join(basePath, 'index.tsx'),\n path.join(basePath, 'index.mjs'),\n path.join(basePath, 'index.cjs'),\n path.join(basePath, 'index.js'),\n path.join(basePath, 'index.jsx'),\n ];\n\n return candidates.find((candidate) => isExistingFile(candidate)) ?? null;\n};\n\nconst findNearestTypeScriptConfig = (sourceFilePath: string): string | null => {\n const sourceDir = path.dirname(sourceFilePath);\n const cached = tsConfigPathCache.get(sourceDir);\n\n if (cached !== undefined) {\n return cached;\n }\n\n let currentDir = sourceDir;\n\n while (true) {\n const tsConfigPath = path.join(currentDir, 'tsconfig.json');\n if (isExistingFile(tsConfigPath)) {\n tsConfigPathCache.set(sourceDir, tsConfigPath);\n return tsConfigPath;\n }\n\n const jsConfigPath = path.join(currentDir, 'jsconfig.json');\n if (isExistingFile(jsConfigPath)) {\n tsConfigPathCache.set(sourceDir, jsConfigPath);\n return jsConfigPath;\n }\n\n const parentDir = path.dirname(currentDir);\n if (parentDir === currentDir) {\n tsConfigPathCache.set(sourceDir, null);\n return null;\n }\n\n currentDir = parentDir;\n }\n};\n\nconst getCompilerOptionsForSourceFile = (sourceFilePath: string): ts.CompilerOptions | null => {\n const configPath = findNearestTypeScriptConfig(sourceFilePath);\n if (!configPath) {\n return null;\n }\n\n const cached = compilerOptionsCache.get(configPath);\n if (cached !== undefined) {\n return cached;\n }\n\n const readResult = ts.readConfigFile(configPath, ts.sys.readFile);\n if (readResult.error) {\n compilerOptionsCache.set(configPath, null);\n return null;\n }\n\n const parsed = ts.parseJsonConfigFileContent(readResult.config, ts.sys, path.dirname(configPath));\n\n const compilerOptions =\n parsed.options.paths && !parsed.options.baseUrl\n ? { ...parsed.options, baseUrl: path.dirname(configPath) }\n : parsed.options;\n\n compilerOptionsCache.set(configPath, compilerOptions);\n return compilerOptions;\n};\n\nconst resolveConfigImportPath = (\n sourceFilePath: string,\n moduleSpecifier: string,\n): string | null => {\n if (hasImportQuery(moduleSpecifier)) {\n return null;\n }\n\n const compilerOptions = getCompilerOptionsForSourceFile(sourceFilePath);\n if (!compilerOptions) {\n return null;\n }\n\n const resolvedModule = ts.resolveModuleName(\n moduleSpecifier,\n sourceFilePath,\n compilerOptions,\n ts.sys,\n ).resolvedModule;\n\n if (!resolvedModule) {\n return null;\n }\n\n return isExistingFile(resolvedModule.resolvedFileName) ? resolvedModule.resolvedFileName : null;\n};\n\nconst resolveImportPath = (sourceFilePath: string, moduleSpecifier: string): string | null =>\n moduleSpecifier.startsWith('.')\n ? resolveRelativeImportPath(sourceFilePath, moduleSpecifier)\n : resolveConfigImportPath(sourceFilePath, moduleSpecifier);\n\nconst getImportedSourceFile = (filePath: string) => {\n const cached = importedSourceFileCache.get(filePath);\n if (cached) {\n return cached;\n }\n\n if (!fs.existsSync(filePath)) {\n return null;\n }\n\n const sourceFile = importedSourceProject.createSourceFile(\n filePath,\n fs.readFileSync(filePath, 'utf-8'),\n {\n overwrite: true,\n },\n );\n importedSourceFileCache.set(filePath, sourceFile);\n return sourceFile;\n};\n\nconst extractImportedIdentifierValues = (node: Node, visited: Set<Node>): string[] => {\n if (!Node.isIdentifier(node)) {\n return [];\n }\n\n const sourceFile = node.getSourceFile();\n const sourceFilePath = sourceFile.getFilePath();\n const importMatch = sourceFile\n .getImportDeclarations()\n .find((importDecl) =>\n importDecl\n .getNamedImports()\n .some(\n (namedImport) =>\n (namedImport.getAliasNode()?.getText() ?? namedImport.getName()) === node.getText(),\n ),\n );\n\n if (!importMatch) {\n return [];\n }\n\n const namedImport = importMatch\n .getNamedImports()\n .find(\n (candidate) =>\n (candidate.getAliasNode()?.getText() ?? candidate.getName()) === node.getText(),\n );\n\n if (!namedImport) {\n return [];\n }\n\n const resolvedPath = resolveImportPath(sourceFilePath, importMatch.getModuleSpecifierValue());\n if (!resolvedPath) {\n return [];\n }\n\n const importedSourceFile = getImportedSourceFile(resolvedPath);\n if (!importedSourceFile) {\n return [];\n }\n\n const declaration = importedSourceFile.getVariableDeclaration(namedImport.getName());\n const initializer = declaration?.getInitializer();\n return initializer ? extractStringLiterals(initializer, visited) : [];\n};\n\n/**\n * Extracts string literal values from an expression.\n *\n * Handles:\n * - Direct string literals: 'value'\n * - Ternary expressions: condition ? 'a' : 'b' -> ['a', 'b']\n * - Variable references: traces back to initializer\n * - Logical expressions: a || 'fallback', a ?? 'default'\n * - Function calls: traces to return statements\n * - Template literals: `value`\n * - As expressions: value as Type\n *\n * @param node The expression node to extract values from\n * @param visited Set of visited nodes to prevent infinite recursion\n * @returns Array of extracted string literal values\n */\nconst extractStringLiterals = (node: Node, visited: Set<Node> = new Set()): string[] => {\n if (visited.has(node)) {\n return [];\n }\n visited.add(node);\n\n const directValues = extractDirectLiteralValues(node);\n if (directValues) {\n return directValues;\n }\n\n const templateValues = extractTemplateExpressionValues(node, visited);\n if (templateValues) {\n return templateValues;\n }\n\n // Ternary/conditional expression: condition ? 'a' : 'b'\n if (Node.isConditionalExpression(node)) {\n return [\n ...extractStringLiterals(node.getWhenTrue(), visited),\n ...extractStringLiterals(node.getWhenFalse(), visited),\n ];\n }\n\n const binaryValues = extractBinaryExpressionValues(node, visited);\n if (binaryValues) {\n return binaryValues;\n }\n\n const wrappedExpressionValues = extractWrappedExpressionValues(node, visited);\n if (wrappedExpressionValues) {\n return wrappedExpressionValues;\n }\n\n const propertyAccessValues = extractPropertyAccessValues(node, visited);\n if (propertyAccessValues) {\n return propertyAccessValues;\n }\n\n const elementAccessValues = extractElementAccessValues(node);\n if (elementAccessValues) {\n return elementAccessValues;\n }\n\n const callExpressionValues = extractCallExpressionValues(node, visited);\n if (callExpressionValues) {\n return callExpressionValues;\n }\n\n const identifierValues = extractIdentifierValues(node, visited);\n if (identifierValues) {\n return identifierValues;\n }\n\n return [];\n};\n\nconst extractDirectLiteralValues = (node: Node): string[] | null => {\n if (Node.isStringLiteral(node) || Node.isNoSubstitutionTemplateLiteral(node)) {\n return [node.getLiteralValue()];\n }\n\n return null;\n};\n\nconst extractTemplateExpressionValues = (node: Node, visited: Set<Node>): string[] | null => {\n if (!Node.isTemplateExpression(node)) {\n return null;\n }\n\n const parts: string[][] = [[node.getHead().getLiteralText()]];\n\n node.getTemplateSpans().forEach((span) => {\n const exprValues = extractStringLiterals(span.getExpression(), visited);\n const literalText = span.getLiteral().getLiteralText();\n parts.push(\n exprValues.length > 0\n ? exprValues.map((value) => `${value}${literalText}`)\n : ['', literalText],\n );\n });\n\n return parts\n .reduce<\n string[]\n >((acc, segment) => acc.flatMap((base) => segment.map((frag) => `${base}${frag}`)), [''])\n .filter((value) => value.length > 0);\n};\n\nconst extractBinaryExpressionValues = (node: Node, visited: Set<Node>): string[] | null => {\n if (!Node.isBinaryExpression(node)) {\n return null;\n }\n\n const operator = node.getOperatorToken().getText();\n if (operator === '+') {\n const left = extractStringLiterals(node.getLeft(), visited);\n const right = extractStringLiterals(node.getRight(), visited);\n const combined = left.flatMap((l) => right.map((r) => `${l}${r}`));\n return combined.length > 0 ? combined : [];\n }\n\n if (operator === '||' || operator === '??') {\n return [\n ...extractStringLiterals(node.getLeft(), visited),\n ...extractStringLiterals(node.getRight(), visited),\n ];\n }\n\n return [];\n};\n\nconst extractWrappedExpressionValues = (node: Node, visited: Set<Node>): string[] | null => {\n if (Node.isParenthesizedExpression(node) || Node.isAsExpression(node)) {\n return extractStringLiterals(node.getExpression(), visited);\n }\n\n return null;\n};\n\nconst extractPropertyAccessValues = (node: Node, visited: Set<Node>): string[] | null => {\n if (!Node.isPropertyAccessExpression(node)) {\n return null;\n }\n\n const typeValues = extractLiteralValuesFromType(node);\n if (typeValues.length > 0) {\n return typeValues;\n }\n\n const propertyName = node.getName();\n return extractObjectValues(node.getExpression(), visited)\n .filter(\n (value): value is Record<string, unknown> =>\n typeof value === 'object' && value !== null && propertyName in value,\n )\n .map((value) => value[propertyName])\n .filter((value): value is string => typeof value === 'string');\n};\n\nconst extractElementAccessValues = (node: Node): string[] | null => {\n if (!Node.isElementAccessExpression(node)) {\n return null;\n }\n\n return extractLiteralValuesFromType(node);\n};\n\nconst extractCallExpressionValues = (node: Node, visited: Set<Node>): string[] | null => {\n if (!Node.isCallExpression(node)) {\n return null;\n }\n\n const expression = node.getExpression();\n\n const fromDefinitions = Node.isIdentifier(expression)\n ? getDefinitionNodesSafe(expression).flatMap((definition) => {\n if (Node.isFunctionDeclaration(definition)) {\n return definition\n .getDescendantsOfKind(SyntaxKind.ReturnStatement)\n .flatMap((returnStmt) => {\n const expression = returnStmt.getExpression();\n return expression ? extractStringLiterals(expression, visited) : [];\n });\n }\n\n if (Node.isVariableDeclaration(definition)) {\n const initializer = definition.getInitializer();\n return initializer ? extractFromFunctionLike(initializer, visited) : [];\n }\n\n return [];\n })\n : [];\n\n const fromArguments = node.getArguments().flatMap((arg) => extractStringLiterals(arg, visited));\n\n return [...fromDefinitions, ...fromArguments];\n};\n\nconst extractIdentifierValues = (node: Node, visited: Set<Node>): string[] | null => {\n if (!Node.isIdentifier(node)) {\n return null;\n }\n\n const values = getDefinitionNodesSafe(node).flatMap((definition) => {\n if (\n Node.isVariableDeclaration(definition) ||\n Node.isParameterDeclaration(definition) ||\n Node.isBindingElement(definition)\n ) {\n const initializer = definition.getInitializer();\n return initializer ? extractStringLiterals(initializer, visited) : [];\n }\n\n return [];\n });\n\n if (values.length > 0) {\n return values;\n }\n\n const importedValues = extractImportedIdentifierValues(node, visited);\n if (importedValues.length > 0) {\n return importedValues;\n }\n\n return extractLiteralValuesFromType(node);\n};\n\n/**\n * Extract string literals from arrow functions or function expressions\n */\nconst extractFromFunctionLike = (node: Node, visited: Set<Node>): string[] => {\n const values: string[] = [];\n\n if (Node.isArrowFunction(node)) {\n const body = node.getBody();\n if (Node.isBlock(body)) {\n body.getDescendantsOfKind(SyntaxKind.ReturnStatement).forEach((returnStmt) => {\n const returnExpr = returnStmt.getExpression();\n if (returnExpr) {\n values.push(...extractStringLiterals(returnExpr, visited));\n }\n });\n } else {\n values.push(...extractStringLiterals(body, visited));\n }\n } else if (Node.isFunctionExpression(node)) {\n node.getDescendantsOfKind(SyntaxKind.ReturnStatement).forEach((returnStmt) => {\n const returnExpr = returnStmt.getExpression();\n if (returnExpr) {\n values.push(...extractStringLiterals(returnExpr, visited));\n }\n });\n }\n\n return values;\n};\n\n/**\n * Extract object literal values from an expression.\n * Returns an array of all possible object values (for union types or indexed access).\n */\nconst extractObjectValues = (node: Node, visited: Set<Node>): unknown[] => {\n if (visited.has(node)) {\n return [];\n }\n visited.add(node);\n\n const values: unknown[] = [];\n\n // Object literal expression\n if (Node.isObjectLiteralExpression(node)) {\n const obj: Record<string, unknown> = {};\n node.getProperties().forEach((prop) => {\n if (Node.isPropertyAssignment(prop)) {\n const name = prop.getName();\n const init = prop.getInitializer();\n if (init && Node.isStringLiteral(init)) {\n obj[name] = init.getLiteralValue();\n } else if (init && Node.isObjectLiteralExpression(init)) {\n const nestedValues = extractObjectValues(init, visited);\n if (nestedValues.length > 0) {\n obj[name] = nestedValues[0];\n }\n }\n }\n });\n values.push(obj);\n return values;\n }\n\n // Identifier - trace to initializer\n if (Node.isIdentifier(node)) {\n getDefinitionNodesSafe(node).forEach((definition) => {\n if (Node.isVariableDeclaration(definition)) {\n const initializer = definition.getInitializer();\n if (initializer) {\n // Handle 'as const' assertion\n if (Node.isAsExpression(initializer)) {\n const inner = initializer.getExpression();\n values.push(...extractObjectValues(inner, visited));\n } else {\n values.push(...extractObjectValues(initializer, visited));\n }\n }\n }\n });\n return values;\n }\n\n // Element access - return all values from the object\n if (Node.isElementAccessExpression(node)) {\n const expression = node.getExpression();\n const baseObjects = extractObjectValues(expression, visited);\n\n // For indexed access, return all possible values\n baseObjects.forEach((obj) => {\n if (typeof obj === 'object' && obj !== null) {\n Object.values(obj).forEach((value) => values.push(value));\n }\n });\n return values;\n }\n\n return values;\n};\n\n/**\n * Extract literal values from a TypeScript type (for union types like 'brand' | 'secondary')\n */\nexport const extractLiteralValuesFromType = (node: Node): string[] => {\n const values: string[] = [];\n const nodeType = node.getType();\n\n if (nodeType.isUnion()) {\n nodeType.getUnionTypes().forEach((unionMember) => {\n if (unionMember.isStringLiteral()) {\n values.push(unionMember.getLiteralValue() as string);\n }\n });\n } else if (nodeType.isStringLiteral()) {\n values.push(nodeType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AO;;;;;AAMT,MAAa,gCAAgC,SAAyB;CACpE,MAAM,SAAmB,EAAE;CAC3B,MAAM,WAAW,KAAK,SAAS;AAE/B,KAAI,SAAS,SAAS,CACpB,UAAS,eAAe,CAAC,SAAS,gBAAgB;AAChD,MAAI,YAAY,iBAAiB,CAC/B,QAAO,KAAK,YAAY,iBAAiB,CAAW;GAEtD;UACO,SAAS,iBAAiB,CACnC,QAAO,KAAK,SAAS,iBAAiB,CAAW;AAGnD,QAAO"}
@@ -0,0 +1,2 @@
1
+
2
+ import "../utils/buildConfigSchema.cjs";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../types/dist/index.cjs";
3
+ import "../../fixtures/dist/index.cjs";
4
+ import "./types/ConfigSchema.cjs";
5
+ import "./types/ComponentConfig.cjs";
@@ -0,0 +1,3 @@
1
+
2
+ import "../../../fixtures/dist/index.cjs";
3
+ import "../properties.cjs";
@@ -0,0 +1,2 @@
1
+
2
+ import "./ComponentConfig.cjs";
@@ -0,0 +1,2 @@
1
+
2
+ import "./ComponentConfig.cjs";
@@ -0,0 +1,7 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../fixtures/dist/index.cjs";
4
+ import "../types/ConfigSchema.cjs";
5
+ import "../properties.cjs";
6
+ import "../types/ComponentConfig.cjs";
7
+ import { OmitIndexSignature, SimplifyDeep, UnionToIntersection, WritableDeep } from "type-fest";
@@ -0,0 +1,2 @@
1
+
2
+ import "../types/ComponentConfig.cjs";
@@ -0,0 +1,2 @@
1
+
2
+ import "../generated/universalTokensConfigAuto.cjs";
@@ -0,0 +1,2 @@
1
+
2
+ import "../types/ComponentConfig.cjs";
@@ -0,0 +1,3 @@
1
+
2
+ import "../properties.cjs";
3
+ import "../types/ComponentConfig.cjs";
@@ -0,0 +1,3 @@
1
+
2
+ import "../properties.cjs";
3
+ import "../types/ComponentConfig.cjs";
@@ -0,0 +1,2 @@
1
+
2
+ import "../types/ComponentConfig.cjs";
@@ -0,0 +1,12 @@
1
+
2
+ import "../../../fixtures/dist/index.cjs";
3
+ import "../properties.cjs";
4
+ import "../types/ComponentConfig.cjs";
5
+ import "./buildConfigSchema.cjs";
6
+ import "./coalesceConfigVariant.cjs";
7
+ import "./defaults.cjs";
8
+ import "./getConfigVariantComponentStatesMatrix.cjs";
9
+ import "./getConfigVariantProperties.cjs";
10
+ import "./getConfigVariantPseudoStates.cjs";
11
+ import "./getConfigVariants.cjs";
12
+ import "./subcomponents.cjs";
@@ -0,0 +1,2 @@
1
+
2
+ import "../types/ComponentConfig.cjs";
@@ -0,0 +1,4 @@
1
+
2
+ import "../types/dist/index.cjs";
3
+ import "../tokens/index.cjs";
4
+ import "react";
@@ -0,0 +1,3 @@
1
+
2
+ import "./DividerInternal.cjs";
3
+ import "react";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../types/dist/index.cjs";
3
+ import "../../tokens/types.cjs";
4
+ import "../Box.cjs";
5
+ import "react";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../types/dist/index.cjs";
3
+ import "../../tokens/types.cjs";
4
+ import "./DividerCore.cjs";
5
+ import "react";
@@ -0,0 +1,2 @@
1
+
2
+ import "./Divider.cjs";
@@ -0,0 +1,4 @@
1
+
2
+ import "../types/dist/index.cjs";
3
+ import "../tokens/index.cjs";
4
+ import { PropsWithChildren } from "react";
@@ -0,0 +1,5 @@
1
+
2
+ import "../types/dist/index.cjs";
3
+ import "../tokens/index.cjs";
4
+ import "./Box.cjs";
5
+ import "react";
@@ -0,0 +1,4 @@
1
+
2
+ import "../tokens/types.cjs";
3
+ import "../tokens/index.cjs";
4
+ import "react";
@@ -0,0 +1,3 @@
1
+
2
+ import "../types/dist/index.cjs";
3
+ import "../tokens/index.cjs";
@@ -0,0 +1,4 @@
1
+
2
+ import "../types/dist/index.cjs";
3
+ import "../tokens/index.cjs";
4
+ import "react";
@@ -0,0 +1,3 @@
1
+
2
+ import "./Box.cjs";
3
+ import "react";
@@ -0,0 +1,4 @@
1
+
2
+ import "../types/dist/index.cjs";
3
+ import "../tokens/index.cjs";
4
+ import { JSX, ReactNode, Ref } from "react";
@@ -0,0 +1,5 @@
1
+
2
+ import "../types/dist/index.cjs";
3
+ import "../tokens/index.cjs";
4
+ import "./Box.cjs";
5
+ import "react";
@@ -0,0 +1,2 @@
1
+
2
+ import "./AvatarImage.cjs";
@@ -0,0 +1,4 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/types.cjs";
4
+ import "../../../tokens/index.cjs";
@@ -0,0 +1,6 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/types.cjs";
4
+ import "../../../tokens/index.cjs";
5
+ import "./AvatarIcon.cjs";
6
+ import "./AvatarText.cjs";
@@ -0,0 +1,4 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/index.cjs";
4
+ import "../../Text.cjs";
@@ -0,0 +1,5 @@
1
+
2
+ import "./AvatarIcon.cjs";
3
+ import "./AvatarText.cjs";
4
+ import "./AvatarImage.cjs";
5
+ import "./Avatar.cjs";
@@ -0,0 +1,4 @@
1
+
2
+ import "../../types/dist/index.cjs";
3
+ import "../../tokens/index.cjs";
4
+ import React from "react";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "./useBottomSheetStore.cjs";
4
+ import React from "react";
5
+ import { DialogProps } from "@ariakit/react";
@@ -0,0 +1,2 @@
1
+
2
+ import "../../../types/dist/index.cjs";
@@ -0,0 +1,2 @@
1
+
2
+ import "../../../types/dist/index.cjs";
@@ -0,0 +1,3 @@
1
+
2
+ import "./useBottomSheetStore.cjs";
3
+ import { ReactNode } from "react";
@@ -0,0 +1,3 @@
1
+
2
+ import "../../../runtime/bottomSheetConfig.cjs";
3
+ import { PropsWithChildren } from "react";
@@ -0,0 +1,7 @@
1
+
2
+ import "./useBottomSheetStore.cjs";
3
+ import "./BottomSheet.cjs";
4
+ import "./BottomSheetContent.cjs";
5
+ import "./BottomSheetHeader.cjs";
6
+ import "./BottomSheetProvider.cjs";
7
+ import "./UDSBottomSheetConfigProvider.cjs";
@@ -0,0 +1,2 @@
1
+
2
+ import "@ariakit/react";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../types/dist/index.cjs";
3
+ import "../../tokens/index.cjs";
4
+ import React, { ForwardRefExoticComponent } from "react";
5
+ import { HTMLMotionProps } from "motion/react";
@@ -0,0 +1,4 @@
1
+
2
+ import "../../types/dist/index.cjs";
3
+ import "../../tokens/index.cjs";
4
+ import React from "react";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../../tokens/types.cjs";
3
+ import "../../../tokens/index.cjs";
4
+ import "./ChipBase.cjs";
5
+ import React from "react";
@@ -0,0 +1,6 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/types.cjs";
4
+ import "../../../tokens/index.cjs";
5
+ import "../../Text.cjs";
6
+ import React from "react";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/index.cjs";
4
+ import "./ChipBase.cjs";
5
+ import React from "react";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/index.cjs";
4
+ import "./ChipBase.cjs";
5
+ import React from "react";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/index.cjs";
4
+ import "./ChipBase.cjs";
5
+ import React from "react";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/index.cjs";
4
+ import "./ChipBase.cjs";
5
+ import React from "react";
@@ -0,0 +1,6 @@
1
+
2
+ import "./Chip.cjs";
3
+ import "./ChipButton.cjs";
4
+ import "./ChipDismissible.cjs";
5
+ import "./ChipLink.cjs";
6
+ import "./ChipToggle.cjs";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../tokens/types.cjs";
3
+ import "../../tokens/index.cjs";
4
+ import "react";
5
+ import { HTMLMotionProps } from "motion/react";
@@ -0,0 +1,7 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/types.cjs";
4
+ import "../../../tokens/index.cjs";
5
+ import "../../Box.cjs";
6
+ import { InputHTMLAttributes } from "react";
7
+ import { HTMLMotionProps } from "motion/react";
@@ -0,0 +1,2 @@
1
+
2
+ import "./InputHelpTextInternal.cjs";
@@ -0,0 +1,6 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/index.cjs";
4
+ import "../../Icon.cjs";
5
+ import "./Input.cjs";
6
+ import { PropsWithChildren } from "react";
@@ -0,0 +1,3 @@
1
+
2
+ import "./Input.cjs";
3
+ import "./InputHelpText.cjs";
@@ -0,0 +1,6 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/index.cjs";
4
+ import "../../VStack.cjs";
5
+ import "react";
6
+ import { MenuProps } from "@ariakit/react/menu";
@@ -0,0 +1,3 @@
1
+
2
+ import "../../Divider/Divider.cjs";
3
+ import { AriaRole } from "react";
@@ -0,0 +1,6 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/index.cjs";
4
+ import "../Pressable.cjs";
5
+ import { AriaRole } from "react";
6
+ import { MenuItemProps } from "@ariakit/react/menu";
@@ -0,0 +1,6 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../../../tokens/index.cjs";
4
+ import "../Pressable.cjs";
5
+ import { HTMLAttributes } from "react";
6
+ import { MenuItemCheckboxProps } from "@ariakit/react/menu";
@@ -0,0 +1,3 @@
1
+
2
+ import { PropsWithChildren } from "react";
3
+ import { MenuProviderProps } from "@ariakit/react/menu";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../Box.cjs";
3
+ import "../Pressable.cjs";
4
+ import "react";
5
+ import { MenuButtonProps } from "@ariakit/react/menu";
@@ -0,0 +1,2 @@
1
+
2
+ import "./Menu.index.cjs";
@@ -0,0 +1,9 @@
1
+
2
+ import "./Menu.Content.cjs";
3
+ import "./Menu.Divider.cjs";
4
+ import "./Menu.Item.cjs";
5
+ import "./Menu.ItemCheckbox.cjs";
6
+ import "./Menu.Provider.cjs";
7
+ import "./Menu.Trigger.cjs";
8
+ import "@ariakit/react";
9
+ import "@ariakit/react/menu";
@@ -0,0 +1,9 @@
1
+
2
+ import "./Menu.Content.cjs";
3
+ import "./Menu.Divider.cjs";
4
+ import "./Menu.Item.cjs";
5
+ import "./Menu.ItemCheckbox.cjs";
6
+ import "./Menu.Provider.cjs";
7
+ import "./Menu.Trigger.cjs";
8
+ import "./Menu.index.cjs";
9
+ import "./Menu.cjs";
@@ -0,0 +1,2 @@
1
+
2
+ import "../../../types/dist/index.cjs";
@@ -0,0 +1,5 @@
1
+
2
+ import "../../../types/dist/index.cjs";
3
+ import "../Pressable.cjs";
4
+ import "../../../index.cjs";
5
+ import { CSSProperties } from "react";
@@ -0,0 +1,2 @@
1
+
2
+ import "../../../types/dist/index.cjs";