@meonode/ui 0.1.105 → 0.1.107
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/common.helper.d.ts +1 -1
- package/dist/common.helper.d.ts.map +1 -1
- package/dist/core.node.d.ts +1 -1
- package/dist/core.node.d.ts.map +1 -1
- package/dist/core.node.js +1 -2
- package/dist/hook/useClasses.d.ts +1 -0
- package/dist/hook/useClasses.d.ts.map +1 -1
- package/dist/html.node.d.ts +157 -142
- package/dist/html.node.d.ts.map +1 -1
- package/dist/html.node.js +101 -100
- package/dist/node.helper.d.ts +8 -6
- package/dist/node.helper.d.ts.map +1 -1
- package/dist/node.type.d.ts +10 -3
- package/dist/node.type.d.ts.map +1 -1
- package/dist/react-is.helper.d.ts +1 -1
- package/dist/react-is.helper.d.ts.map +1 -1
- package/package.json +3 -2
package/dist/html.node.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { NodeElement, NodeProps } from './node.type.js';
|
|
2
|
+
// Layout components
|
|
2
3
|
/**
|
|
3
4
|
* Represents a div element.
|
|
4
5
|
* @param props Optional properties for the div element.
|
|
5
6
|
* @returns A div element node.
|
|
6
7
|
*/
|
|
7
|
-
export declare const Div: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">;
|
|
8
|
+
export declare const Div: (props?: NodeProps<"div"> | undefined) => import("./node.type.js").NodeInstance<"div">;
|
|
8
9
|
/**
|
|
9
10
|
* Represents a root div element with full viewport dimensions and column flex layout.
|
|
10
11
|
* By default, applies flex column layout and 100% viewport dimensions.
|
|
@@ -12,869 +13,883 @@ export declare const Div: (props?: NodeProps<"div">) => import("./node.type.js")
|
|
|
12
13
|
* @returns A div element node configured as root container.
|
|
13
14
|
* @example
|
|
14
15
|
* Root({
|
|
15
|
-
*
|
|
16
|
-
*
|
|
16
|
+
* backgroundColor: 'white',
|
|
17
|
+
* children: [Header(), Main(), Footer()]
|
|
17
18
|
* })
|
|
18
19
|
*/
|
|
19
|
-
export declare const Root: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">;
|
|
20
|
+
export declare const Root: (props?: NodeProps<"div"> | undefined) => import("./node.type.js").NodeInstance<"div">;
|
|
20
21
|
/**
|
|
21
22
|
* Represents a column layout using flexbox.
|
|
22
23
|
* @param props Optional properties for the column layout.
|
|
23
24
|
* @returns A div element node with flexbox column layout.
|
|
24
25
|
*/
|
|
25
|
-
export declare const Column: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">;
|
|
26
|
+
export declare const Column: (props?: NodeProps<"div"> | undefined) => import("./node.type.js").NodeInstance<"div">;
|
|
26
27
|
/**
|
|
27
28
|
* Represents a row layout using flexbox.
|
|
28
29
|
* @param props Optional properties for the row layout.
|
|
29
30
|
* @returns A div element node with flexbox row layout.
|
|
30
31
|
*/
|
|
31
|
-
export declare const Row: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">;
|
|
32
|
+
export declare const Row: (props?: NodeProps<"div"> | undefined) => import("./node.type.js").NodeInstance<"div">;
|
|
32
33
|
/**
|
|
33
34
|
* Represents a grid layout.
|
|
34
35
|
* @param props Optional properties for the grid layout.
|
|
35
36
|
* @returns A div element node with grid layout.
|
|
36
37
|
*/
|
|
37
|
-
export declare const Grid: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">;
|
|
38
|
+
export declare const Grid: (props?: NodeProps<"div"> | undefined) => import("./node.type.js").NodeInstance<"div">; // Remains Node because it applies default styling
|
|
38
39
|
/**
|
|
39
40
|
* Represents a centered container with flexbox alignment.
|
|
40
41
|
* By default, centers content both horizontally and vertically.
|
|
41
42
|
* @param props Optional properties for the div element.
|
|
42
43
|
* @returns A div element node configured for centered content.
|
|
43
44
|
*/
|
|
44
|
-
export declare const Center: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">;
|
|
45
|
+
export declare const Center: (props?: NodeProps<"div"> | undefined) => import("./node.type.js").NodeInstance<"div">;
|
|
45
46
|
/**
|
|
46
47
|
* Represents a fixed positioned element.
|
|
47
48
|
* @param props Optional properties for the fixed positioned element.
|
|
48
49
|
* @returns A div element node with fixed positioning.
|
|
49
50
|
*/
|
|
50
|
-
export declare const Fixed: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">;
|
|
51
|
+
export declare const Fixed: (props?: NodeProps<"div"> | undefined) => import("./node.type.js").NodeInstance<"div">;
|
|
51
52
|
/**
|
|
52
53
|
* Represents a relatively positioned element.
|
|
53
54
|
* @param props Optional properties for the relatively positioned element.
|
|
54
55
|
* @returns A div element node with relative positioning.
|
|
55
56
|
*/
|
|
56
|
-
export declare const Relative: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">;
|
|
57
|
+
export declare const Relative: (props?: NodeProps<"div"> | undefined) => import("./node.type.js").NodeInstance<"div">;
|
|
57
58
|
/**
|
|
58
59
|
* Represents an absolutely positioned element.
|
|
59
60
|
* @param props Optional properties for the absolutely positioned element.
|
|
60
61
|
* @returns A div element node with absolute positioning.
|
|
61
62
|
*/
|
|
62
|
-
export declare const Absolute: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">;
|
|
63
|
+
export declare const Absolute: (props?: NodeProps<"div"> | undefined) => import("./node.type.js").NodeInstance<"div">;
|
|
63
64
|
/**
|
|
64
65
|
* Represents a sticky positioned element.
|
|
65
66
|
* @param props Optional properties for the sticky positioned element.
|
|
66
67
|
* @returns A div element node with sticky positioning.
|
|
67
68
|
*/
|
|
68
|
-
export declare const Sticky: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">;
|
|
69
|
+
export declare const Sticky: (props?: NodeProps<"div"> | undefined) => import("./node.type.js").NodeInstance<"div">;
|
|
69
70
|
/**
|
|
70
71
|
* Represents a statically positioned element.
|
|
71
72
|
* @param props Optional properties for the statically positioned element.
|
|
72
73
|
* @returns A div element node with static positioning.
|
|
73
74
|
*/
|
|
74
|
-
export declare const Static: (props?: NodeProps<"div">) => import("./node.type.js").NodeInstance<"div">;
|
|
75
|
+
export declare const Static: (props?: NodeProps<"div"> | undefined) => import("./node.type.js").NodeInstance<"div">;
|
|
76
|
+
// Typography
|
|
75
77
|
/**
|
|
76
78
|
* Creates an h1 heading element node.
|
|
77
79
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
|
|
78
80
|
* @param props Optional properties for the h1 element.
|
|
79
81
|
* @returns An h1 element node.
|
|
80
82
|
*/
|
|
81
|
-
export declare const H1: (children: NodeElement | NodeElement
|
|
83
|
+
export declare const H1: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"h1">, "children"> | undefined) => import("./node.type.js").NodeInstance<"h1">;
|
|
82
84
|
/**
|
|
83
85
|
* Creates an h2 heading element node.
|
|
84
86
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
|
|
85
87
|
* @param props Optional properties for the h2 element.
|
|
86
88
|
* @returns An h2 element node.
|
|
87
89
|
*/
|
|
88
|
-
export declare const H2: (children: NodeElement | NodeElement
|
|
90
|
+
export declare const H2: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"h2">, "children"> | undefined) => import("./node.type.js").NodeInstance<"h2">;
|
|
89
91
|
/**
|
|
90
92
|
* Creates an h3 heading element node.
|
|
91
93
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
|
|
92
94
|
* @param props Optional properties for the h3 element.
|
|
93
95
|
* @returns An h3 element node.
|
|
94
96
|
*/
|
|
95
|
-
export declare const H3: (children: NodeElement | NodeElement
|
|
97
|
+
export declare const H3: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"h3">, "children"> | undefined) => import("./node.type.js").NodeInstance<"h3">;
|
|
96
98
|
/**
|
|
97
99
|
* Creates an h4 heading element node.
|
|
98
100
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
|
|
99
101
|
* @param props Optional properties for the h4 element.
|
|
100
102
|
* @returns An h4 element node.
|
|
101
103
|
*/
|
|
102
|
-
export declare const H4: (children: NodeElement | NodeElement
|
|
104
|
+
export declare const H4: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"h4">, "children"> | undefined) => import("./node.type.js").NodeInstance<"h4">;
|
|
103
105
|
/**
|
|
104
106
|
* Creates an h5 heading element node.
|
|
105
107
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
|
|
106
108
|
* @param props Optional properties for the h5 element.
|
|
107
109
|
* @returns An h5 element node.
|
|
108
110
|
*/
|
|
109
|
-
export declare const H5: (children: NodeElement | NodeElement
|
|
111
|
+
export declare const H5: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"h5">, "children"> | undefined) => import("./node.type.js").NodeInstance<"h5">;
|
|
110
112
|
/**
|
|
111
113
|
* Creates an h6 heading element node.
|
|
112
114
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
|
|
113
115
|
* @param props Optional properties for the h6 element.
|
|
114
116
|
* @returns An h6 element node.
|
|
115
117
|
*/
|
|
116
|
-
export declare const H6: (children: NodeElement | NodeElement
|
|
118
|
+
export declare const H6: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"h6">, "children"> | undefined) => import("./node.type.js").NodeInstance<"h6">;
|
|
117
119
|
/**
|
|
118
120
|
* Creates a strong element node for important text.
|
|
119
121
|
* @param children The content to be rendered within the element (text, numbers, components, etc) to emphasize.
|
|
120
122
|
* @param props Optional properties for the strong element.
|
|
121
123
|
* @returns A strong element node.
|
|
122
124
|
*/
|
|
123
|
-
export declare const Strong: (children: NodeElement | NodeElement
|
|
125
|
+
export declare const Strong: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"strong">, "children"> | undefined) => import("./node.type.js").NodeInstance<"strong">;
|
|
124
126
|
/**
|
|
125
127
|
* Creates an em element node for emphasized text.
|
|
126
128
|
* @param children The content to be rendered within the element (text, numbers, components, etc) to emphasize.
|
|
127
129
|
* @param props Optional properties for the em element.
|
|
128
130
|
* @returns An em element node.
|
|
129
131
|
*/
|
|
130
|
-
export declare const Em: (children: NodeElement | NodeElement
|
|
132
|
+
export declare const Em: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"em">, "children"> | undefined) => import("./node.type.js").NodeInstance<"em">;
|
|
131
133
|
/**
|
|
132
134
|
* Creates a small element node for side-comments and small print.
|
|
133
135
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
134
136
|
* @param props Optional properties for styling and configuring the small element.
|
|
135
137
|
* @returns A small element node that can be rendered in React.
|
|
136
138
|
*/
|
|
137
|
-
export declare const Small: (children: NodeElement | NodeElement
|
|
139
|
+
export declare const Small: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"small">, "children"> | undefined) => import("./node.type.js").NodeInstance<"small">;
|
|
138
140
|
/**
|
|
139
141
|
* Creates a mark element node for highlighted text.
|
|
140
142
|
* @param children The content to be rendered within the element (text, numbers, components, etc) to highlight.
|
|
141
143
|
* @param props Optional properties for the mark element.
|
|
142
144
|
* @returns A mark element node.
|
|
143
145
|
*/
|
|
144
|
-
export declare const Mark: (children: NodeElement | NodeElement
|
|
146
|
+
export declare const Mark: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"mark">, "children"> | undefined) => import("./node.type.js").NodeInstance<"mark">;
|
|
145
147
|
/**
|
|
146
148
|
* Creates a span element node.
|
|
147
149
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the span.
|
|
148
150
|
* @param props Optional properties for the span element.
|
|
149
151
|
* @returns A span element node.
|
|
150
152
|
*/
|
|
151
|
-
export declare const Span: (children: NodeElement | NodeElement
|
|
153
|
+
export declare const Span: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"span">, "children"> | undefined) => import("./node.type.js").NodeInstance<"span">;
|
|
152
154
|
/**
|
|
153
155
|
* Creates a paragraph element node.
|
|
154
156
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the paragraph.
|
|
155
157
|
* @param props Optional properties for the p element.
|
|
156
158
|
* @returns A paragraph element node.
|
|
157
159
|
*/
|
|
158
|
-
export declare const P: (children: NodeElement | NodeElement
|
|
160
|
+
export declare const P: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"p">, "children"> | undefined) => import("./node.type.js").NodeInstance<"p">;
|
|
159
161
|
/**
|
|
160
162
|
* Renders a semantic block of text using a `<p>` element.
|
|
161
163
|
* Alias for `P(...)`, recommended for general-purpose text content.
|
|
162
164
|
* @example
|
|
163
165
|
* Text('Hello world', { fontSize: 'theme.text.md' })
|
|
164
166
|
*/
|
|
165
|
-
export declare const Text: (children: NodeElement | NodeElement
|
|
167
|
+
export declare const Text: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"p">, "children"> | undefined) => import("./node.type.js").NodeInstance<"p">;
|
|
166
168
|
/**
|
|
167
169
|
* Creates a preformatted text element node.
|
|
168
170
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the pre element.
|
|
169
171
|
* @param props Optional properties for the pre element.
|
|
170
172
|
* @returns A pre element node.
|
|
171
173
|
*/
|
|
172
|
-
export declare const Pre: (children: NodeElement | NodeElement
|
|
174
|
+
export declare const Pre: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"pre">, "children"> | undefined) => import("./node.type.js").NodeInstance<"pre">;
|
|
173
175
|
/**
|
|
174
176
|
* Creates a code element node for displaying code snippets.
|
|
175
177
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the code.
|
|
176
178
|
* @param props Optional properties for the code element.
|
|
177
179
|
* @returns A code element node.
|
|
178
180
|
*/
|
|
179
|
-
export declare const Code: (children: NodeElement | NodeElement
|
|
181
|
+
export declare const Code: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"code">, "children"> | undefined) => import("./node.type.js").NodeInstance<"code">;
|
|
180
182
|
/**
|
|
181
183
|
* Represents a line break element.
|
|
182
184
|
* @param props Optional properties for the br element.
|
|
183
185
|
* @returns A br element node.
|
|
184
186
|
*/
|
|
185
|
-
export declare const Br: (props?:
|
|
187
|
+
export declare const Br: (props?: NodeProps<"br"> | undefined) => import("./node.type.js").NodeInstance<"br">;
|
|
188
|
+
// Lists
|
|
186
189
|
/**
|
|
187
190
|
* Represents an ordered list.
|
|
188
191
|
* @param props Optional properties for the ol element.
|
|
189
192
|
* @returns An ol element node.
|
|
190
193
|
*/
|
|
191
|
-
export declare const Ol: (props?: NodeProps<"ol">) => import("./node.type.js").NodeInstance<"ol">;
|
|
194
|
+
export declare const Ol: (props?: NodeProps<"ol"> | undefined) => import("./node.type.js").NodeInstance<"ol">;
|
|
192
195
|
/**
|
|
193
196
|
* Represents an unordered list.
|
|
194
197
|
* @param props Optional properties for the ul element.
|
|
195
198
|
* @returns A ul element node.
|
|
196
199
|
*/
|
|
197
|
-
export declare const Ul: (props?: NodeProps<"ul">) => import("./node.type.js").NodeInstance<"ul">;
|
|
200
|
+
export declare const Ul: (props?: NodeProps<"ul"> | undefined) => import("./node.type.js").NodeInstance<"ul">;
|
|
198
201
|
/**
|
|
199
202
|
* Represents a list item.
|
|
200
203
|
* @param props Optional properties for the li element.
|
|
201
204
|
* @returns An li element node.
|
|
202
205
|
*/
|
|
203
|
-
export declare const Li: (props?: NodeProps<"li">) => import("./node.type.js").NodeInstance<"li">;
|
|
206
|
+
export declare const Li: (props?: NodeProps<"li"> | undefined) => import("./node.type.js").NodeInstance<"li">;
|
|
204
207
|
/**
|
|
205
208
|
* Represents a description list.
|
|
206
209
|
* @param props Optional properties for the dl element.
|
|
207
210
|
* @returns A dl element node.
|
|
208
211
|
*/
|
|
209
|
-
export declare const Dl: (props?: NodeProps<"dl">) => import("./node.type.js").NodeInstance<"dl">;
|
|
212
|
+
export declare const Dl: (props?: NodeProps<"dl"> | undefined) => import("./node.type.js").NodeInstance<"dl">;
|
|
210
213
|
/**
|
|
211
214
|
* Represents a term in a description list.
|
|
212
215
|
* @param props Optional properties for the dt element.
|
|
213
216
|
* @returns A dt element node.
|
|
214
217
|
*/
|
|
215
|
-
export declare const Dt: (props?: NodeProps<"dt">) => import("./node.type.js").NodeInstance<"dt">;
|
|
218
|
+
export declare const Dt: (props?: NodeProps<"dt"> | undefined) => import("./node.type.js").NodeInstance<"dt">;
|
|
216
219
|
/**
|
|
217
220
|
* Represents a description in a description list.
|
|
218
221
|
* @param props Optional properties for the dd element.
|
|
219
222
|
* @returns A dd element node.
|
|
220
223
|
*/
|
|
221
|
-
export declare const Dd: (props?: NodeProps<"dd">) => import("./node.type.js").NodeInstance<"dd">;
|
|
224
|
+
export declare const Dd: (props?: NodeProps<"dd"> | undefined) => import("./node.type.js").NodeInstance<"dd">;
|
|
225
|
+
// Forms and inputs
|
|
222
226
|
/**
|
|
223
227
|
* Represents an HTML form.
|
|
224
228
|
* @param props Optional properties for the form element.
|
|
225
229
|
* @returns A form element node.
|
|
226
230
|
*/
|
|
227
|
-
export declare const Form: (props?: NodeProps<"form">) => import("./node.type.js").NodeInstance<"form">;
|
|
231
|
+
export declare const Form: (props?: NodeProps<"form"> | undefined) => import("./node.type.js").NodeInstance<"form">;
|
|
228
232
|
/**
|
|
229
233
|
* Represents a label for an input element.
|
|
230
234
|
* @param props Optional properties for the label element.
|
|
231
235
|
* @returns A label element node.
|
|
232
236
|
*/
|
|
233
|
-
export declare const Label: (props?: NodeProps<"label">) => import("./node.type.js").NodeInstance<"label">;
|
|
237
|
+
export declare const Label: (props?: NodeProps<"label"> | undefined) => import("./node.type.js").NodeInstance<"label">;
|
|
234
238
|
/**
|
|
235
239
|
* Represents an input element.
|
|
236
240
|
* @param props Optional properties for the input element.
|
|
237
241
|
* @returns An input element node.
|
|
238
242
|
*/
|
|
239
|
-
export declare const Input: (props?:
|
|
243
|
+
export declare const Input: (props?: NodeProps<"input"> | undefined) => import("./node.type.js").NodeInstance<"input">;
|
|
240
244
|
/**
|
|
241
245
|
* Creates a button element node.
|
|
242
246
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the button.
|
|
243
247
|
* @param props Optional properties for the button element.
|
|
244
248
|
* @returns A button element node.
|
|
245
249
|
*/
|
|
246
|
-
export declare const Button: (children: NodeElement | NodeElement
|
|
250
|
+
export declare const Button: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"button">, "children"> | undefined) => import("./node.type.js").NodeInstance<"button">;
|
|
247
251
|
/**
|
|
248
252
|
* Represents a textarea element for multiline text input.
|
|
249
253
|
* @param props Optional properties for the textarea element.
|
|
250
254
|
* @returns A textarea element node.
|
|
251
255
|
*/
|
|
252
|
-
export declare const Textarea: (props?: NodeProps<"textarea">) => import("./node.type.js").NodeInstance<"textarea">;
|
|
256
|
+
export declare const Textarea: (props?: NodeProps<"textarea"> | undefined) => import("./node.type.js").NodeInstance<"textarea">;
|
|
253
257
|
/**
|
|
254
258
|
* Represents a select dropdown element.
|
|
255
259
|
* @param props Optional properties for the select element.
|
|
256
260
|
* @returns A select element node.
|
|
257
261
|
*/
|
|
258
|
-
export declare const Select: (props?: NodeProps<"select">) => import("./node.type.js").NodeInstance<"select">;
|
|
262
|
+
export declare const Select: (props?: NodeProps<"select"> | undefined) => import("./node.type.js").NodeInstance<"select">;
|
|
259
263
|
/**
|
|
260
264
|
* Represents an option within a select element.
|
|
261
265
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the option.
|
|
262
266
|
* @param props Optional properties for the option element.
|
|
263
267
|
* @returns An option element node.
|
|
264
268
|
*/
|
|
265
|
-
export declare const Option: (children: NodeElement | NodeElement
|
|
269
|
+
export declare const Option: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"option">, "children"> | undefined) => import("./node.type.js").NodeInstance<"option">;
|
|
266
270
|
/**
|
|
267
271
|
* Represents a fieldset element for grouping form elements.
|
|
268
272
|
* @param props Optional properties for the fieldset element.
|
|
269
273
|
* @returns A fieldset element node.
|
|
270
274
|
*/
|
|
271
|
-
export declare const Fieldset: (props?: NodeProps<"fieldset">) => import("./node.type.js").NodeInstance<"fieldset">;
|
|
275
|
+
export declare const Fieldset: (props?: NodeProps<"fieldset"> | undefined) => import("./node.type.js").NodeInstance<"fieldset">;
|
|
272
276
|
/**
|
|
273
277
|
* Represents a legend for a fieldset.
|
|
274
278
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the legend.
|
|
275
279
|
* @param props Optional properties for the legend element.
|
|
276
280
|
* @returns A legend element node.
|
|
277
281
|
*/
|
|
278
|
-
export declare const Legend: (children: NodeElement | NodeElement
|
|
282
|
+
export declare const Legend: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"legend">, "children"> | undefined) => import("./node.type.js").NodeInstance<"legend">;
|
|
279
283
|
/**
|
|
280
284
|
* Represents an option group within a select element.
|
|
281
285
|
* @param props Optional properties for the optgroup element.
|
|
282
286
|
* @returns An optgroup element node.
|
|
283
287
|
*/
|
|
284
|
-
export declare const Optgroup: (props?: NodeProps<"optgroup">) => import("./node.type.js").NodeInstance<"optgroup">;
|
|
288
|
+
export declare const Optgroup: (props?: NodeProps<"optgroup"> | undefined) => import("./node.type.js").NodeInstance<"optgroup">;
|
|
289
|
+
// Tables
|
|
285
290
|
/**
|
|
286
291
|
* Represents a table element.
|
|
287
292
|
* @param props Optional properties for the table element.
|
|
288
293
|
* @returns A table element node.
|
|
289
294
|
*/
|
|
290
|
-
export declare const Table: (props?: NodeProps<"table">) => import("./node.type.js").NodeInstance<"table">;
|
|
295
|
+
export declare const Table: (props?: NodeProps<"table"> | undefined) => import("./node.type.js").NodeInstance<"table">;
|
|
291
296
|
/**
|
|
292
297
|
* Represents a table header section.
|
|
293
298
|
* @param props Optional properties for the thead element.
|
|
294
299
|
* @returns A thead element node.
|
|
295
300
|
*/
|
|
296
|
-
export declare const Thead: (props?: NodeProps<"thead">) => import("./node.type.js").NodeInstance<"thead">;
|
|
301
|
+
export declare const Thead: (props?: NodeProps<"thead"> | undefined) => import("./node.type.js").NodeInstance<"thead">;
|
|
297
302
|
/**
|
|
298
303
|
* Represents a table body section.
|
|
299
304
|
* @param props Optional properties for the tbody element.
|
|
300
305
|
* @returns A tbody element node.
|
|
301
306
|
*/
|
|
302
|
-
export declare const Tbody: (props?: NodeProps<"tbody">) => import("./node.type.js").NodeInstance<"tbody">;
|
|
307
|
+
export declare const Tbody: (props?: NodeProps<"tbody"> | undefined) => import("./node.type.js").NodeInstance<"tbody">;
|
|
303
308
|
/**
|
|
304
309
|
* Represents a table footer section.
|
|
305
310
|
* @param props Optional properties for the tfoot element.
|
|
306
311
|
* @returns A tfoot element node.
|
|
307
312
|
*/
|
|
308
|
-
export declare const Tfoot: (props?: NodeProps<"tfoot">) => import("./node.type.js").NodeInstance<"tfoot">;
|
|
313
|
+
export declare const Tfoot: (props?: NodeProps<"tfoot"> | undefined) => import("./node.type.js").NodeInstance<"tfoot">;
|
|
309
314
|
/**
|
|
310
315
|
* Represents a table row.
|
|
311
316
|
* @param props Optional properties for the tr element.
|
|
312
317
|
* @returns A tr element node.
|
|
313
318
|
*/
|
|
314
|
-
export declare const Tr: (props?: NodeProps<"tr">) => import("./node.type.js").NodeInstance<"tr">;
|
|
319
|
+
export declare const Tr: (props?: NodeProps<"tr"> | undefined) => import("./node.type.js").NodeInstance<"tr">;
|
|
315
320
|
/**
|
|
316
321
|
* Represents a table header cell.
|
|
317
322
|
* @param props Optional properties for the th element.
|
|
318
323
|
* @returns A th element node.
|
|
319
324
|
*/
|
|
320
|
-
export declare const Th: (props?: NodeProps<"th">) => import("./node.type.js").NodeInstance<"th">;
|
|
325
|
+
export declare const Th: (props?: NodeProps<"th"> | undefined) => import("./node.type.js").NodeInstance<"th">;
|
|
321
326
|
/**
|
|
322
327
|
* Represents a table data cell.
|
|
323
328
|
* @param props Optional properties for the td element.
|
|
324
329
|
* @returns A td element node.
|
|
325
330
|
*/
|
|
326
|
-
export declare const Td: (props?: NodeProps<"td">) => import("./node.type.js").NodeInstance<"td">;
|
|
331
|
+
export declare const Td: (props?: NodeProps<"td"> | undefined) => import("./node.type.js").NodeInstance<"td">;
|
|
327
332
|
/**
|
|
328
333
|
* Represents a table caption.
|
|
329
334
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the caption.
|
|
330
335
|
* @param props Optional properties for the caption element.
|
|
331
336
|
* @returns A caption element node.
|
|
332
337
|
*/
|
|
333
|
-
export declare const Caption: (children: NodeElement | NodeElement
|
|
338
|
+
export declare const Caption: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"caption">, "children"> | undefined) => import("./node.type.js").NodeInstance<"caption">;
|
|
334
339
|
/**
|
|
335
340
|
* Represents a table column group.
|
|
336
341
|
* @param props Optional properties for the colgroup element.
|
|
337
342
|
* @returns A colgroup element node.
|
|
338
343
|
*/
|
|
339
|
-
export declare const Colgroup: (props?: NodeProps<"colgroup">) => import("./node.type.js").NodeInstance<"colgroup">;
|
|
344
|
+
export declare const Colgroup: (props?: NodeProps<"colgroup"> | undefined) => import("./node.type.js").NodeInstance<"colgroup">;
|
|
340
345
|
/**
|
|
341
346
|
* Represents a table column.
|
|
342
347
|
* @param props Optional properties for the col element.
|
|
343
348
|
* @returns A col element node.
|
|
344
349
|
*/
|
|
345
|
-
export declare const Col: (props?:
|
|
350
|
+
export declare const Col: (props?: NodeProps<"col"> | undefined) => import("./node.type.js").NodeInstance<"col">;
|
|
351
|
+
// Media elements
|
|
346
352
|
/**
|
|
347
353
|
* Represents an image element.
|
|
348
354
|
* @param props Optional properties for the img element.
|
|
349
355
|
* @returns An img element node.
|
|
350
356
|
*/
|
|
351
|
-
export declare const Img: (props?:
|
|
357
|
+
export declare const Img: (props?: NodeProps<"img"> | undefined) => import("./node.type.js").NodeInstance<"img">;
|
|
352
358
|
/**
|
|
353
359
|
* Represents a video element.
|
|
354
360
|
* @param props Optional properties for the video element.
|
|
355
361
|
* @returns A video element node.
|
|
356
362
|
*/
|
|
357
|
-
export declare const Video: (props?: NodeProps<"video">) => import("./node.type.js").NodeInstance<"video">;
|
|
363
|
+
export declare const Video: (props?: NodeProps<"video"> | undefined) => import("./node.type.js").NodeInstance<"video">;
|
|
358
364
|
/**
|
|
359
365
|
* Represents an audio element.
|
|
360
366
|
* @param props Optional properties for the audio element.
|
|
361
367
|
* @returns An audio element node.
|
|
362
368
|
*/
|
|
363
|
-
export declare const Audio: (props?: NodeProps<"audio">) => import("./node.type.js").NodeInstance<"audio">;
|
|
369
|
+
export declare const Audio: (props?: NodeProps<"audio"> | undefined) => import("./node.type.js").NodeInstance<"audio">;
|
|
364
370
|
/**
|
|
365
371
|
* Represents a picture element.
|
|
366
372
|
* @param props Optional properties for the picture element.
|
|
367
373
|
* @returns A picture element node.
|
|
368
374
|
*/
|
|
369
|
-
export declare const Picture: (props?: NodeProps<"picture">) => import("./node.type.js").NodeInstance<"picture">;
|
|
375
|
+
export declare const Picture: (props?: NodeProps<"picture"> | undefined) => import("./node.type.js").NodeInstance<"picture">;
|
|
370
376
|
/**
|
|
371
377
|
* Represents a source element.
|
|
372
378
|
* @param props Optional properties for the source element.
|
|
373
379
|
* @returns A source element node.
|
|
374
380
|
*/
|
|
375
|
-
export declare const Source: (props?:
|
|
381
|
+
export declare const Source: (props?: NodeProps<"source"> | undefined) => import("./node.type.js").NodeInstance<"source">;
|
|
376
382
|
/**
|
|
377
383
|
* Represents a text track element.
|
|
378
384
|
* @param props Optional properties for the track element.
|
|
379
385
|
* @returns A track element node.
|
|
380
386
|
*/
|
|
381
|
-
export declare const Track: (props?:
|
|
387
|
+
export declare const Track: (props?: NodeProps<"track"> | undefined) => import("./node.type.js").NodeInstance<"track">;
|
|
382
388
|
/**
|
|
383
389
|
* Represents a canvas element.
|
|
384
390
|
* @param props Optional properties for the canvas element.
|
|
385
391
|
* @returns A canvas element node.
|
|
386
392
|
*/
|
|
387
|
-
export declare const Canvas: (props?: NodeProps<"canvas">) => import("./node.type.js").NodeInstance<"canvas">;
|
|
393
|
+
export declare const Canvas: (props?: NodeProps<"canvas"> | undefined) => import("./node.type.js").NodeInstance<"canvas">;
|
|
388
394
|
/**
|
|
389
395
|
* Represents an iframe element.
|
|
390
396
|
* @param props Optional properties for the iframe element.
|
|
391
397
|
* @returns An iframe element node.
|
|
392
398
|
*/
|
|
393
|
-
export declare const Iframe: (props?: NodeProps<"iframe">) => import("./node.type.js").NodeInstance<"iframe">;
|
|
399
|
+
export declare const Iframe: (props?: NodeProps<"iframe"> | undefined) => import("./node.type.js").NodeInstance<"iframe">;
|
|
400
|
+
// SVG elements
|
|
394
401
|
/**
|
|
395
402
|
* Represents an SVG container element.
|
|
396
403
|
* @param props Optional properties for the svg element.
|
|
397
404
|
* @returns An svg element node.
|
|
398
405
|
*/
|
|
399
|
-
export declare const Svg: (props?: NodeProps<"svg">) => import("./node.type.js").NodeInstance<"svg">;
|
|
406
|
+
export declare const Svg: (props?: NodeProps<"svg"> | undefined) => import("./node.type.js").NodeInstance<"svg">;
|
|
400
407
|
/**
|
|
401
408
|
* Represents an SVG path element.
|
|
402
409
|
* @param props Optional properties for the path element.
|
|
403
410
|
* @returns A path element node.
|
|
404
411
|
*/
|
|
405
|
-
export declare const SvgPath: (props?: NodeProps<"path">) => import("./node.type.js").NodeInstance<"path">;
|
|
412
|
+
export declare const SvgPath: (props?: NodeProps<"path"> | undefined) => import("./node.type.js").NodeInstance<"path">;
|
|
406
413
|
/**
|
|
407
414
|
* Represents an SVG circle element.
|
|
408
415
|
* @param props Optional properties for the circle element.
|
|
409
416
|
* @returns A circle element node.
|
|
410
417
|
*/
|
|
411
|
-
export declare const SvgCircle: (props?: NodeProps<"circle">) => import("./node.type.js").NodeInstance<"circle">;
|
|
418
|
+
export declare const SvgCircle: (props?: NodeProps<"circle"> | undefined) => import("./node.type.js").NodeInstance<"circle">;
|
|
412
419
|
/**
|
|
413
420
|
* Represents an SVG ellipse element.
|
|
414
421
|
* @param props Optional properties for the ellipse element.
|
|
415
422
|
* @returns An ellipse element node.
|
|
416
423
|
*/
|
|
417
|
-
export declare const SvgEllipse: (props?: NodeProps<"ellipse">) => import("./node.type.js").NodeInstance<"ellipse">;
|
|
424
|
+
export declare const SvgEllipse: (props?: NodeProps<"ellipse"> | undefined) => import("./node.type.js").NodeInstance<"ellipse">;
|
|
418
425
|
/**
|
|
419
426
|
* Represents an SVG line element.
|
|
420
427
|
* @param props Optional properties for the line element.
|
|
421
428
|
* @returns A line element node.
|
|
422
429
|
*/
|
|
423
|
-
export declare const SvgLine: (props?: NodeProps<"line">) => import("./node.type.js").NodeInstance<"line">;
|
|
430
|
+
export declare const SvgLine: (props?: NodeProps<"line"> | undefined) => import("./node.type.js").NodeInstance<"line">;
|
|
424
431
|
/**
|
|
425
432
|
* Represents an SVG polyline element.
|
|
426
433
|
* @param props Optional properties for the polyline element.
|
|
427
434
|
* @returns A polyline element node.
|
|
428
435
|
*/
|
|
429
|
-
export declare const SvgPolyline: (props?: NodeProps<"polyline">) => import("./node.type.js").NodeInstance<"polyline">;
|
|
436
|
+
export declare const SvgPolyline: (props?: NodeProps<"polyline"> | undefined) => import("./node.type.js").NodeInstance<"polyline">;
|
|
430
437
|
/**
|
|
431
438
|
* Represents an SVG polygon element.
|
|
432
439
|
* @param props Optional properties for the polygon element.
|
|
433
440
|
* @returns A polygon element node.
|
|
434
441
|
*/
|
|
435
|
-
export declare const SvgPolygon: (props?: NodeProps<"polygon">) => import("./node.type.js").NodeInstance<"polygon">;
|
|
442
|
+
export declare const SvgPolygon: (props?: NodeProps<"polygon"> | undefined) => import("./node.type.js").NodeInstance<"polygon">;
|
|
436
443
|
/**
|
|
437
444
|
* Represents an SVG rectangle element.
|
|
438
445
|
* @param props Optional properties for the rect element.
|
|
439
446
|
* @returns A rect element node.
|
|
440
447
|
*/
|
|
441
|
-
export declare const SvgRect: (props?: NodeProps<"rect">) => import("./node.type.js").NodeInstance<"rect">;
|
|
448
|
+
export declare const SvgRect: (props?: NodeProps<"rect"> | undefined) => import("./node.type.js").NodeInstance<"rect">;
|
|
442
449
|
/**
|
|
443
450
|
* Represents an SVG use element.
|
|
444
451
|
* @param props Optional properties for the use element.
|
|
445
452
|
* @returns A use element node.
|
|
446
453
|
*/
|
|
447
|
-
export declare const SvgUse: (props?: NodeProps<"use">) => import("./node.type.js").NodeInstance<"use">;
|
|
454
|
+
export declare const SvgUse: (props?: NodeProps<"use"> | undefined) => import("./node.type.js").NodeInstance<"use">;
|
|
448
455
|
/**
|
|
449
456
|
* Represents an SVG definitions element.
|
|
450
457
|
* @param props Optional properties for the defs element.
|
|
451
458
|
* @returns A defs element node.
|
|
452
459
|
*/
|
|
453
|
-
export declare const SvgDefs: (props?: NodeProps<"defs">) => import("./node.type.js").NodeInstance<"defs">;
|
|
460
|
+
export declare const SvgDefs: (props?: NodeProps<"defs"> | undefined) => import("./node.type.js").NodeInstance<"defs">;
|
|
454
461
|
/**
|
|
455
462
|
* Represents an SVG linear gradient element.
|
|
456
463
|
* @param props Optional properties for the linearGradient element.
|
|
457
464
|
* @returns A linearGradient element node.
|
|
458
465
|
*/
|
|
459
|
-
export declare const SvgLinearGradient: (props?: NodeProps<"linearGradient">) => import("./node.type.js").NodeInstance<"linearGradient">;
|
|
466
|
+
export declare const SvgLinearGradient: (props?: NodeProps<"linearGradient"> | undefined) => import("./node.type.js").NodeInstance<"linearGradient">;
|
|
460
467
|
/**
|
|
461
468
|
* Represents an SVG radial gradient element.
|
|
462
469
|
* @param props Optional properties for the radialGradient element.
|
|
463
470
|
* @returns A radialGradient element node.
|
|
464
471
|
*/
|
|
465
|
-
export declare const SvgRadialGradient: (props?: NodeProps<"radialGradient">) => import("./node.type.js").NodeInstance<"radialGradient">;
|
|
472
|
+
export declare const SvgRadialGradient: (props?: NodeProps<"radialGradient"> | undefined) => import("./node.type.js").NodeInstance<"radialGradient">;
|
|
466
473
|
/**
|
|
467
474
|
* Represents an SVG gradient stop element.
|
|
468
475
|
* @param props Optional properties for the stop element.
|
|
469
476
|
* @returns A stop element node.
|
|
470
477
|
*/
|
|
471
|
-
export declare const SvgStop: (props?: NodeProps<"stop">) => import("./node.type.js").NodeInstance<"stop">;
|
|
478
|
+
export declare const SvgStop: (props?: NodeProps<"stop"> | undefined) => import("./node.type.js").NodeInstance<"stop">;
|
|
472
479
|
/**
|
|
473
480
|
* Represents an SVG symbol element.
|
|
474
481
|
* @param props Optional properties for the symbol element.
|
|
475
482
|
* @returns A symbol element node.
|
|
476
483
|
*/
|
|
477
|
-
export declare const SvgSymbol: (props?: NodeProps<"symbol">) => import("./node.type.js").NodeInstance<"symbol">;
|
|
484
|
+
export declare const SvgSymbol: (props?: NodeProps<"symbol"> | undefined) => import("./node.type.js").NodeInstance<"symbol">;
|
|
478
485
|
/**
|
|
479
486
|
* Represents an SVG group element.
|
|
480
487
|
* @param props Optional properties for the g element.
|
|
481
488
|
* @returns A g element node.
|
|
482
489
|
*/
|
|
483
|
-
export declare const SvgG: (props?: NodeProps<"g">) => import("./node.type.js").NodeInstance<"g">;
|
|
490
|
+
export declare const SvgG: (props?: NodeProps<"g"> | undefined) => import("./node.type.js").NodeInstance<"g">;
|
|
484
491
|
/**
|
|
485
492
|
* Represents an SVG text element.
|
|
486
493
|
* @param props Optional properties for the text element.
|
|
487
494
|
* @returns A text element node.
|
|
488
495
|
*/
|
|
489
|
-
export declare const SvgText: (props?: NodeProps<"text">) => import("./node.type.js").NodeInstance<"text">;
|
|
496
|
+
export declare const SvgText: (props?: NodeProps<"text"> | undefined) => import("./node.type.js").NodeInstance<"text">;
|
|
490
497
|
/**
|
|
491
498
|
* Represents an SVG text span element.
|
|
492
499
|
* @param props Optional properties for the tspan element.
|
|
493
500
|
* @returns A tspan element node.
|
|
494
501
|
*/
|
|
495
|
-
export declare const SvgTspan: (props?: NodeProps<"tspan">) => import("./node.type.js").NodeInstance<"tspan">;
|
|
502
|
+
export declare const SvgTspan: (props?: NodeProps<"tspan"> | undefined) => import("./node.type.js").NodeInstance<"tspan">;
|
|
503
|
+
// Navigation and links
|
|
496
504
|
/**
|
|
497
505
|
* Represents an anchor element.
|
|
498
506
|
* @param props Optional properties for the a element.
|
|
499
507
|
* @returns An a element node.
|
|
500
508
|
*/
|
|
501
|
-
export declare const A: (props?: NodeProps<"a">) => import("./node.type.js").NodeInstance<"a">;
|
|
509
|
+
export declare const A: (props?: NodeProps<"a"> | undefined) => import("./node.type.js").NodeInstance<"a">;
|
|
502
510
|
/**
|
|
503
511
|
* Represents a navigation element.
|
|
504
512
|
* @param props Optional properties for the nav element.
|
|
505
513
|
* @returns A nav element node.
|
|
506
514
|
*/
|
|
507
|
-
export declare const Nav: (props?: NodeProps<"nav">) => import("./node.type.js").NodeInstance<"nav">;
|
|
515
|
+
export declare const Nav: (props?: NodeProps<"nav"> | undefined) => import("./node.type.js").NodeInstance<"nav">;
|
|
516
|
+
// Document structure
|
|
508
517
|
/**
|
|
509
518
|
* Represents the body element of an HTML document.
|
|
510
519
|
* @param props Optional properties for the body element.
|
|
511
520
|
* @returns A body element node.
|
|
512
521
|
*/
|
|
513
|
-
export declare const Body: (props?: NodeProps<"body">) => import("./node.type.js").NodeInstance<"body">;
|
|
522
|
+
export declare const Body: (props?: NodeProps<"body"> | undefined) => import("./node.type.js").NodeInstance<"body">;
|
|
514
523
|
/**
|
|
515
524
|
* Represents the main content of a document.
|
|
516
525
|
* @param props Optional properties for the main element.
|
|
517
526
|
* @returns A main element node.
|
|
518
527
|
*/
|
|
519
|
-
export declare const Main: (props?: NodeProps<"main">) => import("./node.type.js").NodeInstance<"main">;
|
|
528
|
+
export declare const Main: (props?: NodeProps<"main"> | undefined) => import("./node.type.js").NodeInstance<"main">;
|
|
520
529
|
/**
|
|
521
530
|
* Represents a header element.
|
|
522
531
|
* @param props Optional properties for the header element.
|
|
523
532
|
* @returns A header element node.
|
|
524
533
|
*/
|
|
525
|
-
export declare const Header: (props?: NodeProps<"header">) => import("./node.type.js").NodeInstance<"header">;
|
|
534
|
+
export declare const Header: (props?: NodeProps<"header"> | undefined) => import("./node.type.js").NodeInstance<"header">;
|
|
526
535
|
/**
|
|
527
536
|
* Represents a footer element.
|
|
528
537
|
* @param props Optional properties for the footer element.
|
|
529
538
|
* @returns A footer element node.
|
|
530
539
|
*/
|
|
531
|
-
export declare const Footer: (props?: NodeProps<"footer">) => import("./node.type.js").NodeInstance<"footer">;
|
|
540
|
+
export declare const Footer: (props?: NodeProps<"footer"> | undefined) => import("./node.type.js").NodeInstance<"footer">;
|
|
532
541
|
/**
|
|
533
542
|
* Represents an aside element.
|
|
534
543
|
* @param props Optional properties for the aside element.
|
|
535
544
|
* @returns An aside element node.
|
|
536
545
|
*/
|
|
537
|
-
export declare const Aside: (props?: NodeProps<"aside">) => import("./node.type.js").NodeInstance<"aside">;
|
|
546
|
+
export declare const Aside: (props?: NodeProps<"aside"> | undefined) => import("./node.type.js").NodeInstance<"aside">;
|
|
538
547
|
/**
|
|
539
548
|
* Represents a section element.
|
|
540
549
|
* @param props Optional properties for the section element.
|
|
541
550
|
* @returns A section element node.
|
|
542
551
|
*/
|
|
543
|
-
export declare const Section: (props?: NodeProps<"section">) => import("./node.type.js").NodeInstance<"section">;
|
|
552
|
+
export declare const Section: (props?: NodeProps<"section"> | undefined) => import("./node.type.js").NodeInstance<"section">;
|
|
544
553
|
/**
|
|
545
554
|
* Represents an article element.
|
|
546
555
|
* @param props Optional properties for the article element.
|
|
547
556
|
* @returns An article element node.
|
|
548
557
|
*/
|
|
549
|
-
export declare const Article: (props?: NodeProps<"article">) => import("./node.type.js").NodeInstance<"article">;
|
|
558
|
+
export declare const Article: (props?: NodeProps<"article"> | undefined) => import("./node.type.js").NodeInstance<"article">;
|
|
550
559
|
/**
|
|
551
560
|
* Represents a figure element.
|
|
552
561
|
* @param props Optional properties for the figure element.
|
|
553
562
|
* @returns A figure element node.
|
|
554
563
|
*/
|
|
555
|
-
export declare const Figure: (props?: NodeProps<"figure">) => import("./node.type.js").NodeInstance<"figure">;
|
|
564
|
+
export declare const Figure: (props?: NodeProps<"figure"> | undefined) => import("./node.type.js").NodeInstance<"figure">;
|
|
556
565
|
/**
|
|
557
566
|
* Represents a figure caption element.
|
|
558
567
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the figcaption.
|
|
559
568
|
* @param props Optional properties for the figcaption element.
|
|
560
569
|
* @returns A figcaption element node.
|
|
561
570
|
*/
|
|
562
|
-
export declare const Figcaption: (children: NodeElement | NodeElement
|
|
571
|
+
export declare const Figcaption: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"figcaption">, "children"> | undefined) => import("./node.type.js").NodeInstance<"figcaption">;
|
|
563
572
|
/**
|
|
564
573
|
* Represents a blockquote element.
|
|
565
574
|
* @param props Optional properties for the blockquote element.
|
|
566
575
|
* @returns A blockquote element node.
|
|
567
576
|
*/
|
|
568
|
-
export declare const Blockquote: (props?: NodeProps<"blockquote">) => import("./node.type.js").NodeInstance<"blockquote">;
|
|
577
|
+
export declare const Blockquote: (props?: NodeProps<"blockquote"> | undefined) => import("./node.type.js").NodeInstance<"blockquote">;
|
|
569
578
|
/**
|
|
570
579
|
* Represents an address element.
|
|
571
580
|
* @param props Optional properties for the address element.
|
|
572
581
|
* @returns An address element node.
|
|
573
582
|
*/
|
|
574
|
-
export declare const Address: (props?: NodeProps<"address">) => import("./node.type.js").NodeInstance<"address">;
|
|
583
|
+
export declare const Address: (props?: NodeProps<"address"> | undefined) => import("./node.type.js").NodeInstance<"address">;
|
|
575
584
|
/**
|
|
576
585
|
* Represents a dialog element.
|
|
577
586
|
* @param props Optional properties for the dialog element.
|
|
578
587
|
* @returns A dialog element node.
|
|
579
588
|
*/
|
|
580
|
-
export declare const Dialog: (props?: NodeProps<"dialog">) => import("./node.type.js").NodeInstance<"dialog">;
|
|
589
|
+
export declare const Dialog: (props?: NodeProps<"dialog"> | undefined) => import("./node.type.js").NodeInstance<"dialog">;
|
|
581
590
|
/**
|
|
582
591
|
* Represents a details element.
|
|
583
592
|
* @param props Optional properties for the details element.
|
|
584
593
|
* @returns A details element node.
|
|
585
594
|
*/
|
|
586
|
-
export declare const Details: (props?: NodeProps<"details">) => import("./node.type.js").NodeInstance<"details">;
|
|
595
|
+
export declare const Details: (props?: NodeProps<"details"> | undefined) => import("./node.type.js").NodeInstance<"details">;
|
|
587
596
|
/**
|
|
588
597
|
* Represents a summary element for a details disclosure box.
|
|
589
598
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the summary.
|
|
590
599
|
* @param props Optional properties for the summary element.
|
|
591
600
|
* @returns A summary element node.
|
|
592
601
|
*/
|
|
593
|
-
export declare const Summary: (children: NodeElement | NodeElement
|
|
602
|
+
export declare const Summary: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"summary">, "children"> | undefined) => import("./node.type.js").NodeInstance<"summary">;
|
|
603
|
+
// Document head elements
|
|
594
604
|
/**
|
|
595
605
|
* Represents a head element.
|
|
596
606
|
* @param props Optional properties for the head element.
|
|
597
607
|
* @returns A head element node.
|
|
598
608
|
*/
|
|
599
|
-
export declare const Head: (props?: NodeProps<"head">) => import("./node.type.js").NodeInstance<"head">;
|
|
609
|
+
export declare const Head: (props?: NodeProps<"head"> | undefined) => import("./node.type.js").NodeInstance<"head">;
|
|
600
610
|
/**
|
|
601
611
|
* Represents the root HTML element.
|
|
602
612
|
* @param props Optional properties for the HTML element.
|
|
603
613
|
* @returns An HTML element node.
|
|
604
614
|
*/
|
|
605
|
-
export declare const Html: (props?: NodeProps<"html">) => import("./node.type.js").NodeInstance<"html">;
|
|
615
|
+
export declare const Html: (props?: NodeProps<"html"> | undefined) => import("./node.type.js").NodeInstance<"html">;
|
|
606
616
|
/**
|
|
607
617
|
* Represents a meta element.
|
|
608
618
|
* @param props Optional properties for the meta element.
|
|
609
619
|
* @returns A meta element node.
|
|
610
620
|
*/
|
|
611
|
-
export declare const Meta: (props?:
|
|
621
|
+
export declare const Meta: (props?: NodeProps<"meta"> | undefined) => import("./node.type.js").NodeInstance<"meta">;
|
|
612
622
|
/**
|
|
613
623
|
* Represents a link element.
|
|
614
624
|
* @param props Optional properties for the link element.
|
|
615
625
|
* @returns A link element node.
|
|
616
626
|
*/
|
|
617
|
-
export declare const Link: (props?:
|
|
627
|
+
export declare const Link: (props?: NodeProps<"link"> | undefined) => import("./node.type.js").NodeInstance<"link">;
|
|
618
628
|
/**
|
|
619
629
|
* Represents a style element. Its content should be CSS text.
|
|
620
630
|
* @param cssText Optional CSS code as a string.
|
|
621
631
|
* @param props Optional properties for the style element.
|
|
622
632
|
* @returns A style element node.
|
|
623
633
|
*/
|
|
624
|
-
export declare const Style: (cssText?: string, props?: Omit<NodeProps<"style">, "children">) => import("./node.type.js").NodeInstance<"style">;
|
|
634
|
+
export declare const Style: (cssText?: string | undefined, props?: Omit<NodeProps<"style">, "children"> | undefined) => import("./node.type.js").NodeInstance<"style">;
|
|
625
635
|
/**
|
|
626
636
|
* Represents a script element. For inline scripts, its content should be JavaScript text.
|
|
627
|
-
* @param scriptContent Optional JavaScript code as a string for inline scripts.
|
|
628
637
|
* @param props Optional properties for the script element (e.g., src, type, async, defer).
|
|
629
638
|
* @returns A script element node.
|
|
630
639
|
*/
|
|
631
|
-
export declare const Script: (
|
|
640
|
+
export declare const Script: (props?: NodeProps<"script"> | undefined) => import("./node.type.js").NodeInstance<"script">; // Already uses createNode
|
|
632
641
|
/**
|
|
633
642
|
* Creates a title element node for document head title.
|
|
634
643
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the title.
|
|
635
644
|
* @param props Optional properties for the title element.
|
|
636
645
|
* @returns A title element node.
|
|
637
646
|
*/
|
|
638
|
-
export declare const Title: (children: NodeElement | NodeElement
|
|
647
|
+
export declare const Title: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"title">, "children"> | undefined) => import("./node.type.js").NodeInstance<"title">;
|
|
639
648
|
/**
|
|
640
649
|
* Represents a base element.
|
|
641
650
|
* @param props Optional properties for the base element.
|
|
642
651
|
* @returns A base element node.
|
|
643
652
|
*/
|
|
644
|
-
export declare const Base: (props?:
|
|
653
|
+
export declare const Base: (props?: NodeProps<"base"> | undefined) => import("./node.type.js").NodeInstance<"base">;
|
|
654
|
+
// --- Additional Text-Level Semantics ---
|
|
645
655
|
/**
|
|
646
656
|
* Represents an abbreviation or acronym.
|
|
647
657
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the abbreviation.
|
|
648
658
|
* @param props Optional properties for the abbr element.
|
|
649
659
|
* @returns An abbr element node.
|
|
650
660
|
*/
|
|
651
|
-
export declare const Abbr: (children: NodeElement | NodeElement
|
|
661
|
+
export declare const Abbr: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"abbr">, "children"> | undefined) => import("./node.type.js").NodeInstance<"abbr">;
|
|
652
662
|
/**
|
|
653
663
|
* Represents text that should be stylistically offset from normal prose (traditionally bold).
|
|
654
664
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
655
665
|
* @param props Optional properties for the b element.
|
|
656
666
|
* @returns A b element node.
|
|
657
667
|
*/
|
|
658
|
-
export declare const B: (children: NodeElement | NodeElement
|
|
668
|
+
export declare const B: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"b">, "children"> | undefined) => import("./node.type.js").NodeInstance<"b">;
|
|
659
669
|
/**
|
|
660
670
|
* Represents text that is isolated from its surroundings for bidirectional text formatting.
|
|
661
671
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
662
672
|
* @param props Optional properties for the bdi element.
|
|
663
673
|
* @returns A bdi element node.
|
|
664
674
|
*/
|
|
665
|
-
export declare const Bdi: (children: NodeElement | NodeElement
|
|
675
|
+
export declare const Bdi: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"bdi">, "children"> | undefined) => import("./node.type.js").NodeInstance<"bdi">;
|
|
666
676
|
/**
|
|
667
677
|
* Overrides the current text directionality.
|
|
668
678
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
669
679
|
* @param props Optional properties for the bdo element.
|
|
670
680
|
* @returns A bdo element node.
|
|
671
681
|
*/
|
|
672
|
-
export declare const Bdo: (children: NodeElement | NodeElement
|
|
682
|
+
export declare const Bdo: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"bdo">, "children"> | undefined) => import("./node.type.js").NodeInstance<"bdo">;
|
|
673
683
|
/**
|
|
674
684
|
* Represents the title of a work (e.g., a book, a song, an essay).
|
|
675
685
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the citation.
|
|
676
686
|
* @param props Optional properties for the cite element.
|
|
677
687
|
* @returns A cite element node.
|
|
678
688
|
*/
|
|
679
|
-
export declare const Cite: (children: NodeElement | NodeElement
|
|
689
|
+
export declare const Cite: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"cite">, "children"> | undefined) => import("./node.type.js").NodeInstance<"cite">;
|
|
680
690
|
/**
|
|
681
691
|
* Links a piece of content with a machine-readable translation.
|
|
682
692
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
683
693
|
* @param props Optional properties for the data element.
|
|
684
694
|
* @returns A data element node.
|
|
685
695
|
*/
|
|
686
|
-
export declare const Data: (children: NodeElement | NodeElement
|
|
696
|
+
export declare const Data: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"data">, "children"> | undefined) => import("./node.type.js").NodeInstance<"data">;
|
|
687
697
|
/**
|
|
688
698
|
* Represents a definition of a term.
|
|
689
699
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the definition.
|
|
690
700
|
* @param props Optional properties for the dfn element.
|
|
691
701
|
* @returns A dfn element node.
|
|
692
702
|
*/
|
|
693
|
-
export declare const Dfn: (children: NodeElement | NodeElement
|
|
703
|
+
export declare const Dfn: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"dfn">, "children"> | undefined) => import("./node.type.js").NodeInstance<"dfn">;
|
|
694
704
|
/**
|
|
695
705
|
* Represents text in an alternate voice or mood (traditionally italic).
|
|
696
706
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
697
707
|
* @param props Optional properties for the i element.
|
|
698
708
|
* @returns An i element node.
|
|
699
709
|
*/
|
|
700
|
-
export declare const I: (children: NodeElement | NodeElement
|
|
710
|
+
export declare const I: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"i">, "children"> | undefined) => import("./node.type.js").NodeInstance<"i">;
|
|
701
711
|
/**
|
|
702
712
|
* Represents user input (typically keyboard input).
|
|
703
713
|
* @param children The content to be rendered within the element (text, numbers, components, etc) representing keyboard input.
|
|
704
714
|
* @param props Optional properties for the kbd element.
|
|
705
715
|
* @returns A kbd element node.
|
|
706
716
|
*/
|
|
707
|
-
export declare const Kbd: (children: NodeElement | NodeElement
|
|
717
|
+
export declare const Kbd: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"kbd">, "children"> | undefined) => import("./node.type.js").NodeInstance<"kbd">;
|
|
708
718
|
/**
|
|
709
719
|
* Represents an inline quotation.
|
|
710
720
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the quotation.
|
|
711
721
|
* @param props Optional properties for the q element.
|
|
712
722
|
* @returns A q element node.
|
|
713
723
|
*/
|
|
714
|
-
export declare const Q: (children: NodeElement | NodeElement
|
|
724
|
+
export declare const Q: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"q">, "children"> | undefined) => import("./node.type.js").NodeInstance<"q">;
|
|
715
725
|
/**
|
|
716
726
|
* Represents fallback parenthesis for ruby annotations.
|
|
717
727
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
718
728
|
* @param props Optional properties for the rp element.
|
|
719
729
|
* @returns An rp element node.
|
|
720
730
|
*/
|
|
721
|
-
export declare const Rp: (children: NodeElement | NodeElement
|
|
731
|
+
export declare const Rp: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"rp">, "children"> | undefined) => import("./node.type.js").NodeInstance<"rp">;
|
|
722
732
|
/**
|
|
723
733
|
* Represents the ruby text component of a ruby annotation.
|
|
724
734
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
725
735
|
* @param props Optional properties for the rt element.
|
|
726
736
|
* @returns An rt element node.
|
|
727
737
|
*/
|
|
728
|
-
export declare const Rt: (children: NodeElement | NodeElement
|
|
738
|
+
export declare const Rt: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"rt">, "children"> | undefined) => import("./node.type.js").NodeInstance<"rt">;
|
|
729
739
|
/**
|
|
730
740
|
* Represents a ruby annotation.
|
|
731
741
|
* @param props Optional properties for the ruby element.
|
|
732
742
|
* @returns A ruby element node.
|
|
733
743
|
*/
|
|
734
|
-
export declare const Ruby: (props?: NodeProps<"ruby">) => import("./node.type.js").NodeInstance<"ruby">;
|
|
744
|
+
export declare const Ruby: (props?: NodeProps<"ruby"> | undefined) => import("./node.type.js").NodeInstance<"ruby">;
|
|
735
745
|
/**
|
|
736
746
|
* Represents text that is no longer accurate or relevant (strikethrough).
|
|
737
747
|
* @param children The content to be rendered within the element (text, numbers, components, etc) to be struck through.
|
|
738
748
|
* @param props Optional properties for the s element.
|
|
739
749
|
* @returns An s element node.
|
|
740
750
|
*/
|
|
741
|
-
export declare const S: (children: NodeElement | NodeElement
|
|
751
|
+
export declare const S: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"s">, "children"> | undefined) => import("./node.type.js").NodeInstance<"s">;
|
|
742
752
|
/**
|
|
743
753
|
* Represents sample output from a computer program.
|
|
744
754
|
* @param children The content to be rendered within the element (text, numbers, components, etc) representing sample output.
|
|
745
755
|
* @param props Optional properties for the samp element.
|
|
746
756
|
* @returns A samp element node.
|
|
747
757
|
*/
|
|
748
|
-
export declare const Samp: (children: NodeElement | NodeElement
|
|
758
|
+
export declare const Samp: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"samp">, "children"> | undefined) => import("./node.type.js").NodeInstance<"samp">;
|
|
749
759
|
/**
|
|
750
760
|
* Represents subscript text.
|
|
751
761
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the subscript.
|
|
752
762
|
* @param props Optional properties for the sub element.
|
|
753
763
|
* @returns A sub element node.
|
|
754
764
|
*/
|
|
755
|
-
export declare const Sub: (children: NodeElement | NodeElement
|
|
765
|
+
export declare const Sub: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"sub">, "children"> | undefined) => import("./node.type.js").NodeInstance<"sub">;
|
|
756
766
|
/**
|
|
757
767
|
* Represents superscript text.
|
|
758
768
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the superscript.
|
|
759
769
|
* @param props Optional properties for the sup element.
|
|
760
770
|
* @returns A sup element node.
|
|
761
771
|
*/
|
|
762
|
-
export declare const Sup: (children: NodeElement | NodeElement
|
|
772
|
+
export declare const Sup: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"sup">, "children"> | undefined) => import("./node.type.js").NodeInstance<"sup">;
|
|
763
773
|
/**
|
|
764
774
|
* Represents a specific period in time or a date.
|
|
765
775
|
* @param children The content to be rendered within the element (text, numbers, components, etc) representing the time/date.
|
|
766
776
|
* @param props Optional properties for the time element.
|
|
767
777
|
* @returns A time element node.
|
|
768
778
|
*/
|
|
769
|
-
export declare const Time: (children: NodeElement | NodeElement
|
|
779
|
+
export declare const Time: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"time">, "children"> | undefined) => import("./node.type.js").NodeInstance<"time">;
|
|
770
780
|
/**
|
|
771
781
|
* Represents text that should be rendered with an unarticulated, non-textual annotation (traditionally underline).
|
|
772
782
|
* @param children The content to be rendered within the element (text, numbers, components, etc) to be underlined.
|
|
773
783
|
* @param props Optional properties for the u element.
|
|
774
784
|
* @returns A u element node.
|
|
775
785
|
*/
|
|
776
|
-
export declare const U: (children: NodeElement | NodeElement
|
|
786
|
+
export declare const U: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"u">, "children"> | undefined) => import("./node.type.js").NodeInstance<"u">;
|
|
777
787
|
/**
|
|
778
788
|
* Represents a variable in a mathematical expression or programming context.
|
|
779
789
|
* @param children The content to be rendered within the element (text, numbers, components, etc) representing a variable.
|
|
780
790
|
* @param props Optional properties for the var element.
|
|
781
791
|
* @returns A var element node.
|
|
782
792
|
*/
|
|
783
|
-
export declare const Var: (children: NodeElement | NodeElement
|
|
793
|
+
export declare const Var: (children: NodeElement[] | NodeElement, props?: Omit<NodeProps<"var">, "children"> | undefined) => import("./node.type.js").NodeInstance<"var">;
|
|
784
794
|
/**
|
|
785
795
|
* Represents a word break opportunity. This is a void element.
|
|
786
796
|
* @param props Optional properties for the wbr element.
|
|
787
797
|
* @returns A wbr element node.
|
|
788
798
|
*/
|
|
789
|
-
export declare const Wbr: (props?:
|
|
799
|
+
export declare const Wbr: (props?: NodeProps<"wbr"> | undefined) => import("./node.type.js").NodeInstance<"wbr">;
|
|
800
|
+
// --- Additional Grouping Content ---
|
|
790
801
|
/**
|
|
791
802
|
* Represents a thematic break between paragraph-level elements (e.g., a scene change in a story, or a shift of topic). This is a void element.
|
|
792
803
|
* @param props Optional properties for the hr element.
|
|
793
804
|
* @returns An hr element node.
|
|
794
805
|
*/
|
|
795
|
-
export declare const Hr: (props?:
|
|
806
|
+
export declare const Hr: (props?: NodeProps<"hr"> | undefined) => import("./node.type.js").NodeInstance<"hr">;
|
|
796
807
|
/**
|
|
797
808
|
* Represents a group of commands that a user can perform or activate.
|
|
798
809
|
* @param props Optional properties for the menu element.
|
|
799
810
|
* @returns A menu element node.
|
|
800
811
|
*/
|
|
801
|
-
export declare const Menu: (props?: NodeProps<"menu">) => import("./node.type.js").NodeInstance<"menu">;
|
|
812
|
+
export declare const Menu: (props?: NodeProps<"menu"> | undefined) => import("./node.type.js").NodeInstance<"menu">;
|
|
802
813
|
/**
|
|
803
814
|
* Represents the parts of a document or application that contain search or filtering controls.
|
|
804
815
|
* @param props Optional properties for the search element.
|
|
805
816
|
* @returns A search element node.
|
|
806
817
|
*/
|
|
807
|
-
export declare const Search: (props?: NodeProps<"search">) => import("./node.type.js").NodeInstance<"search">;
|
|
818
|
+
export declare const Search: (props?: NodeProps<"search"> | undefined) => import("./node.type.js").NodeInstance<"search">;
|
|
819
|
+
// --- Additional Embedded Content ---
|
|
808
820
|
/**
|
|
809
821
|
* Represents an integration point for an external application or interactive content (a plug-in). This is a void element.
|
|
810
822
|
* @param props Optional properties for the embed element.
|
|
811
823
|
* @returns An embed element node.
|
|
812
824
|
*/
|
|
813
|
-
export declare const Embed: (props?:
|
|
825
|
+
export declare const Embed: (props?: NodeProps<"embed"> | undefined) => import("./node.type.js").NodeInstance<"embed">;
|
|
814
826
|
/**
|
|
815
|
-
* Represents an external resource, which can be treated as an image, a nested
|
|
827
|
+
* Represents an external resource, which can be treated as an image, a nested Browse context, or content to be handled by a plugin.
|
|
816
828
|
* @param props Optional properties for the object element.
|
|
817
829
|
* @returns An object element node.
|
|
818
830
|
*/
|
|
819
|
-
export declare const ObjectElement: (props?: NodeProps<"object">) => import("./node.type.js").NodeInstance<"object">;
|
|
831
|
+
export declare const ObjectElement: (props?: NodeProps<"object"> | undefined) => import("./node.type.js").NodeInstance<"object">; // Renamed to ObjectElement to avoid conflict with JavaScript's Object
|
|
820
832
|
/**
|
|
821
833
|
* Defines parameters for an <object> element. This is a void element.
|
|
822
834
|
* @param props Optional properties for the param element.
|
|
823
835
|
* @returns A param element node.
|
|
824
836
|
*/
|
|
825
|
-
export declare const Param: (props?:
|
|
837
|
+
export declare const Param: (props?: NodeProps<"param"> | undefined) => import("./node.type.js").NodeInstance<"param">;
|
|
826
838
|
/**
|
|
827
839
|
* Represents an image map, with clickable areas.
|
|
828
840
|
* @param props Optional properties for the map element.
|
|
829
841
|
* @returns A map element node.
|
|
830
842
|
*/
|
|
831
|
-
export declare const MapElement: (props?: NodeProps<"map">) => import("./node.type.js").NodeInstance<"map">;
|
|
843
|
+
export declare const MapElement: (props?: NodeProps<"map"> | undefined) => import("./node.type.js").NodeInstance<"map">; // Renamed to MapElement to avoid conflict with JavaScript's Map
|
|
832
844
|
/**
|
|
833
845
|
* Defines a client-side image map area. This is a void element.
|
|
834
846
|
* @param props Optional properties for the area element.
|
|
835
847
|
* @returns An area element node.
|
|
836
848
|
*/
|
|
837
|
-
export declare const Area: (props?:
|
|
849
|
+
export declare const Area: (props?: NodeProps<"area"> | undefined) => import("./node.type.js").NodeInstance<"area">;
|
|
850
|
+
// --- Additional Forms Elements ---
|
|
838
851
|
/**
|
|
839
852
|
* Contains a set of <option> elements that represent predefined options for other controls.
|
|
840
853
|
* @param props Optional properties for the datalist element.
|
|
841
854
|
* @returns A datalist element node.
|
|
842
855
|
*/
|
|
843
|
-
export declare const Datalist: (props?: NodeProps<"datalist">) => import("./node.type.js").NodeInstance<"datalist">;
|
|
856
|
+
export declare const Datalist: (props?: NodeProps<"datalist"> | undefined) => import("./node.type.js").NodeInstance<"datalist">;
|
|
844
857
|
/**
|
|
845
858
|
* Represents the result of a calculation or user action.
|
|
846
859
|
* @param props Optional properties for the output element.
|
|
847
860
|
* @returns An output element node.
|
|
848
861
|
*/
|
|
849
|
-
export declare const Output: (props?: NodeProps<"output">) => import("./node.type.js").NodeInstance<"output">;
|
|
862
|
+
export declare const Output: (props?: NodeProps<"output"> | undefined) => import("./node.type.js").NodeInstance<"output">;
|
|
850
863
|
/**
|
|
851
864
|
* Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
|
|
852
865
|
* @param props Optional properties for the progress element.
|
|
853
866
|
* @returns A progress element node.
|
|
854
867
|
*/
|
|
855
|
-
export declare const Progress: (props?: NodeProps<"progress">) => import("./node.type.js").NodeInstance<"progress">;
|
|
868
|
+
export declare const Progress: (props?: NodeProps<"progress"> | undefined) => import("./node.type.js").NodeInstance<"progress">;
|
|
856
869
|
/**
|
|
857
870
|
* Represents either a scalar value within a known range or a fractional value.
|
|
858
871
|
* @param props Optional properties for the meter element.
|
|
859
872
|
* @returns A meter element node.
|
|
860
873
|
*/
|
|
861
|
-
export declare const Meter: (props?: NodeProps<"meter">) => import("./node.type.js").NodeInstance<"meter">;
|
|
874
|
+
export declare const Meter: (props?: NodeProps<"meter"> | undefined) => import("./node.type.js").NodeInstance<"meter">;
|
|
875
|
+
// --- Additional Scripting & Document Elements ---
|
|
862
876
|
/**
|
|
863
877
|
* Defines a section of HTML to be inserted if a script type on the page is unsupported or if scripting is currently turned off in the browser.
|
|
864
878
|
* @param props Optional properties for the noscript element.
|
|
865
879
|
* @returns A noscript element node.
|
|
866
880
|
*/
|
|
867
|
-
export declare const Noscript: (props?: NodeProps<"noscript">) => import("./node.type.js").NodeInstance<"noscript">;
|
|
881
|
+
export declare const Noscript: (props?: NodeProps<"noscript"> | undefined) => import("./node.type.js").NodeInstance<"noscript">;
|
|
868
882
|
/**
|
|
869
883
|
* A mechanism for holding HTML that is not to be rendered immediately when a page is loaded but may be instantiated subsequently during runtime using JavaScript.
|
|
870
884
|
* @param props Optional properties for the template element.
|
|
871
885
|
* @returns A template element node.
|
|
872
886
|
*/
|
|
873
|
-
export declare const Template: (props?: NodeProps<"template">) => import("./node.type.js").NodeInstance<"template">;
|
|
887
|
+
export declare const Template: (props?: NodeProps<"template"> | undefined) => import("./node.type.js").NodeInstance<"template">;
|
|
888
|
+
// --- Additional Sections Elements ---
|
|
874
889
|
/**
|
|
875
890
|
* Represents a heading group. It is used to group a set of <h1>–<h6> elements.
|
|
876
891
|
* @param props Optional properties for the hgroup element.
|
|
877
892
|
* @returns An hgroup element node.
|
|
878
893
|
*/
|
|
879
|
-
export declare const Hgroup: (props?: NodeProps<"hgroup">) => import("./node.type.js").NodeInstance<"hgroup">;
|
|
894
|
+
export declare const Hgroup: (props?: NodeProps<"hgroup"> | undefined) => import("./node.type.js").NodeInstance<"hgroup">;
|
|
880
895
|
//# sourceMappingURL=html.node.d.ts.map
|