@meonode/ui 0.1.112 → 0.1.113
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/core.node.d.ts +29 -7
- package/dist/core.node.d.ts.map +1 -1
- package/dist/core.node.js +25 -5
- package/dist/hoc/component.hoc.d.ts +3 -3
- package/dist/hoc/component.hoc.d.ts.map +1 -1
- package/dist/html.node.d.ts +997 -139
- package/dist/html.node.d.ts.map +1 -1
- package/dist/html.node.js +55 -59
- package/dist/node.type.d.ts +3 -13
- package/dist/node.type.d.ts.map +1 -1
- package/package.json +14 -14
package/dist/html.node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.node.d.ts","sourceRoot":"","sources":["../src/html.node.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"html.node.d.ts","sourceRoot":"","sources":["../src/html.node.ts"],"names":[],"mappings":"AAGA,oBAAoB;AAEpB;;;;GAIG;AACH,eAAO,MAAM,GAAG;;;;;;kFAAoB,CAAA;AAEpC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;kFAKf,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,MAAM;;;;;;;;;kFAGjB,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,GAAG;;;;;;;;;kFAGd,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,IAAI;;;;;;;;kFAAyC,CAAA;AAE1D;;;;;GAKG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;kFAKjB,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,KAAK;;;;;;;;kFAA2C,CAAA;AAE7D;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;kFAA8C,CAAA;AAEnE;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;kFAA8C,CAAA;AAEnE;;;;GAIG;AACH,eAAO,MAAM,MAAM;;;;;;;;kFAA4C,CAAA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,UAAU;;;;;;kFAAoB,CAAA;AAE3C;;;;GAIG;AACH,eAAO,MAAM,IAAI;;;;;;mFAAqB,CAAA;AAEtC,oCAAoC;AAEpC;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;uFAAyB,CAAA;AAE9C;;;;GAIG;AACH,eAAO,MAAM,MAAM;;;;;;qFAAuB,CAAA;AAE1C;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;uFAAyB,CAAA;AAE9C;;;;GAIG;AACH,eAAO,MAAM,KAAK;;;;;;oFAAsB,CAAA;AAExC,mDAAmD;AAEnD;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;uFAAyB,CAAA;AAE9C;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;uFAAyB,CAAA;AAE9C,uCAAuC;AAEvC;;;;GAIG;AACH,eAAO,MAAM,MAAM;;;;;;qFAAuB,CAAA"}
|
package/dist/html.node.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";import{createNode,createChildrenFirstNode}from"./core.node.js";// Layout components
|
|
2
2
|
/**
|
|
3
3
|
* Represents a div element.
|
|
4
4
|
* @param props Optional properties for the div element.
|
|
@@ -13,106 +13,105 @@
|
|
|
13
13
|
* backgroundColor: 'white',
|
|
14
14
|
* children: [Header(), Main(), Footer()]
|
|
15
15
|
* })
|
|
16
|
-
*/export var Root=
|
|
16
|
+
*/export var Root=createNode("div",{display:"flex",flexDirection:"column",minHeight:"100vh",minWidth:"100vw"});/**
|
|
17
17
|
* Represents a column layout using flexbox.
|
|
18
18
|
* @param props Optional properties for the column layout.
|
|
19
19
|
* @returns A div element node with flexbox column layout.
|
|
20
|
-
*/export var Column=
|
|
20
|
+
*/export var Column=createNode("div",{display:"flex",flexDirection:"column"});/**
|
|
21
21
|
* Represents a row layout using flexbox.
|
|
22
22
|
* @param props Optional properties for the row layout.
|
|
23
23
|
* @returns A div element node with flexbox row layout.
|
|
24
|
-
*/export var Row=
|
|
24
|
+
*/export var Row=createNode("div",{display:"flex",flexDirection:"row"});/**
|
|
25
25
|
* Represents a grid layout.
|
|
26
26
|
* @param props Optional properties for the grid layout.
|
|
27
27
|
* @returns A div element node with grid layout.
|
|
28
|
-
*/export var Grid=
|
|
29
|
-
/**
|
|
28
|
+
*/export var Grid=createNode("div",{display:"grid"});/**
|
|
30
29
|
* Represents a centered container with flexbox alignment.
|
|
31
30
|
* By default, centers content both horizontally and vertically.
|
|
32
31
|
* @param props Optional properties for the div element.
|
|
33
32
|
* @returns A div element node configured for centered content.
|
|
34
|
-
*/export var Center=
|
|
33
|
+
*/export var Center=createNode("div",{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"});/**
|
|
35
34
|
* Represents a fixed positioned element.
|
|
36
35
|
* @param props Optional properties for the fixed positioned element.
|
|
37
36
|
* @returns A div element node with fixed positioning.
|
|
38
|
-
*/export var Fixed=
|
|
37
|
+
*/export var Fixed=createNode("div",{position:"fixed"});/**
|
|
39
38
|
* Represents a relatively positioned element.
|
|
40
39
|
* @param props Optional properties for the relatively positioned element.
|
|
41
40
|
* @returns A div element node with relative positioning.
|
|
42
|
-
*/export var Relative=
|
|
41
|
+
*/export var Relative=createNode("div",{position:"relative"});/**
|
|
43
42
|
* Represents an absolutely positioned element.
|
|
44
43
|
* @param props Optional properties for the absolutely positioned element.
|
|
45
44
|
* @returns A div element node with absolute positioning.
|
|
46
|
-
*/export var Absolute=
|
|
45
|
+
*/export var Absolute=createNode("div",{position:"absolute"});/**
|
|
47
46
|
* Represents a sticky positioned element.
|
|
48
47
|
* @param props Optional properties for the sticky positioned element.
|
|
49
48
|
* @returns A div element node with sticky positioning.
|
|
50
|
-
*/export var Sticky=
|
|
49
|
+
*/export var Sticky=createNode("div",{position:"sticky"});/**
|
|
51
50
|
* Represents a statically positioned element.
|
|
52
51
|
* @param props Optional properties for the statically positioned element.
|
|
53
52
|
* @returns A div element node with static positioning.
|
|
54
|
-
*/export var Static=
|
|
53
|
+
*/export var Static=createNode("div",{position:"static"});// Typography
|
|
55
54
|
/**
|
|
56
55
|
* Creates an h1 heading element node.
|
|
57
56
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
|
|
58
57
|
* @param props Optional properties for the h1 element.
|
|
59
58
|
* @returns An h1 element node.
|
|
60
|
-
*/export var H1=
|
|
59
|
+
*/export var H1=createChildrenFirstNode("h1");/**
|
|
61
60
|
* Creates an h2 heading element node.
|
|
62
61
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
|
|
63
62
|
* @param props Optional properties for the h2 element.
|
|
64
63
|
* @returns An h2 element node.
|
|
65
|
-
*/export var H2=
|
|
64
|
+
*/export var H2=createChildrenFirstNode("h2");/**
|
|
66
65
|
* Creates an h3 heading element node.
|
|
67
66
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
|
|
68
67
|
* @param props Optional properties for the h3 element.
|
|
69
68
|
* @returns An h3 element node.
|
|
70
|
-
*/export var H3=
|
|
69
|
+
*/export var H3=createChildrenFirstNode("h3");/**
|
|
71
70
|
* Creates an h4 heading element node.
|
|
72
71
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
|
|
73
72
|
* @param props Optional properties for the h4 element.
|
|
74
73
|
* @returns An h4 element node.
|
|
75
|
-
*/export var H4=
|
|
74
|
+
*/export var H4=createChildrenFirstNode("h4");/**
|
|
76
75
|
* Creates an h5 heading element node.
|
|
77
76
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
|
|
78
77
|
* @param props Optional properties for the h5 element.
|
|
79
78
|
* @returns An h5 element node.
|
|
80
|
-
*/export var H5=
|
|
79
|
+
*/export var H5=createChildrenFirstNode("h5");/**
|
|
81
80
|
* Creates an h6 heading element node.
|
|
82
81
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the heading.
|
|
83
82
|
* @param props Optional properties for the h6 element.
|
|
84
83
|
* @returns An h6 element node.
|
|
85
|
-
*/export var H6=
|
|
84
|
+
*/export var H6=createChildrenFirstNode("h6");/**
|
|
86
85
|
* Creates a strong element node for important text.
|
|
87
86
|
* @param children The content to be rendered within the element (text, numbers, components, etc) to emphasize.
|
|
88
87
|
* @param props Optional properties for the strong element.
|
|
89
88
|
* @returns A strong element node.
|
|
90
|
-
*/export var Strong=
|
|
89
|
+
*/export var Strong=createChildrenFirstNode("strong");/**
|
|
91
90
|
* Creates an em element node for emphasized text.
|
|
92
91
|
* @param children The content to be rendered within the element (text, numbers, components, etc) to emphasize.
|
|
93
92
|
* @param props Optional properties for the em element.
|
|
94
93
|
* @returns An em element node.
|
|
95
|
-
*/export var Em=
|
|
94
|
+
*/export var Em=createChildrenFirstNode("em");/**
|
|
96
95
|
* Creates a small element node for side-comments and small print.
|
|
97
96
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
98
97
|
* @param props Optional properties for styling and configuring the small element.
|
|
99
98
|
* @returns A small element node that can be rendered in React.
|
|
100
|
-
*/export var Small=
|
|
99
|
+
*/export var Small=createChildrenFirstNode("small");/**
|
|
101
100
|
* Creates a mark element node for highlighted text.
|
|
102
101
|
* @param children The content to be rendered within the element (text, numbers, components, etc) to highlight.
|
|
103
102
|
* @param props Optional properties for the mark element.
|
|
104
103
|
* @returns A mark element node.
|
|
105
|
-
*/export var Mark=
|
|
104
|
+
*/export var Mark=createChildrenFirstNode("mark");/**
|
|
106
105
|
* Creates a span element node.
|
|
107
106
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the span.
|
|
108
107
|
* @param props Optional properties for the span element.
|
|
109
108
|
* @returns A span element node.
|
|
110
|
-
*/export var Span=
|
|
109
|
+
*/export var Span=createChildrenFirstNode("span");/**
|
|
111
110
|
* Creates a paragraph element node.
|
|
112
111
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the paragraph.
|
|
113
112
|
* @param props Optional properties for the p element.
|
|
114
113
|
* @returns A paragraph element node.
|
|
115
|
-
*/export var P=
|
|
114
|
+
*/export var P=createChildrenFirstNode("p");/**
|
|
116
115
|
* Renders a semantic block of text using a `<p>` element.
|
|
117
116
|
* Alias for `P(...)`, recommended for general-purpose text content.
|
|
118
117
|
* @example
|
|
@@ -122,12 +121,12 @@
|
|
|
122
121
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the pre element.
|
|
123
122
|
* @param props Optional properties for the pre element.
|
|
124
123
|
* @returns A pre element node.
|
|
125
|
-
*/export var Pre=
|
|
124
|
+
*/export var Pre=createChildrenFirstNode("pre");/**
|
|
126
125
|
* Creates a code element node for displaying code snippets.
|
|
127
126
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the code.
|
|
128
127
|
* @param props Optional properties for the code element.
|
|
129
128
|
* @returns A code element node.
|
|
130
|
-
*/export var Code=
|
|
129
|
+
*/export var Code=createChildrenFirstNode("code");/**
|
|
131
130
|
* Represents a line break element.
|
|
132
131
|
* @param props Optional properties for the br element.
|
|
133
132
|
* @returns A br element node.
|
|
@@ -174,7 +173,7 @@
|
|
|
174
173
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the button.
|
|
175
174
|
* @param props Optional properties for the button element.
|
|
176
175
|
* @returns A button element node.
|
|
177
|
-
*/export var Button=
|
|
176
|
+
*/export var Button=createChildrenFirstNode("button");/**
|
|
178
177
|
* Represents a textarea element for multiline text input.
|
|
179
178
|
* @param props Optional properties for the textarea element.
|
|
180
179
|
* @returns A textarea element node.
|
|
@@ -187,7 +186,7 @@
|
|
|
187
186
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the option.
|
|
188
187
|
* @param props Optional properties for the option element.
|
|
189
188
|
* @returns An option element node.
|
|
190
|
-
*/export var Option=
|
|
189
|
+
*/export var Option=createChildrenFirstNode("option");/**
|
|
191
190
|
* Represents a fieldset element for grouping form elements.
|
|
192
191
|
* @param props Optional properties for the fieldset element.
|
|
193
192
|
* @returns A fieldset element node.
|
|
@@ -196,7 +195,7 @@
|
|
|
196
195
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the legend.
|
|
197
196
|
* @param props Optional properties for the legend element.
|
|
198
197
|
* @returns A legend element node.
|
|
199
|
-
*/export var Legend=
|
|
198
|
+
*/export var Legend=createChildrenFirstNode("legend");/**
|
|
200
199
|
* Represents an option group within a select element.
|
|
201
200
|
* @param props Optional properties for the optgroup element.
|
|
202
201
|
* @returns An optgroup element node.
|
|
@@ -234,7 +233,7 @@
|
|
|
234
233
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the caption.
|
|
235
234
|
* @param props Optional properties for the caption element.
|
|
236
235
|
* @returns A caption element node.
|
|
237
|
-
*/export var Caption=
|
|
236
|
+
*/export var Caption=createChildrenFirstNode("caption");/**
|
|
238
237
|
* Represents a table column group.
|
|
239
238
|
* @param props Optional properties for the colgroup element.
|
|
240
239
|
* @returns A colgroup element node.
|
|
@@ -362,7 +361,7 @@
|
|
|
362
361
|
* Represents the main content of a document.
|
|
363
362
|
* @param props Optional properties for the main element.
|
|
364
363
|
* @returns A main element node.
|
|
365
|
-
*/export var Main=
|
|
364
|
+
*/export var Main=createNode("main",{display:"flex",flexDirection:"column"});/**
|
|
366
365
|
* Represents a header element.
|
|
367
366
|
* @param props Optional properties for the header element.
|
|
368
367
|
* @returns A header element node.
|
|
@@ -391,7 +390,7 @@
|
|
|
391
390
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the figcaption.
|
|
392
391
|
* @param props Optional properties for the figcaption element.
|
|
393
392
|
* @returns A figcaption element node.
|
|
394
|
-
*/export var Figcaption=
|
|
393
|
+
*/export var Figcaption=createChildrenFirstNode("figcaption");/**
|
|
395
394
|
* Represents a blockquote element.
|
|
396
395
|
* @param props Optional properties for the blockquote element.
|
|
397
396
|
* @returns A blockquote element node.
|
|
@@ -412,7 +411,7 @@
|
|
|
412
411
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the summary.
|
|
413
412
|
* @param props Optional properties for the summary element.
|
|
414
413
|
* @returns A summary element node.
|
|
415
|
-
*/export var Summary=
|
|
414
|
+
*/export var Summary=createChildrenFirstNode("summary");// Document head elements
|
|
416
415
|
/**
|
|
417
416
|
* Represents a head element.
|
|
418
417
|
* @param props Optional properties for the head element.
|
|
@@ -437,13 +436,12 @@
|
|
|
437
436
|
* Represents a script element. For inline scripts, its content should be JavaScript text.
|
|
438
437
|
* @param props Optional properties for the script element (e.g., src, type, async, defer).
|
|
439
438
|
* @returns A script element node.
|
|
440
|
-
*/export var Script=createNode("script")
|
|
441
|
-
/**
|
|
439
|
+
*/export var Script=createNode("script");/**
|
|
442
440
|
* Creates a title element node for document head title.
|
|
443
441
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the title.
|
|
444
442
|
* @param props Optional properties for the title element.
|
|
445
443
|
* @returns A title element node.
|
|
446
|
-
*/export var Title=
|
|
444
|
+
*/export var Title=createChildrenFirstNode("title");/**
|
|
447
445
|
* Represents a base element.
|
|
448
446
|
* @param props Optional properties for the base element.
|
|
449
447
|
* @returns A base element node.
|
|
@@ -453,62 +451,62 @@
|
|
|
453
451
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the abbreviation.
|
|
454
452
|
* @param props Optional properties for the abbr element.
|
|
455
453
|
* @returns An abbr element node.
|
|
456
|
-
*/export var Abbr=
|
|
454
|
+
*/export var Abbr=createChildrenFirstNode("abbr");/**
|
|
457
455
|
* Represents text that should be stylistically offset from normal prose (traditionally bold).
|
|
458
456
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
459
457
|
* @param props Optional properties for the b element.
|
|
460
458
|
* @returns A b element node.
|
|
461
|
-
*/export var B=
|
|
459
|
+
*/export var B=createChildrenFirstNode("b");/**
|
|
462
460
|
* Represents text that is isolated from its surroundings for bidirectional text formatting.
|
|
463
461
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
464
462
|
* @param props Optional properties for the bdi element.
|
|
465
463
|
* @returns A bdi element node.
|
|
466
|
-
*/export var Bdi=
|
|
464
|
+
*/export var Bdi=createChildrenFirstNode("bdi");/**
|
|
467
465
|
* Overrides the current text directionality.
|
|
468
466
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
469
467
|
* @param props Optional properties for the bdo element.
|
|
470
468
|
* @returns A bdo element node.
|
|
471
|
-
*/export var Bdo=
|
|
469
|
+
*/export var Bdo=createChildrenFirstNode("bdo");/**
|
|
472
470
|
* Represents the title of a work (e.g., a book, a song, an essay).
|
|
473
471
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the citation.
|
|
474
472
|
* @param props Optional properties for the cite element.
|
|
475
473
|
* @returns A cite element node.
|
|
476
|
-
*/export var Cite=
|
|
474
|
+
*/export var Cite=createChildrenFirstNode("cite");/**
|
|
477
475
|
* Links a piece of content with a machine-readable translation.
|
|
478
476
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
479
477
|
* @param props Optional properties for the data element.
|
|
480
478
|
* @returns A data element node.
|
|
481
|
-
*/export var Data=
|
|
479
|
+
*/export var Data=createChildrenFirstNode("data");/**
|
|
482
480
|
* Represents a definition of a term.
|
|
483
481
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the definition.
|
|
484
482
|
* @param props Optional properties for the dfn element.
|
|
485
483
|
* @returns A dfn element node.
|
|
486
|
-
*/export var Dfn=
|
|
484
|
+
*/export var Dfn=createChildrenFirstNode("dfn");/**
|
|
487
485
|
* Represents text in an alternate voice or mood (traditionally italic).
|
|
488
486
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
489
487
|
* @param props Optional properties for the i element.
|
|
490
488
|
* @returns An i element node.
|
|
491
|
-
*/export var I=
|
|
489
|
+
*/export var I=createChildrenFirstNode("i");/**
|
|
492
490
|
* Represents user input (typically keyboard input).
|
|
493
491
|
* @param children The content to be rendered within the element (text, numbers, components, etc) representing keyboard input.
|
|
494
492
|
* @param props Optional properties for the kbd element.
|
|
495
493
|
* @returns A kbd element node.
|
|
496
|
-
*/export var Kbd=
|
|
494
|
+
*/export var Kbd=createChildrenFirstNode("kbd");/**
|
|
497
495
|
* Represents an inline quotation.
|
|
498
496
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the quotation.
|
|
499
497
|
* @param props Optional properties for the q element.
|
|
500
498
|
* @returns A q element node.
|
|
501
|
-
*/export var Q=
|
|
499
|
+
*/export var Q=createChildrenFirstNode("q");/**
|
|
502
500
|
* Represents fallback parenthesis for ruby annotations.
|
|
503
501
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
504
502
|
* @param props Optional properties for the rp element.
|
|
505
503
|
* @returns An rp element node.
|
|
506
|
-
*/export var Rp=
|
|
504
|
+
*/export var Rp=createChildrenFirstNode("rp");/**
|
|
507
505
|
* Represents the ruby text component of a ruby annotation.
|
|
508
506
|
* @param children The content to be rendered within the element (text, numbers, components, etc).
|
|
509
507
|
* @param props Optional properties for the rt element.
|
|
510
508
|
* @returns An rt element node.
|
|
511
|
-
*/export var Rt=
|
|
509
|
+
*/export var Rt=createChildrenFirstNode("rt");/**
|
|
512
510
|
* Represents a ruby annotation.
|
|
513
511
|
* @param props Optional properties for the ruby element.
|
|
514
512
|
* @returns A ruby element node.
|
|
@@ -517,37 +515,37 @@
|
|
|
517
515
|
* @param children The content to be rendered within the element (text, numbers, components, etc) to be struck through.
|
|
518
516
|
* @param props Optional properties for the s element.
|
|
519
517
|
* @returns An s element node.
|
|
520
|
-
*/export var S=
|
|
518
|
+
*/export var S=createChildrenFirstNode("s");/**
|
|
521
519
|
* Represents sample output from a computer program.
|
|
522
520
|
* @param children The content to be rendered within the element (text, numbers, components, etc) representing sample output.
|
|
523
521
|
* @param props Optional properties for the samp element.
|
|
524
522
|
* @returns A samp element node.
|
|
525
|
-
*/export var Samp=
|
|
523
|
+
*/export var Samp=createChildrenFirstNode("samp");/**
|
|
526
524
|
* Represents subscript text.
|
|
527
525
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the subscript.
|
|
528
526
|
* @param props Optional properties for the sub element.
|
|
529
527
|
* @returns A sub element node.
|
|
530
|
-
*/export var Sub=
|
|
528
|
+
*/export var Sub=createChildrenFirstNode("sub");/**
|
|
531
529
|
* Represents superscript text.
|
|
532
530
|
* @param children The content to be rendered within the element (text, numbers, components, etc) for the superscript.
|
|
533
531
|
* @param props Optional properties for the sup element.
|
|
534
532
|
* @returns A sup element node.
|
|
535
|
-
*/export var Sup=
|
|
533
|
+
*/export var Sup=createChildrenFirstNode("sup");/**
|
|
536
534
|
* Represents a specific period in time or a date.
|
|
537
535
|
* @param children The content to be rendered within the element (text, numbers, components, etc) representing the time/date.
|
|
538
536
|
* @param props Optional properties for the time element.
|
|
539
537
|
* @returns A time element node.
|
|
540
|
-
*/export var Time=
|
|
538
|
+
*/export var Time=createChildrenFirstNode("time");/**
|
|
541
539
|
* Represents text that should be rendered with an unarticulated, non-textual annotation (traditionally underline).
|
|
542
540
|
* @param children The content to be rendered within the element (text, numbers, components, etc) to be underlined.
|
|
543
541
|
* @param props Optional properties for the u element.
|
|
544
542
|
* @returns A u element node.
|
|
545
|
-
*/export var U=
|
|
543
|
+
*/export var U=createChildrenFirstNode("u");/**
|
|
546
544
|
* Represents a variable in a mathematical expression or programming context.
|
|
547
545
|
* @param children The content to be rendered within the element (text, numbers, components, etc) representing a variable.
|
|
548
546
|
* @param props Optional properties for the var element.
|
|
549
547
|
* @returns A var element node.
|
|
550
|
-
*/export var Var=
|
|
548
|
+
*/export var Var=createChildrenFirstNode("var");/**
|
|
551
549
|
* Represents a word break opportunity. This is a void element.
|
|
552
550
|
* @param props Optional properties for the wbr element.
|
|
553
551
|
* @returns A wbr element node.
|
|
@@ -573,8 +571,7 @@
|
|
|
573
571
|
* Represents an external resource, which can be treated as an image, a nested Browse context, or content to be handled by a plugin.
|
|
574
572
|
* @param props Optional properties for the object element.
|
|
575
573
|
* @returns An object element node.
|
|
576
|
-
*/export var ObjectElement=createNode("object")
|
|
577
|
-
/**
|
|
574
|
+
*/export var ObjectElement=createNode("object");/**
|
|
578
575
|
* Defines parameters for an <object> element. This is a void element.
|
|
579
576
|
* @param props Optional properties for the param element.
|
|
580
577
|
* @returns A param element node.
|
|
@@ -582,8 +579,7 @@
|
|
|
582
579
|
* Represents an image map, with clickable areas.
|
|
583
580
|
* @param props Optional properties for the map element.
|
|
584
581
|
* @returns A map element node.
|
|
585
|
-
*/export var MapElement=createNode("map")
|
|
586
|
-
/**
|
|
582
|
+
*/export var MapElement=createNode("map");/**
|
|
587
583
|
* Defines a client-side image map area. This is a void element.
|
|
588
584
|
* @param props Optional properties for the area element.
|
|
589
585
|
* @returns An area element node.
|
package/dist/node.type.d.ts
CHANGED
|
@@ -32,14 +32,6 @@ export interface NodeInstance<T extends NodeElement = NodeElement> {
|
|
|
32
32
|
/** Creates Portal-compatible React elements for rendering outside of the DOM tree */
|
|
33
33
|
toPortal(): ReactDOMRoot | null;
|
|
34
34
|
}
|
|
35
|
-
/**
|
|
36
|
-
* Defines valid child types that can be passed to a node:
|
|
37
|
-
* - ReactNode: Any valid React child (elements, strings, numbers, etc.)
|
|
38
|
-
* - ElementType: React component types (functions/classes)
|
|
39
|
-
* - NodeInstance: Other node instances in the tree
|
|
40
|
-
* - Function: Lazy child evaluation, useful for conditional rendering and hooks
|
|
41
|
-
*/
|
|
42
|
-
export type Children = ReactNode | Promise<Awaited<ReactNode>> | Component<any> | NodeElement | NodeInstance<any> | ComponentNode;
|
|
43
35
|
/**
|
|
44
36
|
* Extracts the props type from a given element type, handling both intrinsic (HTML) elements
|
|
45
37
|
* and custom React components, including MUI's OverridableComponent.
|
|
@@ -69,7 +61,7 @@ export type Theme = Partial<{
|
|
|
69
61
|
export type FinalNodeProps = ReactAttributes & {
|
|
70
62
|
ref?: Ref<unknown>;
|
|
71
63
|
style?: CSSProperties;
|
|
72
|
-
children?:
|
|
64
|
+
children?: NodeElement | NodeElement[];
|
|
73
65
|
theme?: Theme;
|
|
74
66
|
nodetheme?: Theme;
|
|
75
67
|
};
|
|
@@ -95,11 +87,9 @@ export type HasCSSCompatibleStyleProp<P> = P extends {
|
|
|
95
87
|
*/
|
|
96
88
|
export type NodeProps<E extends NodeElement> = Omit<PropsOf<E>, keyof CSSProperties | 'children' | 'style' | 'theme' | 'props'> & ReactAttributes & (HasCSSCompatibleStyleProp<PropsOf<E>> extends true ? CSSProperties : object) & Partial<{
|
|
97
89
|
props: Partial<Omit<PropsOf<E>, 'children'>>;
|
|
98
|
-
children:
|
|
90
|
+
children: NodeElement | NodeElement[];
|
|
99
91
|
theme: Theme;
|
|
100
|
-
}
|
|
101
|
-
[key: string]: any;
|
|
102
|
-
};
|
|
92
|
+
}>;
|
|
103
93
|
/**
|
|
104
94
|
* BaseNode's internal props type, extending NodeProps:
|
|
105
95
|
* - Makes all properties optional for flexible node creation
|
package/dist/node.type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.type.d.ts","sourceRoot":"","sources":["../src/node.type.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EACZ,KAAK,UAAU,IAAI,eAAe,EAClC,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,GAAG,EACR,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACd,KAAK,GAAG,EACR,KAAK,eAAe,EACpB,KAAK,aAAa,EACnB,MAAM,OAAO,CAAA;AACd,OAAO,KAAK,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE5D,wBAAwB;AACxB,0DAA0D;AAC1D,KAAK,YAAY,CAAC,CAAC,IAAI;KACpB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,GAAG,CAAC;CACxD,CAAC,MAAM,CAAC,CAAC,CAAA;AAEV,4DAA4D;AAC5D,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,GAAG,IAAI,CAAA;AAE9E;;GAEG;AACH,MAAM,MAAM,iBAAi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AAM,MAAM,aAAa,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,MAAM,YAAY,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,CAAA;AAEnG;;;;;GAKG;AACH,MAAM,WAAW,eAAe;IAC9B,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAA;IAEtC,yDAAyD;IACzD,MAAM,EAAE;QACN,wCAAwC;QACxC,OAAO,EAAE,MAAM,IAAI,CAAA;KACpB,CAAA;CACF;AAED;;;;GAIG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,GAAG,eAAe,CAAA;AAE9F;;;;GAIG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,SAAS,eAAe,GACnG,CAAC,KAAK,CAAC,EAAE;IACP,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAA;CAC7B,KAAK,YAAY,GAAG,IAAI,GACzB,CACE,KAAK,EAAE,CAAC,GAAG;IACT,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAA;CAC7B,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,KAC/B,YAAY,GAAG,IAAI,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meonode/ui",
|
|
3
3
|
"description": "A structured approach to component composition, direct CSS-first prop styling, built-in theming, smart prop handling (including raw property pass-through), and dynamic children.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.113",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/main.js",
|
|
7
7
|
"types": "./dist/main.d.ts",
|
|
@@ -31,27 +31,27 @@
|
|
|
31
31
|
"publish:major": "./prepublish.sh && yarn version -i major && yarn npm publish --tag latest"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@babel/cli": "^7.28.
|
|
35
|
-
"@babel/core": "^7.28.
|
|
36
|
-
"@babel/preset-env": "^7.28.
|
|
34
|
+
"@babel/cli": "^7.28.3",
|
|
35
|
+
"@babel/core": "^7.28.3",
|
|
36
|
+
"@babel/preset-env": "^7.28.3",
|
|
37
37
|
"@babel/preset-typescript": "^7.27.1",
|
|
38
|
-
"@eslint/js": "^9.
|
|
39
|
-
"@types/react": "^19.1.
|
|
40
|
-
"@types/react-dom": "^19.1.
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
42
|
-
"@typescript-eslint/parser": "^8.
|
|
43
|
-
"@typescript/native-preview": "^7.0.0-dev.
|
|
38
|
+
"@eslint/js": "^9.34.0",
|
|
39
|
+
"@types/react": "^19.1.11",
|
|
40
|
+
"@types/react-dom": "^19.1.8",
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "^8.41.0",
|
|
42
|
+
"@typescript-eslint/parser": "^8.41.0",
|
|
43
|
+
"@typescript/native-preview": "^7.0.0-dev.20250827.1",
|
|
44
44
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
45
45
|
"babel-preset-minify": "^0.5.2",
|
|
46
|
-
"eslint": "^9.
|
|
47
|
-
"eslint-plugin-jsdoc": "^
|
|
46
|
+
"eslint": "^9.34.0",
|
|
47
|
+
"eslint-plugin-jsdoc": "^54.1.1",
|
|
48
48
|
"eslint-plugin-prettier": "^5.5.4",
|
|
49
|
-
"eslint-plugin-unused-imports": "^4.
|
|
49
|
+
"eslint-plugin-unused-imports": "^4.2.0",
|
|
50
50
|
"prettier": "^3.6.2",
|
|
51
51
|
"react-dom": "^19.1.1",
|
|
52
52
|
"tsc-alias": "^1.8.16",
|
|
53
53
|
"typescript": "^5.9.2",
|
|
54
|
-
"typescript-eslint": "^8.
|
|
54
|
+
"typescript-eslint": "^8.41.0"
|
|
55
55
|
},
|
|
56
56
|
"packageManager": "yarn@4.9.1",
|
|
57
57
|
"peerDependencies": {
|