steel-frame 5.0.1 → 5.1.0
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 +43 -19
- package/fake-types/index.d.ts +9 -3
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
`SteelFrameKit` is a front-end development kit, which is developed to provide
|
|
5
|
+
`SteelFrameKit` is a front-end development kit, which is developed to provide fault tolerant web applications.
|
|
6
6
|
|
|
7
|
-
[](https://www.npmjs.com/package/steel-frame)
|
|
8
|
+
[](https://deepwiki.com/vasille-js/steel-frame)
|
|
9
|
+
[](https://coveralls.io/github/vasille-js/steel-frame?branch=v5)
|
|
8
10
|
|
|
9
11
|
## Table of content
|
|
10
12
|
|
|
@@ -19,11 +21,12 @@
|
|
|
19
21
|
- [How POWERFUL is SteelFrameKit](#how-powerful-is-steelframekit)
|
|
20
22
|
- [Road map](#road-map)
|
|
21
23
|
- [Change log](#change-log)
|
|
22
|
-
- [5.
|
|
23
|
-
- [
|
|
24
|
-
- [4.
|
|
25
|
-
- [
|
|
26
|
-
- [
|
|
24
|
+
- [5.1](#51)
|
|
25
|
+
- [5.0](#50)
|
|
26
|
+
- [4.0 - 4.3](#40---43)
|
|
27
|
+
- [3.0 - 3.2](#30---32)
|
|
28
|
+
- [2.0 - 2.3](#20---23)
|
|
29
|
+
- [1.0 - 1.2](#10---12)
|
|
27
30
|
- [Questions](#questions)
|
|
28
31
|
|
|
29
32
|
|
|
@@ -92,7 +95,7 @@ All of these are supported:
|
|
|
92
95
|
* Reactive values (observables).
|
|
93
96
|
* Inline computed values.
|
|
94
97
|
* Multiline computed values.
|
|
95
|
-
* HTML
|
|
98
|
+
* HTML tags.
|
|
96
99
|
* Component custom slots.
|
|
97
100
|
* 2-way data binding in components.
|
|
98
101
|
* Logic block (if, else).
|
|
@@ -103,7 +106,6 @@ All of these are supported:
|
|
|
103
106
|
|
|
104
107
|
## Road map
|
|
105
108
|
|
|
106
|
-
* [x] Update the `core` library to version 3.0.
|
|
107
109
|
* [x] `100%` Test Coverage for core Library v3.
|
|
108
110
|
* [x] Develop the `JSX` library.
|
|
109
111
|
* [x] `100%` Test Coverage for the JSX library.
|
|
@@ -117,25 +119,47 @@ All of these are supported:
|
|
|
117
119
|
|
|
118
120
|
## Change log
|
|
119
121
|
|
|
120
|
-
|
|
122
|
+
We respect semantic versioning:
|
|
123
|
+
- A major version is increased when we make incompatible API changes.
|
|
124
|
+
- A minor version is increased when we add functionality.
|
|
125
|
+
- Patch version is increased when we fix bugs.
|
|
121
126
|
|
|
122
|
-
|
|
127
|
+
### 5.1
|
|
123
128
|
|
|
124
|
-
|
|
129
|
+
Add support for web components compile target `web build components`.
|
|
130
|
+
_Web components as custom tags are supported in any version._
|
|
125
131
|
|
|
126
|
-
|
|
132
|
+
### 5.0
|
|
127
133
|
|
|
128
|
-
|
|
134
|
+
- Add support for context and dependencies injection.
|
|
135
|
+
- New developement direction: `fault tolerant`.
|
|
136
|
+
- Renamed to `steel-frame`. **[API change]**
|
|
137
|
+
- Removed `forward` and `backward` functions. **[API change]**
|
|
138
|
+
- Removed `Debug` component. **[API change]**
|
|
129
139
|
|
|
130
|
-
|
|
140
|
+
### 4.0 - 4.3
|
|
131
141
|
|
|
132
|
-
|
|
142
|
+
- Initial version of the framework with file based routing and building scripts (`web dev` and `web build spa`).
|
|
143
|
+
- Reactive values naming switched to `$` prefix. **[API change]**
|
|
144
|
+
- `4.1` Added SSG (static site generation) as build option `web build static`.
|
|
145
|
+
- `4.2` Add support for inlined conditions in JSX, binary `&&` and ternary `?:` operator.
|
|
146
|
+
- `4.3` Add new function `safe` which make functions safe, errors are reported automatically.
|
|
133
147
|
|
|
134
|
-
|
|
148
|
+
### 3.0 - 3.2
|
|
135
149
|
|
|
136
|
-
|
|
150
|
+
- Switch to a babel plugin to compile components code. **[API change]**
|
|
151
|
+
- 100% of the code has been covered with unit tests.
|
|
152
|
+
- New developement direction: `keep it simple`.
|
|
137
153
|
|
|
138
|
-
|
|
154
|
+
### 2.0 - 2.3
|
|
155
|
+
|
|
156
|
+
- Introduces components compilation via a typescript plugin. **[API change]**
|
|
157
|
+
- New developement direction: `write less, do more`.
|
|
158
|
+
|
|
159
|
+
### 1.0 - 1.2
|
|
160
|
+
|
|
161
|
+
- Initial version of a core library.
|
|
162
|
+
- Developemnt direction: `performance-first`.
|
|
139
163
|
|
|
140
164
|
## Questions
|
|
141
165
|
|
package/fake-types/index.d.ts
CHANGED
|
@@ -111,9 +111,6 @@ export declare function For<K, T>(props: { of: ReadonlyMap<K, T>; slot?: (value:
|
|
|
111
111
|
/** Refresh the content each time then the reactive model is updated */
|
|
112
112
|
export declare function Watch<T>(props: { $model: T; slot?: (value: T) => void }): void;
|
|
113
113
|
|
|
114
|
-
/** Create a debug comment in DOM */
|
|
115
|
-
export declare function Debug(props: { $model: unknown }): void;
|
|
116
|
-
|
|
117
114
|
/** Render content after a while */
|
|
118
115
|
export declare function Delay(props: { time?: number; slot?: unknown }): void;
|
|
119
116
|
|
|
@@ -258,3 +255,12 @@ export declare function impute<Class>(className: abstract new (...args: unknown[
|
|
|
258
255
|
|
|
259
256
|
/** Share a setting value when it is missing */
|
|
260
257
|
export declare function impute(key: string, value: string): string;
|
|
258
|
+
|
|
259
|
+
export {
|
|
260
|
+
type WebComponent,
|
|
261
|
+
type WebComponentAdapter,
|
|
262
|
+
type WebComponentAttributes,
|
|
263
|
+
type WebComponentEventHandler,
|
|
264
|
+
type WebComponentProps,
|
|
265
|
+
type WebComponentEvents,
|
|
266
|
+
} from "vasille-shadow";
|
package/package.json
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "steel-frame",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "SteelFrame: Build Fault-Tolerant Web Applications Effortlessly.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
7
|
-
"bin": {
|
|
8
|
-
"sf": "./lib/run.js"
|
|
9
|
-
},
|
|
10
7
|
"exports": {
|
|
11
8
|
".": {
|
|
12
9
|
"types": "./fake-types/index.d.ts",
|
|
@@ -47,11 +44,12 @@
|
|
|
47
44
|
"homepage": "https://github.com/vasille-js/vasille-js#readme",
|
|
48
45
|
"dependencies": {
|
|
49
46
|
"csstype": "^3.1.3",
|
|
50
|
-
"vasille": "^5.
|
|
47
|
+
"vasille": "^5.1.0",
|
|
51
48
|
"vasille-context": "^5.0.0",
|
|
52
49
|
"vasille-css": "^5.0.0",
|
|
53
50
|
"vasille-jsx": "^5.0.0",
|
|
54
51
|
"vasille-router": "^5.0.0",
|
|
52
|
+
"vasille-shadow": "^5.0.0",
|
|
55
53
|
"vasille-ssg": "^4.0.0",
|
|
56
54
|
"vasille-web": "^5.0.0"
|
|
57
55
|
},
|