@meonode/ui 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -11,7 +11,7 @@ A structured approach to component composition with built-in theming, prop separ
11
11
  import { Component, Div, H1, Button } from '@meonode/ui';
12
12
 
13
13
  const BlueButton = Component((props) =>
14
- Button({
14
+ Button('Blue', {
15
15
  padding: '12px 24px',
16
16
  borderRadius: '8px',
17
17
  backgroundColor: 'dodgerblue',
@@ -44,7 +44,7 @@ const App = Component(() =>
44
44
 
45
45
  ## Installation
46
46
 
47
- ```bash
47
+ ```shell
48
48
  npm install @meonode/ui react
49
49
  # or
50
50
  yarn add @meonode/ui react
@@ -56,7 +56,7 @@ yarn add @meonode/ui react
56
56
 
57
57
  Create elements using the `Node` factory or pre-built components:
58
58
 
59
- ```tsx
59
+ ```ts
60
60
  import { Node, Div, H1 } from '@meonode/ui';
61
61
 
62
62
  // Using Node factory
@@ -79,7 +79,7 @@ const Header = () =>
79
79
 
80
80
  Define and consume themes with dot-notation:
81
81
 
82
- ```tsx
82
+ ```ts
83
83
  const theme = {
84
84
  colors: {
85
85
  primary: '#2196F3',
@@ -126,15 +126,16 @@ const ProfileCard = Component(({ user }) =>
126
126
  );
127
127
  ```
128
128
 
129
+
129
130
  ## Key Features
130
131
 
131
- | Feature | Description |
132
- |------------------------|-----------------------------------------------------------------------------|
133
- | **Smart Prop Merge** | CSS properties are automatically merged with style object |
134
- | **Theme Resolution** | `theme.` references resolve through component hierarchy |
135
- | **Type Safety** | Autocomplete for CSS properties and theme paths |
136
- | **HOC Support** | Wrap existing components with `Component()` for seamless integration |
137
- | **Dynamic Children** | Function-as-child pattern with automatic theme propagation |
132
+ | Feature | Description |
133
+ |----------------------|----------------------------------------------------------------------|
134
+ | **Smart Prop Merge** | CSS properties are automatically merged with style object |
135
+ | **Theme Resolution** | `theme.` references resolve through component hierarchy |
136
+ | **Type Safety** | Autocomplete for CSS properties and theme paths |
137
+ | **HOC Support** | Wrap existing components with `Component()` for seamless integration |
138
+ | **Dynamic Children** | Function-as-child pattern with automatic theme propagation |
138
139
 
139
140
  ## Advanced Usage
140
141
 
@@ -234,33 +235,32 @@ const DetailComponent = ({ info }: { info: string }) => {
234
235
 
235
236
  ### Material UI Integration
236
237
 
237
- ```bash
238
+ ```shell
238
239
  yarn add @meonode/mui @mui/material
239
240
  ```
240
241
 
241
242
  ```ts
242
- import { MuiButton, MuiTextField } from '@meonode/mui';
243
+ import { Button, TextField } from '@meonode/mui';
243
244
 
244
245
  const MuiLoginForm = Component(() =>
245
246
  Div({
246
247
  maxWidth: '400px',
247
248
  margin: '0 auto',
248
249
  children: [
249
- MuiTextField({
250
+ TextField({
250
251
  label: 'Email',
251
252
  fullWidth: true,
252
253
  margin: 'normal'
253
254
  }),
254
- MuiTextField({
255
+ TextField({
255
256
  label: 'Password',
256
257
  type: 'password',
257
258
  fullWidth: true,
258
259
  margin: 'normal'
259
260
  }),
260
- MuiButton({
261
+ Button('Sign In', {
261
262
  variant: 'contained',
262
- color: 'primary',
263
- children: 'Sign In'
263
+ color: 'primary'
264
264
  })
265
265
  ]
266
266
  })
@@ -1,16 +1,4 @@
1
- import type { NodeProps } from './node.type.js';
2
- /**
3
- * Represents the root HTML element.
4
- * @param props Optional properties for the HTML element.
5
- * @returns An HTML element node.
6
- */
7
- export declare const Html: (props?: NodeProps<"html">) => import("./node.type.js").BaseNodeInstance<"html">;
8
- /**
9
- * Represents the body element of an HTML document.
10
- * @param props Optional properties for the body element.
11
- * @returns A body element node.
12
- */
13
- export declare const Body: (props?: NodeProps<"body">) => import("./node.type.js").BaseNodeInstance<"body">;
1
+ import type { NodeElement, NodeProps } from './node.type.js';
14
2
  /**
15
3
  * Represents a div element.
16
4
  * @param props Optional properties for the div element.
@@ -35,12 +23,6 @@ export declare const Row: (props?: NodeProps<"div">) => import("./node.type.js")
35
23
  * @returns A div element node with grid layout.
36
24
  */
37
25
  export declare const Grid: (props?: NodeProps<"div">) => import("./node.type.js").BaseNodeInstance<"div">;
38
- /**
39
- * Represents the main content of a document.
40
- * @param props Optional properties for the main element.
41
- * @returns A main element node.
42
- */
43
- export declare const Main: (props?: NodeProps<"main">) => import("./node.type.js").BaseNodeInstance<"main">;
44
26
  /**
45
27
  * Represents a centered layout using flexbox.
46
28
  * @param props Optional properties for the centered layout.
@@ -73,102 +55,108 @@ export declare const Sticky: (props?: NodeProps<"div">) => import("./node.type.j
73
55
  export declare const Static: (props?: NodeProps<"div">) => import("./node.type.js").BaseNodeInstance<"div">;
74
56
  /**
75
57
  * Creates an h1 heading element node.
76
- * @param text Optional text, number or bigint content for the heading.
58
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
77
59
  * @param props Optional properties for the h1 element.
78
60
  * @returns An h1 element node.
79
61
  */
80
- export declare const H1: (text?: string | number | bigint, props?: Omit<NodeProps<"h1">, "children">) => import("./node.type.js").BaseNodeInstance<"h1">;
62
+ export declare const H1: (children: NodeElement, props?: Omit<NodeProps<"h1">, "children">) => import("./node.type.js").BaseNodeInstance<"h1">;
81
63
  /**
82
64
  * Creates an h2 heading element node.
83
- * @param text Optional text, number or bigint content for the heading.
65
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
84
66
  * @param props Optional properties for the h2 element.
85
67
  * @returns An h2 element node.
86
68
  */
87
- export declare const H2: (text?: string | number | bigint, props?: Omit<NodeProps<"h2">, "children">) => import("./node.type.js").BaseNodeInstance<"h2">;
69
+ export declare const H2: (children: NodeElement, props?: Omit<NodeProps<"h2">, "children">) => import("./node.type.js").BaseNodeInstance<"h2">;
88
70
  /**
89
71
  * Creates an h3 heading element node.
90
- * @param text Optional text, number or bigint content for the heading.
72
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
91
73
  * @param props Optional properties for the h3 element.
92
74
  * @returns An h3 element node.
93
75
  */
94
- export declare const H3: (text?: string | number | bigint, props?: Omit<NodeProps<"h3">, "children">) => import("./node.type.js").BaseNodeInstance<"h3">;
76
+ export declare const H3: (children: NodeElement, props?: Omit<NodeProps<"h3">, "children">) => import("./node.type.js").BaseNodeInstance<"h3">;
95
77
  /**
96
78
  * Creates an h4 heading element node.
97
- * @param text Optional text, number or bigint content for the heading.
79
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
98
80
  * @param props Optional properties for the h4 element.
99
81
  * @returns An h4 element node.
100
82
  */
101
- export declare const H4: (text?: string | number | bigint, props?: Omit<NodeProps<"h4">, "children">) => import("./node.type.js").BaseNodeInstance<"h4">;
83
+ export declare const H4: (children: NodeElement, props?: Omit<NodeProps<"h4">, "children">) => import("./node.type.js").BaseNodeInstance<"h4">;
102
84
  /**
103
85
  * Creates an h5 heading element node.
104
- * @param text Optional text, number or bigint content for the heading.
86
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
105
87
  * @param props Optional properties for the h5 element.
106
88
  * @returns An h5 element node.
107
89
  */
108
- export declare const H5: (text?: string | number | bigint, props?: Omit<NodeProps<"h5">, "children">) => import("./node.type.js").BaseNodeInstance<"h5">;
90
+ export declare const H5: (children: NodeElement, props?: Omit<NodeProps<"h5">, "children">) => import("./node.type.js").BaseNodeInstance<"h5">;
109
91
  /**
110
92
  * Creates an h6 heading element node.
111
- * @param text Optional text, number or bigint content for the heading.
93
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
112
94
  * @param props Optional properties for the h6 element.
113
95
  * @returns An h6 element node.
114
96
  */
115
- export declare const H6: (text?: string | number | bigint, props?: Omit<NodeProps<"h6">, "children">) => import("./node.type.js").BaseNodeInstance<"h6">;
97
+ export declare const H6: (children: NodeElement, props?: Omit<NodeProps<"h6">, "children">) => import("./node.type.js").BaseNodeInstance<"h6">;
116
98
  /**
117
99
  * Creates a strong element node for important text.
118
- * @param text Optional text, number or bigint content to emphasize.
100
+ * @param children The content to be rendered within the element (text, numbers, components, etc) to emphasize.
119
101
  * @param props Optional properties for the strong element.
120
102
  * @returns A strong element node.
121
103
  */
122
- export declare const Strong: (text?: string | number | bigint, props?: Omit<NodeProps<"strong">, "children">) => import("./node.type.js").BaseNodeInstance<"strong">;
104
+ export declare const Strong: (children: NodeElement, props?: Omit<NodeProps<"strong">, "children">) => import("./node.type.js").BaseNodeInstance<"strong">;
123
105
  /**
124
106
  * Creates an em element node for emphasized text.
125
- * @param text Optional text, number or bigint content to emphasize.
107
+ * @param children The content to be rendered within the element (text, numbers, components, etc) to emphasize.
126
108
  * @param props Optional properties for the em element.
127
109
  * @returns An em element node.
128
110
  */
129
- export declare const Em: (text?: string | number | bigint, props?: Omit<NodeProps<"em">, "children">) => import("./node.type.js").BaseNodeInstance<"em">;
111
+ export declare const Em: (children: NodeElement, props?: Omit<NodeProps<"em">, "children">) => import("./node.type.js").BaseNodeInstance<"em">;
130
112
  /**
131
113
  * Creates a small element node for side-comments and small print.
132
- * @param text Optional text, number or bigint content to display smaller.
133
- * @param props Optional properties for the small element.
134
- * @returns A small element node.
114
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
115
+ * @param props Optional properties for styling and configuring the small element.
116
+ * @returns A small element node that can be rendered in React.
135
117
  */
136
- export declare const Small: (text?: string | number | bigint, props?: Omit<NodeProps<"small">, "children">) => import("./node.type.js").BaseNodeInstance<"small">;
118
+ export declare const Small: (children: NodeElement, props?: Omit<NodeProps<"small">, "children">) => import("./node.type.js").BaseNodeInstance<"small">;
137
119
  /**
138
120
  * Creates a mark element node for highlighted text.
139
- * @param text Optional text, number or bigint content to highlight.
121
+ * @param children The content to be rendered within the element (text, numbers, components, etc) to highlight.
140
122
  * @param props Optional properties for the mark element.
141
123
  * @returns A mark element node.
142
124
  */
143
- export declare const Mark: (text?: string | number | bigint, props?: Omit<NodeProps<"mark">, "children">) => import("./node.type.js").BaseNodeInstance<"mark">;
125
+ export declare const Mark: (children: NodeElement, props?: Omit<NodeProps<"mark">, "children">) => import("./node.type.js").BaseNodeInstance<"mark">;
144
126
  /**
145
127
  * Creates a span element node.
146
- * @param text Optional text, number or bigint content for the span.
128
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the span.
147
129
  * @param props Optional properties for the span element.
148
130
  * @returns A span element node.
149
131
  */
150
- export declare const Span: (text?: string | number | bigint, props?: Omit<NodeProps<"span">, "children">) => import("./node.type.js").BaseNodeInstance<"span">;
132
+ export declare const Span: (children: NodeElement, props?: Omit<NodeProps<"span">, "children">) => import("./node.type.js").BaseNodeInstance<"span">;
151
133
  /**
152
134
  * Creates a paragraph element node.
153
- * @param text Optional text, number or bigint content for the paragraph.
135
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the paragraph.
154
136
  * @param props Optional properties for the p element.
155
137
  * @returns A paragraph element node.
156
138
  */
157
- export declare const P: (text?: string | number | bigint, props?: Omit<NodeProps<"p">, "children">) => import("./node.type.js").BaseNodeInstance<"p">;
139
+ export declare const P: (children: NodeElement, props?: Omit<NodeProps<"p">, "children">) => import("./node.type.js").BaseNodeInstance<"p">;
158
140
  /**
159
141
  * Creates a preformatted text element node.
160
- * @param text Optional text, number or bigint content for the pre element.
142
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the pre element.
161
143
  * @param props Optional properties for the pre element.
162
144
  * @returns A pre element node.
163
145
  */
164
- export declare const Pre: (text?: string | number | bigint, props?: Omit<NodeProps<"pre">, "children">) => import("./node.type.js").BaseNodeInstance<"pre">;
146
+ export declare const Pre: (children: NodeElement, props?: Omit<NodeProps<"pre">, "children">) => import("./node.type.js").BaseNodeInstance<"pre">;
165
147
  /**
166
148
  * Creates a code element node for displaying code snippets.
167
- * @param text Optional text, number or bigint content for the code.
149
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the code.
168
150
  * @param props Optional properties for the code element.
169
151
  * @returns A code element node.
170
152
  */
171
- export declare const Code: (text?: string | number | bigint, props?: Omit<NodeProps<"code">, "children">) => import("./node.type.js").BaseNodeInstance<"code">;
153
+ export declare const Code: (children: NodeElement, props?: Omit<NodeProps<"code">, "children">) => import("./node.type.js").BaseNodeInstance<"code">;
154
+ /**
155
+ * Represents a line break element.
156
+ * @param props Optional properties for the br element.
157
+ * @returns A br element node.
158
+ */
159
+ export declare const Br: (props?: Omit<NodeProps<"br">, "children">) => import("./node.type.js").BaseNodeInstance<"br">;
172
160
  /**
173
161
  * Represents an ordered list.
174
162
  * @param props Optional properties for the ol element.
@@ -222,13 +210,14 @@ export declare const Label: (props?: NodeProps<"label">) => import("./node.type.
222
210
  * @param props Optional properties for the input element.
223
211
  * @returns An input element node.
224
212
  */
225
- export declare const Input: (props?: NodeProps<"input">) => import("./node.type.js").BaseNodeInstance<"input">;
213
+ export declare const Input: (props?: Omit<NodeProps<"input">, "children">) => import("./node.type.js").BaseNodeInstance<"input">;
226
214
  /**
227
- * Represents a button element.
215
+ * Creates a button element node.
216
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the button.
228
217
  * @param props Optional properties for the button element.
229
218
  * @returns A button element node.
230
219
  */
231
- export declare const Button: (props?: NodeProps<"button">) => import("./node.type.js").BaseNodeInstance<"button">;
220
+ export declare const Button: (children: NodeElement, props?: Omit<NodeProps<"button">, "children">) => import("./node.type.js").BaseNodeInstance<"button">;
232
221
  /**
233
222
  * Represents a textarea element for multiline text input.
234
223
  * @param props Optional properties for the textarea element.
@@ -243,10 +232,11 @@ export declare const Textarea: (props?: NodeProps<"textarea">) => import("./node
243
232
  export declare const Select: (props?: NodeProps<"select">) => import("./node.type.js").BaseNodeInstance<"select">;
244
233
  /**
245
234
  * Represents an option within a select element.
235
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the option.
246
236
  * @param props Optional properties for the option element.
247
237
  * @returns An option element node.
248
238
  */
249
- export declare const Option: (props?: NodeProps<"option">) => import("./node.type.js").BaseNodeInstance<"option">;
239
+ export declare const Option: (children: NodeElement, props?: Omit<NodeProps<"option">, "children">) => import("./node.type.js").BaseNodeInstance<"option">;
250
240
  /**
251
241
  * Represents a fieldset element for grouping form elements.
252
242
  * @param props Optional properties for the fieldset element.
@@ -255,10 +245,11 @@ export declare const Option: (props?: NodeProps<"option">) => import("./node.typ
255
245
  export declare const Fieldset: (props?: NodeProps<"fieldset">) => import("./node.type.js").BaseNodeInstance<"fieldset">;
256
246
  /**
257
247
  * Represents a legend for a fieldset.
248
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the legend.
258
249
  * @param props Optional properties for the legend element.
259
250
  * @returns A legend element node.
260
251
  */
261
- export declare const Legend: (props?: NodeProps<"legend">) => import("./node.type.js").BaseNodeInstance<"legend">;
252
+ export declare const Legend: (children: NodeElement, props?: Omit<NodeProps<"legend">, "children">) => import("./node.type.js").BaseNodeInstance<"legend">;
262
253
  /**
263
254
  * Represents an option group within a select element.
264
255
  * @param props Optional properties for the optgroup element.
@@ -309,10 +300,11 @@ export declare const Th: (props?: NodeProps<"th">) => import("./node.type.js").B
309
300
  export declare const Td: (props?: NodeProps<"td">) => import("./node.type.js").BaseNodeInstance<"td">;
310
301
  /**
311
302
  * Represents a table caption.
303
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the caption.
312
304
  * @param props Optional properties for the caption element.
313
305
  * @returns A caption element node.
314
306
  */
315
- export declare const Caption: (props?: NodeProps<"caption">) => import("./node.type.js").BaseNodeInstance<"caption">;
307
+ export declare const Caption: (children: NodeElement, props?: Omit<NodeProps<"caption">, "children">) => import("./node.type.js").BaseNodeInstance<"caption">;
316
308
  /**
317
309
  * Represents a table column group.
318
310
  * @param props Optional properties for the colgroup element.
@@ -324,19 +316,13 @@ export declare const Colgroup: (props?: NodeProps<"colgroup">) => import("./node
324
316
  * @param props Optional properties for the col element.
325
317
  * @returns A col element node.
326
318
  */
327
- export declare const Col: (props?: NodeProps<"col">) => import("./node.type.js").BaseNodeInstance<"col">;
328
- /**
329
- * Represents an image element (alias for Img).
330
- * @param props Optional properties for the img element.
331
- * @returns An img element node.
332
- */
333
- export declare const Image: (props?: NodeProps<"img">) => import("./node.type.js").BaseNodeInstance<"img">;
319
+ export declare const Col: (props?: Omit<NodeProps<"col">, "children">) => import("./node.type.js").BaseNodeInstance<"col">;
334
320
  /**
335
321
  * Represents an image element.
336
322
  * @param props Optional properties for the img element.
337
323
  * @returns An img element node.
338
324
  */
339
- export declare const Img: (props?: NodeProps<"img">) => import("./node.type.js").BaseNodeInstance<"img">;
325
+ export declare const Img: (props?: Omit<NodeProps<"img">, "children">) => import("./node.type.js").BaseNodeInstance<"img">;
340
326
  /**
341
327
  * Represents a video element.
342
328
  * @param props Optional properties for the video element.
@@ -360,13 +346,13 @@ export declare const Picture: (props?: NodeProps<"picture">) => import("./node.t
360
346
  * @param props Optional properties for the source element.
361
347
  * @returns A source element node.
362
348
  */
363
- export declare const Source: (props?: NodeProps<"source">) => import("./node.type.js").BaseNodeInstance<"source">;
349
+ export declare const Source: (props?: Omit<NodeProps<"source">, "children">) => import("./node.type.js").BaseNodeInstance<"source">;
364
350
  /**
365
351
  * Represents a text track element.
366
352
  * @param props Optional properties for the track element.
367
353
  * @returns A track element node.
368
354
  */
369
- export declare const Track: (props?: NodeProps<"track">) => import("./node.type.js").BaseNodeInstance<"track">;
355
+ export declare const Track: (props?: Omit<NodeProps<"track">, "children">) => import("./node.type.js").BaseNodeInstance<"track">;
370
356
  /**
371
357
  * Represents a canvas element.
372
358
  * @param props Optional properties for the canvas element.
@@ -493,6 +479,18 @@ export declare const A: (props?: NodeProps<"a">) => import("./node.type.js").Bas
493
479
  * @returns A nav element node.
494
480
  */
495
481
  export declare const Nav: (props?: NodeProps<"nav">) => import("./node.type.js").BaseNodeInstance<"nav">;
482
+ /**
483
+ * Represents the body element of an HTML document.
484
+ * @param props Optional properties for the body element.
485
+ * @returns A body element node.
486
+ */
487
+ export declare const Body: (props?: NodeProps<"body">) => import("./node.type.js").BaseNodeInstance<"body">;
488
+ /**
489
+ * Represents the main content of a document.
490
+ * @param props Optional properties for the main element.
491
+ * @returns A main element node.
492
+ */
493
+ export declare const Main: (props?: NodeProps<"main">) => import("./node.type.js").BaseNodeInstance<"main">;
496
494
  /**
497
495
  * Represents a header element.
498
496
  * @param props Optional properties for the header element.
@@ -531,10 +529,11 @@ export declare const Article: (props?: NodeProps<"article">) => import("./node.t
531
529
  export declare const Figure: (props?: NodeProps<"figure">) => import("./node.type.js").BaseNodeInstance<"figure">;
532
530
  /**
533
531
  * Represents a figure caption element.
532
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the figcaption.
534
533
  * @param props Optional properties for the figcaption element.
535
534
  * @returns A figcaption element node.
536
535
  */
537
- export declare const Figcaption: (props?: NodeProps<"figcaption">) => import("./node.type.js").BaseNodeInstance<"figcaption">;
536
+ export declare const Figcaption: (children: NodeElement, props?: Omit<NodeProps<"figcaption">, "children">) => import("./node.type.js").BaseNodeInstance<"figcaption">;
538
537
  /**
539
538
  * Represents a blockquote element.
540
539
  * @param props Optional properties for the blockquote element.
@@ -560,51 +559,296 @@ export declare const Dialog: (props?: NodeProps<"dialog">) => import("./node.typ
560
559
  */
561
560
  export declare const Details: (props?: NodeProps<"details">) => import("./node.type.js").BaseNodeInstance<"details">;
562
561
  /**
563
- * Represents a summary element.
562
+ * Represents a summary element for a details disclosure box.
563
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the summary.
564
564
  * @param props Optional properties for the summary element.
565
565
  * @returns A summary element node.
566
566
  */
567
- export declare const Summary: (props?: NodeProps<"summary">) => import("./node.type.js").BaseNodeInstance<"summary">;
567
+ export declare const Summary: (children: NodeElement, props?: Omit<NodeProps<"summary">, "children">) => import("./node.type.js").BaseNodeInstance<"summary">;
568
568
  /**
569
569
  * Represents a head element.
570
570
  * @param props Optional properties for the head element.
571
571
  * @returns A head element node.
572
572
  */
573
573
  export declare const Head: (props?: NodeProps<"head">) => import("./node.type.js").BaseNodeInstance<"head">;
574
+ /**
575
+ * Represents the root HTML element.
576
+ * @param props Optional properties for the HTML element.
577
+ * @returns An HTML element node.
578
+ */
579
+ export declare const Html: (props?: NodeProps<"html">) => import("./node.type.js").BaseNodeInstance<"html">;
574
580
  /**
575
581
  * Represents a meta element.
576
582
  * @param props Optional properties for the meta element.
577
583
  * @returns A meta element node.
578
584
  */
579
- export declare const Meta: (props?: NodeProps<"meta">) => import("./node.type.js").BaseNodeInstance<"meta">;
585
+ export declare const Meta: (props?: Omit<NodeProps<"meta">, "children">) => import("./node.type.js").BaseNodeInstance<"meta">;
580
586
  /**
581
587
  * Represents a link element.
582
588
  * @param props Optional properties for the link element.
583
589
  * @returns A link element node.
584
590
  */
585
- export declare const Link: (props?: NodeProps<"link">) => import("./node.type.js").BaseNodeInstance<"link">;
591
+ export declare const Link: (props?: Omit<NodeProps<"link">, "children">) => import("./node.type.js").BaseNodeInstance<"link">;
586
592
  /**
587
- * Represents a style element.
593
+ * Represents a style element. Its content should be CSS text.
594
+ * @param cssText Optional CSS code as a string.
588
595
  * @param props Optional properties for the style element.
589
596
  * @returns A style element node.
590
597
  */
591
- export declare const Style: (props?: NodeProps<"style">) => import("./node.type.js").BaseNodeInstance<"style">;
598
+ export declare const Style: (cssText?: string, props?: Omit<NodeProps<"style">, "children">) => import("./node.type.js").BaseNodeInstance<"style">;
592
599
  /**
593
- * Represents a script element.
594
- * @param props Optional properties for the script element.
600
+ * Represents a script element. For inline scripts, its content should be JavaScript text.
601
+ * @param scriptContent Optional JavaScript code as a string for inline scripts.
602
+ * @param props Optional properties for the script element (e.g., src, type, async, defer).
595
603
  * @returns A script element node.
596
604
  */
597
- export declare const Script: (props?: NodeProps<"script">) => import("./node.type.js").BaseNodeInstance<"script">;
605
+ export declare const Script: (scriptContent?: string, props?: Omit<NodeProps<"script">, "children">) => import("./node.type.js").BaseNodeInstance<"script">;
598
606
  /**
599
- * Represents a title element.
607
+ * Creates a title element node for document head title.
608
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the title.
600
609
  * @param props Optional properties for the title element.
601
610
  * @returns A title element node.
602
611
  */
603
- export declare const Title: (props?: NodeProps<"title">) => import("./node.type.js").BaseNodeInstance<"title">;
612
+ export declare const Title: (children: NodeElement, props?: Omit<NodeProps<"title">, "children">) => import("./node.type.js").BaseNodeInstance<"title">;
604
613
  /**
605
614
  * Represents a base element.
606
615
  * @param props Optional properties for the base element.
607
616
  * @returns A base element node.
608
617
  */
609
- export declare const Base: (props?: NodeProps<"base">) => import("./node.type.js").BaseNodeInstance<"base">;
618
+ export declare const Base: (props?: Omit<NodeProps<"base">, "children">) => import("./node.type.js").BaseNodeInstance<"base">;
619
+ /**
620
+ * Represents an abbreviation or acronym.
621
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the abbreviation.
622
+ * @param props Optional properties for the abbr element.
623
+ * @returns An abbr element node.
624
+ */
625
+ export declare const Abbr: (children: NodeElement, props?: Omit<NodeProps<"abbr">, "children">) => import("./node.type.js").BaseNodeInstance<"abbr">;
626
+ /**
627
+ * Represents text that should be stylistically offset from normal prose (traditionally bold).
628
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
629
+ * @param props Optional properties for the b element.
630
+ * @returns A b element node.
631
+ */
632
+ export declare const B: (children: NodeElement, props?: Omit<NodeProps<"b">, "children">) => import("./node.type.js").BaseNodeInstance<"b">;
633
+ /**
634
+ * Represents text that is isolated from its surroundings for bidirectional text formatting.
635
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
636
+ * @param props Optional properties for the bdi element.
637
+ * @returns A bdi element node.
638
+ */
639
+ export declare const Bdi: (children: NodeElement, props?: Omit<NodeProps<"bdi">, "children">) => import("./node.type.js").BaseNodeInstance<"bdi">;
640
+ /**
641
+ * Overrides the current text directionality.
642
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
643
+ * @param props Optional properties for the bdo element.
644
+ * @returns A bdo element node.
645
+ */
646
+ export declare const Bdo: (children: NodeElement, props?: Omit<NodeProps<"bdo">, "children">) => import("./node.type.js").BaseNodeInstance<"bdo">;
647
+ /**
648
+ * Represents the title of a work (e.g., a book, a song, an essay).
649
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the citation.
650
+ * @param props Optional properties for the cite element.
651
+ * @returns A cite element node.
652
+ */
653
+ export declare const Cite: (children: NodeElement, props?: Omit<NodeProps<"cite">, "children">) => import("./node.type.js").BaseNodeInstance<"cite">;
654
+ /**
655
+ * Links a piece of content with a machine-readable translation.
656
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
657
+ * @param props Optional properties for the data element.
658
+ * @returns A data element node.
659
+ */
660
+ export declare const Data: (children: NodeElement, props?: Omit<NodeProps<"data">, "children">) => import("./node.type.js").BaseNodeInstance<"data">;
661
+ /**
662
+ * Represents a definition of a term.
663
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the definition.
664
+ * @param props Optional properties for the dfn element.
665
+ * @returns A dfn element node.
666
+ */
667
+ export declare const Dfn: (children: NodeElement, props?: Omit<NodeProps<"dfn">, "children">) => import("./node.type.js").BaseNodeInstance<"dfn">;
668
+ /**
669
+ * Represents text in an alternate voice or mood (traditionally italic).
670
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
671
+ * @param props Optional properties for the i element.
672
+ * @returns An i element node.
673
+ */
674
+ export declare const I: (children: NodeElement, props?: Omit<NodeProps<"i">, "children">) => import("./node.type.js").BaseNodeInstance<"i">;
675
+ /**
676
+ * Represents user input (typically keyboard input).
677
+ * @param children The content to be rendered within the element (text, numbers, components, etc) representing keyboard input.
678
+ * @param props Optional properties for the kbd element.
679
+ * @returns A kbd element node.
680
+ */
681
+ export declare const Kbd: (children: NodeElement, props?: Omit<NodeProps<"kbd">, "children">) => import("./node.type.js").BaseNodeInstance<"kbd">;
682
+ /**
683
+ * Represents an inline quotation.
684
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the quotation.
685
+ * @param props Optional properties for the q element.
686
+ * @returns A q element node.
687
+ */
688
+ export declare const Q: (children: NodeElement, props?: Omit<NodeProps<"q">, "children">) => import("./node.type.js").BaseNodeInstance<"q">;
689
+ /**
690
+ * Represents fallback parenthesis for ruby annotations.
691
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
692
+ * @param props Optional properties for the rp element.
693
+ * @returns An rp element node.
694
+ */
695
+ export declare const Rp: (children: NodeElement, props?: Omit<NodeProps<"rp">, "children">) => import("./node.type.js").BaseNodeInstance<"rp">;
696
+ /**
697
+ * Represents the ruby text component of a ruby annotation.
698
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
699
+ * @param props Optional properties for the rt element.
700
+ * @returns An rt element node.
701
+ */
702
+ export declare const Rt: (children: NodeElement, props?: Omit<NodeProps<"rt">, "children">) => import("./node.type.js").BaseNodeInstance<"rt">;
703
+ /**
704
+ * Represents a ruby annotation.
705
+ * @param props Optional properties for the ruby element.
706
+ * @returns A ruby element node.
707
+ */
708
+ export declare const Ruby: (props?: NodeProps<"ruby">) => import("./node.type.js").BaseNodeInstance<"ruby">;
709
+ /**
710
+ * Represents text that is no longer accurate or relevant (strikethrough).
711
+ * @param children The content to be rendered within the element (text, numbers, components, etc) to be struck through.
712
+ * @param props Optional properties for the s element.
713
+ * @returns An s element node.
714
+ */
715
+ export declare const S: (children: NodeElement, props?: Omit<NodeProps<"s">, "children">) => import("./node.type.js").BaseNodeInstance<"s">;
716
+ /**
717
+ * Represents sample output from a computer program.
718
+ * @param children The content to be rendered within the element (text, numbers, components, etc) representing sample output.
719
+ * @param props Optional properties for the samp element.
720
+ * @returns A samp element node.
721
+ */
722
+ export declare const Samp: (children: NodeElement, props?: Omit<NodeProps<"samp">, "children">) => import("./node.type.js").BaseNodeInstance<"samp">;
723
+ /**
724
+ * Represents subscript text.
725
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the subscript.
726
+ * @param props Optional properties for the sub element.
727
+ * @returns A sub element node.
728
+ */
729
+ export declare const Sub: (children: NodeElement, props?: Omit<NodeProps<"sub">, "children">) => import("./node.type.js").BaseNodeInstance<"sub">;
730
+ /**
731
+ * Represents superscript text.
732
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the superscript.
733
+ * @param props Optional properties for the sup element.
734
+ * @returns A sup element node.
735
+ */
736
+ export declare const Sup: (children: NodeElement, props?: Omit<NodeProps<"sup">, "children">) => import("./node.type.js").BaseNodeInstance<"sup">;
737
+ /**
738
+ * Represents a specific period in time or a date.
739
+ * @param children The content to be rendered within the element (text, numbers, components, etc) representing the time/date.
740
+ * @param props Optional properties for the time element.
741
+ * @returns A time element node.
742
+ */
743
+ export declare const Time: (children: NodeElement, props?: Omit<NodeProps<"time">, "children">) => import("./node.type.js").BaseNodeInstance<"time">;
744
+ /**
745
+ * Represents text that should be rendered with an unarticulated, non-textual annotation (traditionally underline).
746
+ * @param children The content to be rendered within the element (text, numbers, components, etc) to be underlined.
747
+ * @param props Optional properties for the u element.
748
+ * @returns A u element node.
749
+ */
750
+ export declare const U: (children: NodeElement, props?: Omit<NodeProps<"u">, "children">) => import("./node.type.js").BaseNodeInstance<"u">;
751
+ /**
752
+ * Represents a variable in a mathematical expression or programming context.
753
+ * @param children The content to be rendered within the element (text, numbers, components, etc) representing a variable.
754
+ * @param props Optional properties for the var element.
755
+ * @returns A var element node.
756
+ */
757
+ export declare const Var: (children: NodeElement, props?: Omit<NodeProps<"var">, "children">) => import("./node.type.js").BaseNodeInstance<"var">;
758
+ /**
759
+ * Represents a word break opportunity. This is a void element.
760
+ * @param props Optional properties for the wbr element.
761
+ * @returns A wbr element node.
762
+ */
763
+ export declare const Wbr: (props?: Omit<NodeProps<"wbr">, "children">) => import("./node.type.js").BaseNodeInstance<"wbr">;
764
+ /**
765
+ * 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.
766
+ * @param props Optional properties for the hr element.
767
+ * @returns An hr element node.
768
+ */
769
+ export declare const Hr: (props?: Omit<NodeProps<"hr">, "children">) => import("./node.type.js").BaseNodeInstance<"hr">;
770
+ /**
771
+ * Represents a group of commands that a user can perform or activate.
772
+ * @param props Optional properties for the menu element.
773
+ * @returns A menu element node.
774
+ */
775
+ export declare const Menu: (props?: NodeProps<"menu">) => import("./node.type.js").BaseNodeInstance<"menu">;
776
+ /**
777
+ * Represents the parts of a document or application that contain search or filtering controls.
778
+ * @param props Optional properties for the search element.
779
+ * @returns A search element node.
780
+ */
781
+ export declare const Search: (props?: NodeProps<"search">) => import("./node.type.js").BaseNodeInstance<"search">;
782
+ /**
783
+ * Represents an integration point for an external application or interactive content (a plug-in). This is a void element.
784
+ * @param props Optional properties for the embed element.
785
+ * @returns An embed element node.
786
+ */
787
+ export declare const Embed: (props?: Omit<NodeProps<"embed">, "children">) => import("./node.type.js").BaseNodeInstance<"embed">;
788
+ /**
789
+ * Represents an external resource, which can be treated as an image, a nested browsing context, or content to be handled by a plugin.
790
+ * @param props Optional properties for the object element.
791
+ * @returns An object element node.
792
+ */
793
+ export declare const ObjectElement: (props?: NodeProps<"object">) => import("./node.type.js").BaseNodeInstance<"object">;
794
+ /**
795
+ * Defines parameters for an <object> element. This is a void element.
796
+ * @param props Optional properties for the param element.
797
+ * @returns A param element node.
798
+ */
799
+ export declare const Param: (props?: Omit<NodeProps<"param">, "children">) => import("./node.type.js").BaseNodeInstance<"param">;
800
+ /**
801
+ * Represents an image map, with clickable areas.
802
+ * @param props Optional properties for the map element.
803
+ * @returns A map element node.
804
+ */
805
+ export declare const MapElement: (props?: NodeProps<"map">) => import("./node.type.js").BaseNodeInstance<"map">;
806
+ /**
807
+ * Defines a client-side image map area. This is a void element.
808
+ * @param props Optional properties for the area element.
809
+ * @returns An area element node.
810
+ */
811
+ export declare const Area: (props?: Omit<NodeProps<"area">, "children">) => import("./node.type.js").BaseNodeInstance<"area">;
812
+ /**
813
+ * Contains a set of <option> elements that represent predefined options for other controls.
814
+ * @param props Optional properties for the datalist element.
815
+ * @returns A datalist element node.
816
+ */
817
+ export declare const Datalist: (props?: NodeProps<"datalist">) => import("./node.type.js").BaseNodeInstance<"datalist">;
818
+ /**
819
+ * Represents the result of a calculation or user action.
820
+ * @param props Optional properties for the output element.
821
+ * @returns An output element node.
822
+ */
823
+ export declare const Output: (props?: NodeProps<"output">) => import("./node.type.js").BaseNodeInstance<"output">;
824
+ /**
825
+ * Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
826
+ * @param props Optional properties for the progress element.
827
+ * @returns A progress element node.
828
+ */
829
+ export declare const Progress: (props?: NodeProps<"progress">) => import("./node.type.js").BaseNodeInstance<"progress">;
830
+ /**
831
+ * Represents either a scalar value within a known range or a fractional value.
832
+ * @param props Optional properties for the meter element.
833
+ * @returns A meter element node.
834
+ */
835
+ export declare const Meter: (props?: NodeProps<"meter">) => import("./node.type.js").BaseNodeInstance<"meter">;
836
+ /**
837
+ * 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.
838
+ * @param props Optional properties for the noscript element.
839
+ * @returns A noscript element node.
840
+ */
841
+ export declare const Noscript: (props?: NodeProps<"noscript">) => import("./node.type.js").BaseNodeInstance<"noscript">;
842
+ /**
843
+ * 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.
844
+ * @param props Optional properties for the template element.
845
+ * @returns A template element node.
846
+ */
847
+ export declare const Template: (props?: NodeProps<"template">) => import("./node.type.js").BaseNodeInstance<"template">;
848
+ /**
849
+ * Represents a heading group. It is used to group a set of <h1>–<h6> elements.
850
+ * @param props Optional properties for the hgroup element.
851
+ * @returns An hgroup element node.
852
+ */
853
+ export declare const Hgroup: (props?: NodeProps<"hgroup">) => import("./node.type.js").BaseNodeInstance<"hgroup">;
610
854
  //# sourceMappingURL=html.node.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html.node.d.ts","sourceRoot":"","sources":["../src/html.node.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAKlD;;;;GAIG;AACH,eAAO,MAAM,IAAI,GAAI,QAAQ,SAAS,CAAC,MAAM,CAAC,yDAAwB,CAAA;AAEtE;;;;GAIG;AACH,eAAO,MAAM,IAAI,GAAI,QAAQ,SAAS,CAAC,MAAM,CAAC,yDAAwB,CAAA;AAEtE;;;;GAIG;AACH,eAAO,MAAM,GAAG,GAAI,QAAQ,SAAS,CA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AC,UAAU,CAAC,6DAA4B,CAAA;AAElF;;;;GAIG;AACH,eAAO,MAAM,QAAQ,GAAI,QAAQ,SAAS,CAAC,UAAU,CAAC,6DAA4B,CAAA;AAIlF;;;;GAIG;AACH,eAAO,MAAM,MAAM,GAAI,QAAQ,SAAS,CAAC,QAAQ,CAAC,2DAA0B,CAAA"}
package/dist/html.node.js CHANGED
@@ -1,18 +1,9 @@
1
- "use strict";function _typeof(a){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof(a)}function ownKeys(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable})),c.push.apply(c,d)}return c}function _objectSpread(a){for(var b,c=1;c<arguments.length;c++)b=null==arguments[c]?{}:arguments[c],c%2?ownKeys(Object(b),!0).forEach(function(c){_defineProperty(a,c,b[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(b)):ownKeys(Object(b)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(b,c))});return a}function _defineProperty(a,b,c){return(b=_toPropertyKey(b))in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function _toPropertyKey(a){var b=_toPrimitive(a,"string");return"symbol"==_typeof(b)?b:b+""}function _toPrimitive(a,b){if("object"!=_typeof(a)||!a)return a;var c=a[Symbol.toPrimitive];if(void 0!==c){var d=c.call(a,b||"default");if("object"!=_typeof(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===b?String:Number)(a)}import{Node}from"./core.node.js";// Basic HTML elements
1
+ "use strict";function _typeof(a){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof(a)}function ownKeys(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable})),c.push.apply(c,d)}return c}function _objectSpread(a){for(var b,c=1;c<arguments.length;c++)b=null==arguments[c]?{}:arguments[c],c%2?ownKeys(Object(b),!0).forEach(function(c){_defineProperty(a,c,b[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(b)):ownKeys(Object(b)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(b,c))});return a}function _defineProperty(a,b,c){return(b=_toPropertyKey(b))in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function _toPropertyKey(a){var b=_toPrimitive(a,"string");return"symbol"==_typeof(b)?b:b+""}function _toPrimitive(a,b){if("object"!=_typeof(a)||!a)return a;var c=a[Symbol.toPrimitive];if(void 0!==c){var d=c.call(a,b||"default");if("object"!=_typeof(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===b?String:Number)(a)}import{Node}from"./core.node.js";// Layout components
2
2
  /**
3
- * Represents the root HTML element.
4
- * @param props Optional properties for the HTML element.
5
- * @returns An HTML element node.
6
- */export var Html=function Html(a){return Node("html",a)};/**
7
- * Represents the body element of an HTML document.
8
- * @param props Optional properties for the body element.
9
- * @returns A body element node.
10
- */export var Body=function Body(a){return Node("body",a)};/**
11
3
  * Represents a div element.
12
4
  * @param props Optional properties for the div element.
13
5
  * @returns A div element node.
14
- */export var Div=function Div(a){return Node("div",a)};// Layout components
15
- /**
6
+ */export var Div=function Div(a){return Node("div",a)};/**
16
7
  * Represents a column layout using flexbox.
17
8
  * @param props Optional properties for the column layout.
18
9
  * @returns A div element node with flexbox column layout.
@@ -25,10 +16,6 @@
25
16
  * @param props Optional properties for the grid layout.
26
17
  * @returns A div element node with grid layout.
27
18
  */export var Grid=function Grid(a){return Div(_objectSpread({display:"grid"},a))};/**
28
- * Represents the main content of a document.
29
- * @param props Optional properties for the main element.
30
- * @returns A main element node.
31
- */export var Main=function Main(a){return Node("main",a)};/**
32
19
  * Represents a centered layout using flexbox.
33
20
  * @param props Optional properties for the centered layout.
34
21
  * @returns A div element node with centered flexbox layout.
@@ -51,75 +38,79 @@
51
38
  */export var Static=function Static(a){return Div(_objectSpread({position:"static"},a))};// Typography
52
39
  /**
53
40
  * Creates an h1 heading element node.
54
- * @param text Optional text, number or bigint content for the heading.
41
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
55
42
  * @param props Optional properties for the h1 element.
56
43
  * @returns An h1 element node.
57
44
  */export var H1=function H1(a,b){return Node("h1",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
58
45
  * Creates an h2 heading element node.
59
- * @param text Optional text, number or bigint content for the heading.
46
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
60
47
  * @param props Optional properties for the h2 element.
61
48
  * @returns An h2 element node.
62
49
  */export var H2=function H2(a,b){return Node("h2",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
63
50
  * Creates an h3 heading element node.
64
- * @param text Optional text, number or bigint content for the heading.
51
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
65
52
  * @param props Optional properties for the h3 element.
66
53
  * @returns An h3 element node.
67
54
  */export var H3=function H3(a,b){return Node("h3",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
68
55
  * Creates an h4 heading element node.
69
- * @param text Optional text, number or bigint content for the heading.
56
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
70
57
  * @param props Optional properties for the h4 element.
71
58
  * @returns An h4 element node.
72
59
  */export var H4=function H4(a,b){return Node("h4",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
73
60
  * Creates an h5 heading element node.
74
- * @param text Optional text, number or bigint content for the heading.
61
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
75
62
  * @param props Optional properties for the h5 element.
76
63
  * @returns An h5 element node.
77
64
  */export var H5=function H5(a,b){return Node("h5",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
78
65
  * Creates an h6 heading element node.
79
- * @param text Optional text, number or bigint content for the heading.
66
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
80
67
  * @param props Optional properties for the h6 element.
81
68
  * @returns An h6 element node.
82
69
  */export var H6=function H6(a,b){return Node("h6",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
83
70
  * Creates a strong element node for important text.
84
- * @param text Optional text, number or bigint content to emphasize.
71
+ * @param children The content to be rendered within the element (text, numbers, components, etc) to emphasize.
85
72
  * @param props Optional properties for the strong element.
86
73
  * @returns A strong element node.
87
74
  */export var Strong=function Strong(a,b){return Node("strong",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
88
75
  * Creates an em element node for emphasized text.
89
- * @param text Optional text, number or bigint content to emphasize.
76
+ * @param children The content to be rendered within the element (text, numbers, components, etc) to emphasize.
90
77
  * @param props Optional properties for the em element.
91
78
  * @returns An em element node.
92
79
  */export var Em=function Em(a,b){return Node("em",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
93
80
  * Creates a small element node for side-comments and small print.
94
- * @param text Optional text, number or bigint content to display smaller.
95
- * @param props Optional properties for the small element.
96
- * @returns A small element node.
81
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
82
+ * @param props Optional properties for styling and configuring the small element.
83
+ * @returns A small element node that can be rendered in React.
97
84
  */export var Small=function Small(a,b){return Node("small",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
98
85
  * Creates a mark element node for highlighted text.
99
- * @param text Optional text, number or bigint content to highlight.
86
+ * @param children The content to be rendered within the element (text, numbers, components, etc) to highlight.
100
87
  * @param props Optional properties for the mark element.
101
88
  * @returns A mark element node.
102
89
  */export var Mark=function Mark(a,b){return Node("mark",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
103
90
  * Creates a span element node.
104
- * @param text Optional text, number or bigint content for the span.
91
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the span.
105
92
  * @param props Optional properties for the span element.
106
93
  * @returns A span element node.
107
94
  */export var Span=function Span(a,b){return Node("span",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
108
95
  * Creates a paragraph element node.
109
- * @param text Optional text, number or bigint content for the paragraph.
96
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the paragraph.
110
97
  * @param props Optional properties for the p element.
111
98
  * @returns A paragraph element node.
112
99
  */export var P=function P(a,b){return Node("p",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
113
100
  * Creates a preformatted text element node.
114
- * @param text Optional text, number or bigint content for the pre element.
101
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the pre element.
115
102
  * @param props Optional properties for the pre element.
116
103
  * @returns A pre element node.
117
104
  */export var Pre=function Pre(a,b){return Node("pre",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
118
105
  * Creates a code element node for displaying code snippets.
119
- * @param text Optional text, number or bigint content for the code.
106
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the code.
120
107
  * @param props Optional properties for the code element.
121
108
  * @returns A code element node.
122
- */export var Code=function Code(a,b){return Node("code",_objectSpread(_objectSpread({},b),{},{children:a}))};// Lists
109
+ */export var Code=function Code(a,b){return Node("code",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
110
+ * Represents a line break element.
111
+ * @param props Optional properties for the br element.
112
+ * @returns A br element node.
113
+ */export var Br=function Br(a){return Node("br",a)};// Lists
123
114
  /**
124
115
  * Represents an ordered list.
125
116
  * @param props Optional properties for the ol element.
@@ -158,10 +149,11 @@
158
149
  * @param props Optional properties for the input element.
159
150
  * @returns An input element node.
160
151
  */export var Input=function Input(a){return Node("input",a)};/**
161
- * Represents a button element.
152
+ * Creates a button element node.
153
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the button.
162
154
  * @param props Optional properties for the button element.
163
155
  * @returns A button element node.
164
- */export var Button=function Button(a){return Node("button",a)};/**
156
+ */export var Button=function Button(a,b){return Node("button",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
165
157
  * Represents a textarea element for multiline text input.
166
158
  * @param props Optional properties for the textarea element.
167
159
  * @returns A textarea element node.
@@ -171,17 +163,19 @@
171
163
  * @returns A select element node.
172
164
  */export var Select=function Select(a){return Node("select",a)};/**
173
165
  * Represents an option within a select element.
166
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the option.
174
167
  * @param props Optional properties for the option element.
175
168
  * @returns An option element node.
176
- */export var Option=function Option(a){return Node("option",a)};/**
169
+ */export var Option=function Option(a,b){return Node("option",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
177
170
  * Represents a fieldset element for grouping form elements.
178
171
  * @param props Optional properties for the fieldset element.
179
172
  * @returns A fieldset element node.
180
173
  */export var Fieldset=function Fieldset(a){return Node("fieldset",a)};/**
181
174
  * Represents a legend for a fieldset.
175
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the legend.
182
176
  * @param props Optional properties for the legend element.
183
177
  * @returns A legend element node.
184
- */export var Legend=function Legend(a){return Node("legend",a)};/**
178
+ */export var Legend=function Legend(a,b){return Node("legend",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
185
179
  * Represents an option group within a select element.
186
180
  * @param props Optional properties for the optgroup element.
187
181
  * @returns An optgroup element node.
@@ -216,9 +210,10 @@
216
210
  * @returns A td element node.
217
211
  */export var Td=function Td(a){return Node("td",a)};/**
218
212
  * Represents a table caption.
213
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the caption.
219
214
  * @param props Optional properties for the caption element.
220
215
  * @returns A caption element node.
221
- */export var Caption=function Caption(a){return Node("caption",a)};/**
216
+ */export var Caption=function Caption(a,b){return Node("caption",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
222
217
  * Represents a table column group.
223
218
  * @param props Optional properties for the colgroup element.
224
219
  * @returns A colgroup element node.
@@ -228,10 +223,6 @@
228
223
  * @returns A col element node.
229
224
  */export var Col=function Col(a){return Node("col",a)};// Media elements
230
225
  /**
231
- * Represents an image element (alias for Img).
232
- * @param props Optional properties for the img element.
233
- * @returns An img element node.
234
- */export var Image=function Image(a){return Node("img",a)};/**
235
226
  * Represents an image element.
236
227
  * @param props Optional properties for the img element.
237
228
  * @returns An img element node.
@@ -343,6 +334,14 @@
343
334
  * @returns A nav element node.
344
335
  */export var Nav=function Nav(a){return Node("nav",a)};// Document structure
345
336
  /**
337
+ * Represents the body element of an HTML document.
338
+ * @param props Optional properties for the body element.
339
+ * @returns A body element node.
340
+ */export var Body=function Body(a){return Node("body",a)};/**
341
+ * Represents the main content of a document.
342
+ * @param props Optional properties for the main element.
343
+ * @returns A main element node.
344
+ */export var Main=function Main(a){return Node("main",a)};/**
346
345
  * Represents a header element.
347
346
  * @param props Optional properties for the header element.
348
347
  * @returns A header element node.
@@ -368,9 +367,10 @@
368
367
  * @returns A figure element node.
369
368
  */export var Figure=function Figure(a){return Node("figure",a)};/**
370
369
  * Represents a figure caption element.
370
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the figcaption.
371
371
  * @param props Optional properties for the figcaption element.
372
372
  * @returns A figcaption element node.
373
- */export var Figcaption=function Figcaption(a){return Node("figcaption",a)};/**
373
+ */export var Figcaption=function Figcaption(a,b){return Node("figcaption",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
374
374
  * Represents a blockquote element.
375
375
  * @param props Optional properties for the blockquote element.
376
376
  * @returns A blockquote element node.
@@ -387,15 +387,20 @@
387
387
  * @param props Optional properties for the details element.
388
388
  * @returns A details element node.
389
389
  */export var Details=function Details(a){return Node("details",a)};/**
390
- * Represents a summary element.
390
+ * Represents a summary element for a details disclosure box.
391
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the summary.
391
392
  * @param props Optional properties for the summary element.
392
393
  * @returns A summary element node.
393
- */export var Summary=function Summary(a){return Node("summary",a)};// Document head elements
394
+ */export var Summary=function Summary(a,b){return Node("summary",_objectSpread(_objectSpread({},b),{},{children:a}))};// Document head elements
394
395
  /**
395
396
  * Represents a head element.
396
397
  * @param props Optional properties for the head element.
397
398
  * @returns A head element node.
398
399
  */export var Head=function Head(a){return Node("head",a)};/**
400
+ * Represents the root HTML element.
401
+ * @param props Optional properties for the HTML element.
402
+ * @returns An HTML element node.
403
+ */export var Html=function Html(a){return Node("html",a)};/**
399
404
  * Represents a meta element.
400
405
  * @param props Optional properties for the meta element.
401
406
  * @returns A meta element node.
@@ -404,19 +409,193 @@
404
409
  * @param props Optional properties for the link element.
405
410
  * @returns A link element node.
406
411
  */export var Link=function Link(a){return Node("link",a)};/**
407
- * Represents a style element.
412
+ * Represents a style element. Its content should be CSS text.
413
+ * @param cssText Optional CSS code as a string.
408
414
  * @param props Optional properties for the style element.
409
415
  * @returns A style element node.
410
- */export var Style=function Style(a){return Node("style",a)};/**
411
- * Represents a script element.
412
- * @param props Optional properties for the script element.
416
+ */export var Style=function Style(a,b){return Node("style",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
417
+ * Represents a script element. For inline scripts, its content should be JavaScript text.
418
+ * @param scriptContent Optional JavaScript code as a string for inline scripts.
419
+ * @param props Optional properties for the script element (e.g., src, type, async, defer).
413
420
  * @returns A script element node.
414
- */export var Script=function Script(a){return Node("script",a)};/**
415
- * Represents a title element.
421
+ */export var Script=function Script(a,b){return Node("script",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
422
+ * Creates a title element node for document head title.
423
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the title.
416
424
  * @param props Optional properties for the title element.
417
425
  * @returns A title element node.
418
- */export var Title=function Title(a){return Node("title",a)};/**
426
+ */export var Title=function Title(a,b){return Node("title",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
419
427
  * Represents a base element.
420
428
  * @param props Optional properties for the base element.
421
429
  * @returns A base element node.
422
- */export var Base=function Base(a){return Node("base",a)};
430
+ */export var Base=function Base(a){return Node("base",a)};// --- Additional Text-Level Semantics ---
431
+ /**
432
+ * Represents an abbreviation or acronym.
433
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the abbreviation.
434
+ * @param props Optional properties for the abbr element.
435
+ * @returns An abbr element node.
436
+ */export var Abbr=function Abbr(a,b){return Node("abbr",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
437
+ * Represents text that should be stylistically offset from normal prose (traditionally bold).
438
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
439
+ * @param props Optional properties for the b element.
440
+ * @returns A b element node.
441
+ */export var B=function B(a,b){return Node("b",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
442
+ * Represents text that is isolated from its surroundings for bidirectional text formatting.
443
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
444
+ * @param props Optional properties for the bdi element.
445
+ * @returns A bdi element node.
446
+ */export var Bdi=function Bdi(a,b){return Node("bdi",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
447
+ * Overrides the current text directionality.
448
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
449
+ * @param props Optional properties for the bdo element.
450
+ * @returns A bdo element node.
451
+ */export var Bdo=function Bdo(a,b){return Node("bdo",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
452
+ * Represents the title of a work (e.g., a book, a song, an essay).
453
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the citation.
454
+ * @param props Optional properties for the cite element.
455
+ * @returns A cite element node.
456
+ */export var Cite=function Cite(a,b){return Node("cite",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
457
+ * Links a piece of content with a machine-readable translation.
458
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
459
+ * @param props Optional properties for the data element.
460
+ * @returns A data element node.
461
+ */export var Data=function Data(a,b){return Node("data",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
462
+ * Represents a definition of a term.
463
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the definition.
464
+ * @param props Optional properties for the dfn element.
465
+ * @returns A dfn element node.
466
+ */export var Dfn=function Dfn(a,b){return Node("dfn",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
467
+ * Represents text in an alternate voice or mood (traditionally italic).
468
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
469
+ * @param props Optional properties for the i element.
470
+ * @returns An i element node.
471
+ */export var I=function I(a,b){return Node("i",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
472
+ * Represents user input (typically keyboard input).
473
+ * @param children The content to be rendered within the element (text, numbers, components, etc) representing keyboard input.
474
+ * @param props Optional properties for the kbd element.
475
+ * @returns A kbd element node.
476
+ */export var Kbd=function Kbd(a,b){return Node("kbd",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
477
+ * Represents an inline quotation.
478
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the quotation.
479
+ * @param props Optional properties for the q element.
480
+ * @returns A q element node.
481
+ */export var Q=function Q(a,b){return Node("q",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
482
+ * Represents fallback parenthesis for ruby annotations.
483
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
484
+ * @param props Optional properties for the rp element.
485
+ * @returns An rp element node.
486
+ */export var Rp=function Rp(a,b){return Node("rp",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
487
+ * Represents the ruby text component of a ruby annotation.
488
+ * @param children The content to be rendered within the element (text, numbers, components, etc).
489
+ * @param props Optional properties for the rt element.
490
+ * @returns An rt element node.
491
+ */export var Rt=function Rt(a,b){return Node("rt",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
492
+ * Represents a ruby annotation.
493
+ * @param props Optional properties for the ruby element.
494
+ * @returns A ruby element node.
495
+ */export var Ruby=function Ruby(a){return Node("ruby",a)};/**
496
+ * Represents text that is no longer accurate or relevant (strikethrough).
497
+ * @param children The content to be rendered within the element (text, numbers, components, etc) to be struck through.
498
+ * @param props Optional properties for the s element.
499
+ * @returns An s element node.
500
+ */export var S=function S(a,b){return Node("s",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
501
+ * Represents sample output from a computer program.
502
+ * @param children The content to be rendered within the element (text, numbers, components, etc) representing sample output.
503
+ * @param props Optional properties for the samp element.
504
+ * @returns A samp element node.
505
+ */export var Samp=function Samp(a,b){return Node("samp",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
506
+ * Represents subscript text.
507
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the subscript.
508
+ * @param props Optional properties for the sub element.
509
+ * @returns A sub element node.
510
+ */export var Sub=function Sub(a,b){return Node("sub",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
511
+ * Represents superscript text.
512
+ * @param children The content to be rendered within the element (text, numbers, components, etc) for the superscript.
513
+ * @param props Optional properties for the sup element.
514
+ * @returns A sup element node.
515
+ */export var Sup=function Sup(a,b){return Node("sup",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
516
+ * Represents a specific period in time or a date.
517
+ * @param children The content to be rendered within the element (text, numbers, components, etc) representing the time/date.
518
+ * @param props Optional properties for the time element.
519
+ * @returns A time element node.
520
+ */export var Time=function Time(a,b){return Node("time",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
521
+ * Represents text that should be rendered with an unarticulated, non-textual annotation (traditionally underline).
522
+ * @param children The content to be rendered within the element (text, numbers, components, etc) to be underlined.
523
+ * @param props Optional properties for the u element.
524
+ * @returns A u element node.
525
+ */export var U=function U(a,b){return Node("u",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
526
+ * Represents a variable in a mathematical expression or programming context.
527
+ * @param children The content to be rendered within the element (text, numbers, components, etc) representing a variable.
528
+ * @param props Optional properties for the var element.
529
+ * @returns A var element node.
530
+ */export var Var=function Var(a,b){return Node("var",_objectSpread(_objectSpread({},b),{},{children:a}))};/**
531
+ * Represents a word break opportunity. This is a void element.
532
+ * @param props Optional properties for the wbr element.
533
+ * @returns A wbr element node.
534
+ */export var Wbr=function Wbr(a){return Node("wbr",a)};// --- Additional Grouping Content ---
535
+ /**
536
+ * 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.
537
+ * @param props Optional properties for the hr element.
538
+ * @returns An hr element node.
539
+ */export var Hr=function Hr(a){return Node("hr",a)};/**
540
+ * Represents a group of commands that a user can perform or activate.
541
+ * @param props Optional properties for the menu element.
542
+ * @returns A menu element node.
543
+ */export var Menu=function Menu(a){return Node("menu",a)};/**
544
+ * Represents the parts of a document or application that contain search or filtering controls.
545
+ * @param props Optional properties for the search element.
546
+ * @returns A search element node.
547
+ */export var Search=function Search(a){return Node("search",a)};// --- Additional Embedded Content ---
548
+ /**
549
+ * Represents an integration point for an external application or interactive content (a plug-in). This is a void element.
550
+ * @param props Optional properties for the embed element.
551
+ * @returns An embed element node.
552
+ */export var Embed=function Embed(a){return Node("embed",a)};/**
553
+ * Represents an external resource, which can be treated as an image, a nested browsing context, or content to be handled by a plugin.
554
+ * @param props Optional properties for the object element.
555
+ * @returns An object element node.
556
+ */export var ObjectElement=function ObjectElement(a){return Node("object",a)};// Renamed to ObjectElement to avoid conflict with JavaScript's Object
557
+ /**
558
+ * Defines parameters for an <object> element. This is a void element.
559
+ * @param props Optional properties for the param element.
560
+ * @returns A param element node.
561
+ */export var Param=function Param(a){return Node("param",a)};/**
562
+ * Represents an image map, with clickable areas.
563
+ * @param props Optional properties for the map element.
564
+ * @returns A map element node.
565
+ */export var MapElement=function MapElement(a){return Node("map",a)};// Renamed to MapElement to avoid conflict with JavaScript's Map
566
+ /**
567
+ * Defines a client-side image map area. This is a void element.
568
+ * @param props Optional properties for the area element.
569
+ * @returns An area element node.
570
+ */export var Area=function Area(a){return Node("area",a)};// --- Additional Forms Elements ---
571
+ /**
572
+ * Contains a set of <option> elements that represent predefined options for other controls.
573
+ * @param props Optional properties for the datalist element.
574
+ * @returns A datalist element node.
575
+ */export var Datalist=function Datalist(a){return Node("datalist",a)};/**
576
+ * Represents the result of a calculation or user action.
577
+ * @param props Optional properties for the output element.
578
+ * @returns An output element node.
579
+ */export var Output=function Output(a){return Node("output",a)};/**
580
+ * Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
581
+ * @param props Optional properties for the progress element.
582
+ * @returns A progress element node.
583
+ */export var Progress=function Progress(a){return Node("progress",a)};/**
584
+ * Represents either a scalar value within a known range or a fractional value.
585
+ * @param props Optional properties for the meter element.
586
+ * @returns A meter element node.
587
+ */export var Meter=function Meter(a){return Node("meter",a)};// --- Additional Scripting & Document Elements ---
588
+ /**
589
+ * 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.
590
+ * @param props Optional properties for the noscript element.
591
+ * @returns A noscript element node.
592
+ */export var Noscript=function Noscript(a){return Node("noscript",a)};/**
593
+ * 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.
594
+ * @param props Optional properties for the template element.
595
+ * @returns A template element node.
596
+ */export var Template=function Template(a){return Node("template",a)};// --- Additional Sections Elements ---
597
+ /**
598
+ * Represents a heading group. It is used to group a set of <h1>–<h6> elements.
599
+ * @param props Optional properties for the hgroup element.
600
+ * @returns An hgroup element node.
601
+ */export var Hgroup=function Hgroup(a){return Node("hgroup",a)};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meonode/ui",
3
3
  "description": "A structured approach to component composition with built-in theming, prop separation, and dynamic children handling.",
4
- "version": "0.1.5",
4
+ "version": "0.1.7",
5
5
  "type": "module",
6
6
  "main": "./dist/main.js",
7
7
  "types": "./dist/main.d.ts",