keits 0.1.1 → 0.1.2
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/types/api/client.d.ts +2 -2
- package/dist/types/api/index.d.ts +3 -3
- package/dist/types/async/index.d.ts +2 -2
- package/dist/types/async/lazy.d.ts +1 -1
- package/dist/types/async/render-context.d.ts +2 -2
- package/dist/types/async/resource.d.ts +1 -1
- package/dist/types/async/suspense-context.d.ts +1 -1
- package/dist/types/core/computed.d.ts +1 -1
- package/dist/types/core/signal.d.ts +2 -2
- package/dist/types/dom/element.d.ts +1 -1
- package/dist/types/dom/index.d.ts +6 -6
- package/dist/types/dom/insert.d.ts +1 -1
- package/dist/types/dom/mount.d.ts +1 -1
- package/dist/types/dom/tags.d.ts +112 -112
- package/dist/types/flow/catch.d.ts +1 -1
- package/dist/types/flow/dynamic.d.ts +1 -1
- package/dist/types/flow/for.d.ts +2 -2
- package/dist/types/flow/if.d.ts +2 -2
- package/dist/types/flow/index.d.ts +8 -8
- package/dist/types/flow/portal.d.ts +1 -1
- package/dist/types/flow/range.d.ts +1 -1
- package/dist/types/flow/suspense.d.ts +1 -1
- package/dist/types/flow/switch.d.ts +1 -1
- package/dist/types/forms/form.d.ts +3 -3
- package/dist/types/forms/index.d.ts +2 -2
- package/dist/types/index.d.ts +12 -12
- package/dist/types/router/index.d.ts +4 -4
- package/dist/types/router/match.d.ts +1 -1
- package/dist/types/router/router.d.ts +2 -2
- package/dist/types/router/types.d.ts +2 -2
- package/dist/types/static/head.d.ts +2 -2
- package/dist/types/static/hydrate.d.ts +1 -1
- package/dist/types/static/index.d.ts +4 -4
- package/dist/types/static/island.d.ts +1 -1
- package/dist/types/static/render.d.ts +1 -1
- package/dist/types/static/server-dom.d.ts +1 -1
- package/dist/types/svg/element.d.ts +1 -1
- package/dist/types/svg/index.d.ts +3 -3
- package/dist/types/svg/tags.d.ts +63 -63
- package/dist/types/svg/types.d.ts +1 -1
- package/dist/types/testing/index.d.ts +1 -1
- package/dist/types/vite/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Resource } from "../async/resource";
|
|
2
|
-
import { type PathParams, type QueryParams } from "./url";
|
|
1
|
+
import { type Resource } from "../async/resource.js";
|
|
2
|
+
import { type PathParams, type QueryParams } from "./url.js";
|
|
3
3
|
export interface ApiConfig {
|
|
4
4
|
baseUrl?: string;
|
|
5
5
|
headers?: HeadersInit | (() => HeadersInit | PromiseLike<HeadersInit>);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { createApi, type Api, type ApiConfig, type QueryOptions, type RequestOptions } from "./client";
|
|
2
|
-
export { ApiError } from "./error";
|
|
3
|
-
export type { PathParams, QueryParams, QueryValue } from "./url";
|
|
1
|
+
export { createApi, type Api, type ApiConfig, type QueryOptions, type RequestOptions } from "./client.js";
|
|
2
|
+
export { ApiError } from "./error.js";
|
|
3
|
+
export type { PathParams, QueryParams, QueryValue } from "./url.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { resource, type FetchInfo, type Resource, type ResourceOptions, type ResourceState } from "./resource";
|
|
2
|
-
export { lazy, type LazyComponent } from "./lazy";
|
|
1
|
+
export { resource, type FetchInfo, type Resource, type ResourceOptions, type ResourceState } from "./resource.js";
|
|
2
|
+
export { lazy, type LazyComponent } from "./lazy.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Owner } from "../core/graph";
|
|
1
|
+
import type { Owner } from "../core/graph.js";
|
|
2
2
|
export interface RenderTracker {
|
|
3
3
|
wait(loading: Promise<unknown>): void;
|
|
4
4
|
store(key: string, value: unknown, owner: Owner | null): void;
|
|
5
5
|
}
|
|
6
|
-
export declare const RenderContext: import("
|
|
6
|
+
export declare const RenderContext: import("../index.js").Context<RenderTracker | null>;
|
|
7
7
|
export declare let hydratedValue: ((key: string) => {
|
|
8
8
|
value: unknown;
|
|
9
9
|
} | undefined) | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export interface SuspenseBoundary {
|
|
2
2
|
wait(key: object, subscribe: (done: () => void) => void): void;
|
|
3
3
|
}
|
|
4
|
-
export declare const SuspenseContext: import("
|
|
4
|
+
export declare const SuspenseContext: import("../index.js").Context<SuspenseBoundary | null>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SignalSource } from "./graph";
|
|
2
|
-
import type { Accessor } from "./types";
|
|
1
|
+
import { type SignalSource } from "./graph.js";
|
|
2
|
+
import type { Accessor } from "./types.js";
|
|
3
3
|
export interface Signal<T> extends Accessor<T> {
|
|
4
4
|
set(next: Exclude<T, Function> | ((prev: T) => T)): void;
|
|
5
5
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Child, ElementFactory } from "./types";
|
|
1
|
+
import type { Child, ElementFactory } from "./types.js";
|
|
2
2
|
export declare function html<K extends keyof HTMLElementTagNameMap>(tag: K): ElementFactory<HTMLElementTagNameMap[K]>;
|
|
3
3
|
export declare function createFactory(tag: string, namespace: string | null): (first?: unknown, children?: Child) => Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./tags";
|
|
2
|
-
export { html } from "./element";
|
|
3
|
-
export { insert } from "./insert";
|
|
4
|
-
export { mount } from "./mount";
|
|
5
|
-
export { unsafeHTML } from "./unsafe";
|
|
6
|
-
export type { Child, ClassValue, ElementFactory, EventHandler, MaybeAccessor, Props, StyleValue } from "./types";
|
|
1
|
+
export * from "./tags.js";
|
|
2
|
+
export { html } from "./element.js";
|
|
3
|
+
export { insert } from "./insert.js";
|
|
4
|
+
export { mount } from "./mount.js";
|
|
5
|
+
export { unsafeHTML } from "./unsafe.js";
|
|
6
|
+
export type { Child, ClassValue, ElementFactory, EventHandler, MaybeAccessor, Props, StyleValue } from "./types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Child } from "./types";
|
|
1
|
+
import type { Child } from "./types.js";
|
|
2
2
|
export declare function insert(parent: Node, child: Child, before?: Node | null): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Child } from "./types";
|
|
1
|
+
import type { Child } from "./types.js";
|
|
2
2
|
export declare function mount(app: () => Child, target: Element | null): () => void;
|
package/dist/types/dom/tags.d.ts
CHANGED
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
export declare const $a: import("./types").ElementFactory<HTMLAnchorElement>;
|
|
2
|
-
export declare const $abbr: import("./types").ElementFactory<HTMLElement>;
|
|
3
|
-
export declare const $address: import("./types").ElementFactory<HTMLElement>;
|
|
4
|
-
export declare const $area: import("./types").ElementFactory<HTMLAreaElement>;
|
|
5
|
-
export declare const $article: import("./types").ElementFactory<HTMLElement>;
|
|
6
|
-
export declare const $aside: import("./types").ElementFactory<HTMLElement>;
|
|
7
|
-
export declare const $audio: import("./types").ElementFactory<HTMLAudioElement>;
|
|
8
|
-
export declare const $b: import("./types").ElementFactory<HTMLElement>;
|
|
9
|
-
export declare const $base: import("./types").ElementFactory<HTMLBaseElement>;
|
|
10
|
-
export declare const $bdi: import("./types").ElementFactory<HTMLElement>;
|
|
11
|
-
export declare const $bdo: import("./types").ElementFactory<HTMLElement>;
|
|
12
|
-
export declare const $blockquote: import("./types").ElementFactory<HTMLQuoteElement>;
|
|
13
|
-
export declare const $body: import("./types").ElementFactory<HTMLBodyElement>;
|
|
14
|
-
export declare const $br: import("./types").ElementFactory<HTMLBRElement>;
|
|
15
|
-
export declare const $button: import("./types").ElementFactory<HTMLButtonElement>;
|
|
16
|
-
export declare const $canvas: import("./types").ElementFactory<HTMLCanvasElement>;
|
|
17
|
-
export declare const $caption: import("./types").ElementFactory<HTMLTableCaptionElement>;
|
|
18
|
-
export declare const $cite: import("./types").ElementFactory<HTMLElement>;
|
|
19
|
-
export declare const $code: import("./types").ElementFactory<HTMLElement>;
|
|
20
|
-
export declare const $col: import("./types").ElementFactory<HTMLTableColElement>;
|
|
21
|
-
export declare const $colgroup: import("./types").ElementFactory<HTMLTableColElement>;
|
|
22
|
-
export declare const $data: import("./types").ElementFactory<HTMLDataElement>;
|
|
23
|
-
export declare const $datalist: import("./types").ElementFactory<HTMLDataListElement>;
|
|
24
|
-
export declare const $dd: import("./types").ElementFactory<HTMLElement>;
|
|
25
|
-
export declare const $del: import("./types").ElementFactory<HTMLModElement>;
|
|
26
|
-
export declare const $details: import("./types").ElementFactory<HTMLDetailsElement>;
|
|
27
|
-
export declare const $dfn: import("./types").ElementFactory<HTMLElement>;
|
|
28
|
-
export declare const $dialog: import("./types").ElementFactory<HTMLDialogElement>;
|
|
29
|
-
export declare const $div: import("./types").ElementFactory<HTMLDivElement>;
|
|
30
|
-
export declare const $dl: import("./types").ElementFactory<HTMLDListElement>;
|
|
31
|
-
export declare const $dt: import("./types").ElementFactory<HTMLElement>;
|
|
32
|
-
export declare const $em: import("./types").ElementFactory<HTMLElement>;
|
|
33
|
-
export declare const $embed: import("./types").ElementFactory<HTMLEmbedElement>;
|
|
34
|
-
export declare const $fieldset: import("./types").ElementFactory<HTMLFieldSetElement>;
|
|
35
|
-
export declare const $figcaption: import("./types").ElementFactory<HTMLElement>;
|
|
36
|
-
export declare const $figure: import("./types").ElementFactory<HTMLElement>;
|
|
37
|
-
export declare const $footer: import("./types").ElementFactory<HTMLElement>;
|
|
38
|
-
export declare const $form: import("./types").ElementFactory<HTMLFormElement>;
|
|
39
|
-
export declare const $h1: import("./types").ElementFactory<HTMLHeadingElement>;
|
|
40
|
-
export declare const $h2: import("./types").ElementFactory<HTMLHeadingElement>;
|
|
41
|
-
export declare const $h3: import("./types").ElementFactory<HTMLHeadingElement>;
|
|
42
|
-
export declare const $h4: import("./types").ElementFactory<HTMLHeadingElement>;
|
|
43
|
-
export declare const $h5: import("./types").ElementFactory<HTMLHeadingElement>;
|
|
44
|
-
export declare const $h6: import("./types").ElementFactory<HTMLHeadingElement>;
|
|
45
|
-
export declare const $head: import("./types").ElementFactory<HTMLHeadElement>;
|
|
46
|
-
export declare const $header: import("./types").ElementFactory<HTMLElement>;
|
|
47
|
-
export declare const $hgroup: import("./types").ElementFactory<HTMLElement>;
|
|
48
|
-
export declare const $hr: import("./types").ElementFactory<HTMLHRElement>;
|
|
49
|
-
export declare const $html: import("./types").ElementFactory<HTMLHtmlElement>;
|
|
50
|
-
export declare const $i: import("./types").ElementFactory<HTMLElement>;
|
|
51
|
-
export declare const $iframe: import("./types").ElementFactory<HTMLIFrameElement>;
|
|
52
|
-
export declare const $img: import("./types").ElementFactory<HTMLImageElement>;
|
|
53
|
-
export declare const $input: import("./types").ElementFactory<HTMLInputElement>;
|
|
54
|
-
export declare const $ins: import("./types").ElementFactory<HTMLModElement>;
|
|
55
|
-
export declare const $kbd: import("./types").ElementFactory<HTMLElement>;
|
|
56
|
-
export declare const $label: import("./types").ElementFactory<HTMLLabelElement>;
|
|
57
|
-
export declare const $legend: import("./types").ElementFactory<HTMLLegendElement>;
|
|
58
|
-
export declare const $li: import("./types").ElementFactory<HTMLLIElement>;
|
|
59
|
-
export declare const $link: import("./types").ElementFactory<HTMLLinkElement>;
|
|
60
|
-
export declare const $main: import("./types").ElementFactory<HTMLElement>;
|
|
61
|
-
export declare const $map: import("./types").ElementFactory<HTMLMapElement>;
|
|
62
|
-
export declare const $mark: import("./types").ElementFactory<HTMLElement>;
|
|
63
|
-
export declare const $menu: import("./types").ElementFactory<HTMLMenuElement>;
|
|
64
|
-
export declare const $meta: import("./types").ElementFactory<HTMLMetaElement>;
|
|
65
|
-
export declare const $meter: import("./types").ElementFactory<HTMLMeterElement>;
|
|
66
|
-
export declare const $nav: import("./types").ElementFactory<HTMLElement>;
|
|
67
|
-
export declare const $noscript: import("./types").ElementFactory<HTMLElement>;
|
|
68
|
-
export declare const $object: import("./types").ElementFactory<HTMLObjectElement>;
|
|
69
|
-
export declare const $ol: import("./types").ElementFactory<HTMLOListElement>;
|
|
70
|
-
export declare const $optgroup: import("./types").ElementFactory<HTMLOptGroupElement>;
|
|
71
|
-
export declare const $option: import("./types").ElementFactory<HTMLOptionElement>;
|
|
72
|
-
export declare const $output: import("./types").ElementFactory<HTMLOutputElement>;
|
|
73
|
-
export declare const $p: import("./types").ElementFactory<HTMLParagraphElement>;
|
|
74
|
-
export declare const $picture: import("./types").ElementFactory<HTMLPictureElement>;
|
|
75
|
-
export declare const $pre: import("./types").ElementFactory<HTMLPreElement>;
|
|
76
|
-
export declare const $progress: import("./types").ElementFactory<HTMLProgressElement>;
|
|
77
|
-
export declare const $q: import("./types").ElementFactory<HTMLQuoteElement>;
|
|
78
|
-
export declare const $rp: import("./types").ElementFactory<HTMLElement>;
|
|
79
|
-
export declare const $rt: import("./types").ElementFactory<HTMLElement>;
|
|
80
|
-
export declare const $ruby: import("./types").ElementFactory<HTMLElement>;
|
|
81
|
-
export declare const $s: import("./types").ElementFactory<HTMLElement>;
|
|
82
|
-
export declare const $samp: import("./types").ElementFactory<HTMLElement>;
|
|
83
|
-
export declare const $script: import("./types").ElementFactory<HTMLScriptElement>;
|
|
84
|
-
export declare const $search: import("./types").ElementFactory<HTMLElement>;
|
|
85
|
-
export declare const $section: import("./types").ElementFactory<HTMLElement>;
|
|
86
|
-
export declare const $select: import("./types").ElementFactory<HTMLSelectElement>;
|
|
87
|
-
export declare const $slot: import("./types").ElementFactory<HTMLSlotElement>;
|
|
88
|
-
export declare const $small: import("./types").ElementFactory<HTMLElement>;
|
|
89
|
-
export declare const $source: import("./types").ElementFactory<HTMLSourceElement>;
|
|
90
|
-
export declare const $span: import("./types").ElementFactory<HTMLSpanElement>;
|
|
91
|
-
export declare const $strong: import("./types").ElementFactory<HTMLElement>;
|
|
92
|
-
export declare const $style: import("./types").ElementFactory<HTMLStyleElement>;
|
|
93
|
-
export declare const $sub: import("./types").ElementFactory<HTMLElement>;
|
|
94
|
-
export declare const $summary: import("./types").ElementFactory<HTMLElement>;
|
|
95
|
-
export declare const $sup: import("./types").ElementFactory<HTMLElement>;
|
|
96
|
-
export declare const $table: import("./types").ElementFactory<HTMLTableElement>;
|
|
97
|
-
export declare const $tbody: import("./types").ElementFactory<HTMLTableSectionElement>;
|
|
98
|
-
export declare const $td: import("./types").ElementFactory<HTMLTableCellElement>;
|
|
99
|
-
export declare const $template: import("./types").ElementFactory<HTMLTemplateElement>;
|
|
100
|
-
export declare const $textarea: import("./types").ElementFactory<HTMLTextAreaElement>;
|
|
101
|
-
export declare const $tfoot: import("./types").ElementFactory<HTMLTableSectionElement>;
|
|
102
|
-
export declare const $th: import("./types").ElementFactory<HTMLTableCellElement>;
|
|
103
|
-
export declare const $thead: import("./types").ElementFactory<HTMLTableSectionElement>;
|
|
104
|
-
export declare const $time: import("./types").ElementFactory<HTMLTimeElement>;
|
|
105
|
-
export declare const $title: import("./types").ElementFactory<HTMLTitleElement>;
|
|
106
|
-
export declare const $tr: import("./types").ElementFactory<HTMLTableRowElement>;
|
|
107
|
-
export declare const $track: import("./types").ElementFactory<HTMLTrackElement>;
|
|
108
|
-
export declare const $u: import("./types").ElementFactory<HTMLElement>;
|
|
109
|
-
export declare const $ul: import("./types").ElementFactory<HTMLUListElement>;
|
|
110
|
-
export declare const $var: import("./types").ElementFactory<HTMLElement>;
|
|
111
|
-
export declare const $video: import("./types").ElementFactory<HTMLVideoElement>;
|
|
112
|
-
export declare const $wbr: import("./types").ElementFactory<HTMLElement>;
|
|
1
|
+
export declare const $a: import("./types.js").ElementFactory<HTMLAnchorElement>;
|
|
2
|
+
export declare const $abbr: import("./types.js").ElementFactory<HTMLElement>;
|
|
3
|
+
export declare const $address: import("./types.js").ElementFactory<HTMLElement>;
|
|
4
|
+
export declare const $area: import("./types.js").ElementFactory<HTMLAreaElement>;
|
|
5
|
+
export declare const $article: import("./types.js").ElementFactory<HTMLElement>;
|
|
6
|
+
export declare const $aside: import("./types.js").ElementFactory<HTMLElement>;
|
|
7
|
+
export declare const $audio: import("./types.js").ElementFactory<HTMLAudioElement>;
|
|
8
|
+
export declare const $b: import("./types.js").ElementFactory<HTMLElement>;
|
|
9
|
+
export declare const $base: import("./types.js").ElementFactory<HTMLBaseElement>;
|
|
10
|
+
export declare const $bdi: import("./types.js").ElementFactory<HTMLElement>;
|
|
11
|
+
export declare const $bdo: import("./types.js").ElementFactory<HTMLElement>;
|
|
12
|
+
export declare const $blockquote: import("./types.js").ElementFactory<HTMLQuoteElement>;
|
|
13
|
+
export declare const $body: import("./types.js").ElementFactory<HTMLBodyElement>;
|
|
14
|
+
export declare const $br: import("./types.js").ElementFactory<HTMLBRElement>;
|
|
15
|
+
export declare const $button: import("./types.js").ElementFactory<HTMLButtonElement>;
|
|
16
|
+
export declare const $canvas: import("./types.js").ElementFactory<HTMLCanvasElement>;
|
|
17
|
+
export declare const $caption: import("./types.js").ElementFactory<HTMLTableCaptionElement>;
|
|
18
|
+
export declare const $cite: import("./types.js").ElementFactory<HTMLElement>;
|
|
19
|
+
export declare const $code: import("./types.js").ElementFactory<HTMLElement>;
|
|
20
|
+
export declare const $col: import("./types.js").ElementFactory<HTMLTableColElement>;
|
|
21
|
+
export declare const $colgroup: import("./types.js").ElementFactory<HTMLTableColElement>;
|
|
22
|
+
export declare const $data: import("./types.js").ElementFactory<HTMLDataElement>;
|
|
23
|
+
export declare const $datalist: import("./types.js").ElementFactory<HTMLDataListElement>;
|
|
24
|
+
export declare const $dd: import("./types.js").ElementFactory<HTMLElement>;
|
|
25
|
+
export declare const $del: import("./types.js").ElementFactory<HTMLModElement>;
|
|
26
|
+
export declare const $details: import("./types.js").ElementFactory<HTMLDetailsElement>;
|
|
27
|
+
export declare const $dfn: import("./types.js").ElementFactory<HTMLElement>;
|
|
28
|
+
export declare const $dialog: import("./types.js").ElementFactory<HTMLDialogElement>;
|
|
29
|
+
export declare const $div: import("./types.js").ElementFactory<HTMLDivElement>;
|
|
30
|
+
export declare const $dl: import("./types.js").ElementFactory<HTMLDListElement>;
|
|
31
|
+
export declare const $dt: import("./types.js").ElementFactory<HTMLElement>;
|
|
32
|
+
export declare const $em: import("./types.js").ElementFactory<HTMLElement>;
|
|
33
|
+
export declare const $embed: import("./types.js").ElementFactory<HTMLEmbedElement>;
|
|
34
|
+
export declare const $fieldset: import("./types.js").ElementFactory<HTMLFieldSetElement>;
|
|
35
|
+
export declare const $figcaption: import("./types.js").ElementFactory<HTMLElement>;
|
|
36
|
+
export declare const $figure: import("./types.js").ElementFactory<HTMLElement>;
|
|
37
|
+
export declare const $footer: import("./types.js").ElementFactory<HTMLElement>;
|
|
38
|
+
export declare const $form: import("./types.js").ElementFactory<HTMLFormElement>;
|
|
39
|
+
export declare const $h1: import("./types.js").ElementFactory<HTMLHeadingElement>;
|
|
40
|
+
export declare const $h2: import("./types.js").ElementFactory<HTMLHeadingElement>;
|
|
41
|
+
export declare const $h3: import("./types.js").ElementFactory<HTMLHeadingElement>;
|
|
42
|
+
export declare const $h4: import("./types.js").ElementFactory<HTMLHeadingElement>;
|
|
43
|
+
export declare const $h5: import("./types.js").ElementFactory<HTMLHeadingElement>;
|
|
44
|
+
export declare const $h6: import("./types.js").ElementFactory<HTMLHeadingElement>;
|
|
45
|
+
export declare const $head: import("./types.js").ElementFactory<HTMLHeadElement>;
|
|
46
|
+
export declare const $header: import("./types.js").ElementFactory<HTMLElement>;
|
|
47
|
+
export declare const $hgroup: import("./types.js").ElementFactory<HTMLElement>;
|
|
48
|
+
export declare const $hr: import("./types.js").ElementFactory<HTMLHRElement>;
|
|
49
|
+
export declare const $html: import("./types.js").ElementFactory<HTMLHtmlElement>;
|
|
50
|
+
export declare const $i: import("./types.js").ElementFactory<HTMLElement>;
|
|
51
|
+
export declare const $iframe: import("./types.js").ElementFactory<HTMLIFrameElement>;
|
|
52
|
+
export declare const $img: import("./types.js").ElementFactory<HTMLImageElement>;
|
|
53
|
+
export declare const $input: import("./types.js").ElementFactory<HTMLInputElement>;
|
|
54
|
+
export declare const $ins: import("./types.js").ElementFactory<HTMLModElement>;
|
|
55
|
+
export declare const $kbd: import("./types.js").ElementFactory<HTMLElement>;
|
|
56
|
+
export declare const $label: import("./types.js").ElementFactory<HTMLLabelElement>;
|
|
57
|
+
export declare const $legend: import("./types.js").ElementFactory<HTMLLegendElement>;
|
|
58
|
+
export declare const $li: import("./types.js").ElementFactory<HTMLLIElement>;
|
|
59
|
+
export declare const $link: import("./types.js").ElementFactory<HTMLLinkElement>;
|
|
60
|
+
export declare const $main: import("./types.js").ElementFactory<HTMLElement>;
|
|
61
|
+
export declare const $map: import("./types.js").ElementFactory<HTMLMapElement>;
|
|
62
|
+
export declare const $mark: import("./types.js").ElementFactory<HTMLElement>;
|
|
63
|
+
export declare const $menu: import("./types.js").ElementFactory<HTMLMenuElement>;
|
|
64
|
+
export declare const $meta: import("./types.js").ElementFactory<HTMLMetaElement>;
|
|
65
|
+
export declare const $meter: import("./types.js").ElementFactory<HTMLMeterElement>;
|
|
66
|
+
export declare const $nav: import("./types.js").ElementFactory<HTMLElement>;
|
|
67
|
+
export declare const $noscript: import("./types.js").ElementFactory<HTMLElement>;
|
|
68
|
+
export declare const $object: import("./types.js").ElementFactory<HTMLObjectElement>;
|
|
69
|
+
export declare const $ol: import("./types.js").ElementFactory<HTMLOListElement>;
|
|
70
|
+
export declare const $optgroup: import("./types.js").ElementFactory<HTMLOptGroupElement>;
|
|
71
|
+
export declare const $option: import("./types.js").ElementFactory<HTMLOptionElement>;
|
|
72
|
+
export declare const $output: import("./types.js").ElementFactory<HTMLOutputElement>;
|
|
73
|
+
export declare const $p: import("./types.js").ElementFactory<HTMLParagraphElement>;
|
|
74
|
+
export declare const $picture: import("./types.js").ElementFactory<HTMLPictureElement>;
|
|
75
|
+
export declare const $pre: import("./types.js").ElementFactory<HTMLPreElement>;
|
|
76
|
+
export declare const $progress: import("./types.js").ElementFactory<HTMLProgressElement>;
|
|
77
|
+
export declare const $q: import("./types.js").ElementFactory<HTMLQuoteElement>;
|
|
78
|
+
export declare const $rp: import("./types.js").ElementFactory<HTMLElement>;
|
|
79
|
+
export declare const $rt: import("./types.js").ElementFactory<HTMLElement>;
|
|
80
|
+
export declare const $ruby: import("./types.js").ElementFactory<HTMLElement>;
|
|
81
|
+
export declare const $s: import("./types.js").ElementFactory<HTMLElement>;
|
|
82
|
+
export declare const $samp: import("./types.js").ElementFactory<HTMLElement>;
|
|
83
|
+
export declare const $script: import("./types.js").ElementFactory<HTMLScriptElement>;
|
|
84
|
+
export declare const $search: import("./types.js").ElementFactory<HTMLElement>;
|
|
85
|
+
export declare const $section: import("./types.js").ElementFactory<HTMLElement>;
|
|
86
|
+
export declare const $select: import("./types.js").ElementFactory<HTMLSelectElement>;
|
|
87
|
+
export declare const $slot: import("./types.js").ElementFactory<HTMLSlotElement>;
|
|
88
|
+
export declare const $small: import("./types.js").ElementFactory<HTMLElement>;
|
|
89
|
+
export declare const $source: import("./types.js").ElementFactory<HTMLSourceElement>;
|
|
90
|
+
export declare const $span: import("./types.js").ElementFactory<HTMLSpanElement>;
|
|
91
|
+
export declare const $strong: import("./types.js").ElementFactory<HTMLElement>;
|
|
92
|
+
export declare const $style: import("./types.js").ElementFactory<HTMLStyleElement>;
|
|
93
|
+
export declare const $sub: import("./types.js").ElementFactory<HTMLElement>;
|
|
94
|
+
export declare const $summary: import("./types.js").ElementFactory<HTMLElement>;
|
|
95
|
+
export declare const $sup: import("./types.js").ElementFactory<HTMLElement>;
|
|
96
|
+
export declare const $table: import("./types.js").ElementFactory<HTMLTableElement>;
|
|
97
|
+
export declare const $tbody: import("./types.js").ElementFactory<HTMLTableSectionElement>;
|
|
98
|
+
export declare const $td: import("./types.js").ElementFactory<HTMLTableCellElement>;
|
|
99
|
+
export declare const $template: import("./types.js").ElementFactory<HTMLTemplateElement>;
|
|
100
|
+
export declare const $textarea: import("./types.js").ElementFactory<HTMLTextAreaElement>;
|
|
101
|
+
export declare const $tfoot: import("./types.js").ElementFactory<HTMLTableSectionElement>;
|
|
102
|
+
export declare const $th: import("./types.js").ElementFactory<HTMLTableCellElement>;
|
|
103
|
+
export declare const $thead: import("./types.js").ElementFactory<HTMLTableSectionElement>;
|
|
104
|
+
export declare const $time: import("./types.js").ElementFactory<HTMLTimeElement>;
|
|
105
|
+
export declare const $title: import("./types.js").ElementFactory<HTMLTitleElement>;
|
|
106
|
+
export declare const $tr: import("./types.js").ElementFactory<HTMLTableRowElement>;
|
|
107
|
+
export declare const $track: import("./types.js").ElementFactory<HTMLTrackElement>;
|
|
108
|
+
export declare const $u: import("./types.js").ElementFactory<HTMLElement>;
|
|
109
|
+
export declare const $ul: import("./types.js").ElementFactory<HTMLUListElement>;
|
|
110
|
+
export declare const $var: import("./types.js").ElementFactory<HTMLElement>;
|
|
111
|
+
export declare const $video: import("./types.js").ElementFactory<HTMLVideoElement>;
|
|
112
|
+
export declare const $wbr: import("./types.js").ElementFactory<HTMLElement>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Child } from "../dom/types";
|
|
1
|
+
import type { Child } from "../dom/types.js";
|
|
2
2
|
export declare function $catch(children: () => Child, fallback: (error: unknown, reset: () => void) => Child): Child;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Child } from "../dom/types";
|
|
1
|
+
import type { Child } from "../dom/types.js";
|
|
2
2
|
export type Component<P> = (props: P) => Child;
|
|
3
3
|
type MaybeComponent<P> = Component<P> | null | undefined | false;
|
|
4
4
|
export declare function $dynamic(component: () => MaybeComponent<void>): Child;
|
package/dist/types/flow/for.d.ts
CHANGED
package/dist/types/flow/if.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Accessor } from "../core/types";
|
|
2
|
-
import type { Child } from "../dom/types";
|
|
1
|
+
import type { Accessor } from "../core/types.js";
|
|
2
|
+
import type { Child } from "../dom/types.js";
|
|
3
3
|
export type Truthy<T> = Exclude<T, null | undefined | false | 0 | "" | 0>;
|
|
4
4
|
export declare function $if<T>(when: () => T, then: (value: Accessor<Truthy<T>>) => Child, otherwise?: () => Child): Child;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { $for, type ForOptions } from "./for";
|
|
2
|
-
export { $if, type Truthy } from "./if";
|
|
3
|
-
export { $show } from "./show";
|
|
4
|
-
export { $switch, type PartialSwitchCases, type SwitchCases } from "./switch";
|
|
5
|
-
export { $dynamic, type Component } from "./dynamic";
|
|
6
|
-
export { $catch } from "./catch";
|
|
7
|
-
export { $portal } from "./portal";
|
|
8
|
-
export { $suspense } from "./suspense";
|
|
1
|
+
export { $for, type ForOptions } from "./for.js";
|
|
2
|
+
export { $if, type Truthy } from "./if.js";
|
|
3
|
+
export { $show } from "./show.js";
|
|
4
|
+
export { $switch, type PartialSwitchCases, type SwitchCases } from "./switch.js";
|
|
5
|
+
export { $dynamic, type Component } from "./dynamic.js";
|
|
6
|
+
export { $catch } from "./catch.js";
|
|
7
|
+
export { $portal } from "./portal.js";
|
|
8
|
+
export { $suspense } from "./suspense.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Child } from "../dom/types";
|
|
1
|
+
import type { Child } from "../dom/types.js";
|
|
2
2
|
export declare function $portal(children: () => Child, target?: Element | null): Child;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Child } from "../dom/types";
|
|
1
|
+
import type { Child } from "../dom/types.js";
|
|
2
2
|
export declare function $suspense(children: () => Child, fallback: () => Child): Child;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type Store } from "../core/store";
|
|
2
|
-
import type { MaybeAccessor } from "../dom/types";
|
|
3
|
-
import type { ArrayPath, CheckResult, FormErrors, Path, PathValue, StandardSchemaV1 } from "./types";
|
|
1
|
+
import { type Store } from "../core/store.js";
|
|
2
|
+
import type { MaybeAccessor } from "../dom/types.js";
|
|
3
|
+
import type { ArrayPath, CheckResult, FormErrors, Path, PathValue, StandardSchemaV1 } from "./types.js";
|
|
4
4
|
export type FieldChecks<T> = {
|
|
5
5
|
[P in Path<T>]?: (value: PathValue<T, P>, values: T) => CheckResult | PromiseLike<CheckResult>;
|
|
6
6
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { form, type BindProps, type FieldArray, type FieldChecks, type Form, type FormOptions } from "./form";
|
|
2
|
-
export type { ArrayPath, CheckResult, FormErrors, Path, PathValue, StandardIssue, StandardResult, StandardSchemaV1 } from "./types";
|
|
1
|
+
export { form, type BindProps, type FieldArray, type FieldChecks, type Form, type FormOptions } from "./form.js";
|
|
2
|
+
export type { ArrayPath, CheckResult, FormErrors, Path, PathValue, StandardIssue, StandardResult, StandardSchemaV1 } from "./types.js";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export type { Accessor } from "./core/types";
|
|
2
|
-
export { signal, type Signal, type SignalOptions } from "./core/signal";
|
|
3
|
-
export { effect, type EffectOptions } from "./core/effect";
|
|
4
|
-
export { computed, type ComputedOptions } from "./core/computed";
|
|
5
|
-
export { batch, isStaticRender, untrack } from "./core/graph";
|
|
6
|
-
export { isServer } from "./core/env";
|
|
7
|
-
export { catchError, createRoot, getOwner, onCleanup, onMount, renderStatic, runWithOwner, type Owner } from "./core/owner";
|
|
8
|
-
export { createContext, provide, useContext, type Context, type ContextOptions } from "./core/context";
|
|
9
|
-
export { reconcile, store, unwrap, type ReconcileOptions, type SetStore, type Store, type StoreOptions } from "./core/store";
|
|
10
|
-
export * from "./dom/index";
|
|
11
|
-
export * from "./flow/index";
|
|
12
|
-
export * from "./async/index";
|
|
1
|
+
export type { Accessor } from "./core/types.js";
|
|
2
|
+
export { signal, type Signal, type SignalOptions } from "./core/signal.js";
|
|
3
|
+
export { effect, type EffectOptions } from "./core/effect.js";
|
|
4
|
+
export { computed, type ComputedOptions } from "./core/computed.js";
|
|
5
|
+
export { batch, isStaticRender, untrack } from "./core/graph.js";
|
|
6
|
+
export { isServer } from "./core/env.js";
|
|
7
|
+
export { catchError, createRoot, getOwner, onCleanup, onMount, renderStatic, runWithOwner, type Owner } from "./core/owner.js";
|
|
8
|
+
export { createContext, provide, useContext, type Context, type ContextOptions } from "./core/context.js";
|
|
9
|
+
export { reconcile, store, unwrap, type ReconcileOptions, type SetStore, type Store, type StoreOptions } from "./core/store.js";
|
|
10
|
+
export * from "./dom/index.js";
|
|
11
|
+
export * from "./flow/index.js";
|
|
12
|
+
export * from "./async/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { createRouter, type RouterConfig } from "./router";
|
|
2
|
-
export { browserHistory, hashHistory, memoryHistory, type HistoryLocation, type RouterHistory } from "./history";
|
|
3
|
-
export type { GuardResult, LayoutProps, LinkOptions, NavigateOptions, NavigationTarget, ParamNames, Params, QueryOf, QuerySchema, QuerySpec, QueryValues, RouteDef, RouteMatch, RoutePath, Router } from "./types";
|
|
4
|
-
export { staticPaths } from "./match";
|
|
1
|
+
export { createRouter, type RouterConfig } from "./router.js";
|
|
2
|
+
export { browserHistory, hashHistory, memoryHistory, type HistoryLocation, type RouterHistory } from "./history.js";
|
|
3
|
+
export type { GuardResult, LayoutProps, LinkOptions, NavigateOptions, NavigationTarget, ParamNames, Params, QueryOf, QuerySchema, QuerySpec, QueryValues, RouteDef, RouteMatch, RoutePath, Router } from "./types.js";
|
|
4
|
+
export { staticPaths } from "./match.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type RouterHistory } from "./history";
|
|
2
|
-
import type { RouteDef, Router } from "./types";
|
|
1
|
+
import { type RouterHistory } from "./history.js";
|
|
2
|
+
import type { RouteDef, Router } from "./types.js";
|
|
3
3
|
export interface RouterConfig<Routes extends readonly RouteDef[]> {
|
|
4
4
|
routes: Routes;
|
|
5
5
|
history?: "browser" | "hash" | RouterHistory;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Child } from "../dom/types";
|
|
2
|
-
import type { Accessor } from "../core/types";
|
|
1
|
+
import type { Child } from "../dom/types.js";
|
|
2
|
+
import type { Accessor } from "../core/types.js";
|
|
3
3
|
export type QuerySpec = "string" | "number" | "boolean" | readonly string[];
|
|
4
4
|
export type QuerySchema = Readonly<Record<string, QuerySpec>>;
|
|
5
5
|
export type QueryValues<S> = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MaybeAccessor } from "../dom/types";
|
|
1
|
+
import type { MaybeAccessor } from "../dom/types.js";
|
|
2
2
|
type Text = MaybeAccessor<string | undefined>;
|
|
3
3
|
export interface HeadTags {
|
|
4
4
|
title?: Text;
|
|
@@ -30,7 +30,7 @@ export interface HeadRegistry {
|
|
|
30
30
|
remove(token: object): void;
|
|
31
31
|
winners(): Map<string, HeadTag>;
|
|
32
32
|
}
|
|
33
|
-
export declare const HeadContext: import("
|
|
33
|
+
export declare const HeadContext: import("../index.js").Context<HeadRegistry | null>;
|
|
34
34
|
export declare function head(tags: HeadTags): void;
|
|
35
35
|
export declare function createHeadRegistry(changed?: (winners: Map<string, HeadTag>) => void): HeadRegistry;
|
|
36
36
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { renderToString, type RenderOptions, type RenderResult } from "./render";
|
|
2
|
-
export { head, type HeadTags } from "./head";
|
|
3
|
-
export { hydrate } from "./hydrate";
|
|
4
|
-
export { hydrateIslands, island, type Island, type IslandEntry, type IslandWhen } from "./island";
|
|
1
|
+
export { renderToString, type RenderOptions, type RenderResult } from "./render.js";
|
|
2
|
+
export { head, type HeadTags } from "./head.js";
|
|
3
|
+
export { hydrate } from "./hydrate.js";
|
|
4
|
+
export { hydrateIslands, island, type Island, type IslandEntry, type IslandWhen } from "./island.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { SvgElementFactory } from "./types";
|
|
1
|
+
import type { SvgElementFactory } from "./types.js";
|
|
2
2
|
export declare function svg<K extends keyof SVGElementTagNameMap>(tag: K): SvgElementFactory<SVGElementTagNameMap[K]>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./tags";
|
|
2
|
-
export { svg } from "./element";
|
|
3
|
-
export type { SvgAttributeName, SvgElementFactory, SvgProps } from "./types";
|
|
1
|
+
export * from "./tags.js";
|
|
2
|
+
export { svg } from "./element.js";
|
|
3
|
+
export type { SvgAttributeName, SvgElementFactory, SvgProps } from "./types.js";
|
package/dist/types/svg/tags.d.ts
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
export declare const $a: import("./types").SvgElementFactory<SVGAElement>;
|
|
2
|
-
export declare const $animate: import("./types").SvgElementFactory<SVGAnimateElement>;
|
|
3
|
-
export declare const $animateMotion: import("./types").SvgElementFactory<SVGAnimateMotionElement>;
|
|
4
|
-
export declare const $animateTransform: import("./types").SvgElementFactory<SVGAnimateTransformElement>;
|
|
5
|
-
export declare const $circle: import("./types").SvgElementFactory<SVGCircleElement>;
|
|
6
|
-
export declare const $clipPath: import("./types").SvgElementFactory<SVGClipPathElement>;
|
|
7
|
-
export declare const $defs: import("./types").SvgElementFactory<SVGDefsElement>;
|
|
8
|
-
export declare const $desc: import("./types").SvgElementFactory<SVGDescElement>;
|
|
9
|
-
export declare const $ellipse: import("./types").SvgElementFactory<SVGEllipseElement>;
|
|
10
|
-
export declare const $feBlend: import("./types").SvgElementFactory<SVGFEBlendElement>;
|
|
11
|
-
export declare const $feColorMatrix: import("./types").SvgElementFactory<SVGFEColorMatrixElement>;
|
|
12
|
-
export declare const $feComponentTransfer: import("./types").SvgElementFactory<SVGFEComponentTransferElement>;
|
|
13
|
-
export declare const $feComposite: import("./types").SvgElementFactory<SVGFECompositeElement>;
|
|
14
|
-
export declare const $feConvolveMatrix: import("./types").SvgElementFactory<SVGFEConvolveMatrixElement>;
|
|
15
|
-
export declare const $feDiffuseLighting: import("./types").SvgElementFactory<SVGFEDiffuseLightingElement>;
|
|
16
|
-
export declare const $feDisplacementMap: import("./types").SvgElementFactory<SVGFEDisplacementMapElement>;
|
|
17
|
-
export declare const $feDistantLight: import("./types").SvgElementFactory<SVGFEDistantLightElement>;
|
|
18
|
-
export declare const $feDropShadow: import("./types").SvgElementFactory<SVGFEDropShadowElement>;
|
|
19
|
-
export declare const $feFlood: import("./types").SvgElementFactory<SVGFEFloodElement>;
|
|
20
|
-
export declare const $feFuncA: import("./types").SvgElementFactory<SVGFEFuncAElement>;
|
|
21
|
-
export declare const $feFuncB: import("./types").SvgElementFactory<SVGFEFuncBElement>;
|
|
22
|
-
export declare const $feFuncG: import("./types").SvgElementFactory<SVGFEFuncGElement>;
|
|
23
|
-
export declare const $feFuncR: import("./types").SvgElementFactory<SVGFEFuncRElement>;
|
|
24
|
-
export declare const $feGaussianBlur: import("./types").SvgElementFactory<SVGFEGaussianBlurElement>;
|
|
25
|
-
export declare const $feImage: import("./types").SvgElementFactory<SVGFEImageElement>;
|
|
26
|
-
export declare const $feMerge: import("./types").SvgElementFactory<SVGFEMergeElement>;
|
|
27
|
-
export declare const $feMergeNode: import("./types").SvgElementFactory<SVGFEMergeNodeElement>;
|
|
28
|
-
export declare const $feMorphology: import("./types").SvgElementFactory<SVGFEMorphologyElement>;
|
|
29
|
-
export declare const $feOffset: import("./types").SvgElementFactory<SVGFEOffsetElement>;
|
|
30
|
-
export declare const $fePointLight: import("./types").SvgElementFactory<SVGFEPointLightElement>;
|
|
31
|
-
export declare const $feSpecularLighting: import("./types").SvgElementFactory<SVGFESpecularLightingElement>;
|
|
32
|
-
export declare const $feSpotLight: import("./types").SvgElementFactory<SVGFESpotLightElement>;
|
|
33
|
-
export declare const $feTile: import("./types").SvgElementFactory<SVGFETileElement>;
|
|
34
|
-
export declare const $feTurbulence: import("./types").SvgElementFactory<SVGFETurbulenceElement>;
|
|
35
|
-
export declare const $filter: import("./types").SvgElementFactory<SVGFilterElement>;
|
|
36
|
-
export declare const $foreignObject: import("./types").SvgElementFactory<SVGForeignObjectElement>;
|
|
37
|
-
export declare const $g: import("./types").SvgElementFactory<SVGGElement>;
|
|
38
|
-
export declare const $image: import("./types").SvgElementFactory<SVGImageElement>;
|
|
39
|
-
export declare const $line: import("./types").SvgElementFactory<SVGLineElement>;
|
|
40
|
-
export declare const $linearGradient: import("./types").SvgElementFactory<SVGLinearGradientElement>;
|
|
41
|
-
export declare const $marker: import("./types").SvgElementFactory<SVGMarkerElement>;
|
|
42
|
-
export declare const $mask: import("./types").SvgElementFactory<SVGMaskElement>;
|
|
43
|
-
export declare const $metadata: import("./types").SvgElementFactory<SVGMetadataElement>;
|
|
44
|
-
export declare const $mpath: import("./types").SvgElementFactory<SVGMPathElement>;
|
|
45
|
-
export declare const $path: import("./types").SvgElementFactory<SVGPathElement>;
|
|
46
|
-
export declare const $pattern: import("./types").SvgElementFactory<SVGPatternElement>;
|
|
47
|
-
export declare const $polygon: import("./types").SvgElementFactory<SVGPolygonElement>;
|
|
48
|
-
export declare const $polyline: import("./types").SvgElementFactory<SVGPolylineElement>;
|
|
49
|
-
export declare const $radialGradient: import("./types").SvgElementFactory<SVGRadialGradientElement>;
|
|
50
|
-
export declare const $rect: import("./types").SvgElementFactory<SVGRectElement>;
|
|
51
|
-
export declare const $script: import("./types").SvgElementFactory<SVGScriptElement>;
|
|
52
|
-
export declare const $set: import("./types").SvgElementFactory<SVGSetElement>;
|
|
53
|
-
export declare const $stop: import("./types").SvgElementFactory<SVGStopElement>;
|
|
54
|
-
export declare const $style: import("./types").SvgElementFactory<SVGStyleElement>;
|
|
55
|
-
export declare const $svg: import("./types").SvgElementFactory<SVGSVGElement>;
|
|
56
|
-
export declare const $switch: import("./types").SvgElementFactory<SVGSwitchElement>;
|
|
57
|
-
export declare const $symbol: import("./types").SvgElementFactory<SVGSymbolElement>;
|
|
58
|
-
export declare const $text: import("./types").SvgElementFactory<SVGTextElement>;
|
|
59
|
-
export declare const $textPath: import("./types").SvgElementFactory<SVGTextPathElement>;
|
|
60
|
-
export declare const $title: import("./types").SvgElementFactory<SVGTitleElement>;
|
|
61
|
-
export declare const $tspan: import("./types").SvgElementFactory<SVGTSpanElement>;
|
|
62
|
-
export declare const $use: import("./types").SvgElementFactory<SVGUseElement>;
|
|
63
|
-
export declare const $view: import("./types").SvgElementFactory<SVGViewElement>;
|
|
1
|
+
export declare const $a: import("./types.js").SvgElementFactory<SVGAElement>;
|
|
2
|
+
export declare const $animate: import("./types.js").SvgElementFactory<SVGAnimateElement>;
|
|
3
|
+
export declare const $animateMotion: import("./types.js").SvgElementFactory<SVGAnimateMotionElement>;
|
|
4
|
+
export declare const $animateTransform: import("./types.js").SvgElementFactory<SVGAnimateTransformElement>;
|
|
5
|
+
export declare const $circle: import("./types.js").SvgElementFactory<SVGCircleElement>;
|
|
6
|
+
export declare const $clipPath: import("./types.js").SvgElementFactory<SVGClipPathElement>;
|
|
7
|
+
export declare const $defs: import("./types.js").SvgElementFactory<SVGDefsElement>;
|
|
8
|
+
export declare const $desc: import("./types.js").SvgElementFactory<SVGDescElement>;
|
|
9
|
+
export declare const $ellipse: import("./types.js").SvgElementFactory<SVGEllipseElement>;
|
|
10
|
+
export declare const $feBlend: import("./types.js").SvgElementFactory<SVGFEBlendElement>;
|
|
11
|
+
export declare const $feColorMatrix: import("./types.js").SvgElementFactory<SVGFEColorMatrixElement>;
|
|
12
|
+
export declare const $feComponentTransfer: import("./types.js").SvgElementFactory<SVGFEComponentTransferElement>;
|
|
13
|
+
export declare const $feComposite: import("./types.js").SvgElementFactory<SVGFECompositeElement>;
|
|
14
|
+
export declare const $feConvolveMatrix: import("./types.js").SvgElementFactory<SVGFEConvolveMatrixElement>;
|
|
15
|
+
export declare const $feDiffuseLighting: import("./types.js").SvgElementFactory<SVGFEDiffuseLightingElement>;
|
|
16
|
+
export declare const $feDisplacementMap: import("./types.js").SvgElementFactory<SVGFEDisplacementMapElement>;
|
|
17
|
+
export declare const $feDistantLight: import("./types.js").SvgElementFactory<SVGFEDistantLightElement>;
|
|
18
|
+
export declare const $feDropShadow: import("./types.js").SvgElementFactory<SVGFEDropShadowElement>;
|
|
19
|
+
export declare const $feFlood: import("./types.js").SvgElementFactory<SVGFEFloodElement>;
|
|
20
|
+
export declare const $feFuncA: import("./types.js").SvgElementFactory<SVGFEFuncAElement>;
|
|
21
|
+
export declare const $feFuncB: import("./types.js").SvgElementFactory<SVGFEFuncBElement>;
|
|
22
|
+
export declare const $feFuncG: import("./types.js").SvgElementFactory<SVGFEFuncGElement>;
|
|
23
|
+
export declare const $feFuncR: import("./types.js").SvgElementFactory<SVGFEFuncRElement>;
|
|
24
|
+
export declare const $feGaussianBlur: import("./types.js").SvgElementFactory<SVGFEGaussianBlurElement>;
|
|
25
|
+
export declare const $feImage: import("./types.js").SvgElementFactory<SVGFEImageElement>;
|
|
26
|
+
export declare const $feMerge: import("./types.js").SvgElementFactory<SVGFEMergeElement>;
|
|
27
|
+
export declare const $feMergeNode: import("./types.js").SvgElementFactory<SVGFEMergeNodeElement>;
|
|
28
|
+
export declare const $feMorphology: import("./types.js").SvgElementFactory<SVGFEMorphologyElement>;
|
|
29
|
+
export declare const $feOffset: import("./types.js").SvgElementFactory<SVGFEOffsetElement>;
|
|
30
|
+
export declare const $fePointLight: import("./types.js").SvgElementFactory<SVGFEPointLightElement>;
|
|
31
|
+
export declare const $feSpecularLighting: import("./types.js").SvgElementFactory<SVGFESpecularLightingElement>;
|
|
32
|
+
export declare const $feSpotLight: import("./types.js").SvgElementFactory<SVGFESpotLightElement>;
|
|
33
|
+
export declare const $feTile: import("./types.js").SvgElementFactory<SVGFETileElement>;
|
|
34
|
+
export declare const $feTurbulence: import("./types.js").SvgElementFactory<SVGFETurbulenceElement>;
|
|
35
|
+
export declare const $filter: import("./types.js").SvgElementFactory<SVGFilterElement>;
|
|
36
|
+
export declare const $foreignObject: import("./types.js").SvgElementFactory<SVGForeignObjectElement>;
|
|
37
|
+
export declare const $g: import("./types.js").SvgElementFactory<SVGGElement>;
|
|
38
|
+
export declare const $image: import("./types.js").SvgElementFactory<SVGImageElement>;
|
|
39
|
+
export declare const $line: import("./types.js").SvgElementFactory<SVGLineElement>;
|
|
40
|
+
export declare const $linearGradient: import("./types.js").SvgElementFactory<SVGLinearGradientElement>;
|
|
41
|
+
export declare const $marker: import("./types.js").SvgElementFactory<SVGMarkerElement>;
|
|
42
|
+
export declare const $mask: import("./types.js").SvgElementFactory<SVGMaskElement>;
|
|
43
|
+
export declare const $metadata: import("./types.js").SvgElementFactory<SVGMetadataElement>;
|
|
44
|
+
export declare const $mpath: import("./types.js").SvgElementFactory<SVGMPathElement>;
|
|
45
|
+
export declare const $path: import("./types.js").SvgElementFactory<SVGPathElement>;
|
|
46
|
+
export declare const $pattern: import("./types.js").SvgElementFactory<SVGPatternElement>;
|
|
47
|
+
export declare const $polygon: import("./types.js").SvgElementFactory<SVGPolygonElement>;
|
|
48
|
+
export declare const $polyline: import("./types.js").SvgElementFactory<SVGPolylineElement>;
|
|
49
|
+
export declare const $radialGradient: import("./types.js").SvgElementFactory<SVGRadialGradientElement>;
|
|
50
|
+
export declare const $rect: import("./types.js").SvgElementFactory<SVGRectElement>;
|
|
51
|
+
export declare const $script: import("./types.js").SvgElementFactory<SVGScriptElement>;
|
|
52
|
+
export declare const $set: import("./types.js").SvgElementFactory<SVGSetElement>;
|
|
53
|
+
export declare const $stop: import("./types.js").SvgElementFactory<SVGStopElement>;
|
|
54
|
+
export declare const $style: import("./types.js").SvgElementFactory<SVGStyleElement>;
|
|
55
|
+
export declare const $svg: import("./types.js").SvgElementFactory<SVGSVGElement>;
|
|
56
|
+
export declare const $switch: import("./types.js").SvgElementFactory<SVGSwitchElement>;
|
|
57
|
+
export declare const $symbol: import("./types.js").SvgElementFactory<SVGSymbolElement>;
|
|
58
|
+
export declare const $text: import("./types.js").SvgElementFactory<SVGTextElement>;
|
|
59
|
+
export declare const $textPath: import("./types.js").SvgElementFactory<SVGTextPathElement>;
|
|
60
|
+
export declare const $title: import("./types.js").SvgElementFactory<SVGTitleElement>;
|
|
61
|
+
export declare const $tspan: import("./types.js").SvgElementFactory<SVGTSpanElement>;
|
|
62
|
+
export declare const $use: import("./types.js").SvgElementFactory<SVGUseElement>;
|
|
63
|
+
export declare const $view: import("./types.js").SvgElementFactory<SVGViewElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AttributeProps, AttributeValue, Child, ClassValue, EventProps, MaybeAccessor, StyleValue } from "../dom/types";
|
|
1
|
+
import type { AttributeProps, AttributeValue, Child, ClassValue, EventProps, MaybeAccessor, StyleValue } from "../dom/types.js";
|
|
2
2
|
export type SvgAttributeName = "id" | "href" | "lang" | "tabindex" | "role" | "focusable" | "viewBox" | "preserveAspectRatio" | "xmlns" | "width" | "height" | "x" | "y" | "x1" | "y1" | "x2" | "y2" | "cx" | "cy" | "r" | "rx" | "ry" | "fx" | "fy" | "dx" | "dy" | "d" | "points" | "pathLength" | "transform" | "rotate" | "fill" | "fill-opacity" | "fill-rule" | "stroke" | "stroke-width" | "stroke-linecap" | "stroke-linejoin" | "stroke-dasharray" | "stroke-dashoffset" | "stroke-opacity" | "stroke-miterlimit" | "opacity" | "color" | "display" | "visibility" | "overflow" | "pointer-events" | "cursor" | "clip-path" | "clip-rule" | "clipPathUnits" | "mask" | "maskUnits" | "maskContentUnits" | "filter" | "filterUnits" | "primitiveUnits" | "vector-effect" | "shape-rendering" | "paint-order" | "marker-start" | "marker-mid" | "marker-end" | "markerWidth" | "markerHeight" | "markerUnits" | "orient" | "refX" | "refY" | "offset" | "stop-color" | "stop-opacity" | "gradientUnits" | "gradientTransform" | "spreadMethod" | "patternUnits" | "patternContentUnits" | "patternTransform" | "text-anchor" | "dominant-baseline" | "font-family" | "font-size" | "font-weight" | "textLength" | "lengthAdjust" | "in" | "in2" | "result" | "stdDeviation" | "mode" | "type" | "values" | "operator" | "attributeName" | "from" | "to" | "dur" | "begin" | "repeatCount" | "keyTimes" | "calcMode";
|
|
3
3
|
export type SvgProps<E extends SVGElement> = AttributeProps & EventProps<E> & {
|
|
4
4
|
[K in SvgAttributeName]?: MaybeAccessor<AttributeValue>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keits",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Fine-grained reactive TypeScript framework. Real DOM, no virtual DOM, zero dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"reactive",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
|
-
"build": "node ../../scripts/build.mjs && tsc -p tsconfig.build.json",
|
|
71
|
+
"build": "node ../../scripts/build.mjs && tsc -p tsconfig.build.json && node ../../scripts/fix-dts.mjs",
|
|
72
72
|
"size": "node ../../scripts/size.mjs",
|
|
73
73
|
"prepublishOnly": "cd ../.. && npm run check"
|
|
74
74
|
},
|