@barefootjs/jsx 0.9.4 → 0.9.5

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.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * BarefootJS JSX Dev Runtime - Type Definitions Only
3
+ *
4
+ * Re-exports JSX namespace from jsx-runtime for development mode.
5
+ */
6
+ import type { JSX } from '../jsx-runtime/index.ts';
7
+ export type { JSX };
8
+ export declare const jsxDEV: (tag: string | Function, props: Record<string, unknown>, key?: string) => JSX.Element;
9
+ export declare const Fragment: (props: {
10
+ children?: unknown;
11
+ }) => JSX.Element;
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/jsx-dev-runtime/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAA;AAElD,YAAY,EAAE,GAAG,EAAE,CAAA;AAEnB,MAAM,CAAC,OAAO,CAAC,MAAM,MAAM,EAAE,CAC3B,GAAG,EAAE,MAAM,GAAG,QAAQ,EACtB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,GAAG,CAAC,EAAE,MAAM,KACT,GAAG,CAAC,OAAO,CAAA;AAChB,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,CAAC,KAAK,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,KAAK,GAAG,CAAC,OAAO,CAAA"}
@@ -0,0 +1,419 @@
1
+ /**
2
+ * BarefootJS JSX Runtime - Type Definitions Only
3
+ *
4
+ * This module provides JSX type definitions for type checking.
5
+ * No runtime implementation is provided - use with a backend-specific
6
+ * jsx-runtime (e.g., @barefootjs/hono/jsx) for actual rendering.
7
+ *
8
+ * Usage in tsconfig.json:
9
+ * "jsxImportSource": "@barefootjs/jsx"
10
+ */
11
+ import type { HTMLBaseAttributes, ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, FormHTMLAttributes, AnchorHTMLAttributes, ImgHTMLAttributes, LabelHTMLAttributes, OptionHTMLAttributes, SVGBaseAttributes, SVGPresentationAttributes, SVGMarkerReferenceAttributes } from '../html-types.ts';
12
+ export declare const jsx: (tag: string | Function, props: Record<string, unknown>, key?: string) => JSX.Element;
13
+ export declare const jsxs: typeof jsx;
14
+ export declare const Fragment: (props: {
15
+ children?: unknown;
16
+ }) => JSX.Element;
17
+ export declare namespace JSX {
18
+ type Element = unknown;
19
+ interface ElementChildrenAttribute {
20
+ children: {};
21
+ }
22
+ interface IntrinsicAttributes {
23
+ key?: string | number | bigint | null | undefined;
24
+ }
25
+ interface IntrinsicElements {
26
+ input: InputHTMLAttributes;
27
+ textarea: TextareaHTMLAttributes;
28
+ select: SelectHTMLAttributes;
29
+ button: ButtonHTMLAttributes;
30
+ form: FormHTMLAttributes;
31
+ label: LabelHTMLAttributes;
32
+ option: OptionHTMLAttributes;
33
+ optgroup: HTMLBaseAttributes & {
34
+ disabled?: boolean;
35
+ label?: string;
36
+ };
37
+ a: AnchorHTMLAttributes;
38
+ img: ImgHTMLAttributes;
39
+ video: HTMLBaseAttributes & {
40
+ src?: string;
41
+ controls?: boolean;
42
+ autoplay?: boolean;
43
+ loop?: boolean;
44
+ muted?: boolean;
45
+ poster?: string;
46
+ width?: number | string;
47
+ height?: number | string;
48
+ };
49
+ audio: HTMLBaseAttributes & {
50
+ src?: string;
51
+ controls?: boolean;
52
+ autoplay?: boolean;
53
+ loop?: boolean;
54
+ muted?: boolean;
55
+ };
56
+ source: HTMLBaseAttributes & {
57
+ src?: string;
58
+ type?: string;
59
+ media?: string;
60
+ };
61
+ track: HTMLBaseAttributes & {
62
+ default?: boolean;
63
+ kind?: string;
64
+ label?: string;
65
+ src?: string;
66
+ srclang?: string;
67
+ };
68
+ div: HTMLBaseAttributes;
69
+ span: HTMLBaseAttributes;
70
+ p: HTMLBaseAttributes;
71
+ section: HTMLBaseAttributes;
72
+ article: HTMLBaseAttributes;
73
+ aside: HTMLBaseAttributes;
74
+ header: HTMLBaseAttributes;
75
+ footer: HTMLBaseAttributes;
76
+ main: HTMLBaseAttributes;
77
+ nav: HTMLBaseAttributes;
78
+ h1: HTMLBaseAttributes;
79
+ h2: HTMLBaseAttributes;
80
+ h3: HTMLBaseAttributes;
81
+ h4: HTMLBaseAttributes;
82
+ h5: HTMLBaseAttributes;
83
+ h6: HTMLBaseAttributes;
84
+ ul: HTMLBaseAttributes;
85
+ ol: HTMLBaseAttributes & {
86
+ start?: number;
87
+ type?: '1' | 'a' | 'A' | 'i' | 'I';
88
+ reversed?: boolean;
89
+ };
90
+ li: HTMLBaseAttributes & {
91
+ value?: number;
92
+ };
93
+ dl: HTMLBaseAttributes;
94
+ dt: HTMLBaseAttributes;
95
+ dd: HTMLBaseAttributes;
96
+ table: HTMLBaseAttributes;
97
+ thead: HTMLBaseAttributes;
98
+ tbody: HTMLBaseAttributes;
99
+ tfoot: HTMLBaseAttributes;
100
+ tr: HTMLBaseAttributes;
101
+ th: HTMLBaseAttributes & {
102
+ colspan?: number;
103
+ rowspan?: number;
104
+ scope?: string;
105
+ headers?: string;
106
+ };
107
+ td: HTMLBaseAttributes & {
108
+ colspan?: number;
109
+ rowspan?: number;
110
+ headers?: string;
111
+ };
112
+ caption: HTMLBaseAttributes;
113
+ colgroup: HTMLBaseAttributes & {
114
+ span?: number;
115
+ };
116
+ col: HTMLBaseAttributes & {
117
+ span?: number;
118
+ };
119
+ strong: HTMLBaseAttributes;
120
+ em: HTMLBaseAttributes;
121
+ b: HTMLBaseAttributes;
122
+ i: HTMLBaseAttributes;
123
+ u: HTMLBaseAttributes;
124
+ s: HTMLBaseAttributes;
125
+ mark: HTMLBaseAttributes;
126
+ small: HTMLBaseAttributes;
127
+ sub: HTMLBaseAttributes;
128
+ sup: HTMLBaseAttributes;
129
+ code: HTMLBaseAttributes;
130
+ pre: HTMLBaseAttributes;
131
+ kbd: HTMLBaseAttributes;
132
+ samp: HTMLBaseAttributes;
133
+ var: HTMLBaseAttributes;
134
+ abbr: HTMLBaseAttributes & {
135
+ title?: string;
136
+ };
137
+ cite: HTMLBaseAttributes;
138
+ q: HTMLBaseAttributes & {
139
+ cite?: string;
140
+ };
141
+ blockquote: HTMLBaseAttributes & {
142
+ cite?: string;
143
+ };
144
+ br: HTMLBaseAttributes;
145
+ hr: HTMLBaseAttributes;
146
+ wbr: HTMLBaseAttributes;
147
+ address: HTMLBaseAttributes;
148
+ time: HTMLBaseAttributes & {
149
+ datetime?: string;
150
+ };
151
+ figure: HTMLBaseAttributes;
152
+ figcaption: HTMLBaseAttributes;
153
+ details: HTMLBaseAttributes & {
154
+ open?: boolean;
155
+ };
156
+ summary: HTMLBaseAttributes;
157
+ dialog: HTMLBaseAttributes & {
158
+ open?: boolean;
159
+ };
160
+ iframe: HTMLBaseAttributes & {
161
+ src?: string;
162
+ srcdoc?: string;
163
+ name?: string;
164
+ sandbox?: string;
165
+ allow?: string;
166
+ allowfullscreen?: boolean;
167
+ width?: number | string;
168
+ height?: number | string;
169
+ loading?: 'eager' | 'lazy';
170
+ referrerpolicy?: string;
171
+ };
172
+ embed: HTMLBaseAttributes & {
173
+ src?: string;
174
+ type?: string;
175
+ width?: number | string;
176
+ height?: number | string;
177
+ };
178
+ object: HTMLBaseAttributes & {
179
+ data?: string;
180
+ type?: string;
181
+ name?: string;
182
+ usemap?: string;
183
+ width?: number | string;
184
+ height?: number | string;
185
+ };
186
+ param: HTMLBaseAttributes & {
187
+ name?: string;
188
+ value?: string;
189
+ };
190
+ picture: HTMLBaseAttributes;
191
+ script: HTMLBaseAttributes & {
192
+ src?: string;
193
+ type?: string;
194
+ async?: boolean;
195
+ defer?: boolean;
196
+ crossorigin?: string;
197
+ integrity?: string;
198
+ nomodule?: boolean;
199
+ nonce?: string;
200
+ referrerpolicy?: string;
201
+ };
202
+ noscript: HTMLBaseAttributes;
203
+ style: HTMLBaseAttributes & {
204
+ media?: string;
205
+ nonce?: string;
206
+ scoped?: boolean;
207
+ type?: string;
208
+ };
209
+ link: HTMLBaseAttributes & {
210
+ href?: string;
211
+ rel?: string;
212
+ media?: string;
213
+ type?: string;
214
+ as?: string;
215
+ crossorigin?: string;
216
+ integrity?: string;
217
+ sizes?: string;
218
+ };
219
+ meta: HTMLBaseAttributes & {
220
+ charset?: string;
221
+ content?: string;
222
+ 'http-equiv'?: string;
223
+ name?: string;
224
+ property?: string;
225
+ };
226
+ base: HTMLBaseAttributes & {
227
+ href?: string;
228
+ target?: string;
229
+ };
230
+ title: HTMLBaseAttributes;
231
+ html: HTMLBaseAttributes & {
232
+ lang?: string;
233
+ };
234
+ head: HTMLBaseAttributes;
235
+ body: HTMLBaseAttributes;
236
+ menu: HTMLBaseAttributes;
237
+ fieldset: HTMLBaseAttributes & {
238
+ disabled?: boolean;
239
+ form?: string;
240
+ name?: string;
241
+ };
242
+ legend: HTMLBaseAttributes;
243
+ datalist: HTMLBaseAttributes;
244
+ output: HTMLBaseAttributes & {
245
+ for?: string;
246
+ form?: string;
247
+ name?: string;
248
+ };
249
+ progress: HTMLBaseAttributes & {
250
+ max?: number;
251
+ value?: number;
252
+ };
253
+ meter: HTMLBaseAttributes & {
254
+ high?: number;
255
+ low?: number;
256
+ max?: number;
257
+ min?: number;
258
+ optimum?: number;
259
+ value?: number;
260
+ };
261
+ template: HTMLBaseAttributes;
262
+ slot: HTMLBaseAttributes & {
263
+ name?: string;
264
+ };
265
+ canvas: HTMLBaseAttributes & {
266
+ width?: number | string;
267
+ height?: number | string;
268
+ };
269
+ map: HTMLBaseAttributes & {
270
+ name?: string;
271
+ };
272
+ area: HTMLBaseAttributes & {
273
+ alt?: string;
274
+ coords?: string;
275
+ download?: string;
276
+ href?: string;
277
+ media?: string;
278
+ ping?: string;
279
+ rel?: string;
280
+ shape?: string;
281
+ target?: string;
282
+ };
283
+ svg: SVGBaseAttributes & SVGPresentationAttributes & {
284
+ viewBox?: string;
285
+ xmlns?: string;
286
+ width?: number | string;
287
+ height?: number | string;
288
+ ref?: (element: SVGSVGElement) => void;
289
+ };
290
+ path: SVGBaseAttributes & SVGPresentationAttributes & SVGMarkerReferenceAttributes & {
291
+ d?: string;
292
+ pathLength?: number | string;
293
+ ref?: (element: SVGPathElement) => void;
294
+ };
295
+ circle: SVGBaseAttributes & SVGPresentationAttributes & {
296
+ cx?: number | string;
297
+ cy?: number | string;
298
+ r?: number | string;
299
+ ref?: (element: SVGCircleElement) => void;
300
+ };
301
+ rect: SVGBaseAttributes & SVGPresentationAttributes & {
302
+ x?: number | string;
303
+ y?: number | string;
304
+ width?: number | string;
305
+ height?: number | string;
306
+ rx?: number | string;
307
+ ry?: number | string;
308
+ ref?: (element: SVGRectElement) => void;
309
+ };
310
+ line: SVGBaseAttributes & SVGPresentationAttributes & SVGMarkerReferenceAttributes & {
311
+ x1?: number | string;
312
+ y1?: number | string;
313
+ x2?: number | string;
314
+ y2?: number | string;
315
+ ref?: (element: SVGLineElement) => void;
316
+ };
317
+ polyline: SVGBaseAttributes & SVGPresentationAttributes & SVGMarkerReferenceAttributes & {
318
+ points?: string;
319
+ ref?: (element: SVGPolylineElement) => void;
320
+ };
321
+ polygon: SVGBaseAttributes & SVGPresentationAttributes & SVGMarkerReferenceAttributes & {
322
+ points?: string;
323
+ ref?: (element: SVGPolygonElement) => void;
324
+ };
325
+ text: SVGBaseAttributes & SVGPresentationAttributes & {
326
+ x?: number | string;
327
+ y?: number | string;
328
+ dx?: number | string;
329
+ dy?: number | string;
330
+ ref?: (element: SVGTextElement) => void;
331
+ };
332
+ tspan: SVGBaseAttributes & SVGPresentationAttributes & {
333
+ ref?: (element: SVGTSpanElement) => void;
334
+ };
335
+ g: SVGBaseAttributes & SVGPresentationAttributes & {
336
+ transform?: string;
337
+ ref?: (element: SVGGElement) => void;
338
+ };
339
+ defs: SVGBaseAttributes & {
340
+ ref?: (element: SVGDefsElement) => void;
341
+ };
342
+ use: SVGBaseAttributes & SVGPresentationAttributes & {
343
+ href?: string;
344
+ x?: number | string;
345
+ y?: number | string;
346
+ width?: number | string;
347
+ height?: number | string;
348
+ ref?: (element: SVGUseElement) => void;
349
+ };
350
+ symbol: SVGBaseAttributes & {
351
+ viewBox?: string;
352
+ ref?: (element: SVGSymbolElement) => void;
353
+ };
354
+ clipPath: SVGBaseAttributes & {
355
+ ref?: (element: SVGClipPathElement) => void;
356
+ };
357
+ marker: SVGBaseAttributes & {
358
+ viewBox?: string;
359
+ refX?: number | string;
360
+ refY?: number | string;
361
+ markerWidth?: number | string;
362
+ markerHeight?: number | string;
363
+ markerUnits?: string;
364
+ orient?: string | number;
365
+ ref?: (element: SVGMarkerElement) => void;
366
+ };
367
+ mask: SVGBaseAttributes & {
368
+ ref?: (element: SVGMaskElement) => void;
369
+ };
370
+ linearGradient: SVGBaseAttributes & {
371
+ x1?: number | string;
372
+ y1?: number | string;
373
+ x2?: number | string;
374
+ y2?: number | string;
375
+ ref?: (element: SVGLinearGradientElement) => void;
376
+ };
377
+ radialGradient: SVGBaseAttributes & {
378
+ cx?: number | string;
379
+ cy?: number | string;
380
+ r?: number | string;
381
+ fx?: number | string;
382
+ fy?: number | string;
383
+ ref?: (element: SVGRadialGradientElement) => void;
384
+ };
385
+ stop: SVGBaseAttributes & {
386
+ offset?: number | string;
387
+ stopColor?: string;
388
+ 'stop-color'?: string;
389
+ stopOpacity?: number | string;
390
+ 'stop-opacity'?: number | string;
391
+ ref?: (element: SVGStopElement) => void;
392
+ };
393
+ pattern: SVGBaseAttributes & {
394
+ x?: number | string;
395
+ y?: number | string;
396
+ width?: number | string;
397
+ height?: number | string;
398
+ patternUnits?: string;
399
+ ref?: (element: SVGPatternElement) => void;
400
+ };
401
+ image: SVGBaseAttributes & {
402
+ href?: string;
403
+ x?: number | string;
404
+ y?: number | string;
405
+ width?: number | string;
406
+ height?: number | string;
407
+ ref?: (element: SVGImageElement) => void;
408
+ };
409
+ foreignObject: SVGBaseAttributes & {
410
+ x?: number | string;
411
+ y?: number | string;
412
+ width?: number | string;
413
+ height?: number | string;
414
+ ref?: (element: SVGForeignObjectElement) => void;
415
+ };
416
+ [tagName: string]: HTMLBaseAttributes;
417
+ }
418
+ }
419
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/jsx-runtime/index.ts"],"names":[],"mappings":"AAqBA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EACV,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,yBAAyB,EACzB,4BAA4B,EAC7B,MAAM,kBAAkB,CAAA;AAGzB,MAAM,CAAC,OAAO,CAAC,MAAM,GAAG,EAAE,CACxB,GAAG,EAAE,MAAM,GAAG,QAAQ,EACtB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,GAAG,CAAC,EAAE,MAAM,KACT,GAAG,CAAC,OAAO,CAAA;AAChB,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,OAAO,GAAG,CAAA;AACrC,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,CAAC,KAAK,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,KAAK,GAAG,CAAC,OAAO,CAAA;AAG7E,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC,CAAC;IAC5B,KAAK,OAAO,GAAG,OAAO,CAAA;IAEtB,UAAU,wBAAwB;QAChC,QAAQ,EAAE,EAAE,CAAA;KACb;IAED,UAAU,mBAAmB;QAC3B,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;KAClD;IAED,UAAU,iBAAiB;QAEzB,KAAK,EAAE,mBAAmB,CAAA;QAC1B,Q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MAAM,GAAG,MAAM,CAAA;YACvB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;YACxB,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAA;SACzC,CAAA;QACD,aAAa,EAAE,iBAAiB,GAAG;YACjC,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;YACnB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;YACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;YACvB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;YACxB,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,uBAAuB,KAAK,IAAI,CAAA;SACjD,CAAA;QAOD,CAAC,OAAO,EAAE,MAAM,GAAG,kBAAkB,CAAA;KACtC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/jsx",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "JSX compiler for BarefootJS - transforms JSX to server HTML + client JS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -19,10 +19,10 @@
19
19
  "import": "./dist/import-map.js"
20
20
  },
21
21
  "./jsx-runtime": {
22
- "types": "./src/jsx-runtime/index.d.ts"
22
+ "types": "./src/jsx-runtime/index.ts"
23
23
  },
24
24
  "./jsx-dev-runtime": {
25
- "types": "./src/jsx-dev-runtime/index.d.ts"
25
+ "types": "./src/jsx-dev-runtime/index.ts"
26
26
  }
27
27
  },
28
28
  "files": [
@@ -53,7 +53,7 @@
53
53
  "directory": "packages/jsx"
54
54
  },
55
55
  "dependencies": {
56
- "@barefootjs/shared": "0.9.4"
56
+ "@barefootjs/shared": "0.9.5"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@barefootjs/client": ">=0.2.0",
@@ -0,0 +1,20 @@
1
+ /**
2
+ * BarefootJS JSX Dev Runtime - Type Definitions Only
3
+ *
4
+ * Re-exports JSX namespace from jsx-runtime for development mode.
5
+ */
6
+
7
+ // Import for local use (`JSX.Element` below) AND re-export. A bare
8
+ // `export { JSX } from …` creates no local binding (TS2503) and, now that
9
+ // this is a real `.ts` rather than a `.d.ts`, trips isolatedModules'
10
+ // `export type` rule (TS1205) — both surfaced by `deno publish`.
11
+ import type { JSX } from '../jsx-runtime/index.ts'
12
+
13
+ export type { JSX }
14
+
15
+ export declare const jsxDEV: (
16
+ tag: string | Function,
17
+ props: Record<string, unknown>,
18
+ key?: string
19
+ ) => JSX.Element
20
+ export declare const Fragment: (props: { children?: unknown }) => JSX.Element
@@ -1,13 +0,0 @@
1
- /**
2
- * BarefootJS JSX Dev Runtime - Type Definitions Only
3
- *
4
- * Re-exports JSX namespace from jsx-runtime for development mode.
5
- */
6
-
7
- export { JSX } from '../jsx-runtime'
8
- export declare const jsxDEV: (
9
- tag: string | Function,
10
- props: Record<string, unknown>,
11
- key?: string
12
- ) => JSX.Element
13
- export declare const Fragment: (props: { children?: unknown }) => JSX.Element
File without changes