vasille-css 7.0.0-rc.3 → 7.0.0-rc.4

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 CHANGED
@@ -130,9 +130,12 @@ We respect semantic versioning:
130
130
  - A minor version is increased when we add functionality.
131
131
  - Patch version is increased when we fix bugs.
132
132
 
133
- ### 7.0
133
+ ### 7.0 RC (WIP)
134
134
 
135
- - WIP
135
+ - Add `debounceRef`, `edgeRef` and `fieldRef` functions, which extend the reativity system.
136
+ - Add `Zombie` component, it keeps HTML elements alive some time after destruction.
137
+ - Add `abortSignal` to cancel fetch requests and timers when component is destroyed.
138
+ - Add `safeRef`, `safeExpr`, `safeInit` functions, they make the JSX much safer.
136
139
 
137
140
  ### 6.0 RC (never released)
138
141
 
@@ -161,12 +164,12 @@ We respect semantic versioning:
161
164
 
162
165
  - Switch to a babel plugin to compile components code. **[API change]**
163
166
  - 100% of the code has been covered with unit tests.
164
- - New developement direction: `keep it simple`.
167
+ - New development direction: `keep it simple`.
165
168
 
166
169
  ### 2.0 - 2.3
167
170
 
168
171
  - Introduces components compilation via a typescript plugin. **[API change]**
169
- - New developement direction: `write less, do more`.
172
+ - New development direction: `write less, do more`.
170
173
 
171
174
  ### 1.0 - 1.2
172
175
 
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { insertRule } from "./lib.js";
2
- export { setMobileMaxWidth, setTabletMaxWidth, setLaptopMaxWidth } from "./lib.js";
2
+ export { setMobileMaxWidth, setTabletMaxWidth, setLaptopMaxWidth, mobileMaxWidth, tabletMaxWidth, laptopMaxWidth, } from "./lib.js";
3
3
  let index = 1;
4
4
  export class CssStyleInjector {
5
5
  constructor(styles) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vasille-css",
3
- "version": "7.0.0-rc.3",
3
+ "version": "7.0.0-rc.4",
4
4
  "description": "The same devkit which is designed to build fault tolerant frontends (CSS style library)",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./types/index.d.ts",
package/types/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { setMobileMaxWidth, setTabletMaxWidth, setLaptopMaxWidth } from "./lib.js";
1
+ export { setMobileMaxWidth, setTabletMaxWidth, setLaptopMaxWidth, mobileMaxWidth, tabletMaxWidth, laptopMaxWidth, } from "./lib.js";
2
2
  export declare class CssStyleInjector {
3
3
  protected className: string | null;
4
4
  protected styles: (string | [number, string])[];