@litsx/babel-preset-litsx 0.5.1 → 0.7.0

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.
@@ -2053,7 +2053,7 @@ function createLitsxInfrastructureImport(importedName) {
2053
2053
  [
2054
2054
  t$1.importSpecifier(t$1.identifier(importedName), t$1.identifier(importedName)),
2055
2055
  ],
2056
- t$1.stringLiteral("@litsx/litsx/runtime-infrastructure")
2056
+ t$1.stringLiteral("@litsx/core/elements")
2057
2057
  );
2058
2058
  }
2059
2059
 
@@ -2062,7 +2062,7 @@ function createLitsxInternalRuntimeImport(importedName) {
2062
2062
  [
2063
2063
  t$1.importSpecifier(t$1.identifier(importedName), t$1.identifier(importedName)),
2064
2064
  ],
2065
- t$1.stringLiteral("@litsx/litsx/internal/runtime-render-context")
2065
+ t$1.stringLiteral("@litsx/core/rendering")
2066
2066
  );
2067
2067
  }
2068
2068
 
@@ -2071,7 +2071,7 @@ function createLitsxImport(importedName) {
2071
2071
  [
2072
2072
  t$1.importSpecifier(t$1.identifier(importedName), t$1.identifier(importedName)),
2073
2073
  ],
2074
- t$1.stringLiteral("@litsx/litsx")
2074
+ t$1.stringLiteral("@litsx/core")
2075
2075
  );
2076
2076
  }
2077
2077
 
@@ -2103,7 +2103,7 @@ function pruneUnusedLitsxStaticImports(programPath) {
2103
2103
 
2104
2104
  const bodyPaths = programPath.get("body");
2105
2105
  const litsxImports = bodyPaths.filter(
2106
- (path) => path.isImportDeclaration() && path.node.source.value === "@litsx/litsx"
2106
+ (path) => path.isImportDeclaration() && path.node.source.value === "@litsx/core"
2107
2107
  );
2108
2108
 
2109
2109
  litsxImports.forEach((importPath) => {
@@ -2209,7 +2209,7 @@ function finalizeProgram(programPath, state) {
2209
2209
  if (state.__litsxNeedsStaticHoistsMixin) {
2210
2210
  const bodyPathsWithInternal = programPath.get("body");
2211
2211
  const internalImports = bodyPathsWithInternal.filter(
2212
- (n) => n.isImportDeclaration() && n.node.source.value === "@litsx/litsx/runtime-infrastructure"
2212
+ (n) => n.isImportDeclaration() && n.node.source.value === "@litsx/core/elements"
2213
2213
  );
2214
2214
 
2215
2215
  let internalImported = false;
@@ -2230,7 +2230,7 @@ function finalizeProgram(programPath, state) {
2230
2230
  if (state.__litsxNeedsLightDomMixin) {
2231
2231
  const bodyPathsWithInternal = programPath.get("body");
2232
2232
  const internalImports = bodyPathsWithInternal.filter(
2233
- (n) => n.isImportDeclaration() && n.node.source.value === "@litsx/litsx/runtime-infrastructure"
2233
+ (n) => n.isImportDeclaration() && n.node.source.value === "@litsx/core/elements"
2234
2234
  );
2235
2235
 
2236
2236
  let internalImported = false;
@@ -2251,7 +2251,7 @@ function finalizeProgram(programPath, state) {
2251
2251
  if (state.__litsxNeedsCallbackRef) {
2252
2252
  const bodyPathsWithLitsx = programPath.get("body");
2253
2253
  const litsxImports = bodyPathsWithLitsx.filter(
2254
- (n) => n.isImportDeclaration() && n.node.source.value === "@litsx/litsx"
2254
+ (n) => n.isImportDeclaration() && n.node.source.value === "@litsx/core"
2255
2255
  );
2256
2256
 
2257
2257
  let litsxImported = false;
@@ -2274,7 +2274,7 @@ function finalizeProgram(programPath, state) {
2274
2274
  const internalRuntimeImports = bodyPathsWithInternalRuntime.filter(
2275
2275
  (n) =>
2276
2276
  n.isImportDeclaration() &&
2277
- n.node.source.value === "@litsx/litsx/internal/runtime-render-context"
2277
+ n.node.source.value === "@litsx/core/rendering"
2278
2278
  );
2279
2279
 
2280
2280
  let internalRuntimeImported = false;