@davidsouther/jiffies 2026.24.0 → 2026.24.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/lib/esm/assert.d.ts +26 -0
- package/lib/esm/assert.js +38 -0
- package/lib/esm/awaitable.js +1 -0
- package/lib/esm/case.d.ts +1 -0
- package/lib/esm/case.js +5 -0
- package/lib/esm/components/accordion.d.ts +5 -0
- package/lib/esm/components/accordion.js +9 -0
- package/lib/esm/components/alert.d.ts +7 -0
- package/lib/esm/components/alert.js +31 -0
- package/lib/esm/components/button_bar.d.ts +8 -0
- package/lib/esm/components/button_bar.js +25 -0
- package/lib/esm/components/card.d.ts +8 -0
- package/lib/esm/components/card.js +31 -0
- package/lib/esm/components/children.d.ts +2 -0
- package/{src/components/children.ts → lib/esm/components/children.js} +2 -6
- package/lib/esm/components/form.d.ts +5 -0
- package/lib/esm/components/form.js +13 -0
- package/{src/components/index.ts → lib/esm/components/index.d.ts} +2 -15
- package/lib/esm/components/index.js +10 -0
- package/lib/esm/components/inline_edit.d.ts +12 -0
- package/lib/esm/components/inline_edit.js +48 -0
- package/lib/esm/components/link.d.ts +5 -0
- package/lib/esm/components/link.js +11 -0
- package/lib/esm/components/logger.d.ts +6 -0
- package/lib/esm/components/logger.js +22 -0
- package/lib/esm/components/modal.d.ts +2 -0
- package/{src/components/modal.ts → lib/esm/components/modal.js} +3 -8
- package/lib/esm/components/nav.d.ts +11 -0
- package/lib/esm/components/nav.js +27 -0
- package/lib/esm/components/property.d.ts +9 -0
- package/lib/esm/components/property.js +16 -0
- package/lib/esm/components/select.d.ts +10 -0
- package/lib/esm/components/select.js +3 -0
- package/lib/esm/components/tabs.d.ts +20 -0
- package/lib/esm/components/tabs.js +45 -0
- package/lib/esm/components/virtual_scroll.d.ts +42 -0
- package/lib/esm/components/virtual_scroll.js +94 -0
- package/lib/esm/debounce.d.ts +1 -0
- package/lib/esm/debounce.js +11 -0
- package/lib/esm/diff.d.ts +15 -0
- package/lib/esm/diff.js +50 -0
- package/lib/esm/display.d.ts +5 -0
- package/lib/esm/display.js +11 -0
- package/lib/esm/dom/css/border.d.ts +11 -0
- package/lib/esm/dom/css/border.js +27 -0
- package/lib/esm/dom/css/constants.d.ts +31 -0
- package/lib/esm/dom/css/constants.js +28 -0
- package/lib/esm/dom/css/core.d.ts +5 -0
- package/lib/esm/dom/css/core.js +24 -0
- package/lib/esm/dom/css/fstyle.d.ts +5 -0
- package/lib/esm/dom/css/fstyle.js +32 -0
- package/lib/esm/dom/css/sizing.d.ts +5 -0
- package/lib/esm/dom/css/sizing.js +10 -0
- package/lib/esm/dom/dom.d.ts +36 -0
- package/lib/esm/dom/dom.js +217 -0
- package/lib/esm/dom/fc.d.ts +10 -0
- package/lib/esm/dom/fc.js +32 -0
- package/lib/esm/dom/form/form.app.d.ts +1 -0
- package/lib/esm/dom/form/form.app.js +19 -0
- package/lib/esm/dom/form/form.d.ts +27 -0
- package/lib/esm/dom/form/form.js +65 -0
- package/lib/esm/dom/html.d.ts +112 -0
- package/{src/dom/html.ts → lib/esm/dom/html.js} +2 -14
- package/lib/esm/dom/hydrate.d.ts +39 -0
- package/lib/esm/dom/hydrate.js +187 -0
- package/lib/esm/dom/index.js +2 -0
- package/lib/esm/dom/navigation/index.d.ts +76 -0
- package/lib/esm/dom/navigation/index.js +292 -0
- package/lib/esm/dom/observable.d.ts +2 -0
- package/lib/esm/dom/observable.js +6 -0
- package/lib/esm/dom/provide.d.ts +3 -0
- package/lib/esm/dom/provide.js +7 -0
- package/lib/esm/dom/render.d.ts +8 -0
- package/lib/esm/dom/render.js +28 -0
- package/lib/esm/dom/router/link.d.ts +6 -0
- package/lib/esm/dom/router/link.js +3 -0
- package/lib/esm/dom/router/router.d.ts +13 -0
- package/lib/esm/dom/router/router.js +52 -0
- package/lib/esm/dom/svg.d.ts +64 -0
- package/{src/dom/svg.ts → lib/esm/dom/svg.js} +2 -19
- package/lib/esm/dom/types/css.d.ts +6590 -0
- package/lib/esm/dom/types/css.js +1 -0
- package/lib/esm/dom/types/dom.js +1 -0
- package/lib/esm/dom/types/html.d.ts +614 -0
- package/lib/esm/dom/types/html.js +1 -0
- package/lib/esm/dom/xml.d.ts +1 -0
- package/lib/esm/dom/xml.js +4 -0
- package/lib/esm/equal.d.ts +11 -0
- package/lib/esm/equal.js +43 -0
- package/lib/esm/fs.d.ts +72 -0
- package/lib/esm/fs.js +227 -0
- package/lib/esm/fs_node.d.ts +15 -0
- package/lib/esm/fs_node.js +45 -0
- package/lib/esm/generator.d.ts +1 -0
- package/lib/esm/generator.js +10 -0
- package/lib/esm/lock.d.ts +1 -0
- package/lib/esm/lock.js +23 -0
- package/lib/esm/log.d.ts +69 -0
- package/lib/esm/log.js +211 -0
- package/lib/esm/observable/event.d.ts +35 -0
- package/lib/esm/observable/event.js +46 -0
- package/lib/esm/observable/observable.d.ts +134 -0
- package/lib/esm/observable/observable.js +349 -0
- package/lib/esm/range.d.ts +1 -0
- package/lib/esm/range.js +7 -0
- package/lib/esm/result.d.ts +31 -0
- package/lib/esm/result.js +66 -0
- package/lib/esm/safe.d.ts +1 -0
- package/lib/esm/safe.js +10 -0
- package/lib/esm/server/http/apps.d.ts +5 -0
- package/lib/esm/server/http/apps.js +23 -0
- package/lib/esm/server/http/css.d.ts +5 -0
- package/lib/esm/server/http/css.js +43 -0
- package/lib/esm/server/http/index.d.ts +16 -0
- package/lib/esm/server/http/index.js +78 -0
- package/lib/esm/server/http/response.d.ts +4 -0
- package/lib/esm/server/http/response.js +43 -0
- package/lib/esm/server/http/sitemap.d.ts +2 -0
- package/lib/esm/server/http/sitemap.js +22 -0
- package/lib/esm/server/http/static.d.ts +2 -0
- package/lib/esm/server/http/static.js +22 -0
- package/lib/esm/server/http/typescript.d.ts +5 -0
- package/lib/esm/server/http/typescript.js +40 -0
- package/lib/esm/server/live-reload.d.ts +46 -0
- package/lib/esm/server/live-reload.js +161 -0
- package/lib/esm/server/main.d.ts +2 -0
- package/{src/server/main.ts → lib/esm/server/main.js} +8 -15
- package/lib/esm/server/ws/frame.d.ts +2 -0
- package/lib/esm/server/ws/frame.js +35 -0
- package/lib/esm/server/ws/handshake.d.ts +4 -0
- package/lib/esm/server/ws/handshake.js +32 -0
- package/lib/esm/server/ws/index.d.ts +14 -0
- package/lib/esm/server/ws/index.js +68 -0
- package/lib/esm/ssg/bundle.d.ts +14 -0
- package/lib/esm/ssg/bundle.js +73 -0
- package/lib/esm/ssg/copy-public.d.ts +6 -0
- package/lib/esm/ssg/copy-public.js +34 -0
- package/lib/esm/ssg/discover.d.ts +15 -0
- package/lib/esm/ssg/discover.js +117 -0
- package/lib/esm/ssg/main.d.ts +2 -0
- package/lib/esm/ssg/main.js +122 -0
- package/lib/esm/ssg/rewrite.d.ts +9 -0
- package/{src/ssg/rewrite.ts → lib/esm/ssg/rewrite.js} +6 -9
- package/lib/esm/ssg/ssg.d.ts +26 -0
- package/lib/esm/ssg/ssg.js +84 -0
- package/lib/esm/transpile.d.mts +3 -0
- package/lib/esm/transpile.mjs +12 -0
- package/package.json +11 -7
- package/src/404.html +0 -14
- package/src/assert.ts +0 -56
- package/src/case.ts +0 -5
- package/src/components/_notes +0 -33
- package/src/components/accordion.ts +0 -25
- package/src/components/alert.ts +0 -47
- package/src/components/button_bar.ts +0 -42
- package/src/components/card.ts +0 -54
- package/src/components/form.ts +0 -25
- package/src/components/inline_edit.ts +0 -78
- package/src/components/link.ts +0 -22
- package/src/components/logger.ts +0 -35
- package/src/components/nav.ts +0 -42
- package/src/components/property.ts +0 -32
- package/src/components/select.ts +0 -22
- package/src/components/tabs.ts +0 -82
- package/src/components/virtual_scroll.ts +0 -199
- package/src/debounce.ts +0 -14
- package/src/diff.ts +0 -82
- package/src/display.ts +0 -18
- package/src/dom/README.md +0 -107
- package/src/dom/SKILL.md +0 -201
- package/src/dom/css/border.ts +0 -47
- package/src/dom/css/constants.ts +0 -34
- package/src/dom/css/core.ts +0 -28
- package/src/dom/css/fstyle.ts +0 -42
- package/src/dom/css/sizing.ts +0 -11
- package/src/dom/dom.ts +0 -327
- package/src/dom/fc.ts +0 -81
- package/src/dom/form/form.app.ts +0 -44
- package/src/dom/form/form.ts +0 -151
- package/src/dom/form/index.html +0 -15
- package/src/dom/hydrate.ts +0 -206
- package/src/dom/navigation/index.ts +0 -349
- package/src/dom/observable.ts +0 -11
- package/src/dom/provide.ts +0 -11
- package/src/dom/render.ts +0 -41
- package/src/dom/router/link.ts +0 -14
- package/src/dom/router/router.ts +0 -72
- package/src/dom/types/css.ts +0 -10088
- package/src/dom/types/html.ts +0 -629
- package/src/dom/xml.ts +0 -11
- package/src/equal.ts +0 -66
- package/src/favicon.ico +0 -0
- package/src/fs.ts +0 -300
- package/src/fs_node.ts +0 -57
- package/src/generator.ts +0 -12
- package/src/hooks/_notes +0 -6
- package/src/lock.ts +0 -23
- package/src/log.ts +0 -307
- package/src/observable/_notes +0 -26
- package/src/observable/event.ts +0 -93
- package/src/observable/observable.ts +0 -484
- package/src/range.ts +0 -7
- package/src/result.ts +0 -107
- package/src/safe.ts +0 -12
- package/src/server/http/apps.ts +0 -26
- package/src/server/http/css.ts +0 -49
- package/src/server/http/index.ts +0 -127
- package/src/server/http/response.ts +0 -60
- package/src/server/http/sitemap.ts +0 -24
- package/src/server/http/static.ts +0 -28
- package/src/server/http/typescript.ts +0 -46
- package/src/server/live-reload.ts +0 -208
- package/src/server/ws/frame.ts +0 -36
- package/src/server/ws/handshake.ts +0 -42
- package/src/server/ws/index.ts +0 -100
- package/src/ssg/bundle.ts +0 -85
- package/src/ssg/copy-public.ts +0 -44
- package/src/ssg/discover.ts +0 -143
- package/src/ssg/main.ts +0 -168
- package/src/ssg/ssg.ts +0 -134
- package/src/transpile.mjs +0 -16
- package/src/zip/spec.txt +0 -3260
- package/tsconfig.json +0 -34
- /package/{src/awaitable.ts → lib/esm/awaitable.d.ts} +0 -0
- /package/{src/dom/index.ts → lib/esm/dom/index.d.ts} +0 -0
- /package/{src/dom/types/dom.ts → lib/esm/dom/types/dom.d.ts} +0 -0
package/src/dom/types/html.ts
DELETED
|
@@ -1,629 +0,0 @@
|
|
|
1
|
-
import type { Properties } from "./css";
|
|
2
|
-
|
|
3
|
-
export interface AriaAttributes {
|
|
4
|
-
[_: `aria-${string}`]: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface Sized {
|
|
8
|
-
height?: number | string;
|
|
9
|
-
width?: number | string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export type MimeTypeString = `${string}/${string}`;
|
|
13
|
-
|
|
14
|
-
export type ReferrerPolicy =
|
|
15
|
-
| "no-referrer"
|
|
16
|
-
| "no-referrer-when-downgrade"
|
|
17
|
-
| "origin"
|
|
18
|
-
| "origin-when-cross-origin"
|
|
19
|
-
| "same-origin"
|
|
20
|
-
| "strict-origin"
|
|
21
|
-
| "strict-origin-when-cross-origin"
|
|
22
|
-
| "unsafe-url";
|
|
23
|
-
|
|
24
|
-
export type EventHandler = (k: Event) => void;
|
|
25
|
-
|
|
26
|
-
export interface GlobalEvents {
|
|
27
|
-
abort: EventHandler;
|
|
28
|
-
autocomplete: EventHandler;
|
|
29
|
-
autocompleteerror: EventHandler;
|
|
30
|
-
blur: EventHandler;
|
|
31
|
-
cancel: EventHandler;
|
|
32
|
-
canplay: EventHandler;
|
|
33
|
-
canplaythrough: EventHandler;
|
|
34
|
-
change: EventHandler;
|
|
35
|
-
click: EventHandler;
|
|
36
|
-
close: EventHandler;
|
|
37
|
-
contextmenu: EventHandler;
|
|
38
|
-
cuechange: EventHandler;
|
|
39
|
-
dblclick: EventHandler;
|
|
40
|
-
drag: EventHandler;
|
|
41
|
-
dragend: EventHandler;
|
|
42
|
-
dragenter: EventHandler;
|
|
43
|
-
dragleave: EventHandler;
|
|
44
|
-
dragover: EventHandler;
|
|
45
|
-
dragstart: EventHandler;
|
|
46
|
-
drop: EventHandler;
|
|
47
|
-
durationchange: EventHandler;
|
|
48
|
-
emptied: EventHandler;
|
|
49
|
-
ended: EventHandler;
|
|
50
|
-
error: EventHandler;
|
|
51
|
-
focus: EventHandler;
|
|
52
|
-
input: EventHandler;
|
|
53
|
-
invalid: EventHandler;
|
|
54
|
-
keydown: EventHandler;
|
|
55
|
-
keypress: EventHandler;
|
|
56
|
-
keyup: EventHandler;
|
|
57
|
-
load: EventHandler;
|
|
58
|
-
loadeddata: EventHandler;
|
|
59
|
-
loadedmetadata: EventHandler;
|
|
60
|
-
loadstart: EventHandler;
|
|
61
|
-
mousedown: EventHandler;
|
|
62
|
-
mouseenter: EventHandler;
|
|
63
|
-
mouseleave: EventHandler;
|
|
64
|
-
mousemove: EventHandler;
|
|
65
|
-
mouseout: EventHandler;
|
|
66
|
-
mouseover: EventHandler;
|
|
67
|
-
mouseup: EventHandler;
|
|
68
|
-
mousewheel: EventHandler;
|
|
69
|
-
pause: EventHandler;
|
|
70
|
-
play: EventHandler;
|
|
71
|
-
playing: EventHandler;
|
|
72
|
-
progress: EventHandler;
|
|
73
|
-
ratechange: EventHandler;
|
|
74
|
-
reset: EventHandler;
|
|
75
|
-
resize: EventHandler;
|
|
76
|
-
scroll: EventHandler;
|
|
77
|
-
seeked: EventHandler;
|
|
78
|
-
seeking: EventHandler;
|
|
79
|
-
select: EventHandler;
|
|
80
|
-
show: EventHandler;
|
|
81
|
-
sort: EventHandler;
|
|
82
|
-
stalled: EventHandler;
|
|
83
|
-
submit: EventHandler;
|
|
84
|
-
suspend: EventHandler;
|
|
85
|
-
timeupdate: EventHandler;
|
|
86
|
-
toggle: EventHandler;
|
|
87
|
-
volumechange: EventHandler;
|
|
88
|
-
waiting: EventHandler;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export interface GlobalAttributes extends AriaAttributes {
|
|
92
|
-
accesskey?: string; // Space separated list of characters
|
|
93
|
-
autocapitalize?: "off" | "none" | "on" | "words" | "sentences" | "characters";
|
|
94
|
-
autofocus?: boolean;
|
|
95
|
-
class?: string; // classes applied, separated by spaces
|
|
96
|
-
contenteditable?: boolean;
|
|
97
|
-
contextmenu?: string; // ID
|
|
98
|
-
// [k?: `data-${string}`]: string;
|
|
99
|
-
// readonly dataset?: Record<string, string>;
|
|
100
|
-
dir?: "ltr" | "rtl" | "auto";
|
|
101
|
-
draggable?: boolean;
|
|
102
|
-
enterkeyhint?: string;
|
|
103
|
-
events?: Partial<GlobalEvents>;
|
|
104
|
-
hidden?: boolean;
|
|
105
|
-
id?: string;
|
|
106
|
-
inputmode?: string;
|
|
107
|
-
is?: string;
|
|
108
|
-
itemid?: string;
|
|
109
|
-
itemref?: string;
|
|
110
|
-
itemtype?: string;
|
|
111
|
-
lang?: string; // RFC-5646 / BCP-47
|
|
112
|
-
nonce?: string;
|
|
113
|
-
spellcheck?: boolean;
|
|
114
|
-
// style?: string; // Replaced with fstyle
|
|
115
|
-
style?: Partial<Properties>;
|
|
116
|
-
tabindex?: number;
|
|
117
|
-
title?: string;
|
|
118
|
-
translate?: "" | "yes" | "no";
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
// Content Sectioning
|
|
122
|
-
export interface AddressAttributes extends GlobalAttributes {}
|
|
123
|
-
export interface ArticleAttributes extends GlobalAttributes {}
|
|
124
|
-
export interface AsideAttributes extends GlobalAttributes {}
|
|
125
|
-
export interface FooterAttributes extends GlobalAttributes {}
|
|
126
|
-
export interface HeaderAttributes extends GlobalAttributes {}
|
|
127
|
-
export interface H1Attributes extends GlobalAttributes {}
|
|
128
|
-
export interface H2Attributes extends GlobalAttributes {}
|
|
129
|
-
export interface H3Attributes extends GlobalAttributes {}
|
|
130
|
-
export interface H4Attributes extends GlobalAttributes {}
|
|
131
|
-
export interface H5Attributes extends GlobalAttributes {}
|
|
132
|
-
export interface H6Attributes extends GlobalAttributes {}
|
|
133
|
-
export interface MainAttributes extends GlobalAttributes {}
|
|
134
|
-
export interface NavAttributes extends GlobalAttributes {}
|
|
135
|
-
export interface SectionAttributes extends GlobalAttributes {}
|
|
136
|
-
|
|
137
|
-
// Inlint Text
|
|
138
|
-
export interface BlockquoteAttributes extends GlobalAttributes {
|
|
139
|
-
cite: string;
|
|
140
|
-
}
|
|
141
|
-
export interface DdAttributes extends GlobalAttributes {
|
|
142
|
-
nowrap: "no";
|
|
143
|
-
}
|
|
144
|
-
export interface DivAttributes extends GlobalAttributes {}
|
|
145
|
-
export interface DlAttributes extends GlobalAttributes {}
|
|
146
|
-
export interface DtAttributes extends GlobalAttributes {}
|
|
147
|
-
export interface FigcaptionAttributes extends GlobalAttributes {}
|
|
148
|
-
export interface FigureAttributes extends GlobalAttributes {}
|
|
149
|
-
export interface HrAttributes extends GlobalAttributes {}
|
|
150
|
-
export interface LiAttributes extends GlobalAttributes {
|
|
151
|
-
value: number;
|
|
152
|
-
}
|
|
153
|
-
export interface MenuAttributes extends GlobalAttributes {}
|
|
154
|
-
export interface OlAttributes extends GlobalAttributes {
|
|
155
|
-
reversed: boolean;
|
|
156
|
-
start: number;
|
|
157
|
-
type: "a" | "A" | "i" | "I" | "0";
|
|
158
|
-
}
|
|
159
|
-
export interface PAttributes extends GlobalAttributes {}
|
|
160
|
-
export interface PreAttributes extends GlobalAttributes {}
|
|
161
|
-
export interface UlAttributes extends GlobalAttributes {}
|
|
162
|
-
|
|
163
|
-
// Text Content
|
|
164
|
-
export interface AAttributes extends GlobalAttributes {
|
|
165
|
-
alt?: string;
|
|
166
|
-
download?: string;
|
|
167
|
-
href: string;
|
|
168
|
-
hreflang?: string; // See lang
|
|
169
|
-
ping?: string;
|
|
170
|
-
referrerpolicy?: ReferrerPolicy;
|
|
171
|
-
rel?: string;
|
|
172
|
-
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
173
|
-
type?: MimeTypeString; // mime type
|
|
174
|
-
}
|
|
175
|
-
export interface AbbrAttributes extends GlobalAttributes {}
|
|
176
|
-
export interface BAttributes extends GlobalAttributes {}
|
|
177
|
-
export interface BdiAttributes extends GlobalAttributes {}
|
|
178
|
-
export interface BdoAttributes extends GlobalAttributes {
|
|
179
|
-
dir: "rtl" | "ltr";
|
|
180
|
-
}
|
|
181
|
-
export interface BrAttributes extends GlobalAttributes {}
|
|
182
|
-
export interface CiteAttributes extends GlobalAttributes {}
|
|
183
|
-
export interface CodeAttributes extends GlobalAttributes {}
|
|
184
|
-
export interface DataAttributes extends GlobalAttributes {}
|
|
185
|
-
export interface DfnAttributes extends GlobalAttributes {}
|
|
186
|
-
export interface EmAttributes extends GlobalAttributes {}
|
|
187
|
-
export interface IAttributes extends GlobalAttributes {}
|
|
188
|
-
export interface KbdAttributes extends GlobalAttributes {}
|
|
189
|
-
export interface MarkAttributes extends GlobalAttributes {}
|
|
190
|
-
export interface QAttributes extends GlobalAttributes {
|
|
191
|
-
cite: string;
|
|
192
|
-
}
|
|
193
|
-
export interface RpAttributes extends GlobalAttributes {}
|
|
194
|
-
export interface RtAttributes extends GlobalAttributes {}
|
|
195
|
-
export interface RubyAttributes extends GlobalAttributes {}
|
|
196
|
-
export interface SAttributes extends GlobalAttributes {}
|
|
197
|
-
export interface SampAttributes extends GlobalAttributes {}
|
|
198
|
-
export interface SmallAttributes extends GlobalAttributes {}
|
|
199
|
-
export interface SpanAttributes extends GlobalAttributes {}
|
|
200
|
-
export interface StrongAttributes extends GlobalAttributes {}
|
|
201
|
-
export interface SubAttributes extends GlobalAttributes {}
|
|
202
|
-
export interface SupAttributes extends GlobalAttributes {}
|
|
203
|
-
export interface TimeAttributes extends GlobalAttributes {
|
|
204
|
-
datetime: string; // Limited date formats
|
|
205
|
-
}
|
|
206
|
-
export interface UAttributes extends GlobalAttributes {}
|
|
207
|
-
export interface VarAttributes extends GlobalAttributes {}
|
|
208
|
-
export interface WbrAttributes extends GlobalAttributes {}
|
|
209
|
-
|
|
210
|
-
// Image and Multimedia
|
|
211
|
-
export interface AreaAttributes extends GlobalAttributes, AAttributes {
|
|
212
|
-
coords: string; // Has special format
|
|
213
|
-
shape: "rect" | "circle" | "poly" | "default";
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
export interface AudioAttributes extends GlobalAttributes {
|
|
217
|
-
autoplay?: boolean;
|
|
218
|
-
controls?: boolean;
|
|
219
|
-
crossorigin?: "anonymous" | "use-credentials";
|
|
220
|
-
loop?: boolean;
|
|
221
|
-
muted?: boolean;
|
|
222
|
-
preload?: "none" | "metadata" | "auto";
|
|
223
|
-
src: string;
|
|
224
|
-
events?: Partial<{
|
|
225
|
-
audioprocess: EventHandler;
|
|
226
|
-
canplay: EventHandler;
|
|
227
|
-
canplaythrough: EventHandler;
|
|
228
|
-
complete: EventHandler;
|
|
229
|
-
durationchange: EventHandler;
|
|
230
|
-
emptied: EventHandler;
|
|
231
|
-
ended: EventHandler;
|
|
232
|
-
loadeddata: EventHandler;
|
|
233
|
-
loadedmetadata: EventHandler;
|
|
234
|
-
pause: EventHandler;
|
|
235
|
-
play: EventHandler;
|
|
236
|
-
playing: EventHandler;
|
|
237
|
-
ratechange: EventHandler;
|
|
238
|
-
seeked: EventHandler;
|
|
239
|
-
seeking: EventHandler;
|
|
240
|
-
stalled: EventHandler;
|
|
241
|
-
suspend: EventHandler;
|
|
242
|
-
timeupdate: EventHandler;
|
|
243
|
-
volumechange: EventHandler;
|
|
244
|
-
waiting: EventHandler;
|
|
245
|
-
}>;
|
|
246
|
-
}
|
|
247
|
-
export interface ImgAttributes extends GlobalAttributes, Sized {
|
|
248
|
-
alt?: string;
|
|
249
|
-
crossorigin?: "anonymous" | "use-credentials";
|
|
250
|
-
decoding?: "sync" | "async" | "auto";
|
|
251
|
-
fetchpriority?: "high" | "low" | "auto";
|
|
252
|
-
ismap?: boolean;
|
|
253
|
-
referrerpolicy?: ReferrerPolicy;
|
|
254
|
-
sizes?: string;
|
|
255
|
-
src: string;
|
|
256
|
-
srcset?: string;
|
|
257
|
-
usemap?: string;
|
|
258
|
-
}
|
|
259
|
-
export interface MapAttributes extends GlobalAttributes {
|
|
260
|
-
name: string;
|
|
261
|
-
}
|
|
262
|
-
export interface TrackAttributes extends GlobalAttributes {
|
|
263
|
-
default?: boolean;
|
|
264
|
-
kind: "subtitles" | "captions" | "descriptions" | "chapters" | "metadata";
|
|
265
|
-
label?: string;
|
|
266
|
-
src: string;
|
|
267
|
-
srclang?: string; // BCP-47, required if kind is subtitles
|
|
268
|
-
}
|
|
269
|
-
export interface VideoAttributes extends GlobalAttributes, Sized {
|
|
270
|
-
autoplay?: boolean;
|
|
271
|
-
controls?: string[];
|
|
272
|
-
crossorigin: "anonymous" | "use-credentials";
|
|
273
|
-
loop?: boolean;
|
|
274
|
-
muted?: boolean;
|
|
275
|
-
playsinline?: boolean;
|
|
276
|
-
poster?: string;
|
|
277
|
-
preload?: "none" | "metadata" | "auto";
|
|
278
|
-
src: string;
|
|
279
|
-
events?: Partial<{
|
|
280
|
-
canplay: EventHandler;
|
|
281
|
-
canplaythrough: EventHandler;
|
|
282
|
-
complete: EventHandler;
|
|
283
|
-
durationchange: EventHandler;
|
|
284
|
-
emptied: EventHandler;
|
|
285
|
-
ended: EventHandler;
|
|
286
|
-
loadeddata: EventHandler;
|
|
287
|
-
loadedmetadata: EventHandler;
|
|
288
|
-
pause: EventHandler;
|
|
289
|
-
play: EventHandler;
|
|
290
|
-
playing: EventHandler;
|
|
291
|
-
progress: EventHandler;
|
|
292
|
-
ratechange: EventHandler;
|
|
293
|
-
seeked: EventHandler;
|
|
294
|
-
seeking: EventHandler;
|
|
295
|
-
stalled: EventHandler;
|
|
296
|
-
suspend: EventHandler;
|
|
297
|
-
timeupdate: EventHandler;
|
|
298
|
-
volumechange: EventHandler;
|
|
299
|
-
waiting: EventHandler;
|
|
300
|
-
}>;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
// Embedded content
|
|
304
|
-
export interface EmbedAttributes extends GlobalAttributes, Sized {}
|
|
305
|
-
export interface IframeAttributes extends GlobalAttributes, Sized {}
|
|
306
|
-
export interface ObjectAttributes extends GlobalAttributes, Sized {}
|
|
307
|
-
export interface ParamAttributes extends GlobalAttributes {
|
|
308
|
-
name: string;
|
|
309
|
-
value: string;
|
|
310
|
-
}
|
|
311
|
-
export interface PictureAttributes extends GlobalAttributes {}
|
|
312
|
-
export interface PortalAttributes extends GlobalAttributes {
|
|
313
|
-
referrerpolicy?: ReferrerPolicy;
|
|
314
|
-
src: string;
|
|
315
|
-
}
|
|
316
|
-
export interface SourceAttributes extends GlobalAttributes, Sized {
|
|
317
|
-
type: MimeTypeString;
|
|
318
|
-
src: string;
|
|
319
|
-
srcset?: string;
|
|
320
|
-
sizes?: string;
|
|
321
|
-
media?: string;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
// Table
|
|
325
|
-
|
|
326
|
-
// Forms
|
|
327
|
-
interface FormElementAttributes {
|
|
328
|
-
autofocus?: boolean;
|
|
329
|
-
autocomplete?: boolean;
|
|
330
|
-
disabled?: boolean;
|
|
331
|
-
form?: string;
|
|
332
|
-
name?: string;
|
|
333
|
-
placeholder?: string;
|
|
334
|
-
value?: string | number | boolean;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
interface FormActionAttributes {
|
|
338
|
-
formAction?: string;
|
|
339
|
-
formEnctype?:
|
|
340
|
-
| "application/x-www-form-urlencoded"
|
|
341
|
-
| "multipart/form-data"
|
|
342
|
-
| "text/plain";
|
|
343
|
-
formMethod?: "get" | "post";
|
|
344
|
-
formNoValidate?: boolean;
|
|
345
|
-
formTarget?: boolean;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
export interface ButtonAttributes
|
|
349
|
-
extends GlobalAttributes,
|
|
350
|
-
FormElementAttributes,
|
|
351
|
-
FormActionAttributes {}
|
|
352
|
-
export interface DatalistAttributes extends GlobalAttributes {}
|
|
353
|
-
export interface FieldsetAttributes
|
|
354
|
-
extends GlobalAttributes,
|
|
355
|
-
FormElementAttributes {}
|
|
356
|
-
export interface FormAttributes extends GlobalAttributes {
|
|
357
|
-
autocomplete?: boolean;
|
|
358
|
-
name?: string;
|
|
359
|
-
rel?: string;
|
|
360
|
-
action?: string;
|
|
361
|
-
enctype?:
|
|
362
|
-
| "application/x-www-form-urlencoded"
|
|
363
|
-
| "multipart/form-data"
|
|
364
|
-
| "text/plain";
|
|
365
|
-
method?: "get" | "post" | "dialog";
|
|
366
|
-
noValidate?: boolean;
|
|
367
|
-
target?: boolean;
|
|
368
|
-
}
|
|
369
|
-
export interface InputAttributes
|
|
370
|
-
extends GlobalAttributes,
|
|
371
|
-
FormElementAttributes,
|
|
372
|
-
FormActionAttributes,
|
|
373
|
-
Sized {
|
|
374
|
-
accept?: boolean;
|
|
375
|
-
alt?: string;
|
|
376
|
-
capture?: boolean;
|
|
377
|
-
list?: string;
|
|
378
|
-
max?: number;
|
|
379
|
-
maxLength?: number;
|
|
380
|
-
min?: number;
|
|
381
|
-
minLength?: number;
|
|
382
|
-
multiple?: boolean;
|
|
383
|
-
pattern?: string;
|
|
384
|
-
readOnly?: boolean;
|
|
385
|
-
required?: boolean;
|
|
386
|
-
role?: "switch" | "switch-disabled";
|
|
387
|
-
size?: string;
|
|
388
|
-
src?: string;
|
|
389
|
-
step?: number;
|
|
390
|
-
type?:
|
|
391
|
-
| "button"
|
|
392
|
-
| "checkbox"
|
|
393
|
-
| "color"
|
|
394
|
-
| "date"
|
|
395
|
-
| "datetime-local"
|
|
396
|
-
| "email"
|
|
397
|
-
| "file"
|
|
398
|
-
| "hidden"
|
|
399
|
-
| "image"
|
|
400
|
-
| "month"
|
|
401
|
-
| "number"
|
|
402
|
-
| "password"
|
|
403
|
-
| "radio"
|
|
404
|
-
| "range"
|
|
405
|
-
| "reset"
|
|
406
|
-
| "search"
|
|
407
|
-
| "submit"
|
|
408
|
-
| "text"
|
|
409
|
-
| "time"
|
|
410
|
-
| "url"
|
|
411
|
-
| "week";
|
|
412
|
-
}
|
|
413
|
-
export interface LabelAttributes extends GlobalAttributes {
|
|
414
|
-
for?: string;
|
|
415
|
-
}
|
|
416
|
-
export interface LegendAttributes extends GlobalAttributes {}
|
|
417
|
-
export interface MeterAttributes extends GlobalAttributes {
|
|
418
|
-
value: number;
|
|
419
|
-
min?: number;
|
|
420
|
-
max?: number;
|
|
421
|
-
low?: number;
|
|
422
|
-
high?: number;
|
|
423
|
-
optimum?: number;
|
|
424
|
-
}
|
|
425
|
-
export interface OptgroupAttributes extends GlobalAttributes {
|
|
426
|
-
disabled?: boolean;
|
|
427
|
-
label: string;
|
|
428
|
-
}
|
|
429
|
-
export interface OptionAttributes extends GlobalAttributes {
|
|
430
|
-
disabled?: boolean;
|
|
431
|
-
label?: string;
|
|
432
|
-
selected?: boolean;
|
|
433
|
-
value?: string;
|
|
434
|
-
}
|
|
435
|
-
export interface OutputAttributes extends GlobalAttributes {
|
|
436
|
-
for: string;
|
|
437
|
-
name: string;
|
|
438
|
-
form?: string;
|
|
439
|
-
}
|
|
440
|
-
export interface ProgressAttributes extends GlobalAttributes {
|
|
441
|
-
max?: number;
|
|
442
|
-
value?: number;
|
|
443
|
-
}
|
|
444
|
-
export interface SelectAttributes
|
|
445
|
-
extends GlobalAttributes,
|
|
446
|
-
FormElementAttributes {
|
|
447
|
-
multiple?: boolean;
|
|
448
|
-
size?: string;
|
|
449
|
-
}
|
|
450
|
-
export interface TextareaAttributes
|
|
451
|
-
extends GlobalAttributes,
|
|
452
|
-
FormElementAttributes {
|
|
453
|
-
maxlength?: number;
|
|
454
|
-
minlength?: number;
|
|
455
|
-
rows?: number;
|
|
456
|
-
cols?: number;
|
|
457
|
-
wrap?: boolean;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
// Table elements
|
|
461
|
-
export interface CaptionAttributes extends GlobalAttributes {}
|
|
462
|
-
export interface ColAttributes extends GlobalAttributes {
|
|
463
|
-
span?: number;
|
|
464
|
-
}
|
|
465
|
-
export interface ColgroupAttributes extends GlobalAttributes {
|
|
466
|
-
span?: number;
|
|
467
|
-
}
|
|
468
|
-
export interface TableAttributes extends GlobalAttributes {}
|
|
469
|
-
export interface TbodyAttributes extends GlobalAttributes {}
|
|
470
|
-
export interface TdAttributes extends GlobalAttributes {
|
|
471
|
-
colspan?: number;
|
|
472
|
-
headers?: string[];
|
|
473
|
-
rowspan?: number;
|
|
474
|
-
}
|
|
475
|
-
export interface TfootAttributes extends GlobalAttributes {}
|
|
476
|
-
export interface ThAttributes extends GlobalAttributes {
|
|
477
|
-
abbr?: string;
|
|
478
|
-
colspan?: number;
|
|
479
|
-
headers?: string[];
|
|
480
|
-
rowspan?: number;
|
|
481
|
-
scope?: "row" | "col" | "rowgroup" | "colgroup";
|
|
482
|
-
}
|
|
483
|
-
export interface TheadAttributes extends GlobalAttributes {}
|
|
484
|
-
export interface TrAttributes extends GlobalAttributes {}
|
|
485
|
-
|
|
486
|
-
export interface DetailsAttributes extends GlobalAttributes {
|
|
487
|
-
open?: boolean;
|
|
488
|
-
}
|
|
489
|
-
export interface DialogAttributes extends GlobalAttributes {
|
|
490
|
-
open?: boolean;
|
|
491
|
-
}
|
|
492
|
-
export interface SummaryAttributes extends GlobalAttributes {}
|
|
493
|
-
|
|
494
|
-
export interface SlotAttributes extends GlobalAttributes {
|
|
495
|
-
name: string;
|
|
496
|
-
}
|
|
497
|
-
export interface TemplateAttributes extends GlobalAttributes {
|
|
498
|
-
readonly content: unknown;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
export interface CanvasAttributes extends GlobalAttributes, Sized {}
|
|
502
|
-
export interface ScriptAttributes extends GlobalAttributes {
|
|
503
|
-
async?: boolean;
|
|
504
|
-
crossorigin?: string;
|
|
505
|
-
defer?: string;
|
|
506
|
-
fetchpriority?: "high" | "low" | "auto";
|
|
507
|
-
integrity?: string;
|
|
508
|
-
nomodule?: boolean;
|
|
509
|
-
nonce?: string;
|
|
510
|
-
refererpolicy?: ReferrerPolicy;
|
|
511
|
-
src: string;
|
|
512
|
-
type?: "application/javascript" | "module" | string;
|
|
513
|
-
}
|
|
514
|
-
export interface NoscriptAttributes extends GlobalAttributes {}
|
|
515
|
-
|
|
516
|
-
export interface InsAttributes extends GlobalAttributes {
|
|
517
|
-
cite?: string;
|
|
518
|
-
datetime?: string;
|
|
519
|
-
}
|
|
520
|
-
export interface DelAttributes extends GlobalAttributes {
|
|
521
|
-
cite?: string;
|
|
522
|
-
datetime?: string;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
export interface HTMLAttributesMap {
|
|
526
|
-
a: AAttributes;
|
|
527
|
-
abbr: AbbrAttributes;
|
|
528
|
-
address: AddressAttributes;
|
|
529
|
-
area: AreaAttributes;
|
|
530
|
-
Col: ColAttributes;
|
|
531
|
-
Th: ThAttributes;
|
|
532
|
-
article: ArticleAttributes;
|
|
533
|
-
aside: AsideAttributes;
|
|
534
|
-
audio: AudioAttributes;
|
|
535
|
-
b: BAttributes;
|
|
536
|
-
bdi: BdiAttributes;
|
|
537
|
-
bdo: BdoAttributes;
|
|
538
|
-
blockquote: BlockquoteAttributes;
|
|
539
|
-
br: BrAttributes;
|
|
540
|
-
button: ButtonAttributes;
|
|
541
|
-
canvas: CanvasAttributes;
|
|
542
|
-
caption: CaptionAttributes;
|
|
543
|
-
cite: CiteAttributes;
|
|
544
|
-
code: CodeAttributes;
|
|
545
|
-
colgroup: ColgroupAttributes;
|
|
546
|
-
datalist: DatalistAttributes;
|
|
547
|
-
dd: DdAttributes;
|
|
548
|
-
del: DelAttributes;
|
|
549
|
-
details: DetailsAttributes;
|
|
550
|
-
dfn: DfnAttributes;
|
|
551
|
-
dialog: DialogAttributes;
|
|
552
|
-
div: DivAttributes;
|
|
553
|
-
dl: DlAttributes;
|
|
554
|
-
dt: DtAttributes;
|
|
555
|
-
em: EmAttributes;
|
|
556
|
-
embed: EmbedAttributes;
|
|
557
|
-
fieldset: FieldsetAttributes;
|
|
558
|
-
figcaption: FigcaptionAttributes;
|
|
559
|
-
figure: FigureAttributes;
|
|
560
|
-
footer: FooterAttributes;
|
|
561
|
-
form: FormAttributes;
|
|
562
|
-
h1: H1Attributes;
|
|
563
|
-
h2: H2Attributes;
|
|
564
|
-
h3: H3Attributes;
|
|
565
|
-
h4: H4Attributes;
|
|
566
|
-
h5: H5Attributes;
|
|
567
|
-
h6: H6Attributes;
|
|
568
|
-
header: HeaderAttributes;
|
|
569
|
-
hr: HrAttributes;
|
|
570
|
-
i: IAttributes;
|
|
571
|
-
iframe: IframeAttributes;
|
|
572
|
-
img: ImgAttributes;
|
|
573
|
-
input: InputAttributes;
|
|
574
|
-
ins: InsAttributes;
|
|
575
|
-
kbd: KbdAttributes;
|
|
576
|
-
label: LabelAttributes;
|
|
577
|
-
legend: LegendAttributes;
|
|
578
|
-
li: LiAttributes;
|
|
579
|
-
main: MainAttributes;
|
|
580
|
-
map: MapAttributes;
|
|
581
|
-
mark: MarkAttributes;
|
|
582
|
-
menu: MenuAttributes;
|
|
583
|
-
meter: MeterAttributes;
|
|
584
|
-
nav: NavAttributes;
|
|
585
|
-
noscript: NoscriptAttributes;
|
|
586
|
-
object: ObjectAttributes;
|
|
587
|
-
ol: OlAttributes;
|
|
588
|
-
optgroup: OptgroupAttributes;
|
|
589
|
-
option: OptionAttributes;
|
|
590
|
-
output: OutputAttributes;
|
|
591
|
-
p: PAttributes;
|
|
592
|
-
param: ParamAttributes;
|
|
593
|
-
picture: PictureAttributes;
|
|
594
|
-
portal: PortalAttributes;
|
|
595
|
-
pre: PreAttributes;
|
|
596
|
-
progress: ProgressAttributes;
|
|
597
|
-
q: QAttributes;
|
|
598
|
-
rp: RpAttributes;
|
|
599
|
-
rt: RtAttributes;
|
|
600
|
-
ruby: RubyAttributes;
|
|
601
|
-
s: SAttributes;
|
|
602
|
-
samp: SampAttributes;
|
|
603
|
-
script: ScriptAttributes;
|
|
604
|
-
section: SectionAttributes;
|
|
605
|
-
select: SelectAttributes;
|
|
606
|
-
slot: SlotAttributes;
|
|
607
|
-
small: SmallAttributes;
|
|
608
|
-
source: SourceAttributes;
|
|
609
|
-
span: SpanAttributes;
|
|
610
|
-
strong: StrongAttributes;
|
|
611
|
-
sub: SubAttributes;
|
|
612
|
-
summary: SummaryAttributes;
|
|
613
|
-
sup: SupAttributes;
|
|
614
|
-
table: TableAttributes;
|
|
615
|
-
tbody: TbodyAttributes;
|
|
616
|
-
td: TdAttributes;
|
|
617
|
-
template: TemplateAttributes;
|
|
618
|
-
textarea: TextareaAttributes;
|
|
619
|
-
tfoot: TfootAttributes;
|
|
620
|
-
thead: TheadAttributes;
|
|
621
|
-
time: TimeAttributes;
|
|
622
|
-
tr: TrAttributes;
|
|
623
|
-
track: TrackAttributes;
|
|
624
|
-
u: UAttributes;
|
|
625
|
-
ul: UlAttributes;
|
|
626
|
-
var: VarAttributes;
|
|
627
|
-
video: VideoAttributes;
|
|
628
|
-
wbr: WbrAttributes;
|
|
629
|
-
}
|
package/src/dom/xml.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export function xml(
|
|
2
|
-
tag: string,
|
|
3
|
-
attributes: Record<string, string | number | boolean>,
|
|
4
|
-
children: string[] = [],
|
|
5
|
-
) {
|
|
6
|
-
const attrs = Object.entries(attributes).reduce(
|
|
7
|
-
(attrs, [attr, val]) => `${attrs} ${attr}="${val}"`,
|
|
8
|
-
"",
|
|
9
|
-
);
|
|
10
|
-
return `<${tag} ${attrs}>${children.join("")}</${tag}>`;
|
|
11
|
-
}
|
package/src/equal.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
export function compareArrays<T>(
|
|
2
|
-
equal: (a: T, b: T, partial: boolean) => boolean,
|
|
3
|
-
): (A: T[], B: T[], partial?: boolean) => boolean {
|
|
4
|
-
return (a: T[], b: T[], partial = false): boolean =>
|
|
5
|
-
a.length === b.length && a.every((e, i) => equal(e, b[i], partial));
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export const equalArrays = compareArrays(Object.is);
|
|
9
|
-
|
|
10
|
-
// export const matchArrays: <T>(a: T[], b: T[], partial?: boolean) => boolean = compareArrays(equals);
|
|
11
|
-
export function matchArrays<T>(a: T[], b: T[], partial?: boolean): boolean {
|
|
12
|
-
return compareArrays<T>(equals)(a, b, partial);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export function asArray<T = unknown>(a: Record<string, T>): [string, T][] {
|
|
16
|
-
return Object.entries(a).sort((a, b) => a[0].localeCompare(b[0]));
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export const matchObjects = (
|
|
20
|
-
a: object,
|
|
21
|
-
b: object & { [k: string]: unknown },
|
|
22
|
-
partial = true,
|
|
23
|
-
) => {
|
|
24
|
-
for (const [k, v] of Object.entries(a)) {
|
|
25
|
-
if (!Object.hasOwn(b, k) && partial) continue;
|
|
26
|
-
if (!equals(v, b[k], partial)) return false;
|
|
27
|
-
}
|
|
28
|
-
return true;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export function equals<T>(a: T, b: T, partial?: boolean): boolean;
|
|
32
|
-
export function equals<T>(a: T[], b: T[], partial?: boolean): boolean;
|
|
33
|
-
export function equals<T>(a: T | T[], b: T | T[], partial = false): boolean {
|
|
34
|
-
// runtime type checking
|
|
35
|
-
if (a === null && a === b) return true;
|
|
36
|
-
if (a === undefined && a === b) return true;
|
|
37
|
-
switch (typeof a) {
|
|
38
|
-
case "object":
|
|
39
|
-
if (b === undefined) {
|
|
40
|
-
return false;
|
|
41
|
-
}
|
|
42
|
-
if (Array.isArray(a) && Array.isArray(b)) {
|
|
43
|
-
return matchArrays(a, b, partial);
|
|
44
|
-
}
|
|
45
|
-
return matchObjects(
|
|
46
|
-
a ?? {},
|
|
47
|
-
// @ts-expect-error
|
|
48
|
-
b,
|
|
49
|
-
partial,
|
|
50
|
-
);
|
|
51
|
-
case "function":
|
|
52
|
-
return a.name === (b as unknown as CallableFunction).name;
|
|
53
|
-
default:
|
|
54
|
-
return Object.is(a, b);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// prettier-ignore
|
|
59
|
-
export type Equals<T1, T2> =
|
|
60
|
-
(<T>() => T extends T2 ? true : false) extends <T>() => T extends T1
|
|
61
|
-
? true
|
|
62
|
-
: false
|
|
63
|
-
? true
|
|
64
|
-
: false;
|
|
65
|
-
|
|
66
|
-
export type Not<B extends boolean> = B extends true ? false : true;
|
package/src/favicon.ico
DELETED
|
Binary file
|