@arcmantle/lit-jsx 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtime/compiler-ctors.d.ts +0 -7
- package/dist/runtime/compiler-ctors.d.ts.map +1 -1
- package/dist/runtime/compiler-ctors.js +0 -7
- package/dist/runtime/compiler-ctors.js.map +1 -1
- package/dist/utils.d.ts +0 -21
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +0 -21
- package/dist/utils.js.map +1 -1
- package/package.json +2 -2
- package/src/runtime/compiler-ctors.ts +0 -8
- package/src/utils.ts +0 -22
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview Internal lit-html part constructors for jsx-lit compiler.
|
|
3
|
-
*
|
|
4
|
-
* This module exports the internal part constructors from lit-html that are used
|
|
5
|
-
* by the lit-jsx compiler to create optimized template parts. These are low-level
|
|
6
|
-
* utilities used internally by the compilation process.
|
|
7
|
-
*/
|
|
8
1
|
import * as internals from 'lit-html/private-ssr-support.js';
|
|
9
2
|
/** Boolean attribute part constructor from lit-html internals */
|
|
10
3
|
export declare const BooleanPart: typeof internals._$LH.BooleanAttributePart;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiler-ctors.d.ts","sourceRoot":"","sources":["../../src/runtime/compiler-ctors.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"compiler-ctors.d.ts","sourceRoot":"","sources":["../../src/runtime/compiler-ctors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,iCAAiC,CAAC;AAG7D,iEAAiE;AACjE,eAAO,MAAM,WAAW,EAAI,OAAO,SAAS,CAAC,IAAI,CAAC,oBAA0D,CAAC;AAE7G,yDAAyD;AACzD,eAAO,MAAM,aAAa,EAAE,OAAO,SAAS,CAAC,IAAI,CAAC,aAA4C,CAAC;AAE/F,wDAAwD;AACxD,eAAO,MAAM,YAAY,EAAG,OAAO,SAAS,CAAC,IAAI,CAAC,YAA2C,CAAC;AAE9F,uDAAuD;AACvD,eAAO,MAAM,WAAW,EAAI,OAAO,SAAS,CAAC,IAAI,CAAC,WAA0C,CAAC;AAE7F,qDAAqD;AACrD,eAAO,MAAM,SAAS,EAAM,OAAO,SAAS,CAAC,IAAI,CAAC,SAAwC,CAAC;AAE3F,qDAAqD;AACrD,eAAO,MAAM,SAAS,EAAM,OAAO,SAAS,CAAC,IAAI,CAAC,SAAwC,CAAC"}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview Internal lit-html part constructors for jsx-lit compiler.
|
|
3
|
-
*
|
|
4
|
-
* This module exports the internal part constructors from lit-html that are used
|
|
5
|
-
* by the lit-jsx compiler to create optimized template parts. These are low-level
|
|
6
|
-
* utilities used internally by the compilation process.
|
|
7
|
-
*/
|
|
8
1
|
import * as internals from 'lit-html/private-ssr-support.js';
|
|
9
2
|
/** Boolean attribute part constructor from lit-html internals */
|
|
10
3
|
export const BooleanPart = internals._$LH.BooleanAttributePart;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiler-ctors.js","sourceRoot":"","sources":["../../src/runtime/compiler-ctors.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"compiler-ctors.js","sourceRoot":"","sources":["../../src/runtime/compiler-ctors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,iCAAiC,CAAC;AAG7D,iEAAiE;AACjE,MAAM,CAAC,MAAM,WAAW,GAAiD,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC;AAE7G,yDAAyD;AACzD,MAAM,CAAC,MAAM,aAAa,GAAwC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC;AAE/F,wDAAwD;AACxD,MAAM,CAAC,MAAM,YAAY,GAAyC,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC;AAE9F,uDAAuD;AACvD,MAAM,CAAC,MAAM,WAAW,GAA0C,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;AAE7F,qDAAqD;AACrD,MAAM,CAAC,MAAM,SAAS,GAA4C,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC;AAE3F,qDAAqD;AACrD,MAAM,CAAC,MAAM,SAAS,GAA4C,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC"}
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview Main entrypoint for jsx-lit runtime utilities and components.
|
|
3
|
-
*
|
|
4
|
-
* This module provides all the runtime utilities needed for jsx-lit compiled templates,
|
|
5
|
-
* including helper components for conditional rendering, iteration, and template composition.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```tsx
|
|
9
|
-
* import { Choose, For, Show } from "@arcmantle/lit-jsx";
|
|
10
|
-
*
|
|
11
|
-
* function MyComponent() {
|
|
12
|
-
* return (
|
|
13
|
-
* <div>
|
|
14
|
-
* <Show when={condition}>
|
|
15
|
-
* <p>Conditionally rendered content</p>
|
|
16
|
-
* </Show>
|
|
17
|
-
* </div>
|
|
18
|
-
* );
|
|
19
|
-
* }
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
1
|
export * from './runtime/choose-component.js';
|
|
23
2
|
export * from './runtime/compiler-ctors.js';
|
|
24
3
|
export * from './runtime/for-component.js';
|
package/dist/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC"}
|
package/dist/utils.js
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview Main entrypoint for jsx-lit runtime utilities and components.
|
|
3
|
-
*
|
|
4
|
-
* This module provides all the runtime utilities needed for jsx-lit compiled templates,
|
|
5
|
-
* including helper components for conditional rendering, iteration, and template composition.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```tsx
|
|
9
|
-
* import { Choose, For, Show } from "@arcmantle/lit-jsx";
|
|
10
|
-
*
|
|
11
|
-
* function MyComponent() {
|
|
12
|
-
* return (
|
|
13
|
-
* <div>
|
|
14
|
-
* <Show when={condition}>
|
|
15
|
-
* <p>Conditionally rendered content</p>
|
|
16
|
-
* </Show>
|
|
17
|
-
* </div>
|
|
18
|
-
* );
|
|
19
|
-
* }
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
1
|
export * from './runtime/choose-component.js';
|
|
23
2
|
export * from './runtime/compiler-ctors.js';
|
|
24
3
|
export * from './runtime/for-component.js';
|
package/dist/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcmantle/lit-jsx",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"description": "A JSX runtime and compiler that transforms JSX into Lit templates.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"validate-html-nesting": "^1.2.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@arcmantle/tsconfig": "^1.0.
|
|
39
|
+
"@arcmantle/tsconfig": "^1.0.7",
|
|
40
40
|
"@types/node": "^24.0.14",
|
|
41
41
|
"oxc-parser": "^0.77.0",
|
|
42
42
|
"oxc-walker": "^0.3.0",
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview Internal lit-html part constructors for jsx-lit compiler.
|
|
3
|
-
*
|
|
4
|
-
* This module exports the internal part constructors from lit-html that are used
|
|
5
|
-
* by the lit-jsx compiler to create optimized template parts. These are low-level
|
|
6
|
-
* utilities used internally by the compilation process.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
1
|
import * as internals from 'lit-html/private-ssr-support.js';
|
|
10
2
|
|
|
11
3
|
|
package/src/utils.ts
CHANGED
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview Main entrypoint for jsx-lit runtime utilities and components.
|
|
3
|
-
*
|
|
4
|
-
* This module provides all the runtime utilities needed for jsx-lit compiled templates,
|
|
5
|
-
* including helper components for conditional rendering, iteration, and template composition.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```tsx
|
|
9
|
-
* import { Choose, For, Show } from "@arcmantle/lit-jsx";
|
|
10
|
-
*
|
|
11
|
-
* function MyComponent() {
|
|
12
|
-
* return (
|
|
13
|
-
* <div>
|
|
14
|
-
* <Show when={condition}>
|
|
15
|
-
* <p>Conditionally rendered content</p>
|
|
16
|
-
* </Show>
|
|
17
|
-
* </div>
|
|
18
|
-
* );
|
|
19
|
-
* }
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
1
|
export * from './runtime/choose-component.js';
|
|
24
2
|
export * from './runtime/compiler-ctors.js';
|
|
25
3
|
export * from './runtime/for-component.js';
|