Skip to content

Commit b5be7e4

Browse files
authored
chore: Include jsx h function during pretransform, rather than requiring authors to provide (#1897)
chore: Include jsx h function during pretransform, rather than require authors to provide.
1 parent e9d67a9 commit b5be7e4

File tree

85 files changed

+248
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+248
-138
lines changed

packages/patterns/array-in-cell-ast-nocomponents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// <cts-enable />
2-
import { Cell, Default, h, handler, NAME, recipe, UI } from "commontools";
2+
import { Cell, Default, handler, NAME, recipe, UI } from "commontools";
33

44
interface Item {
55
text: Default<string, "">;

packages/patterns/array-in-cell-with-remove-ast-nocomponents.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
/// <cts-enable />
2-
import {
3-
Cell,
4-
Default,
5-
h,
6-
handler,
7-
NAME,
8-
recipe,
9-
Stream,
10-
UI,
11-
} from "commontools";
2+
import { Cell, Default, handler, NAME, recipe, Stream, UI } from "commontools";
123

134
interface Item {
145
text: Default<string, "">;

packages/patterns/array-in-cell-with-remove-editable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// <cts-enable />
2-
import { Cell, Default, h, handler, NAME, recipe, UI } from "commontools";
2+
import { Cell, Default, handler, NAME, recipe, UI } from "commontools";
33

44
interface Item {
55
text: Default<string, "">;

packages/patterns/aside.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
cell,
55
Default,
66
derive,
7-
h,
87
handler,
98
ifElse,
109
lift,

packages/patterns/charm-ref-in-cell.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
cell,
55
Default,
66
derive,
7-
h,
87
handler,
98
ifElse,
109
lift,

packages/patterns/charms-ref-in-cell.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
cell,
55
Default,
66
derive,
7-
h,
87
handler,
98
ifElse,
109
lift,

packages/patterns/chatbot-list-view.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {
33
Cell,
44
cell,
55
Default,
6-
h,
76
handler,
87
ID,
98
ifElse,

packages/patterns/chatbot-note-composed.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
Cell,
55
cell,
66
Default,
7-
h,
87
handler,
98
NAME,
109
navigateTo,

packages/patterns/chatbot-outliner.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {
33
BuiltInLLMMessage,
44
Cell,
55
Default,
6-
h,
76
handler,
87
ifElse,
98
JSONSchema,

packages/patterns/chatbot.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
derive,
88
fetchData,
99
generateObject,
10-
h,
1110
handler,
1211
llmDialog,
1312
NAME,

0 commit comments

Comments
 (0)