@srfnstack/fntags 0.4.1 → 0.4.3

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/README.md CHANGED
@@ -38,52 +38,45 @@ Check out the [documentation](https://srfnstack.github.io/fntags) to learn more!
38
38
  ### f'n examples
39
39
  <hr>
40
40
 
41
- Components are plain functions
42
- ```javascript
43
- import { div } from 'https://cdn.jsdelivr.net/npm/@srfnstack/fntags@0.3.3/src/fnelements.min.mjs'
41
+ Start a new app with one file
42
+ ```html
43
+ <html><body>
44
+ <script type="module">
45
+ import { div } from 'https://cdn.jsdelivr.net/npm/@srfnstack/fntags@0.4.1/src/fnelements.min.mjs'
46
+
47
+ document.body.append(div('Hello World!'))
48
+ </script>
49
+ </body></html>
50
+ ```
44
51
 
52
+ Make re-usable, customizable components using plain js functions
53
+ ```javascript
45
54
  const hello = name => div('Hello ', name)
46
55
 
47
56
  document.body.append( hello('world!') )
48
57
  ```
49
58
 
50
- Two-way binding is a breeze with the bind functions provided by fnstate objects.
59
+ Explicit two-way state binding
51
60
  ```javascript
52
- import { fnstate } from 'https://cdn.jsdelivr.net/npm/@srfnstack/fntags@0.3.3/src/fntags.min.mjs'
53
- import { div, input, br } from 'https://cdn.jsdelivr.net/npm/@srfnstack/fntags@0.3.3/src/fnelements.min.mjs'
54
-
55
- export const userName = fnstate('world')
56
- export const appColor = fnstate('MediumTurquoise')
57
-
58
- document.body.append(
59
- div( { style: { color: appColor.bindStyle() } },
60
- 'Hello ', userName.bindAs(), '!'
61
- ),
62
- br(),
63
- input({
64
- value: userName.bindAttr(),
65
- oninput: e => userName(e.target.value)
66
- }),
67
- br(),
68
- input({
69
- value: appColor.bindAttr(),
70
- oninput: e => appColor(e.target.value)
71
- }),
72
- )
73
- ```
61
+ import { fnstate } from 'https://cdn.jsdelivr.net/npm/@srfnstack/fntags@0.4.1/src/fntags.min.mjs'
62
+ import { div, input, br } from 'https://cdn.jsdelivr.net/npm/@srfnstack/fntags@0.4.1/src/fnelements.min.mjs'
74
63
 
75
- ### Required HTML
76
- Unfortunately browsers lack the ability to render a js file directly, and thus you still need a tiny bit of html to bootstrap your app.
64
+ const helloInput = () => {
65
+ const name = fnstate('World')
77
66
 
78
- Here's an example of the only html you need to write for your entire application.
67
+ const nameInput = input({
68
+ value: name.bindAttr(),
69
+ oninput (){ name(nameInput.value) }
70
+ })
79
71
 
80
- Now that these two lines are there you're set to write sweet sweet es6+ and no more html.
72
+ return div(
73
+ div('Hello ', name.bindAs(), '!'),
74
+ br(),
75
+ nameInput
76
+ )
77
+ }
81
78
 
82
- ```html
83
- <html><body><script type="module">
84
- import { div } from 'https://cdn.jsdelivr.net/npm/@srfnstack/fntags@0.3.3/src/fnelements.min.mjs'
85
- document.body.append(div('hello world!'))
86
- </script></body></html>
79
+ document.body.append(helloInput())
87
80
  ```
88
81
 
89
82
  ### Benchmark
package/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export * from "./src/fntags.mjs";
2
+ export * from "./src/fnroute.mjs";
3
+ export * from "./src/fnelements.mjs";
4
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "name": "@srfnstack/fntags",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "author": "Robert Kempton <r@snow87.com>",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/srfnstack/fntags",
7
7
  "license": "MIT",
8
8
  "files": [
9
9
  "src/*",
10
+ "index.d.ts",
11
+ "index.d.ts.map",
10
12
  "index.js",
11
13
  "LICENSE.txt",
12
14
  "README.md"
@@ -30,18 +32,25 @@
30
32
  "state-management"
31
33
  ],
32
34
  "devDependencies": {
33
- "cypress": "10.3.0",
35
+ "cypress": "13.6.1",
34
36
  "pre-commit": "^1.2.2",
35
- "standard": "^16.0.4"
37
+ "standard": "^17.1.0",
38
+ "typedoc": "^0.25.4",
39
+ "typedoc-plugin-markdown": "^3.17.1",
40
+ "typescript": "^5.3.3"
36
41
  },
37
42
  "scripts": {
38
- "test": "cp src/* docs/lib/ && npm run lint && cypress run --spec test/** --headless -b chrome",
43
+ "test": "cp src/*.mjs docs/lib/ && npm run lint && cypress run --spec test/** --headless -b chrome",
39
44
  "cypress": "cypress run --spec test/** -b chrome",
40
45
  "lint": "standard --env browser src && standard --env browser --env jest --global Prism --global cy test docs",
41
- "lint:fix": "standard --env browser --fix src && standard --env browser --env jest --global Prism --global cy --fix test docs"
46
+ "lint:fix": "standard --env browser --fix src && standard --env browser --env jest --global Prism --global cy --fix test docs",
47
+ "typedef": "rm -rf src/*.mts* && tsc",
48
+ "docs": "typedoc --plugin typedoc-plugin-markdown --out docs/types ./src/*.mjs",
49
+ "build": "npm run lint:fix && npm run typedef && npm run docs && npm run test"
42
50
  },
43
51
  "pre-commit": [
44
52
  "lint",
45
53
  "test"
46
- ]
54
+ ],
55
+ "typings": "index.d.ts"
47
56
  }
@@ -0,0 +1,504 @@
1
+ /**
2
+ * @type {function(...[*]=): HTMLAnchorElement}
3
+ */
4
+ export const a: (arg0: [any][] | undefined) => HTMLAnchorElement;
5
+ /**
6
+ * @type {function(...[*]=): HTMLElement}
7
+ */
8
+ export const abbr: (arg0: [any][] | undefined) => HTMLElement;
9
+ /**
10
+ * @type {function(...[*]=): HTMLElement}
11
+ */
12
+ export const acronym: (arg0: [any][] | undefined) => HTMLElement;
13
+ /**
14
+ * @type {function(...[*]=): HTMLElement}
15
+ */
16
+ export const address: (arg0: [any][] | undefined) => HTMLElement;
17
+ /**
18
+ * @type {function(...[*]=): HTMLAreaElement}
19
+ */
20
+ export const area: (arg0: [any][] | undefined) => HTMLAreaElement;
21
+ /**
22
+ * @type {function(...[*]=): HTMLElement}
23
+ */
24
+ export const article: (arg0: [any][] | undefined) => HTMLElement;
25
+ /**
26
+ * @type {function(...[*]=): HTMLElement}
27
+ */
28
+ export const aside: (arg0: [any][] | undefined) => HTMLElement;
29
+ /**
30
+ * @type {function(...[*]=): HTMLAudioElement}
31
+ */
32
+ export const audio: (arg0: [any][] | undefined) => HTMLAudioElement;
33
+ /**
34
+ * @type {function(...[*]=): HTMLElement}
35
+ */
36
+ export const b: (arg0: [any][] | undefined) => HTMLElement;
37
+ /**
38
+ * @type {function(...[*]=): HTMLBaseElement}
39
+ */
40
+ export const base: (arg0: [any][] | undefined) => HTMLBaseElement;
41
+ /**
42
+ * @type {function(...[*]=): HTMLElement}
43
+ */
44
+ export const bdi: (arg0: [any][] | undefined) => HTMLElement;
45
+ /**
46
+ * @type {function(...[*]=): HTMLElement}
47
+ */
48
+ export const bdo: (arg0: [any][] | undefined) => HTMLElement;
49
+ /**
50
+ * @type {function(...[*]=): HTMLElement}
51
+ */
52
+ export const big: (arg0: [any][] | undefined) => HTMLElement;
53
+ /**
54
+ * @type {function(...[*]=): HTMLQuoteElement}
55
+ */
56
+ export const blockquote: (arg0: [any][] | undefined) => HTMLQuoteElement;
57
+ /**
58
+ * @type {function(...[*]=): HTMLBodyElement}
59
+ */
60
+ export const body: (arg0: [any][] | undefined) => HTMLBodyElement;
61
+ /**
62
+ * @type {function(...[*]=): HTMLBRElement}
63
+ */
64
+ export const br: (arg0: [any][] | undefined) => HTMLBRElement;
65
+ /**
66
+ * @type {function(...[*]=): HTMLButtonElement}
67
+ */
68
+ export const button: (arg0: [any][] | undefined) => HTMLButtonElement;
69
+ /**
70
+ * @type {function(...[*]=): HTMLCanvasElement}
71
+ */
72
+ export const canvas: (arg0: [any][] | undefined) => HTMLCanvasElement;
73
+ /**
74
+ * @type {function(...[*]=): HTMLTableCaptionElement}
75
+ */
76
+ export const caption: (arg0: [any][] | undefined) => HTMLTableCaptionElement;
77
+ /**
78
+ * @type {function(...[*]=): HTMLElement}
79
+ */
80
+ export const cite: (arg0: [any][] | undefined) => HTMLElement;
81
+ /**
82
+ * @type {function(...[*]=): HTMLElement}
83
+ */
84
+ export const code: (arg0: [any][] | undefined) => HTMLElement;
85
+ /**
86
+ * @type {function(...[*]=): HTMLTableColElement}
87
+ */
88
+ export const col: (arg0: [any][] | undefined) => HTMLTableColElement;
89
+ /**
90
+ * @type {function(...[*]=): HTMLTableColElement}
91
+ */
92
+ export const colgroup: (arg0: [any][] | undefined) => HTMLTableColElement;
93
+ /**
94
+ * @type {function(...[*]=): HTMLDataElement}
95
+ */
96
+ export const data: (arg0: [any][] | undefined) => HTMLDataElement;
97
+ /**
98
+ * @type {function(...[*]=): HTMLDataListElement}
99
+ */
100
+ export const datalist: (arg0: [any][] | undefined) => HTMLDataListElement;
101
+ /**
102
+ * @type {function(...[*]=): HTMLElement}
103
+ */
104
+ export const dd: (arg0: [any][] | undefined) => HTMLElement;
105
+ /**
106
+ * @type {function(...[*]=): HTMLModElement}
107
+ */
108
+ export const del: (arg0: [any][] | undefined) => HTMLModElement;
109
+ /**
110
+ * @type {function(...[*]=): HTMLDetailsElement}
111
+ */
112
+ export const details: (arg0: [any][] | undefined) => HTMLDetailsElement;
113
+ /**
114
+ * @type {function(...[*]=): HTMLElement}
115
+ */
116
+ export const dfn: (arg0: [any][] | undefined) => HTMLElement;
117
+ /**
118
+ * @type {function(...[*]=): HTMLDialogElement}
119
+ */
120
+ export const dialog: (arg0: [any][] | undefined) => HTMLDialogElement;
121
+ /**
122
+ * @type {function(...[*]=): HTMLDirectoryElement}
123
+ */
124
+ export const dir: (arg0: [any][] | undefined) => HTMLDirectoryElement;
125
+ /**
126
+ * @type {function(...[*]=): HTMLDivElement}
127
+ */
128
+ export const div: (arg0: [any][] | undefined) => HTMLDivElement;
129
+ /**
130
+ * @type {function(...[*]=): HTMLDListElement}
131
+ */
132
+ export const dl: (arg0: [any][] | undefined) => HTMLDListElement;
133
+ /**
134
+ * @type {function(...[*]=): HTMLElement}
135
+ */
136
+ export const dt: (arg0: [any][] | undefined) => HTMLElement;
137
+ /**
138
+ * @type {function(...[*]=): HTMLElement}
139
+ */
140
+ export const em: (arg0: [any][] | undefined) => HTMLElement;
141
+ /**
142
+ * @type {function(...[*]=): HTMLEmbedElement}
143
+ */
144
+ export const embed: (arg0: [any][] | undefined) => HTMLEmbedElement;
145
+ /**
146
+ * @type {function(...[*]=): HTMLFieldSetElement}
147
+ */
148
+ export const fieldset: (arg0: [any][] | undefined) => HTMLFieldSetElement;
149
+ /**
150
+ * @type {function(...[*]=): HTMLElement}
151
+ */
152
+ export const figcaption: (arg0: [any][] | undefined) => HTMLElement;
153
+ /**
154
+ * @type {function(...[*]=): HTMLElement}
155
+ */
156
+ export const figure: (arg0: [any][] | undefined) => HTMLElement;
157
+ /**
158
+ * @type {function(...[*]=): HTMLDivElement}
159
+ */
160
+ export const flexCol: (arg0: [any][] | undefined) => HTMLDivElement;
161
+ /**
162
+ * @type {function(...[*]=): HTMLDivElement}
163
+ */
164
+ export const flexCenteredCol: (arg0: [any][] | undefined) => HTMLDivElement;
165
+ /**
166
+ * @type {function(...[*]=): HTMLDivElement}
167
+ */
168
+ export const flexRow: (arg0: [any][] | undefined) => HTMLDivElement;
169
+ /**
170
+ * @type {function(...[*]=): HTMLDivElement}
171
+ */
172
+ export const flexCenteredRow: (arg0: [any][] | undefined) => HTMLDivElement;
173
+ /**
174
+ * @type {function(...[*]=): HTMLFontElement}
175
+ */
176
+ export const font: (arg0: [any][] | undefined) => HTMLFontElement;
177
+ /**
178
+ * @type {function(...[*]=): HTMLElement}
179
+ */
180
+ export const footer: (arg0: [any][] | undefined) => HTMLElement;
181
+ /**
182
+ * @type {function(...[*]=): HTMLFormElement}
183
+ */
184
+ export const form: (arg0: [any][] | undefined) => HTMLFormElement;
185
+ /**
186
+ * @type {function(...[*]=): HTMLFrameElement}
187
+ */
188
+ export const frame: (arg0: [any][] | undefined) => HTMLFrameElement;
189
+ /**
190
+ * @type {function(...[*]=): HTMLFrameSetElement}
191
+ */
192
+ export const frameset: (arg0: [any][] | undefined) => HTMLFrameSetElement;
193
+ /**
194
+ * @type {function(...[*]=): HTMLHeadingElement}
195
+ */
196
+ export const h1: (arg0: [any][] | undefined) => HTMLHeadingElement;
197
+ /**
198
+ * @type {function(...[*]=): HTMLHeadingElement}
199
+ */
200
+ export const h2: (arg0: [any][] | undefined) => HTMLHeadingElement;
201
+ /**
202
+ * @type {function(...[*]=): HTMLHeadingElement}
203
+ */
204
+ export const h3: (arg0: [any][] | undefined) => HTMLHeadingElement;
205
+ /**
206
+ * @type {function(...[*]=): HTMLHeadingElement}
207
+ */
208
+ export const h4: (arg0: [any][] | undefined) => HTMLHeadingElement;
209
+ /**
210
+ * @type {function(...[*]=): HTMLHeadingElement}
211
+ */
212
+ export const h5: (arg0: [any][] | undefined) => HTMLHeadingElement;
213
+ /**
214
+ * @type {function(...[*]=): HTMLHeadingElement}
215
+ */
216
+ export const h6: (arg0: [any][] | undefined) => HTMLHeadingElement;
217
+ /**
218
+ * @type {function(...[*]=): HTMLHeadElement}
219
+ */
220
+ export const head: (arg0: [any][] | undefined) => HTMLHeadElement;
221
+ /**
222
+ * @type {function(...[*]=): HTMLElement}
223
+ */
224
+ export const header: (arg0: [any][] | undefined) => HTMLElement;
225
+ /**
226
+ * @type {function(...[*]=): HTMLElement}
227
+ */
228
+ export const hgroup: (arg0: [any][] | undefined) => HTMLElement;
229
+ /**
230
+ * @type {function(...[*]=): HTMLHRElement}
231
+ */
232
+ export const hr: (arg0: [any][] | undefined) => HTMLHRElement;
233
+ /**
234
+ * @type {function(...[*]=): HTMLHtmlElement}
235
+ */
236
+ export const html: (arg0: [any][] | undefined) => HTMLHtmlElement;
237
+ /**
238
+ * @type {function(...[*]=): HTMLElement}
239
+ */
240
+ export const i: (arg0: [any][] | undefined) => HTMLElement;
241
+ /**
242
+ * @type {function(...[*]=): HTMLIFrameElement}
243
+ */
244
+ export const iframe: (arg0: [any][] | undefined) => HTMLIFrameElement;
245
+ /**
246
+ * @type {function(...[*]=): HTMLImageElement}
247
+ */
248
+ export const img: (arg0: [any][] | undefined) => HTMLImageElement;
249
+ /**
250
+ * @type {function(...[*]=): HTMLInputElement}
251
+ */
252
+ export const input: (arg0: [any][] | undefined) => HTMLInputElement;
253
+ /**
254
+ * @type {function(...[*]=): HTMLModElement}
255
+ */
256
+ export const ins: (arg0: [any][] | undefined) => HTMLModElement;
257
+ /**
258
+ * @type {function(...[*]=): HTMLElement}
259
+ */
260
+ export const kbd: (arg0: [any][] | undefined) => HTMLElement;
261
+ /**
262
+ * @type {function(...[*]=): HTMLLabelElement}
263
+ */
264
+ export const label: (arg0: [any][] | undefined) => HTMLLabelElement;
265
+ /**
266
+ * @type {function(...[*]=): HTMLLegendElement}
267
+ */
268
+ export const legend: (arg0: [any][] | undefined) => HTMLLegendElement;
269
+ /**
270
+ * @type {function(...[*]=): HTMLLIElement}
271
+ */
272
+ export const li: (arg0: [any][] | undefined) => HTMLLIElement;
273
+ /**
274
+ * @type {function(...[*]=): HTMLLinkElement}
275
+ */
276
+ export const link: (arg0: [any][] | undefined) => HTMLLinkElement;
277
+ /**
278
+ * @type {function(...[*]=): HTMLElement}
279
+ */
280
+ export const main: (arg0: [any][] | undefined) => HTMLElement;
281
+ /**
282
+ * @type {function(...[*]=): HTMLMapElement}
283
+ */
284
+ export const map: (arg0: [any][] | undefined) => HTMLMapElement;
285
+ /**
286
+ * @type {function(...[*]=): HTMLElement}
287
+ */
288
+ export const mark: (arg0: [any][] | undefined) => HTMLElement;
289
+ /**
290
+ * The best html element for every occasion.
291
+ * @type {function(...[*]=): HTMLMarqueeElement}
292
+ */
293
+ export const marquee: (arg0: [any][] | undefined) => HTMLMarqueeElement;
294
+ /**
295
+ * @type {function(...[*]=): HTMLMenuElement}
296
+ */
297
+ export const menu: (arg0: [any][] | undefined) => HTMLMenuElement;
298
+ /**
299
+ * @type {function(...[*]=): HTMLMetaElement}
300
+ */
301
+ export const meta: (arg0: [any][] | undefined) => HTMLMetaElement;
302
+ /**
303
+ * @type {function(...[*]=): HTMLMeterElement}
304
+ */
305
+ export const meter: (arg0: [any][] | undefined) => HTMLMeterElement;
306
+ /**
307
+ * @type {function(...[*]=): HTMLElement}
308
+ */
309
+ export const nav: (arg0: [any][] | undefined) => HTMLElement;
310
+ /**
311
+ * @type {function(...[*]=): HTMLElement}
312
+ */
313
+ export const noframes: (arg0: [any][] | undefined) => HTMLElement;
314
+ /**
315
+ * @type {function(...[*]=): HTMLElement}
316
+ */
317
+ export const noscript: (arg0: [any][] | undefined) => HTMLElement;
318
+ /**
319
+ * @type {function(...[*]=): HTMLObjectElement}
320
+ */
321
+ export const object: (arg0: [any][] | undefined) => HTMLObjectElement;
322
+ /**
323
+ * @type {function(...[*]=): HTMLOListElement}
324
+ */
325
+ export const ol: (arg0: [any][] | undefined) => HTMLOListElement;
326
+ /**
327
+ * @type {function(...[*]=): HTMLOptGroupElement}
328
+ */
329
+ export const optgroup: (arg0: [any][] | undefined) => HTMLOptGroupElement;
330
+ /**
331
+ * @type {function(...[*]=): HTMLOptionElement}
332
+ */
333
+ export const option: (arg0: [any][] | undefined) => HTMLOptionElement;
334
+ /**
335
+ * @type {function(...[*]=): HTMLOutputElement}
336
+ */
337
+ export const output: (arg0: [any][] | undefined) => HTMLOutputElement;
338
+ /**
339
+ * @type {function(...[*]=): HTMLParagraphElement}
340
+ */
341
+ export const p: (arg0: [any][] | undefined) => HTMLParagraphElement;
342
+ /**
343
+ * @type {function(...[*]=): HTMLParamElement}
344
+ */
345
+ export const param: (arg0: [any][] | undefined) => HTMLParamElement;
346
+ /**
347
+ * @type {function(...[*]=): HTMLPictureElement}
348
+ */
349
+ export const picture: (arg0: [any][] | undefined) => HTMLPictureElement;
350
+ /**
351
+ * @type {function(...[*]=): HTMLPreElement}
352
+ */
353
+ export const pre: (arg0: [any][] | undefined) => HTMLPreElement;
354
+ /**
355
+ * @type {function(...[*]=): HTMLProgressElement}
356
+ */
357
+ export const progress: (arg0: [any][] | undefined) => HTMLProgressElement;
358
+ /**
359
+ * @type {function(...[*]=): HTMLQuoteElement}
360
+ */
361
+ export const q: (arg0: [any][] | undefined) => HTMLQuoteElement;
362
+ /**
363
+ * @type {function(...[*]=): HTMLElement}
364
+ */
365
+ export const rp: (arg0: [any][] | undefined) => HTMLElement;
366
+ /**
367
+ * @type {function(...[*]=): HTMLElement}
368
+ */
369
+ export const rt: (arg0: [any][] | undefined) => HTMLElement;
370
+ /**
371
+ * @type {function(...[*]=): HTMLElement}
372
+ */
373
+ export const ruby: (arg0: [any][] | undefined) => HTMLElement;
374
+ /**
375
+ * @type {function(...[*]=): HTMLElement}
376
+ */
377
+ export const s: (arg0: [any][] | undefined) => HTMLElement;
378
+ /**
379
+ * @type {function(...[*]=): HTMLElement}
380
+ */
381
+ export const samp: (arg0: [any][] | undefined) => HTMLElement;
382
+ /**
383
+ * @type {function(...[*]=): HTMLScriptElement}
384
+ */
385
+ export const script: (arg0: [any][] | undefined) => HTMLScriptElement;
386
+ /**
387
+ * @type {function(...[*]=): HTMLElement}
388
+ */
389
+ export const section: (arg0: [any][] | undefined) => HTMLElement;
390
+ /**
391
+ * @type {function(...[*]=): HTMLSelectElement}
392
+ */
393
+ export const select: (arg0: [any][] | undefined) => HTMLSelectElement;
394
+ /**
395
+ * @type {function(...[*]=): HTMLSlotElement}
396
+ */
397
+ export const slot: (arg0: [any][] | undefined) => HTMLSlotElement;
398
+ /**
399
+ * @type {function(...[*]=): HTMLElement}
400
+ */
401
+ export const small: (arg0: [any][] | undefined) => HTMLElement;
402
+ /**
403
+ * @type {function(...[*]=): HTMLSourceElement}
404
+ */
405
+ export const source: (arg0: [any][] | undefined) => HTMLSourceElement;
406
+ /**
407
+ * @type {function(...[*]=): HTMLSpanElement}
408
+ */
409
+ export const span: (arg0: [any][] | undefined) => HTMLSpanElement;
410
+ /**
411
+ * @type {function(...[*]=): HTMLElement}
412
+ */
413
+ export const strong: (arg0: [any][] | undefined) => HTMLElement;
414
+ /**
415
+ * @type {function(...[*]=): HTMLStyleElement}
416
+ */
417
+ export const style: (arg0: [any][] | undefined) => HTMLStyleElement;
418
+ /**
419
+ * @type {function(...[*]=): HTMLElement}
420
+ */
421
+ export const sub: (arg0: [any][] | undefined) => HTMLElement;
422
+ /**
423
+ * @type {function(...[*]=): HTMLElement}
424
+ */
425
+ export const summary: (arg0: [any][] | undefined) => HTMLElement;
426
+ /**
427
+ * @type {function(...[*]=): HTMLElement}
428
+ */
429
+ export const sup: (arg0: [any][] | undefined) => HTMLElement;
430
+ /**
431
+ * @type {function(...[*]=): HTMLTableElement}
432
+ */
433
+ export const table: (arg0: [any][] | undefined) => HTMLTableElement;
434
+ /**
435
+ * @type {function(...[*]=): HTMLTableSectionElement}
436
+ */
437
+ export const tbody: (arg0: [any][] | undefined) => HTMLTableSectionElement;
438
+ /**
439
+ * @type {function(...[*]=): HTMLTableDataCellElement}
440
+ */
441
+ export const td: (arg0: [any][] | undefined) => HTMLTableDataCellElement;
442
+ /**
443
+ * @type {function(...[*]=): HTMLTemplateElement}
444
+ */
445
+ export const template: (arg0: [any][] | undefined) => HTMLTemplateElement;
446
+ /**
447
+ * @type {function(...[*]=): HTMLTextAreaElement}
448
+ */
449
+ export const textarea: (arg0: [any][] | undefined) => HTMLTextAreaElement;
450
+ /**
451
+ * @type {function(...[*]=): HTMLTableSectionElement}
452
+ */
453
+ export const tfoot: (arg0: [any][] | undefined) => HTMLTableSectionElement;
454
+ /**
455
+ * @type {function(...[*]=): HTMLTableHeaderCellElement}
456
+ */
457
+ export const th: (arg0: [any][] | undefined) => HTMLTableHeaderCellElement;
458
+ /**
459
+ * @type {function(...[*]=): HTMLTableSectionElement}
460
+ */
461
+ export const thead: (arg0: [any][] | undefined) => HTMLTableSectionElement;
462
+ /**
463
+ * @type {function(...[*]=): HTMLTimeElement}
464
+ */
465
+ export const time: (arg0: [any][] | undefined) => HTMLTimeElement;
466
+ /**
467
+ * @type {function(...[*]=): HTMLTitleElement}
468
+ */
469
+ export const title: (arg0: [any][] | undefined) => HTMLTitleElement;
470
+ /**
471
+ * @type {function(...[*]=): HTMLTableRowElement}
472
+ */
473
+ export const tr: (arg0: [any][] | undefined) => HTMLTableRowElement;
474
+ /**
475
+ * @type {function(...[*]=): HTMLTrackElement}
476
+ */
477
+ export const track: (arg0: [any][] | undefined) => HTMLTrackElement;
478
+ /**
479
+ * @type {function(...[*]=): HTMLElement}
480
+ */
481
+ export const tt: (arg0: [any][] | undefined) => HTMLElement;
482
+ /**
483
+ * @type {function(...[*]=): HTMLElement}
484
+ */
485
+ export const u: (arg0: [any][] | undefined) => HTMLElement;
486
+ /**
487
+ * @type {function(...[*]=): HTMLUListElement}
488
+ */
489
+ export const ul: (arg0: [any][] | undefined) => HTMLUListElement;
490
+ /**
491
+ * name conflicts with js syntax
492
+ *
493
+ * @type {function(...[*]=): HTMLElement}
494
+ */
495
+ export const var_: (arg0: [any][] | undefined) => HTMLElement;
496
+ /**
497
+ * @type {function(...[*]=): HTMLVideoElement}
498
+ */
499
+ export const video: (arg0: [any][] | undefined) => HTMLVideoElement;
500
+ /**
501
+ * @type {function(...[*]=): HTMLElement}
502
+ */
503
+ export const wbr: (arg0: [any][] | undefined) => HTMLElement;
504
+ //# sourceMappingURL=fnelements.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fnelements.d.mts","sourceRoot":"","sources":["fnelements.mjs"],"names":[],"mappings":"AAEA;;GAEG;AACH,uBAFsB,KAAG,mBAAI,iBAAiB,CAEO;AAErD;;GAEG;AACH,0BAFsB,KAAG,mBAAI,WAAW,CAEmB;AAE3D;;GAEG;AACH,6BAFsB,KAAG,mBAAI,WAAW,CAEyB;AAEjE;;GAEG;AACH,6BAFsB,KAAG,mBAAI,WAAW,CAEyB;AAEjE;;GAEG;AACH,0BAFsB,KAAG,mBAAI,eAAe,CAEe;AAE3D;;GAEG;AACH,6BAFsB,KAAG,mBAAI,WAAW,CAEyB;AAEjE;;GAEG;AACH,2BAFsB,KAAG,mBAAI,WAAW,CAEqB;AAE7D;;GAEG;AACH,2BAFsB,KAAG,mBAAI,gBAAgB,CAEgB;AAE7D;;G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