create-dlightjs
Advanced tools
Comparing version
{ | ||
"name": "create-dlightjs", | ||
"version": "1.0.0-next.0", | ||
"version": "1.0.0-next.1", | ||
"description": "DLight cli", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -6,2 +6,3 @@ import { View } from "@dlightjs/dlight" | ||
@Main | ||
@View | ||
@@ -11,3 +12,3 @@ export default class App { | ||
View() { | ||
Body() { | ||
div() | ||
@@ -14,0 +15,0 @@ .class(wrap) |
@@ -10,3 +10,3 @@ import { View } from "@dlightjs/dlight" | ||
View() { | ||
Body() { | ||
button(this.content) | ||
@@ -13,0 +13,0 @@ .class(this.btnStatus === 1 ? `${countBtn} ${btnHover}` : countBtn) |
@@ -21,3 +21,3 @@ import { View } from "@dlightjs/dlight" | ||
View() { | ||
Body() { | ||
div() | ||
@@ -24,0 +24,0 @@ .class(headerWrap) |
@@ -6,5 +6,5 @@ import { View, div } from "@dlightjs/dlight" | ||
class App { | ||
View() { | ||
Body() { | ||
div("hello dlight!") | ||
} | ||
} |
@@ -6,5 +6,5 @@ import { View, Main, div } from "@dlightjs/dlight" | ||
class App { | ||
View() { | ||
Body() { | ||
div("hello dlight") | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import { View, type Typed, div, p, button, span, type Pretty, type SubTyped } from "@dlightjs/dlight" | ||
import { View, type Typed, div, p, button, span, type Pretty, type SnippetTyped, Snippet } from "@dlightjs/dlight" | ||
import Header from "./Header.view" | ||
@@ -16,3 +16,3 @@ import { wrap, slogan2, countWrap, countBtn, btnHover, btnWrap, countText, colorD, colorL, m0 } from "./style.module.css" | ||
@View | ||
@Snippet | ||
Btn = (({ content, onClick, index }: BtnProps) => { | ||
@@ -30,6 +30,6 @@ button(content) | ||
}) | ||
}) as Pretty as SubTyped<BtnProps> | ||
}) as Pretty as SnippetTyped<BtnProps> | ||
View() { | ||
Body() { | ||
div() | ||
@@ -36,0 +36,0 @@ .class(wrap) |
@@ -1,2 +0,2 @@ | ||
import { View, type Typed, div, img, a, type Pretty } from "@dlightjs/dlight" | ||
import { View, type Typed, div, img, a, Snippet, type Pretty, type SnippetTyped } from "@dlightjs/dlight" | ||
import { headerWrap, navBtn, headerLogo } from "./style.module.css" | ||
@@ -26,3 +26,3 @@ | ||
@View | ||
@Snippet | ||
Nav = (({ url, navName }: NavProps) => { | ||
@@ -32,5 +32,5 @@ a(navName) | ||
.href(url) | ||
}) as Pretty as Typed<NavProps> | ||
}) as Pretty as SnippetTyped<NavProps> | ||
View() { | ||
Body() { | ||
div() | ||
@@ -37,0 +37,0 @@ .class(headerWrap) |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
57318
0.11%573
0.17%