@cocreate/render 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/package.json +7 -7
- package/src/client/index.js +17 -34
- package/src/server/index.js +23 -46
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.0.2](https://github.com/CoCreateJS/render/compare/v2.0.1...v2.0.2) (2026-11-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump CoCreate dependency versions ([9a5746d](https://github.com/CoCreateJS/render/commit/9a5746dc7fa4038b8cacaf29605f68652f2a9e97))
|
|
7
|
+
|
|
8
|
+
## [2.0.1](https://github.com/CoCreateJS/render/compare/v2.0.0...v2.0.1) (2026-11-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* upgrade CoCreate dependencies to v2 ([7f75819](https://github.com/CoCreateJS/render/commit/7f75819d6f327acf46109136fe51cc35a782d3d4))
|
|
14
|
+
|
|
1
15
|
# [2.0.0](https://github.com/CoCreateJS/render/compare/v1.49.0...v2.0.0) (2026-11-02)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/render",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "A simple render component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"render",
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"main": "./src/server/index.js",
|
|
38
38
|
"browser": "./src/client/index.js",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@cocreate/actions": "^
|
|
41
|
-
"@cocreate/api": "^1.
|
|
42
|
-
"@cocreate/element-prototype": "^
|
|
43
|
-
"@cocreate/observer": "^
|
|
44
|
-
"@cocreate/utils": "^
|
|
40
|
+
"@cocreate/actions": "^2.0.1",
|
|
41
|
+
"@cocreate/api": "^2.1.1",
|
|
42
|
+
"@cocreate/element-prototype": "^2.0.1",
|
|
43
|
+
"@cocreate/observer": "^2.0.1",
|
|
44
|
+
"@cocreate/utils": "^2.0.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@cocreate/webpack": "^
|
|
47
|
+
"@cocreate/webpack": "^2.0.1"
|
|
48
48
|
},
|
|
49
49
|
"exports": {
|
|
50
50
|
".": {
|
package/src/client/index.js
CHANGED
|
@@ -1284,136 +1284,119 @@ export { render, renderValue, sources, renderedNodes };
|
|
|
1284
1284
|
/**
|
|
1285
1285
|
*
|
|
1286
1286
|
* @name array
|
|
1287
|
-
* @kind
|
|
1288
|
-
* @attribute
|
|
1287
|
+
* @kind attribute
|
|
1289
1288
|
* @environment client
|
|
1290
1289
|
*/
|
|
1291
1290
|
|
|
1292
1291
|
/**
|
|
1293
1292
|
*
|
|
1294
1293
|
* @name eid
|
|
1295
|
-
* @kind
|
|
1296
|
-
* @attribute
|
|
1294
|
+
* @kind attribute
|
|
1297
1295
|
* @environment client
|
|
1298
1296
|
*/
|
|
1299
1297
|
|
|
1300
1298
|
/**
|
|
1301
1299
|
*
|
|
1302
1300
|
* @name key
|
|
1303
|
-
* @kind
|
|
1304
|
-
* @attribute
|
|
1301
|
+
* @kind attribute
|
|
1305
1302
|
* @environment client
|
|
1306
1303
|
*/
|
|
1307
1304
|
|
|
1308
1305
|
/**
|
|
1309
1306
|
*
|
|
1310
1307
|
* @name render
|
|
1311
|
-
* @kind
|
|
1312
|
-
* @attribute
|
|
1308
|
+
* @kind attribute
|
|
1313
1309
|
* @environment client
|
|
1314
1310
|
*/
|
|
1315
1311
|
|
|
1316
1312
|
/**
|
|
1317
1313
|
*
|
|
1318
1314
|
* @name render-as
|
|
1319
|
-
* @kind
|
|
1320
|
-
* @attribute
|
|
1315
|
+
* @kind attribute
|
|
1321
1316
|
* @environment client
|
|
1322
1317
|
*/
|
|
1323
1318
|
|
|
1324
1319
|
/**
|
|
1325
1320
|
*
|
|
1326
1321
|
* @name render-clone
|
|
1327
|
-
* @kind
|
|
1328
|
-
* @attribute
|
|
1322
|
+
* @kind attribute
|
|
1329
1323
|
* @environment client
|
|
1330
1324
|
*/
|
|
1331
1325
|
|
|
1332
1326
|
/**
|
|
1333
1327
|
*
|
|
1334
1328
|
* @name render-data
|
|
1335
|
-
* @kind
|
|
1336
|
-
* @attribute
|
|
1329
|
+
* @kind attribute
|
|
1337
1330
|
* @environment client
|
|
1338
1331
|
*/
|
|
1339
1332
|
|
|
1340
1333
|
/**
|
|
1341
1334
|
*
|
|
1342
1335
|
* @name render-exclude
|
|
1343
|
-
* @kind
|
|
1344
|
-
* @attribute
|
|
1336
|
+
* @kind attribute
|
|
1345
1337
|
* @environment client
|
|
1346
1338
|
*/
|
|
1347
1339
|
|
|
1348
1340
|
/**
|
|
1349
1341
|
*
|
|
1350
1342
|
* @name render-include
|
|
1351
|
-
* @kind
|
|
1352
|
-
* @attribute
|
|
1343
|
+
* @kind attribute
|
|
1353
1344
|
* @environment client
|
|
1354
1345
|
*/
|
|
1355
1346
|
|
|
1356
1347
|
/**
|
|
1357
1348
|
*
|
|
1358
1349
|
* @name render-limit
|
|
1359
|
-
* @kind
|
|
1360
|
-
* @attribute
|
|
1350
|
+
* @kind attribute
|
|
1361
1351
|
* @environment client
|
|
1362
1352
|
*/
|
|
1363
1353
|
|
|
1364
1354
|
/**
|
|
1365
1355
|
*
|
|
1366
1356
|
* @name render-query
|
|
1367
|
-
* @kind
|
|
1368
|
-
* @attribute
|
|
1357
|
+
* @kind attribute
|
|
1369
1358
|
* @environment client
|
|
1370
1359
|
*/
|
|
1371
1360
|
|
|
1372
1361
|
/**
|
|
1373
1362
|
*
|
|
1374
1363
|
* @name render-reference
|
|
1375
|
-
* @kind
|
|
1376
|
-
* @attribute
|
|
1364
|
+
* @kind attribute
|
|
1377
1365
|
* @environment client
|
|
1378
1366
|
*/
|
|
1379
1367
|
|
|
1380
1368
|
/**
|
|
1381
1369
|
*
|
|
1382
1370
|
* @name render-reverse
|
|
1383
|
-
* @kind
|
|
1384
|
-
* @attribute
|
|
1371
|
+
* @kind attribute
|
|
1385
1372
|
* @environment client
|
|
1386
1373
|
*/
|
|
1387
1374
|
|
|
1388
1375
|
/**
|
|
1389
1376
|
*
|
|
1390
1377
|
* @name render-type
|
|
1391
|
-
* @kind
|
|
1392
|
-
* @attribute
|
|
1378
|
+
* @kind attribute
|
|
1393
1379
|
* @environment client
|
|
1394
1380
|
*/
|
|
1395
1381
|
|
|
1396
1382
|
/**
|
|
1397
1383
|
*
|
|
1398
1384
|
* @name renderedKey
|
|
1399
|
-
* @kind
|
|
1400
|
-
* @attribute
|
|
1385
|
+
* @kind attribute
|
|
1401
1386
|
* @environment client
|
|
1402
1387
|
*/
|
|
1403
1388
|
|
|
1404
1389
|
/**
|
|
1405
1390
|
*
|
|
1406
1391
|
* @name template
|
|
1407
|
-
* @kind
|
|
1408
|
-
* @attribute
|
|
1392
|
+
* @kind attribute
|
|
1409
1393
|
* @environment client
|
|
1410
1394
|
*/
|
|
1411
1395
|
|
|
1412
1396
|
/**
|
|
1413
1397
|
*
|
|
1414
1398
|
* @name value-type
|
|
1415
|
-
* @kind
|
|
1416
|
-
* @attribute
|
|
1399
|
+
* @kind attribute
|
|
1417
1400
|
* @environment client
|
|
1418
1401
|
*/
|
|
1419
1402
|
|
package/src/server/index.js
CHANGED
|
@@ -612,184 +612,161 @@ export async function HTML({
|
|
|
612
612
|
/**
|
|
613
613
|
*
|
|
614
614
|
* @name actions
|
|
615
|
-
* @kind
|
|
616
|
-
* @attribute
|
|
615
|
+
* @kind attribute
|
|
617
616
|
* @environment server
|
|
618
617
|
*/
|
|
619
618
|
|
|
620
619
|
/**
|
|
621
620
|
*
|
|
622
621
|
* @name array
|
|
623
|
-
* @kind
|
|
624
|
-
* @attribute
|
|
622
|
+
* @kind attribute
|
|
625
623
|
* @environment server
|
|
626
624
|
*/
|
|
627
625
|
|
|
628
626
|
/**
|
|
629
627
|
*
|
|
630
628
|
* @name class
|
|
631
|
-
* @kind
|
|
632
|
-
* @attribute
|
|
629
|
+
* @kind attribute
|
|
633
630
|
* @environment server
|
|
634
631
|
*/
|
|
635
632
|
|
|
636
633
|
/**
|
|
637
634
|
*
|
|
638
635
|
* @name component
|
|
639
|
-
* @kind
|
|
640
|
-
* @attribute
|
|
636
|
+
* @kind attribute
|
|
641
637
|
* @environment server
|
|
642
638
|
*/
|
|
643
639
|
|
|
644
640
|
/**
|
|
645
641
|
*
|
|
646
642
|
* @name content
|
|
647
|
-
* @kind
|
|
648
|
-
* @attribute
|
|
643
|
+
* @kind attribute
|
|
649
644
|
* @environment server
|
|
650
645
|
*/
|
|
651
646
|
|
|
652
647
|
/**
|
|
653
648
|
*
|
|
654
649
|
* @name color-scheme
|
|
655
|
-
* @kind
|
|
656
|
-
* @attribute
|
|
650
|
+
* @kind attribute
|
|
657
651
|
* @environment server
|
|
658
652
|
*/
|
|
659
653
|
|
|
660
654
|
/**
|
|
661
655
|
*
|
|
662
656
|
* @name error
|
|
663
|
-
* @kind
|
|
664
|
-
* @attribute
|
|
657
|
+
* @kind attribute
|
|
665
658
|
* @environment server
|
|
666
659
|
*/
|
|
667
660
|
|
|
668
661
|
/**
|
|
669
662
|
*
|
|
670
663
|
* @name filter
|
|
671
|
-
* @kind
|
|
672
|
-
* @attribute
|
|
664
|
+
* @kind attribute
|
|
673
665
|
* @environment server
|
|
674
666
|
*/
|
|
675
667
|
|
|
676
668
|
/**
|
|
677
669
|
*
|
|
678
670
|
* @name href
|
|
679
|
-
* @kind
|
|
680
|
-
* @attribute
|
|
671
|
+
* @kind attribute
|
|
681
672
|
* @environment server
|
|
682
673
|
*/
|
|
683
674
|
|
|
684
675
|
/**
|
|
685
676
|
*
|
|
686
677
|
* @name i18n
|
|
687
|
-
* @kind
|
|
688
|
-
* @attribute
|
|
678
|
+
* @kind attribute
|
|
689
679
|
* @environment server
|
|
690
680
|
*/
|
|
691
681
|
|
|
692
682
|
/**
|
|
693
683
|
*
|
|
694
684
|
* @name key
|
|
695
|
-
* @kind
|
|
696
|
-
* @attribute
|
|
685
|
+
* @kind attribute
|
|
697
686
|
* @environment server
|
|
698
687
|
*/
|
|
699
688
|
|
|
700
689
|
/**
|
|
701
690
|
*
|
|
702
691
|
* @name media
|
|
703
|
-
* @kind
|
|
704
|
-
* @attribute
|
|
692
|
+
* @kind attribute
|
|
705
693
|
* @environment server
|
|
706
694
|
*/
|
|
707
695
|
|
|
708
696
|
/**
|
|
709
697
|
*
|
|
710
698
|
* @name name
|
|
711
|
-
* @kind
|
|
712
|
-
* @attribute
|
|
699
|
+
* @kind attribute
|
|
713
700
|
* @environment server
|
|
714
701
|
*/
|
|
715
702
|
|
|
716
703
|
/**
|
|
717
704
|
*
|
|
718
705
|
* @name object
|
|
719
|
-
* @kind
|
|
720
|
-
* @attribute
|
|
706
|
+
* @kind attribute
|
|
721
707
|
* @environment server
|
|
722
708
|
*/
|
|
723
709
|
|
|
724
710
|
/**
|
|
725
711
|
*
|
|
726
712
|
* @name plugin
|
|
727
|
-
* @kind
|
|
728
|
-
* @attribute
|
|
713
|
+
* @kind attribute
|
|
729
714
|
* @environment server
|
|
730
715
|
*/
|
|
731
716
|
|
|
732
717
|
/**
|
|
733
718
|
*
|
|
734
719
|
* @name rel
|
|
735
|
-
* @kind
|
|
736
|
-
* @attribute
|
|
720
|
+
* @kind attribute
|
|
737
721
|
* @environment server
|
|
738
722
|
*/
|
|
739
723
|
|
|
740
724
|
/**
|
|
741
725
|
*
|
|
742
726
|
* @name render-error
|
|
743
|
-
* @kind
|
|
744
|
-
* @attribute
|
|
727
|
+
* @kind attribute
|
|
745
728
|
* @environment server
|
|
746
729
|
*/
|
|
747
730
|
|
|
748
731
|
/**
|
|
749
732
|
*
|
|
750
733
|
* @name render-query
|
|
751
|
-
* @kind
|
|
752
|
-
* @attribute
|
|
734
|
+
* @kind attribute
|
|
753
735
|
* @environment server
|
|
754
736
|
*/
|
|
755
737
|
|
|
756
738
|
/**
|
|
757
739
|
*
|
|
758
740
|
* @name rendered
|
|
759
|
-
* @kind
|
|
760
|
-
* @attribute
|
|
741
|
+
* @kind attribute
|
|
761
742
|
* @environment server
|
|
762
743
|
*/
|
|
763
744
|
|
|
764
745
|
/**
|
|
765
746
|
*
|
|
766
747
|
* @name src
|
|
767
|
-
* @kind
|
|
768
|
-
* @attribute
|
|
748
|
+
* @kind attribute
|
|
769
749
|
* @environment server
|
|
770
750
|
*/
|
|
771
751
|
|
|
772
752
|
/**
|
|
773
753
|
*
|
|
774
754
|
* @name state-id
|
|
775
|
-
* @kind
|
|
776
|
-
* @attribute
|
|
755
|
+
* @kind attribute
|
|
777
756
|
* @environment server
|
|
778
757
|
*/
|
|
779
758
|
|
|
780
759
|
/**
|
|
781
760
|
*
|
|
782
761
|
* @name state-overwrite
|
|
783
|
-
* @kind
|
|
784
|
-
* @attribute
|
|
762
|
+
* @kind attribute
|
|
785
763
|
* @environment server
|
|
786
764
|
*/
|
|
787
765
|
|
|
788
766
|
/**
|
|
789
767
|
*
|
|
790
768
|
* @name type
|
|
791
|
-
* @kind
|
|
792
|
-
* @attribute
|
|
769
|
+
* @kind attribute
|
|
793
770
|
* @environment server
|
|
794
771
|
*/
|
|
795
772
|
|