@cocreate/state 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 +15 -0
- package/package.json +8 -8
- package/src/index.js +8 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [2.0.2](https://github.com/CoCreateJS/state/compare/v2.0.1...v2.0.2) (2026-11-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump CoCreate dependency versions ([ed5a99b](https://github.com/CoCreateJS/state/commit/ed5a99b174bb53b64c169ecccdf05e751a778831))
|
|
7
|
+
* consolidate CRUD client and server packages ([7905715](https://github.com/CoCreateJS/state/commit/7905715421f7818405ce07c53bf1db0786327c5c))
|
|
8
|
+
|
|
9
|
+
## [2.0.1](https://github.com/CoCreateJS/state/compare/v2.0.0...v2.0.1) (2026-11-05)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* upgrade CoCreate dependencies to v2 ([0c81876](https://github.com/CoCreateJS/state/commit/0c8187676950217cd2cb77f7711553b68c567459))
|
|
15
|
+
|
|
1
16
|
# [2.0.0](https://github.com/CoCreateJS/state/compare/v1.26.2...v2.0.0) (2026-11-02)
|
|
2
17
|
|
|
3
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/state",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Data attributes which can be used for components in CoCreate framework combined as a group of attributes that dynamically change attributes & fetch custom data.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"state",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
},
|
|
37
37
|
"main": "./src/index.js",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@cocreate/actions": "^
|
|
40
|
-
"@cocreate/crud
|
|
41
|
-
"@cocreate/element-prototype": "^
|
|
42
|
-
"@cocreate/local-storage": "^
|
|
43
|
-
"@cocreate/observer": "^
|
|
39
|
+
"@cocreate/actions": "^2.0.1",
|
|
40
|
+
"@cocreate/crud": "^0.0.0-stage",
|
|
41
|
+
"@cocreate/element-prototype": "^2.0.1",
|
|
42
|
+
"@cocreate/local-storage": "^2.0.1",
|
|
43
|
+
"@cocreate/observer": "^2.0.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@cocreate/webpack": "^
|
|
46
|
+
"@cocreate/webpack": "^2.0.1"
|
|
47
47
|
},
|
|
48
48
|
"allowScripts": {
|
|
49
49
|
"@cocreate/actions@1.21.4": true,
|
|
50
50
|
"@cocreate/api@1.22.5": true,
|
|
51
51
|
"@cocreate/config@1.13.4": true,
|
|
52
|
-
"@cocreate/crud
|
|
52
|
+
"@cocreate/crud@2.0.2": true,
|
|
53
53
|
"@cocreate/element-prototype@1.31.4": true,
|
|
54
54
|
"@cocreate/elements@1.42.9": true,
|
|
55
55
|
"@cocreate/filter@1.33.6": true,
|
package/src/index.js
CHANGED
|
@@ -508,64 +508,56 @@ export default { initElements, initElement, stateAttributes, setState };
|
|
|
508
508
|
/**
|
|
509
509
|
*
|
|
510
510
|
* @name state
|
|
511
|
-
* @kind
|
|
512
|
-
* @attribute
|
|
511
|
+
* @kind attribute
|
|
513
512
|
* @environment client
|
|
514
513
|
*/
|
|
515
514
|
|
|
516
515
|
/**
|
|
517
516
|
*
|
|
518
517
|
* @name state-id
|
|
519
|
-
* @kind
|
|
520
|
-
* @attribute
|
|
518
|
+
* @kind attribute
|
|
521
519
|
* @environment client
|
|
522
520
|
*/
|
|
523
521
|
|
|
524
522
|
/**
|
|
525
523
|
*
|
|
526
524
|
* @name state-localstorage
|
|
527
|
-
* @kind
|
|
528
|
-
* @attribute
|
|
525
|
+
* @kind attribute
|
|
529
526
|
* @environment client
|
|
530
527
|
*/
|
|
531
528
|
|
|
532
529
|
/**
|
|
533
530
|
*
|
|
534
531
|
* @name state-onstoragechange
|
|
535
|
-
* @kind
|
|
536
|
-
* @attribute
|
|
532
|
+
* @kind attribute
|
|
537
533
|
* @environment client
|
|
538
534
|
*/
|
|
539
535
|
|
|
540
536
|
/**
|
|
541
537
|
*
|
|
542
538
|
* @name state-overwrite
|
|
543
|
-
* @kind
|
|
544
|
-
* @attribute
|
|
539
|
+
* @kind attribute
|
|
545
540
|
* @environment client
|
|
546
541
|
*/
|
|
547
542
|
|
|
548
543
|
/**
|
|
549
544
|
*
|
|
550
545
|
* @name state-title
|
|
551
|
-
* @kind
|
|
552
|
-
* @attribute
|
|
546
|
+
* @kind attribute
|
|
553
547
|
* @environment client
|
|
554
548
|
*/
|
|
555
549
|
|
|
556
550
|
/**
|
|
557
551
|
*
|
|
558
552
|
* @name state-to
|
|
559
|
-
* @kind
|
|
560
|
-
* @attribute
|
|
553
|
+
* @kind attribute
|
|
561
554
|
* @environment client
|
|
562
555
|
*/
|
|
563
556
|
|
|
564
557
|
/**
|
|
565
558
|
*
|
|
566
559
|
* @name value
|
|
567
|
-
* @kind
|
|
568
|
-
* @attribute
|
|
560
|
+
* @kind attribute
|
|
569
561
|
* @environment client
|
|
570
562
|
*/
|
|
571
563
|
|