ripple 0.3.54 → 0.3.56
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
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# ripple
|
|
2
2
|
|
|
3
|
+
## 0.3.56
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
[[`a59ccb8`](https://github.com/Ripple-TS/ripple/commit/a59ccb83b91257bf34fca2ba1415e77d1f815a7b)]:
|
|
9
|
+
- @tsrx/core@0.1.6
|
|
10
|
+
- ripple@0.3.56
|
|
11
|
+
- @tsrx/ripple@0.1.6
|
|
12
|
+
|
|
13
|
+
## 0.3.55
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
[[`de27e18`](https://github.com/Ripple-TS/ripple/commit/de27e182d002ea736aee992acca4cbf9873a307d),
|
|
19
|
+
[`59e1e32`](https://github.com/Ripple-TS/ripple/commit/59e1e328607598fe342abbba35f76e5fadb9ca5c),
|
|
20
|
+
[`1256569`](https://github.com/Ripple-TS/ripple/commit/12565695efaa3a4ad429245807721ea671c2ecb5),
|
|
21
|
+
[`1256569`](https://github.com/Ripple-TS/ripple/commit/12565695efaa3a4ad429245807721ea671c2ecb5),
|
|
22
|
+
[`18b4aef`](https://github.com/Ripple-TS/ripple/commit/18b4aefa8127e56a9f1b3058da2d4d2172551579)]:
|
|
23
|
+
- @tsrx/core@0.1.5
|
|
24
|
+
- ripple@0.3.55
|
|
25
|
+
- @tsrx/ripple@0.1.5
|
|
26
|
+
|
|
3
27
|
## 0.3.54
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Ripple is an elegant TypeScript UI framework",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Dominic Gannaway",
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.56",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"module": "src/runtime/index-client.js",
|
|
9
9
|
"main": "src/runtime/index-client.js",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"esm-env": "^1.2.2",
|
|
77
77
|
"@types/estree": "^1.0.8",
|
|
78
78
|
"@types/estree-jsx": "^1.0.5",
|
|
79
|
-
"@tsrx/core": "0.1.
|
|
80
|
-
"@tsrx/ripple": "0.1.
|
|
79
|
+
"@tsrx/core": "0.1.6",
|
|
80
|
+
"@tsrx/ripple": "0.1.6"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@types/node": "^24.3.0",
|
|
@@ -87,6 +87,6 @@
|
|
|
87
87
|
"vscode-languageserver-types": "^3.17.5"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
|
-
"ripple": "0.3.
|
|
90
|
+
"ripple": "0.3.56"
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -462,12 +462,10 @@ describe('basic client > attribute rendering', () => {
|
|
|
462
462
|
|
|
463
463
|
it('render spread attributes', () => {
|
|
464
464
|
component Basic() {
|
|
465
|
-
let &[attrs] = track<TestAttributes>(
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
},
|
|
470
|
-
);
|
|
465
|
+
let &[attrs] = track<TestAttributes>({
|
|
466
|
+
class: 'initial',
|
|
467
|
+
id: 'test-1',
|
|
468
|
+
});
|
|
471
469
|
|
|
472
470
|
<button
|
|
473
471
|
onClick={() => {
|
|
@@ -4,12 +4,10 @@ import { TRACKED_ARRAY } from '../../../src/runtime/internal/client/constants.js
|
|
|
4
4
|
describe('basic client > collections', () => {
|
|
5
5
|
it('renders with simple reactive objects', () => {
|
|
6
6
|
component Basic() {
|
|
7
|
-
let &[user] = track(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
},
|
|
12
|
-
);
|
|
7
|
+
let &[user] = track({
|
|
8
|
+
name: 'John',
|
|
9
|
+
age: 25,
|
|
10
|
+
});
|
|
13
11
|
|
|
14
12
|
<div class="name">{user.name}</div>
|
|
15
13
|
<div class="age">{user.age}</div>
|
|
@@ -40,12 +38,10 @@ describe('basic client > collections', () => {
|
|
|
40
38
|
|
|
41
39
|
it('renders with nested reactive objects', () => {
|
|
42
40
|
component Basic() {
|
|
43
|
-
let &[user] = track(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
);
|
|
41
|
+
let &[user] = track({
|
|
42
|
+
name: track('John'),
|
|
43
|
+
age: track(25),
|
|
44
|
+
});
|
|
49
45
|
|
|
50
46
|
<div class="name">{user.name.value}</div>
|
|
51
47
|
<div class="age">{user.age.value}</div>
|
|
@@ -493,12 +493,10 @@ describe('basic server > attribute rendering', () => {
|
|
|
493
493
|
|
|
494
494
|
it('render spread attributes', async () => {
|
|
495
495
|
component Basic() {
|
|
496
|
-
let &[attrs] = track<TestAttributes>(
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
},
|
|
501
|
-
);
|
|
496
|
+
let &[attrs] = track<TestAttributes>({
|
|
497
|
+
class: 'initial',
|
|
498
|
+
id: 'test-1',
|
|
499
|
+
});
|
|
502
500
|
|
|
503
501
|
<div {...attrs}>{'Spread Attributes'}</div>
|
|
504
502
|
}
|